Class PE0012

    • Constructor Summary

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

      Modifier and Type Method Description
      java.lang.String solve()
      This method runs a loop to find the next element in the triangular series.
      • Methods inherited from class java.lang.Object

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

      • PE0012

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

      • solve

        public java.lang.String solve()
        This method runs a loop to find the next element in the triangular series. For every element the dividers are counted using a second, internal loop. If the first number of dividers greater than 500 is found the outer loop is left.
        Returns:
        the current element of the triangular series with more than 500 divisors
        See Also:
        Mathe.getCountOfDivisors(long)