Problem 033

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.
pills
Posts: 4
Joined: Tue Aug 26, 2008 9:16 am

Problem 033

Post by pills »

Hello all,

I have trouble understanding how to submit the answer to problem 33. I have the 4 non-trivial fractions, written in the same way as the example (49/98). What is meant by "the product of these four fractions is given in its lowest common terms" ? If a1/b1, a2/b2, a3/b3 and a4/b4 are the four fractions, does that mean the answer should be lcm(b1, b2, b3, b4) ? (tried it, it doesn't work).

Thanks for your help !
User avatar
hk
Administrator
Posts: 12831
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: wording on problem 33

Post by hk »

consider 2/5*10/13=4/13
Is the denominator lcm(5,13)=65?
Image
War ruins the life and health of untold numbers of innocent children.
User avatar
stijn263
Posts: 1505
Joined: Sat Sep 15, 2007 11:57 pm
Location: Netherlands

Re: wording on problem 33

Post by stijn263 »

If a1/b1, a2/b2, a3/b3 and a4/b4 are the four fractions, you should multiply all four fractions:
(a1*a2*a3*a4) / (b1*b2*b3*b4)
simplify this fraction, and then give the denomitor (the number you're dividing by)
pills
Posts: 4
Joined: Tue Aug 26, 2008 9:16 am

Re: wording on problem 33

Post by pills »

Thank you both, I was so focussed on the denominator that I din't even look at the numerator ;)
jtosey
Posts: 2
Joined: Thu Nov 20, 2008 8:38 am

Re: wording on problem 33

Post by jtosey »

Hi, I'm also puzzled by how to submit this answer, notwithstanding the above.

My program found the four fractions, one of which is 49/98, and I verified manually that the others are correct. The product of the fractions is snip . I reduced this to lowest common terms by dividing the numerator and denominator by snip, yielding snip. As I read the question and comments above, the answer is snip. This is is rejected. Is this a calculation error on my part, or am I using the wrong process?
User avatar
hk
Administrator
Posts: 12831
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: wording on problem 33

Post by hk »

Edited away spoilers.
Please don't post answers (or attempts to answers).
You did not divide out all common factors. Nominator and denominator still have a common factor.
Image
War ruins the life and health of untold numbers of innocent children.
jtosey
Posts: 2
Joined: Thu Nov 20, 2008 8:38 am

Re: wording on problem 33

Post by jtosey »

Sorry, thanks! I shouldn't be doing these at 1 AM. :-)
mahendrakariya
Posts: 3
Joined: Thu Aug 06, 2009 8:13 pm

Re: Problem 033

Post by mahendrakariya »

I dont exactly understand the difference between trivial and non-trivial examples. Can anyone guide me please.
User avatar
daniel.is.fischer
Posts: 2400
Joined: Sun Sep 02, 2007 11:15 pm
Location: Bremen, Germany

Re: Problem 033

Post by daniel.is.fischer »

Trivial examples are (10*a)/(10*b), where you simplify by deleting the zeros.
Nontrivial examples are such where simplification is "achieved" by deleting the same nonzero digit from numerator and denominator, like the given example 49/98 where you delete the 9 from numerator and denominator and obtain the simplified fraction 4/8.
Il faut respecter la montagne -- c'est pourquoi les gypaètes sont là.
mahendrakariya
Posts: 3
Joined: Thu Aug 06, 2009 8:13 pm

Re: Problem 033

Post by mahendrakariya »

daniel.is.fischer wrote:Nontrivial examples are such where simplification is "achieved" by deleting the same nonzero digit from numerator and denominator, like the given example 49/98 where you delete the 9 from numerator and denominator and obtain the simplified fraction 4/8.
In that case, there will be many non-trivial examples and not just 4 like 48/86, 34/47, 57/76, 77/79, 18/86, etc.

I think I didn't get what you were trying to say. Can u clarify it a bit more?
DJohn
Posts: 90
Joined: Sat Oct 11, 2008 12:24 pm

Re: Problem 033

Post by DJohn »

mahendrakariya wrote:In that case, there will be many non-trivial examples and not just 4 like 48/86, 34/47, 57/76, 77/79, 18/86, etc.
The difference is that 49/98 really does equal 4/8. 48/86 does not equal 4/6.
mahendrakariya
Posts: 3
Joined: Thu Aug 06, 2009 8:13 pm

Re: Problem 033

Post by mahendrakariya »

Thanks. I got it.
Cerno
Posts: 2
Joined: Sat Oct 02, 2010 7:48 pm

Re: Problem 033

Post by Cerno »

Hello.

I was stuck for the same reason. I think the description of the problem is not very accurate.

The term 'trivial example' is not really defined, it is only presented through an example.
Additionally, there are two constraint that hold for the correct solution:
1) the cancellation may not be trivial, (i.e. cancellation of the 0, which is not clearly explained)
2) the improper (cancellation of single digits) cancellation must coincide with the proper cancellation (cancellation of common divisors)

I think the reason for my confusion was the fact that both constraints were not clearly enough defined.

Normally the task descriptions in Project Euler are spot-on, so maybe someone can correct this little lapse?

Thanks for the great website anyway :o
skols
Posts: 1
Joined: Sun Jan 30, 2011 11:16 am

Re: Problem 033

Post by skols »

Problem 33 text in chrome looks like this:
The fraction to the power of 49/ subscript 98 is a curious fraction, as an inexperienced mathematician in attempting to simplify it may incorrectly believe that to the power of 49/ subscript 98 = to the power of 4/ subscript 8, which is correct, is obtained by cancelling the 9s.

We shall consider fractions like, to the power of 30/ subscript 50 = to the power of 3/ subscript 5, to be trivial examples.

There are exactly four non-trivial examples of this type of fraction, less than one in value, and containing two digits in the numerator and denominator.

If the product of these four fractions is given in its lowest common terms, find the value of the denominator.
Please try to fix it, i had to open it in firefox to understand the problem. This is very confusing.
User avatar
hk
Administrator
Posts: 12831
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Problem 033

Post by hk »

If Chrome doesn't understand the ordinary html sequence <sup>49</sup>/<sub>98</sub> I think Chrome should be fixed rather than our website.
Image
War ruins the life and health of untold numbers of innocent children.
TripleM
Posts: 384
Joined: Fri Sep 12, 2008 3:31 am

Re: Problem 033

Post by TripleM »

While this should probably be moved to another forum, it is really more of a problem with the site - I presume the CSS was updated to include hiding <span class="hidden">..</span> but everyone's CSS is still cached (I normally add ?a=1 or something when changing CSS to force it to update for everyone).

Of course, one refresh fixes the problem, but the 'hidden' text makes no sense on this particular problem.

(Also explains viewtopic.php?f=50&t=2281)
ngahlot
Posts: 1
Joined: Fri Aug 05, 2011 10:57 pm

Question 33

Post by ngahlot »

I had completed and revisited question 33 recently and had attempted to redo it. I had realized that the question needed to be reworded inorder for one to better understand the meaning of the term a non-trivial number. Additionally, in that sense, the use of the term a curious number seemed to make no sense to me at all as for it seemed to be (though it is not) irrelevant to the term non-trivial number. I feel that it should be reworded and I am posting this inorder to get the attention of the administrators. Though I primarily received the right answer, I was questioning myself as for why the fraction 11/55 was not considered a non-trivial number. This number, like all those in the correct answer, was a curious number in that both 11/55 and 1/5 were both equal to 0.2
User avatar
jaap
Posts: 588
Joined: Tue Mar 25, 2008 3:57 pm
Contact:

Re: Question 33

Post by jaap »

ngahlot wrote:Though I primarily received the right answer, I was questioning myself as for why the fraction 11/55 was not considered a non-trivial number. This number, like all those in the correct answer, was a curious number in that both 11/55 and 1/5 were both equal to 0.2
11 had no digits in common with 55, so it is not possible to do this curious cancellation of the same digit from numerator and denominator.

Also, please don't start a new topic when a thread for the problem already exists.
User avatar
rayfil
Administrator
Posts: 1412
Joined: Sun Mar 26, 2006 5:30 am
Location: Quebec, Canada
Contact:

Re: Problem 033

Post by rayfil »

@@ngahlot

We realize you are new to this forum. For your information, if you need to post anything related to the Euler problems, You will find them listed as "Problem XXX" with the number padded with leading 0's to get a 3-digit number. Enjoy the site.
When you assume something, you risk being wrong half the time.
thundre
Posts: 356
Joined: Sun Mar 27, 2011 10:01 am

Re: Question 33

Post by thundre »

ngahlot wrote: the question needed to be reworded inorder for one to better understand the meaning of the term a non-trivial number.
You have a point there -- "like, 30/50 = 3/5" is not a great definition of trivial, although a large number of people have figured out that it means "a fraction reduced by canceling trailing zeros". Canceling equal numbers of trailing zeros in the numerator and denominator is actually a legitimate method of fraction reduction.
Image
Post Reply