Class PE0062

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Hashtable<LargeNumber,​java.lang.Integer> FoundCount
      Stores the count how often the ordered digits of a cubic were found
      private java.util.Hashtable<LargeNumber,​LargeNumber> FoundFirst
      Stores the very first cubic for every found ordered digits
    • Constructor Summary

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

      Modifier and Type Method Description
      void prepare()
      Implementation of the preparation method called before solving the problem.
      java.lang.String solve()
      This method solves the problem by checking every cubic's ordered digits if they were found before.
      • Methods inherited from class java.lang.Object

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

      • FoundCount

        private java.util.Hashtable<LargeNumber,​java.lang.Integer> FoundCount
        Stores the count how often the ordered digits of a cubic were found
      • FoundFirst

        private java.util.Hashtable<LargeNumber,​LargeNumber> FoundFirst
        Stores the very first cubic for every found ordered digits
    • Constructor Detail

      • PE0062

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

      • prepare

        public void prepare()
        Implementation of the preparation method called before solving the problem. It overrides the standard implementation in Problem.
        Specified by:
        prepare in interface Solvable
        Overrides:
        prepare in class Problem
      • solve

        public java.lang.String solve()
        This method solves the problem by checking every cubic's ordered digits if they were found before. If a combination of ordered digits is found five times the very first found cubic is returned.
        Returns:
        the first found cubic with 5 permutations