login
A106697
Numbers k such that 997*k - 101 is prime.
0
6, 12, 24, 34, 40, 66, 114, 124, 130, 144, 154, 172, 196, 210, 222, 226, 240, 244, 252, 270, 282, 300, 306, 336, 352, 354, 366, 370, 376, 382, 384, 424, 432, 454, 474, 480, 502, 532, 562, 570, 574, 586, 592, 600, 604, 612, 616, 622, 636, 646, 690, 702, 714
OFFSET
1,1
COMMENTS
101 and 997 are the smallest and largest three-digit primes.
EXAMPLE
If k=6, then 997*k - 101 = 5881 (prime).
If k=144, then 997*k - 101 = 143467 (prime).
MATHEMATICA
Select[Range[800], PrimeQ[997#-101]&] (* Harvey P. Dale, Oct 01 2012 *)
PROG
(Magma) [n: n in [1..100000] | IsPrime(997*n - 101)]; // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(997*n-101) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A000082 A263849 A227416 * A323002 A249127 A277336
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, May 13 2005
STATUS
approved