100/89= 1.1235..., which includes the first five Fibonacci numbers.
10000/9899=1.010203050813213455... includes the first ten Fibonacci numbers.
1000000/998999=1.001002003005... produces the first 15 Fibonacci numbers.
If you add two zeros in the numerator and two nines (one at the beginning, one at the end) in the denominator, does this Fibonacci production go on?
(In reply to
Unsatisfying answer (spoiler...sort of) by Charlie)
Increasing the precision and extending the numbers:
10 print 10000000000/9999899999
20 A=1:B=1
30 repeat
40 C=A+B:A=B:B=C:print C
50 until C>99999
OK
run
1.00001000020000300005000080001300021000340005500089001440023300377006100098701
5970258404181067651094617711286574636875026213949642
2
3
5
8
13
21
34
55
89
144
233
377
610
987
1597
2584
4181
6765
10946
17711
28657
46368
75025
121393
OK
|
Posted by Charlie
on 2007-02-22 16:08:35 |