We're dividing 31222186 by 508 
The aim is to understand the frequency of 508 in 31222186.

Step 1:
508 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 508

On to step 2:
When dividing 31 by 508, we get 0 with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Fetch the next digit (2) from the dividend, attach it to 31 and continue: 312 / 508

Advancing to step 3:
The number 508 fits into 312 0 times, leaving a remainder of 312.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 312 leaves us with 312.
Include the next digit (2) from the dividend after 312, then repeat: 3122 / 508

Let's proceed to step 4:
508 can be fit into 3122 6 times, resulting in a remainder of 74.
The next digit of our result is 6. 
Result so far: 6.0
Subtracting 3048 from 3122 leaves us with 74.
Append the next digit (2) from the dividend to 74 and continue with: 742 / 508

Going ahead to step 5:
508 can be fit into 742 1 times, resulting in a remainder of 234.
Write down 1 as next digit of the result. 
Result so far: 61.0
Deduct 508 from 742 and we're left with 234.
Append the next digit (1) from the dividend to 234 and continue with: 2341 / 508

Step 6:
508 can be fit into 2341 4 times, resulting in a remainder of 309.
The number 4 becomes the next digit in our result. 
Result so far: 614.0
Subtracting 2032 from 2341 leaves us with 309.
Grab the next digit (8) from the dividend, add it to 309, then carry on: 3098 / 508

Going ahead to step 7:
The number 508 fits into 3098 6 times, leaving a remainder of 50.
Record the quotient 6 as the next digit in the result. 
Result so far: 6146.0
Subtract 3048 from 3098 to get 50.
Bring next digit (6) of the dividend behind the 50 and repeat the process: 506 / 508

Moving on to step 8:
If we divide 506 by 508, we get 0 and a remainder of 506.
Use 0 as the next digit of our solution. 
Result so far: 61460.0
Subtracting 0 from 506 leaves us with 506.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5060, and continue the process.

On to step 9:
508 goes into 5060 9 times with a remainder of 488.
Put 9 as the next digit of the answer. 
Result so far: 61460.9
Deduct 4572 from 5060 and we're left with 488.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4880, and continue the process.

Step 10:
508 can be fit into 4880 9 times, resulting in a remainder of 308.
Record the quotient 9 as the next digit in the result. 
Result so far: 61460.99
Deduct 4572 from 4880 and we're left with 308.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3080, and continue the process.

The final outcome is 61460.99, with a leftover of 0.308.