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,21 @@
on magic(n)
n * (n ^ 2 + 1) / 2
end magic
repeat with i from 3 to 22
log magic(i) as integer
end repeat
log magic(1003) as integer
on inv_magic(lower)
set n to 3
repeat until magic(n) > lower
set n to n + 1
end repeat
return n
end inv_magic
repeat with i from 1 to 20
log inv_magic(10 ^ i)
end repeat