OFFSET
1,1
EXAMPLE
MAPLE
MATHEMATICA
nn = 11; a = Table[0, {nn}]; k = 1; While[Times @@ a == 0, k++; p1 = Prime[k]; id = PrimePi[Min[Table[Last[FactorInteger[Prime[k]^2 - Prime[j]^2]][[1]], {j, k - 1}]]]; If[id <= nn && a[[id]] == 0, a[[id]] = k]]; a
CROSSREFS
KEYWORD
nonn,hard
AUTHOR
Lei Zhou, Jan 23 2013
STATUS
approved