We are four against the masses. We are trying to find the one who is the whole package. We sigh, we laugh, we frown while we hope that the next one will be the one. Who are we?
A princess is as old as the prince will be when the princess is twice the age that the prince was when the princess’s age was half the sum of their present ages.
This one took a while to figure out and there are numerous valid ways of finding the answer.
Here is the solution I came up with
I created the following table from the riddle:
Current
Future
Past
Princess
x
2z
(x+y)/2
Prince
y
x
z
I then created three equations, since the difference in their age will always be the same.
d = the difference in ages
x – y = d
2z – x = d
x/2 + y/2 – z = d
I then created a matrix and solved it using row reduction.
x
y
z
1
-1
0
d
-1
0
2
d
.5
.5
-1
d
It reduced to:
x
y
z
1
0
0
4d
0
1
0
3d
0
0
1
5d/2
This means that you can pick any difference you want (an even one presumably because you want integer ages).
Princess age: 4d
Prince age: 3d
Ages that work
Princess
Prince
4
3
8
6
16
12
24
18
32
24
40
30
48
36
56
42
64
48
72
54
80
60
To see other solutions check out the comments from when I posted this on my blog.
Fence. Fences keep ne’er-do-wells out and protect people inside. A fence is a person who buys stolen goods to later resell them for a profit. Those who fence practice the sport of fencing. En garde! And people don’t like it when you sit on the fence in a heated debate. (Believe me, I speak from experience)
The next number in the sequence is n squared minus m or f(n,m) = n2 – m
f(6,9) = 62 – 9 = 27
f(9,27) = 92 – 27 = 54
f(27,54) = 272 – 54 = 675
f(54,675) = 542 – 675 = 2241
A man is traveling with a fox and two chickens, if he leaves the fox alone with the chickens the fox will eat the chickens. He comes to a river and needs to cross it, he finds a small boat that can carry only him and one animal, how does he get himself, the fox and two chickens across the river safely?
Take the fox over, return with nothing. Go over with one chicken, return with the fox. Go over with the second chicken, return with nothing. Finally, take the fox over.