Problem 540
Counting primitive Pythagorean triples
A Pythagorean triple consists of three positive integers
The triple is called primitive if
Let P(
For example P(20) = 3, since there are three triples: (3,4,5), (5,12,13) and (8,15,17).
You are given that P(106) = 159139.
Find P(3141592653589793).
本原毕达哥拉斯三元组计数
毕达哥拉斯三元组包含有三个整数
当
记P(
例如P(20) = 3,这三个三元组是:(3,4,5),(5,12,13)和(8,15,17)。
已知P(106) = 159139。
求P(3141592653589793)。
Gitalking ...