OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..341
MATHEMATICA
a[1] = 3; a[n_] := a[n] = Block[{k = m = a[n - 1] - 1}, k *= 2; While[ !PrimeQ[k + 1] || !SquareFreeQ[k], k += m]; k + 1]; Table[ a[n], {n, 17}] (* Robert G. Wilson v, Apr 30 2004 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Apr 01 2004
EXTENSIONS
a(7)-a(17) from Robert G. Wilson v, Apr 30 2004
a(18)-a(19) from Amiram Eldar, Jan 19 2023
STATUS
approved