OFFSET
0,2
COMMENTS
First occurrence of n in A213902.
EXAMPLE
Smallest n such that A213902(n)=2 is n=24, so a(2)=24.
MATHEMATICA
nn = 10^6; t = Join[{3}, Union[6 Range[nn] - 1, 6 Range[nn] + 1]]; cnt = 0; t2 = Reap[Do[If[PrimeQ[t[[i]]], Sow[cnt]; cnt = 0, cnt++], {i, Length[t]}]][[2, 1]]; t3 = {}; n = 0; While[pos = Position[t2, n, 1, 1]; pos != {}, AppendTo[t3, pos[[1, 1]]]; n++]; t3 (* T. D. Noe, Jun 26 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Jun 24 2012
STATUS
approved