Chowla numbers: Difference between revisions

Line 1,387:
{{trans|Go}}
<syntaxhighlight lang="text">
funcproc chowla n . sum .
sum = 0
i = 2
Line 1,402:
.
.
funcproc sieve . c[] .
i = 3
while i * 3 <= len c[]
Line 1,418:
.
.
funcproc commatize n . s$ .
s$[] = strchars n
s$ = ""
Line 1,435:
print " " & i & ": " & h
.
funcproc main . .
print ""
len c[] 10000000
2,023

edits