correct kesava(n,q)
docs
use chinese remainder theorem for idempotents