Solve a Riddle with Base System Minus 1 - Nadine

  • Context: Undergrad 
  • Thread starter Thread starter nados29
  • Start date Start date
  • Tags Tags
    Base Riddle System
Click For Summary

Discussion Overview

The discussion revolves around a riddle concerning the properties of numbers in different base systems, specifically focusing on why the result of subtracting the sum of a number's digits from the original number is always a multiple of the base system minus one. The scope includes mathematical reasoning and exploration of base systems.

Discussion Character

  • Exploratory, Mathematical reasoning

Main Points Raised

  • Nadine presents a riddle involving the relationship between a number, the sum of its digits, and the base system, providing examples in both decimal and octal systems.
  • One participant expresses the mathematical representation of a number in base b and derives the difference between the number and the sum of its digits, suggesting that this difference can be expressed as a sum involving the base.
  • Nadine acknowledges the clarity provided by the mathematical explanation, indicating a positive reception to the reasoning presented.

Areas of Agreement / Disagreement

The discussion appears to be resolved in terms of understanding the riddle, with Nadine expressing satisfaction with the explanation provided. However, no explicit consensus on broader implications or further exploration of the topic is established.

Contextual Notes

The discussion does not address potential limitations or assumptions regarding the properties of different base systems or the implications of the mathematical representation provided.

Who May Find This Useful

Individuals interested in number theory, properties of base systems, or mathematical puzzles may find this discussion relevant.

nados29
Messages
4
Reaction score
0
Hi,
I've a riddle that I can't solve. I hope someone can help me in it.

Here is it:

If we have a number and add the digits of that number, then subtract the summation we got from the original number, why is the result always multiples of the base system minus 1.

Here is an example using the decimal system (base 10)

The original number is 51, we add the digits, so we get 5+1=6, we subtract it from the original number we got 51-6=45 which is a multiple of 9 (Base 10 -1)

--------------------------------------------------------------------------

Another example in the octal system (base 8)

We have 55, we add the digits we got 12 (octal) or 10 (decimal), we subtract so we have 55-12= 43 (octal) or 35 (decimal) which is a multiple of 7 (base 8 -1)

I hope someone can help me in figuring out this puzzle.
Thanks,
Nadine
 
Physics news on Phys.org
Let us write a number N as follows:
[tex]N=\sum_{i=0}^{M}a_{i}b^{i}[/tex]
where b is the base.
The sum S of the digits is evidently: [tex]S=\sum_{i=0}^{M}a_{i}[/tex]
Hence, the difference D is:
[tex]D=\sum_{i=0}^{M}a_{i}(b^{i}-1)[/tex]
Does that clear it up for you?
 
Last edited:
Thanks a lot :smile:
I never thought it can be that simple.

Thanks again,
Nadine
 
Welcome to PF, BTW!
 

Similar threads

  • · Replies 33 ·
2
Replies
33
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K