Addition Chain - Methods For Computing Addition Chains

Methods For Computing Addition Chains

Calculating an addition chain of minimal length is not easy; a generalized version of the problem, in which one must find a chain that simultaneously forms each of a sequence of values, is NP-complete. There is no known algorithm which can calculate a minimal addition chain for a given number with any guarantees of reasonable timing or small memory usage. However, several techniques to calculate relatively short chains exist. One very well known technique to calculate relatively short addition chains is the binary method, similar to exponentiation by squaring. Other well-known methods are the factor method and window method.

Read more about this topic:  Addition Chain

Famous quotes containing the words methods, addition and/or chains:

    Generalization, especially risky generalization, is one of the chief methods by which knowledge proceeds... Safe generalizations are usually rather boring. Delete that “usually rather.” Safe generalizations are quite boring.
    Joseph Epstein (b. 1937)

    The most important American addition to the World Experience was the simple surprising fact of America. We have helped prepare mankind for all its later surprises.
    Daniel J. Boorstin (b. 1914)

    Lap me in soft Lydian airs,
    Married to immortal verse,
    Such as the meeting soul may pierce
    In notes with many a winding bout
    Of linked sweetness long drawn out,
    With wanton heed and giddy cunning,
    The melting voice through mazes running,
    Untwisting all the chains that tie
    The hidden soul of harmony;
    John Milton (1608–1674)