Code: Select all
v[3] == 2 and v[2] + 1 or v[3] == 4 and v[2] - 1
Code: Select all
v[3] == 2 and v[2] + 1 or v[3] == 4 and v[2] - 1
http://www.lua.org/pil/4.3.5.html wrote:The loop variables are local to the loop body (...)
There are an infinite number of digits, so every number will appear an infinite amount of times, so yeah, that should be true.micha wrote:The statements (1) that every possible number can be found inside pi and (2) that the digits are evenly distributed in pi might still be true. I am not sure about that.