p1_mrg_arithmetic

2894 days ago by LAC2011

2+7 
       
\newcommand{\Bold}[1]{\mathbf{#1}}9
\newcommand{\Bold}[1]{\mathbf{#1}}9
2-7 
       
\newcommand{\Bold}[1]{\mathbf{#1}}-5
\newcommand{\Bold}[1]{\mathbf{#1}}-5
2*7 
       
\newcommand{\Bold}[1]{\mathbf{#1}}14
\newcommand{\Bold}[1]{\mathbf{#1}}14
n(2/7,digits=100) 
       
\newcommand{\Bold}[1]{\mathbf{#1}}0.2857142857142857142857142857142857142857142857142857142857142857142857142857142857142857142857142857
\newcommand{\Bold}[1]{\mathbf{#1}}0.2857142857142857142857142857142857142857142857142857142857142857142857142857142857142857142857142857
12%7 
       
\newcommand{\Bold}[1]{\mathbf{#1}}5
\newcommand{\Bold}[1]{\mathbf{#1}}5
12//7 
       
\newcommand{\Bold}[1]{\mathbf{#1}}1
\newcommand{\Bold}[1]{\mathbf{#1}}1
len(str(22222**77777)) 
       
\newcommand{\Bold}[1]{\mathbf{#1}}338080
\newcommand{\Bold}[1]{\mathbf{#1}}338080
int(n(log(22222**77777)/log(10))+1) 
       
\newcommand{\Bold}[1]{\mathbf{#1}}338080
\newcommand{\Bold}[1]{\mathbf{#1}}338080
2**2-1 
       
\newcommand{\Bold}[1]{\mathbf{#1}}3
\newcommand{\Bold}[1]{\mathbf{#1}}3
2**3-1 
       
\newcommand{\Bold}[1]{\mathbf{#1}}7
\newcommand{\Bold}[1]{\mathbf{#1}}7
2**5-1 
       
\newcommand{\Bold}[1]{\mathbf{#1}}31
\newcommand{\Bold}[1]{\mathbf{#1}}31
2**7-1 
       
\newcommand{\Bold}[1]{\mathbf{#1}}127
\newcommand{\Bold}[1]{\mathbf{#1}}127
2**11-1 
       
\newcommand{\Bold}[1]{\mathbf{#1}}2047
\newcommand{\Bold}[1]{\mathbf{#1}}2047
for i in range(2,1000): m=2**i-1 if m.is_prime(): print(m) 
       
3
7
31
127
8191
131071
524287
2147483647
2305843009213693951
618970019642690137449562111
162259276829213363391578010288127
170141183460469231731687303715884105727
686479766013060971498190079908139321726943530014330540939446345918554318\
339765605212255964066145455497729631139148085803712198799971664381257402\
8291115057151
531137992816767098689588206552468627329593117727031923199444138200403559\
860852242739162502265229285668889329486246501015346579337652707239409519\
978766587351943831270835393219031728127
3
7
31
127
8191
131071
524287
2147483647
2305843009213693951
618970019642690137449562111
162259276829213363391578010288127
170141183460469231731687303715884105727
6864797660130609714981900799081393217269435300143305409394463459185543183397656052122559640661454554977296311391480858037121987999716643812574028291115057151
531137992816767098689588206552468627329593117727031923199444138200403559860852242739162502265229285668889329486246501015346579337652707239409519978766587351943831270835393219031728127