398401 ÷ 82 
The aim is to understand the frequency of 82 in 398401.

On to step 1:
If we divide 3 by 82, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 82

Moving on to step 2:
82 can be fit into 39 0 times, resulting in a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Bring next digit (8) of the dividend behind the 39 and repeat the process: 398 / 82

Let's proceed to step 3:
The number 82 fits into 398 4 times, leaving a remainder of 70.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtracting 328 from 398 leaves us with 70.
Fetch the next digit (4) from the dividend, attach it to 70 and continue: 704 / 82

Advancing to step 4:
82 can be fit into 704 8 times, resulting in a remainder of 48.
Write down 8 as next digit of the result. 
Result so far: 48.0
Subtracting 656 from 704 leaves us with 48.
Bring next digit (0) of the dividend behind the 48 and repeat the process: 480 / 82

Advancing to step 5:
82 can be fit into 480 5 times, resulting in a remainder of 70.
The next digit of our result is 5. 
Result so far: 485.0
The remainder is 70 after subtracting 410 from 480.
Append the next digit (1) from the dividend to 70 and continue with: 701 / 82

Step 6:
If we divide 701 by 82, we get 8 and a remainder of 45.
The number 8 becomes the next digit in our result. 
Result so far: 4858.0
The remainder is 45 after subtracting 656 from 701.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Let's proceed to step 7:
450 divided by 82 is 5 with a remainder of 40.
Put 5 as the next digit of the answer. 
Result so far: 4858.5
The remainder is 40 after subtracting 410 from 450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 8:
82 goes into 400 4 times with a remainder of 72.
Put 4 as the next digit of the answer. 
Result so far: 4858.54
Subtracting 328 from 400 leaves us with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

On to step 9:
720 divided by 82 is 8 with a remainder of 64.
Use 8 as the next digit of our solution. 
Result so far: 4858.548
Subtract 656 from 720 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 10:
The number 82 fits into 640 7 times, leaving a remainder of 66.
Put 7 as the next digit of the answer. 
Result so far: 4858.5487
The remainder is 66 after subtracting 574 from 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Step 11:
82 goes into 660 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 4858.54878
Subtract 656 from 660 to 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.

Going ahead to step 12:
40 divided by 82 is 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 4858.54878
If we take 0 away from 40, we end up 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.

Moving on to step 13:
When dividing 400 by 82, we get 4 with a remainder of 72.
Put 4 as the next digit of the answer. 
Result so far: 4858.5487804
If we take 328 away from 400, we end up with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Advancing to step 14:
The number 82 fits into 720 8 times, leaving a remainder of 64.
The next digit of our result is 8. 
Result so far: 4858.54878048
Subtracting 656 from 720 leaves us with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

After the division, we end up with 4858.54878048 and a remainder of 6.4e-08.