Data update

This commit is contained in:
Ingy döt Net 2026-02-01 16:33:20 -08:00
parent 5150844a7d
commit 4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions

View file

@ -1,6 +1,6 @@
val isPrime = fn(i) {
i == 2 or i > 2 and
not any(series(2 .. i ^/ 2, asconly=true), by=fn x:i div x)
i == 2 or i > 2 and
not any(series(2 .. i ^/ 2, asconly=true), by=fn x:i div x)
}
val sumDigits = fn i: fold(s2n(string(i)), by=fn{+})