var nbrOfLaps = function (n, i) { return [t = i / function r(n, t) { return t ? r(t, n % t) : n }(n, i), t * n / i] };