We're dividing 86220957 by 506 
The aim is to understand the frequency of 506 in 86220957.

Going ahead to step 1:
If we divide 8 by 506, we get 0 and a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Fetch the next digit (6) from the dividend, attach it to 8 and continue: 86 / 506

On to step 2:
When dividing 86 by 506, we get 0 with a remainder of 86.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 86 after subtracting 0 from 86.
Bring next digit (2) of the dividend behind the 86 and repeat the process: 862 / 506

Step 3:
When dividing 862 by 506, we get 1 with a remainder of 356.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 506 from 862 leaves us with 356.
Take the next digit (2) from the dividend and append it to 356, then repeat: 3562 / 506

Step 4:
506 goes into 3562 7 times with a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 17.0
If we take 3542 away from 3562, we end up with 20.
Fetch the next digit (0) from the dividend, attach it to 20 and continue: 200 / 506

Moving on to step 5:
200 divided by 506 is 0 with a remainder of 200.
Record the quotient 0 as the next digit in the result. 
Result so far: 170.0
The remainder is 200 after subtracting 0 from 200.
Include the next digit (9) from the dividend after 200, then repeat: 2009 / 506

Moving on to step 6:
The number 506 fits into 2009 3 times, leaving a remainder of 491.
Put 3 as the next digit of the answer. 
Result so far: 1703.0
The remainder is 491 after subtracting 1518 from 2009.
Append the next digit (5) from the dividend to 491 and continue with: 4915 / 506

Step 7:
If we divide 4915 by 506, we get 9 and a remainder of 361.
Put 9 as the next digit of the answer. 
Result so far: 17039.0
If we take 4554 away from 4915, we end up with 361.
Fetch the next digit (7) from the dividend, attach it to 361 and continue: 3617 / 506

Let's proceed to step 8:
When dividing 3617 by 506, we get 7 with a remainder of 75.
The number 7 becomes the next digit in our result. 
Result so far: 170397.0
Subtract 3542 from 3617 to get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Moving on to step 9:
When dividing 750 by 506, we get 1 with a remainder of 244.
The next digit of our result is 1. 
Result so far: 170397.1
If we take 506 away from 750, we end up with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

Moving on to step 10:
When dividing 2440 by 506, we get 4 with a remainder of 416.
The number 4 becomes the next digit in our result. 
Result so far: 170397.14
Subtracting 2024 from 2440 leaves us with 416.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4160, and continue the process.

Going ahead to step 11:
The number 506 fits into 4160 8 times, leaving a remainder of 112.
Write down 8 as next digit of the result. 
Result so far: 170397.148
If we subtract 4048 from 4160, we get 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

On to step 12:
506 can be fit into 1120 2 times, resulting in a remainder of 108.
The next digit of our result is 2. 
Result so far: 170397.1482
The remainder is 108 after subtracting 1012 from 1120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Step 13:
506 goes into 1080 2 times with a remainder of 68.
Record the quotient 2 as the next digit in the result. 
Result so far: 170397.14822
Deduct 1012 from 1080 and we're left with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Our division results in 170397.14822 with a remaining 6.8e-05.