405851 divided by 507 
The aim is to understand the frequency of 507 in 405851.

Advancing to step 1:
The number 507 fits into 4 0 times, leaving a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 507

Step 2:
When dividing 40 by 507, we get 0 with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Fetch the next digit (5) from the dividend, attach it to 40 and continue: 405 / 507

Moving on to step 3:
When dividing 405 by 507, we get 0 with a remainder of 405.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 405, we get 405.
Include the next digit (8) from the dividend after 405, then repeat: 4058 / 507

On to step 4:
When dividing 4058 by 507, we get 8 with a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 8.0
Subtract 4056 from 4058 to get 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 507

Moving on to step 5:
25 divided by 507 is 0 with a remainder of 25.
Use 0 as the next digit of our solution. 
Result so far: 80.0
If we subtract 0 from 25, we get 25.
Include the next digit (1) from the dividend after 25, then repeat: 251 / 507

Step 6:
If we divide 251 by 507, we get 0 and a remainder of 251.
The number 0 becomes the next digit in our result. 
Result so far: 800.0
Deduct 0 from 251 and we're left with 251.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2510, and continue the process.

Advancing to step 7:
If we divide 2510 by 507, we get 4 and a remainder of 482.
The number 4 becomes the next digit in our result. 
Result so far: 800.4
Subtract 2028 from 2510 to get 482.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4820, and continue the process.

Step 8:
When dividing 4820 by 507, we get 9 with a remainder of 257.
The number 9 becomes the next digit in our result. 
Result so far: 800.49
The remainder is 257 after subtracting 4563 from 4820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2570, and continue the process.

Going ahead to step 9:
507 goes into 2570 5 times with a remainder of 35.
The next digit of our result is 5. 
Result so far: 800.495
Deduct 2535 from 2570 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 10:
350 divided by 507 is 0 with a remainder of 350.
Record the quotient 0 as the next digit in the result. 
Result so far: 800.495
If we take 0 away from 350, we end up with 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3500, and continue the process.

Going ahead to step 11:
When dividing 3500 by 507, we get 6 with a remainder of 458.
The number 6 becomes the next digit in our result. 
Result so far: 800.49506
If we take 3042 away from 3500, we end up with 458.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4580, and continue the process.

Advancing to step 12:
507 goes into 4580 9 times with a remainder of 17.
Use 9 as the next digit of our solution. 
Result so far: 800.495069
Deduct 4563 from 4580 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 13:
507 can be fit into 170 0 times, resulting in a remainder of 170.
The next digit of our result is 0. 
Result so far: 800.495069
If we subtract 0 from 170, we get 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Moving on to step 14:
When dividing 1700 by 507, we get 3 with a remainder of 179.
The next digit of our result is 3. 
Result so far: 800.49506903
Subtract 1521 from 1700 to get 179.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1790, and continue the process.

Our division results in 800.49506903 with a remaining 1.79e-07.