Let's divide 400821 by 67
The aim is to understand the frequency of 67 in 400821.

Advancing to step 1:
If we divide 4 by 67, we get 0 and a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 67

Let's proceed to step 2:
When dividing 40 by 67, we get 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Append the next digit (0) from the dividend to 40 and continue with: 400 / 67

Step 3:
67 goes into 400 5 times with a remainder of 65.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Subtract 335 from 400 to get 65.
Grab the next digit (8) from the dividend, add it to 65, then carry on: 658 / 67

Going ahead to step 4:
67 can be fit into 658 9 times, resulting in a remainder of 55.
The next digit of our result is 9. 
Result so far: 59.0
Deduct 603 from 658 and we're left with 55.
Append the next digit (2) from the dividend to 55 and continue with: 552 / 67

Advancing to step 5:
The number 67 fits into 552 8 times, leaving a remainder of 16.
The next digit of our result is 8. 
Result so far: 598.0
Deduct 536 from 552 and we're left with 16.
Take the next digit (1) from the dividend and append it to 16, then repeat: 161 / 67

Advancing to step 6:
When dividing 161 by 67, we get 2 with a remainder of 27.
The next digit of our result is 2. 
Result so far: 5982.0
Subtracting 134 from 161 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 7:
When dividing 270 by 67, we get 4 with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 5982.4
If we subtract 268 from 270, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 8:
20 divided by 67 is 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 5982.4
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 9:
67 goes into 200 2 times with a remainder of 66.
Record the quotient 2 as the next digit in the result. 
Result so far: 5982.402
Deduct 134 from 200 and we're left with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Advancing to step 10:
When dividing 660 by 67, we get 9 with a remainder of 57.
Put 9 as the next digit of the answer. 
Result so far: 5982.4029
Deduct 603 from 660 and we're left with 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

On to step 11:
If we divide 570 by 67, we get 8 and a remainder of 34.
Record the quotient 8 as the next digit in the result. 
Result so far: 5982.40298
If we subtract 536 from 570, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 12:
67 can be fit into 340 5 times, resulting in a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 5982.402985
Deduct 335 from 340 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

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

On to step 14:
The number 67 fits into 500 7 times, leaving a remainder of 31.
Record the quotient 7 as the next digit in the result. 
Result so far: 5982.40298507
The remainder is 31 after subtracting 469 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

The quotient of the division is 5982.40298507, and the remainder is 3.1e-08.