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

Advancing to step 1:
38 goes into 4 0 times with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Append the next digit (9) from the dividend to 4 and continue with: 49 / 38

On to step 2:
38 goes into 49 1 times with a remainder of 11.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 38 from 49, we get 11.
Append the next digit (0) from the dividend to 11 and continue with: 110 / 38

Going ahead to step 3:
The number 38 fits into 110 2 times, leaving a remainder of 34.
Put 2 as the next digit of the answer. 
Result so far: 12.0
If we take 76 away from 110, we end up with 34.
Append the next digit (5) from the dividend to 34 and continue with: 345 / 38

Going ahead to step 4:
345 divided by 38 is 9 with a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 129.0
Deduct 342 from 345 and we're left with 3.
Fetch the next digit (0) from the dividend, attach it to 3 and continue: 30 / 38

Moving on to step 5:
If we divide 30 by 38, we get 0 and a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 1290.0
Deduct 0 from 30 and we're left with 30.
Take the next digit (9) from the dividend and append it to 30, then repeat: 309 / 38

Going ahead to step 6:
The number 38 fits into 309 8 times, leaving a remainder of 5.
Use 8 as the next digit of our solution. 
Result so far: 12908.0
If we take 304 away from 309, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
38 goes into 50 1 times with a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 12908.1
The remainder is 12 after subtracting 38 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 8:
If we divide 120 by 38, we get 3 and a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 12908.13
Subtract 114 from 120 to 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.

On to step 9:
If we divide 60 by 38, we get 1 and a remainder of 22.
The next digit of our result is 1. 
Result so far: 12908.131
The remainder is 22 after subtracting 38 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 10:
The number 38 fits into 220 5 times, leaving a remainder of 30.
The next digit of our result is 5. 
Result so far: 12908.1315
If we take 190 away from 220, we end up 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.

Let's proceed to step 11:
38 can be fit into 300 7 times, resulting in a remainder of 34.
Use 7 as the next digit of our solution. 
Result so far: 12908.13157
Deduct 266 from 300 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 12:
When dividing 340 by 38, we get 8 with a remainder of 36.
Put 8 as the next digit of the answer. 
Result so far: 12908.131578
The remainder is 36 after subtracting 304 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 13:
38 can be fit into 360 9 times, resulting in a remainder of 18.
Write down 9 as next digit of the result. 
Result so far: 12908.1315789
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.

On to step 14:
180 divided by 38 is 4 with a remainder of 28.
Record the quotient 4 as the next digit in the result. 
Result so far: 12908.13157894
Deduct 152 from 180 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The quotient of the division is 12908.13157894, and the remainder is 2.8e-08.