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”).

A024907
Numbers k such that 9*k - 7 is prime.
2
1, 2, 4, 6, 10, 12, 16, 20, 22, 26, 30, 32, 36, 40, 44, 50, 52, 54, 64, 66, 72, 74, 76, 92, 94, 96, 102, 104, 106, 110, 114, 122, 124, 130, 132, 136, 144, 146, 152, 160, 162, 166, 170, 174, 180, 186, 192, 202, 206, 212, 220, 226, 230, 232, 234, 240, 246, 250, 256, 260, 262, 270
OFFSET
1,2
LINKS
MATHEMATICA
Select[Range[300], PrimeQ[9 # - 7] &] (* Harvey P. Dale, Sep 18 2012 *)
PROG
(Magma) [n: n in [1..300] |IsPrime(9*n-7)]; // Vincenzo Librandi, Nov 20 2010
(PARI) is(n)=isprime(9*n-7) \\ Charles R Greathouse IV, May 22 2017
CROSSREFS
Cf. A061238 (associated primes).
Sequence in context: A072752 A036634 A005942 * A033098 A220478 A033868
KEYWORD
nonn,easy
STATUS
approved