Is Every Integer in the Decimal System Divisible by 5?

Prathep
Messages
7
Reaction score
0
I need some help proving this statement.

Prove that a positive integer is divisible by 5 if and only if it's last digit is either
0 or 5.

Thanks
 
Physics news on Phys.org
I need some help proving this statement.

Homework Statement



Prove that a positive integer is divisible by 5 if and only if it's last digit is either
0 or 5.

Homework Equations





The Attempt at a Solution

 
One way is easy. Suppose n is a positive integer that ends in 0 or 5. Then we can write
n = 10k + 5\epsilon
with k a positive integer and \epsilon = 0 or 1. For example,
1234985135 = 123498513 * 10 + 5. Then obviously n / 5 = k + \epsilon which is a positive integer again.

Also this approach should give you a clue for the other direction (suppose n is divisible by 5, then you can write it as 5k for some positive integer k. Now what can you say about k?)
 
Let's continue the conversation https://www.physicsforums.com/showthread.php?t=198173, so we don't have to double post as well.
 
Better yet, I've merged the two threads- into this one since the problem doesn't seem to me to have a lot to do with "Computer Science and Technology"!
 
every integer in the decimal system can be written as follows:

z = a_0 + a_1*10 + a_2*10^2 + ... + a_n*10^n

as 10 is the product of 2 and 5 ==> 5 | 10

for n > 0 all terms have 0 as the last digit

if z is a number with last digit = 0, then a_0 = 0 ==> 5 | z

else a_0 = 5 and also this implies 5 | z
 
##\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...
When decomposing a representation ##\rho## of a finite group ##G## into irreducible representations, we can find the number of times the representation contains a particular irrep ##\rho_0## through the character inner product $$ \langle \chi, \chi_0\rangle = \frac{1}{|G|} \sum_{g\in G} \chi(g) \chi_0(g)^*$$ where ##\chi## and ##\chi_0## are the characters of ##\rho## and ##\rho_0##, respectively. Since all group elements in the same conjugacy class have the same characters, this may be...
Back
Top