K = 2024!(1 + 2025 + 2025*2026)
K = 2024!(1 - 2 - 2(-1)) (mod 2027)
K = 2024! (mod 2027)
And I can't be bothered to figure out what to do from there.
I'm just going to assume 2027 is prime in which case that's the answer.
Got questions about schoolwork? Want to share answers, or discuss your studies? Come to Homework Helpers!
http://www.gamefaqs.com/boards/1060-homework-helpers