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 take it that what all men are really after is some form or perhaps only some formula of peace.
    Joseph Conrad (1857–1924)

    For the myth is the foundation of life; it is the timeless schema, the pious formula into which life flows when it reproduces its traits out of the unconscious.
    Thomas Mann (1875–1955)

    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)