Divisibility
Divisibility
net/publication/304636728
Divisibility
CITATIONS READS
0 47
1 author:
Sachchidanand Prasad
National Institute of Technology Rourkela
2 PUBLICATIONS 0 CITATIONS
SEE PROFILE
All in-text references underlined in blue are linked to publications on ResearchGate, Available from: Sachchidanand Prasad
letting you access and read them immediately. Retrieved on: 18 October 2016
AN APPROACH TO
DIVISIBILITY
1
Contents
1 Introduction 3
2 Congruence 3
2.1 Congruence Modulo m . . . . . . . . . . . . . . . . . . . 3
2.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.3 Linear Congruence . . . . . . . . . . . . . . . . . . . . . 3
3 Divisibility by 7 4
3.1 Note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5 Conclusion 8
name10
2
1 Introduction
There are a lot of works had been done in the field of number theory
[4], but specially in the field of divisibility very less number of works has
been done. For checking of any given number is divisible by any number
is still a time taken work.We have some algorithm,[3, 1] for example,
Euclid’s algorithm[2] is one of the best method till known. As we know
till the date we don’t have any generalized test for divisibility. I’ve used
some facts of congruence which is an important tool in number theory.In
this paper I’ve try to illustrate the generalized result for divisibility using
basic facts of linear congruence and modular arithmetic.
2 Congruence
2.1 Congruence Modulo m
Let m be a positive integer. Then an integer a is said to be congruent
to an integer b modulo m if m|(b − a) and we write this in symbols as,
a ≡ (mod m); m is the modulus of the congruence relation.
Example:- 13|(45 − 6), 45 ≡ 6(mod 13)
2.2 Properties
We are discussing some properties without dealing the proof. You can
get the proof from any standard number theory book[2, ?, 5].
1. ≡ is an equivalence relation.
• a + c ≡ b + c (mod m)
• ac ≡ b (mod m)
• a2 ≡ b2 (mod m)
3
solvable.
Now let’s see the necessary and sufficient condition for the existence
of solution for the linear congruence equation.
Theorem 2.3.1. The linear congruence ax ≡ b (mod m) is solvable if
and if (a, m)| b.
Remark. The proof is left to the reader.
For any further information you can see[2, 6]
Before we introduce the new approach we observe the following:
Lemma 2.3.2. Let Z denote the set of integers.Let a, b, c ∈ Z be such
that
a + b ≡ 0 (mod c)
Then, we have
a ≡ 0 (mod c) ⇐⇒ b ≡ 0 (mod c)
Proof. The Proof is trivial and hence left to the reader.
3 Divisibility by 7
Let’s start with divisibility by 7.
so,
(10a+b) ≡ 0 (mod 7) ⇐⇒ 3(a−2b) ≡ 0 (mod 7) ⇐⇒ (a−2b) ≡ 0 (mod 7)
[∵ gcd(3, 7) = 1]
Suppose, N 0 := (a − 2b).
Hence,
7|N ⇐⇒ 7|N 0 (1)
This shows that to check whether N is divisible by 7 or not, it is sufficient
to check whether 7 divides N or not.
4
3.1 Note
We observe that the integer N 0 has less digit then N . So, it will be
comparatively easier to work with N 0 . Moreover, the condition (1) is
necessary and sufficient. So, if N is still a big number, then we can
perform the same checking on N . We can continue it until we arrive
at a small number so that it can be checked by inspection whether this
number is divisible by 7.
4.1 Example
Suppose we want to check whether 7 divides 13756853284 or not. We
perform the following computations:
1375685328 4 −→ 137568532 0 −→ 13756853 2 −→ 1375684 9 −→
137566 6 −→ 13755 4 −→ 1374 7 −→ 136 0 −→ 13 6 −→ 1.
∵ 7 - 1 so, 7 - 13756853284.
So, we can conclude the following
4.2 Proposition
Let N be any given +ve integer, b be its unit digit and a be the rest of
the number N ,then 7|N ⇐⇒ 7|(a − 2b) as a divisibility test for 7.
4.3 Note
We observe that such a rule is not unique because,
(10a + b) − 3(a − 9b) = 7(a + 4b) ≡ 0 (mod 7).
So, 7|N ⇔ 7|(a − 9b).
We can also find such divisibility test for 11,13,17. Let us discuss
those tests:
5
Divisibility Test for 13
4.4 Theorem
For every n ∈ N co-prime to 10, we can get such a divisibility test.
Before we proceed for the proof of above result we see that what we
have done in the earlier examples. It is easily visible that we are trying
to find an integer of the for ax + b where x ∈ Z with the property that
n|(10a + b ⇐⇒ n|(a + xb) where n is a positive integer co-prime to 10
whose divisibility test we want to find out. So, our problem is reduced
to -“Can we find such an x for every positive integer n which is co-prime
to 10 ? ”
proof of the Theorem 4.4. Suppose that N = 10a + b be any given
integer where b is its unit digit in the decimal representation and a be
the rest of N.
For example:- Let N = 1846937487 then b = 7 and a = 184693748.
If we can find an integer x such that
then clearly this x will have the desired property n|(10+b) ⇐⇒ n|(a+xb)
because gcd(n − 10, n) = 1 since gcd(n, 10) = 1.For proof see[6].
Consider the equation (2),
So the x we are trying to find is basically the solution of the above linear
congruence. This linear congruence has a solution because gcd(10, n) =
1. Moreover, since gcd(10, n) = 1, (3) has a unique solution in modulo
6
n. So, {x0 + nt : t ∈ Z} is the set of all solutions of (3) where x0 is a
solution of (3).
Thus we have infinite number of choices for x. So, now the question
comes that how will we decide our required x. This is not a very difficult
work. We shall make our choice which will make the computations least
complicated. That is why we choose that solution of (3) which will be
negative and have the smallest magnitude.
Now we can find a solution of (3). For this the unit digit of n in
decimal representation is necessary. Since n is co-prime to 10, its unit
digit must belongs to {1, 3, 7, 9}.
If we observe carefully our solutions then we see that all are negative
and have the least magnitude among all the solutions. So, if we choose
these solutions then our calculation become least complicated. Now let’s
illustrate with some examples:
7
2. N = 45637827 and n = 131,
1−n
The unit place is 1, corresponding to that the solution is 10
= −13
It means that 131|N ⇐⇒ 131|(a − 13b). Now,
5 Conclusion
Now we take up the case of divisibility by n where n is a positive inte-
ger co-prime to 10. Applying ‘Fundamental Theorem of Arithmetic’ we
can write n = 2α 5β k where α and β are nonnegative integers and k is a
natural number co-prime to 10. Now, since k is co-prime to 10 so, we
have a divisibility rule for k. We also know that for p ∈ {2, 5}, r ∈ N the
divisibility rule for pr is as follows:
References
[1] Walter William Rouse Ball, Garnett Carper, and Florian Cajori. His-
tory of Mathematics. Macmillan, 1919.
8
[4] R. Health Brown J.Silverman G. H. Hardy, E.M.Wright and A. Wiles.
An Introduction to the Theory of Numbers. Clarendon press Oxford,
6th edition, 2008.
9
Sachchidanand Prasad
Third year Integrated M.Sc.
Department of Mathematics
National Institute of Technology,Rourkela
10
Index
divisibility by 7, 4
divisibility test for 11, 6
divisibility test for 13, 6
divisibility test for 17, 6
Euclidian Algorithm, 3
linear congruence, 3
Table-1, 7
11