On Jun 18, 11:56 am, Santanu Sarkar <[email protected]>
wrote:
> How one can define the ring Z_{35} in sage?


sage: R = IntegerModRing(35)
sage: R(13) + R(81)
24
sage: a,b = R(13), R(81)
sage: type(a)
<type 'sage.rings.finite_rings.integer_mod.IntegerMod_int'>
sage: a+b
24
# check
sage: 13 + mod(81, 35)
24

H

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to