We're dividing 4087915 by 598 
The aim is to understand the frequency of 598 in 4087915.

On to step 1:
4 divided by 598 is 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 598

Moving on to step 2:
40 divided by 598 is 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Take the next digit (8) from the dividend and append it to 40, then repeat: 408 / 598

Let's proceed to step 3:
The number 598 fits into 408 0 times, leaving a remainder of 408.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 408 after subtracting 0 from 408.
Fetch the next digit (7) from the dividend, attach it to 408 and continue: 4087 / 598

Going ahead to step 4:
When dividing 4087 by 598, we get 6 with a remainder of 499.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
The remainder is 499 after subtracting 3588 from 4087.
Append the next digit (9) from the dividend to 499 and continue with: 4999 / 598

Let's proceed to step 5:
If we divide 4999 by 598, we get 8 and a remainder of 215.
The number 8 becomes the next digit in our result. 
Result so far: 68.0
Deduct 4784 from 4999 and we're left with 215.
Grab the next digit (1) from the dividend, add it to 215, then carry on: 2151 / 598

Let's proceed to step 6:
598 can be fit into 2151 3 times, resulting in a remainder of 357.
The number 3 becomes the next digit in our result. 
Result so far: 683.0
Subtract 1794 from 2151 to get 357.
Append the next digit (5) from the dividend to 357 and continue with: 3575 / 598

Let's proceed to step 7:
If we divide 3575 by 598, we get 5 and a remainder of 585.
Record the quotient 5 as the next digit in the result. 
Result so far: 6835.0
Subtract 2990 from 3575 to get 585.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5850, and continue the process.

Moving on to step 8:
If we divide 5850 by 598, we get 9 and a remainder of 468.
Put 9 as the next digit of the answer. 
Result so far: 6835.9
The remainder is 468 after subtracting 5382 from 5850.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4680, and continue the process.

Moving on to step 9:
If we divide 4680 by 598, we get 7 and a remainder of 494.
Put 7 as the next digit of the answer. 
Result so far: 6835.97
Subtracting 4186 from 4680 leaves us with 494.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4940, and continue the process.

Step 10:
598 goes into 4940 8 times with a remainder of 156.
Record the quotient 8 as the next digit in the result. 
Result so far: 6835.978
Deduct 4784 from 4940 and we're left with 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Going ahead to step 11:
598 goes into 1560 2 times with a remainder of 364.
Record the quotient 2 as the next digit in the result. 
Result so far: 6835.9782
If we take 1196 away from 1560, we end up with 364.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3640, and continue the process.

Step 12:
598 goes into 3640 6 times with a remainder of 52.
Write down 6 as next digit of the result. 
Result so far: 6835.97826
If we take 3588 away from 3640, we end up with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 13:
When dividing 520 by 598, we get 0 with a remainder of 520.
Write down 0 as next digit of the result. 
Result so far: 6835.97826
The remainder is 520 after subtracting 0 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5200, and continue the process.

Step 14:
5200 divided by 598 is 8 with a remainder of 416.
Write down 8 as next digit of the result. 
Result so far: 6835.9782608
The remainder is 416 after subtracting 4784 from 5200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4160, and continue the process.

On to step 15:
If we divide 4160 by 598, we get 6 and a remainder of 572.
The number 6 becomes the next digit in our result. 
Result so far: 6835.97826086
The remainder is 572 after subtracting 3588 from 4160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5720, and continue the process.

Our division results in 6835.97826086 with a remaining 5.72e-07.