Integers mod n

Description

We demonstrate the integers mod n with the integers mod 8.

Sage Cell

Code

Z8 = Integers(8)
Z8
Z8.list()
a = Z8.an_element(); a
a.parent()
b = 7
c = a + b; c
d = Z8(6)
d
d.parent()
e = Z8(7)
f = d+e; f
g = Z8(85); g
f == g

Options

None

Tags

Primary Tags: abstract algebra

Secondary Tags: integers mod n, groups. rings

Related Cells

Attribute

Permalink: http://abstract.ups.edu/aata/groups-sage.html

Author: R. Beezer

Date: 17 Jul 2017 11:22

Submitted by: Tom Judson

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License