About This Episode

First up is the prime factors Kata. A prime number is a number that is only divisible by itself and one (2, 3, 5, 7, 11...). Further, for any given number, we can generate its prime factors by reducing it down to exclusively prime numbers that, when multiplied, equal the number in question. In this lesson, we'll use TDD to create a class that can generate all prime factors for a number.

View the source code for this episode on GitHub.

Published on Dec 11th, 2019.

Discuss It


    1. Programming Katas Explained

      EPISODE 1 1:31 Free
    2. 60-Second PHPUnit Setup

      EPISODE 2 51 Free
    3. Prime Factors Kata

      EPISODE 3 14:55 Free
    4. Roman Numerals Kata

      EPISODE 4 16:47
    5. Bowling Game Kata

      EPISODE 5 23:40
    6. String Calculator Kata

      EPISODE 6 25:03
    7. Tennis Match Kata

      EPISODE 7 36:50
Back to Series Button