Let's divide 586408 by 38
The aim is to understand the frequency of 38 in 586408.

On to step 1:
38 goes into 5 0 times with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 38

Going ahead to step 2:
When dividing 58 by 38, we get 1 with a remainder of 20.
The next digit of our result is 1. 
Result so far: 1.0
If we take 38 away from 58, we end up with 20.
Take the next digit (6) from the dividend and append it to 20, then repeat: 206 / 38

Step 3:
When dividing 206 by 38, we get 5 with a remainder of 16.
Write down 5 as next digit of the result. 
Result so far: 15.0
If we take 190 away from 206, we end up with 16.
Fetch the next digit (4) from the dividend, attach it to 16 and continue: 164 / 38

Going ahead to step 4:
If we divide 164 by 38, we get 4 and a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 154.0
If we take 152 away from 164, we end up with 12.
Append the next digit (0) from the dividend to 12 and continue with: 120 / 38

Going ahead to step 5:
When dividing 120 by 38, we get 3 with a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 1543.0
The remainder is 6 after subtracting 114 from 120.
Grab the next digit (8) from the dividend, add it to 6, then carry on: 68 / 38

Advancing to step 6:
68 divided by 38 is 1 with a remainder of 30.
Write down 1 as next digit of the result. 
Result so far: 15431.0
Deduct 38 from 68 and we're left 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.

Moving on to step 7:
38 goes into 300 7 times with a remainder of 34.
Put 7 as the next digit of the answer. 
Result so far: 15431.7
Subtract 266 from 300 to 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 8:
The number 38 fits into 340 8 times, leaving a remainder of 36.
The next digit of our result is 8. 
Result so far: 15431.78
Subtract 304 from 340 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 9:
If we divide 360 by 38, we get 9 and a remainder of 18.
The number 9 becomes the next digit in our result. 
Result so far: 15431.789
Deduct 342 from 360 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 10:
38 can be fit into 180 4 times, resulting in a remainder of 28.
Record the quotient 4 as the next digit in the result. 
Result so far: 15431.7894
Subtract 152 from 180 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 11:
When dividing 280 by 38, we get 7 with a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 15431.78947
The remainder is 14 after subtracting 266 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 12:
The number 38 fits into 140 3 times, leaving a remainder of 26.
Write down 3 as next digit of the result. 
Result so far: 15431.789473
Subtract 114 from 140 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 13:
38 can be fit into 260 6 times, resulting in a remainder of 32.
The next digit of our result is 6. 
Result so far: 15431.7894736
Subtract 228 from 260 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 14:
If we divide 320 by 38, we get 8 and a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 15431.78947368
The remainder is 16 after subtracting 304 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

After the division, we end up with 15431.78947368 and a remainder of 1.6e-08.