Let's divide 31670 by 41
The aim is to understand the frequency of 41 in 31670.

Let's proceed to step 1:
The number 41 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 41

Let's proceed to step 2:
The number 41 fits into 31 0 times, leaving a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Take the next digit (6) from the dividend and append it to 31, then repeat: 316 / 41

Advancing to step 3:
If we divide 316 by 41, we get 7 and a remainder of 29.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
If we subtract 287 from 316, we get 29.
Append the next digit (7) from the dividend to 29 and continue with: 297 / 41

Advancing to step 4:
If we divide 297 by 41, we get 7 and a remainder of 10.
Put 7 as the next digit of the answer. 
Result so far: 77.0
Subtracting 287 from 297 leaves us with 10.
Include the next digit (0) from the dividend after 10, then repeat: 100 / 41

Going ahead to step 5:
When dividing 100 by 41, we get 2 with a remainder of 18.
The next digit of our result is 2. 
Result so far: 772.0
Subtract 82 from 100 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 6:
41 can be fit into 180 4 times, resulting in a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 772.4
Subtracting 164 from 180 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 7:
When dividing 160 by 41, we get 3 with a remainder of 37.
Record the quotient 3 as the next digit in the result. 
Result so far: 772.43
If we subtract 123 from 160, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Going ahead to step 8:
The number 41 fits into 370 9 times, leaving a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 772.439
If we subtract 369 from 370, 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.

On to step 9:
If we divide 10 by 41, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 772.439
Subtracting 0 from 10 leaves us 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.

Going ahead to step 10:
The number 41 fits into 100 2 times, leaving a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 772.43902
If we take 82 away from 100, 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.

Let's proceed to step 11:
The number 41 fits into 180 4 times, leaving a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 772.439024
Subtracting 164 from 180 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 12:
When dividing 160 by 41, we get 3 with a remainder of 37.
The number 3 becomes the next digit in our result. 
Result so far: 772.4390243
Deduct 123 from 160 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Going ahead to step 13:
The number 41 fits into 370 9 times, leaving a remainder of 1.
The next digit of our result is 9. 
Result so far: 772.43902439
If we take 369 away from 370, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The quotient of the division is 772.43902439, and the remainder is 1e-09.