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

Divisibility rule for 7

The wikipedia page for divisibility rule for 7 has an interesting method. Which I am elaborating and generalizing. let a number N. Make pairs of the number starting from right. find remainders for each pair. let remainders be R0,R1,R2,R3.. . Then…
1
vote
1 answer

A Congruence problem to check divisibility...

Prove that for any $n\in\mathbb{N}$, $2^{2^{4n+1}}+7$ is always composite. I compute the expression for n=1, and see that it is divisible by 11. So my natural guess is that $2^{2^{4n+1}}+7\equiv 0 \text{ mod } 11$. But I don't have any idea to…
Surajit
  • 1,216
1
vote
0 answers

Divide a number into weighted parts

Lets say I want to divide 10 into 2 parts where one part should be big; the other should be less than the first part. A split of 6,4 or 7,3 or 8,2 will satisfy this requirement. Then if I want to split 10 into 3 parts, it could be 5, 3, 2 or 6, 3,…
1
vote
1 answer

Get a result and calculate back to it's Divisor

In the calculation 28 /7 = 4 the result is 4 and the divisor is 7. From the result i want to calculate back into the divisor. In other words, all I have to do in this case is is 4 + 3 and i get back to the divisor 7. But that does not work when i…
1
vote
3 answers

$gcd(a,b)=lcm(a,b)$ if and only if $a=\pm b$

I proceeded like this. Let $a \leq b$. Since $gcd(a,b)=lcm(a,b)$, then $gcd(a,b)^2=ab$ Now $gcd(a,b)=\pm\sqrt ab$ which is an integer. So b must be of the form $am^2$ so the numbers are a and $am^2$ whose gcd is clearly a. hence $gcd(a,b)=a=\pm am$…
1
vote
2 answers

Formalization of $17\mid 77a+1$

I was solving a math problem when I came across this Question: When is $17 \mid 77a+1$ With $a\in \mathbb N^*$ It’s easy to see that there’s infinitely many of values of $a$, you can’t try a little bit with this but you will end up with these…
PNT
  • 4,164
1
vote
0 answers

Let $p$ be an integer other than $0,\pm 1$ . Prove that p is prime if for each $a\in \Bbb Z$ either $(a,p)=1$ or $ p\mid a $ .

I want to make sure I'm doing this right. This is what I'm trying to do: Let $p$ be an integer other than $0,\pm 1$ . Prove that p is prime if for each $a\in \Bbb Z$ either $(a,p)=1$ or $ p\mid a $ . here's what I have so far: First note that $(-m)…
1
vote
2 answers

Solving modular equation

$$13863x \equiv 12282 \pmod {32394}$$ I need to solve this equation. If I'd found the inverse of 13863 and multiply the equation by this, I'd get the solution. So: $$13863c \equiv 1 \pmod {32394}$$ And now - how can I find this inverse? The numbers…
khernik
  • 1,369
1
vote
2 answers

Solving simple system of congruences

I have this example from wikipedia: $$x \equiv 3 \pmod 4$$ $$x \equiv 4 \pmod 5$$ $$x = 4a + 3\\ 4a + 3 \equiv 4 \pmod 5\\ 4a \equiv 1 \equiv -4 \pmod 5\\ a \equiv -1 \pmod 5\\ x = 4(5b - 1) + 3 = 20b - 1 $$ But wikipedia shows $20b + 19$...what did…
khernik
  • 1,369
1
vote
1 answer

A simpler argument to prove n^4 + 4^n is composite for n ending in 5?

The expression $n^4 + \,4^n$ is known to be prime only for $n = 1$ corresponding to the prime $5$. The usual proof makes use of the Sophie Germain identity $$a^4 + \,4b^4 ≡ \left\{(a - b)^2 +\, b^2\right\}\left\{(a + b)^2 +\, b^2\right\}$$ since…
1
vote
5 answers

Doubt about divisibility in power of $2$ and $3$

I'm in doubt about this problem! show that $2^{1002} + 3^{1002}$ is divisible by $13$. Find conditions on n (positive integer) so that $2^n + 3^n$ is divisible by $13$. In the first part I have no idea how to start! In the second part I received…
Marina
  • 75
1
vote
1 answer

Dividing items into groups using a divisor

I have a weird problem I'm hoping has a clever math solution! Is there a way to figure out what percentage of large numbers are divisible by a number? For example, what percentage of $8$ digit numbers would be divisible by $7$? How would I figure…
1
vote
1 answer

Prove or disprove that If $a\mid c$ and $b\mid c$, then $ab \mid c$.

So I am not really sure what to do. I know by the definition of divisibility there must exist some integers $k$ and $l$ such that $$ c= ak \  \text{ and  } \ c=bl $$ But now I am stuck and have no clue where to go from here... I need to show that…
1
vote
1 answer

Use Fermat's Little Theorem

Find a number $0 \leq a < 73$ with $a≡9^{794}\mod 73$. I know that $a$ and $73$ are relatively prime and $a^{72}≡1 \mod73$. But I couldn't use the theorem. Can someone help me please?
user792583
1
vote
2 answers

Divisibility Proof Help

Show that for all integers $j$, if $d$ is an integer such that $j \mid k+8$ and $d \mid k^2+1$ then $j \mid 65$. I'm having a lot of trouble, with solving this proof. I first rewrote the equations as, $$\begin{align*} aj &= k + 8, \\ bj &= k^2 +…
Lenehan
  • 19