Project Euler/4

From Esolang
Jump to navigation Jump to search

Back to User:ProjectEuler

Project Euler Problem 4 is a problem related to palindromic numbers. The goal is to find out the largest palindromic number (in base 10) that is the product of two 3-digit numbers.

This article is a stub, which means that it is not detailed enough and needs to be expanded. Please help us by adding some more information.



This program uses a palindrome detector that would theoretically work for all positive whole numbers below 1 billion[citation needed]. The palindrome detector also contains a code snippet for integer logarithm (designed for determining how many digits there are in a number). This program costs approximately half an hour to run at full speed on AheuiChem. It may still need reduction.


External resources

  • A308803 and A327897, two related sequences on the OEIS. "308803" is a palindrome as well.
  • Problem 4 on Project Euler Official Website (not available)
  • Problem 4 on Project Euler Mirror