We look at the division of 701022 by 31 
The aim is to understand the frequency of 31 in 701022.

Moving on to step 1:
31 can be fit into 7 0 times, resulting in a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Append the next digit (0) from the dividend to 7 and continue with: 70 / 31

Step 2:
If we divide 70 by 31, we get 2 and a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 62 from 70 to get 8.
Include the next digit (1) from the dividend after 8, then repeat: 81 / 31

Advancing to step 3:
If we divide 81 by 31, we get 2 and a remainder of 19.
The next digit of our result is 2. 
Result so far: 22.0
The remainder is 19 after subtracting 62 from 81.
Grab the next digit (0) from the dividend, add it to 19, then carry on: 190 / 31

Let's proceed to step 4:
31 can be fit into 190 6 times, resulting in a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 226.0
Deduct 186 from 190 and we're left with 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 31

Let's proceed to step 5:
42 divided by 31 is 1 with a remainder of 11.
Put 1 as the next digit of the answer. 
Result so far: 2261.0
If we subtract 31 from 42, we get 11.
Fetch the next digit (2) from the dividend, attach it to 11 and continue: 112 / 31

Let's proceed to step 6:
When dividing 112 by 31, we get 3 with a remainder of 19.
Write down 3 as next digit of the result. 
Result so far: 22613.0
The remainder is 19 after subtracting 93 from 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 7:
31 goes into 190 6 times with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 22613.6
If we take 186 away from 190, 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.

Let's proceed to step 8:
31 can be fit into 40 1 times, resulting in a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 22613.61
If we take 31 away from 40, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 9:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 22613.612
Subtract 62 from 90 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 10:
31 can be fit into 280 9 times, resulting in a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 22613.6129
Subtract 279 from 280 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.

Going ahead to step 11:
10 divided by 31 is 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 22613.6129
Deduct 0 from 10 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.

Going ahead to step 12:
100 divided by 31 is 3 with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 22613.612903
If we subtract 93 from 100, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 13:
When dividing 70 by 31, we get 2 with a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 22613.6129032
If we take 62 away from 70, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 14:
31 goes into 80 2 times with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 22613.61290322
Deduct 62 from 80 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 22613.61290322 and a remainder of 1.8e-08.