Problem 4 from Project Euler [beginners exercise]

This is where most of us started. Classic Spectrum basic.

Moderator: Programming Moderators

Post Reply
User avatar
Brayn-3
Posts: 14
Joined: Thu Jun 01, 2017 7:15 pm

Problem 4 from Project Euler [beginners exercise]

Post by Brayn-3 » Tue Jul 04, 2017 6:17 pm

This is again a nice programming practice and it should only take some minutes to solve (not like the last one, which I under-estimated. Sorry!).

We could solve it in different ways:

1. With string functions, which should be simple.
2. Without string functions. The digits have to be extracted with functions on real numbers (like LN, EXP, ...).

Please try the first method! :-)

>> Problem 4 from Project Euler <<

A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.

Find the largest palindrome made from the product of two 3-digit numbers.

Problem 4, Project Euler

Post Reply