Skip to main content
2 of 3
Edited OP's clarification from the comments into the actual question
Benjamin Dickman
  • 7.8k
  • 2
  • 47
  • 89

Is there any formula to find number of Pythagorean triplets between two integers 2 and j, j>2?

Given $j \geq 5$, is there a formula for the number of Pythagorean triplets $(a, b, c)$ satisfying the constraint that $a, b, c \leq j$?

There exists at least one Pythagorean triplet for $j\geq5$; the question is how to find the exact number of Pythagorean triplets for large $j$.