Cuban primes: Difference between revisions
m
→{{header|Python}}: appears to be a transcription typo, looks ok now, warning removed
(→{{header|Python}}: flagged as incorrect, Python shows numbers that aren't cuban primes, and is missing others.) |
m (→{{header|Python}}: appears to be a transcription typo, looks ok now, warning removed) |
||
Line 904:
=={{header|Python}}==
{{trans|C#}}
Line 929 ⟶ 927:
st = datetime.datetime.now()
for i in range(
found = False
u += 6
v += u
mx = int(math.sqrt(
for item in primes:
Line 979 ⟶ 977:
{{out}}
<pre>The first 200 cuban primes:▼
7 19 37 61 127 271 331 397 547 631
▲The first 200 cuban primes:
919
4,447
1,125,469
1,372,957
Progress to the 100,000th cuban prime:..................................................
The 100,000th cuban prime is
Computation time was
=={{header|REXX}}==
|