A108341 Numbers n such that 997*n - 1009 is prime.
6, 8, 18, 30, 36, 38, 44, 66, 78, 90, 98, 104, 116, 134, 140, 144, 156, 164, 168, 170, 200, 228, 230, 246, 248, 260, 276, 296, 318, 344, 354, 374, 378, 380, 386, 408, 420, 426, 450, 464, 468, 480, 500, 510, 546, 576, 578, 584, 606, 608, 618, 620, 630, 654, 678
Offset: 1
Examples
If n=6, then 997*n - 1009 = 4973 (prime). If n=90, then 997*n - 1009 = 88721 (prime).
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Crossrefs
Cf. A101086.
Programs
-
Maple
a:=proc(n) if isprime(997*n-1009)=true then n else fi end: seq(a(n),n=1..750); # Emeric Deutsch, Jul 04 2005
-
Mathematica
Select[Range[2,700,2],PrimeQ[997#-1009]&] (* Harvey P. Dale, Mar 09 2019 *)
-
PARI
is(n)=isprime(997*n-1009) \\ Charles R Greathouse IV, Jun 13 2017
Extensions
More terms from Emeric Deutsch, Jul 04 2005
Comments