User:ColorfulGalaxy/Sandbox:修订间差异
外观
无编辑摘要 |
无编辑摘要 |
||
(未显示2个用户的12个中间版本) | |||
第2行: | 第2行: | ||
<!-- erich-friedman.github.io/mathmagic/0999.html (7) --> | <!-- erich-friedman.github.io/mathmagic/0999.html (7) --> | ||
<table><tr><td> | <table><tr><td> | ||
{| class="wikitable" | {| class="wikitable" | ||
第109行: | 第109行: | ||
</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. | |||
14+ | <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月13日 (日) 21:24的最新版本
This is the sandbox. There will probably be another one as this can get too big.
|
| ||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||
|
|
|
| ||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||
|
|
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}}