We're dividing 56790161 by 977 
The aim is to understand the frequency of 977 in 56790161.

Let's proceed to step 1:
977 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (6) of the dividend behind the 5 and repeat the process: 56 / 977

Let's proceed to step 2:
977 can be fit into 56 0 times, resulting in a remainder of 56.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 56 to get 56.
Take the next digit (7) from the dividend and append it to 56, then repeat: 567 / 977

On to step 3:
567 divided by 977 is 0 with a remainder of 567.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 567 to get 567.
Take the next digit (9) from the dividend and append it to 567, then repeat: 5679 / 977

Advancing to step 4:
977 can be fit into 5679 5 times, resulting in a remainder of 794.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtracting 4885 from 5679 leaves us with 794.
Append the next digit (0) from the dividend to 794 and continue with: 7940 / 977

On to step 5:
If we divide 7940 by 977, we get 8 and a remainder of 124.
Record the quotient 8 as the next digit in the result. 
Result so far: 58.0
If we subtract 7816 from 7940, we get 124.
Take the next digit (1) from the dividend and append it to 124, then repeat: 1241 / 977

Step 6:
The number 977 fits into 1241 1 times, leaving a remainder of 264.
Write down 1 as next digit of the result. 
Result so far: 581.0
The remainder is 264 after subtracting 977 from 1241.
Grab the next digit (6) from the dividend, add it to 264, then carry on: 2646 / 977

Let's proceed to step 7:
When dividing 2646 by 977, we get 2 with a remainder of 692.
Write down 2 as next digit of the result. 
Result so far: 5812.0
Subtract 1954 from 2646 to get 692.
Grab the next digit (1) from the dividend, add it to 692, then carry on: 6921 / 977

Moving on to step 8:
If we divide 6921 by 977, we get 7 and a remainder of 82.
The number 7 becomes the next digit in our result. 
Result so far: 58127.0
Deduct 6839 from 6921 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.

Moving on to step 9:
977 can be fit into 820 0 times, resulting in a remainder of 820.
Record the quotient 0 as the next digit in the result. 
Result so far: 58127.0
Subtracting 0 from 820 leaves us with 820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8200, and continue the process.

Advancing to step 10:
When dividing 8200 by 977, we get 8 with a remainder of 384.
Write down 8 as next digit of the result. 
Result so far: 58127.08
The remainder is 384 after subtracting 7816 from 8200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3840, and continue the process.

Let's proceed to step 11:
3840 divided by 977 is 3 with a remainder of 909.
The number 3 becomes the next digit in our result. 
Result so far: 58127.083
Subtracting 2931 from 3840 leaves us with 909.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9090, and continue the process.

Step 12:
When dividing 9090 by 977, we get 9 with a remainder of 297.
The next digit of our result is 9. 
Result so far: 58127.0839
Subtracting 8793 from 9090 leaves us with 297.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2970, and continue the process.

Going ahead to step 13:
977 goes into 2970 3 times with a remainder of 39.
The number 3 becomes the next digit in our result. 
Result so far: 58127.08393
Subtract 2931 from 2970 to get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Let's proceed to step 14:
977 can be fit into 390 0 times, resulting in a remainder of 390.
Put 0 as the next digit of the answer. 
Result so far: 58127.08393
Deduct 0 from 390 and we're left with 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3900, and continue the process.

Going ahead to step 15:
If we divide 3900 by 977, we get 3 and a remainder of 969.
Record the quotient 3 as the next digit in the result. 
Result so far: 58127.0839303
The remainder is 969 after subtracting 2931 from 3900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9690, and continue the process.

Step 16:
The number 977 fits into 9690 9 times, leaving a remainder of 897.
The next digit of our result is 9. 
Result so far: 58127.08393039
The remainder is 897 after subtracting 8793 from 9690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8970, and continue the process.

Our division results in 58127.08393039 with a remaining 8.97e-07.