OFFSET
1,1
COMMENTS
Primes associated with Stormer numbers.
REFERENCES
John H. Conway and R. K. Guy, The Book of Numbers, Copernicus Press, p. 246.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
J. Todd, Table of Arctangents. National Bureau of Standards, Washington, DC, 1951, p. vi.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
Eric Weisstein's World of Mathematics, Stormer Number.
Eric Weisstein's World of Mathematics, Primitive Prime Factor
MATHEMATICA
prms={}; Do[f=First/@FactorInteger[k^2+1]; p=Complement[f, prms]; prms=Join[prms, p], {k, 100}]; prms
PROG
(Magma) V:=[]; for n in [1..75] do p:=Max([ x[1]: x in Factorization(n^2+1) ]); if not p in V then Append(~V, p); end if; end for; V; - Klaus Brockhaus, Oct 29 2008
(PARI) do(n)=my(v=List(), g=1, m, t, f); for(k=1, n, m=k^2+1; t=gcd(m, g); while(t>1, m/=t; t=gcd(m, t)); f=factor(m)[, 1]; if(#f, listput(v, f[1]); g*=f[1])); Vec(v) \\ Charles R Greathouse IV, Jun 11 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Edited by T. D. Noe, Oct 02 2003
STATUS
approved