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!)
A128945 Numbers n such that the greatest prime < 2^n is a twin prime member. 0
2, 3, 4, 5, 6, 10, 12, 16, 20, 149, 150, 476, 594, 788, 1574, 1664, 1691, 6117, 6242 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A014234(a(n)) is in A001097 (twin primes).
LINKS
EXAMPLE
For n=5, 31 is the greatest prime < 2^5 and is a member of the twin prime pair 29, 31.
PROG
(PARI) g(n, b)=for(x=1, n, y=precprime(b^x); if(ispseudoprime(y-2), print1(x", ")))
CROSSREFS
Sequence in context: A353385 A018266 A344826 * A318533 A048569 A033085
KEYWORD
hard,more,nonn
AUTHOR
Cino Hilliard, Apr 28 2007
EXTENSIONS
Edited by and terms a(15)-a(17) from Ray Chandler, May 12 2007
a(18), a(19) Donovan Johnson, Feb 21 2008
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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)