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

Going ahead to step 1:
38 goes into 4 0 times with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (7) from the dividend, attach it to 4 and continue: 47 / 38

Advancing to step 2:
47 divided by 38 is 1 with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 9 after subtracting 38 from 47.
Append the next digit (1) from the dividend to 9 and continue with: 91 / 38

Advancing to step 3:
If we divide 91 by 38, we get 2 and a remainder of 15.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Subtracting 76 from 91 leaves us with 15.
Fetch the next digit (5) from the dividend, attach it to 15 and continue: 155 / 38

Moving on to step 4:
When dividing 155 by 38, we get 4 with a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 124.0
Deduct 152 from 155 and we're left with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 38

Step 5:
38 can be fit into 38 1 times, resulting in a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1241.0
Deduct 38 from 38 and we're left with 0.
Append the next digit (1) from the dividend to 0 and continue with: 1 / 38

On to step 6:
The number 38 fits into 1 0 times, leaving a remainder of 1.
The next digit of our result is 0. 
Result so far: 12410.0
The remainder is 1 after subtracting 0 from 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
38 can be fit into 10 0 times, resulting in a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 12410.0
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
The number 38 fits into 100 2 times, leaving a remainder of 24.
The next digit of our result is 2. 
Result so far: 12410.02
Subtract 76 from 100 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 9:
When dividing 240 by 38, we get 6 with a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 12410.026
Subtracting 228 from 240 leaves us 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.

Step 10:
38 can be fit into 120 3 times, resulting in a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 12410.0263
Subtracting 114 from 120 leaves us with 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 11:
When dividing 60 by 38, we get 1 with a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 12410.02631
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.

Advancing to step 12:
When dividing 220 by 38, we get 5 with a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 12410.026315
If we subtract 190 from 220, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 13:
When dividing 300 by 38, we get 7 with a remainder of 34.
Put 7 as the next digit of the answer. 
Result so far: 12410.0263157
The remainder is 34 after subtracting 266 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 14:
38 can be fit into 340 8 times, resulting in a remainder of 36.
Write down 8 as next digit of the result. 
Result so far: 12410.02631578
Deduct 304 from 340 and we're left 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.

Our division results in 12410.02631578 with a remaining 3.6e-08.