Pythagorean triples
Pythagorean triples
Last updated at February 20, 2026 by Teachoo
Transcript
Finding Primitive Pythagorean TriplesTo find Pythagorean triples, we first use a pattern Letβs find Sum of consecutive odd numbers 1 = 12 1 + 3 = 22 1 + 3 + 5 = 32 Thus, we can say that Sum of the first π odd numbers is π^π And, we can also say Sum of the first πβπ odd numbers is γ(πβπ)γ^π Now, letβs find look at the Sum of first π odd numbers 1+3+5+ β― +(2πβ3)+(2πβ1)=π^2 Since Sum of the first πβπ odd numbers is γ(πβπ)γ^π So, we can write γ(πβπ)γ^π + (ππβπ)=π^π Now, we can use this to form Pythagorean Triples Here, γ(πβπ)γ^π & π^π are square numbers only So, if (ππβπ) is a also a odd square number, then we can form a triple Example β Taking 9 as odd square number Now, our equation is γ(πβπ)γ^π + (ππβπ)=π^π Our square numbers are 1, 4, 9, 16, 25, β¦ And, odd square numbers are 1, 9, 25, β¦. Taking 9 as odd square number Thus, 2n β 1 = 9 2n = 9 + 1 2n = 10 n = 10/2 n = 5 So, our equation becomes γ(πβ1)γ^2 + (2πβ1)=π^2 γ(5β1)γ^2 + 9=5^2 4^2 + 9=5^2 π^π +π^π=π^π Thus, our Pythagorean triplet is (3, 4, 5) Example β Taking 24 as odd square number Now, our equation is γ(πβπ)γ^π + (ππβπ)=π^π Our square numbers are 1, 4, 9, 16, 25, β¦ And, odd square numbers are 1, 9, 25, β¦. Taking 25 as odd square number Thus, 2n β 1 = 25 2n = 25 + 1 2n = 26 n = 26/2 n = 13 So, our equation becomes γ(πβ1)γ^2 + (2πβ1)=π^2 γ(13β1)γ^2 + 25=13^2 12^2 +25=13^2 γππγ^π +π^π=γππγ^π Thus, our Pythagorean triplet is (5, 12, 13)