For a natural number we say that it is quirky if and only if there exist natural numbers and such that . Does there exist 2014 consecutive natural numbers among which exactly 2012 are quirky numbers?
(Miloš Milosavljević)
For a natural number we say that it is quirky if and only if there exist natural numbers and such that . Does there exist 2014 consecutive natural numbers among which exactly 2012 are quirky numbers?
(Miloš Milosavljević)
We will first give an example of 2012 consecutive quirky numbers. It suffices to take the numbers , where .
For a natural number , let us denote by the number of quirky numbers among . Since (the numbers are not quirky), and for every , there exists such that .
Second solution. Let us denote . The numbers for and are quirky; let us prove that and are not.
Suppose that (the number is examined similarly). From it follows that . Also , since otherwise we would have . Further, if , we have , which is impossible. Finally, for and we have , so , again impossible since .