OFFSET

0,2

COMMENTS

When a(n) is prime, it is the second member of a twin prime pair. Moreover, every twin prime pair except 3,5 is found in this manner.

All members between 7 and 333 are also in A076974. - Ralf Stephan, Feb 28 2014

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 0..10000

FORMULA

a(n+1) = A151800(a(n)) + 2. - Reinhard Zumkeller, Feb 28 2014

MATHEMATICA

a[0] := 1; a[n_] := a[n] = Prime[PrimePi[a[n - 1]] + 1] + 2; Table[a[n], {n, 0, 59}] (* Alonso del Arte, Feb 24 2014 *)

PROG

(Haskell)

a238327 n = a238327_list !! n

a238327_list = iterate ((+ 2) . a151800) 1

-- Reinhard Zumkeller, Feb 28 2014

CROSSREFS

KEYWORD

nonn

AUTHOR

Curtis Herink, Feb 24 2014

STATUS

approved