Cousin primes: Difference between revisions
→{{header|ALGOL 68}}: Make output more compact
(Added solution for Action!) |
(→{{header|ALGOL 68}}: Make output more compact) |
||
Line 164:
# have a pair of cousin primes #
p count +:= 1;
FI
FI
Line 176 ⟶ 173:
{{out}}
<pre>
109-113 127-131 163-167 193-197 223-227 229-233 277-281 307-311 313-317 349-353
379-383 397-401 439-443 457-461 463-467 487-491 499-503 613-617 643-647 673-677
739-743 757-761 769-773 823-827 853-857 859-863 877-881 883-887 907-911 937-941
▲ 41: 967-971
Found 41 cousin primes
</pre>
|