OFFSET
1,3
COMMENTS
Same as number of Lyndon words of length n over Z_5 with trace 2 and subtrace 1; trace 3 and subtrace 1; trace 4 and subtrace 4. Same as number of Lyndon words of length n over GF(5) with trace 1 and subtrace 4; trace 2 and subtrace 1; trace 3 and subtrace 1; trace 4 and subtrace 4.
LINKS
EXAMPLE
a(4;3,1)=7 since the seven 5-ary Lyndon words of trace 3, subtrace 1 and length 4 are { 0044, 0233, 0323, 0332, 1124, 1142, 1214 }.
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