Ulam numbers: Difference between revisions

m
m (→‎{{header|Phix}}: added XPL0's t<=2 trick for a 3.75x speed-up)
Line 665:
if T <= 2 then Sums(Sum):= T;
];
List(Size):= Query; \add Query to List
Size:= Size+1;
quit;
];
Query:= Query+1; \possible next Ulam no.
];
Query:= Query+1; \possible next Ulam no.
];
until Size >= N;
return Query;
772

edits