@Test
  public void resolve() {
    int n = 13;
    long max = 0;
    // init
    for (int i = 1; i < 1000; i++) {
      long current = calc(i, n);
      if (current > max) {
        max = current;
      }
    }

    print(max);
  }