login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A048756
Prime repunits in ascending prime bases (written in decimal).
0
3, 13, 305175781
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
Sequence in context: A317481 A271393 A087345 * A174211 A264611 A157323
KEYWORD
nonn,bref,more
AUTHOR
Xavier Labouze (Xavier.Labouze(AT)cep.u-psud.fr)
STATUS
approved