31234571 ÷ 822 
The aim is to understand the frequency of 822 in 31234571.

Moving on to step 1:
822 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 822

On to step 2:
The number 822 fits into 31 0 times, leaving a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Include the next digit (2) from the dividend after 31, then repeat: 312 / 822

Step 3:
When dividing 312 by 822, we get 0 with a remainder of 312.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 312 after subtracting 0 from 312.
Append the next digit (3) from the dividend to 312 and continue with: 3123 / 822

Going ahead to step 4:
If we divide 3123 by 822, we get 3 and a remainder of 657.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we take 2466 away from 3123, we end up with 657.
Grab the next digit (4) from the dividend, add it to 657, then carry on: 6574 / 822

On to step 5:
If we divide 6574 by 822, we get 7 and a remainder of 820.
Write down 7 as next digit of the result. 
Result so far: 37.0
The remainder is 820 after subtracting 5754 from 6574.
Fetch the next digit (5) from the dividend, attach it to 820 and continue: 8205 / 822

Let's proceed to step 6:
If we divide 8205 by 822, we get 9 and a remainder of 807.
Put 9 as the next digit of the answer. 
Result so far: 379.0
If we take 7398 away from 8205, we end up with 807.
Include the next digit (7) from the dividend after 807, then repeat: 8077 / 822

On to step 7:
If we divide 8077 by 822, we get 9 and a remainder of 679.
Record the quotient 9 as the next digit in the result. 
Result so far: 3799.0
The remainder is 679 after subtracting 7398 from 8077.
Bring next digit (1) of the dividend behind the 679 and repeat the process: 6791 / 822

Going ahead to step 8:
822 can be fit into 6791 8 times, resulting in a remainder of 215.
Write down 8 as next digit of the result. 
Result so far: 37998.0
Subtract 6576 from 6791 to get 215.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2150, and continue the process.

Let's proceed to step 9:
The number 822 fits into 2150 2 times, leaving a remainder of 506.
Use 2 as the next digit of our solution. 
Result so far: 37998.2
If we subtract 1644 from 2150, we get 506.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5060, and continue the process.

Step 10:
When dividing 5060 by 822, we get 6 with a remainder of 128.
Put 6 as the next digit of the answer. 
Result so far: 37998.26
Subtract 4932 from 5060 to get 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Going ahead to step 11:
When dividing 1280 by 822, we get 1 with a remainder of 458.
Write down 1 as next digit of the result. 
Result so far: 37998.261
Subtracting 822 from 1280 leaves us with 458.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4580, and continue the process.

Step 12:
822 can be fit into 4580 5 times, resulting in a remainder of 470.
Use 5 as the next digit of our solution. 
Result so far: 37998.2615
Subtract 4110 from 4580 to get 470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4700, and continue the process.

Let's proceed to step 13:
If we divide 4700 by 822, we get 5 and a remainder of 590.
The number 5 becomes the next digit in our result. 
Result so far: 37998.26155
If we subtract 4110 from 4700, we get 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5900, and continue the process.

The quotient of the division is 37998.26155, and the remainder is 0.00059.