Counting Primitive Pythagorean Triples

Problem Statement

A Pythagorean triple consists of three positive integers $a, b$ and $c$ satisfying $a^2+b^2=c^2$.
The triple is called primitive if $a, b$ and $c$ are relatively prime.
Let $P(n)$ be the number of primitive Pythagorean triples with $a \lt b \lt c \le n$.
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(10^6) = 159139$.
Find $P(100 \times 2^N)$.

Submit Answers

You need to submit in the format: "N:problem(N)", possibly with multiple values at once, separated by commas, with $N$ between $1$ and $100$.

Top Users

🥇 icy
56.00 (84)
🥈 shs10978
56.00 (56)
🥉 mmtg
10.00 (10)

Data

Stats

Your submissions will appear here

Recent Submissions

1
mmtg
$g(10)$, $5$ digits 2 weeks, 6 days ago
2
mmtg
$g(9)$, $4$ digits 2 weeks, 6 days ago
3
mmtg
$g(8)$, $4$ digits 2 weeks, 6 days ago
4
mmtg
$g(7)$, $4$ digits 2 weeks, 6 days ago
5
mmtg
$g(6)$, $4$ digits 2 weeks, 6 days ago