Solved ProjectEuler/028,048

This commit is contained in:
FuryFire
2011-04-24 16:22:52 +02:00
parent 80dbb818a8
commit 6cc3b0ad82
10 changed files with 142 additions and 0 deletions

View File

@ -0,0 +1,12 @@
i=0
while(true) do
i = i + 20
div = 19
while((i % div) == 0) do
div = div - 1
if(div == 0) then
print(i)
os.exit()
end
end
end