582874 ÷ 12 
The aim is to understand the frequency of 12 in 582874.

Going ahead to step 1:
12 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 12

Going ahead to step 2:
12 can be fit into 58 4 times, resulting in a remainder of 10.
The next digit of our result is 4. 
Result so far: 4.0
If we subtract 48 from 58, we get 10.
Bring next digit (2) of the dividend behind the 10 and repeat the process: 102 / 12

On to step 3:
If we divide 102 by 12, we get 8 and a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 48.0
Subtracting 96 from 102 leaves us with 6.
Append the next digit (8) from the dividend to 6 and continue with: 68 / 12

Advancing to step 4:
The number 12 fits into 68 5 times, leaving a remainder of 8.
Put 5 as the next digit of the answer. 
Result so far: 485.0
If we take 60 away from 68, we end up with 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 12

On to step 5:
The number 12 fits into 87 7 times, leaving a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 4857.0
Deduct 84 from 87 and we're left with 3.
Fetch the next digit (4) from the dividend, attach it to 3 and continue: 34 / 12

Let's proceed to step 6:
12 goes into 34 2 times with a remainder of 10.
The next digit of our result is 2. 
Result so far: 48572.0
Deduct 24 from 34 and we're left 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.

Moving on to step 7:
When dividing 100 by 12, we get 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 48572.8
If we take 96 away from 100, we end up with 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 8:
12 goes into 40 3 times with a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 48572.83
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 9:
When dividing 40 by 12, we get 3 with a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 48572.833
If we take 36 away from 40, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 48572.833 with a remaining 0.0004.