We look at the division of 38997793 by 588 
The aim is to understand the frequency of 588 in 38997793.

On to step 1:
When dividing 3 by 588, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 588

Advancing to step 2:
If we divide 38 by 588, we get 0 and a remainder of 38.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 38 to get 38.
Bring next digit (9) of the dividend behind the 38 and repeat the process: 389 / 588

On to step 3:
The number 588 fits into 389 0 times, leaving a remainder of 389.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 389, we get 389.
Grab the next digit (9) from the dividend, add it to 389, then carry on: 3899 / 588

Moving on to step 4:
When dividing 3899 by 588, we get 6 with a remainder of 371.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Subtract 3528 from 3899 to get 371.
Grab the next digit (7) from the dividend, add it to 371, then carry on: 3717 / 588

Advancing to step 5:
588 can be fit into 3717 6 times, resulting in a remainder of 189.
Write down 6 as next digit of the result. 
Result so far: 66.0
If we subtract 3528 from 3717, we get 189.
Grab the next digit (7) from the dividend, add it to 189, then carry on: 1897 / 588

On to step 6:
588 can be fit into 1897 3 times, resulting in a remainder of 133.
The next digit of our result is 3. 
Result so far: 663.0
If we take 1764 away from 1897, we end up with 133.
Include the next digit (9) from the dividend after 133, then repeat: 1339 / 588

Going ahead to step 7:
When dividing 1339 by 588, we get 2 with a remainder of 163.
Put 2 as the next digit of the answer. 
Result so far: 6632.0
Deduct 1176 from 1339 and we're left with 163.
Grab the next digit (3) from the dividend, add it to 163, then carry on: 1633 / 588

On to step 8:
588 can be fit into 1633 2 times, resulting in a remainder of 457.
The next digit of our result is 2. 
Result so far: 66322.0
If we take 1176 away from 1633, we end up with 457.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4570, and continue the process.

Step 9:
When dividing 4570 by 588, we get 7 with a remainder of 454.
Use 7 as the next digit of our solution. 
Result so far: 66322.7
The remainder is 454 after subtracting 4116 from 4570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4540, and continue the process.

On to step 10:
If we divide 4540 by 588, we get 7 and a remainder of 424.
The next digit of our result is 7. 
Result so far: 66322.77
Deduct 4116 from 4540 and we're left with 424.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4240, and continue the process.

The quotient of the division is 66322.77, and the remainder is 0.424.