Sane, I have a question. In the beginner class, you state that
Quote:
|
Originally Posted by Rules
3) Unless n is prime, then n must decrease by 1.
|
Which to me implies that n must decrease by one
except when it is prime. But your sample data seems to indicate otherwise.
For example,
You say a start of 2 2 should result in a chain of 2, 1.
However, 2 is prime. So it seems to me that the sequence should be 2 5.
When I change the rule to decrease by 1
only when n is prime, I can replicate your test case. Can you clarify please?