We're dividing 31640473 by 782 
The aim is to understand the frequency of 782 in 31640473.

Let's proceed to step 1:
If we divide 3 by 782, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 782

Moving on to step 2:
782 goes into 31 0 times with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Bring next digit (6) of the dividend behind the 31 and repeat the process: 316 / 782

Advancing to step 3:
316 divided by 782 is 0 with a remainder of 316.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 316 leaves us with 316.
Include the next digit (4) from the dividend after 316, then repeat: 3164 / 782

Going ahead to step 4:
782 can be fit into 3164 4 times, resulting in a remainder of 36.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtract 3128 from 3164 to get 36.
Fetch the next digit (0) from the dividend, attach it to 36 and continue: 360 / 782

Let's proceed to step 5:
782 goes into 360 0 times with a remainder of 360.
Record the quotient 0 as the next digit in the result. 
Result so far: 40.0
The remainder is 360 after subtracting 0 from 360.
Include the next digit (4) from the dividend after 360, then repeat: 3604 / 782

Step 6:
The number 782 fits into 3604 4 times, leaving a remainder of 476.
The number 4 becomes the next digit in our result. 
Result so far: 404.0
Subtracting 3128 from 3604 leaves us with 476.
Grab the next digit (7) from the dividend, add it to 476, then carry on: 4767 / 782

Let's proceed to step 7:
4767 divided by 782 is 6 with a remainder of 75.
Use 6 as the next digit of our solution. 
Result so far: 4046.0
If we subtract 4692 from 4767, we get 75.
Fetch the next digit (3) from the dividend, attach it to 75 and continue: 753 / 782

Advancing to step 8:
When dividing 753 by 782, we get 0 with a remainder of 753.
Write down 0 as next digit of the result. 
Result so far: 40460.0
If we subtract 0 from 753, we get 753.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7530, and continue the process.

On to step 9:
The number 782 fits into 7530 9 times, leaving a remainder of 492.
Record the quotient 9 as the next digit in the result. 
Result so far: 40460.9
If we subtract 7038 from 7530, we get 492.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4920, and continue the process.

On to step 10:
When dividing 4920 by 782, we get 6 with a remainder of 228.
Use 6 as the next digit of our solution. 
Result so far: 40460.96
If we take 4692 away from 4920, we end up with 228.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

Let's proceed to step 11:
When dividing 2280 by 782, we get 2 with a remainder of 716.
Record the quotient 2 as the next digit in the result. 
Result so far: 40460.962
Deduct 1564 from 2280 and we're left with 716.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7160, and continue the process.

Advancing to step 12:
When dividing 7160 by 782, we get 9 with a remainder of 122.
Put 9 as the next digit of the answer. 
Result so far: 40460.9629
Subtract 7038 from 7160 to get 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

Going ahead to step 13:
782 can be fit into 1220 1 times, resulting in a remainder of 438.
The next digit of our result is 1. 
Result so far: 40460.96291
Deduct 782 from 1220 and we're left with 438.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4380, and continue the process.

Moving on to step 14:
When dividing 4380 by 782, we get 5 with a remainder of 470.
Use 5 as the next digit of our solution. 
Result so far: 40460.962915
Subtracting 3910 from 4380 leaves us with 470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4700, and continue the process.

Let's proceed to step 15:
782 goes into 4700 6 times with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 40460.9629156
Subtracting 4692 from 4700 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 16:
When dividing 80 by 782, we get 0 with a remainder of 80.
Write down 0 as next digit of the result. 
Result so far: 40460.9629156
Subtract 0 from 80 to get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

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