|
|
A138417
|
|
a(n) = (prime(n)^4 - prime(n))/2.
|
|
3
|
|
|
7, 39, 310, 1197, 7315, 14274, 41752, 65151, 139909, 353626, 461745, 937062, 1412860, 1709379, 2439817, 3945214, 6058651, 6922890, 10075527, 12705805, 14199084, 19475001, 23729119, 31371076, 44264592, 52030150, 56275389
(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], {n, 1, 50}]; a
|
|
PROG
|
(Magma) [(NthPrime((n))^4 - NthPrime((n)))/2: n in [1..30] ]; // Vincenzo Librandi, Jun 17 2011
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|