login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A055502 a(0)=0, a(1)=2, a(n) = smallest prime > a(n-1)+a(n-2). 8
0, 2, 3, 7, 11, 19, 31, 53, 89, 149, 239, 389, 631, 1021, 1657, 2683, 4349, 7039, 11393, 18433, 29833, 48271, 78121, 126397, 204521, 330943, 535481, 866431, 1401937, 2268377, 3670319, 5938711, 9609031, 15547769, 25156811, 40704589, 65861461, 106566059, 172427531 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
MAPLE
A055502 := proc(n) option remember; if n<=0 then n else nextprime(A055502(n-1)+A055502(n-2)); fi; end;
MATHEMATICA
a[0] = 0; a[1] = 2; a[n_] := a[n] = NextPrime[a[n-1] + a[n-2]]; Array[a, 40, 0] (* Amiram Eldar, Sep 24 2023 *)
CROSSREFS
Sequence in context: A350402 A158709 A180422 * A003173 A159262 A160434
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 09 2000
EXTENSIONS
More terms from Amiram Eldar, Sep 24 2023
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 18 21:02 EDT 2024. Contains 370951 sequences. (Running on oeis4.)