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

Question on the Euler phi funtion.

Let $\phi$ be a Euler function. (i.e. $\phi(n)=$ the number of the set $\{m \in \mathbb{N} | (n,m)=1 \text{ and } 1\le m \le n \}$ When $(n,m)=1$, it is known $\phi(nm)=\phi(n)\phi(m)$. I am wondering whether the converse is ture. I mean, if…
user29422
  • 819
0
votes
3 answers

Find the sum of all positive rational numbers that are less than 10 and that have denominator 30 when written in lowest terms.

I got some fractions such as $1/30$, $7/30$,$11/30$,$13/30$,$17/30$,$19/30$,$23/30$, $29/30$. Rest of them can be created by adding 1 or 2 or 3...or 9 to all the aforementioned terms. How to find the sum of all such numbers This is one answer. How…
0
votes
0 answers

Find all number $n\in \mathbb N$ such that $\varphi (n)=8$

$n\in \mathbb N$ such that $\varphi (n)=8$ I know for formula $\varphi (n)=n\prod\limits_{p|n}(1-\frac{1}{p})$ where p is prime number. I choose $p=2$ and with formula I get that $n=16$, so it is ok, then I choose $p=2,3$ and using formula I get…
0
votes
1 answer

How to prove $a^{k\times \phi(n)+1} \equiv a\ (mod\ n$)?

Sorry for my poor question, but I cannot prove this even if it looks so easy.. I know $a^{\phi(n)} \equiv 1\ (mod\ n)$, but how can I compute $a^{k\times \phi(n)}\ (mod\ n)$?
baeharam
  • 203
0
votes
3 answers

Euler function of product of two prime squares

Is there a shortcut for finding the Euler function of the product of two prime squares? $\phi(a^2*b^2)$=?, where a and b are prime. I am able to find $\phi(a*b)=(a-1)(b-1)$, but don't really know where to start next. Both a and b are very large, and…
0
votes
1 answer

Are there any known methods for finding Upper/Lower bounds on the number of Totients of x less than another number y?

I guess something like Euler's Totient Function that takes two variables. Essentially I am trying to figure out a way to bind the number of integers that are Coprime to x that are less than y, where y may be greater or smaller than x. Thanks in…
0
votes
2 answers

Finding all $n$ for which $\phi(n)$ is power of $2$

How to find all $n$ for which $\phi(n)$ is power of $2$? I would like to know how to find all $n$ for which Euler totient value $\phi(n)$ is a power of $2$. I already managed to prove that $\phi(n)$ is even for $n\ge 3$ but I have no clue on how…
Corson
  • 3
0
votes
2 answers

What's the relation between Euler's generalisation of the little theorem of Fermat and RSA-encryption?

I'm busy with the RSA-encryption algorithm. But I can't fund what the relation is between the Euler's generalisation of the little theorem of Fermat: $a^\phi(n) \equiv1 (mod m) $ and RSA-encryption?
WinstonCherf
  • 1,022
0
votes
1 answer

Power e in RSA-encryption algorithm

I'm busy with the RSA-encryption algorithm. I figured out why $0≤C≤25$ and $ ∈ {2,3,...,m−2}$ But I can't find why $ ∈ {2, 3, ... , ( − 2)}$ in the RSA-encryption algorithm with $C≡P^e(modn)$?
WinstonCherf
  • 1,022
0
votes
0 answers

Find the six smallest abundant positive integers

If $n$ is a positive integer, we say that n is abundant if $\sigma(n)>2n$. How can I find the six smallest abundant positive integers? It should be: 12, 18, 20, 24, 30, 36.
WinstonCherf
  • 1,022
0
votes
2 answers

Understanding application of modulo calculations and Fermat's little problem

I want to calculate: $2^{33} \mod 25$ Therefore I calculate first the Euler's phi function of 25: $\phi(25) = 5^{2-1} (5-1)$ = 20 Now I can continue with Fermat's little problem: $2^{33} \mod 25$ = $(2^{20} * 2^{13}) \mod 25 \equiv 2^{13} \mod…
nikola42
  • 3
  • 2
0
votes
1 answer

Euler's totient function

Find all n such that $\varphi(n) = n/24$ This is my attempt: $24 = 2^3*3$ $\varphi(24^k) = (2^{3k}-2^{3k-1})(3^k-3^{k-1})=2^{3k}(1-1/2)*3^k(1-1/3)=2^{3k}*3^{k-1}$ $24^k/24 = 24^{k-1}= 2^{3k-3}*3^{k-1}$, For $k= 1, 2, 3, ...$ I also tried…
-1
votes
1 answer

Why is it that for a,b∈N $φ(3^a2^b) | n$?

I'm having a hard time understanding Euler's totient function. I want to know why when $n=3^a2^b$ for $a,b∈ \mathbb N$ then $\phi(n)|n$? Any help would be greatly appreciated.
murpw2011
  • 305
-1
votes
1 answer

Euler totient formula

I want to decide the following: Let $p$ be a prime number. Decide $$\sum_{k=0}^{n} \phi(p^k)$$ This is my solution so far: We know that $\phi(p^k) =p^k-p^{k-1} $. We also know that $\phi(p^0)=\phi(1)=1.$ $$\sum_{k=0}^{n} \phi(p^k)=\sum_{k=0}^{n}…
Harry
  • 21
  • 4
-4
votes
1 answer

Does there exist a number for which euler phi of $9n$ equals $91$?

Does there exist such $n$ that euler phi for $9n$ is equal $91$?
user4201961
  • 1,591