Class PE0055

    • Constructor Summary

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

      Modifier and Type Method Description
      java.lang.String solve()
      Finds all Lychrel numbers less than 10.000 by summing a starting number with its reversed version.
      • Methods inherited from class java.lang.Object

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

      • PE0055

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

      • solve

        public java.lang.String solve()
        Finds all Lychrel numbers less than 10.000 by summing a starting number with its reversed version. If in less than 50 steps no palindrom is found this number must be a Lychrel number.
        Returns:
        the number of found Lychrel numbers
        See Also:
        LargeNumber