OFFSET
1,1
COMMENTS
2^2-1=3 is prime; (3^3-1)/2=13 is prime; (5^13-1)/4=305175781 is prime; the next term is too gigantic to be computed simply.
FORMULA
a(p)=((p^a(p-1))-1)/(p-1); a(p)=111...111 in base p with a(p-1) 1's; p runs through the primes.
CROSSREFS
KEYWORD
nonn,bref,more
AUTHOR
Xavier Labouze (Xavier.Labouze(AT)cep.u-psud.fr)
STATUS
approved