Statement
A triangular number has the form . Decide whether is triangular and, if so, find the index .
Solution
An integer is triangular iff is an (odd) perfect square, since . Here so is triangular. From we get
| tags |
Statement
A triangular number has the form . Decide whether is triangular and, if so, find the index .
Solution
An integer is triangular iff is an (odd) perfect square, since . Here so is triangular. From we get