Let's divide 40030735 by 368
The aim is to understand the frequency of 368 in 40030735.

Step 1:
When dividing 4 by 368, we get 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 368

On to step 2:
When dividing 40 by 368, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Grab the next digit (0) from the dividend, add it to 40, then carry on: 400 / 368

On to step 3:
368 can be fit into 400 1 times, resulting in a remainder of 32.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 368 from 400, we get 32.
Grab the next digit (3) from the dividend, add it to 32, then carry on: 323 / 368

Advancing to step 4:
368 can be fit into 323 0 times, resulting in a remainder of 323.
Put 0 as the next digit of the answer. 
Result so far: 10.0
The remainder is 323 after subtracting 0 from 323.
Take the next digit (0) from the dividend and append it to 323, then repeat: 3230 / 368

Going ahead to step 5:
368 can be fit into 3230 8 times, resulting in a remainder of 286.
The next digit of our result is 8. 
Result so far: 108.0
If we subtract 2944 from 3230, we get 286.
Append the next digit (7) from the dividend to 286 and continue with: 2867 / 368

Let's proceed to step 6:
368 goes into 2867 7 times with a remainder of 291.
The number 7 becomes the next digit in our result. 
Result so far: 1087.0
The remainder is 291 after subtracting 2576 from 2867.
Bring next digit (3) of the dividend behind the 291 and repeat the process: 2913 / 368

Moving on to step 7:
The number 368 fits into 2913 7 times, leaving a remainder of 337.
Record the quotient 7 as the next digit in the result. 
Result so far: 10877.0
If we subtract 2576 from 2913, we get 337.
Grab the next digit (5) from the dividend, add it to 337, then carry on: 3375 / 368

Moving on to step 8:
368 can be fit into 3375 9 times, resulting in a remainder of 63.
Put 9 as the next digit of the answer. 
Result so far: 108779.0
If we subtract 3312 from 3375, we get 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

On to step 9:
630 divided by 368 is 1 with a remainder of 262.
The number 1 becomes the next digit in our result. 
Result so far: 108779.1
Subtract 368 from 630 to get 262.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2620, and continue the process.

Going ahead to step 10:
368 can be fit into 2620 7 times, resulting in a remainder of 44.
Record the quotient 7 as the next digit in the result. 
Result so far: 108779.17
If we take 2576 away from 2620, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Advancing to step 11:
When dividing 440 by 368, we get 1 with a remainder of 72.
Write down 1 as next digit of the result. 
Result so far: 108779.171
If we subtract 368 from 440, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Moving on to step 12:
368 can be fit into 720 1 times, resulting in a remainder of 352.
Put 1 as the next digit of the answer. 
Result so far: 108779.1711
Subtract 368 from 720 to get 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Our division results in 108779.1711 with a remaining 0.00352.