Let's divide 791017 by 46
The aim is to understand the frequency of 46 in 791017.

Moving on to step 1:
The number 46 fits into 7 0 times, leaving a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 46

On to step 2:
When dividing 79 by 46, we get 1 with a remainder of 33.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 46 from 79 to get 33.
Take the next digit (1) from the dividend and append it to 33, then repeat: 331 / 46

Let's proceed to step 3:
46 goes into 331 7 times with a remainder of 9.
The next digit of our result is 7. 
Result so far: 17.0
Deduct 322 from 331 and we're left with 9.
Include the next digit (0) from the dividend after 9, then repeat: 90 / 46

Step 4:
90 divided by 46 is 1 with a remainder of 44.
Record the quotient 1 as the next digit in the result. 
Result so far: 171.0
If we take 46 away from 90, we end up with 44.
Fetch the next digit (1) from the dividend, attach it to 44 and continue: 441 / 46

Let's proceed to step 5:
If we divide 441 by 46, we get 9 and a remainder of 27.
The number 9 becomes the next digit in our result. 
Result so far: 1719.0
Subtract 414 from 441 to get 27.
Fetch the next digit (7) from the dividend, attach it to 27 and continue: 277 / 46

Advancing to step 6:
277 divided by 46 is 6 with a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 17196.0
If we subtract 276 from 277, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
When dividing 10 by 46, we get 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 17196.0
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
46 can be fit into 100 2 times, resulting in a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 17196.02
The remainder is 8 after subtracting 92 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 9:
The number 46 fits into 80 1 times, leaving a remainder of 34.
Record the quotient 1 as the next digit in the result. 
Result so far: 17196.021
Deduct 46 from 80 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 10:
When dividing 340 by 46, we get 7 with a remainder of 18.
Put 7 as the next digit of the answer. 
Result so far: 17196.0217
If we take 322 away from 340, we end up 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.

Step 11:
180 divided by 46 is 3 with a remainder of 42.
Use 3 as the next digit of our solution. 
Result so far: 17196.02173
If we subtract 138 from 180, we get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 12:
46 goes into 420 9 times with a remainder of 6.
Record the quotient 9 as the next digit in the result. 
Result so far: 17196.021739
If we subtract 414 from 420, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 13:
60 divided by 46 is 1 with a remainder of 14.
The next digit of our result is 1. 
Result so far: 17196.0217391
Subtracting 46 from 60 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 14:
When dividing 140 by 46, we get 3 with a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 17196.02173913
If we take 138 away from 140, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

After the division, we end up with 17196.02173913 and a remainder of 2e-09.