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 @@
scope # find some pernicious numbers - numbers with a prime population count
local procedure populationCount( n :: number ) :: number
local proc populationCount( n :: number ) :: number
local v, count := abs n, 0;
while v > 0 do
if v && 1 = 1 then count +:= 1 fi;
@ -9,7 +9,7 @@ scope # find some pernicious numbers - numbers with a prime population count
return count
end;
local procedure isPernicious( p :: number ) :: boolean
local proc isPernicious( p :: number ) :: boolean
return p > 0 and numtheory.isprime( populationCount( p ) )
end