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}}
{{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/ simhopensimh] 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,749 ⟶ 1,753:
110 CONTINUE
 
I = I + 1
GOTO 100
 
Line 1,834 ⟶ 1,838:
 
END
</syntaxhighlight>{{out}}<pre>
{{out}}<pre>
 
CHOWLA( 1) = 0
CHOWLA( 2) = 0
Anonymous user