Let's divide 40995964 by 978
The aim is to understand the frequency of 978 in 40995964.

Step 1:
The number 978 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
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 / 978

Step 2:
978 can be fit into 40 0 times, resulting in a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Fetch the next digit (9) from the dividend, attach it to 40 and continue: 409 / 978

Moving on to step 3:
409 divided by 978 is 0 with a remainder of 409.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 409, we end up with 409.
Bring next digit (9) of the dividend behind the 409 and repeat the process: 4099 / 978

Moving on to step 4:
The number 978 fits into 4099 4 times, leaving a remainder of 187.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtracting 3912 from 4099 leaves us with 187.
Take the next digit (5) from the dividend and append it to 187, then repeat: 1875 / 978

Let's proceed to step 5:
If we divide 1875 by 978, we get 1 and a remainder of 897.
Record the quotient 1 as the next digit in the result. 
Result so far: 41.0
Subtract 978 from 1875 to get 897.
Include the next digit (9) from the dividend after 897, then repeat: 8979 / 978

On to step 6:
The number 978 fits into 8979 9 times, leaving a remainder of 177.
Put 9 as the next digit of the answer. 
Result so far: 419.0
If we subtract 8802 from 8979, we get 177.
Take the next digit (6) from the dividend and append it to 177, then repeat: 1776 / 978

Moving on to step 7:
The number 978 fits into 1776 1 times, leaving a remainder of 798.
Record the quotient 1 as the next digit in the result. 
Result so far: 4191.0
If we take 978 away from 1776, we end up with 798.
Append the next digit (4) from the dividend to 798 and continue with: 7984 / 978

On to step 8:
The number 978 fits into 7984 8 times, leaving a remainder of 160.
Use 8 as the next digit of our solution. 
Result so far: 41918.0
If we subtract 7824 from 7984, we get 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Going ahead to step 9:
The number 978 fits into 1600 1 times, leaving a remainder of 622.
Put 1 as the next digit of the answer. 
Result so far: 41918.1
If we subtract 978 from 1600, we get 622.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6220, and continue the process.

Going ahead to step 10:
978 goes into 6220 6 times with a remainder of 352.
The number 6 becomes the next digit in our result. 
Result so far: 41918.16
Deduct 5868 from 6220 and we're left with 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Step 11:
If we divide 3520 by 978, we get 3 and a remainder of 586.
Put 3 as the next digit of the answer. 
Result so far: 41918.163
Subtracting 2934 from 3520 leaves us with 586.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5860, and continue the process.

Moving on to step 12:
978 goes into 5860 5 times with a remainder of 970.
Write down 5 as next digit of the result. 
Result so far: 41918.1635
If we subtract 4890 from 5860, we get 970.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9700, and continue the process.

Step 13:
978 can be fit into 9700 9 times, resulting in a remainder of 898.
The next digit of our result is 9. 
Result so far: 41918.16359
Deduct 8802 from 9700 and we're left with 898.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8980, and continue the process.

Moving on to step 14:
978 goes into 8980 9 times with a remainder of 178.
Put 9 as the next digit of the answer. 
Result so far: 41918.163599
The remainder is 178 after subtracting 8802 from 8980.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

The final outcome is 41918.163599, with a leftover of 1.78e-05.