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
0
votes
0 answers

Is there a way to evaulate Euler's Totient Function $\varphi(x)$ over a range?

Are there any efficient functions to evaluate Euler's totient function $\varphi(x)$ over a explicit range $(a,b)$ where $a,b\in\mathbb{R},0\leqslant a\leqslant b$ (and potentially greater than $x$)? i.e functions that return the count of values…
0
votes
2 answers

Showing $\phi(n^2) = n\, \phi(n)$

How can I show this for Euler's $\phi$ function? $$\phi(n^2) = n\,\phi(n)$$ Ive been struggling a lot with this problem, I would appreciate some help.
x3la.F
  • 119
0
votes
0 answers

For what $k\in\mathbb{N}$ does the equation $\phi(n)=k$ has no solution?

Given that the Euler's phi-function, $\phi(n)$ is always even for $n>1$, I understand that $\phi(n)$ is never odd other than $1$. I wish to know for what $k\in\mathbb{N}$ does the equation $\phi(n)=2k$ has no solution?
0
votes
0 answers

Solving unknown exponent in 27^k ≡ 2 mod 2021

27^k ≡ 2 mod 2021 How would I solve this using Totients. Been racking my brain for like 2 hours and cannot make any progress what so ever
0
votes
1 answer

If every Prime-Divisor of m is a prime-Divisor of n ist, then φ(mn) = mφ(n)

To show: If every Prime-Divisor of m is a prime-Divisor of n ist, then φ(mn) = mφ(n). φ(n) is the totient-function introduced by euler.
ralf_7
  • 29
  • 4
0
votes
1 answer

find m if $m = p_1^2p_2^2$ and $\varphi(m) = 11424$

$m = p_1^2p_2^2$ and $\varphi(m) = 11424$ where $p_1$ and $p_2$ are prime numbers. I need to find m. I know that ($p_1, p_2$) = 1. Consequently $\varphi(m) = p_1^2p_2^2(1-\dfrac{1}{p_1})(1-\dfrac{1}{p_2}) = 11424$. Also I tried writing 11424 in…
H-a-y-K
  • 661
0
votes
0 answers

Eulers totient functions

I dont understand that how did they come to following conclusion whats the thing that i need to know
0
votes
1 answer

How to use the totient function in the context of clocks?

I've been tasked with finding what indication a clock has $7^{19}$ hours after 1:00AM. I've found $\phi (24) =8$. How do I use this to find the answer to my question?
murpw2011
  • 305
0
votes
4 answers

Proof $\varphi(n) = n \prod_{k=1}^{z}(1-\frac{1}{p_{k}})$

I try to show that Euler's totient function is a multiplicative function. $$\varphi(nm)=\varphi(n)*\varphi(m)$$ with gcd(m,n)=1,But I don't understand why this happens $$n = \prod_{k=1}^{z}p_{k}^{e_{k}}$$ $$\iff \varphi(n) = n…
R.R
  • 33
  • 6
0
votes
0 answers

Sum of prime numbers related to Euler's totient function

Let p be a prime number. Decide $$\sum_{k=0}^n \phi(p^k)$$ I have had difficulties with how to deal with the problem. Any help is much appreciated.
Filip
  • 31
  • 2
0
votes
0 answers

Euler's theorem modification?

Let $a,b,n$ be any integers greater than $1$ and $b >\phi(n),$ where $\phi$ is Euler's totient function; is the below equation is true or not? $$ a^b \equiv_n a^{\phi(n) + (b \mod \phi(n))}$$
0
votes
4 answers

Calculate all $n \in \Bbb N \setminus \{41\}$ such that $\phi(n)=40$?

I'm looking for an $n \in \Bbb N$ for which $\phi(n) = 40$ where $\phi$ is a Euler-Totient Function I already found one, namely, $n=41$ How the calculate the $n's$?
0
votes
1 answer

Proof that Euler's Totient Theorem is multiplicative using a well defined and bijective function

Let $a, b\in \mathbb{N}$, with $a\perp b$. Define $S_{ab}=\{m\in\mathbb{N}\ |\ m
0
votes
1 answer

Find other factors of the euler function of $2^k-1$ where $k\ge 2$ is an integer, except $2$.

Euler function of $x$ is denoted by $\varphi(x)$, which is defined in here (https://en.wikipedia.org/wiki/Euler%27s_totient_function ). When $k$ is prime. @egreg comments that there does not exist a formula to obtain $\varphi(2^k-1)$. @Dietrich…
Zongxiang Yi
  • 1,174
0
votes
2 answers

Prove that $\varphi(p^k)=p^k-p^{k-1}$ for prime $p$

Let $p$ be a positive prime, and $k\in\mathbb{N}$. Prove that $\varphi(p^k)=p^k-p^{k-1}$ (Euler's totient) I suppose maybe induction should be involved. But I'm having difficulty relating $p^k$'s prime factors to $p^{k-1}$ prime factors exactly. I…