z=1, y=52, table[((2x-(1-z))+((((y+(1-z)) mod 2)+(1-z))*(round(x/(y+(1-z))))))mod(y+1), {x, 1, y}]