mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Miscellaneous Math

Reply
 
Thread Tools
Old 2022-07-08, 18:16   #1
RomanM
 
Jun 2021

1100112 Posts
Default On the mod(x^2,p)=mod(x^2,p^2)=mod(x^2,p^3) = and so on

at the sample, let p =101*109 and x = 583379708211
x^2 mod p ==x^2 mod p^2 ==x^2 mod p^3 == x^2 mod p^4 =3955

I guess, for any n, p, x in Z, there is x, x^2 mod p^(n-k) == B for k = 0,..,n-1;
RomanM is offline   Reply With Quote
Old 2022-07-08, 18:49   #2
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

32×7×163 Posts
Default

What you are saying is that you take a small number a < p, therefore
a%p = a trivially (because a < p)
and (a%p)%p = a (same trivially)
and ((a%p)%p)%p any number of times %p remains = a not just to some limit n, but to infinity
and, finally, a is a quadratic residue mod p, so you can take a modular square root of it and find x.

Looks trivially true. And you can get rid of variable n, it is meaningless.

For any large enough p (e.g. 11009) you can find a (in this case you took 3955) that is a quadratic residue and you are done.

P.S. you are using "mod()" confusingly. In a strict sense mod(a, p) is not equal to mod(a, p^k), but residue from dividing by p^k (written as a%(p^k) ), sure, you can compare them.
Batalov is offline   Reply With Quote
Reply



All times are UTC. The time now is 04:18.


Fri Jul 7 04:18:39 UTC 2023 up 323 days, 1:47, 0 users, load averages: 1.92, 1.80, 1.56

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔