login
A291541
a(n) = prime(n) * prime(n^2) - prime(n^3).
6
2, 2, 12, 60, 376, 642, 1550, 2238, 4118, 7770, 9534, 15846, 21966, 26490, 35750, 46934, 63204, 73164, 94248, 112812, 128922, 161128, 185576, 225062, 278260, 315108, 347596, 393898, 426998, 478078, 614064, 682998, 769800, 827466, 962166, 1036806, 1156866, 1286448, 1390878, 1534754
OFFSET
1,1
COMMENTS
All terms are even.
For prime(n)^3 - prime(n^3) see A262199.
For prime(n)^3 - prime(n) * prime(n^2) see A291542.
For PrimePi(n^3) - PrimePi(n) * PrimePi(n^2) see A291539.
FORMULA
A291542(n) + a(n) = A262199(n).
EXAMPLE
a(2) = prime(2) * prime(4) - prime(8) = 3*7 - 19 = 2.
MATHEMATICA
Table[ Prime[n] * Prime[n^2] - Prime[n^3], {n, 40}]
PROG
(PARI) a(n) = prime(n) * prime(n^2) - prime(n^3); \\ Michel Marcus, Sep 10 2017
KEYWORD
nonn
AUTHOR
Jonathan Sondow, Aug 25 2017
STATUS
approved