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

A106695
Numbers k such that 101*k - 997 is prime.
1
10, 16, 18, 24, 28, 34, 48, 54, 58, 66, 70, 76, 84, 90, 96, 100, 124, 136, 138, 150, 154, 156, 168, 178, 180, 186, 198, 208, 228, 234, 238, 256, 264, 276, 280, 294, 298, 300, 310, 318, 324, 336, 340, 354, 360, 366, 370, 376, 378, 390, 406, 418, 430, 450, 468
OFFSET
1,1
COMMENTS
101 and 997 are the smallest and largest three-digit primes.
LINKS
EXAMPLE
If k=10, then 101*k - 997 = 13 (prime).
If k=66, then 101*k - 997 = 5669 (prime).
MATHEMATICA
Select[Range[5, 500], PrimeQ[101#-997]&] (* Harvey P. Dale, Sep 01 2021 *)
PROG
(Magma) [n: n in [10..100000] | IsPrime(101*n - 997)]; // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(101*n-997) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A187797 A352297 A192221 * A053747 A228491 A295667
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, May 13 2005
STATUS
approved