We divide 40147581 by 629
The aim is to understand the frequency of 629 in 40147581.

Let's proceed to step 1:
When dividing 4 by 629, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 629

Moving on to step 2:
When dividing 40 by 629, we get 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Fetch the next digit (1) from the dividend, attach it to 40 and continue: 401 / 629

Going ahead to step 3:
629 goes into 401 0 times with a remainder of 401.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 401 leaves us with 401.
Take the next digit (4) from the dividend and append it to 401, then repeat: 4014 / 629

Advancing to step 4:
When dividing 4014 by 629, we get 6 with a remainder of 240.
Put 6 as the next digit of the answer. 
Result so far: 6.0
If we take 3774 away from 4014, we end up with 240.
Include the next digit (7) from the dividend after 240, then repeat: 2407 / 629

On to step 5:
The number 629 fits into 2407 3 times, leaving a remainder of 520.
Record the quotient 3 as the next digit in the result. 
Result so far: 63.0
If we subtract 1887 from 2407, we get 520.
Include the next digit (5) from the dividend after 520, then repeat: 5205 / 629

Going ahead to step 6:
The number 629 fits into 5205 8 times, leaving a remainder of 173.
Put 8 as the next digit of the answer. 
Result so far: 638.0
If we take 5032 away from 5205, we end up with 173.
Append the next digit (8) from the dividend to 173 and continue with: 1738 / 629

Moving on to step 7:
629 can be fit into 1738 2 times, resulting in a remainder of 480.
The number 2 becomes the next digit in our result. 
Result so far: 6382.0
Subtract 1258 from 1738 to get 480.
Include the next digit (1) from the dividend after 480, then repeat: 4801 / 629

Moving on to step 8:
If we divide 4801 by 629, we get 7 and a remainder of 398.
The number 7 becomes the next digit in our result. 
Result so far: 63827.0
If we take 4403 away from 4801, we end up with 398.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3980, and continue the process.

On to step 9:
If we divide 3980 by 629, we get 6 and a remainder of 206.
The next digit of our result is 6. 
Result so far: 63827.6
Subtracting 3774 from 3980 leaves us with 206.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

Going ahead to step 10:
2060 divided by 629 is 3 with a remainder of 173.
Use 3 as the next digit of our solution. 
Result so far: 63827.63
Subtract 1887 from 2060 to get 173.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1730, and continue the process.

On to step 11:
629 goes into 1730 2 times with a remainder of 472.
Write down 2 as next digit of the result. 
Result so far: 63827.632
Deduct 1258 from 1730 and we're left with 472.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

Going ahead to step 12:
If we divide 4720 by 629, we get 7 and a remainder of 317.
Use 7 as the next digit of our solution. 
Result so far: 63827.6327
The remainder is 317 after subtracting 4403 from 4720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3170, and continue the process.

Advancing to step 13:
If we divide 3170 by 629, we get 5 and a remainder of 25.
The next digit of our result is 5. 
Result so far: 63827.63275
Deduct 3145 from 3170 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

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

Advancing to step 15:
When dividing 2500 by 629, we get 3 with a remainder of 613.
The number 3 becomes the next digit in our result. 
Result so far: 63827.6327503
Subtracting 1887 from 2500 leaves us with 613.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6130, and continue the process.

Going ahead to step 16:
When dividing 6130 by 629, we get 9 with a remainder of 469.
Put 9 as the next digit of the answer. 
Result so far: 63827.63275039
Subtract 5661 from 6130 to get 469.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4690, and continue the process.

Our division results in 63827.63275039 with a remaining 4.69e-07.