Metamath Proof Explorer


Theorem lgs1

Description: The Legendre symbol at 1 . See definition in ApostolNT p. 188. (Contributed by Mario Carneiro, 28-Apr-2016)

Ref Expression
Assertion lgs1 AA/L1=1

Proof

Step Hyp Ref Expression
1 sq1 12=1
2 1 oveq2i A/L12=A/L1
3 gcd1 AAgcd1=1
4 1nn 1
5 lgssq2 A1Agcd1=1A/L12=1
6 4 5 mp3an2 AAgcd1=1A/L12=1
7 3 6 mpdan AA/L12=1
8 2 7 eqtr3id AA/L1=1