These Triangles Broke My Calculator

Find the number of unique sets of primitive Pythagorean triples where one leg is equal to 100 ! 100!


The answer is 16777216.

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.

2 solutions

Mark Hennings
Jun 5, 2019

A primitive Pythagorean triple is one of the form ( u 2 v 2 , 2 u v , u 2 + v 2 ) (u^2-v^2,2uv,u^2+v^2) where u , v u,v are coprime positive integers of opposite parities, with u > v u > v . Moreover this formula enumerates all primitive Pythagorean triples uniquely. Now 100 ! 100! is even, and hence can only appear as a leg of a primitive Pythagorean triple if we can find coprime integers with opposite parities such that 100 ! = 2 u v 100! = 2uv . Thus we want to know the number of ways in which 1 2 100 ! \tfrac12 100! can be written as a product of two coprime positive integers of opposite parities.

There are 25 25 distinct prime factors in 1 2 100 ! \tfrac12 100! , and the index of 2 2 in 100 ! 100! is 97 97 . Let us write 1 2 100 ! = 2 96 j = 1 24 p j a j \tfrac12 100! \; = \; 2^{96} \prod_{j=1}^{24} p_j^{a_j} where p 1 , p 2 , . . . , p 24 p_1,p_2,...,p_{24} are the 24 24 odd primes less than 100 100 , and a 1 , a 2 , . . , a 24 a_1,a_2,..,a_{24} are positive integers. For any subset A A of { 1 , 2 , 3 , . . . , 24 } \{1,2,3,...,24\} , we define two numbers 2 96 j A p j a j j ∉ A p j a j 2^{96} \prod_{j \in A} p_j^{a_j} \hspace{2cm} \prod_{j \not\in A} p_j^{a_j} and let u A u_A be the larger of the two, and v A v_A the smaller. Then u A , v A u_A,v_A are coprime and of opposite parities, u A > v A u_A > v_A , and 2 u A v A = 100 ! 2u_Av_A = 100! . Moreover, any decomposition of 100 ! = 2 u v 100! = 2uv where u , v u,v are coprime and of opposite parities must be achieved in this manner. Thus there are as many primitive Pythagorean triples with 100 ! 100! as one leg as there are subsets of { 1 , 2 , 3 , . . . , 24 } \{1,2,3,...,24\} , namely 2 24 = 16777216 2^{24} = \boxed{16777216} .

Copied from Mark Hennings solution: A primitive Pythagorean triple is one of the form where are coprime positive integers of opposite parities. The factorization of 100! is {{2,97},{3,48},{5,24},{7,16},{11,9},{13,7},{17,5},{19,5},{23,4},{29,3},{31,3},{37,2},{41,2},{43,2},{47,2},{53,1},{59,1},{61,1},{67,1},{71,1},{73,1},{79,1},{83,1},{89,1},{97,1}} where the left member of each pair is the prime and the right member is the power. The factorization list has 25 elements. The only even prime is 2. Each prime must be represented in only one variable; otherwise a non-primitive triple would be created. 2 2 and any subset of the others goes into one variable; the remainder of the others gives into the other variable. Therefore, the problem is how many subsets of 24 things are there. That number is 1 000 000 000 000 000 000 000 00 0 2 10000000 0 8 100000 0 16 1677721 6 10 1\,000\,000\,000\,000\,000\,000\,000\,000_2 \Rightarrow 100000000_8 \Rightarrow 1000000_{16} \Rightarrow 16777216_{10} .

Great question... Just one clarification might be whether one side equals 100 or 100! (100 factorial)

Geoff Pilling - 2 years ago

This in not my problem. n ! n! is usually understood to mean factorial(n). That is the way that the solvers have been interpreting the notation.

Agreed. And that's how I would interpret it. But one might think, that the "!" at the end of the question is simply a measure of David's extreme excitement in posing the problem... ;)

And, yes, the solvers interpreted it this way, but what about the non-solvers... :-/

Geoff Pilling - 2 years ago

I understood the question. I tried to answer your question in a way that clarified the original problem. On this site, I have discovered that I must use World English and specifically avoid American idioms. When it becomes difficult is when someone wants a calculus problem solved without calculus and sometimes without algebra even.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...