We're dividing 40098548 by 103 
The aim is to understand the frequency of 103 in 40098548.

On to step 1:
The number 103 fits into 4 0 times, leaving a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 103

Moving on to step 2:
The number 103 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Fetch the next digit (0) from the dividend, attach it to 40 and continue: 400 / 103

Advancing to step 3:
When dividing 400 by 103, we get 3 with a remainder of 91.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we take 309 away from 400, we end up with 91.
Append the next digit (9) from the dividend to 91 and continue with: 919 / 103

Moving on to step 4:
The number 103 fits into 919 8 times, leaving a remainder of 95.
Write down 8 as next digit of the result. 
Result so far: 38.0
Deduct 824 from 919 and we're left with 95.
Append the next digit (8) from the dividend to 95 and continue with: 958 / 103

Advancing to step 5:
When dividing 958 by 103, we get 9 with a remainder of 31.
Put 9 as the next digit of the answer. 
Result so far: 389.0
If we take 927 away from 958, we end up with 31.
Fetch the next digit (5) from the dividend, attach it to 31 and continue: 315 / 103

Moving on to step 6:
When dividing 315 by 103, we get 3 with a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 3893.0
Deduct 309 from 315 and we're left with 6.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 103

Step 7:
103 goes into 64 0 times with a remainder of 64.
The next digit of our result is 0. 
Result so far: 38930.0
If we take 0 away from 64, we end up with 64.
Grab the next digit (8) from the dividend, add it to 64, then carry on: 648 / 103

On to step 8:
The number 103 fits into 648 6 times, leaving a remainder of 30.
Record the quotient 6 as the next digit in the result. 
Result so far: 389306.0
If we take 618 away from 648, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 9:
The number 103 fits into 300 2 times, leaving a remainder of 94.
Record the quotient 2 as the next digit in the result. 
Result so far: 389306.2
Deduct 206 from 300 and we're left with 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

Let's proceed to step 10:
940 divided by 103 is 9 with a remainder of 13.
Put 9 as the next digit of the answer. 
Result so far: 389306.29
Subtracting 927 from 940 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 11:
When dividing 130 by 103, we get 1 with a remainder of 27.
Put 1 as the next digit of the answer. 
Result so far: 389306.291
Subtract 103 from 130 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 12:
103 goes into 270 2 times with a remainder of 64.
Use 2 as the next digit of our solution. 
Result so far: 389306.2912
The remainder is 64 after subtracting 206 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Step 13:
If we divide 640 by 103, we get 6 and a remainder of 22.
Use 6 as the next digit of our solution. 
Result so far: 389306.29126
Subtract 618 from 640 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 14:
103 can be fit into 220 2 times, resulting in a remainder of 14.
Record the quotient 2 as the next digit in the result. 
Result so far: 389306.291262
Deduct 206 from 220 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 15:
When dividing 140 by 103, we get 1 with a remainder of 37.
Record the quotient 1 as the next digit in the result. 
Result so far: 389306.2912621
If we subtract 103 from 140, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Moving on to step 16:
If we divide 370 by 103, we get 3 and a remainder of 61.
Use 3 as the next digit of our solution. 
Result so far: 389306.29126213
Subtract 309 from 370 to get 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

The final result is 389306.29126213 with a remainder of 6.1e-08.