OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
FORMULA
a(n) = A000010(prime(n)^4). - R. J. Mathar, Oct 15 2017
From Amiram Eldar, Nov 22 2022: (Start)
Product_{n>=1} (1 - 1/a(n)) = A065415. (End)
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, p^4 - p^3], {n, 1, 50}]; a
PROG
(PARI) forprime(p=2, 1e3, print1(p^4-p^3", ")) \\ Charles R Greathouse IV, Jun 16 2011
(Magma) [NthPrime((n))^4 - NthPrime((n))^3: n in [1..40] ]; // Vincenzo Librandi, Jun 17 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved