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

A216889
Numbers k such that 12*3^k + 1 is prime.
1
0, 1, 2, 5, 13, 14, 38, 200, 248, 884, 1004, 1253, 1634, 3305, 3521, 9601, 19784, 72697
OFFSET
1,3
COMMENTS
a(19) > 2*10^5. - Robert Price, Mar 16 2014
All terms are verified primes (i.e., not merely probable primes). - Robert Price, Mar 16 2014
FORMULA
a(n) = A005537(n+1) - 1. - Bruno Berselli, Sep 27 2012
MATHEMATICA
Select[Range[4000], PrimeQ[12 * 3^# + 1] &]
PROG
(Magma) [n: n in [0..4000] | IsPrime(12*3^n + 1)];
(PARI) is(n)=ispseudoprime(12*3^n+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Vincenzo Librandi, Sep 26 2012
EXTENSIONS
a(16)-a(17) from Vincenzo Librandi, Sep 30 2012
a(18) from Robert Price, Mar 16 2014
STATUS
approved