It's not more complicated than to print table elements starting from key 1. Looks more like the question is about how to print table elements at all. In the most basic case to print elements with integer keys starting from 0 and without printing contents of any nested tables it's enough to have one loop:
local t = {[0] = 0, 1, 2, 3}
print("{")
local index = 0
local element = nil
while true do
element = t[index]
if element == nil then
break
end
local representation = string.format(" [%d] = %s", index, element) -- implement custom type-dependent converion of value to string if needed, this one uses default conversion, i.e. string "1" and number 1 will result in the same output
print(representation)
index = index + 1
end
print("}")