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

A102904
Primes of the form 3^k + 20.
2
23, 29, 47, 101, 263, 2207, 6581, 59069, 177167, 4782989, 984770902183611232901, 174449211009120179071170527, 278128389443693511257285776231781, 7509466514979724803946715958257567
OFFSET
1,1
COMMENTS
The sequence of the corresponding k starts 1, 2, 3, 4, 5, 7, 8, 10, 11, 14, 44, 55, 68, 71, 80, 123, 158, 213, 220, 272, 668, 725, 885, 1132, 1677, 2056, ... [Joerg Arndt, Jul 19 2012]
LINKS
FORMULA
a(n) = 3^A219040(n) + 20. - Elmo R. Oliveira, Nov 12 2023
MATHEMATICA
Select[Table[3^n+20, {n, 0, 200}], PrimeQ] (* Vincenzo Librandi, Jul 19 2012 *)
PROG
(Magma) [ a: n in [0..100] | IsPrime(a) where a is 3^n+20 ]; // Vincenzo Librandi, Jul 19 2012
CROSSREFS
Cf. A000040, A000960, A219040 (corresponding k's).
Sequence in context: A127834 A108111 A085713 * A108249 A338324 A232725
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Mar 01 2005
STATUS
approved