Problem 909

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
Solarion4131
Posts: 1
Joined: Sat Aug 03, 2024 5:21 am

Problem 909

Post by Solarion4131 »

I'm having trouble understanding how the L-equations can always be simplified. What if you reach a point where none of the three rules works? Presumably it shouldn't be possible by the wording of 'the final result does not depend on the order of the transformations', but I'm having this issue when evaluating $S(S)(S(S))(S(Z))(A)(0)$. Can someone explain why the answer to this is 6?
User avatar
neverforget
Posts: 88
Joined: Sat Sep 16, 2006 10:10 pm

Re: Problem 909

Post by neverforget »

Problem 909 (View Problem)

For this question, seems like 0 is considered a natural number.
Solarion4131 wrote: Sun Sep 29, 2024 6:01 am I'm having trouble understanding how the L-equations can always be simplified. What if you reach a point where none of the three rules works? Presumably it shouldn't be possible by the wording of 'the final result does not depend on the order of the transformations', but I'm having this issue when evaluating $S(S)(S(S))(S(Z))(A)(0)$. Can someone explain why the answer to this is 6?
For the relevant L-expressions that the question asks about, the only point where none of the rules work is when the L-expression has been transformed down to a single number. For evaluating $S(S)(S(S))(S(Z))(A)(0)$ you (must) start by using the third rule, taking $u=S$, $v=S(S)$, and $w=S(Z)$. Make sure to apply the rules carefully as it is easy to make mistakes, especially if doing so by hand.
Image
Post Reply