OFFSET
0,3
COMMENTS
For n>0, a(n)=0 means that there is no such m, since 2^0+3^n cannot be prime for n>0.
EXAMPLE
a(0)=0 since 2^0+3^0=2 is prime.
a(18)=14 is the largest integer m <= 18 such that 2^m+3^18 is prime.
a(19)=0 since there is no integer m <= 19 such that 2^m+3^19 is prime.
PROG
(PARI) A159268(n)=forstep(m=n, 1, -1, is/*pseudo*/prime(2^m+3^n) & return(m))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Apr 07 2009
STATUS
approved