804. Counting Binary Quadratic Representations

Let denote the number of ways a positive integer can be represented in the form: where and are integers. For example, due to .

Define . You are given and

Find .

804. 二元二次表示法计数

为把正整数 表示成 的形式,其中 均为整数的方法数。如 ,这 4 种表示方法分别为:

已知


这个链接 回到源站。

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