OFFSET
1,1
REFERENCES
R. K. Guy, Unsolved Problems in Number Theory, A18.
LINKS
T. D. Noe, Table of n, a(n) for n=1..10000
MAPLE
For Maple program see Mathar link in A005105.
MATHEMATICA
PrimeFactors[n_Integer] := Flatten[ Table[ #[[1]], {1}] & /@ FactorInteger[n]]; f[n_Integer] := Block[{m = n}, If[m == 0, m = 1, While[ IntegerQ[m/2], m /= 2]; While[ IntegerQ[m/3], m /= 3]]; Apply[Times, PrimeFactors[m] + 1]]; ClassPlusNbr[n_] := Length[ NestWhileList[f, n, UnsameQ, All]] - 3; Prime[ Select[ Range[1040], ClassPlusNbr[ Prime[ # ]] == 5 &]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Mar 20 2003
STATUS
approved