Is it.......

Prove that all numbers can be expressed with 2 and 5, or give a reason why it is impossible.

#NumberTheory

Note by Bryan Lee Shi Yang
6 years ago

No vote yet
1 vote

  Easy Math Editor

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

  • Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
  • Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
  • Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
  • Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

  • bulleted
  • list

1. numbered
2. list

  1. numbered
  2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1

paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
    # 4 spaces, and now they show
    # up as a code block.

    print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3 2×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

What exactly do you mean by "can be expressed with 2 and 5" ?

Prasun Biswas - 6 years ago

Log in to reply

e.g. 3.5 = 2220+212^{2}-2^{0}+2^{-1}, and 85.54 = 24(22+1)+51+21+522^{4}(2^{2}+1)+5^{1}+2^{-1}+5^{-2}

Bryan Lee Shi Yang - 6 years ago

Log in to reply

I don't think 3.53.5 and 85.5485.54 are integers, but I get your point.

Prasun Biswas - 6 years ago

You have my algorithm

I think that it should be that every "terminating decimal number" can be expressed with 5 and 2, because are base is 10.

Archit Boobna - 6 years ago

Proof:

The following program expresses any positive integer in terms of 2 and 5

1
2
3
4
5
6
7
8
n = int(raw_input())
buffer = ""

for i in xrange(n-1):
   buffer += "(5-(2*2)) +"

buffer += (5-(2*2))
print buffer

The proof of correctness has been left to the reader as an exercise

[This is just a mathematical explanation for the the algorithm given by Agnishom]

First, note that,

0=5×22×50=5\times 2-2\times 5

Now, consider any positive integer xx. We then have,

x=0+x=(5×22×5)+k=1x1=(5×22×5)+k=1x(52×2)    x=(5×22×5)+(52×2)+(52×2)+x timesx=0+x=(5\times 2-2\times 5)+\sum_{k=1}^x 1=(5\times 2-2\times 5)+\sum_{k=1}^x (5-2\times 2)\\ \implies x=(5\times 2-2\times 5)+\underbrace{(5-2\times 2)+(5-2\times 2)+\ldots}_{x\textrm{ times}}

This is obviously a representation in 22 and 55, as the OP wants.

It suffices to show that there is such a representation also for (x)(-x) to complete the proof. Indeed, we just multiply the above result by (1)(-1) to get,

(x)=(2×55×2)+(2×25)+(2×25)+x times(-x)=(2\times 5-5\times 2)+\underbrace{(2\times 2-5)+(2\times 2-5)+\ldots}_{x\textrm{ times}}

Since there exists such representations for x , (x)x~,~(-x) and 00 where xZ+x\in\Bbb{Z^+}, the claim in the problem is proved.


This is kinda similar to an inductive proof.

Prasun Biswas - 6 years ago

Hint: 2×5=10 2 \times 5 = 10

Bryan Lee Shi Yang - 6 years ago
×

Problem Loading...

Note Loading...

Set Loading...