Let's divide 20149738 by 508
The aim is to understand the frequency of 508 in 20149738.

Moving on to step 1:
If we divide 2 by 508, we get 0 and a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Include the next digit (0) from the dividend after 2, then repeat: 20 / 508

Let's proceed to step 2:
When dividing 20 by 508, we get 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 20 and we're left with 20.
Bring next digit (1) of the dividend behind the 20 and repeat the process: 201 / 508

Let's proceed to step 3:
508 goes into 201 0 times with a remainder of 201.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 201, we get 201.
Fetch the next digit (4) from the dividend, attach it to 201 and continue: 2014 / 508

Advancing to step 4:
The number 508 fits into 2014 3 times, leaving a remainder of 490.
The next digit of our result is 3. 
Result so far: 3.0
If we subtract 1524 from 2014, we get 490.
Append the next digit (9) from the dividend to 490 and continue with: 4909 / 508

Going ahead to step 5:
If we divide 4909 by 508, we get 9 and a remainder of 337.
Use 9 as the next digit of our solution. 
Result so far: 39.0
If we subtract 4572 from 4909, we get 337.
Grab the next digit (7) from the dividend, add it to 337, then carry on: 3377 / 508

Going ahead to step 6:
When dividing 3377 by 508, we get 6 with a remainder of 329.
Put 6 as the next digit of the answer. 
Result so far: 396.0
If we subtract 3048 from 3377, we get 329.
Bring next digit (3) of the dividend behind the 329 and repeat the process: 3293 / 508

Advancing to step 7:
When dividing 3293 by 508, we get 6 with a remainder of 245.
The next digit of our result is 6. 
Result so far: 3966.0
Subtracting 3048 from 3293 leaves us with 245.
Grab the next digit (8) from the dividend, add it to 245, then carry on: 2458 / 508

Let's proceed to step 8:
508 can be fit into 2458 4 times, resulting in a remainder of 426.
Record the quotient 4 as the next digit in the result. 
Result so far: 39664.0
Deduct 2032 from 2458 and we're left with 426.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4260, and continue the process.

On to step 9:
When dividing 4260 by 508, we get 8 with a remainder of 196.
Put 8 as the next digit of the answer. 
Result so far: 39664.8
If we subtract 4064 from 4260, we get 196.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1960, and continue the process.

Moving on to step 10:
If we divide 1960 by 508, we get 3 and a remainder of 436.
Record the quotient 3 as the next digit in the result. 
Result so far: 39664.83
Subtract 1524 from 1960 to get 436.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4360, and continue the process.

Step 11:
The number 508 fits into 4360 8 times, leaving a remainder of 296.
Use 8 as the next digit of our solution. 
Result so far: 39664.838
The remainder is 296 after subtracting 4064 from 4360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

Moving on to step 12:
508 can be fit into 2960 5 times, resulting in a remainder of 420.
Record the quotient 5 as the next digit in the result. 
Result so far: 39664.8385
Subtracting 2540 from 2960 leaves us with 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4200, and continue the process.

Advancing to step 13:
508 goes into 4200 8 times with a remainder of 136.
The number 8 becomes the next digit in our result. 
Result so far: 39664.83858
If we take 4064 away from 4200, we end up with 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

Let's proceed to step 14:
The number 508 fits into 1360 2 times, leaving a remainder of 344.
Record the quotient 2 as the next digit in the result. 
Result so far: 39664.838582
Subtracting 1016 from 1360 leaves us with 344.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3440, and continue the process.

Let's proceed to step 15:
When dividing 3440 by 508, we get 6 with a remainder of 392.
The number 6 becomes the next digit in our result. 
Result so far: 39664.8385826
The remainder is 392 after subtracting 3048 from 3440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3920, and continue the process.

Step 16:
508 can be fit into 3920 7 times, resulting in a remainder of 364.
The next digit of our result is 7. 
Result so far: 39664.83858267
Subtract 3556 from 3920 to get 364.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3640, and continue the process.

The quotient of the division is 39664.83858267, and the remainder is 3.64e-07.