OFFSET
0,3
COMMENTS
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..8192
Rémy Sigrist, Scatterplot of the first 32769 terms
Rémy Sigrist, PARI program
EXAMPLE
The first terms, alongside the corresponding partitions into runs of 1's, are:
n a(n) runs in a(n)
-- ---- ------------
0 0 []
1 1 [1]
2 2 [2]
3 3 [3]
4 4 [4]
5 6 [6]
6 5 [1, 4]
7 7 [7]
8 8 [8]
9 12 [12]
10 9 [1, 8]
11 14 [14]
12 10 [2, 8]
13 13 [1, 12]
14 11 [3, 8]
15 15 [15]
16 16 [16]
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Mar 30 2022
STATUS
approved