5401861 divided by 629 
The aim is to understand the frequency of 629 in 5401861.

Going ahead to step 1:
629 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 629

On to step 2:
54 divided by 629 is 0 with a remainder of 54.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 54, we end up with 54.
Take the next digit (0) from the dividend and append it to 54, then repeat: 540 / 629

Step 3:
629 goes into 540 0 times with a remainder of 540.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 540 after subtracting 0 from 540.
Append the next digit (1) from the dividend to 540 and continue with: 5401 / 629

Step 4:
5401 divided by 629 is 8 with a remainder of 369.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
Subtracting 5032 from 5401 leaves us with 369.
Include the next digit (8) from the dividend after 369, then repeat: 3698 / 629

Step 5:
629 can be fit into 3698 5 times, resulting in a remainder of 553.
The next digit of our result is 5. 
Result so far: 85.0
Deduct 3145 from 3698 and we're left with 553.
Fetch the next digit (6) from the dividend, attach it to 553 and continue: 5536 / 629

Going ahead to step 6:
629 goes into 5536 8 times with a remainder of 504.
Write down 8 as next digit of the result. 
Result so far: 858.0
Deduct 5032 from 5536 and we're left with 504.
Take the next digit (1) from the dividend and append it to 504, then repeat: 5041 / 629

On to step 7:
629 can be fit into 5041 8 times, resulting in a remainder of 9.
Record the quotient 8 as the next digit in the result. 
Result so far: 8588.0
The remainder is 9 after subtracting 5032 from 5041.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 8:
If we divide 90 by 629, we get 0 and a remainder of 90.
Use 0 as the next digit of our solution. 
Result so far: 8588.0
If we take 0 away from 90, we end up with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Going ahead to step 9:
If we divide 900 by 629, we get 1 and a remainder of 271.
Record the quotient 1 as the next digit in the result. 
Result so far: 8588.01
If we subtract 629 from 900, we get 271.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2710, and continue the process.

Let's proceed to step 10:
2710 divided by 629 is 4 with a remainder of 194.
Put 4 as the next digit of the answer. 
Result so far: 8588.014
If we take 2516 away from 2710, we end up with 194.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1940, and continue the process.

Step 11:
If we divide 1940 by 629, we get 3 and a remainder of 53.
The number 3 becomes the next digit in our result. 
Result so far: 8588.0143
Deduct 1887 from 1940 and we're left with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Advancing to step 12:
The number 629 fits into 530 0 times, leaving a remainder of 530.
Put 0 as the next digit of the answer. 
Result so far: 8588.0143
If we take 0 away from 530, we end up with 530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5300, and continue the process.

Advancing to step 13:
When dividing 5300 by 629, we get 8 with a remainder of 268.
Put 8 as the next digit of the answer. 
Result so far: 8588.014308
The remainder is 268 after subtracting 5032 from 5300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

Step 14:
2680 divided by 629 is 4 with a remainder of 164.
Use 4 as the next digit of our solution. 
Result so far: 8588.0143084
Deduct 2516 from 2680 and we're left with 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

On to step 15:
The number 629 fits into 1640 2 times, leaving a remainder of 382.
Write down 2 as next digit of the result. 
Result so far: 8588.01430842
The remainder is 382 after subtracting 1258 from 1640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3820, and continue the process.

The final outcome is 8588.01430842, with a leftover of 3.82e-07.