OFFSET
1,1
COMMENTS
All terms end in 0 or 2. - Bernard Schott, Aug 31 2020
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
f:= proc(n) local p;
p:= ithprime(n); (p^6-p^4)/4
end proc:
map(f, [$1..100]); # Robert Israel, Aug 31 2020
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^4)/4], {n, 1, 24}]; a
(#^6-#^4)/4&/@Prime[Range[30]] (* Harvey P. Dale, Jul 21 2023 *)
PROG
(PARI) forprime(p=2, 1e3, print1((p^6-p^4)/4", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 22 2008
STATUS
approved