hanonDown function

List<int> hanonDown(
  1. int x
)

Os graus de um passo de seis notas que desce em torno de x: x x−1 x x+1 x x−1.

Implementation

List<int> hanonDown(int x) => [x, x - 1, x, x + 1, x, x - 1];