# Hypothetical Pythagorean triple generator

Let's say that I have a working Pythagorean triple generator for all integers greater or equal to 3. It generates primitive and non primitive pairs, and it's a one variable equation having to do with elements of the a term in a right triangle, not a case by case problem. I would post it here, but I would like to get credit for making it, and am afraid someone will take it. If I have something like this, would others consider it useful, and if so, what should I do with it?

• +1 for having the drive to work it out yourself. That said, I don't think there is much new credit left to claim about Pythagorean triples. See for example Pythagorean Right-Angled Triangles for a quite extensive collection of Pythagorean calculators.
– dxiv
Jul 6, 2017 at 4:29
• Wow... that is, indeed, a rather exhaustive collection D: Jul 6, 2017 at 4:33
• Should I just publish what I have come up with, and see if someone has already found this?
– user460386
Jul 6, 2017 at 6:30
• Barely related, you can generate a primitive Pythagorean triple for any given ratio $R=\frac{area}{perimeter}$ using Euclid's formula where $(m,n)=(2R+1,2R)$. Jul 20, 2019 at 18:39

At best, you may have an algorithmic improvement; that is, your method may be able to generate the first $n$ triples (ordered by norm or something) faster than other methods. But I couldn't find the state of the art on this kind of problem with a simple google result, and so you're not going to know if this is the case for your method without (1) a serious analysis of your own method, and (2) a nontrivial literature search.