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
Vincenzo Librandi, Table of n, a(n) for n = 1..23
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
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Mar 01 2005
STATUS
approved