We're dividing 1512166 by 511 
The aim is to understand the frequency of 511 in 1512166.

Moving on to step 1:
1 divided by 511 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 511

Moving on to step 2:
If we divide 15 by 511, we get 0 and a remainder of 15.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 15 and we're left with 15.
Grab the next digit (1) from the dividend, add it to 15, then carry on: 151 / 511

Moving on to step 3:
When dividing 151 by 511, we get 0 with a remainder of 151.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 151 after subtracting 0 from 151.
Fetch the next digit (2) from the dividend, attach it to 151 and continue: 1512 / 511

Let's proceed to step 4:
1512 divided by 511 is 2 with a remainder of 490.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 1022 from 1512 and we're left with 490.
Include the next digit (1) from the dividend after 490, then repeat: 4901 / 511

On to step 5:
4901 divided by 511 is 9 with a remainder of 302.
The next digit of our result is 9. 
Result so far: 29.0
Subtract 4599 from 4901 to get 302.
Grab the next digit (6) from the dividend, add it to 302, then carry on: 3026 / 511

Let's proceed to step 6:
The number 511 fits into 3026 5 times, leaving a remainder of 471.
Record the quotient 5 as the next digit in the result. 
Result so far: 295.0
Subtracting 2555 from 3026 leaves us with 471.
Grab the next digit (6) from the dividend, add it to 471, then carry on: 4716 / 511

Advancing to step 7:
When dividing 4716 by 511, we get 9 with a remainder of 117.
Use 9 as the next digit of our solution. 
Result so far: 2959.0
Subtract 4599 from 4716 to get 117.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1170, and continue the process.

Let's proceed to step 8:
511 can be fit into 1170 2 times, resulting in a remainder of 148.
Write down 2 as next digit of the result. 
Result so far: 2959.2
If we subtract 1022 from 1170, we get 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

Going ahead to step 9:
If we divide 1480 by 511, we get 2 and a remainder of 458.
The next digit of our result is 2. 
Result so far: 2959.22
If we take 1022 away from 1480, we end up with 458.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4580, and continue the process.

The final result is 2959.22 with a remainder of 0.458.