Let's divide 642934 by 12
The aim is to understand the frequency of 12 in 642934.

Going ahead to step 1:
6 divided by 12 is 0 with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Include the next digit (4) from the dividend after 6, then repeat: 64 / 12

Going ahead to step 2:
When dividing 64 by 12, we get 5 with a remainder of 4.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
The remainder is 4 after subtracting 60 from 64.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 12

Moving on to step 3:
42 divided by 12 is 3 with a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 53.0
Subtract 36 from 42 to get 6.
Append the next digit (9) from the dividend to 6 and continue with: 69 / 12

On to step 4:
The number 12 fits into 69 5 times, leaving a remainder of 9.
Write down 5 as next digit of the result. 
Result so far: 535.0
The remainder is 9 after subtracting 60 from 69.
Include the next digit (3) from the dividend after 9, then repeat: 93 / 12

Step 5:
12 goes into 93 7 times with a remainder of 9.
The number 7 becomes the next digit in our result. 
Result so far: 5357.0
Deduct 84 from 93 and we're left with 9.
Bring next digit (4) of the dividend behind the 9 and repeat the process: 94 / 12

Moving on to step 6:
If we divide 94 by 12, we get 7 and a remainder of 10.
The number 7 becomes the next digit in our result. 
Result so far: 53577.0
Subtracting 84 from 94 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.

Let's proceed to step 7:
12 can be fit into 100 8 times, resulting in a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 53577.8
Subtracting 96 from 100 leaves us 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.

Let's proceed to step 8:
12 can be fit into 40 3 times, resulting in a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 53577.83
Subtracting 36 from 40 leaves us 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.

On to step 9:
12 goes into 40 3 times with a remainder of 4.
Write down 3 as next digit of the result. 
Result so far: 53577.833
If we subtract 36 from 40, we 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.

After the division, we end up with 53577.833 and a remainder of 0.0004.