Urgend: Sum of digits question

  • Thread starter Thread starter Mathman23
  • Start date Start date
  • Tags Tags
    Sum Sum of digits
Click For Summary

Homework Help Overview

The discussion revolves around a mathematical problem concerning the divisibility of a number in base 10 by 2, specifically focusing on the relationship between the number and its last digit (a_0). Participants are exploring the conditions under which a number is divisible by 2 based on its last digit.

Discussion Character

  • Conceptual clarification, Assumption checking, Exploratory

Approaches and Questions Raised

  • Participants are attempting to understand the implications of the last digit of a number on its overall divisibility by 2. Questions are raised about the necessity of a_0 being non-zero for divisibility and the general understanding of divisibility rules.

Discussion Status

The discussion is active, with participants providing examples and questioning each other's understanding of the problem. Some guidance has been offered regarding the relationship between the last digit and divisibility, but there is no explicit consensus on the interpretations being explored.

Contextual Notes

There are indications of confusion regarding terminology, such as the use of "dividable" instead of "divisible," and a mix-up between binary and decimal systems. Participants are also grappling with the clarity of the problem statement and the definitions involved.

Mathman23
Messages
248
Reaction score
0
I have question here which has puzelled me since monday. Hope there is somebody here who can give a hint/help.

Let "a" be number written in base 10.

a_0 * 10^0 + a_1 * 10^1 + a_2 * 10^2 + -------+ a_n * 10^n

where 0 \leq a_i \leq 10.

Prove that the number 2 divides a, if and only if 2 divides a_0.

Can anybody give me a hint on how to go about solving this?

Can I claim that a_0 must not equal zero for 2 to divide a_0 ??

Sincerley Yours
Fred
 
Physics news on Phys.org
2 divides 0, 10, 20, 100,000, all of which have a_0=0.

x divides y if and only if y is congruent to zero mod x.

All its saying is that a number is even if its units entry is even, which you've known since you were so high (holds hand some height above floor).
 
Maybe I'm stupid then it comes to this kind of math, but what should my approach be then I'm faced with such an assigment as this? Because my textbook doens't explain all this very well.

What would You Matt surgest then solving this kind of problem?

What I get in this problem is that the divider must not be larger than 10, or smaller than 0.

Sincerely

Fred
 
Last edited:
No. I don't think you understand the question, do you? Try an example.

Suppose a=423526, then what are the a_i? They are a_0=6, a_1=2, a_3=5, a_4=3, a_5=2, a_6=4.

Now, you've known all your mathematical life since you learned what division was that a is divisible by 2 precisely because a_0=6 (i.e. the last digit in the decimal expansion) is divisible by 2. a = a_0 +10*(something) and 10 is divisible by 2.
 
Okay thanks for the example,

Than You prove this by saying that as long a the rightest digit in the binary number a_0 is dividable by 2, then the whole of a is dividable by 2??

Sincerley
Fred

p.s. In other words as longs as 2 is dividable by a number y with the smallest reminder, then 2 is dividable by the whole number "a"?
 
Last edited:
This is not binary, this is base 10.

Dividable is not, I think, a word. Divisible is, and you have it the wrong way round. You are asking when a is divisible by 2.
 
Well, you don't "prove" it that way. Write your number
anan-1...a2a1a0
as (anan-1...a2a1)(10)+ a0.

Do you see why that's true? Do you see why the first term is always divisible by 2?
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
13
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K