5024 ÷ 3 = 1674 R2
Let's divide 5024 by 3.

Step 1:
3 goes into 5 1 times with a remainder of 2.
Write down 1 as next digit of of the result. 
Result so far: 1
Subtract 3 from 5 to get 2.
Bring next digit (0) of the dividend behind the 2 and repeat the process: 20 / 3

Step 2:
3 goes into 20 6 times with a remainder of 2.
Write down 6 as next digit of of the result. 
Result so far: 16
Subtract 18 from 20 to get 2.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 3

Step 3:
3 goes into 22 7 times with a remainder of 1.
Write down 7 as next digit of of the result. 
Result so far: 167
Subtract 21 from 22 to get 1.
Bring next digit (4) of the dividend behind the 1 and repeat the process: 14 / 3

Step 4:
3 goes into 14 4 times with a remainder of 2.
Write down 4 as next digit of of the result. 
Result so far: 1674
Subtract 12 from 14 to get 2.

The final result is 1674 with a remainder of 2.