Exemplo n.º 1
0
 private void getPrimeFactors()
 {
     Divisibility divisibility = new Divisibility();
     Numbers = divisibility.process(MyNumber);
 }
Exemplo n.º 2
0
 public Number getFactors(Number Number)
 {
     Divisibility divisibility = new Divisibility();
     List<Number> Numbers = divisibility.process(Number.MyNumber);
     return Number;
 }
Exemplo n.º 3
0
 public void processByDivisibility()
 {
     Divisibility divisibility = new Divisibility();
     Numbers = divisibility.process(MyNumber);
     isPrime = Numbers.Count != 0 ? false : true;
 }