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

A102870
Primes of the form 3^k + 8.
10
11, 17, 89, 251, 6569, 1594331, 4782977, 3486784409, 1350851717672992097, 984770902183611232889, 5474401089420219382077155933569751771, 969773729787523602876821942164080815560169
OFFSET
1,1
LINKS
FORMULA
a(n) = 3^A217136(n) + 8. - Elmo R. Oliveira, Nov 09 2023
MATHEMATICA
a = Delete[Union[Flatten[Table[If [PrimeQ[3^n + 8] == True, 3^n + 8, 0], {n, 1, 200}]]], 1]
Select[Table[3^n+8, {n, 0, 200}], PrimeQ] (* Vincenzo Librandi, Jul 19 2012 *)
PROG
(Magma) [ a: n in [0..100] | IsPrime(a) where a is 3^n+8 ]; // Vincenzo Librandi, Jul 19 2012
CROSSREFS
Cf. A000040, A217136 (corresponding k's).
Sequence in context: A324795 A250716 A244853 * A136721 A107172 A090286
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Mar 01 2005
STATUS
approved