Hide
Problem B
Sequence
Accepted submissions to this problem will be granted a score of 100
Design an algorithm that generates the first
Input
Input consists of one integer
Output
Output consists of
Sample Input 1 | Sample Output 1 |
---|---|
7 |
1 2 3 6 11 20 37 |
Sample Input 2 | Sample Output 2 |
---|---|
15 |
1 2 3 6 11 20 37 68 125 230 423 778 1431 2632 4841 |