Description: Every prime number of the form ( ( 2 ^ k ) + 1 ) must be a Fermat number. (Contributed by AV, 7-Aug-2021)
Ref | Expression | ||
---|---|---|---|
Assertion | 2pwp1prmfmtno | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | simp1 | |
|
2 | eleq1 | |
|
3 | 2 | biimpa | |
4 | 3 | 3adant1 | |
5 | 2pwp1prm | |
|
6 | 1 4 5 | syl2anc | |
7 | simpl | |
|
8 | oveq2 | |
|
9 | 8 | oveq1d | |
10 | 9 | adantl | |
11 | 7 10 | eqtrd | |
12 | fmtno | |
|
13 | 12 | eqcomd | |
14 | 11 13 | sylan9eqr | |
15 | 14 | exp32 | |
16 | 15 | com12 | |
17 | 16 | 3ad2ant2 | |
18 | 17 | imp | |
19 | 18 | reximdva | |
20 | 6 19 | mpd | |