Ad
  • Custom User Avatar

    C#:

    From the description:

    Where every ki > 1 and every ki is maximized ...

    The elements in the returned array ($k_i$) must be strictly greater than 1.

    However, your array does contain 1 at the end.

    Not a kata issue.

  • Custom User Avatar

    Your solution returns incorrect answer for n=143.
    A solution being incorrect is not a kata issue.