wu :: forums (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi)
riddles >> easy >> Three sons (generalised)
(Message started by: wowbagger on Aug 21st, 2003, 6:06am)

Title: Three sons (generalised)
Post by wowbagger on Aug 21st, 2003, 6:06am
A father has three sons of ages x, y and (x+y). Now, x and y happen to be the first and second digits of the father's age (a two-digit number), respectively. Furthermore, the sum of all ages, i.e. father + x + y + (x+y), equals 45.

Find all possible tuples (x, y, b) that solve this problem in base b. This means that all numbers (including the 45) are written in base b.


Hint: [hide]Look at the equation you arrive at for particular values of x[/hide].


This is an extension of the riddle posted by Kelvin in "Children in a family" (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi?board=riddles_easy;action=display;num=1060173107;start=25#45). Take a look at towr's answer (http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi?board=riddles_easy;action=display;num=1060173107;start=25#46) (for base 10) if you don't know how to solve such problems.

Title: Re: Three sons (generalised)
Post by towr on Aug 21st, 2003, 6:19am
partial
[hide]1 <= x < b, 0 <= y < b, x + y + (x+y) + (x*b+y) = 4*b + 5, b >= 6
(b+2)x +3 y = 4*b + 5
x = (4*b + 5 - 3*y)/(b+2)
x = 4 - (3*y+3)/(b+2)[/hide]

Title: Re: Three sons (generalised)
Post by wowbagger on Aug 21st, 2003, 6:31am
Your last line is useful for another bound on x, towr (I arrived at that bound by simple trial).
Regarding possible values of b, I suggest exploiting the equation in your second (hidden) line.

Title: Re: Three sons (generalised)
Post by towr on Aug 21st, 2003, 6:43am
yes I know.. but I had to watch tv (Yu-gi-oh) :P

continuation
[hide]1<=x<=3
y = (4*b + 5 - (b+2)x)/3
y = b+1, (2b+1)/3 , (b-1)/3[/hide]

Title: Re: Three sons (generalised)
Post by Sir Col on Aug 21st, 2003, 6:48am

As the post is on the 2nd page, I think you'd need this URI:
http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi?board=riddles_easy;action=display;num=1060173107;start=25#45

[e]Dang! You boys post too quick.

My solution (which has been removed) is obsolete now.  :'([/e]

Title: Re: Three sons (generalised)
Post by wowbagger on Aug 21st, 2003, 7:00am

on 08/21/03 at 06:48:30, Sir Col wrote:
As the post is on the 2nd page, I think you'd need this URI:
http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi?board=riddles_easy;action=display;num=1060173107;start=25#45

I've already corrected it. Thanks anyway.

As for your example: [hide](x, y) = (3, 2) works in base 7, but (1, 5) definitely doesn't. I guess you just miscalculated x for y = 5[/hide].
Not sure whether I should leave this in now that you've removed that part of your post. Maybe it can serve as an example for others.

What I'd like you to come up with is a general form (x, y, b). Not surprisingly (?), there are [hide]infinitely many such tuples[/hide].

Title: Re: Three sons (generalised)
Post by towr on Aug 21st, 2003, 7:17am
::[hide]
x=2, y = (2b+1)/3 OR x=3, y = (b-1)/3
b = 3n +1

(x,y,b) = (2, 2n+1, 3n+1) or (3,n,3n+1)[/hide] [forall]n>1[in][bbn]
::

Title: Re: Three sons (generalised)
Post by Sir Col on Aug 21st, 2003, 7:21am
Oops! For b=7, I meant y=2,x=3 and y=5,x=2; you're right I miscalculated x.  :-[

Title: Re: Three sons (generalised)
Post by wowbagger on Aug 21st, 2003, 8:29am
Your answers are the same I got, towr. Only I wrote them in a form with n[in][bbn]: [hide] { (2, 2n+3, 3n+4); (3, n+1, 3n+4) } [/hide].

Title: Re: Three sons (generalised)
Post by towr on Aug 21st, 2003, 8:38am
hmm.. yes, but that would raise the age-old question is 0[in][bbn]

Title: Re: Three sons (generalised)
Post by Sir Col on Aug 21st, 2003, 10:52am
What's with zero? I would say, an emphatic, no. Natural numbers are called as such, because they are countable. It is quite natural to have 1 chair, 2 chairs, et cetera. You cannot have 0.5 chairs, as a chair remains a chair until it is not a chair – this is the principle of function/utility. Equally, and sorry to make reference to the 'other' thread, you cannot have 0 chairs. It is an utter nonsense to talk about zero anythings.

Title: Re: Three sons (generalised)
Post by towr on Aug 21st, 2003, 11:00am
no it's not.. You can easily have zero chairs. And you might as well look up mathworlds page on natural numbers, and see that indeed the 'community' doesn't agree wether or not zero should be included.

Title: Re: Three sons (generalised)
Post by Sir Col on Aug 21st, 2003, 11:15am
This is precisely why it took so long to incorporate zero into mathematics. The ancient Greeks presented well founded reservations about the confusion that would arise from both quantity (count) and quality (function). The Greeks felt that zero, literally, made no difference in counting: a+0=a; and so was redundant in arithmetic. In terms of function, it was meaningless to talk about the function of nothing: zero lots of something is absolutely equilvalent to any amounts of nothing. For example, 0 chairs = 25 nothings (= nothing); their function is equivalent.

The use of zero in mathematics should be entirely reserved for the absence of something – namely, quantity. It is necessary to make numbers, like 10 (1 ten and 0 units), meaningful.

Title: Re: Three sons (generalised)
Post by towr on Aug 21st, 2003, 12:32pm

on 08/21/03 at 11:15:27, Sir Col wrote:
The use of zero in mathematics should be entirely reserved for the absence of something – namely, quantity. It is necessary to make numbers, like 10 (1 ten and 0 units), meaningful.
Frankly I don't see what you have a problem with..
A chair is something. Zero chairs thus signifies the absence of something. Namely the absence of any chair.
Zero chairs does however not signify the absence of tables, doors, forks, spoons or sporks. 'Nothing' on the other hand does.

zero is the absence of something
nothing is the absence of anything
each has their own function.

Title: Re: Three sons (generalised)
Post by Sir Col on Aug 21st, 2003, 4:15pm
That is precisely my point. The absence of something in a mathematical context, and that would include counting, allows for the use of zero; and although correct, it is redundant.

If I asked you how many chairs are in a particular room, and upon surveying the room you see a rectangular arrangement of 3 by 4 chairs, would you seriously reply, "There are 3 lots of 4 chairs," or would you reply, "There are 12 chairs?"

In the same way, if I asked the same question regarding an empty room, would you reply, "There are 0 chairs," or, "There are none?"

Although I would understand both, and both are correct, it is inefficient to say more than required.

Colloquially anyone would accept both, and dare I admit that most people would prefer to say, "There are 0 chairs." However, from a logical perspective, the use of zero in this context can at best be justified as a negation of expectation and, therefore, is not equivalent to a mathematical zero; it is simply used in place of not/none.

As an example, I am sure that you would be surprised if I randomly said, "There are zero bars of gold in my house." Unless you've managed, where Interpol has failed, to connect me with the famous Parisian gold bullion heist of 1997. Dang!

Title: Re: Three sons (generalised)
Post by Icarus on Aug 21st, 2003, 4:45pm
Given recent developments in the field of reproductive technology, you may have been too hasty in discarding the solutions (0, 4n+3, 3n+1) and (1, n+3, n).  ;)

([hide]Actually not - since the father's age is a two digit number and the sons are both single digits, but I couldn't resist.[/hide])

Concerning 0 and the Natural numbers [bbn]: while philosophical nitpicking does go on about the status of 0, in practice whether or not a mathetician considers 0 [in] [bbn] almost always comes down to what is most convenient at the time. I have many times seen the same mathematician use both definitions (on different topics, of course). In fact, I am one of those mathematicians!

For reasons beyond rational explanation, mathematicians prefer the name "natural numbers" to "whole numbers". Therefore the use of the Whole numbers, [smiley=bbw.gif], when 0 is needed has never caught on. Indeed, while William has provided [ bbn ] as a short-cut for [bbn], he considered [smiley=bbw.gif] not to deserve a shortform. To get it you have to use [ smiley=bbw.gif ].

Title: Re: Three sons (generalised)
Post by towr on Aug 22nd, 2003, 1:06am

on 08/21/03 at 16:15:42, Sir Col wrote:
If I asked you how many chairs are in a particular room, and upon surveying the room you see a rectangular arrangement of 3 by 4 chairs, would you seriously reply, "There are 3 lots of 4 chairs," or would you reply, "There are 12 chairs?"
I might see that there were three rows of four, if I thought the configuration important. It gives extra information, and wether that information is redundant depends on the context.

Quote:
In the same way, if I asked the same question regarding an empty room, would you reply, "There are 0 chairs," or, "There are none?"
'none' isn't a numbver, so it's not logically an answer to the question 'how many' which clearly asks for a count, a number.
Not that logic or lack of it ever stopped anyone :)

Quote:
Although I would understand both, and both are correct, it is inefficient to say more than required.
Wether you say zero or none, both are 4 letters, so neither is more efficient than the other. It's also not necessareily inefficient to say more than required, in most cases it's actually preferred socially. If you always give very short (but correct) answers you sound very unfriendly.

Quote:
As an example, I am sure that you would be surprised if I randomly said, "There are zero bars of gold in my house."
No more surprised than if you said "there are no bars of gold at my house". Random phrases in themselves imply surprise..
I still don't quite see what you object to.



Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board