OFFSET
0,6
COMMENTS
It seems that a(n)<=n for all n>0.
EXAMPLE
a(0)=1 since 2^1+3^0=3 is prime.
a(1)=1 since 2^1+3^1=5 is prime.
a(2)=1 since 2^2+3^1=7, or 2^1+3^2=11, is prime. (Only one prime is required).
a(3)=1 since 2^3+3^1=11 and also 2^1+3^3=29, are prime.
a(4)=1 since 2^4+3^1=19 (and also 2^1+3^4=83) are prime.
a(5)=2 is the least integer m such that 2^5+3^m (=41) is prime and 2^m+3^5 is not prime until A159267(5)=4.
PROG
(PARI) A159269(n, m=0)=until( is/*pseudo*/prime(2^n+3^m++) || is/*pseudo*/prime(3^n+2^m), ); m
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Apr 08 2009
STATUS
approved