Let's divide 25589585 by 665
The aim is to understand the frequency of 665 in 25589585.

On to step 1:
665 can be fit into 2 0 times, resulting in a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 665

Going ahead to step 2:
When dividing 25 by 665, we get 0 with a remainder of 25.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 25 after subtracting 0 from 25.
Append the next digit (5) from the dividend to 25 and continue with: 255 / 665

Step 3:
255 divided by 665 is 0 with a remainder of 255.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 255 after subtracting 0 from 255.
Bring next digit (8) of the dividend behind the 255 and repeat the process: 2558 / 665

Moving on to step 4:
If we divide 2558 by 665, we get 3 and a remainder of 563.
The next digit of our result is 3. 
Result so far: 3.0
If we subtract 1995 from 2558, we get 563.
Take the next digit (9) from the dividend and append it to 563, then repeat: 5639 / 665

Advancing to step 5:
665 goes into 5639 8 times with a remainder of 319.
The number 8 becomes the next digit in our result. 
Result so far: 38.0
Subtract 5320 from 5639 to get 319.
Bring next digit (5) of the dividend behind the 319 and repeat the process: 3195 / 665

On to step 6:
665 can be fit into 3195 4 times, resulting in a remainder of 535.
Record the quotient 4 as the next digit in the result. 
Result so far: 384.0
The remainder is 535 after subtracting 2660 from 3195.
Take the next digit (8) from the dividend and append it to 535, then repeat: 5358 / 665

On to step 7:
When dividing 5358 by 665, we get 8 with a remainder of 38.
Write down 8 as next digit of the result. 
Result so far: 3848.0
Subtract 5320 from 5358 to get 38.
Grab the next digit (5) from the dividend, add it to 38, then carry on: 385 / 665

Step 8:
If we divide 385 by 665, we get 0 and a remainder of 385.
The next digit of our result is 0. 
Result so far: 38480.0
Deduct 0 from 385 and we're left with 385.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3850, and continue the process.

On to step 9:
665 can be fit into 3850 5 times, resulting in a remainder of 525.
Write down 5 as next digit of the result. 
Result so far: 38480.5
The remainder is 525 after subtracting 3325 from 3850.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5250, and continue the process.

Going ahead to step 10:
When dividing 5250 by 665, we get 7 with a remainder of 595.
Record the quotient 7 as the next digit in the result. 
Result so far: 38480.57
If we subtract 4655 from 5250, we get 595.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5950, and continue the process.

Advancing to step 11:
665 goes into 5950 8 times with a remainder of 630.
Put 8 as the next digit of the answer. 
Result so far: 38480.578
Subtracting 5320 from 5950 leaves us with 630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6300, and continue the process.

Moving on to step 12:
When dividing 6300 by 665, we get 9 with a remainder of 315.
Use 9 as the next digit of our solution. 
Result so far: 38480.5789
Deduct 5985 from 6300 and we're left with 315.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3150, and continue the process.

Going ahead to step 13:
The number 665 fits into 3150 4 times, leaving a remainder of 490.
The next digit of our result is 4. 
Result so far: 38480.57894
Subtracting 2660 from 3150 leaves us with 490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4900, and continue the process.

Step 14:
4900 divided by 665 is 7 with a remainder of 245.
Put 7 as the next digit of the answer. 
Result so far: 38480.578947
Deduct 4655 from 4900 and we're left with 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

Advancing to step 15:
The number 665 fits into 2450 3 times, leaving a remainder of 455.
Record the quotient 3 as the next digit in the result. 
Result so far: 38480.5789473
The remainder is 455 after subtracting 1995 from 2450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4550, and continue the process.

Advancing to step 16:
4550 divided by 665 is 6 with a remainder of 560.
Write down 6 as next digit of the result. 
Result so far: 38480.57894736
The remainder is 560 after subtracting 3990 from 4550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

After the division, we end up with 38480.57894736 and a remainder of 5.6e-07.