Is 5,786 Prime?

No

5786  = 21*111*2631