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!)
A176681 Numbers k such that k^2 +-5 are primes. 6
6, 12, 36, 72, 78, 168, 198, 204, 342, 432, 456, 492, 534, 588, 594, 666, 726, 756, 786, 804, 996, 1014, 1212, 1218, 1248, 1254, 1266, 1314, 1344, 1476, 1512, 1554, 1806, 1812, 1902, 2088, 2298, 2322, 2364, 2616, 2634, 3066, 3072, 3162, 3432, 3444, 3852 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
12 is in the sequence, because 12^2 + 5 = 149 and 12^2 - 5 = 139 are primes.
MATHEMATICA
Select[Range[8! ], PrimeQ[ #^2-5]&&PrimeQ[ #^2+5]&]
CROSSREFS
Sequence in context: A096932 A212976 A352621 * A064476 A324483 A239171
KEYWORD
nonn
AUTHOR
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 June 30 02:13 EDT 2024. Contains 373859 sequences. (Running on oeis4.)