Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ring conversion, finite to infinite

Hello,

In the snippet below, how can I turn m into an integer or real so that the division results in 222?

m=mod(7, 5) print m 2 print type(m) <type 'sage.rings.finite_rings.integer_mod.integermod_int'=""> print 444/m 2

Regards, Rob.

Ring conversion, finite to infinite

Hello,

In the snippet below, how can I turn m into an integer or real so that the division results in 222?

m=mod(7, 5)
print m
  2
print type(m)
  <type 'sage.rings.finite_rings.integer_mod.integermod_int'="">
'sage.rings.finite_rings.integer_mod.IntegerMod_int'>
print 444/m
2

2

Regards, Rob.