A256776 Primes of form n^2 + 256.
257, 281, 337, 617, 881, 1097, 1217, 1481, 1777, 2281, 2657, 2857, 4481, 5297, 5881, 7481, 8537, 9281, 10457, 12577, 14897, 15881, 17417, 18481, 19577, 23057, 24281, 25537, 26177, 27481, 28817, 30881, 32297, 35977, 38281, 39857, 42281, 44777, 52697, 53617
Offset: 1
Keywords
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Haskell
a256776 n = a256776_list !! (n-1) a256776_list = [x | x <- map (+ 256) a000290_list, a010051' x == 1]
-
PARI
list(lim)=if(lim<257,return([])); my(v=List(),t); forstep(n=1, sqrtint(lim\1-256), 2, if(isprime(t=n^2+256), listput(v,t))); Vec(v) \\ Charles R Greathouse IV, Aug 18 2017
Comments