login
A163627
Numbers k such that 42k + 5 is prime.
1
0, 1, 2, 3, 4, 6, 9, 11, 12, 14, 16, 17, 18, 21, 22, 23, 24, 26, 28, 29, 31, 34, 37, 38, 43, 47, 49, 54, 56, 57, 58, 62, 64, 66, 67, 68, 69, 79, 81, 82, 83, 84, 86, 87, 88, 93, 97, 102, 104, 106, 109, 113, 114, 116, 117, 119, 121, 123, 126, 128, 131, 133, 136, 138, 139, 141
OFFSET
1,3
EXAMPLE
If n = 97 then 42n + 5 = 4079 (a prime).
MATHEMATICA
Select[Range[0, 150], PrimeQ[42 # + 5] &] (* Ivan Neretin, Nov 26 2016 *)
PROG
(Magma) [n: n in [0..1000] |IsPrime(42*n + 5)] // Vincenzo Librandi, Dec 02 2010
(PARI) is(n)=isprime(42*n+5) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A260343 A215818 A132600 * A189887 A179970 A372689
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Aug 01 2009
EXTENSIONS
More terms from Vincenzo Librandi, Mar 25 2010
STATUS
approved