--- -- Author: Brian Tiffin -- Dedicated to the public domain -- -- Date: December 2016 -- Modified: 2016-12-14/11:52-0500 -- -- Tectonics: lua tightloop-lua.lua --+ -- Sum of values from 0 to 16777216 total = 0 for n=0,2^24,1 do total = total + n end print(string.format("%d", total))