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
2
votes
2 answers

Let $a, b \in \Bbb Z$. Consider the following function: $f : ℤ \times ℤ \to ℤ$ such that for any$ (x,y)\in ℤ \times ℤ, f(x,y) = ax + by.$

Let $a, b \in ℤ$. Consider the following function: $f : ℤ \times ℤ \to ℤ$ such that for any $(x,y)∈ ℤ \times ℤ, f(x,y) = ax + by.$ Fill in the blank in the following proposition with a simple condition on a and b, and then prove the proposition.…
2
votes
2 answers

Whats the formula to calculate width & height, when given a resolution and ratio

Let's say I have a puzzle, which says it has 1000 pieces. I also know it's a 4:3 ratio picture that I'm trying to put together. How do I calculate the width & height in number of pieces? I know that if I knew the puzzle was 1000 pieces wide, it…
2
votes
2 answers

Basic divisibility of large numbers.

So I'm just going through KhanAcademy to refresh my basic pre-arithmetic and although it's embarassing I thought I'd get this thing checked up just for…
2
votes
1 answer

GCD of $N$ numbers is 1

Given two numbers $m$ and $n$. $\gcd(a_{1},a_{2},\ldots,a_{m})$ is the gcd of number $a_{1},a_{2},\ldots,a_{m}$. How to find number of ways such that $\gcd(a_{1},a_{2},\ldots,a_{m})$ ($1\le a_{i}\le n$ ) is $1$?
Shashwat Kumar
  • 322
  • 4
  • 15
2
votes
3 answers

How can I find the dividend if I know the divisor and the remainder?

A is a natural number. When it's divided by 12 the remainder is 9 and when it's divided by 16 the remainder is 13. What is the least possible value of A?
Ally
  • 85
  • 1
  • 6
2
votes
3 answers

Why is it that "If 3 cannot divide "q" there will be a remainder of 1 or 2"?

I am studying proofs in discrete math and I ran into this statement that "If 3 cannot divide "q" there will be a remainder of 1 or 2". I know that this is some pretty basic stuff but I am having a hard time to catch the concept of remainders. What…
Reboot_87
  • 523
  • 3
  • 8
  • 17
2
votes
7 answers

If $\gcd(a, b) = 1$ then $\gcd(ab, a+b) = 1$?

In a mathematical demonstration, i saw: If $\gcd(a, b) = 1$ Then $\gcd(ab, a+b) = 1$ I could not found a counter example, but i could not found a way to prove it too either. Could you help me on this one ?
Phong
  • 131
2
votes
3 answers

$7^n+5*7^m$ and $2*7^n+4*7^m$ are divisible by 3

While I was helping my daughter with some advanced task from homework, we came to assumption in title. Experiment shows that it is most likely true. But I can't came up with formal proof. Any ideas?
2
votes
1 answer

Solve the congruence using fast exponentiation algorithm to find an inverse?

$$24x \equiv 17 \pmod{217}$$ I got this excercise from some book, the question is - solve the congruence, using fast exponentiation algorithm to find an inverse...Hmm, do you see some inverse here to solve, or is there just a mistake in the book?
khernik
  • 1,369
2
votes
2 answers

Prove that $1^3 + 2^3 + ... + 2004^3$ is divisible by $2005$.

This is a first year high school problem. There's no series or any other more "advanced" math involved. There should just be a way to factor $2005$ out of the sum. Judging by similar problems I assume that it is, in general, true that, for a natural…
2
votes
1 answer

Divisibility of $\frac{3^n - 1}{2}$ by $2^k$

I would like to find the greatest k such that $p=\frac{3^n - 1}{2}$ is divisible by $2^k$. Since $p$ is the repunit number in base 3 it is already clear that if $n$ is even, $p$ would be divisible by 4 (since we could write $p/2 = 2020...202$ in…
2
votes
1 answer

Divisibility of a sum

In some book about elementary number theory I found a theorem that when two integers $a$ and $b$ are both divisible by the same common factor $f$, then their sum $a+b$ is also divisible by the same factor. In short: $f|a \land f|b \implies…
SasQ
  • 714
2
votes
1 answer

$2^k$ divides a $k$-digit number consisting only of the digits $1,2$

I want to show that for each natural number $k$ there is a $k$-digit number divisible by $2^k$ consisting only of the digits $1$ or $2$. I tried to solve it using induction as follows. For $k=1$, $2^1|a_0=2$. Now suppose for the natural $k$ we have…
user1007173
2
votes
1 answer

Divide a number by what value to reach 1 in a specified number of steps

I would like to divide my number 13255956 by another number over and over again to reach 1 in exactly 255 steps. Through trial and error I managed to find that the number is approximately 1.06. How might I go about caculating this number…
2
votes
1 answer

Is there any simple way to find out all divisors of $n+1$ under the given conditions?

Aussuming I have given a really large number $n \in \mathbb{N}$ (let's say, $10^{80} \le n \le 10^{100}$) and I know all the divisors of every number $x=0,1,\ldots,n-1$. Is there any simple, universal and not too time-consuming way to find out all…
vauge
  • 323