l
ll
lll
llll
But 10 cannot be arranged as a square. The number 9, on the other hand, can be (see square_number):
lll
lll
lll
Some numbers, like 36, can be arranged both as a square and as a triangle:
llllll
llllll
llllll
llllll
llllll
llllll
l
ll
lll
llll
lllll
llllll
lllllll
llllllll
Polygons with higher numbers of sides, such as pentagons and hexagons, can be represented also be represented as arrangements of dots (by convention 1 is the first polygonal number for any number of sides):
Pentagonal numbers
1:
l
5:
l
l
l
l l
l l
l l
l l l
l l l
l l l
l l
l l l
l l l l
l l l l
l l l l
l l l l
1:
l
6:
l l
l l
l l
15:
l l l
l l
l l
l l
l l
l l
l l l
l l l l
l l
l l
l l
l l
l l
l l
l l
l l
l l l l
If s is the number of sides in a polygon, the formula for the nth s-polygonal number is n((s-2) - (4-s)).
References
wikipedia.org dumped 2003-03-17 with terodump