Find Pythagorean Triples with My Formula

  • Context: Undergrad 
  • Thread starter Thread starter Universe_Man
  • Start date Start date
Click For Summary

Discussion Overview

The discussion centers around a proposed formula for generating Pythagorean triples, specifically focusing on the expression involving odd perfect squares. Participants explore the validity and novelty of the formula, as well as related mathematical observations and alternative approaches to generating Pythagorean triples.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents a formula for generating Pythagorean triples using odd perfect squares, suggesting that it may be novel.
  • Another participant argues that the formula is trivial and merely restates known identities, indicating that the equality holds due to polynomial simplifications.
  • A different participant notes that the formula is a consequence of the difference of squares and raises a question about integers that can be expressed as a difference of squares in nontrivial ways.
  • One participant shares examples of applying the formula to specific values of n, confirming known Pythagorean triples and expressing surprise at the formula's utility.
  • Another participant elaborates on a similar approach to generating Pythagorean triples, introducing a parameter 'a' and discussing conditions under which the formula yields integer results.
  • This participant expresses a desire to prove their approach works for all Pythagorean triples and seeks feedback on their findings.

Areas of Agreement / Disagreement

Participants express differing views on the novelty and significance of the original formula. While some find it interesting or useful, others assert that it is trivial and not new. The discussion includes multiple competing perspectives on generating Pythagorean triples, and no consensus is reached regarding the originality or completeness of the proposed methods.

Contextual Notes

Some participants reference known mathematical identities and relationships, but the discussion does not resolve the implications of these references on the originality of the proposed formulas. There are also conditions mentioned regarding the values of 'a' in relation to generating integer results, which remain unresolved.

Universe_Man
Messages
61
Reaction score
0
I developed a formula for finding pythagorean triples recently, I thought I'd share it just for general novelty:

n+((n-1)/2)^2=((n+1)/2)^2

Where n= odd perfect square

a^2+b^2=c^2

Pythagorean triple set is (a,b,c)

So pythagorean triple set for my formula is:

(sqrt(n),((n-1)/2),((n+1)/2))

If it's restating something old or obvious, let me know.
 
Mathematics news on Phys.org
Since any polynomial can be written such as [tex]p(x) = a_{n}x^{n} + ... + a_{n+1}[/tex], and since the equality of polynomials theorem holds true, any result obtained with polynomials is just rewritting very simple identities. If n+((n-1)/2)^2=((n+1)/2)^2 holds true, it's because the left and right side simplify to the exact same expression. Sorry to be the bearer of bad news, but you didn't find anything new.
 
Yes, this is just a trivial consequence of [itex](a+b)(a-b) = a^2 - b^2[/itex].

There's a semi-interesting related observation that you can make (at least it was semi-interesting to me when I considered it briefly in my first year of undergrad!): What integers [itex]n[/itex] can be expressed as a difference of squares in a nontrivial way - ie. not just using [itex](n+1)/2[/itex] and [itex](n-1)/2[/itex]?
 
Last edited:
Universe_Man said:
I developed a formula for finding pythagorean triples recently, I thought I'd share it just for general novelty:

n+((n-1)/2)^2=((n+1)/2)^2

Where n= odd perfect square

a^2+b^2=c^2

Pythagorean triple set is (a,b,c)

So pythagorean triple set for my formula is:

(sqrt(n),((n-1)/2),((n+1)/2))

If it's restating something old or obvious, let me know.

did you try it out? like n=9 or n=25 or n=49?

n=9 -> 3, 4, 5 that one i knew of

n=25 -> 5,12,13 that one i knew also

the next one i might not be familiar with:

n=49 -> 7,24,25 i guess that works.

n=81 -> 9,40,41 i guess this works, too.

n=121 -> 11,60,61

you might not be the first to discover it, but i hadn't known this before (and I'm in my 6th decade, but i never took a course in Number Theory, which is where i'll bet this would be). so I'm more favorably impressed than the others.
 
Last edited:
The reason that I say it is trivial is that a = (n+1)/2 and b = (n-1)/2 is precisely the solution to the linear system a-b=1 and a+b=n, for any integer n.

So you're guaranteed to have a^2 - b^2 = (a-b)(a+b) = n. If n is a square that obviously gives you a triple.
 
Last edited:
Similar

Hey, what you found is really similar to what I found.
This is my working:
If n is odd: then n, n^2/2 - 1/2 , n^2/2 + 1/2 is a pythagorean triple.
But if n is even: then n, n^2/4 - 1 , n^2/4 + 1is a pythagorean triple.

So I took it to the next level to be able to say this:
n, n^2/a - a/4 , n^2/a + a/4 is a pythagorean triple for ANY value of a, but not all values of a will give all whole numbers. This only works when 2n > a > 0. I also found that if n is even, than if a is divisible by 4 there is a high chance that it will all be integers. Or if n is odd, then a should be even, but NOT divisible by 4.

What do you think about this?

I went and tested this too. It works for ALL pythagorean triples with the legs smaller than 180000, which kind of gives me a good feeling about it. So I proved it works for a pythagorean triple (it fits into the pythagorean formula), but I want to prove it works for ALL pythagorean triples. Do you have any ideas?

P.S. If this turns out big, I would like to hold rights to it :D
 

Similar threads

Replies
20
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 37 ·
2
Replies
37
Views
5K
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K