Number theory - euler's phi function

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
kimberu
Messages
16
Reaction score
0

Homework Statement



Let p = a prime. Show [tex]{x}^{2}[/tex] ≡ a (mod {p}^{2}[/tex]) has 0 solutions if [tex]{x}^{2}[/tex] ≡ a (mod p) has 0 solutions, or 2 solutions if [tex]{x}^{2}[/tex] ≡ a (mod p) has 2.

The Attempt at a Solution


OK, my mistake, I don't think this has anything to do with the phi function. But I don't know what to use to solve this - I thought Euclid's criterion would be somehow useful, but I don't know how.
 
Last edited:
Physics news on Phys.org
jbunniii said:
If [itex]p[/itex] does not divide [itex]x^2 - a[/itex], can [itex]p^2[/itex] do so?

I'd say no, it can't, because p*p can't divide something that doesn't have at least p as a factor. But what about if p does divide [itex]x^2 - a[/itex]?
 
kimberu said:
I'd say no, it can't, because p*p can't divide something that doesn't have at least p as a factor.

Right, so that proves the first part.

But what about if p does divide [itex]x^2 - a[/itex]?

OK, suppose that

[tex]x^2 \equiv a \mod p[/tex]

has two distinct solutions, [itex]x_1[/itex] and [itex]x_2[/itex]. Therefore

[tex]x^2 - a \equiv (x - x_1)(x - x_2) \mod p[/tex]

I claim that this implies

[tex]x^2 - a \equiv (x - x_1)(x - x_2) \mod p^2[/tex]

Can you justify this claim?