We're dividing 45787189 by 864 
The aim is to understand the frequency of 864 in 45787189.

Moving on to step 1:
When dividing 4 by 864, we get 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Append the next digit (5) from the dividend to 4 and continue with: 45 / 864

On to step 2:
864 goes into 45 0 times with a remainder of 45.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 45 to get 45.
Grab the next digit (7) from the dividend, add it to 45, then carry on: 457 / 864

Let's proceed to step 3:
457 divided by 864 is 0 with a remainder of 457.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 457 and we're left with 457.
Fetch the next digit (8) from the dividend, attach it to 457 and continue: 4578 / 864

Moving on to step 4:
The number 864 fits into 4578 5 times, leaving a remainder of 258.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 4320 from 4578, we get 258.
Grab the next digit (7) from the dividend, add it to 258, then carry on: 2587 / 864

Step 5:
The number 864 fits into 2587 2 times, leaving a remainder of 859.
Use 2 as the next digit of our solution. 
Result so far: 52.0
If we subtract 1728 from 2587, we get 859.
Bring next digit (1) of the dividend behind the 859 and repeat the process: 8591 / 864

On to step 6:
864 goes into 8591 9 times with a remainder of 815.
Write down 9 as next digit of the result. 
Result so far: 529.0
The remainder is 815 after subtracting 7776 from 8591.
Include the next digit (8) from the dividend after 815, then repeat: 8158 / 864

Let's proceed to step 7:
If we divide 8158 by 864, we get 9 and a remainder of 382.
Put 9 as the next digit of the answer. 
Result so far: 5299.0
Deduct 7776 from 8158 and we're left with 382.
Include the next digit (9) from the dividend after 382, then repeat: 3829 / 864

Advancing to step 8:
If we divide 3829 by 864, we get 4 and a remainder of 373.
The number 4 becomes the next digit in our result. 
Result so far: 52994.0
Subtracting 3456 from 3829 leaves us with 373.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3730, and continue the process.

Going ahead to step 9:
When dividing 3730 by 864, we get 4 with a remainder of 274.
The next digit of our result is 4. 
Result so far: 52994.4
Subtract 3456 from 3730 to get 274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

On to step 10:
The number 864 fits into 2740 3 times, leaving a remainder of 148.
Record the quotient 3 as the next digit in the result. 
Result so far: 52994.43
Deduct 2592 from 2740 and we're left with 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

Going ahead to step 11:
864 can be fit into 1480 1 times, resulting in a remainder of 616.
Record the quotient 1 as the next digit in the result. 
Result so far: 52994.431
Subtracting 864 from 1480 leaves us with 616.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6160, and continue the process.

Step 12:
The number 864 fits into 6160 7 times, leaving a remainder of 112.
The next digit of our result is 7. 
Result so far: 52994.4317
If we take 6048 away from 6160, we end up with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Advancing to step 13:
864 can be fit into 1120 1 times, resulting in a remainder of 256.
The next digit of our result is 1. 
Result so far: 52994.43171
Subtract 864 from 1120 to get 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

Step 14:
864 can be fit into 2560 2 times, resulting in a remainder of 832.
Put 2 as the next digit of the answer. 
Result so far: 52994.431712
If we take 1728 away from 2560, we end up with 832.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8320, and continue the process.

Advancing to step 15:
When dividing 8320 by 864, we get 9 with a remainder of 544.
Record the quotient 9 as the next digit in the result. 
Result so far: 52994.4317129
Deduct 7776 from 8320 and we're left with 544.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5440, and continue the process.

On to step 16:
864 can be fit into 5440 6 times, resulting in a remainder of 256.
Record the quotient 6 as the next digit in the result. 
Result so far: 52994.43171296
The remainder is 256 after subtracting 5184 from 5440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

The quotient of the division is 52994.43171296, and the remainder is 2.56e-07.