OFFSET
1,1
COMMENTS
Number of monic irreducible polynomials of degree 4 over GF(prime(n)). - Robert Israel, Jan 07 2015
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
FORMULA
a(n) = A138402(n)/4. - R. J. Mathar, Oct 15 2017
MAPLE
seq(1/4*(ithprime(i)^4 - ithprime(i)^2), i=1..100); # Robert Israel, Jan 07 2015
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^4 - p^2)/4], {n, 1, 50}]; a
PROG
(Magma) [(NthPrime((n))^4 - NthPrime((n))^2)/4: n in [1..30] ]; // Vincenzo Librandi, Jun 17 2011
(PARI) forprime(p=2, 1e3, print1((p^4-p^2)/4", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
EXTENSIONS
Name edited by Robert Israel, Jan 07 2015
STATUS
approved