A108584 Numbers k such that 10*k - 97 is prime.
10, 11, 12, 14, 15, 17, 18, 20, 21, 26, 27, 29, 32, 33, 36, 38, 39, 41, 45, 47, 48, 53, 54, 56, 60, 62, 66, 69, 71, 74, 75, 77, 78, 83, 84, 87, 92, 95, 96, 98, 105, 108, 111, 113, 116, 119, 120, 122, 125, 126, 129, 131, 132, 138, 140
Offset: 1
Examples
If k=10 then 10*k - 97 = 3 (prime). If k=36 then 10*k - 97 = 263 (prime).
Links
- Michael De Vlieger, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A108588.
Programs
-
Magma
[n: n in [10..200]| IsPrime(10*n - 97)]; // Vincenzo Librandi, Feb 03 2011
-
Mathematica
Select[Range[10,200],PrimeQ[10#-97]&] (* Harvey P. Dale, Jan 10 2015 *)
-
PARI
is(n)=isprime(10*n-97) \\ Charles R Greathouse IV, Jun 13 2017
-
SageMath
[n for n in (10..400) if is_prime(10*n-97)] # G. C. Greubel, Oct 22 2023