login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A167504 Number of primes of the form 2^(n-m) 3^m - 1, 0 <= m <= n. 3
1, 2, 3, 2, 4, 0, 5, 3, 4, 0, 3, 1, 7, 0, 2, 2, 6, 0, 3, 3, 2, 0, 5, 1, 3, 0, 3, 3, 3, 0, 9, 3, 3, 0, 4, 3, 3, 0, 3, 4, 6, 0, 6, 2, 1, 0, 7, 1, 5, 0, 6, 2, 3, 0, 3, 3, 3, 0, 6, 1, 6, 0, 5, 4, 5, 0, 2, 4, 5, 0, 6, 2, 7, 0, 3, 1, 8, 0, 5, 2, 6, 0, 5, 0, 6, 0, 2, 5, 6, 0, 5, 4, 1, 0, 5, 1, 4, 0, 4, 0, 6, 0, 3, 4, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
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) A167504(n)=sum(b=0, n, ispseudoprime(3^b<<(n-b)-1))
CROSSREFS
Sequence in context: A087038 A299115 A179590 * A286013 A208083 A181515
KEYWORD
nonn
AUTHOR
M. F. Hasler, Nov 19 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 08:27 EDT 2024. Contains 371698 sequences. (Running on oeis4.)