Square Number
The nth perfect square.
Live Calculator
MembersVariables
Example
S_5 = 25
How it works
This formula says that the nth square number is found by multiplying n by itself, so the sequence goes 1, 4, 9, 16, 25, and so on. It works because a square number represents the area of a square with side length n: if each side has n unit lengths, the total number of unit squares inside is n × n = n^2. In other words, every perfect square comes from pairing equal factors.
When to use it
Use this when you need the value of a perfect square, such as in counting grids, geometry, or identifying square numbers in sequences. It also helps when checking whether a number can be written as an integer times itself.
Worked example, step by step
Find the 8th square number. S_8 = 8^2 S_8 = 8 × 8 S_8 = 64
Common mistakes to avoid
- Using n + 2 instead of n^2
- Forgetting that the index n is squared, not doubled
- Assuming every large number is a square just because it is even
Did You Know?
Every square number is the sum of consecutive odd numbers, a pattern visible in dots forming squares.
Share this formula
More in Number Theory
View allEuclidean Algorithm
BasicRecursively finds the greatest common divisor.
Modular Congruence
Basica and b have the same remainder when divided by m.
Fermat's Little Theorem
AdvancedHolds when p is prime and gcd(a,p)=1.
Euler's Totient
AdvancedCounts integers up to n coprime to n.
Prime Number Theorem
AdvancedApproximates the number of primes below x.
LCM from GCD
BasicLeast common multiple via the greatest common divisor.