login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A084572
Let a(1)=1; for n>1, a(n)=nextprime((Pi/2)*a(n-1)).
1
1, 2, 5, 11, 19, 31, 53, 89, 149, 239, 379, 599, 941, 1481, 2333, 3671, 5779, 9091, 14281, 22433, 35251, 55373, 86981, 136649, 214651, 337189, 529657, 832003, 1306913, 2052899, 3224687, 5065351, 7956661, 12498313, 19632329, 30838393
OFFSET
1,2
PROG
(PARI) a(n)=if(n<2, 1, nextprime((Pi/2)*a(n-1))); for(n=1, 50, print1(a(n), ", "))
CROSSREFS
Cf. A084571.
Sequence in context: A024979 A019341 A327265 * A040105 A319859 A156768
KEYWORD
nonn
AUTHOR
Paul D. Hanna, May 30 2003
STATUS
approved