All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Frog Frolics (Posted on 2011-11-15) Difficulty: 3 of 5

A straight line of water lilies stretches across a broad river. The first lily is a distance of 2 inches from the bank, the next 10 inches , and so on, each 8 inches apart.

Freddie the frog is trying to hop to the shore by jumping from lily to lily. On his first hop, Freddie always jumps 8 inches, just enough to get to the next lily. On each subsequent hop, that champion jumper springs 8 inches further than he did on his previous jump; his second hop is 16 inches, his third 24 inches, and so on.

Such prodigious leaps would seem to ensure that Freddie will always land on another lily, or the bank itself, but not all lilies are equal. If Freddie lands on a lily whose distance in inches from the bank is a sum of two ODD squares, then the lily breaks and he falls into the river; if not, the lily is safe, and he may continue to his next hop.

First question: Given that Freddie can start on any lily except the first, can he ever reach the shore safely without falling in?

Second question: If the answer to the first question is 'No', then what is the greatest number of hops that Freddie can make before falling in?

  Submitted by broll    
No Rating
Solution: (Hide)
First question: Freddie can never reach the shore safely. The numbers 2,10,18... correspond to successive values of (8k+2), while the numbers (8,24,48...) correspond to succesive odd squares. Hence the problem as set is equivalent to proving that every number of the form (8k+3) is the sum of 3 odd squares, a problem better-known as the theorem that 'every number is the sum of no more than 3 triangular numbers', first attributed to Fermat:

1. Let Z be any whole number; the claim is that Z=a+b+c, where a=(x-1)(x)/2, b=(y-1)(y)/2, c=(z-1)(z)/2.
I Since 2Z=2(a+b+c), by substitution, 2Z=x(x-1)+y(y-1)+z(z-1)
II We complete squares to obtain:
2Z=1/4(2x-1)^2-1/4+1/4(2y-1)^2-1/4+1/4(2z-1)^2-1/4
III Multiply out to dispose of the fractions:
8Z+3=(2x-1)^2+(2y-1)^2+(2z-1)^2: in the problem the last of these is just one less than the square so we have the 3 odd squares and the intervals of (8k+2) as stipulated.

2. Hence another way of putting the same claim is that every number that is 3 more than a multiple of 8 can be expressed as a sum of not more than 3 odd squares. Since 8Z+3<>4^k(8k+7), we can then simply use Fermat's result on sums of squares to confirm that the equality always holds.

Second question: Even though he can never reach the shore, Freddie can make any number of hops; provided we are prepared to abandon the condition that Freddie must reach the shore, we can always insert a multiple of a fresh (4m+3) prime into every potential safe haven below a given length. The numbers quickly become large though!

Comments: ( You must be logged in to post comments.)
  Subject Author Date
draft solution for commentbroll2011-11-20 07:34:15
re(2): Some more thoughts and more questionsbroll2011-11-16 23:06:37
re: Some more thoughts and more questionsJustin2011-11-16 20:41:03
Some more thoughts and more questionsJer2011-11-16 09:07:08
Hints/Tipsre: Some thoughts and questionsbroll2011-11-15 22:56:23
Some thoughts and questionsJer2011-11-15 16:07:16
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information