Proving and Disproving a Mathematical Problem: Adding Numbers in Any Base

  • Thread starter marisolm
  • Start date
In summary: This is because, if a number is in a certain base, every single digit left over from adding up all the digits in that number (in that base) will be 1 less than the original number. So, if you solve for b in this equation, you'll get back the original number, just in a different base.However, this equation can be solved for b in any base, provided you know the answer to the previous equation. So, this is really just a shortcut for solving for b in any base, if you already know the answer to the previous equation.I asked my teacher for an explanation and this is what he gave me...In summary, problem states that if you add together digits in a number in any base
  • #1
marisolm
4
0
PROBLEM: For any number in any base at least 2 digits long, if you add them together and solve it the answer will ALWAYS be 1 number less than the base itself.

Why this problem works out?
Does it apply to anything?
What branch of Mathematics?
Prove in General sense or disprove.

HELP! :eek:
 
Physics news on Phys.org
  • #2
'solve'? what do you mean? post an example.
 
  • #3
I asked and solve it just means figure out if it works or not...
 
  • #4
your question still doesn't make sense at all.

take 11 (we won't say what base), what must we do to it now? what on Earth do i add together? the only thing can i can think of is the digits in the number, so i add them and get 2, now in any other base than 3, that cannot be one less than the base, so what on Earth are you talking about? at least attempt to indicate what the referents of all those undetermined pronouns are.
 
  • #5
I'm going to email my prof. and make sure I copied the question down right. i'll re-post it as soon as I hear from him. Thanks for your interest in helping.
 
  • #6
It is true that if you add all the "digits" in a number (in any base) and repeat until you are down to one digit, that digit will be the remainder when the original number is divide by the base minus 1. In base 10, it's called "casting out nines".
 
  • #7
I asked my teacher for an explanation and this is what he gave me...

Choose a number in any base that is two or more digits long.
Add all the digits together and keep adding until you have 1 single digit.
remember to add in the rules for the base you've chosen.
Eg: Base 10
743=7+4+3=14=1+4=5
Take your original number (above it's 743) and subtract the "sum"
743-5=738
"Add" this "sum" together until you have 1 digit (as above)
7+3+8=18=1+8=9
This number is always one less than the base you're working in.

Note: Your math MUST be consistant for the base you're working in!
 
  • #8
well, now you've explained it it becomes reasonably obvious if you're happy with modulo arithmetic. as hallsofivy states the number you calculate in this operation is the reaminder modulo the base minus one, so subtracting it leaves a number that has zero remainder modulo the base minus one.
 
  • #9
Your questions still appear, largely, unanswered... so let me fill in a little more :

1. Why it works out can be proved using algebra and the representation of a number in a base, b as :
sum [a(k) b^k], k=0,1,..n.

It's easy to prove the part that hallsofivy stated. That comes from (b^m - 1) being divisible by (b-1); b being the base. The next step is to prove that the (sum of digits of a multiple of (b-1)) = a multiple of b-1. The only trick here is in noticing that some digits look like a(k) - a(k-1), which can be negative. So, you need to carry over a 'b' from the previous digit (to make it non-negative) while adding digits, and then everything will be okay.

2. Does this apply to anything ? Yes, it applies to all numbers in Z. But if you're asking if it has any practical applications, I'm not sure I know any. Didn't Hardy once say that he felt secure that Number Theory would never be defiled by the common man, because it had no known applications ? RSA sure proved him wrong !

3. I guess you might say this came under number theory.

4. It can be proved (in the affirmative). For hints, see the answer to 1. If you really want to see the whole proof, I'll do it when I find an equation editor I can paste off of.
 
  • #10
Equation editor? Why? Five minutes, and one pencil ought to do. The proof can be easily filled in from what has been written. Easily means after a day of thinking.
 
  • #11
Actually, it's easier to prove using modular arithmetic, particularly, b^k==1 (mod b).
 

1. What is the difference between proving and disproving a hypothesis?

Proving a hypothesis means providing evidence or data that supports the hypothesis and makes it more likely to be true. Disproving a hypothesis means providing evidence or data that contradicts the hypothesis and weakens its validity.

2. How do scientists determine if a hypothesis has been proven or disproven?

Scientists rely on a combination of experiments, observations, and data analysis to determine if a hypothesis has been proven or disproven. They use statistical methods to analyze the data and determine the level of confidence in their results.

3. Can a hypothesis be both proven and disproven?

No, a hypothesis can only be either proven or disproven. If the evidence supports the hypothesis, it is considered proven. If the evidence contradicts the hypothesis, it is considered disproven.

4. What role does peer review play in the process of proving or disproving a hypothesis?

Peer review is an essential part of the scientific process and helps to ensure that the evidence and methods used to prove or disprove a hypothesis are valid and reliable. It involves experts in the field evaluating the research and providing feedback and criticism to improve the quality of the study.

5. Can a hypothesis ever be considered "proven" beyond all doubt?

No, a hypothesis can only be supported by the available evidence and data. There is always a possibility that new evidence or information may surface in the future that could disprove the hypothesis. Therefore, a hypothesis can never be considered proven beyond all doubt.

Similar threads

  • General Math
Replies
1
Views
1K
Replies
4
Views
609
Replies
3
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
328
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
5
Views
2K
  • General Math
Replies
1
Views
1K
  • STEM Academic Advising
Replies
15
Views
1K
Replies
10
Views
967
  • Other Physics Topics
Replies
8
Views
8K
Back
Top