We look at the division of 40358103 by 812 
The aim is to understand the frequency of 812 in 40358103.

Let's proceed to step 1:
812 can be fit into 4 0 times, resulting in a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 812

On to step 2:
When dividing 40 by 812, we get 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Append the next digit (3) from the dividend to 40 and continue with: 403 / 812

Advancing to step 3:
When dividing 403 by 812, we get 0 with a remainder of 403.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 403 to get 403.
Include the next digit (5) from the dividend after 403, then repeat: 4035 / 812

Step 4:
812 goes into 4035 4 times with a remainder of 787.
Use 4 as the next digit of our solution. 
Result so far: 4.0
The remainder is 787 after subtracting 3248 from 4035.
Take the next digit (8) from the dividend and append it to 787, then repeat: 7878 / 812

Let's proceed to step 5:
If we divide 7878 by 812, we get 9 and a remainder of 570.
Put 9 as the next digit of the answer. 
Result so far: 49.0
Subtracting 7308 from 7878 leaves us with 570.
Append the next digit (1) from the dividend to 570 and continue with: 5701 / 812

Advancing to step 6:
If we divide 5701 by 812, we get 7 and a remainder of 17.
Put 7 as the next digit of the answer. 
Result so far: 497.0
Subtract 5684 from 5701 to get 17.
Include the next digit (0) from the dividend after 17, then repeat: 170 / 812

Let's proceed to step 7:
The number 812 fits into 170 0 times, leaving a remainder of 170.
Record the quotient 0 as the next digit in the result. 
Result so far: 4970.0
If we subtract 0 from 170, we get 170.
Take the next digit (3) from the dividend and append it to 170, then repeat: 1703 / 812

On to step 8:
If we divide 1703 by 812, we get 2 and a remainder of 79.
The number 2 becomes the next digit in our result. 
Result so far: 49702.0
Subtract 1624 from 1703 to get 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Moving on to step 9:
The number 812 fits into 790 0 times, leaving a remainder of 790.
Put 0 as the next digit of the answer. 
Result so far: 49702.0
Deduct 0 from 790 and we're left with 790.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7900, and continue the process.

Going ahead to step 10:
7900 divided by 812 is 9 with a remainder of 592.
Write down 9 as next digit of the result. 
Result so far: 49702.09
If we subtract 7308 from 7900, we get 592.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5920, and continue the process.

Let's proceed to step 11:
812 can be fit into 5920 7 times, resulting in a remainder of 236.
Use 7 as the next digit of our solution. 
Result so far: 49702.097
Deduct 5684 from 5920 and we're left with 236.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2360, and continue the process.

Advancing to step 12:
If we divide 2360 by 812, we get 2 and a remainder of 736.
Use 2 as the next digit of our solution. 
Result so far: 49702.0972
If we subtract 1624 from 2360, we get 736.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7360, and continue the process.

Step 13:
812 goes into 7360 9 times with a remainder of 52.
Record the quotient 9 as the next digit in the result. 
Result so far: 49702.09729
If we subtract 7308 from 7360, we get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

On to step 14:
812 can be fit into 520 0 times, resulting in a remainder of 520.
Write down 0 as next digit of the result. 
Result so far: 49702.09729
Subtract 0 from 520 to get 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5200, and continue the process.

Advancing to step 15:
812 can be fit into 5200 6 times, resulting in a remainder of 328.
Record the quotient 6 as the next digit in the result. 
Result so far: 49702.0972906
Subtracting 4872 from 5200 leaves us with 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

On to step 16:
812 can be fit into 3280 4 times, resulting in a remainder of 32.
The next digit of our result is 4. 
Result so far: 49702.09729064
Subtracting 3248 from 3280 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

The final result is 49702.09729064 with a remainder of 3.2e-08.