Concept

Multiplicative order

The smallest power of a number that leaves remainder 1 when divided by a given modulus. It is the period of the remainders of the powers, and it is the length of the repeating block in the expansion of a fraction.

Named by 3 essays across 3 fields — each of them below, with the objects they name alongside it.

How long x² + c runs before repeating, for four constants. Four survival staircases on a logarithmic scale of length: two following the birthday curve, and two for c equal to 0 and minus 2 lying far to the right.

Two constants that do not walk at random

Pollard's factoring method trusts x² + c modulo a prime to repeat as soon as a random function would, after about √p steps. For c = 1 and c = 3 it does. For c = 0 and c = −2 it runs twelve to eighteen times longer on average, with almost no tail and enormous cycles, because those two maps are multiplication in disguise and their cycles are set by the order of 2 rather than by chance. Every other constant walks at random — including in the one respect in which x² + c is plainly not random, that it is two-to-one.

probability · Birthday problem
One number, fair in base 2 and gappy in base 6. α binary: 000010101011100011100011100011110110100001001011…; base 6: 013014043000333425113050213000000124355504543223…; zero runs after 3^k: 81:16, 243:42, 729:121.

Fair in base two and not in base six

Almost every number has digits that look like fair coin tosses in every base, and almost no number anyone can name is known to. Stoneham's number, 1/(3·2³) + 1/(9·2⁹) + 1/(27·2²⁷) + …, is one of the few: its binary digits are provably fair. Written in base 6 the same number has a run of 121 zeros starting at the 730th digit, and a longer one at every power of three after — because in base 6 each of its terms is a terminating fraction, and the gaps between them never fill.

dynamics · Symbolic dynamics
Eight perfect shuffles bring 52 cards home. N=52: cycles 8,8,8,8,8,2,8; order 8

Eight perfect shuffles bring the deck home

Cut a deck of 52 cards exactly in half and interleave the halves perfectly, keeping the top card on top. Do it eight times and the deck is back in its original order. The reason is that the shuffle sends the card in position i to position 2i modulo 51, and 2 multiplied by itself eight times is 256, one more than five times 51. Keep the top card second instead and it takes fifty-two shuffles; twenty-six of them turn the deck upside down; and a magician can send the top card to any position by reading the position in binary.

discrete · Modular arithmetic

Named alongside it

The objects these essays reach for when they reach for this one.

Primitive rootBinary expansionBirthday problemChebyshev polynomialCollisionCycleDecimal expansionDoubling mapEquidistributionModular arithmeticNormal numberOrder of an element

All concepts