Search for a tool
Pythagore Triple

Tool to generate Pythagorean triples. A Pythagorean triple is a set of three natural numbers a, b, and c, such that a^2+b^2=c^2, for example (3,4,5) is a Triple of Pythagore: 3^2+4^2=5^2

Results

Pythagore Triple -

Tag(s) : Mathematics,Geometry

dCode and you

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!
You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!


Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Pythagore Triple tool. Thank you.

This page is using the new English version of dCode, please make comments !

Pythagore Triple

Sponsored ads

This script has been updated, please report any problems.

Generate Pythagorean Triples

With a given perimeter



With two sides



Also on dCode: Unknowns in Triangle

Tool to generate Pythagorean triples. A Pythagorean triple is a set of three natural numbers a, b, and c, such that a^2+b^2=c^2, for example (3,4,5) is a Triple of Pythagore: 3^2+4^2=5^2

Answers to Questions

How to find a Pythagorean Triple?

It exists heuristics but the simple method consists in testing iteratively all possibilities of a and b when s is given, the value of c is constrained by s=a+b+c.

$$ a^2 + b^2 = (s − a − b)^2 $$

$$ a <= (s − 3)/3 $$

$$ b < (s − a)/2 $$

What is the list of Pythagorean Triples?

The first Pythagorean triples (side inferior to 100)

3,4,55,12,136,8,10
7,24,258,15,179,12,15
9,40,4110,24,2611,60,61
12,16,2012,35,3713,84,85
14,48,5015,20,2515,36,39
16,30,3416,63,6518,24,30
18,80,8220,21,2920,48,52
21,28,3521,72,7524,32,40
24,45,5124,70,7425,60,65
27,36,4528,45,5328,96,100
30,40,5030,72,7832,60,68
33,44,5533,56,6535,84,91
36,48,6036,77,8539,52,65
39,80,8940,42,5840,75,85
42,56,7045,60,7548,55,73
48,64,8051,68,8554,72,90
57,76,9560,63,8760,80,100
65,72,97

Ask a new question

Source code

dCode retains ownership of the source code of the script Pythagore Triple. Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Pythagore Triple script for offline use, for you, your company or association, see you on contact page !

Questions / Comments


Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Pythagore Triple tool. Thank you.


Source : http://www.dcode.fr/pythagore-triple
© 2016 dCode — The ultimate 'toolkit' website to solve every problem. dCode