• Contents
  • Exercises
  • Leaderboard
  • The book
  • Login
  • Sign up
  • English English
    • Русский Русский
  1. Contents
  2. 1 Building Abstractions with Procedures
  3. 1.2 Procedures and the Processes They Generate
  4. 1.2.6 Example: Testing for Primality
Previous chapter Next chapter
1.2 Procedures and the Processes They Generate

1.2.6 Example: Testing for Primality

Exercises:

  • 1.21 . Smallest divisor
  • 1.22 . Smallest primes
  • 1.23 . Modify the smallest-divisor
  • 1.24 . Modify the timed-prime-test
  • 1.25 . Extra work
  • 1.26 . Slow procedure
  • 1.27 . Carmichael numbers
  • 1.28 . Miller-Rabin test

Completed by:

  • Ulugbek Tuychiev
  • Pavel
  • databus
  • Sergey
  • Demid Kashirin
  • Anton Burenkov
  • Dmitry Smirnov
  • Anton Potemkin
  • Mikhail Rubashkin
  • Khakim Aidarkhanov
  • Dmitry Barskov
  • honeydev
  • Aleksandr Serov
  • ramazan yaraliev
  • misha
  • Кирилл568
  • timon1410
  • Emit27
  • leios
  • Artem Solomatin
  • Alexander Ismailov
  • mkaraev
  • Халион
  • yarncat
  • vaziliybober
  • Arseniy Oguzov
  • Sergey
  • Murod Khaydarov
  • mkaraev
  • sekvanto
  • Дмитрий
  • Alexey Negramotnov
  • VasilySmolin
  • Yan Zalavin
  • Nikita Lebedev
  • Arsenii
  • ULADZIMIR MARTYNCHYK
  • Anatoliy Bartsev
  • Daniyal77ru
  • Stanislau
  • vpromzelev
  • Victor Kaptsov
  • Grimnir
  • Ivan Kvyatkovskiy
  • Adel
  • 1nsomniaq
  • leteli
  • VadymMan
  • Филипп
  • Владислава
  • Maksimov Gleb
  • workingsea
  • Андрей
  • Жанна
  • Александр
  • polza
  • Roman
  • Stanislav Tanko
  • g7845123

There are no comments yet.

Authentication required

You must log in to post a comment.

Login
  • About
  • Source code
  • Slack #hexlet-volunteers
Help
  • Blog
  • Knowledge
  • Recommended books
OpenSource
  • Hexlet CV
  • Hexlet Editor
  • Hexlet Friends
Extras
  • Code Basics
  • CodeBattle
  • Hexlet Guides