There is a frog who can make jumps of length 3,5,7. There are stones in a river at distances a1, a2 an. The other end of the stream is n distance away. Can the frog cross the stream. What if the frog can make jumps backwards ?

Scroll to top