40077387 ÷ 738 
The aim is to understand the frequency of 738 in 40077387.

Let's proceed to step 1:
4 divided by 738 is 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 738

Advancing to step 2:
738 goes into 40 0 times with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Take the next digit (0) from the dividend and append it to 40, then repeat: 400 / 738

Going ahead to step 3:
400 divided by 738 is 0 with a remainder of 400.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 400 and we're left with 400.
Take the next digit (7) from the dividend and append it to 400, then repeat: 4007 / 738

On to step 4:
When dividing 4007 by 738, we get 5 with a remainder of 317.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Deduct 3690 from 4007 and we're left with 317.
Bring next digit (7) of the dividend behind the 317 and repeat the process: 3177 / 738

Going ahead to step 5:
When dividing 3177 by 738, we get 4 with a remainder of 225.
The next digit of our result is 4. 
Result so far: 54.0
Deduct 2952 from 3177 and we're left with 225.
Include the next digit (3) from the dividend after 225, then repeat: 2253 / 738

On to step 6:
The number 738 fits into 2253 3 times, leaving a remainder of 39.
Write down 3 as next digit of the result. 
Result so far: 543.0
Subtract 2214 from 2253 to get 39.
Grab the next digit (8) from the dividend, add it to 39, then carry on: 398 / 738

Moving on to step 7:
398 divided by 738 is 0 with a remainder of 398.
The number 0 becomes the next digit in our result. 
Result so far: 5430.0
If we subtract 0 from 398, we get 398.
Fetch the next digit (7) from the dividend, attach it to 398 and continue: 3987 / 738

On to step 8:
If we divide 3987 by 738, we get 5 and a remainder of 297.
Use 5 as the next digit of our solution. 
Result so far: 54305.0
Deduct 3690 from 3987 and we're left with 297.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2970, and continue the process.

On to step 9:
738 can be fit into 2970 4 times, resulting in a remainder of 18.
Put 4 as the next digit of the answer. 
Result so far: 54305.4
Subtract 2952 from 2970 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 10:
738 can be fit into 180 0 times, resulting in a remainder of 180.
Use 0 as the next digit of our solution. 
Result so far: 54305.4
If we take 0 away from 180, we end up with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Moving on to step 11:
If we divide 1800 by 738, we get 2 and a remainder of 324.
The number 2 becomes the next digit in our result. 
Result so far: 54305.402
The remainder is 324 after subtracting 1476 from 1800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3240, and continue the process.

Let's proceed to step 12:
3240 divided by 738 is 4 with a remainder of 288.
Record the quotient 4 as the next digit in the result. 
Result so far: 54305.4024
The remainder is 288 after subtracting 2952 from 3240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

Going ahead to step 13:
When dividing 2880 by 738, we get 3 with a remainder of 666.
The next digit of our result is 3. 
Result so far: 54305.40243
Deduct 2214 from 2880 and we're left with 666.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6660, and continue the process.

On to step 14:
738 can be fit into 6660 9 times, resulting in a remainder of 18.
Put 9 as the next digit of the answer. 
Result so far: 54305.402439
Deduct 6642 from 6660 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 15:
If we divide 180 by 738, we get 0 and a remainder of 180.
Put 0 as the next digit of the answer. 
Result so far: 54305.402439
Deduct 0 from 180 and we're left with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Step 16:
1800 divided by 738 is 2 with a remainder of 324.
The number 2 becomes the next digit in our result. 
Result so far: 54305.40243902
If we take 1476 away from 1800, we end up with 324.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3240, and continue the process.

After the division, we end up with 54305.40243902 and a remainder of 3.24e-07.