login
A155954
a(0)=2, a(1)=3, a(2)=5, a(n) = smallest prime greater than or equal to a(n-1) + a(n-2) + a(n-3).
0
2, 3, 5, 11, 19, 37, 67, 127, 233, 431, 797, 1471, 2699, 4967, 9137, 16811, 30931, 56891, 104639, 192461, 354001, 651103, 1197571, 2202677, 4051361, 7451617, 13705667, 25208653, 46365959, 85280323, 156854959, 288501287, 530636569
OFFSET
0,1
EXAMPLE
a(2) + a(3) + a(4) = 35, so a(5) = (smallest prime larger than 35) = 37.
MAPLE
a[0] := 2: a[1] := 3: a[2] := 5: for n from 3 to 35 do a[n] := nextprime(a[n-1]+a[n-2]+a[n-3]-1) end do: seq(a[n], n = 0 .. 35); # Emeric Deutsch, Feb 27 2009
CROSSREFS
Sequence in context: A084697 A037082 A084573 * A358717 A337347 A087581
KEYWORD
nonn
AUTHOR
Avik Roy (avik_3.1416(AT)yahoo.co.in), Jan 31 2009
EXTENSIONS
More terms from Emeric Deutsch, Feb 27 2009
STATUS
approved