We divide 21836181 by 507
The aim is to understand the frequency of 507 in 21836181.

Going ahead to step 1:
The number 507 fits into 2 0 times, leaving a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 507

Let's proceed to step 2:
If we divide 21 by 507, we get 0 and a remainder of 21.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 21, we end up with 21.
Grab the next digit (8) from the dividend, add it to 21, then carry on: 218 / 507

Moving on to step 3:
507 can be fit into 218 0 times, resulting in a remainder of 218.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 218, we end up with 218.
Take the next digit (3) from the dividend and append it to 218, then repeat: 2183 / 507

On to step 4:
When dividing 2183 by 507, we get 4 with a remainder of 155.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtracting 2028 from 2183 leaves us with 155.
Grab the next digit (6) from the dividend, add it to 155, then carry on: 1556 / 507

Advancing to step 5:
507 goes into 1556 3 times with a remainder of 35.
Record the quotient 3 as the next digit in the result. 
Result so far: 43.0
If we subtract 1521 from 1556, we get 35.
Take the next digit (1) from the dividend and append it to 35, then repeat: 351 / 507

On to step 6:
The number 507 fits into 351 0 times, leaving a remainder of 351.
Use 0 as the next digit of our solution. 
Result so far: 430.0
If we take 0 away from 351, we end up with 351.
Take the next digit (8) from the dividend and append it to 351, then repeat: 3518 / 507

Going ahead to step 7:
3518 divided by 507 is 6 with a remainder of 476.
Record the quotient 6 as the next digit in the result. 
Result so far: 4306.0
The remainder is 476 after subtracting 3042 from 3518.
Grab the next digit (1) from the dividend, add it to 476, then carry on: 4761 / 507

Step 8:
The number 507 fits into 4761 9 times, leaving a remainder of 198.
The next digit of our result is 9. 
Result so far: 43069.0
If we take 4563 away from 4761, we end up with 198.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1980, and continue the process.

Going ahead to step 9:
507 can be fit into 1980 3 times, resulting in a remainder of 459.
Use 3 as the next digit of our solution. 
Result so far: 43069.3
If we subtract 1521 from 1980, we get 459.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4590, and continue the process.

Going ahead to step 10:
507 can be fit into 4590 9 times, resulting in a remainder of 27.
Write down 9 as next digit of the result. 
Result so far: 43069.39
If we subtract 4563 from 4590, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 11:
507 can be fit into 270 0 times, resulting in a remainder of 270.
Record the quotient 0 as the next digit in the result. 
Result so far: 43069.39
If we subtract 0 from 270, we get 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Advancing to step 12:
If we divide 2700 by 507, we get 5 and a remainder of 165.
Record the quotient 5 as the next digit in the result. 
Result so far: 43069.3905
If we subtract 2535 from 2700, we get 165.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1650, and continue the process.

Going ahead to step 13:
The number 507 fits into 1650 3 times, leaving a remainder of 129.
Put 3 as the next digit of the answer. 
Result so far: 43069.39053
Subtracting 1521 from 1650 leaves us with 129.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1290, and continue the process.

Going ahead to step 14:
1290 divided by 507 is 2 with a remainder of 276.
Write down 2 as next digit of the result. 
Result so far: 43069.390532
If we subtract 1014 from 1290, we 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.

Moving on to step 15:
2760 divided by 507 is 5 with a remainder of 225.
Record the quotient 5 as the next digit in the result. 
Result so far: 43069.3905325
If we subtract 2535 from 2760, we get 225.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2250, and continue the process.

On to step 16:
The number 507 fits into 2250 4 times, leaving a remainder of 222.
Use 4 as the next digit of our solution. 
Result so far: 43069.39053254
Subtract 2028 from 2250 to get 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

After the division, we end up with 43069.39053254 and a remainder of 2.22e-07.