Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I rearranged and simplified the formula for sum of elements of arithmetic sequence, and this simple formula came out.
    One tricky part was determining how many odd numbers should be used in the sum, but as I remember it was also represented by some arithmetic sequence.
    Now I don't remember the exact steps I have taken but if you want to understand it, you should look at it as arithmetic sequences.