|
Search: id:A104311
|
|
|
| A104311 |
|
Numbers n such that the coefficient of x^n in (x^3+x^2+x+1)^n is prime. |
|
+0 2
|
| |
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
n such that A005725(n) is prime. No other n<16000. The primes are in A104312. Only coefficients of the x, x^n, x^(2n) and x^(3n-1) terms can be prime; the coefficients of x and x^(3n-1) terms are prime whenever n is prime.
|
|
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}]
|
|
CROSSREFS
|
Cf. A005725 (quadrinomial coefficients).
Sequence in context: A012973 A013154 A013129 this_sequence A021980 A011175 A109534
Adjacent sequences: A104308 A104309 A104310 this_sequence A104312 A104313 A104314
|
|
KEYWORD
|
more,nonn
|
|
AUTHOR
|
T. D. Noe (noe(AT)sspectra.com), Mar 01 2005
|
|
|
Search completed in 0.002 seconds
|