CHANGES, in Arithmetic, &c. the permutations or variations of any number of quantities; with regard to their position, order, &c. See COMBINATION.

To find all the possible CHANGES of any number of Quantities, or how oft their Order may be varied.] Suppose two quantities a and b. Since they may be either wrote ab or ba, it is evident their changes are 2=2.1. Suppose three quantities a, b, c: their changes will be as in the margin; as is evident by combining c first with ab, then with ba; and hence a, b, c the number of changes arises 3.2.1=6. If a, b, c the quantities be 4, each may be combined four ways with each order of the other three; whence the number of changes arises 4.4.4.4=64. b, c, a 3.2.1=24. Wherefore, if the number of b, a, c quantities be supposed n, the number of changes will be n.n-1.n-2.n-3.n-4. &c. If the same quantity occur twice, the changes of two will be found bb; of three, bab, abb, bbb; of four, cba, b, b, c, ab, bab, c. And thus the number of changes in the first case will be 1=(2.1): 2.1; in the second, 3=(3.2.1): 2.1; in the third, 12=(4.3.2.1): 2.1.

If a fifth letter be added, in each series of four quantities, it will beget five changes, whence the number of all the changes will be 60=(5.4.3.2.1): 2.1. Hence if the number of quantities be n, the number of changes will be (n.n-1.n-2.n-3.n-4. \&c.): 2.1. From these special formulae may be collected a general one, viz. if n be the number of quantities, and m the number which shows how oft the same quantity occurs; we shall have (n.n-1.n-2.n-3.n-4.n-5.n-6.n-7.n-8.n-9. \&c.): (m-1.m-2.m-3.m-4. \&c.) the series being to be continued, till the continual subtraction of unity from n and m leave 0. After the

same manner we may proceed further, till putting n for the number of quantities, and l, m, r, &c. for the number that shows how oft any of them is repeated, we arrive at an universal form. (n.n-1.n-2.n-3.n-4.n-5.n-6.n-7.n-8. \&c.): (l.l-1.l-2.l-3.l-4.l-5. \&c. m.m-1.m-2.m-3. \&c. r.r-1.r-2.r-3.r-4.r-5. \&c.)

Suppose, for instance, n=6, l=3, r=0. The number of changes will be (6.5.4.3.2.1.): (3.2.1.3.2.1.) = (6.5.4.): (3.2.2.5.2.2.0).

Hence, suppose thirteen persons at a table, if it be required how oft they may change places; we shall find the number 13.12.11.10.9.8.7.6.5.4.3.2.1. = 6227020800.

In this manner may all the possible anagrams of any word be found in all languages, and that without any study: suppose, v. g. it were required to find the anagrams of the word amor, the number of changes will be

a oam rmoa maro arom
aom mroa maor aorm
ma amo mora aorm
am moar raom
roma oram ramo
oma orma rmao oarm armo
moa omra mrao oamr amro
mao omar amor
raom

The anagrams therefore of the word amor, in the Latin tongue, are roma, mora, maro, ramo, armo. See ANAGRAM.

Whether this new method of anagramatizing be like to prove of much service to that art, is left to the poets.