Problem 418

A place to air possible concerns or difficulties in understanding ProjectEuler problems. This forum is not meant to publish solutions. This forum is NOT meant to discuss solution methods or giving hints how a problem can be solved.
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.

This forum is NOT meant to discuss solution methods for a problem.

In particular don't post any code fragments or results.

Don't start begging others to give partial answers to problems

Don't ask for hints how to solve a problem

Don't start a new topic for a problem if there already exists one


See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
Post Reply
demongolem
Posts: 6
Joined: Mon Nov 02, 2015 12:31 am

Problem 418

Post by demongolem »

I think that as an added help the problem should state that c / a does not have to be an integer. I wasted like 10 minutes before I went and solved f(165) seeing that there was no way that the ratio could be an integer and get the f(165) = 19 stated in the problem.
Waldovski
Posts: 32
Joined: Thu Jul 08, 2010 11:11 am

Re: Problem 418

Post by Waldovski »

I have a question that is hopefully cryptic enough (feel free to delete if not).

Are opt. packages (IP, say) in the spirit of PE? I kind of let LP slide sometimes but IP feels like a step too far.
User avatar
RobertStanforth
Administrator
Posts: 2666
Joined: Mon Dec 30, 2013 11:25 pm

Re: Problem 418

Post by RobertStanforth »

The spirit of PE is about learning the theory and tools to solve problems.

Whether higher level tools such as Integer Programming fall within that depends on your own goals. Learning about IP, and modelling Problem 418 (View Problem) as an IP problem, can be a challenge and an accomplishment in themselves. However, if it feels to you like cheating somehow, then do set yourself the goal of solving using vanilla programming methods.

Many PE members use Mathematica, which also provides a wealth of higher-level tools. This is valid and legitimate. However, all problems can be solved in "conventional" programming languages.

Waldovski wrote: Fri Nov 10, 2023 4:38 am I have a question that is hopefully cryptic enough (feel free to delete if not).

Are opt. packages (IP, say) in the spirit of PE? I kind of let LP slide sometimes but IP feels like a step too far.
Post Reply