# Jacobi symbol and invertibility of $m$ for an odd $n$

I have asked a similar question here before, and received a nice answer. I think that the next question here is equivalent, but can't seem to be able to prove it. Here goes:

Given an odd $n$, I want to find an $0\leq m\leq n-1$ s.t $m\in\left(\mathbb{Z}/n\mathbb{Z}\right)^{*}$ (i.e, $m$ is invertible modulu $n$), and also $\left(1-m^{-1}\right)\in\left(\mathbb{Z}/n\mathbb{Z}\right)^{*}$ and $\left(\frac{m}{n}\right)=1$ when $\left(\frac{m}{n}\right)$ is the Jacobi symbol.

I can prove that if we disregard the Jacobi symbol requirement, this is equivalent to finding to succeeding invertible numbers modulu $n$. But when we throw the Jacobi symbol in to the equation, I'm not sure if this is the same as my earlier question. If it is, I would greatly appreciate a proof. If not, a new answer :).

Thanks alot!

-

## 2 Answers

For any $m \in (\mathbb{Z}/n\mathbb{Z})^\star$, since $m^{-1} = m \times (m^{-1})^2$, $\left(\frac{m}{n}\right)=\left(\frac{m^{-1}}{n}\right)$. Furthermore, $-1$ is invertible, so it is the same thing to find a square residue $m$ with $1-m^{-1}$ invertible than to find a square residue $m^{-1}$ with $m^{-1}-1$ invertible.

-

$1 - m^{-1} = (m-1)/m$. $m$ and $1 - m^{-1}$ are units if and only if $m$ and $m-1$ are units.

-
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 24, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 5, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9525704979896545, "perplexity_flag": "head"}