OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..183
Chris Caldwell, Mersenne Primes: History, Theorems and Lists.
EXAMPLE
The 5th Mersenne number 2^11 - 1 = 23*89 and 89 is the second prime divisor.
The 9th Mersenne number 2^23 - 1 = 47*178481 and 178481 is the second prime divisor.
Notice 23, 89 congruent to 1 mod 11 and 47, 178481 congruent to 1 mod 23.
PROG
(PARI) mersenne(b, n, d) = { c=0; forprime(x=2, n, c++; y = b^x-1; f=factor(y); v=component(f, 1); ln = length(v); if(ln>=d, print1(v[d]", ")); ) }
KEYWORD
nonn
AUTHOR
Cino Hilliard, Dec 06 2003
STATUS
approved