A simple calculator – 2

A simple calculator only has 2 functions.

It always starts at 0 and then does one of the following

  • add a N a \in \mathbb{N} to the number
  • multiply the number by b N b \in \mathbb{N}

It can do multiple operations in a row, the result of the last operation is always the input for the next one.

This calculator is then named ( a , b ) (a,b) .


Does there exist a calculator ( a , b ) (a,b) with a > 1 a>1 that can calculate almost all positive integers?


More formally:

Let S n ( a , b ) |S_n(a,b)| count the number of positive integers less than or equal to n n that can be calculated using this calculator. Then, does there exist a calculator ( a , b ) , a > 1 (a,b), a>1 such that

lim n S n ( a , b ) n = 1 \displaystyle \lim_{n \to \infty} \frac {|S_n(a,b)|}{n} = 1 ?

No Yes

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Every number that can be generated by ( a , b ) (a, b) is divisible by a a ; indeed, any such number can be obtained by repeated addition of a a . Therefore the proportion of positive integers that can be so calculated is 1 a < 1 \frac{1}{a} < 1 for a > 1 a > 1 , so the answer is no \boxed{\text{no}} . More formally:

S n ( a , b ) = n a lim n S n ( a , b ) n = lim n 1 n n a = 1 a < 1. |S_n(a, b)| = \left\lfloor \dfrac{n}{a} \right\rfloor \implies \lim_{n \to \infty} \dfrac{|S_n(a, b)|}{n} = \lim_{n \to \infty} \dfrac{1}{n} \left\lfloor \dfrac{n}{a} \right\rfloor = \dfrac{1}{a} < 1.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...