Prime reciprocal sum: Difference between revisions
m
→{{header|ALGOL 68}}: layout
(Added Algol 68) |
m (→{{header|ALGOL 68}}: layout) |
||
Line 87:
# each succeeding prime is the next prime > the denominator of the sum #
# divided by the difference of the denominator and the numerator #
FOR i FROM 2 TO 14 DO
LONG LONG INT next := IF num OF sum + 1 = den OF sum
THEN den OF sum + 1
|