login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122594 a(0) = 2; a(1) = 5; a(n) = prime(a(n-1)) + prime(a(n-2)) if n > 1. 1
2, 5, 14, 54, 294, 2182, 21168, 258584, 3866528, 69094248, 1446704598, 34928585060, 959616504858, 29669964598708, 1022713744909606, 38985339660148638, 1631985092027500964 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Table of n, a(n) for n=0..16.

EXAMPLE

a(2) = prime(2) + prime(5) = 3 + 11 = 14.

MAPLE

A122594 := proc(n) option remember: if(n=0)then return 2: elif(n=1)then return 5: else return ithprime(procname(n-1)) + ithprime(procname(n-2)): fi: end:

seq(A122594(n), n=0..8); # Nathaniel Johnston, Apr 26 2011

MATHEMATICA

Transpose[NestList[{#[[2]], Prime[ #[[1]]]+Prime[ #[[2]]]}&, {1, 2}, 13]][[2]]

CROSSREFS

Cf. A069103, A107327.

Sequence in context: A052649 A267561 A267560 * A267559 A047136 A047042

Adjacent sequences:  A122591 A122592 A122593 * A122595 A122596 A122597

KEYWORD

nonn,more

AUTHOR

Carlos Alves, Oct 29 2006

EXTENSIONS

a(14)-a(16) from Jinyuan Wang, Nov 21 2020

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 10 04:16 EDT 2021. Contains 343748 sequences. (Running on oeis4.)