OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(5) = Fibonacci(6) + prime(5) = 8 + 11 = 19.
MAPLE
f := n -> fibonacci(n+1) + ithprime(n);
MATHEMATICA
With[{nn=40}, Total/@Thread[{Prime[Range[nn]], Fibonacci[Range[2, nn+1]]}]] (* Harvey P. Dale, Dec 18 2011 *)
PROG
(PARI) A004398(n) = fibonacci(n+1) + prime(n)
(Magma) [Fibonacci(n+1) + NthPrime(n): n in [1..50]]; // Vincenzo Librandi, Apr 20 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Hegermann, Frank (hegermann(AT)oi.dbv.commerzbank.dbp.de)
STATUS
approved