arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Sample Page

A rough guideline to a page

hashtag
Introduction

Give a description of the topic, and what you hope the reader will get from this. For example, this page will cover addition of the natural numbers. Talk about how this relates to something in cryptography, either through a protocol, or an attack. This can be a single sentence, or verbose.

hashtag
Laws of Addition

For all integers, the addition operation is

  • Associative:

  • Commutative:

  • Distributive:

hashtag
Interesting Identity

hashtag
Sage Example

hashtag
Further Resources

  • Links to

  • Other interesting

  • Resources

hashtag

Contains an identity element: a+0=0+a=aa + 0 = 0 + a = aa+0=0+a=a

  • Has an inverse for every element: a+(−a)=(−a)+a=0a + (-a) = (-a) + a = 0a+(−a)=(−a)+a=0

  • Closed: ∀a,b∈Z,a+b∈Z\forall a, b \in \mathbb{Z}, a + b \in \mathbb{Z}∀a,b∈Z,a+b∈Z

  • a+(b+c)=(a+b)+ca + (b + c) = (a + b) + ca+(b+c)=(a+b)+c
    a+b=b+aa + b = b + aa+b=b+a
    a(b+c)=ab+aca(b + c) = ab + aca(b+c)=ab+ac
    (1+2+3+…+n)2=13+23+33+…+n3(1 + 2 + 3 + \ldots + n)^2 = 1^3 + 2^3 + 3^3 + \ldots + n^3(1+2+3+…+n)2=13+23+33+…+n3
    sage: 1 + (2 + 3) == (1 + 2) + 3
    True
    sage: 1 + 2 == 2 + 1
    True
    sage: 5*(7 + 11) == 5*7 + 5*11
    True
    sage: sum(i for i in range(1000))^2 == sum(i^3 for i in range(1000))
    True