Class PE0032

    • Constructor Summary

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

      Modifier and Type Method Description
      java.lang.String solve()
      Solves this problem by calculation the product for every x and y in the range from 1 to 9999.
      • Methods inherited from class java.lang.Object

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

      • PE0032

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

      • solve

        public java.lang.String solve()
        Solves this problem by calculation the product for every x and y in the range from 1 to 9999. All three numbers (x, y, and resulting product) are tested to be a pandigital identity. Finally all found products summed - but only the first occurrence.
        Returns:
        the sum of all found products
        See Also:
        Mathe.isPandigital(String)