Class PE0005

    • Constructor Summary

      Constructors 
      Constructor Description
      PE0005()
      A simple constructor to set number and title.
    • Method Summary

      Modifier and Type Method Description
      java.lang.String solve()
      There is no real program needed to solve this problem.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PE0005

        public PE0005()
        A simple constructor to set number and title.
    • Method Detail

      • solve

        public java.lang.String solve()
        There is no real program needed to solve this problem. I've just test all numbers form 1 to 20 and delete every number that can be replaced by a number that have the same factors. The numbers that finally stay are multiplied.
        Returns:
        the smallest multiple