login
A101567
Numbers n such that 1009*n + 10007 is prime.
1
0, 6, 14, 20, 26, 30, 44, 48, 50, 74, 96, 110, 116, 134, 138, 144, 146, 168, 170, 180, 198, 204, 216, 228, 254, 258, 260, 278, 284, 294, 320, 344, 350, 356, 368, 386, 398, 404, 410, 414, 420, 480, 504, 518, 524, 536, 564, 566, 578
OFFSET
1,2
COMMENTS
Note 1009 is the smallest four-digit prime and 10007 is the smallest five-digit prime.
LINKS
EXAMPLE
If n=6, then 1009*6 + 10007 = 16061 (prime).
If n=110, then 1009*110 + 10007 = 120997 (prime).
If n=180, then 1009*180 + 10007 = 191627 (prime).
MATHEMATICA
Select[Range[0, 600], PrimeQ[1009# + 10007] &] (* Stefan Steinerberger, Feb 28 2006 *)
PROG
(PARI) is(n)=isprime(1009*n+10007) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A048747 A175678 A173870 * A123267 A236928 A064708
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jan 25 2005
EXTENSIONS
More terms from Stefan Steinerberger, Feb 28 2006
STATUS
approved