A104311 Numbers n such that the coefficient of x^n in (x^3+x^2+x+1)^n is prime.
2, 4, 5, 8, 73, 649
Offset: 1
Crossrefs
Cf. A005725 (quadrinomial coefficients).
Programs
-
Mathematica
f=1; Do[f=Expand[f*(x^3+x^2+x+1)]; s=Coefficient[f, x, n]; If[PrimeQ[s], Print[{n, s}]], {n, 1000}]
Comments