Triangle read by rows: coefficients of characteristic polynomials of the Z/nZ addition matrices using PolynomialMod[p(x,n),n] in Mathematica. ( Polynomials/nZ): P(x, n) = If[Mod[n, 4] == 0, x^n, If[Mod[n, 2] == 1, If[n == 0, 1, (n - 1)*x^n], (n/2)x^(n - 2) + x^n]].
A138088
Triangle read by rows: coefficients of characteristic polynomials of the Z/nZ addition matrices using PolynomialMod[p(x,n),n] in Mathematica. ( Polynomials/nZ): P(x, n) = If[Mod[n, 4] == 0, x^n, If[Mod[n, 2] == 1, If[n == 0, 1, (n - 1)*x^n], (n/2)x^(n - 2) + x^n]].
Terms
- a(0) =1a(1) =0a(2) =1a(3) =0a(4) =1a(5) =0a(6) =0a(7) =0a(8) =2a(9) =0a(10) =0a(11) =0a(12) =0a(13) =1a(14) =0a(15) =0a(16) =0a(17) =0a(18) =0a(19) =4a(20) =0a(21) =0a(22) =0a(23) =0a(24) =3a(25) =0a(26) =1a(27) =0a(28) =0a(29) =0
External references
- oeis: A138088