local alp = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"}
local num = 1
local str = alp[num]
repeat
num = num + (1*#str)
if #str == 1 then
str = alp[num]
end
if num >= math.ceil((math.pow(#alp, #str))) then
print(num)
num = 1
str = str .. alp[math.ceil(num/(math.pow(#alp, #str)))]
end
print(str)
print("------")
print(alp[math.ceil(num/(math.pow(2, #str - 1)))])
print(num)
print("------")
until false
To embed this project on your website, copy the following code and paste it into your website's HTML: