769. Binary Quadratic Form II

Consider the following binary quadratic form:

A positive integer has a primitive representation if there exist positive integers and such that and .

We are interested in primitive representations of perfect squares. For example:

Define as the total number of primitive representations of for .
Multiple representations are counted separately, so for example is counted twice.

You are given and

Find .

769. 二元二次表示法 II

考虑如下的二元二次表示法:

若存在正整数 使得 ,则称正整数 存在本原表示。

我们对完全平方数的本原表示很感兴趣,例如:

为所有在 内的完全平方数的本原表示数量的总和。如 。不同的表示方法计算多次,如 的两种本原表示应被计为 2 次。


这个链接 回到源站。

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