Congruenta modulo n gen Fermat

Moderators: Laurian Filip, Filip Chindea, maky, Cosmin Pohoata

Post Reply
User avatar
Cezar Lupu
Site Admin
Posts: 612
Joined: Wed Sep 26, 2007 2:04 pm
Location: Bucuresti sau Constanta
Contact:

Congruenta modulo n gen Fermat

Post by Cezar Lupu »

Fie \( n\geq 2 \) si \( (a,n)=1 \). Sa se arate ca

\( a^{n-1}+(n-1)! \equiv 0 ( mod n) \) daca si numai daca \( n \) este prim.

Leo Moser
An infinite number of mathematicians walk into a bar. The first one orders a beer. The second orders half a beer. The third, a quarter of a beer. The bartender says “You’re all idiots”, and pours two beers.
User avatar
Filip Chindea
Newton
Posts: 324
Joined: Thu Sep 27, 2007 9:01 pm
Location: Bucharest

Post by Filip Chindea »

Cezar Lupu wrote:Fie \( n\geq 2 \) si \( (a,n)=1 \). Sa se arate ca
\( a^{n-1}+(n-1)! \equiv 0 \pmod{n} \) daca si numai daca \( n \) este prim.
Leo Moser
Implicatia inversa este evidenta (Fermat & Wilson-Lagrange).
Direct, fie prin contradictie un prim \( p | n \), \( p \le n - 1 \). Concluzionam \( p | (n - 1)! \), iar \( p | n | a^{n - 1} + (n - 1)! \). In concluzie \( p | a^{n - 1} \), deci \( p | a \) si \( p | n \), absurd.
Nu cunosc motivatia mentionarii acelui autor - pare chiar folclor (cazul particular \( a = 2 \) poate fi întâlnit ca problema 105 pentru gimnaziu în Arhimede 2004 05-06 - propusa de G. Dospinescu - se poate verifica pe website).
Life is complex: it has real and imaginary components.
Post Reply

Return to “Teoria Numerelor”