Given the sequence of integer numbers. Needed to find rule which was used to produce these numbers.
The sequence is :
0, 0, 1, 2, 5, 6, 9, 10, 13, 18, 19, 24, 27, 28, 31, 36.
Here are first 16 members of the sequence. It can be infinitely extended if necessary.