We look at the division of 315013 by 12 
The aim is to understand the frequency of 12 in 315013.

On to step 1:
12 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 12

Moving on to step 2:
The number 12 fits into 31 2 times, leaving a remainder of 7.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 24 away from 31, we end up with 7.
Include the next digit (5) from the dividend after 7, then repeat: 75 / 12

Moving on to step 3:
When dividing 75 by 12, we get 6 with a remainder of 3.
The number 6 becomes the next digit in our result. 
Result so far: 26.0
If we subtract 72 from 75, we get 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 12

On to step 4:
12 can be fit into 30 2 times, resulting in a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 262.0
Deduct 24 from 30 and we're left with 6.
Bring next digit (1) of the dividend behind the 6 and repeat the process: 61 / 12

Advancing to step 5:
12 can be fit into 61 5 times, resulting in a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 2625.0
The remainder is 1 after subtracting 60 from 61.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 12

Advancing to step 6:
The number 12 fits into 13 1 times, leaving a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 26251.0
If we subtract 12 from 13, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
12 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 26251.0
If we subtract 0 from 10, we get 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 8:
The number 12 fits into 100 8 times, leaving a remainder of 4.
The next digit of our result is 8. 
Result so far: 26251.08
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.

Going ahead to step 9:
The number 12 fits into 40 3 times, leaving a remainder of 4.
Write down 3 as next digit of the result. 
Result so far: 26251.083
Deduct 36 from 40 and we're left 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.

Advancing to step 10:
12 goes into 40 3 times with a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 26251.0833
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.

The quotient of the division is 26251.0833, and the remainder is 4e-05.