OFFSET
1,3
COMMENTS
Considering that there are 2^(n-1) compositions (ordered partitions) of n, then tau(n) represents the number of compositions whose terms are all equal. Subtracting tau(n) from 2^(n-1) gives the number of compositions whose terms are not all equal.
EXAMPLE
For n = 6, a(6) = 28 because from all the possible compositions (32 in this case) there are four whose terms are equal: 6, 3+3, 2+2+2, 1+1+1+1+1+1.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Francis Laclé, Mar 25 2022
STATUS
approved