40964904 divided by 30 
The aim is to understand the frequency of 30 in 40964904.

Moving on to step 1:
4 divided by 30 is 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 30

Going ahead to step 2:
30 goes into 40 1 times with a remainder of 10.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 30 from 40 leaves us with 10.
Bring next digit (9) of the dividend behind the 10 and repeat the process: 109 / 30

Advancing to step 3:
30 goes into 109 3 times with a remainder of 19.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
If we take 90 away from 109, we end up with 19.
Append the next digit (6) from the dividend to 19 and continue with: 196 / 30

Let's proceed to step 4:
196 divided by 30 is 6 with a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 136.0
If we subtract 180 from 196, we get 16.
Bring next digit (4) of the dividend behind the 16 and repeat the process: 164 / 30

Going ahead to step 5:
The number 30 fits into 164 5 times, leaving a remainder of 14.
Use 5 as the next digit of our solution. 
Result so far: 1365.0
If we take 150 away from 164, we end up with 14.
Bring next digit (9) of the dividend behind the 14 and repeat the process: 149 / 30

Going ahead to step 6:
30 can be fit into 149 4 times, resulting in a remainder of 29.
Put 4 as the next digit of the answer. 
Result so far: 13654.0
Subtracting 120 from 149 leaves us with 29.
Fetch the next digit (0) from the dividend, attach it to 29 and continue: 290 / 30

Moving on to step 7:
If we divide 290 by 30, we get 9 and a remainder of 20.
Write down 9 as next digit of the result. 
Result so far: 136549.0
If we subtract 270 from 290, we get 20.
Append the next digit (4) from the dividend to 20 and continue with: 204 / 30

Going ahead to step 8:
If we divide 204 by 30, we get 6 and a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 1365496.0
Subtracting 180 from 204 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 9:
30 goes into 240 8 times with a remainder of 0.
The next digit of our result is 8. 
Result so far: 1365496.8
If we subtract 240 from 240, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 10:
0 divided by 30 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 1365496.8
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 11:
If we divide 0 by 30, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 1365496.8
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 1365496.8, and the remainder is 0.0.