<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Number-Theory on Python Exercises</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/tags/number-theory/</link><description>Recent content in Number-Theory on Python Exercises</description><generator>Hugo</generator><language>fa-ir</language><lastBuildDate>Sat, 06 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://amirmahdikahdouii.github.io/Python-Exercises/tags/number-theory/index.xml" rel="self" type="application/rss+xml"/><item><title>بررسی اعداد دوست</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/problems/003-amicable-numbers-check/</link><pubDate>Sat, 06 Jun 2026 00:00:00 +0000</pubDate><guid>https://amirmahdikahdouii.github.io/Python-Exercises/problems/003-amicable-numbers-check/</guid><description>&lt;p&gt;&lt;strong&gt;#003&lt;/strong&gt; · &lt;strong&gt;Amicable Numbers Check&lt;/strong&gt; · &lt;code&gt;math&lt;/code&gt; · &lt;code&gt;medium&lt;/code&gt; · &lt;code&gt;python&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/Amirmahdikahdouii/Python-Exercises/blob/master/problems/003-amicable-numbers-check/solution.py"&gt;مشاهده راه‌حل در GitHub&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;Amicable Numbers به جفت اعدادی گفته میشود که مجموع مقسوم علیه های آنها با عدد دیگری برابر باشد.
مثلا مقسوم علیه های عدد 220 برابر با:1, 2, 4, 5, 10, 11, 20, 22, 44, 55, 110 است که مجموع آنها برابر با عدد 284 است و به همین ترتیب مقسوم علیه های عدد 284 برابر با: 1, 2, 4, 71, 142 هستند که مجموع آنها نیز برابر با عدد 220 میباشد.
لذا دو عدد 220 و 284 جفت اعداد amicable هستند.&lt;/p&gt;</description></item></channel></rss>