Table[x mod 4, {x, 1, 9, 4}]