We divide 40734989 by 477
The aim is to understand the frequency of 477 in 40734989.

On to step 1:
The number 477 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 477

Advancing to step 2:
If we divide 40 by 477, we get 0 and a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Include the next digit (7) from the dividend after 40, then repeat: 407 / 477

Advancing to step 3:
The number 477 fits into 407 0 times, leaving a remainder of 407.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 407 to get 407.
Fetch the next digit (3) from the dividend, attach it to 407 and continue: 4073 / 477

Moving on to step 4:
4073 divided by 477 is 8 with a remainder of 257.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
The remainder is 257 after subtracting 3816 from 4073.
Include the next digit (4) from the dividend after 257, then repeat: 2574 / 477

On to step 5:
477 can be fit into 2574 5 times, resulting in a remainder of 189.
Use 5 as the next digit of our solution. 
Result so far: 85.0
If we take 2385 away from 2574, we end up with 189.
Include the next digit (9) from the dividend after 189, then repeat: 1899 / 477

On to step 6:
If we divide 1899 by 477, we get 3 and a remainder of 468.
Put 3 as the next digit of the answer. 
Result so far: 853.0
Deduct 1431 from 1899 and we're left with 468.
Bring next digit (8) of the dividend behind the 468 and repeat the process: 4688 / 477

Let's proceed to step 7:
When dividing 4688 by 477, we get 9 with a remainder of 395.
Use 9 as the next digit of our solution. 
Result so far: 8539.0
The remainder is 395 after subtracting 4293 from 4688.
Append the next digit (9) from the dividend to 395 and continue with: 3959 / 477

Step 8:
When dividing 3959 by 477, we get 8 with a remainder of 143.
The number 8 becomes the next digit in our result. 
Result so far: 85398.0
Deduct 3816 from 3959 and we're left with 143.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1430, and continue the process.

On to step 9:
When dividing 1430 by 477, we get 2 with a remainder of 476.
Use 2 as the next digit of our solution. 
Result so far: 85398.2
Subtracting 954 from 1430 leaves us with 476.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4760, and continue the process.

Let's proceed to step 10:
The number 477 fits into 4760 9 times, leaving a remainder of 467.
The number 9 becomes the next digit in our result. 
Result so far: 85398.29
The remainder is 467 after subtracting 4293 from 4760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4670, and continue the process.

Advancing to step 11:
477 goes into 4670 9 times with a remainder of 377.
Record the quotient 9 as the next digit in the result. 
Result so far: 85398.299
If we take 4293 away from 4670, we end up with 377.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3770, and continue the process.

The quotient of the division is 85398.299, and the remainder is 0.0377.