OFFSET
1,1
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
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