OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = (p^6 - p^3 - p^2 + p)/6, where p = prime(n).
EXAMPLE
For n=1 the a(1) = 9 irreducible monic polynomials of degree 6 over GF(2) are
x^6+x^5+1, x^6+x^3+1, x^6+x^5+x^4+x^2+1, x^6+x^5+x^3+x^2+1, x^6+x+1, x^6+x^5+x^4+x+1, x^6+x^4+x^3+x+1, x^6+x^5+x^2+x+1, x^6+x^4+x^2+x+1.
MAPLE
f:= p-> (p^6 - p^3 - p^2 + p)/6:
seq(f(ithprime(i)), i=1..100); # Robert Israel, Jan 07 2015
MATHEMATICA
Table[(Prime[n]^6 - Prime[n]^3 - Prime[n]^2 + Prime[n]) / 6, {n, 1, 30}] (* Vincenzo Librandi, Jan 08 2015 *)
PROG
(Magma) [(p^6 - p^3 - p^2 + p) div 6: p in PrimesUpTo(110)]; // Vincenzo Librandi, Jan 08 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel, Jan 07 2015
STATUS
approved