OFFSET
4,1
COMMENTS
A prime based reinversion sequence based on the A004001 pattern.
MATHEMATICA
prid[n_Integer?Positive] := prid[n] =PrimePi[PrimePi[n-1]] + Prime[Abs[n - Prime[n-1]]] prid[1] = prid[2] = 1 digits=256 a=Table[prid[n], {n, 4, digits+4}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Oct 12 2003
STATUS
approved