Big Fib
-
- Posts: 44
- Joined: Mon Feb 16, 2009 4:11 pm
- Location: UK
there is no need for it be prime, so please do not discard your result simply because it ends in zeros.
gives:
#(1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765)
of which 8, 21, 34, 55 ... are NOT prime.
And, as you can see, "fib 15" also gives you a number which ends in a zero.
Code: Select all
(1 to:20) collect:[:n | n fib]
#(1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765)
of which 8, 21, 34, 55 ... are NOT prime.
And, as you can see, "fib 15" also gives you a number which ends in a zero.
-
- Posts: 8
- Joined: Thu Jul 02, 2009 3:41 pm
-
- Posts: 16
- Joined: Wed Jul 16, 2008 2:33 am
- Location: here
it took me less than a second to calculate with a high precision calculator and Binet's formula
-
- Posts: 17
- Joined: Thu Apr 21, 2011 3:08 am
A Word to the Wise
It's not the 1st digit, followed by the 20,000th digit, etc. or the 20,000th followed by the 40,000th, but rather the 1st followed by the 20,001st. That's what originally got me XD
-
- Posts: 33
- Joined: Sat Aug 13, 2011 2:13 pm
lucky for me i got it on the first try, it does not help that the web does not agree weather it is
1,1,2,3,5
0,1,1,2,3,5
or if the first in the sequence would be 0 or 1
so here is a hint
55 is the 10th number in the fib series given by the same code i solved it with
i used python i would say it was solved in less then 5 mins, i left when it wasn't an instant answer
1,1,2,3,5
0,1,1,2,3,5
or if the first in the sequence would be 0 or 1
so here is a hint
55 is the 10th number in the fib series given by the same code i solved it with
i used python i would say it was solved in less then 5 mins, i left when it wasn't an instant answer