OFFSET
0,4
COMMENTS
The list of associated primes 2^n + k^2 is 2, 3, 5, 17, 17, 41, 73, 137, 257, 521, 1033, ...
All terms are odd. - Harvey P. Dale, Dec 19 2014
REFERENCES
Leonard E. Dickson: History of the Theory of numbers, vol. I, Dover Publications 2005
Louis J. Mordell: Diophantine equations, Academic Press Inc., 1969
Wolfgang M. Schmidt, Diophantine approximations and Diophantine equations, Lecture Notes in Mathematics vol. 785, Springer-Verlag, 2000
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
EXAMPLE
MAPLE
A173854 := proc(n) local twon, k ; twon := 2^n ; for k from 1 do if isprime(twon+k^2) then return k ; end if; end do ; end proc:
seq(A173854(n), n=0..90) ; # R. J. Mathar, Mar 05 2010
MATHEMATICA
spi[n_]:=Module[{t=2^n, k=1}, While[!PrimeQ[t+k^2], k=k+2]; k]; Array[spi, 90, 0] (* Harvey P. Dale, Dec 19 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Ulrich Krug (leuchtfeuer37(AT)gmx.de), Feb 26 2010
EXTENSIONS
Extended by R. J. Mathar, Mar 05 2010
STATUS
approved