17885365 divided by 791 
The aim is to understand the frequency of 791 in 17885365.

Let's proceed to step 1:
If we divide 1 by 791, we get 0 and a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 791

Going ahead to step 2:
If we divide 17 by 791, we get 0 and a remainder of 17.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 17 and we're left with 17.
Fetch the next digit (8) from the dividend, attach it to 17 and continue: 178 / 791

Let's proceed to step 3:
If we divide 178 by 791, we get 0 and a remainder of 178.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 178, we get 178.
Bring next digit (8) of the dividend behind the 178 and repeat the process: 1788 / 791

Moving on to step 4:
791 goes into 1788 2 times with a remainder of 206.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 1582 from 1788 to get 206.
Fetch the next digit (5) from the dividend, attach it to 206 and continue: 2065 / 791

Advancing to step 5:
When dividing 2065 by 791, we get 2 with a remainder of 483.
Record the quotient 2 as the next digit in the result. 
Result so far: 22.0
If we take 1582 away from 2065, we end up with 483.
Take the next digit (3) from the dividend and append it to 483, then repeat: 4833 / 791

Moving on to step 6:
When dividing 4833 by 791, we get 6 with a remainder of 87.
Record the quotient 6 as the next digit in the result. 
Result so far: 226.0
If we take 4746 away from 4833, we end up with 87.
Grab the next digit (6) from the dividend, add it to 87, then carry on: 876 / 791

On to step 7:
If we divide 876 by 791, we get 1 and a remainder of 85.
The next digit of our result is 1. 
Result so far: 2261.0
The remainder is 85 after subtracting 791 from 876.
Append the next digit (5) from the dividend to 85 and continue with: 855 / 791

Going ahead to step 8:
791 goes into 855 1 times with a remainder of 64.
Use 1 as the next digit of our solution. 
Result so far: 22611.0
If we take 791 away from 855, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Moving on to step 9:
When dividing 640 by 791, we get 0 with a remainder of 640.
Put 0 as the next digit of the answer. 
Result so far: 22611.0
If we subtract 0 from 640, we get 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6400, and continue the process.

Step 10:
791 goes into 6400 8 times with a remainder of 72.
Put 8 as the next digit of the answer. 
Result so far: 22611.08
If we subtract 6328 from 6400, 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.

Going ahead to step 11:
720 divided by 791 is 0 with a remainder of 720.
The next digit of our result is 0. 
Result so far: 22611.08
Subtract 0 from 720 to get 720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7200, and continue the process.

Let's proceed to step 12:
791 can be fit into 7200 9 times, resulting in a remainder of 81.
Put 9 as the next digit of the answer. 
Result so far: 22611.0809
The remainder is 81 after subtracting 7119 from 7200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Advancing to step 13:
810 divided by 791 is 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 22611.08091
If we take 791 away from 810, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

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

On to step 15:
When dividing 1900 by 791, we get 2 with a remainder of 318.
Record the quotient 2 as the next digit in the result. 
Result so far: 22611.0809102
If we take 1582 away from 1900, we end up with 318.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3180, and continue the process.

Step 16:
3180 divided by 791 is 4 with a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 22611.08091024
The remainder is 16 after subtracting 3164 from 3180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

After the division, we end up with 22611.08091024 and a remainder of 1.6e-08.