We're dividing 5985771 by 122 
The aim is to understand the frequency of 122 in 5985771.

Step 1:
5 divided by 122 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (9) from the dividend, add it to 5, then carry on: 59 / 122

Step 2:
59 divided by 122 is 0 with a remainder of 59.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 59 to get 59.
Grab the next digit (8) from the dividend, add it to 59, then carry on: 598 / 122

On to step 3:
598 divided by 122 is 4 with a remainder of 110.
The next digit of our result is 4. 
Result so far: 4.0
Subtracting 488 from 598 leaves us with 110.
Fetch the next digit (5) from the dividend, attach it to 110 and continue: 1105 / 122

Advancing to step 4:
122 goes into 1105 9 times with a remainder of 7.
Record the quotient 9 as the next digit in the result. 
Result so far: 49.0
Subtract 1098 from 1105 to get 7.
Include the next digit (7) from the dividend after 7, then repeat: 77 / 122

Let's proceed to step 5:
122 goes into 77 0 times with a remainder of 77.
Record the quotient 0 as the next digit in the result. 
Result so far: 490.0
Subtract 0 from 77 to get 77.
Fetch the next digit (7) from the dividend, attach it to 77 and continue: 777 / 122

Let's proceed to step 6:
The number 122 fits into 777 6 times, leaving a remainder of 45.
Put 6 as the next digit of the answer. 
Result so far: 4906.0
Subtract 732 from 777 to get 45.
Grab the next digit (1) from the dividend, add it to 45, then carry on: 451 / 122

Step 7:
If we divide 451 by 122, we get 3 and a remainder of 85.
Use 3 as the next digit of our solution. 
Result so far: 49063.0
If we take 366 away from 451, we end up with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Step 8:
If we divide 850 by 122, we get 6 and a remainder of 118.
Record the quotient 6 as the next digit in the result. 
Result so far: 49063.6
Deduct 732 from 850 and we're left with 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Moving on to step 9:
The number 122 fits into 1180 9 times, leaving a remainder of 82.
Use 9 as the next digit of our solution. 
Result so far: 49063.69
Deduct 1098 from 1180 and we're left with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Advancing to step 10:
820 divided by 122 is 6 with a remainder of 88.
Put 6 as the next digit of the answer. 
Result so far: 49063.696
The remainder is 88 after subtracting 732 from 820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Let's proceed to step 11:
The number 122 fits into 880 7 times, leaving a remainder of 26.
The next digit of our result is 7. 
Result so far: 49063.6967
Deduct 854 from 880 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 12:
The number 122 fits into 260 2 times, leaving a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 49063.69672
If we take 244 away from 260, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 13:
160 divided by 122 is 1 with a remainder of 38.
Record the quotient 1 as the next digit in the result. 
Result so far: 49063.696721
Subtract 122 from 160 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 14:
When dividing 380 by 122, we get 3 with a remainder of 14.
The next digit of our result is 3. 
Result so far: 49063.6967213
Deduct 366 from 380 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 15:
The number 122 fits into 140 1 times, leaving a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 49063.69672131
The remainder is 18 after subtracting 122 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

In conclusion, the division gives 49063.69672131 with a balance of 1.8e-08.