OFFSET
0,3
COMMENTS
a(n) is the number of length n words over the alphabet [4] such that any prefix satisfies c(1) >= c(2), c(1) >= c(3), c(2) >= c(4), and c(3) >= c(4), where c(i) is the number of occurrences of the letter i.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..300
John Tyler Rascoe, Python code.
EXAMPLE
a(3) = 7: [1, 1, 1], [1, 1, 2], [1, 1, 3], [1, 2, 1], [1, 2, 3], [1, 3, 1], [1, 3, 2].
PROG
(Python) # see links
CROSSREFS
KEYWORD
nonn
AUTHOR
John Tyler Rascoe, Jan 01 2026
EXTENSIONS
a(16)-a(28) from Alois P. Heinz, Jan 04 2026
STATUS
approved
