Metamath Proof Explorer


Theorem nnpw2evenALTV

Description: 2 to the power of a positive integer is even. (Contributed by AV, 2-Jun-2020) (Revised by AV, 20-Jun-2020)

Ref Expression
Assertion nnpw2evenALTV N 2 N Even

Proof

Step Hyp Ref Expression
1 2z 2
2 nnnn0 N N 0
3 zexpcl 2 N 0 2 N
4 1 2 3 sylancr N 2 N
5 iddvdsexp 2 N 2 2 N
6 1 5 mpan N 2 2 N
7 iseven2 2 N Even 2 N 2 2 N
8 4 6 7 sylanbrc N 2 N Even