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:
“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)
“Hidden away amongst Aschenbachs writing was a passage directly asserting that nearly all the great things that exist owe their existence to a defiant despite: it is despite grief and anguish, despite poverty, loneliness, bodily weakness, vice and passion and a thousand inhibitions, that they have come into being at all. But this was more than an observation, it was an experience, it was positively the formula of his life and his fame, the key to his work.”
—Thomas Mann (18751955)
“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)