|
|
A138419
|
|
a(n) = (prime(n)^4 - prime(n)^2)/3.
|
|
3
|
|
|
4, 24, 200, 784, 4840, 9464, 27744, 43320, 93104, 235480, 307520, 624264, 941360, 1138984, 1625824, 2629224, 4037960, 4614040, 6715544, 8468880, 9464304, 12981280, 15817144, 20911440, 29506624, 34683400, 37513424, 43689384
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
a = {}; Do[p = Prime[n]; AppendTo[a, (p^4 - p^2)/3], {n, 1, 50}]; a
|
|
PROG
|
(Magma) [(NthPrime((n))^4 - NthPrime((n))^2)/3: n in [1..30] ]; // Vincenzo Librandi, Jun 17 2011
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|