login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A157972 Coefficients of the even n Cartan A_n characteristic polynomials factored modulo two: m(n,m,d)=If[ n == m, 2, If[n == m - 1 || n == m + 1, -1, 0]]. 0
1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
Row sums are:
{2, 3, 3, 2, 5, 5, 2, 3, 7, 2,...},
The interesting effect is that the even terms are squares, and every third of them has (x+1).
LINKS
FORMULA
m(n,m,d)=If[ n == m, 2, If[n == m - 1 || n == m + 1, -1, 0]];
p(x,n)=Characteristicpolynomial(m(n,m,k),x);
q(x,2*n,i)=Factor(p(x,2*n),i);
t(n,m)=coefficients(q(x,2*n,1))
EXAMPLE
Examples of polynomials (all):
x,
(1 + x)^2,
x^3,
(1 + x + x^2)^2,
x( 1 + x)^4,
(1 + x^2 + x^3)^2,
x^7,
(1 + x)^2(1 + x + x^3)^2,
x(1 + x + x^2)^4,
(1 + x + x^2 + x^4 + x^5)^2
Coefficients even first polynomials:
{1, 1},
{1, 1, 1},
{1, 0, 1, 1},
{1, 1},
{1, 1, 1, 0, 1, 1},
{1, 1, 0, 0, 1, 1, 1},
{1, 1},
{1, 1, 0, 0, 1},
{1, 1, 0, 0, 1, 1, 1, 0, 1, 1},
{1, 1}
MATHEMATICA
Clear[M, T, d, a, x, a0];
T[n_, m_, d_] := If[ n == m, 2, If[n == m - 1 || n == m + 1, -1, 0]];
M[d_] := Table[T[n, m, d], {n, 1, d}, {m, 1, d}];
Table[FactorList[CharacteristicPolynomial[M[d], x], Modulus -> 2][[2]][[1]], {d, 2, 20, 2}];
Table[CoefficientList[FactorList[CharacteristicPolynomial[M[d], x], Modulus -> 2][[2]][[1]], x], {d, 2, 20, 2}];
Flatten[%]
Table[Apply[Plus, CoefficientList[FactorList[CharacteristicPolynomial[M[ d], x], Modulus -> 2][[2]][[1]], x]], {d, 2, 20, 2}];
CROSSREFS
Sequence in context: A249133 A118102 A089509 * A124897 A071035 A138345
KEYWORD
nonn,tabl
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)