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

Advancing to step 1:
If we divide 9 by 507, we get 0 and a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Bring next digit (8) of the dividend behind the 9 and repeat the process: 98 / 507

Step 2:
The number 507 fits into 98 0 times, leaving a remainder of 98.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 98 to get 98.
Grab the next digit (9) from the dividend, add it to 98, then carry on: 989 / 507

Step 3:
507 can be fit into 989 1 times, resulting in a remainder of 482.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 507 from 989 leaves us with 482.
Append the next digit (5) from the dividend to 482 and continue with: 4825 / 507

Let's proceed to step 4:
507 goes into 4825 9 times with a remainder of 262.
Use 9 as the next digit of our solution. 
Result so far: 19.0
Subtracting 4563 from 4825 leaves us with 262.
Fetch the next digit (9) from the dividend, attach it to 262 and continue: 2629 / 507

On to step 5:
507 goes into 2629 5 times with a remainder of 94.
The next digit of our result is 5. 
Result so far: 195.0
The remainder is 94 after subtracting 2535 from 2629.
Grab the next digit (8) from the dividend, add it to 94, then carry on: 948 / 507

Step 6:
The number 507 fits into 948 1 times, leaving a remainder of 441.
The number 1 becomes the next digit in our result. 
Result so far: 1951.0
Subtracting 507 from 948 leaves us with 441.
Fetch the next digit (2) from the dividend, attach it to 441 and continue: 4412 / 507

On to step 7:
507 goes into 4412 8 times with a remainder of 356.
The next digit of our result is 8. 
Result so far: 19518.0
The remainder is 356 after subtracting 4056 from 4412.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

On to step 8:
When dividing 3560 by 507, we get 7 with a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 19518.7
If we take 3549 away from 3560, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 9:
When dividing 110 by 507, we get 0 with a remainder of 110.
Write down 0 as next digit of the result. 
Result so far: 19518.7
Subtract 0 from 110 to 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 10:
If we divide 1100 by 507, we get 2 and a remainder of 86.
Use 2 as the next digit of our solution. 
Result so far: 19518.702
The remainder is 86 after subtracting 1014 from 1100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

On to step 11:
If we divide 860 by 507, we get 1 and a remainder of 353.
Put 1 as the next digit of the answer. 
Result so far: 19518.7021
If we subtract 507 from 860, we get 353.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3530, and continue the process.

Moving on to step 12:
3530 divided by 507 is 6 with a remainder of 488.
Put 6 as the next digit of the answer. 
Result so far: 19518.70216
Deduct 3042 from 3530 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 13:
507 goes into 4880 9 times with a remainder of 317.
Write down 9 as next digit of the result. 
Result so far: 19518.702169
The remainder is 317 after subtracting 4563 from 4880.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3170, and continue the process.

Moving on to step 14:
When dividing 3170 by 507, we get 6 with a remainder of 128.
Write down 6 as next digit of the result. 
Result so far: 19518.7021696
Subtract 3042 from 3170 to get 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Moving on to step 15:
507 can be fit into 1280 2 times, resulting in a remainder of 266.
Use 2 as the next digit of our solution. 
Result so far: 19518.70216962
Subtract 1014 from 1280 to get 266.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2660, and continue the process.

Our division results in 19518.70216962 with a remaining 2.66e-07.