Skip to main content

SF1688 Discrete Mathematics 6.0 credits

Choose semester and course offering

Choose semester and course offering to see current information and more about the course, such as course syllabus, study period, and application information.

Headings with content from the Course syllabus SF1688 (Autumn 2019–) are denoted with an asterisk ( )

Content and learning outcomes

Course contents

Linear recursion with constant coefficients. The Master theorem.

Graphs. Euler circuits, Hamilton cycles. Trees. Graph coloring. Planar graphs. Euler’s polyhedron formula, Kuratowski's theorem. Bipartite graphs. Hall's marriage theorem. Augmenting alternating paths. Transversals.

Integer arithmetic. Modular arithmetic. Euler’s ɸ- and Möbius’ μ-function. Euler’s theorem and Fermat’s little theorem.

Permutations. Cycle notation. Conjugated permutations. Even and odd permutations.

Basic group theory. Order of group elements and group. Cyclic groups. The symmetric group. Subgroups, cosets. Lagrange’s theorem. Group actions on sets. Burnside’s lemma.

Rings and fields. Factorization of polynomials. Irreducible polynomials. Finite fields.

Error correcting linear binary codes. RSA cryptosystem. Primality tests.

Intended learning outcomes

After the course the student should be able to

  • formulate basic theorems and definitions of important concepts with discrete mathematics,
  • apply theorems and methods in discrete mathematics,

in order to

  • gain basic knowledge of discrete mathematics and elementary graph theory,
  • acquire better problem solving abilities in elementary combinatorics,
  • gain knowledge of how to use some abstract algebraic structures.

Course disposition

No information inserted

Literature and preparations

Specific prerequisites

Completed basic courses SF1671 Mathematics, Basic course, with Discrete Mathematics and SF1624 Algebra and Geometry.

Recommended prerequisites

No information inserted


No information inserted


Announced no later than 4 weeks before the start of the course on the course web page.

Examination and completion

If the course is discontinued, students may request to be examined during the following two academic years.

Grading scale

A, B, C, D, E, FX, F


  • TEN1 - Exam, 6.0 credits, grading scale: A, B, C, D, E, FX, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

The examiner decides, in consultation with KTHs Coordinator of students with disabilities (Funka), about any customized examination for students with documented, lasting disability. The examiner may allow another form of examination for re-examination of individual students.

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted


Ethical approach

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Further information

Course web

Further information about the course can be found on the Course web at the link below. Information on the Course web will later be moved to this site.

Course web SF1688

Offered by

Main field of study


Education cycle

First cycle

Add-on studies

No information inserted