Friedman Number - Finding 2-digit Friedman Numbers

Finding 2-digit Friedman Numbers

There usually are fewer 2-digit Friedman numbers than 3-digit and more in any given base, but the 2-digit ones are easier to find. If we represent a 2-digit number as mb + n, where b is the base and m, n are integers from 0 to b−1, we need only check each possible combination of m and n against the equalities mb + n = mn, and mb + n = nm to see which ones are true. We need not concern ourselves with m + n or m × n, since these will always be smaller than mb + n when n < b. The same clearly holds for mn and m/n.

Read more about this topic:  Friedman Number

Famous quotes containing the words finding, friedman and/or numbers:

    Scarlett O’Hara: Oh, oh, Rhett. For the first time I’m finding out what it is to be sorry for something I’ve done.
    Rhett Butler: Dry your eyes. If you had it all to do over again, you’d do no differently. You’re like the thief who isn’t the least bit sorry he stole, but he’s terribly, terribly sorry he’s going to jail.
    Sidney Howard (1891–1939)

    The mystery form is like gymnastic equipment: you can grasp hold of it and show off what you can do.
    —Mickey Friedman (b. 1944)

    The principle of majority rule is the mildest form in which the force of numbers can be exercised. It is a pacific substitute for civil war in which the opposing armies are counted and the victory is awarded to the larger before any blood is shed. Except in the sacred tests of democracy and in the incantations of the orators, we hardly take the trouble to pretend that the rule of the majority is not at bottom a rule of force.
    Walter Lippmann (1889–1974)