Divisibility of n by 7: Elementary Proof

  • Thread starter Thread starter JFo
  • Start date Start date
  • Tags Tags
    Elementary Proof
JFo
Messages
91
Reaction score
0
Remove the last digit from a number and subtract twice this digit from the new (shorter) number. Show that the original number is divisible by 7 iff this difference is divisible by 7.

I have only the division algorithm and the fact that the integers are closed under addition/multiplication/subtraction to work with plus elementary arithmetic. By the way, all numbers are in base 10

Heres what I've got:
let n be an integer. By the division algorithm I can find an integers c,d s.t. n = 10c + d where 0<= d < 10

The number 10c is n with the last digit removed. We need to show 10c + d is divisble by 7 iff 10c - 2d is divisible by 7

Suppose 10c + d is divisble by 7. Then 10c + d = 7m for some integer m.

using the division algorithm we can find integers e,f st. d = 7e + f where
0<= f < 7

given the restrictions that 0<=d<10 we must have e = 0 or 1.

Here's where I'm stuck. Any suggestions?
 
Physics news on Phys.org
The number 10c is n with the last digit removed.

No, 10c is n with the last digit replaced with a zero. You want to consider c - 2d.

This proof can be done like so (using various elementary divisibility properties):

c - 2d is divisible by 7
<=>
10c - 20d is divisibly by 7
<=>
10c - 20d + 21d is divisibly by 7
<=>
10c + d is divisible by 7
<=>
n is divisible by 7.

If you had modular arithmetic in your inventory, this type of problem would be routine.
 
Thank you muzza! I really need to get rid of this extra chromosome!
 
##\textbf{Exercise 10}:## I came across the following solution online: Questions: 1. When the author states in "that ring (not sure if he is referring to ##R## or ##R/\mathfrak{p}##, but I am guessing the later) ##x_n x_{n+1}=0## for all odd $n$ and ##x_{n+1}## is invertible, so that ##x_n=0##" 2. How does ##x_nx_{n+1}=0## implies that ##x_{n+1}## is invertible and ##x_n=0##. I mean if the quotient ring ##R/\mathfrak{p}## is an integral domain, and ##x_{n+1}## is invertible then...
The following are taken from the two sources, 1) from this online page and the book An Introduction to Module Theory by: Ibrahim Assem, Flavio U. Coelho. In the Abelian Categories chapter in the module theory text on page 157, right after presenting IV.2.21 Definition, the authors states "Image and coimage may or may not exist, but if they do, then they are unique up to isomorphism (because so are kernels and cokernels). Also in the reference url page above, the authors present two...
I asked online questions about Proposition 2.1.1: The answer I got is the following: I have some questions about the answer I got. When the person answering says: ##1.## Is the map ##\mathfrak{q}\mapsto \mathfrak{q} A _\mathfrak{p}## from ##A\setminus \mathfrak{p}\to A_\mathfrak{p}##? But I don't understand what the author meant for the rest of the sentence in mathematical notation: ##2.## In the next statement where the author says: How is ##A\to...
Back
Top