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”).

A113916
Numbers n such that (p^n-1)/(p-1) is prime where p is the n-th prime.
0
3, 7, 19, 31, 307, 421
OFFSET
1,1
COMMENTS
Note that n must itself be a prime.
MATHEMATICA
Do[ p = Prime[n]; If[PrimeQ[(p^n - 1)/(p - 1)], Print[n]], {n, 1800}] (* Robert G. Wilson v *)
CROSSREFS
Sequence in context: A102271 A145039 A112633 * A227502 A268065 A049490
KEYWORD
nonn
AUTHOR
Joao da Silva (zxawyh66(AT)yahoo.com), Jan 30 2006
STATUS
approved