OFFSET
1,4
COMMENTS
Same as number of Lyndon words of length n over Z_5 with trace 2 and subtrace 3; trace 3 and subtrace 3; trace 4 and subtrace 2. Same as number of Lyndon words of length n over GF(5) with trace 1 and subtrace 2; trace 2 and subtrace 3; trace 3 and subtrace 3; trace 4 and subtrace 2.
LINKS
EXAMPLE
a(4;1,2)=5 since the five 5-ary Lyndon words of trace 1, subtrace 2 and length 4 are { 0222, 1113, 1244, 1424, 1442 }.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Frank Ruskey and Nate Kube, Aug 22 2002
EXTENSIONS
Terms a(16) onward from Max Alekseyev, Apr 09 2013
STATUS
approved