Let $x=0,a_1a_2a_3\cdots a_i\cdots$ be a number such that $a_1=0$, $a_i=1$ if $i\in\mathbb{N}$ is a prime number and $a_i=0$ otherwise. So $x=0,01101010001\cdots$.
Is $x$ a rational number? How can I show?
Thanks.
Let $x=0,a_1a_2a_3\cdots a_i\cdots$ be a number such that $a_1=0$, $a_i=1$ if $i\in\mathbb{N}$ is a prime number and $a_i=0$ otherwise. So $x=0,01101010001\cdots$.
Is $x$ a rational number? How can I show?
Thanks.
It is not rational because the decimal expansion of a rational number is eventually periodic. However, there are arbitrarily long sequence of consecutive composite numbers (for example, by the Chinese remainder theorem), and of course infinitely many primes, so the decimal expansion for this number is not eventually periodic