OFFSET
1,2
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..16384
Elwyn Berlekamp and Joe P. Buhler, Puzzle 6, Puzzles column, Emissary, MSRI Newsletter, Fall 2011, Page 9, Problem 6.
Steve Butler, Ron Graham, and Richard Stong, Collapsing numbers in bases 2, 3, and beyond, in The Proceedings of the Gathering for Gardner 10 (2012).
Steve Butler, Ron Graham, and Richard Strong, Inserting plus signs and adding, Amer. Math. Monthly 123 (3) (2016), 274-279.
Rémy Sigrist, PARI program for A321318
EXAMPLE
For n = 13, we can partition its binary representation as follows (showing partition and sum of terms): (1101):13, (1)(101):6, (11)(01):4, (110)(1):7, (1)(1)(01):3, (1)(10)(1):4, (11)(0)(1):4, (1)(1)(0)(1):3. Thus there are 5 distinct values.
PROG
(PARI) See Links section
CROSSREFS
KEYWORD
AUTHOR
Jeffrey Shallit, Nov 04 2018
STATUS
approved