login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A175810
To calculate n-th term, find all shortest common superstrings of the binary representations of all natural numbers from 1 to n, read them as numbers in base-2, and pick max.
0
1, 2, 6, 12, 52, 52, 116, 232, 1864, 1864, 5960, 5928, 15144, 15144, 31528, 63056, 1008912, 1008912, 6199568, 6199568
OFFSET
1,2
EXAMPLE
a(5)=52 because there are 2 shortest common superstrings of 1,10,11,100,101, they are 110100=52 and 101100=44. Pick 52 because 52>44.
CROSSREFS
Sequence in context: A208147 A369330 A152873 * A083001 A285079 A119862
KEYWORD
nonn,base
AUTHOR
STATUS
approved