Chowla numbers: Difference between revisions

m
added "translation from Ada
imported>Wilm
(Added an example for an ancient Fortran incarnation involving simulated hardware)
imported>Wilm
m (added "translation from Ada)
Line 1,717:
</pre>
=={{header|Fortran}}==
{{works with|VAX Fortran|V4.6-244}}
{{works with|VAX Fortran|V4.6-244}}{{libheader|VAX/VMS V4.6}}This compiler implements the Fortran-77 standard. The VAX/VMS operating system runs on simulated hardware using the open source [https://opensimh.org/ simh] platform.
{{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">
<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,834 ⟶ 1,838:
 
END
</syntaxhighlight>{{out}}<pre>
{{out}}<pre>
 
CHOWLA( 1) = 0
CHOWLA( 2) = 0
Anonymous user