Inspired in Chat

True or False?

In a primitive pythagorean triplet, at least one of the three integers must be a prime.

Note: A primitive pythagorean triplet is one in which the GCD of all three terms is 1. In particular, ( 6 , 8 , 10 ) (6, 8, 10) is not a primitive pythagorean triplet because they have a common divisor of 2.
Examples of primitive pythagorean triplets are: ( 3 , 4 , 5 ) , ( 5 , 12 , 13 ) , ( 7 , 34 , 25 ) , (3, 4, 5), (5, 12, 13), (7, 34, 25), ( 8 , 15 , 17 ) , ( 9 , 40 , 41 ) , ( 12 , 35 , 37 ) (8, 15, 17), (9, 40, 41), (12, 35, 37) .

True False

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

10 solutions

Calvin Lin Staff
Aug 16, 2015

False. A counter example is 1 6 2 + 6 3 2 = 6 5 2 16 ^2 + 63^2 = 65^2 , and none of these terms are prime.


If you got this problem wrong, practice here to get a perfect score on the SAT .

Ah! Too much of haste :/

Quite an odd place to get inspired :P With whom were you chatting? Indeed nice problem.

Nihar Mahajan - 5 years, 10 months ago

Log in to reply

maybe he was chatting on Slack :)

Mehul Arora - 5 years, 10 months ago

Log in to reply

Obviously! -_- But with whom?

Nihar Mahajan - 5 years, 10 months ago

Log in to reply

@Nihar Mahajan The community maybe! -_-

And That's not an"of course" thing. :3

Mehul Arora - 5 years, 10 months ago

A few more examples: ( 33 , 56 , 65 ) , ( 36 , 77 , 85 ) , ( 44 , 117 , 125 ) , ( 24 , 143 , 145 ) , (33,56,65), (36,77,85), (44,117,125), (24,143,145),

( 57 , 176 , 185 ) , ( 21 , 220 , 221 ) , ( 119 , 120 , 169 ) , . . . . (57,176,185), (21,220,221), (119,120,169), ....

They seem to be quite common. No primitive triple can have all elements prime, but it would appear that the respective sets of primitive triples with zero, one or two primes are each infinite.

Brian Charlesworth - 5 years, 10 months ago

Is this a SAT problem?

Agnishom Chattopadhyay - 5 years, 10 months ago

Can you mathematically prove the above result?

Harish Kumaar - 5 years, 10 months ago

Log in to reply

If you're referring to my comment, then I'm working on it. I may post a note on the subject if I can come up with some proofs, (or even if not so that others can provide some input into the matter).

Brian Charlesworth - 5 years, 10 months ago

Log in to reply

I think using the paramitization of primitive solutions would help(pretty sure u already thought of that): ( 2 a b , a 2 b 2 , a 2 + b 2 ) , ( a , b ) = 1 (2ab,a^2-b^2,a^2+b^2), (a,b)=1 .

For zero prime simply make sure that a 2 + b 2 a^2+b^2 is composite and a b 1 a-b\ne 1 . e.g. a 1 , b 2 ( m o d 5 ) a\equiv 1, b\equiv 2 \pmod 5 .

For one prime consider a 2 + b 2 = p a^2+b^2=p where p 1 ( m o d 4 ) p\equiv 1\pmod 4 is a prime.(try to prove that there exists an infinite number of such primes such that a b 1 a-b\ne 1 ?)

Most importantly is the case of two primes, where one can deduce that 2 b + 1 , 2 b 2 + 2 b + 1 2b+1, 2b^2+2b+1 must both be pirme. This, if I recall correctly, is at the difficulty of proving there exists an infinite number of primes of the form n 2 + 1 n^2+1 , an unsolved problem atm. But who knows I could be wrong and u seem to know more than me. (not sure if n 2 + 1 = 2 p n^2+1=2p is approachable tho.)

Xuming Liang - 5 years, 10 months ago

Log in to reply

@Xuming Liang Great analysis. Your suggestion for zero primes can be used to create families of (infinite) solution sets. For one prime, Fermat's theorem on the sums of two squares is a good starting point. For many primes this only works with a a and b b differing by 1 , 1, though, so it's not immediately obvious that there will be an infinite number of primes where a b > 1. a - b \gt 1. This might be tractable though.

What probably isn't tractable is the two prime case, since as you point out, it would appear to depend on the Sierpinski/Schnizel Hypothesis H being true, and that proof remains elusive.

Brian Charlesworth - 5 years, 10 months ago

People don't seem to know the definition of "primitive" when applied to the phrase"pythagorean triad". Probably should include what it means in the question (but then again, some pretentious smug zombiehead will ignore that and write down the answer with incorrect reasoning as many others have already done so)

Jack Lam - 5 years, 9 months ago

Log in to reply

The definition has been included in the problem.

Let me explicitly state that (6,8,10) is not a PPT.

Calvin Lin Staff - 5 years, 9 months ago
Michael Mendrin
Aug 17, 2015

Every primitive Pythagorean triplet can be generated by the following formulas

a = p q a=pq
b = 1 2 ( p 2 q 2 ) b=\dfrac { 1 }{ 2 } \left( { p }^{ 2 }-{ q }^{ 2 } \right)
c = 1 2 ( p 2 + q 2 ) c=\dfrac { 1 }{ 2 } \left( { p }^{ 2 }+{ q }^{ 2 } \right)

if p , q p,q are odd numbers with no common factors. We can immediately see that if q > 1 q>1 and p , q p,q differ by more than 2 2 , then it leaves c c to be prime. If this were always true, then we've found a way to generate infinitely many prime numbers with a fairly simple algebraic method. So, it was a good guess to say the answer is "False", and that there will quickly be a counterexample found.

Moderator note:

Note: The other solutions below this do not correctly identify that a primitive pythagorean triplet has no common divisors. Thus, they are not correct solutions.

nice observation sir

Mardokay Mosazghi - 5 years, 10 months ago

I don't believe your formulas are correct. For instance, what are p and q for (4, 3, 5)? Regardless, a always has to be even, so p and q can't both be odd.

The basic observation stands, though.

Paul Hartzer - 5 years, 9 months ago

Log in to reply

I don't see why a a has to be even in this representation. With p = 3 , q = 1 , p = 3, q = 1, we have that a = 3 , b = 4 , c = 5. a = 3, b = 4, c = 5.

Brian Charlesworth - 5 years, 9 months ago

Log in to reply

Nevermind, I need to take another look at this but can't do so right now.

Paul Hartzer - 5 years, 9 months ago

Log in to reply

@Paul Hartzer Michael's formulae are from Euclid's Elements. A proof can be found here .

Brian Charlesworth - 5 years, 9 months ago

Log in to reply

@Brian Charlesworth Oh, really? The Greeks thought of this first? Is there anything they haven't thought of first?

Michael Mendrin - 5 years, 9 months ago

@Brian Charlesworth Thanks. I knew all that, but was distracted this morning and probably shouldn't have been posting. Apologies to Michael.

Paul Hartzer - 5 years, 9 months ago

Log in to reply

@Paul Hartzer It's okay, Paul, otherwise we wouldn't be having this lively conversation about this somewhat alternative set of formulas for generating "only" primitive Pythagorean triplets. I think it's an interesting subject.

Michael Mendrin - 5 years, 9 months ago

(4,3,5) is the same as (3,4,5), if we disregard ordering. So, for p =3, q = 1, we have (3,4,5).

Michael Mendrin - 5 years, 9 months ago

I've come across these formulae before, and while I see that a 2 + b 2 = c 2 a^{2} + b^{2} = c^{2} I can't form a proof as to why they generate all and only primitive triples. Do you know of a proof? Also, with p > q > 1 p \gt q \gt 1 and p = q + 2 k p = q + 2k for some k 1 k \ge 1 we would have

b = 1 2 ( ( q + 2 k ) 2 q 2 ) = 1 2 ( 4 q k + 4 k 2 ) = 2 k ( q + k ) , b = \dfrac{1}{2}((q + 2k)^{2} - q^{2}) = \dfrac{1}{2}(4qk + 4k^{2}) = 2k(q + k),

which is composite for any positive integer k . k. So I'm just wondering if the " p , q p,q differ by more than 2 2 " condition is necessary. Regardless, the observation that this would have otherwise "established" a simple prime number generator is clever and amusing. :)

Brian Charlesworth - 5 years, 9 months ago

Log in to reply

The "differ by more than 2" condition is to force c be prime, if it's hypothesized that it is always prime. The only condition that the formula generate a primitive triplet is that p, q be odd numbers with no common factor.

Instinct just told me to click on "False" simply because I knew it implied an easy algebraic way to generate infinitely many primes. I didn't lose any time trying to think about this before deciding.

Michael Mendrin - 5 years, 9 months ago

Log in to reply

O.k., got it; these are from Euclid's Elements.

Brian Charlesworth - 5 years, 9 months ago
Chinmayee Behera
Aug 22, 2015

It is false.Example is 24^{2}+10^{2}=26^{2}. None of the numbers are prime

That is not a primitive Pythagorean triplet. There is a common divisor of 2.

Calvin Lin Staff - 5 years, 9 months ago
Sadasiva Panicker
Aug 22, 2015

(6,8,10), (60,80,100) ,etc

That is not a primitive Pythagorean triplet. There is a common divisor of 2.

Calvin Lin Staff - 5 years, 9 months ago
Rifat Ahmed
Aug 22, 2015

6 square + 8 square = 10 square....

gcd (6,8,10) = 2, not a primitive triple.

Devin Ky - 5 years, 9 months ago
Lance Fernando
Aug 22, 2015

Counterexample: 6 , 8 , 10 - they're triplets, but none of them is a prime.

gcd (6,8,10) = 2, not a primitive triple.

Devin Ky - 5 years, 9 months ago
Sobhan Bihan
Aug 21, 2015

Maybe the most famous example would be 10^2=8^2 + 6^2 (notice that this is the old 3,4,5 triplet just with the integers scaled by 2).

That is not a primitive triplet, because you scaled by 2.

Calvin Lin Staff - 5 years, 9 months ago

6,8,10 is simplest example.

That is not a primitive pythagorean triplet.

6, 8, 10 have a common divisor of 2.

Calvin Lin Staff - 5 years, 10 months ago
Prince Loomba
Aug 16, 2015

let's take (3^2+4^2=5^2) multiplying each term by a^2, we see that 3a,4a,5a is a pythagorean triplet. a can be any natural no. Therefore not necessary any no. is prime. eg 6,8,10

That is not a primitive pythagorean triplet. They have no divisors in common.

Calvin Lin Staff - 5 years, 10 months ago
Sujoy Roy
Aug 16, 2015

False. If ( a , b , c ) (a,b,c) is a primitive Pythagorean Triplet, then ( k a , k b , k c ) (ka,kb,kc) is also a Pythagorean Triplet with GCD k k .

But then ( k a , k b , k c ) (ka, kb, kc) with k > 1 k \gt 1 would not be a primitive triple.

Brian Charlesworth - 5 years, 10 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...