OFFSET
1,2
COMMENTS
In other words, the n-th row gives the minimal partition of n into terms of A023758 (runs of consecutive 1's in binary).
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..6145 (rows for n = 1..2048, flattened)
EXAMPLE
Irregular table begins:
1: [1]
2: [2]
3: [3]
4: [4]
5: [1, 4]
6: [6]
7: [7]
8: [8]
9: [1, 8]
10: [2, 8]
11: [3, 8]
12: [12]
13: [1, 12]
14: [14]
15: [15]
PROG
(PARI) row(n) = { my (r=[], o=0); while (n, my (v=valuation(n+n%2, 2)); if (n%2, r=concat(r, (2^v-1)*2^o)); o+=v; n\=2^v); r }
CROSSREFS
KEYWORD
nonn,tabf,base
AUTHOR
Rémy Sigrist, Mar 30 2022
STATUS
approved