Polygonal Number - Formula

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:

    So, if we must give a general formula applicable to all kinds of soul, we must describe it as the first actuality [entelechy] of a natural organized body.
    Aristotle (384–323 B.C.)

    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 (1749–1827)

    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 it—all idealism is mendacity in the face of necessity—but rather to love it.
    Friedrich Nietzsche (1844–1900)