MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  perfect Unicode version

Theorem perfect 20433
Description: The Euclid-Euler theorem, or Perfect Number theorem. A positive even integer  N is a perfect number (that is, its divisor sum is  2 N) if and only if it is of the form  2 ^ ( p  - 
1 )  x.  (
2 ^ p  - 
1 ), where  2 ^ p  -  1 is prime (a Mersenne prime). (It follows from this that  p is also prime.) (Contributed by Mario Carneiro, 17-May-2016.)
Assertion
Ref Expression
perfect  |-  ( ( N  e.  NN  /\  2  ||  N )  -> 
( ( 1  sigma  N )  =  ( 2  x.  N )  <->  E. p  e.  ZZ  ( ( ( 2 ^ p )  - 
1 )  e.  Prime  /\  N  =  ( ( 2 ^ ( p  -  1 ) )  x.  ( ( 2 ^ p )  - 
1 ) ) ) ) )
Distinct variable group:    N, p

Proof of Theorem perfect
StepHypRef Expression
1 simplr 734 . . . . . . 7  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  2  ||  N )
2 2prm 12737 . . . . . . . 8  |-  2  e.  Prime
3 simpll 733 . . . . . . . 8  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  N  e.  NN )
4 pcelnn 12885 . . . . . . . 8  |-  ( ( 2  e.  Prime  /\  N  e.  NN )  ->  (
( 2  pCnt  N
)  e.  NN  <->  2  ||  N ) )
52, 3, 4sylancr 647 . . . . . . 7  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( (
2  pCnt  N )  e.  NN  <->  2  ||  N
) )
61, 5mpbird 225 . . . . . 6  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 
pCnt  N )  e.  NN )
76nnzd 10084 . . . . 5  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 
pCnt  N )  e.  ZZ )
87peano2zd 10088 . . . 4  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( (
2  pCnt  N )  +  1 )  e.  ZZ )
9 pcdvds 12879 . . . . . . . . 9  |-  ( ( 2  e.  Prime  /\  N  e.  NN )  ->  (
2 ^ ( 2 
pCnt  N ) )  ||  N )
102, 3, 9sylancr 647 . . . . . . . 8  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 ^ ( 2  pCnt 
N ) )  ||  N )
11 2nn 9845 . . . . . . . . . 10  |-  2  e.  NN
126nnnn0d 9986 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 
pCnt  N )  e.  NN0 )
13 nnexpcl 11083 . . . . . . . . . 10  |-  ( ( 2  e.  NN  /\  ( 2  pCnt  N
)  e.  NN0 )  ->  ( 2 ^ (
2  pCnt  N )
)  e.  NN )
1411, 12, 13sylancr 647 . . . . . . . . 9  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 ^ ( 2  pCnt 
N ) )  e.  NN )
15 nndivdivides 12500 . . . . . . . . 9  |-  ( ( N  e.  NN  /\  ( 2 ^ (
2  pCnt  N )
)  e.  NN )  ->  ( ( 2 ^ ( 2  pCnt 
N ) )  ||  N 
<->  ( N  /  (
2 ^ ( 2 
pCnt  N ) ) )  e.  NN ) )
163, 14, 15syl2anc 645 . . . . . . . 8  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( (
2 ^ ( 2 
pCnt  N ) )  ||  N 
<->  ( N  /  (
2 ^ ( 2 
pCnt  N ) ) )  e.  NN ) )
1710, 16mpbid 203 . . . . . . 7  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( N  /  ( 2 ^ ( 2  pCnt  N
) ) )  e.  NN )
18 pcndvds2 12883 . . . . . . . 8  |-  ( ( 2  e.  Prime  /\  N  e.  NN )  ->  -.  2  ||  ( N  / 
( 2 ^ (
2  pCnt  N )
) ) )
192, 3, 18sylancr 647 . . . . . . 7  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  -.  2  ||  ( N  /  (
2 ^ ( 2 
pCnt  N ) ) ) )
20 simpr 449 . . . . . . . 8  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 1 
sigma  N )  =  ( 2  x.  N ) )
21 nncn 9722 . . . . . . . . . . 11  |-  ( N  e.  NN  ->  N  e.  CC )
2221ad2antrr 709 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  N  e.  CC )
2314nncnd 9730 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 ^ ( 2  pCnt 
N ) )  e.  CC )
2414nnne0d 9758 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 ^ ( 2  pCnt 
N ) )  =/=  0 )
2522, 23, 24divcan2d 9506 . . . . . . . . 9  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( (
2 ^ ( 2 
pCnt  N ) )  x.  ( N  /  (
2 ^ ( 2 
pCnt  N ) ) ) )  =  N )
2625oveq2d 5808 . . . . . . . 8  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 1 
sigma  ( ( 2 ^ ( 2  pCnt  N
) )  x.  ( N  /  ( 2 ^ ( 2  pCnt  N
) ) ) ) )  =  ( 1 
sigma  N ) )
2725oveq2d 5808 . . . . . . . 8  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2  x.  ( ( 2 ^ ( 2  pCnt 
N ) )  x.  ( N  /  (
2 ^ ( 2 
pCnt  N ) ) ) ) )  =  ( 2  x.  N ) )
2820, 26, 273eqtr4d 2300 . . . . . . 7  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 1 
sigma  ( ( 2 ^ ( 2  pCnt  N
) )  x.  ( N  /  ( 2 ^ ( 2  pCnt  N
) ) ) ) )  =  ( 2  x.  ( ( 2 ^ ( 2  pCnt 
N ) )  x.  ( N  /  (
2 ^ ( 2 
pCnt  N ) ) ) ) ) )
296, 17, 19, 28perfectlem2 20432 . . . . . 6  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( ( N  /  ( 2 ^ ( 2  pCnt  N
) ) )  e. 
Prime  /\  ( N  / 
( 2 ^ (
2  pCnt  N )
) )  =  ( ( 2 ^ (
( 2  pCnt  N
)  +  1 ) )  -  1 ) ) )
3029simprd 451 . . . . 5  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( N  /  ( 2 ^ ( 2  pCnt  N
) ) )  =  ( ( 2 ^ ( ( 2  pCnt 
N )  +  1 ) )  -  1 ) )
3129simpld 447 . . . . 5  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( N  /  ( 2 ^ ( 2  pCnt  N
) ) )  e. 
Prime )
3230, 31eqeltrrd 2333 . . . 4  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( (
2 ^ ( ( 2  pCnt  N )  +  1 ) )  -  1 )  e. 
Prime )
336nncnd 9730 . . . . . . . . 9  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 
pCnt  N )  e.  CC )
34 ax-1cn 8763 . . . . . . . . 9  |-  1  e.  CC
35 pncan 9025 . . . . . . . . 9  |-  ( ( ( 2  pCnt  N
)  e.  CC  /\  1  e.  CC )  ->  ( ( ( 2 
pCnt  N )  +  1 )  -  1 )  =  ( 2  pCnt 
N ) )
3633, 34, 35sylancl 646 . . . . . . . 8  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( (
( 2  pCnt  N
)  +  1 )  -  1 )  =  ( 2  pCnt  N
) )
3736eqcomd 2263 . . . . . . 7  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 
pCnt  N )  =  ( ( ( 2  pCnt 
N )  +  1 )  -  1 ) )
3837oveq2d 5808 . . . . . 6  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 ^ ( 2  pCnt 
N ) )  =  ( 2 ^ (
( ( 2  pCnt 
N )  +  1 )  -  1 ) ) )
3938, 30oveq12d 5810 . . . . 5  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( (
2 ^ ( 2 
pCnt  N ) )  x.  ( N  /  (
2 ^ ( 2 
pCnt  N ) ) ) )  =  ( ( 2 ^ ( ( ( 2  pCnt  N
)  +  1 )  -  1 ) )  x.  ( ( 2 ^ ( ( 2 
pCnt  N )  +  1 ) )  -  1 ) ) )
4025, 39eqtr3d 2292 . . . 4  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  N  =  ( ( 2 ^ ( ( ( 2 
pCnt  N )  +  1 )  -  1 ) )  x.  ( ( 2 ^ ( ( 2  pCnt  N )  +  1 ) )  -  1 ) ) )
41 oveq2 5800 . . . . . . . 8  |-  ( p  =  ( ( 2 
pCnt  N )  +  1 )  ->  ( 2 ^ p )  =  ( 2 ^ (
( 2  pCnt  N
)  +  1 ) ) )
4241oveq1d 5807 . . . . . . 7  |-  ( p  =  ( ( 2 
pCnt  N )  +  1 )  ->  ( (
2 ^ p )  -  1 )  =  ( ( 2 ^ ( ( 2  pCnt 
N )  +  1 ) )  -  1 ) )
4342eleq1d 2324 . . . . . 6  |-  ( p  =  ( ( 2 
pCnt  N )  +  1 )  ->  ( (
( 2 ^ p
)  -  1 )  e.  Prime  <->  ( ( 2 ^ ( ( 2 
pCnt  N )  +  1 ) )  -  1 )  e.  Prime )
)
44 oveq1 5799 . . . . . . . . 9  |-  ( p  =  ( ( 2 
pCnt  N )  +  1 )  ->  ( p  -  1 )  =  ( ( ( 2 
pCnt  N )  +  1 )  -  1 ) )
4544oveq2d 5808 . . . . . . . 8  |-  ( p  =  ( ( 2 
pCnt  N )  +  1 )  ->  ( 2 ^ ( p  - 
1 ) )  =  ( 2 ^ (
( ( 2  pCnt 
N )  +  1 )  -  1 ) ) )
4645, 42oveq12d 5810 . . . . . . 7  |-  ( p  =  ( ( 2 
pCnt  N )  +  1 )  ->  ( (
2 ^ ( p  -  1 ) )  x.  ( ( 2 ^ p )  - 
1 ) )  =  ( ( 2 ^ ( ( ( 2 
pCnt  N )  +  1 )  -  1 ) )  x.  ( ( 2 ^ ( ( 2  pCnt  N )  +  1 ) )  -  1 ) ) )
4746eqeq2d 2269 . . . . . 6  |-  ( p  =  ( ( 2 
pCnt  N )  +  1 )  ->  ( N  =  ( ( 2 ^ ( p  - 
1 ) )  x.  ( ( 2 ^ p )  -  1 ) )  <->  N  =  ( ( 2 ^ ( ( ( 2 
pCnt  N )  +  1 )  -  1 ) )  x.  ( ( 2 ^ ( ( 2  pCnt  N )  +  1 ) )  -  1 ) ) ) )
4843, 47anbi12d 694 . . . . 5  |-  ( p  =  ( ( 2 
pCnt  N )  +  1 )  ->  ( (
( ( 2 ^ p )  -  1 )  e.  Prime  /\  N  =  ( ( 2 ^ ( p  - 
1 ) )  x.  ( ( 2 ^ p )  -  1 ) ) )  <->  ( (
( 2 ^ (
( 2  pCnt  N
)  +  1 ) )  -  1 )  e.  Prime  /\  N  =  ( ( 2 ^ ( ( ( 2 
pCnt  N )  +  1 )  -  1 ) )  x.  ( ( 2 ^ ( ( 2  pCnt  N )  +  1 ) )  -  1 ) ) ) ) )
4948rcla4ev 2859 . . . 4  |-  ( ( ( ( 2  pCnt 
N )  +  1 )  e.  ZZ  /\  ( ( ( 2 ^ ( ( 2 
pCnt  N )  +  1 ) )  -  1 )  e.  Prime  /\  N  =  ( ( 2 ^ ( ( ( 2  pCnt  N )  +  1 )  - 
1 ) )  x.  ( ( 2 ^ ( ( 2  pCnt 
N )  +  1 ) )  -  1 ) ) ) )  ->  E. p  e.  ZZ  ( ( ( 2 ^ p )  - 
1 )  e.  Prime  /\  N  =  ( ( 2 ^ ( p  -  1 ) )  x.  ( ( 2 ^ p )  - 
1 ) ) ) )
508, 32, 40, 49syl12anc 1185 . . 3  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  E. p  e.  ZZ  ( ( ( 2 ^ p )  -  1 )  e. 
Prime  /\  N  =  ( ( 2 ^ (
p  -  1 ) )  x.  ( ( 2 ^ p )  -  1 ) ) ) )
5150ex 425 . 2  |-  ( ( N  e.  NN  /\  2  ||  N )  -> 
( ( 1  sigma  N )  =  ( 2  x.  N )  ->  E. p  e.  ZZ  ( ( ( 2 ^ p )  - 
1 )  e.  Prime  /\  N  =  ( ( 2 ^ ( p  -  1 ) )  x.  ( ( 2 ^ p )  - 
1 ) ) ) ) )
52 perfect1 20430 . . . . . 6  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  ( 1  sigma  ( ( 2 ^ ( p  -  1 ) )  x.  ( ( 2 ^ p )  - 
1 ) ) )  =  ( ( 2 ^ p )  x.  ( ( 2 ^ p )  -  1 ) ) )
53 2cn 9784 . . . . . . . . 9  |-  2  e.  CC
54 mersenne 20429 . . . . . . . . . 10  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  p  e.  Prime )
55 prmnn 12725 . . . . . . . . . 10  |-  ( p  e.  Prime  ->  p  e.  NN )
5654, 55syl 17 . . . . . . . . 9  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  p  e.  NN )
57 expm1t 11097 . . . . . . . . 9  |-  ( ( 2  e.  CC  /\  p  e.  NN )  ->  ( 2 ^ p
)  =  ( ( 2 ^ ( p  -  1 ) )  x.  2 ) )
5853, 56, 57sylancr 647 . . . . . . . 8  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  ( 2 ^ p
)  =  ( ( 2 ^ ( p  -  1 ) )  x.  2 ) )
59 nnm1nn0 9973 . . . . . . . . . . 11  |-  ( p  e.  NN  ->  (
p  -  1 )  e.  NN0 )
6056, 59syl 17 . . . . . . . . . 10  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  ( p  -  1 )  e.  NN0 )
61 expcl 11088 . . . . . . . . . 10  |-  ( ( 2  e.  CC  /\  ( p  -  1
)  e.  NN0 )  ->  ( 2 ^ (
p  -  1 ) )  e.  CC )
6253, 60, 61sylancr 647 . . . . . . . . 9  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  ( 2 ^ (
p  -  1 ) )  e.  CC )
63 mulcom 8791 . . . . . . . . 9  |-  ( ( ( 2 ^ (
p  -  1 ) )  e.  CC  /\  2  e.  CC )  ->  ( ( 2 ^ ( p  -  1 ) )  x.  2 )  =  ( 2  x.  ( 2 ^ ( p  -  1 ) ) ) )
6462, 53, 63sylancl 646 . . . . . . . 8  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  ( ( 2 ^ ( p  -  1 ) )  x.  2 )  =  ( 2  x.  ( 2 ^ ( p  -  1 ) ) ) )
6558, 64eqtrd 2290 . . . . . . 7  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  ( 2 ^ p
)  =  ( 2  x.  ( 2 ^ ( p  -  1 ) ) ) )
6665oveq1d 5807 . . . . . 6  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  ( ( 2 ^ p )  x.  (
( 2 ^ p
)  -  1 ) )  =  ( ( 2  x.  ( 2 ^ ( p  - 
1 ) ) )  x.  ( ( 2 ^ p )  - 
1 ) ) )
6753a1i 12 . . . . . . 7  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  2  e.  CC )
68 prmnn 12725 . . . . . . . . 9  |-  ( ( ( 2 ^ p
)  -  1 )  e.  Prime  ->  ( ( 2 ^ p )  -  1 )  e.  NN )
6968adantl 454 . . . . . . . 8  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  ( ( 2 ^ p )  -  1 )  e.  NN )
7069nncnd 9730 . . . . . . 7  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  ( ( 2 ^ p )  -  1 )  e.  CC )
7167, 62, 70mulassd 8826 . . . . . 6  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  ( ( 2  x.  ( 2 ^ (
p  -  1 ) ) )  x.  (
( 2 ^ p
)  -  1 ) )  =  ( 2  x.  ( ( 2 ^ ( p  - 
1 ) )  x.  ( ( 2 ^ p )  -  1 ) ) ) )
7252, 66, 713eqtrd 2294 . . . . 5  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  ( 1  sigma  ( ( 2 ^ ( p  -  1 ) )  x.  ( ( 2 ^ p )  - 
1 ) ) )  =  ( 2  x.  ( ( 2 ^ ( p  -  1 ) )  x.  (
( 2 ^ p
)  -  1 ) ) ) )
73 oveq2 5800 . . . . . 6  |-  ( N  =  ( ( 2 ^ ( p  - 
1 ) )  x.  ( ( 2 ^ p )  -  1 ) )  ->  (
1  sigma  N )  =  ( 1  sigma  ( ( 2 ^ ( p  -  1 ) )  x.  ( ( 2 ^ p )  - 
1 ) ) ) )
74 oveq2 5800 . . . . . 6  |-  ( N  =  ( ( 2 ^ ( p  - 
1 ) )  x.  ( ( 2 ^ p )  -  1 ) )  ->  (
2  x.  N )  =  ( 2  x.  ( ( 2 ^ ( p  -  1 ) )  x.  (
( 2 ^ p
)  -  1 ) ) ) )
7573, 74eqeq12d 2272 . . . . 5  |-  ( N  =  ( ( 2 ^ ( p  - 
1 ) )  x.  ( ( 2 ^ p )  -  1 ) )  ->  (
( 1  sigma  N )  =  ( 2  x.  N )  <->  ( 1 
sigma  ( ( 2 ^ ( p  -  1 ) )  x.  (
( 2 ^ p
)  -  1 ) ) )  =  ( 2  x.  ( ( 2 ^ ( p  -  1 ) )  x.  ( ( 2 ^ p )  - 
1 ) ) ) ) )
7672, 75syl5ibrcom 215 . . . 4  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  ( N  =  ( ( 2 ^ (
p  -  1 ) )  x.  ( ( 2 ^ p )  -  1 ) )  ->  ( 1  sigma  N )  =  ( 2  x.  N ) ) )
7776impr 605 . . 3  |-  ( ( p  e.  ZZ  /\  ( ( ( 2 ^ p )  - 
1 )  e.  Prime  /\  N  =  ( ( 2 ^ ( p  -  1 ) )  x.  ( ( 2 ^ p )  - 
1 ) ) ) )  ->  ( 1 
sigma  N )  =  ( 2  x.  N ) )
7877rexlimiva 2637 . 2  |-  ( E. p  e.  ZZ  (
( ( 2 ^ p )  -  1 )  e.  Prime  /\  N  =  ( ( 2 ^ ( p  - 
1 ) )  x.  ( ( 2 ^ p )  -  1 ) ) )  -> 
( 1  sigma  N )  =  ( 2  x.  N ) )
7951, 78impbid1 196 1  |-  ( ( N  e.  NN  /\  2  ||  N )  -> 
( ( 1  sigma  N )  =  ( 2  x.  N )  <->  E. p  e.  ZZ  ( ( ( 2 ^ p )  - 
1 )  e.  Prime  /\  N  =  ( ( 2 ^ ( p  -  1 ) )  x.  ( ( 2 ^ p )  - 
1 ) ) ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 5    -> wi 6    <-> wb 178    /\ wa 360    = wceq 1619    e. wcel 1621   E.wrex 2519   class class class wbr 3997  (class class class)co 5792   CCcc 8703   1c1 8706    + caddc 8708    x. cmul 8710    - cmin 9005    / cdiv 9391   NNcn 9714   2c2 9763   NN0cn0 9933   ZZcz 9992   ^cexp 11071    || cdivides 12494   Primecprime 12721    pCnt cpc 12852    sigma csgm 20296
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1927  ax-ext 2239  ax-rep 4105  ax-sep 4115  ax-nul 4123  ax-pow 4160  ax-pr 4186  ax-un 4484  ax-inf2 7310  ax-cnex 8761  ax-resscn 8762  ax-1cn 8763  ax-icn 8764  ax-addcl 8765  ax-addrcl 8766  ax-mulcl 8767  ax-mulrcl 8768  ax-mulcom 8769  ax-addass 8770  ax-mulass 8771  ax-distr 8772  ax-i2m1 8773  ax-1ne0 8774  ax-1rid 8775  ax-rnegex 8776  ax-rrecex 8777  ax-cnre 8778  ax-pre-lttri 8779  ax-pre-lttrn 8780  ax-pre-ltadd 8781  ax-pre-mulgt0 8782  ax-pre-sup 8783  ax-addf 8784  ax-mulf 8785
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 940  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1884  df-eu 2122  df-mo 2123  df-clab 2245  df-cleq 2251  df-clel 2254  df-nfc 2383  df-ne 2423  df-nel 2424  df-ral 2523  df-rex 2524  df-reu 2525  df-rmo 2526  df-rab 2527  df-v 2765  df-sbc 2967  df-csb 3057  df-dif 3130  df-un 3132  df-in 3134  df-ss 3141  df-pss 3143  df-nul 3431  df-if 3540  df-pw 3601  df-sn 3620  df-pr 3621  df-tp 3622  df-op 3623  df-uni 3802  df-int 3837  df-iun 3881  df-iin 3882  df-br 3998  df-opab 4052  df-mpt 4053  df-tr 4088  df-eprel 4277  df-id 4281  df-po 4286  df-so 4287  df-fr 4324  df-se 4325  df-we 4326  df-ord 4367  df-on 4368  df-lim 4369  df-suc 4370  df-om 4629  df-xp 4675  df-rel 4676  df-cnv 4677  df-co 4678  df-dm 4679  df-rn 4680  df-res 4681  df-ima 4682  df-fun 4683  df-fn 4684  df-f 4685  df-f1 4686  df-fo 4687  df-f1o 4688  df-fv 4689  df-isom 4690  df-ov 5795  df-oprab 5796  df-mpt2 5797  df-of 6012  df-1st 6056  df-2nd 6057  df-iota 6225  df-riota 6272  df-recs 6356  df-rdg 6391  df-1o 6447  df-2o 6448  df-oadd 6451  df-er 6628  df-map 6742  df-pm 6743  df-ixp 6786  df-en 6832  df-dom 6833  df-sdom 6834  df-fin 6835  df-fi 7133  df-sup 7162  df-oi 7193  df-card 7540  df-cda 7762  df-pnf 8837  df-mnf 8838  df-xr 8839  df-ltxr 8840  df-le 8841  df-sub 9007  df-neg 9008  df-div 9392  df-n 9715  df-2 9772  df-3 9773  df-4 9774  df-5 9775  df-6 9776  df-7 9777  df-8 9778  df-9 9779  df-10 9780  df-n0 9934  df-z 9993  df-dec 10093  df-uz 10199  df-q 10285  df-rp 10323  df-xneg 10420  df-xadd 10421  df-xmul 10422  df-ioo 10627  df-ioc 10628  df-ico 10629  df-icc 10630  df-fz 10750  df-fzo 10838  df-fl 10892  df-mod 10941  df-seq 11014  df-exp 11072  df-fac 11256  df-bc 11283  df-hash 11305  df-shft 11528  df-cj 11550  df-re 11551  df-im 11552  df-sqr 11686  df-abs 11687  df-limsup 11911  df-clim 11928  df-rlim 11929  df-sum 12125  df-ef 12312  df-sin 12314  df-cos 12315  df-pi 12317  df-divides 12495  df-gcd 12649  df-prime 12722  df-pc 12853  df-struct 13113  df-ndx 13114  df-slot 13115  df-base 13116  df-sets 13117  df-ress 13118  df-plusg 13184  df-mulr 13185  df-starv 13186  df-sca 13187  df-vsca 13188  df-tset 13190  df-ple 13191  df-ds 13193  df-hom 13195  df-cco 13196  df-rest 13290  df-topn 13291  df-topgen 13307  df-pt 13308  df-prds 13311  df-xrs 13366  df-0g 13367  df-gsum 13368  df-qtop 13373  df-imas 13374  df-xps 13376  df-mre 13451  df-mrc 13452  df-acs 13454  df-mnd 14330  df-submnd 14379  df-mulg 14455  df-cntz 14756  df-cmn 15054  df-xmet 16336  df-met 16337  df-bl 16338  df-mopn 16339  df-cnfld 16341  df-top 16599  df-bases 16601  df-topon 16602  df-topsp 16603  df-cld 16719  df-ntr 16720  df-cls 16721  df-nei 16798  df-lp 16831  df-perf 16832  df-cn 16920  df-cnp 16921  df-haus 17006  df-tx 17220  df-hmeo 17409  df-fbas 17483  df-fg 17484  df-fil 17504  df-fm 17596  df-flim 17597  df-flf 17598  df-xms 17848  df-ms 17849  df-tms 17850  df-cncf 18345  df-limc 19179  df-dv 19180  df-log 19877  df-cxp 19878  df-sgm 20302
  Copyright terms: Public domain W3C validator