9
9
,
9
9
9
,
9
9
9
,
9
8
9
,
9
9
9
,
9
9
9
,
9
9
9
1
0
0
,
0
0
0
,
0
0
0
,
0
0
0
,
0
0
0
,
0
0
0
,
0
0
0
What is the 2 5 0 th digit to the right of the decimal place of the fraction above?
As an explicit example, the 3 rd digit to the right of the decimal place of 11235.123456789 is 3.
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.
Nice solution, but it needs a little tightening up. We need to do a little more than use long division, unless we can show that all the coefficients have been identified, rather than just the first 7 you have written down.
Basically, we need to show that the generating function of the Fibonacci numbers is ( 1 − x − x 2 ) − 1 . But ( 1 − x − x 2 ) n = 1 ∑ ∞ F n x n = = = n = 1 ∑ ∞ F n x n − n = 1 ∑ ∞ F n x n + 1 − n = 1 ∑ ∞ F n x n + 2 n = 1 ∑ ∞ F n x n − n = 2 ∑ ∞ F n − 1 x n − n = 3 ∑ ∞ F n − 2 x n F 1 x + F 2 x 2 − F 1 x 2 + n = 3 ∑ ∞ ( F n − F n − 1 − F n − 2 ) x n = x and hence n = 1 ∑ ∞ F n x n = ( 1 − x − x 2 ) − 1 , as required. Since F n F n + 1 → ϕ as n → ∞ , where ϕ is the Golden Ratio, the generating function of the Fibonacci numbers has radius of convergence ϕ − 1 , and so all the above manipulations are valid for ∣ x ∣ < ϕ − 1 .
Log in to reply
This is great! Thanks for tightening up the loose ends!
Nice solution!
Log in to reply
@Mark Hennings This may not be related question, but if I wanted to find the rate of convergence of F n F n + 1 → ϕ , how would we find it?
Log in to reply
You need to use Binet's Formula for the Fibonacci numbers: F n = 5 1 [ ( 2 1 + 5 ) n − ( 2 1 − 5 ) n ] so that F n = 5 ϕ n ( 1 − α n ) , and hence F n F n + 1 = ϕ ( 1 − α n 1 − α n + 1 ) where α = 1 + 5 1 − 5 . Then F n F n + 1 − ϕ = ϕ 1 − α n α n ( 1 − α ) , and so you can find a constant K such that ∣ ∣ ∣ ∣ F n F n + 1 − ϕ ∣ ∣ ∣ ∣ ≤ K ( 5 + 1 5 − 1 ) n , showing an exponential rate of convergence.
Log in to reply
@Mark Hennings – Wait, I don't quite understand. How would one go about finding K ? Doesn't this already show an exponential growth without finding K?
Log in to reply
@Axas Bit – ∣ ∣ ∣ ∣ F n F n + 1 − ϕ ∣ ∣ ∣ ∣ = ϕ ( 1 − α ) 1 − α n ∣ α ∣ n ≤ 1 − ∣ α ∣ ϕ ( 1 − α ) ∣ α ∣ n for n ≥ 1 , so K = 1 − ∣ α ∣ ϕ ( 1 − α ) works. The actual value of K is irrelevant; all I am doing is absorbing the 1 − α n in the denominator into the constant, since it does not affect the exponential rate of decay.
Solution in Java
System.out.println((new BigDecimal("100000000000000000000")).divide(new BigDecimal("99999999989999999999"), 250, BigDecimal.ROUND_FLOOR));
Scientific method rather than mathematical method is introduced here. Apply x − a x = 1 + x − a a .
Since 1.000000000100000000020000000003 is its leading figure to reveal some digits, using calculator with 32 significant figures, we can determine its terms of Fibonacci sequence continuously to the right by coincidence perhaps. Minus step by step, it reveals up to 55 as 54.999182896696369939279022260939e-88!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
|
The right most of 121393 is the 250th digit wanted, which is 3.
Answer: 3
Wrong. Nothing scientific about this. What you did was you just asked the computer to find the answer.
This is not scientific since you did nothing to base your conjecture on. How do you know that this sequence is going to be repeated?
Problem Loading...
Note Loading...
Set Loading...
First, lets divide the numerator and denominator by 1 0 2 0 , in order to make it look less scary. We should get that our expression is equal to
. 9 9 9 9 9 9 9 9 9 8 9 9 9 9 9 9 9 9 9 9 1
Note that this fraction is equal to
1 − 1 0 − 1 0 − 1 0 − 2 0 1
In other words, our fraction is equal to
1 − x − x 2 1
Evaluated at x = 1 0 − 1 0
Using long division, we get that:
1 − x − x 2 1 = 1 + x + 2 x 2 + 3 x 3 + 5 x 4 + 8 x 5 + 1 3 x 6 + . . .
And we can see that our coefficients correspond to terms of the Fibonacci Sequence , being:
1 − x − x 2 1 = F 1 + F 2 x + F 3 x 2 + F 4 x 3 + F 5 x 4 + . . .
Where F n means the n t h term of the Fibonacci Sequence.
By re-substituting 1 0 − 1 0 in for x , our polynomial looks like:
1 − 1 0 − 1 0 − 1 0 − 2 0 1 = F 1 + F 2 × 1 0 − 1 0 + F 3 × 1 0 − 2 0 + F 4 × 1 0 − 3 0 + F 5 × 1 0 − 4 0 + . . . .
This means that the 1 0 × n t h decimal place is the last digit of F n + 1 , provided that F n + 1 has less than 10 digits. Since we are looking for the 2 5 0 t h decimal place, we want the value of F 2 6 m o d 1 0 .
We can list out our values of F n m o d 1 0 as:
1 , 1 , 2 , 3 , 5 , 8 , 3 , 1 , 4 , 5 , 9 , 4 , 3 , 7 , 0 , 7 , 7 , 4 , 1 , 5 , 6 , 1 , 7 , 8 , 5 , 3
And so 3 is the last digit of F 2 6
We can also tell that given F n , F n + 1 < 2 F n , so F 2 6 < 2 2 6 .
Since 5 > 2 2 , we know that F 2 6 < 2 2 6 < 5 8 × 2 1 0 < 1 0 8 × 4 < 1 0 1 0
So we can conclude that F 2 6 has less than ten digits, and so our answer is 3