We divide 40587121 by 831
The aim is to understand the frequency of 831 in 40587121.

On to step 1:
831 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.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 831

Advancing to step 2:
831 goes into 40 0 times with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Fetch the next digit (5) from the dividend, attach it to 40 and continue: 405 / 831

Step 3:
The number 831 fits into 405 0 times, leaving a remainder of 405.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 405 after subtracting 0 from 405.
Append the next digit (8) from the dividend to 405 and continue with: 4058 / 831

Let's proceed to step 4:
If we divide 4058 by 831, we get 4 and a remainder of 734.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we take 3324 away from 4058, we end up with 734.
Take the next digit (7) from the dividend and append it to 734, then repeat: 7347 / 831

Advancing to step 5:
The number 831 fits into 7347 8 times, leaving a remainder of 699.
The next digit of our result is 8. 
Result so far: 48.0
If we subtract 6648 from 7347, we get 699.
Fetch the next digit (1) from the dividend, attach it to 699 and continue: 6991 / 831

Let's proceed to step 6:
831 goes into 6991 8 times with a remainder of 343.
Write down 8 as next digit of the result. 
Result so far: 488.0
If we subtract 6648 from 6991, we get 343.
Include the next digit (2) from the dividend after 343, then repeat: 3432 / 831

Let's proceed to step 7:
When dividing 3432 by 831, we get 4 with a remainder of 108.
Write down 4 as next digit of the result. 
Result so far: 4884.0
Subtract 3324 from 3432 to get 108.
Fetch the next digit (1) from the dividend, attach it to 108 and continue: 1081 / 831

On to step 8:
The number 831 fits into 1081 1 times, leaving a remainder of 250.
The next digit of our result is 1. 
Result so far: 48841.0
The remainder is 250 after subtracting 831 from 1081.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Advancing to step 9:
The number 831 fits into 2500 3 times, leaving a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 48841.3
Deduct 2493 from 2500 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 10:
831 goes into 70 0 times with a remainder of 70.
Record the quotient 0 as the next digit in the result. 
Result so far: 48841.3
Subtracting 0 from 70 leaves us with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Advancing to step 11:
831 can be fit into 700 0 times, resulting in a remainder of 700.
Use 0 as the next digit of our solution. 
Result so far: 48841.3
Subtract 0 from 700 to get 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7000, and continue the process.

After the division, we end up with 48841.3 and a remainder of 0.07.