OFFSET
1,1
COMMENTS
LINKS
M. Underwood, 2^a*3^b one away from a prime. Post to primenumbers group, Nov. 19, 2009.
Mark Underwood, Jens Kruse Andersen, 2^a*3^b one away from a prime, digest of 3 messages in primenumbers Yahoo group, Nov 19, 2009.
PROG
(PARI) A167505(n)=sum( b=0, n, ispseudoprime(3^b<<(n-b)-1) || ispseudoprime(3^b<<(n-b)+1))
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Nov 19 2009
STATUS
approved