OFFSET
1,2
COMMENTS
1's appear at indices given by A321321.
LINKS
Peter Kagey, Table of n, a(n) for n = 1..10000
Elwyn Berlekamp and Joe P. Buhler, Puzzle 6, Puzzles column, Emissary, MSRI Newsletter, Fall 2011, Page 9, Problem 6.
Reddit user HarryPotter5777, Partition a binary string so sum of chunks is a power of two. (Proposed proof that a(n) > 0 for all n.)
EXAMPLE
For n = 46, the a(46) = 3 powers of two that come from the partition of "101110" are 4, 8, and 16:
[10, 1110] -> [2, 14] -> 16
[1, 0, 1, 110] -> [1, 0, 1, 6] -> 8
[101, 1, 10] -> [5, 1, 2] -> 8
[1, 0, 111, 0] -> [1, 0, 7, 0] -> 8
[101, 11, 0] -> [5, 3, 0] -> 8
[1, 0, 1, 1, 1, 0] -> [1, 0, 1, 1, 1, 0] -> 4
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Peter Kagey, Mar 16 2019
STATUS
approved