Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Computing square root in IntegerModRing(2^n)

Hi, I'm trying to compute one square root in an IntegerModRing(2^n), but sage appears to fail to do so, am I doing something wrong?

PoC:

sage: n = 216
sage: FF = IntegerModRing(2^n)
sage: FF(1 + 2^(n - 1)).sqrt()

Thanks!