Olympiad Day 2, Problem 3 Day 2, Problem 3 You have a bar, divided into bits. Choose integers to place in each bit.
All integers have to be greater or equal to k.
When the bar is filled you can use the integer in a single bit or add the integers in two or more adjacent bits to make a new number. The figure shows how to generate all numbers from 2 to 21. All arrangements of numbers in a bar that produce a sequence from m to i.