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

A153183
Numbers k such that 3k-2 is prime.
10
3, 5, 7, 11, 13, 15, 21, 23, 25, 27, 33, 35, 37, 43, 47, 51, 53, 55, 61, 65, 67, 71, 75, 77, 81, 91, 93, 95, 103, 105, 111, 113, 117, 123, 125, 127, 133, 137, 141, 145, 147, 153, 155, 163, 167, 175, 181, 183, 191, 193, 201, 203, 205, 207, 211, 215, 221, 225, 231
OFFSET
1,1
LINKS
FORMULA
a(n) = A024892(n)+1. - Klaus Brockhaus, Dec 21 2008
MATHEMATICA
Select[Range[1, 250], PrimeQ[(3*#)-2]&] (* Vincenzo Librandi, Sep 24 2012 *)
PROG
(Magma) [ n: n in [1..235] | IsPrime(3*n-2) ]; // Klaus Brockhaus, Dec 21 2008
(PARI) is(n)=isprime(3*n-2) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Cf. A153184 (complement)
Cf. A088878 (3p-2 is prime), A024892 (3*k+1 is prime).
Sequence in context: A091892 A292939 A232011 * A247648 A117203 A081118
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Dec 20 2008
EXTENSIONS
More terms from Klaus Brockhaus, Dec 21 2008
STATUS
approved