We're dividing 802589 by 38 
The aim is to understand the frequency of 38 in 802589.

Going ahead to step 1:
8 divided by 38 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Fetch the next digit (0) from the dividend, attach it to 8 and continue: 80 / 38

Step 2:
If we divide 80 by 38, we get 2 and a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 76 from 80, we get 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 38

Let's proceed to step 3:
38 goes into 42 1 times with a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 21.0
Subtract 38 from 42 to get 4.
Include the next digit (5) from the dividend after 4, then repeat: 45 / 38

On to step 4:
When dividing 45 by 38, we get 1 with a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 211.0
Deduct 38 from 45 and we're left with 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 38

Going ahead to step 5:
38 goes into 78 2 times with a remainder of 2.
The next digit of our result is 2. 
Result so far: 2112.0
Subtract 76 from 78 to get 2.
Take the next digit (9) from the dividend and append it to 2, then repeat: 29 / 38

Step 6:
38 can be fit into 29 0 times, resulting in a remainder of 29.
The number 0 becomes the next digit in our result. 
Result so far: 21120.0
Subtracting 0 from 29 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 7:
290 divided by 38 is 7 with a remainder of 24.
The number 7 becomes the next digit in our result. 
Result so far: 21120.7
Subtracting 266 from 290 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 8:
If we divide 240 by 38, we get 6 and a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 21120.76
Deduct 228 from 240 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 9:
When dividing 120 by 38, we get 3 with a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 21120.763
If we subtract 114 from 120, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 10:
38 goes into 60 1 times with a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 21120.7631
Subtracting 38 from 60 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 11:
When dividing 220 by 38, we get 5 with a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 21120.76315
Subtracting 190 from 220 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 12:
38 goes into 300 7 times with a remainder of 34.
The number 7 becomes the next digit in our result. 
Result so far: 21120.763157
If we subtract 266 from 300, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 13:
340 divided by 38 is 8 with a remainder of 36.
Use 8 as the next digit of our solution. 
Result so far: 21120.7631578
Subtracting 304 from 340 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 14:
38 goes into 360 9 times with a remainder of 18.
The number 9 becomes the next digit in our result. 
Result so far: 21120.76315789
If we subtract 342 from 360, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Our division results in 21120.76315789 with a remaining 1.8e-08.