login
A218133
Number of length 10 primitive (=aperiodic or period 10) n-ary words.
2
0, 0, 990, 58800, 1047540, 9762480, 60458370, 282458400, 1073709000, 3486725280, 9999899910, 25937263440, 61917115260, 137858120400, 289254116970, 576649631040, 1099510578960, 2015992480320, 3570465336750, 6131063781360, 10239996799620, 16679876893680
OFFSET
0,3
LINKS
FORMULA
G.f.: -30 *(x+1) *x^2 *(35*x^6 +1556*x^5 +13619*x^4 +30064*x^3 +13609*x^2 +1564*x +33) / (x-1)^11.
a(n) = n^10-n^5-n^2+n.
MAPLE
a:= n-> (((n^5-1)*n^3-1)*n+1)*n:
seq(a(n), n=0..30);
CROSSREFS
Row n=10 of A143324.
Sequence in context: A295768 A255917 A154071 * A295433 A068301 A119095
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Oct 21 2012
STATUS
approved