312366 ÷ 7 
The aim is to understand the frequency of 7 in 312366.

Let's proceed to step 1:
7 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 7

Going ahead to step 2:
31 divided by 7 is 4 with a remainder of 3.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtract 28 from 31 to get 3.
Take the next digit (2) from the dividend and append it to 3, then repeat: 32 / 7

Going ahead to step 3:
The number 7 fits into 32 4 times, leaving a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 44.0
The remainder is 4 after subtracting 28 from 32.
Fetch the next digit (3) from the dividend, attach it to 4 and continue: 43 / 7

Going ahead to step 4:
If we divide 43 by 7, we get 6 and a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 446.0
If we take 42 away from 43, we end up with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 7

Going ahead to step 5:
The number 7 fits into 16 2 times, leaving a remainder of 2.
The next digit of our result is 2. 
Result so far: 4462.0
Subtract 14 from 16 to get 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 7

Going ahead to step 6:
When dividing 26 by 7, we get 3 with a remainder of 5.
Use 3 as the next digit of our solution. 
Result so far: 44623.0
If we subtract 21 from 26, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 7:
When dividing 50 by 7, we get 7 with a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 44623.7
If we subtract 49 from 50, 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.

Advancing to step 8:
If we divide 10 by 7, we get 1 and a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 44623.71
Subtract 7 from 10 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 9:
7 goes into 30 4 times with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 44623.714
Subtract 28 from 30 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 10:
7 goes into 20 2 times with a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 44623.7142
If we subtract 14 from 20, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 11:
60 divided by 7 is 8 with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 44623.71428
If we subtract 56 from 60, 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.

Step 12:
When dividing 40 by 7, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 44623.714285
Subtract 35 from 40 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 13:
When dividing 50 by 7, we get 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 44623.7142857
If we take 49 away from 50, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 14:
7 goes into 10 1 times with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 44623.71428571
If we subtract 7 from 10, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

After the division, we end up with 44623.71428571 and a remainder of 3e-09.