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. 交错最大公因数求和

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

,同理

。已知:


这个链接 回到源站。

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