OFFSET
1,1
COMMENTS
Thébault shows that a(2) = 121 is the only square in this sequence. - Charles R Greathouse IV, Jul 23 2013
Giovanni Resta has found that 28792661 is the first Sophie Germain prime of this form (and actually of the form p = (n^m-1)/(n-1) for any p-1 > n, m > 1). - M. F. Hasler, Mar 03 2020
REFERENCES
Victor Thébault, Curiosités arithmétiques, Mathesis 62 (1953), pp. 120-129.
LINKS
Ivan Panchenko, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A000203(prime(n)^4). - R. J. Mathar, Mar 15 2018
a(n) = (prime(n)^5 - 1)/(prime(n) - 1) = A053699(prime(n)). (This is also meant by the 2nd formula.) - M. F. Hasler, Mar 03 2020
EXAMPLE
a(1) = 31 because prime(1) = 2 and 1 + 2 + 2^2 + 2^3 + 2^4 = 1 + 2 + 4 + 8 + 16 = 31.
MATHEMATICA
Table[Sum[Prime[n]^k, {k, 0, 4}], {n, 30}] (* Alonso del Arte, May 24 2015 *)
PROG
(PARI) a(n)=sigma(prime(n)^4) \\ Charles R Greathouse IV, Jul 23 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Aug 06 2007
STATUS
approved