OFFSET
1,2
COMMENTS
a(17) > 30000. - Giovanni Resta, May 05 2016
EXAMPLE
n = 2 is a term since 3^2 + 2*2^2 = 17 is prime.
MATHEMATICA
Select[Range[1000], PrimeQ[3^# + # * 2^#]&] (* Giovanni Resta, May 05 2016 *)
PROG
(MATLAB)
if isprime(3^n + n*2^n)
disp(n)
end
(PARI) is(n)=ispseudoprime(3^n+n*2^n) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Vardan Semerjyan, Mar 11 2016
EXTENSIONS
a(15)-a(16) from Giovanni Resta, May 05 2016
a(17) from Michael S. Branicky, Jul 06 2024
STATUS
approved