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:
“Given for one instant an intelligence which could comprehend all the forces by which nature is animated and the respective positions of the beings which compose it, if moreover this intelligence were vast enough to submit these data to analysis, it would embrace in the same formula both the movements of the largest bodies in the universe and those of the lightest atom; to it nothing would be uncertain, and the future as the past would be present to its eyes.”
—Pierre Simon De Laplace (17491827)
“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)
“Ideals possess the strange quality that if they were completely realized they would turn into nonsense. One could easily follow a commandment such as Thou shalt not kill to the point of dying of starvation; and I might establish the formula that for the proper functioning of the mesh of our ideals, as in the case of a strainer, the holes are just as important as the mesh.”
—Robert Musil (18801942)