login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A264790 Numbers k such that k^2 + 17 is prime. 1
0, 6, 24, 60, 66, 78, 90, 108, 144, 162, 174, 186, 234, 252, 294, 300, 318, 330, 336, 342, 372, 396, 420, 438, 456, 462, 468, 498, 528, 594, 636, 648, 654, 672, 720, 750, 798, 804, 834, 858, 888, 924, 930, 966, 984, 990, 1014, 1026, 1032, 1086, 1158, 1194, 1200 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Primes of the form k^2 + 17 have a representation as a sum of 2 squares because they belong to A002144.
All terms are multiple of 6.
LINKS
Eric Weisstein's World of Mathematics, Near-Square Prime
FORMULA
A000005(A241847(a(n))) = 2.
A241847(a(n)) = A228244(n).
EXAMPLE
a(3) = 24 because 24^2 + 17 = 593, which is prime.
MATHEMATICA
Select[Range[0, 1200], PrimeQ[#^2 + 17] &] (* Michael De Vlieger, Nov 25 2015 *)
PROG
(PARI) for(n=0, 1e3, if(isprime(n^2+17), print1(n, ", "))) \\ Altug Alkan, Nov 25 2015
(Magma) [n: n in [0..1200 ] | IsPrime(n^2+17)]; // Vincenzo Librandi, Nov 25 2015
CROSSREFS
Cf. A228244 (associated primes).
Other sequences of the type "Numbers n such that n^2 + k is prime": A005574 (k=1), A067201 (k=2), A049422 (k=3), A007591 (k=4), A078402 (k=5), A114269 (k=6), A114270 (k=7), A114271 (k=8), A114272 (k=9), A114273 (k=10), A114274 (k=11), A114275 (k=12), A113536 (k=13), A121250 (k=14), A121982 (k=15), A122062 (k=16).
Sequence in context: A028595 A002653 A212904 * A201598 A329858 A211615
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Nov 25 2015
EXTENSIONS
Edited by Bruno Berselli, Nov 26 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 30 00:57 EDT 2024. Contains 375520 sequences. (Running on oeis4.)