|
EXAMPLE
|
Start with
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,...
Remove all square-th terms, 1,4,9,16,... to get
2,3,5,6,7,8,10,11,12,13,14,15,17,18,19,20,21,22,23,...
Return 2 as the first term in the sequence and remove it to get
3,5,6,7,8,10,11,12,13,14,15,17,18,19,20,21,22,23,...
Remove the 1st,4th,9th,16th,... terms to get
5,6,8,10,11,12,14,15,17,18,19,20,22,23,...
Return 5 as the next term in the sequence and remove it to get
6,8,10,11,12,14,15,17,18,19,20,22,23,...
Remove the 1st,4th,9th,16th,... terms to get
8,10,12,14,15,17,19,20,22,23,...
Return 8 as the next term in the sequence and remove it to get
10,12,14,15,17,19,20,22,23,...
Remove the 1st,4th,9th,16th,... terms to get
12,14,15,19,20,22,23,...
|