Jumpy, Patient Frog Named Sally And A Math Problem About Her Life-I

A frog, namely, Sally, is jumping about the vertices of a hexagon, A B C D E F ABCDEF , each time jumping to an adjacent vertex. In how many ways can she get from A A to C C in 124356 124356 moves?

Note: Sally is allowed to land on C during the intermediate steps.

As a little bonus, can you generalise for n n jumps?

This problem is a part of my froggy, soggy set .


The answer is 2.564E+37434.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

It can easily be seen that after an even number of jumps Sally can only be located at A , C A, C or E E . Let a k , c k , e k a_k, c_k, e_k be the number of paths of length 2 k 2k , leading from A A to A A , C C or E E respectively. Due to symmetry c k = e k c_k = e_k . We see that these equations must hold: c k + 1 = a k + 3 c k , a k + 1 = 2 a k + 2 c k c_k+1 = a_k + 3c_k, a_k+1 = 2a_k + 2c_k . From this, we get: c k + 2 = a k + 1 + 3 c k + 1 = 2 a k + 2 c k + 3 c k + 1 = 2 ( c k + 1 3 c k ) + 2 c k + 3 c k + 1 = 5 c k + 1 4 c k c_k+2 = a_k+1 + 3c_k+1 = 2a_k + 2c_k + 3c_k+1 = 2(c_k+1 - 3c_k) + 2c_k + 3c_k+1 = 5c_k+1 - 4c_k .

From the above c 0 = 0 , c 1 = 1 c_0 = 0, c_1 = 1 , we find that c k = 4 k 1 3 c_k=\frac {4^k-1}{3} (this can easily be proven by induction). Therefore, the generalised formula 2 n 1 3 \frac {2^n-1}{3} .

We want to compute 2 123456 3 \frac{2^{123456}}{3} . Note that log 2 123456 3 = 123456 log 2 log 3 = 37163.482 , \log \frac{2^{123456}}{3} = 123456 \log 2 - \log 3 = 37163.482 \dots, so 2 123456 3 = 1 0 0.482 1 0 37163 = 3.034 1 0 37163 \frac{2^{123456}}{3} = 10^{0.482 \dots} \cdot 10^{37163} = 3.034 \dotsc \cdot 10^{37163} .

Jon Haussmann - 6 years, 1 month ago

Log in to reply

Your answer is incorrect, since you used 123456 instead of 124356

A Former Brilliant Member - 6 years, 1 month ago

Log in to reply

And that's what I get for reading the problem too quickly. My mistake.

Jon Haussmann - 6 years, 1 month ago

came here for this. Calculated the answer to be (2^124356-1)/3, google calculator gave me infinity for that

Lam Nguyen - 6 years, 1 month ago

I approached it as the sum of all coefficients of terms of the form x 6 k + 2 x^{6k+2} and x 6 k + 4 x^{6k+4} in the expansion of ( x + 1 x ) n (x+\frac 1x)^n where n n is an even integer. Well, I just love applying coefficients in everything, haha.

Vishnu Bhagyanath - 5 years, 9 months ago

Log in to reply

How did you arrive at the generating function (x+1/x)^n? Can you please explain...

Puneet Jindal - 2 years, 12 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...