Class PE0036

    • Constructor Summary

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

      Modifier and Type Method Description
      java.lang.String solve()
      This method solves the given problem by checking every number less than 1,000,000 to be a palindrome in both bases, decimal and binary.
      • Methods inherited from class java.lang.Object

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

      • PE0036

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

      • solve

        public java.lang.String solve()
        This method solves the given problem by checking every number less than 1,000,000 to be a palindrome in both bases, decimal and binary. If a number is found the decimal value is summed.
        Returns:
        the sum of all numbers that are a palindrome in base 2 and 10
        See Also:
        Mathe.isPalindrome(int), Mathe.isPalindrome(String)