Let's divide 31723640 by 782
The aim is to understand the frequency of 782 in 31723640.

On to step 1:
782 can be fit into 3 0 times, resulting in a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 782

On to step 2:
31 divided by 782 is 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Take the next digit (7) from the dividend and append it to 31, then repeat: 317 / 782

Let's proceed to step 3:
The number 782 fits into 317 0 times, leaving a remainder of 317.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 317 after subtracting 0 from 317.
Append the next digit (2) from the dividend to 317 and continue with: 3172 / 782

On to step 4:
3172 divided by 782 is 4 with a remainder of 44.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtracting 3128 from 3172 leaves us with 44.
Fetch the next digit (3) from the dividend, attach it to 44 and continue: 443 / 782

Let's proceed to step 5:
443 divided by 782 is 0 with a remainder of 443.
The number 0 becomes the next digit in our result. 
Result so far: 40.0
The remainder is 443 after subtracting 0 from 443.
Include the next digit (6) from the dividend after 443, then repeat: 4436 / 782

Going ahead to step 6:
4436 divided by 782 is 5 with a remainder of 526.
The next digit of our result is 5. 
Result so far: 405.0
The remainder is 526 after subtracting 3910 from 4436.
Bring next digit (4) of the dividend behind the 526 and repeat the process: 5264 / 782

Moving on to step 7:
782 goes into 5264 6 times with a remainder of 572.
The number 6 becomes the next digit in our result. 
Result so far: 4056.0
If we subtract 4692 from 5264, we get 572.
Fetch the next digit (0) from the dividend, attach it to 572 and continue: 5720 / 782

Let's proceed to step 8:
If we divide 5720 by 782, we get 7 and a remainder of 246.
The number 7 becomes the next digit in our result. 
Result so far: 40567.0
Subtract 5474 from 5720 to get 246.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

On to step 9:
782 goes into 2460 3 times with a remainder of 114.
The number 3 becomes the next digit in our result. 
Result so far: 40567.3
The remainder is 114 after subtracting 2346 from 2460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Going ahead to step 10:
If we divide 1140 by 782, we get 1 and a remainder of 358.
The number 1 becomes the next digit in our result. 
Result so far: 40567.31
If we take 782 away from 1140, we end up with 358.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3580, and continue the process.

Advancing to step 11:
When dividing 3580 by 782, we get 4 with a remainder of 452.
Use 4 as the next digit of our solution. 
Result so far: 40567.314
Subtract 3128 from 3580 to get 452.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4520, and continue the process.

Step 12:
4520 divided by 782 is 5 with a remainder of 610.
Record the quotient 5 as the next digit in the result. 
Result so far: 40567.3145
If we take 3910 away from 4520, we end up with 610.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6100, and continue the process.

Going ahead to step 13:
The number 782 fits into 6100 7 times, leaving a remainder of 626.
The number 7 becomes the next digit in our result. 
Result so far: 40567.31457
Subtracting 5474 from 6100 leaves us with 626.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6260, and continue the process.

Going ahead to step 14:
782 goes into 6260 8 times with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 40567.314578
If we subtract 6256 from 6260, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 15:
When dividing 40 by 782, we get 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 40567.314578
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 16:
The number 782 fits into 400 0 times, leaving a remainder of 400.
Put 0 as the next digit of the answer. 
Result so far: 40567.314578
Subtracting 0 from 400 leaves us with 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

The final result is 40567.314578 with a remainder of 4e-07.