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:

    I cannot give you the formula for success, but I can give you the formula for failure—which is: Try to please everybody.
    Herbert B. Swope (1882–1958)

    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)

    I take it that what all men are really after is some form or perhaps only some formula of peace.
    Joseph Conrad (1857–1924)