A triangular number is the sum of the n natural numbers from 1 to n. What is the fastest method to find whether a given positive integer number is a triangular one?
He
An integer x is triangular exactly if 8x + 1 is a square.