OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..21
FORMULA
EXAMPLE
The prime 211 is a term because 211 = 1 + 3*2^4 + 2*3^4.
MATHEMATICA
Select[Table[1 + 3*2^k + 2*3^k, {k, 1, 70}], PrimeQ] (* Amiram Eldar, Aug 18 2024 *)
PROG
(PARI) lista(kmax) = {my(p); for(k = 1, kmax, p = 1 + 3*2^k + 2*3^k; if(isprime(p), print1(p, ", "))); } \\ Amiram Eldar, Aug 18 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jun 07 2004
STATUS
approved