I am looking for a non measurable set. I found a set I am almost sure it is not measurable, but am unable to prove it. First we define $f:[0,1]\to [0,9]$ by $$f(0.a_1a_2a_3...)=\begin{cases}\lim_{n\to\infty}(1/n\sum_{i=1}^n a_i) &\text{if the limit exists } \\0 &\text{if the limit does not exist}\end{cases}$$ That means $f$ gives the mean value of the decimals, for example $f(1/3)=3$ and $ f(1/7)=4.5$ Remark: if a number has 2 decimal representations ($0.2$ and $0.1999...$) we define $f(x)=0$ to avoid problems.
Now we define $$A=\{x\in[0,1]:f(x)=4.5\}$$ I am convinced that both $A$ and $A^c$ have an outer measure of $1$, and thus are not measurable, but I can't prove it. Here is what makes me believe their exterior measure is $1$:
For $A$:
-$A$ is uncountable (necessary for a non zero measure)
-$A$ is dense (necessary for an outer measure of $1$) proof: we can take the first n decimals as we want, and make the limit converge to 4.5 by alternating 4's and 5's (for example to find a number in $A$ between 0.2 and 0.201 we can take 0.20454545...)
-We can chose half of the decimals (that means $a_1,a_3,...$) of a number as we wish, and then chose the others to make sure the number is in $A$. This implies $A$ is uncountable, but is much stronger. Proof: simply make $a_{2k}+a_{2k+1}=9$
-If we take a number randomly (that means by choosing $a_1,a_2,...$ randomly), we have a probability of $1$ that this number is in $A$, which means "almost all the numbers" are in $A$.
For $A^c$:
-$A^c$ is uncountable
-$A^c$ is dense. Proof: the numbers with a finite decimal representation are dense in $[0,1]$ and not in $A$
-We can chose any non 1 proportion of the decimals as we wish and still make sure the number is not in $A$. For example, we can set all the decimals $a_k$ such that $k\neq 0$ mod n, and change only the decimals $a_k$ such that $k=0$ mod n, and make sure the number is not in $A$. This means you can chose "almost all the decimals" as you wish, and $A^c$ must be "very big". Proof: set all decimals you are allowed to modify to $0$. If the number is not in $A$, you are done. If the number is in $A$, set all the decimals you can modify to $1$. As this proportion was not $0$, you have increased $f(x)$, thus it is no longer equal to $4.5$, and the number is not in $A$.
That are all properties of $A$ and $A^c$ that may be important for the outer measure I was able to find. For approximations of the outer measure, I only have the trivial properties that they are at most $1$, and their sum is at least $1$.
Can anyone prove or disprove the fact $A$ is measurable? Or can someone find a better upper/lower bound for the outer measures of $A$ and $A^c$?
Thank you for your help, and if you don't understand my notations or claims, feel free to ask, I know it may not all be very clear.