Amicable pairs: Difference between revisions

m
No edit summary
Line 387:
 
comment - main program begins here;
integer a, b, c, found;
outstring(1,"Searching up to 20000 for amicable pairs\n");
found := 0;
Line 395:
if b > a then
begin
cif a := sumf(b); then
if a = c then
begin
found := found + 1;
211

edits