We're dividing 397215 by 82 
The aim is to understand the frequency of 82 in 397215.

Advancing to step 1:
The number 82 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 82

Advancing to step 2:
When dividing 39 by 82, we get 0 with a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Take the next digit (7) from the dividend and append it to 39, then repeat: 397 / 82

Advancing to step 3:
The number 82 fits into 397 4 times, leaving a remainder of 69.
The next digit of our result is 4. 
Result so far: 4.0
Subtracting 328 from 397 leaves us with 69.
Fetch the next digit (2) from the dividend, attach it to 69 and continue: 692 / 82

Step 4:
692 divided by 82 is 8 with a remainder of 36.
Put 8 as the next digit of the answer. 
Result so far: 48.0
Subtracting 656 from 692 leaves us with 36.
Fetch the next digit (1) from the dividend, attach it to 36 and continue: 361 / 82

Going ahead to step 5:
361 divided by 82 is 4 with a remainder of 33.
The number 4 becomes the next digit in our result. 
Result so far: 484.0
If we take 328 away from 361, we end up with 33.
Take the next digit (5) from the dividend and append it to 33, then repeat: 335 / 82

Going ahead to step 6:
82 can be fit into 335 4 times, resulting in a remainder of 7.
Write down 4 as next digit of the result. 
Result so far: 4844.0
If we take 328 away from 335, we end up 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.

Advancing to step 7:
70 divided by 82 is 0 with a remainder of 70.
Write down 0 as next digit of the result. 
Result so far: 4844.0
The remainder is 70 after subtracting 0 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 8:
If we divide 700 by 82, we get 8 and a remainder of 44.
The next digit of our result is 8. 
Result so far: 4844.08
If we take 656 away from 700, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Advancing to step 9:
The number 82 fits into 440 5 times, leaving a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 4844.085
If we subtract 410 from 440, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 10:
If we divide 300 by 82, we get 3 and a remainder of 54.
Put 3 as the next digit of the answer. 
Result so far: 4844.0853
Deduct 246 from 300 and we're left with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Let's proceed to step 11:
82 can be fit into 540 6 times, resulting in a remainder of 48.
Record the quotient 6 as the next digit in the result. 
Result so far: 4844.08536
If we subtract 492 from 540, we get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 12:
82 can be fit into 480 5 times, resulting in a remainder of 70.
Write down 5 as next digit of the result. 
Result so far: 4844.085365
If we take 410 away from 480, we end up 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.

Step 13:
When dividing 700 by 82, we get 8 with a remainder of 44.
Write down 8 as next digit of the result. 
Result so far: 4844.0853658
Subtracting 656 from 700 leaves us with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Step 14:
When dividing 440 by 82, we get 5 with a remainder of 30.
Write down 5 as next digit of the result. 
Result so far: 4844.08536585
Subtracting 410 from 440 leaves us 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.

The quotient of the division is 4844.08536585, and the remainder is 3e-08.