login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A005125
Numbers k such that 8k - 3 is prime.
2
1, 2, 4, 5, 7, 8, 13, 14, 19, 20, 22, 23, 25, 29, 34, 35, 37, 40, 44, 47, 49, 50, 53, 58, 64, 68, 70, 77, 82, 83, 85, 88, 89, 92, 95, 97, 100, 103, 104, 107, 110, 118, 125, 127, 128, 133, 134, 137, 139, 140, 148, 152
OFFSET
1,2
LINKS
MATHEMATICA
Select[Range[200], PrimeQ[8# - 3]&] (* Vincenzo Librandi, Jan 07 2013 *)
PROG
(Magma) [n: n in [1..200] | IsPrime(8*n-3)]; // Vincenzo Librandi, Jan 07 2013
(PARI) is(n)=isprime(8*n-3) \\ Charles R Greathouse IV, May 22 2017
CROSSREFS
Sequence in context: A330708 A107899 A032924 * A232832 A272195 A082672
KEYWORD
nonn,easy
STATUS
approved