We divide 5945184 by 661
The aim is to understand the frequency of 661 in 5945184.

On to step 1:
When dividing 5 by 661, we get 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 / 661

Step 2:
59 divided by 661 is 0 with a remainder of 59.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 59, we get 59.
Append the next digit (4) from the dividend to 59 and continue with: 594 / 661

On to step 3:
The number 661 fits into 594 0 times, leaving a remainder of 594.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 594, we end up with 594.
Append the next digit (5) from the dividend to 594 and continue with: 5945 / 661

Step 4:
When dividing 5945 by 661, we get 8 with a remainder of 657.
Write down 8 as next digit of the result. 
Result so far: 8.0
Subtract 5288 from 5945 to get 657.
Fetch the next digit (1) from the dividend, attach it to 657 and continue: 6571 / 661

Going ahead to step 5:
6571 divided by 661 is 9 with a remainder of 622.
Use 9 as the next digit of our solution. 
Result so far: 89.0
Subtract 5949 from 6571 to get 622.
Append the next digit (8) from the dividend to 622 and continue with: 6228 / 661

Advancing to step 6:
If we divide 6228 by 661, we get 9 and a remainder of 279.
Use 9 as the next digit of our solution. 
Result so far: 899.0
The remainder is 279 after subtracting 5949 from 6228.
Take the next digit (4) from the dividend and append it to 279, then repeat: 2794 / 661

Let's proceed to step 7:
2794 divided by 661 is 4 with a remainder of 150.
Write down 4 as next digit of the result. 
Result so far: 8994.0
The remainder is 150 after subtracting 2644 from 2794.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Advancing to step 8:
The number 661 fits into 1500 2 times, leaving a remainder of 178.
Write down 2 as next digit of the result. 
Result so far: 8994.2
Deduct 1322 from 1500 and we're left with 178.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

Going ahead to step 9:
When dividing 1780 by 661, we get 2 with a remainder of 458.
The next digit of our result is 2. 
Result so far: 8994.22
If we take 1322 away from 1780, we end up 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.

Our division results in 8994.22 with a remaining 0.458.