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

Theorem perfect 20302
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 12648 . . . . . . . 8  |-  2  e.  Prime
3 simpll 733 . . . . . . . 8  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  N  e.  NN )
4 pcelnn 12796 . . . . . . . 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 9995 . . . . 5  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 
pCnt  N )  e.  ZZ )
87peano2zd 9999 . . . 4  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( (
2  pCnt  N )  +  1 )  e.  ZZ )
9 pcdvds 12790 . . . . . . . . 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 9756 . . . . . . . . . 10  |-  2  e.  NN
126nnnn0d 9897 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 
pCnt  N )  e.  NN0 )
13 nnexpcl 10994 . . . . . . . . . 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 12411 . . . . . . . . 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 12794 . . . . . . . 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 9634 . . . . . . . . . . 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 9642 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 ^ ( 2  pCnt 
N ) )  e.  CC )
2414nnne0d 9670 . . . . . . . . . 10  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 ^ ( 2  pCnt 
N ) )  =/=  0 )
2522, 23, 24divcan2d 9418 . . . . . . . . 9  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( (
2 ^ ( 2 
pCnt  N ) )  x.  ( N  /  (
2 ^ ( 2 
pCnt  N ) ) ) )  =  N )
2625oveq2d 5726 . . . . . . . 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 5726 . . . . . . . 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 2295 . . . . . . 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 20301 . . . . . 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 2328 . . . 4  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( (
2 ^ ( ( 2  pCnt  N )  +  1 ) )  -  1 )  e. 
Prime )
336nncnd 9642 . . . . . . . . 9  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 
pCnt  N )  e.  CC )
34 ax-1cn 8675 . . . . . . . . 9  |-  1  e.  CC
35 pncan 8937 . . . . . . . . 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 2258 . . . . . . 7  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 
pCnt  N )  =  ( ( ( 2  pCnt 
N )  +  1 )  -  1 ) )
3837oveq2d 5726 . . . . . 6  |-  ( ( ( N  e.  NN  /\  2  ||  N )  /\  ( 1  sigma  N )  =  ( 2  x.  N ) )  ->  ( 2 ^ ( 2  pCnt 
N ) )  =  ( 2 ^ (
( ( 2  pCnt 
N )  +  1 )  -  1 ) ) )
3938, 30oveq12d 5728 . . . . 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 2287 . . . 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 5718 . . . . . . . 8  |-  ( p  =  ( ( 2 
pCnt  N )  +  1 )  ->  ( 2 ^ p )  =  ( 2 ^ (
( 2  pCnt  N
)  +  1 ) ) )
4241oveq1d 5725 . . . . . . 7  |-  ( p  =  ( ( 2 
pCnt  N )  +  1 )  ->  ( (
2 ^ p )  -  1 )  =  ( ( 2 ^ ( ( 2  pCnt 
N )  +  1 ) )  -  1 ) )
4342eleq1d 2319 . . . . . 6  |-  ( p  =  ( ( 2 
pCnt  N )  +  1 )  ->  ( (
( 2 ^ p
)  -  1 )  e.  Prime  <->  ( ( 2 ^ ( ( 2 
pCnt  N )  +  1 ) )  -  1 )  e.  Prime )
)
44 oveq1 5717 . . . . . . . . 9  |-  ( p  =  ( ( 2 
pCnt  N )  +  1 )  ->  ( p  -  1 )  =  ( ( ( 2 
pCnt  N )  +  1 )  -  1 ) )
4544oveq2d 5726 . . . . . . . 8  |-  ( p  =  ( ( 2 
pCnt  N )  +  1 )  ->  ( 2 ^ ( p  - 
1 ) )  =  ( 2 ^ (
( ( 2  pCnt 
N )  +  1 )  -  1 ) ) )
4645, 42oveq12d 5728 . . . . . . 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 2264 . . . . . 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 2821 . . . 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 20299 . . . . . 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 9696 . . . . . . . . 9  |-  2  e.  CC
54 mersenne 20298 . . . . . . . . . 10  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  p  e.  Prime )
55 prmnn 12636 . . . . . . . . . 10  |-  ( p  e.  Prime  ->  p  e.  NN )
5654, 55syl 17 . . . . . . . . 9  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  p  e.  NN )
57 expm1t 11008 . . . . . . . . 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 9884 . . . . . . . . . . 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 10999 . . . . . . . . . 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 8703 . . . . . . . . 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 2285 . . . . . . 7  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  ( 2 ^ p
)  =  ( 2  x.  ( 2 ^ ( p  -  1 ) ) ) )
6665oveq1d 5725 . . . . . 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 12636 . . . . . . . . 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 9642 . . . . . . 7  |-  ( ( p  e.  ZZ  /\  ( ( 2 ^ p )  -  1 )  e.  Prime )  ->  ( ( 2 ^ p )  -  1 )  e.  CC )
7167, 62, 70mulassd 8738 . . . . . 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 2289 . . . . 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 5718 . . . . . 6  |-  ( N  =  ( ( 2 ^ ( p  - 
1 ) )  x.  ( ( 2 ^ p )  -  1 ) )  ->  (
1  sigma  N )  =  ( 1  sigma  ( ( 2 ^ ( p  -  1 ) )  x.  ( ( 2 ^ p )  - 
1 ) ) ) )
74 oveq2 5718 . . . . . 6  |-  ( N  =  ( ( 2 ^ ( p  - 
1 ) )  x.  ( ( 2 ^ p )  -  1 ) )  ->  (
2  x.  N )  =  ( 2  x.  ( ( 2 ^ ( p  -  1 ) )  x.  (
( 2 ^ p
)  -  1 ) ) ) )
7573, 74eqeq12d 2267 . . . . 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 2624 . 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 2510   class class class wbr 3920  (class class class)co 5710   CCcc 8615   1c1 8618    + caddc 8620    x. cmul 8622    - cmin 8917    / cdiv 9303   NNcn 9626   2c2 9675   NN0cn0 9844   ZZcz 9903   ^cexp 10982    || cdivides 12405   Primecprime 12632    pCnt cpc 12763    sigma csgm 20165
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 1926  ax-ext 2234  ax-rep 4028  ax-sep 4038  ax-nul 4046  ax-pow 4082  ax-pr 4108  ax-un 4403  ax-inf2 7226  ax-cnex 8673  ax-resscn 8674  ax-1cn 8675  ax-icn 8676  ax-addcl 8677  ax-addrcl 8678  ax-mulcl 8679  ax-mulrcl 8680  ax-mulcom 8681  ax-addass 8682  ax-mulass 8683  ax-distr 8684  ax-i2m1 8685  ax-1ne0 8686  ax-1rid 8687  ax-rnegex 8688  ax-rrecex 8689  ax-cnre 8690  ax-pre-lttri 8691  ax-pre-lttrn 8692  ax-pre-ltadd 8693  ax-pre-mulgt0 8694  ax-pre-sup 8695  ax-addf 8696  ax-mulf 8697
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 1883  df-eu 2118  df-mo 2119  df-clab 2240  df-cleq 2246  df-clel 2249  df-nfc 2374  df-ne 2414  df-nel 2415  df-ral 2513  df-rex 2514  df-reu 2515  df-rab 2516  df-v 2729  df-sbc 2922  df-csb 3010  df-dif 3081  df-un 3083  df-in 3085  df-ss 3089  df-pss 3091  df-nul 3363  df-if 3471  df-pw 3532  df-sn 3550  df-pr 3551  df-tp 3552  df-op 3553  df-uni 3728  df-int 3761  df-iun 3805  df-iin 3806  df-br 3921  df-opab 3975  df-mpt 3976  df-tr 4011  df-eprel 4198  df-id 4202  df-po 4207  df-so 4208  df-fr 4245  df-se 4246  df-we 4247  df-ord 4288  df-on 4289  df-lim 4290  df-suc 4291  df-om 4548  df-xp 4594  df-rel 4595  df-cnv 4596  df-co 4597  df-dm 4598  df-rn 4599  df-res 4600  df-ima 4601  df-fun 4602  df-fn 4603  df-f 4604  df-f1 4605  df-fo 4606  df-f1o 4607  df-fv 4608  df-isom 4609  df-ov 5713  df-oprab 5714  df-mpt2 5715  df-of 5930  df-1st 5974  df-2nd 5975  df-iota 6143  df-riota 6190  df-recs 6274  df-rdg 6309  df-1o 6365  df-2o 6366  df-oadd 6369  df-er 6546  df-map 6660  df-pm 6661  df-ixp 6704  df-en 6750  df-dom 6751  df-sdom 6752  df-fin 6753  df-fi 7049  df-sup 7078  df-oi 7109  df-card 7456  df-cda 7678  df-pnf 8749  df-mnf 8750  df-xr 8751  df-ltxr 8752  df-le 8753  df-sub 8919  df-neg 8920  df-div 9304  df-n 9627  df-2 9684  df-3 9685  df-4 9686  df-5 9687  df-6 9688  df-7 9689  df-8 9690  df-9 9691  df-10 9692  df-n0 9845  df-z 9904  df-dec 10004  df-uz 10110  df-q 10196  df-rp 10234  df-xneg 10331  df-xadd 10332  df-xmul 10333  df-ioo 10538  df-ioc 10539  df-ico 10540  df-icc 10541  df-fz 10661  df-fzo 10749  df-fl 10803  df-mod 10852  df-seq 10925  df-exp 10983  df-fac 11167  df-bc 11194  df-hash 11216  df-shft 11439  df-cj 11461  df-re 11462  df-im 11463  df-sqr 11597  df-abs 11598  df-limsup 11822  df-clim 11839  df-rlim 11840  df-sum 12036  df-ef 12223  df-sin 12225  df-cos 12226  df-pi 12228  df-divides 12406  df-gcd 12560  df-prime 12633  df-pc 12764  df-struct 13024  df-ndx 13025  df-slot 13026  df-base 13027  df-sets 13028  df-ress 13029  df-plusg 13095  df-mulr 13096  df-starv 13097  df-sca 13098  df-vsca 13099  df-tset 13101  df-ple 13102  df-ds 13104  df-hom 13106  df-cco 13107  df-rest 13201  df-topn 13202  df-topgen 13218  df-pt 13219  df-prds 13222  df-xrs 13277  df-0g 13278  df-gsum 13279  df-qtop 13284  df-imas 13285  df-xps 13287  df-mre 13361  df-mrc 13362  df-acs 13363  df-mnd 14202  df-submnd 14251  df-mulg 14327  df-cntz 14628  df-cmn 14926  df-xmet 16205  df-met 16206  df-bl 16207  df-mopn 16208  df-cnfld 16210  df-top 16468  df-bases 16470  df-topon 16471  df-topsp 16472  df-cld 16588  df-ntr 16589  df-cls 16590  df-nei 16667  df-lp 16700  df-perf 16701  df-cn 16789  df-cnp 16790  df-haus 16875  df-tx 17089  df-hmeo 17278  df-fbas 17352  df-fg 17353  df-fil 17373  df-fm 17465  df-flim 17466  df-flf 17467  df-xms 17717  df-ms 17718  df-tms 17719  df-cncf 18214  df-limc 19048  df-dv 19049  df-log 19746  df-cxp 19747  df-sgm 20171
  Copyright terms: Public domain W3C validator