Questions tagged [totient-function]

Questions on the totient function $\phi(n)$ (sometimes $\varphi(n)$) of Euler, the function that counts the number of positive integers relatively prime to and less than or equal to $n$.

The Euler phi function $\phi(n)$ is defined to be the number of integers between $1$ and $n$ which are relatively prime to $n$; that is,

$$\phi(n) = |\{1 \le k < n : \gcd{(k, n)} = 1\}|$$

The phi function is multiplicative; that is, if $n$ and $m$ are relatively prime, then

$$\phi(nm) = \phi(n) \phi(m)$$

There is also a product representation,

$$\phi(n) = n \prod_{p|n} \left(1 - \frac{1}{p}\right)$$

where the product is taken over prime divisors of $n$.

One particularly important use of Euler's phi function is in computing exponents with modular arithmetic. Whenever $a$ and $n$ are relatively prime, Euler's theorem states that

$$a^{\phi(n)} \equiv 1 \pmod{n}$$

1298 questions
5
votes
1 answer

Is there any unique value for Euler Phi Function $\phi(n)$?

I know $\phi(n) = \phi(2n)$ for $n$ odd and greater than $1$. I wonder if there any value $k$ such that $\phi(n) = k$ for a unique $n$. $\phi(2) = \phi(1) = 1$ so of course $1$ cannot be that value. I know $n$ must be even. I have looked at a few…
Josh
  • 1,086
  • 4
  • 15
3
votes
1 answer

Convert this intuitive explanation of Euler's Totient function into a proof

I have seen an explanation of the identification of Euler's Totient function with a product of terms $\psi(n) = n \prod_{p|n} (1 - 1/p)$ where the $p$'s are prime numbers dividing $n$. "Imagine the integers $0, 1, ... n-1$ . These are the…
Mark
  • 5,696
3
votes
1 answer

A proof of the approximate expression about totient summatory function

I'm a high school student in Korea. I am preparing for a presentation. so I prove an approximate expression about totient summatory function , but I'm not sure that the proof is correct. If the proof is incorrect , please tell me what is incorrect.…
G.H.lee
  • 401
2
votes
1 answer

Values of the Euler-Phi function

I tried to find an answer to the following problem, but i don't even know how to describe it in order to search for it: Is it true that $\forall n \in \mathbb N: \exists m \in \mathbb N: \exists k \in \mathbb N: \phi(m)=2^k n$. If this holds what is…
user75148
  • 169
2
votes
0 answers

Composition of Euler's $\phi$ function

I am trying to show that the $\phi(\phi(n))$ is equal to the number of generators of $\mathbb{Z}_n^*$ for all $n$ such that a generator exists. Generators only exist for cyclic groups, and so I know that $n$ must be equal to $1,2,4,p^k$, or $2p^k$…
TNoms
  • 97
2
votes
1 answer

There don't exist positive integers m and n such that $\varphi(n) = 2 · 7^{5m+4}$

Suppose there are $m,n\in \mathbb{N}$ such that $\varphi(n)=2\cdot 7^{5m+4}$. Then…
2
votes
2 answers

Maximum of $\frac{\phi(i)}i$

For a given $N$, is there an approach to find the maximum $\frac{\phi(i)}i$ ($2\le i\le N$)? Like for $n=2$, $\frac{\phi(2)}2=\frac12$ is maximum for $n=3$, $\frac{\phi(3)}3=\frac23$ is maximum for $n=4$, $\frac{\phi(3)}3=\frac23$ is maximum From…
mohan
  • 23
2
votes
1 answer

Is there an integral representation for Euler's Totient function?

The question is pretty much in the title. Euler's Totient function $\varphi(n)$ satisfy the following formula: $$\varphi(n) =n \prod_{p|n}\left(1-\frac{1}{p}\right)$$ Is it possible through this formula or something else to represent $\varphi(n)$ as…
2
votes
2 answers

A question about $\frac{\phi(n)}{n}$

is there a way to find $n\in \mathbb{N}$ such that $\frac{\phi(n)}{n}\geq \frac{3}{4}$, where $n=p_{1}... p_{m}$? Thanks.
Mary
  • 177
2
votes
2 answers

For each positive integer $k$, there is a positive integer $m\neq 3k$ such that $\varphi(3k)=\varphi(m)$ (with $\varphi(n)$ being Euler's totient)

Prove that for every positive integer $k$, $\exists m\neq 3k, m\in\mathbb{Z}^+$ such that $\varphi(3k)=\varphi(m)$. Here $\varphi(n)$ is Euler's totient function. I am interested in the problem above. The above is my observation, but I have to…
Anand
  • 3,588
2
votes
4 answers

For which positive integers n is $\varphi(n)$ divisible by 4?

For which positive integers n is $\varphi(n)$ divisible by 4 where $\varphi(n)$ is the Euler Phi-function?
WinstonCherf
  • 1,022
2
votes
1 answer

If $\phi(f)=2$ then $f$ is the exponent of exactly $2$ numbers

If $f$ is the exponent of a number $a$ ($\mod p$) and $\phi(f)=2$ then, $a$ and its reciprocal are the only numbers, which belong to this exponent. $\phi$ is the euler-phi function Nothing written about $p$ (whether it is prime or…
user1161
  • 659
2
votes
1 answer

prove that there are infinitely many k such that $\phi(n) = k$ has precisely two solutions

I am asked to prove that there are infinitely many $k$ such that $\phi(n) = k$ has precisely two solutions. I think for any prime number $p \mid n$, we have $(p-1) \mid \phi(n)$. But I am not sure how to proceed from here. Could someone please…
2
votes
2 answers

Euler's totient function for large numbers

I know that $\phi(n)$, Euler's totient function, defines the number of all integers less than or equal to $n$ that are relatively prime to $n$. I know that there is a trick to finding this with the larger non-prime numbers, but now I cannot find it…
Lydia
  • 123
1
vote
1 answer

Why does Euler's totient theorem always return 1 for two relative primes?

I'm working on a RSA encryption algorithm, and I can put in the formula and get the result I want, but I'm trying to understand how it is doing what it's doing. So the theorem in its basic form is: If GCD(x, y) = 1; and x < y; then xφ(y) ≡ 1 (mod…
advert665
  • 137
1
2 3 4 5