CLI command that generates a multiplication table of the first N numbers on a specified pattern (prime by default).
php app/console app:number-pattern-table [length, pattern]
Parameters:
- length: how many numbers you want to generate (10 by default)
- pattern: by default is prime, and so far the only one implemented
Refactor the number series generator to avoid having to iterate number by number.