**n (> 1) lotus leafs are arranged in a circle. A frog jumps from a particular leaf by the following rule: It always moves clockwise. From staring point it skips 1 leaf and jumps to the next. Then it skips 2 leaves and jumps to the following. That is in the 3rd jump it skips 3 leaves and 4th jump it skips 4 leaves and so on. In this manner it keeps moving round and round the circle of leaves. It may go to one leaf more than once. If it reaches each leaf at least once then n (the number of leaves) cannot be odd.**

**Discussion:**

Suppose we number the leaves as 1, 2, 3, upto n. Leaf 1 being the starting point of the frog.

Step 1 – Leaf 1

Step 2 – Leaf 3 (because the frog skips 1 leaf)

Step 3 – Leaf 6 (1+2+3) ( because it skips 2 leaves in second jump)

In this manner the frog will be in the

(modulo n) leaf in the mth step.

If n = 2k+1 (that is if we have odd number of leaves) then in the 2k step and 2k+1 step it will be on Leaf 2k+1.

This is because and

Also notice that after the first 2K+1 steps the position of the frog repeats.

T**his is because for even value (2m)**

Since

But

**Similarly for odd values (2m+1) **

Since

But

As every 2k+1 values (modulo 2K+1) need to be distinct if the frog visits every leaf, it visits leaf number 2k+1 in the last two steps, hence some leaf must be missing.

**Special Note**

Extension: The frog may visit each leaf if and only if number of leaves is a power of 2.

What if we removed the leaf as we went around the circle? Which is to say it can’t go to a leaf more than once. For example, if n = 10, in the post the solution should be leaf 5 in the 10th step. But with removal, the solution should be leaf 7 in the 10th step. I don’t know how to express this mathematically.

When you are removing a leaf everytime after u reach there, u will reach every leaf no matter how many are there. This is because if you go on eliminating leaves eventually u will be left with only 2 leaves and then u remove one n then only 1 is left after which even that one goes out. So there is no chance of you being able to not visit any leaf even if it is odd or even or whatever

give me the solution of problem 1 and problem 4 of b stat and b math 2014