<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.universitas.ro/index.php?action=history&amp;feed=atom&amp;title=3308_-_N_Div_Tri</id>
	<title>3308 - N Div Tri - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.universitas.ro/index.php?action=history&amp;feed=atom&amp;title=3308_-_N_Div_Tri"/>
	<link rel="alternate" type="text/html" href="https://wiki.universitas.ro/index.php?title=3308_-_N_Div_Tri&amp;action=history"/>
	<updated>2026-05-01T09:31:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.universitas.ro/index.php?title=3308_-_N_Div_Tri&amp;diff=6236&amp;oldid=prev</id>
		<title>Diana Butuza: /* Cerinţa */</title>
		<link rel="alternate" type="text/html" href="https://wiki.universitas.ro/index.php?title=3308_-_N_Div_Tri&amp;diff=6236&amp;oldid=prev"/>
		<updated>2023-05-09T12:24:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Cerinţa&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:24, 9 May 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Șirul numerelor triunghiulare e obținut prin adunarea numerelor naturale. Deci al șaptelea număr triunghiular e &amp;#039;&amp;#039;&amp;#039;1 + 2 + 3 + 4 + 5 + 6 + 7 = 28&amp;#039;&amp;#039;&amp;#039;. Primii &amp;#039;&amp;#039;&amp;#039;10&amp;#039;&amp;#039;&amp;#039; termeni din șir sunt: &amp;#039;&amp;#039;&amp;#039;1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ...&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Șirul numerelor triunghiulare e obținut prin adunarea numerelor naturale. Deci al șaptelea număr triunghiular e &amp;#039;&amp;#039;&amp;#039;1 + 2 + 3 + 4 + 5 + 6 + 7 = 28&amp;#039;&amp;#039;&amp;#039;. Primii &amp;#039;&amp;#039;&amp;#039;10&amp;#039;&amp;#039;&amp;#039; termeni din șir sunt: &amp;#039;&amp;#039;&amp;#039;1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ...&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Să listăm toți divizorii primelor &amp;#039;&amp;#039;&amp;#039;7&amp;#039;&amp;#039;&amp;#039; numere triunghiulare:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Să listăm toți divizorii primelor &amp;#039;&amp;#039;&amp;#039;7&amp;#039;&amp;#039;&amp;#039; numere triunghiulare:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &#039;&#039;&#039;&lt;/del&gt;1: 1&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &lt;/ins&gt;1: 1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;3: 1,3&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &lt;/ins&gt;3: 1,3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;6: 1,2,3,6&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &lt;/ins&gt;6: 1,2,3,6&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;10: 1,2,5,10&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;10: 1,2,5,10&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;15: 1,3,5,15&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;15: 1,3,5,15&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;21: 1,3,7,21&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;21: 1,3,7,21&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;28: 1,2,4,7,14,28&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   &lt;/ins&gt;28: 1,2,4,7,14,28&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Se poate observa că &amp;#039;&amp;#039;&amp;#039;28&amp;#039;&amp;#039;&amp;#039; e primul număr triunghiular care are mai mult de &amp;#039;&amp;#039;&amp;#039;5&amp;#039;&amp;#039;&amp;#039; divizori.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Se poate observa că &amp;#039;&amp;#039;&amp;#039;28&amp;#039;&amp;#039;&amp;#039; e primul număr triunghiular care are mai mult de &amp;#039;&amp;#039;&amp;#039;5&amp;#039;&amp;#039;&amp;#039; divizori.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Se dă un număr natural &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039;. Să se scrie un program care determină &amp;#039;&amp;#039;&amp;#039;primul număr triunghiular&amp;#039;&amp;#039;&amp;#039; cu mai mult de &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; divizori.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Se dă un număr natural &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039;. Să se scrie un program care determină &amp;#039;&amp;#039;&amp;#039;primul număr triunghiular&amp;#039;&amp;#039;&amp;#039; cu mai mult de &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; divizori.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Date de intrare ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Date de intrare ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Programul citește de la tastatură numărul natural &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Programul citește de la tastatură numărul natural &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Diana Butuza</name></author>
	</entry>
	<entry>
		<id>https://wiki.universitas.ro/index.php?title=3308_-_N_Div_Tri&amp;diff=5397&amp;oldid=prev</id>
		<title>Paul Matei: Pagină nouă: == Cerinţa == Șirul numerelor triunghiulare e obținut prin adunarea numerelor naturale. Deci al șaptelea număr triunghiular e &#039;&#039;&#039;1 + 2 + 3 + 4 + 5 + 6 + 7 = 28&#039;&#039;&#039;. Primii &#039;&#039;&#039;10&#039;&#039;&#039; termeni din șir sunt: &#039;&#039;&#039;1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ...&#039;&#039;&#039; Să listăm toți divizorii primelor &#039;&#039;&#039;7&#039;&#039;&#039; numere triunghiulare:  &#039;&#039;&#039;1: 1  3: 1,3  6: 1,2,3,6 10: 1,2,5,10 15: 1,3,5,15 21: 1,3,7,21 28: 1,2,4,7,14,28&#039;&#039;&#039;  Se poate observa că &#039;&#039;&#039;28&#039;&#039;&#039; e primul număr triunghiular care are...</title>
		<link rel="alternate" type="text/html" href="https://wiki.universitas.ro/index.php?title=3308_-_N_Div_Tri&amp;diff=5397&amp;oldid=prev"/>
		<updated>2023-04-29T11:55:19Z</updated>

		<summary type="html">&lt;p&gt;Pagină nouă: == Cerinţa == Șirul numerelor triunghiulare e obținut prin adunarea numerelor naturale. Deci al șaptelea număr triunghiular e &amp;#039;&amp;#039;&amp;#039;1 + 2 + 3 + 4 + 5 + 6 + 7 = 28&amp;#039;&amp;#039;&amp;#039;. Primii &amp;#039;&amp;#039;&amp;#039;10&amp;#039;&amp;#039;&amp;#039; termeni din șir sunt: &amp;#039;&amp;#039;&amp;#039;1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ...&amp;#039;&amp;#039;&amp;#039; Să listăm toți divizorii primelor &amp;#039;&amp;#039;&amp;#039;7&amp;#039;&amp;#039;&amp;#039; numere triunghiulare:  &amp;#039;&amp;#039;&amp;#039;1: 1  3: 1,3  6: 1,2,3,6 10: 1,2,5,10 15: 1,3,5,15 21: 1,3,7,21 28: 1,2,4,7,14,28&amp;#039;&amp;#039;&amp;#039;  Se poate observa că &amp;#039;&amp;#039;&amp;#039;28&amp;#039;&amp;#039;&amp;#039; e primul număr triunghiular care are...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Cerinţa ==&lt;br /&gt;
Șirul numerelor triunghiulare e obținut prin adunarea numerelor naturale. Deci al șaptelea număr triunghiular e &amp;#039;&amp;#039;&amp;#039;1 + 2 + 3 + 4 + 5 + 6 + 7 = 28&amp;#039;&amp;#039;&amp;#039;. Primii &amp;#039;&amp;#039;&amp;#039;10&amp;#039;&amp;#039;&amp;#039; termeni din șir sunt: &amp;#039;&amp;#039;&amp;#039;1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ...&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Să listăm toți divizorii primelor &amp;#039;&amp;#039;&amp;#039;7&amp;#039;&amp;#039;&amp;#039; numere triunghiulare:&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;1: 1&lt;br /&gt;
 3: 1,3&lt;br /&gt;
 6: 1,2,3,6&lt;br /&gt;
10: 1,2,5,10&lt;br /&gt;
15: 1,3,5,15&lt;br /&gt;
21: 1,3,7,21&lt;br /&gt;
28: 1,2,4,7,14,28&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Se poate observa că &amp;#039;&amp;#039;&amp;#039;28&amp;#039;&amp;#039;&amp;#039; e primul număr triunghiular care are mai mult de &amp;#039;&amp;#039;&amp;#039;5&amp;#039;&amp;#039;&amp;#039; divizori.&lt;br /&gt;
Se dă un număr natural &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039;. Să se scrie un program care determină &amp;#039;&amp;#039;&amp;#039;primul număr triunghiular&amp;#039;&amp;#039;&amp;#039; cu mai mult de &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; divizori.&lt;br /&gt;
== Date de intrare ==&lt;br /&gt;
Programul citește de la tastatură numărul natural &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
== Date de ieşire ==&lt;br /&gt;
Programul afișează pe ecran numărul &amp;#039;&amp;#039;&amp;#039;x&amp;#039;&amp;#039;&amp;#039;, reprezentând primul număr triunghiular care are mai mult de &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; divizori.&lt;br /&gt;
== Restricții și precizări ==&lt;br /&gt;
*1 ≤ n ≤ 1000&lt;br /&gt;
== Exemplu ==&lt;br /&gt;
; Intrare&lt;br /&gt;
:3&lt;br /&gt;
; Ieșire&lt;br /&gt;
:6&lt;br /&gt;
== Explicație == &lt;br /&gt;
Primul număr trunghiular care are mai mult de &amp;#039;&amp;#039;&amp;#039;3&amp;#039;&amp;#039;&amp;#039; divizori este &amp;#039;&amp;#039;&amp;#039;6&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
== Exemplu 2 ==&lt;br /&gt;
; Intrare&lt;br /&gt;
:1&lt;br /&gt;
; Ieșire&lt;br /&gt;
:3&lt;br /&gt;
== Explicație == &lt;br /&gt;
Primul număr trunghiular care are mai mult de un divizor este &amp;#039;&amp;#039;&amp;#039;3&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
== Exemplu 3 ==&lt;br /&gt;
; Intrare&lt;br /&gt;
:133&lt;br /&gt;
; Ieșire&lt;br /&gt;
:437580&lt;br /&gt;
== Explicație == &lt;br /&gt;
Primul număr trunghiular care are mai mult de &amp;#039;&amp;#039;&amp;#039;133&amp;#039;&amp;#039;&amp;#039; de divizori este &amp;#039;&amp;#039;&amp;#039;437580&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
== Rezolvare ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line&amp;gt;&lt;br /&gt;
def numar_divizori(n):&lt;br /&gt;
    numar = 0&lt;br /&gt;
    for i in range(1, int(n**0.5)+1):&lt;br /&gt;
        if n % i == 0:&lt;br /&gt;
            if n/i == i:&lt;br /&gt;
                numar += 1&lt;br /&gt;
            else:&lt;br /&gt;
                numar += 2&lt;br /&gt;
    return numar&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
def validare_date(n):&lt;br /&gt;
    if n.isdigit() and 1 &amp;lt;= int(n) &amp;lt;= 1000:&lt;br /&gt;
        print(&amp;quot;\nDatele de intrare corespund restricțiilor impuse.\n&amp;quot;)&lt;br /&gt;
        return True&lt;br /&gt;
    else:&lt;br /&gt;
        print(&amp;quot;Datele de intrare nu corespund restricțiilor impuse.&amp;quot;)&lt;br /&gt;
        return False&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if __name__ == &amp;#039;__main__&amp;#039;:&lt;br /&gt;
    n = input(&amp;quot;Introduceti n: &amp;quot;)&lt;br /&gt;
&lt;br /&gt;
    if validare_date(n):&lt;br /&gt;
        numar = 1&lt;br /&gt;
        index = 2&lt;br /&gt;
&lt;br /&gt;
        while numar_divizori(numar) &amp;lt;= int(n):&lt;br /&gt;
            numar += index&lt;br /&gt;
            index += 1&lt;br /&gt;
&lt;br /&gt;
        print(&amp;quot;Primul număr triunghiular cu mai mult de&amp;quot;, n, &amp;quot;divizori este:&amp;quot;, numar)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Explicație rezolvare==&lt;br /&gt;
Acest program găsește primul număr triunghiular care are mai mult de &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; divizori. Folosind o buclă &amp;#039;&amp;#039;&amp;#039;while&amp;#039;&amp;#039;&amp;#039;, programul calculează numerele triunghiulare și numără divizorii acestora până când se găsește primul număr triunghiular care are mai mult de &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; divizori. Pentru a se asigura că datele de intrare sunt valide, programul include o funcție care verifică dacă &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; se află în intervalul specificat.&lt;/div&gt;</summary>
		<author><name>Paul Matei</name></author>
	</entry>
</feed>