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
-1
votes
1 answer

Prove: If $a$ divides $b c$ and $1 = a r + c s$, then $a$ divides $b$, where $a,b,c,r$ are integers.

I'm getting started with proofs but I have no idea how to do this. I have gotten to $b c = a k$ where $k$ is some integer by divisibility. I'm not sure I can use division yet as they will no longer be integers. I have no idea how to prove it and am…
Alexander
  • 1
  • 1
-1
votes
2 answers

How To Solve Equation With Division By Zero

I have an equation that I've been given the task to solve as part of a course I am doing: x = (y * a - z * b) / (u * (b - a)) This has worked fine, but in the only question I have left, b - a = 0, in which case u * (b - a) = 0 and therefore I am…
Martin
  • 135
-1
votes
1 answer

If A is a large number and B is a larger number than A, find C which is the nearest number to A that goes into B x times.

A = 2548788451252366445785585474844745854781554558547847844 B = 50135928365972237608005364328936872115615930177019003323815 x is unknown Given A and B find C, where C must be the nearest integer to A that goes into B x times. Note: C must be…
Robert
  • 117
-1
votes
1 answer

Question about divisibility and and division algorithm.

I have a question about divisibility and and division algorithm: if C = Ax + By, D|C and D|B then D|A? I thought yes, because C is a combination of A and B, and if D divides B and C, then it must divide A. This is true? If so, how can I justify…
Thais
  • 3
-1
votes
1 answer

Find all integer $n$ such that $x^2+x+1$ divides $X^{2n}+(x+1)^{2n}+1$

I tried particular cases, with $n=1,2,3,4$... The pattern I find is that when $n$ is multiple of 3 it doen't divide. I think is related with the binomial theorem.
-1
votes
2 answers

Multiplication by $0$-

I was thinking of the division by zero that is impossible because you can’t divide a number in $0$ parts. But then I was thinking that is the same with multiplication, you can’t multiply a number $0$ times. Am I correct?
-1
votes
1 answer

If $5\mid n(n^2+1)(n+1)(n-1)$, why can $n$ have the form $5k$, $5k+1$, $5k+2$, $5k+3$, $5k+4$? Why not $5k+5$, $5k+6$, etc?

If $5 \mid n (n^2 + 1) (n + 1) (n - 1)$, why can $n$ be of the form $5k$, $5k + 1$, $5k + 2$, $5k + 3$, $5k + 4$? Why can't it be $5k + 5$, $5k + 6$, etc?
-1
votes
1 answer

Long division answer differs to calculator answer

Can someone make sure I'm not going mad, I'm doing very simple long division: $271÷15$. I work it out as $18.06\bar 3$ but a calculator returns $18.0\bar 6$? What's going on here? Do I have a mental block or something?
-1
votes
1 answer

Divisibility of repdigits - Prove that 99 divides even copies of 9 only

Let A(n) be a repdigit containing n copies of 9. E.g. A(2) = 99. Prove that n must be even for A(2) to divide A(n). As such, if Bn is n copies of x. For what values of n will B(2) divide B(n)? I have solved the problem by showing that 11|A(n) for…
-1
votes
1 answer

If $a\equiv 1\pmod {p^2},$ then $a\equiv 1\pmod p,$ for $\,a = r^{{\rm ord}(r)}$

I've seen this in a lot of proofs for number theory-based problems, but I can't see where they are getting it from. If $r^{\operatorname{ord}(r)} = 1\pmod{p}$ then $r^{\operatorname{ord}(r)}= 1\pmod{p^2}$. thanks EDIT: Should have been, if…
-1
votes
2 answers

Proof of the following statement : $41^a - 14^a$ is a multiple of $27$ for $a \in \Bbb N$

Can anyone give me a simple proof of this statement . I know how to prove it using principle of mathematical induction so please prove it in some other way.
-1
votes
1 answer

Multiple of Numbers

I am working on a problem in which 1 to N numbers are given and one have to count how many numbers between 1 to N are divisible by A or B but not by both.Where A and B are any natural number.Ho can i solve this problem efficiently rather than…
-1
votes
3 answers

Find, with proof, the largest natural number k such that 10^k divides 100! (one hundred factorial).

I was able to get to a theorem saying "that a|b if and only if for any prime in the factorization of a or b, its exponent in the factorization of a is less than or equal to its exponent in the factorization of b." I tried to use this theorem where…
-1
votes
2 answers

Prove that integer not divisible by $2$ or $3$ is not divisible by $6$

How to prove that any integer $n$ which is not divisible by $2$ or $3$ is not divisible by $6$? The point was to prove separately inverse, converse and contrapositive statements of the given statement: "for all integers $n$, if $n$ is divisible by…
Victo
  • 9
-1
votes
4 answers

Checking whether $4a2b$ is can be divided by $36$

Imagine we have a number, which is given as seen below: $$4a2b $$ The first thing I thought is $b$ should be an even number. If a number can be divided by $36$, then it must be able to be divided by $2$, $3$ and $6$. Let's give numbers now. $b…
Busi
  • 572