Union[Range[0,35,36],Range[1,35,6],Range[4,35,12],Range[9,35,18]]