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”).

A105583
Numbers k such that 101*k + 997 is prime.
3
0, 14, 26, 30, 32, 44, 50, 54, 56, 60, 72, 92, 102, 110, 114, 116, 126, 140, 144, 152, 162, 176, 182, 192, 204, 206, 212, 234, 240, 242, 252, 296, 320, 324, 326, 330, 360, 366, 372, 386, 390, 396, 404, 410, 416, 444, 450, 452, 462, 474, 480, 494, 506, 512, 516
OFFSET
1,2
COMMENTS
101 and 997 are the smallest and largest three-digit primes.
LINKS
EXAMPLE
If k=0, then 101*k + 997 = 997 (prime).
If k=110, then 101*k + 997 = 12107 (prime).
MATHEMATICA
Select[Range[520], PrimeQ[101#+997]&] (* Stefano Spezia, Aug 02 2024 *)
PROG
(Magma) [n: n in [0..100000] | IsPrime(101*n + 997)]; // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(101*n+997) \\ Charles R Greathouse IV, Jun 06 2017
CROSSREFS
Cf. A105679.
Sequence in context: A030786 A094163 A134837 * A323030 A005277 A079702
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, May 06 2005
STATUS
approved