Rosetta Problems

消える数列、消えない数列

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/853