How to factor a number?
-
Is it divisible by 2?
-
Yes => It is even
-
And by 6?
- Yes => It is Hexable
- No
-
And by 6?
- No
-
Yes => It is even
-
Is it divisible by 3?
- Yes => It is odd and not in 6x±1
- No
-
Does it have a square root?
-
Yes => It is Pp2x
- It can be either Ppb2x or Ppa2x
- No
-
Yes => It is Pp2x
-
Is it equal to 6x²-1?
- Yes => It is the product of possible twin primes
- It is the last Np before another Pp²
- No
-
Does it belong to 6x - 1?
-
Yes => It is Ppa
-
Is it divisible by another Ppb?
- Yes => It is Npa
- No => It is prime
-
Is it divisible by another Ppb?
- No
-
Yes => It is Ppa
-
Does it belong to 6x + 1?
-
Yes => It is Ppb
-
Is it divisible by another Ppb?
- Yes => It is Npb = Ppb · Ppb
- No
-
Is it divisible by Ppa?
- Yes => It is Npb = Ppa · Ppa
- No => It is prime
-
Is it divisible by another Ppb?
-
Yes => It is Ppb