OFFSET
1,4
COMMENTS
The index of a Lie algebra, g, is an invariant of the Lie algebra defined by min(dim(Ker(B_f)) where the min is taken over all linear functionals f on g and B_f denotes the bilinear form f([_,_]) were [,] denotes the bracket multiplication on g.
For seaweed subalgebras of sl(n), which are Lie subalgebras of sl(n) whose matrix representations are parametrized by an ordered pair of compositions of n, the index can be determined from a corresponding graph called a meander.
a(n) is periodic with period 2 for n>12.
LINKS
Muniru A Asiru, Table of n, a(n) for n = 1..1000
V. Coll, A. Mayers, N. Mayers, Statistics on integer partitions arising from seaweed algebras, arXiv preprint arXiv:1809.09271 [math.CO], 2018.
V. Dergachev, A. Kirillov, Index of Lie algebras of seaweed type, J. Lie Theory 10 (2) (2000) 331-343.
Index entries for linear recurrences with constant coefficients, signature (0, 1).
FORMULA
For n>12: a(n)=2 if n is odd, a(n)=0 if n is even.
MAPLE
1, 1, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2 seq(op([0, 2]), n=1..30); # Muniru A Asiru, Dec 07 2018
MATHEMATICA
Join[{1, 1, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1}, LinearRecurrence[{0, 1}, {2, 0}, 100]] (* Jean-François Alcover, Dec 07 2018 *)
PROG
(GAP) a:=[1, 1, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2];; Concatenation(a, Flat(List([1..30], n->[0, 2]))); # Muniru A Asiru, Dec 07 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Nick Mayers, Oct 03 2018
STATUS
approved