Questions tagged [divisibility]

This tag is for questions about divisibility, that is, determining when one thing is a multiple of another thing.

If $a$ and $b$ are integers, $a$ divides $b$ if $b=ca$ for some integer $c$. This is denoted $a\mid b$. It is usually studied in introductory courses in number theory, so add if appropriate.

A common notation used for the phrase "$a$ divides $b$" is $a|b$. It is also common to negate the notation by adding a slash like this: "$c$ does not divide $d$" written as $c\nmid d$. Note that the order is important: for example, $2|4$ but "$4\nmid 2$".

This notion can be generalized to any ring. The definition is the same: For two elements $a$ and $b$ of a commutative ring $R$, $a$ divides $b$ if $ac=b$ for some $c$ in $R$.

Divisibility in commutative rings corresponds exactly to containment the poset of principal ideals. That is, $a$ divides $b$ if and only if $aR\subseteq bR$. For commutative rings like principal ideal rings, this means that divisibility mirrors exactly the poset of all ideals of the ring.

The topics appropriate for this tag include, for example:

  • Questions about the relation $\mid$.
  • Questions about the GCD and LCM.

There are divisibility rule that is a shorthand way of determining whether a given integer is divisible by a fixed divisor without performing the division, usually by examining its digits.

6337 questions
183
votes
12 answers

Prove that $\gcd(a^n - 1, a^m - 1) = a^{\gcd(n, m)} - 1$

For all $a, m, n \in \mathbb{Z}^+$, $$\gcd(a^n - 1, a^m - 1) = a^{\gcd(n, m)} - 1$$
Juan Liner
132
votes
8 answers

Are half of all numbers odd?

Plato puts the following words in Socrates' mouth in the Phaedo dialogue: I mean, for instance, the number three, and there are many other examples. Take the case of three; do you not think it may always be called by its own name and also be called…
Jon Ericson
  • 1,449
121
votes
21 answers

How do you explain to a 5th grader why division by zero is meaningless?

I wish to explain my younger brother: he is interested and curious, but he cannot grasp the concepts of limits and integration just yet. What is the best mathematical way to justify not allowing division by zero?
106
votes
9 answers

Congruence Arithmetic Laws, e.g. in divisibility by $7$ test

I have seen other criteria for divisibility by $7$. Criterion described below present in the book Handbook of Mathematics for IN Bronshtein (p. $323$) is interesting, but could not prove it. Let $n = (a_ka_{k-1}\ldots a_2a_1a_0)_{10} =…
105
votes
21 answers

For any prime $p > 3$, why is $p^2-1$ always divisible by $24$?

Let $p>3$ be a prime. Prove that $24 \mid p^2-1$. I know this is very basic and old hat to many, but I love this question and I am interested in seeing whether there are any proofs beyond the two I already know.
104
votes
9 answers

Division by $0$ and its restrictions

Consider the following expression: $$\frac{1}{2} \div \frac{4}{x}$$ Over here, one would state the restriction as $x \neq 0 $, as that would result in division by $0$. But if we rearrange the expression, then: $$\begin{align} \frac12\div\frac4x &=…
101
votes
8 answers

What is $\gcd(0,0)$?

What is the greatest common divisor of $0$ and $0$? On the one hand, Wolfram Alpha says that it is $0$; on the other hand, it also claims that $100$ divides $0$, so $100$ should be a greater common divisor of $0$ and $0$ than $0$.
90
votes
5 answers

How to solve these two simultaneous "divisibilities" : $n+1\mid m^2+1$ and $m+1\mid n^2+1$

Is it possible to find all integers $m>0$ and $n>0$ such that $n+1\mid m^2+1$ and $m+1\,|\,n^2+1$ ? I succeed to prove there is an infinite number of solutions, but I cannot progress anymore. Thanks !
88
votes
6 answers

Any rectangular shape on a calculator numpad when divided by 11 gives an integer. Why?

I have come across this fact a very long time ago, but I still can't tell why is this happening. Given the standard calculators numpad: 7 8 9 4 5 6 1 2 3 if you dial any rectangular shape, going only in right angles and each shape consisting of 4…
noncom
  • 931
76
votes
14 answers

Dividing 100% by 3 without any left

In mathematics, as far as I know, you can't divide 100% by 3 without having 0,1...% left. Imagine an apple which was cloned two times, so the other 2 are completely equal in 'quality'. The totality of the 3 apples is 100%. Now, you can divide those…
72
votes
7 answers

Why $9$ & $11$ are special in divisibility tests using decimal digit sums? (casting out nines & elevens)

I don't know if this is a well-known fact, but I have observed that every number, no matter how large, that is equally divided by $9$, will equal $9$ if you add all the numbers it is made from until there is $1$ digit. A quick example of what I…
66
votes
7 answers

Compute polynomial $p(x)$ if $x^5=1,\, x\neq 1$ [reducing mod $\textit{simpler}$ multiples]

The following question was asked on a high school test, where the students were given a few minutes per question, at most: Given that, $$P(x)=x^{104}+x^{93}+x^{82}+x^{71}+1$$ and, $$Q(x)=x^4+x^3+x^2+x+1$$ what is the remainder of $P(x)$…
59
votes
11 answers

What is vector division?

My question is: We have addition, subtraction and muliplication of vectors. Why cannot we define vector division? What is division of vectors?
Reader
  • 1,443
59
votes
9 answers

Has there ever been an application of dividing by $0$?

Regarding the expression $a/0$, according to Wikipedia: In ordinary arithmetic, the expression has no meaning, as there is no number which, multiplied by $0$, gives $a$ (assuming $a\not= 0$), and so division by zero is undefined. Is there some…
59
votes
7 answers

The product of $n$ consecutive integers is divisible by $n$ factorial

How can we prove that the product of $n$ consecutive integers is divisible by $n$ factorial? Note: In this subsequent question and the comments here the OP has clarified that he seeks a proof that "does not use the properties of binomial…
1
2 3
99 100