(I've never posted on here before, so apologies for any formatting problems)
I had always noticed this property of the decimal form of $1/7$ ( $0.14285714...$ ) where the decimals went $14$ , then $28$ , then $57$ , which is almost exactly the formula $f(x)=7*2^x$ , starting with $f(1)$ - except for $57$ , which is $1$ more than $56$. However, if you add the next number in the series, $f(4)=112$ , to the tail end of $56$, then you get $57$ and are left with the second $1$ and the $2$ to add to the end of the decimal, which is exactly where the $71$ lands in the $.14285714...$ string of digits. If you keep doing this with the next number in the formula, $f(5)=224$ , and add to the end of $112$ , you get $2+2$ , which accounts the $4$ and the $2$ , and so on.
I continued this pattern and found that this process of adding digits together works all the way up to the $45th$ digit , which is where I stopped. Is this simply a coincidence or is there a reason for this to occur? And if there really is something behind this (which I'm sure there is, does anyone know why this happens? I would appreciate any attempt at solving this.
Work for said question (apologies if it's messy, I did this work in a cramped notebook lol) I know this seems very confusing, but if anyone needs me to clarify, I will do my best.