Arnaldo and Bernaldo play a game where they alternate saying natural numbers, and the winner is the one who says 0. In each turn except the first the possible moves are determined from the previous number n in the following way: write
n=m∈On∑2m;
the valid numbers are the elements m of On. That way, for example, after Arnaldo says 42=25+23+21, Bernaldo must respond with 5, 3 or 1.We define the sets A,B⊂N in the following way. We have n∈A iff Arnaldo, saying n in his first turn, has a winning strategy; analogously, we have n∈B iff Bernaldo has a winning strategy if Arnaldo says n during his first turn. This way,
A={0,2,8,10,⋯},B={1,3,4,5,6,7,9,⋯}
Define f:N→N by f(n)=∣A∩{0,1,⋯,n−1}∣. For example, f(8)=2 and f(11)=4.
Find
n→∞limnf(n)log(n)2005 limitcombinatorics unsolvedcombinatorics