function qmr(n) { return Array.from({length: 6}, (_, i) => ++i + (n - 1) * 6) } alert(qmr(1)) alert(qmr(2)) alert(qmr(3))