OFFSET
1,2
COMMENTS
LINKS
FORMULA
EXAMPLE
The first prime p that divides (3^(p-1) - 1)/p is 11, so a(3) = (3^10 - 1)/11^2 mod 11 = 488 mod 11 = 4.
CROSSREFS
KEYWORD
hard,more,nonn
AUTHOR
Jonathan Sondow, Jun 17 2010
STATUS
approved