Class PE0025

    • Constructor Summary

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

      Modifier and Type Method Description
      java.lang.String solve()
      Uses 3 objects of the large number class to calculate the elements of a Fibonacci sequence.
      • Methods inherited from class java.lang.Object

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

      • PE0025

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

      • solve

        public java.lang.String solve()
        Uses 3 objects of the large number class to calculate the elements of a Fibonacci sequence. It runs the iteration while the current element has less than 1000 digits.
        Returns:
        the number of steps needed to find the 1st 1000-digit element
        See Also:
        LargeNumber.getLength(), Fibonacci number @ Wikipedia