Metamath Proof Explorer


Theorem 2lgs2

Description: The Legendre symbol for 2 at 2 is 0 . (Contributed by AV, 20-Jun-2021)

Ref Expression
Assertion 2lgs2 2/L2=0

Proof

Step Hyp Ref Expression
1 2z 2
2 lgs2 22/L2=if220if2mod81711
3 1 2 ax-mp 2/L2=if220if2mod81711
4 z2even 22
5 4 iftruei if220if2mod81711=0
6 3 5 eqtri 2/L2=0