Number Theory
Basic

Square Number

The nth perfect square.

Formula

Sn=n2S_n = n^2

Variables

nIndex

Example

S_5 = 25

Did You Know?

Every square number is the sum of consecutive odd numbers, a pattern visible in dots forming squares.