<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://charlesreid1.com/w/index.php?action=history&amp;feed=atom&amp;title=Project_Euler%2F176</id>
	<title>Project Euler/176 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://charlesreid1.com/w/index.php?action=history&amp;feed=atom&amp;title=Project_Euler%2F176"/>
	<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=Project_Euler/176&amp;action=history"/>
	<updated>2026-06-25T05:34:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://charlesreid1.com/w/index.php?title=Project_Euler/176&amp;diff=30869&amp;oldid=prev</id>
		<title>Admin: Automated edit (via create-page on MediaWiki MCP Server)</title>
		<link rel="alternate" type="text/html" href="https://charlesreid1.com/w/index.php?title=Project_Euler/176&amp;diff=30869&amp;oldid=prev"/>
		<updated>2026-06-24T22:11:49Z</updated>

		<summary type="html">&lt;p&gt;Automated edit (via create-page on MediaWiki MCP Server)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Problem Statement==&lt;br /&gt;
&lt;br /&gt;
Link: https://projecteuler.net/problem=176&lt;br /&gt;
&lt;br /&gt;
The four right-angled triangles with sides (9, 12, 15), (12, 16, 20), (5, 12, 13) and (12, 35, 37) all have one of the shorter sides (catheti) equal to 12. It can be shown that no other integer sided right-angled triangle exists with one of the catheti equal to 12.&lt;br /&gt;
&lt;br /&gt;
Find the smallest integer that can be the length of a cathetus of exactly 47547 different integer sided right-angled triangles.&lt;br /&gt;
&lt;br /&gt;
==Explanation==&lt;br /&gt;
&lt;br /&gt;
The number of integer-sided right-angled triangles with a given leg length &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; is given by a formula from the Wolfram Mathworld page on Pythagorean Triples. If the prime factorization of &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;s = 2^{a_0} p_1^{a_1} \cdots p_n^{a_n}&amp;lt;/math&amp;gt;, then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;L(s) = \begin{cases}&lt;br /&gt;
\frac{1}{2}\left[(2a_1+1)(2a_2+1)\cdots(2a_n+1) - 1\right] &amp;amp; \text{for } a_0 = 0 \\&lt;br /&gt;
\frac{1}{2}\left[(2a_0-1)(2a_1+1)(2a_2+1)\cdots(2a_n+1) - 1\right] &amp;amp; \text{for } a_0 \ge 1&lt;br /&gt;
\end{cases}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To find the smallest &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;L(s) = 47547&amp;lt;/math&amp;gt;, set &amp;lt;math&amp;gt;2L(s) + 1 = 95095&amp;lt;/math&amp;gt; and factor: &amp;lt;math&amp;gt;95095 = 5 \times 7 \times 11 \times 13 \times 19&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Assign the largest factor to the &amp;lt;math&amp;gt;2a_0 - 1&amp;lt;/math&amp;gt; term (since powers of 2 give the smallest growth for &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt;) and the remaining factors in descending order to the smallest primes. Solving gives exponents &amp;lt;math&amp;gt;a_0 = 10, a_1 = 6, a_2 = 5, a_3 = 3, a_4 = 2&amp;lt;/math&amp;gt;, yielding:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;s = 2^{10} \times 3^6 \times 5^5 \times 7^3 \times 11^2 = 96818198400000&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Answer==&lt;br /&gt;
&lt;br /&gt;
96818198400000&lt;br /&gt;
&lt;br /&gt;
==Flags==&lt;br /&gt;
&lt;br /&gt;
{{ProjectEulerFlag}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>