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

Theorem 4001lem4 15103
Description: Lemma for 4001prm 15104. Calculate the GCD of  2 ^ 8 0 0  -  1  ==  2 3 1 0 with  N  =  4 0 0 1. (Contributed by Mario Carneiro, 3-Mar-2014.) (Revised by Mario Carneiro, 20-Apr-2015.)
Hypothesis
Ref Expression
4001prm.1  |-  N  = ;;; 4 0 0 1
Assertion
Ref Expression
4001lem4  |-  ( ( ( 2 ^;; 8 0 0 )  - 
1 )  gcd  N
)  =  1

Proof of Theorem 4001lem4
StepHypRef Expression
1 2nn 10768 . . . 4  |-  2  e.  NN
2 8nn0 10893 . . . . . 6  |-  8  e.  NN0
3 0nn0 10885 . . . . . 6  |-  0  e.  NN0
42, 3deccl 11066 . . . . 5  |- ; 8 0  e.  NN0
54, 3deccl 11066 . . . 4  |- ;; 8 0 0  e.  NN0
6 nnexpcl 12285 . . . 4  |-  ( ( 2  e.  NN  /\ ;; 8 0 0  e. 
NN0 )  ->  (
2 ^;; 8 0 0 )  e.  NN )
71, 5, 6mp2an 676 . . 3  |-  ( 2 ^;; 8 0 0 )  e.  NN
8 nnm1nn0 10912 . . 3  |-  ( ( 2 ^;; 8 0 0 )  e.  NN  ->  ( (
2 ^;; 8 0 0 )  - 
1 )  e.  NN0 )
97, 8ax-mp 5 . 2  |-  ( ( 2 ^;; 8 0 0 )  - 
1 )  e.  NN0
10 2nn0 10887 . . . . 5  |-  2  e.  NN0
11 3nn0 10888 . . . . 5  |-  3  e.  NN0
1210, 11deccl 11066 . . . 4  |- ; 2 3  e.  NN0
13 1nn0 10886 . . . 4  |-  1  e.  NN0
1412, 13deccl 11066 . . 3  |- ;; 2 3 1  e.  NN0
1514, 3deccl 11066 . 2  |- ;;; 2 3 1 0  e.  NN0
16 4001prm.1 . . 3  |-  N  = ;;; 4 0 0 1
17 4nn0 10889 . . . . . 6  |-  4  e.  NN0
1817, 3deccl 11066 . . . . 5  |- ; 4 0  e.  NN0
1918, 3deccl 11066 . . . 4  |- ;; 4 0 0  e.  NN0
20 1nn 10621 . . . 4  |-  1  e.  NN
2119, 20decnncl 11065 . . 3  |- ;;; 4 0 0 1  e.  NN
2216, 21eqeltri 2506 . 2  |-  N  e.  NN
23164001lem2 15101 . . 3  |-  ( ( 2 ^;; 8 0 0 )  mod 
N )  =  (;;; 2 3 1 1  mod 
N )
24 0p1e1 10722 . . . 4  |-  ( 0  +  1 )  =  1
25 eqid 2422 . . . 4  |- ;;; 2 3 1 0  = ;;; 2 3 1 0
2614, 3, 24, 25decsuc 11075 . . 3  |-  (;;; 2 3 1 0  +  1 )  = ;;; 2 3 1 1
2722, 7, 13, 15, 23, 26modsubi 15032 . 2  |-  ( ( ( 2 ^;; 8 0 0 )  - 
1 )  mod  N
)  =  (;;; 2 3 1 0  mod  N )
28 6nn0 10891 . . . . . 6  |-  6  e.  NN0
2913, 28deccl 11066 . . . . 5  |- ; 1 6  e.  NN0
30 9nn0 10894 . . . . 5  |-  9  e.  NN0
3129, 30deccl 11066 . . . 4  |- ;; 1 6 9  e.  NN0
3231, 13deccl 11066 . . 3  |- ;;; 1 6 9 1  e.  NN0
3328, 13deccl 11066 . . . . 5  |- ; 6 1  e.  NN0
3433, 30deccl 11066 . . . 4  |- ;; 6 1 9  e.  NN0
35 5nn0 10890 . . . . . . 7  |-  5  e.  NN0
3617, 35deccl 11066 . . . . . 6  |- ; 4 5  e.  NN0
3736, 11deccl 11066 . . . . 5  |- ;; 4 5 3  e.  NN0
3829, 28deccl 11066 . . . . . 6  |- ;; 1 6 6  e.  NN0
3913, 10deccl 11066 . . . . . . . 8  |- ; 1 2  e.  NN0
4039, 13deccl 11066 . . . . . . 7  |- ;; 1 2 1  e.  NN0
4111, 13deccl 11066 . . . . . . . . 9  |- ; 3 1  e.  NN0
4213, 17deccl 11066 . . . . . . . . . 10  |- ; 1 4  e.  NN0
4342nn0zi 10963 . . . . . . . . . . . . 13  |- ; 1 4  e.  ZZ
4411nn0zi 10963 . . . . . . . . . . . . 13  |-  3  e.  ZZ
45 gcdcom 14472 . . . . . . . . . . . . 13  |-  ( (; 1
4  e.  ZZ  /\  3  e.  ZZ )  ->  (; 1 4  gcd  3
)  =  ( 3  gcd ; 1 4 ) )
4643, 44, 45mp2an 676 . . . . . . . . . . . 12  |-  (; 1 4  gcd  3
)  =  ( 3  gcd ; 1 4 )
47 3nn 10769 . . . . . . . . . . . . . 14  |-  3  e.  NN
48 4cn 10688 . . . . . . . . . . . . . . . 16  |-  4  e.  CC
49 3cn 10685 . . . . . . . . . . . . . . . 16  |-  3  e.  CC
50 4t3e12 11124 . . . . . . . . . . . . . . . 16  |-  ( 4  x.  3 )  = ; 1
2
5148, 49, 50mulcomli 9651 . . . . . . . . . . . . . . 15  |-  ( 3  x.  4 )  = ; 1
2
52 2p2e4 10728 . . . . . . . . . . . . . . 15  |-  ( 2  +  2 )  =  4
5313, 10, 10, 51, 52decaddi 11096 . . . . . . . . . . . . . 14  |-  ( ( 3  x.  4 )  +  2 )  = ; 1
4
54 2lt3 10778 . . . . . . . . . . . . . 14  |-  2  <  3
5547, 17, 1, 53, 54ndvdsi 14379 . . . . . . . . . . . . 13  |-  -.  3  || ; 1 4
56 3prm 14629 . . . . . . . . . . . . . 14  |-  3  e.  Prime
57 coprm 14645 . . . . . . . . . . . . . 14  |-  ( ( 3  e.  Prime  /\ ; 1 4  e.  ZZ )  ->  ( -.  3  || ; 1 4  <->  ( 3  gcd ; 1 4 )  =  1 ) )
5856, 43, 57mp2an 676 . . . . . . . . . . . . 13  |-  ( -.  3  || ; 1 4  <->  ( 3  gcd ; 1 4 )  =  1 )
5955, 58mpbi 211 . . . . . . . . . . . 12  |-  ( 3  gcd ; 1 4 )  =  1
6046, 59eqtri 2451 . . . . . . . . . . 11  |-  (; 1 4  gcd  3
)  =  1
61 eqid 2422 . . . . . . . . . . . 12  |- ; 1 4  = ; 1 4
6211dec0h 11068 . . . . . . . . . . . 12  |-  3  = ; 0 3
63 2t1e2 10759 . . . . . . . . . . . . . 14  |-  ( 2  x.  1 )  =  2
6463, 24oveq12i 6314 . . . . . . . . . . . . 13  |-  ( ( 2  x.  1 )  +  ( 0  +  1 ) )  =  ( 2  +  1 )
65 2p1e3 10734 . . . . . . . . . . . . 13  |-  ( 2  +  1 )  =  3
6664, 65eqtri 2451 . . . . . . . . . . . 12  |-  ( ( 2  x.  1 )  +  ( 0  +  1 ) )  =  3
67 2cn 10681 . . . . . . . . . . . . . . 15  |-  2  e.  CC
68 4t2e8 10764 . . . . . . . . . . . . . . 15  |-  ( 4  x.  2 )  =  8
6948, 67, 68mulcomli 9651 . . . . . . . . . . . . . 14  |-  ( 2  x.  4 )  =  8
7069oveq1i 6312 . . . . . . . . . . . . 13  |-  ( ( 2  x.  4 )  +  3 )  =  ( 8  +  3 )
71 8p3e11 11108 . . . . . . . . . . . . 13  |-  ( 8  +  3 )  = ; 1
1
7270, 71eqtri 2451 . . . . . . . . . . . 12  |-  ( ( 2  x.  4 )  +  3 )  = ; 1
1
7313, 17, 3, 11, 61, 62, 10, 13, 13, 66, 72decma2c 11092 . . . . . . . . . . 11  |-  ( ( 2  x. ; 1 4 )  +  3 )  = ; 3 1
7410, 11, 42, 60, 73gcdi 15033 . . . . . . . . . 10  |-  (; 3 1  gcd ; 1 4 )  =  1
75 eqid 2422 . . . . . . . . . . 11  |- ; 3 1  = ; 3 1
7649mulid2i 9647 . . . . . . . . . . . . 13  |-  ( 1  x.  3 )  =  3
77 ax-1cn 9598 . . . . . . . . . . . . . 14  |-  1  e.  CC
7877addid1i 9821 . . . . . . . . . . . . 13  |-  ( 1  +  0 )  =  1
7976, 78oveq12i 6314 . . . . . . . . . . . 12  |-  ( ( 1  x.  3 )  +  ( 1  +  0 ) )  =  ( 3  +  1 )
80 3p1e4 10736 . . . . . . . . . . . 12  |-  ( 3  +  1 )  =  4
8179, 80eqtri 2451 . . . . . . . . . . 11  |-  ( ( 1  x.  3 )  +  ( 1  +  0 ) )  =  4
82 1t1e1 10758 . . . . . . . . . . . . 13  |-  ( 1  x.  1 )  =  1
8382oveq1i 6312 . . . . . . . . . . . 12  |-  ( ( 1  x.  1 )  +  4 )  =  ( 1  +  4 )
84 4p1e5 10737 . . . . . . . . . . . . 13  |-  ( 4  +  1 )  =  5
8548, 77, 84addcomli 9826 . . . . . . . . . . . 12  |-  ( 1  +  4 )  =  5
8635dec0h 11068 . . . . . . . . . . . 12  |-  5  = ; 0 5
8783, 85, 863eqtri 2455 . . . . . . . . . . 11  |-  ( ( 1  x.  1 )  +  4 )  = ; 0
5
8811, 13, 13, 17, 75, 61, 13, 35, 3, 81, 87decma2c 11092 . . . . . . . . . 10  |-  ( ( 1  x. ; 3 1 )  + ; 1
4 )  = ; 4 5
8913, 42, 41, 74, 88gcdi 15033 . . . . . . . . 9  |-  (; 4 5  gcd ; 3 1 )  =  1
90 eqid 2422 . . . . . . . . . 10  |- ; 4 5  = ; 4 5
9169, 80oveq12i 6314 . . . . . . . . . . 11  |-  ( ( 2  x.  4 )  +  ( 3  +  1 ) )  =  ( 8  +  4 )
92 8p4e12 11109 . . . . . . . . . . 11  |-  ( 8  +  4 )  = ; 1
2
9391, 92eqtri 2451 . . . . . . . . . 10  |-  ( ( 2  x.  4 )  +  ( 3  +  1 ) )  = ; 1
2
94 5cn 10690 . . . . . . . . . . . . 13  |-  5  e.  CC
95 5t2e10 10765 . . . . . . . . . . . . 13  |-  ( 5  x.  2 )  =  10
9694, 67, 95mulcomli 9651 . . . . . . . . . . . 12  |-  ( 2  x.  5 )  =  10
97 dec10 11082 . . . . . . . . . . . 12  |-  10  = ; 1 0
9896, 97eqtri 2451 . . . . . . . . . . 11  |-  ( 2  x.  5 )  = ; 1
0
9913, 3, 24, 98decsuc 11075 . . . . . . . . . 10  |-  ( ( 2  x.  5 )  +  1 )  = ; 1
1
10017, 35, 11, 13, 90, 75, 10, 13, 13, 93, 99decma2c 11092 . . . . . . . . 9  |-  ( ( 2  x. ; 4 5 )  + ; 3
1 )  = ;; 1 2 1
10110, 41, 36, 89, 100gcdi 15033 . . . . . . . 8  |-  (;; 1 2 1  gcd ; 4 5 )  =  1
102 eqid 2422 . . . . . . . . 9  |- ;; 1 2 1  = ;; 1 2 1
103 eqid 2422 . . . . . . . . . 10  |- ; 1 2  = ; 1 2
10448addid1i 9821 . . . . . . . . . . 11  |-  ( 4  +  0 )  =  4
10517dec0h 11068 . . . . . . . . . . 11  |-  4  = ; 0 4
106104, 105eqtri 2451 . . . . . . . . . 10  |-  ( 4  +  0 )  = ; 0
4
107 00id 9809 . . . . . . . . . . . 12  |-  ( 0  +  0 )  =  0
10882, 107oveq12i 6314 . . . . . . . . . . 11  |-  ( ( 1  x.  1 )  +  ( 0  +  0 ) )  =  ( 1  +  0 )
109108, 78eqtri 2451 . . . . . . . . . 10  |-  ( ( 1  x.  1 )  +  ( 0  +  0 ) )  =  1
11067mulid2i 9647 . . . . . . . . . . . 12  |-  ( 1  x.  2 )  =  2
111110oveq1i 6312 . . . . . . . . . . 11  |-  ( ( 1  x.  2 )  +  4 )  =  ( 2  +  4 )
112 4p2e6 10745 . . . . . . . . . . . 12  |-  ( 4  +  2 )  =  6
11348, 67, 112addcomli 9826 . . . . . . . . . . 11  |-  ( 2  +  4 )  =  6
11428dec0h 11068 . . . . . . . . . . 11  |-  6  = ; 0 6
115111, 113, 1143eqtri 2455 . . . . . . . . . 10  |-  ( ( 1  x.  2 )  +  4 )  = ; 0
6
11613, 10, 3, 17, 103, 106, 13, 28, 3, 109, 115decma2c 11092 . . . . . . . . 9  |-  ( ( 1  x. ; 1 2 )  +  ( 4  +  0 ) )  = ; 1 6
11782oveq1i 6312 . . . . . . . . . 10  |-  ( ( 1  x.  1 )  +  5 )  =  ( 1  +  5 )
118 5p1e6 10738 . . . . . . . . . . 11  |-  ( 5  +  1 )  =  6
11994, 77, 118addcomli 9826 . . . . . . . . . 10  |-  ( 1  +  5 )  =  6
120117, 119, 1143eqtri 2455 . . . . . . . . 9  |-  ( ( 1  x.  1 )  +  5 )  = ; 0
6
12139, 13, 17, 35, 102, 90, 13, 28, 3, 116, 120decma2c 11092 . . . . . . . 8  |-  ( ( 1  x. ;; 1 2 1 )  + ; 4
5 )  = ;; 1 6 6
12213, 36, 40, 101, 121gcdi 15033 . . . . . . 7  |-  (;; 1 6 6  gcd ;; 1 2 1 )  =  1
123 eqid 2422 . . . . . . . 8  |- ;; 1 6 6  = ;; 1 6 6
124 eqid 2422 . . . . . . . . 9  |- ; 1 6  = ; 1 6
12513, 10, 65, 103decsuc 11075 . . . . . . . . 9  |-  (; 1 2  +  1 )  = ; 1 3
126 1p1e2 10724 . . . . . . . . . . 11  |-  ( 1  +  1 )  =  2
12763, 126oveq12i 6314 . . . . . . . . . 10  |-  ( ( 2  x.  1 )  +  ( 1  +  1 ) )  =  ( 2  +  2 )
128127, 52eqtri 2451 . . . . . . . . 9  |-  ( ( 2  x.  1 )  +  ( 1  +  1 ) )  =  4
129 6cn 10692 . . . . . . . . . . 11  |-  6  e.  CC
130 6t2e12 11129 . . . . . . . . . . 11  |-  ( 6  x.  2 )  = ; 1
2
131129, 67, 130mulcomli 9651 . . . . . . . . . 10  |-  ( 2  x.  6 )  = ; 1
2
132 3p2e5 10743 . . . . . . . . . . 11  |-  ( 3  +  2 )  =  5
13349, 67, 132addcomli 9826 . . . . . . . . . 10  |-  ( 2  +  3 )  =  5
13413, 10, 11, 131, 133decaddi 11096 . . . . . . . . 9  |-  ( ( 2  x.  6 )  +  3 )  = ; 1
5
13513, 28, 13, 11, 124, 125, 10, 35, 13, 128, 134decma2c 11092 . . . . . . . 8  |-  ( ( 2  x. ; 1 6 )  +  (; 1 2  +  1 ) )  = ; 4 5
13613, 10, 65, 131decsuc 11075 . . . . . . . 8  |-  ( ( 2  x.  6 )  +  1 )  = ; 1
3
13729, 28, 39, 13, 123, 102, 10, 11, 13, 135, 136decma2c 11092 . . . . . . 7  |-  ( ( 2  x. ;; 1 6 6 )  + ;; 1 2 1 )  = ;; 4 5 3
13810, 40, 38, 122, 137gcdi 15033 . . . . . 6  |-  (;; 4 5 3  gcd ;; 1 6 6 )  =  1
139 eqid 2422 . . . . . . 7  |- ;; 4 5 3  = ;; 4 5 3
14029nn0cni 10882 . . . . . . . . 9  |- ; 1 6  e.  CC
141140addid1i 9821 . . . . . . . 8  |-  (; 1 6  +  0 )  = ; 1 6
14248mulid2i 9647 . . . . . . . . . 10  |-  ( 1  x.  4 )  =  4
143142, 126oveq12i 6314 . . . . . . . . 9  |-  ( ( 1  x.  4 )  +  ( 1  +  1 ) )  =  ( 4  +  2 )
144143, 112eqtri 2451 . . . . . . . 8  |-  ( ( 1  x.  4 )  +  ( 1  +  1 ) )  =  6
14594mulid2i 9647 . . . . . . . . . 10  |-  ( 1  x.  5 )  =  5
146145oveq1i 6312 . . . . . . . . 9  |-  ( ( 1  x.  5 )  +  6 )  =  ( 5  +  6 )
147 6p5e11 11102 . . . . . . . . . 10  |-  ( 6  +  5 )  = ; 1
1
148129, 94, 147addcomli 9826 . . . . . . . . 9  |-  ( 5  +  6 )  = ; 1
1
149146, 148eqtri 2451 . . . . . . . 8  |-  ( ( 1  x.  5 )  +  6 )  = ; 1
1
15017, 35, 13, 28, 90, 141, 13, 13, 13, 144, 149decma2c 11092 . . . . . . 7  |-  ( ( 1  x. ; 4 5 )  +  (; 1 6  +  0 ) )  = ; 6 1
15176oveq1i 6312 . . . . . . . 8  |-  ( ( 1  x.  3 )  +  6 )  =  ( 3  +  6 )
152 6p3e9 10753 . . . . . . . . 9  |-  ( 6  +  3 )  =  9
153129, 49, 152addcomli 9826 . . . . . . . 8  |-  ( 3  +  6 )  =  9
15430dec0h 11068 . . . . . . . 8  |-  9  = ; 0 9
155151, 153, 1543eqtri 2455 . . . . . . 7  |-  ( ( 1  x.  3 )  +  6 )  = ; 0
9
15636, 11, 29, 28, 139, 123, 13, 30, 3, 150, 155decma2c 11092 . . . . . 6  |-  ( ( 1  x. ;; 4 5 3 )  + ;; 1 6 6 )  = ;; 6 1 9
15713, 38, 37, 138, 156gcdi 15033 . . . . 5  |-  (;; 6 1 9  gcd ;; 4 5 3 )  =  1
158 eqid 2422 . . . . . 6  |- ;; 6 1 9  = ;; 6 1 9
159 7nn0 10892 . . . . . . 7  |-  7  e.  NN0
160 eqid 2422 . . . . . . 7  |- ; 6 1  = ; 6 1
161 5p2e7 10748 . . . . . . . 8  |-  ( 5  +  2 )  =  7
16217, 35, 10, 90, 161decaddi 11096 . . . . . . 7  |-  (; 4 5  +  2 )  = ; 4 7
163104oveq2i 6313 . . . . . . . 8  |-  ( ( 2  x.  6 )  +  ( 4  +  0 ) )  =  ( ( 2  x.  6 )  +  4 )
16413, 10, 17, 131, 113decaddi 11096 . . . . . . . 8  |-  ( ( 2  x.  6 )  +  4 )  = ; 1
6
165163, 164eqtri 2451 . . . . . . 7  |-  ( ( 2  x.  6 )  +  ( 4  +  0 ) )  = ; 1
6
16663oveq1i 6312 . . . . . . . 8  |-  ( ( 2  x.  1 )  +  7 )  =  ( 2  +  7 )
167 7cn 10694 . . . . . . . . 9  |-  7  e.  CC
168 7p2e9 10755 . . . . . . . . 9  |-  ( 7  +  2 )  =  9
169167, 67, 168addcomli 9826 . . . . . . . 8  |-  ( 2  +  7 )  =  9
170166, 169, 1543eqtri 2455 . . . . . . 7  |-  ( ( 2  x.  1 )  +  7 )  = ; 0
9
17128, 13, 17, 159, 160, 162, 10, 30, 3, 165, 170decma2c 11092 . . . . . 6  |-  ( ( 2  x. ; 6 1 )  +  (; 4 5  +  2 ) )  = ;; 1 6 9
172 9cn 10698 . . . . . . . 8  |-  9  e.  CC
173 9t2e18 11147 . . . . . . . 8  |-  ( 9  x.  2 )  = ; 1
8
174172, 67, 173mulcomli 9651 . . . . . . 7  |-  ( 2  x.  9 )  = ; 1
8
17513, 2, 11, 174, 126, 13, 71decaddci 11097 . . . . . 6  |-  ( ( 2  x.  9 )  +  3 )  = ; 2
1
17633, 30, 36, 11, 158, 139, 10, 13, 10, 171, 175decma2c 11092 . . . . 5  |-  ( ( 2  x. ;; 6 1 9 )  + ;; 4 5 3 )  = ;;; 1 6 9 1
17710, 37, 34, 157, 176gcdi 15033 . . . 4  |-  (;;; 1 6 9 1  gcd ;; 6 1 9 )  =  1
178 eqid 2422 . . . . 5  |- ;;; 1 6 9 1  = ;;; 1 6 9 1
179 eqid 2422 . . . . . 6  |- ;; 1 6 9  = ;; 1 6 9
18028, 13, 126, 160decsuc 11075 . . . . . 6  |-  (; 6 1  +  1 )  = ; 6 2
181 6p1e7 10739 . . . . . . . 8  |-  ( 6  +  1 )  =  7
182159dec0h 11068 . . . . . . . 8  |-  7  = ; 0 7
183181, 182eqtri 2451 . . . . . . 7  |-  ( 6  +  1 )  = ; 0
7
18482, 24oveq12i 6314 . . . . . . . 8  |-  ( ( 1  x.  1 )  +  ( 0  +  1 ) )  =  ( 1  +  1 )
185184, 126eqtri 2451 . . . . . . 7  |-  ( ( 1  x.  1 )  +  ( 0  +  1 ) )  =  2
186129mulid2i 9647 . . . . . . . . 9  |-  ( 1  x.  6 )  =  6
187186oveq1i 6312 . . . . . . . 8  |-  ( ( 1  x.  6 )  +  7 )  =  ( 6  +  7 )
188 7p6e13 11106 . . . . . . . . 9  |-  ( 7  +  6 )  = ; 1
3
189167, 129, 188addcomli 9826 . . . . . . . 8  |-  ( 6  +  7 )  = ; 1
3
190187, 189eqtri 2451 . . . . . . 7  |-  ( ( 1  x.  6 )  +  7 )  = ; 1
3
19113, 28, 3, 159, 124, 183, 13, 11, 13, 185, 190decma2c 11092 . . . . . 6  |-  ( ( 1  x. ; 1 6 )  +  ( 6  +  1 ) )  = ; 2 3
192172mulid2i 9647 . . . . . . . 8  |-  ( 1  x.  9 )  =  9
193192oveq1i 6312 . . . . . . 7  |-  ( ( 1  x.  9 )  +  2 )  =  ( 9  +  2 )
194 9p2e11 11114 . . . . . . 7  |-  ( 9  +  2 )  = ; 1
1
195193, 194eqtri 2451 . . . . . 6  |-  ( ( 1  x.  9 )  +  2 )  = ; 1
1
19629, 30, 28, 10, 179, 180, 13, 13, 13, 191, 195decma2c 11092 . . . . 5  |-  ( ( 1  x. ;; 1 6 9 )  +  (; 6 1  +  1 ) )  = ;; 2 3 1
19782oveq1i 6312 . . . . . 6  |-  ( ( 1  x.  1 )  +  9 )  =  ( 1  +  9 )
198 9p1e10 10742 . . . . . . 7  |-  ( 9  +  1 )  =  10
199172, 77, 198addcomli 9826 . . . . . 6  |-  ( 1  +  9 )  =  10
200197, 199, 973eqtri 2455 . . . . 5  |-  ( ( 1  x.  1 )  +  9 )  = ; 1
0
20131, 13, 33, 30, 178, 158, 13, 3, 13, 196, 200decma2c 11092 . . . 4  |-  ( ( 1  x. ;;; 1 6 9 1 )  + ;; 6 1 9 )  = ;;; 2 3 1 0
20213, 34, 32, 177, 201gcdi 15033 . . 3  |-  (;;; 2 3 1 0  gcd ;;; 1 6 9 1 )  =  1
203 eqid 2422 . . . . . 6  |- ;; 2 3 1  = ;; 2 3 1
20431nn0cni 10882 . . . . . . 7  |- ;; 1 6 9  e.  CC
205204addid1i 9821 . . . . . 6  |-  (;; 1 6 9  +  0 )  = ;; 1 6 9
206 eqid 2422 . . . . . . 7  |- ; 2 3  = ; 2 3
20713, 28, 181, 124decsuc 11075 . . . . . . 7  |-  (; 1 6  +  1 )  = ; 1 7
208110, 126oveq12i 6314 . . . . . . . 8  |-  ( ( 1  x.  2 )  +  ( 1  +  1 ) )  =  ( 2  +  2 )
209208, 52eqtri 2451 . . . . . . 7  |-  ( ( 1  x.  2 )  +  ( 1  +  1 ) )  =  4
21076oveq1i 6312 . . . . . . . 8  |-  ( ( 1  x.  3 )  +  7 )  =  ( 3  +  7 )
211 7p3e10 10756 . . . . . . . . 9  |-  ( 7  +  3 )  =  10
212167, 49, 211addcomli 9826 . . . . . . . 8  |-  ( 3  +  7 )  =  10
213210, 212, 973eqtri 2455 . . . . . . 7  |-  ( ( 1  x.  3 )  +  7 )  = ; 1
0
21410, 11, 13, 159, 206, 207, 13, 3, 13, 209, 213decma2c 11092 . . . . . 6  |-  ( ( 1  x. ; 2 3 )  +  (; 1 6  +  1 ) )  = ; 4 0
21512, 13, 29, 30, 203, 205, 13, 3, 13, 214, 200decma2c 11092 . . . . 5  |-  ( ( 1  x. ;; 2 3 1 )  +  (;; 1 6 9  +  0 ) )  = ;; 4 0 0
21677mul01i 9824 . . . . . . 7  |-  ( 1  x.  0 )  =  0
217216oveq1i 6312 . . . . . 6  |-  ( ( 1  x.  0 )  +  1 )  =  ( 0  +  1 )
21813dec0h 11068 . . . . . 6  |-  1  = ; 0 1
219217, 24, 2183eqtri 2455 . . . . 5  |-  ( ( 1  x.  0 )  +  1 )  = ; 0
1
22014, 3, 31, 13, 25, 178, 13, 13, 3, 215, 219decma2c 11092 . . . 4  |-  ( ( 1  x. ;;; 2 3 1 0 )  + ;;; 1 6 9 1 )  = ;;; 4 0 0 1
221220, 16eqtr4i 2454 . . 3  |-  ( ( 1  x. ;;; 2 3 1 0 )  + ;;; 1 6 9 1 )  =  N
22213, 32, 15, 202, 221gcdi 15033 . 2  |-  ( N  gcd ;;; 2 3 1 0 )  =  1
2239, 15, 22, 27, 222gcdmodi 15034 1  |-  ( ( ( 2 ^;; 8 0 0 )  - 
1 )  gcd  N
)  =  1
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    <-> wb 187    = wceq 1437    e. wcel 1868   class class class wbr 4420  (class class class)co 6302   0cc0 9540   1c1 9541    + caddc 9543    x. cmul 9545    - cmin 9861   NNcn 10610   2c2 10660   3c3 10661   4c4 10662   5c5 10663   6c6 10664   7c7 10665   8c8 10666   9c9 10667   10c10 10668   NN0cn0 10870   ZZcz 10938  ;cdc 11052   ^cexp 12272    || cdvds 14293    gcd cgcd 14456   Primecprime 14610
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1665  ax-4 1678  ax-5 1748  ax-6 1794  ax-7 1839  ax-8 1870  ax-9 1872  ax-10 1887  ax-11 1892  ax-12 1905  ax-13 2053  ax-ext 2400  ax-sep 4543  ax-nul 4552  ax-pow 4599  ax-pr 4657  ax-un 6594  ax-cnex 9596  ax-resscn 9597  ax-1cn 9598  ax-icn 9599  ax-addcl 9600  ax-addrcl 9601  ax-mulcl 9602  ax-mulrcl 9603  ax-mulcom 9604  ax-addass 9605  ax-mulass 9606  ax-distr 9607  ax-i2m1 9608  ax-1ne0 9609  ax-1rid 9610  ax-rnegex 9611  ax-rrecex 9612  ax-cnre 9613  ax-pre-lttri 9614  ax-pre-lttrn 9615  ax-pre-ltadd 9616  ax-pre-mulgt0 9617  ax-pre-sup 9618
This theorem depends on definitions:  df-bi 188  df-or 371  df-an 372  df-3or 983  df-3an 984  df-tru 1440  df-ex 1660  df-nf 1664  df-sb 1787  df-eu 2269  df-mo 2270  df-clab 2408  df-cleq 2414  df-clel 2417  df-nfc 2572  df-ne 2620  df-nel 2621  df-ral 2780  df-rex 2781  df-reu 2782  df-rmo 2783  df-rab 2784  df-v 3083  df-sbc 3300  df-csb 3396  df-dif 3439  df-un 3441  df-in 3443  df-ss 3450  df-pss 3452  df-nul 3762  df-if 3910  df-pw 3981  df-sn 3997  df-pr 3999  df-tp 4001  df-op 4003  df-uni 4217  df-int 4253  df-iun 4298  df-br 4421  df-opab 4480  df-mpt 4481  df-tr 4516  df-eprel 4761  df-id 4765  df-po 4771  df-so 4772  df-fr 4809  df-we 4811  df-xp 4856  df-rel 4857  df-cnv 4858  df-co 4859  df-dm 4860  df-rn 4861  df-res 4862  df-ima 4863  df-pred 5396  df-ord 5442  df-on 5443  df-lim 5444  df-suc 5445  df-iota 5562  df-fun 5600  df-fn 5601  df-f 5602  df-f1 5603  df-fo 5604  df-f1o 5605  df-fv 5606  df-riota 6264  df-ov 6305  df-oprab 6306  df-mpt2 6307  df-om 6704  df-1st 6804  df-2nd 6805  df-wrecs 7033  df-recs 7095  df-rdg 7133  df-1o 7187  df-2o 7188  df-oadd 7191  df-er 7368  df-en 7575  df-dom 7576  df-sdom 7577  df-fin 7578  df-sup 7959  df-inf 7960  df-pnf 9678  df-mnf 9679  df-xr 9680  df-ltxr 9681  df-le 9682  df-sub 9863  df-neg 9864  df-div 10271  df-nn 10611  df-2 10669  df-3 10670  df-4 10671  df-5 10672  df-6 10673  df-7 10674  df-8 10675  df-9 10676  df-10 10677  df-n0 10871  df-z 10939  df-dec 11053  df-uz 11161  df-rp 11304  df-fz 11786  df-fl 12028  df-mod 12097  df-seq 12214  df-exp 12273  df-cj 13151  df-re 13152  df-im 13153  df-sqrt 13287  df-abs 13288  df-dvds 14294  df-gcd 14457  df-prm 14611
This theorem is referenced by:  4001prm  15104
  Copyright terms: Public domain W3C validator