Number generator

I’m looking for a good number generator base for lottery use, I would like to be able to put in many numbers I consider lucky and generate picks from only those numbers.

function setup()
    num={5,8,45,34,23,56,48,32,36,57,61,13,21,39,44}
    for z=1,6 do
        n=math.random(#num)
        print(num[n])
        table.remove(num,n)
    end
end