Transposable integer

A summary of this article appears in Repeating decimal. The digits of some specific integers permute or shift cyclically when they are multiplied by a number n. Examples are:
 142857 × 3 = 428571 (shifts cyclically one place left)
 142857 × 5 = 714285 (shifts cyclically one place right)
 128205 × 4 = 512820 (shifts cyclically one place right)
 076923 × 9 = 692307 (shifts cyclically two places left)
These specific integers, known as transposable integers, can be but are not always cyclic numbers. The characterization of such numbers can be done using repeating decimals (and thus the related fractions), or directly.
General
For any integer coprime to 10, its reciprocal is a repeating decimal without any nonrecurring digits. E.g. ^{1}⁄_{143} = 0.006993006993006993...
While the expression of a single series with vinculum on top is adequate, the intention of the above expression is to show that the six cyclic permutations of 006993 can be obtained from this repeating decimal if we select six consecutive digits from the repeating decimal starting from different digits.
This illustrates that cyclic permutations are somehow related to repeating decimals and the corresponding fractions.
The greatest common divisor (gcd) between any cyclic permutation of an mdigit integer and 10^{m} − 1 is constant. Expressed as a formula,
where N is an mdigit integer; and N_{c} is any cyclic permutation of N.
For example,
gcd(091575, 999999) = gcd(3^{2}×5^{2}×11×37, 3^{3}×7×11×13×37) = 3663 = gcd(915750, 999999) = gcd(157509, 999999) = gcd(575091, 999999) = gcd(750915, 999999) = gcd(509157, 999999)
If N is an mdigit integer, the number N_{c}, obtained by shifting N to the left cyclically, can be obtained from:
where d is the first digit of N and m is the number of digits.
This explains the above common gcd and the phenomenon is true in any base if 10 is replaced by b, the base.
The cyclic permutations are thus related to repeating decimals, the corresponding fractions, and divisors of 10^{m}−1. For examples the related fractions to the above cyclic permutations are thus:
 ^{091575}⁄_{999999}, ^{915750}⁄_{999999}, ^{157509}⁄_{999999}, ^{575091}⁄_{999999}, ^{750915}⁄_{999999}, and ^{509157}⁄_{999999}.
Reduced to their lowest terms using the common gcd, they are:
 ^{25}⁄_{273}, ^{250}⁄_{273}, ^{43}⁄_{273}, ^{157}⁄_{273}, ^{205}⁄_{273}, and ^{139}⁄_{273}.
That is, these fractions when expressed in lowest terms, have the same denominator. This is true for cyclic permutations of any integer.
Fraction method
Integral multiplier
An integral multiplier refers to the multiplier n being an integer:
 An integer X shift right cyclically by k positions when it is multiplied by an integer n. X is then the repeating digits of ^{1}⁄_{F}, whereby F is F_{0} = n 10^{k} − 1 (F_{0} is coprime to 10), or a factor of F_{0}; excluding any values of F which are not more than n.
 An integer X shift left cyclically by k positions when it is multiplied by an integer n. X is then the repeating digits of ^{1}⁄_{F}, whereby F is F_{0} = 10^{k}  n, or a factor of F_{0}; excluding any values of F which are not more than n and which are not coprime to 10.
It is necessary for F to be coprime to 10 in order that ^{1}⁄_{F} is a repeating decimal without any preceding nonrepeating digits (see multiple sections of Repeating decimal). If there are digits not in a period, then there is no corresponding solution.
For these two cases, multiples of X, i.e. (j X) are also solutions provided that the integer i satisfies the condition ^{n j}⁄_{F} < 1. Most often it is convenient to choose the smallest F that fits the above. The solutions can be expressed by the formula:
 where p is a period length of ^{1}⁄_{F}; and F is a factor of F_{0} coprime to 10.
 E.g, F_{0} = 1260 = 2^{2} × 3^{2} × 5 × 7. The factors excluding 2 and 5 recompose to F = 3^{2} × 7 = 63. Alternatively, strike off all the ending zeros from 1260 to become 126, then divide it by 2 (or 5) iteratively until the quotient is no more divisible by 2 (or 5). The result is also F = 63.
To exclude integers that begin with zeros from the solutions, select an integer j such that ^{j}⁄_{F} > ^{1}⁄_{10}, i.e. j > ^{F}⁄_{10}.
There is no solution when n > F.
Fractional multiplier
An integer X shift left cyclically by k positions when it is multiplied by a fraction ^{n}⁄_{s}. X is then the repeating digits of ^{s}⁄_{F}, whereby F is F_{0} = s 10^{k}  n, or a factor of F_{0}; and F must be coprime to 10.
For this third case, multiples of X, i.e. (j X) are again solutions but the condition to be satisfied for integer j is that ^{n j}⁄_{F} < 1. Again it is convenient to choose the smallest F that fits the above.
The solutions can be expressed by the formula:
 where p is defined likewise; and F is made coprime to 10 by the same process as before.
To exclude integers that begin with zeros from the solutions, select an integer j such that ^{j s}⁄_{F} > ^{1}⁄_{10}, i.e. j > ^{F}⁄_{10s}.
Again if ^{j s}⁄_{F} > 1, there is no solution.
Direct representation
The direct algebra approach to the above cases integral multiplier lead to the following formula:

 where m is the number of digits of X, and D, the kdigit number shifted from the low end of X to the high end of n X, satisfies D < 10^{k}.
 If the numbers are not to have leading zeros, then n 10^{k − 1} ≤ D.

 where m is the number of digits of X, and D, the kdigit number shifted from the high end of X to the low end of n X, satisfies:
 and the 10part (the product of the terms corresponding to the primes 2 and 5 of the factorization) of 10^{k} − n divides D.
 The 10part of an integer t is often abbreviated
 and the 10part (the product of the terms corresponding to the primes 2 and 5 of the factorization) of 10^{k} − n divides D.
 If the numbers are not to have leading zeros, then 10^{k − 1} ≤ D.
 where m is the number of digits of X, and D, the kdigit number shifted from the high end of X to the low end of n X, satisfies:
Cyclic permutation by multiplication
A long division of 1 by 7 gives:
0.142857... 7 ) 1.000000 .7 3 28 2 14 6 56 4 35 5 49 1
At the last step, 1 reappears as the remainder. The cyclic remainders are {1, 3, 2, 6, 4, 5}. We rewrite the quotients with the corresponding dividend/remainders above them at all the steps:
Dividend/Remainders 1 3 2 6 4 5 Quotients 1 4 2 8 5 7
and also note that:
 ^{1}⁄_{7} = 0.142857...
 ^{3}⁄_{7} = 0.428571...
 ^{2}⁄_{7} = 0.285714...
 ^{6}⁄_{7} = 0.857142...
 ^{4}⁄_{7} = 0.571428...
 ^{5}⁄_{7} = 0.714285...
By observing the remainders at each step, we can thus perform a desired cyclic permutation by multiplication. E.g.,
 The integer 142857, corresponding to remainder 1, permutes to 428571 when multiplied by 3, the corresponding remainder of the latter.
 The integer 142857, corresponding to remainder 1, permutes to 857142 when multiplied by 6, the corresponding remainder of the latter.
 The integer 857142, corresponding to remainder 6, permutes to 571428 when multiplied by ^{5}⁄_{6}; i.e. divided by 6 and multiplied by 5, the corresponding remainder of the latter.
In this manner, cyclical left or right shift of any number of positions can be performed.
Less importantly, this technique can be applied to any integer to shift cyclically right or left by any given number of places for the following reason:
 Every repeating decimal can be expressed as a rational number (fraction).
 Every integer, when added with a decimal point in front and concatenated with itself infinite times, can be converted to a fraction, e.g. we can transform 123456 in this manner to 0.123456123456..., which can thus be converted to fraction ^{123456}⁄_{999999}. This fraction can be further simplified but it will not be done here.
 To permute the integer 123456 to 234561, all one needs to do is to multiply 123456 by ^{234561}⁄_{123456}. This looks like cheating but if ^{234561}⁄_{123456} is a whole number (in this case it is not), the mission is completed.
Proof of formula for cyclical right shift operation
An integer X shift cyclically right by k positions when it is multiplied by an integer n. Prove its formula.
Proof
First recognize that X is the repeating digits of a repeating decimal, which always possesses cyclic behavior in multiplication. The integer X and its multiple n X then will have the following relationship:
 The integer X is the repeating digits of the fraction ^{1}⁄_{F}, say d_{p}d_{p1}...d_{3}d_{2}d_{1}, where d_{p}, d_{p1}, ..., d_{3}, d_{2} and d_{1} each represents a digit and p is the number of digits.
 The multiple n X is thus the repeating digits of the fraction ^{n}⁄_{F}, say d_{k}d_{k1}...d_{3}d_{2}d_{1}d_{p}d_{p1}...d_{k+2}d_{k+1}, representing the results after right cyclical shift of k positions.
 F must be coprime to 10 so that when ^{1}⁄_{F} is expressed in decimal there is no preceding nonrepeating digits otherwise the repeating decimal does not possesses cyclic behavior in multiplication.
 If the first remainder is taken to be n then 1 shall be the (k + 1)^{th} remainder in the long division for ^{n}⁄_{F} in order for this cyclic permutation to take place.
 In order that n × 10^{k} = 1 (mod F) then F shall be either F_{0} = (n × 10^{k}  1), or a factor of F_{0}; but excluding any values not more than n and any value having a nontrivial common factor with 10, as deduced above.
This completes the proof.
Proof of formula for cyclical left shift operation
An integer X shift cyclically left by k positions when it is multiplied by an integer n. Prove its formula.
Proof
First recognize that X is the repeating digits of a repeating decimal, which always possesses a cyclic behavior in multiplication. The integer X and its multiple n X then will have the following relationship:
 The integer X is the repeating digits of the fraction ^{1}⁄_{F}, say d_{p}d_{p1}...d_{3}d_{2}d_{1} .
 The multiple n X is thus the repeating digits of the fraction ^{n}⁄_{F}, say d_{pk}d_{pk1}...d_{3}d_{2}d_{1}d_{p}d_{p1}...d_{pk+1},
which represents the results after left cyclical shift of k positions.
 F must be coprime to 10 so that ^{1}⁄_{F} has no preceding nonrepeating digits otherwise the repeating decimal does not possesses cyclic behavior in multiplication.
 If the first remainder is taken to be 1 then n shall be the (k + 1)^{th} remainder in the long division for ^{1}⁄_{F} in order for this cyclic permutation to take place.
 In order that 1 × 10^{k} = n (mode F) then F shall be either F_{0} = (10^{k} n), or a factor of F_{0}; but excluding any value not more than n, and any value having a nontrivial common factor with 10, as deduced above.
This completes the proof. The proof for nonintegral multiplier such as ^{n}⁄_{s} can be derived in a similar way and is not documented here.
Shifting an integer cyclically
The permutations can be:
 Shifting right cyclically by single position (parasitic numbers);
 Shifting right cyclically by double positions;
 Shifting right cyclically by any number of positions;
 Shifting left cyclically by single position;
 Shifting left cyclically by double positions; and
 Shifting left cyclically by any number of positions
Parasitic numbers
Main article: parasitic numberWhen a parasitic number is multiplied by n, not only it exhibits the cyclic behavior but the permutation is such that the last digit of the parasitic number now becomes the first digit of the multiple. For example, 102564 x 4 = 410256. Note that 102564 is the repeating digits of ^{4}⁄_{39} and 410256 the repeating digits of ^{16}⁄_{39}.
Shifting right cyclically by double positions
An integer X shift right cyclically by double positions when it is multiplied by an integer n. X is then the repeating digits of ^{1}⁄_{F}, whereby F = n × 10^{2}  1; or a factor of it; but excluding values for which ^{1}⁄_{F} has a period length dividing 2 (or, equivalently, less than 3); and F must be coprime to 10.
Most often it is convenient to choose the smallest F that fits the above.
Summary of results
The following multiplication moves the last two digits of each original integer to the first two digits and shift every other digits to the right:
Multiplier n Solution Represented by Other Solutions 2 0050251256 2814070351 7587939698 4924623115 5778894472 3618090452 2613065326 6331658291 4572864321 608040201 ^{1}⁄_{199} x 2 = ^{2}⁄_{199} period = 99 i.e. 99 repeating digits.
^{2}⁄_{199}, ^{3}⁄_{199}, ..., ^{99}⁄_{199} 3 0033444816 0535117056 8561872909 6989966555 1839464882 9431438127 090301 ^{1}⁄_{299} x 3 = ^{3}⁄_{299} period = 66
299 = 13×23
^{2}⁄_{299}, ^{3}⁄_{299}, ..., ^{99}⁄_{299} some special cases are illustrated below
3 076923 ^{1}⁄_{13} x 3 = ^{3}⁄_{13} period = 6
^{2}⁄_{13}, ^{3}⁄_{13}, ^{4}⁄_{13} 3 0434782608 6956521739 13 ^{1}⁄_{23} x 3 = ^{3}⁄_{23} period = 22
^{2}⁄_{23}, ^{3}⁄_{23}, ..., ^{7}⁄_{23} 4 0025062656 64160401 ^{1}⁄_{399} x 4 = ^{4}⁄_{399} period = 18
399 = 3×7×19
^{2}⁄_{399}, ^{3}⁄_{399}, ..., ^{99}⁄_{399} some special cases are illustrated below
4 142857 ^{1}⁄_{7} x 4 = ^{4}⁄_{7} period = 6
 4 0526315789 47368421 ^{1}⁄_{19} x 4 = ^{4}⁄_{19} period = 18
^{2}⁄_{19}, ^{3}⁄_{19}, ^{4}⁄_{19} 5 (a cyclic number with a period of 498) ^{1}⁄_{499} x 5 = ^{5}⁄_{499} 499 is a full reptend prime
^{2}⁄_{499}, ^{3}⁄_{499}, ..., ^{99}⁄_{499} Note that:
 299 = 13 x 23, and the period of ^{1}⁄_{299} is accurately determined by the formula, LCM(6, 22) = 66, according to Repeating decimal#Generalization.
 399 = 3 x 7 x 19, and the period of ^{1}⁄_{399} is accurately determined by the formula, LCM(1, 6, 18) = 18.
There are many other possibilities.
Shifting left cyclically by single position
Problem: An integer X shift left cyclically by single position when it is multiplied by 3. Find X.
Solution: First recognize that X is the repeating digits of a repeating decimal, which always possesses some interesting cyclic behavior in multiplications. The integer X and its multiple then will have the following relationship:
 The integer X is the repeating digits of the fraction ^{1}⁄_{F}, say ab***.
 The multiple is thus the repeating digits of the fraction ^{3}⁄_{F}, say b***a.
 In order for this cyclic permutation to take place, then 3 shall be the next remainder in the long division for ^{1}⁄_{F}. Thus F shall be 7 as 1 × 10 ÷ 7 gives remainder 3.
This yields the results that:
 X = the repeating digits of ^{1}⁄_{7}
 =142857, and
 the multiple = 142857 × 3 = 428571, the repeating digits of ^{3}⁄_{7}
The other solution is represented by ^{2}⁄_{7} x 3 = ^{6}⁄_{7}:
 285714 x 3 = 857142
There are no other solutions ^{[1]} because:
 Integer n must be the subsequent remainder in a long division of a fraction ^{1}⁄_{F}. Given that n = 10  F, and F is coprime to 10 in order for ^{1}⁄_{F} to be a repeating decimal, then n shall be less than 10.
 For n = 2, F must be 10  2 = 8. However ^{1}⁄_{8} does not generate a repeating decimal, similarly for n = 5.
 For n = 7, F must be 10  7 = 3. However 7 > 3 and ^{7}⁄_{3} = 2.333 > 1 and does not fit the purpose.
 Similarly there is no solution for any other integer of n less than 10 except n = 3.
However, if the multiplier is not restricted to be an integer (though ugly), there are many other solutions from this method. E.g., if an integer X shift right cyclically by single position when it is multiplied by ^{3}⁄_{2}, then 3 shall be the next remainder after 2 in a long division of a fraction ^{2}⁄_{F}. This deduces that F = 2 x 10  3 = 17, giving X as the repeating digits of ^{2}⁄_{17}, i.e. 1176470588235294, and its multiple is 1764705882352941.
The following summarizes some of the results found in this manner:
Multiplier ^{n}⁄_{s} Solution Represented by Other Solutions ^{1}⁄_{2} 105263157894736842 ^{2}⁄_{19} × ^{1}⁄_{2} = ^{1}⁄_{19} A 2parasitic number
Other 2parasitic numbers: ^{4}⁄_{19}, ^{6}⁄_{19}, ^{8}⁄_{19}, ^{10}⁄_{19}, ^{12}⁄_{19}, ^{14}⁄_{19}, ^{16}⁄_{19}, ^{18}⁄_{19}
^{3}⁄_{2} 1176470588235294 ^{2}⁄_{17} × ^{3}⁄_{2} = ^{3}⁄_{17} ^{4}⁄_{17}, ^{6}⁄_{17}, ^{8}⁄_{17}, ^{10}⁄_{17} ^{7}⁄_{2} 153846 ^{2}⁄_{13} × ^{7}⁄_{2} = ^{7}⁄_{13}  ^{9}⁄_{2} 18 ^{2}⁄_{11} × ^{9}⁄_{2} = ^{9}⁄_{11}  ^{7}⁄_{3} 1304347826086956521739 ^{3}⁄_{23} × ^{7}⁄_{3} = ^{7}⁄_{23} ^{6}⁄_{23}, ^{9}⁄_{23}, ^{12}⁄_{23}, ^{15}⁄_{23}, ^{18}⁄_{23}, ^{21}⁄_{23} ^{19}⁄_{4} 190476 ^{4}⁄_{21} × ^{19}⁄_{4} = ^{19}⁄_{21}  Shifting left cyclically by double positions
An integer X shift left cyclically by double positions when it is multiplied by an integer n. X is then the repeating digits of ^{1}⁄_{F}, whereby F is R = 10^{2}  n, or a factor of R; excluding values of F for which ^{1}⁄_{F} has a period length dividing 2 (or, equivalently, less than 3); and F must be coprime to 10.
Most often it is convenient to choose the smallest F that fits the above.
Summary of results
The following summarizes some of the results obtained in this manner, where the white spaces between the digits divide the digits into 10digit groups:
Multiplier n Solution Represented by Other Solutions 2 142857 ^{1}⁄_{7} × 2 = ^{3}⁄_{7} ^{2}⁄_{7}, ^{3}⁄_{7} 3 0103092783 5051546391 7525773195 8762886597 9381443298 9690721649 4845360824 7422680412 3711340206 185567 ^{1}⁄_{97} x 3 = ^{3}⁄_{97} ^{2}⁄_{97}, ^{3}⁄_{97}, ^{4}⁄_{97}, ^{5}⁄_{97}, ...., ^{31}⁄_{97}, ^{32}⁄_{97} 4 No solution   5 0526315789 47368421 ^{1}⁄_{19} x 5 = ^{5}⁄_{19} ^{2}⁄_{19}, ^{3}⁄_{19} 6 0212765957 4468085106 3829787234 0425531914 893617 ^{1}⁄_{47} x 6 = ^{6}⁄_{47} ^{2}⁄_{47}, ^{3}⁄_{47}, ^{4}⁄_{47}, ^{5}⁄_{47}, ^{6}⁄_{47}, ^{7}⁄_{47} 7 0322580645 16129 ^{1}⁄_{31} x 7 = ^{7}⁄_{31} ^{2}⁄_{31}, ^{3}⁄_{31}, ^{4}⁄_{31} ^{1}⁄_{93}, ^{2}⁄_{93}, ^{4}⁄_{93}, ^{5}⁄_{93}, ^{7}⁄_{93}, ^{8}⁄_{93}, ^{10}⁄_{93}, ^{11}⁄_{93}, ^{13}⁄_{93}
8 0434782608 6956521739 13 ^{1}⁄_{23} x 8 = ^{8}⁄_{23} ^{2}⁄_{23} 9 076923 ^{1}⁄_{13} x 9 = ^{9}⁄_{13} ^{1}⁄_{91}, ^{2}⁄_{91}, ^{3}⁄_{91}, ^{4}⁄_{91}, ^{5}⁄_{91}, ^{6}⁄_{91}, ^{8}⁄_{91}, ^{9}⁄_{91}, ^{10}⁄_{91} 10 No solution   11 0112359550 5617977528 0898876404 4943820224 7191 ^{1}⁄_{89} x 11 = ^{11}⁄_{89} ^{2}⁄_{89}, ^{3}⁄_{89}, ^{4}⁄_{89}, ^{5}⁄_{89}, ^{6}⁄_{89}, ^{7}⁄_{89}, ^{8}⁄_{89} 12 No solution   13 0344827586 2068965517 24137931 ^{1}⁄_{29} x 13 = ^{13}⁄_{29} ^{2}⁄_{29} ^{1}⁄_{87}, ^{2}⁄_{87}, ^{4}⁄_{87}, ^{5}⁄_{87}, ^{6}⁄_{87}
14 0232558139 5348837209 3 ^{1}⁄_{43} x 14 = ^{14}⁄_{43} ^{2}⁄_{43}, ^{3}⁄_{43} 15 0588235294117647 ^{1}⁄_{17} x 15 = ^{15}⁄_{17}  Notes
 ^ P. Yiu, krighttransposable integers, Chap.18.1 'Recreational Mathematics'
References
 P. Yiu, krighttransposable integers, klefttransposable integers Chap.18.1, 18.2 pp. 168/360 in 'Recreational Mathematics', http://www.math.fau.edu/yiu/RecreationalMathematics2003.pdf
 C. A. Pickover, Wonders of Numbers, Chapter 28, Oxford University Press UK, 2000.
 Sequence A092697 in the OnLine Encyclopedia of Integer Sequences.
 Gardner, Martin. Mathematical Circus: More Puzzles, Games, Paradoxes and Other Mathematical Entertainments From Scientific American. New York: The Mathematical Association of America, 1979. pp. 111–122.
 Kalman, Dan; 'Fractions with Cycling Digit Patterns' The College Mathematics Journal, Vol. 27, No. 2. (Mar., 1996), pp. 109–115.
 Leslie, John. "The Philosophy of Arithmetic: Exhibiting a Progressive View of the Theory and Practice of ....", Longman, Hurst, Rees, Orme, and Brown, 1820, ISBN 1402015461
 Wells, David; "The Penguin Dictionary of Curious and Interesting Numbers", Penguin Press. ISBN 0140080295
Categories: Basedependent integer sequences
Wikimedia Foundation. 2010.
Look at other dictionaries:
List of experiments — See also: timeline of scientific experiments and list of famous discoveries The following is a list of historically important scientific experiments. A historic scientific experiment is one which demonstrates something of great scientific… … Wikipedia
integration — 1. The state of being combined, or the process of combining, into a complete and harmonious whole. 2. In physiology, the process of building up, as by accretion, anabolism, etc. 3. In mathematics, the process of ascertaining a function from its… … Medical dictionary