Define a a sequence as follows
, if number of positive divisors of is [i]odd[/i]
, if number of positive divisors of is [i]even[/i]
(The positive divisors of include as well as .)Let be the real number whose decimal expansion contains in the -th place,.Determine,with proof,whether is rational or irrational.
Problem 1323
Official solution
1. Lemma 1: if and only if is a perfect square. Otherwise, .
Proof: Write as its prime factorization: where are distinct primes and . The number of divisors of is given by . This product is odd if and only if each is even, which means is a perfect square.
2. Lemma 2: A number is rational if and only if the sequence is periodic.
Proof: Every rational number has a periodic decimal representation. Let where and . There exist integers and such that . Let , where is the maximal exponent of dividing . Let , so . Choose , where is Euler's totient function. Thus, . Let . Then . Define the digits of so that . Then with nines. Hence, , showing a periodic decimal representation.
3. We want to prove that the number is irrational. Assume, for contradiction, that is rational. By Lemma 2, the sequence is periodic. Let be its period, meaning for all .
4. Since , it follows that for all . By Lemma 1, must all be perfect squares.
5. Consider for some . Then . Thus, lies between two squares, and , and cannot be a square. Therefore, , contradicting the periodicity of .
6. This contradiction implies that our assumption that is rational is false. Hence, must be irrational.