login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A092241
Triangle read by rows: row n gives coefficients of (1+x+x^2)^n mod n.
1
0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 2, 0, 3, 0, 2, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 3, 2, 0, 0, 3, 0, 0, 2, 3, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 4, 0, 2, 0, 0, 0, 3, 0, 0, 0, 2, 0, 4, 0, 1, 1, 0, 0, 3, 0, 0, 6, 0, 0, 7, 0, 0, 6, 0, 0, 3, 0, 0, 1
OFFSET
0,19
EXAMPLE
Triangle begins:
[0]
[0, 0, 0]
[1, 0, 1, 0, 1]
[1, 0, 0, 1, 0, 0, 1]
[1, 0, 2, 0, 3, 0, 2, 0, 1]
[1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]
[1, 0, 3, 2, 0, 0, 3, 0, 0, 2, 3, 0, 1]
MAPLE
f := n -> seriestolist( series( expand( (1+x+x^2)^n ) mod n, x, 2*n+1));
CROSSREFS
Cf. A053200.
Sequence in context: A351964 A163496 A375519 * A336124 A256580 A213266
KEYWORD
nonn,tabf
AUTHOR
N. J. A. Sloane, Feb 20 2004
STATUS
approved