OFFSET
1,1
COMMENTS
There is no common term with A055496? - Zak Seidov, Feb 04 2016
Correct, there is no common term with A055496. - Flávio V. Fernandes, Apr 10 2021
LINKS
Zak Seidov, Table of n, a(n) for n = 1..102
MATHEMATICA
NextPrim[n_Integer] := Block[ {k = n + 1}, While[ !PrimeQ[k], k++ ]; Return[k]]; a[1] = 3; a[n_] := NextPrim[ 2*a[n - 1]]; Table[ a[n], {n, 1, 20} ]
NestList[NextPrime[2*#] &, 3, 29] (* Zak Seidov, Feb 04 2016 *)
PROG
(PARI) lista(nn) = {print1(a = 3, ", "); for (n=1, nn, a = nextprime(2*a+1); print1(a, ", "); ); } \\ Michel Marcus, Feb 04 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Nov 28 2001
STATUS
approved