Formula
If s is the number of sides in a polygon, the formula for the nth s-gonal number P(s,n) is
The nth s-gonal number is also related to the triangular numbers Tn as follows:
Thus:
For a given s-gonal number P(s,n) = x, one can find n by
Read more about this topic: Polygonal Number
Famous quotes containing the word formula:
“My formula for greatness in human beings is amor fati: that one wants to change nothing, neither forwards, nor backwards, nor in all eternity. Not merely to endure necessity, still less to hide itall idealism is mendacity in the face of necessitybut rather to love it.”
—Friedrich Nietzsche (18441900)
“The formula for achieving a successful relationship is simple: you should treat all disasters as if they were trivialities but never treat a triviality as if it were a disaster.”
—Quentin Crisp (b. 1908)
“I cannot give you the formula for success, but I can give you the formula for failurewhich is: Try to please everybody.”
—Herbert B. Swope (18821958)