OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Thabit ibn Kurrah's rules
Kosmaj, Riesel list k<300.
EXAMPLE
9*2^(2*1-1) - 1 = 17 so a(1)=1
9*2^(2*2-1) - 1 = 71 so a(2)=2
9*2^(2*3-1) - 1 = 287 is not prime
9*2^(2*4-1) - 1 = 1151 is prime so a(3)=4
PROG
(PARI) for (i=1, 500, if(isprime(9*2^(2*i-1)-1), print1(i, ", ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
Mohammed Bouayoun (bouyao(AT)wanadoo.fr), Mar 17 2004
EXTENSIONS
8 additional terms, corresponding to probable primes, from Ryan Propper, Jun 18 2005
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Apr 28 2007
Edited by T. D. Noe, Oct 30 2008
STATUS
approved