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!)
A067664 Numbers n such that n^2 + 1 and n^2 + n + 1 are primes. 1
1, 2, 6, 14, 20, 24, 54, 66, 90, 110, 150, 176, 206, 236, 314, 584, 644, 686, 696, 860, 864, 890, 920, 950, 960, 1070, 1146, 1274, 1314, 1340, 1434, 1440, 1494, 1566, 1616, 1644, 1676, 1700, 1716, 1970, 1974, 2054, 2064, 2136, 2360, 2430, 2456, 2604, 2646 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
All the terms are even numbers except for a(1) = 1. - Metin Sariyar, Nov 23 2019
LINKS
MATHEMATICA
Join[{1}, Select[Range[2, 10^6, 2], PrimeQ[#^2+1]&&PrimeQ[#^2+#+1]&]] (* Metin Sariyar, Nov 23 2019 *)
PROG
(Magma) [n: n in [0..10000]| IsPrime(n^2+1) and IsPrime(n^2+n+1)] // Vincenzo Librandi, Aug 07 2010
CROSSREFS
Sequence in context: A308394 A246068 A032643 * A130800 A067262 A107369
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Feb 23 2002
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 April 18 08:27 EDT 2024. Contains 371769 sequences. (Running on oeis4.)