OFFSET
4,1
COMMENTS
Smallest prime following Fibonacci(n) minus largest prime immediately preceding Fibonacci(n). Starting from Fibonacci(4), because for n<4 there is no prime preceding Fibonacci(n).
LINKS
Alois P. Heinz, Table of n, a(n) for n = 4..1000
MAPLE
a:= n-> (f-> nextprime(f)-prevprime(f))(combinat[fibonacci](n)):
seq(a(n), n=4..100); # Alois P. Heinz, Jul 29 2015
MATHEMATICA
Table[f = Fibonacci[n]; NextPrime[f] - NextPrime[f, -1], {n, 4, 100}] (* T. D. Noe, May 02 2012 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alex Ratushnyak, May 02 2012
STATUS
approved