Divisibility for all of 10 prime divisors

from Wikipedia, the free encyclopedia

Divisibility for all 10 prime divisors is a method for checking the divisibility of a number for all 10 prime divisors.

description

A method for checking the divisibility of a number for all 10 prime divisors is described and mathematically justified. The method has two advantages. Once it works for all of the named factors. Second, it also provides guidance on how to determine the required multiplier in your head. Divisors are considered that have no common divisors with the natural number . For such divisors, divisibility criteria are presented that primarily support divisibility questions using mental arithmetic and are adapted to the decimal representation of the number to be tested . The claim that is divisible by is expressed by. An example is given . The sub-prime of is expressed by. The greatest common factor of is denoted by. Divisibility criteria of the following kind are considered:

Multiply the right digit of the number to be tested by a multiplier and add the result to the number formed from the remaining left digits.

The divisor is suitable. In the example it results and therefore applies .

Such a divisibility test contains a human component. The user decides at his own discretion when to consider the divisibility to be examined as positive or negative. Such a decision would probably not be entrusted to a computer.

First let us characterize the divisors that are coprime too . Let it be the value of the right digit of . Then is coprime to if and only if is. As a justification, it should be mentioned that the other possible right-hand digits would result in the divisibility by or . Such factors cannot therefore be relatively prime . Conversely, divisors with never pass the remainder through the division . The divisibility tests described here are not suitable for or multiples thereof. All other prime numbers are also prime and therefore belong to the present topic.

Mathematical formalization

The following two functions are defined:

Remainder from when dividing through

The left part of

It applies and the division can be carried out without a remainder. It always applies . If decimal is one-digit, then applies . The following applies in the example . There are now test functions

considered with a multiplier that has not yet been determined . To be hinted at by this notation that for different divisors of the multiplier from the divisor is dependent, is thus dedicated to the divisor. For reasons that will be mentioned later, functions of the type partial digit sums should be named. Such a function requires that:

where the logical -exactly if- relationship means. An algorithm will now be described which, for a given divisor, determines the multiplier and is even so simple that it can be executed in the head.

  1. Look in this order and see if it is.
  2. Only go to if this condition is not already met at .
  3. Sit if it's here
  4. Sit if it's here

One can realize that one of the latest when in lands. This is because in true due . The results of this algorithm are now shown as a table.

Table 1 Results for the above algorithm

It is out of yet another integer into play, with the aim of the so-called Bézout identity for the greatest common divisor display. For this purpose, the individual cases are analyzed with reference to the table above.

It is determined according to the following table, the values ​​of which are read from the respective right identity as a factor .

Table 2 results for

This means that the four right identities can be written uniformly in the following form:

With

This is the representation of the greatest common divisor known from elementary number theory in , which is also called the Bézout identity .

Theorem about partial sums of digits

It should and by Table-1 set. Then for the function of the statement .

With this statement, the test function specialized in the divisor becomes a divisibility criterion that can also be used to test divisibility in the head, if, depending on the user, divisors that are not too large are involved. It should also be noted that the test functions can in some cases also be identical for different ones. This occurs z. B. for on. Because of the relationship, the test function can also be applied several times to intermediate results that have already been achieved. This may require increased memory on the part of the user when doing mental arithmetic. In these cases the result can be negative. Then the test function cannot be used again on the intermediate result achieved. Nevertheless, the user can try to decide whether it is divisible by . In any case, the user himself decides when to consider divisibility as positive or negative. The use of reduces the difficulty of recognizing whether or not it is divisible. A proof sketch for the theorem about partial digit sums looks like this:

The value to be tested can be reconstructed from the values in the following way:

The penultimate equation results from a suitable equivalent transformation of the Bézout identity in the form . Looking at the last equation, the following can be argued: The value is a sum of two summands, of which the first summand is a multiple of . Therefore, the divisibility is determined by the divisibility of the second summand. It results:

Since are coprime, we get:

It should also be noted that in the Bézout identity the coefficients vor are by no means uniquely determined. The factor can be replaced by any other factor from the same remaining class if the factor is still suitably adjusted. Since only the factor is included in the construction of , this can be done easily. In this case one reads from Table-1 . If one forms now , then is also suitable as a test criterion for the divisibility by . With regard to mental arithmetic, it is advisable not to choose the factor too far from . This is automatically guaranteed if the algorithm is used as described above. If one forms , the result is negative and is not defined. It is therefore impossible to improve the intermediate result again. The mental arithmetic user recognizes immediately that and decides the divisibility positively. Finally, it should be mentioned that is. This can be seen directly from Table-1 . Usually does not have the same remainder when dividing by as . This only applies if it is really divisible. In the special case , however, the remainder are retained even if they are not divisible. With respect to the radicals can be derived only in the last equation in the above equation chain that residues of and match: .

The role of in the residual class ring

If the Bézout identity is written in the form , one recognizes that is a multiple of . As congruence, that means

Therefore, in the remaining classes of the inverse of . It is so .

Relationship to the checksum

In this case one reads from Table-1 . Therefore:

and only the last digit of is added to the left part . If you compare this with the checksum of , in which all decimal digits are added, you can see that the checksum is, so to speak, only partially formed. Therefore, here for all dividers mentioned the term partial sum of digits for use. The operation can be iteratively applied to all intermediate results both with the checksum and with . This only leads to new results as long as the previously achieved result is not a single-digit decimal. From then on, the checksum and remain constant. It can also be proven in elementary terms that the final single-digit results are identical, although intermediate results usually differ for checksums and . For example is and the checksum is . If one applies iteratively several times to these intermediate results, the end result is obtained in both cases . Therefore is not divisible by .

Further application examples

For is according to Table-1 and . So is not divisible by. Against it . Therefore applies .

It should also be noted that there are problematic use cases. Such occur z. B. systematically for on. Be . For this one reads from Table-1 . For results . Although it is divisible by , there is no discernible benefit from using . If the user does not recognize for himself that is, he cannot gain any new knowledge on the question of divisibility . The value is therefore a fixed point of .

Without proof it is noted that the whole numbers are exactly the fixed points of . An analogous statement applies to all divisors .

Table 3 Examples for the assignment

You can practice your mental arithmetic skills on this table if you apply the algorithm described to calculate the assigned value in the line below for a given value in the top line .

Individual evidence

  1. Reinhold Remmert, Peter Ullrich: Elementary number theory . Third edition. Birkhäuser, Basel-Boston-Berlin, ISBN 978-3-7643-7730-4 , pp. 267 , Corollary on page 64 on coprime numbers .