A024898 Positive integers k such that 6*k - 1 is prime.
1, 2, 3, 4, 5, 7, 8, 9, 10, 12, 14, 15, 17, 18, 19, 22, 23, 25, 28, 29, 30, 32, 33, 38, 39, 40, 42, 43, 44, 45, 47, 49, 52, 53, 58, 59, 60, 64, 65, 67, 70, 72, 74, 75, 77, 78, 80, 82, 84, 85, 87, 93, 94, 95, 98, 99, 100, 103, 107, 108, 109, 110, 113, 114, 117, 120, 124, 127, 129, 133
Offset: 1
Keywords
Links
- Zak Seidov and Michael De Vlieger, Table of n, a(n) for n = 1..10000 (first 3000 terms from Zak Seidov)
Programs
-
GAP
Filtered([1..1000], k->IsPrime(6*k-1)); # Muniru A Asiru, Jan 26 2018
-
Magma
[n: n in [0..1000]| IsPrime(6*n-1)]; // Vincenzo Librandi, Nov 20 2010
-
Maple
select(k -> isprime(6*k-1), [$1..10^3]); # Muniru A Asiru, Jan 26 2018
-
Mathematica
Select[Range[150], PrimeQ[6 # - 1] &] (* Bruno Berselli, Jul 14 2014 *)
Comments