We divide 523211 by 7
The aim is to understand the frequency of 7 in 523211.

Step 1:
7 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 7

Let's proceed to step 2:
7 can be fit into 52 7 times, resulting in a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 7.0
Subtracting 49 from 52 leaves us with 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 7

Moving on to step 3:
7 goes into 33 4 times with a remainder of 5.
Record the quotient 4 as the next digit in the result. 
Result so far: 74.0
The remainder is 5 after subtracting 28 from 33.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 7

Step 4:
7 goes into 52 7 times with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 747.0
Subtract 49 from 52 to get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 7

Step 5:
The number 7 fits into 31 4 times, leaving a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 7474.0
Subtracting 28 from 31 leaves us with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 7

On to step 6:
When dividing 31 by 7, we get 4 with a remainder of 3.
The next digit of our result is 4. 
Result so far: 74744.0
Subtract 28 from 31 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 7:
The number 7 fits into 30 4 times, leaving a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 74744.4
If we subtract 28 from 30, we 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.

Step 8:
If we divide 20 by 7, we get 2 and a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 74744.42
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.

Going ahead to step 9:
7 goes into 60 8 times with a remainder of 4.
The next digit of our result is 8. 
Result so far: 74744.428
Deduct 56 from 60 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.

Going ahead to step 10:
7 goes into 40 5 times with a remainder of 5.
The next digit of our result is 5. 
Result so far: 74744.4285
The remainder is 5 after subtracting 35 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 11:
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: 74744.42857
Subtract 49 from 50 to 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.

Let's proceed to step 12:
7 goes into 10 1 times with a remainder of 3.
The next digit of our result is 1. 
Result so far: 74744.428571
Deduct 7 from 10 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 13:
7 can be fit into 30 4 times, resulting in a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 74744.4285714
The remainder is 2 after subtracting 28 from 30.
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 14:
When dividing 20 by 7, we get 2 with a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 74744.42857142
If we take 14 away from 20, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final outcome is 74744.42857142, with a leftover of 6e-09.