Cousin primes: Difference between revisions

Content added Content deleted
(Added Algol W)
(→‎{{header|ALGOL W}}: spelling... : ()
Line 164: Line 164:
end if_have_a_cousin_prime_pair
end if_have_a_cousin_prime_pair
end for_i ;
end for_i ;
write( i_w := 1, s_w := 0, "Found ", cCount, " cousoin prime pairs up to ", MAX_PRIME )
write( i_w := 1, s_w := 0, "Found ", cCount, " cousin prime pairs up to ", MAX_PRIME )
end
end
end.</lang>
end.</lang>
Line 174: Line 174:
(739 743) (757 761) (769 773) (823 827) (853 857) (859 863) (877 881) (883 887) (907 911) (937 941)
(739 743) (757 761) (769 773) (823 827) (853 857) (859 863) (877 881) (883 887) (907 911) (937 941)
(967 971)
(967 971)
Found 41 cousoin prime pairs up to 1000
Found 41 cousin prime pairs up to 1000
</pre>
</pre>