We're dividing 398213 by 65 
The aim is to understand the frequency of 65 in 398213.

Step 1:
The number 65 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 65

Going ahead to step 2:
The number 65 fits into 39 0 times, leaving a remainder of 39.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Grab the next digit (8) from the dividend, add it to 39, then carry on: 398 / 65

On to step 3:
If we divide 398 by 65, we get 6 and a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
The remainder is 8 after subtracting 390 from 398.
Take the next digit (2) from the dividend and append it to 8, then repeat: 82 / 65

On to step 4:
The number 65 fits into 82 1 times, leaving a remainder of 17.
The next digit of our result is 1. 
Result so far: 61.0
Subtract 65 from 82 to get 17.
Take the next digit (1) from the dividend and append it to 17, then repeat: 171 / 65

Moving on to step 5:
65 goes into 171 2 times with a remainder of 41.
The next digit of our result is 2. 
Result so far: 612.0
Deduct 130 from 171 and we're left with 41.
Take the next digit (3) from the dividend and append it to 41, then repeat: 413 / 65

Going ahead to step 6:
65 can be fit into 413 6 times, resulting in a remainder of 23.
The next digit of our result is 6. 
Result so far: 6126.0
Deduct 390 from 413 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 7:
The number 65 fits into 230 3 times, leaving a remainder of 35.
Use 3 as the next digit of our solution. 
Result so far: 6126.3
Deduct 195 from 230 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 8:
350 divided by 65 is 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 6126.35
The remainder is 25 after subtracting 325 from 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 9:
When dividing 250 by 65, we get 3 with a remainder of 55.
Write down 3 as next digit of the result. 
Result so far: 6126.353
If we subtract 195 from 250, we get 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Advancing to step 10:
When dividing 550 by 65, we get 8 with a remainder of 30.
Use 8 as the next digit of our solution. 
Result so far: 6126.3538
If we take 520 away from 550, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 11:
The number 65 fits into 300 4 times, leaving a remainder of 40.
The next digit of our result is 4. 
Result so far: 6126.35384
Subtract 260 from 300 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 12:
If we divide 400 by 65, we get 6 and a remainder of 10.
Record the quotient 6 as the next digit in the result. 
Result so far: 6126.353846
Subtracting 390 from 400 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.

On to step 13:
100 divided by 65 is 1 with a remainder of 35.
Record the quotient 1 as the next digit in the result. 
Result so far: 6126.3538461
Deduct 65 from 100 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Going ahead to step 14:
65 goes into 350 5 times with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 6126.35384615
Deduct 325 from 350 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

The quotient of the division is 6126.35384615, and the remainder is 2.5e-08.