795. Alternating GCD Sum

For a positive integer , the function is defined as

For example, . You are also given .

Let . You are given .

Find .

795. 交错最大公因数求和

对于正整数 ,记函数 如下:

如 ,同理 。

记 。已知:。

求 。


点 这个链接 回到源站。

点 这个链接 回到详细版题目目录。