|
|
A082602
|
|
Number of primes between successive Fibonacci numbers (including possibly the Fibonacci numbers themselves).
|
|
3
|
|
|
0, 1, 2, 2, 2, 2, 3, 3, 5, 8, 11, 17, 24, 37, 55, 85, 126, 198, 297, 458, 704, 1088, 1674, 2602, 4029, 6263, 9738, 15187, 23705, 36981, 57909, 90550, 142033, 222855, 349862, 549903, 865019, 1361581, 2145191, 3381318, 5334509, 8419528, 13298631, 21014892
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
LINKS
|
|
|
EXAMPLE
|
a(10) = 8 because the 10th Fibonacci number is 55, the 11th is 89 and the eight primes between them are 59, 61, 67, 71, 73, 79, 83 and 89.
|
|
MATHEMATICA
|
|
|
PROG
|
(PARI) { a(n)= c=0; forprime(N=fibonacci(n), fibonacci(n+1), c=c+1); return(c); }
(Magma) [#PrimesInInterval(Fibonacci(n-1), Fibonacci(n)): n in [2..45]]; // Vincenzo Librandi, Jul 13 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Hauke Worpel (hw1(AT)email.com), May 23 2003
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|