Module:Sandbox/User:MxFox/Experience/dataunr

From Illerai

This is an old revision of this page, as edited by illerai>MxFox at 15:07, 1 May 2020 (Created page with "local ret = {} local total = 0 ret[1] = 0 for i = 1, 125 do total = math.floor(total + i + 300 * math.pow(2, i / 7)) ret[i + 1] = math.floor(total/4) end return ret"). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Sandbox/User:MxFox/Experience/dataunr/doc

local ret = {}
local total = 0

ret[1] = 0
for i = 1, 125 do
    total = math.floor(total + i + 300 * math.pow(2, i / 7))
    ret[i + 1] = math.floor(total/4)
end

return ret