5787 ÷ 1 = 5787 R0
Let's divide 5787 by 1.

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

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

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

Step 4:
1 goes into 7 7 times with a remainder of 0.
Write down 7 as next digit of of the result. 
Result so far: 5787
Subtract 7 from 7 to get 0.

The final result is 5787 with a remainder of 0.