For example, when you k=3, the sequence is:
(The sequence is actually: 3^0,3^1,3^0+3^1,3^2,3^0+3^2,3^1+3^2,
3^0+3^1+3^2, ... ）
Please find out the sequence of values of n (expressed as a number 10 in binary).
For example, for k=3,N=100, the correct answer would have been... Algorithm C