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.

6170 questions
5
votes
7 answers

Why is a number that is divisible by $2$ and $3$, also divisible by $6$?

Why is it that a number such as $108$, that is divisible by $2$ and $3$, is also divisible by $6$? Is this true that all numbers divisible by two integers are divisible by their product?
5
votes
1 answer

Prove: $2005|\underbrace{5 5\cdots 5}_{800\text{ digits}}$

$2005=5\cdot 401$ Divisibility by $5$ follows from the last digit of $\underbrace{5 5\cdots 5}_{800\text{ digits}}$. How toprove divisibility by $401$?
user300045
  • 3,449
5
votes
1 answer

Numbers divisible by all of their digits: Why don't 4's show up in 6- or 7- digit numbers?

For reasons I'll explain below the question if you're interested, I stumbled across a peculiar phenomenon involving numbers divisible by their digits. I'm concerned with numbers that are divisible by all of its digits, and do not have any zeros or…
Simon Alford
  • 153
  • 4
5
votes
6 answers

how $1/0.5$ is equal to $2$?

My question is how $1/0.5$ is equal to $2$. I am not asking the mathematical justification that $1/0.5=10/5=2$. I know all this. I just want to know how it is two... a lay man justification. According to my understanding if one says $1/2$ then it…
farheen
  • 101
4
votes
2 answers

Which of the following numbers does not divide $2^{1650}-1$?

I'm practicing for a math competition that is coming up, and I got stuck on this question: Which of the following numbers does not divide $2^{1650}-1$? $3$, $7$, $31$, $127$, $2047$ I've seen a link on Yahoo Answers that says this: Note that $3 =…
Andrew
  • 41
4
votes
2 answers

How to divide a number by $2$ numbers?

I have to distribute newspapers, and the printing company gives it to me in bundles of $15$ and $25$, now if a store wants $115$ I will have to send them $4 \times 25$ and $1 \times 15$, or if they want $55$ I will send them $1 \times 25$ and $2…
4
votes
2 answers

Making a $m*n$ chocolate bar out of $1*k$ chocolate bars

So I've been puzzled by this problem for some time now: Suppose we have a chocolate bar with dimensions $m*n$ and it is made up out of finite number of $1*k$ chocolates. Proof that for any natural numbers m,n,k, in order for chocolate to be made, k…
4
votes
1 answer

Given an array of numbers and their gcd if one element is deleted how to get new gcd in minimum time

I have an array of numbers and their gcd if one element is deleted from the array then is it possible to get the new gcd without iterating over all the elements in the array. e.g the array is 3 6 6 12 clearly the gcd is 3 now if 3 is deleted from…
4
votes
1 answer

Simplifying difficult congruence equations

$$2842x \equiv 1547 \pmod{103} $$ How can I simplify this? $GCD(2842,103)=1$, so my guess would be to divide the equation by 7, which is the $GCD$ of 2842 and 1547. So: $$406x \equiv 221 \pmod{103}$$ Ok, it looks a little bit simpler now. However…
khernik
  • 1,369
4
votes
2 answers

How to easily divide numbers in scientific notation

To solve for wavelength, I use this equation, with some values filled in (Excuse the lack of formatting, I am not aware on how to do this) $$w = \frac{3.0 \times 10^8 m/s}{6.4 \times 10^{14} 1/s}$$ Without using a calculator, how can I easily divide…
Josiah
  • 191
  • 7
4
votes
1 answer

Prove that $mn|a$ implies $m|a$ and $n|a$

I am trying to prove this statement about divisibility: $mn|a$ implies $m|a$ and $n|a$. I cannot start the proof. I need to prove either the right or left side. I don't know how to use divisibility theorems here. Generally, I have problems in…
doniyor
  • 3,700
4
votes
1 answer

Find $m$ for that $998^m-1$ devides number $1994^m$.

I just do not have a clue how to solve this exercise: Find every natural number $m$ such that $998^m-1$ divides number $1994^m$. A friend of mine solved it this way: $998^m - 1 = (998 - 1) \cdot (1 + 998 + \cdots + 998^{m - 1}) = 997 \cdot (1 +…
martina
  • 497
4
votes
0 answers

If $\frac{a^n-1}{b^n-1} $ is a natural number for every $n$ then $a = b^m$

Consider two natural numbers $a,b$. Prove that $a = b^m$ if $ \frac{a^n-1}{b^n-1} $ is natural for all $n \in N$. I tried to assume that there is exist some $k $, such : $a = b^m + k$, so i get $$\displaystyle \frac{\sum_{0}^{n}b^{n-i+m}k^i…
openspace
  • 6,470
4
votes
1 answer

GCD of a subset

Let $A=\{i: 1 \leq i \leq n\} \subset \mathbb{N} $ and $B \subset A$, $|B|=k$ ($k < n$). What's the probability that $\gcd(B)>1$? EDIT: $n$ and $k$ are given. I think this can be solved with inclusion-exclusion principle?
tyu
  • 41
  • 2
4
votes
2 answers

Guessing how many times a smaller number goes into bigger number

For example when diving 105 / 148. After you add a number 0 to the numerator, the division becomes 1050 / 148. The answer becomes a decimal with 1050 / 148. The two numbers are not divisible by a common number so the first step i have to do is…
Ian
  • 89
1
2
3
30 31