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

How to explain why 10/0 is an okay grade book entry?

I usually record class grades in my grade book in a format like 9/10, where "9" means how many points a student earned and "10" means how many points they could possibly earn. The computer grade book system then converts this into a percent, e.g.…
Village
  • 203
3
votes
2 answers

How to prove divisibility of the difference between two numbers.

Recently I have come across a statement saying that if $x$ and $y$ are divisible by $a$, then $x - y$ is also divisible by $a$. How can I prove this? Does it also apply to sum of $x$ and $y$ ?
Kapol
  • 175
3
votes
2 answers

If B is half of A and C is half of B and the sum of all them is 1 then, what is A?

If $B = A/2$, $C = B/2$, and $A + B + C = 1$, then what does $A$ equal? I'm baffled trying to solve this question I made up for "my own purposes" and this problem is always a bit off when I try to solve it (Min. Found Distortion = 1/Infinity).
3
votes
1 answer

$\gcd(x^2+1,x^2+4x+5)$

Is there anything I can tell about $\gcd(x^2+1,x^2+4x+5)$ for any given integer $x$? I believe I've seen similar questions in the past, though I don't remember any details or what to search for. I did write a computer program to check the first…
Mike
  • 13,318
3
votes
3 answers

Show that if $a$ is an odd integer and $b$ is an even integer then $\gcd(a,b)=\gcd(a,b/2)$

Show that if $a$ is an odd en integer and $b$ is an even integer then $\gcd(a,b)=\gcd(a,b/2)$. I understand that since $a$ is not divisible by $2$ but $b$ is, the gcd of $a$ and $b$ also can't be divisible by $2$ but I'm getting stuck using this to…
3
votes
1 answer

Proving that $n$ doesn't divide $2^n - 1$ for any integer $n > 1$

Prove that $n$ doesn't divide $2^n - 1$ for any integer $n$ bigger than $1$. Thanks in advance! Any questions, please comment!
3
votes
1 answer

Prove that any integer divides zero: $a\in \mathbb Z \implies a\mid0$

Prove that any integer divides zero: $a\in \mathbb Z \implies a\mid0$ How can i prove that any integer divides zero? i tried using the definition of divisibility, but i dont know if for the formal proof, it can be used as i im using it. $a\in…
3
votes
4 answers

Prove that if $3|(a^2+b^2)$, then $3|a$ and $3|b$, where $a, b$ are integers

I would like to know how to prove the above statement by contradition. Somebody said that one should prove it by this method but I have no idea what it is.
Tessa
  • 41
3
votes
0 answers

Proof if $n$ is divisible by $3$ then the sum of the digits of $n$ are a multiple of $3$

Proof if $n$ is divisible by $3$ then the sum of the digits of $n$ are a multiple of $3$. What is the name of that theorem and who performed that theorem? I don't understand the proof given here: How to Prove the divisibility rule for $3$
3
votes
4 answers

Prove $5 \mid 2^{n+1} + 3^{3n+1}$

I tried induction, so I assume the hypothesis and attempt to show $5 \mid 2^{n+2} +3^{3n + 4}$ but this doesn't help. I tried breaking it down into prime factorizations, but I do not see it.
Don Larynx
  • 4,703
3
votes
1 answer

Find Divisor and Dividend from Remainder

I am developing some software to "Mutate" inline constants in source code to make them hard to read (eg. Obfuscation) and need a way to determine two values that when divided by each other gets a predetermined remainder. I have read up on the…
3
votes
4 answers

Even Number Divisibility Problem

The question is that for the equation $x = 25 + 5^k$ where $k$ is some random positive integer, can $x$ be divisible by $9$ for any $k$? My first intuition is that since $25$ = odd and $5^k$=odd then $x$ must be an even number. Rule of divisibility…
3
votes
4 answers

Find x for which for every "a" the equation has solution

$$a^{31x} \equiv a \mod 271$$ I need to find x variable, for which the equation has solution with any a. How can I do this? Generaly, modular equations have solutions when $GCD(a^{31x}, 271) = 1$, or $GCD(a^{31x}, 271) = d > 1; d|a$ It also looks…
khernik
  • 1,369
3
votes
1 answer

Prove that some subsets contain two positive integers $ a $ and $ b $ such that $ a|b$

Let $ n $ be a positive integer $(n\ge 2)$ and $ A $ be the set $$A=\{1,2,3,...,2n\}$$ Prove that $$(\forall B\subset A)\;$$ $$ \Bigl(\# B=n+1\implies \exists (a,b)\in B^2 \;:\;a\ne b \wedge a|b\Bigr)$$ It is easy to prove it when $ 1\in B $ and…
3
votes
4 answers

are there natural numbers $a,b$ such that $b=\frac{(a-2)}{(a-4)}$? (with $a>6$)

by just trying setting $a$ equal to a bunch of different (even) natural numbers, i'm pretty sure there are no such $a,b$ - but i'm stuck trying to prove it. i was thinking a proof by contradiction: if such $a,b$ exist then $(a-2)=(a-4)c$, where $c$…
ksea
  • 145
1 2
3
30 31