Can you explain how F(1,3) = 4.
I way I am reading the problem, I get F(1,3) = 1
The frog starts in Square 1 (leftmost). The frog has to visit Square 3 (rightmost), thus leaving Square 2 as the only possible unvisited square.
Leaving only 1 journey, Square 1 to Square 3, followed by Square 3 to Square 1.
Where have I misunderstood the problem
Problem 416
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.
This forum is NOT meant to discuss solution methods for a problem.
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.
This forum is NOT meant to discuss solution methods for a problem.
In particular don't post any code fragments or results.
Don't start begging others to give partial answers to problems
Don't ask for hints how to solve a problem
Don't start a new topic for a problem if there already exists one
Don't start begging others to give partial answers to problems
Don't ask for hints how to solve a problem
Don't start a new topic for a problem if there already exists one
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
- mpiotte
- Administrator
- Posts: 1961
- Joined: Tue May 08, 2012 5:40 pm
- Location: Montréal, Canada
Re: Problem 416
"... so that at most one square remains unvisited."pointywalnut wrote:Can you explain how F(1,3) = 4.
I way I am reading the problem, I get F(1,3) = 1
The frog starts in Square 1 (leftmost). The frog has to visit Square 3 (rightmost), thus leaving Square 2 as the only possible unvisited square.
Leaving only 1 journey, Square 1 to Square 3, followed by Square 3 to Square 1.
Where have I misunderstood the problem
Notice "at most", so trips with no unvisited squares are also counted.
Martin
Last edited by mpiotte on Fri May 17, 2013 1:08 pm, edited 1 time in total.

-
pointywalnut
- Posts: 2
- Joined: Sun Feb 24, 2013 12:20 pm
-
teej21012
- Posts: 4
- Joined: Tue Jan 18, 2011 5:17 pm
Re: Problem 416
I am still confused on how F(1,3) = 4. The way I am reading the problem, it would be F(1,3) = 3 being this sequence:
1 square at a time = covers every square and returns back home
2 squares at a time = Square 1 to Square 3, back to Square 1.
3 squares at a time = Square 1 to Square 3 since it can't go outside the limit, then back to Square 1 since it can't go outside the limit.
Is the 3 squares scenario wrong? Am I missing something else? Thanks
1 square at a time = covers every square and returns back home
2 squares at a time = Square 1 to Square 3, back to Square 1.
3 squares at a time = Square 1 to Square 3 since it can't go outside the limit, then back to Square 1 since it can't go outside the limit.
Is the 3 squares scenario wrong? Am I missing something else? Thanks
-
mdean
- Posts: 206
- Joined: Tue Aug 02, 2011 2:05 am
Re: Problem 416
The frog is able to change the length of his hop, so for instance he can hop 2 squares in a single hop on the way over, then take 2 smaller hops back.

-
teej21012
- Posts: 4
- Joined: Tue Jan 18, 2011 5:17 pm
Re: Problem 416
Ah I get it. The way I was reading it, whatever it chooses for going to the right, it would be the same to the left. And the 3 squares scenario was wrong as well. Figured out F(1,3) = 4 now. Thank you 
-
jpatou
- Posts: 9
- Joined: Sat Mar 09, 2013 8:13 am
Re: Problem 416
Hi,
please can someone check these results:
F(1,10)=13557
F(2,6)=28419
F(3,6)=4825827
Thanks
please can someone check these results:
F(1,10)=13557
F(2,6)=28419
F(3,6)=4825827
Thanks
Last edited by jpatou on Fri Mar 29, 2013 11:37 am, edited 1 time in total.
- Marcus_Andrews
- Administrator
- Posts: 1637
- Joined: Wed Nov 09, 2011 5:23 pm
Re: Problem 416
All of these results are correct.
jpatou wrote:Hi,
please can someone check these results:
F(1,10)=13557
F(2,6)=28419
F(3,6)=4825827
Thanks