Data update

This commit is contained in:
Ingy döt Net 2024-07-13 15:19:22 -07:00
parent 29a5eea0d4
commit 5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions

View file

@ -0,0 +1,18 @@
func valid n nuts .
k = n
while k <> 0
if nuts mod n <> 1
return 0
.
k -= 1
nuts -= 1 + nuts div n
.
return if nuts <> 0 and nuts mod n = 0
.
for n = 5 to 6
x = 0
while valid n x = 0
x += 1
.
print n & ": " & x
.