There is a series of numbers in ascending order. All these numbers
have the same number of binary 1s in them. Given the number of 1 bits set in
the numbers, write an algorithm/C program to find the nth number in
the series.
A)96 B) 1000000000000000000000000000000000 0000000000000000000000000000000000 000000000000000000000000000000000 C) Either of the above D) None of the above
Consider the sequence that begins with {1, 11, 21, 1211, 111221}. Find a rule that describes the sequence, and give the next term. Obviously, there are an unlimited number of rules that can describe the sequence.