We look at the division of 21734476 by 402 
The aim is to understand the frequency of 402 in 21734476.

Going ahead to step 1:
2 divided by 402 is 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 402

Advancing to step 2:
The number 402 fits into 21 0 times, leaving a remainder of 21.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 21 leaves us with 21.
Append the next digit (7) from the dividend to 21 and continue with: 217 / 402

Advancing to step 3:
When dividing 217 by 402, we get 0 with a remainder of 217.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 217 and we're left with 217.
Grab the next digit (3) from the dividend, add it to 217, then carry on: 2173 / 402

Step 4:
402 can be fit into 2173 5 times, resulting in a remainder of 163.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 2010 from 2173, we get 163.
Include the next digit (4) from the dividend after 163, then repeat: 1634 / 402

Advancing to step 5:
402 goes into 1634 4 times with a remainder of 26.
Use 4 as the next digit of our solution. 
Result so far: 54.0
Subtract 1608 from 1634 to get 26.
Grab the next digit (4) from the dividend, add it to 26, then carry on: 264 / 402

Let's proceed to step 6:
When dividing 264 by 402, we get 0 with a remainder of 264.
Record the quotient 0 as the next digit in the result. 
Result so far: 540.0
If we subtract 0 from 264, we get 264.
Include the next digit (7) from the dividend after 264, then repeat: 2647 / 402

On to step 7:
402 can be fit into 2647 6 times, resulting in a remainder of 235.
Write down 6 as next digit of the result. 
Result so far: 5406.0
Subtract 2412 from 2647 to get 235.
Fetch the next digit (6) from the dividend, attach it to 235 and continue: 2356 / 402

On to step 8:
402 goes into 2356 5 times with a remainder of 346.
The next digit of our result is 5. 
Result so far: 54065.0
If we subtract 2010 from 2356, we get 346.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3460, and continue the process.

Advancing to step 9:
When dividing 3460 by 402, we get 8 with a remainder of 244.
Record the quotient 8 as the next digit in the result. 
Result so far: 54065.8
Deduct 3216 from 3460 and we're left with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

Advancing to step 10:
When dividing 2440 by 402, we get 6 with a remainder of 28.
The number 6 becomes the next digit in our result. 
Result so far: 54065.86
Subtracting 2412 from 2440 leaves us 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.

Let's proceed to step 11:
402 goes into 280 0 times with a remainder of 280.
Write down 0 as next digit of the result. 
Result so far: 54065.86
Subtract 0 from 280 to get 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Moving on to step 12:
If we divide 2800 by 402, we get 6 and a remainder of 388.
Use 6 as the next digit of our solution. 
Result so far: 54065.8606
Subtracting 2412 from 2800 leaves us with 388.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3880, and continue the process.

Moving on to step 13:
The number 402 fits into 3880 9 times, leaving a remainder of 262.
Record the quotient 9 as the next digit in the result. 
Result so far: 54065.86069
If we take 3618 away from 3880, we end up with 262.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2620, and continue the process.

Going ahead to step 14:
402 goes into 2620 6 times with a remainder of 208.
The next digit of our result is 6. 
Result so far: 54065.860696
Deduct 2412 from 2620 and we're left with 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Let's proceed to step 15:
402 can be fit into 2080 5 times, resulting in a remainder of 70.
The number 5 becomes the next digit in our result. 
Result so far: 54065.8606965
If we take 2010 away from 2080, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Advancing to step 16:
402 can be fit into 700 1 times, resulting in a remainder of 298.
Record the quotient 1 as the next digit in the result. 
Result so far: 54065.86069651
The remainder is 298 after subtracting 402 from 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2980, and continue the process.

After the division, we end up with 54065.86069651 and a remainder of 2.98e-07.