10397901 divided by 822 
The aim is to understand the frequency of 822 in 10397901.

Going ahead to step 1:
If we divide 1 by 822, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Include the next digit (0) from the dividend after 1, then repeat: 10 / 822

Advancing to step 2:
The number 822 fits into 10 0 times, leaving a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 10, we get 10.
Take the next digit (3) from the dividend and append it to 10, then repeat: 103 / 822

Step 3:
822 goes into 103 0 times with a remainder of 103.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 103 to get 103.
Include the next digit (9) from the dividend after 103, then repeat: 1039 / 822

On to step 4:
822 can be fit into 1039 1 times, resulting in a remainder of 217.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 822 from 1039, we get 217.
Bring next digit (7) of the dividend behind the 217 and repeat the process: 2177 / 822

Moving on to step 5:
The number 822 fits into 2177 2 times, leaving a remainder of 533.
Put 2 as the next digit of the answer. 
Result so far: 12.0
Subtract 1644 from 2177 to get 533.
Take the next digit (9) from the dividend and append it to 533, then repeat: 5339 / 822

Going ahead to step 6:
If we divide 5339 by 822, we get 6 and a remainder of 407.
The number 6 becomes the next digit in our result. 
Result so far: 126.0
Deduct 4932 from 5339 and we're left with 407.
Include the next digit (0) from the dividend after 407, then repeat: 4070 / 822

Going ahead to step 7:
If we divide 4070 by 822, we get 4 and a remainder of 782.
The number 4 becomes the next digit in our result. 
Result so far: 1264.0
If we take 3288 away from 4070, we end up with 782.
Fetch the next digit (1) from the dividend, attach it to 782 and continue: 7821 / 822

Moving on to step 8:
If we divide 7821 by 822, we get 9 and a remainder of 423.
The next digit of our result is 9. 
Result so far: 12649.0
If we subtract 7398 from 7821, we get 423.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4230, and continue the process.

Step 9:
4230 divided by 822 is 5 with a remainder of 120.
The next digit of our result is 5. 
Result so far: 12649.5
If we take 4110 away from 4230, we end up with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

On to step 10:
The number 822 fits into 1200 1 times, leaving a remainder of 378.
Put 1 as the next digit of the answer. 
Result so far: 12649.51
The remainder is 378 after subtracting 822 from 1200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3780, and continue the process.

On to step 11:
822 can be fit into 3780 4 times, resulting in a remainder of 492.
The number 4 becomes the next digit in our result. 
Result so far: 12649.514
Subtract 3288 from 3780 to get 492.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4920, and continue the process.

Moving on to step 12:
4920 divided by 822 is 5 with a remainder of 810.
Use 5 as the next digit of our solution. 
Result so far: 12649.5145
Subtract 4110 from 4920 to get 810.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8100, and continue the process.

Going ahead to step 13:
When dividing 8100 by 822, we get 9 with a remainder of 702.
Record the quotient 9 as the next digit in the result. 
Result so far: 12649.51459
Deduct 7398 from 8100 and we're left with 702.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7020, and continue the process.

Going ahead to step 14:
The number 822 fits into 7020 8 times, leaving a remainder of 444.
Record the quotient 8 as the next digit in the result. 
Result so far: 12649.514598
The remainder is 444 after subtracting 6576 from 7020.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4440, and continue the process.

Moving on to step 15:
822 goes into 4440 5 times with a remainder of 330.
The number 5 becomes the next digit in our result. 
Result so far: 12649.5145985
Subtracting 4110 from 4440 leaves us with 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3300, and continue the process.

Going ahead to step 16:
When dividing 3300 by 822, we get 4 with a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 12649.51459854
Subtract 3288 from 3300 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

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