Różnica pomiędzy stronami "Ciągi liczbowe" i "Największy wspólny dzielnik, element odwrotny modulo, funkcja Eulera"

Z Henryk Dąbrowski
(Różnica między stronami)
Przejdź do nawigacji Przejdź do wyszukiwania
 
 
Linia 1: Linia 1:
<div style="text-align:right; font-size: 130%; font-style: italic; font-weight: bold;">12.03.2022</div>
+
<div style="text-align:right; font-size: 130%; font-style: italic; font-weight: bold;">22.12.2023</div>
  
 
__FORCETOC__
 
__FORCETOC__
Linia 5: Linia 5:
  
  
== Ciągi nieskończone ==
+
== Największy wspólny dzielnik ==
  
<span style="font-size: 110%; font-weight: bold;">Definicja C1</span><br/>
+
<span id="H1" style="font-size: 110%; font-weight: bold;">Definicja H1</span><br/>
Niech <math>n \in \mathbb{Z}_+</math>. Jeżeli każdej liczbie <math>n</math> przypiszemy pewną liczbę rzeczywistą <math>a_n</math>, to powiemy, że liczby <math>a_1, a_2, \ldots, a_n, \ldots</math> tworzą ciąg nieskończony.
+
Niech będą dane dwie liczby całkowite <math>a</math> i <math>b</math> niebędące jednocześnie zerami. Największym wspólnym dzielnikiem<ref name="GCD1"/> liczb <math>a</math> i <math>b</math> będziemy nazywali liczbę całkowitą <math>D</math> taką, że
  
 +
:#&nbsp;&nbsp;<math> D \mid a \quad \text{i} \quad D \mid b</math>
 +
:#&nbsp;&nbsp;<math>\,\, d \mid a \quad \text{i} \quad \; d \mid b \qquad \Longrightarrow \qquad d \leqslant D</math>
  
 +
gdzie <math>d</math> jest dowolną liczbą całkowitą.
  
<span style="font-size: 110%; font-weight: bold;">Uwaga C2</span><br/>
 
Ciąg nieskończony <math>a_1, a_2, \ldots, a_n, \ldots</math> będziemy oznaczać <math>(a_n)</math>. Często, o&nbsp;ile nie będzie prowadziło to do nieporozumień, ciąg nieskończony będziemy nazywać po prostu ciągiem.
 
  
  
 +
<span id="H2" style="font-size: 110%; font-weight: bold;">Uwaga H2</span><br/>
 +
Tak zdefiniowaną liczbę <math>D</math> będziemy oznaczali przez <math>\gcd (a, b)</math>. Ponieważ <math>1 \mid a \;</math> i <math>\; 1 \mid b</math>, to z&nbsp;definicji wynika natychmiast, że <math>\gcd (a, b) \geqslant 1</math>.
  
<span style="font-size: 110%; font-weight: bold;">Definicja C3</span><br/>
 
Niech <math>n \in \mathbb{Z}_+</math>. Ciąg <math>(a_n)</math> będziemy nazywali
 
::* ciągiem rosnącym, jeżeli dla każdego <math>n</math> jest <math>a_{n + 1} \geqslant a_n</math>
 
::* ciągiem malejącym, jeżeli dla każdego <math>n</math> jest <math>a_{n + 1} \leqslant a_n</math>
 
  
Ciągi rosnące dzielimy na
 
:::* ciągi silnie rosnące, jeżeli dla każdego <math>n</math> jest <math>a_{n + 1} > a_n</math>
 
:::* ciągi słabo rosnące, jeżeli istnieją takie <math>n</math>, że <math>a_{n + 1} = a_n</math>
 
  
Ciągi malejące dzielimy na
+
<span id="H3" style="font-size: 110%; font-weight: bold;">Zadanie H3</span><br/>
:::* ciągi silnie malejące, jeżeli dla każdego <math>n</math> jest <math>a_{n + 1} < a_n</math>
+
Pokazać, że
:::* ciągi słabo malejące, jeżeli istnieją takie <math>n</math>, że <math>a_{n + 1} = a_n</math>
 
  
 +
::<math>d \mid \gcd (a, b) \qquad \Longleftrightarrow \qquad d \mid a \quad \text{i} \quad d \mid b</math>
  
 +
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
  
<span style="font-size: 110%; font-weight: bold;">Definicja C4</span><br/>
+
<math>\Large{\Longrightarrow}</math>
Niech <math>\varepsilon \in \mathbb{R}_+</math>. Liczbę <math>a</math> będziemy nazywali granicą ciągu <math>(a_n)</math>, jeżeli dla dowolnego <math>\varepsilon</math> w&nbsp;przedziale <math>(a - \varepsilon, a + \varepsilon)</math> znajdują się '''prawie wszystkie wyrazy ciągu''' <math>(a_n)</math> (to znaczy wszystkie poza co najwyżej skończoną ilością).
 
  
 +
Z założenia <math>d \mid \gcd (a, b)</math>. Z&nbsp;definicji największego wspólnego dzielnika <math>\gcd (a, b) \mid a</math>, zatem <math>d \mid a</math>. Analogicznie pokazujemy, że <math>d \mid b</math>.
  
 +
<math>\Large{\Longleftarrow}</math>
  
<span style="font-size: 110%; font-weight: bold;">Uwaga C5</span><br/>
+
Z założenia <math>a = r d</math>, <math>b = s d</math>. Z&nbsp;lematu Bézouta (zobacz C73) istnieją takie liczby całkowite <math>x, y</math>, że
1) sens definicji jest taki: jeżeli liczba <math>a</math> jest granicą ciągu <math>(a_n)</math>, to dla dowolnie małego <math>\varepsilon > 0</math>, poza przedziałem <math>(a - \varepsilon, a + \varepsilon)</math> może się znaleźć co najwyżej skończona ilość wyrazów ciągu <math>(a_n)</math>
 
  
2) słabsze żądanie, aby w&nbsp;przedziale <math>(a - \varepsilon, a + \varepsilon)</math> znajdowała się nieskończona ilość wyrazów ciągu nie prowadzi do poprawnej definicji granicy. Przykładowo, w&nbsp;przedziale <math>(1 - \varepsilon, 1 + \varepsilon)</math> znajduje się nieskończenie wiele wyrazów ciągu <math>a_n = (-1)^n</math>, ale ani liczba <math>1</math>, ani liczba <math>- 1</math> nie są granicami tego ciągu. O&nbsp;ciągu <math>a_n = (- 1)^n</math> mówimy, że nie ma granicy.
+
::<math>\gcd (a, b) = a x + b y = r d x + s d y = d (r x + s y)</math>
  
3) ze względu na równoważność warunków
+
Zatem <math>d \mid \gcd (a, b)</math>.<br/>
 +
&#9633;
 +
{{\Spoiler}}
  
::* <math>\quad a_n \in (a - \varepsilon, a + \varepsilon)</math>
 
::* <math>\quad a - \varepsilon < a_n < a + \varepsilon</math>
 
::* <math>\quad - \varepsilon < a_n - a < \varepsilon</math>
 
::* <math>\quad | a_n - a | < \varepsilon</math>
 
  
definicja C4 może być wypowiedziana następująco
 
  
 +
<span id="H4" style="font-size: 110%; font-weight: bold;">Twierdzenie H4</span><br/>
 +
Jeżeli liczby całkowite <math>a, b</math> nie są jednocześnie równe zero i <math>\gcd (a, b) = a x + b y</math>, to <math>\gcd (x, y) = 1</math>.
  
 +
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 +
Z lematu Bézouta (zobacz C73) wiemy, że liczby całkowite <math>x, y</math> zawsze istnieją. Niech <math>\gcd (a, b) = d > 0</math>, zatem <math>a = d k</math> i <math>b = d m</math>, czyli
  
<span style="font-size: 110%; font-weight: bold;">Definicja C6</span><br/>
+
::<math>(d k) x + (d m) y = d</math>
Liczbę <math>a</math> będziemy nazywali granicą ciągu <math>(a_n)</math>, jeżeli dla dowolnego <math>\varepsilon > 0</math> '''prawie wszystkie wyrazy ciągu''' <math>(a_n)</math> spełniają warunek <math>|a_n - a| < \varepsilon</math>.
 
 
 
 
 
 
 
<span style="font-size: 110%; font-weight: bold;">Definicja C7</span><br/>
 
Ciąg <math>(a_n)</math> mający granicę (w rozumieniu definicji C4 lub C6) będziemy nazywali ciągiem zbieżnym, a&nbsp;fakt ten zapisujemy symbolicznie następująco
 
 
 
::<math>\lim_{n \to \infty} a_n = a</math>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lub&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<math>a_n \longrightarrow a</math>
 
 
 
(od łacińskiego słowa ''limes'' oznaczającego granicę).
 
 
 
  
 +
Co oznacza, że <math>k x + m y = 1</math>, ale <math>\gcd (x, y)</math> jest dzielnikiem <math>k x + m y</math> (bo jest dzielnikiem <math>x</math> i <math>y</math>), zatem <math>\gcd (x, y) \mid 1</math>, czyli <math>\gcd (x, y) = 1</math>. Co należało pokazać.<br/>
 +
&#9633;
 +
{{\Spoiler}}
  
Zauważmy jeszcze, że wprost z&nbsp;definicji granicy wynika</br>
 
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C8</span><br/>
 
  
::1. <math>\quad \lim_{n \to \infty} a_n = a \qquad \iff \qquad \lim_{n \to \infty} (a_n - a) = 0 \qquad \iff \qquad \lim_{n \to \infty} | a_n - a | = 0</math>
 
  
::2. <math>\quad \lim_{n \to \infty} a_n = 0 \qquad \iff \qquad \lim_{n \to \infty} | a_n | = 0</math>
+
<span id="H5" style="font-size: 110%; font-weight: bold;">Twierdzenie H5</span><br/>
 +
Niech <math>a, b, k \in \mathbb{Z}</math>. Prawdziwy jest wzór
  
::3. <math>\quad \lim_{n \to \infty} a_n = a \qquad \implies \qquad \lim_{n \to \infty} | a_n | = | a |</math>
+
::<math>\gcd (a + k b, b) = \gcd (a, b)</math>
  
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
'''Punkt 1.'''<br/>
+
Niech <math>d_1 = \gcd (a + k b, b) \;</math> i <math>\; d_2 = \gcd (a, b)</math>.
Prawdziwość twierdzenia wynika ze względu na identyczność warunków, które muszą spełniać prawie wszystkie wyrazy ciągu
 
 
 
::<math>| a_n - a | < \varepsilon \qquad \iff \qquad | (a_n - a) - 0 | < \varepsilon \qquad \iff \qquad \big|| a_n - a | - 0 \big| < \varepsilon</math>
 
 
 
'''Punkt 2.'''<br/>
 
Jest to jedynie szczególny przypadek punktu 1. dla <math>a = 0</math>.
 
  
'''Punkt 3.'''<br/>
+
Z definicji <math>d_1 \mid (a + k b) \;</math> i <math>\; d_1 \mid b</math>, zatem <math>a + k b = x d_1 \;</math> i <math>\; b = y d_1</math>, czyli <math>a + k x d_1 = x d_1</math>, skąd natychmiast wynika, że <math>d_1 \mid a</math>. Ponieważ <math>d_1 \mid b</math>, to <math>d_1 \mid d_2</math> (zobacz&nbsp;[[#H3|H3]]).
Dla dowolnych liczb <math>x, y \in \mathbb{R}</math> prawdziwa jest nierówność
 
  
::<math>\big|| x | - | y | \big| \leqslant |x - y|</math>
+
Z definicji <math>d_2 \mid a \;</math> i <math>\; d_2 \mid b</math>, zatem <math>d_2 \mid (a + k b) \;</math> i <math>\; d_2 \mid b</math>, czyli <math>d_2 \mid d_1</math>.
  
Wynika stąd, że jeżeli dla prawie wszystkich wyrazów ciągu <math>(a_n)</math> spełniona jest nierówność <math>|a_n - a| < \varepsilon</math>, to tym bardziej prawdą jest, że <math>\big|| a_n | - | a |\big| < \varepsilon</math><br/>
+
Ponieważ <math>d_1 \mid d_2 \;</math> i <math>\; d_2 \mid d_1</math>, to <math>| d_1 | = | d_2 |</math>. Co kończy dowód.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 96: Linia 77:
  
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C9 (twierdzenie o&nbsp;trzech ciągach)</span><br/>
+
<span id="H6" style="font-size: 110%; font-weight: bold;">Twierdzenie H6</span><br/>
Jeżeli istnieje taka liczba całkowita <math>N_0</math>, że dla każdego <math>n > N_0</math> jest spełniony warunek
+
Niech <math>a, b, m \in \mathbb{Z}</math>. Prawdziwa jest następująca równoważność
 
 
::<math>a_n \leqslant x_n \leqslant b_n</math>
 
 
 
oraz
 
 
 
::<math>\lim_{n \to \infty} a_n = \lim_{n \to \infty} b_n = g</math>
 
  
to <math>\lim_{n \to \infty} x_n = g</math>.
+
::<math>\gcd (a, m) = 1 \quad  \text{i} \quad \gcd (b, m) = 1 \quad \qquad \Longleftrightarrow \quad \qquad \gcd (a b, m) = 1</math>
  
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
Niech <math>\varepsilon</math> będzie dowolną, ustaloną liczbą większą od <math>0</math>. Z&nbsp;założenia prawie wszystkie wyrazy ciągu <math>(a_n)</math> spełniają warunek <math>|a_n - g| < \varepsilon</math>. Możemy założyć, że są to wszystkie wyrazy, poczynając od wyrazu <math>N_a</math>. Podobnie prawie wszystkie wyrazy ciągu <math>(b_n)</math> spełniają warunek <math>|b_n - g| < \varepsilon</math> i&nbsp;podobnie możemy założyć, że są to wszystkie wyrazy, poczynając od wyrazu <math>N_b</math>
 
 
Nierówność <math>a_n \leqslant x_n \leqslant b_n</math> jest spełniona dla wszystkich wyrazów, poczynając od <math>N_0</math>, zatem oznaczając przez <math>M</math> największą z&nbsp;liczb <math>N_a</math>, <math>N_b</math>, <math>N_0</math>, możemy napisać, że o&nbsp;ile <math>n > M</math>, to spełnione są jednocześnie nierówności
 
  
::* <math>\quad g - \varepsilon < a_n < g + \varepsilon\</math>
+
<math>\Large{\Longrightarrow}</math>
::* <math>\quad g - \varepsilon < b_n < g + \varepsilon\</math>
 
::* <math>\quad a_n \leqslant x_n \leqslant b_n</math>
 
  
Z powyższych nierówności wynika natychmiast następujący ciąg nierówności
+
Niech <math>\gcd (a b, m) = d</math>. Z&nbsp;definicji <math>d \mid a b</math> i <math>d \mid m</math>. Gdyby było <math>d > 1</math>, to istniałaby liczba pierwsza <math>p</math> taka, że <math>p \mid d</math> i&nbsp;mielibyśmy <math>p \mid a b</math> i <math>p \mid m</math>. Jeżeli <math>p \mid a b</math>, to <math>p \mid a</math> lub <math>p \mid b</math> (zobacz C74). W&nbsp;przypadku, gdy <math>p \mid a</math> dostajemy <math>\gcd (a, m) \geqslant p > 1</math>, wbrew założeniu, że <math>\gcd (a, m) = 1</math>. Analogicznie pokazujemy sprzeczność, gdy <math>p \mid b</math>.
  
::<math>g - \varepsilon < a_n \leqslant x_n \leqslant b_n < g + \varepsilon</math>
+
<math>\Large{\Longleftarrow}</math>
  
Co oznacza, że dla <math>n > M</math> zachodzi
+
Niech <math>\gcd (a, m) = d</math>. Z&nbsp;definicji <math>d \mid a</math> i <math>d \mid m</math>, zatem również <math>d \mid a b</math> i <math>d \mid m</math>. Mamy stąd
  
::<math>g - \varepsilon < x_n < g + \varepsilon</math>
+
::<math>1 = \gcd (a b, m) \geqslant d \geqslant 1</math>
  
Czyli prawie wszystkie wyrazy ciągu <math>(x_n)</math> spełniają warunek <math>|x_n - g| < \varepsilon</math>. Co kończy dowód.<br/>
+
Czyli musi być <math>d = 1</math>. Analogicznie pokazujemy, że <math>\gcd (b, m) = 1</math>.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 130: Linia 100:
  
  
Bez dowodu podamy kilka ważnych twierdzeń.<br>
+
<span id="H7" style="font-size: 110%; font-weight: bold;">Twierdzenie H7</span><br/>
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C10*</span><br/>
+
Dla <math>a, b, m \in \mathbb{Z}</math> jest
Jeżeli istnieje taka liczba całkowita <math>n</math> i&nbsp;rzeczywista <math>M</math>, że dla każdego <math>k > n</math> jest
 
  
::<math>a_{k + 1}\geqslant a_k \qquad</math> oraz <math>\qquad a_k \leqslant M</math>
+
::<math>\gcd (a b, m) \mid \gcd (a, m) \cdot \gcd (b, m)</math>
  
to ciąg <math>(a_k)</math> jest zbieżny.<br/>
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
'''Inaczej mówiąc: ciąg rosnący i&nbsp;ograniczony od góry jest zbieżny.'''
+
Wprowadźmy oznaczenia
  
 +
::<math>r = \gcd (a b, m)</math>
  
 +
::<math>s = \gcd (a, m)</math>
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C11*</span><br/>
+
::<math>t = \gcd (b, m)</math>
Jeżeli istnieje taka liczba całkowita <math>n</math> i&nbsp;rzeczywista <math>M</math>, że dla każdego <math>k > n</math> jest
 
  
::<math>a_{k + 1} \leqslant a_k \qquad</math> oraz <math>\qquad a_k \geqslant M</math>
+
Z lematu Bézouta (zobacz C73) istnieją takie liczby <math>x, y, X, Y</math>, że
  
to ciąg <math>(a_k)</math> jest zbieżny.<br/>
+
::<math>s = a x + m y</math>
'''Inaczej mówiąc: ciąg malejący i&nbsp;ograniczony od dołu jest zbieżny.'''
 
  
 +
::<math>t = b X + m Y</math>
  
 +
Zatem
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C12*</span><br/>
+
::<math>s t = (a x + m y) (b X + m Y) = a b x X + a m x Y + m b y X + m^2 y Y</math>
Jeżeli <math>\lim_{n \to \infty} a_n = a</math> oraz <math>\lim_{n \to \infty} b_n = b</math>, gdzie <math>a, b</math> są dowolnymi liczbami rzeczywistymi, to
 
  
# <math>\quad \lim_{n \to \infty} (a_n \pm b_n) = a \pm b</math>
+
ale <math>r \mid a b</math> i <math>r \mid m</math>, skąd otrzymujemy, że <math>r \mid s t</math>. Co należało pokazać.<br/>
# <math>\quad \lim_{n \to \infty} (a_n \cdot b_n) = a \cdot b</math>
+
&#9633;
 +
{{\Spoiler}}
  
Jeżeli dodatkowo dla każdego <math>n</math> jest <math>b_n \neq 0</math> i <math>b \neq 0</math>, to
 
  
:&nbsp;&nbsp;3. <math>\quad \lim_{n \to \infty} \frac{a_n}{b_n} = \frac{a}{b}</math>
 
  
 +
<span id="H8" style="font-size: 110%; font-weight: bold;">Twierdzenie H8</span><br/>
 +
Jeżeli liczby <math>a, b</math> są względnie pierwsze, to
  
 +
::<math>\gcd (a b, m) = \gcd (a, m) \cdot \gcd (b, m)</math>
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C13</span><br/>
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
Jeżeli <math>\lim_{n \to \infty} a_n = 0</math>, zaś ciąg <math>(x_n)</math> jest ograniczony, czyli istnieje taka liczba <math>M > 0</math>, że dla każdej wartości <math>n</math> prawdziwa jest nierówność <math>| x_n | < M</math>, to
+
Wprowadźmy oznaczenia
 
 
::<math>\lim_{n \to \infty} (x_n \cdot a_n) = 0</math>
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
::<math>r = \gcd (a b, m)</math>
Wystarczy pokazać, że (zobacz twierdzenie C8 p.2)
 
  
::<math>\lim_{n \to \infty} |x_n \cdot a_n| = 0</math>
+
::<math>s = \gcd (a, m)</math>
  
Z założenia prawdziwe jest oszacowanie
+
::<math>t = \gcd (b, m)</math>
  
::<math>0 \leqslant |x_n \cdot a_n| \leqslant |a_n| \cdot M</math>
+
Z założenia <math>\gcd (a, b) = 1</math>. Ponieważ <math>s \mid a</math> oraz <math>t \mid b</math>, to <math>\gcd (s, t) = 1</math>, zatem (zobacz C75)
  
Zatem z twierdzenia o trzech ciągach otrzymujemy natychmiast, że
+
::<math>s \mid a \qquad \,\, \text{i} \qquad t \mid b \qquad \qquad \;\, \Longrightarrow \qquad \qquad s t \mid a b</math>
  
::<math>\lim_{n \to \infty} |x_n \cdot a_n| = 0</math>
+
::<math>s \mid m \qquad \text{i} \qquad t \mid m \qquad \qquad \Longrightarrow \qquad \qquad s t \mid m</math>
  
Co kończy dowód.<br/>
+
Wynika stąd, że <math>s t \mid \gcd (a b, m)</math>, czyli <math>s t \mid r</math>. Z&nbsp;poprzedniego twierdzenia wiemy, że <math>r \mid s t</math>, zatem <math>|r| = |s t|</math>. Co kończy dowód.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 187: Linia 156:
  
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C14</span><br/>
+
<span id="H9" style="font-size: 110%; font-weight: bold;">Twierdzenie H9</span><br/>
Dla <math>a \geqslant 0</math> i <math>n \geqslant 1</math> prawdziwa jest nierówność
+
Jeżeli liczby <math>b, m</math> są względnie pierwsze, to
 
 
::<math>(1 + a)^{1 / n} \leqslant 1 + \frac{a}{n}</math>
 
 
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 
Wzór jest prawdziwy dla <math>a = 0</math>. Zakładając, że <math>a > 0</math> i&nbsp;korzystając ze wzoru dwumianowego, mamy dla <math>n \geqslant 1</math>
 
 
 
::<math>\left( 1 + \frac{a}{n} \right)^n = \sum_{k=0}^{n}\left [\binom{n}{k} \cdot \left ( \frac{a}{n} \right )^k \right ] \geqslant</math>
 
:::::<math>\;\; \geqslant \sum_{k=0}^{1}\left [\binom{n}{k} \cdot \left ( \frac{a}{n} \right )^k \right ] =</math>
 
:::::<math>\;\; = 1 + n \cdot \frac{a}{n} =</math>
 
:::::<math>\;\; = 1 + a</math>
 
 
 
Co należało pokazać.<br/>
 
&#9633;
 
{{\Spoiler}}
 
 
 
 
 
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C15</span><br/>
+
::<math>\gcd (a b, m) = \gcd (a, m)</math>
Jeżeli <math>A > 0</math>, to <math>\lim_{n \to \infty} \sqrt[n]{A} = 1</math>.
 
  
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
Dla <math>A > 1</math> możemy napisać <math>A = 1 + a</math>, gdzie <math>a > 0</math>, wtedy z&nbsp;twierdzenia C14 otrzymujemy
+
Wprowadźmy oznaczenia
  
::<math>1 < \sqrt[n]{A} = (1 + a)^{1 / n} \leqslant 1 + \frac{a}{n}</math>
+
::<math>r = \gcd (a b, m)</math>
  
Z twierdzenia o&nbsp;trzech ciągach dostajemy natychmiast (dla <math>A > 1</math>)
+
::<math>s = \gcd (a, m)</math>
  
::<math>\lim_{n \to \infty} \sqrt[n]{A} = 1</math>
+
Z lematu Bézouta istnieją takie liczby <math>x, y</math>, że
  
W przypadku gdy <math>0 < A < 1</math>, możemy napisać <math>A = \frac{1}{B}</math>, gdzie <math>B > 1</math>, wtedy ze względu na udowodniony wyżej rezultat <math>\lim_{n \to \infty} \sqrt[n]{B} = 1</math>
+
::<math>r = a b x + m y</math>
  
::<math>\lim_{n \to \infty} \sqrt[n]{A} = \lim_{n \to \infty} \frac{1}{\sqrt[n]{B}} = \frac{1}{\underset{n \rightarrow \infty}{\lim} \sqrt[n]{B}} = 1</math>
+
Ale <math>s \mid a \;</math> i <math>\; s \mid m</math>, zatem <math>s \mid r</math>.
  
Jeżeli <math>A = 1</math>, to <math>\sqrt[n]{A} = 1</math> dla każdego <math>n \geqslant 1</math>. Co kończy dowód.<br/>
+
Z założenia <math>\gcd (b, m) = 1</math>, zatem z&nbsp;twierdzenia [[#H7|H7]] wynika natychmiast, że <math>r \mid s</math>. Ponieważ <math>s \mid r \;</math> i <math>\; r \mid s</math>, to <math>| r | = | s |</math>. Co należało pokazać.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 228: Linia 180:
  
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C16</span><br/>
+
<span id="H10" style="font-size: 110%; font-weight: bold;">Twierdzenie H10</span><br/>
Jeżeli prawie wszystkie wyrazy ciągu ciągu <math>(a_n)</math> spełniają warunek <math>0 < m < a_n < M</math>, to <math>\lim_{n \to \infty} \sqrt[n]{a_n} = 1</math>
+
Jeżeli liczby <math>a, b</math> nie są jednocześnie równe zero i <math>m \neq 0</math>, to
 +
 
 +
::<math>\gcd (a m, b m) = | m | \cdot \gcd (a, b)</math>
  
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
Z założenia dla prawie wszystkich wyrazów ciągu <math>(a_n)</math> jest
+
Oznaczmy <math>d = \gcd (a, b) \;</math> i <math>\; D = \gcd (a m, b m)</math>. Pokażemy, że <math>d m \mid D</math>.
  
::<math>0 < m \leqslant a_n \leqslant M</math>
+
<div style="margin-top: 1.5em; margin-bottom: 1em;">
 +
::<math>
 +
\begin{array}{llll}
 +
  d = \gcd (a, b) & \qquad \Longrightarrow \qquad & d \mid a \quad \text{i} \quad d \mid b & \text{(zobacz H3)} \\
 +
  &  &  & \\
 +
  & \qquad \Longrightarrow \qquad & d m \mid a m \quad \text{i} \quad d m \mid b m & \\
 +
  &  &  & \\
 +
  & \qquad \Longrightarrow \qquad & d m \mid \gcd (a m, b m) & \text{(zobacz H3)} \\
 +
  &  &  & \\
 +
  & \qquad \Longrightarrow \qquad & d m \mid D & \\
 +
\end{array}
 +
</math>
 +
</div>
  
Zatem dla prawie wszystkich wyrazów ciągu <math>a_n</math> mamy
+
Pokażemy, że <math>D \mid d m</math>.
  
::<math>\sqrt[n]{m} \leqslant \sqrt[n]{a_n} \leqslant \sqrt[n]{M}</math>
+
<div style="margin-top: 1.5em; margin-bottom: 1em;">
 +
::<math>
 +
\begin{array}{llll}
 +
  d = \gcd (a, b) & \qquad \Longrightarrow \qquad & d = a x + b y & \text{(lemat Bézouta C73)} \\
 +
  &  &  & \\
 +
  & \qquad \Longrightarrow \qquad & d m = a m x + b m y & \\
 +
  &  &  & \\
 +
  & \qquad \Longrightarrow \qquad & D \mid d m & \\
 +
\end{array}
 +
</math>
 +
</div>
  
Z twierdzenia C15 wiemy, że <math>\lim_{n \to \infty} \sqrt[n]{m} = \lim_{n \to \infty} \sqrt[n]{M} = 1</math>, zatem na podstawie twierdzenia o&nbsp;trzech ciągach otrzymujemy natychmiast <math>\lim_{n \to \infty} \sqrt[n]{a_n} = 1</math><br/>
+
Ostatnia implikacja korzysta z&nbsp;tego, że <math>D \mid a m \;</math> i <math>\; D \mid b m</math> (zobacz [[#H3|H3]]). Ponieważ <math>d m \mid D \;</math> i <math>\; D \mid d m</math>, to <math>| D | = | d m |</math>. Co należało pokazać.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 246: Linia 222:
  
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C17</span><br/>
+
<span style="font-size: 110%; font-weight: bold;">Zadanie H11</span><br/>
Następujące ciągi silnie rosnące i&nbsp;zbieżne
+
Pokazać, że jeżeli liczby <math>a, b</math> nie jednocześnie równe zero, to
  
::{| class="wikitable plainlinks"  style="font-size: 100%; text-align: center; margin-right: auto;"
+
::<math>\gcd \left( {\small\frac{a}{\gcd (a, b)}}, {\small\frac{b}{\gcd (a, b)}} \right) = 1</math>
|- style=height:4em
 
| <math>\quad 1. \quad</math> || <math>\lim_{n \to \infty} \left( 1 + \frac{1}{n} \right)^n = e = 2.718281828 \ldots</math>
 
|- style=height:4em
 
| <math>\quad 2. \quad</math> || <math>\lim_{n \to \infty} \left( 1 - \frac{1}{n} \right)^n = \frac{1}{e} = 0.367879441 \ldots</math>
 
|}
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
'''Punkt 1'''<br/>
+
Z twierdzenia H10 otrzymujemy
W twierdzeniu A6 pokazaliśmy, że ciąg
 
  
::<math>a_n = \left( 1 + \frac{1}{n} \right)^n</math>
+
::<math>\gcd (a, b) = \gcd \left( \gcd (a, b) \cdot {\small\frac{a}{\gcd (a, b)}}, \gcd (a, b) \cdot {\small\frac{b}{\gcd (a, b)}} \right)</math>
  
jest silnie rosnący i&nbsp;ograniczony od góry. Zatem z&nbsp;twierdzenia C10 wynika, że jest zbieżny. Liczbę będącą granicą tego ciągu oznaczamy literą <math>e</math>, jest ona podstawą logarytmu naturalnego.
+
::::<math>\;\;\;\; = \gcd (a, b) \cdot \gcd \left( {\small\frac{a}{\gcd (a, b)}}, {\small\frac{b}{\gcd (a, b)}} \right)</math>
  
'''Punkt 2'''<br/>
+
Zatem
Pokażemy najpierw, że ciąg <math>\left( 1 - \frac{1}{n} \right)^n</math> jest silnie rosnący. Musimy pokazać, że prawdziwa jest nierówność
 
  
::<math>\left( 1 - \frac{1}{n + 1} \right)^{n + 1} > \left( 1 - \frac{1}{n} \right)^n</math>
+
::<math>\gcd \left( {\small\frac{a}{\gcd (a, b)}}, {\small\frac{b}{\gcd (a, b)}} \right) = 1</math>
  
Łatwo sprawdzamy prawdziwość nierówności dla <math>n = 1</math>. Załóżmy teraz, że <math>n \geqslant 2</math>. Przekształcając,
+
Co należało pokazać.<br/>
 
 
::<math>\left( \frac{n}{n + 1} \right)^{n + 1} > \left( \frac{n - 1}{n} \right)^n</math>
 
 
 
::<math>\frac{n}{n + 1} \cdot \left( \frac{n}{n + 1} \right)^n \cdot \left( \frac{n}{n - 1} \right)^n > 1</math>
 
 
 
::<math>\left( \frac{n^2}{n^2 - 1} \right)^n > \frac{n + 1}{n}</math>
 
 
 
otrzymujemy nierówność równoważną,
 
 
 
::<math>\left( 1 + \frac{1}{n^2 - 1} \right)^n > 1 + \frac{1}{n}</math>
 
 
 
którą już łatwo udowodnić, bo
 
 
 
::<math>\left( 1 + \frac{1}{n^2 - 1} \right)^n > \left( 1 + \frac{1}{n^2} \right)^n = \sum_{k = 0}^{n} \binom{n}{k} \cdot \left( \frac{1}{n^2} \right)^k > \sum_{k = 0}^{1} \binom{n}{k} \cdot \frac{1}{n^{2k}} = 1 + \frac{1}{n}</math>
 
 
 
Ponieważ dla każdego <math>n \geqslant 1</math> jest <math>\left( 1 - \frac{1}{n} \right)^n \leqslant 1</math> (bo iloczyn liczb mniejszych od <math>1</math> nie może być liczbą większą do jedności), to z&nbsp;twierdzenia C10 wynika, że ciąg ten jest zbieżny. Zatem możemy napisać
 
 
 
::<math>\underset{n \rightarrow \infty}{\lim} \left( 1 - \frac{1}{n} \right)^n = g</math>
 
 
 
Rozważmy teraz iloczyn wypisanych w&nbsp;twierdzeniu ciągów
 
 
 
::<math>\left( 1 + \frac{1}{n} \right)^n \cdot \left( 1 - \frac{1}{n} \right)^n = \left( 1 - \frac{1}{n^2} \right)^n = \left[ \left( 1 - \frac{1}{n^2} \right)^{n^2} \right]^{1 / n}</math>
 
 
 
Łatwo widzimy, że ciąg <math>\left( 1 - \frac{1}{n^2} \right)^{n^2}</math> jest podciągiem ciągu <math>\left( 1 - \frac{1}{n} \right)^n</math>, zatem jest ograniczony i&nbsp;dla <math>n \geqslant 2</math> spełniony jest układ nierówności
 
 
 
::<math>0 < \left( \frac{3}{4} \right)^4 \leqslant \left( 1 - \frac{1}{n^2} \right)^{n^2} \leqslant 1</math>
 
 
 
Z twierdzenia C16 dostajemy
 
 
 
::<math>\lim_{n \to \infty} \left[ \left( 1 - \frac{1}{n^2} \right)^{n^2} \right]^{1 / n} = 1</math>
 
 
 
Z twierdzenia C12 p. 2 wynika natychmiast, że
 
 
 
::<math>e \cdot g = \lim_{n \to \infty} \left[ \left( 1 + \frac{1}{n} \right)^n \cdot \left( 1 - \frac{1}{n} \right)^n \right] = \lim_{n \to \infty} \left[ \left( 1 - \frac{1}{n^2} \right)^{n^2} \right]^{1 / n} = 1</math>
 
 
 
Zatem <math>g = \frac{1}{e}</math>.<br/>
 
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 311: Linia 244:
  
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C18</span><br/>
+
<span id="H12" style="font-size: 110%; font-weight: bold;">Zadanie H12</span><br/>
Dla <math>n \geqslant 2</math> prawdziwe są następujące nierówności
+
Pokazać, że <math>a \mid b</math> wtedy i&nbsp;tylko wtedy, gdy <math>a \mid \gcd (a, b)</math>.
  
::{| class="wikitable plainlinks"  style="font-size: 100%; text-align: center; margin-right: auto;"
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
|- style=height:4em
 
| <math>\quad 1. \quad</math> || <math> \frac{1}{n + 1} < \log \left( 1 + \frac{1}{n} \right) < \frac{1}{n}</math>
 
|- style=height:4em
 
| <math>\quad 2. \quad</math> || <math>- \frac{1}{n - 1} < \log \left( 1 - \frac{1}{n} \right) < - \frac{1}{n}</math>
 
|}
 
 
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 
Ponieważ ciąg <math>\left( 1 + \frac{1}{n} \right)^n</math> jest silnie rosnący, to
 
  
::<math>\left( 1 + \frac{1}{n} \right)^n < e</math>
+
<math>\Large{\Longrightarrow}</math>
  
Logarytmując powyższą nierówność, mamy
+
Zakładając, że <math>a \mid b</math>, dostajemy
  
::<math>n \cdot \log \left( 1 + \frac{1}{n} \right) < 1</math>
+
<div style="margin-top: 1.5em; margin-bottom: 1em;">
 +
::<math>
 +
\begin{array}{llll}
 +
  a \mid b & \qquad \Longrightarrow \qquad & b = k a & \\
 +
  &  &  & \\
 +
  & \qquad \Longrightarrow \qquad & \gcd (a, b) = \gcd (a, k a) = | a | \cdot \gcd (1, k) = | a | & \qquad \text{(zobacz H10)} \\
 +
  &  &  & \\
 +
  & \qquad \Longrightarrow \qquad & a \mid \gcd (a, b) & \\
 +
\end{array}
 +
</math>
 +
</div>
  
Stąd wynika natychmiast, że
+
<math>\Large{\Longleftarrow}</math>
  
::<math>\log \left( 1 + \frac{1}{n} \right) < \frac{1}{n}</math>
+
Jeżeli <math>a \mid \gcd (a, b)</math>, to <math>a \mid b</math> (zobacz [[#H3|H3]]). Co należało pokazać.<br/>
 
 
 
 
Ponieważ ciąg <math>\left( 1 - \frac{1}{n} \right)^n</math> również jest silnie rosnący, to postępując analogicznie, dostajemy
 
 
 
::<math>\left( 1 - \frac{1}{n} \right)^n < \frac{1}{e}</math>
 
 
 
::<math>n \cdot \log \left( 1 - \frac{1}{n} \right) < - 1</math>
 
 
 
::<math>\log \left( 1 - \frac{1}{n} \right) < - \frac{1}{n}</math>
 
 
 
 
 
Przekształcając otrzymane wzory, otrzymujemy
 
 
 
::<math>- \log \left( 1 + \frac{1}{n} \right) = - \log \left( \frac{n + 1}{n} \right) = \log \left( \frac{n}{n + 1} \right) = \log \left( 1 - \frac{1}{n + 1} \right) < - \frac{1}{n + 1}</math>
 
 
 
oraz
 
 
 
::<math>- \log \left( 1 - \frac{1}{n} \right) = - \log \left( \frac{n - 1}{n} \right) = \log \left( \frac{n}{n - 1} \right) = \log \left( 1 + \frac{1}{n - 1} \right) < \frac{1}{n - 1}</math><br/>
 
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 356: Linia 273:
  
  
 +
<span id="H13" style="font-size: 110%; font-weight: bold;">Zadanie H13</span><br/>
 +
Niech <math>\gcd (a, d) = 1</math>. Pokazać, że <math>d \nmid a b</math> wtedy i&nbsp;tylko wtedy, gdy <math>d \nmid b</math>.
  
 +
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
 +
Korzystając z&nbsp;rezultatu pokazanego w&nbsp;zadaniu [[#H12|H12]], dostajemy
  
== Liczby pierwsze w&nbsp;ciągach arytmetycznych ==
+
<div style="margin-top: 1.5em; margin-bottom: 1em;">
 
+
::<math>
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C19</span><br/>
+
\begin{array}{llll}
Każda liczba naturalna <math>n \geqslant 2</math> jest liczbą pierwszą lub iloczynem liczb pierwszych.
+
  d \nmid a b & \qquad \Longleftrightarrow \qquad & d \nmid \gcd (d, a b) & \\
 
+
  &  &  & \\
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
  & \qquad \Longleftrightarrow \qquad & d \nmid \gcd (d, b) & \text{(zobacz H9)} \\
<span style="border-bottom-style: double;">Pierwszy sposób</span><br/><br/>
+
  &  &  & \\
Przypuśćmy, że istnieją liczby naturalne większe od <math>1</math>, które nie są liczbami pierwszymi ani nie są iloczynami liczb pierwszych. Niech <math>m</math> oznacza najmniejszą<ref name="WellOrdering"/> z&nbsp;takich liczb. Z&nbsp;założenia <math>m</math> nie jest liczbą pierwszą, zatem <math>m</math> może być zapisana w&nbsp;postaci <math>m = a \cdot b</math>, gdzie liczby <math>a, b</math> są liczbami naturalnymi mniejszymi od <math>m</math>.
+
  & \qquad \Longleftrightarrow \qquad & d \nmid b & \\
 
+
\end{array}
Ponieważ <math>m</math> jest najmniejszą liczbą naturalną, która nie jest liczbą pierwszą ani nie jest iloczynem liczb pierwszych, to liczby <math>a</math> i <math>b</math> muszą być liczbami złożonymi, ale jako mniejsze od <math>m</math> są one iloczynami liczb pierwszych, zatem i&nbsp;liczba <math>m</math> musi być iloczynem liczb pierwszych.
+
</math>
 
+
</div>
Uzyskana sprzeczność dowodzi, że nasze przypuszczenie jest fałszywe.
 
 
 
 
 
<span style="border-bottom-style: double;">Drugi sposób</span><br/><br/>
 
Indukcja matematyczna. Twierdzenie jest oczywiście prawdziwe dla <math>n = 2</math>.
 
Zakładając, że twierdzenie jest prawdziwe dla '''wszystkich''' liczb naturalnych <math>k \in [2, n]</math>, dla liczby <math>n + 1</math> mamy dwie możliwości
 
 
 
* <math>n + 1</math> jest liczbą pierwszą (wtedy twierdzenie jest prawdziwe w&nbsp;sposób oczywisty)
 
* <math>n + 1</math> jest liczbą złożoną wtedy, <math>n + 1 = a b</math>, gdzie <math>1 < a, b < n + 1</math>; zatem na podstawie założenia indukcyjnego liczby <math>a</math> i <math>b</math> są liczbami pierwszymi lub iloczynami liczb pierwszych, czyli <math>n + 1 = a b</math> jest iloczynem liczb pierwszych.
 
  
 
Co należało pokazać.<br/>
 
Co należało pokazać.<br/>
Linia 385: Linia 297:
  
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C20 (Euklides, IV w. p.n.e.)</span><br/>
+
<span id="H14" style="font-size: 110%; font-weight: bold;">Twierdzenie H14</span><br/>
Istnieje nieskończenie wiele liczb pierwszych.
+
Jeżeli dodatnie liczby <math>a, b</math> są względnie pierwsze, to każdy dzielnik <math>d</math> iloczynu <math>a b</math> można przedstawić jednoznacznie w&nbsp;postaci <math>d = d_1 d_2</math>, gdzie <math>d_1 \mid a ,</math> <math>\; d_2 \mid b \;</math> <math>\text{i} \; \gcd (d_1, d_2) = 1</math>.
  
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
Przypuśćmy, że istnieje jedynie skończona ilość liczb pierwszych <math>p_1, p_2, \ldots, p_n</math> . Wtedy liczba <math>a = p_1 \cdot p_2 \cdot \ldots \cdot p_n + 1</math> jest większa od jedności i&nbsp;z&nbsp;twierdzenia C19 wynika, że posiada dzielnik będący liczbą pierwszą, ale jak łatwo zauważyć żadna z&nbsp;liczb pierwszych <math>p_1, p_2, \ldots, p_n</math> nie jest dzielnikiem liczby <math>a</math>. Zatem istnieje liczba pierwsza <math>p</math> będąca dzielnikiem pierwszym liczby <math>a</math> i&nbsp;różna od każdej z&nbsp;liczb <math>p_1, p_2, \ldots, p_n</math>. Co kończy dowód.<br/>
+
Niech <math>d_1 = \gcd (d, a) \;</math> i <math>\; d_2 = \gcd (d, b)</math>. Z&nbsp;twierdzenia [[#H8|H8]] mamy
&#9633;
 
{{\Spoiler}}
 
  
 +
::<math>d_1 d_2 = \gcd (d, a) \cdot \gcd (d, b) = \gcd (d, a b) = d</math>
  
 +
Bo z&nbsp;założenia <math>d \mid a b</math>. Z&nbsp;definicji największego wspólnego dzielnika i&nbsp;zadania [[#H3|H3]] dostajemy
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C21</span><br/>
+
::<math>\gcd (d_1, d_2) = e \qquad \Longrightarrow \qquad e \mid d_1 \quad \text{i} \quad e \mid d_2</math>
Jeżeli liczba naturalna <math>n</math> jest postaci <math>4 k + 3</math><ref name="LiczbaJestPostaci"/>, to ma dzielnik postaci <math>4 k + 3</math> będący liczbą pierwszą.
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
::::::::<math>\, \Longrightarrow \qquad e \mid \gcd (d, a) \quad \text{i} \quad e \mid \gcd (d, b)</math>
Jeżeli <math>n</math> jest liczbą pierwszą, to twierdzenie jest dowiedzione. Zbadajmy zatem sytuację gdy <math>n</math> jest liczbą złożoną. Z&nbsp;założenia <math>n</math> jest liczbą nieparzystą, zatem możliwe są trzy typy iloczynów
 
  
::<math>(4 a + 1) (4 b + 1) = 16 a b + 4 a + 4 b + 1 = 4 (4 a b + a + b) + 1</math>
+
::::::::<math>\, \Longrightarrow \qquad e \mid a \quad \text{i} \quad e \mid b</math>
  
::<math>(4 a + 1) (4 b + 3) = 16 a b + 12 a + 4 b + 3 = 4 (4 a b + 3 a + b) + 3</math>
+
::::::::<math>\, \Longrightarrow \qquad e \mid \gcd (a, b)</math>
  
::<math>(4 a + 3) (4 b + 3) = 16 a b + 12 a + 12 b + 9 = 4 (4 a b + 3 a + 3 b + 2) + 1</math>
+
::::::::<math>\, \Longrightarrow \qquad \gcd (a, b) \geqslant e</math>
  
Widzimy, że liczba złożona postaci <math>4 k + 3</math> jest iloczynem liczb postaci <math>4 k + 1</math> i <math>4 k + 3</math>. Wynika stąd natychmiast, że liczba złożona postaci <math>4 k + 3</math> posiada dzielnik postaci <math>4 k + 3</math>. Niech <math>q</math> oznacza najmniejszy dzielnik liczby <math>n</math> postaci <math>4 k + 3</math>. Pokażemy, że <math>q</math> jest liczbą pierwszą. Istotnie, gdyby <math>q</math> była liczbą złożoną, to miałaby dzielnik <math>d</math> postaci <math>4 k + 3</math> i&nbsp;byłoby <math>d < q</math>, wbrew założeniu, że <math>q</math> jest najmniejszym dzielnikiem liczby <math>n</math> postaci <math>4 k + 3</math>. Co kończy dowód.<br/>
+
Gdyby było <math>\gcd (d_1, d_2) = e > 1</math>, to mielibyśmy <math>\gcd (a, b) \geqslant e > 1</math>. Wbrew założeniu, że <math>\gcd (a, b) = 1</math>. Co kończy dowód.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 413: Linia 323:
  
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C22</span><br/>
+
<span id="H15" style="font-size: 110%; font-weight: bold;">Twierdzenie H15</span><br/>
Istnieje nieskończenie wiele liczb pierwszych postaci <math>4 k + 3</math>.
+
Jeżeli <math>a, m, n \in \mathbb{Z}_+</math>, to
 +
 
 +
::<math>\gcd (a^m - 1, a^n - 1) = a^{\gcd (m, n)} - 1</math>
  
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
Przypuśćmy, że istnieje tylko skończona ilość liczb pierwszych postaci <math>4 k + 3</math>. Niech będą to liczby <math>p_1, \ldots, p_s</math>. Liczba
+
Pokażemy najpierw, że jeżeli <math>d</math> jest dzielnikiem lewej strony dowodzonej równości, to jest również dzielnikiem prawej strony i&nbsp;odwrotnie.
  
::<math>M = 4 p_1 \cdot \ldots \cdot p_s - 1 = 4 (p_1 \cdot \ldots \cdot p_s - 1) + 3</math>
+
<math>\Large{\Longrightarrow}</math>
  
jest postaci <math>4 k + 3</math> i&nbsp;jak wiemy z&nbsp;twierdzenia C21, ma dzielnik pierwszy <math>q</math> postaci <math>4 k + 3</math>. Ale jak łatwo zauważyć, żadna z&nbsp;liczb <math>p_1, \ldots, p_s</math> nie dzieli liczby <math>M</math>. Zatem istnieje liczba pierwsza <math>q</math> postaci <math>4 k + 3</math> różna od każdej z&nbsp;liczb <math>p_1, p_2, \ldots, p_s</math>. Otrzymana sprzeczność kończy dowód.<br/>
+
Z założenia <math>d</math> jest dzielnikiem <math>\gcd (a^m - 1, a^n - 1)</math>, czyli <math>d \mid (a^m - 1) \;</math> i <math>\; d \mid (a^n - 1)</math>, co możemy zapisać w&nbsp;postaci
&#9633;
 
{{\Spoiler}}
 
  
 +
::<math>a^m \equiv 1 \!\! \pmod{d} \quad \qquad \text{oraz} \quad \qquad a^n \equiv 1 \!\! \pmod{d}</math>
  
 +
Z lematu Bézouta (zobacz C73) wiemy, że istnieją takie liczby <math>x, y</math>, że <math>\gcd (m, n) = m x + n y</math>. Łatwo znajdujemy, że
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C23</span><br/>
+
::<math>a^{\gcd (m, n)} \equiv a^{m x + n y} \equiv (a^m)^x \cdot (a^n)^y \equiv 1^x \cdot 1^y \equiv 1 \!\! \pmod{d}</math>
Jeżeli liczba naturalna <math>n</math> jest postaci <math>6 k + 5</math>, to ma dzielnik postaci <math>6 k + 5</math> będący liczbą pierwszą.
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
Czyli <math>d \, \biggr\rvert \left( a^{\gcd (m, n)} - 1 \right)</math>.
Jeżeli <math>n</math> jest liczbą pierwszą, to twierdzenie jest dowiedzione. Zbadajmy sytuację gdy <math>n</math> jest liczbą złożoną. Z&nbsp;twierdzenia C19 wiemy, że w&nbsp;tym przypadku liczba <math>n</math> będzie iloczynem liczb pierwszych. Zauważmy, że nieparzyste liczby pierwsze mogą być jedynie postaci <math>6 k + 1</math> lub <math>6 k + 5</math> (liczba <math>6 k + 3</math> jest liczbą złożoną). Ponieważ iloczyn liczb postaci <math>6 k + 1</math>
 
  
::<math>(6 a + 1) (6 b + 1) = 36 a b + 6 a + 6 b + 1 = 6 (6 a b + a + b) + 1</math>
+
<math>\Large{\Longleftarrow}</math>
  
jest liczbą postaci <math>6 k + 1</math>, to w&nbsp;rozkładzie liczby <math>n</math> na czynniki pierwsze musi pojawić się przynajmniej jeden czynnik postaci <math>6 k + 5</math>. Co kończy dowód.<br/>
+
Z założenia <math>d \, \biggr\rvert \left( a^{\gcd (m, n)} - 1 \right)</math>, czyli
&#9633;
 
{{\Spoiler}}
 
  
 +
::<math>a^{\gcd (m, n)} \equiv 1 \!\! \pmod{d}</math>
  
 +
Zatem
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C24</span><br/>
+
::<math>a^m \equiv \left[ a^{\gcd (m, n)} \right]^{\tfrac{m}{\gcd (m, n)}} \equiv 1 \!\! \pmod{d}</math>
Istnieje nieskończenie wiele liczb pierwszych postaci <math>6 k + 5</math>.
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
Podobnie otrzymujemy
Przypuśćmy, że istnieje tylko skończona ilość liczb pierwszych postaci <math>6 k + 5</math>. Niech będą to liczby <math>p_1, \ldots, p_s</math>. Liczba
 
  
::<math>M = 6 p_1 \cdot \ldots \cdot p_s - 1 = 6 (p_1 \cdot \ldots \cdot p_s - 1) + 5</math>
+
::<math>a^n \equiv 1 \!\! \pmod{d}</math>
  
jest postaci <math>6 k + 5</math> i&nbsp;jak wiemy z&nbsp;twierdzenia C23 ma dzielnik pierwszy <math>q</math> postaci <math>6 k + 5</math>. Ale jak łatwo zauważyć żadna z&nbsp;liczb <math>p_1, \ldots, p_s</math> nie dzieli liczby <math>M</math>. Zatem istnieje liczba pierwsza <math>q</math> postaci <math>6 k + 5</math> różna od każdej z&nbsp;liczb <math>p_1, p_2, \ldots, p_s</math>. Otrzymana sprzeczność kończy dowód.<br/>
+
Zatem <math>d</math> dzieli <math>a^m - 1 \;</math> i <math>\; a^n - 1</math>, czyli
&#9633;
 
{{\Spoiler}}
 
 
 
 
 
 
 
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C25</span><br/>
 
Istnieje nieskończenie wiele liczb pierwszych postaci <math>3 k + 2</math>.
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
::<math>d \mid \gcd (a^m - 1, a^n - 1)</math>
Jeżeli <math>k = 2 j</math> jest liczbą parzystą, to otrzymujemy ciąg liczb parzystych
 
  
::<math>3 k + 2 = 6 j + 2</math>
 
  
w którym jedynie liczba <math>2</math> jest liczbą pierwszą (dla <math>j = 0</math>).
+
W szczególności wynika stąd, że
  
Jeżeli <math>k = 2 j + 1</math> jest liczbą nieparzystą, to otrzymujemy ciąg liczb nieparzystych
+
:*&nbsp;&nbsp;&nbsp;<math>\gcd (a^m - 1, a^n - 1) \, \biggr\rvert \left( a^{\gcd (m, n)} - 1 \right)</math>
  
::<math>3 k + 2 = 3 (2 j + 1) + 2 = 6 j + 5</math>
+
:*&nbsp;&nbsp;&nbsp;<math>\left( a^{\gcd (m, n)} - 1 \right) \, \biggr\rvert \, \gcd (a^m - 1, a^n - 1)</math>
  
o którym wiemy, że zawiera nieskończenie wiele liczb pierwszych (zobacz twierdzenie C24). Zatem w&nbsp;ciągu arytmetycznym postaci <math>3 k + 2</math> występuje nieskończenie wiele liczb pierwszych.<br/>
+
Czyli <math>\left| \gcd (a^m - 1, a^n - 1) \right| = \left| a^{\gcd (m, n)} - 1 \right|</math>. Co kończy dowód.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 475: Linia 374:
  
  
<span style="font-size: 110%; font-weight: bold;">Uwaga C26</span><br/>
+
<span id="H16" style="font-size: 110%; font-weight: bold;">Uwaga H16</span><br/>
Zauważmy, że liczby postaci <math>2 k + 1</math> to wszystkie liczby nieparzyste dodatnie. Ponieważ wszystkie liczby pierwsze (poza liczbą <math>2</math>) są liczbami nieparzystymi, to wśród liczb postaci <math>2 k + 1</math> występuje nieskończenie wiele liczb pierwszych.
+
W dowodzie twierdzenia [[#H15|H15]] pominęliśmy milczeniem fakt, że jedna z&nbsp;liczb <math>x, y</math> może być (i często jest) ujemna. Choć rezultat jest prawidłowy, to nie wiemy, co oznacza zapis
  
Wszystkie omówione wyżej przypadki ciągów arytmetycznych: <math>2 k + 1</math>, <math>3 k + 2</math>, <math>4 k + 3</math> i <math>6 k + 5</math>, w&nbsp;których występuje nieskończona ilość liczb pierwszych są szczególnymi przypadkami udowodnionego w 1837 roku twierdzenia<br/>
+
::<math>a^{- 1000} \equiv 1^{- 10} \equiv 1 \!\! \pmod{d}</math>
  
 +
Omówimy ten problem w&nbsp;następnej sekcji. Zauważmy, wyprzedzając materiał, że z&nbsp;kongruencji
  
 +
::<math>a^m \equiv 1 \!\! \pmod{d} \quad \qquad \text{oraz} \quad \qquad a^n \equiv 1 \!\! \pmod{d}</math>
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C27* (Peter Gustav Lejeune Dirichlet, 1837)</span><br/>
+
wynika, że <math>\gcd (a, d) = 1</math> i&nbsp;liczba <math>a</math> ma element odwrotny modulo <math>d</math>.
Niech <math>a \in \mathbb{Z}_+</math> i <math>b \in \mathbb{Z}</math>. Jeżeli liczby <math>a</math> i <math>b</math> są względnie pierwsze, to w&nbsp;ciągu arytmetycznym <math>a k + b</math> występuje nieskończenie wiele liczb pierwszych.
 
  
  
  
<span style="font-size: 110%; font-weight: bold;">Uwaga C28</span><br/>
 
Dowód twierdzenia Dirichleta jest bardzo trudny. Natomiast bardzo łatwo można pokazać, że dowolny ciąg arytmetyczny <math>a k + b</math> zawiera nieskończenie wiele liczb złożonych. Istotnie, jeżeli liczby <math>a, b</math> nie są względnie pierwsze, to wszystkie wyrazy ciągu są liczbami złożonymi. Jeżeli <math>a, b</math> są względnie pierwsze i <math>b > 1 ,</math> to wystarczy przyjąć <math>k = b t</math>. Jeżeli są względnie pierwsze i <math>b = 1</math>, to wystarczy przyjąć <math>k = a t^2 + 2 t</math>, wtedy
 
  
::<math>a k + 1 = a^2 t^2 + 2 a t + 1 = (a t + 1)^2</math>
 
  
 +
== Element odwrotny modulo <math>m</math> ==
  
 +
<span id="H17" style="font-size: 110%; font-weight: bold;">Twierdzenie H17</span><br/>
 +
Niech <math>m \in \mathbb{Z}_+</math>. Dla liczby <math>a \in \mathbb{Z}</math> istnieje taka liczba <math>x</math>, że
  
<span style="font-size: 110%; font-weight: bold;">Uwaga C29</span><br/>
+
::<math>a x \equiv 1 \!\! \pmod{m}</math>
Wiemy już, że w przypadku gdy liczby <math>a</math> i <math>b</math> są względnie pierwsze, to w ciągu arytmetycznym <math>a k + b</math> występuje nieskończenie wiele liczb pierwszych. Pojawia się pytanie o to, czy możliwe jest oszacowanie najmniejszej liczby pierwszej <math>p</math> w takim ciągu. Jakkolwiek przypuszczamy, że prawdziwe jest oszacowanie <math>p < a^2</math>, to stan naszej obecnej wiedzy ujmuje twierdzenie Linnika<ref name="Linnik1"/><ref name="Linnik2"/><ref name="Linnik3"/><ref name="Linnik4"/>, które podajemy niżej. Trzeba było ponad pół wieku wysiłku wielu matematyków, aby pokazać, że w twierdzeniu Linnika możemy przyjąć <math>L = 5</math><ref name="Xylouris1"/>. Bombieri, Friedlander i Iwaniec udowodnili<ref name="Bombieri1"/>, że dla prawie wszystkich liczb <math>a</math> prawdziwe jest oszacowanie <math>L \leqslant 2</math>.
 
  
 +
wtedy i&nbsp;tylko wtedy, gdy <math>\gcd (a, m) = 1</math>.
  
 +
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C30* (Jurij Linnik, 1944)</span><br/> Niech <math>a, b \in \mathbb{Z}_+</math> i <math>p_{\min} (a, b)</math> oznacza najmniejszą liczbę pierwszą w ciągu arytmetycznym <math>a k + b</math>, gdzie <math>k \in \mathbb{Z}_+</math>. Jeżeli <math>\gcd (a, b) = 1</math> i <math>b \in [1, a - 1]</math>, to istnieją takie stałe <math>L > 0</math> i <math>a_0 \geqslant 2</math>, że dla wszystkich <math>a > a_0</math> prawdziwe jest oszacowanie
+
<math>\Large{\Longrightarrow}</math>
 
 
::<math>p_{\min} (a, b) < a^L</math>
 
  
 +
Z założenia istnieje taka liczba <math>x</math>, że
  
 +
::<math>a x \equiv 1 \!\! \pmod{m}</math>
  
<span style="font-size: 110%; font-weight: bold;">Zadanie C31</span><br/>
+
Zatem dla pewnego <math>k \in \mathbb{Z}</math> jest
Pokazać, że z twierdzenia Linnika wynika istnienie takich stałych <math>c, L > 0</math>, że dla każdego <math>a \geqslant 2</math> prawdziwe jest oszacowanie
 
  
::<math>p(a) < c a^L</math>
+
::<math>a x = 1 + k m</math>
  
gdzie
+
Czyli <math>a x - k m = 1</math>. Wynika stąd, że <math>\gcd (a, m)</math> dzieli <math>1</math>, co oznacza, że <math>\gcd (a, m) = 1</math>.
  
::<math>p(a) = \underset{\gcd (a, b) = 1}{\max_{1 \leqslant b < a}} p_{\min} (a, b)</math>
+
<math>\Large{\Longleftarrow}</math>
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
+
Z założenia <math>\gcd (a, m) = 1</math>. Z&nbsp;lematu Bézouta (zobacz C73) wynika, że istnieją takie liczby całkowite <math>x, y</math>, że
Oszacowanie podane w twierdzeniu Linnika
 
  
::<math>p_{\min} (a, b) < a^L</math>
+
::<math>a x + m y = 1</math>
  
jest prawdziwe dla dowolnej liczby <math>b \in [1, a - 1]</math> względnie pierwszej z <math>a</math>. Jeżeli zdefiniujemy funkcję
+
Zatem modulo <math>m</math> dostajemy
  
::<math>p(a) = \underset{\gcd (a, b) = 1}{\max_{1 \leqslant b < a}} p_{\min} (a, b)</math>
+
::<math>a x \equiv 1 \!\! \pmod{m}</math>
  
to możemy zapisać twierdzenie Linnika tak, aby po lewej stronie nie występowała liczba <math>b</math>, co czyni zapis bardziej przejrzystym. Mamy
+
Co kończy dowód.<br/>
 
 
::<math>p(a) < a^L</math>
 
 
 
dla wszystkich <math>a > a_0</math>. Ponieważ dla <math>a \in [2, a_0]</math> funkcja <math>p(a)</math> przyjmuje wartości skończone, a dla <math>a > a_0</math> jest <math>p(a) < a^L</math>, to funkcja <math>{\small\frac{p (a)}{a^L}}</math> jest ograniczona od góry, czyli istnieje taka stała <math>c</math>, że
 
 
 
::<math>{\small\frac{p (a)}{a^L}} < c</math>
 
 
 
dla dowolnego <math>a \geqslant 2</math>. Co należało pokazać.<br/>
 
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 537: Linia 428:
  
  
<span style="font-size: 110%; font-weight: bold;">Przykład C32</span><br/>
+
<span id="H18" style="font-size: 110%; font-weight: bold;">Definicja H18</span><br/>
Pokazaliśmy (zobacz C31), że istnieją takie stałe <math>c, L > 0</math>, że dla każdego <math>a \geqslant 2</math> prawdziwe jest oszacowanie
+
Niech <math>m \in \mathbb{Z}_+</math>. Liczbę <math>x</math> taką, że
 
 
::<math>p(a) < c a^L</math>
 
  
gdzie
+
::<math>a \cdot x \equiv 1 \!\! \pmod{m}</math>
  
::<math>p(a) = \underset{\gcd (a, b) = 1}{\max_{1 \leqslant b < a}} p_{\min} (a, b)</math>
+
będziemy nazywali elementem odwrotnym liczby <math>a</math> modulo <math>m</math> i&nbsp;oznaczali jako <math>a^{- 1}</math>.
  
  
Ponieważ <math>p(a) > a</math>, to prawdziwy jest ciąg nierówności
 
  
::<math>1 < {\small\frac{\log p (a)}{\log a}} < {\small\frac{\log c}{\log a}} + L \leqslant \left| {\small\frac{\log c}{\log a}} \right| +
+
<span id="H19" style="font-size: 110%; font-weight: bold;">Uwaga H19</span><br/>
 +
Oznaczenie elementu odwrotnego ma naturalne uzasadnienie. Zauważmy, że jeżeli <math>b \mid a</math> oraz <math>b</math> ma element odwrotny modulo <math>m</math>, to prawdziwa jest kongruencja
  
L \leqslant {\small\frac{\left| \log c \right|}{\log 2}} + L</math>
+
::<math>{\small\frac{a}{b}} \equiv a b^{- 1} \!\! \pmod{m}</math>
  
Wynika stąd, że dla <math>a \geqslant 2</math> funkcja <math>{\small\frac{\log p (a)}{\log a}}</math> jest ograniczona.
+
Istotnie
  
 +
::<math>{\small\frac{a}{b}} = {\small\frac{a}{b}} \cdot 1 \equiv {\small\frac{a}{b}} \cdot b b^{- 1} \equiv a b^{- 1} \!\! \pmod{m}</math>
  
Na zamieszczonym niżej obrazku przedstawiono pierwszych czternaście punktów funkcji <math>{\small\frac{\log p (a)}{\log a}}</math>. Ze względu na skokowy charakter zmian tej funkcji najwygodniej będzie przedstawić jej wykres, pokazując jedynie jej maksymalne i minimalne wartości w wybranych podprzedziałach <math>\mathbb{Z}_+</math>. Mówiąc precyzyjnie, zamieszczone zostały wykresy funkcji
+
W PARI/GP odwrotność liczby <math>a</math> modulo <math>m</math> znajdujemy, wpisując <code>Mod(a, m)^(-1)</code>.
  
::<math>f(t) = \max_{2^t \leqslant a < 2^{t + 1}} {\small\frac{\log p (a)}{\log a}} \qquad \qquad \qquad \qquad g(t) = \min_{2^t \leqslant a < 2^{t + 1}} {\small\frac{\log p (a)}{\log a}} \qquad \qquad \qquad \qquad h(a) = 1 + {\small\frac{2 \log \log a}{\log a}}</math>
 
  
gdzie <math>t \in \mathbb{Z}_+</math>.
 
  
::[[File: Linnik-22.png|950px|none]]
+
<span id="H20" style="font-size: 110%; font-weight: bold;">Twierdzenie H20</span><br/>
 +
Niech <math>a, k \in \mathbb{Z}</math>, <math>m \in \mathbb{Z}_+</math>. Poniższa tabelka przedstawia elementy odwrotne do elementu <math>a</math> w&nbsp;przypadku niektórych modułów <math>m</math>. W&nbsp;szczególności, jeżeli moduł <math>m</math> jest liczbą nieparzystą, to <math>2^{- 1} \equiv {\small\frac{m + 1}{2}} \!\! \pmod{m}</math>.
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Pokaż kod i dane do wykresu|Hide=Ukryj kod i dane do wykresu}}
+
::{| class="wikitable plainlinks"  style="font-size: 90%; text-align: center; margin-right: auto;"
W tabeli przedstawiamy dane, na podstawie których sporządziliśmy zamieszczony wyżej wykres. Mamy kolejno
 
:* przedział <math>U</math>
 
:* minimalną wartość <math>{\small\frac{\log p(a)}{\log a}}</math> w przedziale <math>U</math>
 
:* liczbę <math>a</math>, która odpowiada minimalnej wartości <math>{\small\frac{\log p(a)}{\log a}}</math>
 
:* wartość <math>p(a) = \underset{\gcd (a, b) = 1}{\max_{1 \leqslant b < a}} p_{\min} (a, b)</math>
 
:* liczbę <math>b</math> taką, że najmniejsza liczba pierwsza w ciągu <math>a k + b</math> jest równa <math>p ( a )</math>
 
 
 
Następnie podajemy analogiczne wartości dla maksymalnej wartości <math>{\small\frac{\log p(a)}{\log a}}</math> w przedziale <math>U</math>. Pominęliśmy dane dla początkowych przedziałów <math>[2^{n},2^{n + 1})</math>, ponieważ Czytelnik z łatwością policzy je samodzielnie. Prosty kod do obliczeń w PARI/GP zamieściliśmy pod tabelą.
 
 
 
::{| class="wikitable plainlinks"  style="font-size: 85%; text-align: right; margin-right: auto;"
 
|-
 
! <math>\boldsymbol{U}</math> || <math>\boldsymbol{\min_{a \in U} {\small\frac{\log p(a)}{\log a}}}</math> || <math>\boldsymbol{a}</math> || <math>\boldsymbol{p(a)}</math> || <math>\boldsymbol{b}</math> || <math>\boldsymbol{\max_{a \in U} {\small\frac{\log p(a)}{\log a}}}</math> || <math>\boldsymbol{a}</math> || <math>\boldsymbol{p(a)}</math> || <math>\boldsymbol{b}</math>
 
|-
 
| <math>[2^{12},2^{13})</math> || <math>1.273691</math> || <math>6840</math> || <math>76679</math> || <math>1439</math> || <math>1.574826</math> || <math>4177</math> || <math>503771</math> || <math>2531</math>
 
|-
 
| <math>[2^{13},2^{14})</math> || <math>1.265227</math> || <math>14490</math> || <math>183949</math> || <math>10069</math> || <math>1.551307</math> || <math>8941</math> || <math>1348387</math> || <math>7237</math>
 
 
|-
 
|-
| <math>[2^{14},2^{15})</math> || <math>1.257880</math> || <math>20790</math> || <math>269987</math> || <math>20507</math> || <math>1.519764</math> || <math>22133</math> || <math>4012709</math> || <math>6636</math>
+
|| postać <br/> modułu <math>\boldsymbol{m}</math> || odwrotność <br/> elementu <math>\boldsymbol{a}</math> || uwagi
 
|-
 
|-
| <math>[2^{15},2^{16})</math> || <math>1.247285</math> || <math>39270</math> || <math>537157</math> || <math>26647</math> || <math>1.500736</math> || <math>40951</math> || <math>8352037</math> || <math>38984</math>
+
| <math>1.</math> || <math>m = 2</math> || <math>1</math> || rowspan = 3 | liczba <math>a</math> <br/> jest liczbą <br/> nieparzystą
 
|-
 
|-
| <math>[2^{16},2^{17})</math> || <math>1.244884</math> || <math>106260</math> || <math>1808207</math> || <math>1787</math> || <math>1.477806</math> || <math>84229</math> || <math>19005359</math> || <math>53834</math>
+
| <math>2.</math> || <math>m = 4</math> || <math>R_4(a)</math>
 
|-
 
|-
| <math>[2^{17},2^{18})</math> || <math>1.243658</math> || <math>150150</math> || <math>2740469</math> || <math>37769</math> || <math>1.474387</math> || <math>132331</math> || <math>35588503</math> || <math>123795</math>
+
| <math>3.</math> || <math>m = 8</math> || <math>R_8(a)</math>
 
|-
 
|-
| <math>[2^{18},2^{19})</math> || <math>1.233771</math> || <math>510510</math> || <math>11024723</math> || <math>304013</math> || <math>1.457138</math> || <math>297491</math> || <math>94537921</math> || <math>233274</math>
+
| <math>4.</math> || <math>m = a k - 1</math> || <math>{\small\frac{m + 1}{a}}</math> || <math></math>
 
|-
 
|-
| <math>[2^{19},2^{20})</math> || <math>1.233150</math> || <math>1021020</math> || <math>25706531</math> || <math>181031</math> || <math>1.437418</math> || <math>596081</math> || <math>200230391</math> || <math>543256</math>
+
| <math>5.</math> || <math>m = a k + 1</math> || <math>- {\small\frac{m - 1}{a}}</math> || <math></math>
 
|-
 
|-
| <math>[2^{20},2^{21})</math> || <math>1.231259</math> || <math>2072070</math> || <math>59859383</math> || <math>1841423</math> || <math>1.419752</math> || <math>1181311</math> || <math>418069567</math> || <math>1066784</math>
+
| <math>6.</math> || <math>m = a k - 2</math> || <math>{\small\frac{m + 1}{2}} \cdot {\small\frac{m + 2}{a}}</math> || rowspan = 2 | liczby <math>a , m</math> <br/> są liczbami <br/> nieparzystymi
 
|-
 
|-
| <math>[2^{21},2^{22})</math> || <math>1.224444</math> || <math>3543540</math> || <math>104573173</math> || <math>1810513</math> || <math>1.405843</math> || <math>2753747</math> || <math>1131160207</math> || <math>2123937</math>
+
| <math>7.</math> || <math>m = a k + 2</math> || <math>{\small\frac{m - 1}{2}} \cdot {\small\frac{m - 2}{2}}</math>  
 
|}
 
|}
  
<span style="font-size: 90%; color:black;">pmin(a, b) =
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
\\ zwraca najmniejszą liczbę pierwszą w ciągu a*k + b, gdzie k >= 1 i gcd(a, b) = 1
 
{
 
'''local'''(k, p);
 
k = 1;
 
p = a*k + b;
 
'''while'''( !'''isprime'''(p), p = a*(k++) + b );
 
'''return'''(p);
 
}</span>
 
  
<span style="font-size: 90%; color:black;">PMAX(a) =
+
'''Punkty 1. - 3.'''
\\ zwraca największą ze wszystkich najmniejszych liczb pierwszych
 
\\ w ciągach a*k + b, gdzie k >= 1, 0 < b < a i gcd(a, b) = 1
 
{
 
'''local'''(b, p, w);
 
w = [0, 0];
 
b = 0;
 
'''while'''( b++ < a,
 
        '''if'''( '''gcd'''(a, b) > 1, '''next'''() );
 
        p = pmin(a, b);
 
        '''if'''( w[1] < p, w = [p, b] );
 
      );
 
'''return'''(w);
 
}</span>
 
  
<span style="font-size: 90%; color:black;">Linnik(n) =
+
Ponieważ dla liczb nieparzystych jest
\\ n >= 1, sprawdzamy przedział U = [ 2^n , 2^(n + 1) ), czyli  2^n <= a < 2^(n+1)
 
{
 
'''local'''(a, b, p4a, sep, txt, w, y, Ymin, Ymax);
 
sep = ", "; \\ separator
 
Ymin = [100, 1, 0, 0]; \\ najmniejsza wartość funkcji log( p(a) ) / log(a) w przedziale U
 
Ymax = [0, 1, 0, 0]; \\ największa wartość funkcji log( p(a) ) / log(a) w przedziale U
 
a = 2^n - 1;
 
'''while'''( a++ < 2^(n+1),
 
        w = PMAX(a);
 
        p4a = w[1];
 
        b = w[2];
 
        y = '''log'''(p4a) / '''log'''(a);
 
        if( y < Ymin[1], Ymin = [y, a, p4a, b] );
 
        if( y > Ymax[1], Ymax = [y, a, p4a, b] );
 
      );
 
txt = '''Str'''(n, sep, Ymin[1], sep, Ymin[2], sep, Ymin[3], sep, Ymin[4], sep, Ymax[1], sep, Ymax[2], sep, Ymax[3], sep, Ymax[4]);
 
'''print'''(txt);
 
}</span>
 
{{\Spoiler}}
 
  
Przypuszczamy, że prawdziwe jest znacznie silniejsze oszacowanie najmniejszej liczby pierwszej w ciągu arytmetycznym<ref name="Turan1"/><ref name="Wagstaff1"/>
+
::<math>a^2 \equiv 1 \!\! \pmod{2}</math>
  
::<math>p(a) \sim a \log^2 \! a</math>
+
::<math>a^2 \equiv 1 \!\! \pmod{4}</math>
  
W takim przypadku mielibyśmy
+
::<math>a^2 \equiv 1 \!\! \pmod{8}</math>
  
::<math>{\small\frac{\log p (a)}{\log a}} \sim 1 + {\small\frac{2 \log \log a}{\log a}}</math>
+
to liczba nieparzysta <math>a</math> jest swoją odwrotnością modulo <math>2</math>, <math>4</math> i <math>8</math>. Ponieważ element odwrotny jest definiowany modulo, zatem możemy napisać
  
Rzeczywiście, porównanie wykresów funkcji <math>f(t)</math> i <math>h(a)</math> wydaje się potwierdzać to przypuszczenie dla <math>a \in [2, 2^{22}]</math>.
+
::<math>a^{- 1} \equiv R_2 (a) \!\! \pmod{2}</math>
  
 +
::<math>a^{- 1} \equiv R_4 (a) \!\! \pmod{4}</math>
  
 +
::<math>a^{- 1} \equiv R_8 (a) \!\! \pmod{8}</math>
  
W tabeli zestawiliśmy wszystkie wartości funkcji <math>{\small\frac{\log p (a)}{\log a}}</math> większe od <math>1.75</math> dla <math>a \in [2, 2^{22}]</math>
+
W pierwszym przypadku wynik jest oczywisty, bo <math>R_2 (a) = 1</math>.
 
 
::{| class="wikitable plainlinks"  style="font-size: 80%; text-align: center; margin-right: auto;"
 
|-
 
! <math>\boldsymbol{a}</math> || <math>\boldsymbol{\log_2 \! a}</math> || <math>\boldsymbol{p(a)}</math> || <math>\boldsymbol{{\small\frac{\log p(a)}{\log a}}}</math>
 
|-
 
| <math>31</math> || <math>4.95</math> || <math>577</math> || <math>1.851446</math>
 
|-
 
| <math>5</math> || <math>2.32</math> || <math>19</math> || <math>1.829482</math>
 
|-
 
| <math>13</math> || <math>3.70</math> || <math>103</math> || <math>1.806947</math>
 
|-
 
| <math>47</math> || <math>5.55</math> || <math>967</math> || <math>1.785437</math>
 
|-
 
| <math>19</math> || <math>4.24</math> || <math>191</math> || <math>1.783794</math>
 
|-
 
| <math>61</math> || <math>5.93</math> || <math>1511</math> || <math>1.780771</math>
 
|-
 
| <math>11</math> || <math>3.46</math> || <math>71</math> || <math>1.777675</math>
 
|-
 
| <math>3</math> || <math>1.58</math> || <math>7</math> || <math>1.771243</math>
 
|}
 
  
 +
'''Punkt 4.'''
  
 +
Zauważmy, że
  
Rozważmy zbiór <math>S</math> takich liczb <math>a</math>, że prawdziwe jest oszacowanie <math>p (a) < a \log^2 \! a</math>. Bez trudu możemy podać przykłady takich liczb, ale nie wiemy, czy jest ich nieskończenie wiele.
+
::<math>\gcd (a, m) = \gcd (a, a k - 1) = \gcd (a, - 1) = 1</math>
  
::{| class="wikitable plainlinks"  style="font-size: 80%; text-align: center; margin-right: auto;"
+
oraz <math>a \mid (m + 1)</math>. Zatem
|-
 
! <math>\boldsymbol{n}</math> || <math>\boldsymbol{a=p_1 \cdot \ldots \cdot p_n}</math> || <math>\boldsymbol{\log_2 \! a}</math> || <math>\boldsymbol{p(a)}</math> || <math>\boldsymbol{{\small\frac{a \log^2 \! a}{p(a)}}}</math> || <math>\boldsymbol{{\small\frac{\log p(a)}{\log a}}}</math>
 
|-
 
| <math>2</math> || <math>6</math> || <math>2.584</math> || <math>11</math> || <math>1.751</math> || <math>1.338290</math>
 
|-
 
| <math>3</math> || <math>30</math> || <math>4.906</math> || <math>79</math> || <math>4.392</math> || <math>1.284679</math>
 
|-
 
| <math>4</math> || <math>210</math> || <math>7.714</math> || <math>761</math> || <math>7.889</math> || <math>1.240789</math>
 
|-
 
| <math>5</math> || <math>2310</math> || <math>11.173</math> || <math>20477</math> || <math>6.766</math> || <math>1.281737</math>
 
|-
 
| <math>6</math> || <math>30030</math> || <math>14.874</math> || <math>520547</math> || <math>6.132</math> || <math>1.276692</math>
 
|-
 
| <math>7</math> || <math>510510</math> || <math>18.961</math> || <math>11024723</math> || <math>7.999</math> || <math>1.233770</math>
 
|-
 
| <math>8</math> || <math>9699690</math> || <math>23.209</math> || <math>375095881</math> || <math>6.692</math> || <math>1.227199</math>
 
|-
 
| <math>9</math> || <math>223092870</math> || <math>27.733</math> || <math>11799966613</math> || <math>6.986</math> || <math>1.206432</math>
 
|-
 
| <math>10</math> || <math>6469693230</math> || <math>32.591</math> || <math>451404994867</math> || <math>7.314</math> || <math>1.187922</math>
 
|-
 
| <math>11</math> || <math>200560490130</math> || <math>37.545</math> || <math>19822720510961</math> || <math>6.852</math> || <math>1.176506</math>
 
|-
 
| <math>12</math> || <math>7420738134810</math> || <math>42.754</math> || <math></math> || <math></math> || <math></math>
 
|}
 
  
 +
::<math>a \cdot a^{- 1} = a \cdot {\small\frac{m + 1}{a}} = m + 1 \equiv 1 \!\! \pmod{m}</math>
  
Ponieważ <math>p(a) > a</math>, to prawdziwy jest układ nierówności
+
'''Punkt 5.'''
  
::<math>1 < {\small\frac{\log p (a)}{\log a}} < 1 + {\small\frac{2 \log \log a}{\log a}}</math>
+
Zauważmy, że
  
Jeżeli zbiór <math>S</math> jest nieskończony, to z twierdzenia o trzech ciągach otrzymujemy
+
::<math>\gcd (a, m) = \gcd (a, a k + 1) = \gcd (a, 1) = 1</math>
  
::<math>\underset{a \in S}{\lim_{a \rightarrow \infty}} {\small\frac{\log p (a)}{\log a}} = 1</math>
+
oraz <math>a \mid (m - 1)</math>. Zatem
  
W konsekwencji wykres funkcji
+
::<math>a \cdot a^{- 1} = a \cdot \left[ - \left( {\small\frac{m - 1}{a}} \right) \right] = - m + 1 \equiv 1 \!\! \pmod{m}</math>
  
::<math>g(t) = \underset{2^t \leqslant a < 2^{t + 1}}{\min}  {\small\frac{\log p (a)}{\log a}}</math>
+
'''Punkt 6.'''
  
będzie opadał ku prostej <math>y = 1</math>.
+
Ponieważ zakładamy, że <math>2 \mid (m + 1)</math>, to <math>m</math> musi być liczbą nieparzystą, czyli <math>a</math> też musi być liczbą nieparzystą. Zauważmy, że
  
 +
::<math>\gcd (a, m) = \gcd (a, a k - 2) = \gcd (a, - 2) = 1</math>
  
 +
oraz <math>a \mid (m + 2)</math>. Zatem
  
<span style="font-size: 110%; font-weight: bold;">Zadanie C33</span><br/>
+
::<math>a \cdot a^{- 1} = a \cdot \left( {\small\frac{m + 1}{2}} \cdot {\small\frac{m + 2}{a}} \right) = {\small\frac{m + 1}{2}} \cdot (m + 2) \equiv {\small\frac{m + 1}{2}} \cdot 2 \equiv m + 1 \equiv 1 \!\! \pmod{m}</math>
Pokazać, że istnieje nieskończenie wiele liczb pierwszych zakończonych cyframi 99, przykładowo 199, 499, 599, 1399, 1499, ...
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
+
Podobnie pokazujemy punkt 7. Co kończy dowód.<br/>
Wszystkie liczby naturalne zakończone cyframi <math>99</math> możemy zapisać w&nbsp;postaci <math>a_n = 100 k + 99</math>, gdzie <math>k \in \mathbb{N}</math>. Ponieważ ciąg <math>(a_n)</math> jest ciągiem arytmetycznym, a&nbsp;liczby <math>99</math> i <math>100</math> są względnie pierwsze, to na podstawie twierdzenia Dirichleta stwierdzamy, że istnieje nieskończenie wiele liczb pierwszych zakończonych cyframi <math>99</math>.<br/>
 
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 738: Linia 530:
  
  
<span style="font-size: 110%; font-weight: bold;">Definicja C34</span><br/>
+
<span id="H21" style="font-size: 110%; font-weight: bold;">Twierdzenie H21</span><br/>
Niech <math>a \geqslant 2</math> będzie liczbą całkowitą. Wartość funkcji <math>\pi(n; a, b)</math> jest równa ilości liczb pierwszych nie większych od <math>n</math>, które przy dzieleniu przez <math>a</math> dają resztę <math>b</math>.
+
Niech <math>a, b \in \mathbb{Z}</math>, <math>m \in \mathbb{Z}_+</math> i&nbsp;liczba <math>a</math> ma element odwrotny modulo <math>m</math>. Jeżeli liczby <math>u_1, u_2, \ldots, u_r</math> są liczbami różnymi modulo <math>m</math>, to liczby
  
 +
::1.&nbsp;&nbsp;&nbsp;<math>a u_1, a u_2, \ldots, a u_r</math>
  
 +
::2.&nbsp;&nbsp;&nbsp;<math>a u_1 + b, a u_2 + b, \ldots, a u_r + b</math>
  
<span style="font-size: 110%; font-weight: bold;">Uwaga C35</span><br/>
+
liczbami różnymi modulo <math>m</math>. Jeżeli ponadto liczby <math>u_1, u_2, \ldots, u_r</math> są względnie pierwsze z <math>m</math>, to również liczby
Zauważmy, że w&nbsp;twierdzeniu Dirichleta na liczby <math>a</math> oraz <math>b</math> nałożone minimalne warunki: <math>a \in \mathbb{Z}_+</math> i <math>b \in \mathbb{Z}</math>. Sytuacja w&nbsp;przypadku funkcji <math>\pi (n ; a, b)</math> jest odmienna – tutaj mamy <math>a \geqslant 2</math> oraz <math>0 \leqslant b \leqslant a - 1</math>. Jest tak dlatego, że podział liczb pierwszych, który odzwierciedla funkcja <math>\pi (n ; a, b)</math> jest podziałem pierwotnym, a&nbsp;twierdzenie Dirichleta jest tylko jego uzasadnieniem. Podział
 
liczb pierwszych musi być też precyzyjnie określony, tak aby zachodził naturalny związek
 
  
::<math>\sum_{b = 0}^{a - 1} \pi (n ; a, b) = \pi (n)</math>
+
::3.&nbsp;&nbsp;&nbsp;<math>u^{- 1}_1, u^{- 1}_2, \ldots, u^{- 1}_r</math>
  
Oczywiście nie przeszkadza to w&nbsp;liczeniu liczb pierwszych w&nbsp;dowolnym ciągu arytmetycznym. Niech na przykład
+
są liczbami różnymi modulo <math>m</math>.
  
::<math>u_k = 7 k + 101 = 7 (k + 14) + 3 \qquad</math> gdzie <math>k = 0, 1, \ldots</math>
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
  
Ilość liczb pierwszych w&nbsp;ciagu <math>(u_k)</math> jest równa
+
'''Punkt 1.'''
 
 
::<math>\pi (n ; 7, 3) - \pi (7 \cdot 13 + 3 ; 7, 3) = \pi (n ; 7, 3) - 5</math>
 
 
 
 
 
 
 
<span style="font-size: 110%; font-weight: bold;">Zadanie C36</span><br/>
 
Pokazać, że dla dowolnej liczby całkowitej <math>m \geqslant 1</math>
 
 
 
* wśród liczb naturalnych zawsze można wskazać <math>m</math> kolejnych liczb, które są złożone
 
* w&nbsp;ciągu arytmetycznym <math>a k + b</math>, gdzie liczby <math>a</math> i <math>b</math> są względnie pierwsze, zawsze można wskazać <math>m</math> kolejnych wyrazów, które są złożone
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
+
Przypuśćmy dla uzyskania sprzeczności, że istnieją takie różne wskaźniki <math>i, j</math>, że
'''Punkt 1.'''<br/>
 
W przypadku liczb naturalnych, łatwo widzimy, że kolejne liczby
 
  
::<math>(m + 1) ! + 2, \quad (m + 1) ! + 3, \quad \ldots, \quad (m + 1) ! + (m + 1)</math>
+
::<math>a u_i \equiv a u_j \!\! \pmod{m}</math>
  
są liczbami złożonymi. Co oznacza, że dla dowolnej liczby naturalnej <math>m</math> zawsze możemy wskazać taką liczbę <math>n</math>, że <math>p_{n + 1} - p_n > m</math>.
+
Z założenia liczba <math>a</math> ma element odwrotny modulo <math>m</math>, zatem mnożąc obie strony kongruencji przez <math>a^{- 1}</math>, otrzymujemy
  
'''Punkt 2.'''<br/>
+
::<math>u_i \equiv u_j \!\! \pmod{m}</math>
W przypadku ciągu arytmetycznego <math>u_k = a k + b</math> rozważmy kolejne wyrazy ciągu począwszy od wskaźnika
 
  
::<math>k_0 = \prod^{m - 1}_{j = 0} (a j + b)</math>
+
dla <math>i \neq j</math>, wbrew założeniu, że liczby <math>u_1, u_2, \ldots, u_r</math> są różne modulo <math>m</math>. Dowód punktu 2. jest analogiczny.
  
Łatwo zauważamy, że dla <math>k = k_0, k_0 + 1, \ldots, k_0 + (m - 1)</math> wyrazy ciągu arytmetycznego <math>u_k = a k + b</math> są liczbami złożonymi. Istotnie, niech <math>t = 0, 1, \ldots, m - 1</math> wtedy
+
'''Punkt 3.'''
  
::<math>u_k = a k + b =</math>
+
Przypuśćmy dla uzyskania sprzeczności, że istnieją takie różne wskaźniki <math>i, j</math>, że
  
:::<math>\! = a (k_0 + t) + b =</math>
+
::<math>u^{- 1}_i \equiv u^{- 1}_j \!\! \pmod{m}</math>
  
:::<math>\! = a k_0 + (a t + b) =</math>
+
::<math>u_j u^{- 1}_i \equiv 1 \!\! \pmod{m}</math>
  
:::<math>\! = a \prod^{m - 1}_{j = 0} (a j + b) + (a t + b)</math>
+
::<math>u_j u^{- 1}_i u_i \equiv u_i \!\! \pmod{m}</math>
  
i liczba <math>a t + b</math> dzieli iloczyn <math>\prod^{m - 1}_{j = 0} (a j + b)</math> dla <math>t = 0, \ldots, m - 1</math>. Co należało pokazać.
+
::<math>u_j \equiv u_i \!\! \pmod{m}</math>
  
Wiemy, że jeżeli liczby <math>a</math> i <math>b</math> są względnie pierwsze, to w&nbsp;ciągu <math>a k + b</math> występuje nieskończenie wiele liczb pierwszych. Niech będą to liczby <math>q_1, q_2, \ldots, q_r, \ldots</math>. Uzyskany rezultat oznacza, że dla dowolnej liczby naturalnej <math>m</math> zawsze możemy wskazać taką liczbę <math>n</math>, że <math>q_{n + 1} - q_n \geqslant a (m + 1)</math><br/>
+
Ponownie otrzymujemy <math>u_i \equiv u_j \!\! \pmod{m}</math> dla <math>i \neq j</math>, wbrew założeniu, że liczby <math>u_1, u_2, \ldots, u_r</math> są różne modulo <math>m</math>. Co należało pokazać.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 796: Linia 575:
  
  
<span style="font-size: 110%; font-weight: bold;">Przykład C37</span><br/>
+
<span id="H22" style="font-size: 110%; font-weight: bold;">Zadanie H22</span><br/>
Rozważmy ciąg arytmetyczny <math>u_k = 3 k + 2</math> i&nbsp;wskaźnik
+
Niech <math>p</math> będzie liczbą pierwszą. Pokazać, że dla <math>k \in [0, p - 1]</math> prawdziwa jest kongruencja
  
::<math>k_0 = \prod^{12}_{j = 0} (3 j + 2) = 3091650738176000</math>
+
::<math>\binom{p - 1}{k} \equiv (- 1)^k \pmod{p}</math>
  
Trzynaście wyrazów tego szeregu dla <math>k = k_0 + t</math>, gdzie <math>t = 0, 1, \ldots, 12</math> to oczywiście liczby złożone, ale wyrazy dla <math>k = k_0 - 1</math> i <math>k = k_0 + 13</math> są liczbami pierwszymi.
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
 +
Zauważmy, że modulo <math>p</math> mamy
  
Przeszukując ciąg <math>u_k = 3 k + 2</math> możemy łatwo znaleźć, że pierwsze trzynaście kolejnych wyrazów złożonych pojawia się już dla <math>k = 370, 371, \ldots, 382</math>.
+
::<math>\binom{p - 1}{k} = {\small\frac{(p - 1) !}{k! \cdot (p - 1 - k) !}}</math>
  
 +
::::<math>\;\;\;\; = {\small\frac{(p - 1) (p - 2) \cdot \ldots \cdot (p - k)}{k!}}</math>
  
 +
::::<math>\;\;\;\; \equiv (p - 1) (p - 2) \cdot \ldots \cdot (p - k) \cdot (k!)^{- 1}</math>
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C38</span><br/>
+
::::<math>\;\;\;\; \equiv (- 1)^k \cdot k! \cdot (k!)^{- 1}</math>
Jeżeli <math>n \geqslant 3</math>, to istnieje <math>n</math> kolejnych liczb naturalnych, wśród których znajduje się dokładnie <math>r \leqslant \pi (n)</math> liczb pierwszych.
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
::::<math>\;\;\;\; \equiv (- 1)^k \pmod{p}</math>
Warunek <math>n \geqslant 3</math> nie wynika z&nbsp;potrzeb dowodu, a&nbsp;jedynie pomija sytuacje nietypowe, których twierdzenie nie obejmuje. Zawsze istnieje jedna liczba naturalna, która jest liczbą pierwszą i&nbsp;łatwo możemy wskazać dwie kolejne liczby naturalne będące liczbami pierwszymi.
 
  
Niech <math>k \in \mathbb{N}</math>. Wartość funkcji
+
Co należało pokazać.<br/>
 +
&#9633;
 +
{{\Spoiler}}
  
::<math>Q(k, n) = \pi (k + n) - \pi (k)</math>
 
  
jest równa ilości liczb pierwszych wśród <math>n</math> kolejnych liczb naturalnych od liczby <math>k + 1</math> do liczby <math>k + n</math>.
 
  
Uwzględniając, że wypisane niżej wyrażenia w&nbsp;nawiasach kwadratowych mogą przyjmować jedynie dwie wartości <math>0</math> lub <math>1</math>, dostajemy
+
<span id="H23" style="font-size: 110%; font-weight: bold;">Zadanie H23</span><br/>
 +
Niech <math>A</math> i <math>B</math> będą zbiorami skończonymi. Pokazać, że jeżeli <math>A \subseteq B \;\; \text{i} \;\; | A | = | B |</math>, to <math>\; A = B</math>.
  
:* <math>\biggl| Q (k + 1, n) - Q (k, n) \biggr| = \biggl| \bigl[\pi (k + n + 1) - \pi (k + n) \bigr] - \bigl[\pi (k + 1) - \pi (k) \bigr] \biggr| \leqslant 1</math>
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
 +
<span style="border-bottom-style: double;">Pierwszy sposób</span><br/><br/>
 +
Z definicji zbiory <math>A</math> i <math>B</math> są równe wtedy i&nbsp;tylko wtedy, gdy jednocześnie spełnione są warunki
  
Ponadto mamy
+
:#&nbsp;&nbsp;<math>x \in A \qquad \Longrightarrow \qquad x \in B</math>
 +
:#&nbsp;&nbsp;<math>x \in B \qquad \Longrightarrow \qquad x \in A</math>
  
:* <math>Q(0, n) = \pi (n) \qquad</math> bo <math>\pi (0) = 0</math>
+
Z założenia <math>A \subseteq B</math>, zatem warunek 1. jest spełniony. Przypuśćmy, że istnieje taki element <math>x</math>, że <math>x \in B</math>, ale <math>x \notin A</math>. Jeśli tak, to
:* <math>Q((n + 1) ! + 1, n) = 0 \qquad</math> bo liczby <math>(n + 1) ! + 2, \ldots, (n + 1) ! + (n + 1)</math> są liczbami złożonymi
 
  
Ponieważ wartości funkcji <math>Q(k, n)</math> mogą zmieniać się tylko o <math>- 1</math>, <math>0</math> lub <math>1</math>, to <math>Q(k, n)</math> musi przyjmować '''wszystkie''' wartości całkowite od <math>0</math> do <math>\pi (n)</math>. Wynika stąd, że istnieje taka liczba <math>k_r</math>, że <math>Q(k_r, n) = r</math>, gdzie <math>0 \leqslant r \leqslant \pi (n)</math>.
+
::<math>| B | = | A | + 1</math>
  
 +
Co jest sprzeczne z&nbsp;założeniem, że <math>| A | = | B |</math>.
  
::[[File: C_Q10.png|none]]
+
'''Uwaga'''<br/>
 +
Łatwo zauważyć, że wybierając z&nbsp;trzech warunków <math>A \subseteq B</math>, <math>B \subseteq A</math> i <math>| A | = | B |</math> dowolne dwa, zawsze otrzymamy z&nbsp;nich trzeci. Oczywiście nie dotyczy to zbiorów nieskończonych. Przykładowo liczby parzyste stanowią podzbiór liczb całkowitych, liczb parzystych jest tyle samo, co liczb całkowitych<ref name="cardinality1"/>, ale zbiór liczb całkowitych nie jest podzbiorem zbioru liczb parzystych.
  
Fragment wykresu funkcji <math>Q(k, 10)</math>. Widzimy, że dla <math>k = 113</math> po raz pierwszy mamy <math>Q(k, 10) = 0</math>, a&nbsp;funkcja <math>Q(k, 10)</math> przyjmuje wszystkie wartości całkowite od <math>0</math> do <math>5</math>.<br/>
 
&#9633;
 
{{\Spoiler}}
 
  
 +
<span style="border-bottom-style: double;">Drugi sposób</span><br/><br/>
 +
Ponieważ zbiór <math>A</math> jest z&nbsp;założenia podzbiorem zbioru <math>B</math>, to zbiór <math>B</math> można przedstawić w&nbsp;postaci sumy zbioru <math>A</math> i&nbsp;pewnego zbioru <math>C</math> takiego, że żaden element zbioru <math>C</math> nie jest elementem zbioru <math>A</math>. Zatem
  
 +
::<math>B = A \cup C \qquad \text{i} \qquad A \cap C = \varnothing</math>
  
<span style="font-size: 110%; font-weight: bold;">Przykład C39</span><br/>
+
Ponieważ zbiory <math>A</math> i <math>C</math> są rozłączne, to wiemy, że
Czytelnik może łatwo sprawdzić, że ciąg <math>( 1308, \ldots, 1407 )</math> stu kolejnych liczb całkowitych zawiera dokładnie <math>8</math> liczb pierwszych.
 
  
 +
::<math>| A \cup C | = | A | + | C |</math>
  
 +
Czyli
  
<span style="font-size: 110%; font-weight: bold;">Zadanie C40</span><br/>
+
::<math>| B | = | A \cup C | = | A | + | C |</math>
Pokazać, nie korzystając z&nbsp;twierdzenia C38, że istnieje <math>1000</math> kolejnych liczb naturalnych, wśród których jest dokładnie jedna liczba pierwsza.
 
 
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
 
Zauważmy, że <math>1000</math> kolejnych liczb naturalnych
 
  
::<math>1001! + 2, 1001! + 3, \ldots, 1001! + 1001</math>
+
Skąd wynika, że <math>| C | = 0</math>, zatem zbiór <math>C</math> jest zbiorem pustym i&nbsp;otrzymujemy natychmiast <math>B = A</math>. Co należało pokazać.
  
nie zawiera żadnej liczby pierwszej. Wielokrotnie zmniejszając wszystkie wypisane wyżej liczby o&nbsp;jeden, do chwili, gdy pierwsza z&nbsp;wypisanych liczb będzie liczbą pierwszą uzyskamy <math>1000</math> kolejnych liczb naturalnych, wśród których jest dokładnie jedna liczba pierwsza.
+
'''Uwaga (przypadek zbiorów skończonych)'''<br/>
 +
Najczęściej prawdziwe jest jedynie oszacowanie <math>| A \cup C | \leqslant | A | + | C |</math>, bo niektóre elementy mogą zostać policzone dwa razy. Elementy liczone dwukrotnie to te, które należą do iloczynu zbiorów <math>| A |</math> i <math>| C |</math>, zatem od sumy <math>| A | + | C |</math> musimy odjąć liczbę elementów iloczynu zbiorów <math>| A |</math> i <math>| C |</math>. Co daje ogólny wzór<ref name="sumazbiorow"/>
  
Uwaga: dopiero liczba <math>1001! - 1733</math> jest pierwsza.<br/>
+
::<math>| A \cup C | = | A | + | C | - | A \cap C |</math><br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 860: Linia 643:
  
  
<span style="font-size: 110%; font-weight: bold;">Zadanie C41</span><br/>
+
<span id="H24" style="font-size: 110%; font-weight: bold;">Definicja H24</span><br/>
Pokazać, że istnieje <math>20</math> kolejnych liczb naturalnych postaci <math>6 k + 1</math>, wśród których jest dokładnie <math>5</math> liczb pierwszych.
+
Niech elementy każdego ze zbiorów <math>A = \{ a_1, a_2, \ldots, a_r \}</math> oraz <math>B = \{ b_1, b_2, \ldots, b_r \}</math> będą różne modulo <math>m</math>. Powiemy, że zbiory <math>A, B</math> są równe modulo <math>m</math>, jeżeli dla każdego <math>k = 1, \ldots, r</math> istnieje takie <math>j = 1, \ldots, r</math>, że prawdziwa jest kongruencja <math>a_k \equiv b_j \!\! \pmod{m}</math>.
 
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
 
Rozwiązywanie zadania rozpoczniemy od dwóch spostrzeżeń
 
  
:* wśród pierwszych <math>20</math> liczb naturalnych postaci <math>6 k + 1</math> jest <math>13</math> liczb pierwszych
 
:* w&nbsp;ciągu <math>6 k + 1</math> istnieją dowolnie długie przedziały pozbawione liczb pierwszych (zobacz zadanie C36), zatem istnieje <math>20</math> kolejnych liczb naturalnych postaci <math>6 k + 1</math>, wśród których nie ma ani jednej liczby pierwszej
 
  
Pierwsze spostrzeżenie pokazuje, że rozwiązanie problemu jest potencjalnie możliwe. Rozwiązanie mogłoby nie istnieć, gdybyśmy szukali <math>20</math> liczb naturalnych postaci <math>6 k + 1</math> wśród których jest, powiedzmy, <math>15</math> liczb pierwszych.
 
  
Drugie spostrzeżenie mówi nam, że ilość liczb pierwszych wśród kolejnych <math>20</math> liczb naturalnych postaci <math>6 k + 1</math> zmienia się od <math>13</math> do <math>0</math>. Analiza przebiegu tych zmian jest kluczem do dowodu twierdzenia.
+
<span id="H25" style="font-size: 110%; font-weight: bold;">Twierdzenie H25</span><br/>
 +
Niech elementy każdego ze zbiorów <math>A = \{ a_1, a_2, \ldots, a_r \}</math> oraz <math>B = \{ b_1, b_2, \ldots, b_r \}</math> będą różne modulo <math>m</math>. Zbiory <math>A, B</math> są równe modulo <math>m</math> wtedy i&nbsp;tylko wtedy, gdy zbiory <math>A' = \{ R_m (a_1), R_m (a_2), \ldots, R_m (a_r) \}</math> i <math>B' = \{ R_m (b_1), R_m (b_2), \ldots, R_m (b_r) \}</math> są równe.
  
 +
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
  
Zbadajmy zatem, jak zmienia się ilość liczb pierwszych wśród kolejnych <math>20</math> liczb naturalnych postaci <math>6 k + 1</math>. Rozważmy ciąg <math>a_k = 6 k + 1</math>, gdzie <math>k = 0, 1, 2, \ldots</math>
+
<math>\Large{\Longrightarrow}</math>
 
 
<math>(a_k) = (1, \mathbf{7}, \mathbf{13}, \mathbf{19}, 25, \mathbf{31}, \mathbf{37}, \mathbf{43}, 49, 55, \mathbf{61}, \mathbf{67}, \mathbf{73}, \mathbf{79}, 85, 91, \mathbf{97}, \mathbf{103}, \mathbf{109}, 115, 121, \mathbf{127}, 133, \mathbf{139}, 145, \mathbf{151}, \mathbf{157}, \mathbf{163}, 169, 175, \mathbf{181}, 187, \mathbf{193}, \mathbf{199}, 205, \mathbf{211}, \ldots)</math>
 
 
 
Liczby pierwsze zostały pogrubione.
 
  
 +
Ponieważ elementy każdego ze zbiorów <math>A, B</math> są różne modulo <math>m</math>, to elementy zbiorów <math>A'</math> i <math>B'</math> są wszystkie różne. Czyli <math>| A' | = | B' | = r</math>. Ponieważ warunek
  
Niech <math>(B^n)</math> będzie fragmentem ciągu <math>(a_k)</math> rozpoczynającym się od <math>n</math>-tego wyrazu ciągu i&nbsp;złożonym z <math>20</math> kolejnych wyrazów ciągu <math>(a_k)</math>. Przykładowo mamy
+
::<math>a_k \equiv b_j \!\! \pmod{m}</math>
  
<math>(B^1) = (1, \mathbf{7}, \mathbf{13}, \mathbf{19}, 25, \mathbf{31}, \mathbf{37}, \mathbf{43}, 49, 55, \mathbf{61}, \mathbf{67}, \mathbf{73}, \mathbf{79}, 85, 91, \mathbf{97}, \mathbf{103}, \mathbf{109}, 115 )</math>
+
oznacza, że reszty z&nbsp;dzielenia liczb <math>a_k</math> i <math>b_j</math> przez <math>m</math> są równe, to z&nbsp;założenia dla każdego <math>k = 1, \ldots, r</math> istnieje takie <math>j = 1, \ldots, r</math>, że
  
<math>(B^2) = ( \mathbf{7}, \mathbf{13}, \mathbf{19}, 25, \mathbf{31}, \mathbf{37}, \mathbf{43}, 49, 55, \mathbf{61}, \mathbf{67}, \mathbf{73}, \mathbf{79}, 85, 91, \mathbf{97}, \mathbf{103}, \mathbf{109}, 115, 121 )</math>
+
::<math>R_m (a_k) = R_m (b_j)</math>
  
<math>(B^3) = ( \mathbf{13}, \mathbf{19}, 25, \mathbf{31}, \mathbf{37}, \mathbf{43}, 49, 55, \mathbf{61}, \mathbf{67}, \mathbf{73}, \mathbf{79}, 85, 91, \mathbf{97}, \mathbf{103}, \mathbf{109}, 115, 121, \mathbf{127} )</math>
+
A to oznacza, że każdy element zbioru <math>A'</math> należy do zbioru <math>B'</math>, czyli <math>A' \subseteq B'</math>. Wynika stąd, że <math>A' = B'</math> (zobacz [[#H23|H23]]). Co należało pokazać.
  
 +
<math>\Large{\Longleftarrow}</math>
  
Musimy zrozumieć, jak przejście od ciągu <math>(B^n)</math> do ciągu <math>(B^{n + 1})</math>
+
Ponieważ zbiory <math>A', B'</math> są równe, to zbiór <math>A'</math> jest podzbiorem zbioru <math>B'</math>, czyli dla każdego elementu <math>R_m (a_k) \in A'</math> istnieje taki element <math>R_m (b_j) \in B'</math>, że
wpływa na ilość liczb pierwszych w&nbsp;tych ciągach.
 
  
* jeżeli najmniejszy wyraz ciągu <math>(B^n)</math> jest liczbą złożoną, to po przejściu do ciągu <math>(B^{n + 1})</math> ilość liczb pierwszych w&nbsp;tym ciągu w&nbsp;stosunku do ilości liczb pierwszych w&nbsp;ciągu <math>(B^n)</math> może
+
::<math>R_m (a_k) = R_m (b_j)</math>
** pozostać bez zmian (w przypadku, gdy największy wyraz ciągu <math>(B^{n + 1})</math> jest liczbą złożoną)
 
** zwiększyć się o&nbsp;jeden (w przypadku, gdy największy wyraz ciągu <math>(B^{n + 1})</math> jest liczbą pierwszą)
 
  
* jeżeli najmniejszy wyraz ciągu <math>(B^n)</math> jest liczbą pierwszą, to po przejściu do ciągu <math>(B^{n + 1})</math> ilość liczb pierwszych w&nbsp;tym ciągu w&nbsp;stosunku do ilości liczb pierwszych w&nbsp;ciągu <math>(B^n)</math> może
+
Ponieważ równość reszt oznacza równość modulo, zatem
** zmniejszyć się o&nbsp;jeden (w przypadku, gdy największy wyraz ciągu <math>(B^{n + 1})</math> jest liczbą złożoną)
 
** pozostać bez zmian (w przypadku, gdy największy wyraz ciągu <math>(B^{n + 1})</math> jest liczbą pierwszą)
 
  
 +
::<math>a_k \equiv b_j \!\! \pmod{m}</math>
  
Wynika stąd, że przechodząc od ciągu <math>(B^n)</math> do ciągu <math>(B^{n + 1})</math> ilość liczb pierwszych może się zmienić o <math>- 1</math>, <math>0</math> lub <math>1</math>. Z&nbsp;drugiego ze spostrzeżeń uczynionych na początku dowodu wynika istnienie takiej liczby <math>r</math>, że wśród ciągów
+
Wynika stąd, że dla każdego <math>k = 1, \ldots, r</math> istnieje takie <math>j = 1, \ldots, r</math>, że prawdziwa jest kongruencja
  
::<math>(B^1), (B^2), \ldots, (B^r)</math>
+
::<math>a_k \equiv b_j \!\! \pmod{m}</math>
  
ilość liczb pierwszych będzie przyjmowała '''wszystkie''' możliwe wartości od liczby <math>13</math> do liczby <math>0</math>. Co zapewnia istnienie takich <math>20</math> kolejnych liczb naturalnych postaci <math>6 k + 1</math>, że wśród nich jest dokładnie <math>5</math> liczb pierwszych.<br/>
+
czyli zbiory <math>A, B</math> są równe modulo <math>m</math>. Co kończy dowód.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 912: Linia 685:
  
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C42</span><br/>
+
<span id="H26" style="font-size: 110%; font-weight: bold;">Twierdzenie H26</span><br/>
Niech <math>a, b \in \mathbb{Z}</math> oraz <math>a \geqslant 2</math> i <math>0 \leqslant b \leqslant a - 1</math>. Jeżeli liczby <math>a</math> oraz <math>b</math> są względnie pierwsze, to istnieje <math>n</math> kolejnych liczb postaci <math>a k + b</math>, wśród których znajduje się dokładnie <math>r \leqslant \pi (a (n - 1) + b ; a, b)</math> liczb pierwszych.
+
Niech będą dane zbiory <math>A = \{ 1, 2, \ldots, p - 1 \}</math>, <math>B = \{ b_1, b_2, \ldots, b_{p - 1} \}</math>, gdzie <math>p</math> jest liczbą pierwszą. Jeżeli wszystkie elementy zbioru <math>B</math> są różne modulo <math>p</math> i&nbsp;żadna z&nbsp;liczb <math>b_k \in B</math> nie jest podzielna przez <math>p</math>, to zbiory <math>A, B, C = \{ b^{- 1}_1, b^{- 1}_2, \ldots, b^{- 1}_{p - 1} \}</math> są równe modulo <math>p</math>.
  
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
Twierdzenie można udowodnić uogólniając dowód twierdzenia C38 lub wykorzystując metodę zastosowaną w&nbsp;rozwiązaniu zadania C41.<br/>
+
Z definicji zbioru <math>A</math> wszystkie elementy tego zbioru są różne modulo <math>p</math>. Łatwo zauważamy, że
&#9633;
 
{{\Spoiler}}
 
  
 +
::<math>A = \{ 1, 2, \ldots, p - 1 \} = \{ R_p (1), R_p (2), \ldots, R_p (p - 1) \} = A'</math>
  
 +
Ponieważ wszystkie liczby <math>b_k \in B</math>, gdzie <math>k = 1, \ldots, p - 1</math> są różne modulo <math>p</math> i&nbsp;nie są podzielne przez <math>p</math>, to reszty <math>R_p (b_1), R_p (b_2), \ldots, R_p (b_{p - 1})</math> są wszystkie dodatnie i&nbsp;różne, a&nbsp;ponieważ jest ich <math>p - 1</math>, czyli dokładnie tyle, ile jest różnych i&nbsp;dodatnich reszt z&nbsp;dzielenia przez liczbę <math>p</math>, to zbiór tych reszt jest identyczny ze zbiorem dodatnich reszt z&nbsp;dzielenia przez <math>p</math>, czyli ze zbiorem <math>A</math>. Zatem mamy
  
<span style="font-size: 110%; font-weight: bold;">Zadanie C43</span><br/>
+
::<math>A = A' = \{ R_p (b_1), R_p (b_2), \ldots, R_p (b_{p - 1}) \} = B'</math>
Niech <math>p \geqslant 5</math> będzie liczbą pierwszą. Pokazać, że w&nbsp;ciągu <math>6 k + 1</math> występują kwadraty wszystkich liczb pierwszych <math>p</math>.
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
+
Na mocy twierdzenia [[#H25|H25]] zbiory <math>A</math> i <math>B</math> są równe modulo <math>p</math>.
Wiemy, że liczby pierwsze nieparzyste <math>p \geqslant 5</math> mogą być postaci <math>6 k + 1</math> lub <math>6 k + 5</math>. Ponieważ
 
  
::<math>(6 k + 1)^2 = 6 (6 k^2 + 2 k) + 1</math>
+
Z twierdzenia [[#H21|H21]] wiemy, że wszystkie liczby <math>b^{- 1}_k \in C</math> są różne modulo <math>p</math>. Zauważmy, że każda z&nbsp;tych liczb jest względnie pierwsza z <math>p</math>, zatem nie może być podzielna przez <math>p</math>. Wynika stąd, że reszty <math>R_p (b^{- 1}_1), R_p (b^{- 1}_2), \ldots, R_p (b^{- 1}_{p - 1})</math> są wszystkie dodatnie i&nbsp;różne, a&nbsp;ponieważ jest ich <math>p - 1</math>, czyli dokładnie tyle, ile jest różnych i&nbsp;dodatnich reszt z&nbsp;dzielenia przez liczbę <math>p</math>, to zbiór tych reszt jest identyczny ze zbiorem dodatnich reszt z&nbsp;dzielenia przez <math>p</math>, czyli ze zbiorem <math>A</math>. Zatem mamy
  
::<math>(6 k + 5)^2 = 6 (6 k^2 + 10 k + 4) + 1</math>
+
::<math>A = A' = \{ R_p (b^{- 1}_1), R_p (b^{- 1}_2), \ldots, R_p (b^{- 1}_{p - 1}) \} = C'</math>
  
zatem kwadraty liczb pierwszych postaci <math>6 k + 1</math> i&nbsp;nie mogą występować w&nbsp;ciągu postaci <math>6 k + 5</math>.<br/>
+
Na mocy twierdzenia [[#H25|H25]] zbiory <math>A</math> i <math>C</math> równe modulo <math>p</math>. Ponieważ <math>A' = B'</math> i <math>A' = C'</math>, to <math>B' = C'</math> i&nbsp;ponownie na mocy twierdzenia [[#H25|H25]] zbiory <math>B</math> i <math>C</math> są równe modulo <math>p</math>. Co należało pokazać.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 938: Linia 709:
  
  
<span style="font-size: 110%; font-weight: bold;">Zadanie C44</span><br/>
+
<span id="H27" style="font-size: 110%; font-weight: bold;">Zadanie H27</span><br/>
Dany jest ciąg arytmetyczny <math>a k + b</math>, gdzie liczby <math>a</math> i <math>b</math> są względnie pierwsze. Pokazać, że
+
Niech <math>p</math> będzie liczbą pierwszą nieparzystą. Pokazać, że suma <math>\sum_{k = 1}^{p - 1} {\small\frac{(p - 1) !}{k}}</math> jest podzielna przez <math>p</math>.
 
 
* jeżeli liczba pierwsza <math>p</math> dzieli <math>a</math>, to żaden wyraz ciągu <math>a k + b</math> nie jest podzielny przez <math>p</math>
 
* jeżeli liczba pierwsza <math>p</math> nie dzieli <math>a</math>, to istnieje nieskończenie wiele wyrazów ciągu <math>a k + b</math>, które są podzielne przez <math>p</math>
 
  
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
'''Punkt 1.'''<br/>
+
Zauważmy najpierw, że modulo <math>p</math> następujące sumy równe
Zauważmy, że liczby <math>a</math> i <math>b</math> są względnie pierwsze, zatem liczba pierwsza <math>p</math> nie może jednocześnie dzielić liczb <math>a</math> i <math>b</math>. Ponieważ z&nbsp;założenia <math>p \mid a</math>, to wynika stąd, że <math>p</math> nie dzieli <math>b</math>. Jeśli tak, to
 
  
::<math>a k + b = (n p) k + b</math>
+
::<math>\sum_{k = 1}^{p - 1} k \equiv \sum_{k = 1}^{p - 1} k^{- 1} \!\! \pmod{p}</math>
  
i <math>p</math> nie dzieli żadnej liczby postaci <math>a k + b</math>.
+
Istotnie, jeśli przyjmiemy w&nbsp;twierdzeniu [[#H26|H26]], że zbiór <math>B = \{ 1, 2, \ldots, p - 1 \}</math>, to zbiór <math>C</math> będzie zbiorem liczb, które są odwrotnościami liczb <math>1, 2, \ldots, p - 1</math> modulo <math>p</math> i&nbsp;możemy napisać
  
'''Punkt 2.'''<br/>
+
::<math>\sum_{x \in B} x \equiv \sum_{y \in C} y \!\! \pmod{p}</math>
<span style="border-bottom-style: double;">Pierwszy sposób</span><br/><br/>
 
Niech <math>k_0 \in \mathbb{N}</math>. Przypuśćmy, że dla pewnych różnych liczb naturalnych <math>i, j</math> takich, że <math>1 \leqslant i < j \leqslant p</math> liczby <math>a(k_0 + i) + b</math> oraz <math>a(k_0 + j) + b</math> dają tę samą resztę przy dzieleniu przez liczbę pierwszą <math>p</math>. Zatem różnica tych liczb jest podzielna przez <math>p</math>
 
  
::<math>p \mid [a (k_0 + j) + b] - [a (k_0 + i) + b]</math>
+
bo
  
czyli
+
:* gdy <math>x</math> przebiega kolejne wartości <math>b_k</math>, to <math>x</math> przyjmuje kolejno wartości <math>1, 2, \ldots, p - 1</math>
  
::<math>p \mid a (j - i)</math>
+
:* gdy <math>y</math> przebiega kolejne wartości <math>b_k^{- 1}</math>, to <math>y</math> (modulo <math>p</math>) przyjmuje wszystkie wartości ze zbioru <math>A = \{ 1, 2, \ldots, p - 1 \}</math>, czyli liczba <math>y</math> (modulo <math>p</math>) przyjmuje wszystkie wartości <math>1, 2, \ldots, p - 1</math>, ale w&nbsp;innej kolejności
  
Ponieważ <math>p \nmid a</math> to na mocy lematu Euklidesa (twierdzenie C74), mamy
+
Ponieważ kolejność sumowania tych samych składników nie wpływa na wartość sumy, to prawdziwa jest wyżej wypisana równość sum modulo <math>p</math>.
  
::<math>p \mid (j - i)</math>
+
Zatem modulo <math>p</math> otrzymujemy
  
co jest niemożliwe, bo <math>1 \leqslant j - i \leqslant p - 1 < p</math>.
+
::<math>\sum_{k = 1}^{p - 1} {\small\frac{(p - 1) !}{k}} \equiv \sum_{k = 1}^{p - 1} (p - 1)! \cdot k^{- 1}</math>
  
Zatem reszty <math>r_1, r_2, \ldots, r_p</math> są wszystkie różne, a&nbsp;ponieważ jest ich <math>p</math>, czyli tyle ile jest różnych reszt z&nbsp;dzielenia przez liczbę <math>p</math>, to zbiór tych reszt jest identyczny ze zbiorem reszt z&nbsp;dzielenia przez <math>p</math>, czyli ze zbiorem <math>S = \{ 0, 1, 2, \ldots, p - 1 \}</math>. W&nbsp;szczególności wynika stąd, że wśród <math>p</math> kolejnych wyrazów ciągu arytmetycznego <math>a k + b</math> jeden z&nbsp;tych wyrazów jest podzielny przez <math>p</math>. Zatem istnieje nieskończenie wiele wyrazów ciągu <math>a k + b</math>, które są podzielne przez <math>p</math>.
+
:::::<math>\;\;\: \equiv (p - 1) ! \cdot \sum_{k = 1}^{p - 1} k^{- 1}</math>
  
 +
:::::<math>\;\;\: \equiv (p - 1) ! \cdot \sum_{k = 1}^{p - 1} k</math>
  
<span style="border-bottom-style: double;">Drugi sposób</span><br/><br/>
+
:::::<math>\;\;\: \equiv (p - 1) ! \cdot {\small\frac{(p - 1) p}{2}}</math>
Problem sprowadza się do wykazania istnienia nieskończenie wielu par liczb naturalnych <math>(k, n)</math>, takich że
 
  
::<math>a k + b = n p</math>
+
:::::<math>\;\;\: \equiv (p - 1) ! \cdot {\small\frac{p - 1}{2}} \cdot p</math>
  
Co z&nbsp;kolei sprowadza się do badania rozwiązań całkowitych równania
+
:::::<math>\;\;\: \equiv 0 \!\! \pmod{p}</math>
  
::<math>n p - a k = b</math>
+
Należy zauważyć, że dla liczby pierwszej nieparzystej <math>p</math> liczba <math>{\small\frac{p - 1}{2}}</math> jest liczbą całkowitą.<br/>
 +
&#9633;
 +
{{\Spoiler}}
  
Zauważmy, że ponieważ <math>p \nmid a</math>, to liczby <math>a</math> i <math>p</math> są względnie pierwsze. Zatem ich największym wspólnym dzielnikiem jest liczba <math>1</math>. Na mocy twierdzenia C78 równanie to ma nieskończenie wiele rozwiązań w&nbsp;liczbach całkowitych
 
  
::<math>n = n_0 + p t</math>
 
::<math>k = k_0 + a t</math>
 
  
gdzie <math>t</math> jest dowolną liczbą całkowitą, a&nbsp;para liczb <math>(n_0, k_0)</math> jest dowolnym rozwiązaniem tego równania. Widzimy, że dla dostatecznie dużych liczb <math>t</math> zawsze możemy uzyskać takie <math>n</math> i <math>k</math>, że <math>n, k \in \mathbb{Z}_+</math>. Pokazaliśmy w&nbsp;ten sposób, że w&nbsp;ciągu arytmetycznym <math>a k + b</math> istnieje nieskończenie wiele wyrazów podzielnych przez liczbę pierwszą <math>p</math>.
 
  
  
<span style="border-bottom-style: double;">Trzeci sposób</span><br/><br/>
+
== Funkcje multiplikatywne ==
Zauważmy, że ponieważ <math>p \nmid a</math>, to liczby <math>a</math> i <math>p</math> są względnie pierwsze. Zatem ich największym wspólnym dzielnikiem jest liczba <math>1</math>. Lemat Bézouta zapewnia istnienie takich liczb całkowitych <math>x</math> i <math>y</math>, że
 
  
::<math>a x + p y = 1</math>
+
<span id="H28" style="font-size: 110%; font-weight: bold;">Definicja H28</span><br/>
 +
Powiemy, że funkcja <math>f(n)</math> określona w&nbsp;zbiorze liczb całkowitych dodatnich jest funkcją multiplikatywną, jeżeli <math>f(1) = 1</math> i&nbsp;dla względnie pierwszych liczb <math>a, b</math> spełniony jest warunek <math>f(a b) = f (a) f (b)</math>.
  
Niech <math>k_0 = r p - b x</math>, gdzie <math>r</math> jest dowolną liczbą całkowitą dodatnią, ale na tyle dużą, aby <math>k_0</math> była liczbą dodatnią bez względu na znak iloczynu <math>b x</math>. Łatwo sprawdzamy, że liczba <math>a k_0 + b</math> jest podzielna przez <math>p</math>
 
  
::<math>a k_0 + b = a (r p - b x) + b =</math>
 
  
::::<math>\;\; = a r p - a b x + b =</math>
+
<span id="H29" style="font-size: 110%; font-weight: bold;">Uwaga H29</span><br/>
 +
Założenie <math>f(1) = 1</math> możemy równoważnie zastąpić założeniem, że funkcja <math>f(n)</math> nie jest tożsamościowo równa zero.
 +
Gdyby <math>f(n)</math> spełniała jedynie warunek <math>f(a b) = f (a) f (b)</math> dla względnie pierwszych liczb <math>a, b</math>, to mielibyśmy
  
::::<math>\;\; = a r p + b (1 - a x) =</math>
+
::a)&nbsp;&nbsp;&nbsp;<math>f(n)</math> jest tożsamościowo równa zeru wtedy i&nbsp;tylko wtedy, gdy <math>f(1) = 0</math>
  
::::<math>\;\; = a r p + b p y =</math>
+
::b)&nbsp;&nbsp;&nbsp;<math>f(n)</math> nie jest tożsamościowo równa zeru wtedy i&nbsp;tylko wtedy, gdy <math>f(1) = 1</math>
  
::::<math>\;\; = p (a r + b y)</math>
+
Ponieważ <math>f(1) = f (1 \cdot 1) = f (1) f (1)</math>, zatem <math>f(1) = 0</math> lub <math>f (1) = 1</math>.
  
Zatem w&nbsp;ciągu <math>a k + b</math> istnieje przynajmniej jeden wyraz podzielny przez liczbę pierwszą <math>p</math>. Jeśli tak, to w&nbsp;ciągu arytmetycznym <math>a k + b</math> istnieje nieskończenie wiele liczb podzielnych przez <math>p</math>, bo dla <math>k = k_0 + s p</math>, gdzie <math>s \in \mathbb{N}</math>, mamy
+
Jeżeli <math>f(1) = 0</math>, to dla dowolnego <math>n</math> mamy
  
::<math>a k + b = a (k_0 + s p) + b = a s p + (a k_0 + b)</math>
+
::<math>f(n) = f (n \cdot 1) = f (n) f (1) = 0</math>
  
Czyli <math>p \mid a k + b</math>.<br/>
+
Czyli <math>f(n)</math> jest funkcją tożsamościowo równą zero.
&#9633;
 
{{\Spoiler}}
 
  
 +
Jeżeli <math>f(n)</math> nie jest funkcją tożsamościowo równą zero, to istnieje taka liczba <math>a \in \mathbb{Z}_+</math>, że <math>f(a) \neq 0</math>. Zatem
  
 +
::<math>f(a) = f (a \cdot 1) = f (a) f (1)</math>
  
<span style="font-size: 110%; font-weight: bold;">Uwaga C45</span><br/>
+
I dzieląc obie strony przez <math>f(a) \neq 0</math>, dostajemy <math>f(1) = 1</math>.
Łatwo możemy napisać w&nbsp;PARI/GP funkcję, która zwraca najmniejszą liczbę naturalną <math>k_0</math>, dla której wyraz ciągu arytmetycznego <math>a k + b</math> jest podzielny przez <math>p</math> (przy założeniu, że liczby <math>a</math> i <math>p</math> są względnie pierwsze).
 
  
f(a,b,p) = lift( Mod(-b,p)*Mod(a,p)^(-1) )
 
  
  
 +
<span id="H30" style="font-size: 110%; font-weight: bold;">Przykład H30</span><br/>
 +
Ponieważ <math>\gcd (1, c) = 1</math>, to <math>\gcd (n, c)</math> rozpatrywana jako funkcja <math>n</math>, gdzie <math>c</math> jest ustaloną liczbą całkowitą, jest funkcją multiplikatywną (zobacz [[#H8|H8]]).
  
  
  
== Ciągi nieskończone i&nbsp;liczby pierwsze ==
+
<span id="H31" style="font-size: 110%; font-weight: bold;">Twierdzenie H31</span><br/>
 +
Jeżeli funkcja <math>f(n)</math> jest funkcją multiplikatywną, to funkcja
  
<span style="font-size: 110%; font-weight: bold;">Uwaga C46</span><br/>
+
::<math>F(n) = \sum_{d \mid n} f (d)</math>
Choć wiele ciągów jest dobrze znanych i&nbsp;równie dobrze zbadanych, to nie wiemy, czy zawierają one nieskończenie wiele liczb pierwszych. Przykładowo
 
  
::{| class="wikitable plainlinks"  style="font-size: 100%; text-align: left; margin-right: auto;"
+
gdzie sumowanie przebiega po wszystkich dzielnikach dodatnich liczby <math>n</math>, jest również funkcją multiplikatywną.
|-
 
| <math>\quad 1. \quad</math>
 
| <math>a_n = n^2 + 1</math>
 
| [https://oeis.org/A002496 A002496]
 
|-
 
| <math>\quad 2. \quad</math>
 
| <math>b_n = n^2 - n - 1</math>
 
| [https://oeis.org/A002327 A002327]
 
|-
 
| <math>\quad 3. \quad</math>
 
| <math>c_n = n^2 + n + 1</math>
 
| [https://oeis.org/A002383 A002383]
 
|-
 
| <math>\quad 4. \quad</math>
 
| <math>d_n = n^4 + 1</math>
 
| [https://oeis.org/A000068 A000068]
 
|-
 
| <math>\quad 5. \quad</math>
 
| <math>u_n = n! + 1</math>
 
| [https://oeis.org/A002981 A002981]
 
|-
 
| <math>\quad 6. \quad</math>
 
| <math>v_n = n! - 1</math>
 
| [https://oeis.org/A002982 A002982]
 
|-
 
| <math>\quad 7. \quad</math>
 
| <math>M_n = 2^n - 1</math> (liczby Mersenne'a)
 
| [https://oeis.org/A000043 A000043]
 
|-
 
| <math>\quad 8. \quad</math>
 
| <math>F_n = 2^{2^n} + 1</math> (liczby Fermata)
 
| [https://oeis.org/A019434 A019434]
 
|-
 
| <math>\quad 9. \quad</math>
 
| <math>F_n (a) = a^{2^n} + 1</math> (uogólnione liczby Fermata, <math>a</math> parzyste)
 
| [https://mathworld.wolfram.com/GeneralizedFermatNumber.html MathWorld]
 
|}
 
 
 
Nie wiemy, czy istnieje wielomian całkowity <math>W(n)</math> stopnia większego niż jeden taki, że <math>W(n)</math> jest liczbą pierwszą dla nieskończenie wielu liczb <math>n</math>.
 
  
 +
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 +
Ponieważ
  
 +
::<math>F(1) = \sum_{d \mid 1} f (d) = f (1) = 1</math>
  
<span style="font-size: 110%; font-weight: bold;">Przykład C47</span><br/>
+
to funkcja <math>F(n)</math> spełnia pierwszy warunek definicji [[#H28|H28]].
Łatwo sprawdzić, że wartości wielomianu <math>W(n) = n^2 + n + 41</math> są liczbami pierwszymi dla <math>1 \leqslant n \leqslant 39</math>. Oczywiście <math>41 \mid W(41)</math>.
 
  
 +
Niech <math>a, b</math> będą względnie pierwszymi liczbami dodatnimi. Każdy dzielnik dodatni iloczynu <math>a b</math> można zapisać w&nbsp;postaci <math>d = d_1 d_2</math>, gdzie <math>d_1 \mid a</math>, <math>\; d_2 \mid b \,</math> oraz <math>\, \gcd (d_1, d_2) = 1</math> (zobacz [[#H14|H14]]). Niech zbiory
  
 +
::<math>S_a = \{ d \in \mathbb{Z}_+ : d \mid a \}</math>
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C48</span><br/>
+
::<math>S_b = \{ d \in \mathbb{Z}_+ : d \mid b \}</math>
Niech <math>a, n \in \mathbb{Z}_+</math> i <math>a \geqslant 2</math>. Jeżeli liczba <math>a^n + 1</math> jest liczbą pierwszą, to <math>a</math> jest liczbą parzystą i <math>n = 2^m</math>.
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
::<math>S_{a b} = \{ d \in \mathbb{Z}_+ : d \mid a b \}</math>
Gdyby liczba <math>a</math> była nieparzysta, to liczba <math>a^n + 1 \geqslant 4</math> byłaby parzysta i&nbsp;nie mogłaby być liczbą pierwszą.
 
  
Niech wykładnik <math>n = x y</math> będzie liczbą złożoną, a <math>x</math> będzie liczbą nieparzystą. Wtedy
+
będą zbiorami dzielników dodatnich liczb <math>a, b</math> i <math>a b</math>. Dla przykładu
  
::<math>a^n + 1 = (a^y)^x + 1</math>
+
::<math>S_5 = \{ 1, 5 \}</math>
  
Oznaczając <math>b = a^y</math> oraz <math>x = 2 k + 1</math>, otrzymujemy
+
::<math>S_7 = \{ 1, 7 \}</math>
  
::<math>a^n + 1 = (a^y)^x + 1</math>
+
::<math>S_{35} = \{ 1, 5, 7, 35 \}</math>
  
::::<math>\: = b^x + 1</math>
+
Dla dowolnego <math>d_1 \in S_a \,</math> i <math>\, d_2 \in S_b</math> musi być <math>\gcd (d_1, d_2) = 1</math>, bo gdyby było <math>\gcd (d_1, d_2) = g > 1</math>, to
  
::::<math>\: = b^{2 k + 1} + 1</math>
+
::<math>g \mid d_1 \quad \; \text{i} \quad \; d_1 \mid a \qquad \quad \Longrightarrow \qquad \quad g \mid a</math>
  
::::<math>\: = (b + 1) \cdot (1 - b + b^2 - b^3 + \ldots + b^{2 k - 2} - b^{2 k - 1} + b^{2 k})</math>
+
::<math>g \mid d_2 \quad \; \text{i} \quad \; d_2 \mid b \qquad \quad \Longrightarrow \qquad \quad g \mid b</math>
  
Czyli <math>a^n + 1</math> jest liczbą złożoną. Wynika stąd, że wykładnik <math>n</math> nie może zawierać czynników nieparzystych, czyli musi być <math>n = 2^m</math>. Co należało pokazać.<br/>
+
Zatem <math>g \mid \gcd (a, b)</math> i&nbsp;mielibyśmy <math>\gcd (a, b) \geqslant g > 1</math>, wbrew założeniu.
&#9633;
 
{{\Spoiler}}
 
  
 +
Przekształcając, otrzymujemy
  
 +
::<math>F(a b) = \sum_{d \mid a b} f (d)</math>
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C49</span><br/>
+
:::<math>\;\;\;\;\: = \sum_{d \in S_{a b}} f (d)</math>
Dla dowolnej liczby naturalnej <math>n \geqslant 1</math> liczba <math>x - y</math> jest dzielnikiem wyrażenia <math>x^n - y^n</math>.
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
:::<math>\;\;\;\;\: = \underset{d_2 \in S_{b}}{\sum_{d_1 \in S_{a}}} f (d_1 d_2)</math>
Indukcja matematyczna. Twierdzenie jest prawdziwe dla <math>n = 1</math>, bo <math>x - y</math> dzieli <math>x^1 - y^1</math>. Załóżmy, że <math>x - y</math> jest dzielnikiem wyrażenia <math>x^n - y^n</math>, czyli <math>x^n - y^n = (x - y) \cdot k</math>, otrzymujemy dla <math>n + 1</math>
 
  
::<math>x^{n + 1} - y^{n + 1} = x x^n - y x^n + y x^n - y y^n =</math>
+
:::<math>\;\;\;\;\: = \underset{d_2 \in S_{b}}{\sum_{d_1 \in S_{a}}} f (d_1) f (d_2)</math>
  
:::::<math>\quad \, = (x - y) x^n + y (x^n - y^n) =</math>
+
:::<math>\;\;\;\;\: = \sum_{d_1 \in S_{a}} f (d_1) \sum_{d_2 \in S_{b}} f (d_2)</math>
  
:::::<math>\quad \, = (x - y) x^n + y (x - y) \cdot k =</math>
+
:::<math>\;\;\;\;\: = \sum_{d_1 \mid a} f (d_1) \sum_{d_2 \mid b} f (d_2)</math>
  
:::::<math>\quad \, = (x - y) (x^n + y \cdot k)</math>
+
:::<math>\;\;\;\;\: = F (a) F (b)</math>
  
Czyli <math>x - y</math> jest dzielnikiem <math>x^{n + 1} - y^{n + 1}</math>. Co kończy dowód indukcyjny.<br/>
+
Co należało pokazać.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 1123: Linia 847:
  
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C50</span><br/>
 
Jeżeli <math>n \geqslant 2</math> oraz <math>a^n - 1</math> jest liczbą pierwszą, to <math>a = 2</math> i <math>n</math> jest liczbą pierwszą.
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 
Z twierdzenia C49 wiemy, że <math>x - y \mid x^n - y^n</math>. W&nbsp;przypadku gdy <math>a > 2</math> mamy
 
  
::<math>a - 1 \mid a^n - 1</math>
+
== Funkcja Eulera <math>\varphi (n)</math> ==
  
Czyli musi być <math>a = 2</math>. Z&nbsp;tego samego twierdzenia wynika też, że jeżeli <math>n</math> jest liczbą złożoną <math>n = r s</math>, to
+
<span id="H32" style="font-size: 110%; font-weight: bold;">Definicja H32</span><br/>
 +
Funkcja Eulera <math>\varphi (n)</math><ref name="Euler1"/> jest równa ilości liczb całkowitych dodatnich nie większych od <math>n</math> i&nbsp;względnie pierwszych z <math>n</math>.
  
::<math>2^r - 1 \mid 2^{r s} - 1</math>
 
  
bo <math>a^r - b^r \mid (a^r)^s - (b^r)^s</math>. Zatem <math>n</math> musi być liczbą pierwszą. Co kończy dowód.<br/>
 
&#9633;
 
{{\Spoiler}}
 
  
 +
<span id="H33" style="font-size: 110%; font-weight: bold;">Twierdzenie H33</span><br/>
 +
Funkcja Eulera <math>\varphi (n)</math> jest multiplikatywna, czyli dla względnie pierwszych liczb <math>m, n</math> jest <math>\varphi (m n) = \varphi (m) \varphi (n)</math>.
  
 +
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 +
Niech <math>m, n</math> będą dodatnimi liczbami całkowitymi takimi, że <math>\gcd (m, n) = 1</math>. Twierdzenie jest prawdziwe dla <math>n = 1</math>, zatem nie zmniejszając ogólności, możemy założyć, że <math>n > 1</math>. Wypiszmy w&nbsp;tabeli wszystkie liczby od <math>1</math> do <math>m n</math>.
  
 +
::{| class="wikitable plainlinks"  style="font-size: 90%; text-align: right; margin-right: auto;"
 +
|-
 +
| <math>1</math> || <math>2</math> || <math>…</math> || <math>k</math> || <math>…</math> || <math>m</math>
 +
|-
 +
| <math>m + 1</math> || <math>m + 2</math> || <math>…</math> || <math>m + k</math> || <math>…</math> || <math>2 m</math>
 +
|-
 +
| <math>2 m + 1</math> || <math>2 m + 2</math> || <math>…</math> || <math>2 m + k</math> || <math>…</math> || <math>3 m</math>
 +
|-
 +
| <math>…</math> || <math>…</math> || <math>…</math> || <math>…</math> || <math></math> || <math></math>
 +
|-
 +
| <math>(n - 1) m + 1</math> || <math>(n - 1) m + 2</math> || <math>…</math> || <math>(n - 1) m + k</math> || <math>…</math> || <math>n m</math>
 +
|}
  
 +
'''1.''' Natychmiast widzimy, że w&nbsp;pierwszym wierszu mamy <math>\varphi (m)</math> liczb względnie pierwszych z <math>m</math>. Tak samo jest w&nbsp;każdym kolejnym wierszu, bo (zobacz [[#H5|H5]])
  
 +
::<math>\gcd (r m + k, m) = \gcd (k, m)</math>
  
== Ciągi arytmetyczne liczb pierwszych ==
+
Zatem mamy dokładnie <math>\varphi (m)</math> kolumn liczb względnie pierwszych z <math>m</math>.
  
<span style="font-size: 110%; font-weight: bold;">Uwaga C51</span><br/>
 
Ciągi arytmetyczne liczb pierwszych<ref name="PAPWiki"/><ref name="PAPMathWorld"/> zbudowane z&nbsp;dwóch liczb pierwszych nie są interesujące, bo dowolne dwie liczby tworzą ciąg arytmetyczny. Dlatego będziemy się zajmowali ciągami arytmetycznymi liczb pierwszych o&nbsp;długości <math>n \geqslant 3</math>.
 
  
Ponieważ nie da się zbudować ciągu arytmetycznego liczb pierwszych o&nbsp;długości <math>n \geqslant 3</math>, w&nbsp;którym pierwszym wyrazem jest liczba <math>p_0 = 2</math>, to będą nas interesowały ciągi rozpoczynające się od liczby pierwszej <math>p_0 \geqslant 3</math>
+
'''2.''' Załóżmy, że liczba <math>k</math> jest jedną z&nbsp;liczb względnie pierwszych z <math>m</math>, czyli <math>\gcd (k, m) = 1</math>. Przy tym założeniu <math>k</math>-ta kolumna (pokazana w&nbsp;tabeli) jest kolumną liczb względnie pierwszych z <math>m</math>.
  
Jeżeli do liczby pierwszej nieparzystej dodamy dodatnią liczbę nieparzystą, to otrzymamy liczbę parzystą złożoną, zatem różnica ciągu arytmetycznego <math>d</math> musi być liczbą parzystą, aby zbudowanie jakiegokolwiek ciągu arytmetycznego liczb pierwszych o&nbsp;długości <math>n \geqslant 3</math> było możliwe.
 
  
Istnienie nieskończenie wiele ciągów arytmetycznych liczb pierwszych o&nbsp;długości <math>n = 3</math> pokazano już wiele lat temu<ref name="Corput"/>. Temat ciągów arytmetycznych liczb pierwszych zyskał na popularności<ref name="largestPAP"/> po udowodnieniu przez Bena Greena i&nbsp;Terence'a Tao twierdzenia o&nbsp;istnieniu dowolnie długich (ale skończonych) ciągów arytmetycznych liczb pierwszych<ref name="GeenTao"/>.
+
'''3.''' Zauważmy, że reszty z&nbsp;dzielenia liczb wypisanych w <math>k</math>-tej kolumnie przez <math>n</math> są wszystkie różne. Gdyby tak nie było, to dla pewnych <math>i, j</math>, gdzie <math>0 \leqslant i, j \leqslant n - 1</math>, różnica liczb <math>i m + k</math> oraz <math>j m + k</math> byłaby podzielna przez <math>n</math>. Mielibyśmy
  
 +
::<math>n \mid ((i m + k) - (j m + k))</math>
  
 +
Skąd wynika natychmiast
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C52* (Ben Green i&nbsp;Terence Tao, 2004)</span><br/>
+
::<math>n \mid (i - j) m</math>
Dla dowolnej liczby naturalnej <math>n \geqslant 2</math> istnieje nieskończenie wiele <math>n</math>-wyrazowych ciągów arytmetycznych liczb pierwszych.
 
  
 +
Ponieważ założyliśmy, że <math>\gcd (n, m) = 1</math>, to musi być <math>n \mid (i - j)</math> (zobacz C74), ale
  
 +
::<math>0 \leqslant | i - j | \leqslant n - 1</math>
  
 +
Czyli <math>n</math> może dzielić <math>i - j</math> tylko w&nbsp;przypadku, gdy <math>i = j</math>. Wbrew naszemu przypuszczeniu, że istnieją różne liczby dające takie same reszty przy dzieleniu przez <math>n</math>.
  
<span style="font-size: 110%; font-weight: bold;">Przykład C53</span><br/>
 
Tabela zawiera przykładowe ciągi arytmetyczne liczb pierwszych o&nbsp;długości <math>n = 3</math> i <math>n = 4</math>.
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Pokaż tabele|Hide=Ukryj tabele}}
+
'''4.''' Ponieważ w <math>k</math>-tej kolumnie znajduje się dokładnie <math>n</math> liczb i&nbsp;reszty z&nbsp;dzielenia tych liczb przez <math>n</math> są wszystkie różne, to reszty te tworzą zbiór <math>S = \{ 0, 1, \ldots, n - 1 \}</math>. Wynika stąd, że liczby wypisane w <math>k</math>-tej kolumnie mogą być zapisane w&nbsp;postaci
W przypadku <math>n = 3</math> wyszukiwanie ciągów zostało przeprowadzone dla <math>d = 2 k</math>, gdzie <math>1 \leqslant k \leqslant 100</math> i (przy ustalonym <math>d</math>) dla kolejnych liczb pierwszych <math>p_0 \leqslant 10^8</math>.
 
  
W przypadku <math>n = 4</math> wyszukiwanie ciągów zostało przeprowadzone dla <math>d = 6 k</math>, gdzie <math>1 \leqslant k \leqslant 100</math> i (przy ustalonym <math>d</math>) dla kolejnych liczb pierwszych <math>p_0 \leqslant 10^8</math>.
+
::<math>a_r = b_r \cdot n + r</math>
  
Jeżeli w&nbsp;tabeli jest wypisanych sześć wartości <math>p_0</math>, to oznacza to, że zostało znalezionych co najmniej sześć wartości <math>p_0</math>.
+
gdzie <math>r = 0, 1, \ldots, n - 1</math> i <math>b_r \in \mathbb{Z}</math>.
  
{| class="wikitable plainlinks"  style="display: inline-table; margin-left: 5px; margin-right: 50px; font-size: 80%; text-align: right;"
+
Zauważmy, że następujące ilości liczb są sobie równe
|- style="background: #98fb98; text-align: center;"
 
| colspan=7 | <math>\mathbf{n = 3}</math>
 
|- style="text-align: center;"
 
| style="background: #ffd890;" | <math>\mathbf{d}</math>
 
| colspan=6 | <math>\mathbf{p_0}</math>
 
|-
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 4}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6}</math>||<math> 5</math>||<math> 7</math>||<math> 11</math>||<math> 17</math>||<math> 31</math>||<math> 41</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 8}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 12}</math>||<math> 5</math>||<math> 7</math>||<math> 17</math>||<math> 19</math>||<math> 29</math>||<math> 47</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18}</math>||<math> 5</math>||<math> 11</math>||<math> 23</math>||<math> 43</math>||<math> 53</math>||<math> 61</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 20}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 24}</math>||<math> 5</math>||<math> 13</math>||<math> 19</math>||<math> 23</math>||<math> 59</math>||<math> 79</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 28}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 30}</math>||<math> 7</math>||<math> 11</math>||<math> 13</math>||<math> 23</math>||<math> 29</math>||<math> 37</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 34}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 36}</math>||<math> 7</math>||<math> 11</math>||<math> 17</math>||<math> 31</math>||<math> 37</math>||<math> 67</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 38}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 40}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 42}</math>||<math> 5</math>||<math> 17</math>||<math> 19</math>||<math> 29</math>||<math> 47</math>||<math> 67</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 48}</math>||<math> 5</math>||<math> 11</math>||<math> 13</math>||<math> 31</math>||<math> 41</math>||<math> 53</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 50}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 54}</math>||<math> 5</math>||<math> 19</math>||<math> 29</math>||<math> 43</math>||<math> 59</math>||<math> 73</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 60}</math>||<math> 7</math>||<math> 11</math>||<math> 19</math>||<math> 29</math>||<math> 37</math>||<math> 43</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 64}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 66}</math>||<math> 5</math>||<math> 7</math>||<math> 17</math>||<math> 31</math>||<math> 41</math>||<math> 47</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 68}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 72}</math>||<math> 7</math>||<math> 29</math>||<math> 37</math>||<math> 67</math>||<math> 79</math>||<math> 107</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 78}</math>||<math> 11</math>||<math> 23</math>||<math> 71</math>||<math> 73</math>||<math> 101</math>||<math> 113</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 80}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 84}</math>||<math> 5</math>||<math> 13</math>||<math> 23</math>||<math> 29</math>||<math> 43</math>||<math> 73</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 90}</math>||<math> 11</math>||<math> 13</math>||<math> 17</math>||<math> 19</math>||<math> 47</math>||<math> 59</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 94}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 96}</math>||<math> 5</math>||<math> 7</math>||<math> 31</math>||<math> 41</math>||<math> 71</math>||<math> 101</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 98}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 102}</math>||<math> 7</math>||<math> 29</math>||<math> 37</math>||<math> 47</math>||<math> 79</math>||<math> 89</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 104}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 108}</math>||<math> 23</math>||<math> 41</math>||<math> 131</math>||<math> 163</math>||<math> 173</math>||<math> 223</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 110}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 114}</math>||<math> 13</math>||<math> 23</math>||<math> 43</math>||<math> 53</math>||<math> 79</math>||<math> 83</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 120}</math>||<math> 11</math>||<math> 17</math>||<math> 29</math>||<math> 31</math>||<math> 37</math>||<math> 43</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 124}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 126}</math>||<math> 5</math>||<math> 11</math>||<math> 31</math>||<math> 41</math>||<math> 97</math>||<math> 101</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 132}</math>||<math> 5</math>||<math> 7</math>||<math> 17</math>||<math> 19</math>||<math> 47</math>||<math> 67</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 134}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 138}</math>||<math> 41</math>||<math> 61</math>||<math> 73</math>||<math> 103</math>||<math> 113</math>||<math> 173</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 144}</math>||<math> 5</math>||<math> 19</math>||<math> 23</math>||<math> 29</math>||<math> 79</math>||<math> 113</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 150}</math>||<math> 7</math>||<math> 13</math>||<math> 17</math>||<math> 31</math>||<math> 47</math>||<math> 73</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 154}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 156}</math>||<math> 37</math>||<math> 41</math>||<math> 67</math>||<math> 71</math>||<math> 107</math>||<math> 127</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 162}</math>||<math> 29</math>||<math> 107</math>||<math> 109</math>||<math> 197</math>||<math> 239</math>||<math> 269</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 164}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 168}</math>||<math> 11</math>||<math> 13</math>||<math> 23</math>||<math> 31</math>||<math> 43</math>||<math> 61</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 174}</math>||<math> 5</math>||<math> 19</math>||<math> 53</math>||<math> 83</math>||<math> 109</math>||<math> 139</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 178}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 180}</math>||<math> 13</math>||<math> 19</math>||<math> 59</math>||<math> 61</math>||<math> 71</math>||<math> 83</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 186}</math>||<math> 7</math>||<math> 11</math>||<math> 37</math>||<math> 47</math>||<math> 71</math>||<math> 107</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 188}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 190}</math>||<math> 3</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 192}</math>||<math> 5</math>||<math> 37</math>||<math> 47</math>||<math> 59</math>||<math> 79</math>||<math> 139</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 198}</math>||<math> 13</math>||<math> 43</math>||<math> 53</math>||<math> 71</math>||<math> 83</math>||<math> 113</math>
 
|}
 
{| class="wikitable plainlinks"  style="display: inline-table; margin-left: 5px; margin-right: 50px; font-size: 80%; text-align: right;"
 
|- style="background: #98fb98; text-align: center;"
 
| colspan=7 | <math>\mathbf{n = 4}</math>
 
|- style="text-align: center;"
 
| style="background: #ffd890;" | <math>\mathbf{d}</math>
 
| colspan=6 | <math>\mathbf{p_0}</math>
 
|-
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6}</math>||<math> 5</math>||<math> 11</math>||<math> 41</math>||<math> 61</math>||<math> 251</math>||<math> 601</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 12}</math>||<math> 5</math>||<math> 7</math>||<math> 17</math>||<math> 47</math>||<math> 127</math>||<math> 227</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18}</math>||<math> 5</math>||<math> 43</math>||<math> 53</math>||<math> 113</math>||<math> 313</math>||<math> 673</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 24}</math>||<math> 59</math>||<math> 79</math>||<math> 349</math>||<math> 419</math>||<math> 499</math>||<math> 569</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 30}</math>||<math> 7</math>||<math> 11</math>||<math> 13</math>||<math> 23</math>||<math> 37</math>||<math> 41</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 36}</math>||<math> 31</math>||<math> 241</math>||<math> 281</math>||<math> 311</math>||<math> 751</math>||<math> 911</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 42}</math>||<math> 5</math>||<math> 47</math>||<math> 67</math>||<math> 97</math>||<math> 107</math>||<math> 157</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 48}</math>||<math> 5</math>||<math> 13</math>||<math> 53</math>||<math> 83</math>||<math> 613</math>||<math> 643</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 54}</math>||<math> 5</math>||<math> 19</math>||<math> 29</math>||<math> 239</math>||<math> 379</math>||<math> 719</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 60}</math>||<math> 11</math>||<math> 19</math>||<math> 43</math>||<math> 47</math>||<math> 53</math>||<math> 71</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 66}</math>||<math> 31</math>||<math> 41</math>||<math> 241</math>||<math> 251</math>||<math> 521</math>||<math> 541</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 72}</math>||<math> 7</math>||<math> 67</math>||<math> 167</math>||<math> 347</math>||<math> 947</math>||<math> 1217</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 78}</math>||<math> 23</math>||<math> 73</math>||<math> 113</math>||<math> 233</math>||<math> 353</math>||<math> 443</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 84}</math>||<math> 5</math>||<math> 29</math>||<math> 149</math>||<math> 179</math>||<math> 379</math>||<math> 439</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 90}</math>||<math> 11</math>||<math> 13</math>||<math> 47</math>||<math> 61</math>||<math> 83</math>||<math> 89</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 96}</math>||<math> 5</math>||<math> 71</math>||<math> 101</math>||<math> 631</math>||<math> 761</math>||<math> 1471</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 102}</math>||<math> 7</math>||<math> 47</math>||<math> 127</math>||<math> 257</math>||<math> 337</math>||<math> 557</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 108}</math>||<math> 23</math>||<math> 163</math>||<math> 223</math>||<math> 293</math>||<math> 353</math>||<math> 643</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 114}</math>||<math> 79</math>||<math> 349</math>||<math> 569</math>||<math> 709</math>||<math> 1259</math>||<math> 2039</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 120}</math>||<math> 29</math>||<math> 37</math>||<math> 71</math>||<math> 73</math>||<math> 107</math>||<math> 149</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 126}</math>||<math> 5</math>||<math> 11</math>||<math> 31</math>||<math> 41</math>||<math> 101</math>||<math> 131</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 132}</math>||<math> 5</math>||<math> 47</math>||<math> 67</math>||<math> 257</math>||<math> 277</math>||<math> 487</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 138}</math>||<math> 73</math>||<math> 173</math>||<math> 383</math>||<math> 463</math>||<math> 563</math>||<math> 773</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 144}</math>||<math> 29</math>||<math> 509</math>||<math> 599</math>||<math> 1019</math>||<math> 1579</math>||<math> 2609</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 150}</math>||<math> 7</math>||<math> 13</math>||<math> 17</math>||<math> 73</math>||<math> 157</math>||<math> 163</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 156}</math>||<math> 41</math>||<math> 151</math>||<math> 191</math>||<math> 461</math>||<math> 571</math>||<math> 641</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 162}</math>||<math> 107</math>||<math> 197</math>||<math> 337</math>||<math> 967</math>||<math> 1297</math>||<math> 1627</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 168}</math>||<math> 43</math>||<math> 73</math>||<math> 83</math>||<math> 103</math>||<math> 113</math>||<math> 373</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 174}</math>||<math> 19</math>||<math> 109</math>||<math> 139</math>||<math> 509</math>||<math> 839</math>||<math> 929</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 180}</math>||<math> 59</math>||<math> 61</math>||<math> 101</math>||<math> 103</math>||<math> 281</math>||<math> 283</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 186}</math>||<math> 11</math>||<math> 151</math>||<math> 271</math>||<math> 281</math>||<math> 491</math>||<math> 691</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 192}</math>||<math> 37</math>||<math> 157</math>||<math> 307</math>||<math> 647</math>||<math> 1087</math>||<math> 1427</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 198}</math>||<math> 13</math>||<math> 53</math>||<math> 83</math>||<math> 263</math>||<math> 373</math>||<math> 853</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 204}</math>||<math> 79</math>||<math> 149</math>||<math> 449</math>||<math> 479</math>||<math> 569</math>||<math> 919</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 210}</math>||<math> 13</math>||<math> 23</math>||<math> 29</math>||<math> 47</math>||<math> 71</math>||<math> 103</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 216}</math>||<math> 11</math>||<math> 181</math>||<math> 761</math>||<math> 1021</math>||<math> 1061</math>||<math> 1231</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 222}</math>||<math> 17</math>||<math> 157</math>||<math> 197</math>||<math> 547</math>||<math> 617</math>||<math> 787</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 228}</math>||<math> 43</math>||<math> 263</math>||<math> 313</math>||<math> 593</math>||<math> 953</math>||<math> 1093</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 234}</math>||<math> 359</math>||<math> 499</math>||<math> 619</math>||<math> 829</math>||<math> 1549</math>||<math> 2309</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 240}</math>||<math> 23</math>||<math> 41</math>||<math> 67</math>||<math> 107</math>||<math> 139</math>||<math> 263</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 246}</math>||<math> 31</math>||<math> 71</math>||<math> 101</math>||<math> 331</math>||<math> 541</math>||<math> 661</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 252}</math>||<math> 5</math>||<math> 17</math>||<math> 97</math>||<math> 127</math>||<math> 197</math>||<math> 257</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 258}</math>||<math> 53</math>||<math> 313</math>||<math> 503</math>||<math> 1103</math>||<math> 1873</math>||<math> 3253</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 264}</math>||<math> 19</math>||<math> 29</math>||<math> 89</math>||<math> 199</math>||<math> 379</math>||<math> 409</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 270}</math>||<math> 47</math>||<math> 67</math>||<math> 229</math>||<math> 491</math>||<math> 557</math>||<math> 613</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 276}</math>||<math> 181</math>||<math> 191</math>||<math> 401</math>||<math> 601</math>||<math> 661</math>||<math> 1171</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 282}</math>||<math> 137</math>||<math> 317</math>||<math> 457</math>||<math> 1297</math>||<math> 1747</math>||<math> 1787</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 288}</math>||<math> 23</math>||<math> 43</math>||<math> 233</math>||<math> 353</math>||<math> 463</math>||<math> 743</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 294}</math>||<math> 59</math>||<math> 89</math>||<math> 139</math>||<math> 269</math>||<math> 349</math>||<math> 719</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 300}</math>||<math> 7</math>||<math> 47</math>||<math> 53</math>||<math> 83</math>||<math> 109</math>||<math> 139</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 306}</math>||<math> 491</math>||<math> 691</math>||<math> 971</math>||<math> 1321</math>||<math> 1471</math>||<math> 2341</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 312}</math>||<math> 127</math>||<math> 257</math>||<math> 347</math>||<math> 547</math>||<math> 607</math>||<math> 757</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 318}</math>||<math> 283</math>||<math> 373</math>||<math> 653</math>||<math> 1063</math>||<math> 1493</math>||<math> 1823</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 324}</math>||<math> 179</math>||<math> 349</math>||<math> 839</math>||<math> 2389</math>||<math> 2699</math>||<math> 2879</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 330}</math>||<math> 23</math>||<math> 59</math>||<math> 79</math>||<math> 101</math>||<math> 113</math>||<math> 127</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 336}</math>||<math> 11</math>||<math> 61</math>||<math> 281</math>||<math> 311</math>||<math> 421</math>||<math> 491</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 342}</math>||<math> 7</math>||<math> 67</math>||<math> 137</math>||<math> 257</math>||<math> 467</math>||<math> 887</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 348}</math>||<math> 5</math>||<math> 73</math>||<math> 563</math>||<math> 593</math>||<math> 743</math>||<math> 1373</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 354}</math>||<math> 89</math>||<math> 239</math>||<math> 389</math>||<math> 509</math>||<math> 659</math>||<math> 739</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 360}</math>||<math> 7</math>||<math> 13</math>||<math> 23</math>||<math> 37</math>||<math> 101</math>||<math> 107</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 366}</math>||<math> 461</math>||<math> 571</math>||<math> 1481</math>||<math> 1511</math>||<math> 1901</math>||<math> 2111</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 372}</math>||<math> 7</math>||<math> 547</math>||<math> 857</math>||<math> 877</math>||<math> 1087</math>||<math> 2887</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 378}</math>||<math> 53</math>||<math> 83</math>||<math> 163</math>||<math> 313</math>||<math> 503</math>||<math> 563</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 384}</math>||<math> 139</math>||<math> 229</math>||<math> 719</math>||<math> 1229</math>||<math> 1439</math>||<math> 1699</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 390}</math>||<math> 31</math>||<math> 43</math>||<math> 59</math>||<math> 131</math>||<math> 157</math>||<math> 197</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 396}</math>||<math> 5</math>||<math> 61</math>||<math> 71</math>||<math> 431</math>||<math> 691</math>||<math> 701</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 402}</math>||<math> 7</math>||<math> 17</math>||<math> 167</math>||<math> 727</math>||<math> 997</math>||<math> 1637</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 408}</math>||<math> 13</math>||<math> 223</math>||<math> 643</math>||<math> 683</math>||<math> 1063</math>||<math> 1213</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 414}</math>||<math> 269</math>||<math> 359</math>||<math> 619</math>||<math> 1039</math>||<math> 1879</math>||<math> 2089</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 420}</math>||<math> 19</math>||<math> 23</math>||<math> 37</math>||<math> 41</math>||<math> 43</math>||<math> 47</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 426}</math>||<math> 5</math>||<math> 131</math>||<math> 181</math>||<math> 431</math>||<math> 761</math>||<math> 811</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 432}</math>||<math> 227</math>||<math> 617</math>||<math> 857</math>||<math> 997</math>||<math> 1657</math>||<math> 1667</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 438}</math>||<math> 5</math>||<math> 53</math>||<math> 383</math>||<math> 1163</math>||<math> 1303</math>||<math> 1873</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 444}</math>||<math> 199</math>||<math> 409</math>||<math> 1109</math>||<math> 1669</math>||<math> 1889</math>||<math> 2029</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 450}</math>||<math> 11</math>||<math> 97</math>||<math> 149</math>||<math> 193</math>||<math> 251</math>||<math> 359</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 456}</math>||<math> 191</math>||<math> 521</math>||<math> 631</math>||<math> 1171</math>||<math> 1291</math>||<math> 2341</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 462}</math>||<math> 47</math>||<math> 107</math>||<math> 137</math>||<math> 277</math>||<math> 307</math>||<math> 367</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 468}</math>||<math> 193</math>||<math> 293</math>||<math> 503</math>||<math> 683</math>||<math> 733</math>||<math> 1013</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 474}</math>||<math> 5</math>||<math> 29</math>||<math> 379</math>||<math> 479</math>||<math> 719</math>||<math> 829</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 480}</math>||<math> 7</math>||<math> 11</math>||<math> 127</math>||<math> 347</math>||<math> 439</math>||<math> 449</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 486}</math>||<math> 241</math>||<math> 811</math>||<math> 941</math>||<math> 1361</math>||<math> 1861</math>||<math> 1871</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 492}</math>||<math> 7</math>||<math> 107</math>||<math> 947</math>||<math> 1607</math>||<math> 2897</math>||<math> 3037</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 498}</math>||<math> 73</math>||<math> 883</math>||<math> 953</math>||<math> 983</math>||<math> 1723</math>||<math> 1913</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 504}</math>||<math> 89</math>||<math> 109</math>||<math> 229</math>||<math> 359</math>||<math> 599</math>||<math> 619</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 510}</math>||<math> 13</math>||<math> 67</math>||<math> 83</math>||<math> 89</math>||<math> 97</math>||<math> 167</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 516}</math>||<math> 31</math>||<math> 61</math>||<math> 71</math>||<math> 1181</math>||<math> 1361</math>||<math> 1471</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 522}</math>||<math> 47</math>||<math> 487</math>||<math> 907</math>||<math> 1097</math>||<math> 1237</math>||<math> 1747</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 528}</math>||<math> 13</math>||<math> 73</math>||<math> 443</math>||<math> 503</math>||<math> 653</math>||<math> 1213</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 534}</math>||<math> 839</math>||<math> 919</math>||<math> 1019</math>||<math> 1399</math>||<math> 1579</math>||<math> 1619</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 540}</math>||<math> 7</math>||<math> 17</math>||<math> 37</math>||<math> 73</math>||<math> 101</math>||<math> 113</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 546}</math>||<math> 31</math>||<math> 61</math>||<math> 71</math>||<math> 401</math>||<math> 431</math>||<math> 821</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 552}</math>||<math> 67</math>||<math> 257</math>||<math> 277</math>||<math> 727</math>||<math> 1427</math>||<math> 2267</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 558}</math>||<math> 463</math>||<math> 593</math>||<math> 673</math>||<math> 1013</math>||<math> 1583</math>||<math> 2243</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 564}</math>||<math> 109</math>||<math> 179</math>||<math> 659</math>||<math> 719</math>||<math> 859</math>||<math> 1429</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 570}</math>||<math> 23</math>||<math> 31</math>||<math> 73</math>||<math> 157</math>||<math> 163</math>||<math> 241</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 576}</math>||<math> 151</math>||<math> 401</math>||<math> 541</math>||<math> 991</math>||<math> 1061</math>||<math> 1091</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 582}</math>||<math> 37</math>||<math> 127</math>||<math> 457</math>||<math> 647</math>||<math> 967</math>||<math> 1087</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 588}</math>||<math> 103</math>||<math> 113</math>||<math> 223</math>||<math> 233</math>||<math> 443</math>||<math> 613</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 594}</math>||<math> 5</math>||<math> 89</math>||<math> 439</math>||<math> 599</math>||<math> 839</math>||<math> 1019</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 600}</math>||<math> 31</math>||<math> 101</math>||<math> 173</math>||<math> 227</math>||<math> 229</math>||<math> 239</math>
 
|}
 
<br/>
 
&#9633;
 
{{\Spoiler}}
 
  
 +
:*&nbsp;&nbsp;&nbsp;ilość liczb w <math>k</math>-tej kolumnie względnie pierwszych z <math>n</math>
  
 +
:*&nbsp;&nbsp;&nbsp;ilość liczb <math>r</math> względnie pierwszych z <math>n</math>, gdzie <math>r = 0, \ldots, n - 1</math>, bo <math>\gcd (b_r \cdot n + r, n) = \gcd (r, n)</math>
  
<span style="font-size: 110%; font-weight: bold;">Przykład C54</span><br/>
+
:*&nbsp;&nbsp;&nbsp;ilość liczb <math>r</math> względnie pierwszych z <math>n</math>, gdzie <math>r = 1, \ldots, n</math>, bo <math>\gcd (n, n) = \gcd (0, n) = | n | > 1</math>
Tabela zawiera przykładowe ciągi arytmetyczne liczb pierwszych o&nbsp;długości <math>n = 5</math> i <math>n = 6</math>.
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Pokaż tabele|Hide=Ukryj tabele}}
+
Ostatnia ilość liczb jest równa <math>\varphi (n)</math>, co wynika wprost z&nbsp;definicji funkcji <math>\varphi (n)</math>.
W przypadku <math>n = 5</math> wyszukiwanie ciągów zostało przeprowadzone dla <math>d = 6 k</math>, gdzie <math>1 \leqslant k \leqslant 100</math> i (przy ustalonym <math>d</math>) dla kolejnych liczb pierwszych <math>p_0 \leqslant 10^8</math>.
 
  
W przypadku <math>n = 6</math> wyszukiwanie ciągów zostało przeprowadzone dla <math>d = 30 k</math>, gdzie <math>1 \leqslant k \leqslant 100</math> i (przy ustalonym <math>d</math>) dla kolejnych liczb pierwszych <math>p_0 \leqslant 10^8</math>.
 
  
Jeżeli w&nbsp;tabeli jest wypisanych sześć wartości <math>p_0</math>, to oznacza to, że zostało znalezionych co najmniej sześć wartości <math>p_0</math>.
+
'''5.''' Zbierając: mamy w&nbsp;wypisanej tabeli dokładnie <math>\varphi (m) \varphi (n)</math> liczb <math>u \in [1, m n]</math>, dla których jednocześnie jest
  
{| class="wikitable plainlinks"  style="display: inline-table; margin-left: 5px; margin-right: 50px; font-size: 80%; text-align: right;"
+
::<math>\gcd (u, m) = 1 \quad \text{i} \quad \gcd (u, n) = 1</math>
|- style="background: #98fb98; text-align: center;"
 
| colspan=7 | <math>\mathbf{n = 5}</math>
 
|- style="text-align: center;"
 
| style="background: #ffd890;" | <math>\mathbf{d}</math>
 
| colspan=6 | <math>\mathbf{p_0}</math>
 
|-
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6}</math>||<math> 5</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 12}</math>||<math> 5</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 30}</math>||<math> 7</math>||<math> 11</math>||<math> 37</math>||<math> 107</math>||<math> 137</math>||<math> 151</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 42}</math>||<math> 5</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 48}</math>||<math> 5</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 60}</math>||<math> 11</math>||<math> 43</math>||<math> 53</math>||<math> 71</math>||<math> 113</math>||<math> 571</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 90}</math>||<math> 13</math>||<math> 61</math>||<math> 83</math>||<math> 89</math>||<math> 103</math>||<math> 503</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 96}</math>||<math> 5</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 120}</math>||<math> 29</math>||<math> 107</math>||<math> 239</math>||<math> 281</math>||<math> 359</math>||<math> 379</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 126}</math>||<math> 5</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 150}</math>||<math> 7</math>||<math> 13</math>||<math> 17</math>||<math> 73</math>||<math> 157</math>||<math> 223</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 180}</math>||<math> 101</math>||<math> 103</math>||<math> 367</math>||<math> 397</math>||<math> 577</math>||<math> 1013</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 210}</math>||<math> 13</math>||<math> 23</math>||<math> 47</math>||<math> 71</math>||<math> 127</math>||<math> 157</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 240}</math>||<math> 23</math>||<math> 263</math>||<math> 331</math>||<math> 571</math>||<math> 823</math>||<math> 947</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 252}</math>||<math> 5</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 270}</math>||<math> 491</math>||<math> 557</math>||<math> 613</math>||<math> 641</math>||<math> 743</math>||<math> 827</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 300}</math>||<math> 83</math>||<math> 223</math>||<math> 383</math>||<math> 419</math>||<math> 509</math>||<math> 523</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 330}</math>||<math> 79</math>||<math> 113</math>||<math> 127</math>||<math> 317</math>||<math> 457</math>||<math> 491</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 360}</math>||<math> 7</math>||<math> 13</math>||<math> 227</math>||<math> 293</math>||<math> 349</math>||<math> 577</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 390}</math>||<math> 59</math>||<math> 229</math>||<math> 311</math>||<math> 619</math>||<math> 1097</math>||<math> 1489</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 420}</math>||<math> 19</math>||<math> 41</math>||<math> 43</math>||<math> 67</math>||<math> 193</math>||<math> 199</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 426}</math>||<math> 5</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 450}</math>||<math> 11</math>||<math> 149</math>||<math> 193</math>||<math> 599</math>||<math> 1033</math>||<math> 1117</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 474}</math>||<math> 5</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 480}</math>||<math> 11</math>||<math> 347</math>||<math> 491</math>||<math> 1019</math>||<math> 1103</math>||<math> 1723</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 510}</math>||<math> 13</math>||<math> 89</math>||<math> 97</math>||<math> 167</math>||<math> 229</math>||<math> 419</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 540}</math>||<math> 113</math>||<math> 211</math>||<math> 281</math>||<math> 379</math>||<math> 673</math>||<math> 919</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 570}</math>||<math> 31</math>||<math> 157</math>||<math> 241</math>||<math> 269</math>||<math> 647</math>||<math> 839</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 594}</math>||<math> 5</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 600}</math>||<math> 283</math>||<math> 311</math>||<math> 353</math>||<math> 509</math>||<math> 1223</math>||<math> 1531</math>
 
|}
 
{| class="wikitable plainlinks" style="display: inline-table; margin-left: 5px; margin-right: 50px; font-size: 80%; text-align: right;"
 
|- style="background: #98fb98; text-align: center;"
 
| colspan=7 | <math>\mathbf{n = 6}</math>
 
|- style="text-align: center;"
 
| style="background: #ffd890;" | <math>\mathbf{d}</math>
 
| colspan=6 | <math>\mathbf{p_0}</math>
 
|-
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 30}</math>||<math> 7</math>||<math> 107</math>||<math> 359</math>||<math> 541</math>||<math> 2221</math>||<math> 6673</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 60}</math>||<math> 11</math>||<math> 53</math>||<math> 641</math>||<math> 5443</math>||<math> 10091</math>||<math> 12457</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 90}</math>||<math> 13</math>||<math> 503</math>||<math> 1973</math>||<math> 2351</math>||<math> 5081</math>||<math> 10709</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 120}</math>||<math> 239</math>||<math> 281</math>||<math> 701</math>||<math> 2339</math>||<math> 2437</math>||<math> 10613</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 150}</math>||<math> 7</math>||<math> 73</math>||<math> 157</math>||<math> 2467</math>||<math> 4637</math>||<math> 6079</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 180}</math>||<math> 397</math>||<math> 1013</math>||<math> 1307</math>||<math> 17029</math>||<math> 20963</math>||<math> 24337</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 210}</math>||<math> 13</math>||<math> 47</math>||<math> 179</math>||<math> 199</math>||<math> 257</math>||<math> 389</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 240}</math>||<math> 23</math>||<math> 331</math>||<math> 2207</math>||<math> 3677</math>||<math> 5021</math>||<math> 6323</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 270}</math>||<math> 557</math>||<math> 1201</math>||<math> 2377</math>||<math> 8467</math>||<math> 9923</math>||<math> 12107</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 300}</math>||<math> 83</math>||<math> 223</math>||<math> 587</math>||<math> 1511</math>||<math> 4073</math>||<math> 4423</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 330}</math>||<math> 127</math>||<math> 491</math>||<math> 2129</math>||<math> 2857</math>||<math> 3137</math>||<math> 5153</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 360}</math>||<math> 227</math>||<math> 577</math>||<math> 1669</math>||<math> 9187</math>||<math> 13331</math>||<math> 13933</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 390}</math>||<math> 229</math>||<math> 3701</math>||<math> 9007</math>||<math> 9833</math>||<math> 13291</math>||<math> 17911</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 420}</math>||<math> 41</math>||<math> 43</math>||<math> 193</math>||<math> 613</math>||<math> 743</math>||<math> 1289</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 450}</math>||<math> 149</math>||<math> 1381</math>||<math> 1451</math>||<math> 3607</math>||<math> 5651</math>||<math> 8521</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 480}</math>||<math> 11</math>||<math> 5051</math>||<math> 8719</math>||<math> 10567</math>||<math> 11113</math>||<math> 13591</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 510}</math>||<math> 97</math>||<math> 419</math>||<math> 811</math>||<math> 3191</math>||<math> 3583</math>||<math> 4283</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 540}</math>||<math> 379</math>||<math> 673</math>||<math> 3851</math>||<math> 3907</math>||<math> 7043</math>||<math> 12377</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 570}</math>||<math> 269</math>||<math> 1039</math>||<math> 2887</math>||<math> 3853</math>||<math> 10979</math>||<math> 11399</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 600}</math>||<math> 8839</math>||<math> 23371</math>||<math> 38183</math>||<math> 44189</math>||<math> 59743</math>||<math> 63467</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 630}</math>||<math> 179</math>||<math> 193</math>||<math> 1637</math>||<math> 2267</math>||<math> 2897</math>||<math> 4813</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 660}</math>||<math> 163</math>||<math> 317</math>||<math> 401</math>||<math> 2753</math>||<math> 3229</math>||<math> 5077</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 690}</math>||<math> 277</math>||<math> 1523</math>||<math> 6101</math>||<math> 10427</math>||<math> 15971</math>||<math> 27059</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 720}</math>||<math> 1231</math>||<math> 3793</math>||<math> 4003</math>||<math> 6229</math>||<math> 7573</math>||<math> 10079</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 750}</math>||<math> 1051</math>||<math> 1289</math>||<math> 1583</math>||<math> 2857</math>||<math> 12377</math>||<math> 18523</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 780}</math>||<math> 1151</math>||<math> 3517</math>||<math> 3923</math>||<math> 4637</math>||<math> 5309</math>||<math> 9929</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 810}</math>||<math> 1993</math>||<math> 7817</math>||<math> 11443</math>||<math> 17519</math>||<math> 52631</math>||<math> 109919</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 840}</math>||<math> 97</math>||<math> 313</math>||<math> 1061</math>||<math> 1753</math>||<math> 1901</math>||<math> 2593</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 870}</math>||<math> 2039</math>||<math> 2179</math>||<math> 5273</math>||<math> 5987</math>||<math> 9431</math>||<math> 10957</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 900}</math>||<math> 1747</math>||<math> 12541</math>||<math> 14767</math>||<math> 21193</math>||<math> 31511</math>||<math> 40289</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 930}</math>||<math> 7</math>||<math> 293</math>||<math> 9043</math>||<math> 10247</math>||<math> 34327</math>||<math> 38891</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 960}</math>||<math> 4943</math>||<math> 8737</math>||<math> 15373</math>||<math> 28351</math>||<math> 35393</math>||<math> 36919</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 990}</math>||<math> 1249</math>||<math> 1319</math>||<math> 2467</math>||<math> 2957</math>||<math> 4049</math>||<math> 8291</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1020}</math>||<math> 887</math>||<math> 929</math>||<math> 2441</math>||<math> 4639</math>||<math> 15083</math>||<math> 19997</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1050}</math>||<math> 53</math>||<math> 257</math>||<math> 443</math>||<math> 839</math>||<math> 1103</math>||<math> 3469</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1080}</math>||<math> 1423</math>||<math> 9011</math>||<math> 10663</math>||<math> 27799</math>||<math> 36493</math>||<math> 51473</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1110}</math>||<math> 3847</math>||<math> 9643</math>||<math> 10357</math>||<math> 11743</math>||<math> 16223</math>||<math> 21977</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1140}</math>||<math> 1063</math>||<math> 1301</math>||<math> 1553</math>||<math> 1777</math>||<math> 5683</math>||<math> 6397</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1170}</math>||<math> 379</math>||<math> 701</math>||<math> 911</math>||<math> 2143</math>||<math> 2297</math>||<math> 2857</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1200}</math>||<math> 367</math>||<math> 2677</math>||<math> 3391</math>||<math> 18749</math>||<math> 34961</math>||<math> 59699</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1230}</math>||<math> 2539</math>||<math> 6053</math>||<math> 6823</math>||<math> 9091</math>||<math> 12101</math>||<math> 14831</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1260}</math>||<math> 359</math>||<math> 617</math>||<math> 739</math>||<math> 1051</math>||<math> 1619</math>||<math> 1931</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1290}</math>||<math> 149</math>||<math> 17747</math>||<math> 20981</math>||<math> 24481</math>||<math> 46643</math>||<math> 47917</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1320}</math>||<math> 53</math>||<math> 977</math>||<math> 991</math>||<math> 2237</math>||<math> 9461</math>||<math> 20983</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1350}</math>||<math> 811</math>||<math> 937</math>||<math> 3877</math>||<math> 14923</math>||<math> 16001</math>||<math> 18493</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1380}</math>||<math> 3613</math>||<math> 9227</math>||<math> 15541</math>||<math> 16927</math>||<math> 17417</math>||<math> 18089</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1410}</math>||<math> 367</math>||<math> 2593</math>||<math> 12421</math>||<math> 50599</math>||<math> 60889</math>||<math> 80629</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1440}</math>||<math> 439</math>||<math> 6277</math>||<math> 20753</math>||<math> 21929</math>||<math> 39079</math>||<math> 57727</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1470}</math>||<math> 1279</math>||<math> 1877</math>||<math> 2383</math>||<math> 2393</math>||<math> 2749</math>||<math> 2801</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1500}</math>||<math> 7331</math>||<math> 8423</math>||<math> 15493</math>||<math> 28513</math>||<math> 31607</math>||<math> 38453</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1530}</math>||<math> 2741</math>||<math> 3203</math>||<math> 8537</math>||<math> 14389</math>||<math> 20143</math>||<math> 21277</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1560}</math>||<math> 419</math>||<math> 727</math>||<math> 3499</math>||<math> 3919</math>||<math> 6257</math>||<math> 9029</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1590}</math>||<math> 2213</math>||<math> 2339</math>||<math> 4523</math>||<math> 6469</math>||<math> 9241</math>||<math> 9857</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1620}</math>||<math> 7717</math>||<math> 9103</math>||<math> 12379</math>||<math> 37607</math>||<math> 43613</math>||<math> 46567</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1650}</math>||<math> 19</math>||<math> 3001</math>||<math> 3659</math>||<math> 4051</math>||<math> 4289</math>||<math> 11527</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1680}</math>||<math> 197</math>||<math> 997</math>||<math> 1289</math>||<math> 1319</math>||<math> 2309</math>||<math> 2683</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1710}</math>||<math> 373</math>||<math> 1549</math>||<math> 1913</math>||<math> 2711</math>||<math> 12539</math>||<math> 15031</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1740}</math>||<math> 1621</math>||<math> 5387</math>||<math> 6269</math>||<math> 15551</math>||<math> 61723</math>||<math> 77543</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1770}</math>||<math> 1483</math>||<math> 13691</math>||<math> 15329</math>||<math> 20873</math>||<math> 23869</math>||<math> 29917</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1800}</math>||<math> 421</math>||<math> 967</math>||<math> 1499</math>||<math> 6217</math>||<math> 30983</math>||<math> 37171</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1830}</math>||<math> 31</math>||<math> 17909</math>||<math> 46567</math>||<math> 89057</math>||<math> 105619</math>||<math> 128341</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1860}</math>||<math> 5087</math>||<math> 6151</math>||<math> 9133</math>||<math> 16567</math>||<math> 23819</math>||<math> 29881</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1890}</math>||<math> 23</math>||<math> 727</math>||<math> 1109</math>||<math> 1279</math>||<math> 1409</math>||<math> 1543</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1920}</math>||<math> 79</math>||<math> 1493</math>||<math> 13967</math>||<math> 19973</math>||<math> 41351</math>||<math> 46867</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1950}</math>||<math> 3259</math>||<math> 4813</math>||<math> 8803</math>||<math> 12373</math>||<math> 13577</math>||<math> 13619</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1980}</math>||<math> 1511</math>||<math> 3863</math>||<math> 4969</math>||<math> 5039</math>||<math> 7027</math>||<math> 9337</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2010}</math>||<math> 1303</math>||<math> 3739</math>||<math> 7309</math>||<math> 13763</math>||<math> 22093</math>||<math> 31151</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2040}</math>||<math> 1039</math>||<math> 6779</math>||<math> 7507</math>||<math> 8963</math>||<math> 10069</math>||<math> 12281</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2070}</math>||<math> 1097</math>||<math> 2063</math>||<math> 2917</math>||<math> 4289</math>||<math> 6571</math>||<math> 11149</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2100}</math>||<math> 29</math>||<math> 281</math>||<math> 757</math>||<math> 1459</math>||<math> 1847</math>||<math> 2503</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2130}</math>||<math> 3677</math>||<math> 5077</math>||<math> 11699</math>||<math> 17159</math>||<math> 21149</math>||<math> 31159</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2160}</math>||<math> 5849</math>||<math> 6619</math>||<math> 24329</math>||<math> 43019</math>||<math> 114419</math>||<math> 126823</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2190}</math>||<math> 643</math>||<math> 4283</math>||<math> 4339</math>||<math> 23743</math>||<math> 24821</math>||<math> 30211</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2220}</math>||<math> 4229</math>||<math> 11243</math>||<math> 11467</math>||<math> 12503</math>||<math> 13693</math>||<math> 26209</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2250}</math>||<math> 4721</math>||<math> 6359</math>||<math> 17321</math>||<math> 19477</math>||<math> 21661</math>||<math> 23117</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2280}</math>||<math> 719</math>||<math> 2399</math>||<math> 15797</math>||<math> 22391</math>||<math> 23189</math>||<math> 27809</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2310}</math>||<math> 37</math>||<math> 71</math>||<math> 83</math>||<math> 547</math>||<math> 661</math>||<math> 859</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2340}</math>||<math> 107</math>||<math> 4363</math>||<math> 5483</math>||<math> 9613</math>||<math> 12413</math>||<math> 14737</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2370}</math>||<math> 1187</math>||<math> 1831</math>||<math> 4211</math>||<math> 7963</math>||<math> 9419</math>||<math> 15607</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2400}</math>||<math> 503</math>||<math> 853</math>||<math> 4787</math>||<math> 15091</math>||<math> 20327</math>||<math> 23603</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2430}</math>||<math> 13217</math>||<math> 31039</math>||<math> 38851</math>||<math> 43261</math>||<math> 46747</math>||<math> 67481</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2460}</math>||<math> 227</math>||<math> 1459</math>||<math> 6779</math>||<math> 6863</math>||<math> 18553</math>||<math> 29207</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2490}</math>||<math> 1237</math>||<math> 7621</math>||<math> 14411</math>||<math> 19801</math>||<math> 46457</math>||<math> 55921</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2520}</math>||<math> 113</math>||<math> 709</math>||<math> 1013</math>||<math> 1181</math>||<math> 1303</math>||<math> 1409</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2550}</math>||<math> 1871</math>||<math> 9403</math>||<math> 33203</math>||<math> 36241</math>||<math> 70009</math>||<math> 74587</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2580}</math>||<math> 277</math>||<math> 6101</math>||<math> 29383</math>||<math> 35851</math>||<math> 55871</math>||<math> 61723</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2610}</math>||<math> 5179</math>||<math> 8539</math>||<math> 8861</math>||<math> 10093</math>||<math> 15679</math>||<math> 17989</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2640}</math>||<math> 9283</math>||<math> 10781</math>||<math> 12377</math>||<math> 12433</math>||<math> 13679</math>||<math> 22751</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2670}</math>||<math> 1039</math>||<math> 4133</math>||<math> 12589</math>||<math> 14731</math>||<math> 16411</math>||<math> 23789</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2700}</math>||<math> 8629</math>||<math> 10267</math>||<math> 16217</math>||<math> 17477</math>||<math> 18149</math>||<math> 19843</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2730}</math>||<math> 19</math>||<math> 631</math>||<math> 761</math>||<math> 811</math>||<math> 1091</math>||<math> 1423</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2760}</math>||<math> 7</math>||<math> 2473</math>||<math> 2767</math>||<math> 9137</math>||<math> 9403</math>||<math> 9767</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2790}</math>||<math> 6899</math>||<math> 15733</math>||<math> 20353</math>||<math> 20899</math>||<math> 23447</math>||<math> 29201</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2820}</math>||<math> 727</math>||<math> 1259</math>||<math> 3023</math>||<math> 7951</math>||<math> 17989</math>||<math> 20201</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2850}</math>||<math> 379</math>||<math> 463</math>||<math> 2843</math>||<math> 4831</math>||<math> 9661</math>||<math> 10067</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2880}</math>||<math> 1459</math>||<math> 2803</math>||<math> 4973</math>||<math> 7283</math>||<math> 8543</math>||<math> 12281</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2910}</math>||<math> 397</math>||<math> 12409</math>||<math> 19087</math>||<math> 25121</math>||<math> 37441</math>||<math> 41081</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2940}</math>||<math> 17</math>||<math> 383</math>||<math> 691</math>||<math> 983</math>||<math> 2393</math>||<math> 2797</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2970}</math>||<math> 1031</math>||<math> 2879</math>||<math> 3593</math>||<math> 5147</math>||<math> 6029</math>||<math> 6673</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3000}</math>||<math> 907</math>||<math> 35543</math>||<math> 45413</math>||<math> 60337</math>||<math> 65713</math>||<math> 89009</math>
 
|}
 
<br/>
 
&#9633;
 
{{\Spoiler}}
 
 
 
 
 
 
 
<span style="font-size: 110%; font-weight: bold;">Przykład C55</span><br/>
 
Tabela zawiera przykładowe ciągi arytmetyczne liczb pierwszych o&nbsp;długości <math>n = 7</math> i <math>n = 8</math>.
 
 
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Pokaż tabele|Hide=Ukryj tabele}}
 
W przypadku <math>n = 7</math> wyszukiwanie ciągów zostało przeprowadzone dla <math>d = 30 k</math>, gdzie <math>1 \leqslant k \leqslant 100</math> i (przy ustalonym <math>d</math>) dla kolejnych liczb pierwszych <math>p_0 \leqslant 10^8</math>.
 
  
W przypadku <math>n = 8</math> wyszukiwanie ciągów zostało przeprowadzone dla <math>d = 210 k</math>, gdzie <math>1 \leqslant k \leqslant 100</math> i (przy ustalonym <math>d</math>) dla kolejnych liczb pierwszych <math>p_0 \leqslant 10^8</math>.
+
Z twierdzenia [[#H6|H6]] wynika, że w&nbsp;tabeli jest dokładnie <math>\varphi (m) \varphi (n)</math> liczb <math>u \in [1, m n]</math>, dla których jest
  
Jeżeli w&nbsp;tabeli jest wypisanych sześć wartości <math>p_0</math>, to oznacza to, że zostało znalezionych co najmniej sześć wartości <math>p_0</math>.
+
::<math>\gcd (u, m n) = 1</math>
  
{| class="wikitable plainlinks"  style="display: inline-table; margin-left: 5px; margin-right: 50px; font-size: 80%; text-align: right;"
+
Zatem <math>\varphi (m n) = \varphi (m) \varphi (n)</math>. Co należało pokazać.<br/>
|- style="background: #98fb98; text-align: center;"
 
| colspan=7 | <math>\mathbf{n = 7}</math>
 
|- style="text-align: center;"
 
| style="background: #ffd890;" | <math>\mathbf{d}</math>
 
| colspan=6 | <math>\mathbf{p_0}</math>
 
|-
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 150}</math>||<math> 7</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 210}</math>||<math> 47</math>||<math> 179</math>||<math> 199</math>||<math> 409</math>||<math> 619</math>||<math> 829</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 420}</math>||<math> 193</math>||<math> 1619</math>||<math> 2239</math>||<math> 2659</math>||<math> 4259</math>||<math> 5849</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 630}</math>||<math> 1637</math>||<math> 2267</math>||<math> 5569</math>||<math> 8369</math>||<math> 11003</math>||<math> 11633</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 840}</math>||<math> 1061</math>||<math> 1753</math>||<math> 3623</math>||<math> 4493</math>||<math> 5651</math>||<math> 6043</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1050}</math>||<math> 53</math>||<math> 3469</math>||<math> 6653</math>||<math> 8629</math>||<math> 8783</math>||<math> 8837</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1260}</math>||<math> 359</math>||<math> 1931</math>||<math> 2063</math>||<math> 3323</math>||<math> 4583</math>||<math> 13933</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1470}</math>||<math> 1279</math>||<math> 2393</math>||<math> 2801</math>||<math> 8117</math>||<math> 8191</math>||<math> 9661</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1680}</math>||<math> 1289</math>||<math> 1319</math>||<math> 2683</math>||<math> 2969</math>||<math> 11261</math>||<math> 12941</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1890}</math>||<math> 1279</math>||<math> 1723</math>||<math> 1811</math>||<math> 1879</math>||<math> 2693</math>||<math> 4583</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2100}</math>||<math> 1847</math>||<math> 3947</math>||<math> 26497</math>||<math> 34913</math>||<math> 35771</math>||<math> 36187</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2310}</math>||<math> 71</math>||<math> 547</math>||<math> 1019</math>||<math> 1063</math>||<math> 1367</math>||<math> 1747</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2520}</math>||<math> 113</math>||<math> 1181</math>||<math> 1409</math>||<math> 5413</math>||<math> 7109</math>||<math> 7933</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2730}</math>||<math> 631</math>||<math> 811</math>||<math> 1091</math>||<math> 2417</math>||<math> 3643</math>||<math> 3821</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2760}</math>||<math> 7</math>||||||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2940}</math>||<math> 17</math>||<math> 6317</math>||<math> 6911</math>||<math> 9433</math>||<math> 11927</math>||<math> 12373</math>
 
|}
 
{| class="wikitable plainlinks"  style="display: inline-table; margin-left: 5px; margin-right: 50px; font-size: 80%; text-align: right;"
 
|- style="background: #98fb98; text-align: center;"
 
| colspan=7 | <math>\mathbf{n = 8}</math>
 
|- style="text-align: center;"
 
| style="background: #ffd890;" | <math>\mathbf{d}</math>
 
| colspan=6 | <math>\mathbf{p_0}</math>
 
|-
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 210}</math>||<math> 199</math>||<math> 409</math>||<math> 619</math>||<math> 881</math>||<math> 3499</math>||<math> 3709</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 420}</math>||<math> 2239</math>||<math> 10243</math>||<math> 18493</math>||<math> 29297</math>||<math> 39199</math>||<math> 40343</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 630}</math>||<math> 1637</math>||<math> 11003</math>||<math> 38693</math>||<math> 53161</math>||<math> 56477</math>||<math> 198971</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 840}</math>||<math> 6043</math>||<math> 6883</math>||<math> 10861</math>||<math> 11701</math>||<math> 84521</math>||<math> 103837</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1050}</math>||<math> 8837</math>||<math> 41507</math>||<math> 246289</math>||<math> 302273</math>||<math> 382727</math>||<math> 499679</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1260}</math>||<math> 2063</math>||<math> 3323</math>||<math> 87511</math>||<math> 145949</math>||<math> 208099</math>||<math> 213247</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1470}</math>||<math> 8191</math>||<math> 15289</math>||<math> 101027</math>||<math> 102497</math>||<math> 187931</math>||<math> 227399</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1680}</math>||<math> 1289</math>||<math> 11261</math>||<math> 31333</math>||<math> 33013</math>||<math> 133919</math>||<math> 193283</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1890}</math>||<math> 2693</math>||<math> 15493</math>||<math> 15607</math>||<math> 17497</math>||<math> 45767</math>||<math> 47657</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2100}</math>||<math> 1847</math>||<math> 34913</math>||<math> 37013</math>||<math> 39113</math>||<math> 83311</math>||<math> 102871</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2310}</math>||<math> 1019</math>||<math> 3823</math>||<math> 5557</math>||<math> 6133</math>||<math> 7853</math>||<math> 9941</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2520}</math>||<math> 5413</math>||<math> 7109</math>||<math> 19141</math>||<math> 21661</math>||<math> 23509</math>||<math> 24763</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2730}</math>||<math> 1091</math>||<math> 4721</math>||<math> 7451</math>||<math> 22079</math>||<math> 49339</math>||<math> 53759</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2940}</math>||<math> 9433</math>||<math> 11927</math>||<math> 14867</math>||<math> 50587</math>||<math> 80933</math>||<math> 127207</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3150}</math>||<math> 433</math>||<math> 3583</math>||<math> 7877</math>||<math> 24677</math>||<math> 27827</math>||<math> 49031</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3360}</math>||<math> 6571</math>||<math> 9041</math>||<math> 39791</math>||<math> 210391</math>||<math> 213751</math>||<math> 217111</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3570}</math>||<math> 8971</math>||<math> 10429</math>||<math> 27737</math>||<math> 28387</math>||<math> 37313</math>||<math> 57047</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3780}</math>||<math> 45767</math>||<math> 82037</math>||<math> 155569</math>||<math> 473513</math>||<math> 477293</math>||<math> 511873</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3990}</math>||<math> 1699</math>||<math> 2909</math>||<math> 5689</math>||<math> 25033</math>||<math> 29873</math>||<math> 40559</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 4200}</math>||<math> 12547</math>||<math> 16747</math>||<math> 37013</math>||<math> 57139</math>||<math> 89899</math>||<math> 94099</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 4410}</math>||<math> 20809</math>||<math> 87623</math>||<math> 142271</math>||<math> 262733</math>||<math> 267143</math>||<math> 439009</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 4620}</math>||<math> 103</math>||<math> 1531</math>||<math> 3083</math>||<math> 3257</math>||<math> 6427</math>||<math> 9461</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 4830}</math>||<math> 3907</math>||<math> 13313</math>||<math> 30427</math>||<math> 35257</math>||<math> 40087</math>||<math> 72547</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 5040}</math>||<math> 13477</math>||<math> 14951</math>||<math> 25073</math>||<math> 25931</math>||<math> 30113</math>||<math> 57457</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 5250}</math>||<math> 3413</math>||<math> 8663</math>||<math> 44179</math>||<math> 49429</math>||<math> 111109</math>||<math> 648107</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 5460}</math>||<math> 1559</math>||<math> 18899</math>||<math> 36389</math>||<math> 43711</math>||<math> 59393</math>||<math> 75541</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 5670}</math>||<math> 187477</math>||<math> 231109</math>||<math> 402137</math>||<math> 680123</math>||<math> 706463</math>||<math> 712133</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 5880}</math>||<math> 73</math>||<math> 29959</math>||<math> 152389</math>||<math> 158269</math>||<math> 317021</math>||<math> 2115961</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6090}</math>||<math> 12239</math>||<math> 22469</math>||<math> 38543</math>||<math> 50893</math>||<math> 72533</math>||<math> 90863</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6300}</math>||<math> 37097</math>||<math> 86869</math>||<math> 92639</math>||<math> 224633</math>||<math> 440269</math>||<math> 641327</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6510}</math>||<math> 1063</math>||<math> 20599</math>||<math> 21701</math>||<math> 27109</math>||<math> 41611</math>||<math> 46187</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6720}</math>||<math> 3167</math>||<math> 7457</math>||<math> 22669</math>||<math> 62347</math>||<math> 69067</math>||<math> 75787</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6930}</math>||<math> 17</math>||<math> 5581</math>||<math> 6947</math>||<math> 7151</math>||<math> 13469</math>||<math> 14081</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 7140}</math>||<math> 3347</math>||<math> 53309</math>||<math> 281557</math>||<math> 370879</math>||<math> 380447</math>||<math> 466897</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 7350}</math>||<math> 206047</math>||<math> 348163</math>||<math> 363037</math>||<math> 435661</math>||<math> 576677</math>||<math> 906107</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 7560}</math>||<math> 29387</math>||<math> 36947</math>||<math> 39191</math>||<math> 44267</math>||<math> 342389</math>||<math> 349949</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 7770}</math>||<math> 6553</math>||<math> 14323</math>||<math> 25169</math>||<math> 28549</math>||<math> 36319</math>||<math> 42061</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 7980}</math>||<math> 137</math>||<math> 4091</math>||<math> 7237</math>||<math> 8117</math>||<math> 12071</math>||<math> 24029</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 8190}</math>||<math> 3593</math>||<math> 21017</math>||<math> 35591</math>||<math> 43781</math>||<math> 49727</math>||<math> 59021</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 8400}</math>||<math> 86599</math>||<math> 173909</math>||<math> 788413</math>||<math> 1251869</math>||<math> 1365019</math>||<math> 1392731</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 8610}</math>||<math> 541</math>||<math> 1867</math>||<math> 63703</math>||<math> 132283</math>||<math> 140893</math>||<math> 175837</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 8820}</math>||<math> 9403</math>||<math> 83563</math>||<math> 84421</math>||<math> 93241</math>||<math> 187823</math>||<math> 296983</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 9030}</math>||<math> 11087</math>||<math> 195203</math>||<math> 219799</math>||<math> 352813</math>||<math> 426973</math>||<math> 487651</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 9240}</math>||<math> 199</math>||<math> 937</math>||<math> 10177</math>||<math> 21031</math>||<math> 27961</math>||<math> 30271</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 9450}</math>||<math> 1609</math>||<math> 157181</math>||<math> 182867</math>||<math> 663049</math>||<math> 1028479</math>||<math> 1037929</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 9660}</math>||<math> 521</math>||<math> 3449</math>||<math> 10181</math>||<math> 50417</math>||<math> 84229</math>||<math> 218363</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 9870}</math>||<math> 61</math>||<math> 43013</math>||<math> 89923</math>||<math> 220333</math>||<math> 294479</math>||<math> 490493</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10080}</math>||<math> 6949</math>||<math> 17029</math>||<math> 54293</math>||<math> 99023</math>||<math> 125353</math>||<math> 125899</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10290}</math>||<math> 6143</math>||<math> 16433</math>||<math> 179057</math>||<math> 211777</math>||<math> 681949</math>||<math> 1018357</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10500}</math>||<math> 9109</math>||<math> 91153</math>||<math> 218527</math>||<math> 447817</math>||<math> 513167</math>||<math> 1113239</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10710}</math>||<math> 9419</math>||<math> 28603</math>||<math> 28871</math>||<math> 37861</math>||<math> 43691</math>||<math> 75041</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10920}</math>||<math> 14657</math>||<math> 21491</math>||<math> 52321</math>||<math> 63241</math>||<math> 79997</math>||<math> 80621</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 11130}</math>||<math> 49681</math>||<math> 70607</math>||<math> 187009</math>||<math> 198139</math>||<math> 209269</math>||<math> 219613</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 11340}</math>||<math> 24197</math>||<math> 57143</math>||<math> 68483</math>||<math> 158617</math>||<math> 212297</math>||<math> 237257</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 11550}</math>||<math> 4483</math>||<math> 4673</math>||<math> 9619</math>||<math> 16223</math>||<math> 21169</math>||<math> 66161</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 11760}</math>||<math> 3511</math>||<math> 241793</math>||<math> 469613</math>||<math> 517949</math>||<math> 548263</math>||<math> 643469</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 11970}</math>||<math> 6221</math>||<math> 10531</math>||<math> 22501</math>||<math> 40343</math>||<math> 216233</math>||<math> 280187</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 12180}</math>||<math> 18211</math>||<math> 65437</math>||<math> 126943</math>||<math> 137239</math>||<math> 149939</math>||<math> 361213</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 12390}</math>||<math> 7477</math>||<math> 24391</math>||<math> 41669</math>||<math> 76913</math>||<math> 95213</math>||<math> 181211</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 12600}</math>||<math> 26003</math>||<math> 435577</math>||<math> 448177</math>||<math> 558431</math>||<math> 571031</math>||<math> 583631</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 12810}</math>||<math> 19289</math>||<math> 35437</math>||<math> 40949</math>||<math> 53791</math>||<math> 59357</math>||<math> 94309</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 13020}</math>||<math> 15913</math>||<math> 55843</math>||<math> 77773</math>||<math> 179519</math>||<math> 418927</math>||<math> 670853</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 13230}</math>||<math> 5843</math>||<math> 7433</math>||<math> 9391</math>||<math> 31729</math>||<math> 40543</math>||<math> 53773</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 13440}</math>||<math> 2141</math>||<math> 15581</math>||<math> 270143</math>||<math> 335021</math>||<math> 405269</math>||<math> 448741</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 13650}</math>||<math> 3343</math>||<math> 12097</math>||<math> 16993</math>||<math> 19259</math>||<math> 63611</math>||<math> 81001</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 13860}</math>||<math> 6029</math>||<math> 6211</math>||<math> 26171</math>||<math> 27653</math>||<math> 32441</math>||<math> 51839</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14070}</math>||<math> 40879</math>||<math> 87793</math>||<math> 87991</math>||<math> 159491</math>||<math> 285497</math>||<math> 485389</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14280}</math>||<math> 6947</math>||<math> 15923</math>||<math> 27337</math>||<math> 79481</math>||<math> 111227</math>||<math> 364687</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14490}</math>||<math> 41039</math>||<math> 48491</math>||<math> 142049</math>||<math> 144667</math>||<math> 159157</math>||<math> 161263</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14700}</math>||<math> 12409</math>||<math> 36583</math>||<math> 51283</math>||<math> 161363</math>||<math> 218989</math>||<math> 578267</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14910}</math>||<math> 23957</math>||<math> 74161</math>||<math> 79633</math>||<math> 89071</math>||<math> 109367</math>||<math> 120977</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 15120}</math>||<math> 33997</math>||<math> 121853</math>||<math> 136973</math>||<math> 203429</math>||<math> 330413</math>||<math> 379369</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 15330}</math>||<math> 12781</math>||<math> 64613</math>||<math> 505559</math>||<math> 588529</math>||<math> 614071</math>||<math> 873121</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 15540}</math>||<math> 15053</math>||<math> 33071</math>||<math> 41131</math>||<math> 160781</math>||<math> 176321</math>||<math> 209357</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 15750}</math>||<math> 7001</math>||<math> 10459</math>||<math> 64579</math>||<math> 80329</math>||<math> 103409</math>||<math> 119159</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 15960}</math>||<math> 1847</math>||<math> 6037</math>||<math> 17807</math>||<math> 21997</math>||<math> 33767</math>||<math> 71917</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 16170}</math>||<math> 32321</math>||<math> 66179</math>||<math> 82349</math>||<math> 99661</math>||<math> 130343</math>||<math> 219451</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 16380}</math>||<math> 22859</math>||<math> 28579</math>||<math> 43759</math>||<math> 43913</math>||<math> 60139</math>||<math> 95107</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 16590}</math>||<math> 6703</math>||<math> 23293</math>||<math> 29009</math>||<math> 45599</math>||<math> 51341</math>||<math> 57917</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 16800}</math>||<math> 91463</math>||<math> 276037</math>||<math> 524857</math>||<math> 874063</math>||<math> 940319</math>||<math> 957119</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 17010}</math>||<math> 6571</math>||<math> 70529</math>||<math> 117037</math>||<math> 227147</math>||<math> 797119</math>||<math> 814129</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 17220}</math>||<math> 120713</math>||<math> 225769</math>||<math> 242989</math>||<math> 343601</math>||<math> 819229</math>||<math> 965711</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 17430}</math>||<math> 4219</math>||<math> 6101</math>||<math> 15643</math>||<math> 25471</math>||<math> 33073</math>||<math> 42901</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 17640}</math>||<math> 12917</math>||<math> 34877</math>||<math> 59407</math>||<math> 62047</math>||<math> 85667</math>||<math> 193607</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 17850}</math>||<math> 9803</math>||<math> 129379</math>||<math> 147229</math>||<math> 238229</math>||<math> 270157</math>||<math> 289253</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18060}</math>||<math> 87613</math>||<math> 90583</math>||<math> 117223</math>||<math> 512671</math>||<math> 574297</math>||<math> 623353</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18270}</math>||<math> 29567</math>||<math> 47837</math>||<math> 86491</math>||<math> 268189</math>||<math> 424819</math>||<math> 511201</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18480}</math>||<math> 1861</math>||<math> 2711</math>||<math> 8093</math>||<math> 10831</math>||<math> 11161</math>||<math> 11909</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18690}</math>||<math> 881</math>||<math> 19571</math>||<math> 79531</math>||<math> 529829</math>||<math> 654767</math>||<math> 812353</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18900}</math>||<math> 6899</math>||<math> 23201</math>||<math> 52267</math>||<math> 73823</math>||<math> 92723</math>||<math> 462079</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 19110}</math>||<math> 8941</math>||<math> 30091</math>||<math> 39367</math>||<math> 58603</math>||<math> 63737</math>||<math> 80611</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 19320}</math>||<math> 6857</math>||<math> 218761</math>||<math> 236699</math>||<math> 237733</math>||<math> 300319</math>||<math> 300499</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 19530}</math>||<math> 33829</math>||<math> 46183</math>||<math> 50929</math>||<math> 70459</math>||<math> 283859</math>||<math> 361651</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 19740}</math>||<math> 1117</math>||<math> 2729</math>||<math> 22469</math>||<math> 30757</math>||<math> 50497</math>||<math> 165391</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 19950}</math>||<math> 13339</math>||<math> 23767</math>||<math> 44549</math>||<math> 47791</math>||<math> 92399</math>||<math> 142699</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 20160}</math>||<math> 2857</math>||<math> 5821</math>||<math> 147089</math>||<math> 948263</math>||<math> 1044859</math>||<math> 1094123</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 20370}</math>||<math> 81649</math>||<math> 154073</math>||<math> 164239</math>||<math> 398539</math>||<math> 443881</math>||<math> 556123</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 20580}</math>||<math> 9689</math>||<math> 30269</math>||<math> 105379</math>||<math> 316501</math>||<math> 337081</math>||<math> 398023</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 20790}</math>||<math> 12713</math>||<math> 20023</math>||<math> 33503</math>||<math> 40813</math>||<math> 69829</math>||<math> 92251</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 21000}</math>||<math> 5501</math>||<math> 19471</math>||<math> 26501</math>||<math> 29153</math>||<math> 40471</math>||<math> 56773</math>
 
|}
 
<br/>
 
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 2067: Linia 931:
  
  
<span style="font-size: 110%; font-weight: bold;">Przykład C56</span><br/>
+
<span id="H34" style="font-size: 110%; font-weight: bold;">Twierdzenie H34</span><br/>
Tabela zawiera przykładowe ciągi arytmetyczne liczb pierwszych o&nbsp;długości <math>n = 9</math> i <math>n = 10</math>.
+
Dla dowolnej liczby całkowitej dodatniej <math>n</math> jest
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Pokaż tabele|Hide=Ukryj tabele}}
+
::<math>\varphi (n) = n \cdot \prod_{p|n} \left( 1 - {\small\frac{1}{p}} \right)</math>
W przypadku <math>n = 9</math> wyszukiwanie ciągów zostało przeprowadzone dla <math>d = 210 k</math>, gdzie <math>1 \leqslant k \leqslant 100</math> i (przy ustalonym <math>d</math>) dla kolejnych liczb pierwszych <math>p_0 \leqslant 10^9</math>.
 
  
W przypadku <math>n = 10</math> wyszukiwanie ciągów zostało przeprowadzone dla <math>d = 210 k</math>, gdzie <math>1 \leqslant k \leqslant 100</math> i (przy ustalonym <math>d</math>) dla kolejnych liczb pierwszych <math>p_0 \leqslant 10^{10}</math>.
+
gdzie iloczyn obliczamy po wszystkich liczbach pierwszych <math>p</math>, będących dzielnikami liczby <math>n</math>.
  
Jeżeli w&nbsp;tabeli jest wypisanych sześć wartości <math>p_0</math>, to oznacza to, że zostało znalezionych co najmniej sześć wartości <math>p_0</math>.
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 
+
Ponieważ wszystkie liczby naturalne mniejsze od liczby pierwszej <math>p</math> są jednocześnie pierwsze względem <math>p</math>, to <math>\varphi (p) = p - 1</math>.
{| class="wikitable plainlinks"  style="display: inline-table; margin-left: 5px; margin-right: 50px; font-size: 80%; text-align: right;"
 
|- style="background: #98fb98; text-align: center;"
 
| colspan=7 | <math>\mathbf{n = 9}</math>
 
|- style="text-align: center;"
 
| style="background: #ffd890;" | <math>\mathbf{d}</math>
 
| colspan=6 | <math>\mathbf{p_0}</math>
 
|-
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 210}</math>||<math> 199</math>||<math> 409</math>||<math> 3499</math>||<math> 10859</math>||<math> 564973</math>||<math> 1288607</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 420}</math>||<math> 52879</math>||<math> 53299</math>||<math> 56267</math>||<math> 61637</math>||<math> 3212849</math>||<math> 3544939</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 630}</math>||<math> 279857</math>||<math> 514949</math>||<math> 939359</math>||<math> 964417</math>||<math> 965047</math>||<math> 1003819</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 840}</math>||<math> 6043</math>||<math> 10861</math>||<math> 103837</math>||<math> 201781</math>||<math> 915611</math>||<math> 916451</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1050}</math>||<math> 26052251</math>||<math> 33267943</math>||<math> 54730813</math>||<math> 87640921</math>||<math> 112704443</math>||<math> 115677517</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1260}</math>||<math> 2063</math>||<math> 1040089</math>||<math> 2166511</math>||<math> 2202547</math>||<math> 4152847</math>||<math> 4400639</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1470}</math>||<math> 101027</math>||<math> 363949</math>||<math> 1936289</math>||<math> 2534561</math>||<math> 2536031</math>||<math> 3248197</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1680}</math>||<math> 31333</math>||<math> 216947</math>||<math> 258527</math>||<math> 316621</math>||<math> 607109</math>||<math> 4635361</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1890}</math>||<math> 15607</math>||<math> 45767</math>||<math> 194113</math>||<math> 534211</math>||<math> 997201</math>||<math> 1442173</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2100}</math>||<math> 34913</math>||<math> 37013</math>||<math> 102871</math>||<math> 176087</math>||<math> 581393</math>||<math> 583493</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2310}</math>||<math> 3823</math>||<math> 60317</math>||<math> 80761</math>||<math> 563117</math>||<math> 574813</math>||<math> 1215583</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2520}</math>||<math> 19141</math>||<math> 23509</math>||<math> 1058597</math>||<math> 1061117</math>||<math> 1465993</math>||<math> 5650097</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2730}</math>||<math> 4721</math>||<math> 65881</math>||<math> 122069</math>||<math> 123059</math>||<math> 124799</math>||<math> 125789</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2940}</math>||<math> 11927</math>||<math> 145723</math>||<math> 1222279</math>||<math> 12424921</math>||<math> 23527081</math>||<math> 33820273</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3150}</math>||<math> 433</math>||<math> 24677</math>||<math> 49031</math>||<math> 348763</math>||<math> 1243393</math>||<math> 1640071</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3360}</math>||<math> 210391</math>||<math> 213751</math>||<math> 245173</math>||<math> 1863509</math>||<math> 3831437</math>||<math> 6470249</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3570}</math>||<math> 57047</math>||<math> 133271</math>||<math> 150343</math>||<math> 153913</math>||<math> 399433</math>||<math> 920827</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3780}</math>||<math> 473513</math>||<math> 1282607</math>||<math> 3536881</math>||<math> 4045763</math>||<math> 4049543</math>||<math> 5655283</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3990}</math>||<math> 1699</math>||<math> 99877</math>||<math> 103867</math>||<math> 649217</math>||<math> 1614973</math>||<math> 2732441</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 4200}</math>||<math> 12547</math>||<math> 89899</math>||<math> 835721</math>||<math> 2544221</math>||<math> 5013919</math>||<math> 11254637</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 4410}</math>||<math> 262733</math>||<math> 439009</math>||<math> 12940541</math>||<math> 15091459</math>||<math> 27878321</math>||<math> 29196199</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 4620}</math>||<math> 55697</math>||<math> 64919</math>||<math> 85363</math>||<math> 89983</math>||<math> 217409</math>||<math> 372751</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 4830}</math>||<math> 30427</math>||<math> 35257</math>||<math> 72547</math>||<math> 351749</math>||<math> 2985809</math>||<math> 6020477</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 5040}</math>||<math> 25073</math>||<math> 57457</math>||<math> 531359</math>||<math> 1245479</math>||<math> 2491381</math>||<math> 7136659</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 5250}</math>||<math> 3413</math>||<math> 44179</math>||<math> 2117239</math>||<math> 2122489</math>||<math> 2649067</math>||<math> 4895993</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 5460}</math>||<math> 144779</math>||<math> 913921</math>||<math> 1280987</math>||<math> 2243491</math>||<math> 2283571</math>||<math> 2289031</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 5670}</math>||<math> 706463</math>||<math> 915221</math>||<math> 10882211</math>||<math> 21206993</math>||<math> 21212663</math>||<math> 23859467</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 5880}</math>||<math> 152389</math>||<math> 4896887</math>||<math> 6559873</math>||<math> 9131321</math>||<math> 19210043</math>||<math> 24248461</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6090}</math>||<math> 206191</math>||<math> 357661</math>||<math> 517003</math>||<math> 1910927</math>||<math> 5835283</math>||<math> 10292729</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6300}</math>||<math> 641327</math>||<math> 1962449</math>||<math> 2797723</math>||<math> 3626881</math>||<math> 4663249</math>||<math> 5601139</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6510}</math>||<math> 20599</math>||<math> 155461</math>||<math> 161971</math>||<math> 573437</math>||<math> 4395739</math>||<math> 6457669</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6720}</math>||<math> 62347</math>||<math> 69067</math>||<math> 5072869</math>||<math> 9545051</math>||<math> 10379081</math>||<math> 11184743</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6930}</math>||<math> 17</math>||<math> 7151</math>||<math> 13469</math>||<math> 36469</math>||<math> 38261</math>||<math> 309167</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 7140}</math>||<math> 1241197</math>||<math> 1247479</math>||<math> 2614559</math>||<math> 4496813</math>||<math> 4575947</math>||<math> 7799837</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 7350}</math>||<math> 1445303</math>||<math> 8526533</math>||<math> 12683299</math>||<math> 12690649</math>||<math> 21459209</math>||<math> 21466559</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 7560}</math>||<math> 29387</math>||<math> 342389</math>||<math> 539839</math>||<math> 2141497</math>||<math> 7573327</math>||<math> 7580887</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 7770}</math>||<math> 6553</math>||<math> 28549</math>||<math> 36319</math>||<math> 90373</math>||<math> 819317</math>||<math> 827087</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 7980}</math>||<math> 137</math>||<math> 4091</math>||<math> 24029</math>||<math> 31393</math>||<math> 165313</math>||<math> 182687</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 8190}</math>||<math> 35591</math>||<math> 59021</math>||<math> 287629</math>||<math> 401627</math>||<math> 410257</math>||<math> 702323</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 8400}</math>||<math> 6127909</math>||<math> 8133469</math>||<math> 8528483</math>||<math> 8536883</math>||<math> 14448397</math>||<math> 19175929</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 8610}</math>||<math> 132283</math>||<math> 2164387</math>||<math> 6903121</math>||<math> 10892747</math>||<math> 10901357</math>||<math> 17489623</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 8820}</math>||<math> 84421</math>||<math> 466451</math>||<math> 3052177</math>||<math> 3905777</math>||<math> 11397371</math>||<math> 53189407</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 9030}</math>||<math> 2630153</math>||<math> 4927921</math>||<math> 5686141</math>||<math> 6043399</math>||<math> 8411567</math>||<math> 8510357</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 9240}</math>||<math> 937</math>||<math> 21031</math>||<math> 53681</math>||<math> 62921</math>||<math> 95339</math>||<math> 495791</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 9450}</math>||<math> 1028479</math>||<math> 1832711</math>||<math> 8104549</math>||<math> 15802459</math>||<math> 43975031</math>||<math> 97126691</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 9660}</math>||<math> 521</math>||<math> 464413</math>||<math> 707071</math>||<math> 716731</math>||<math> 1197121</math>||<math> 1259053</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 9870}</math>||<math> 576439</math>||<math> 1115923</math>||<math> 7516427</math>||<math> 9249301</math>||<math> 16561691</math>||<math> 16571561</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10080}</math>||<math> 6949</math>||<math> 125353</math>||<math> 156941</math>||<math> 949517</math>||<math> 3363089</math>||<math> 3373169</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10290}</math>||<math> 6143</math>||<math> 1535489</math>||<math> 2477177</math>||<math> 4259887</math>||<math> 5294563</math>||<math> 10818191</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10500}</math>||<math> 1113239</math>||<math> 1841087</math>||<math> 7005059</math>||<math> 8026327</math>||<math> 13707959</math>||<math> 22837799</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10710}</math>||<math> 314299</math>||<math> 439123</math>||<math> 735467</math>||<math> 1784911</math>||<math> 1923049</math>||<math> 2781203</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10920}</math>||<math> 52321</math>||<math> 285521</math>||<math> 527909</math>||<math> 538829</math>||<math> 1673941</math>||<math> 2214349</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 11130}</math>||<math> 187009</math>||<math> 198139</math>||<math> 255803</math>||<math> 547499</math>||<math> 2160253</math>||<math> 11518723</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 11340}</math>||<math> 57143</math>||<math> 559051</math>||<math> 1091561</math>||<math> 10756139</math>||<math> 13865323</math>||<math> 13876663</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 11550}</math>||<math> 4673</math>||<math> 9619</math>||<math> 89659</math>||<math> 112643</math>||<math> 155317</math>||<math> 166601</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 11760}</math>||<math> 3458731</math>||<math> 5759843</math>||<math> 6305939</math>||<math> 6904789</math>||<math> 11527693</math>||<math> 15296227</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 11970}</math>||<math> 10531</math>||<math> 1911199</math>||<math> 2210573</math>||<math> 2298397</math>||<math> 15519563</math>||<math> 21608347</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 12180}</math>||<math> 1067597</math>||<math> 1778461</math>||<math> 1784599</math>||<math> 3551221</math>||<math> 7384493</math>||<math> 12485003</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 12390}</math>||<math> 184291</math>||<math> 651017</math>||<math> 804493</math>||<math> 1536187</math>||<math> 4158103</math>||<math> 4751293</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 12600}</math>||<math> 435577</math>||<math> 558431</math>||<math> 571031</math>||<math> 727369</math>||<math> 2890117</math>||<math> 3367363</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 12810}</math>||<math> 116953</math>||<math> 166909</math>||<math> 5627029</math>||<math> 6623117</math>||<math> 10981339</math>||<math> 10994149</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 13020}</math>||<math> 1691411</math>||<math> 3574871</math>||<math> 22963981</math>||<math> 27098723</math>||<math> 29812603</math>||<math> 31218403</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 13230}</math>||<math> 40543</math>||<math> 104651</math>||<math> 313219</math>||<math> 4705247</math>||<math> 4718477</math>||<math> 6268289</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 13440}</math>||<math> 2141</math>||<math> 448741</math>||<math> 815261</math>||<math> 1560997</math>||<math> 1574437</math>||<math> 2070517</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 13650}</math>||<math> 3343</math>||<math> 96997</math>||<math> 110647</math>||<math> 521047</math>||<math> 1590961</math>||<math> 2276503</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 13860}</math>||<math> 110437</math>||<math> 124297</math>||<math> 138157</math>||<math> 148891</math>||<math> 152017</math>||<math> 152947</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14070}</math>||<math> 2679239</math>||<math> 2886281</math>||<math> 3817111</math>||<math> 6446353</math>||<math> 6460423</math>||<math> 6976289</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14280}</math>||<math> 364687</math>||<math> 749773</math>||<math> 1867573</math>||<math> 2146181</math>||<math> 2434997</math>||<math> 4112627</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14490}</math>||<math> 144667</math>||<math> 161263</math>||<math> 259603</math>||<math> 286333</math>||<math> 336251</math>||<math> 377809</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14700}</math>||<math> 36583</math>||<math> 578267</math>||<math> 8529749</math>||<math> 14365553</math>||<math> 14380253</math>||<math> 14830787</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14910}</math>||<math> 74161</math>||<math> 109367</math>||<math> 120977</math>||<math> 1260011</math>||<math> 1372211</math>||<math> 11898287</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 15120}</math>||<math> 121853</math>||<math> 689459</math>||<math> 822383</math>||<math> 11354437</math>||<math> 37245407</math>||<math> 48384221</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 15330}</math>||<math> 7713709</math>||<math> 8049187</math>||<math> 11583113</math>||<math> 12934973</math>||<math> 16769749</math>||<math> 30793649</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 15540}</math>||<math> 160781</math>||<math> 580577</math>||<math> 4095187</math>||<math> 5838409</math>||<math> 9523079</math>||<math> 10473559</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 15750}</math>||<math> 64579</math>||<math> 103409</math>||<math> 182587</math>||<math> 849869</math>||<math> 865619</math>||<math> 1468729</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 15960}</math>||<math> 1847</math>||<math> 6037</math>||<math> 17807</math>||<math> 137147</math>||<math> 652969</math>||<math> 989977</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 16170}</math>||<math> 66179</math>||<math> 219451</math>||<math> 511843</math>||<math> 583421</math>||<math> 812431</math>||<math> 848567</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 16380}</math>||<math> 43759</math>||<math> 339263</math>||<math> 355643</math>||<math> 695047</math>||<math> 2011517</math>||<math> 2893309</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 16590}</math>||<math> 6703</math>||<math> 29009</math>||<math> 2489183</math>||<math> 4028743</math>||<math> 9340181</math>||<math> 10005263</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 16800}</math>||<math> 940319</math>||<math> 3772907</math>||<math> 3873007</math>||<math> 9905921</math>||<math> 79622351</math>||<math> 95679271</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 17010}</math>||<math> 797119</math>||<math> 18296627</math>||<math> 23152907</math>||<math> 38133913</math>||<math> 60796007</math>||<math> 83709047</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 17220}</math>||<math> 225769</math>||<math> 1452511</math>||<math> 1469731</math>||<math> 1606379</math>||<math> 2415473</math>||<math> 3469069</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 17430}</math>||<math> 15643</math>||<math> 25471</math>||<math> 42901</math>||<math> 1170599</math>||<math> 3120547</math>||<math> 3983249</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 17640}</math>||<math> 193607</math>||<math> 211247</math>||<math> 7624613</math>||<math> 10290239</math>||<math> 16104047</math>||<math> 22618907</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 17850}</math>||<math> 129379</math>||<math> 289253</math>||<math> 1341433</math>||<math> 1728911</math>||<math> 1746761</math>||<math> 2918737</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18060}</math>||<math> 1013921</math>||<math> 1038209</math>||<math> 2703941</math>||<math> 3580333</math>||<math> 3914689</math>||<math> 11110339</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18270}</math>||<math> 29567</math>||<math> 511201</math>||<math> 1615723</math>||<math> 1890701</math>||<math> 1989811</math>||<math> 2008081</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18480}</math>||<math> 2711</math>||<math> 25643</math>||<math> 40853</math>||<math> 149143</math>||<math> 194839</math>||<math> 213319</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18690}</math>||<math> 881</math>||<math> 9421469</math>||<math> 10687877</math>||<math> 11455753</math>||<math> 14740463</math>||<math> 21499799</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18900}</math>||<math> 73823</math>||<math> 462079</math>||<math> 804113</math>||<math> 823013</math>||<math> 1323799</math>||<math> 1370987</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 19110}</math>||<math> 63737</math>||<math> 322171</math>||<math> 520193</math>||<math> 999763</math>||<math> 1023487</math>||<math> 1032067</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 19320}</math>||<math> 682411</math>||<math> 743747</math>||<math> 1343669</math>||<math> 1373233</math>||<math> 1782499</math>||<math> 2574437</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 19530}</math>||<math> 50929</math>||<math> 738919</math>||<math> 1773689</math>||<math> 1793219</math>||<math> 6121807</math>||<math> 18867007</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 19740}</math>||<math> 2729</math>||<math> 30757</math>||<math> 360163</math>||<math> 1652591</math>||<math> 18160973</math>||<math> 18862889</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 19950}</math>||<math> 142699</math>||<math> 162649</math>||<math> 239957</math>||<math> 302287</math>||<math> 322237</math>||<math> 661547</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 20160}</math>||<math> 3330211</math>||<math> 5620609</math>||<math> 6413401</math>||<math> 15055609</math>||<math> 32094917</math>||<math> 52863893</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 20370}</math>||<math> 1158881</math>||<math> 1216213</math>||<math> 1236583</math>||<math> 3893899</math>||<math> 7991839</math>||<math> 8012209</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 20580}</math>||<math> 9689</math>||<math> 316501</math>||<math> 398023</math>||<math> 2047813</math>||<math> 2219557</math>||<math> 2240137</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 20790}</math>||<math> 12713</math>||<math> 20023</math>||<math> 141079</math>||<math> 159571</math>||<math> 296117</math>||<math> 914813</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 21000}</math>||<math> 5501</math>||<math> 19471</math>||<math> 65837</math>||<math> 688139</math>||<math> 3980407</math>||<math> 8983031</math>
 
|}
 
{| class="wikitable plainlinks"  style="display: inline-table; margin-left: 5px; margin-right: 50px; font-size: 80%; text-align: right;"
 
|- style="background: #98fb98; text-align: center;"
 
| colspan=7 | <math>\mathbf{n = 10}</math>
 
|- style="text-align: center;"
 
| style="background: #ffd890;" | <math>\mathbf{d}</math>
 
| colspan=6 | <math>\mathbf{p_0}</math>
 
|-
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 210}</math>||<math> 199</math>||<math> 243051733</math>||<math> 498161423</math>||<math> 2490123989</math>||<math> 5417375591</math>||<math> 8785408259</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 420}</math>||<math> 52879</math>||<math> 3544939</math>||<math> 725283077</math>||<math> 1580792347</math>||<math> 1931425157</math>||<math> 8392393693</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 630}</math>||<math> 964417</math>||<math> 1021331</math>||<math> 3710699</math>||<math> 174610351</math>||<math> 396598051</math>||<math> 525173641</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 840}</math>||<math> 915611</math>||<math> 24748189</math>||<math> 33791509</math>||<math> 314727967</math>||<math> 510756371</math>||<math> 1079797657</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1050}</math>||<math> 130006783</math>||<math> 208734751</math>||<math> 400663741</math>||<math> 963551671</math>||<math> 1219200119</math>||<math> 1231110787</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1260}</math>||<math> 6722909</math>||<math> 27846803</math>||<math> 63289771</math>||<math> 1000262819</math>||<math> 1476482057</math>||<math> 4565705117</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1470}</math>||<math> 2534561</math>||<math> 189999707</math>||<math> 833570987</math>||<math> 1168004581</math>||<math> 2010828277</math>||<math> 3182258251</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1680}</math>||<math> 1343205113</math>||<math> 3033769813</math>||<math> 4093882757</math>||<math> 4112814241</math>||<math> 4348188919</math>||<math> 4749575333</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 1890}</math>||<math> 41513261</math>||<math> 95317913</math>||<math> 6232033069</math>||<math> 6361761239</math>||<math> 6709899029</math>||<math> 8521839071</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2100}</math>||<math> 34913</math>||<math> 581393</math>||<math> 8397091</math>||<math> 10200607</math>||<math> 31913837</math>||<math> 258411317</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2310}</math>||<math> 2564251</math>||<math> 7245143</math>||<math> 15898823</math>||<math> 34834237</math>||<math> 51404371</math>||<math> 60858179</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2520}</math>||<math> 1058597</math>||<math> 8226307</math>||<math> 438716653</math>||<math> 799422581</math>||<math> 975166567</math>||<math> 983999677</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2730}</math>||<math> 122069</math>||<math> 123059</math>||<math> 158633</math>||<math> 3319219</math>||<math> 3427393</math>||<math> 5082629</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 2940}</math>||<math> 2546781317</math>||<math> 3736609957</math>||<math> 4895747497</math>||||||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3150}</math>||<math> 34071019</math>||<math> 1174379903</math>||<math> 1247572429</math>||<math> 1914733781</math>||<math> 5502174781</math>||<math> 5598860513</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3360}</math>||<math> 210391</math>||<math> 762261571</math>||<math> 2289797801</math>||<math> 5842998881</math>||<math> 5973997177</math>||<math> 6486241481</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3570}</math>||<math> 150343</math>||<math> 920827</math>||<math> 47896129</math>||<math> 110935963</math>||<math> 124813783</math>||<math> 253908793</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3780}</math>||<math> 4045763</math>||<math> 162045979</math>||<math> 3611162221</math>||<math> 3953439013</math>||<math> 5751477079</math>||<math> 6389572141</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 3990}</math>||<math> 99877</math>||<math> 2732441</math>||<math> 145829681</math>||<math> 1512868211</math>||<math> 1519374557</math>||<math> 1905288811</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 4200}</math>||<math> 75187297</math>||<math> 436800197</math>||<math> 825073159</math>||<math> 953483507</math>||<math> 1237285949</math>||<math> 1620977257</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 4410}</math>||<math> 343475219</math>||<math> 718394137</math>||<math> 1714841501</math>||<math> 4312513897</math>||<math> 4433557501</math>||<math> 7302174197</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 4620}</math>||<math> 85363</math>||<math> 372751</math>||<math> 926879</math>||<math> 10645541</math>||<math> 11022827</math>||<math> 11027447</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 4830}</math>||<math> 30427</math>||<math> 6020477</math>||<math> 16424981</math>||<math> 151254533</math>||<math> 229780123</math>||<math> 482610239</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 5040}</math>||<math> 145866041</math>||<math> 226851517</math>||<math> 292104419</math>||<math> 517266257</math>||<math> 986618569</math>||<math> 1785262393</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 5250}</math>||<math> 2117239</math>||<math> 134051459</math>||<math> 444256783</math>||<math> 635071121</math>||<math> 3239335223</math>||<math> 3689988833</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 5460}</math>||<math> 2283571</math>||<math> 11988607</math>||<math> 17327831</math>||<math> 18230447</math>||<math> 97175423</math>||<math> 168445523</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 5670}</math>||<math> 21206993</math>||<math> 42322087</math>||<math> 232282121</math>||<math> 530515507</math>||<math> 2074726021</math>||<math> 2176462667</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 5880}</math>||<math> 769792447</math>||<math> 1028745119</math>||<math> 2716511507</math>||<math> 2850255403</math>||<math> 4059527753</math>||<math> 4338343433</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6090}</math>||<math> 98202331</math>||<math> 218657237</math>||<math> 508050341</math>||<math> 965528153</math>||<math> 1963343323</math>||<math> 2133623147</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6300}</math>||<math> 46452799</math>||<math> 161073877</math>||<math> 416581987</math>||<math> 444443777</math>||<math> 799148171</math>||<math> 1536915817</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6510}</math>||<math> 155461</math>||<math> 11699279</math>||<math> 59259649</math>||<math> 82736531</math>||<math> 138908647</math>||<math> 156852947</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6720}</math>||<math> 62347</math>||<math> 18249241</math>||<math> 402509117</math>||<math> 646946233</math>||<math> 694032349</math>||<math> 748855249</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 6930}</math>||<math> 1664417</math>||<math> 3306839</math>||<math> 6703841</math>||<math> 10343167</math>||<math> 16988767</math>||<math> 17046329</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 7140}</math>||<math> 12331793</math>||<math> 21994589</math>||<math> 32695477</math>||<math> 135554233</math>||<math> 355138829</math>||<math> 730901161</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 7350}</math>||<math> 12683299</math>||<math> 21459209</math>||<math> 38446267</math>||<math> 423264613</math>||<math> 3158377081</math>||<math> 5208862573</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 7560}</math>||<math> 7573327</math>||<math> 369901513</math>||<math> 2755541693</math>||<math> 2774476609</math>||<math> 3311703233</math>||<math> 5004136327</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 7770}</math>||<math> 28549</math>||<math> 819317</math>||<math> 3721051</math>||<math> 11941571</math>||<math> 35273473</math>||<math> 46949093</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 7980}</math>||<math> 1024853</math>||<math> 355670309</math>||<math> 446786191</math>||<math> 547343483</math>||<math> 682871447</math>||<math> 1772834893</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 8190}</math>||<math> 7328437</math>||<math> 15275849</math>||<math> 17503261</math>||<math> 22737017</math>||<math> 27294053</math>||<math> 45150331</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 8400}</math>||<math> 8528483</math>||<math> 40313929</math>||<math> 243787771</math>||<math> 385895737</math>||<math> 467671013</math>||<math> 797154607</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 8610}</math>||<math> 10892747</math>||<math> 17489623</math>||<math> 28416517</math>||<math> 55350017</math>||<math> 200631439</math>||<math> 449962543</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 8820}</math>||<math> 275550449</math>||<math> 340210649</math>||<math> 375439381</math>||<math> 1299902701</math>||<math> 7189505563</math>||<math> 8000213747</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 9030}</math>||<math> 31057003</math>||<math> 150282967</math>||<math> 634308509</math>||<math> 643690123</math>||<math> 2295863833</math>||<math> 2515095703</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 9240}</math>||<math> 53681</math>||<math> 14224981</math>||<math> 14432399</math>||<math> 23559377</math>||<math> 28467293</math>||<math> 42049001</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 9450}</math>||<math> 334554023</math>||<math> 488051653</math>||<math> 2038389299</math>||<math> 2162899399</math>||<math> 2445407273</math>||<math> 3057392207</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 9660}</math>||<math> 707071</math>||<math> 125628439</math>||<math> 303544463</math>||<math> 441911263</math>||<math> 449336813</math>||<math> 511484261</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 9870}</math>||<math> 16561691</math>||<math> 26691349</math>||<math> 373909451</math>||<math> 558247033</math>||<math> 626630117</math>||<math> 1074793063</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10080}</math>||<math> 3363089</math>||<math> 35937059</math>||<math> 57814343</math>||<math> 83864653</math>||<math> 264068017</math>||<math> 2293066417</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10290}</math>||<math> 459609859</math>||<math> 522069971</math>||<math> 535273337</math>||<math> 720980111</math>||<math> 1617247087</math>||<math> 1769323693</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10500}</math>||<math> 38610347</math>||<math> 185388121</math>||<math> 511207351</math>||<math> 512002717</math>||<math> 573447551</math>||<math> 728734969</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10710}</math>||<math> 2781203</math>||<math> 10327159</math>||<math> 15741997</math>||<math> 161184019</math>||<math> 290334601</math>||<math> 387848743</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 10920}</math>||<math> 527909</math>||<math> 8754457</math>||<math> 19711711</math>||<math> 68442943</math>||<math> 70092481</math>||<math> 108555763</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 11130}</math>||<math> 187009</math>||<math> 74743931</math>||<math> 1717072597</math>||<math> 2241197341</math>||<math> 3885152797</math>||<math> 5442728839</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 11340}</math>||<math> 13865323</math>||<math> 151172779</math>||<math> 155052347</math>||<math> 169766761</math>||<math> 417004037</math>||<math> 759377761</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 11550}</math>||<math> 166601</math>||<math> 178151</math>||<math> 189701</math>||<math> 2902951</math>||<math> 2939267</math>||<math> 6906061</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 11760}</math>||<math> 15296227</math>||<math> 115733179</math>||<math> 793412467</math>||<math> 2045327461</math>||<math> 3317282629</math>||<math> 3405094727</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 11970}</math>||<math> 70627031</math>||<math> 81131437</math>||<math> 190977547</math>||<math> 295424263</math>||<math> 435613939</math>||<math> 436230467</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 12180}</math>||<math> 96579871</math>||<math> 196123667</math>||<math> 1414855181</math>||<math> 1594532899</math>||<math> 1852156771</math>||<math> 5477685029</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 12390}</math>||<math> 355974491</math>||<math> 1228212781</math>||<math> 1597738157</math>||<math> 2356239043</math>||<math> 2537515919</math>||<math> 2664004501</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 12600}</math>||<math> 558431</math>||<math> 4885897</math>||<math> 62631409</math>||<math> 222308641</math>||<math> 247236973</math>||<math> 597208309</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 12810}</math>||<math> 10981339</math>||<math> 73391203</math>||<math> 614195423</math>||<math> 722428933</math>||<math> 1804485667</math>||<math> 2011342889</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 13020}</math>||<math> 37278391</math>||<math> 396360829</math>||<math> 477013687</math>||<math> 1035592279</math>||<math> 1668997513</math>||<math> 1740405707</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 13230}</math>||<math> 4705247</math>||<math> 43971617</math>||<math> 150462859</math>||<math> 3214143193</math>||<math> 4385611183</math>||<math> 6156888427</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 13440}</math>||<math> 1560997</math>||<math> 2070517</math>||<math> 319796189</math>||<math> 397320779</math>||<math> 534628103</math>||<math> 1466338729</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 13650}</math>||<math> 96997</math>||<math> 8628157</math>||<math> 23309989</math>||<math> 84831493</math>||<math> 95865989</math>||<math> 183786877</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 13860}</math>||<math> 110437</math>||<math> 124297</math>||<math> 138157</math>||<math> 152947</math>||<math> 166807</math>||<math> 180667</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14070}</math>||<math> 6446353</math>||<math> 6976289</math>||<math> 9167027</math>||<math> 315420997</math>||<math> 324294169</math>||<math> 850130293</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14280}</math>||<math> 8022137</math>||<math> 46017523</math>||<math> 49573471</math>||<math> 84264127</math>||<math> 201286747</math>||<math> 664107853</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14490}</math>||<math> 4421849</math>||<math> 7258067</math>||<math> 55181701</math>||<math> 266196461</math>||<math> 400560449</math>||<math> 658093439</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14700}</math>||<math> 14365553</math>||<math> 79088123</math>||<math> 578429339</math>||<math> 1590374273</math>||<math> 1620663103</math>||<math> 1692678277</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 14910}</math>||<math> 1313271217</math>||<math> 1398822683</math>||<math> 3458123993</math>||<math> 5050258823</math>||<math> 8564509277</math>||
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 15120}</math>||<math> 643929523</math>||<math> 1697175937</math>||<math> 3456724013</math>||<math> 3604668029</math>||<math> 5105194837</math>||<math> 5972188679</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 15330}</math>||<math> 423644591</math>||<math> 792183047</math>||<math> 1013912467</math>||<math> 1239474463</math>||<math> 1707297247</math>||<math> 1918187839</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 15540}</math>||<math> 15113711</math>||<math> 49877209</math>||<math> 90195289</math>||<math> 113317157</math>||<math> 542625751</math>||<math> 801528769</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 15750}</math>||<math> 849869</math>||<math> 281904709</math>||<math> 741349123</math>||<math> 1196157763</math>||<math> 1264569469</math>||<math> 1628362679</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 15960}</math>||<math> 1847</math>||<math> 3178141</math>||<math> 47378869</math>||<math> 105168887</math>||<math> 140273363</math>||<math> 315104063</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 16170}</math>||<math> 3360767</math>||<math> 7292851</math>||<math> 8511059</math>||<math> 10038841</math>||<math> 26643899</math>||<math> 35098631</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 16380}</math>||<math> 339263</math>||<math> 2893309</math>||<math> 7118387</math>||<math> 189387287</math>||<math> 209606629</math>||<math> 266620267</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 16590}</math>||<math> 381816437</math>||<math> 695288453</math>||<math> 1555003309</math>||<math> 2096563163</math>||<math> 2844269837</math>||<math> 4876784057</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 16800}</math>||<math> 143614397</math>||<math> 681135667</math>||<math> 1337835403</math>||<math> 1547432483</math>||<math> 1809315247</math>||<math> 2850704453</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 17010}</math>||<math> 83709047</math>||<math> 1041057263</math>||<math> 1265416651</math>||<math> 1665987569</math>||<math> 2529254831</math>||<math> 4576482871</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 17220}</math>||<math> 1452511</math>||<math> 10612519</math>||<math> 16814099</math>||<math> 216348577</math>||<math> 382728461</math>||<math> 532388587</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 17430}</math>||<math> 25471</math>||<math> 137293657</math>||<math> 632342783</math>||<math> 960368107</math>||<math> 5503090291</math>||<math> 6704824913</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 17640}</math>||<math> 193607</math>||<math> 33411011</math>||<math> 511632469</math>||<math> 819466853</math>||<math> 960062011</math>||<math> 1178974859</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 17850}</math>||<math> 1728911</math>||<math> 4584401</math>||<math> 7627309</math>||<math> 77294621</math>||<math> 99462899</math>||<math> 170832131</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18060}</math>||<math> 51826531</math>||<math> 210101329</math>||<math> 235062067</math>||<math> 605501191</math>||<math> 1083324911</math>||<math> 2230437163</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18270}</math>||<math> 1989811</math>||<math> 825611753</math>||<math> 2281896011</math>||<math> 2468212757</math>||<math> 2968471043</math>||<math> 4958366753</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18480}</math>||<math> 194839</math>||<math> 1044739</math>||<math> 1075237</math>||<math> 2169967</math>||<math> 2467369</math>||<math> 3135841</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18690}</math>||<math> 90365419</math>||<math> 551760331</math>||<math> 1165944209</math>||<math> 1887703247</math>||<math> 1932471091</math>||<math> 3396823123</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 18900}</math>||<math> 804113</math>||<math> 1087721813</math>||<math> 2462595313</math>||<math> 3420103007</math>||<math> 5068097201</math>||<math> 5268928117</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 19110}</math>||<math> 1023487</math>||<math> 6202067</math>||<math> 6640901</math>||<math> 19304167</math>||<math> 78325591</math>||<math> 152030453</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 19320}</math>||<math> 13154717</math>||<math> 123351947</math>||<math> 180065461</math>||<math> 191400653</math>||<math> 307980523</math>||<math> 526607503</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 19530}</math>||<math> 1773689</math>||<math> 128832049</math>||<math> 226504217</math>||<math> 544697521</math>||<math> 880832749</math>||<math> 1511819633</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 19740}</math>||<math> 216443629</math>||<math> 1460073841</math>||<math> 2172351869</math>||<math> 3696955411</math>||<math> 4020404251</math>||<math> 4234603313</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 19950}</math>||<math> 142699</math>||<math> 302287</math>||<math> 661547</math>||<math> 64740661</math>||<math> 176566177</math>||<math> 562542581</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 20160}</math>||<math> 77727823</math>||<math> 585546277</math>||<math> 1013154997</math>||<math> 1309662637</math>||<math> 2007871577</math>||<math> 2231189419</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 20370}</math>||<math> 1216213</math>||<math> 7991839</math>||<math> 156234857</math>||<math> 1222246309</math>||<math> 2382533789</math>||<math> 2523592993</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 20580}</math>||<math> 2219557</math>||<math> 508048529</math>||<math> 906000787</math>||<math> 1111806827</math>||<math> 2134225213</math>||<math> 6894499589</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 20790}</math>||<math> 2397931</math>||<math> 4022297</math>||<math> 4043087</math>||<math> 15314617</math>||<math> 26974879</math>||<math> 35575247</math>
 
|-
 
| style="background:#ffd890;"|<math>\mathbf{ 21000}</math>||<math> 49402277</math>||<math> 263368843</math>||<math> 701455591</math>||<math> 2403274567</math>||<math> 3097244987</math>||<math> 5984865767</math>
 
|}
 
<br/>
 
&#9633;
 
{{\Spoiler}}
 
  
 +
Równie łatwo znajdujemy wartość funkcji <math>\varphi (n)</math> w&nbsp;przypadku gdy <math>n</math> jest potęgą liczby pierwszej <math>n = p^k</math>. Wystarczy zauważyć, że w&nbsp;ciągu kolejnych liczb
  
 +
::<math>1, 2, 3, 4, \ldots, p^k - 1, p^k</math>
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C57</span><br/>
+
jedynymi liczbami, które nie są pierwsze względem <math>p^k</math>, są te, które dzielą się przez <math>p</math> i&nbsp;jest ich <math>p^{k - 1}</math>, co widać natychmiast po ich bezpośrednim wypisaniu
Niech <math>n \in \mathbb{Z}_+</math> oraz <math>a, d, k, k_0 \in \mathbb{Z}</math>. Jeżeli liczby <math>d</math> i <math>n</math> są względnie pierwsze, to reszty <math>r_1, r_2, \ldots, r_n</math> z&nbsp;dzielenia <math>n</math> liczb <math>x_k</math> postaci
 
  
::<math>x_k = a + k d \qquad</math> dla <math>\; k = k_0 + 1, \ldots, k_0 + n</math>
+
::<math>1 \cdot p, 2 \cdot p, 3 \cdot p, \ldots, (p^{k - 1} - 1) \cdot p, p^{k - 1} \cdot p</math>
  
przez liczbę <math>n</math> są wszystkie różne i&nbsp;tworzą zbiór <math>S = \{ 0, 1, \ldots, n - 1 \}</math>. W&nbsp;szczególności wynika stąd, że wśród liczb <math>x_k</math> jedna jest podzielna przez <math>n</math>.
+
Zatem
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
::<math>\varphi (p^k) = p^k - p^{k - 1} = p^k \left( 1 - {\small\frac{1}{p}} \right)</math>
Przypuśćmy, że dla pewnych różnych liczb naturalnych <math>i, j</math> takich, że <math>1 \leqslant i < j \leqslant n</math> liczby <math>a + (k_0 + i) d</math> oraz <math>a + (k_0 + j) d</math> dają tę samą resztę przy dzieleniu przez <math>n</math>. Zatem różnica tych liczb jest podzielna przez <math>n</math>
 
  
::<math>n \mid [a + (k_0 + j) d] - [a + (k_0 + i) d]</math>
+
Ponieważ <math>\varphi (n)</math> jest funkcją multiplikatywną, to dla <math>n = p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s</math> otrzymujemy
  
Czyli
+
::<math>\varphi (n) = \prod^s_{k = 1} \varphi (p^{\alpha_k}_k)</math>
  
::<math>n \mid d (j - i)</math>
+
:::<math>\;\;\; = \prod^s_{k = 1} p^{\alpha_k}_k \left( 1 - {\small\frac{1}{p_k}} \right)</math>
  
Ponieważ liczby <math>d</math> i <math>n</math> są względnie pierwsze, to na mocy lematu Euklidesa (twierdzenie C74), mamy
+
:::<math>\;\;\; = \left[ \prod^s_{k = 1} p^{\alpha_k}_k \right] \cdot \left[ \prod^s_{k = 1} \left( 1 - {\small\frac{1}{p_k}} \right) \right]</math>
  
::<math>n \mid (j - i)</math>
+
:::<math>\;\;\; = n \cdot \prod^s_{k = 1} \left( 1 - {\small\frac{1}{p_k}} \right)</math>
  
Co jest niemożliwe, bo <math>1 \leqslant j - i \leqslant n - 1 < n</math>.
+
:::<math>\;\;\; = n \cdot \prod_{p|n} \left( 1 - {\small\frac{1}{p}} \right)</math>
  
Zatem reszty <math>r_1, r_2, \ldots, r_n</math> są wszystkie różne, a&nbsp;ponieważ jest ich <math>n</math>, czyli tyle ile jest różnych reszt z&nbsp;dzielenia przez liczbę <math>n</math>, to zbiór tych reszt jest identyczny ze zbiorem reszt z&nbsp;dzielenia przez <math>n</math>, czyli ze zbiorem <math>S = \{ 0, 1, 2, \ldots, n - 1 \}</math>.<br/>
+
Co należało pokazać.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 2527: Linia 971:
  
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C58</span><br/>
+
<span id="H35" style="font-size: 110%; font-weight: bold;">Twierdzenie H35</span><br/>
Niech <math>d \in \mathbb{Z}_+</math> i&nbsp;niech będzie dany ciąg arytmetyczny liczb pierwszych o&nbsp;długości <math>n</math>
+
Niech <math>n \in \mathbb{Z}_+</math>. Jeżeli <math>q</math> jest liczbą pierwszą, to
 
 
::<math>p_k = p_0 + k d \qquad</math> dla <math>\; k = 0, 1, \ldots, n - 1</math>
 
 
 
Z żądania, aby dany ciąg arytmetyczny był ciągiem arytmetycznym liczb pierwszych, wynika, że muszą być spełnione następujące warunki
 
 
 
:* <math>p_0 \nmid d</math>
 
:* <math>n \leqslant p_0</math>
 
:* <math>P(n - 1) \mid d</math>
 
:* jeżeli liczba pierwsza <math>q</math> nie dzieli <math>d</math>, to <math>n \leqslant q</math>
 
  
gdzie <math>P(t)</math> jest iloczynem wszystkich liczb pierwszych nie większych od <math>t</math>.
+
::<math>\varphi (q n) = \left\{ \begin{array}{rl}
 +
  (q - 1) \varphi (n) & \quad \text{gdy} \quad q \nmid n \\
 +
  q \varphi (n) & \quad \text{gdy} \quad q \mid n \\
 +
\end{array} \right.</math>
  
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
'''Punkt 1.'''<br/>
+
Jeżeli <math>q \nmid m</math>, to <math>\gcd (q, m) = 1</math>, zatem <math>\varphi (q m) = \varphi (q) \varphi (m) = (q - 1) \varphi (m)</math>. Jeżeli <math>q \mid m</math>, to liczby <math>m</math> oraz <math>q m</math> mają taki sam zbiór dzielników pierwszych, zatem
Gdyby <math>p_0 \mid d</math>, to dla <math>k \geqslant 1</math> mielibyśmy <math>p_k = p_0 \left( 1 + k \cdot \frac{d}{p_0} \right)</math> i&nbsp;wszystkie te liczby byłyby złożone.
 
  
'''Punkt 2.'''<br/>
+
::<math>\varphi (q m) = q m \prod_{p \mid q m} \left( 1 - {\small\frac{1}{p}} \right) = q \cdot \left[ m \prod_{p \mid m} \left( 1 - {\small\frac{1}{p}} \right) \right] = q \varphi (m)</math>
Ponieważ <math>p_0</math> dzieli <math>p_0 + p_0 d</math>, więc musi być <math>n - 1 < p_0</math>, czyli <math>n \leqslant p_0</math>.
 
  
'''Punkt 3.'''<br/>
+
Co należało pokazać.<br/>
Niech <math>q</math> będzie liczbą pierwszą mniejszą od <math>n</math>, a&nbsp;liczby <math>r_k</math> będą resztami uzyskanymi z&nbsp;dzielenia liczb <math>p_k = p_0 + k d</math> przez <math>q</math>, dla <math>k = 0, 1, \ldots, q - 1</math>. Ponieważ z&nbsp;założenia liczby <math>p_0, \ldots, p_{n - 1}</math> są liczbami pierwszymi większymi od <math>q</math> (zauważmy, że <math>p_0 \geqslant n</math>), to żadna z&nbsp;reszt <math>r_k</math> nie może być równa zeru. Czyli mamy <math>q</math> reszt mogących przyjmować jedynie <math>q - 1</math> różnych wartości. Zatem istnieją różne liczby <math>i, j</math>, takie że <math>0 \leqslant i < j \leqslant q - 1</math>, dla których <math>r_i = r_j</math>. Wynika stąd, że różnica liczb
+
&#9633;
 +
{{\Spoiler}}
  
::<math>p_j - p_i = (p_0 + j d) - (p_0 + i d) = d (j - i)</math>
 
  
musi być podzielna przez <math>q</math>. Ponieważ <math>q \nmid (j - i)</math>, bo <math>1 \leqslant j - i \leqslant q - 1 < q</math>, zatem z&nbsp;lematu Euklidesa <math>q \mid d</math>.
 
  
Z uwagi na fakt, że jest tak dla każdej liczby pierwszej <math>q < n</math>, liczba <math>d</math> musi być podzielna przez
+
<span id="H36" style="font-size: 110%; font-weight: bold;">Zadanie H36</span><br/>
 +
Niech <math>q \in \mathbb{P}</math> i <math>a, b, m, n \in \mathbb{Z}_+</math>. Pokazać, że
  
::<math>P(n - 1) = \prod_{q < n} q</math>
+
:*&nbsp;&nbsp;&nbsp;<math>\varphi (q^{a + b}) = q^a \varphi (q^b)</math>
  
'''Punkt 4.'''<br/>
+
:*&nbsp;&nbsp;&nbsp;<math>\varphi (n^m) = n^{m - 1} \varphi (n)</math>
Ponieważ <math>P(n - 1)|d</math>, to wszystkie liczby pierwsze mniejsze od <math>n</math> muszą być dzielnikami <math>d</math>. Wynika stąd, że jeśli liczba pierwsza <math>q</math> nie dzieli <math>d</math>, to musi być <math>q \geqslant n</math>. Co należało pokazać.<br/>
 
&#9633;
 
{{\Spoiler}}
 
  
 +
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
 +
'''Punkt 1.'''
  
 +
::<math>\varphi (q^{a + b}) = (q - 1) q^{a + b - 1} = q^a \cdot (q - 1) q^{b - 1} = q^a \varphi (q^b)</math>
  
<span style="font-size: 110%; font-weight: bold;">Uwaga C59</span><br/>
+
'''Punkt 2.'''
Czasami, zamiast pisać „ciąg arytmetyczny liczb pierwszych”, będziemy posługiwali się skrótem PAP od angielskiej nazwy „''prime arithmetic progression''”. Konsekwentnie zapis PAP-<math>n</math> będzie oznaczał ciąg arytmetyczny liczb pierwszych o&nbsp;długości <math>n</math>, a&nbsp;zapis PAP<math>(n, d, q)</math> ciąg arytmetyczny liczb pierwszych o&nbsp;długości <math>n</math>, pierwszym wyrazie <math>q</math> i&nbsp;różnicy <math>d</math>.
 
  
 +
Niech <math>n = p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s</math>
  
 +
::<math>\varphi (n^m) = \varphi (p^{m \alpha_1}_1 \cdot \ldots \cdot p^{m \alpha_s}_s)</math>
  
<span style="font-size: 110%; font-weight: bold;">Uwaga C60</span><br/>
+
::::<math>\, = \varphi (p^{m \alpha_1}_1) \cdot \ldots \cdot \varphi (p^{m \alpha_s}_s)</math>
Jakkolwiek sądzimy, że istnieje nieskończenie wiele ciągów arytmetycznych liczb pierwszych rozpoczynających się od dowolnej liczby pierwszej <math>q</math> i&nbsp;o&nbsp;dowolnej długości <math>3 \leqslant n \leqslant q</math>, to obecnie jest to tylko nieudowodnione przypuszczenie.
 
  
Dlatego '''nawet dla najmniejszej''' liczby pierwszej <math>q</math> takiej, że <math>q \nmid d</math> nierówność <math>n \leqslant q</math>, pokazana w&nbsp;twierdzeniu C58, pozostaje nadal tylko oszacowaniem. W&nbsp;szczególności nie możemy z&nbsp;góry przyjmować, że dla liczby <math>n = q</math> znajdziemy taką liczbę <math>d</math> będącą wielokrotnością liczby <math>P(q - 1)</math> i&nbsp;niepodzielną przez <math>q</math>, że będzie istniał PAP<math>(q, d, q)</math>.
+
::::<math>\, = \varphi (p^{(m - 1) \alpha_1 + \alpha_1}_1) \cdot \ldots \cdot \varphi (p^{(m - 1) \alpha_s + \alpha_s}_s)</math>
  
 +
::::<math>\, = p^{(m - 1) \alpha_1}_1 \varphi (p^{\alpha_1}_1) \cdot \ldots \cdot p^{(m - 1) \alpha_s}_s \varphi (p^{\alpha_s}_s)</math>
  
 +
::::<math>\, = p^{(m - 1) \alpha_1}_1 \cdot \ldots \cdot p^{(m - 1) \alpha_s}_s \cdot \varphi (p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s)</math>
  
<span style="font-size: 110%; font-weight: bold;">Przykład C61</span><br/>
+
::::<math>\, = n^{m - 1} \varphi (n)</math>
Rozważmy dwie różnice <math>d_1 = 6 = 2 \cdot 3</math> oraz <math>d_2 = 42 = 2 \cdot 3 \cdot 7</math>. Zauważmy, że liczba pierwsza <math>5</math> nie dzieli ani <math>d_1</math>, ani <math>d_2</math>. Co więcej, liczba pierwsza <math>5</math> jest '''najmniejszą''' liczbą pierwszą, która nie dzieli rozpatrywanych różnic, zatem nierówność <math>n \leqslant 5</math> zapewnia najmocniejsze oszacowanie długości ciągu <math>n</math>. Łatwo sprawdzamy w&nbsp;zamieszczonych tabelach, że dla <math>d = 6</math> oraz dla <math>d = 42</math> są ciągi o&nbsp;długości <math>3, 4, 5</math>, ale nie ma ciągów o&nbsp;długości <math>6, 7, \ldots</math>
 
  
W szczególności z&nbsp;twierdzenia C58 wynika, że szukając ciągów arytmetycznych liczb pierwszych o&nbsp;określonej długości <math>n</math>, należy szukać ich tylko dla różnic <math>d</math> będących wielokrotnością liczby <math>P(n - 1)</math>.
+
Co należało pokazać.<br/>
 +
&#9633;
 +
{{\Spoiler}}
  
  
  
<span style="font-size: 110%; font-weight: bold;">Zadanie C62</span><br/>
+
<span id="H37" style="font-size: 110%; font-weight: bold;">Twierdzenie H37</span><br/>
Wiemy, że liczby pierwsze <math>p > 3</math> można przedstawić w&nbsp;jednej z&nbsp;postaci <math>6 k - 1</math> lub <math>6 k + 1</math>. Pokazać, że jeżeli <math>p_0 = 3</math>, to dwa następne wyrazu rosnącego ciągu arytmetycznego liczb pierwszych są różnych postaci.
+
Niech <math>m, n \in \mathbb{Z}_+</math>. Jeżeli <math>m \mid n</math>, to <math>\varphi (m) \mid \varphi (n)</math>.
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
Ponieważ <math>p_0 = 3</math>, a&nbsp;rozpatrywany PAP jest rosnący, to kolejne wyrazy ciągu są większe od liczby <math>3</math> i&nbsp;mogą być przedstawione w&nbsp;jednej z&nbsp;postaci <math>6 k - 1</math> lub <math>6 k + 1</math>. Z&nbsp;twierdzenia C58 wiemy, że musi być <math>n \leqslant p_0 = 3</math>, czyli długość rozpatrywanego ciągu arytmetycznego liczb pierwszych wynosi dokładnie <math>3</math> i&nbsp;istnieją tylko dwa następne wyrazy.
+
Niech <math>n = p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s</math>. Ponieważ założyliśmy, że <math>m \mid n</math>, to <math>m</math> musi być postaci <math>m = p^{\beta_1}_1 \cdot \ldots \cdot p^{\beta_s}_s</math>, gdzie <math>0 \leqslant \beta_i \leqslant \alpha_i</math>, dla <math>i = 1, \ldots, s</math>. Łatwo zauważamy, że
 
 
Rozważmy ciąg arytmetyczny liczb pierwszych składający się z&nbsp;trzech wyrazów <math>p, q, r</math> takich, że <math>p = 3</math>. Mamy
 
  
::<math>r = q + d = q + (q - p) = 2 q - p</math>
+
:*&nbsp;&nbsp;&nbsp;jeżeli <math>\beta_i = 0</math>, to <math>\varphi (p^{\beta_i}_i) = 1</math> i&nbsp;dzieli <math>\varphi (p^{\alpha_i}_i)</math>
  
Zatem
+
:*&nbsp;&nbsp;&nbsp;jeżeli <math>1 \leqslant \beta_i \leqslant \alpha_i</math>, to <math>(p_i - 1) p_i^{\beta_i - 1} \mid (p_i - 1) p_i^{\alpha_i - 1}</math>, zatem <math>\varphi (p^{\beta_i}_i) \mid \varphi (p^{\alpha_i}_i)</math>
  
::<math>r + q = 3 q - 3</math>
+
Skąd natychmiast wynika, że <math>\varphi (p^{\beta_1}_1) \cdot \ldots \cdot \varphi (p^{\beta_s}_s)</math> dzieli <math>\varphi (p^{\alpha_1}_1) \cdot \ldots \cdot \varphi (p^{\alpha_s}_s)</math>, czyli <math>\varphi (m) \mid \varphi (n)</math>.
  
Widzimy, że prawa strona powyższej równości jest podzielna przez <math>3</math>. Zatem liczby po lewej stronie wypisanych wyżej równości muszą być różnych postaci, bo tylko w&nbsp;takim przypadku lewa strona równości będzie również podzielna przez <math>3</math>.<br/>
+
Zauważmy, że twierdzenie odwrotne nie jest prawdziwe, bo <math>\varphi (7) \mid \varphi (19)</math>, ale <math>7 \nmid 19</math>.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 2605: Linia 1042:
  
  
<span style="font-size: 110%; font-weight: bold;">Zadanie C63</span><br/>
+
<span id="H38" style="font-size: 110%; font-weight: bold;">Zadanie H38</span><br/>
Wiemy, że liczby pierwsze <math>p > 3</math> można przedstawić w&nbsp;jednej z&nbsp;postaci <math>6 k - 1</math> lub <math>6 k + 1</math>. Pokazać, że wszystkie wyrazy rosnącego ciągu arytmetycznego liczb pierwszych <math>p_0, p_1, \ldots, p_{n - 1}</math>, gdzie <math>p_0 \geqslant 5</math> i <math>n \geqslant 3</math> muszą być jednakowej postaci.
+
Dla <math>n \geqslant 3</math> wartości <math>\varphi (n)</math> są liczbami parzystymi.
  
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
Niech liczby <math>p, q, r</math> będą trzema kolejnymi (dowolnie wybranymi) wyrazami rozpatrywanego ciągu. Łatwo zauważmy, że
+
Jeżeli liczba <math>n \geqslant 3</math> jest podzielna przez liczbę pierwszą nieparzystą <math>p</math>, zaś <math>k</math> jest wykładnikiem, z&nbsp;jakim <math>p</math> wchodzi do rozwinięcia <math>n</math> na czynniki pierwsze, to
  
::<math>r = q + d = q + (q - p) = 2 q - p</math>
+
::<math>\varphi (n) = \varphi \left( p^k \cdot {\small\frac{n}{p^k}} \right) = (p - 1) p^{k  - 1} \cdot \varphi \left( {\small\frac{n}{p^k}} \right)</math>
  
Zatem
+
zatem <math>\varphi (n)</math> jest liczbą parzystą, ponieważ <math>p - 1</math> jest liczbą parzystą.
  
::<math>p + q = 3 q - r</math>
+
Jeżeli żadna liczba nieparzysta nie dzieli <math>n</math>, to liczba <math>n</math> jest postaci <math>n = 2^a</math> i <math>\varphi (n) = 2^{a - 1}</math>, ale z&nbsp;założenia <math>n \geqslant 3</math>, zatem <math>a \geqslant 2</math> i <math>\varphi (n)</math> jest liczbą parzystą.<br/>
 +
&#9633;
 +
{{\Spoiler}}
  
::<math>q + r = 3 q - p</math>
 
  
::<math>p + r = 2 q</math>
 
  
Zauważmy, że prawa strona wypisanych wyżej równości nie jest podzielna przez <math>3</math>, bo liczby <math>p, q, r</math> są liczbami pierwszymi większymi od liczby <math>3</math>. Zatem liczby po lewej stronie wypisanych wyżej równości muszą być tej samej postaci, bo gdyby było inaczej, to lewa strona tych równości byłaby podzielna przez <math>3</math>, a&nbsp;prawa nie. Czyli każda para liczb z&nbsp;trójki <math>p, q, r</math> musi być tej samej postaci i&nbsp;wynika stąd, że wszystkie trzy liczby muszą być tej samej postaci. Ponieważ trzy kolejne wyrazy ciągu <math>p_0, p_1, \ldots, p_{n - 1}</math> były wybrane dowolnie, to wszystkie wyrazy tego ciągu muszą być tej samej postaci.<br/>
+
<span id="H39" style="font-size: 110%; font-weight: bold;">Twierdzenie H39</span><br/>
&#9633;
+
Jeżeli <math>n</math> jest liczbą złożoną, to <math>\varphi (n) \leqslant n - \sqrt{n}</math>.
{{\Spoiler}}
 
  
 +
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 +
<span style="border-bottom-style: double;">Pierwszy sposób</span><br/>
 +
Niech <math>n = a b</math>, gdzie <math>1 < a \leqslant b < n</math>. Liczby <math>1 \cdot a, 2 \cdot a, 3 \cdot a, \ldots, b \cdot a</math> są nie większe od <math>n</math> i&nbsp;nie są względnie pierwsze z <math>n</math>, zatem
  
 +
::<math>\varphi (n) \leqslant n - b</math>
  
<span style="font-size: 110%; font-weight: bold;">Zadanie C64</span><br/>
+
Ponieważ <math>b \geqslant a</math>, to <math>b^2 \geqslant a b = n</math> i <math>b \geqslant \sqrt{n}</math>. Wynika stąd, że
Niech <math>d > 0</math> będzie różnicą ciągu arytmetycznego liczb pierwszych o&nbsp;długości <math>n</math>
 
  
::<math>p_k = p_0 + k d \qquad</math> dla <math>\; k = 0, 1, \ldots, n - 1</math>
+
::<math>\varphi (n) \leqslant n - b \leqslant n - \sqrt{n}</math>
  
Pokazać, nie korzystając z&nbsp;twierdzenia C58, że jeżeli liczba pierwsza <math>q</math> nie dzieli <math>d</math>, to <math>n \leqslant q</math>.
+
<br/><span style="border-bottom-style: double;">Drugi sposób</span><br/>
 +
Niech <math>q</math> oznacza najmniejszy dzielnik pierwszy liczby złożonej <math>n</math>, zatem <math>q^2 \leqslant n</math>, czyli <math>q \leqslant \sqrt{n}</math>, a&nbsp;stąd <math>{\small\frac{n}{q}} \geqslant \sqrt{n}</math> i
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
+
::<math>\varphi (n) = n \cdot \prod_{p|n} \left( 1 - {\small\frac{1}{p}} \right) \leqslant n \left( 1 - {\small\frac{1}{q}} \right) = n - {\small\frac{n}{q}} \leqslant n - \sqrt{n}</math>
Przypuśćmy, że <math>n > q</math> tak, że <math>q < n \leqslant p_0</math>, zatem
 
  
::<math>q < p_k = p_0 + k d \qquad</math> dla <math>\; k = 0, 1, \ldots, n - 1</math>
+
Co należało pokazać.<br/>
 
 
Ponieważ <math>q \nmid d</math>, to na mocy twierdzenia C57 wśród <math>q</math> kolejnych wyrazów <math>p_0, p_1, \ldots, p_{q - 1}</math> (zauważmy, że <math>q - 1 < n - 1</math>) jedna liczba pierwsza <math>p_k</math> musi być podzielna przez <math>q</math>, zatem musi być równa <math>q</math>. Jednak jest to niemożliwe, bo <math>q < p_k</math> dla wszystkich <math>k = 0, 1, \ldots, n - 1</math>. Zatem nie może być <math>n > q</math>.<br/>
 
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 2645: Linia 1082:
  
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C65</span><br/>
+
<span id="H40" style="font-size: 110%; font-weight: bold;">Twierdzenie H40</span><br/>
Niech <math>q</math> będzie liczbą pierwszą, a&nbsp;liczby pierwsze
+
Dla <math>n \geqslant 1</math> prawdziwe jest oszacowanie <math>\varphi (n) > {\small\frac{\sqrt{n}}{2}}</math>.
 
 
::<math>p_k = p_0 + k d \qquad</math> gdzie <math>\; k = 0, 1, \ldots, q - 1</math>
 
 
 
tworzą ciąg arytmetyczny o&nbsp;długości <math>q</math> i&nbsp;różnicy <math>d > 0</math>.
 
 
 
Równość <math>p_0 = q</math> zachodzi wtedy i&nbsp;tylko wtedy, gdy <math>q \nmid d</math>.
 
  
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
<math>\Longrightarrow</math><br/>
+
Dla <math>k \geqslant 3</math> jest
Jeżeli <math>p_0 = q</math>, to <math>q</math>-wyrazowy ciąg arytmetyczny liczb pierwszych ma postać
 
  
::<math>p_k = q + k d \qquad</math> dla <math>\; k = 0, 1, \ldots, q - 1</math>
+
::<math>\left( 1 - {\small\frac{1}{k}} \right)^2 > {\small\frac{1}{k}}</math>
  
Gdyby <math>q \mid d</math>, to mielibyśmy
+
Wynika stąd, że jeżeli <math>m \geqslant 3</math> jest liczbą nieparzystą, to
  
::<math>p_k = q \left( 1 + k \cdot \frac{d}{q} \right)</math>
+
::<math>\varphi (m)^2 = m^2 \prod_{p|m} \left( 1 - {\small\frac{1}{p}} \right)^2 > m^2 \prod_{p|m} {\small\frac{1}{p}} \geqslant m</math>
  
i wszystkie liczby <math>p_k</math> dla <math>k \geqslant 1</math> byłyby złożone, wbrew założeniu, że <math>p_k</math> tworzą <math>q</math>-wyrazowy ciąg arytmetyczny liczb pierwszych.
+
bo
  
<math>\Longleftarrow</math><br/>
+
::<math>\prod_{p|m} p \leqslant m</math>
Ponieważ <math>q</math> jest długością rozpatrywanego ciągu arytmetycznego liczb pierwszych, to z&nbsp;twierdzenia C58 wynika, że musi być <math>q \leqslant p_0</math>.
 
  
Z założenia liczba pierwsza <math>q</math> nie dzieli <math>d</math>, zatem z&nbsp;twierdzenia C57 wiemy, że <math>q</math> musi dzielić jedną z&nbsp;liczb <math>p_0, p_1, \ldots, p_{q - 1}</math>.
+
Czyli dla nieparzystych liczb <math>m \geqslant 3</math> mamy
  
Jeżeli <math>q \mid p_k</math>, to <math>p_k = q</math>. Ponieważ <math>q \leqslant p_0</math>, to możliwe jest jedynie <math>q \mid p_0</math> i&nbsp;musi być <math>p_0 = q</math>.<br/>
+
::<math>\varphi (m) > \sqrt{m} > {\small\frac{\sqrt{m}}{2}}</math>
&#9633;
 
{{\Spoiler}}
 
  
  
 +
Jeżeli <math>d = 2^a</math>, gdzie <math>a \geqslant 1</math>, to
  
<span style="font-size: 110%; font-weight: bold;">Uwaga C66</span><br/>
+
::<math>\varphi (d) = \varphi (2^a) = 2^{a - 1} > {\small\frac{\sqrt{2^a}}{2}} = {\small\frac{\sqrt{d}}{2}}</math>
Niech ciąg arytmetyczny liczb pierwszych o&nbsp;długości <math>n</math> ma postać
 
  
::<math>p_k = p_0 + k d \qquad</math> dla <math>\; k = 0, 1, \ldots, n - 1</math>
 
  
Z udowodnionych wyżej twierdzeń C58 i&nbsp;C65 wynika, że ciągi arytmetyczne liczb pierwszych o&nbsp;długości <math>n</math> można podzielić na dwie grupy
+
W przypadku ogólnym, gdy <math>n</math> jest iloczynem liczby nieparzystej <math>m \geqslant 3</math> i&nbsp;potęgi liczby <math>2</math>, dostajemy
  
:* jeżeli <math>n</math> jest liczbą pierwszą i <math>n \nmid d</math>, to <math>P(n - 1) \mid d</math> oraz <math>p_0 = n</math> (dla ustalonego <math>d</math> może istnieć tylko jeden ciąg)
+
::<math>\varphi (n) = \varphi (2^a m) = \varphi (2^a) \varphi (m) > {\small\frac{\sqrt{2^a}}{2}} \cdot \sqrt{m} = {\small\frac{\sqrt{2^a m}}{2}} = {\small\frac{\sqrt{n}}{2}}</math>
:* jeżeli <math>n</math> jest liczbą złożoną lub <math>n \mid d</math>, to <math>P(n) \mid d</math> oraz <math>p_0 > n</math>
 
  
Funkcja <math>P(t)</math> jest iloczynem wszystkich liczb pierwszych nie większych od <math>t</math>.
+
Oczywiście nierówność <math>\varphi (n) > {\small\frac{\sqrt{n}}{2}}</math> jest również prawdziwa dla <math>n = 1</math>. Co należało pokazać.<br/>
 +
&#9633;
 +
{{\Spoiler}}
  
  
  
<span style="font-size: 110%; font-weight: bold;">Przykład C67</span><br/>
+
<span id="H41" style="font-size: 110%; font-weight: bold;">Zadanie H41</span><br/>
Niech różnica ciągu arytmetycznego liczb pierwszych wynosi <math>d = 10^t</math>, gdzie <math>t \geqslant 1</math>. Zauważmy, że dla dowolnego <math>t</math> liczba <math>3</math> jest najmniejszą liczbą pierwszą, która nie dzieli <math>d</math>. Z&nbsp;oszacowania <math>n \leqslant 3</math> wynika, że musi być <math>n = 3</math>.
+
Pokazać, że dla <math>n \geqslant 7</math> prawdziwe jest oszacowanie <math>\varphi (n) > \sqrt{n}</math>.
  
Jeżeli długość ciągu <math>n = 3</math> i <math>n \nmid d</math>, to musi być <math>p_0 = n = 3</math> i&nbsp;może istnieć tylko jeden PAP dla każdego <math>d</math>. W&nbsp;przypadku <math>t \leqslant 10000</math> jedynie dla <math>t = 1, 5, 6, 17</math> wszystkie liczby ciągu arytmetycznego <math>(3, 3 + 10^t, 3 + 2 \cdot 10^t)</math> są pierwsze.
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
 +
Zauważmy, że
  
 +
::<math>n - 1 > \sqrt{n} \qquad \qquad \;\, \text{dla} \; n \geqslant 3</math>
  
 +
::<math>n - 1 > \sqrt{2 n} \qquad \qquad \text{dla} \; n \geqslant 4</math>
  
<span style="font-size: 110%; font-weight: bold;">Zadanie C68</span><br/>
 
Znaleźć wszystkie PAP<math>(n, d, p)</math> dla <math>d = 2, 4, 8, 10, 14, 16</math>.
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
+
Zatem dla liczby pierwszej <math>p</math> i <math>k \geqslant 1</math> jest
Zauważmy, że dla każdej z&nbsp;podanych różnic <math>d</math>, liczba <math>3</math> jest najmniejszą liczbą pierwszą, która nie dzieli <math>d</math>. Z&nbsp;oszacowania <math>n \leqslant 3</math> wynika, że musi być <math>n = 3</math>.
 
  
Ponieważ <math>n = 3</math> jest liczbą pierwszą i&nbsp;dla wypisanych <math>d</math> liczba <math>n \nmid d</math>, to w&nbsp;każdym przypadku może istnieć tylko jeden ciąg, którego pierwszym wyrazem jest liczba pierwsza <math>p_0 = n = 3</math>. Dla <math>d = 2, 4, 8, 10, 14</math> łatwo znajdujemy odpowiednie ciągi
+
::<math>\varphi (p^k) = (p - 1) p^{k - 1} > \sqrt{p} \cdot p^{k - 1} = p^{k - \tfrac{1}{2}} \geqslant p^{\tfrac{k}{2}} = \sqrt{p^k} \qquad \qquad \qquad \qquad \quad \; \text{dla} \;\: p \geqslant 3</math>
  
::<math>(3, 5, 7)</math>, <math>\qquad (3, 7, 11)</math>, <math>\qquad (3, 11, 19)</math>, <math>\qquad (3, 13, 23)</math>, <math>\qquad (3, 17, 31)</math>
+
::<math>\varphi (p^k) = (p - 1) p^{k - 1} > \sqrt{2 p} \cdot p^{k - 1} = \sqrt{2} \cdot p^{k - \tfrac{1}{2}} \geqslant \sqrt{2} \cdot p^{\tfrac{k}{2}} = \sqrt{2 p^k} \qquad \qquad \text{dla} \;\, p \geqslant 5</math>
  
Dla <math>d = 16</math> szukany ciąg nie istnieje, bo <math>35 = 5 \cdot 7</math>.<br/>
 
&#9633;
 
{{\Spoiler}}
 
  
 +
'''1. Przypadek, gdy <math>\boldsymbol{n \geqslant 3}</math> jest liczbą nieparzystą'''
  
 +
Liczba <math>n</math> jest iloczynem czynników pierwszych nieparzystych, zatem
  
<span style="font-size: 110%; font-weight: bold;">Zadanie C69</span><br/>
+
::<math>\varphi (n) = \varphi (p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s) = \varphi (p^{\alpha_1}_1) \cdot \ldots \cdot \varphi (p^{\alpha_s}_s) > \sqrt{p^{\alpha_1}_1} \cdot \ldots \cdot \sqrt{p^{\alpha_s}_s} = \sqrt{n}</math>
Znaleźć wszystkie PAP<math>(n, d, p)</math> dla <math>n = 3, 5, 7, 11</math> i <math>d = P (n - 1)</math>.
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
 
Z założenia PAP ma długość <math>n</math>, liczba <math>n</math> jest liczbą pierwszą i <math>n \nmid d</math>. Zatem może istnieć tylko jeden PAP taki, że <math>p_0 = n</math>. Dla <math>n = 3, 5</math> i&nbsp;odpowiednio <math>d = 2, 6</math> otrzymujemy ciągi arytmetyczne liczb pierwszych
 
  
::<math>(3, 5, 7)</math>, <math>\qquad (5, 11, 17, 23, 29)</math>
+
'''2. Przypadek, gdy <math>\boldsymbol{n = 2^a m} \;</math> i <math>\; \boldsymbol{q \mid m ,} \;</math> gdzie <math>\; \boldsymbol{q \geqslant 5}</math>'''
  
Ale dla <math>n = 7, 11</math> i&nbsp;odpowiednio <math>d = 30, 210</math> szukane ciągi nie istnieją, bo
+
Z założenia <math>n = 2^a m = 2^a q^b r</math>, gdzie <math>r \geqslant 1</math> jest liczbą nieparzystą. Zauważmy, że <math>\varphi (r) \geqslant \sqrt{r}</math>, bo może być <math>r = 1</math>.
  
::<math>(7, 37, 67, 97, 127, 157, {\color{Red} 187 = 11 \cdot 17})</math>
+
::<math>\varphi (n) = \varphi (2^a q^b r)</math>
 
 
::<math>(11, {\color{Red} 221 = 13 \cdot 17}, 431, 641, {\color{Red} 851 = 23 \cdot 37}, 1061, {\color{Red} 1271 = 31 \cdot 41}, 1481, {\color{Red} 1691 = 19 \cdot 89}, 1901, 2111)</math><br/>
 
&#9633;
 
{{\Spoiler}}
 
  
 +
:::<math>\;\;\,\, = \varphi (2^a) \varphi (q^b) \varphi (r)</math>
  
 +
:::<math>\;\;\,\, > 2^{a - 1} \sqrt{2 q^b} \sqrt{r}</math>
  
<span style="font-size: 110%; font-weight: bold;">Przykład C70</span><br/>
+
:::<math>\;\;\,\, = 2^{a - \tfrac{1}{2}} \sqrt{q^b} \sqrt{r}</math>
Przedstawiamy przykładowe ciągi arytmetyczne liczb pierwszych, takie że <math>n = p_0</math> dla <math>n = 3, 5, 7, 11, 13</math>. Zauważmy, że wypisane w&nbsp;tabeli wartości <math>d</math> są wielokrotnościami liczby <math>P(n - 1)</math>.
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Pokaż tabelę|Hide=Ukryj tabelę}}
+
:::<math>\;\;\,\, \geqslant 2^{\tfrac{a}{2}} \sqrt{q^b r}</math>
{| class="wikitable plainlinks"  style="display: inline-table; font-size: 80%; text-align: right;"
 
|- style="text-align: center;"
 
| style="background:#98fb98;"|<math>\mathbf{n = p_0}</math>
 
| colspan=10 style="background:#ffd890;"| <math>\mathbf{d}</math>
 
|-
 
|-
 
| style="background:#98fb98; text-align: center;"|<math>\mathbf{3}</math>||<math>2</math>||<math>4</math>||<math>8</math>||<math>10</math>||<math>14</math>||<math>20</math>||<math>28</math>||<math>34</math>||<math>38</math>||<math>40</math>
 
|-
 
| style="background:#98fb98; text-align: center;"|<math>\mathbf{5}</math>||<math>6</math>||<math>12</math>||<math>42</math>||<math>48</math>||<math>96</math>||<math>126</math>||<math>252</math>||<math>426</math>||<math>474</math>||<math>594</math>
 
|-
 
| style="background:#98fb98; text-align: center;"|<math>\mathbf{7}</math>||<math>150</math>||<math>2760</math>||<math>3450</math>||<math>9150</math>||<math>14190</math>||<math>20040</math>||<math>21240</math>||<math>63600</math>||<math>76710</math>||<math>117420</math>
 
|-
 
| style="background:#98fb98; text-align: center;"|<math>\mathbf{11}</math>||<math>1536160080</math>||<math>4911773580</math>||<math>25104552900</math>||<math>77375139660</math>||<math>83516678490</math>||<math>100070721660</math>||<math>150365447400</math>||<math>300035001630</math>||<math>318652145070</math>||<math>369822103350</math>
 
|-
 
| style="background:#98fb98; text-align: center;"|<math>\mathbf{13}</math>||<math>9918821194590</math>||<math>104340979077720</math>||<math>187635245859600</math>||<math>232320390245790</math>||<math>391467874710990</math>||<math>859201916576850</math>||<math>1024574038282410</math>||<math>1074380369464710</math>||<math>1077624363457950</math>||<math>1185763337651970</math>
 
|}
 
  
 +
:::<math>\;\;\,\, = \sqrt{2^a q^b r}</math>
  
Przykłady takich ciągów dla jeszcze większych liczb pierwszych Czytelnik znajdzie na stronie [http://oeis.org/A088430 A088430].<br/>
+
:::<math>\;\;\,\, = \sqrt{n}</math>
&#9633;
 
{{\Spoiler}}
 
  
  
 +
'''3. Przypadek, gdy <math>\boldsymbol{n = 2^a m} \;</math> i <math>\; \boldsymbol{q \nmid m ,} \;</math> gdzie <math>\; \boldsymbol{q \geqslant 5}</math>'''
  
<span style="font-size: 110%; font-weight: bold;">Przykład C71</span><br/>
+
Jeżeli żadna liczba pierwsza <math>q \geqslant 5</math> nie dzieli <math>m</math>, to możliwe są tylko dwie sytuacje: <math>n = 2^a \,</math> i <math>\, n = 2^a 3^b</math>.
Liczby <math>3, 5, 7</math> są najprostszym przykładem ciągu arytmetycznego '''kolejnych''' liczb pierwszych. Zauważmy, że tylko w&nbsp;przypadku <math>n = 3</math> możliwa jest sytuacja, że <math>n = p_0 = 3</math>. Istotnie, łatwo stwierdzamy, że
 
  
:* ponieważ <math>p_0</math> i <math>p_1</math> są '''kolejnymi''' liczbami pierwszymi, to <math>p_1 - p_0 < p_0</math> (zobacz zadanie B22)
+
'''3a. Przypadek, gdy <math>\boldsymbol{n = 2^a}</math>'''
:* dla dowolnej liczby pierwszej <math>q \geqslant 5</math> jest <math>q < P (q - 1)</math> (zobacz zadanie B26)
 
  
Przypuśćmy teraz, że istnieje ciąg arytmetyczny '''kolejnych''' liczb pierwszych, taki że <math>n = p_0 \geqslant 5</math>. Mamy
+
::<math>\varphi (n) = \varphi (2^a) = 2^{a - 1} > \sqrt{2^a} = \sqrt{n} \qquad \qquad \;\, \text{dla} \; a \geqslant 3</math>
  
::<math>d = p_1 - p_0 < p_0 < P (p_0 - 1) = P (n - 1)</math>
+
Twierdzenie nie jest prawdziwe dla <math>n = 2 \,</math> i <math>\, n = 4 \,\,</math> (gdy <math>a = 1 \,</math> lub <math>\, a = 2</math>).
  
Zatem <math>P(n - 1) \nmid d</math>, co jest niemożliwe.
+
'''3b. Przypadek, gdy <math>\boldsymbol{n = 2^a 3^b}</math>'''
  
Wynika stąd, że poza przypadkiem <math>n = p_0 = 3</math> ciąg arytmetyczny kolejnych liczb pierwszych musi spełniać warunek <math>P(n) \mid d</math>, czyli <math>P(n) \mid (p_1 - p_0)</math>.
+
::<math>\varphi (n) = \varphi (2^a 3^b) = \varphi (2^a) \varphi (3^b) = 2^{a - 1} \cdot 2 \cdot 3^{b - 1} = 2^a 3^{b - 1} = \sqrt{2^a 3^b} \cdot {\small\frac{\sqrt{2^a 3^b}}{3}} > \sqrt{2^a 3^b}</math>
  
Poniższe tabele przedstawiają przykładowe ciągi arytmetyczne kolejnych liczb pierwszych o&nbsp;długościach <math>n = 3, 4, 5, 6</math> dla rosnących wartości <math>p_0</math>. Nie istnieje ciąg arytmetyczny kolejnych liczb pierwszych o&nbsp;długości <math>n = 7</math> dla <math>p_0 < 10^{13}</math>. Prawdopodobnie CPAP-7 pojawią się dopiero dla <math>p_0 \sim 10^{20}</math>.
+
Ostatnia nierówność jest prawdziwa, o&nbsp;ile <math>\sqrt{2^a 3^b} > 3</math>, czyli gdy <math>2^a 3^b > 9</math>, co ma miejsce, gdy <math>a \geqslant 2</math> lub <math>b \geqslant 2</math>.
  
Znane są ciągi arytmetyczne kolejnych liczb pierwszych o&nbsp;długościach <math>n \leqslant 10</math><ref name="CPAP1"/>.
+
Twierdzenie nie jest prawdziwe dla <math>n = 6 \;</math> (gdy <math>a = 1 \,</math> i <math>\, b = 1</math>).
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Pokaż tabele|Hide=Ukryj tabele}}
 
  
{| class="wikitable plainlinks"  style="display: inline-table; margin-left: 5px; margin-right: 50px; font-size: 80%; text-align: right;"
+
Zbierając uzyskane wyniki, otrzymujemy: oszacowanie <math>\varphi (n) > \sqrt{n}</math> nie jest prawdziwe dla <math>n = 1, 2, 4, 6</math>. Co należało pokazać.<br/>
|- style="background: #98fb98; text-align: center;"
 
| colspan=2 | <math>\mathbf{n = 3}</math>
 
|- style="text-align: center;"
 
| <math>\mathbf{p_0 \leqslant 10^{3}}</math>
 
| style="background: #ffd890;" | <math>\mathbf{d}</math>
 
|-
 
| <math>\mathbf{3}</math> || style="background:#ffd890;"|<math>2</math>
 
|-
 
| <math>\mathbf{47}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{151}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{167}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{199}</math> || style="background:#ffd890;"|<math>12</math>
 
|-
 
| <math>\mathbf{251}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{257}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{367}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{557}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{587}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{601}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{647}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{727}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{941}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{971}</math> || style="background:#ffd890;"|<math>6</math>
 
|}
 
{| class="wikitable plainlinks"  style="display: inline-table; margin-left: 5px; margin-right: 50px; font-size: 80%; text-align: right;"
 
|- style="background: #98fb98; text-align: center;"
 
| colspan=2 | <math>\mathbf{n = 4}</math>
 
|- style="text-align: center;"
 
| <math>\mathbf{p_0 \leqslant 10^{4}}</math>
 
| style="background: #ffd890;" | <math>\mathbf{d}</math>
 
|-
 
| <math>\mathbf{251}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{1741}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{3301}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{5101}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{5381}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{6311}</math> || style="background:#ffd890;"|<math>6</math>
 
|-
 
| <math>\mathbf{6361}</math> || style="background:#ffd890;"|<math>6</math>
 
|}
 
{| class="wikitable plainlinks"  style="display: inline-table; margin-left: 5px; margin-right: 50px; font-size: 80%; text-align: right;"
 
|- style="background: #98fb98; text-align: center;"
 
| colspan=2 | <math>\mathbf{n = 5}</math>
 
|- style="text-align: center;"
 
| <math>\mathbf{p_0 \leqslant 10^{8}}</math>
 
| style="background: #ffd890;" | <math>\mathbf{d}</math>
 
|-
 
| <math>\mathbf{9843019}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{37772429}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{53868649}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{71427757}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{78364549}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{79080577}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{98150021}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{99591433}</math> || style="background:#ffd890;"|<math>30</math>
 
|}
 
{| class="wikitable plainlinks"  style="display: inline-table; margin-left: 5px; margin-right: 50px; font-size: 80%; text-align: right;"
 
|- style="background: #98fb98; text-align: center;"
 
| colspan=2 | <math>\mathbf{n = 6}</math>
 
|- style="text-align: center;"
 
| <math>\mathbf{p_0 \leqslant 10^{10}}</math>
 
| style="background: #ffd890;" | <math>\mathbf{d}</math>
 
|-
 
| <math>\mathbf{121174811}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{1128318991}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{2201579179}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{2715239543}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{2840465567}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{3510848161}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{3688067693}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{3893783651}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{5089850089}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{5825680093}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{6649068043}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{6778294049}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{7064865859}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{7912975891}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{8099786711}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{9010802341}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{9327115723}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{9491161423}</math> || style="background:#ffd890;"|<math>30</math>
 
|-
 
| <math>\mathbf{9544001791}</math> || style="background:#ffd890;"|<math>30</math>
 
|}
 
<br/>
 
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 2912: Linia 1187:
  
  
<span style="font-size: 110%; font-weight: bold;">Zadanie C72</span><br/>
+
<span id="H42" style="font-size: 110%; font-weight: bold;">Zadanie H42</span><br/>
Uzasadnij przypuszczenie, że ciągów arytmetycznych '''kolejnych''' liczb pierwszych o&nbsp;długości <math>n = 7</math> możemy oczekiwać dopiero dla <math>p_0 \sim 10^{20}</math>.
+
Pokazać, że dla <math>n \geqslant 2</math> prawdziwe jest oszacowanie <math>\varphi (n) > {\small\frac{n}{3 \log n}}</math>. Korzystając z&nbsp;tego wyniku, pokazać, że <math>\varphi (n) > n^{2 / 3}</math> dla <math>n \geqslant 43</math> oraz że <math>\varphi (n) > n^{3 / 4}</math> dla <math>n \geqslant 211</math>.
  
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
 
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
Zauważmy, że ilość liczb pierwszych nie większych od <math>x</math> w&nbsp;dobrym przybliżeniu jest określona funkcją <math>\frac{x}{\log x}</math>. Ponieważ funkcja <math>\log x</math> zmienia się bardzo wolno, to odcinki liczb naturalnych o&nbsp;tej samej długości położone w&nbsp;niewielkiej odległości od siebie będą zawierały podobne ilości liczb pierwszych. Przykładowo, dla dużych wartości <math>x</math>, ilość liczb pierwszych w&nbsp;przedziale <math>(x, 2 x)</math> jest tego samego rzędu, co ilość liczb pierwszych w&nbsp;przedziale <math>(1, x)</math><ref name="PrimesInInterval"/>.
+
Niech <math>n = q^{\alpha_1}_1 \cdot \ldots \cdot q^{\alpha_s}_s</math>, a <math>n' = q_1 \cdot \ldots \cdot q_s</math> oznacza liczbę, będącą iloczynem dokładnie '''tych samych''' czynników pierwszych, jakie występują w&nbsp;liczbie <math>n</math>, natomiast <math>n^{\!\ast} = p_1 \cdot \ldots \cdot p_s</math> oznacza liczbę, będącą iloczynem dokładnie '''tej samej ilości''' czynników pierwszych, przy czym <math>p_i</math> oznacza teraz <math>i</math>-tą liczbę pierwszą.
  
 +
Ponieważ
  
Zatem liczbę <math>\frac{1}{\log x}</math> możemy traktować jako prawdopodobieństwo trafienia na liczbę pierwszą wśród liczb znajdujących się w&nbsp;pobliżu liczby <math>x</math>. Zakładając, że liczby pierwsze są rozłożone przypadkowo, możemy wyliczyć prawdopodobieństwo tego, że <math>n</math> kolejnych liczb pierwszych, położonych w&nbsp;pobliżu liczby <math>x</math>, utworzy ciąg arytmetyczny
+
::<math>{\small\frac{\varphi (n)}{n}} = \prod_{p \mid n} \left( 1 - {\small\frac{1}{p}} \right)</math>
  
::<math>\text{prob}_{\text{cpap}} (n, x) = \left( \frac{1}{\log x} \right)^n \left( 1 - \frac{1}{\log x} \right)^{(n - 1) (d - 1)}</math>
+
to
  
gdzie <math>d = P (n)</math>. Jest tak, ponieważ w&nbsp;ciągu kolejnych liczb całkowitych musimy trafić na liczbę pierwszą, następnie na <math>d - 1</math> liczb złożonych, taka sytuacja musi się powtórzyć dokładnie <math>n - 1</math> razy, a&nbsp;na koniec znowu musimy trafić na liczbę pierwszą. Czyli potrzebujemy <math>n</math> liczb pierwszych, na które trafiamy z&nbsp;prawdopodobieństwem <math>\frac{1}{\log x}</math> oraz <math>(n - 1) (d - 1)</math> liczb złożonych, na które trafiamy z&nbsp;prawdopodobieństwem <math>1 - \frac{1}{\log x}</math>, a&nbsp;liczby te muszą pojawiać się w&nbsp;ściśle określonej kolejności.
+
::<math>{\small\frac{\varphi (n)}{n}} = {\small\frac{\varphi (n')}{n'}} \geqslant {\small\frac{\varphi (n^{\!\ast})}{n^{\!\ast}}} = \prod^s_{i = 1} \left( 1 - {\small\frac{1}{p_i}} \right) \geqslant \prod^{p_s}_{k = 2} \left( 1 - {\small\frac{1}{k}} \right) = {\small\frac{1}{p_s}}</math>
  
 +
Ostatnia równość wynika z&nbsp;prostego wzoru
  
Ilość ciągów arytmetycznych utworzonych przez <math>n</math> kolejnych liczb pierwszych należących do przedziału <math>(x, 2 x)</math> możemy zatem oszacować na równą około
+
::<math>\prod^m_{k = 2} \left( 1 - {\small\frac{1}{k}} \right) = {\small\frac{1}{2}} \cdot {\small\frac{2}{3}} \cdot {\small\frac{3}{4}} \cdot \ldots \cdot {\small\frac{m - 2}{m - 1}} \cdot {\small\frac{m - 1}{m}} = {\small\frac{1}{m}}</math>
  
::<math>Q_{\text{cpap}}(n, x) = x \cdot \left( \frac{1}{\log x} \right)^n \left( 1 - \frac{1}{\log x} \right)^{(n - 1) (d - 1)}</math>
 
  
 +
Musimy oszacować wartość liczby <math>p_s</math>. Z&nbsp;twierdzenia B31 wynika, że dla <math>m \geqslant 2</math> jest <math>P(m) \geqslant 2^{m / 2}</math>, gdzie funkcja <math>P(m)</math> jest równa iloczynowi wszystkich liczb pierwszych nie większych od <math>m</math>. Zatem dla <math>p_s \geqslant 2</math> jest
  
Porównując powyższe oszacowanie z&nbsp;rzeczywistą ilością <math>\# \text{CPAP}(n, x)</math> ciągów arytmetycznych kolejnych liczb pierwszych w&nbsp;przedziale <math>(x, 2x)</math> dostajemy
+
::<math>n^{\!\ast} = p_1 \cdot \ldots \cdot p_s = P (p_s) \geqslant 2^{p_s / 2}</math>
  
::<math>\frac{\# \text{CPAP}(n, x)}{Q_{\text{cpap}} (n, x)} = f (n, x)</math>
+
Logarytmując, otrzymujemy
  
gdzie w&nbsp;możliwym do zbadania zakresie, czyli dla <math>x < 2^{42} \approx 4.4 \cdot 10^{12}</math> mamy
+
::<math>p_s \leqslant {\small\frac{2 \log n^{\!\ast}}{\log 2}}</math>
  
::<math>f(n, x) \approx a_n \cdot \log x + b_n</math>
+
Ponieważ <math>n \geqslant n' \geqslant n^{\!\ast}</math>, to
  
Stałe <math>a_n</math> i <math>b_n</math> wyznaczamy metodą regresji liniowej. Musimy pamiętać, że uzyskanych w&nbsp;ten sposób wyników nie możemy ekstrapolować dla dowolnie dużych <math>x</math>.
+
::<math>{\small\frac{\varphi (n)}{n}} \geqslant {\small\frac{1}{p_s}} \geqslant {\small\frac{\log 2}{2 \log n^{\!\ast}}} \geqslant {\small\frac{\log 2}{2 \log n}} > {\small\frac{1}{3 \log n}}</math>
  
W przypadku <math>n = 5</math> oraz <math>n = 6</math> dysponowaliśmy zbyt małą liczbą danych, aby wyznaczyć stałe <math>a_n</math> i <math>b_n</math> z&nbsp;wystarczającą dokładnością. Dlatego w&nbsp;tych przypadkach ograniczyliśmy się do podania oszacowania funkcji <math>f(n, x)</math>.
+
Ostatecznie otrzymujemy
  
Uzyskany wyżej rezultaty są istotne, bo z&nbsp;wyliczonych postaci funkcji <math>f(n, x)</math> wynika, że są to funkcje bardzo wolno zmienne, a&nbsp;ich ekstrapolacja jest w&nbsp;pełni uprawniona.
+
::<math>\varphi (n) > {\small\frac{n}{3 \log n}}</math>
  
 +
Co należało pokazać.
  
W zamieszczonej niżej tabeli mamy kolejno
 
  
:* <math>n</math>, czyli długość CPAP
+
Rozwiązując drugą część zadania, wystarczy znaleźć, dla jakich <math>n</math> prawdziwa jest nierówność
:* wartość iloczynu <math>n \cdot P (n)</math>
 
:* znalezioną postać funkcji <math>f(n, x)</math> lub oszacowanie wartości tej funkcji <math>C_n</math> na podstawie uzyskanych danych; w&nbsp;przypadku <math>n = 7</math> jest to oszacowanie wynikające z&nbsp;obserwacji, że wartości funkcji <math>f(n, x)</math> są rzędu <math>n \cdot P (n)</math>
 
:* wyliczoną wartość <math>\frac{\# \text{CPAP}(n, 2^{40})}{Q_{\text{cpap}}(n, 2^{40})}</math>, czyli <math>f(n, 2^{40})</math>
 
:* wartość funkcji <math>f(n, 2^{70})</math> wynikające z&nbsp;ekstrapolacji wzoru <math>f(n, x) = a_n \cdot \log x + b_n \qquad</math> (dla <math>n = 3, 4</math>)
 
:* wartość <math>x</math> wynikającą z&nbsp;rozwiązania równania
 
::: <math>\qquad (a_n \cdot \log x + b_n) \cdot Q_{\text{cpap}} (n, x) = 1 \qquad</math> (dla <math>n = 3, 4</math>)
 
::: <math>\qquad C_n \cdot Q_{\text{cpap}} (n, x) = 1 \qquad</math> (dla <math>n = 5, 6, 7</math>)
 
:* dla porównania w&nbsp;kolejnych kolumnach zostały podane dwie najmniejsze wartości <math>p_0</math> dla CPAP-n
 
  
::{| class="wikitable plainlinks"  style="font-size: 100%; text-align: right; margin-right: auto;"
+
::<math>{\small\frac{n}{3 \log n}} > n^{2 / 3}</math>
|-
 
! <math>n</math> !! <math>n \cdot P(n)</math> !! <math>f (n, x) \quad \text{lub} \quad C_n</math> !! <math>f (n, 2^{40})</math> !! <math>f (n, 2^{70})</math> !! <math>\sim p_0</math> !! <math></math> !! <math></math>
 
|-
 
| <math>\quad 3 \quad</math> || <math>18</math> || <math>0.52 \cdot \log x + 6.3</math> || <math>20.94</math> || <math>30</math> || <math>130</math> || <math>47</math> || <math>151</math>
 
|-
 
| <math>\quad 4 \quad</math> || <math>24</math> || <math>0.53 \cdot \log x + 11.6</math> || <math>26.61</math> || <math>36</math> || <math>1.5 \cdot 10^3</math> || <math>251</math> || <math>1741</math>
 
|-
 
| <math>\quad 5 \quad</math> || <math>150</math> || <math>120</math> || <math>121.45</math> || <math></math> || <math>15 \cdot 10^6</math> || <math>9843019</math> || <math>37772429</math>
 
|-
 
| <math>\quad 6 \quad</math> || <math>180</math> || <math>235</math> || <math>228.27</math> || <math></math> || <math>540 \cdot 10^6</math> || <math>121174811</math> || <math>1128318991</math>
 
|-
 
| <math>\quad 7 \quad</math> || <math>1470</math> || <math>2500</math> || <math>0</math> || <math></math> || <math>2 \cdot 10^{20}</math> || <math></math> || <math></math>
 
|}
 
  
Zauważając, że funkcje <math>f(n, x)</math> są rzędu <math>n \cdot P (n)</math> i&nbsp;przyjmując, że podobnie będzie dla <math>f(7, x)</math>, możemy wyliczyć wartość <math>x</math>, dla której może pojawić się pierwszy CPAP-7. Wartość ta jest równa w&nbsp;przybliżeniu <math>2 \cdot 10^{20}</math> i&nbsp;wynika z&nbsp;rozwiązania równania
+
Przebieg funkcji <math>{\small\frac{n}{3 \log n}} \,</math> i <math>\, n^{2 / 3}</math> przedstawiliśmy na wykresie
  
::<math>f(7, x) \cdot Q_{\text{cpap}}(7, x) = 1</math>
+
::[[File: Euler1.png|1100px|none]]
  
Możemy ją łatwo wyliczyć w&nbsp;PARI/GP. Oczywiście funkcję <math>f(7, x)</math> zastąpiliśmy jej oszacowaniem <math>C_7 = 2500</math>
+
Punkt przecięcia tych funkcji znajdujemy, wpisując w&nbsp;PARI/GP polecenie
  
  <span style="font-size: 90%; color:black;">P(n) = '''prod'''(k = 2, n, '''if'''( '''isprime'''(k), k, 1 ))</span>
+
  <span style="font-size: 90%; color:black;">'''solve'''(n = 10, 10^5, n/(3*'''log'''(n)) - n^(2/3))</span>
  
<span style="font-size: 90%; color:black;">Q(x) = 2500 * x * ( 1/'''log'''(x) )^7 * ( 1 - 1/'''log'''(x) )^( (7 - 1)*(P(7) - 1) )</span>
+
Otrzymujemy
  
<span style="font-size: 90%; color:black;">'''solve'''(x = 10^10, 10^23, Q(x) - 1 )</span>
+
::<math>n = 29409.965</math>
&#9633;
 
{{\Spoiler}}
 
  
 +
Zatem <math>{\small\frac{n}{3 \log n}} > n^{2 / 3}</math> dla <math>n > 2.95 \cdot 10^4</math>.
  
 +
Poleceniem
  
 +
<span style="font-size: 90%; color:black;">'''for'''(n = 1, 3*10^4, '''if'''( '''eulerphi'''(n) <= n^(2/3), '''print'''(n) ))</span>
  
 +
sprawdzamy, że oszacowanie <math>\varphi (n) > n^{2 / 3}</math> jest prawdziwe dla <math>n \geqslant 43</math>.
  
== Uzupełnienie ==
 
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C73 (lemat Bézouta)</span><br/>
+
Postępując analogicznie jak wyżej, znajdujemy, dla jakich <math>n</math> prawdziwa jest nierówność
Jeżeli liczby całkowite <math>a</math> i <math>b</math> nie są jednocześnie równe zeru, a&nbsp;największy wspólny dzielnik tych liczb jest równy <math>D</math>, to istnieją takie liczby całkowite <math>x, y</math>, że
 
  
::<math>a x + b y = D</math>
+
::<math>{\small\frac{n}{3 \log n}} > n^{3 / 4}</math>
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
Wpisując w&nbsp;PARI/GP polecenie
Niech <math>S</math> będzie zbiorem wszystkich liczb całkowitych dodatnich postaci <math>a n + b m</math>, gdzie <math>n, m</math> są dowolnymi liczbami całkowitymi. Zbiór <math>S</math> nie jest zbiorem pustym, bo przykładowo liczba <math>a^2 + b^2 \in S</math>. Z&nbsp;zasady dobrego uporządkowania liczb naturalnych wynika, że zbiór <math>S</math> ma element najmniejszy, oznaczmy go literą <math>d</math>.
 
  
Pokażemy, że <math>d \mid a</math> i <math>d \mid b</math>. Z&nbsp;twierdzenia o&nbsp;dzieleniu z&nbsp;resztą możemy napisać <math>a = k d + r</math>, gdzie <math>0 \leqslant r < d</math>.
+
<span style="font-size: 90%; color:black;">'''solve'''(n = 10, 10^7, n/(3*'''log'''(n)) - n^(3/4))</span>
  
Przypuśćmy, że <math>d \nmid a</math>, czyli że <math>r > 0</math>. Ponieważ <math>d \in S</math>, to mamy <math>d = a u + b v</math> dla pewnych liczb całkowitych <math>u</math> i <math>v</math>. Zatem
+
otrzymujemy
  
::<math>r = a - k d =</math>
+
::<math>n = 4447862.680</math>
  
::<math>\;\;\, = a - k (a u + b v) =</math>
+
Zatem <math>{\small\frac{n}{3 \log n}} > n^{3 / 4}</math> dla <math>n > 4.45 \cdot 10^6</math>
  
::<math>\;\;\, = a \cdot (1 - k u) + b \cdot (- k v)</math>
+
Poleceniem
  
Wynika stąd, że dodatnia liczba <math>r</math> należy do zbioru <math>S</math> oraz <math>r < d</math>, wbrew określeniu liczby <math>d</math>, czyli musi być <math>r = 0</math> i <math>d \mid a</math>. Podobnie pokazujemy, że <math>d \mid b</math>.
+
<span style="font-size: 90%; color:black;">'''for'''(n = 1, 5*10^6, '''if'''( '''eulerphi'''(n) <= n^(3/4), '''print'''(n) ))</span>
  
Jeżeli <math>d'</math> jest innym dzielnikiem liczb <math>a</math> i <math>b</math>, to <math>d' \mid d</math>, bo <math>d' \mid (a u + b v)</math>. Zatem <math>d' \leqslant d</math>, skąd wynika natychmiast, że liczba <math>d</math> jest największym z&nbsp;dzielników, które jednocześnie dzielą liczby <math>a</math> oraz <math>b</math>.
+
sprawdzamy, że oszacowanie <math>\varphi (n) > n^{3 / 4}</math> jest prawdziwe dla <math>n \geqslant 211</math>. Co należało pokazać.<br/>
Czyli <math>d = D</math>.<br/>
 
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 3020: Linia 1274:
  
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C74 (lemat Euklidesa)</span><br/>
+
<span id="H43" style="font-size: 110%; font-weight: bold;">Twierdzenie H43</span><br/>
Niech <math>p</math> będzie liczbą pierwszą oraz <math>a, b, d \in \mathbb{Z}</math>.
+
Niech <math>n \in \mathbb{Z}_+</math>. Liczba <math>n</math> jest liczbą pierwszą wtedy i&nbsp;tylko wtedy, gdy <math>\varphi (n) = n - 1</math>.
  
:* jeżeli <math>d \mid a b</math> i liczba <math>d</math> jest względnie pierwsza z <math>a</math>, to <math>d \mid b</math>
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 +
Dla liczb złożonych <math>n \geqslant 4</math> nigdy nie będzie <math>\varphi (n) = n - 1</math>, bo
  
:* jeżeli <math>p \mid a b</math>, to <math>p \mid a</math> lub <math>p \mid b</math>
+
::<math>\varphi (n) \leqslant n - \sqrt{n} \leqslant n - 2</math>
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
Dla <math>n = 1, 2, 3</math> sprawdzamy bezpośrednio: <math>\varphi (1) = 1 \neq 1 - 1</math>, <math>\varphi (2) = 1 = 2 - 1</math>, <math>\varphi (3) = 2 = 3 - 1</math>. Co kończy dowód.<br/>
 +
&#9633;
 +
{{\Spoiler}}
  
'''Punkt 1.'''
 
  
Z założenia liczby <math>d</math> i <math>a</math> są względnie pierwsze, zatem na mocy lematu Bézouta (twierdzenie C73) istnieją takie liczby całkowite <math>x</math> i <math>y</math>, że
 
  
::<math>d x + a y = 1</math>
+
<span id="H44" style="font-size: 110%; font-weight: bold;">Twierdzenie H44</span><br/>
 +
Dla dowolnej liczby całkowitej dodatniej <math>n</math> jest
  
Mnożąc obie strony równania przez <math>b</math>, dostajemy
+
::<math>n = \sum_{d \mid n} \varphi (d) = \sum_{d \mid n} \varphi \left( {\small\frac{n}{d}} \right)</math>
  
::<math>d b x + a b y = b</math>
+
gdzie sumowanie przebiega po wszystkich dzielnikach dodatnich liczby <math>n</math>.
  
Obydwa wyrazy po lewej stronie są podzielne przez <math>d</math>, bo z założenia <math>d \mid a b</math>. Zatem prawa strona również jest podzielna przez <math>d</math>, czyli <math>d \mid b</math>. Co kończy dowód punktu pierwszego.
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
 
+
Ponieważ <math>\varphi (n)</math> jest funkcją multiplikatywną, to funkcja
'''Punkt 2.'''
 
  
Jeżeli <math>p \nmid a</math>, to <math>\gcd (p, a) = 1</math>, zatem z punktu pierwszego wynika, że <math>p \mid b</math>.
+
::<math>F(n) = \sum_{d \mid n} \varphi (d)</math>
  
Jeżeli <math>p \nmid b</math>, to <math>\gcd (p, b) = 1</math>, zatem z punktu pierwszego wynika, że <math>p \mid a</math>.
+
też jest funkcją multiplikatywną (zobacz [[#H31|H31]]). Łatwo sprawdzamy, że twierdzenie jest prawdziwe dla <math>n = 1</math>. Niech <math>n > 1</math>. Jeżeli <math>n =
 +
p^{\alpha}</math> jest potęgą liczby pierwszej, to otrzymujemy
  
Czyli <math>p</math> musi dzielić przynajmniej jedną z liczb <math>a, b</math>. Co należało pokazać.<br/>
+
::<math>F (p^{\alpha}) = \sum_{d \mid p^{\alpha}} \varphi (d)</math>
&#9633;
 
{{\Spoiler}}
 
  
 +
::::<math>= \varphi (1) + \varphi (p) + \varphi (p^2) + \ldots + \varphi (p^{\alpha}) =</math>
  
 +
::::<math>= 1 + (p - 1) + p (p - 1) + \ldots + p^{\alpha - 1} (p - 1) =</math>
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C75</span><br/>
+
::::<math>= 1 + (p - 1) + (p^2 - p) + \ldots + (p^{\alpha} - p^{\alpha - 1})</math>
Niech <math>a, b, m \in \mathbb{Z}</math>. Jeżeli <math>a \mid m \;</math> i <math>\; b \mid m</math> oraz <math>\gcd (a, b) = 1</math>, to <math>a b \mid m</math>.
 
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
::::<math>= p^{\alpha}</math>
  
Z założenia istnieją takie liczby <math>r, s, x, y \in \mathbb{Z}</math>, że <math>m = a r</math> i <math>m = b s</math> oraz
+
Jeżeli <math>n</math> jest postaci <math>n = p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s</math>, to
  
::<math>a x + b y = 1</math>
+
::<math>F(n) = F (p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s) =</math>
  
(zobacz C73). Zatem
+
:::<math>\;\;\;\, = F (p^{\alpha_1}_1) \cdot \ldots \cdot F (p^{\alpha_s}_s) =</math>
  
::<math>m = m (a x + b y)</math>
+
:::<math>\;\;\;\, = p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s</math>
  
::<math>\quad \, = m a x + m b y </math>
+
:::<math>\;\;\;\, = n</math>
  
::<math>\quad \, = b s a x + a r b y</math>
+
Niech <math>1 < d_1 < d_2 < \ldots < n</math> będą dzielnikami liczby <math>n</math>. Zauważmy, że kiedy <math>d</math> przebiega zbiór dzielników <math>\{ 1, d_1, d_2, \ldots, n \}</math>, to <math>e = {\small\frac{n}{d}}</math> przebiega wszystkie te liczby tylko w&nbsp;odwrotnej kolejności. Zatem
  
::<math>\quad \, = a b (s x + r y)</math>
+
::<math>\sum_{d \mid n} \varphi (d) = \sum_{d \mid n} \varphi \left( {\small\frac{n}{d}} \right)</math>
  
Czyli <math>a b \mid m</math>. Co należało pokazać.<br/>
+
Co należało pokazać.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 3078: Linia 1333:
  
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C76</span><br/>
+
<span id="H45" style="font-size: 110%; font-weight: bold;">Zadanie H45</span><br/>
Niech <math>a, b, c \in \mathbb{Z}</math>. Równanie <math>a x + b y = c</math> ma rozwiązanie wtedy i&nbsp;tylko wtedy, gdy największy wspólny dzielnik liczb <math>a</math> i <math>b</math> jest dzielnikiem liczby <math>c</math>.
+
Niech <math>n \geqslant 2</math>. Pokazać, że suma liczb całkowitych dodatnich nie większych od <math>n</math> i&nbsp;względnie pierwszych z <math>n</math> jest równa <math>{\small\frac{1}{2}} n \varphi (n)</math>.
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
Niech <math>D</math> oznacza największy wspólny dzielnik liczb <math>a</math> i <math>b</math>.
+
Łatwo sprawdzamy, że wzór jest prawdziwy dla <math>n = 2</math> i&nbsp;odtąd będziemy przyjmowali, że <math>n \geqslant 3</math>. Zatem wartości <math>\varphi (n)</math> są liczbami parzystymi i&nbsp;niech <math>c = {\small\frac{1}{2}} \varphi (n)</math>. Zauważmy, że jeżeli liczba <math>a</math> jest względnie pierwsza z <math>n</math>, to liczba <math>n - a</math> jest również względnie pierwsza z <math>n</math>, bo <math>\gcd (a, n) = \gcd (n - a, n)</math>. Wypiszmy wszystkie liczby całkowite dodatnie nie większe od <math>n</math> i&nbsp;względnie pierwsze z <math>n</math> w&nbsp;kolejności rosnącej, a&nbsp;pod spodem w&nbsp;kolejności malejącej
  
<math>\Longrightarrow</math>
+
::{| class="wikitable plainlinks"  style="font-size: 90%; text-align: center; margin-right: auto;"
 +
|-
 +
| <math>1</math> || <math>a_2</math> || <math>…</math> || <math>a_c</math> || <math>n - a_c</math> || <math>…</math> || <math>n - a_2</math> || <math>n - 1</math>
 +
|-
 +
| <math>n - 1</math> || <math>n - a_2</math> || <math>…</math> || <math>n - a_c</math> || <math>a_c</math> || <math>…</math> || <math>a_2</math> || <math>1</math>
 +
|}
  
Jeżeli liczby całkowite <math>x_0</math> i <math>y_0</math> są rozwiązaniem rozpatrywanego równania, to
+
Suma liczb w&nbsp;każdej kolumnie jest równa <math>n</math>. Ponieważ ilość liczb względnie pierwszych z <math>n</math> jest równa <math>\varphi (n)</math>, to podwojona suma liczb całkowitych nie większych od <math>n</math> i&nbsp;pierwszych względem <math>n</math> wynosi <math>n \varphi (n)</math>. Co należało pokazać.<br/>
 +
&#9633;
 +
{{\Spoiler}}
  
::<math>a x_0 + b y_0 = c</math>
 
  
Ponieważ <math>D</math> dzieli lewą stronę równania, to musi również dzielić prawą, zatem musi być <math>D \mid c</math>.
 
  
<math>\Longleftarrow</math>
+
<span id="H46" style="font-size: 110%; font-weight: bold;">Zadanie H46</span><br/>
 +
Pokazać, że dla liczb naturalnych nieparzystych <math>n \geqslant 5</math> prawdziwe jest oszacowanie <math>\varphi (n) > \pi (n)</math>.
  
Jeżeli <math>D \mid c</math>, to możemy napisać <math>c = k D</math> i&nbsp;równanie przyjmuje postać
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
 +
'''1.''' Jeżeli <math>n \geqslant 5</math> jest liczbą pierwszą, to liczbami pierwszymi względem <math>n</math> są wszystkie liczby pierwsze mniejsze od <math>n</math> oraz liczby <math>1, 4</math>. Zatem
  
::<math>a x + b y = k D</math>
+
::<math>\varphi (n) \geqslant \pi (n) - 1 + 2 > \pi (n)</math>.
  
Lemat Bézouta (twierdzenie C73) zapewnia istnienie liczb całkowitych <math>x_0</math> i <math>y_0</math> takich, że
+
'''2.''' Jeżeli <math>n = p^a</math>, gdzie <math>a \geqslant 2</math>, jest potęgą liczby pierwszej nieparzystej, to <math>n \geqslant 9</math> i&nbsp;liczbami pierwszymi względem <math>n</math> są wszystkie liczby pierwsze nie większe od <math>n</math> (oprócz liczby <math>p</math>) oraz liczby <math>1, 4, 8</math>. Zatem
  
::<math>a x_0 + b y_0 = D</math>
+
::<math>\varphi (n) \geqslant \pi (n) - 1 + 3 > \pi (n)</math>.
  
Czyli z&nbsp;lematu Bézouta wynika, że równanie <math>a x + b y = D</math> ma rozwiązanie w&nbsp;liczbach całkowitych. Przekształcając, dostajemy
+
'''3.''' Jeżeli <math>n</math> ma więcej niż jeden dzielnik pierwszy nieparzysty, to <math>n = q^{\alpha_1}_1 \cdot \ldots \cdot q^{\alpha_s}_s</math>, gdzie <math>s \geqslant 2</math>. Zauważmy, że
  
::<math>a(k x_0) + b (k y_0) = k D</math>
+
::<math>n = q^{\alpha_1}_1 \cdot \ldots \cdot q^{\alpha_s}_s \geqslant q_1 \cdot \ldots \cdot q_s \geqslant 3 \cdot 5^{s - 1} > 2^{2 s - 1}</math>
  
Zatem liczby <math>k x_0</math> i <math>k y_0</math> są rozwiązaniem równania
+
Liczbami pierwszymi względem <math>n</math> są wszystkie liczby pierwsze nie większe od <math>n</math> (oprócz liczb <math>q_1, \ldots, q_s</math>) oraz liczby <math>1, 2^2, 2^3, \ldots, 2^{2 s - 1}</math>. Zatem
  
::<math>a x + b y = k D</math>
+
::<math>\varphi (n) \geqslant \pi (n) - s + 2 s - 1 = \pi (n) + s - 1 > \pi (n)</math>
  
Co oznacza, że równianie <math>a x + b y = c</math> ma rozwiązanie.<br/>
+
Co należało pokazać.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 3116: Linia 1378:
  
  
<span style="font-size: 110%; font-weight: bold;">Uwaga C77</span><br/>
+
<span id="H47" style="font-size: 110%; font-weight: bold;">Zadanie H47</span><br/>
Z twierdzenia C76 wynika, że szukając rozwiązań równania <math>A x + B y = C</math> w&nbsp;liczbach całkowitych, powinniśmy
+
Pokazać, że dla liczb naturalnych <math>n \geqslant 91</math> prawdziwe jest oszacowanie <math>\varphi (n) > \pi (n)</math>.
  
:* obliczyć największy wspólny dzielnik <math>D</math> liczb <math>A</math> i <math>B</math>
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
:* jeżeli <math>D > 1</math>, należy sprawdzić, czy <math>D \mid C</math>
+
Ponieważ <math>p_{2 s} > 1</math> i <math>p_{2 s} \geqslant p_{s + 1}</math>, to z&nbsp;zadania A40 natychmiast wynika nierówność
:* jeżeli <math>D \nmid C</math>, to równanie <math>A x + B y = C</math> nie ma rozwiązań w&nbsp;liczbach całkowitych
 
:* jeżeli <math>D \mid C</math>, należy podzielić obie strony równania <math>A x + B y = C</math> przez <math>D</math> i&nbsp;przejść do rozwiązywania równania równoważnego <math>a x + b y = c</math>, gdzie <math>a = \frac{A}{D}</math>, <math>b = \frac{B}{D}</math>, <math>c = \frac{C}{D}</math>, zaś największy wspólny dzielnik liczb <math>a</math> i <math>b</math> jest równy <math>1</math>.
 
  
 +
::<math>p_1 p_2 \cdot \ldots \cdot p_s > p_{s + 1} p_{2 s}</math>
  
 +
która jest prawdziwa dla <math>n \geqslant 4</math>.
  
<span style="font-size: 110%; font-weight: bold;">Twierdzenie C78</span><br/>
+
Pokażemy najpierw, że dla każdej liczby naturalnej mającej nie mniej niż cztery dzielniki pierwsze nierówność <math>\varphi (n) > \pi (n)</math> jest zawsze prawdziwa.
Niech <math>a, b, c \in \mathbb{Z}</math>. Jeżeli liczby <math>a</math> i <math>b</math> są względnie pierwsze, to równanie
 
  
::<math>a x + b y = c</math>
+
Przez <math>p_1, p_2, \ldots, p_k, \ldots</math> oznaczymy kolejne liczby pierwsze. Niech <math>n \geqslant 2</math> będzie liczbą naturalną i <math>n = q^{\alpha_1}_1 \cdot \ldots \cdot q^{\alpha_s}_s</math>, gdzie <math>q_i</math> oznaczają dowolne (nie muszą być kolejne) liczby pierwsze.
  
ma nieskończenie wiele rozwiązań w&nbsp;liczbach całkowitych.
+
Wśród kolejnych <math>2 s</math> liczb pierwszych znajduje się przynajmniej <math>s</math> liczb pierwszych '''różnych''' od każdej z&nbsp;liczb <math>q_1, \ldots, q_s</math>. Jeśli oznaczymy te liczby (w rosnącej kolejności) przez <math>r_1, \ldots, r_s</math>, to łatwo zauważymy, że prawdziwe są dla nich następujące oszacowania
  
Jeżeli para liczb całkowitych <math>(x_0, y_0)</math> jest jednym z&nbsp;tych rozwiązań, to wszystkie pozostałe rozwiązania całkowite można otrzymać ze wzorów
+
:*&nbsp;&nbsp;&nbsp;dla najmniejszej liczby <math>r_1 \leqslant p_{s + 1}</math>
  
::<math>x = x_0 + b t</math>
+
:*&nbsp;&nbsp;&nbsp;dla wszystkich liczb <math>r_j \leqslant p_{2 s}</math> dla <math>j = 1, \ldots, s</math>.
::<math>y = y_0 - a t</math>
 
  
gdzie <math>t</math> jest dowolną liczbą całkowitą.
+
Korzystając z&nbsp;wypisanej na początku dowodu nierówności, dla <math>s \geqslant 4</math> mamy
  
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Dowód|Hide=Ukryj dowód}}
+
::<math>n = q^{\alpha_1}_1 \cdot \ldots \cdot q^{\alpha_s}_s \geqslant q_1 \cdot \ldots \cdot q_s \geqslant p_1 \cdot \ldots \cdot p_s > p_{s + 1} p_{2 s} \geqslant r_1 \cdot r_j</math>
Z założenia liczby <math>a</math> i <math>b</math> są względnie pierwsze, zatem największy wspólny dzielnik tych liczb jest równy <math>1</math> i&nbsp;dzieli liczbę <math>c</math>. Na mocy twierdzenia C76 równanie
 
 
 
::<math>a x + b y = c</math>
 
 
 
ma rozwiązanie w&nbsp;liczbach całkowitych.
 
 
 
Zauważmy, że jeżeli para liczb całkowitych <math>(x_0, y_0)</math> jest rozwiązaniem równania <math>a x + b y = c</math>, to para liczb <math>(x_0 + b t, y_0 - a t)</math> również
 
jest rozwiązaniem. Istotnie
 
  
::<math>a(x_0 + b t) + b (y_0 - a t) = a x_0 + a b t + b y_0 - b a t =</math>
+
gdzie <math>j = 1, \ldots, s</math>.
  
:::::::::<math>\, = a x_0 + b y_0 =</math>
+
Wynika stąd, że jeśli <math>s \geqslant 4</math>, to liczbami pierwszymi względem <math>n</math> są wszystkie liczby pierwsze nie większe od <math>n</math> (oprócz liczb pierwszych <math>q_1, \ldots, q_s</math>) oraz liczby <math>1</math> i <math>r_1 r_j</math>, gdzie <math>j = 1, \ldots, s</math>. Zatem
  
:::::::::<math>\, = c</math>
+
::<math>\varphi (n) \geqslant \pi (n) - s + s + 1> \pi (n)</math>
  
Pokażmy teraz, że nie istnieją inne rozwiązania niż określone wzorami
+
Co mieliśmy pokazać.
  
::<math>x = x_0 + b t</math>
 
::<math>y = y_0 - a t</math>
 
  
gdzie <math>t</math> jest dowolną liczbą całkowitą.
+
Uwzględniając rezultat pokazany w&nbsp;zadaniu [[#H46|H46]], pozostaje sprawdzić przypadki gdy <math>n = 2^a</math>, <math>n = 2^a p^b</math>, <math>n = 2^a p^b q^c</math>, gdzie <math>a, b, c \in \mathbb{Z}_+</math>.
  
Przypuśćmy, że pary liczb całkowitych <math>(x, y)</math> oraz <math>(x_0, y_0)</math> są rozwiązaniami rozpatrywanego równania, zatem
+
'''1.''' Niech <math>n = 2^a</math>. Jeśli <math>n \geqslant 16</math>, to liczbami pierwszymi względem <math>n</math> są wszystkie liczby pierwsze nie większe od <math>n</math> (oprócz liczby <math>2</math>) oraz liczby <math>1, 9, 15</math>. Zatem
  
::<math>a x + b y = c = a x_0 + b y_0</math>
+
::<math>\varphi (n) \geqslant \pi (n) - 1 + 3 > \pi (n)</math>
  
Wynika stąd, że musi być spełniony warunek
+
'''2.''' Niech <math>n = 2^a p^b</math>, zaś <math>r</math> będzie najmniejszą liczbą pierwszą nieparzystą różną od <math>p</math>. Oczywiście <math>r \in \{ 3, 5 \}</math> i&nbsp;jeśli tylko <math>n > 5^3 = 125</math>, to liczbami pierwszymi względem <math>n</math> są wszystkie liczby pierwsze nie większe od <math>n</math> (oprócz liczb pierwszych <math>2</math> i <math>p</math>) oraz liczby <math>1, r^2, r^3</math>. Zatem
  
::<math>a (x - x_0) = b (y_0 - y)</math>
+
::<math>\varphi (n) \geqslant \pi (n) - 2 + 3 > \pi (n)</math>
  
Ponieważ liczby <math>a \,</math> i <math>\, b</math> są względnie pierwsze, to na mocy lematu Euklidesa (twierdzenie C74) <math>b \mid (x - x_0)</math>. Skąd mamy
+
'''3.''' Niech <math>n = 2^a p^b q^c</math>, zaś <math>r</math> będzie najmniejszą liczbą pierwszą nieparzystą różną od <math>p</math> oraz różną od <math>q</math>. Oczywiście <math>r \in \{ 3, 5, 7 \}</math> i&nbsp;jeśli <math>n > 7^4 = 2401</math>, to liczbami pierwszymi względem <math>n</math> są wszystkie liczby pierwsze nie większe od <math>n</math> (oprócz liczb pierwszych <math>2</math>, <math>p</math> i <math>q</math>) oraz liczby <math>1, r^2, r^3, r^4</math>. Zatem
  
::<math>x - x_0 = b t</math>
+
::<math>\varphi (n) \geqslant \pi (n) - 3 + 4 > \pi (n)</math>
  
gdzie <math>t</math> jest dowolną liczbą całkowitą. Po podstawieniu dostajemy natychmiast
+
Zbierając: pozostaje sprawdzić bezpośrednio przypadki, gdy <math>n</math> jest liczbą parzystą i <math>n \leqslant 2401</math>. W&nbsp;GP/PARI wystarczy napisać polecenie
  
::<math>y - y_0 = - a t</math>
+
<span style="font-size: 90%; color:black;">for(n = 1, 2500, if( eulerphi(n) <= primepi(n), print(n) ))</span>
  
Co kończy dowód.<br/>
+
Nierówność <math>\varphi (n) > \pi (n)</math> nie jest prawdziwa dla <math>n \in \{ 2, 3, 4, 6, 8, 10, 12, 14, 18, 20, 24, 30, 42, 60, 90 \}</math>. Co kończy dowód.<br/>
 
&#9633;
 
&#9633;
 
{{\Spoiler}}
 
{{\Spoiler}}
Linia 3185: Linia 1435:
  
  
<span style="font-size: 110%; font-weight: bold;">Przykład C79</span><br/>
+
<span id="H48" style="font-size: 110%; font-weight: bold;">Zadanie H48</span><br/>
Rozwiązania równania
+
Pokazać, że <math>\varphi (n) = 2^a</math> wtedy i&nbsp;tylko wtedy, gdy <math>n = 2^b q_1 \cdot \ldots \cdot q_s</math>, gdzie <math>q_1, \ldots, q_s</math> są liczbami pierwszymi Fermata: <math>3, 5, 17, 257, 65537</math>.
  
::<math>a x + b y = c</math>
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
 +
W przypadku, gdy <math>2 \mid n</math>, łatwo zauważamy, że liczba <math>2</math> może występować w&nbsp;dowolnej potędze, bo <math>\varphi (2^b) = 2^{b - 1}</math>.
  
gdzie <math>\gcd (a, b) = 1</math>, które omówiliśmy w poprzednim twierdzeniu, najłatwiej znaleźć korzystając w PARI/GP z funkcji <code>gcdext(a, b)</code>. Funkcja ta zwraca wektor liczb <code>[x<sub>0</sub>, y<sub>0</sub>, d]</code>, gdzie <math>d = \gcd (a, b)</math>, a liczby <math>x_0</math> i <math>y_0</math> są rozwiązaniami równania
+
W przypadku, gdy <math>p \mid n</math>, gdzie <math>p</math> jest liczbą pierwszą nieparzystą, mamy <math>\varphi (p^k) = (p - 1) p^{k - 1}</math> i&nbsp;równie łatwo zauważmy, że musi być <math>k = 1</math>, a&nbsp;liczba <math>p - 1</math> musi być potęgą liczby <math>2</math>. Zatem liczba pierwsza <math>p</math> musi być postaci <math>p = 2^t + 1</math>, co jest możliwe tylko wtedy, gdy <math>t</math> jest potęgą liczby <math>2</math> (zobacz C48), czyli <math>p</math> musi być liczbą pierwszą Fermata. Co należało pokazać.<br/>
 +
&#9633;
 +
{{\Spoiler}}
  
::<math>a x_0 + b y_0 = \gcd (a, b)</math>
 
  
Ponieważ założyliśmy, że <math>\gcd (a, b) = 1</math>, to łatwo zauważmy, że
 
  
::<math>a(c x_0) + b (c y_0) = c</math>
+
<span style="font-size: 110%; font-weight: bold;">Zadanie H49</span><br/>
 +
Pokazać, że funkcja Eulera spełnia warunek <math>\varphi (n) = \frac{n}{2}</math> wtedy i tylko wtedy, gdy <math>n = 2^k</math>.
  
Zatem para liczb całkowitych <math>(c x_0, c y_0)</math> jest jednym z rozwiązań równania
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
 +
Zauważmy, że <math>n</math> musi być liczbą parzystą, zatem <math>n = 2^k m</math>, gdzie <math>m</math> jest liczbą nieparzystą. Otrzymujemy
  
::<math>a x + b y = c</math>
+
::<math>\varphi (n) = \varphi (2^k m) = \varphi (2^k) \varphi (m) = 2^{k - 1} \varphi (m) = \frac{2^k m}{2} \cdot \frac{\varphi (m)}{m} = \frac{n}{2} \cdot \frac{\varphi (m)}{m}</math>
  
i wszystkie pozostałe rozwiązania uzyskujemy ze wzorów
+
ale <math>\frac{\varphi (m)}{m} = 1</math> wtedy i tylko wtedy, gdy <math>m = 1</math>. Co należało pokazać.<br/>
 +
&#9633;
 +
{{\Spoiler}}
  
::<math>x = c x_0 + b t</math>
 
  
::<math>y = c y_0 - a t</math>
 
  
Niech <math>a = 7 \;</math> i <math>\; b = 17</math>. Funkcja <code>gcdext(7,17)</code> zwraca wektor <code>[5, -2, 1]</code>, zatem rozwiązaniami równania <math>7 x + 17 y = 1</math> są liczby
+
<span style="font-size: 110%; font-weight: bold;">Zadanie H50</span><br/>
 +
Pokazać, że funkcja Eulera spełnia warunek <math>\varphi (n) = \frac{n}{2} - 1</math> wtedy i tylko wtedy, gdy <math>n = 2 q</math>, gdzie <math>q \geqslant 3</math> jest liczbą pierwszą.
  
::<math>x = 5 + 17 t</math>
+
{{Spoiler|Style = font-style: italic; font-weight: bold; color: olive; text-decoration: underline;|Show=Rozwiązanie|Hide=Ukryj rozwiązanie}}
 +
Oczywiście <math>n</math> musi być liczbą parzystą, zatem <math>n = 2^k m</math>, gdzie <math>m</math> jest liczbą nieparzystą. Możemy teraz zapisać warunek <math>\varphi (n) = \frac{n}{2} - 1</math> w postaci
  
::<math>y = - 2 - 7 t</math>
+
::<math>\varphi (n) = \varphi (2^k m) = \varphi (2^k) \varphi (m) = 2^{k - 1} \varphi (m) = 2^{k - 1} m - 1</math>
  
A rozwiązaniami równania <math>7 x + 17 y = 10</math> są liczby
+
Ponieważ <math>\varphi (n)</math> dla <math>n \geqslant 3</math> jest liczbą parzystą (zobacz H38), to nie może być <math>k \geqslant 2</math>, bo strony równania miałyby różną parzystość. Zatem musi być <math>n = 2 m</math>, gdzie <math>m</math> jest liczbą nieparzystą
  
::<math>x = 50 + 17 t</math>
+
::<math>\varphi (n) = \varphi (2 m) = \varphi (2) \varphi (m) = \varphi (m) = m - 1</math>
  
::<math>y = - 20 - 7 t</math>
+
Z twierdzenia H43 wynika natychmiast, że <math>m</math> musi być liczbą pierwszą. Ponieważ najmniejszymi liczbami, dla których warunek <math>\varphi (n) = \frac{n}{2} - 1</math> jest spełniony są <math>n = 6, 10, 14, \ldots</math>, to musi być <math>m \geqslant 3</math>. Co należało pokazać.<br/>
 +
&#9633;
 +
{{\Spoiler}}
  
  
Linia 3234: Linia 1491:
  
 
== Przypisy ==
 
== Przypisy ==
 +
 
<references>
 
<references>
  
<ref name="WellOrdering">Korzystamy w&nbsp;tym momencie z&nbsp;zasady dobrego uporządkowania zbioru liczb naturalnych, która stwierdza, że każdy niepusty podzbiór zbioru liczb naturalnych zawiera element najmniejszy. ([https://pl.wikipedia.org/wiki/Zasada_dobrego_uporz%C4%85dkowania Wiki-pl]), ([https://en.wikipedia.org/wiki/Well-ordering_principle Wiki-en])</ref>
+
<ref name="GCD1">Wikipedia, ''Największy wspólny dzielnik'', ([https://pl.wikipedia.org/wiki/Najwi%C4%99kszy_wsp%C3%B3lny_dzielnik Wiki-pl]), ([https://en.wikipedia.org/wiki/Greatest_common_divisor Wiki-en])</ref>
  
<ref name="LiczbaJestPostaci">Określenie, że „liczba <math>n</math> jest postaci <math>a k + b</math>”, jest jedynie bardziej czytelnym (obrazowym) zapisem stwierdzenia, że reszta z&nbsp;dzielenia liczby <math>n</math> przez <math>a</math> wynosi <math>b</math>. Zapis „liczba <math>n</math> jest postaci <math>a k - 1</math>” oznacza, że reszta z&nbsp;dzielenia liczby <math>n</math> przez <math>a</math> wynosi <math>a - 1</math>.</ref>
+
<ref name="cardinality1">Wikipedia, ''Moc zbioru'', ([https://pl.wikipedia.org/wiki/Moc_zbioru Wiki-pl]), ([https://en.wikipedia.org/wiki/Cardinality Wiki-en])</ref>
  
<ref name="Linnik1">Wikipedia, ''Linnik's theorem'', ([https://en.wikipedia.org/wiki/Linnik%27s_theorem Wiki-en])</ref>
+
<ref name="sumazbiorow">Wikipedia, ''Zasada włączeń i&nbsp;wyłączeń'', ([https://pl.wikipedia.org/wiki/Zasada_w%C5%82%C4%85cze%C5%84_i_wy%C5%82%C4%85cze%C5%84 Wiki-pl]), ([https://en.wikipedia.org/wiki/Inclusion%E2%80%93exclusion_principle Wiki-en])</ref>
  
<ref name="Linnik2">MathWorld, ''Linnik's Theorem''. ([https://mathworld.wolfram.com/LinniksTheorem.html MathWorld])</ref>
+
<ref name="Euler1">Wikipedia, ''Funkcja φ'', ([https://pl.wikipedia.org/wiki/Funkcja_%CF%86 Wiki-pl]), ([https://en.wikipedia.org/wiki/Euler%27s_totient_function Wiki-en])</ref>
 
 
<ref name="Linnik3">Yuri Linnik, ''On the least prime in an arithmetic progression. I. The basic theorem'', Mat. Sb. (N.S.) 15 (1944) 139–178.</ref>
 
 
 
<ref name="Linnik4">Yuri Linnik, ''On the least prime in an arithmetic progression. II. The Deuring-Heilbronn phenomenon'', Mat. Sb. (N.S.) 15 (1944) 347–368.</ref>
 
 
 
<ref name="Xylouris1">Triantafyllos Xylouris, ''Über die Nullstellen der Dirichletschen L-Funktionen und die kleinste Primzahl in einer arithmetischen Progression'', Bonner Mathematische Schriften, vol. 404, Univ. Bonn, 2011, Diss.</ref>
 
 
 
<ref name="Bombieri1">Enrico Bombieri, John B. Friedlander and Henryk Iwaniec, ''Primes in Arithmetic Progressions to Large Moduli. III'', Journal of the American Mathematical Society 2 (1989) 215-224</ref>
 
 
 
<ref name="Turan1">Paul Turán, ''Über die Primzahlen der arithmetischen Progression'', Acta Sci. Szeged 8 (1937), 226-235</ref>
 
 
 
<ref name="Wagstaff1">Samuel S. Wagstaff, Jr., ''Greatest of the Least Primes in Arithmetic Progressions Having a Given Modulus'', Mathematics of Computation Vol. 33, No. 147 (1979), 1073-1080</ref>
 
 
 
<ref name="PAPWiki">Wikipedia, ''Primes in arithmetic progression'', ([https://en.wikipedia.org/wiki/Primes_in_arithmetic_progression Wiki-en])</ref>
 
 
 
<ref name="PAPMathWorld">MathWorld, ''Prime Arithmetic Progression'', ([https://mathworld.wolfram.com/PrimeArithmeticProgression.html LINK])</ref>
 
 
 
<ref name="Corput">J. G. van der Corput, ''Über Summen von Primzahlen und Primzahlquadraten'', Mathematische Annalen, 116 (1939) 1-50, ([https://eudml.org/doc/159991 LINK])</ref>
 
 
 
<ref name="largestPAP">Wikipedia, ''Largest known primes in AP'', ([https://en.wikipedia.org/wiki/Primes_in_arithmetic_progression#Largest_known_primes_in_AP Wiki-en])</ref>
 
 
 
<ref name="GeenTao">Ben Green and Terence Tao, ''The Primes Contain Arbitrarily Long Arithmetic Progressions.'', Ann. of Math. (2) 167 (2008), 481-547, ([https://annals.math.princeton.edu/2008/167-2/p03 LINK1]), Preprint. 8 Apr 2004, ([http://arxiv.org/abs/math.NT/0404188 LINK2])</ref>
 
 
 
<ref name="CPAP1">Wikipedia, ''Primes in arithmetic progression - Largest known consecutive primes in AP'', ([https://en.wikipedia.org/wiki/Primes_in_arithmetic_progression#Largest_known_consecutive_primes_in_AP Wiki-en])</ref>
 
 
 
<ref name="PrimesInInterval">Henryk Dąbrowski, ''Twierdzenie Czebyszewa o&nbsp;liczbie pierwszej między n i 2n - Uwagi do twierdzenia'', ([https://henryk-dabrowski.pl/index.php?title=Twierdzenie_Czebyszewa_o_liczbie_pierwszej_mi%C4%99dzy_n_i_2n#Uwagi_do_twierdzenia LINK])</ref>
 
  
 
</references>
 
</references>
 
 
 
  
  

Aktualna wersja na dzień 12:54, 6 kwi 2024

22.12.2023



Największy wspólny dzielnik

Definicja H1
Niech będą dane dwie liczby całkowite [math]\displaystyle{ a }[/math] i [math]\displaystyle{ b }[/math] niebędące jednocześnie zerami. Największym wspólnym dzielnikiem[1] liczb [math]\displaystyle{ a }[/math] i [math]\displaystyle{ b }[/math] będziemy nazywali liczbę całkowitą [math]\displaystyle{ D }[/math] taką, że

  1.   [math]\displaystyle{ D \mid a \quad \text{i} \quad D \mid b }[/math]
  2.   [math]\displaystyle{ \,\, d \mid a \quad \text{i} \quad \; d \mid b \qquad \Longrightarrow \qquad d \leqslant D }[/math]

gdzie [math]\displaystyle{ d }[/math] jest dowolną liczbą całkowitą.


Uwaga H2
Tak zdefiniowaną liczbę [math]\displaystyle{ D }[/math] będziemy oznaczali przez [math]\displaystyle{ \gcd (a, b) }[/math]. Ponieważ [math]\displaystyle{ 1 \mid a \; }[/math] i [math]\displaystyle{ \; 1 \mid b }[/math], to z definicji wynika natychmiast, że [math]\displaystyle{ \gcd (a, b) \geqslant 1 }[/math].


Zadanie H3
Pokazać, że

[math]\displaystyle{ d \mid \gcd (a, b) \qquad \Longleftrightarrow \qquad d \mid a \quad \text{i} \quad d \mid b }[/math]
Rozwiązanie

[math]\displaystyle{ \Large{\Longrightarrow} }[/math]

Z założenia [math]\displaystyle{ d \mid \gcd (a, b) }[/math]. Z definicji największego wspólnego dzielnika [math]\displaystyle{ \gcd (a, b) \mid a }[/math], zatem [math]\displaystyle{ d \mid a }[/math]. Analogicznie pokazujemy, że [math]\displaystyle{ d \mid b }[/math].

[math]\displaystyle{ \Large{\Longleftarrow} }[/math]

Z założenia [math]\displaystyle{ a = r d }[/math], [math]\displaystyle{ b = s d }[/math]. Z lematu Bézouta (zobacz C73) istnieją takie liczby całkowite [math]\displaystyle{ x, y }[/math], że

[math]\displaystyle{ \gcd (a, b) = a x + b y = r d x + s d y = d (r x + s y) }[/math]

Zatem [math]\displaystyle{ d \mid \gcd (a, b) }[/math].


Twierdzenie H4
Jeżeli liczby całkowite [math]\displaystyle{ a, b }[/math] nie są jednocześnie równe zero i [math]\displaystyle{ \gcd (a, b) = a x + b y }[/math], to [math]\displaystyle{ \gcd (x, y) = 1 }[/math].

Dowód

Z lematu Bézouta (zobacz C73) wiemy, że liczby całkowite [math]\displaystyle{ x, y }[/math] zawsze istnieją. Niech [math]\displaystyle{ \gcd (a, b) = d \gt 0 }[/math], zatem [math]\displaystyle{ a = d k }[/math] i [math]\displaystyle{ b = d m }[/math], czyli

[math]\displaystyle{ (d k) x + (d m) y = d }[/math]

Co oznacza, że [math]\displaystyle{ k x + m y = 1 }[/math], ale [math]\displaystyle{ \gcd (x, y) }[/math] jest dzielnikiem [math]\displaystyle{ k x + m y }[/math] (bo jest dzielnikiem [math]\displaystyle{ x }[/math] i [math]\displaystyle{ y }[/math]), zatem [math]\displaystyle{ \gcd (x, y) \mid 1 }[/math], czyli [math]\displaystyle{ \gcd (x, y) = 1 }[/math]. Co należało pokazać.


Twierdzenie H5
Niech [math]\displaystyle{ a, b, k \in \mathbb{Z} }[/math]. Prawdziwy jest wzór

[math]\displaystyle{ \gcd (a + k b, b) = \gcd (a, b) }[/math]
Dowód

Niech [math]\displaystyle{ d_1 = \gcd (a + k b, b) \; }[/math] i [math]\displaystyle{ \; d_2 = \gcd (a, b) }[/math].

Z definicji [math]\displaystyle{ d_1 \mid (a + k b) \; }[/math] i [math]\displaystyle{ \; d_1 \mid b }[/math], zatem [math]\displaystyle{ a + k b = x d_1 \; }[/math] i [math]\displaystyle{ \; b = y d_1 }[/math], czyli [math]\displaystyle{ a + k x d_1 = x d_1 }[/math], skąd natychmiast wynika, że [math]\displaystyle{ d_1 \mid a }[/math]. Ponieważ [math]\displaystyle{ d_1 \mid b }[/math], to [math]\displaystyle{ d_1 \mid d_2 }[/math] (zobacz H3).

Z definicji [math]\displaystyle{ d_2 \mid a \; }[/math] i [math]\displaystyle{ \; d_2 \mid b }[/math], zatem [math]\displaystyle{ d_2 \mid (a + k b) \; }[/math] i [math]\displaystyle{ \; d_2 \mid b }[/math], czyli [math]\displaystyle{ d_2 \mid d_1 }[/math].

Ponieważ [math]\displaystyle{ d_1 \mid d_2 \; }[/math] i [math]\displaystyle{ \; d_2 \mid d_1 }[/math], to [math]\displaystyle{ | d_1 | = | d_2 | }[/math]. Co kończy dowód.


Twierdzenie H6
Niech [math]\displaystyle{ a, b, m \in \mathbb{Z} }[/math]. Prawdziwa jest następująca równoważność

[math]\displaystyle{ \gcd (a, m) = 1 \quad \text{i} \quad \gcd (b, m) = 1 \quad \qquad \Longleftrightarrow \quad \qquad \gcd (a b, m) = 1 }[/math]
Dowód

[math]\displaystyle{ \Large{\Longrightarrow} }[/math]

Niech [math]\displaystyle{ \gcd (a b, m) = d }[/math]. Z definicji [math]\displaystyle{ d \mid a b }[/math] i [math]\displaystyle{ d \mid m }[/math]. Gdyby było [math]\displaystyle{ d \gt 1 }[/math], to istniałaby liczba pierwsza [math]\displaystyle{ p }[/math] taka, że [math]\displaystyle{ p \mid d }[/math] i mielibyśmy [math]\displaystyle{ p \mid a b }[/math] i [math]\displaystyle{ p \mid m }[/math]. Jeżeli [math]\displaystyle{ p \mid a b }[/math], to [math]\displaystyle{ p \mid a }[/math] lub [math]\displaystyle{ p \mid b }[/math] (zobacz C74). W przypadku, gdy [math]\displaystyle{ p \mid a }[/math] dostajemy [math]\displaystyle{ \gcd (a, m) \geqslant p \gt 1 }[/math], wbrew założeniu, że [math]\displaystyle{ \gcd (a, m) = 1 }[/math]. Analogicznie pokazujemy sprzeczność, gdy [math]\displaystyle{ p \mid b }[/math].

[math]\displaystyle{ \Large{\Longleftarrow} }[/math]

Niech [math]\displaystyle{ \gcd (a, m) = d }[/math]. Z definicji [math]\displaystyle{ d \mid a }[/math] i [math]\displaystyle{ d \mid m }[/math], zatem również [math]\displaystyle{ d \mid a b }[/math] i [math]\displaystyle{ d \mid m }[/math]. Mamy stąd

[math]\displaystyle{ 1 = \gcd (a b, m) \geqslant d \geqslant 1 }[/math]

Czyli musi być [math]\displaystyle{ d = 1 }[/math]. Analogicznie pokazujemy, że [math]\displaystyle{ \gcd (b, m) = 1 }[/math].


Twierdzenie H7
Dla [math]\displaystyle{ a, b, m \in \mathbb{Z} }[/math] jest

[math]\displaystyle{ \gcd (a b, m) \mid \gcd (a, m) \cdot \gcd (b, m) }[/math]
Dowód

Wprowadźmy oznaczenia

[math]\displaystyle{ r = \gcd (a b, m) }[/math]
[math]\displaystyle{ s = \gcd (a, m) }[/math]
[math]\displaystyle{ t = \gcd (b, m) }[/math]

Z lematu Bézouta (zobacz C73) istnieją takie liczby [math]\displaystyle{ x, y, X, Y }[/math], że

[math]\displaystyle{ s = a x + m y }[/math]
[math]\displaystyle{ t = b X + m Y }[/math]

Zatem

[math]\displaystyle{ s t = (a x + m y) (b X + m Y) = a b x X + a m x Y + m b y X + m^2 y Y }[/math]

ale [math]\displaystyle{ r \mid a b }[/math] i [math]\displaystyle{ r \mid m }[/math], skąd otrzymujemy, że [math]\displaystyle{ r \mid s t }[/math]. Co należało pokazać.


Twierdzenie H8
Jeżeli liczby [math]\displaystyle{ a, b }[/math] są względnie pierwsze, to

[math]\displaystyle{ \gcd (a b, m) = \gcd (a, m) \cdot \gcd (b, m) }[/math]
Dowód

Wprowadźmy oznaczenia

[math]\displaystyle{ r = \gcd (a b, m) }[/math]
[math]\displaystyle{ s = \gcd (a, m) }[/math]
[math]\displaystyle{ t = \gcd (b, m) }[/math]

Z założenia [math]\displaystyle{ \gcd (a, b) = 1 }[/math]. Ponieważ [math]\displaystyle{ s \mid a }[/math] oraz [math]\displaystyle{ t \mid b }[/math], to [math]\displaystyle{ \gcd (s, t) = 1 }[/math], zatem (zobacz C75)

[math]\displaystyle{ s \mid a \qquad \,\, \text{i} \qquad t \mid b \qquad \qquad \;\, \Longrightarrow \qquad \qquad s t \mid a b }[/math]
[math]\displaystyle{ s \mid m \qquad \text{i} \qquad t \mid m \qquad \qquad \Longrightarrow \qquad \qquad s t \mid m }[/math]

Wynika stąd, że [math]\displaystyle{ s t \mid \gcd (a b, m) }[/math], czyli [math]\displaystyle{ s t \mid r }[/math]. Z poprzedniego twierdzenia wiemy, że [math]\displaystyle{ r \mid s t }[/math], zatem [math]\displaystyle{ |r| = |s t| }[/math]. Co kończy dowód.


Twierdzenie H9
Jeżeli liczby [math]\displaystyle{ b, m }[/math] są względnie pierwsze, to

[math]\displaystyle{ \gcd (a b, m) = \gcd (a, m) }[/math]
Dowód

Wprowadźmy oznaczenia

[math]\displaystyle{ r = \gcd (a b, m) }[/math]
[math]\displaystyle{ s = \gcd (a, m) }[/math]

Z lematu Bézouta istnieją takie liczby [math]\displaystyle{ x, y }[/math], że

[math]\displaystyle{ r = a b x + m y }[/math]

Ale [math]\displaystyle{ s \mid a \; }[/math] i [math]\displaystyle{ \; s \mid m }[/math], zatem [math]\displaystyle{ s \mid r }[/math].

Z założenia [math]\displaystyle{ \gcd (b, m) = 1 }[/math], zatem z twierdzenia H7 wynika natychmiast, że [math]\displaystyle{ r \mid s }[/math]. Ponieważ [math]\displaystyle{ s \mid r \; }[/math] i [math]\displaystyle{ \; r \mid s }[/math], to [math]\displaystyle{ | r | = | s | }[/math]. Co należało pokazać.


Twierdzenie H10
Jeżeli liczby [math]\displaystyle{ a, b }[/math] nie są jednocześnie równe zero i [math]\displaystyle{ m \neq 0 }[/math], to

[math]\displaystyle{ \gcd (a m, b m) = | m | \cdot \gcd (a, b) }[/math]
Dowód

Oznaczmy [math]\displaystyle{ d = \gcd (a, b) \; }[/math] i [math]\displaystyle{ \; D = \gcd (a m, b m) }[/math]. Pokażemy, że [math]\displaystyle{ d m \mid D }[/math].

[math]\displaystyle{ \begin{array}{llll} d = \gcd (a, b) & \qquad \Longrightarrow \qquad & d \mid a \quad \text{i} \quad d \mid b & \text{(zobacz H3)} \\ & & & \\ & \qquad \Longrightarrow \qquad & d m \mid a m \quad \text{i} \quad d m \mid b m & \\ & & & \\ & \qquad \Longrightarrow \qquad & d m \mid \gcd (a m, b m) & \text{(zobacz H3)} \\ & & & \\ & \qquad \Longrightarrow \qquad & d m \mid D & \\ \end{array} }[/math]

Pokażemy, że [math]\displaystyle{ D \mid d m }[/math].

[math]\displaystyle{ \begin{array}{llll} d = \gcd (a, b) & \qquad \Longrightarrow \qquad & d = a x + b y & \text{(lemat Bézouta C73)} \\ & & & \\ & \qquad \Longrightarrow \qquad & d m = a m x + b m y & \\ & & & \\ & \qquad \Longrightarrow \qquad & D \mid d m & \\ \end{array} }[/math]

Ostatnia implikacja korzysta z tego, że [math]\displaystyle{ D \mid a m \; }[/math] i [math]\displaystyle{ \; D \mid b m }[/math] (zobacz H3). Ponieważ [math]\displaystyle{ d m \mid D \; }[/math] i [math]\displaystyle{ \; D \mid d m }[/math], to [math]\displaystyle{ | D | = | d m | }[/math]. Co należało pokazać.


Zadanie H11
Pokazać, że jeżeli liczby [math]\displaystyle{ a, b }[/math] nie są jednocześnie równe zero, to

[math]\displaystyle{ \gcd \left( {\small\frac{a}{\gcd (a, b)}}, {\small\frac{b}{\gcd (a, b)}} \right) = 1 }[/math]
Rozwiązanie

Z twierdzenia H10 otrzymujemy

[math]\displaystyle{ \gcd (a, b) = \gcd \left( \gcd (a, b) \cdot {\small\frac{a}{\gcd (a, b)}}, \gcd (a, b) \cdot {\small\frac{b}{\gcd (a, b)}} \right) }[/math]
[math]\displaystyle{ \;\;\;\; = \gcd (a, b) \cdot \gcd \left( {\small\frac{a}{\gcd (a, b)}}, {\small\frac{b}{\gcd (a, b)}} \right) }[/math]

Zatem

[math]\displaystyle{ \gcd \left( {\small\frac{a}{\gcd (a, b)}}, {\small\frac{b}{\gcd (a, b)}} \right) = 1 }[/math]

Co należało pokazać.


Zadanie H12
Pokazać, że [math]\displaystyle{ a \mid b }[/math] wtedy i tylko wtedy, gdy [math]\displaystyle{ a \mid \gcd (a, b) }[/math].

Rozwiązanie

[math]\displaystyle{ \Large{\Longrightarrow} }[/math]

Zakładając, że [math]\displaystyle{ a \mid b }[/math], dostajemy

[math]\displaystyle{ \begin{array}{llll} a \mid b & \qquad \Longrightarrow \qquad & b = k a & \\ & & & \\ & \qquad \Longrightarrow \qquad & \gcd (a, b) = \gcd (a, k a) = | a | \cdot \gcd (1, k) = | a | & \qquad \text{(zobacz H10)} \\ & & & \\ & \qquad \Longrightarrow \qquad & a \mid \gcd (a, b) & \\ \end{array} }[/math]

[math]\displaystyle{ \Large{\Longleftarrow} }[/math]

Jeżeli [math]\displaystyle{ a \mid \gcd (a, b) }[/math], to [math]\displaystyle{ a \mid b }[/math] (zobacz H3). Co należało pokazać.


Zadanie H13
Niech [math]\displaystyle{ \gcd (a, d) = 1 }[/math]. Pokazać, że [math]\displaystyle{ d \nmid a b }[/math] wtedy i tylko wtedy, gdy [math]\displaystyle{ d \nmid b }[/math].

Rozwiązanie

Korzystając z rezultatu pokazanego w zadaniu H12, dostajemy

[math]\displaystyle{ \begin{array}{llll} d \nmid a b & \qquad \Longleftrightarrow \qquad & d \nmid \gcd (d, a b) & \\ & & & \\ & \qquad \Longleftrightarrow \qquad & d \nmid \gcd (d, b) & \text{(zobacz H9)} \\ & & & \\ & \qquad \Longleftrightarrow \qquad & d \nmid b & \\ \end{array} }[/math]

Co należało pokazać.


Twierdzenie H14
Jeżeli dodatnie liczby [math]\displaystyle{ a, b }[/math] są względnie pierwsze, to każdy dzielnik [math]\displaystyle{ d }[/math] iloczynu [math]\displaystyle{ a b }[/math] można przedstawić jednoznacznie w postaci [math]\displaystyle{ d = d_1 d_2 }[/math], gdzie [math]\displaystyle{ d_1 \mid a , }[/math] [math]\displaystyle{ \; d_2 \mid b \; }[/math] [math]\displaystyle{ \text{i} \; \gcd (d_1, d_2) = 1 }[/math].

Dowód

Niech [math]\displaystyle{ d_1 = \gcd (d, a) \; }[/math] i [math]\displaystyle{ \; d_2 = \gcd (d, b) }[/math]. Z twierdzenia H8 mamy

[math]\displaystyle{ d_1 d_2 = \gcd (d, a) \cdot \gcd (d, b) = \gcd (d, a b) = d }[/math]

Bo z założenia [math]\displaystyle{ d \mid a b }[/math]. Z definicji największego wspólnego dzielnika i zadania H3 dostajemy

[math]\displaystyle{ \gcd (d_1, d_2) = e \qquad \Longrightarrow \qquad e \mid d_1 \quad \text{i} \quad e \mid d_2 }[/math]
[math]\displaystyle{ \, \Longrightarrow \qquad e \mid \gcd (d, a) \quad \text{i} \quad e \mid \gcd (d, b) }[/math]
[math]\displaystyle{ \, \Longrightarrow \qquad e \mid a \quad \text{i} \quad e \mid b }[/math]
[math]\displaystyle{ \, \Longrightarrow \qquad e \mid \gcd (a, b) }[/math]
[math]\displaystyle{ \, \Longrightarrow \qquad \gcd (a, b) \geqslant e }[/math]

Gdyby było [math]\displaystyle{ \gcd (d_1, d_2) = e \gt 1 }[/math], to mielibyśmy [math]\displaystyle{ \gcd (a, b) \geqslant e \gt 1 }[/math]. Wbrew założeniu, że [math]\displaystyle{ \gcd (a, b) = 1 }[/math]. Co kończy dowód.


Twierdzenie H15
Jeżeli [math]\displaystyle{ a, m, n \in \mathbb{Z}_+ }[/math], to

[math]\displaystyle{ \gcd (a^m - 1, a^n - 1) = a^{\gcd (m, n)} - 1 }[/math]
Dowód

Pokażemy najpierw, że jeżeli [math]\displaystyle{ d }[/math] jest dzielnikiem lewej strony dowodzonej równości, to jest również dzielnikiem prawej strony i odwrotnie.

[math]\displaystyle{ \Large{\Longrightarrow} }[/math]

Z założenia [math]\displaystyle{ d }[/math] jest dzielnikiem [math]\displaystyle{ \gcd (a^m - 1, a^n - 1) }[/math], czyli [math]\displaystyle{ d \mid (a^m - 1) \; }[/math] i [math]\displaystyle{ \; d \mid (a^n - 1) }[/math], co możemy zapisać w postaci

[math]\displaystyle{ a^m \equiv 1 \!\! \pmod{d} \quad \qquad \text{oraz} \quad \qquad a^n \equiv 1 \!\! \pmod{d} }[/math]

Z lematu Bézouta (zobacz C73) wiemy, że istnieją takie liczby [math]\displaystyle{ x, y }[/math], że [math]\displaystyle{ \gcd (m, n) = m x + n y }[/math]. Łatwo znajdujemy, że

[math]\displaystyle{ a^{\gcd (m, n)} \equiv a^{m x + n y} \equiv (a^m)^x \cdot (a^n)^y \equiv 1^x \cdot 1^y \equiv 1 \!\! \pmod{d} }[/math]

Czyli [math]\displaystyle{ d \, \biggr\rvert \left( a^{\gcd (m, n)} - 1 \right) }[/math].

[math]\displaystyle{ \Large{\Longleftarrow} }[/math]

Z założenia [math]\displaystyle{ d \, \biggr\rvert \left( a^{\gcd (m, n)} - 1 \right) }[/math], czyli

[math]\displaystyle{ a^{\gcd (m, n)} \equiv 1 \!\! \pmod{d} }[/math]

Zatem

[math]\displaystyle{ a^m \equiv \left[ a^{\gcd (m, n)} \right]^{\tfrac{m}{\gcd (m, n)}} \equiv 1 \!\! \pmod{d} }[/math]

Podobnie otrzymujemy

[math]\displaystyle{ a^n \equiv 1 \!\! \pmod{d} }[/math]

Zatem [math]\displaystyle{ d }[/math] dzieli [math]\displaystyle{ a^m - 1 \; }[/math] i [math]\displaystyle{ \; a^n - 1 }[/math], czyli

[math]\displaystyle{ d \mid \gcd (a^m - 1, a^n - 1) }[/math]


W szczególności wynika stąd, że

  •    [math]\displaystyle{ \gcd (a^m - 1, a^n - 1) \, \biggr\rvert \left( a^{\gcd (m, n)} - 1 \right) }[/math]
  •    [math]\displaystyle{ \left( a^{\gcd (m, n)} - 1 \right) \, \biggr\rvert \, \gcd (a^m - 1, a^n - 1) }[/math]

Czyli [math]\displaystyle{ \left| \gcd (a^m - 1, a^n - 1) \right| = \left| a^{\gcd (m, n)} - 1 \right| }[/math]. Co kończy dowód.


Uwaga H16
W dowodzie twierdzenia H15 pominęliśmy milczeniem fakt, że jedna z liczb [math]\displaystyle{ x, y }[/math] może być (i często jest) ujemna. Choć rezultat jest prawidłowy, to nie wiemy, co oznacza zapis

[math]\displaystyle{ a^{- 1000} \equiv 1^{- 10} \equiv 1 \!\! \pmod{d} }[/math]

Omówimy ten problem w następnej sekcji. Zauważmy, wyprzedzając materiał, że z kongruencji

[math]\displaystyle{ a^m \equiv 1 \!\! \pmod{d} \quad \qquad \text{oraz} \quad \qquad a^n \equiv 1 \!\! \pmod{d} }[/math]

wynika, że [math]\displaystyle{ \gcd (a, d) = 1 }[/math] i liczba [math]\displaystyle{ a }[/math] ma element odwrotny modulo [math]\displaystyle{ d }[/math].



Element odwrotny modulo [math]\displaystyle{ m }[/math]

Twierdzenie H17
Niech [math]\displaystyle{ m \in \mathbb{Z}_+ }[/math]. Dla liczby [math]\displaystyle{ a \in \mathbb{Z} }[/math] istnieje taka liczba [math]\displaystyle{ x }[/math], że

[math]\displaystyle{ a x \equiv 1 \!\! \pmod{m} }[/math]

wtedy i tylko wtedy, gdy [math]\displaystyle{ \gcd (a, m) = 1 }[/math].

Dowód

[math]\displaystyle{ \Large{\Longrightarrow} }[/math]

Z założenia istnieje taka liczba [math]\displaystyle{ x }[/math], że

[math]\displaystyle{ a x \equiv 1 \!\! \pmod{m} }[/math]

Zatem dla pewnego [math]\displaystyle{ k \in \mathbb{Z} }[/math] jest

[math]\displaystyle{ a x = 1 + k m }[/math]

Czyli [math]\displaystyle{ a x - k m = 1 }[/math]. Wynika stąd, że [math]\displaystyle{ \gcd (a, m) }[/math] dzieli [math]\displaystyle{ 1 }[/math], co oznacza, że [math]\displaystyle{ \gcd (a, m) = 1 }[/math].

[math]\displaystyle{ \Large{\Longleftarrow} }[/math]

Z założenia [math]\displaystyle{ \gcd (a, m) = 1 }[/math]. Z lematu Bézouta (zobacz C73) wynika, że istnieją takie liczby całkowite [math]\displaystyle{ x, y }[/math], że

[math]\displaystyle{ a x + m y = 1 }[/math]

Zatem modulo [math]\displaystyle{ m }[/math] dostajemy

[math]\displaystyle{ a x \equiv 1 \!\! \pmod{m} }[/math]

Co kończy dowód.


Definicja H18
Niech [math]\displaystyle{ m \in \mathbb{Z}_+ }[/math]. Liczbę [math]\displaystyle{ x }[/math] taką, że

[math]\displaystyle{ a \cdot x \equiv 1 \!\! \pmod{m} }[/math]

będziemy nazywali elementem odwrotnym liczby [math]\displaystyle{ a }[/math] modulo [math]\displaystyle{ m }[/math] i oznaczali jako [math]\displaystyle{ a^{- 1} }[/math].


Uwaga H19
Oznaczenie elementu odwrotnego ma naturalne uzasadnienie. Zauważmy, że jeżeli [math]\displaystyle{ b \mid a }[/math] oraz [math]\displaystyle{ b }[/math] ma element odwrotny modulo [math]\displaystyle{ m }[/math], to prawdziwa jest kongruencja

[math]\displaystyle{ {\small\frac{a}{b}} \equiv a b^{- 1} \!\! \pmod{m} }[/math]

Istotnie

[math]\displaystyle{ {\small\frac{a}{b}} = {\small\frac{a}{b}} \cdot 1 \equiv {\small\frac{a}{b}} \cdot b b^{- 1} \equiv a b^{- 1} \!\! \pmod{m} }[/math]

W PARI/GP odwrotność liczby [math]\displaystyle{ a }[/math] modulo [math]\displaystyle{ m }[/math] znajdujemy, wpisując Mod(a, m)^(-1).


Twierdzenie H20
Niech [math]\displaystyle{ a, k \in \mathbb{Z} }[/math], [math]\displaystyle{ m \in \mathbb{Z}_+ }[/math]. Poniższa tabelka przedstawia elementy odwrotne do elementu [math]\displaystyle{ a }[/math] w przypadku niektórych modułów [math]\displaystyle{ m }[/math]. W szczególności, jeżeli moduł [math]\displaystyle{ m }[/math] jest liczbą nieparzystą, to [math]\displaystyle{ 2^{- 1} \equiv {\small\frac{m + 1}{2}} \!\! \pmod{m} }[/math].

Dowód

Punkty 1. - 3.

Ponieważ dla liczb nieparzystych jest

[math]\displaystyle{ a^2 \equiv 1 \!\! \pmod{2} }[/math]
[math]\displaystyle{ a^2 \equiv 1 \!\! \pmod{4} }[/math]
[math]\displaystyle{ a^2 \equiv 1 \!\! \pmod{8} }[/math]

to liczba nieparzysta [math]\displaystyle{ a }[/math] jest swoją odwrotnością modulo [math]\displaystyle{ 2 }[/math], [math]\displaystyle{ 4 }[/math] i [math]\displaystyle{ 8 }[/math]. Ponieważ element odwrotny jest definiowany modulo, zatem możemy napisać

[math]\displaystyle{ a^{- 1} \equiv R_2 (a) \!\! \pmod{2} }[/math]
[math]\displaystyle{ a^{- 1} \equiv R_4 (a) \!\! \pmod{4} }[/math]
[math]\displaystyle{ a^{- 1} \equiv R_8 (a) \!\! \pmod{8} }[/math]

W pierwszym przypadku wynik jest oczywisty, bo [math]\displaystyle{ R_2 (a) = 1 }[/math].

Punkt 4.

Zauważmy, że

[math]\displaystyle{ \gcd (a, m) = \gcd (a, a k - 1) = \gcd (a, - 1) = 1 }[/math]

oraz [math]\displaystyle{ a \mid (m + 1) }[/math]. Zatem

[math]\displaystyle{ a \cdot a^{- 1} = a \cdot {\small\frac{m + 1}{a}} = m + 1 \equiv 1 \!\! \pmod{m} }[/math]

Punkt 5.

Zauważmy, że

[math]\displaystyle{ \gcd (a, m) = \gcd (a, a k + 1) = \gcd (a, 1) = 1 }[/math]

oraz [math]\displaystyle{ a \mid (m - 1) }[/math]. Zatem

[math]\displaystyle{ a \cdot a^{- 1} = a \cdot \left[ - \left( {\small\frac{m - 1}{a}} \right) \right] = - m + 1 \equiv 1 \!\! \pmod{m} }[/math]

Punkt 6.

Ponieważ zakładamy, że [math]\displaystyle{ 2 \mid (m + 1) }[/math], to [math]\displaystyle{ m }[/math] musi być liczbą nieparzystą, czyli [math]\displaystyle{ a }[/math] też musi być liczbą nieparzystą. Zauważmy, że

[math]\displaystyle{ \gcd (a, m) = \gcd (a, a k - 2) = \gcd (a, - 2) = 1 }[/math]

oraz [math]\displaystyle{ a \mid (m + 2) }[/math]. Zatem

[math]\displaystyle{ a \cdot a^{- 1} = a \cdot \left( {\small\frac{m + 1}{2}} \cdot {\small\frac{m + 2}{a}} \right) = {\small\frac{m + 1}{2}} \cdot (m + 2) \equiv {\small\frac{m + 1}{2}} \cdot 2 \equiv m + 1 \equiv 1 \!\! \pmod{m} }[/math]

Podobnie pokazujemy punkt 7. Co kończy dowód.


Twierdzenie H21
Niech [math]\displaystyle{ a, b \in \mathbb{Z} }[/math], [math]\displaystyle{ m \in \mathbb{Z}_+ }[/math] i liczba [math]\displaystyle{ a }[/math] ma element odwrotny modulo [math]\displaystyle{ m }[/math]. Jeżeli liczby [math]\displaystyle{ u_1, u_2, \ldots, u_r }[/math] są liczbami różnymi modulo [math]\displaystyle{ m }[/math], to liczby

1.   [math]\displaystyle{ a u_1, a u_2, \ldots, a u_r }[/math]
2.   [math]\displaystyle{ a u_1 + b, a u_2 + b, \ldots, a u_r + b }[/math]

są liczbami różnymi modulo [math]\displaystyle{ m }[/math]. Jeżeli ponadto liczby [math]\displaystyle{ u_1, u_2, \ldots, u_r }[/math] są względnie pierwsze z [math]\displaystyle{ m }[/math], to również liczby

3.   [math]\displaystyle{ u^{- 1}_1, u^{- 1}_2, \ldots, u^{- 1}_r }[/math]

są liczbami różnymi modulo [math]\displaystyle{ m }[/math].

Dowód

Punkt 1.

Przypuśćmy dla uzyskania sprzeczności, że istnieją takie różne wskaźniki [math]\displaystyle{ i, j }[/math], że

[math]\displaystyle{ a u_i \equiv a u_j \!\! \pmod{m} }[/math]

Z założenia liczba [math]\displaystyle{ a }[/math] ma element odwrotny modulo [math]\displaystyle{ m }[/math], zatem mnożąc obie strony kongruencji przez [math]\displaystyle{ a^{- 1} }[/math], otrzymujemy

[math]\displaystyle{ u_i \equiv u_j \!\! \pmod{m} }[/math]

dla [math]\displaystyle{ i \neq j }[/math], wbrew założeniu, że liczby [math]\displaystyle{ u_1, u_2, \ldots, u_r }[/math] są różne modulo [math]\displaystyle{ m }[/math]. Dowód punktu 2. jest analogiczny.

Punkt 3.

Przypuśćmy dla uzyskania sprzeczności, że istnieją takie różne wskaźniki [math]\displaystyle{ i, j }[/math], że

[math]\displaystyle{ u^{- 1}_i \equiv u^{- 1}_j \!\! \pmod{m} }[/math]
[math]\displaystyle{ u_j u^{- 1}_i \equiv 1 \!\! \pmod{m} }[/math]
[math]\displaystyle{ u_j u^{- 1}_i u_i \equiv u_i \!\! \pmod{m} }[/math]
[math]\displaystyle{ u_j \equiv u_i \!\! \pmod{m} }[/math]

Ponownie otrzymujemy [math]\displaystyle{ u_i \equiv u_j \!\! \pmod{m} }[/math] dla [math]\displaystyle{ i \neq j }[/math], wbrew założeniu, że liczby [math]\displaystyle{ u_1, u_2, \ldots, u_r }[/math] są różne modulo [math]\displaystyle{ m }[/math]. Co należało pokazać.


Zadanie H22
Niech [math]\displaystyle{ p }[/math] będzie liczbą pierwszą. Pokazać, że dla [math]\displaystyle{ k \in [0, p - 1] }[/math] prawdziwa jest kongruencja

[math]\displaystyle{ \binom{p - 1}{k} \equiv (- 1)^k \pmod{p} }[/math]
Rozwiązanie

Zauważmy, że modulo [math]\displaystyle{ p }[/math] mamy

[math]\displaystyle{ \binom{p - 1}{k} = {\small\frac{(p - 1) !}{k! \cdot (p - 1 - k) !}} }[/math]
[math]\displaystyle{ \;\;\;\; = {\small\frac{(p - 1) (p - 2) \cdot \ldots \cdot (p - k)}{k!}} }[/math]
[math]\displaystyle{ \;\;\;\; \equiv (p - 1) (p - 2) \cdot \ldots \cdot (p - k) \cdot (k!)^{- 1} }[/math]
[math]\displaystyle{ \;\;\;\; \equiv (- 1)^k \cdot k! \cdot (k!)^{- 1} }[/math]
[math]\displaystyle{ \;\;\;\; \equiv (- 1)^k \pmod{p} }[/math]

Co należało pokazać.


Zadanie H23
Niech [math]\displaystyle{ A }[/math] i [math]\displaystyle{ B }[/math] będą zbiorami skończonymi. Pokazać, że jeżeli [math]\displaystyle{ A \subseteq B \;\; \text{i} \;\; | A | = | B | }[/math], to [math]\displaystyle{ \; A = B }[/math].

Rozwiązanie

Pierwszy sposób

Z definicji zbiory [math]\displaystyle{ A }[/math] i [math]\displaystyle{ B }[/math] są równe wtedy i tylko wtedy, gdy jednocześnie spełnione są warunki

  1.   [math]\displaystyle{ x \in A \qquad \Longrightarrow \qquad x \in B }[/math]
  2.   [math]\displaystyle{ x \in B \qquad \Longrightarrow \qquad x \in A }[/math]

Z założenia [math]\displaystyle{ A \subseteq B }[/math], zatem warunek 1. jest spełniony. Przypuśćmy, że istnieje taki element [math]\displaystyle{ x }[/math], że [math]\displaystyle{ x \in B }[/math], ale [math]\displaystyle{ x \notin A }[/math]. Jeśli tak, to

[math]\displaystyle{ | B | = | A | + 1 }[/math]

Co jest sprzeczne z założeniem, że [math]\displaystyle{ | A | = | B | }[/math].

Uwaga
Łatwo zauważyć, że wybierając z trzech warunków [math]\displaystyle{ A \subseteq B }[/math], [math]\displaystyle{ B \subseteq A }[/math] i [math]\displaystyle{ | A | = | B | }[/math] dowolne dwa, zawsze otrzymamy z nich trzeci. Oczywiście nie dotyczy to zbiorów nieskończonych. Przykładowo liczby parzyste stanowią podzbiór liczb całkowitych, liczb parzystych jest tyle samo, co liczb całkowitych[2], ale zbiór liczb całkowitych nie jest podzbiorem zbioru liczb parzystych.


Drugi sposób

Ponieważ zbiór [math]\displaystyle{ A }[/math] jest z założenia podzbiorem zbioru [math]\displaystyle{ B }[/math], to zbiór [math]\displaystyle{ B }[/math] można przedstawić w postaci sumy zbioru [math]\displaystyle{ A }[/math] i pewnego zbioru [math]\displaystyle{ C }[/math] takiego, że żaden element zbioru [math]\displaystyle{ C }[/math] nie jest elementem zbioru [math]\displaystyle{ A }[/math]. Zatem

[math]\displaystyle{ B = A \cup C \qquad \text{i} \qquad A \cap C = \varnothing }[/math]

Ponieważ zbiory [math]\displaystyle{ A }[/math] i [math]\displaystyle{ C }[/math] są rozłączne, to wiemy, że

[math]\displaystyle{ | A \cup C | = | A | + | C | }[/math]

Czyli

[math]\displaystyle{ | B | = | A \cup C | = | A | + | C | }[/math]

Skąd wynika, że [math]\displaystyle{ | C | = 0 }[/math], zatem zbiór [math]\displaystyle{ C }[/math] jest zbiorem pustym i otrzymujemy natychmiast [math]\displaystyle{ B = A }[/math]. Co należało pokazać.

Uwaga (przypadek zbiorów skończonych)
Najczęściej prawdziwe jest jedynie oszacowanie [math]\displaystyle{ | A \cup C | \leqslant | A | + | C | }[/math], bo niektóre elementy mogą zostać policzone dwa razy. Elementy liczone dwukrotnie to te, które należą do iloczynu zbiorów [math]\displaystyle{ | A | }[/math] i [math]\displaystyle{ | C | }[/math], zatem od sumy [math]\displaystyle{ | A | + | C | }[/math] musimy odjąć liczbę elementów iloczynu zbiorów [math]\displaystyle{ | A | }[/math] i [math]\displaystyle{ | C | }[/math]. Co daje ogólny wzór[3]

[math]\displaystyle{ | A \cup C | = | A | + | C | - | A \cap C | }[/math]


Definicja H24
Niech elementy każdego ze zbiorów [math]\displaystyle{ A = \{ a_1, a_2, \ldots, a_r \} }[/math] oraz [math]\displaystyle{ B = \{ b_1, b_2, \ldots, b_r \} }[/math] będą różne modulo [math]\displaystyle{ m }[/math]. Powiemy, że zbiory [math]\displaystyle{ A, B }[/math] są równe modulo [math]\displaystyle{ m }[/math], jeżeli dla każdego [math]\displaystyle{ k = 1, \ldots, r }[/math] istnieje takie [math]\displaystyle{ j = 1, \ldots, r }[/math], że prawdziwa jest kongruencja [math]\displaystyle{ a_k \equiv b_j \!\! \pmod{m} }[/math].


Twierdzenie H25
Niech elementy każdego ze zbiorów [math]\displaystyle{ A = \{ a_1, a_2, \ldots, a_r \} }[/math] oraz [math]\displaystyle{ B = \{ b_1, b_2, \ldots, b_r \} }[/math] będą różne modulo [math]\displaystyle{ m }[/math]. Zbiory [math]\displaystyle{ A, B }[/math] są równe modulo [math]\displaystyle{ m }[/math] wtedy i tylko wtedy, gdy zbiory [math]\displaystyle{ A' = \{ R_m (a_1), R_m (a_2), \ldots, R_m (a_r) \} }[/math] i [math]\displaystyle{ B' = \{ R_m (b_1), R_m (b_2), \ldots, R_m (b_r) \} }[/math] są równe.

Dowód

[math]\displaystyle{ \Large{\Longrightarrow} }[/math]

Ponieważ elementy każdego ze zbiorów [math]\displaystyle{ A, B }[/math] są różne modulo [math]\displaystyle{ m }[/math], to elementy zbiorów [math]\displaystyle{ A' }[/math] i [math]\displaystyle{ B' }[/math] są wszystkie różne. Czyli [math]\displaystyle{ | A' | = | B' | = r }[/math]. Ponieważ warunek

[math]\displaystyle{ a_k \equiv b_j \!\! \pmod{m} }[/math]

oznacza, że reszty z dzielenia liczb [math]\displaystyle{ a_k }[/math] i [math]\displaystyle{ b_j }[/math] przez [math]\displaystyle{ m }[/math] są równe, to z założenia dla każdego [math]\displaystyle{ k = 1, \ldots, r }[/math] istnieje takie [math]\displaystyle{ j = 1, \ldots, r }[/math], że

[math]\displaystyle{ R_m (a_k) = R_m (b_j) }[/math]

A to oznacza, że każdy element zbioru [math]\displaystyle{ A' }[/math] należy do zbioru [math]\displaystyle{ B' }[/math], czyli [math]\displaystyle{ A' \subseteq B' }[/math]. Wynika stąd, że [math]\displaystyle{ A' = B' }[/math] (zobacz H23). Co należało pokazać.

[math]\displaystyle{ \Large{\Longleftarrow} }[/math]

Ponieważ zbiory [math]\displaystyle{ A', B' }[/math] są równe, to zbiór [math]\displaystyle{ A' }[/math] jest podzbiorem zbioru [math]\displaystyle{ B' }[/math], czyli dla każdego elementu [math]\displaystyle{ R_m (a_k) \in A' }[/math] istnieje taki element [math]\displaystyle{ R_m (b_j) \in B' }[/math], że

[math]\displaystyle{ R_m (a_k) = R_m (b_j) }[/math]

Ponieważ równość reszt oznacza równość modulo, zatem

[math]\displaystyle{ a_k \equiv b_j \!\! \pmod{m} }[/math]

Wynika stąd, że dla każdego [math]\displaystyle{ k = 1, \ldots, r }[/math] istnieje takie [math]\displaystyle{ j = 1, \ldots, r }[/math], że prawdziwa jest kongruencja

[math]\displaystyle{ a_k \equiv b_j \!\! \pmod{m} }[/math]

czyli zbiory [math]\displaystyle{ A, B }[/math] są równe modulo [math]\displaystyle{ m }[/math]. Co kończy dowód.


Twierdzenie H26
Niech będą dane zbiory [math]\displaystyle{ A = \{ 1, 2, \ldots, p - 1 \} }[/math], [math]\displaystyle{ B = \{ b_1, b_2, \ldots, b_{p - 1} \} }[/math], gdzie [math]\displaystyle{ p }[/math] jest liczbą pierwszą. Jeżeli wszystkie elementy zbioru [math]\displaystyle{ B }[/math] są różne modulo [math]\displaystyle{ p }[/math] i żadna z liczb [math]\displaystyle{ b_k \in B }[/math] nie jest podzielna przez [math]\displaystyle{ p }[/math], to zbiory [math]\displaystyle{ A, B, C = \{ b^{- 1}_1, b^{- 1}_2, \ldots, b^{- 1}_{p - 1} \} }[/math] są równe modulo [math]\displaystyle{ p }[/math].

Dowód

Z definicji zbioru [math]\displaystyle{ A }[/math] wszystkie elementy tego zbioru są różne modulo [math]\displaystyle{ p }[/math]. Łatwo zauważamy, że

[math]\displaystyle{ A = \{ 1, 2, \ldots, p - 1 \} = \{ R_p (1), R_p (2), \ldots, R_p (p - 1) \} = A' }[/math]

Ponieważ wszystkie liczby [math]\displaystyle{ b_k \in B }[/math], gdzie [math]\displaystyle{ k = 1, \ldots, p - 1 }[/math] są różne modulo [math]\displaystyle{ p }[/math] i nie są podzielne przez [math]\displaystyle{ p }[/math], to reszty [math]\displaystyle{ R_p (b_1), R_p (b_2), \ldots, R_p (b_{p - 1}) }[/math] są wszystkie dodatnie i różne, a ponieważ jest ich [math]\displaystyle{ p - 1 }[/math], czyli dokładnie tyle, ile jest różnych i dodatnich reszt z dzielenia przez liczbę [math]\displaystyle{ p }[/math], to zbiór tych reszt jest identyczny ze zbiorem dodatnich reszt z dzielenia przez [math]\displaystyle{ p }[/math], czyli ze zbiorem [math]\displaystyle{ A }[/math]. Zatem mamy

[math]\displaystyle{ A = A' = \{ R_p (b_1), R_p (b_2), \ldots, R_p (b_{p - 1}) \} = B' }[/math]

Na mocy twierdzenia H25 zbiory [math]\displaystyle{ A }[/math] i [math]\displaystyle{ B }[/math] są równe modulo [math]\displaystyle{ p }[/math].

Z twierdzenia H21 wiemy, że wszystkie liczby [math]\displaystyle{ b^{- 1}_k \in C }[/math] są różne modulo [math]\displaystyle{ p }[/math]. Zauważmy, że każda z tych liczb jest względnie pierwsza z [math]\displaystyle{ p }[/math], zatem nie może być podzielna przez [math]\displaystyle{ p }[/math]. Wynika stąd, że reszty [math]\displaystyle{ R_p (b^{- 1}_1), R_p (b^{- 1}_2), \ldots, R_p (b^{- 1}_{p - 1}) }[/math] są wszystkie dodatnie i różne, a ponieważ jest ich [math]\displaystyle{ p - 1 }[/math], czyli dokładnie tyle, ile jest różnych i dodatnich reszt z dzielenia przez liczbę [math]\displaystyle{ p }[/math], to zbiór tych reszt jest identyczny ze zbiorem dodatnich reszt z dzielenia przez [math]\displaystyle{ p }[/math], czyli ze zbiorem [math]\displaystyle{ A }[/math]. Zatem mamy

[math]\displaystyle{ A = A' = \{ R_p (b^{- 1}_1), R_p (b^{- 1}_2), \ldots, R_p (b^{- 1}_{p - 1}) \} = C' }[/math]

Na mocy twierdzenia H25 zbiory [math]\displaystyle{ A }[/math] i [math]\displaystyle{ C }[/math] są równe modulo [math]\displaystyle{ p }[/math]. Ponieważ [math]\displaystyle{ A' = B' }[/math] i [math]\displaystyle{ A' = C' }[/math], to [math]\displaystyle{ B' = C' }[/math] i ponownie na mocy twierdzenia H25 zbiory [math]\displaystyle{ B }[/math] i [math]\displaystyle{ C }[/math] są równe modulo [math]\displaystyle{ p }[/math]. Co należało pokazać.


Zadanie H27
Niech [math]\displaystyle{ p }[/math] będzie liczbą pierwszą nieparzystą. Pokazać, że suma [math]\displaystyle{ \sum_{k = 1}^{p - 1} {\small\frac{(p - 1) !}{k}} }[/math] jest podzielna przez [math]\displaystyle{ p }[/math].

Rozwiązanie

Zauważmy najpierw, że modulo [math]\displaystyle{ p }[/math] następujące sumy są równe

[math]\displaystyle{ \sum_{k = 1}^{p - 1} k \equiv \sum_{k = 1}^{p - 1} k^{- 1} \!\! \pmod{p} }[/math]

Istotnie, jeśli przyjmiemy w twierdzeniu H26, że zbiór [math]\displaystyle{ B = \{ 1, 2, \ldots, p - 1 \} }[/math], to zbiór [math]\displaystyle{ C }[/math] będzie zbiorem liczb, które są odwrotnościami liczb [math]\displaystyle{ 1, 2, \ldots, p - 1 }[/math] modulo [math]\displaystyle{ p }[/math] i możemy napisać

[math]\displaystyle{ \sum_{x \in B} x \equiv \sum_{y \in C} y \!\! \pmod{p} }[/math]

bo

  • gdy [math]\displaystyle{ x }[/math] przebiega kolejne wartości [math]\displaystyle{ b_k }[/math], to [math]\displaystyle{ x }[/math] przyjmuje kolejno wartości [math]\displaystyle{ 1, 2, \ldots, p - 1 }[/math]
  • gdy [math]\displaystyle{ y }[/math] przebiega kolejne wartości [math]\displaystyle{ b_k^{- 1} }[/math], to [math]\displaystyle{ y }[/math] (modulo [math]\displaystyle{ p }[/math]) przyjmuje wszystkie wartości ze zbioru [math]\displaystyle{ A = \{ 1, 2, \ldots, p - 1 \} }[/math], czyli liczba [math]\displaystyle{ y }[/math] (modulo [math]\displaystyle{ p }[/math]) przyjmuje wszystkie wartości [math]\displaystyle{ 1, 2, \ldots, p - 1 }[/math], ale w innej kolejności

Ponieważ kolejność sumowania tych samych składników nie wpływa na wartość sumy, to prawdziwa jest wyżej wypisana równość sum modulo [math]\displaystyle{ p }[/math].

Zatem modulo [math]\displaystyle{ p }[/math] otrzymujemy

[math]\displaystyle{ \sum_{k = 1}^{p - 1} {\small\frac{(p - 1) !}{k}} \equiv \sum_{k = 1}^{p - 1} (p - 1)! \cdot k^{- 1} }[/math]
[math]\displaystyle{ \;\;\: \equiv (p - 1) ! \cdot \sum_{k = 1}^{p - 1} k^{- 1} }[/math]
[math]\displaystyle{ \;\;\: \equiv (p - 1) ! \cdot \sum_{k = 1}^{p - 1} k }[/math]
[math]\displaystyle{ \;\;\: \equiv (p - 1) ! \cdot {\small\frac{(p - 1) p}{2}} }[/math]
[math]\displaystyle{ \;\;\: \equiv (p - 1) ! \cdot {\small\frac{p - 1}{2}} \cdot p }[/math]
[math]\displaystyle{ \;\;\: \equiv 0 \!\! \pmod{p} }[/math]

Należy zauważyć, że dla liczby pierwszej nieparzystej [math]\displaystyle{ p }[/math] liczba [math]\displaystyle{ {\small\frac{p - 1}{2}} }[/math] jest liczbą całkowitą.



Funkcje multiplikatywne

Definicja H28
Powiemy, że funkcja [math]\displaystyle{ f(n) }[/math] określona w zbiorze liczb całkowitych dodatnich jest funkcją multiplikatywną, jeżeli [math]\displaystyle{ f(1) = 1 }[/math] i dla względnie pierwszych liczb [math]\displaystyle{ a, b }[/math] spełniony jest warunek [math]\displaystyle{ f(a b) = f (a) f (b) }[/math].


Uwaga H29
Założenie [math]\displaystyle{ f(1) = 1 }[/math] możemy równoważnie zastąpić założeniem, że funkcja [math]\displaystyle{ f(n) }[/math] nie jest tożsamościowo równa zero. Gdyby [math]\displaystyle{ f(n) }[/math] spełniała jedynie warunek [math]\displaystyle{ f(a b) = f (a) f (b) }[/math] dla względnie pierwszych liczb [math]\displaystyle{ a, b }[/math], to mielibyśmy

a)   [math]\displaystyle{ f(n) }[/math] jest tożsamościowo równa zeru wtedy i tylko wtedy, gdy [math]\displaystyle{ f(1) = 0 }[/math]
b)   [math]\displaystyle{ f(n) }[/math] nie jest tożsamościowo równa zeru wtedy i tylko wtedy, gdy [math]\displaystyle{ f(1) = 1 }[/math]

Ponieważ [math]\displaystyle{ f(1) = f (1 \cdot 1) = f (1) f (1) }[/math], zatem [math]\displaystyle{ f(1) = 0 }[/math] lub [math]\displaystyle{ f (1) = 1 }[/math].

Jeżeli [math]\displaystyle{ f(1) = 0 }[/math], to dla dowolnego [math]\displaystyle{ n }[/math] mamy

[math]\displaystyle{ f(n) = f (n \cdot 1) = f (n) f (1) = 0 }[/math]

Czyli [math]\displaystyle{ f(n) }[/math] jest funkcją tożsamościowo równą zero.

Jeżeli [math]\displaystyle{ f(n) }[/math] nie jest funkcją tożsamościowo równą zero, to istnieje taka liczba [math]\displaystyle{ a \in \mathbb{Z}_+ }[/math], że [math]\displaystyle{ f(a) \neq 0 }[/math]. Zatem

[math]\displaystyle{ f(a) = f (a \cdot 1) = f (a) f (1) }[/math]

I dzieląc obie strony przez [math]\displaystyle{ f(a) \neq 0 }[/math], dostajemy [math]\displaystyle{ f(1) = 1 }[/math].


Przykład H30
Ponieważ [math]\displaystyle{ \gcd (1, c) = 1 }[/math], to [math]\displaystyle{ \gcd (n, c) }[/math] rozpatrywana jako funkcja [math]\displaystyle{ n }[/math], gdzie [math]\displaystyle{ c }[/math] jest ustaloną liczbą całkowitą, jest funkcją multiplikatywną (zobacz H8).


Twierdzenie H31
Jeżeli funkcja [math]\displaystyle{ f(n) }[/math] jest funkcją multiplikatywną, to funkcja

[math]\displaystyle{ F(n) = \sum_{d \mid n} f (d) }[/math]

gdzie sumowanie przebiega po wszystkich dzielnikach dodatnich liczby [math]\displaystyle{ n }[/math], jest również funkcją multiplikatywną.

Dowód

Ponieważ

[math]\displaystyle{ F(1) = \sum_{d \mid 1} f (d) = f (1) = 1 }[/math]

to funkcja [math]\displaystyle{ F(n) }[/math] spełnia pierwszy warunek definicji H28.

Niech [math]\displaystyle{ a, b }[/math] będą względnie pierwszymi liczbami dodatnimi. Każdy dzielnik dodatni iloczynu [math]\displaystyle{ a b }[/math] można zapisać w postaci [math]\displaystyle{ d = d_1 d_2 }[/math], gdzie [math]\displaystyle{ d_1 \mid a }[/math], [math]\displaystyle{ \; d_2 \mid b \, }[/math] oraz [math]\displaystyle{ \, \gcd (d_1, d_2) = 1 }[/math] (zobacz H14). Niech zbiory

[math]\displaystyle{ S_a = \{ d \in \mathbb{Z}_+ : d \mid a \} }[/math]
[math]\displaystyle{ S_b = \{ d \in \mathbb{Z}_+ : d \mid b \} }[/math]
[math]\displaystyle{ S_{a b} = \{ d \in \mathbb{Z}_+ : d \mid a b \} }[/math]

będą zbiorami dzielników dodatnich liczb [math]\displaystyle{ a, b }[/math] i [math]\displaystyle{ a b }[/math]. Dla przykładu

[math]\displaystyle{ S_5 = \{ 1, 5 \} }[/math]
[math]\displaystyle{ S_7 = \{ 1, 7 \} }[/math]
[math]\displaystyle{ S_{35} = \{ 1, 5, 7, 35 \} }[/math]

Dla dowolnego [math]\displaystyle{ d_1 \in S_a \, }[/math] i [math]\displaystyle{ \, d_2 \in S_b }[/math] musi być [math]\displaystyle{ \gcd (d_1, d_2) = 1 }[/math], bo gdyby było [math]\displaystyle{ \gcd (d_1, d_2) = g \gt 1 }[/math], to

[math]\displaystyle{ g \mid d_1 \quad \; \text{i} \quad \; d_1 \mid a \qquad \quad \Longrightarrow \qquad \quad g \mid a }[/math]
[math]\displaystyle{ g \mid d_2 \quad \; \text{i} \quad \; d_2 \mid b \qquad \quad \Longrightarrow \qquad \quad g \mid b }[/math]

Zatem [math]\displaystyle{ g \mid \gcd (a, b) }[/math] i mielibyśmy [math]\displaystyle{ \gcd (a, b) \geqslant g \gt 1 }[/math], wbrew założeniu.

Przekształcając, otrzymujemy

[math]\displaystyle{ F(a b) = \sum_{d \mid a b} f (d) }[/math]
[math]\displaystyle{ \;\;\;\;\: = \sum_{d \in S_{a b}} f (d) }[/math]
[math]\displaystyle{ \;\;\;\;\: = \underset{d_2 \in S_{b}}{\sum_{d_1 \in S_{a}}} f (d_1 d_2) }[/math]
[math]\displaystyle{ \;\;\;\;\: = \underset{d_2 \in S_{b}}{\sum_{d_1 \in S_{a}}} f (d_1) f (d_2) }[/math]
[math]\displaystyle{ \;\;\;\;\: = \sum_{d_1 \in S_{a}} f (d_1) \sum_{d_2 \in S_{b}} f (d_2) }[/math]
[math]\displaystyle{ \;\;\;\;\: = \sum_{d_1 \mid a} f (d_1) \sum_{d_2 \mid b} f (d_2) }[/math]
[math]\displaystyle{ \;\;\;\;\: = F (a) F (b) }[/math]

Co należało pokazać.



Funkcja Eulera [math]\displaystyle{ \varphi (n) }[/math]

Definicja H32
Funkcja Eulera [math]\displaystyle{ \varphi (n) }[/math][4] jest równa ilości liczb całkowitych dodatnich nie większych od [math]\displaystyle{ n }[/math] i względnie pierwszych z [math]\displaystyle{ n }[/math].


Twierdzenie H33
Funkcja Eulera [math]\displaystyle{ \varphi (n) }[/math] jest multiplikatywna, czyli dla względnie pierwszych liczb [math]\displaystyle{ m, n }[/math] jest [math]\displaystyle{ \varphi (m n) = \varphi (m) \varphi (n) }[/math].

Dowód

Niech [math]\displaystyle{ m, n }[/math] będą dodatnimi liczbami całkowitymi takimi, że [math]\displaystyle{ \gcd (m, n) = 1 }[/math]. Twierdzenie jest prawdziwe dla [math]\displaystyle{ n = 1 }[/math], zatem nie zmniejszając ogólności, możemy założyć, że [math]\displaystyle{ n \gt 1 }[/math]. Wypiszmy w tabeli wszystkie liczby od [math]\displaystyle{ 1 }[/math] do [math]\displaystyle{ m n }[/math].

1. Natychmiast widzimy, że w pierwszym wierszu mamy [math]\displaystyle{ \varphi (m) }[/math] liczb względnie pierwszych z [math]\displaystyle{ m }[/math]. Tak samo jest w każdym kolejnym wierszu, bo (zobacz H5)

[math]\displaystyle{ \gcd (r m + k, m) = \gcd (k, m) }[/math]

Zatem mamy dokładnie [math]\displaystyle{ \varphi (m) }[/math] kolumn liczb względnie pierwszych z [math]\displaystyle{ m }[/math].


2. Załóżmy, że liczba [math]\displaystyle{ k }[/math] jest jedną z liczb względnie pierwszych z [math]\displaystyle{ m }[/math], czyli [math]\displaystyle{ \gcd (k, m) = 1 }[/math]. Przy tym założeniu [math]\displaystyle{ k }[/math]-ta kolumna (pokazana w tabeli) jest kolumną liczb względnie pierwszych z [math]\displaystyle{ m }[/math].


3. Zauważmy, że reszty z dzielenia liczb wypisanych w [math]\displaystyle{ k }[/math]-tej kolumnie przez [math]\displaystyle{ n }[/math] są wszystkie różne. Gdyby tak nie było, to dla pewnych [math]\displaystyle{ i, j }[/math], gdzie [math]\displaystyle{ 0 \leqslant i, j \leqslant n - 1 }[/math], różnica liczb [math]\displaystyle{ i m + k }[/math] oraz [math]\displaystyle{ j m + k }[/math] byłaby podzielna przez [math]\displaystyle{ n }[/math]. Mielibyśmy

[math]\displaystyle{ n \mid ((i m + k) - (j m + k)) }[/math]

Skąd wynika natychmiast

[math]\displaystyle{ n \mid (i - j) m }[/math]

Ponieważ założyliśmy, że [math]\displaystyle{ \gcd (n, m) = 1 }[/math], to musi być [math]\displaystyle{ n \mid (i - j) }[/math] (zobacz C74), ale

[math]\displaystyle{ 0 \leqslant | i - j | \leqslant n - 1 }[/math]

Czyli [math]\displaystyle{ n }[/math] może dzielić [math]\displaystyle{ i - j }[/math] tylko w przypadku, gdy [math]\displaystyle{ i = j }[/math]. Wbrew naszemu przypuszczeniu, że istnieją różne liczby dające takie same reszty przy dzieleniu przez [math]\displaystyle{ n }[/math].


4. Ponieważ w [math]\displaystyle{ k }[/math]-tej kolumnie znajduje się dokładnie [math]\displaystyle{ n }[/math] liczb i reszty z dzielenia tych liczb przez [math]\displaystyle{ n }[/math] są wszystkie różne, to reszty te tworzą zbiór [math]\displaystyle{ S = \{ 0, 1, \ldots, n - 1 \} }[/math]. Wynika stąd, że liczby wypisane w [math]\displaystyle{ k }[/math]-tej kolumnie mogą być zapisane w postaci

[math]\displaystyle{ a_r = b_r \cdot n + r }[/math]

gdzie [math]\displaystyle{ r = 0, 1, \ldots, n - 1 }[/math] i [math]\displaystyle{ b_r \in \mathbb{Z} }[/math].

Zauważmy, że następujące ilości liczb są sobie równe

  •    ilość liczb w [math]\displaystyle{ k }[/math]-tej kolumnie względnie pierwszych z [math]\displaystyle{ n }[/math]
  •    ilość liczb [math]\displaystyle{ r }[/math] względnie pierwszych z [math]\displaystyle{ n }[/math], gdzie [math]\displaystyle{ r = 0, \ldots, n - 1 }[/math], bo [math]\displaystyle{ \gcd (b_r \cdot n + r, n) = \gcd (r, n) }[/math]
  •    ilość liczb [math]\displaystyle{ r }[/math] względnie pierwszych z [math]\displaystyle{ n }[/math], gdzie [math]\displaystyle{ r = 1, \ldots, n }[/math], bo [math]\displaystyle{ \gcd (n, n) = \gcd (0, n) = | n | \gt 1 }[/math]

Ostatnia ilość liczb jest równa [math]\displaystyle{ \varphi (n) }[/math], co wynika wprost z definicji funkcji [math]\displaystyle{ \varphi (n) }[/math].


5. Zbierając: mamy w wypisanej tabeli dokładnie [math]\displaystyle{ \varphi (m) \varphi (n) }[/math] liczb [math]\displaystyle{ u \in [1, m n] }[/math], dla których jednocześnie jest

[math]\displaystyle{ \gcd (u, m) = 1 \quad \text{i} \quad \gcd (u, n) = 1 }[/math]

Z twierdzenia H6 wynika, że w tabeli jest dokładnie [math]\displaystyle{ \varphi (m) \varphi (n) }[/math] liczb [math]\displaystyle{ u \in [1, m n] }[/math], dla których jest

[math]\displaystyle{ \gcd (u, m n) = 1 }[/math]

Zatem [math]\displaystyle{ \varphi (m n) = \varphi (m) \varphi (n) }[/math]. Co należało pokazać.


Twierdzenie H34
Dla dowolnej liczby całkowitej dodatniej [math]\displaystyle{ n }[/math] jest

[math]\displaystyle{ \varphi (n) = n \cdot \prod_{p|n} \left( 1 - {\small\frac{1}{p}} \right) }[/math]

gdzie iloczyn obliczamy po wszystkich liczbach pierwszych [math]\displaystyle{ p }[/math], będących dzielnikami liczby [math]\displaystyle{ n }[/math].

Dowód

Ponieważ wszystkie liczby naturalne mniejsze od liczby pierwszej [math]\displaystyle{ p }[/math] są jednocześnie pierwsze względem [math]\displaystyle{ p }[/math], to [math]\displaystyle{ \varphi (p) = p - 1 }[/math].

Równie łatwo znajdujemy wartość funkcji [math]\displaystyle{ \varphi (n) }[/math] w przypadku gdy [math]\displaystyle{ n }[/math] jest potęgą liczby pierwszej [math]\displaystyle{ n = p^k }[/math]. Wystarczy zauważyć, że w ciągu kolejnych liczb

[math]\displaystyle{ 1, 2, 3, 4, \ldots, p^k - 1, p^k }[/math]

jedynymi liczbami, które nie są pierwsze względem [math]\displaystyle{ p^k }[/math], są te, które dzielą się przez [math]\displaystyle{ p }[/math] i jest ich [math]\displaystyle{ p^{k - 1} }[/math], co widać natychmiast po ich bezpośrednim wypisaniu

[math]\displaystyle{ 1 \cdot p, 2 \cdot p, 3 \cdot p, \ldots, (p^{k - 1} - 1) \cdot p, p^{k - 1} \cdot p }[/math]

Zatem

[math]\displaystyle{ \varphi (p^k) = p^k - p^{k - 1} = p^k \left( 1 - {\small\frac{1}{p}} \right) }[/math]

Ponieważ [math]\displaystyle{ \varphi (n) }[/math] jest funkcją multiplikatywną, to dla [math]\displaystyle{ n = p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s }[/math] otrzymujemy

[math]\displaystyle{ \varphi (n) = \prod^s_{k = 1} \varphi (p^{\alpha_k}_k) }[/math]
[math]\displaystyle{ \;\;\; = \prod^s_{k = 1} p^{\alpha_k}_k \left( 1 - {\small\frac{1}{p_k}} \right) }[/math]
[math]\displaystyle{ \;\;\; = \left[ \prod^s_{k = 1} p^{\alpha_k}_k \right] \cdot \left[ \prod^s_{k = 1} \left( 1 - {\small\frac{1}{p_k}} \right) \right] }[/math]
[math]\displaystyle{ \;\;\; = n \cdot \prod^s_{k = 1} \left( 1 - {\small\frac{1}{p_k}} \right) }[/math]
[math]\displaystyle{ \;\;\; = n \cdot \prod_{p|n} \left( 1 - {\small\frac{1}{p}} \right) }[/math]

Co należało pokazać.


Twierdzenie H35
Niech [math]\displaystyle{ n \in \mathbb{Z}_+ }[/math]. Jeżeli [math]\displaystyle{ q }[/math] jest liczbą pierwszą, to

[math]\displaystyle{ \varphi (q n) = \left\{ \begin{array}{rl} (q - 1) \varphi (n) & \quad \text{gdy} \quad q \nmid n \\ q \varphi (n) & \quad \text{gdy} \quad q \mid n \\ \end{array} \right. }[/math]
Dowód

Jeżeli [math]\displaystyle{ q \nmid m }[/math], to [math]\displaystyle{ \gcd (q, m) = 1 }[/math], zatem [math]\displaystyle{ \varphi (q m) = \varphi (q) \varphi (m) = (q - 1) \varphi (m) }[/math]. Jeżeli [math]\displaystyle{ q \mid m }[/math], to liczby [math]\displaystyle{ m }[/math] oraz [math]\displaystyle{ q m }[/math] mają taki sam zbiór dzielników pierwszych, zatem

[math]\displaystyle{ \varphi (q m) = q m \prod_{p \mid q m} \left( 1 - {\small\frac{1}{p}} \right) = q \cdot \left[ m \prod_{p \mid m} \left( 1 - {\small\frac{1}{p}} \right) \right] = q \varphi (m) }[/math]

Co należało pokazać.


Zadanie H36
Niech [math]\displaystyle{ q \in \mathbb{P} }[/math] i [math]\displaystyle{ a, b, m, n \in \mathbb{Z}_+ }[/math]. Pokazać, że

  •    [math]\displaystyle{ \varphi (q^{a + b}) = q^a \varphi (q^b) }[/math]
  •    [math]\displaystyle{ \varphi (n^m) = n^{m - 1} \varphi (n) }[/math]
Rozwiązanie

Punkt 1.

[math]\displaystyle{ \varphi (q^{a + b}) = (q - 1) q^{a + b - 1} = q^a \cdot (q - 1) q^{b - 1} = q^a \varphi (q^b) }[/math]

Punkt 2.

Niech [math]\displaystyle{ n = p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s }[/math]

[math]\displaystyle{ \varphi (n^m) = \varphi (p^{m \alpha_1}_1 \cdot \ldots \cdot p^{m \alpha_s}_s) }[/math]
[math]\displaystyle{ \, = \varphi (p^{m \alpha_1}_1) \cdot \ldots \cdot \varphi (p^{m \alpha_s}_s) }[/math]
[math]\displaystyle{ \, = \varphi (p^{(m - 1) \alpha_1 + \alpha_1}_1) \cdot \ldots \cdot \varphi (p^{(m - 1) \alpha_s + \alpha_s}_s) }[/math]
[math]\displaystyle{ \, = p^{(m - 1) \alpha_1}_1 \varphi (p^{\alpha_1}_1) \cdot \ldots \cdot p^{(m - 1) \alpha_s}_s \varphi (p^{\alpha_s}_s) }[/math]
[math]\displaystyle{ \, = p^{(m - 1) \alpha_1}_1 \cdot \ldots \cdot p^{(m - 1) \alpha_s}_s \cdot \varphi (p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s) }[/math]
[math]\displaystyle{ \, = n^{m - 1} \varphi (n) }[/math]

Co należało pokazać.


Twierdzenie H37
Niech [math]\displaystyle{ m, n \in \mathbb{Z}_+ }[/math]. Jeżeli [math]\displaystyle{ m \mid n }[/math], to [math]\displaystyle{ \varphi (m) \mid \varphi (n) }[/math].

Dowód

Niech [math]\displaystyle{ n = p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s }[/math]. Ponieważ założyliśmy, że [math]\displaystyle{ m \mid n }[/math], to [math]\displaystyle{ m }[/math] musi być postaci [math]\displaystyle{ m = p^{\beta_1}_1 \cdot \ldots \cdot p^{\beta_s}_s }[/math], gdzie [math]\displaystyle{ 0 \leqslant \beta_i \leqslant \alpha_i }[/math], dla [math]\displaystyle{ i = 1, \ldots, s }[/math]. Łatwo zauważamy, że

  •    jeżeli [math]\displaystyle{ \beta_i = 0 }[/math], to [math]\displaystyle{ \varphi (p^{\beta_i}_i) = 1 }[/math] i dzieli [math]\displaystyle{ \varphi (p^{\alpha_i}_i) }[/math]
  •    jeżeli [math]\displaystyle{ 1 \leqslant \beta_i \leqslant \alpha_i }[/math], to [math]\displaystyle{ (p_i - 1) p_i^{\beta_i - 1} \mid (p_i - 1) p_i^{\alpha_i - 1} }[/math], zatem [math]\displaystyle{ \varphi (p^{\beta_i}_i) \mid \varphi (p^{\alpha_i}_i) }[/math]

Skąd natychmiast wynika, że [math]\displaystyle{ \varphi (p^{\beta_1}_1) \cdot \ldots \cdot \varphi (p^{\beta_s}_s) }[/math] dzieli [math]\displaystyle{ \varphi (p^{\alpha_1}_1) \cdot \ldots \cdot \varphi (p^{\alpha_s}_s) }[/math], czyli [math]\displaystyle{ \varphi (m) \mid \varphi (n) }[/math].

Zauważmy, że twierdzenie odwrotne nie jest prawdziwe, bo [math]\displaystyle{ \varphi (7) \mid \varphi (19) }[/math], ale [math]\displaystyle{ 7 \nmid 19 }[/math].


Zadanie H38
Dla [math]\displaystyle{ n \geqslant 3 }[/math] wartości [math]\displaystyle{ \varphi (n) }[/math] są liczbami parzystymi.

Rozwiązanie

Jeżeli liczba [math]\displaystyle{ n \geqslant 3 }[/math] jest podzielna przez liczbę pierwszą nieparzystą [math]\displaystyle{ p }[/math], zaś [math]\displaystyle{ k }[/math] jest wykładnikiem, z jakim [math]\displaystyle{ p }[/math] wchodzi do rozwinięcia [math]\displaystyle{ n }[/math] na czynniki pierwsze, to

[math]\displaystyle{ \varphi (n) = \varphi \left( p^k \cdot {\small\frac{n}{p^k}} \right) = (p - 1) p^{k - 1} \cdot \varphi \left( {\small\frac{n}{p^k}} \right) }[/math]

zatem [math]\displaystyle{ \varphi (n) }[/math] jest liczbą parzystą, ponieważ [math]\displaystyle{ p - 1 }[/math] jest liczbą parzystą.

Jeżeli żadna liczba nieparzysta nie dzieli [math]\displaystyle{ n }[/math], to liczba [math]\displaystyle{ n }[/math] jest postaci [math]\displaystyle{ n = 2^a }[/math] i [math]\displaystyle{ \varphi (n) = 2^{a - 1} }[/math], ale z założenia [math]\displaystyle{ n \geqslant 3 }[/math], zatem [math]\displaystyle{ a \geqslant 2 }[/math] i [math]\displaystyle{ \varphi (n) }[/math] jest liczbą parzystą.


Twierdzenie H39
Jeżeli [math]\displaystyle{ n }[/math] jest liczbą złożoną, to [math]\displaystyle{ \varphi (n) \leqslant n - \sqrt{n} }[/math].

Dowód

Pierwszy sposób
Niech [math]\displaystyle{ n = a b }[/math], gdzie [math]\displaystyle{ 1 \lt a \leqslant b \lt n }[/math]. Liczby [math]\displaystyle{ 1 \cdot a, 2 \cdot a, 3 \cdot a, \ldots, b \cdot a }[/math] są nie większe od [math]\displaystyle{ n }[/math] i nie są względnie pierwsze z [math]\displaystyle{ n }[/math], zatem

[math]\displaystyle{ \varphi (n) \leqslant n - b }[/math]

Ponieważ [math]\displaystyle{ b \geqslant a }[/math], to [math]\displaystyle{ b^2 \geqslant a b = n }[/math] i [math]\displaystyle{ b \geqslant \sqrt{n} }[/math]. Wynika stąd, że

[math]\displaystyle{ \varphi (n) \leqslant n - b \leqslant n - \sqrt{n} }[/math]


Drugi sposób
Niech [math]\displaystyle{ q }[/math] oznacza najmniejszy dzielnik pierwszy liczby złożonej [math]\displaystyle{ n }[/math], zatem [math]\displaystyle{ q^2 \leqslant n }[/math], czyli [math]\displaystyle{ q \leqslant \sqrt{n} }[/math], a stąd [math]\displaystyle{ {\small\frac{n}{q}} \geqslant \sqrt{n} }[/math] i

[math]\displaystyle{ \varphi (n) = n \cdot \prod_{p|n} \left( 1 - {\small\frac{1}{p}} \right) \leqslant n \left( 1 - {\small\frac{1}{q}} \right) = n - {\small\frac{n}{q}} \leqslant n - \sqrt{n} }[/math]

Co należało pokazać.


Twierdzenie H40
Dla [math]\displaystyle{ n \geqslant 1 }[/math] prawdziwe jest oszacowanie [math]\displaystyle{ \varphi (n) \gt {\small\frac{\sqrt{n}}{2}} }[/math].

Dowód

Dla [math]\displaystyle{ k \geqslant 3 }[/math] jest

[math]\displaystyle{ \left( 1 - {\small\frac{1}{k}} \right)^2 \gt {\small\frac{1}{k}} }[/math]

Wynika stąd, że jeżeli [math]\displaystyle{ m \geqslant 3 }[/math] jest liczbą nieparzystą, to

[math]\displaystyle{ \varphi (m)^2 = m^2 \prod_{p|m} \left( 1 - {\small\frac{1}{p}} \right)^2 \gt m^2 \prod_{p|m} {\small\frac{1}{p}} \geqslant m }[/math]

bo

[math]\displaystyle{ \prod_{p|m} p \leqslant m }[/math]

Czyli dla nieparzystych liczb [math]\displaystyle{ m \geqslant 3 }[/math] mamy

[math]\displaystyle{ \varphi (m) \gt \sqrt{m} \gt {\small\frac{\sqrt{m}}{2}} }[/math]


Jeżeli [math]\displaystyle{ d = 2^a }[/math], gdzie [math]\displaystyle{ a \geqslant 1 }[/math], to

[math]\displaystyle{ \varphi (d) = \varphi (2^a) = 2^{a - 1} \gt {\small\frac{\sqrt{2^a}}{2}} = {\small\frac{\sqrt{d}}{2}} }[/math]


W przypadku ogólnym, gdy [math]\displaystyle{ n }[/math] jest iloczynem liczby nieparzystej [math]\displaystyle{ m \geqslant 3 }[/math] i potęgi liczby [math]\displaystyle{ 2 }[/math], dostajemy

[math]\displaystyle{ \varphi (n) = \varphi (2^a m) = \varphi (2^a) \varphi (m) \gt {\small\frac{\sqrt{2^a}}{2}} \cdot \sqrt{m} = {\small\frac{\sqrt{2^a m}}{2}} = {\small\frac{\sqrt{n}}{2}} }[/math]

Oczywiście nierówność [math]\displaystyle{ \varphi (n) \gt {\small\frac{\sqrt{n}}{2}} }[/math] jest również prawdziwa dla [math]\displaystyle{ n = 1 }[/math]. Co należało pokazać.


Zadanie H41
Pokazać, że dla [math]\displaystyle{ n \geqslant 7 }[/math] prawdziwe jest oszacowanie [math]\displaystyle{ \varphi (n) \gt \sqrt{n} }[/math].

Rozwiązanie

Zauważmy, że

[math]\displaystyle{ n - 1 \gt \sqrt{n} \qquad \qquad \;\, \text{dla} \; n \geqslant 3 }[/math]
[math]\displaystyle{ n - 1 \gt \sqrt{2 n} \qquad \qquad \text{dla} \; n \geqslant 4 }[/math]


Zatem dla liczby pierwszej [math]\displaystyle{ p }[/math] i [math]\displaystyle{ k \geqslant 1 }[/math] jest

[math]\displaystyle{ \varphi (p^k) = (p - 1) p^{k - 1} \gt \sqrt{p} \cdot p^{k - 1} = p^{k - \tfrac{1}{2}} \geqslant p^{\tfrac{k}{2}} = \sqrt{p^k} \qquad \qquad \qquad \qquad \quad \; \text{dla} \;\: p \geqslant 3 }[/math]
[math]\displaystyle{ \varphi (p^k) = (p - 1) p^{k - 1} \gt \sqrt{2 p} \cdot p^{k - 1} = \sqrt{2} \cdot p^{k - \tfrac{1}{2}} \geqslant \sqrt{2} \cdot p^{\tfrac{k}{2}} = \sqrt{2 p^k} \qquad \qquad \text{dla} \;\, p \geqslant 5 }[/math]


1. Przypadek, gdy [math]\displaystyle{ \boldsymbol{n \geqslant 3} }[/math] jest liczbą nieparzystą

Liczba [math]\displaystyle{ n }[/math] jest iloczynem czynników pierwszych nieparzystych, zatem

[math]\displaystyle{ \varphi (n) = \varphi (p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s) = \varphi (p^{\alpha_1}_1) \cdot \ldots \cdot \varphi (p^{\alpha_s}_s) \gt \sqrt{p^{\alpha_1}_1} \cdot \ldots \cdot \sqrt{p^{\alpha_s}_s} = \sqrt{n} }[/math]


2. Przypadek, gdy [math]\displaystyle{ \boldsymbol{n = 2^a m} \; }[/math] i [math]\displaystyle{ \; \boldsymbol{q \mid m ,} \; }[/math] gdzie [math]\displaystyle{ \; \boldsymbol{q \geqslant 5} }[/math]

Z założenia [math]\displaystyle{ n = 2^a m = 2^a q^b r }[/math], gdzie [math]\displaystyle{ r \geqslant 1 }[/math] jest liczbą nieparzystą. Zauważmy, że [math]\displaystyle{ \varphi (r) \geqslant \sqrt{r} }[/math], bo może być [math]\displaystyle{ r = 1 }[/math].

[math]\displaystyle{ \varphi (n) = \varphi (2^a q^b r) }[/math]
[math]\displaystyle{ \;\;\,\, = \varphi (2^a) \varphi (q^b) \varphi (r) }[/math]
[math]\displaystyle{ \;\;\,\, \gt 2^{a - 1} \sqrt{2 q^b} \sqrt{r} }[/math]
[math]\displaystyle{ \;\;\,\, = 2^{a - \tfrac{1}{2}} \sqrt{q^b} \sqrt{r} }[/math]
[math]\displaystyle{ \;\;\,\, \geqslant 2^{\tfrac{a}{2}} \sqrt{q^b r} }[/math]
[math]\displaystyle{ \;\;\,\, = \sqrt{2^a q^b r} }[/math]
[math]\displaystyle{ \;\;\,\, = \sqrt{n} }[/math]


3. Przypadek, gdy [math]\displaystyle{ \boldsymbol{n = 2^a m} \; }[/math] i [math]\displaystyle{ \; \boldsymbol{q \nmid m ,} \; }[/math] gdzie [math]\displaystyle{ \; \boldsymbol{q \geqslant 5} }[/math]

Jeżeli żadna liczba pierwsza [math]\displaystyle{ q \geqslant 5 }[/math] nie dzieli [math]\displaystyle{ m }[/math], to możliwe są tylko dwie sytuacje: [math]\displaystyle{ n = 2^a \, }[/math] i [math]\displaystyle{ \, n = 2^a 3^b }[/math].

3a. Przypadek, gdy [math]\displaystyle{ \boldsymbol{n = 2^a} }[/math]

[math]\displaystyle{ \varphi (n) = \varphi (2^a) = 2^{a - 1} \gt \sqrt{2^a} = \sqrt{n} \qquad \qquad \;\, \text{dla} \; a \geqslant 3 }[/math]

Twierdzenie nie jest prawdziwe dla [math]\displaystyle{ n = 2 \, }[/math] i [math]\displaystyle{ \, n = 4 \,\, }[/math] (gdy [math]\displaystyle{ a = 1 \, }[/math] lub [math]\displaystyle{ \, a = 2 }[/math]).

3b. Przypadek, gdy [math]\displaystyle{ \boldsymbol{n = 2^a 3^b} }[/math]

[math]\displaystyle{ \varphi (n) = \varphi (2^a 3^b) = \varphi (2^a) \varphi (3^b) = 2^{a - 1} \cdot 2 \cdot 3^{b - 1} = 2^a 3^{b - 1} = \sqrt{2^a 3^b} \cdot {\small\frac{\sqrt{2^a 3^b}}{3}} \gt \sqrt{2^a 3^b} }[/math]

Ostatnia nierówność jest prawdziwa, o ile [math]\displaystyle{ \sqrt{2^a 3^b} \gt 3 }[/math], czyli gdy [math]\displaystyle{ 2^a 3^b \gt 9 }[/math], co ma miejsce, gdy [math]\displaystyle{ a \geqslant 2 }[/math] lub [math]\displaystyle{ b \geqslant 2 }[/math].

Twierdzenie nie jest prawdziwe dla [math]\displaystyle{ n = 6 \; }[/math] (gdy [math]\displaystyle{ a = 1 \, }[/math] i [math]\displaystyle{ \, b = 1 }[/math]).


Zbierając uzyskane wyniki, otrzymujemy: oszacowanie [math]\displaystyle{ \varphi (n) \gt \sqrt{n} }[/math] nie jest prawdziwe dla [math]\displaystyle{ n = 1, 2, 4, 6 }[/math]. Co należało pokazać.


Zadanie H42
Pokazać, że dla [math]\displaystyle{ n \geqslant 2 }[/math] prawdziwe jest oszacowanie [math]\displaystyle{ \varphi (n) \gt {\small\frac{n}{3 \log n}} }[/math]. Korzystając z tego wyniku, pokazać, że [math]\displaystyle{ \varphi (n) \gt n^{2 / 3} }[/math] dla [math]\displaystyle{ n \geqslant 43 }[/math] oraz że [math]\displaystyle{ \varphi (n) \gt n^{3 / 4} }[/math] dla [math]\displaystyle{ n \geqslant 211 }[/math].

Rozwiązanie

Niech [math]\displaystyle{ n = q^{\alpha_1}_1 \cdot \ldots \cdot q^{\alpha_s}_s }[/math], a [math]\displaystyle{ n' = q_1 \cdot \ldots \cdot q_s }[/math] oznacza liczbę, będącą iloczynem dokładnie tych samych czynników pierwszych, jakie występują w liczbie [math]\displaystyle{ n }[/math], natomiast [math]\displaystyle{ n^{\!\ast} = p_1 \cdot \ldots \cdot p_s }[/math] oznacza liczbę, będącą iloczynem dokładnie tej samej ilości czynników pierwszych, przy czym [math]\displaystyle{ p_i }[/math] oznacza teraz [math]\displaystyle{ i }[/math]-tą liczbę pierwszą.

Ponieważ

[math]\displaystyle{ {\small\frac{\varphi (n)}{n}} = \prod_{p \mid n} \left( 1 - {\small\frac{1}{p}} \right) }[/math]

to

[math]\displaystyle{ {\small\frac{\varphi (n)}{n}} = {\small\frac{\varphi (n')}{n'}} \geqslant {\small\frac{\varphi (n^{\!\ast})}{n^{\!\ast}}} = \prod^s_{i = 1} \left( 1 - {\small\frac{1}{p_i}} \right) \geqslant \prod^{p_s}_{k = 2} \left( 1 - {\small\frac{1}{k}} \right) = {\small\frac{1}{p_s}} }[/math]

Ostatnia równość wynika z prostego wzoru

[math]\displaystyle{ \prod^m_{k = 2} \left( 1 - {\small\frac{1}{k}} \right) = {\small\frac{1}{2}} \cdot {\small\frac{2}{3}} \cdot {\small\frac{3}{4}} \cdot \ldots \cdot {\small\frac{m - 2}{m - 1}} \cdot {\small\frac{m - 1}{m}} = {\small\frac{1}{m}} }[/math]


Musimy oszacować wartość liczby [math]\displaystyle{ p_s }[/math]. Z twierdzenia B31 wynika, że dla [math]\displaystyle{ m \geqslant 2 }[/math] jest [math]\displaystyle{ P(m) \geqslant 2^{m / 2} }[/math], gdzie funkcja [math]\displaystyle{ P(m) }[/math] jest równa iloczynowi wszystkich liczb pierwszych nie większych od [math]\displaystyle{ m }[/math]. Zatem dla [math]\displaystyle{ p_s \geqslant 2 }[/math] jest

[math]\displaystyle{ n^{\!\ast} = p_1 \cdot \ldots \cdot p_s = P (p_s) \geqslant 2^{p_s / 2} }[/math]

Logarytmując, otrzymujemy

[math]\displaystyle{ p_s \leqslant {\small\frac{2 \log n^{\!\ast}}{\log 2}} }[/math]

Ponieważ [math]\displaystyle{ n \geqslant n' \geqslant n^{\!\ast} }[/math], to

[math]\displaystyle{ {\small\frac{\varphi (n)}{n}} \geqslant {\small\frac{1}{p_s}} \geqslant {\small\frac{\log 2}{2 \log n^{\!\ast}}} \geqslant {\small\frac{\log 2}{2 \log n}} \gt {\small\frac{1}{3 \log n}} }[/math]

Ostatecznie otrzymujemy

[math]\displaystyle{ \varphi (n) \gt {\small\frac{n}{3 \log n}} }[/math]

Co należało pokazać.


Rozwiązując drugą część zadania, wystarczy znaleźć, dla jakich [math]\displaystyle{ n }[/math] prawdziwa jest nierówność

[math]\displaystyle{ {\small\frac{n}{3 \log n}} \gt n^{2 / 3} }[/math]

Przebieg funkcji [math]\displaystyle{ {\small\frac{n}{3 \log n}} \, }[/math] i [math]\displaystyle{ \, n^{2 / 3} }[/math] przedstawiliśmy na wykresie

Euler1.png

Punkt przecięcia tych funkcji znajdujemy, wpisując w PARI/GP polecenie

solve(n = 10, 10^5, n/(3*log(n)) - n^(2/3))

Otrzymujemy

[math]\displaystyle{ n = 29409.965 }[/math]

Zatem [math]\displaystyle{ {\small\frac{n}{3 \log n}} \gt n^{2 / 3} }[/math] dla [math]\displaystyle{ n \gt 2.95 \cdot 10^4 }[/math].

Poleceniem

for(n = 1, 3*10^4, if( eulerphi(n) <= n^(2/3), print(n) ))

sprawdzamy, że oszacowanie [math]\displaystyle{ \varphi (n) \gt n^{2 / 3} }[/math] jest prawdziwe dla [math]\displaystyle{ n \geqslant 43 }[/math].


Postępując analogicznie jak wyżej, znajdujemy, dla jakich [math]\displaystyle{ n }[/math] prawdziwa jest nierówność

[math]\displaystyle{ {\small\frac{n}{3 \log n}} \gt n^{3 / 4} }[/math]

Wpisując w PARI/GP polecenie

solve(n = 10, 10^7, n/(3*log(n)) - n^(3/4))

otrzymujemy

[math]\displaystyle{ n = 4447862.680 }[/math]

Zatem [math]\displaystyle{ {\small\frac{n}{3 \log n}} \gt n^{3 / 4} }[/math] dla [math]\displaystyle{ n \gt 4.45 \cdot 10^6 }[/math]

Poleceniem

for(n = 1, 5*10^6, if( eulerphi(n) <= n^(3/4), print(n) ))

sprawdzamy, że oszacowanie [math]\displaystyle{ \varphi (n) \gt n^{3 / 4} }[/math] jest prawdziwe dla [math]\displaystyle{ n \geqslant 211 }[/math]. Co należało pokazać.


Twierdzenie H43
Niech [math]\displaystyle{ n \in \mathbb{Z}_+ }[/math]. Liczba [math]\displaystyle{ n }[/math] jest liczbą pierwszą wtedy i tylko wtedy, gdy [math]\displaystyle{ \varphi (n) = n - 1 }[/math].

Dowód

Dla liczb złożonych [math]\displaystyle{ n \geqslant 4 }[/math] nigdy nie będzie [math]\displaystyle{ \varphi (n) = n - 1 }[/math], bo

[math]\displaystyle{ \varphi (n) \leqslant n - \sqrt{n} \leqslant n - 2 }[/math]

Dla [math]\displaystyle{ n = 1, 2, 3 }[/math] sprawdzamy bezpośrednio: [math]\displaystyle{ \varphi (1) = 1 \neq 1 - 1 }[/math], [math]\displaystyle{ \varphi (2) = 1 = 2 - 1 }[/math], [math]\displaystyle{ \varphi (3) = 2 = 3 - 1 }[/math]. Co kończy dowód.


Twierdzenie H44
Dla dowolnej liczby całkowitej dodatniej [math]\displaystyle{ n }[/math] jest

[math]\displaystyle{ n = \sum_{d \mid n} \varphi (d) = \sum_{d \mid n} \varphi \left( {\small\frac{n}{d}} \right) }[/math]

gdzie sumowanie przebiega po wszystkich dzielnikach dodatnich liczby [math]\displaystyle{ n }[/math].

Dowód

Ponieważ [math]\displaystyle{ \varphi (n) }[/math] jest funkcją multiplikatywną, to funkcja

[math]\displaystyle{ F(n) = \sum_{d \mid n} \varphi (d) }[/math]

też jest funkcją multiplikatywną (zobacz H31). Łatwo sprawdzamy, że twierdzenie jest prawdziwe dla [math]\displaystyle{ n = 1 }[/math]. Niech [math]\displaystyle{ n \gt 1 }[/math]. Jeżeli [math]\displaystyle{ n = p^{\alpha} }[/math] jest potęgą liczby pierwszej, to otrzymujemy

[math]\displaystyle{ F (p^{\alpha}) = \sum_{d \mid p^{\alpha}} \varphi (d) }[/math]
[math]\displaystyle{ = \varphi (1) + \varphi (p) + \varphi (p^2) + \ldots + \varphi (p^{\alpha}) = }[/math]
[math]\displaystyle{ = 1 + (p - 1) + p (p - 1) + \ldots + p^{\alpha - 1} (p - 1) = }[/math]
[math]\displaystyle{ = 1 + (p - 1) + (p^2 - p) + \ldots + (p^{\alpha} - p^{\alpha - 1}) }[/math]
[math]\displaystyle{ = p^{\alpha} }[/math]

Jeżeli [math]\displaystyle{ n }[/math] jest postaci [math]\displaystyle{ n = p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s }[/math], to

[math]\displaystyle{ F(n) = F (p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s) = }[/math]
[math]\displaystyle{ \;\;\;\, = F (p^{\alpha_1}_1) \cdot \ldots \cdot F (p^{\alpha_s}_s) = }[/math]
[math]\displaystyle{ \;\;\;\, = p^{\alpha_1}_1 \cdot \ldots \cdot p^{\alpha_s}_s }[/math]
[math]\displaystyle{ \;\;\;\, = n }[/math]

Niech [math]\displaystyle{ 1 \lt d_1 \lt d_2 \lt \ldots \lt n }[/math] będą dzielnikami liczby [math]\displaystyle{ n }[/math]. Zauważmy, że kiedy [math]\displaystyle{ d }[/math] przebiega zbiór dzielników [math]\displaystyle{ \{ 1, d_1, d_2, \ldots, n \} }[/math], to [math]\displaystyle{ e = {\small\frac{n}{d}} }[/math] przebiega wszystkie te liczby tylko w odwrotnej kolejności. Zatem

[math]\displaystyle{ \sum_{d \mid n} \varphi (d) = \sum_{d \mid n} \varphi \left( {\small\frac{n}{d}} \right) }[/math]

Co należało pokazać.


Zadanie H45
Niech [math]\displaystyle{ n \geqslant 2 }[/math]. Pokazać, że suma liczb całkowitych dodatnich nie większych od [math]\displaystyle{ n }[/math] i względnie pierwszych z [math]\displaystyle{ n }[/math] jest równa [math]\displaystyle{ {\small\frac{1}{2}} n \varphi (n) }[/math].

Rozwiązanie

Łatwo sprawdzamy, że wzór jest prawdziwy dla [math]\displaystyle{ n = 2 }[/math] i odtąd będziemy przyjmowali, że [math]\displaystyle{ n \geqslant 3 }[/math]. Zatem wartości [math]\displaystyle{ \varphi (n) }[/math] są liczbami parzystymi i niech [math]\displaystyle{ c = {\small\frac{1}{2}} \varphi (n) }[/math]. Zauważmy, że jeżeli liczba [math]\displaystyle{ a }[/math] jest względnie pierwsza z [math]\displaystyle{ n }[/math], to liczba [math]\displaystyle{ n - a }[/math] jest również względnie pierwsza z [math]\displaystyle{ n }[/math], bo [math]\displaystyle{ \gcd (a, n) = \gcd (n - a, n) }[/math]. Wypiszmy wszystkie liczby całkowite dodatnie nie większe od [math]\displaystyle{ n }[/math] i względnie pierwsze z [math]\displaystyle{ n }[/math] w kolejności rosnącej, a pod spodem w kolejności malejącej

Suma liczb w każdej kolumnie jest równa [math]\displaystyle{ n }[/math]. Ponieważ ilość liczb względnie pierwszych z [math]\displaystyle{ n }[/math] jest równa [math]\displaystyle{ \varphi (n) }[/math], to podwojona suma liczb całkowitych nie większych od [math]\displaystyle{ n }[/math] i pierwszych względem [math]\displaystyle{ n }[/math] wynosi [math]\displaystyle{ n \varphi (n) }[/math]. Co należało pokazać.


Zadanie H46
Pokazać, że dla liczb naturalnych nieparzystych [math]\displaystyle{ n \geqslant 5 }[/math] prawdziwe jest oszacowanie [math]\displaystyle{ \varphi (n) \gt \pi (n) }[/math].

Rozwiązanie

1. Jeżeli [math]\displaystyle{ n \geqslant 5 }[/math] jest liczbą pierwszą, to liczbami pierwszymi względem [math]\displaystyle{ n }[/math] są wszystkie liczby pierwsze mniejsze od [math]\displaystyle{ n }[/math] oraz liczby [math]\displaystyle{ 1, 4 }[/math]. Zatem

[math]\displaystyle{ \varphi (n) \geqslant \pi (n) - 1 + 2 \gt \pi (n) }[/math].

2. Jeżeli [math]\displaystyle{ n = p^a }[/math], gdzie [math]\displaystyle{ a \geqslant 2 }[/math], jest potęgą liczby pierwszej nieparzystej, to [math]\displaystyle{ n \geqslant 9 }[/math] i liczbami pierwszymi względem [math]\displaystyle{ n }[/math] są wszystkie liczby pierwsze nie większe od [math]\displaystyle{ n }[/math] (oprócz liczby [math]\displaystyle{ p }[/math]) oraz liczby [math]\displaystyle{ 1, 4, 8 }[/math]. Zatem

[math]\displaystyle{ \varphi (n) \geqslant \pi (n) - 1 + 3 \gt \pi (n) }[/math].

3. Jeżeli [math]\displaystyle{ n }[/math] ma więcej niż jeden dzielnik pierwszy nieparzysty, to [math]\displaystyle{ n = q^{\alpha_1}_1 \cdot \ldots \cdot q^{\alpha_s}_s }[/math], gdzie [math]\displaystyle{ s \geqslant 2 }[/math]. Zauważmy, że

[math]\displaystyle{ n = q^{\alpha_1}_1 \cdot \ldots \cdot q^{\alpha_s}_s \geqslant q_1 \cdot \ldots \cdot q_s \geqslant 3 \cdot 5^{s - 1} \gt 2^{2 s - 1} }[/math]

Liczbami pierwszymi względem [math]\displaystyle{ n }[/math] są wszystkie liczby pierwsze nie większe od [math]\displaystyle{ n }[/math] (oprócz liczb [math]\displaystyle{ q_1, \ldots, q_s }[/math]) oraz liczby [math]\displaystyle{ 1, 2^2, 2^3, \ldots, 2^{2 s - 1} }[/math]. Zatem

[math]\displaystyle{ \varphi (n) \geqslant \pi (n) - s + 2 s - 1 = \pi (n) + s - 1 \gt \pi (n) }[/math]

Co należało pokazać.


Zadanie H47
Pokazać, że dla liczb naturalnych [math]\displaystyle{ n \geqslant 91 }[/math] prawdziwe jest oszacowanie [math]\displaystyle{ \varphi (n) \gt \pi (n) }[/math].

Rozwiązanie

Ponieważ [math]\displaystyle{ p_{2 s} \gt 1 }[/math] i [math]\displaystyle{ p_{2 s} \geqslant p_{s + 1} }[/math], to z zadania A40 natychmiast wynika nierówność

[math]\displaystyle{ p_1 p_2 \cdot \ldots \cdot p_s \gt p_{s + 1} p_{2 s} }[/math]

która jest prawdziwa dla [math]\displaystyle{ n \geqslant 4 }[/math].

Pokażemy najpierw, że dla każdej liczby naturalnej mającej nie mniej niż cztery dzielniki pierwsze nierówność [math]\displaystyle{ \varphi (n) \gt \pi (n) }[/math] jest zawsze prawdziwa.

Przez [math]\displaystyle{ p_1, p_2, \ldots, p_k, \ldots }[/math] oznaczymy kolejne liczby pierwsze. Niech [math]\displaystyle{ n \geqslant 2 }[/math] będzie liczbą naturalną i [math]\displaystyle{ n = q^{\alpha_1}_1 \cdot \ldots \cdot q^{\alpha_s}_s }[/math], gdzie [math]\displaystyle{ q_i }[/math] oznaczają dowolne (nie muszą być kolejne) liczby pierwsze.

Wśród kolejnych [math]\displaystyle{ 2 s }[/math] liczb pierwszych znajduje się przynajmniej [math]\displaystyle{ s }[/math] liczb pierwszych różnych od każdej z liczb [math]\displaystyle{ q_1, \ldots, q_s }[/math]. Jeśli oznaczymy te liczby (w rosnącej kolejności) przez [math]\displaystyle{ r_1, \ldots, r_s }[/math], to łatwo zauważymy, że prawdziwe są dla nich następujące oszacowania

  •    dla najmniejszej liczby [math]\displaystyle{ r_1 \leqslant p_{s + 1} }[/math]
  •    dla wszystkich liczb [math]\displaystyle{ r_j \leqslant p_{2 s} }[/math] dla [math]\displaystyle{ j = 1, \ldots, s }[/math].

Korzystając z wypisanej na początku dowodu nierówności, dla [math]\displaystyle{ s \geqslant 4 }[/math] mamy

[math]\displaystyle{ n = q^{\alpha_1}_1 \cdot \ldots \cdot q^{\alpha_s}_s \geqslant q_1 \cdot \ldots \cdot q_s \geqslant p_1 \cdot \ldots \cdot p_s \gt p_{s + 1} p_{2 s} \geqslant r_1 \cdot r_j }[/math]

gdzie [math]\displaystyle{ j = 1, \ldots, s }[/math].

Wynika stąd, że jeśli [math]\displaystyle{ s \geqslant 4 }[/math], to liczbami pierwszymi względem [math]\displaystyle{ n }[/math] są wszystkie liczby pierwsze nie większe od [math]\displaystyle{ n }[/math] (oprócz liczb pierwszych [math]\displaystyle{ q_1, \ldots, q_s }[/math]) oraz liczby [math]\displaystyle{ 1 }[/math] i [math]\displaystyle{ r_1 r_j }[/math], gdzie [math]\displaystyle{ j = 1, \ldots, s }[/math]. Zatem

[math]\displaystyle{ \varphi (n) \geqslant \pi (n) - s + s + 1\gt \pi (n) }[/math]

Co mieliśmy pokazać.


Uwzględniając rezultat pokazany w zadaniu H46, pozostaje sprawdzić przypadki gdy [math]\displaystyle{ n = 2^a }[/math], [math]\displaystyle{ n = 2^a p^b }[/math], [math]\displaystyle{ n = 2^a p^b q^c }[/math], gdzie [math]\displaystyle{ a, b, c \in \mathbb{Z}_+ }[/math].

1. Niech [math]\displaystyle{ n = 2^a }[/math]. Jeśli [math]\displaystyle{ n \geqslant 16 }[/math], to liczbami pierwszymi względem [math]\displaystyle{ n }[/math] są wszystkie liczby pierwsze nie większe od [math]\displaystyle{ n }[/math] (oprócz liczby [math]\displaystyle{ 2 }[/math]) oraz liczby [math]\displaystyle{ 1, 9, 15 }[/math]. Zatem

[math]\displaystyle{ \varphi (n) \geqslant \pi (n) - 1 + 3 \gt \pi (n) }[/math]

2. Niech [math]\displaystyle{ n = 2^a p^b }[/math], zaś [math]\displaystyle{ r }[/math] będzie najmniejszą liczbą pierwszą nieparzystą różną od [math]\displaystyle{ p }[/math]. Oczywiście [math]\displaystyle{ r \in \{ 3, 5 \} }[/math] i jeśli tylko [math]\displaystyle{ n \gt 5^3 = 125 }[/math], to liczbami pierwszymi względem [math]\displaystyle{ n }[/math] są wszystkie liczby pierwsze nie większe od [math]\displaystyle{ n }[/math] (oprócz liczb pierwszych [math]\displaystyle{ 2 }[/math] i [math]\displaystyle{ p }[/math]) oraz liczby [math]\displaystyle{ 1, r^2, r^3 }[/math]. Zatem

[math]\displaystyle{ \varphi (n) \geqslant \pi (n) - 2 + 3 \gt \pi (n) }[/math]

3. Niech [math]\displaystyle{ n = 2^a p^b q^c }[/math], zaś [math]\displaystyle{ r }[/math] będzie najmniejszą liczbą pierwszą nieparzystą różną od [math]\displaystyle{ p }[/math] oraz różną od [math]\displaystyle{ q }[/math]. Oczywiście [math]\displaystyle{ r \in \{ 3, 5, 7 \} }[/math] i jeśli [math]\displaystyle{ n \gt 7^4 = 2401 }[/math], to liczbami pierwszymi względem [math]\displaystyle{ n }[/math] są wszystkie liczby pierwsze nie większe od [math]\displaystyle{ n }[/math] (oprócz liczb pierwszych [math]\displaystyle{ 2 }[/math], [math]\displaystyle{ p }[/math] i [math]\displaystyle{ q }[/math]) oraz liczby [math]\displaystyle{ 1, r^2, r^3, r^4 }[/math]. Zatem

[math]\displaystyle{ \varphi (n) \geqslant \pi (n) - 3 + 4 \gt \pi (n) }[/math]

Zbierając: pozostaje sprawdzić bezpośrednio przypadki, gdy [math]\displaystyle{ n }[/math] jest liczbą parzystą i [math]\displaystyle{ n \leqslant 2401 }[/math]. W GP/PARI wystarczy napisać polecenie

for(n = 1, 2500, if( eulerphi(n) <= primepi(n), print(n) ))

Nierówność [math]\displaystyle{ \varphi (n) \gt \pi (n) }[/math] nie jest prawdziwa dla [math]\displaystyle{ n \in \{ 2, 3, 4, 6, 8, 10, 12, 14, 18, 20, 24, 30, 42, 60, 90 \} }[/math]. Co kończy dowód.


Zadanie H48
Pokazać, że [math]\displaystyle{ \varphi (n) = 2^a }[/math] wtedy i tylko wtedy, gdy [math]\displaystyle{ n = 2^b q_1 \cdot \ldots \cdot q_s }[/math], gdzie [math]\displaystyle{ q_1, \ldots, q_s }[/math] są liczbami pierwszymi Fermata: [math]\displaystyle{ 3, 5, 17, 257, 65537 }[/math].

Rozwiązanie

W przypadku, gdy [math]\displaystyle{ 2 \mid n }[/math], łatwo zauważamy, że liczba [math]\displaystyle{ 2 }[/math] może występować w dowolnej potędze, bo [math]\displaystyle{ \varphi (2^b) = 2^{b - 1} }[/math].

W przypadku, gdy [math]\displaystyle{ p \mid n }[/math], gdzie [math]\displaystyle{ p }[/math] jest liczbą pierwszą nieparzystą, mamy [math]\displaystyle{ \varphi (p^k) = (p - 1) p^{k - 1} }[/math] i równie łatwo zauważmy, że musi być [math]\displaystyle{ k = 1 }[/math], a liczba [math]\displaystyle{ p - 1 }[/math] musi być potęgą liczby [math]\displaystyle{ 2 }[/math]. Zatem liczba pierwsza [math]\displaystyle{ p }[/math] musi być postaci [math]\displaystyle{ p = 2^t + 1 }[/math], co jest możliwe tylko wtedy, gdy [math]\displaystyle{ t }[/math] jest potęgą liczby [math]\displaystyle{ 2 }[/math] (zobacz C48), czyli [math]\displaystyle{ p }[/math] musi być liczbą pierwszą Fermata. Co należało pokazać.


Zadanie H49
Pokazać, że funkcja Eulera spełnia warunek [math]\displaystyle{ \varphi (n) = \frac{n}{2} }[/math] wtedy i tylko wtedy, gdy [math]\displaystyle{ n = 2^k }[/math].

Rozwiązanie

Zauważmy, że [math]\displaystyle{ n }[/math] musi być liczbą parzystą, zatem [math]\displaystyle{ n = 2^k m }[/math], gdzie [math]\displaystyle{ m }[/math] jest liczbą nieparzystą. Otrzymujemy

[math]\displaystyle{ \varphi (n) = \varphi (2^k m) = \varphi (2^k) \varphi (m) = 2^{k - 1} \varphi (m) = \frac{2^k m}{2} \cdot \frac{\varphi (m)}{m} = \frac{n}{2} \cdot \frac{\varphi (m)}{m} }[/math]

ale [math]\displaystyle{ \frac{\varphi (m)}{m} = 1 }[/math] wtedy i tylko wtedy, gdy [math]\displaystyle{ m = 1 }[/math]. Co należało pokazać.


Zadanie H50
Pokazać, że funkcja Eulera spełnia warunek [math]\displaystyle{ \varphi (n) = \frac{n}{2} - 1 }[/math] wtedy i tylko wtedy, gdy [math]\displaystyle{ n = 2 q }[/math], gdzie [math]\displaystyle{ q \geqslant 3 }[/math] jest liczbą pierwszą.

Rozwiązanie

Oczywiście [math]\displaystyle{ n }[/math] musi być liczbą parzystą, zatem [math]\displaystyle{ n = 2^k m }[/math], gdzie [math]\displaystyle{ m }[/math] jest liczbą nieparzystą. Możemy teraz zapisać warunek [math]\displaystyle{ \varphi (n) = \frac{n}{2} - 1 }[/math] w postaci

[math]\displaystyle{ \varphi (n) = \varphi (2^k m) = \varphi (2^k) \varphi (m) = 2^{k - 1} \varphi (m) = 2^{k - 1} m - 1 }[/math]

Ponieważ [math]\displaystyle{ \varphi (n) }[/math] dla [math]\displaystyle{ n \geqslant 3 }[/math] jest liczbą parzystą (zobacz H38), to nie może być [math]\displaystyle{ k \geqslant 2 }[/math], bo strony równania miałyby różną parzystość. Zatem musi być [math]\displaystyle{ n = 2 m }[/math], gdzie [math]\displaystyle{ m }[/math] jest liczbą nieparzystą

[math]\displaystyle{ \varphi (n) = \varphi (2 m) = \varphi (2) \varphi (m) = \varphi (m) = m - 1 }[/math]

Z twierdzenia H43 wynika natychmiast, że [math]\displaystyle{ m }[/math] musi być liczbą pierwszą. Ponieważ najmniejszymi liczbami, dla których warunek [math]\displaystyle{ \varphi (n) = \frac{n}{2} - 1 }[/math] jest spełniony są [math]\displaystyle{ n = 6, 10, 14, \ldots }[/math], to musi być [math]\displaystyle{ m \geqslant 3 }[/math]. Co należało pokazać.








Przypisy

  1. Wikipedia, Największy wspólny dzielnik, (Wiki-pl), (Wiki-en)
  2. Wikipedia, Moc zbioru, (Wiki-pl), (Wiki-en)
  3. Wikipedia, Zasada włączeń i wyłączeń, (Wiki-pl), (Wiki-en)
  4. Wikipedia, Funkcja φ, (Wiki-pl), (Wiki-en)