Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Transposable integer

From Wikipedia, the free encyclopedia
Number that permute or shift cyclically when multiplied by another number
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Transposable integer" – news ·newspapers ·books ·scholar ·JSTOR
(February 2024) (Learn how and when to remove this message)

Inmathematics, thetransposable integers are integers thatpermute orshift cyclically when they are multiplied by another integern{\displaystyle 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 transposable integers can be but are not alwayscyclic numbers. The characterization of such numbers can be done usingrepeating decimals (and thus the related fractions), or directly.

General

[edit]

For anyinteger coprime to 10, its reciprocal is a repeating decimal without any non-recurring digits. E.g.1143 = 0.006993006993006993...

While the expression of a single series withvinculum on top is adequate, the intention of the above expression is to show that the sixcyclic 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.

Thegreatest common divisor (gcd) between any cyclic permutation of anm-digit integer and 10m − 1 is constant. Expressed as a formula,

gcd(N,10m1)=gcd(Nc,10m1),{\displaystyle \gcd \left(N,10^{m}-1\right)=\gcd \left(N_{c},10^{m}-1\right),}

whereN is anm-digit integer; andNc is any cyclic permutation ofN.

For example,

   gcd(091575, 999999) = gcd(32×52×11×37, 33×7×11×13×37)                       = 3663                       = gcd(915750, 999999)                       = gcd(157509, 999999)                       = gcd(575091, 999999)                       = gcd(750915, 999999)                       = gcd(509157, 999999)

IfN is anm-digit integer, the numberNc, obtained by shiftingN to the left cyclically, can be obtained from:

Nc=10Nd(10m1),{\displaystyle N_{c}=10N-d\left(10^{m}-1\right),\,}

whered is the first digit ofN andm is the number of digits.

This explains the above common gcd and the phenomenon is true in anybase if 10 is replaced byb, the base.

The cyclic permutations are thus related to repeating decimals, the corresponding fractions, and divisors of 10m−1. For examples the related fractions to the above cyclic permutations are thus:

  • 091575999999,915750999999,157509999999,575091999999,750915999999, and509157999999.

Reduced to their lowest terms using the common gcd, they are:

  • 25273,250273,43273,157273,205273, and139273.

That is, these fractions when expressedin lowest terms, have the same denominator. This is true for cyclic permutations of any integer.

Fraction method

[edit]

Integral multiplier

[edit]

An integral multiplier refers to the multipliern being an integer:

  1. An integerX shiftright cyclically byk positions when it is multiplied byan integern.X is then the repeating digits of1F, wherebyF isF0 =n 10k − 1 (F0 iscoprime to 10), or a factor ofF0; excluding any values ofF which are not more thann.
  2. An integerX shiftleft cyclically byk positions when it is multiplied byan integern.X is then the repeating digits of1F, wherebyF isF0 = 10k -n, or a factor ofF0; excluding any values ofF which are not more thann and which are notcoprime to 10.

It is necessary for F to be coprime to 10 in order that1F is a repeating decimal without any preceding non-repeating digits (see multiple sections ofRepeating decimal). If there are digits not in a period, then there is no corresponding solution.

For these two cases, multiples ofX, i.e. (j X) are also solutions provided that the integeri satisfies the conditionn jF < 1. Most often it is convenient to choose the smallestF that fits the above. The solutions can be expressed by the formula:

X=j10p1F{\displaystyle X=j{\frac {10^{p}-1}{F}}}
wherep is a period length of1F; andF is a factor ofF0 coprime to 10.
E.g,F0 = 1260 = 22 × 32 × 5 × 7. The factors excluding 2 and 5 recompose toF = 32 × 7 = 63. Alternatively, strike off all theending 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 alsoF = 63.

To exclude integers that begin with zeros from the solutions, select an integerj such thatjF >110, i.e.j >F10.

There is no solution whenn >F.

Fractional multiplier

[edit]

An integerX shiftleft cyclically byk positions when it is multiplied bya fractionns.X is then the repeating digits ofsF, wherebyF isF0 = s 10k -n, or a factor ofF0; andF must be coprime to 10.

For this third case, multiples ofX, i.e. (j X) are again solutions but the condition to be satisfied for integerj is thatn jF < 1. Again it is convenient to choose the smallestF that fits the above.

The solutions can be expressed by the formula:

X=js10p1F{\displaystyle X=js{\frac {10^{p}-1}{F}}}
wherep is defined likewise; andF is made coprime to 10 by the same process as before.

To exclude integers that begin with zeros from the solutions, select an integerj such thatj sF >110, i.e.j >F10s.

Again ifj sF > 1, there is no solution.

Direct representation

[edit]

The direct algebra approach to the above cases integral multiplier lead to the following formula:

  1. X=D10m1n10k1,{\displaystyle X=D{\frac {10^{m}-1}{n10^{k}-1}},}
    wherem is the number of digits ofX, andD, thek-digit number shifted from the low end ofX to the high end ofnX, satisfiesD < 10k.
    If the numbers are not to have leading zeros, thenn 10k − 1D.
  2. X=D10m110kn,{\displaystyle X=D{\frac {10^{m}-1}{10^{k}-n}},}
    wherem is the number of digits ofX, andD, thek-digit number shifted from the high end ofX to the low end ofnX, satisfies:
    1. D<10kn1,{\displaystyle D<{\frac {10^{k}}{n}}-1,}
    2. and the 10-part (the product of the terms corresponding to the primes 2 and 5 of thefactorization) of 10k − n dividesD.
      The 10-part of an integert is often abbreviatedgcd(10,t).{\displaystyle \operatorname {gcd} \left(10^{\infty },t\right).}
    If the numbers are not to have leading zeros, then 10k − 1D.

Cyclic permutation by multiplication

[edit]

A long division of 1 by 7 gives:

0.142857...    7 ) 1.000000.7          328           214            656             435              549               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:

  • 17 = 0.142857...
  • 37 = 0.428571...
  • 27 = 0.285714...
  • 67 = 0.857142...
  • 47 = 0.571428...
  • 57 = 0.714285...

By observing the remainders at each step, we can thus perform a desiredcyclic 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 by56; 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 toshift 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 fraction123456999999. 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 by234561123456. This looks like cheating but if234561123456 is a whole number (in this case it is not), the mission is completed.

Proof of formula for cyclical right shift operation

[edit]

An integerX shift cyclically right byk positions when it is multiplied by an integern. Prove its formula.

Proof

First recognize thatX is the repeating digits of arepeating decimal, which always possesses cyclic behavior in multiplication. The integerX and its multiplen X then will have the following relationship:

  1. The integerX is the repeating digits of the fraction1F, saydpdp-1...d3d2d1, wheredp,dp-1, ...,d3,d2 andd1 each represents a digit andp is the number of digits.
  2. The multiplen X is thus the repeating digits of the fractionnF, saydkdk-1...d3d2d1dpdp-1...dk+2dk+1, representing the results after right cyclical shift ofk positions.
  3. F must be coprime to 10 so that when1F is expressed in decimal there is no preceding non-repeating digits otherwise the repeating decimal does not possess cyclic behavior in multiplication.
  4. If the first remainder is taken to ben then1 shall be the (k + 1)st remainder in the long division fornF in order for this cyclic permutation to take place.
  5. In order thatn × 10k = 1 (modF) thenF shall be eitherF0 = (n × 10k - 1), or a factor ofF0; but excluding any values not more thann 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

[edit]

An integerX shift cyclically left byk positions when it is multiplied byan integern. Prove its formula.

Proof

First recognize thatX is the repeating digits of arepeating decimal, which always possesses a cyclic behavior in multiplication. The integerX and its multiplen X then will have the following relationship:

  1. The integerX is the repeating digits of the fraction1F, saydpdp-1...d3d2d1 .
  2. The multiplen X is thus the repeating digits of the fractionnF, saydp-kdp-k-1...d3d2d1dpdp-1...dp-k+1,

which represents the results after left cyclical shift ofk positions.

  1. F must be coprime to 10 so that1F has no preceding non-repeating digits otherwise the repeating decimal does not possesses cyclic behavior in multiplication.
  2. If the first remainder is taken to be 1 thenn shall be the (k + 1)st remainder in the long division for1F in order for this cyclic permutation to take place.
  3. In order that 1 × 10k =n (modeF) thenF shall be eitherF0 = (10k -n), or a factor ofF0; but excluding any value not more thann, and any value having a nontrivial common factor with 10, as deduced above.

This completes the proof. The proof for non-integral multiplier such asns can be derived in a similar way and is not documented here.

Shifting an integer cyclically

[edit]

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

[edit]
Main article:parasitic number

When 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 of439 and 410256 the repeating digits of1639.

Shifting right cyclically by double positions

[edit]

An integerX shift right cyclically by double positions when it is multiplied by an integern.X is then the repeating digits of1F, wherebyF =n × 102 - 1; or a factor of it; but excluding values for which1F has a period length dividing 2 (or, equivalently, less than 3); andF must be coprime to 10.

Most often it is convenient to choose the smallestF that fits the above.

Summary of results

[edit]

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:

MultipliernSolutionRepresented byOther Solutions
20050251256 2814070351 7587939698 4924623115 5778894472 3618090452 2613065326 6331658291 4572864321 6080402011199 x 2 =2199

period = 99i.e. 99 repeating digits.

2199,3199, ...,99199
30033444816 0535117056 8561872909 6989966555 1839464882 9431438127 0903011299 x 3 =3299

period = 66

299 = 13×23

2299,3299, ...,99299

some special cases are illustrated below

3076923113 x 3 =313

period = 6

213,313,413
30434782608 6956521739 13123 x 3 =323

period = 22

223,323, ...,723
40025062656 641604011399 x 4 =4399

period = 18

399 = 3×7×19

2399,3399, ...,99399

some special cases are illustrated below

414285717 x 4 =47

period = 6

-
40526315789 47368421119 x 4 =419

period = 18

219,319,419
5(acyclic number with a period of 498)1499 x 5 =5499

499 is afull reptend prime

2499,3499, ...,99499

Note that:

  • 299 = 13 x 23, and the period of1299 is accurately determined by the formula, LCM(6, 22) = 66, according toRepeating decimal#Generalization.
  • 399 = 3 x 7 x 19, and the period of1399 is accurately determined by the formula, LCM(1, 6, 18) = 18.

There are many other possibilities.

Shifting left cyclically by single position

[edit]

Problem: An integerX shift left cyclically by single position when it is multiplied by 3. FindX.

Solution:First recognize thatX is the repeating digits of arepeating decimal, which always possesses some interesting cyclic behavior in multiplications.The integerX and its multiple then will have the following relationship:

  • The integerX is the repeating digits of the fraction1F, sayab***.
  • The multiple is thus the repeating digits of the fraction3F, sayb***a.
  • In order for this cyclic permutation to take place, then 3 shall be the next remainder in the long division for1F. ThusF shall be 7 as 1 × 10 ÷ 7 gives remainder 3.

This yields the results that:

X = the repeating digits of17
=142857, and
the multiple = 142857 × 3 = 428571, the repeating digits of37

The other solution is represented by27 x 3 =67:

  • 285714 x 3 = 857142

There are no other solutions[1] because:

  • Integern must be the subsequent remainder in a long division of a fraction1F. Given that n = 10 - F, and F is coprime to 10 in order for1F to be a repeating decimal, thenn shall be less than 10.
  • Forn = 2, F must be 10 - 2 = 8. However18 does not generate a repeating decimal, similarly forn = 5.
  • Forn = 7, F must be 10 - 7 = 3. However 7 > 3 and73 = 2.333 > 1 and does not fit the purpose.
  • Similarly there is no solution for any other integer ofn less than 10 exceptn = 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 integerX shift right cyclically by single position when it is multiplied by32, then 3 shall be the next remainder after 2 in a long division of a fraction2F. This deduces that F = 2 x 10 - 3 = 17, givingX as the repeating digits of217, i.e. 1176470588235294, and its multiple is 1764705882352941.

The following summarizes some of the results found in this manner:

MultipliernsSolutionRepresented byOther Solutions
12105263157894736842219 ×12 =119

A 2-parasitic number

Other 2-parasitic numbers:

419,619,819,1019,1219,1419,1619,1819

321176470588235294217 ×32 =317417,617,817,1017
72153846213 ×72 =713-
9218211 ×92 =911-
731304347826086956521739323 ×73 =723623,923,1223,1523,1823,2123
194190476421 ×194 =1921-

Shifting left cyclically by double positions

[edit]

An integerX shift left cyclically by double positions when it is multiplied by an integern.X is then the repeating digits of1F, wherebyF isR = 102 - n, or a factor ofR; excluding values ofF for which1F has a period length dividing 2 (or, equivalently, less than 3); andF must be coprime to 10.

Most often it is convenient to choose the smallestF that fits the above.

Summary of results

[edit]

The following summarizes some of the results obtained in this manner, where the white spaces between the digits divide the digits into 10-digit groups:

MultipliernSolutionRepresented byOther Solutions
214285717 × 2 =2727,37
30103092783 5051546391 7525773195 8762886597 9381443298 9690721649 4845360824 7422680412 3711340206 185567197 x 3 =397297,397,497,597, ....,3197,3297
4No solution--
50526315789 47368421119 x 5 =519219,319
60212765957 4468085106 3829787234 0425531914 893617147 x 6 =647247,347,447,547,647,747
70322580645 16129131 x 7 =731231,331,431

193,293,493,593,793,893,1093,1193,1393

80434782608 6956521739 13123 x 8 =823223
9076923113 x 9 =913191,291,391,491,591,691,891,991,1091
10No solution--
110112359550 5617977528 0898876404 4943820224 7191189 x 11 =1189289,389,489,589,689,789,889
12No solution--
130344827586 2068965517 24137931129 x 13 =1329229

187,287,487,587,687

140232558139 5348837209 3143 x 14 =1443243,343
150588235294 117647117 x 15 =1517-

Other bases

[edit]

Induodecimal system, the transposable integers are: (using inverted two and three for ten and eleven, respectively)

MultipliernSmallest solution such that the multiplication moves the last digit to leftDigitsRepresented bySmallest solution such that the multiplication moves the first digit to rightDigitsRepresented by
206316948421Ɛ1 x 2 =22497415 x 2 =25
32497415 x 3 =35no solution
40309236ᘔ8820 616471954411 x 4 =4no solution
5025355ᘔ94330 73ᘔ458409919 Ɛ7151251 x 5 =5186ᘔ35617 x 5 =57
6020408142854 ᘔ997732650ᘔ1 834691630611 x 6 =6no solution
701899Ɛ864406 Ɛ33ᘔᘔ1542391 374594930525 5Ɛ171351 x 7 =7no solution
8076Ɛ456117 x 8 =817no solution
9014196486344 59Ɛ9384Ɛ26Ɛ5 33040547216ᘔ 1155Ɛ3Ɛ12978 ᘔ3991451 x 9 =9no solution
08579214Ɛ364 29ᘔ714115 x ᘔ =15no solution
Ɛ011235930336 ᘔ53909ᘔ873Ɛ3 25819Ɛ997505 5Ɛ54ᘔ3145ᘔ42 694157078404 491Ɛ1551ᘔƐ x Ɛ =ƐᘔƐno solution

Note that the “Shifting left cyclically by single position” problem has no solution for the multiplier less than 12 except 2 and 5, the same problem in decimal system has no solution for the multiplier less than 10 except 3.

Notes

[edit]
  1. ^P. Yiu, k-right-transposable integers, Chap.18.1 'Recreational Mathematics'

References

[edit]
Classes ofnatural numbers
Powers and related numbers
Of the forma × 2b ± 1
Other polynomial numbers
Recursively defined numbers
Possessing a specific set of other numbers
Expressible via specific sums
2-dimensional
centered
non-centered
3-dimensional
centered
non-centered
pyramidal
4-dimensional
non-centered
Combinatorial numbers
Divisor functions
Prime omega functions
Euler's totient function
Aliquot sequences
Primorial
Otherprime factor ordivisor related numbers
Numeral system-dependent numbers
Arithmetic functions
anddynamics
Digit sum
Digit product
Coding-related
Other
P-adic numbers-related
Digit-composition related
Digit-permutation related
Divisor-related
Other
Generated via asieve
Sorting related
Graphemics related
Retrieved from "https://en.wikipedia.org/w/index.php?title=Transposable_integer&oldid=1262745493"
Category:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp