Anonymous user
Chowla numbers: Difference between revisions
m
no edit summary
imported>Wilm (Added an example for an ancient Fortran incarnation involving simulated hardware) |
imported>Wilm mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1,717:
</pre>
=={{header|Fortran}}==
{{works with|VAX Fortran|V4.6-244}}
{{trans|Ada}}
Run time on a Raspberry Pi 4 Model B Rev 1.1 (Raspbian GNU/Linux 10 buster) was 7h 21m
<syntaxhighlight lang="fortran" line="1">
▲Run time on a Raspberry Pi 4 Model B Rev 1.1 (Raspbian GNU/Linux 10 buster) was 7h 21m<syntaxhighlight lang="fortran" line="1">
PROGRAM CHOWLA
Line 1,749 ⟶ 1,753:
110 CONTINUE
I = I + 1
GOTO 100
Line 1,834 ⟶ 1,838:
END
</syntaxhighlight
{{out}}<pre>
CHOWLA( 1) = 0
CHOWLA( 2) = 0
|