Square

Checks if a number is a square.

Syntax

square?(Integer)

Description

Given an integer n, it is a square if there exist some integer a such that n=a2. If the input is a square returns aLaTeXa, otherwise it returns false.

arithmetic.square.calc.png