pseudoremainders