Skip to main content
1 of 3
Turbo
  • 13.9k
  • 1
  • 27
  • 76

Analog of ceil and floor of $\sqrt{a(a+1)}$ in modular arithmetic

If we take ceil and floor of $\sqrt{a(a+1)}$ we get $a$ and $a+1$ respectively. Is there an analog of this assuming roots exist in modular arithmetic (at least modulo primes)?

Turbo
  • 13.9k
  • 1
  • 27
  • 76