Shape Numbers powered by(view source)

Description It determines whether given number is a square or a triangular number.
Output