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
0
votes
4 answers

Prove that 9 | $a_k +... +a_1+a_0$ implies that 9 | $a_k 10^k +... + a_1 10^1 + a_o 10^0$

How to prove that : 9 | $a_k+... +a_1+a_0$ implies that 9 | $a_k 10^k +... +a_1 10^1 + a_o 10^0$ where | denotes the divisibility sign (that is, I need to prove that if $a_k+... a_1+a_0$ is divisible by 9 then so is $a_k 10^k +... a_1 10^1 + a_o…
Tony
  • 1,044
0
votes
2 answers

Write program which tells if a number is divisible by all the numbers from 2 to 10

Here's the task: Write a program which takes input from the user - a number. Then without using if statement you should print on the screen whether or not the number is divisible by each one of the integers: 2, 3, 4, ... 9, 10. The idea is to use…
Mr. Nicky
  • 117
0
votes
1 answer

Divisibility When Adding One per Day

I was recently using this program that I made for a question I was asked. It goes as follows, "Kevin and Devin each make one hat per day for charity, but they started on different days. Today, Kevin made his 520th hat, and Devin made his…
nedla2004
  • 101
0
votes
2 answers

Prove that $\gcd{(a^b-1,a^c-1)}=a^{\gcd{(b, c)}}-1$

The question is as follows: Let $a, b, c$ be three positive integers. Prove that $\gcd{(a^b-1,a^c-1)}=a^{\gcd{(b, c)}}-1$. This is a homework assignment. I've tried using Bezout's theorem. But, to no avail. Also, it's easy to show that the R.H.S.…
0
votes
1 answer

Number of steps to reduce a number to 0 by reducing "number/2" (integer Division eg. 3/2=1) in each step

I want to know that is it possible to tell directly the number of steps to reaching 0 from a given number given that a number can be reduce to its half in each step. For Example : 9 step 1:9/2=4 (Integer) step 2:4/2=2 step 3:2/2=1 step 4:1/2=0 So…
0
votes
1 answer

Divisibility - what is A+B?

Is there an easy to solve this problem? I can find the answer by using a complicated rule that I don't understand. Even if I try to remember this rule, I probably will forget about it a year later. The rule is "To find out if a number is divisible…
learning
  • 1,749
0
votes
2 answers

Demonstrate that $\int_0^1{\frac{(x^2+x+1)^{4n+1}- x}{x^2+1}dx}$ is a rational number

I thought about proving $x^2+1$ divides $(x^2+x+1)^{4n+1}- x$ , but I don't know how.
oren revenge
  • 566
  • 4
  • 13
0
votes
0 answers

Divide a number by two different numbers in combination

Similar to this question: How to divide a number by $2$ numbers? I would like to know how to divide a number (let's say 23) by two different numbers (say, 1.6 and 2.4) to find what combination of the two different numbers makes up exactly 23 - or…
Unencoded
  • 101
0
votes
1 answer

Help - remainders when number is divided

Please, give me hints, I've no idea ;): Find greatest number $x$ such that $x<1000$ and $x$ divided by $4$ gives remainder $3$, divided by $5$ gives remainder $4$, and divided by $6$ gives remainder $5$. I already know that for some natural $a, b,…
0
votes
1 answer

floor division remainder and quotients may vary

I have question on behavior of floor division. if i have, -7/3 = -3 and remainder = 2 also -7/3 = -4 remainder = 5 it can have many results. When we make tally all are correct.Then what is the use of floor division is not stick to one solution…
0
votes
2 answers

Divisibility problem. Prove or disprove if |c, then | or |

I understand the problem very well. I just don't how to go at it. Prove or Disprove: For all , , ∈ ℤ+, if |c, then | or |.
0
votes
1 answer

Is it possible to know if $X$ is divisible by $Y$ without dividing $X$ by $Y$.

Background I am working on a project involving FPGA's (a configurable logic circuit) and modulus of numbers to determine if $X$ is divisible by $Y$. When I take the modulus of a number a full division circuit is used which uses to many of the FPGA's…
Eric Johnson
  • 115
  • 1
  • 8
0
votes
0 answers

Divide value by range

Do you know a method to check if a value can be divided by a combination of integer value in a range? For example let's say I have 100, and I want to divide it by a cobination of value between 20 and 24. in this case it is possible: 100 / 20 =…
Legisey
  • 101
0
votes
1 answer

Can the min/max value of a quotient be calculated for a simple division?

If I have a simple division $x \over y$ I can rewrite it as $x = Qy +R$, (where Q is the Quotient and R is the remainder). I know that $|y| > R \ge 0$. Is there a similar rule for the quotient?
0
votes
1 answer

Find ( a + b + c) if $4a1b4c9$ is divisible by $99$

Find $a + b + c$, if $4a1b4c9$ is divisible by $99$. Since it is divisible by $99$, it would be divisible by $11$ and $9$. Applying divisibility rules of $9$ and $11$: $18 + (a + b + c)$, must be a multiple of $9$ (I); $18 - (a + b + c)$, must be…
Romy
  • 55
  • 4