aboutsummaryrefslogtreecommitdiffstats
path: root/doc/exercises.tex (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add missing !Mattias Andrée2016-07-291-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add exercise: [HMP32] Modular tetrationMattias Andrée2016-07-291-4/+126
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Minor text fixMattias Andrée2016-07-291-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* φ(−n) = φ(n), φ(1) = 1, φ(0) = 0Mattias Andrée2016-07-281-2/+6
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix small error in solution for [13] The totientMattias Andrée2016-07-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add exercises:Mattias Andrée2016-07-281-0/+134
| | | | | | | [▶05] zlshu and zrshu [▶M15] Modular left-shift [▶08] Modular left-shift, extended [13] The totient
* Fix spacingMattias Andrée2016-07-281-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix difficulty ratings on exercisesMattias Andrée2016-07-281-3/+6
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add exercice: [▶10] Modular powers of 2Mattias Andrée2016-07-271-0/+17
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Exercise solutions: the return type should be on the line above the function name, like in the rest of the manualMattias Andrée2016-07-251-4/+8
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix another error in the solution for Powers of the golden ratioMattias Andrée2016-07-251-5/+7
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix a small error in the solution for Powers of the golden ratioMattias Andrée2016-07-251-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Style fixMattias Andrée2016-07-251-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add exercise: [30] Powers of the golden ratioMattias Andrée2016-07-251-0/+38
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Alternative solution for [20] Fast primality test with bounded perfectionMattias Andrée2016-07-251-0/+9
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add exercise: [20] Fast primality test with bounded perfectionMattias Andrée2016-07-251-0/+36
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add exercise: [11] Lucas–Lehmer primality testMattias Andrée2016-07-251-0/+85
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add exercises: [10] Fermat primality testMattias Andrée2016-07-241-0/+60
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix typoMattias Andrée2016-07-241-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Saturated subtraction: { => r = }a ∸ b = .....Mattias Andrée2016-07-241-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Mention that a composite that passes a heuristic primality test is kown as a pseudoprimeMattias Andrée2016-07-241-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Make “You should already [...]” small and italicMattias Andrée2016-07-241-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add exercise: [▶02] Saturated subtractionMattias Andrée2016-07-241-1/+31
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add exercise: [▶M17] Factorials invertedMattias Andrée2016-07-241-6/+85
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add exercise: [05] Fast primality testMattias Andrée2016-07-241-0/+37
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add exercise: [M20] Reverse factorisation of factorialsMattias Andrée2016-07-231-1/+48
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add two exercises to the manualMattias Andrée2016-07-231-0/+96
[M10] Convergence of the Lucas Number ratios [M12+] Factorisation of factorials