login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A107071
Numbers n such that 1019*n + 1021 is prime.
0
0, 8, 12, 14, 20, 32, 50, 68, 102, 110, 122, 134, 150, 162, 168, 174, 180, 182, 200, 228, 248, 260, 264, 270, 312, 318, 330, 342, 348, 350, 354, 398, 402, 410, 428, 432, 440, 452, 468, 470, 474, 512, 518, 540, 558, 584, 612, 614, 624, 638, 642, 644, 650, 678
OFFSET
1,2
COMMENTS
1019 and 1021 are twin primes.
EXAMPLE
If n=110, then 1019*n + 1021 = 113111 (prime).
PROG
(Magma) [n: n in [0..100000] | IsPrime(1019*n + 1021)] // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(1019*n+1021) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A106669 A329865 A108979 * A114414 A032455 A342809
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jun 07 2005
STATUS
approved