Rosetta Problems

公约数数列

https://www.acwing.com/problem/content/2926