We look at the division of 277980 by 123 
The aim is to understand the frequency of 123 in 277980.

Advancing to step 1:
123 can be fit into 2 0 times, resulting in a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 123

Step 2:
If we divide 27 by 123, we get 0 and a remainder of 27.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 27 to get 27.
Fetch the next digit (7) from the dividend, attach it to 27 and continue: 277 / 123

Going ahead to step 3:
The number 123 fits into 277 2 times, leaving a remainder of 31.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 246 from 277 leaves us with 31.
Fetch the next digit (9) from the dividend, attach it to 31 and continue: 319 / 123

Step 4:
123 goes into 319 2 times with a remainder of 73.
Record the quotient 2 as the next digit in the result. 
Result so far: 22.0
The remainder is 73 after subtracting 246 from 319.
Take the next digit (8) from the dividend and append it to 73, then repeat: 738 / 123

Advancing to step 5:
When dividing 738 by 123, we get 6 with a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 226.0
Subtracting 738 from 738 leaves us with 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 123

Step 6:
When dividing 0 by 123, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 2260.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
123 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 2260.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
123 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 2260.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 2260.0, and the remainder is 0.0.