Tuesday, 10 March 2015

elementary number theory - Proving or disproving f(n)f(n1)len,forallngt1, for a recursive function with floors.



The Olympiad-style question I was given was as follows:





A function f:NN is defined by f(1)=1 and for n>1, by: f(n)=f(2n13)+f(2n3) Is it true that f(n)f(n1)n,n>1?




Expanding f(n) and f(n1), we get:



f(n)f(n1)=f(2n13)+f(2n3)f(2n33)f(2n23)



Looking at the behaviour of the function given arguments modulo 3, we can see the following, n>1, where D(n)=f(n)f(n1):




D(n)={f(2n13)+f(2n3)f(2n31)f(2n23)if n1(mod3)f(2n13)+f(2n3)f(2n31)f(2n23)if n2(mod3)f(2n31)+f(2n3)f(2n31)f(2n23)if n0(mod3)



But I'm not sure how to construct a suitable counter example or proof of the proposition. A quick construction of the first 10 test cases, shows that D(n)=1:n1(mod3), and D(n)=1:n0(mod3).



However D(2)=1, D(5)=2 and D(8)=4, suggesting a power of 2 escalation, which would mean for sufficiently high n:n2(mod3), D(n)>n, but I'm unsure how to show this.



Thanks in advance!



EDIT: Continuing my construction of the sequence has shown there is no power of 2 escalation, for successive terms n2(mod3), however, as pointed out in the comments, all of the differences are powers of 2.




EDIT 2: If it helps anyone, by plotting a graph on Mathematica, I was able to determine that the assertion is false, with a counter example at n=242, with f(242)=3072, f(241)=2816, and therefore f(242)f(241)=256, and as 256>242, the assertion is false. But how could I disprove the assertion mathematically, without a computer?


Answer



I'm going to expand on the idea given by Leslie Townes in the comment above. Build a tree rooted in 2 on the integers 2 with two types of edges:
2k3k2k3k+12k+13k+2
Then log2(f(n)f(n1)) (which happens to be an integer) is the number of in the path from 2 to n.



We want a path with many and few (specifically, more than log2n ). Because exactly one of 3k and 3k+1 is odd, there is a unique infinite path P starting from 2 avoiding consecutive . The density of in P is at least 1/2, and if it is higher than log23/2 we have succeeded.




I'm not sure if anything can be proven rigorously about the density of P (the problem reminds me a bit of the Collatz conjecture so it could be difficult): if you do please comment.



But experimentally the density seems to be 2/3>log23/2, so we are sure to find a counterexample that is a finite subpath of P and indeed:



23581320314771107161242



There are 8 before 242, and 242<28.


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...