OFFSET
1,2
LINKS
EXAMPLE
n A109812(n) [in base-2] a(n) = number of runs
-----+-------------------------------------------------
1 | 1 [1], 1
2 | 2 [10], 2
3 | 4 [100], 2
4 | 3 [11], 1
5 | 8 [1000], 2
6 | 5 [101], 3
7 | 10 [1010], 4
8 | 16 [10000], 2
9 | 6 [110], 2
10 | 9 [1001], 3
11 | 18 [10010], 4
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Apr 07 2022
STATUS
approved