I want to show that if $n=pq$ such that $p$ and $q$ are distinct odd primes the number of $\ (a,b)$ such that $a$ and $b \in \mathbb Z_n$ and $a\equiv a^{-1}\pmod n$ and $b(a+1)\equiv0\pmod n$ is $n+p+q+1$. thanks P.S:is the way to calculate the number of element in $\mathbb Z^*_n$ have order 2?
2026-04-01 11:59:23.1775044763
the way to calculate the number of element in $\mathbb Z^*_n$ have order 2?
61 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in NUMBER-THEORY
- Maximum number of guaranteed coins to get in a "30 coins in 3 boxes" puzzle
- Interesting number theoretical game
- Show that $(x,y,z)$ is a primitive Pythagorean triple then either $x$ or $y$ is divisible by $3$.
- About polynomial value being perfect power.
- Name of Theorem for Coloring of $\{1, \dots, n\}$
- Reciprocal-totient function, in term of the totient function?
- What is the smallest integer $N>2$, such that $x^5+y^5 = N$ has a rational solution?
- Integer from base 10 to base 2
- How do I show that any natural number of this expression is a natural linear combination?
- Counting the number of solutions of the congruence $x^k\equiv h$ (mod q)
Related Questions in CRYPTOGRAPHY
- What exactly is the definition of Carmichael numbers?
- What if Eve knows the value of $S$ in digital signiture?
- Relative prime message in RSA encryption.
- Encryption with $|K| = |P| = |C| = 1$ is perfectly secure?
- Cryptocurrency Math
- DLP Relationship of primitive roots $\pmod{p}$ with $p$ and $g$
- Hints to prove $2^{(p−1)/2}$ is congruent to 1 (mod p) or p-1 (mod p)
- Period of a binary sequence
- generating function / stream cipher
- RSA, cryptography
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
To begin with, $a \equiv a^{-1} \pmod n$ is equivalent to $a^2 \equiv 1 \pmod n$, and you have to take $a \in \mathbb Z^*_n$. We can use CRT to solve this equation: $$ \begin{cases} a^2 \equiv 1 \pmod p \\ a^2 \equiv 1 \pmod q \end{cases} $$ Both $\mathbb Z^*_p$ and $\mathbb Z^*_q$ are cyclic and have even size. That's why there are two solutions for each of the equations (you can check it e.g. by taking discrete logarithm of the equations). You can easily check that these ones fit: $$ \begin{cases} a \equiv \pm 1 \pmod p \\ a \equiv \pm 1 \pmod q \end{cases} $$
Now let's look at $b(a+1) \equiv 0 \pmod n$. Again, we can use CRT to search for solutions modulo $p$ and modulo $q$ separately. So we have equations: $$ \begin{cases} (a+1) b \equiv 0 \pmod p \\ (a+1) b \equiv 0 \pmod q \end{cases} $$ If $a \equiv 1 \pmod p$, then the equation $2b \equiv 0 \pmod p$ obviously has a single solution $b \equiv 0 \pmod p$, since $p$ is odd. If $a \equiv -1 \pmod p$, then the equation is just $0 \equiv 0 \pmod p$, so any $b \in \mathbb Z_p$ fits. There are $p$ solutions with $a \equiv -1$ and one solution with $a \equiv 1$, in total $p + 1$ solutions.
Speaking of solutions modulo $q$, it is quite the same: there are $q + 1$ solutions. Any pair of a solution modulo $p$ and a solution modulo $q$ can be combined to obtain a single solution modulo $n$ due to CRT. So there are $(p+1)(q+1) = n + p + q + 1$ solutions.
P.S. The elements in $\mathbb Z^*_n$ of order $2$ are exactly the square roots of $1$ minus the single trivial unit solution (which has order $1$). You can use CRT again to find number of square roots. For module $n = p^k$ with odd $p$, there are $2$ square roots, because $\mathbb Z^*_n$ is cyclic and has even size. For $n = 2^k$, there is $1$ root for $k = 1$, $2$ roots for $k = 2$, and $4$ roots for $k \ge 3$, which follows from the structure of multiplicative group. For example. with $n = 2^3 \cdot 5^2 \cdot 7$, there are $4 \cdot 2 \cdot 2 - 1 = 15$ elements or order $2$ in $\mathbb Z^*_n$. For $n = 2^2 * 3$, there are $4$ such elements.