So here is my question:
Is there an algorithm that generates a pattern, in which when comparing each subsequent number, every number is a rounded version of the previous number, rounded down 1 place-value.
For example, the pattern generated from this algorithm could be:
1848 185 19 2
Every number after the first number in the pattern is a rounded form of the previous number.
My research online has held no results to such an algorithm that can generate a series of number like this. Do any of you possibly know?
In response to a mistake on my question, I am seeking an algorithm in which the numbers generated don't have to be floored. Or modified after being generated.
Optimally the algorithm I am seeking should generate the numbers already in integer form.