36= 2*3*6 I haven't checked the solution.

So only thing I know is that:

A>1

A <= B

and

B<100

?

A and B are integers.

I don't really have any restrictions here. I've no idea how much is a+b or a*b, nor is there a limit of their sum/product. Doesn't this mean I can just pick any number for their values between 2 and 99 ofcourse?

## Math problems

**Moderator:** English Moderator Team

### Re: Math problems

Zaknafein wrote:Here is another similar problem:

https://www.teamten.com/lawrence/puzzles/daughters.html

Here is my solution:

**Spoiler:**show

Zaknafein wrote:It can give you a hint about how to solve the previous problem.

Well, they are somewhat similar, but there are too many possibilities in the Susan-and-Paul problem.

Zaknafein wrote:I think you need to make a program to solve it

Yeah, that's what I did.

This is what I came up with in Python (2.7):

**Spoiler:**show

Just for fun, here is the same in SQL (SQLite):

**Spoiler:**show

### Re: Math problems

Why is 13 showing up twice important? Number of house can be any.

Why there can be only one older than other two, if you say "eldest?"

So, I still don't have a clue for your

Why there can be only one older than other two, if you say "eldest?"

So, I still don't have a clue for your

### Re: Math problems

Coco wrote:Why is 13 showing up twice important? Number of house can be any.

The asker in the puzzle says "I knew the number but still couldn’t calculate their ages.".

This means that knowing the sum still does not pick a single age combination.

Here are the possible sums:

1 + 1 + 36 = 38

1 + 2 + 18 = 21

1 + 3 + 12 = 16

1 + 4 + 9 = 14

1 + 6 + 6 = 13

2 + 2 + 9 = 13

2 + 3 + 6 = 11

3 + 3 + 4 = 10

If the house number was 10, for example, then the asker would know that only 3,3,4 is possible, and would not say "still couldn’t calculate their ages".

Coco wrote:Why there can be only one older than other two, if you say "eldest?"

Because the man said "eldest daughter" (singular), not "eldest daughters" (plural).

For me, this is the only interpretation of "my eldest daughter" that allows me to choose between 1,6,6 and 2,2,9.

And I must be able to choose, because the puzzle says "Finally I was able to figure out their ages.".

### Re: Math problems

I'm not even going to ask how am I supposed to solve the other problem.

### Who is online

Users browsing this forum: No registered users and 1 guest