跳转到内容

User:ColorfulGalaxy/Sandbox:修订间差异

此后如竟没有炬火,我便是唯一的光。
Translated ORK留言 | 贡献
无编辑摘要
Translated ORK留言 | 贡献
无编辑摘要
标签手工回退
 
(未显示3个用户的26个中间版本)
第1行: 第1行:
This is the sandbox. There will probably be another one as this can get too big.
This is the sandbox. There will probably be another one as this can get too big.
[[User:荆哲|My namesake]]


<!-- erich-friedman.github.io/mathmagic/0999.html (7) -->
<!-- erich-friedman.github.io/mathmagic/0999.html (7) -->
第111行: 第108行:
|}
|}
</td></tr></table>
</td></tr></table>
<pre>from math import pi
p=pi
print(int(p),end=' ')
p-=int(p)
for i in range(14):
p*=7
print(int(p),end=' ')
p-=int(p)</pre>
Pi in septenary: 3 0 6 6 3 6 5 1 4 3 2 0 3 6 1 http://oeis.org/A004606
153 and 1077 are not prime. 1077×7+3 is even, thus not prime.
Pi in tetradecimal: 3 1 13 10 7 5 12 13 10 8 1 3 7 5 2 http://oeis.org/A068439
43 is prime. 615 is not prime.
<pre>from math import e
from math import exp
for i in range(1,20):
for j in range(1,20):
  print(i,j,exp(j)-i**i)</pre>
<pre>from math import sqrt
print("(7+14)/2=",(7+14)/2)
print("sqrt(7*14)=",sqrt(7*14))</pre>
Do not add links to B23 dot TV. These links will expire after a year. {{tl|b}}

2025年4月22日 (二) 17:58的最新版本

This is the sandbox. There will probably be another one as this can get too big.


1
4
1 4 4
4 4 1
1 1 1 1
4 4 4 4
1 2
2 2
2 2
2 2
1 2 1
2 0 2
1 2 1
1 2 1
2 3 2
1 2 1
1 4 4
4 0 0
4 0 0
5 1 4
1 4 4
4 4 1
1 1 1 1
4 4 4 4
4 4 4 4
4 4 4 4
4 4 4 4
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
4 4 4 4
4 4 4 4
4 4 4 4
4 4 4 4
from math import pi
p=pi
print(int(p),end=' ')
p-=int(p)
for i in range(14):
 p*=7
 print(int(p),end=' ')
 p-=int(p)

Pi in septenary: 3 0 6 6 3 6 5 1 4 3 2 0 3 6 1 http://oeis.org/A004606

153 and 1077 are not prime. 1077×7+3 is even, thus not prime.

Pi in tetradecimal: 3 1 13 10 7 5 12 13 10 8 1 3 7 5 2 http://oeis.org/A068439

43 is prime. 615 is not prime.

from math import e
from math import exp
for i in range(1,20):
 for j in range(1,20):
  print(i,j,exp(j)-i**i)
from math import sqrt
print("(7+14)/2=",(7+14)/2)
print("sqrt(7*14)=",sqrt(7*14))

Do not add links to B23 dot TV. These links will expire after a year. {{b}}