Bojack's blog

By Bojack, history, 5 years ago, In English

Link: https://www.spoj.com/problems/IITKWPCM/ How to solve this problem?

  • Vote: I like it
  • +7
  • Vote: I do not like it

| Write comment?
»
5 years ago, # |
  Vote: I like it +3 Vote: I do not like it

Seems it's Gauss's generalization of Wilson's theorem.