We look at the division of 82230070 by 508 
The aim is to understand the frequency of 508 in 82230070.

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

Let's proceed to step 2:
508 goes into 82 0 times with a remainder of 82.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 82 to get 82.
Fetch the next digit (2) from the dividend, attach it to 82 and continue: 822 / 508

Step 3:
508 goes into 822 1 times with a remainder of 314.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 508 from 822 and we're left with 314.
Take the next digit (3) from the dividend and append it to 314, then repeat: 3143 / 508

On to step 4:
The number 508 fits into 3143 6 times, leaving a remainder of 95.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
Subtracting 3048 from 3143 leaves us with 95.
Fetch the next digit (0) from the dividend, attach it to 95 and continue: 950 / 508

On to step 5:
950 divided by 508 is 1 with a remainder of 442.
Put 1 as the next digit of the answer. 
Result so far: 161.0
The remainder is 442 after subtracting 508 from 950.
Grab the next digit (0) from the dividend, add it to 442, then carry on: 4420 / 508

Advancing to step 6:
When dividing 4420 by 508, we get 8 with a remainder of 356.
The next digit of our result is 8. 
Result so far: 1618.0
If we take 4064 away from 4420, we end up with 356.
Grab the next digit (7) from the dividend, add it to 356, then carry on: 3567 / 508

Step 7:
3567 divided by 508 is 7 with a remainder of 11.
The next digit of our result is 7. 
Result so far: 16187.0
The remainder is 11 after subtracting 3556 from 3567.
Fetch the next digit (0) from the dividend, attach it to 11 and continue: 110 / 508

Moving on to step 8:
If we divide 110 by 508, we get 0 and a remainder of 110.
Record the quotient 0 as the next digit in the result. 
Result so far: 161870.0
If we subtract 0 from 110, we get 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Let's proceed to step 9:
The number 508 fits into 1100 2 times, leaving a remainder of 84.
Use 2 as the next digit of our solution. 
Result so far: 161870.2
Deduct 1016 from 1100 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Going ahead to step 10:
The number 508 fits into 840 1 times, leaving a remainder of 332.
Put 1 as the next digit of the answer. 
Result so far: 161870.21
Subtract 508 from 840 to get 332.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3320, and continue the process.

Advancing to step 11:
If we divide 3320 by 508, we get 6 and a remainder of 272.
Use 6 as the next digit of our solution. 
Result so far: 161870.216
If we take 3048 away from 3320, we end up with 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Advancing to step 12:
When dividing 2720 by 508, we get 5 with a remainder of 180.
Use 5 as the next digit of our solution. 
Result so far: 161870.2165
Subtracting 2540 from 2720 leaves us with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Let's proceed to step 13:
If we divide 1800 by 508, we get 3 and a remainder of 276.
Record the quotient 3 as the next digit in the result. 
Result so far: 161870.21653
Subtract 1524 from 1800 to get 276.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2760, and continue the process.

Step 14:
2760 divided by 508 is 5 with a remainder of 220.
Use 5 as the next digit of our solution. 
Result so far: 161870.216535
If we subtract 2540 from 2760, we get 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Advancing to step 15:
508 can be fit into 2200 4 times, resulting in a remainder of 168.
Use 4 as the next digit of our solution. 
Result so far: 161870.2165354
Subtracting 2032 from 2200 leaves us with 168.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1680, and continue the process.

Step 16:
1680 divided by 508 is 3 with a remainder of 156.
Write down 3 as next digit of the result. 
Result so far: 161870.21653543
Deduct 1524 from 1680 and we're left with 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Our division results in 161870.21653543 with a remaining 1.56e-07.