Let's divide 4774493 by 791
The aim is to understand the frequency of 791 in 4774493.

Let's proceed to step 1:
791 goes into 4 0 times with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 791

On to step 2:
When dividing 47 by 791, we get 0 with a remainder of 47.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 47 leaves us with 47.
Fetch the next digit (7) from the dividend, attach it to 47 and continue: 477 / 791

Advancing to step 3:
When dividing 477 by 791, we get 0 with a remainder of 477.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 477 after subtracting 0 from 477.
Append the next digit (4) from the dividend to 477 and continue with: 4774 / 791

Going ahead to step 4:
791 can be fit into 4774 6 times, resulting in a remainder of 28.
Use 6 as the next digit of our solution. 
Result so far: 6.0
The remainder is 28 after subtracting 4746 from 4774.
Append the next digit (4) from the dividend to 28 and continue with: 284 / 791

Moving on to step 5:
284 divided by 791 is 0 with a remainder of 284.
The next digit of our result is 0. 
Result so far: 60.0
The remainder is 284 after subtracting 0 from 284.
Include the next digit (9) from the dividend after 284, then repeat: 2849 / 791

Moving on to step 6:
The number 791 fits into 2849 3 times, leaving a remainder of 476.
Write down 3 as next digit of the result. 
Result so far: 603.0
Deduct 2373 from 2849 and we're left with 476.
Take the next digit (3) from the dividend and append it to 476, then repeat: 4763 / 791

Going ahead to step 7:
When dividing 4763 by 791, we get 6 with a remainder of 17.
The next digit of our result is 6. 
Result so far: 6036.0
Subtracting 4746 from 4763 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 8:
791 can be fit into 170 0 times, resulting in a remainder of 170.
The number 0 becomes the next digit in our result. 
Result so far: 6036.0
Deduct 0 from 170 and we're left with 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Moving on to step 9:
791 can be fit into 1700 2 times, resulting in a remainder of 118.
The number 2 becomes the next digit in our result. 
Result so far: 6036.02
Subtracting 1582 from 1700 leaves us with 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Advancing to step 10:
If we divide 1180 by 791, we get 1 and a remainder of 389.
Write down 1 as next digit of the result. 
Result so far: 6036.021
The remainder is 389 after subtracting 791 from 1180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3890, and continue the process.

Moving on to step 11:
When dividing 3890 by 791, we get 4 with a remainder of 726.
The number 4 becomes the next digit in our result. 
Result so far: 6036.0214
Deduct 3164 from 3890 and we're left with 726.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7260, and continue the process.

On to step 12:
The number 791 fits into 7260 9 times, leaving a remainder of 141.
Record the quotient 9 as the next digit in the result. 
Result so far: 6036.02149
Subtracting 7119 from 7260 leaves us with 141.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1410, and continue the process.

On to step 13:
The number 791 fits into 1410 1 times, leaving a remainder of 619.
Use 1 as the next digit of our solution. 
Result so far: 6036.021491
If we subtract 791 from 1410, we get 619.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6190, and continue the process.

Going ahead to step 14:
If we divide 6190 by 791, we get 7 and a remainder of 653.
Use 7 as the next digit of our solution. 
Result so far: 6036.0214917
The remainder is 653 after subtracting 5537 from 6190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6530, and continue the process.

Step 15:
791 goes into 6530 8 times with a remainder of 202.
The next digit of our result is 8. 
Result so far: 6036.02149178
The remainder is 202 after subtracting 6328 from 6530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2020, and continue the process.

Our division results in 6036.02149178 with a remaining 2.02e-07.