<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://number.subwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vipul</id>
	<title>Number - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://number.subwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vipul"/>
	<link rel="alternate" type="text/html" href="https://number.subwiki.org/wiki/Special:Contributions/Vipul"/>
	<updated>2026-10-01T06:32:55Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.2</generator>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=User:Vipul&amp;diff=1062</id>
		<title>User:Vipul</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=User:Vipul&amp;diff=1062"/>
		<updated>2026-08-26T00:28:07Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Notes for stuff I plan to expand */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I&#039;m Vipul, the person who came up with the original idea for this website.&lt;br /&gt;
&lt;br /&gt;
==Notes for stuff I plan to expand==&lt;br /&gt;
&lt;br /&gt;
===Euler totient function===&lt;br /&gt;
&lt;br /&gt;
In [[Euler totient function]], to Measures of difference, add entries for &amp;lt;math&amp;gt;\ln (\varphi(n) / n) / \ln n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\ln (\varphi(n) / n) / \ln \ln n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\ln (\varphi(n) / n) / \ln \ln \ln n&amp;lt;/math&amp;gt; for various &amp;lt;math&amp;gt;D&amp;lt;/math&amp;gt;. I expect 0 at primes for all, and 0, 0, -1 at primorials since &amp;lt;math&amp;gt;(1 - 1/p)&amp;lt;/math&amp;gt; for a primorial should have log approx &amp;lt;math&amp;gt;-\ln \ln \ln n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Multiplicative and completely multiplicative functions===&lt;br /&gt;
&lt;br /&gt;
* [[Multiplicative functions form abelian group under Dirichlet product]]: Characterize the group as an external direct product of countably many (prime-indexed) copies of &amp;lt;math&amp;gt;1 + xR[[x]]&amp;lt;/math&amp;gt; under multiplication (a formal group law on the power series)&lt;br /&gt;
* [[Multiplicative function]]: Mention the above characterization&lt;br /&gt;
* [[Modified Dirichlet character]]: Make a page on these&lt;br /&gt;
* [[Completely multiplicative function]]&lt;br /&gt;
** Mention modified Dirichlet characters&lt;br /&gt;
** Discuss their generating role in all the &amp;quot;interesting&amp;quot; parts of the group of multiplicative functions (basically, everything that shows up in our study is a finite Euler product, or a convolution of finitely many completely multiplicative functions and their inverses)&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=User:Vipul&amp;diff=1061</id>
		<title>User:Vipul</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=User:Vipul&amp;diff=1061"/>
		<updated>2026-08-25T19:19:31Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Notes for stuff I plan to expand */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I&#039;m Vipul, the person who came up with the original idea for this website.&lt;br /&gt;
&lt;br /&gt;
==Notes for stuff I plan to expand==&lt;br /&gt;
&lt;br /&gt;
===Euler totient function===&lt;br /&gt;
&lt;br /&gt;
In [[Euler totient function]], to Measures of difference, add entries for &amp;lt;math&amp;gt;\ln (\varphi(n) / n) / \ln n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\ln (\varphi(n) / n) / \ln \ln n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\ln (\varphi(n) / n) / \ln \ln \ln n&amp;lt;/math&amp;gt; for various &amp;lt;math&amp;gt;D&amp;lt;/math&amp;gt;. I expect 0 at primes for all, and 0, 0, -1 at primorials since &amp;lt;math&amp;gt;(1 - 1/p)&amp;lt;/math&amp;gt; for a primorial should have log approx &amp;lt;math&amp;gt;-\ln \ln \ln n&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=User:Vipul&amp;diff=1060</id>
		<title>User:Vipul</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=User:Vipul&amp;diff=1060"/>
		<updated>2026-08-25T19:19:19Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I&#039;m Vipul, the person who came up with the original idea for this website.&lt;br /&gt;
&lt;br /&gt;
==Notes for stuff I plan to expand==&lt;br /&gt;
&lt;br /&gt;
===Euler totient function===&lt;br /&gt;
&lt;br /&gt;
In [[Euler totient function]], to Measures of difference, add entries for &amp;lt;math&amp;gt;\ln (\varphi(n) / n) / \ln n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\ln (\varphi(n) / n) / \ln \ln n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;&amp;lt;math&amp;gt;\ln (\varphi(n) / n) / \ln \ln \ln n&amp;lt;/math&amp;gt; for various &amp;lt;math&amp;gt;D&amp;lt;/math&amp;gt;. I expect 0 at primes for all, and 0, 0, -1 at primorials since &amp;lt;math&amp;gt;(1 - 1/p)&amp;lt;/math&amp;gt; for a primorial should have log approx &amp;lt;math&amp;gt;-\ln \ln \ln n&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1059</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1059"/>
		<updated>2026-08-25T19:09:14Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Measures of difference */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Algebraic significance===&lt;br /&gt;
&lt;br /&gt;
The Euler totient function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \operatorname{Li}(n)&amp;lt;/math&amp;gt; (which grows approximately as &amp;lt;math&amp;gt;n / \ln n&amp;lt;/math&amp;gt;), whereas &amp;lt;math&amp;gt;\omega(n) = O(\ln n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This goes to zero because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the expression being limited is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt;, which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Initial values==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; !! Prime factorization !! Totient function &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;n - \varphi(n)&amp;lt;/math&amp;gt; (equals 1 iff &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is prime) !! &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; (reduced, equals product of &amp;lt;math&amp;gt;(1 - 1/p)&amp;lt;/math&amp;gt; for primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; dividing &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; -- depends only on the &#039;&#039;set&#039;&#039; of prime divisors) !! Universal exponent &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;\varphi(n)/\lambda(n)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[1]] || empty || 1 || 0 || 1 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[2]] || 2 || 1 || 1 || 1/2 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[3]] || 3 || 2 || 1 || 2/3 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[4]] || &amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; || 2 || 2 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[5]] || 5 || 4 || 1 || 4/5 || 4 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[6]] || &amp;lt;math&amp;gt;2 \cdot 3&amp;lt;/math&amp;gt; || 2 || 4 || 1/3 || 2 || 1&lt;br /&gt;
|- &lt;br /&gt;
| [[7]] || 7 || 6 || 1 || 6/7 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[8]] || &amp;lt;math&amp;gt;2^3&amp;lt;/math&amp;gt; || 4 || 4 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[9]] || &amp;lt;math&amp;gt;3^2&amp;lt;/math&amp;gt; || 6 || 3 || 2/3 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| Prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1 || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 1/2 || &amp;lt;math&amp;gt;2^{k-2}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, else &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 2 if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, 1 otherwise&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; odd || &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}(p-1)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Description !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in \mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1058</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1058"/>
		<updated>2026-08-25T19:08:56Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Measures of difference */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Algebraic significance===&lt;br /&gt;
&lt;br /&gt;
The Euler totient function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \operatorname{Li}(n)&amp;lt;/math&amp;gt; (which grows approximately as &amp;lt;math&amp;gt;n / \ln n&amp;lt;/math&amp;gt;), whereas &amp;lt;math&amp;gt;\omega(n) = O(\ln n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This goes to zero because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the expression being limited is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Initial values==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; !! Prime factorization !! Totient function &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;n - \varphi(n)&amp;lt;/math&amp;gt; (equals 1 iff &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is prime) !! &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; (reduced, equals product of &amp;lt;math&amp;gt;(1 - 1/p)&amp;lt;/math&amp;gt; for primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; dividing &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; -- depends only on the &#039;&#039;set&#039;&#039; of prime divisors) !! Universal exponent &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;\varphi(n)/\lambda(n)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[1]] || empty || 1 || 0 || 1 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[2]] || 2 || 1 || 1 || 1/2 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[3]] || 3 || 2 || 1 || 2/3 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[4]] || &amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; || 2 || 2 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[5]] || 5 || 4 || 1 || 4/5 || 4 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[6]] || &amp;lt;math&amp;gt;2 \cdot 3&amp;lt;/math&amp;gt; || 2 || 4 || 1/3 || 2 || 1&lt;br /&gt;
|- &lt;br /&gt;
| [[7]] || 7 || 6 || 1 || 6/7 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[8]] || &amp;lt;math&amp;gt;2^3&amp;lt;/math&amp;gt; || 4 || 4 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[9]] || &amp;lt;math&amp;gt;3^2&amp;lt;/math&amp;gt; || 6 || 3 || 2/3 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| Prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1 || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 1/2 || &amp;lt;math&amp;gt;2^{k-2}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, else &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 2 if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, 1 otherwise&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; odd || &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}(p-1)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Description !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in \mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1057</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1057"/>
		<updated>2026-08-25T19:08:02Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Inequalities */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Algebraic significance===&lt;br /&gt;
&lt;br /&gt;
The Euler totient function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \operatorname{Li}(n)&amp;lt;/math&amp;gt; (which grows approximately as &amp;lt;math&amp;gt;n / \ln n&amp;lt;/math&amp;gt;), whereas &amp;lt;math&amp;gt;\omega(n) = O(\ln n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This goes to zero because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Initial values==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; !! Prime factorization !! Totient function &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;n - \varphi(n)&amp;lt;/math&amp;gt; (equals 1 iff &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is prime) !! &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; (reduced, equals product of &amp;lt;math&amp;gt;(1 - 1/p)&amp;lt;/math&amp;gt; for primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; dividing &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; -- depends only on the &#039;&#039;set&#039;&#039; of prime divisors) !! Universal exponent &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;\varphi(n)/\lambda(n)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[1]] || empty || 1 || 0 || 1 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[2]] || 2 || 1 || 1 || 1/2 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[3]] || 3 || 2 || 1 || 2/3 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[4]] || &amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; || 2 || 2 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[5]] || 5 || 4 || 1 || 4/5 || 4 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[6]] || &amp;lt;math&amp;gt;2 \cdot 3&amp;lt;/math&amp;gt; || 2 || 4 || 1/3 || 2 || 1&lt;br /&gt;
|- &lt;br /&gt;
| [[7]] || 7 || 6 || 1 || 6/7 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[8]] || &amp;lt;math&amp;gt;2^3&amp;lt;/math&amp;gt; || 4 || 4 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[9]] || &amp;lt;math&amp;gt;3^2&amp;lt;/math&amp;gt; || 6 || 3 || 2/3 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| Prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1 || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 1/2 || &amp;lt;math&amp;gt;2^{k-2}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, else &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 2 if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, 1 otherwise&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; odd || &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}(p-1)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Description !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in \mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1056</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1056"/>
		<updated>2026-08-25T18:42:28Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Algebraic significance===&lt;br /&gt;
&lt;br /&gt;
The Euler totient function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \operatorname{Li}(n)&amp;lt;/math&amp;gt; (which grows approximately as &amp;lt;math&amp;gt;n / \log n&amp;lt;/math&amp;gt;), whereas &amp;lt;math&amp;gt;\omega(n) = O(\log n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This goes to zero because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Initial values==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; !! Prime factorization !! Totient function &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;n - \varphi(n)&amp;lt;/math&amp;gt; (equals 1 iff &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is prime) !! &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; (reduced, equals product of &amp;lt;math&amp;gt;(1 - 1/p)&amp;lt;/math&amp;gt; for primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; dividing &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; -- depends only on the &#039;&#039;set&#039;&#039; of prime divisors) !! Universal exponent &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;\varphi(n)/\lambda(n)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[1]] || empty || 1 || 0 || 1 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[2]] || 2 || 1 || 1 || 1/2 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[3]] || 3 || 2 || 1 || 2/3 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[4]] || &amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; || 2 || 2 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[5]] || 5 || 4 || 1 || 4/5 || 4 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[6]] || &amp;lt;math&amp;gt;2 \cdot 3&amp;lt;/math&amp;gt; || 2 || 4 || 1/3 || 2 || 1&lt;br /&gt;
|- &lt;br /&gt;
| [[7]] || 7 || 6 || 1 || 6/7 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[8]] || &amp;lt;math&amp;gt;2^3&amp;lt;/math&amp;gt; || 4 || 4 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[9]] || &amp;lt;math&amp;gt;3^2&amp;lt;/math&amp;gt; || 6 || 3 || 2/3 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| Prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1 || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 1/2 || &amp;lt;math&amp;gt;2^{k-2}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, else &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 2 if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, 1 otherwise&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; odd || &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}(p-1)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Description !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in \mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1055</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1055"/>
		<updated>2026-08-25T18:41:12Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Algebraic significance===&lt;br /&gt;
&lt;br /&gt;
The Euler totient function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \operatorname{Li}(n)&amp;lt;/math&amp;gt; (which grows approximately as &amp;lt;math&amp;gt;n / \log n&amp;lt;/math&amp;gt;), whereas &amp;lt;math&amp;gt;\omega(n) = O(\log n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This goes to zero because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Initial values==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; !! Prime factorization !! Totient function &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;n - \varphi(n)&amp;lt;/math&amp;gt; (equals 1 iff &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is prime) !! &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; (reduced, equals product of &amp;lt;math&amp;gt;(1 - 1/p)&amp;lt;/math&amp;gt; for primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; dividing &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; -- depends only on the &#039;&#039;set&#039;&#039; of prime divisors) !! Universal exponent &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;\varphi(n)/\lambda(n)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[1]] || empty || 1 || 0 || 1 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[2]] || 2 || 1 || 1 || 1/2 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[3]] || 3 || 2 || 1 || 2/3 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[4]] || &amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; || 2 || 2 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[5]] || 5 || 4 || 1 || 4/5 || 4 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[6]] || &amp;lt;math&amp;gt;2 \cdot 3&amp;lt;/math&amp;gt; || 2 || 4 || 1/3 || 2 || 1&lt;br /&gt;
|- &lt;br /&gt;
| [[7]] || 7 || 6 || 1 || 6/7 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[8]] || &amp;lt;math&amp;gt;2^3&amp;lt;/math&amp;gt; || 4 || 4 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[9]] || &amp;lt;math&amp;gt;3^2&amp;lt;/math&amp;gt; || 6 || 3 || 2/3 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| Prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1 || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 1/2 || &amp;lt;math&amp;gt;2^{k-2}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, else &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 2 if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, 1 otherwise&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; odd || &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}(p-1)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Description !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in \mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1054</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1054"/>
		<updated>2026-08-25T18:39:37Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Measures of difference */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Algebraic significance===&lt;br /&gt;
&lt;br /&gt;
The Euler totient function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This goes to zero because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Initial values==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; !! Prime factorization !! Totient function &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;n - \varphi(n)&amp;lt;/math&amp;gt; (equals 1 iff &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is prime) !! &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; (reduced, equals product of &amp;lt;math&amp;gt;(1 - 1/p)&amp;lt;/math&amp;gt; for primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; dividing &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; -- depends only on the &#039;&#039;set&#039;&#039; of prime divisors) !! Universal exponent &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;\varphi(n)/\lambda(n)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[1]] || empty || 1 || 0 || 1 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[2]] || 2 || 1 || 1 || 1/2 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[3]] || 3 || 2 || 1 || 2/3 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[4]] || &amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; || 2 || 2 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[5]] || 5 || 4 || 1 || 4/5 || 4 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[6]] || &amp;lt;math&amp;gt;2 \cdot 3&amp;lt;/math&amp;gt; || 2 || 4 || 1/3 || 2 || 1&lt;br /&gt;
|- &lt;br /&gt;
| [[7]] || 7 || 6 || 1 || 6/7 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[8]] || &amp;lt;math&amp;gt;2^3&amp;lt;/math&amp;gt; || 4 || 4 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[9]] || &amp;lt;math&amp;gt;3^2&amp;lt;/math&amp;gt; || 6 || 3 || 2/3 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| Prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1 || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 1/2 || &amp;lt;math&amp;gt;2^{k-2}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, else &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 2 if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, 1 otherwise&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; odd || &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}(p-1)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Description !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \operatorname{Li}(n)&amp;lt;/math&amp;gt; (which grows approximately as &amp;lt;math&amp;gt;n / \log n&amp;lt;/math&amp;gt;), whereas &amp;lt;math&amp;gt;\omega(n) = O(\log n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in \mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1053</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1053"/>
		<updated>2026-08-25T18:38:10Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Inequalities */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Algebraic significance===&lt;br /&gt;
&lt;br /&gt;
The Euler totient function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Initial values==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; !! Prime factorization !! Totient function &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;n - \varphi(n)&amp;lt;/math&amp;gt; (equals 1 iff &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is prime) !! &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; (reduced, equals product of &amp;lt;math&amp;gt;(1 - 1/p)&amp;lt;/math&amp;gt; for primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; dividing &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; -- depends only on the &#039;&#039;set&#039;&#039; of prime divisors) !! Universal exponent &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;\varphi(n)/\lambda(n)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[1]] || empty || 1 || 0 || 1 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[2]] || 2 || 1 || 1 || 1/2 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[3]] || 3 || 2 || 1 || 2/3 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[4]] || &amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; || 2 || 2 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[5]] || 5 || 4 || 1 || 4/5 || 4 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[6]] || &amp;lt;math&amp;gt;2 \cdot 3&amp;lt;/math&amp;gt; || 2 || 4 || 1/3 || 2 || 1&lt;br /&gt;
|- &lt;br /&gt;
| [[7]] || 7 || 6 || 1 || 6/7 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[8]] || &amp;lt;math&amp;gt;2^3&amp;lt;/math&amp;gt; || 4 || 4 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[9]] || &amp;lt;math&amp;gt;3^2&amp;lt;/math&amp;gt; || 6 || 3 || 2/3 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| Prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1 || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 1/2 || &amp;lt;math&amp;gt;2^{k-2}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, else &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 2 if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, 1 otherwise&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; odd || &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}(p-1)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Description !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \operatorname{Li}(n)&amp;lt;/math&amp;gt; (which grows approximately as &amp;lt;math&amp;gt;n / \log n&amp;lt;/math&amp;gt;), whereas &amp;lt;math&amp;gt;\omega(n) = O(\log n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in \mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1052</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1052"/>
		<updated>2026-08-25T18:37:25Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Inequalities */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Algebraic significance===&lt;br /&gt;
&lt;br /&gt;
The Euler totient function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Initial values==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; !! Prime factorization !! Totient function &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;n - \varphi(n)&amp;lt;/math&amp;gt; (equals 1 iff &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is prime) !! &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; (reduced, equals product of &amp;lt;math&amp;gt;(1 - 1/p)&amp;lt;/math&amp;gt; for primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; dividing &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; -- depends only on the &#039;&#039;set&#039;&#039; of prime divisors) !! Universal exponent &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;\varphi(n)/\lambda(n)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[1]] || empty || 1 || 0 || 1 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[2]] || 2 || 1 || 1 || 1/2 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[3]] || 3 || 2 || 1 || 2/3 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[4]] || &amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; || 2 || 2 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[5]] || 5 || 4 || 1 || 4/5 || 4 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[6]] || &amp;lt;math&amp;gt;2 \cdot 3&amp;lt;/math&amp;gt; || 2 || 4 || 1/3 || 2 || 1&lt;br /&gt;
|- &lt;br /&gt;
| [[7]] || 7 || 6 || 1 || 6/7 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[8]] || &amp;lt;math&amp;gt;2^3&amp;lt;/math&amp;gt; || 4 || 4 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[9]] || &amp;lt;math&amp;gt;3^2&amp;lt;/math&amp;gt; || 6 || 3 || 2/3 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| Prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1 || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 1/2 || &amp;lt;math&amp;gt;2^{k-2}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, else &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 2 if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, 1 otherwise&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; odd || &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}(p-1)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Description !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \operatorname{Li}(n)&amp;lt;/math&amp;gt;, whereas &amp;lt;math&amp;gt;\omega(n) = O(\log n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in \mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1051</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1051"/>
		<updated>2026-08-25T18:32:45Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Algebraic significance */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Algebraic significance===&lt;br /&gt;
&lt;br /&gt;
The Euler totient function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Initial values==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; !! Prime factorization !! Totient function &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;n - \varphi(n)&amp;lt;/math&amp;gt; (equals 1 iff &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is prime) !! &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; (reduced, equals product of &amp;lt;math&amp;gt;(1 - 1/p)&amp;lt;/math&amp;gt; for primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; dividing &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; -- depends only on the &#039;&#039;set&#039;&#039; of prime divisors) !! Universal exponent &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;\varphi(n)/\lambda(n)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[1]] || empty || 1 || 0 || 1 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[2]] || 2 || 1 || 1 || 1/2 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[3]] || 3 || 2 || 1 || 2/3 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[4]] || &amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; || 2 || 2 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[5]] || 5 || 4 || 1 || 4/5 || 4 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[6]] || &amp;lt;math&amp;gt;2 \cdot 3&amp;lt;/math&amp;gt; || 2 || 4 || 1/3 || 2 || 1&lt;br /&gt;
|- &lt;br /&gt;
| [[7]] || 7 || 6 || 1 || 6/7 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[8]] || &amp;lt;math&amp;gt;2^3&amp;lt;/math&amp;gt; || 4 || 4 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[9]] || &amp;lt;math&amp;gt;3^2&amp;lt;/math&amp;gt; || 6 || 3 || 2/3 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| Prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1 || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 1/2 || &amp;lt;math&amp;gt;2^{k-2}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, else &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 2 if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, 1 otherwise&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; odd || &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}(p-1)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Description !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \frac{n}{\operatorname{Li}(n)}&amp;lt;/math&amp;gt;, whereas &amp;lt;math&amp;gt;\omega(n) = O(\log n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~n/\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in \mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Congruence_condition_on_prime_divisor_of_cyclotomic_polynomial_evaluated_at_an_integer&amp;diff=1050</id>
		<title>Congruence condition on prime divisor of cyclotomic polynomial evaluated at an integer</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Congruence_condition_on_prime_divisor_of_cyclotomic_polynomial_evaluated_at_an_integer&amp;diff=1050"/>
		<updated>2026-08-25T09:08:52Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Proof */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Statement==&lt;br /&gt;
&lt;br /&gt;
Suppose &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is an integer, &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a natural number, and &amp;lt;math&amp;gt;\Phi_n&amp;lt;/math&amp;gt; denotes the [[cyclotomic polynomial]] for the primitive &amp;lt;math&amp;gt;n^{th}&amp;lt;/math&amp;gt; roots of unity. Suppose &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is a prime divisor of &amp;lt;math&amp;gt;\Phi_n(a)&amp;lt;/math&amp;gt;. Then, either &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is congruent to &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, or we can write &amp;lt;math&amp;gt;n = cd&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is congruent to &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; modulo &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In particular, at least one of these two conditions must hold:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is congruent to &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Proof==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Given&#039;&#039;&#039;: An integer &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;, a natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. A prime divisor &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;\Phi_n(a)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To prove&#039;&#039;&#039;: &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; or we can write &amp;lt;math&amp;gt;n = cd&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is congruent to &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; modulo &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Since &amp;lt;math&amp;gt;\Phi_n(a)|a^n - 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; are relatively prime and the order of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; modulo &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; be the order of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; modulo &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. Then, &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;c = n/d&amp;lt;/math&amp;gt;. Write:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;a^n - 1 = (a^d - 1)(a^{n-d} + a^{n-2d} + \dots + 1)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We now consider two cases:&lt;br /&gt;
&lt;br /&gt;
* Case 1: &amp;lt;math&amp;gt;d = n&amp;lt;/math&amp;gt;. In this case, the order of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; mod &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; equals &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. But by Fermat&#039;s little theorem, the order of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; mod &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt;. Thus, &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is congruent to &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Case 2: &amp;lt;math&amp;gt;d &amp;lt; n&amp;lt;/math&amp;gt;. In this case, no primitive &amp;lt;math&amp;gt;n^{th}&amp;lt;/math&amp;gt; root of unity is a &amp;lt;math&amp;gt;d^{th}&amp;lt;/math&amp;gt; root of unity. Now, &amp;lt;math&amp;gt;\Phi_n(x)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;(x^n - 1)/(x^d - 1)&amp;lt;/math&amp;gt; (one way of seeing this is that &amp;lt;math&amp;gt;\Phi_n(x)&amp;lt;/math&amp;gt; is the product of linear factors for primitive &amp;lt;math&amp;gt;n^{th}&amp;lt;/math&amp;gt; roots of unity, while &amp;lt;math&amp;gt;x^n - 1)/(x^d - 1)&amp;lt;/math&amp;gt; is the product of linear factors for &amp;lt;math&amp;gt;n^{th}&amp;lt;/math&amp;gt; roots that aren&#039;t &amp;lt;math&amp;gt;d^{th}&amp;lt;/math&amp;gt; roots. In particular, &amp;lt;math&amp;gt;\Phi_n(a)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;(a^n - 1)/(a^d - 1) = (a^{n-d} + \dots + 1)&amp;lt;/math&amp;gt;. Each of the monomials in the right side is a power of &amp;lt;math&amp;gt;a^d&amp;lt;/math&amp;gt;, hence is &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; mod &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, and there are &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; terms. Thus, &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;. Also, the order of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; mod &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; modulo &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;. This completes the proof.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Divisor_count_function&amp;diff=1049</id>
		<title>Divisor count function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Divisor_count_function&amp;diff=1049"/>
		<updated>2026-08-25T08:58:51Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Algebraic significance */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;divisor count function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;d(n)&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt;,  or &amp;lt;math&amp;gt;\tau(n)&amp;lt;/math&amp;gt;, is defined as the number of positive divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma_0(n) = \sum_{d|n} 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Formula in terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma_0(n) = \prod_{i=1}^r (k_i + 1)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===Lower bound===&lt;br /&gt;
&lt;br /&gt;
The divisor count function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; takes its lowest value (other than &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt;) at primes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma_0(p) = 2 \ \forall \ p&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In particular:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\lim \inf_{n \to \infty} \sigma_0(n) = 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Upper bound===&lt;br /&gt;
&lt;br /&gt;
{{fillin}}&lt;br /&gt;
&lt;br /&gt;
==Relation with other arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Family of divisor power sum functions===&lt;br /&gt;
&lt;br /&gt;
For any real number (typically, integer) &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;, the [[divisor power sum function]] &amp;lt;math&amp;gt;\sigma_k&amp;lt;/math&amp;gt; is the sum of &amp;lt;math&amp;gt;k^{th}&amp;lt;/math&amp;gt; powers of all the positive divisors of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;. The divisor count function is the special case &amp;lt;math&amp;gt;k = 0&amp;lt;/math&amp;gt;. The case &amp;lt;math&amp;gt;k = 1&amp;lt;/math&amp;gt; is the [[divisor sum function]], often just denoted &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;, while the case &amp;lt;math&amp;gt;k = 2&amp;lt;/math&amp;gt; is the [[divisor square sum function]].&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt;: The divisor count function can be expressed as the [[Dirichlet product]] of the [[all ones function]] with itself.&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma_0 * \mu = U&amp;lt;/math&amp;gt;: This is obtained simply by applying the [[Mobius inversion formula]] to the previous statement. In other words, the [[Dirichlet product]] of the divisor count function and the [[Mobius function]] is the [[all ones function]].&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma_0 * \varphi = \sigma&amp;lt;/math&amp;gt;: The Dirichlet product of the divisor count function and the [[Euler phi-function]] is the [[divisor sum function]].&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]] is a natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; for which &amp;lt;math&amp;gt;\sigma_0(n) = 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Perfect square]] is a natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; for which &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is odd.&lt;br /&gt;
* [[Refactorable number]] is a natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; for which &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{{multiplicative}}&lt;br /&gt;
&lt;br /&gt;
{{not completely multiplicative}}&lt;br /&gt;
&lt;br /&gt;
For natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, it is &#039;&#039;not&#039;&#039; necessary that &amp;lt;math&amp;gt;\sigma_0(mn) = \sigma_0(m)\sigma_0(n)&amp;lt;/math&amp;gt;. In fact, the equality holds if and only if &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime.&lt;br /&gt;
&lt;br /&gt;
{{not divisibility-preserving}}&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, it is &#039;&#039;not&#039;&#039; necessary that &amp;lt;math&amp;gt;\sigma_0(m)&amp;lt;/math&amp;gt; should divide &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Generalization to other rings==&lt;br /&gt;
&lt;br /&gt;
This generalizes the notion of divisor count function from the case of the ring of integers &amp;lt;math&amp;gt;\mathbb{Z}&amp;lt;/math&amp;gt; to more general classes of rings.&lt;br /&gt;
===Unique factorization domains===&lt;br /&gt;
&lt;br /&gt;
Suppose &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; is a unique factorization domain. The &#039;&#039;&#039;divisor count function&#039;&#039;&#039; is a function defined on the nonzero elements of &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt;, and is defined as the number of associate classes of divisors of that element. (Note that this does not count the actual number of divisors, but only the number of divisors up to multiplication by units -- this has the same effect as counting only the &#039;&#039;positive&#039;&#039; divisors does in the case of integers). Further, the same formula in terms of factorization holds. If we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;a = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma_0(a) = \prod_{i=1}^r (k_i + 1)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Algebraic significance==&lt;br /&gt;
&lt;br /&gt;
* Number of subgroups of the cyclic group: For any natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; equals the number of subgroups of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Number of automorphism classes of elements in the cyclic group: For any natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; equals the number of equivalence classes of elements in the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; under the action of the automorphism group. In fact, two elements are in the same automorphism class if and only if they generate the same subgroup. The sizes of these equivalence classes are &amp;lt;math&amp;gt;\varphi(d)&amp;lt;/math&amp;gt; for the divisors &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, and this is a combinatorial proof of the fact that &amp;lt;math&amp;gt;n = \sum_{d|n}\varphi(d)&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Number of associate classes of elements in the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;: For any natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; equals the number of equivalence classes of elements in the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; under the relation of being associate elements. In fact, the equivalence classes of associate elements are &#039;&#039;precisely&#039;&#039; the same as the equivalence classes under the action of automorphisms of the additive group of the ring. Thus, their sizes are &amp;lt;math&amp;gt;\varphi(d)&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; being the [[Euler totient function]]), for the divisors &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Number of irreducible factors of the polynomial &amp;lt;math&amp;gt;x^n - 1&amp;lt;/math&amp;gt; over &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt; (the field of rational numbers): This polynomial is a product of irreducible factors called [[cyclotomic polynomial]]s &amp;lt;math&amp;gt;\Phi_d&amp;lt;/math&amp;gt; for the divisors &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\Phi_d&amp;lt;/math&amp;gt; has as its roots the primitive &amp;lt;math&amp;gt;d^{th}&amp;lt;/math&amp;gt; roots of unity. The degree of &amp;lt;math&amp;gt;\Phi_d&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\varphi(d)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
&lt;br /&gt;
* [[Mathworld:DivisorFunction|Divisor function on Mathworld]]&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Divisor_count_function&amp;diff=1048</id>
		<title>Divisor count function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Divisor_count_function&amp;diff=1048"/>
		<updated>2026-08-25T08:57:20Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Algebraic significance */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;divisor count function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;d(n)&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt;,  or &amp;lt;math&amp;gt;\tau(n)&amp;lt;/math&amp;gt;, is defined as the number of positive divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma_0(n) = \sum_{d|n} 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Formula in terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma_0(n) = \prod_{i=1}^r (k_i + 1)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===Lower bound===&lt;br /&gt;
&lt;br /&gt;
The divisor count function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; takes its lowest value (other than &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt;) at primes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma_0(p) = 2 \ \forall \ p&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In particular:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\lim \inf_{n \to \infty} \sigma_0(n) = 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Upper bound===&lt;br /&gt;
&lt;br /&gt;
{{fillin}}&lt;br /&gt;
&lt;br /&gt;
==Relation with other arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Family of divisor power sum functions===&lt;br /&gt;
&lt;br /&gt;
For any real number (typically, integer) &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;, the [[divisor power sum function]] &amp;lt;math&amp;gt;\sigma_k&amp;lt;/math&amp;gt; is the sum of &amp;lt;math&amp;gt;k^{th}&amp;lt;/math&amp;gt; powers of all the positive divisors of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;. The divisor count function is the special case &amp;lt;math&amp;gt;k = 0&amp;lt;/math&amp;gt;. The case &amp;lt;math&amp;gt;k = 1&amp;lt;/math&amp;gt; is the [[divisor sum function]], often just denoted &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;, while the case &amp;lt;math&amp;gt;k = 2&amp;lt;/math&amp;gt; is the [[divisor square sum function]].&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt;: The divisor count function can be expressed as the [[Dirichlet product]] of the [[all ones function]] with itself.&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma_0 * \mu = U&amp;lt;/math&amp;gt;: This is obtained simply by applying the [[Mobius inversion formula]] to the previous statement. In other words, the [[Dirichlet product]] of the divisor count function and the [[Mobius function]] is the [[all ones function]].&lt;br /&gt;
* &amp;lt;math&amp;gt;\sigma_0 * \varphi = \sigma&amp;lt;/math&amp;gt;: The Dirichlet product of the divisor count function and the [[Euler phi-function]] is the [[divisor sum function]].&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]] is a natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; for which &amp;lt;math&amp;gt;\sigma_0(n) = 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Perfect square]] is a natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; for which &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is odd.&lt;br /&gt;
* [[Refactorable number]] is a natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; for which &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{{multiplicative}}&lt;br /&gt;
&lt;br /&gt;
{{not completely multiplicative}}&lt;br /&gt;
&lt;br /&gt;
For natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, it is &#039;&#039;not&#039;&#039; necessary that &amp;lt;math&amp;gt;\sigma_0(mn) = \sigma_0(m)\sigma_0(n)&amp;lt;/math&amp;gt;. In fact, the equality holds if and only if &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime.&lt;br /&gt;
&lt;br /&gt;
{{not divisibility-preserving}}&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, it is &#039;&#039;not&#039;&#039; necessary that &amp;lt;math&amp;gt;\sigma_0(m)&amp;lt;/math&amp;gt; should divide &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Generalization to other rings==&lt;br /&gt;
&lt;br /&gt;
This generalizes the notion of divisor count function from the case of the ring of integers &amp;lt;math&amp;gt;\mathbb{Z}&amp;lt;/math&amp;gt; to more general classes of rings.&lt;br /&gt;
===Unique factorization domains===&lt;br /&gt;
&lt;br /&gt;
Suppose &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt; is a unique factorization domain. The &#039;&#039;&#039;divisor count function&#039;&#039;&#039; is a function defined on the nonzero elements of &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt;, and is defined as the number of associate classes of divisors of that element. (Note that this does not count the actual number of divisors, but only the number of divisors up to multiplication by units -- this has the same effect as counting only the &#039;&#039;positive&#039;&#039; divisors does in the case of integers). Further, the same formula in terms of factorization holds. If we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;a = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma_0(a) = \prod_{i=1}^r (k_i + 1)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Algebraic significance==&lt;br /&gt;
&lt;br /&gt;
* Number of subgroups of the cyclic group: For any natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; equals the number of subgroups of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Number of automorphism classes of elements in the cyclic group: For any natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; equals the number of equivalence classes of elements in the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; under the action of the automorphism group. In fact, two elements are in the same automorphism class if and only if they generate the same subgroup. The sizes of these equivalence classes are &amp;lt;math&amp;gt;\varphi(d)&amp;lt;/math&amp;gt; for the divisors &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, and this is a combinatorial proof of the fact that &amp;lt;math&amp;gt;n = \sum_{d|n}\varphi(d)&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Number of associate classes of elements in the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;: For any natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; equals the number of equivalence classes of elements in the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; under the relation of being associate elements. In fact, the equivalence classes of associate elements are &#039;&#039;precisely&#039;&#039; the same as the equivalence classes under the action of automorphisms of the additive group of the ring. Thus, their sizes are &amp;lt;math&amp;gt;\varphi(d)&amp;lt;/math&amp;gt;, for the divisors &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Number of irreducible factors of the polynomial &amp;lt;math&amp;gt;x^n - 1&amp;lt;/math&amp;gt; over &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt;: This polynomial is a product of irreducible factors called [[cyclotomic polynomial]]s &amp;lt;math&amp;gt;\Phi_d&amp;lt;/math&amp;gt; for the divisors &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\Phi_d&amp;lt;/math&amp;gt; has as its roots the primitive &amp;lt;math&amp;gt;d^{th}&amp;lt;/math&amp;gt; roots of unity. The degree of &amp;lt;math&amp;gt;\Phi_d&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\varphi(d)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
&lt;br /&gt;
* [[Mathworld:DivisorFunction|Divisor function on Mathworld]]&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=MediaWiki:Sitenotice&amp;diff=1047</id>
		<title>MediaWiki:Sitenotice</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=MediaWiki:Sitenotice&amp;diff=1047"/>
		<updated>2024-10-06T23:15:14Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Want site search autocompletion? See [[Project:Enabling site search autocompletion|here]]&amp;lt;br/&amp;gt;&lt;br /&gt;
Encountering 429 Too Many Requests errors when browsing the site? See [[Project:429 Too Many Requests error|here]]&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=User:Vipul/Sandbox&amp;diff=1046</id>
		<title>User:Vipul/Sandbox</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=User:Vipul/Sandbox&amp;diff=1046"/>
		<updated>2024-10-06T23:14:36Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* &amp;lt;math&amp;gt;\sqrt{7 + 2}!! + 4 = 724&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\sqrt{7 + \sqrt{4}}!! + 4! = 744&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5^{1 + 2} = 125&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6^{2 + 1} = 216&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;(3 + 4)^3 = 343&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=MediaWiki:Sitenotice&amp;diff=1045</id>
		<title>MediaWiki:Sitenotice</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=MediaWiki:Sitenotice&amp;diff=1045"/>
		<updated>2024-09-30T01:27:06Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;This site is in the process of being migrated to a new server. Edits made until this notice has been removed may be lost.&#039;&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
Want site search autocompletion? See [[Project:Enabling site search autocompletion|here]]&amp;lt;br/&amp;gt;&lt;br /&gt;
Encountering 429 Too Many Requests errors when browsing the site? See [[Project:429 Too Many Requests error|here]]&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=MediaWiki:Sitenotice&amp;diff=1044</id>
		<title>MediaWiki:Sitenotice</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=MediaWiki:Sitenotice&amp;diff=1044"/>
		<updated>2024-09-06T01:31:25Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Want site search autocompletion? See [[Project:Enabling site search autocompletion|here]]&amp;lt;br/&amp;gt;&lt;br /&gt;
Encountering 429 Too Many Requests errors when browsing the site? See [[Project:429 Too Many Requests error|here]]&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Number:Enabling_site_search_autocompletion&amp;diff=1043</id>
		<title>Number:Enabling site search autocompletion</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Number:Enabling_site_search_autocompletion&amp;diff=1043"/>
		<updated>2024-09-06T01:30:49Z</updated>

		<summary type="html">&lt;p&gt;Vipul: Created page with &amp;quot;Content copied from Ref:Ref:Enabling site search autocompletion. Images used are specific to this site (Number).  Site search autocompletion is currently broken by default on this site. This page includes details on how to get it to work, and what&amp;#039;s going on.  ==What&amp;#039;s wrong with site search autocompletion and how to fix it==  ===What&amp;#039;s wrong===  When you start typing something in the site search bar, you&amp;#039;ll see it stuck at &amp;quot;Loading search suggestions&amp;quot; as shown in th...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Content copied from [[Ref:Ref:Enabling site search autocompletion]]. Images used are specific to this site (Number).&lt;br /&gt;
&lt;br /&gt;
Site search autocompletion is currently broken by default on this site. This page includes details on how to get it to work, and what&#039;s going on.&lt;br /&gt;
&lt;br /&gt;
==What&#039;s wrong with site search autocompletion and how to fix it==&lt;br /&gt;
&lt;br /&gt;
===What&#039;s wrong===&lt;br /&gt;
&lt;br /&gt;
When you start typing something in the site search bar, you&#039;ll see it stuck at &amp;quot;Loading search suggestions&amp;quot; as shown in the screenshot below:&lt;br /&gt;
&lt;br /&gt;
[[File:Site search autocompletion broken.png]]&lt;br /&gt;
&lt;br /&gt;
Note that the actual search is still working -- you just have to hit Enter after typing the search query and it&#039;ll go to the search results page. It&#039;s the autocompletion before you hit Enter that is broken.&lt;br /&gt;
&lt;br /&gt;
===How to fix it===&lt;br /&gt;
&lt;br /&gt;
To fix it, you need to follow these steps:&lt;br /&gt;
&lt;br /&gt;
* Write to vipulnaik1@gmail.com asking for a login to the site. Please include the following with your request: preferred username, preferred initial password (you can change it after logging in), real name (if you want it entered), email address to use (if you want an actual email address by which you can be contacted), and whether you want edit access as well. You don&#039;t need edit access for enabling site search autocompletion.&lt;br /&gt;
* Log in to the site. Then go to [[Special:Preferences]]. Go to the Appearance section and switch the Skin from &amp;quot;Vector (2022)&amp;quot; to &amp;quot;Vector legacy (2010)&amp;quot;.&lt;br /&gt;
* Make sure to hit &amp;quot;Save&amp;quot; at the bottom.&lt;br /&gt;
* Now you can reload the page or load a new page.&lt;br /&gt;
&lt;br /&gt;
Site search autocompletion should now work. Here&#039;s an example:&lt;br /&gt;
&lt;br /&gt;
[[File:Site search autocompletion working.png]]&lt;br /&gt;
&lt;br /&gt;
==More background==&lt;br /&gt;
&lt;br /&gt;
We&#039;ve recently upgraded the MediaWiki version of this wiki from 1.35.13 to 1.41.2 (see [[Special:Version]]). The upgrade allows us to migrate the wiki to a more modern operating system version running PHP 8. With the current setup for MediaWiki 1.41.2, we&#039;re in this situation:&lt;br /&gt;
&lt;br /&gt;
* The &amp;quot;Vector legacy (2010)&amp;quot; skin has site search autocompletion working, but it doesn&#039;t render well on small screens. Specifically, even on small mobile screens, it still shows the left menu, and doesn&#039;t properly use the MobileFrontend extension settings.&lt;br /&gt;
* The &amp;quot;Vector (2022)&amp;quot; skin doesn&#039;t have site search autocompletion working (see screenshots in preceding section) but it does render fine on mobile devices.&lt;br /&gt;
&lt;br /&gt;
It is possible to set only one default skin (that is applicable to all non-logged-in users and is the default for logged-in users who have not configured a skin for themselves). So, the selection of default skin comes down to whether it&#039;s more important for casual users to have the mobile experience working or to have site search autocompletion working. Based on a general understanding of user behavior, we believe that having a usable mobile experience is more important for casual users than having site search autocompletion.&lt;br /&gt;
&lt;br /&gt;
However, for power users who are using the site extensively, site search autocompletion may be important. That&#039;s why we&#039;ve written this page giving guidance on how to set up site search autocompletion.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=File:Site_search_autocompletion_working.png&amp;diff=1042</id>
		<title>File:Site search autocompletion working.png</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=File:Site_search_autocompletion_working.png&amp;diff=1042"/>
		<updated>2024-09-06T01:30:37Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=File:Site_search_autocompletion_broken.png&amp;diff=1041</id>
		<title>File:Site search autocompletion broken.png</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=File:Site_search_autocompletion_broken.png&amp;diff=1041"/>
		<updated>2024-09-06T01:30:18Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Number:429_Too_Many_Requests_error&amp;diff=1040</id>
		<title>Number:429 Too Many Requests error</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Number:429_Too_Many_Requests_error&amp;diff=1040"/>
		<updated>2024-09-06T01:27:05Z</updated>

		<summary type="html">&lt;p&gt;Vipul: Created page with &amp;quot;This content is copied from Ref:Ref:429 Too Many Requests error.  If you get a 429 Too Many Requests error when browsing this site, read on.  You&amp;#039;re probably seeing this error because a large number of requests have been made from your IP address over a short period of time. That&amp;#039;s probably a lot of requests from you or others who share your IP address (such as your home wi-fi network). Waiting a minute and then retrying should generally work.  If you are an actual h...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This content is copied from [[Ref:Ref:429 Too Many Requests error]].&lt;br /&gt;
&lt;br /&gt;
If you get a 429 Too Many Requests error when browsing this site, read on.&lt;br /&gt;
&lt;br /&gt;
You&#039;re probably seeing this error because a large number of requests have been made from your IP address over a short period of time. That&#039;s probably a lot of requests from you or others who share your IP address (such as your home wi-fi network). Waiting a minute and then retrying should generally work.&lt;br /&gt;
&lt;br /&gt;
If you are an actual human being with a legitimate reason to be browsing the site heavily, first, thank you and sorry about this! We set rate limits to prevent bots, spiders, spammers, and malicious actors from consuming too much of our server&#039;s resources so that our server&#039;s resources can be devoted to real humans like you. Consider writing to vipulnaik1@gmail.com with your IP address to have the IP address whitelisted. You can get your IP address by [https://www.google.com/search?q=my+ip+address Googling &amp;quot;my IP address&amp;quot;] (scroll down a little bit to where Google includes the IP address in a box). NOTE: If you have both an IPv4 address and an IPv6 address, you should send both; the server supports both IPv4 and IPv6, so either may end up getting used. To check if you have an IPv6 address, try visiting [https://ipv6.google.com/ ipv6.google.com].&lt;br /&gt;
&lt;br /&gt;
If your IP address changes, or you are away from your home network, then you&#039;ll get rate-limited again. So if you find yourself getting rate-limited after already having been whitelisted, check if you are on a different IP address than the one for which you requested whitelisting.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=MediaWiki:Sitenotice&amp;diff=1039</id>
		<title>MediaWiki:Sitenotice</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=MediaWiki:Sitenotice&amp;diff=1039"/>
		<updated>2024-09-06T01:26:11Z</updated>

		<summary type="html">&lt;p&gt;Vipul: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=User:Vipul/Sandbox&amp;diff=1038</id>
		<title>User:Vipul/Sandbox</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=User:Vipul/Sandbox&amp;diff=1038"/>
		<updated>2024-09-06T01:24:45Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* &amp;lt;math&amp;gt;\sqrt{7 + 2}!! + 4 = 724&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\sqrt{7 + \sqrt{4}}!! + 4! = 744&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5^{1 + 2} = 125&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6^{2 + 1} = 216&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math(3 + 4)^3 = 343&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=User:Vipul/Sandbox&amp;diff=1037</id>
		<title>User:Vipul/Sandbox</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=User:Vipul/Sandbox&amp;diff=1037"/>
		<updated>2024-09-06T01:20:22Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* &amp;lt;math&amp;gt;\sqrt{7 + 2}!! + 4 = 724&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\sqrt{7 + \sqrt{4}}!! + 4! = 744&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5^{1 + 2} = 125&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6^{2 + 1} = 216&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=User:Vipul/Sandbox&amp;diff=1034</id>
		<title>User:Vipul/Sandbox</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=User:Vipul/Sandbox&amp;diff=1034"/>
		<updated>2024-09-06T01:16:49Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* &amp;lt;math&amp;gt;\sqrt{7 + 2}!! + 4 = 724&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\sqrt{7 + \sqrt{4}}!! + 4! = 744&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5^{1 + 2} = 125&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=MediaWiki:Sitenotice&amp;diff=1033</id>
		<title>MediaWiki:Sitenotice</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=MediaWiki:Sitenotice&amp;diff=1033"/>
		<updated>2024-09-06T01:10:02Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;This wiki is in the process of being upgraded. The site may go down intermittently. Please try to avoid editing until this notice has been removed.&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=1729&amp;diff=1032</id>
		<title>1729</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=1729&amp;diff=1032"/>
		<updated>2024-07-14T20:18:04Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Properties and families */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{particular number}}&lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
&lt;br /&gt;
===Names===&lt;br /&gt;
&lt;br /&gt;
This number is called the &#039;&#039;&#039;Hardy-Ramanujan number&#039;&#039;&#039; after a conversation between Hardy and Ramanujan where Ramanujan observed that it is the smallest number expressible as the sum of two cubes in two distinct ways: &amp;lt;math&amp;gt;\! 1729 = 10^3 + 9^3 = 12^3 + 1^3&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Factorization===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\! 1729 = 7 \cdot 13 \cdot 19&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Properties and families===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property or family !! Parameter values !! First few members !! Proof of membership/containment/satisfaction&lt;br /&gt;
|-&lt;br /&gt;
| [[satsfies property::Carmichael number]] || third among them || {{#lst:Carmichael number|list}} || The universal exponent is &amp;lt;math&amp;gt;\operatorname{lcm}\{ 6, 12, 18\} = 36&amp;lt;/math&amp;gt; which divides 1728.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::Poulet number]] ([[Fermat pseudoprime]] to base 2) || sixth among them || {{#lst:Poulet number|list}} || follows from being a Carmichael number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Function !! Value !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| {{arithmetic function value|Euler totient function|1296}} || It is the product &amp;lt;math&amp;gt;(7 - 1)(13 - 1)(19 - 1) = (6)(12)(18) = 1296&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| {{arithmetic function value|universal exponent|36}} || It is the [[least common multiple]] of &amp;lt;math&amp;gt;\{7 - 1, 13  - 1, 19 - 1\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| {{arithmetic function value|divisor count function|8}} || It is the product &amp;lt;math&amp;gt;(1 + 1)(1 + 1)(1 + 1)&amp;lt;/math&amp;gt; where the first 1s in each sum represent the multiplicities of the prime divisors.&lt;br /&gt;
|-&lt;br /&gt;
| {{arithmetic function value|divisor sum function|2240}} || It is the product of &amp;lt;math&amp;gt;(7^2 - 1)/(7 - 1)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;(13^2 - 1)/(13 - 1)&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;(19^2 - 1)/(19 - 1)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| {{arithmetic function value|largest prime divisor|19}} || direct from factorization&lt;br /&gt;
|-&lt;br /&gt;
| {{arithmetic function value|largest prime power divisor|19}} || direct from factorization&lt;br /&gt;
|-&lt;br /&gt;
| {{arithmetic function value|square-free part|1729}} || the original number is a [[square-free number]].&lt;br /&gt;
|-&lt;br /&gt;
| {{arithmetic function value|Mobius function|-1}} || the number is square-free and has an odd number of prime divisors (namely, 3 prime divisors).&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=User:Vipul/Sandbox&amp;diff=1031</id>
		<title>User:Vipul/Sandbox</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=User:Vipul/Sandbox&amp;diff=1031"/>
		<updated>2024-07-14T17:21:55Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* &amp;lt;math&amp;gt;\sqrt{7 + 2}!! + 4 = 724&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\sqrt{7 + \sqrt{4}}!! + 4! = 744&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=User:Vipul/Sandbox&amp;diff=1021</id>
		<title>User:Vipul/Sandbox</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=User:Vipul/Sandbox&amp;diff=1021"/>
		<updated>2024-07-14T17:17:57Z</updated>

		<summary type="html">&lt;p&gt;Vipul: Created page with &amp;quot;* &amp;lt;math&amp;gt;\sqrt{7 + 2}!! + 4 = 724&amp;lt;/math&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* &amp;lt;math&amp;gt;\sqrt{7 + 2}!! + 4 = 724&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Number:Privacy_policy&amp;diff=1018</id>
		<title>Number:Privacy policy</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Number:Privacy_policy&amp;diff=1018"/>
		<updated>2022-09-25T15:38:06Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This privacy policy is common to subject wikis. For the original privacy policy, refer [[Ref:Ref:Privacy policy]].&lt;br /&gt;
&lt;br /&gt;
==Privacy for readers==&lt;br /&gt;
&lt;br /&gt;
If you are surfing this website, your actions are logged in our usage logs. These usage logs are accessible to:&lt;br /&gt;
&lt;br /&gt;
* The site&#039;s administrators and technical support group. For a full list of administrators, contact [[User:Vipul|Vipul Naik]] by email: vipulnaik1@gmail.com.&lt;br /&gt;
* The service that hosts the data and servers, which is currently [http://www.linode.com Linode].&lt;br /&gt;
* Google Analytics, which has been integrated to collect site statistics. View Google&#039;s privacy policy here: https://policies.google.com/privacy?hl=en&lt;br /&gt;
* Other third-party JS scripts that collect user activity; none of these should collect any personally identifiable information (PII). For a list of all scripts running at the current time, contact [[User:Vipul|Vipul Naik]] by email: vipulnaik1@gmail.com.&lt;br /&gt;
&lt;br /&gt;
==Privacy for editors==&lt;br /&gt;
&lt;br /&gt;
Editing on subject wikis is generally permitted only for registered users. Registered users must, at the time of registration, provide their real name, and enter basic information about their reason for interest. &#039;&#039;No&#039;&#039; private information such as date of birth, social security or taxation number, or home address is sought.&lt;br /&gt;
&lt;br /&gt;
Regarding personal information:&lt;br /&gt;
&lt;br /&gt;
* The email IDs of registered users are visible to site administrators only. For information about site administrators, contact vipulnaik1@gmail.com with the particular subject wiki and the reason for request.&lt;br /&gt;
* All editing activity by registered users is recorded on the site and is visible to all site users. However, this information is not indexed by search engines that follow robots.txt.&lt;br /&gt;
* For edits made by registered users when logged in, the originating IP addresses for the edits can be accessed only by the site administrators.&lt;br /&gt;
* Passwords chosen by registered users are not humanly accessible, even to site administrators.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Highly_composite_number&amp;diff=1017</id>
		<title>Highly composite number</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Highly_composite_number&amp;diff=1017"/>
		<updated>2022-07-23T23:13:12Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{natural number property}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
A [[natural number]] &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is termed a &#039;&#039;&#039;highly composite number&#039;&#039;&#039; if it is a [[defining ingredient::strict maximum-so-far]] for the [[defining ingredient::divisor count function]]. In other words, if &amp;lt;math&amp;gt;\tau(n)&amp;lt;/math&amp;gt; denotes the number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is highly composite if &amp;lt;math&amp;gt;\tau(n) &amp;gt; \tau(k)&amp;lt;/math&amp;gt; for every natural number &amp;lt;math&amp;gt;k &amp;lt; n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Relation with other properties==&lt;br /&gt;
&lt;br /&gt;
* [[Superabundant number]] is a closely related notion -- it is a [[strict maximum-so-far]] for the ratio of the [[divisor sum function]] to the number itself.&lt;br /&gt;
&lt;br /&gt;
==Occurrence==&lt;br /&gt;
&lt;br /&gt;
===Initial values===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;list&amp;quot;/&amp;gt;[[1]], [[2]], [[4]], [[6]], [[12]], [[24]], [[36]], [[48]], [[60]], [[120]], [[180]], [[240]], [[360]], [[720]], &amp;lt;toggledisplay&amp;gt;840, 1260, 1680, 2520, 5040, 7560, 10080, 15120, 20160, 25200, 27720, 45360, 50400, 55440, 83160, 110880, 166320, 221760, 277200, 332640, 498960, 554400, 665280, 720720, 1081080, 1441440, 2162160&amp;lt;/toggledisplay&amp;gt;[[Oeis:A002182|View list on OEIS]]&amp;lt;section end=&amp;quot;list&amp;quot;/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Semiprime&amp;diff=1016</id>
		<title>Semiprime</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Semiprime&amp;diff=1016"/>
		<updated>2022-07-23T23:06:40Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{natural number property}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;semiprime&#039;&#039;&#039; is a composite [[natural number]] that is the product of two (possibly equal) primes. In other words, a semiprime is a &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;-almost prime.&lt;br /&gt;
&lt;br /&gt;
==Facts==&lt;br /&gt;
&lt;br /&gt;
* [[Carmichael number is not semiprime]]&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Strong_pseudoprime&amp;diff=1015</id>
		<title>Strong pseudoprime</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Strong_pseudoprime&amp;diff=1015"/>
		<updated>2021-06-15T22:44:02Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Definition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{base-relative pseudoprimality property|&lt;br /&gt;
test fooled = Rabin-Miller primality test}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Suppose &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is an odd composite natural number and &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is an integer relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. We say that &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a &#039;&#039;&#039;strong pseudoprime&#039;&#039;&#039; (also called &#039;&#039;&#039;Miller-Rabin pseudoprime&#039;&#039;&#039;, &#039;&#039;&#039;Rabin-Miller pseudoprime&#039;&#039;&#039;, &#039;&#039;&#039;Miller-Rabin strong pseudoprime&#039;&#039;&#039;, &#039;&#039;&#039;Rabin-Miller strong pseudoprime&#039;&#039;&#039;) to base &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; if the following holds.&lt;br /&gt;
&lt;br /&gt;
Write &amp;lt;math&amp;gt;n-1 = 2^k s&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;s&amp;lt;/math&amp;gt; is odd and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; is a nonnegative integer. Then, either one of these conditions should hold:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;a^s \equiv 1 \pmod n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;a^{n-1} \equiv 1 \pmod n&amp;lt;/math&amp;gt;. Further, consider the smallest &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; for which &amp;lt;math&amp;gt;a^{2^ls} \equiv 1 \pmod n&amp;lt;/math&amp;gt;. Then, &amp;lt;math&amp;gt;a^{2^{l-1}s} \equiv -1 \pmod n&amp;lt;/math&amp;gt;. In other words, the last value before becoming &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The name &#039;&#039;strong pseudoprime&#039;&#039; is because the above condition is satisfied for all primes, and is a particularly strong condition for which finding composite numbers is hard.&lt;br /&gt;
&lt;br /&gt;
==Relation with other properties==&lt;br /&gt;
&lt;br /&gt;
===Weaker properties===&lt;br /&gt;
&lt;br /&gt;
* [[Stronger than::Euler pseudoprime]]&lt;br /&gt;
* [[Stronger than::Fermat pseudoprime]]&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=User:Vipul/sandbox&amp;diff=1014</id>
		<title>User:Vipul/sandbox</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=User:Vipul/sandbox&amp;diff=1014"/>
		<updated>2016-09-05T20:25:32Z</updated>

		<summary type="html">&lt;p&gt;Vipul: Created page with &amp;quot;&amp;lt;math&amp;gt;\frac{e^{\sqrt{\pi}}}{2t^3 \pm 1}&amp;lt;/math&amp;gt;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;math&amp;gt;\frac{e^{\sqrt{\pi}}}{2t^3 \pm 1}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1013</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1013"/>
		<updated>2014-01-29T22:44:31Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Initial values */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Algebraic significance===&lt;br /&gt;
&lt;br /&gt;
The Euler phi-function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Initial values==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; !! Prime factorization !! Totient function &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;n - \varphi(n)&amp;lt;/math&amp;gt; (equals 1 iff &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is prime) !! &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; (reduced, equals product of &amp;lt;math&amp;gt;(1 - 1/p)&amp;lt;/math&amp;gt; for primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; dividing &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; -- depends only on the &#039;&#039;set&#039;&#039; of prime divisors) !! Universal exponent &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;\varphi(n)/\lambda(n)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[1]] || empty || 1 || 0 || 1 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[2]] || 2 || 1 || 1 || 1/2 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[3]] || 3 || 2 || 1 || 2/3 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[4]] || &amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; || 2 || 2 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[5]] || 5 || 4 || 1 || 4/5 || 4 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[6]] || &amp;lt;math&amp;gt;2 \cdot 3&amp;lt;/math&amp;gt; || 2 || 4 || 1/3 || 2 || 1&lt;br /&gt;
|- &lt;br /&gt;
| [[7]] || 7 || 6 || 1 || 6/7 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[8]] || &amp;lt;math&amp;gt;2^3&amp;lt;/math&amp;gt; || 4 || 4 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[9]] || &amp;lt;math&amp;gt;3^2&amp;lt;/math&amp;gt; || 6 || 3 || 2/3 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| Prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1 || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 1/2 || &amp;lt;math&amp;gt;2^{k-2}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, else &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 2 if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, 1 otherwise&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; odd || &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}(p-1)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Description !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \frac{n}{\operatorname{Li}(n)}&amp;lt;/math&amp;gt;, whereas &amp;lt;math&amp;gt;\omega(n) = O(\log n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~n/\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in \mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1012</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1012"/>
		<updated>2014-01-29T22:44:02Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Related arithmetic functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Algebraic significance===&lt;br /&gt;
&lt;br /&gt;
The Euler phi-function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Initial values==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; !! Prime factorization !! Totient function &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;n - \varphi(n)&amp;lt;/math&amp;gt; (equals 1 iff &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is prime) !! &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; (reduced, equals product of &amp;lt;math&amp;gt;(1 - 1/p)&amp;lt;/math&amp;gt; for primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; dividing &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; -- depends only on the &#039;&#039;set&#039;&#039; of prime divisors) !! Universal exponent &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; !! &amp;lt;math&amp;gt;\varphi(n)/\lambda(n)&lt;br /&gt;
|-&lt;br /&gt;
| [[1]] || empty || 1 || 0 || 1 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[2]] || 2 || 1 || 1 || 1/2 || 1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[3]] || 3 || 2 || 1 || 2/3 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[4]] || &amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; || 2 || 2 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[5]] || 5 || 4 || 1 || 4/5 || 4 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[6]] || &amp;lt;math&amp;gt;2 \cdot 3&amp;lt;/math&amp;gt; || 2 || 4 || 1/3 || 2 || 1&lt;br /&gt;
|- &lt;br /&gt;
| [[7]] || 7 || 6 || 1 || 6/7 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[8]] || &amp;lt;math&amp;gt;2^3&amp;lt;/math&amp;gt; || 4 || 4 || 1/2 || 2 || 1&lt;br /&gt;
|-&lt;br /&gt;
| [[9]] || &amp;lt;math&amp;gt;3^2&amp;lt;/math&amp;gt; || 6 || 3 || 2/3 || 6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| Prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1 || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p - 1&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 1/2 || &amp;lt;math&amp;gt;2^{k-2}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, else &amp;lt;math&amp;gt;2^{k-1}&amp;lt;/math&amp;gt; || 2 if &amp;lt;math&amp;gt;k \ge 3&amp;lt;/math&amp;gt;, 1 otherwise&lt;br /&gt;
|-&lt;br /&gt;
| Power &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; odd || &amp;lt;math&amp;gt;p^k&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}(p-1)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;p^{k-1}&amp;lt;/math&amp;gt; || 1&lt;br /&gt;
|}&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Description !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \frac{n}{\operatorname{Li}(n)}&amp;lt;/math&amp;gt;, whereas &amp;lt;math&amp;gt;\omega(n) = O(\log n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~n/\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in \mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1011</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1011"/>
		<updated>2014-01-29T22:34:34Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Relations expressed in terms of Dirichlet products */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Algebraic significance===&lt;br /&gt;
&lt;br /&gt;
The Euler phi-function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Description !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \frac{n}{\operatorname{Li}(n)}&amp;lt;/math&amp;gt;, whereas &amp;lt;math&amp;gt;\omega(n) = O(\log n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~n/\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in \mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1010</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1010"/>
		<updated>2014-01-29T22:34:17Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Relations expressed in terms of Dirichlet products */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Algebraic significance===&lt;br /&gt;
&lt;br /&gt;
The Euler phi-function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Description !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || Proof: We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \frac{n}{\operatorname{Li}(n)}&amp;lt;/math&amp;gt;, whereas &amp;lt;math&amp;gt;\omega(n) = O(\log n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~n/\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in \mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1009</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1009"/>
		<updated>2014-01-29T22:32:51Z</updated>

		<summary type="html">&lt;p&gt;Vipul: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Algebraic significance===&lt;br /&gt;
&lt;br /&gt;
The Euler phi-function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || Proof: We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \frac{n}{\operatorname{Li}(n)}&amp;lt;/math&amp;gt;, whereas &amp;lt;math&amp;gt;\omega(n) = O(\log n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~n/\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in \mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1008</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1008"/>
		<updated>2014-01-29T22:31:42Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Dirichlet series */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || Proof: We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \frac{n}{\operatorname{Li}(n)}&amp;lt;/math&amp;gt;, whereas &amp;lt;math&amp;gt;\omega(n) = O(\log n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~n/\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in \mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;br /&gt;
&lt;br /&gt;
==Algebraic significance==&lt;br /&gt;
&lt;br /&gt;
The Euler phi-function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1007</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1007"/>
		<updated>2014-01-29T22:31:04Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Inequalities */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || Proof: We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \frac{n}{\operatorname{Li}(n)}&amp;lt;/math&amp;gt;, whereas &amp;lt;math&amp;gt;\omega(n) = O(\log n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~n/\operatorname{Li}(n)&amp;lt;/math&amp;gt;. Note that this estimation relies on the [[prime number theorem]].&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;br /&gt;
&lt;br /&gt;
==Algebraic significance==&lt;br /&gt;
&lt;br /&gt;
The Euler phi-function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1006</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1006"/>
		<updated>2014-01-29T22:30:35Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Inequalities */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || Proof: We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Nature of bound (upper bound or lower) !! Formula !! Arithmetic functions used !! Explanation !! Asymptotic implication&lt;br /&gt;
|-&lt;br /&gt;
| lower || &amp;lt;math&amp;gt;\pi(n) - \omega(n)&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Any prime less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that does &#039;&#039;not&#039;&#039; divide &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; must be relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\pi(n) \sim \frac{n}{\operatorname{Li}(n)}&amp;lt;/math&amp;gt;, whereas &amp;lt;math&amp;gt;\omega(n) = O(\log n)&amp;lt;/math&amp;gt;. Thus, we get an asymptotic lower bound of &amp;lt;math&amp;gt;~n/\operatorname{Li}(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| upper || &amp;lt;math&amp;gt;n - \sigma_0(n) + 1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || With the exception of 1, any number in &amp;lt;math&amp;gt;\{1, 2, \dots, n\}&amp;lt;/math&amp;gt; cannot be both a divisor of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. || Nothing specifically, but it does show that for non-primes, there is a relatively sharp demarcation between &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; (in terms of differences, not ratios).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;br /&gt;
&lt;br /&gt;
==Algebraic significance==&lt;br /&gt;
&lt;br /&gt;
The Euler phi-function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1005</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1005"/>
		<updated>2014-01-29T22:24:35Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Dirichlet series */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || Proof: We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;\varphi(n) \ge \pi(n) - \omega(n)&amp;lt;/math&amp;gt;: Here, &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\varphi(n) \le n - \sigma_0(n) + 1&amp;lt;/math&amp;gt;: Here, &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;br /&gt;
&lt;br /&gt;
==Algebraic significance==&lt;br /&gt;
&lt;br /&gt;
The Euler phi-function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1004</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1004"/>
		<updated>2014-01-29T22:23:53Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Relations expressed in terms of Dirichlet products */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || Proof: We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;\varphi(n) \ge \pi(n) - \omega(n)&amp;lt;/math&amp;gt;: Here, &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\varphi(n) \le n - \sigma_0(n) + 1&amp;lt;/math&amp;gt;: Here, &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;br /&gt;
==Algebraic significance==&lt;br /&gt;
&lt;br /&gt;
The Euler phi-function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1003</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1003"/>
		<updated>2014-01-29T22:23:39Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Relations expressed in terms of Dirichlet products */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || Proof: We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers. Note that the rows can each be deduced from one another:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || no name || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma_1&amp;lt;math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;\varphi(n) \ge \pi(n) - \omega(n)&amp;lt;/math&amp;gt;: Here, &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\varphi(n) \le n - \sigma_0(n) + 1&amp;lt;/math&amp;gt;: Here, &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;br /&gt;
==Algebraic significance==&lt;br /&gt;
&lt;br /&gt;
The Euler phi-function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1002</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1002"/>
		<updated>2014-01-29T22:22:11Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Relations expressed in terms of Dirichlet products */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] || &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || Proof: We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;\varphi(n) \ge \pi(n) - \omega(n)&amp;lt;/math&amp;gt;: Here, &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\varphi(n) \le n - \sigma_0(n) + 1&amp;lt;/math&amp;gt;: Here, &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;br /&gt;
==Algebraic significance==&lt;br /&gt;
&lt;br /&gt;
The Euler phi-function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1001</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1001"/>
		<updated>2014-01-29T22:21:51Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Relations expressed in terms of Dirichlet products */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;/math&amp;gt; || the [[divisor count function]] &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || Proof: We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;\varphi(n) \ge \pi(n) - \omega(n)&amp;lt;/math&amp;gt;: Here, &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\varphi(n) \le n - \sigma_0(n) + 1&amp;lt;/math&amp;gt;: Here, &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;br /&gt;
==Algebraic significance==&lt;br /&gt;
&lt;br /&gt;
The Euler phi-function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1000</id>
		<title>Euler totient function</title>
		<link rel="alternate" type="text/html" href="https://number.subwiki.org/w/index.php?title=Euler_totient_function&amp;diff=1000"/>
		<updated>2014-01-29T22:21:37Z</updated>

		<summary type="html">&lt;p&gt;Vipul: /* Similar functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{arithmetic function}}&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; be a [[natural number]]. The &#039;&#039;&#039;Euler phi-function&#039;&#039;&#039; or &#039;&#039;&#039;Euler totient function&#039;&#039;&#039; of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, denoted &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;, is defined as following:&lt;br /&gt;
&lt;br /&gt;
* It is the order of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, i.e., the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the number of elements in &amp;lt;math&amp;gt;\{ 1,2, \dots, n \}&amp;lt;/math&amp;gt; that are relatively prime to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===In terms of prime factorization===&lt;br /&gt;
&lt;br /&gt;
Suppose we have the following prime factorization of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;n = p_1^{k_1}p_2^{k_2} \dots p_r^{k_r}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\varphi(n) = \prod_{i=1}^r p_i^{k_i}\left(1 - \frac{1}{p_i}\right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In other words:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n} = \prod_{i=1}^r \left(1 - \frac{1}{p_i} \right)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Properties==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Property !! Satisfied? !! Statement with symbols&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::multiplicative function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are relatively prime [[natural number]]s, then &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| [[dissatisfies property::completely multiplicative function]] || No || It is not true for arbitrary natural numbers &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; that &amp;lt;math&amp;gt;\varphi(mn) = \varphi(m)\varphi(n)&amp;lt;/math&amp;gt;. For instance, if &amp;lt;math&amp;gt;m = n = 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m) = \varphi(n) = 1&amp;lt;/math&amp;gt; whereas &amp;lt;math&amp;gt;\varphi(mn)&amp;lt;/math&amp;gt; is 2.&lt;br /&gt;
|-&lt;br /&gt;
| [[satisfies property::divisibility-preserving function]] || Yes || If &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; are natural numbers such that &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;divides &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;\varphi(m)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Behavior==&lt;br /&gt;
&lt;br /&gt;
===High and low points (relatively speaking)===&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Primes are high points&#039;&#039;&#039;: We also have &amp;lt;math&amp;gt;\varphi(n) \le n - 1&amp;lt;/math&amp;gt; for &amp;lt;matH&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;. Equality occurs if and only if &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is a [[prime number]].&lt;br /&gt;
* &#039;&#039;&#039;Primorials are low points&#039;&#039;&#039;: Roughly, the numbers occurring as [[primorial]]s (products of the first few primes) have the lowest value of &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; relative to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, compared with other similarly sized numbers.&lt;br /&gt;
&lt;br /&gt;
===Measures of difference===&lt;br /&gt;
&lt;br /&gt;
We use the [[infinitude of primes]] for arguing about limit superiors. The limits discussed are in the limit as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;. Note that the last quotient is undefined for &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Measure !! Limit superior !! Explanation !! Limit inferior !! Explanation&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi(n) - n&amp;lt;/math&amp;gt; || -1 || maximum value of -1 occurs at primes || &amp;lt;math&amp;gt;-\infty&amp;lt;/math&amp;gt; || Consider the sequence of powers 2. &amp;lt;math&amp;gt;\varphi(2^k) = 2^{k-1}&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi(2^k) - 2^k = -2^{k-1} \to -\infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\varphi(n)}{n}&amp;lt;/math&amp;gt; || 1 || At each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, value is &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt;. Limit is 1 as &amp;lt;math&amp;gt;p \to \infty&amp;lt;/math&amp;gt; || 0 || Consider the sequence of primorials. The corresponding values of &amp;lt;math&amp;gt;\varphi(n)/n&amp;lt;/math&amp;gt; are products of the values &amp;lt;math&amp;gt;1 - (1/p)&amp;lt;/math&amp;gt; for the first few primes &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. The limit of these is the infinite product &amp;lt;math&amp;gt;\prod_p \left(1 - \frac{1}{p}\right)&amp;lt;/math&amp;gt; over all prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. This diverges because the infinite sum of the reciprocals of the primes diverges.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\frac{\ln \varphi(n)}{\ln n}&amp;lt;/math&amp;gt; || 1 || For each prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, the limit is &amp;lt;math&amp;gt;\ln(p - 1)/\ln p&amp;lt;/math&amp;gt; ,which approaches 1. || 1 || We can show that for every &amp;lt;math&amp;gt;\varepsilon &amp;gt; 0&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;N_\varepsilon&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) \ge n^{1 - \varepsilon}&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n \ge N_\varepsilon&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Related arithmetic functions==&lt;br /&gt;
&lt;br /&gt;
===Summatory functions===&lt;br /&gt;
&lt;br /&gt;
The sum of the values of the totient function for all natural numbers up to a given number is termed the [[totient summary function]].&lt;br /&gt;
&lt;br /&gt;
===Similar functions===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Name of arithmetic function !! Description !! Mathematical relation with Euler totient function&lt;br /&gt;
|-&lt;br /&gt;
| [[Universal exponent]] (also called Carmichael function)|| The [[groupprops:exponent of a group|exponent]] of the multiplicative group modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. Denoted &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt;|| &amp;lt;math&amp;gt;\lambda(n)&amp;lt;/math&amp;gt; divides &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt;. This is related to the group-theoretic fact that [[groupprops:exponent divides order|exponent divides order]].&lt;br /&gt;
|-&lt;br /&gt;
| [[Dedekind psi-function]] || Defined as &amp;lt;math&amp;gt;\psi(n) = n \prod_{p|n} \left( 1 + \frac{1}{p}\right)&amp;lt;/math&amp;gt; || Structural similarity in definition. Also, &amp;lt;math&amp;gt;\psi(n) \ge \varphi(n)&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, with equality occurring iff &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Relations expressed in terms of Dirichlet products===&lt;br /&gt;
&lt;br /&gt;
Below are some [[Dirichlet product]]s of importance.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Statement !! Function !! Value of the Dirichlet product &amp;lt;math&amp;gt;\varphi *&amp;lt;/math&amp;gt; the function !! Description !! Statement in ordinary notation !! Proof !! Corollaries&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt;||  &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; || the function that sends every natural number to 1 || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || the function that sends every natural number to itself || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) = n&amp;lt;/math&amp;gt; || Direct combinatorial argument: each summand is the number of elements in &amp;lt;math&amp;gt;\{ 1, \dots, n \}&amp;lt;/math&amp;gt; whose gcd with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;n/d&amp;lt;/math&amp;gt;. || &amp;lt;math&amp;gt;\varphi = E * \mu&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is the [[Mobius function]]. This follows from the fact that &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt;.&amp;lt;br&amp;gt;Also, &amp;lt;math&amp;gt;\varphi * \sigma_1 = E * E&amp;lt;/math&amp;gt;, follows from this and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_0&amp;lt;math&amp;gt; || the [[divisor count function]] &amp;lt;math&amp;gt;\sigma = \sigma_1&amp;lt;/math&amp;gt; || the [[divisor sum function]] || &amp;lt;math&amp;gt;\sum_{d|n} \varphi(d) \sigma_0(n/d) = \sigma(n)&amp;lt;/math&amp;gt; || Proof: We have &amp;lt;math&amp;gt;\sigma_0 = U * U&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sigma_1 = E * U&amp;lt;/math&amp;gt; by definition. Multiply both sides of the former by &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; and use associativity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = (\varphi * U) * U&amp;lt;/math&amp;gt;. Use the preceding identity to get &amp;lt;math&amp;gt;\varphi * \sigma_0 = E * U&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\varphi * \sigma_0 = \sigma_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The table of relationships can be conceptualized as follows, where the cell entries are the products of their row and column headers:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! !! &amp;lt;math&amp;gt;\mu = U^{-1}&amp;lt;/math&amp;gt; ([[Mobius function]]) !! &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; (Kronecker delta with 1, identity for Dirichlet product) !! &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt; ([[all ones function]]) !! &amp;lt;math&amp;gt;\sigma_0 = U^2&amp;lt;/math&amp;gt; ([[divisor count function]])&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; (identity map, sends everything to itself) || &amp;lt;math&amp;gt;\varphi&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;\sigma_1&amp;lt;/math&amp;gt; || no name&lt;br /&gt;
|}&lt;br /&gt;
===Inequalities===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;\varphi(n) \ge \pi(n) - \omega(n)&amp;lt;/math&amp;gt;: Here, &amp;lt;math&amp;gt;\pi(n)&amp;lt;/math&amp;gt; is the [[prime-counting function]], and counts the number of primes less than or equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, while &amp;lt;math&amp;gt;\omega(n)&amp;lt;/math&amp;gt; is the [[prime divisor count function]] of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;\varphi(n) \le n - \sigma_0(n) + 1&amp;lt;/math&amp;gt;: Here, &amp;lt;math&amp;gt;\sigma_0(n)&amp;lt;/math&amp;gt; is the [[divisor count function]], counting the total number of divisors of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
==Relation with properties of numbers==&lt;br /&gt;
&lt;br /&gt;
* [[Prime number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n) = n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
* [[Polygonal number]]: A natural number &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;\varphi(n)&amp;lt;/math&amp;gt; is a power of &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt;, or equivalently, such that the regular &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-gon is constructible using straightedge and compass.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dirichlet series==&lt;br /&gt;
&lt;br /&gt;
{{further|[[Formula for Dirichlet series of Euler phi-function]]}}&lt;br /&gt;
&lt;br /&gt;
The [[Dirichlet series]] for the Euler phi-function is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\varphi(n)}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using the [[Dirichlet product]] identity &amp;lt;math&amp;gt;\varphi * U = E&amp;lt;/math&amp;gt; and the fact that [[Dirichlet series of Dirichlet product equals product of Dirichlet series]], we get:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in \mathbb{N}} \frac{\varphi(n)}{n^s} \sum_{n \in mathbb{N}} \frac{1}{n^s} = \sum_{n \in \mathbb{N}} \frac{n}{n^s}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This simplifies to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n \in mathbb{N}} \frac{\varphi(n)}{n^s} = \frac{\zeta(s - 1)}{\zeta(s)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This identity holds not just for the formal Dirichlet series, but also for their analytic continuations, and is valid universally for the meromorphic functions.&lt;br /&gt;
==Algebraic significance==&lt;br /&gt;
&lt;br /&gt;
The Euler phi-function of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is important in the following ways:&lt;br /&gt;
&lt;br /&gt;
* It is the number of generators of the cyclic group of order &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
* It is the order of the multiplicative group of the ring of integers modulo &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; (in fact, this multiplicative group is precisely the set of generators of the additive group).&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
</feed>