Data update

This commit is contained in:
Ingy döt Net 2026-04-30 12:34:36 -04:00
parent 4bb20c9b71
commit cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions

View file

@ -0,0 +1,34 @@
program antiprimes(output);
(* Anti-primes *)
(* Very slow *)
var
counter, max, num, dv, cnt: integer;
enough: boolean;
begin
counter := 0;
max := 0;
num := 1;
enough := false;
while not enough do
begin
cnt := 0;
dv := 1;
repeat
if num mod dv = 0 then
cnt := cnt + 1;
dv := dv + 1;
until dv > num;
if cnt > max then
begin
write(num: 5);
max := cnt;
counter := counter + 1;
if counter >= 20 then
enough := true;
end;
num := num + 1;
end;
writeln;
(* readln; *)
end.