login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A299027
Number of compositions of n whose standard factorization into Lyndon words has all distinct weakly increasing factors.
4
1, 1, 3, 5, 11, 20, 38, 69, 125, 225, 400, 708, 1244, 2176, 3779, 6532, 11229, 19223, 32745, 55555, 93875, 158025, 265038, 443009, 738026, 1225649, 2029305, 3350167, 5515384, 9055678, 14830076, 24226115, 39480306, 64190026, 104130753, 168556588, 272268482
OFFSET
1,3
LINKS
FORMULA
Weigh transform of A167934.
EXAMPLE
The a(5) = 11 compositions:
(5) = (5)
(41) = (4)*(1)
(14) = (14)
(32) = (3)*(2)
(23) = (23)
(131) = (13)*(1)
(113) = (113)
(212) = (2)*(12)
(122) = (122)
(1121) = (112)*(1)
(1112) = (1112)
Not included:
(311) = (3)*(1)*(1)
(221) = (2)*(2)*(1)
(2111) = (2)*(1)*(1)*(1)
(1211) = (12)*(1)*(1)
(11111) = (1)*(1)*(1)*(1)*(1)
MATHEMATICA
nn=50;
ser=Product[(1+x^n)^(PartitionsP[n]-DivisorSigma[0, n]+1), {n, nn}];
Table[SeriesCoefficient[ser, {x, 0, n}], {n, nn}]
PROG
(PARI) WeighT(v)={Vec(exp(x*Ser(dirmul(v, vector(#v, n, (-1)^(n-1)/n))))-1, -#v)}
seq(n)={WeighT(vector(n, n, numbpart(n) - numdiv(n) + 1))} \\ Andrew Howroyd, Dec 01 2018
KEYWORD
nonn
AUTHOR
Gus Wiseman, Feb 01 2018
STATUS
approved