Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » General Chat » Circular File » Puzzle thread Oct. 27
icon5.gif  Puzzle thread Oct. 27 Mon, 27 October 2003 14:33 Go to next message
Ron is currently offline Ron

 
Commander
Forum Administrator
Stars! AutoHost Administrator

Messages: 1231
Registered: October 2002
Location: Collegedale, TN
1. Find the 8-digit number:
The first 2 digits for a number that is half the number formed by the third and fourth digits. The fourth is one-third the number formed by the fifth and sixth digits, and the sixth is one-fourth of the number formed by the seventh and eighth digits.
The answer I'm looking for does not contain any zeros. Find all valid answers. Example, first 4 digits '1224', 12 is half of 24.

2. A customer brought four items to the cashier of the 7-11 convenience store. "That will be $7.11," the cashier said. At first the customer thought it was a joke. "Ha, ha. Seven-eleven. I get it." But the clerk was serious. "No, really. I multiplied the prices of the four items you gave me, and I came up with $7.11."
"You multiplied them?" the customer asked. "You're supposed to add them, you know."
"I know," said the clerk, "but it doesn't make any difference if I add or multiply. The total is still $7.11."
What were the prices of the four items?

I will wait 24 hours for people to PM me the correct answers, and I will then use a random number generator to pick one of them to have 'Weekly Puzzle Master' custom avatar diplayed under their name for a week.

Naturally, you won't want to share answers until the I announce the winner. Twisted Evil

This thread will be locked until a winner is selected.


[Updated on: Mon, 27 October 2003 21:04]




Ron Miller
Stars! AutoHost

Report message to a moderator

icon14.gif  Re: Puzzle thread Oct. 27 Tue, 28 October 2003 16:26 Go to previous messageGo to next message
Ron is currently offline Ron

 
Commander
Forum Administrator
Stars! AutoHost Administrator

Messages: 1231
Registered: October 2002
Location: Collegedale, TN
The 5 people who sent in the correct answers were:
LEit, Mazda, Freakyboy, Ashlyn, and BlueTurbit.

I assigned each person a number, in order, from 1 to 5 and using the following PERL program:

#!/usr/bin/perl

srand(time() ^ ($$ + ($$ << 15)));
$number = $ARGV[0];
if(!$number){
        print "Usage: rand [maxnumber]\n   rand.pl returns a random number between 1 and [maxnumber]\n";
        exit;
}
$number = int($number);
$rand = int(rand $number) + 1;
print "Random number between 1 and $number = $rand\n";


The person randomly drawn to be this week's 'Puzzle Master' is Ashlyn Yey

She has been given a custom tag and avatar for the week.


Several people mentioned that they used a spreadsheet or wrote a program to solve the puzzles. Since I didn't specify one way or the other, its fine. I wouldn't be able to verify that someone didn't use a computer program anyway.

Next week's puzzles will probably be a bit harder, and not so easily solved with a computer.

The answers to this weeks puzzles were:
13261832
14282416
18361832
19382416
23461832
24482416
28561832
29582416
33661832
34682416
38761832
39782416
43861832
44882416
48961832
49982416

and

$1.20 $1.25 $1.50 $3.16

Thread unlocked for comments.


[Updated on: Tue, 04 November 2003 17:45]




Ron Miller
Stars! AutoHost

Report message to a moderator

Re: Puzzle thread Oct. 27 Tue, 28 October 2003 18:07 Go to previous messageGo to next message
Hatterson is currently offline Hatterson

 
Warrant Officer
Past Weekly Puzzle Master

Messages: 121
Registered: May 2003
Location: NY, USA

The first one wasn't that really hard. It took me a couple guess and check tries before I noticed a pattern, but then it was pretty easy.

The second one however gave me a crap load of trouble. I ended up getting two different sets of prices that were very close. One set added up to 7.11 but multiplied to 7.111125 and the other set multiplied to 7.11 but added to 7.08. I would be interested in how others solved this problem (that is if you don't mind sharing). And for those of you who used a computer, what type of equations did you use (that is assuming that you used more than brute computer force to display every possible combination)?



"Don't be so humble - you are not that great. " - Golda Meir (1898-1978) to a visiting diplomat

Report message to a moderator

Re: Puzzle thread Oct. 27 Wed, 29 October 2003 07:16 Go to previous messageGo to next message
Ashlyn is currently offline Ashlyn

 
Lt. Commander

Messages: 834
Registered: November 2002
Location: Pueblo CO USA

Thank you, thank you.... Not Worthy
Being both BLONDE and FEMALE, I'll take this as a compliment Weights

Balloon
Ash

Report message to a moderator

Re: Puzzle thread Oct. 27 Wed, 29 October 2003 11:05 Go to previous messageGo to next message
freakyboy is currently offline freakyboy

 
Lieutenant

Messages: 583
Registered: November 2002
Location: Where the clowns can't re...

I used brute force for the second one because it had me stumped.

I managed to solve the first one twice
Embarassed I was part of the reason for the red notes Embarassed

once with sheet, once without.

Report message to a moderator

Re: Puzzle thread Oct. 27 Wed, 29 October 2003 11:10 Go to previous messageGo to next message
LEit is currently offline LEit

 
Lt. Commander

Messages: 879
Registered: April 2003
Location: CT
The program that solved it (not a very brilliant program, mostly brute force):

int mulmon(int a, int b, int c, int d)
{
int r = a * b * c * d;
if (r % 1000000 != 0) return 0;

r /= 1000000;
return r;
}

int main(int argc, char* argv[])
{
int i = 708, j = 1, k = 1, l = 1;

for (i = 1; i < 700; ++i)
for (j = 1; j < 700; ++j)
for (k = 1; k < 700; ++k)
{
l = 711 - i - j - k;
if (l > 0 && mulmon(i, j, k, l) == 711)
printf("Result %d %d %d %d\n", i, j, k, l);
}

return 0;
}


This found 24 answers (the 4 prices in all possible orders...)



- LEit

Report message to a moderator

Re: Puzzle thread Oct. 27 Wed, 29 October 2003 11:38 Go to previous messageGo to next message
FurFuznel is currently offline FurFuznel

 
Lt. Junior Grade
Stars! Nova developer
Stars! Nova developer

Messages: 437
Registered: November 2002
Location: New Brunswick, Canada
I really like the idea of a weekly puzzle, or brain stumper!

Keep up the good work Ron, but please do not make the puzzles any that require looking at those optical illusions that you had posted somewhere else in the forum. The snakes that moved without moving almost caused my eyes to fall out. Wink

Shadallark
Fixed a typing error![/edit]


[Updated on: Wed, 29 October 2003 11:38]




Shadallark <==> FurFuznel
Mental anguish is for those who choose to think - FurFuznel
running Mac OS X 10.6.7

Report message to a moderator

Re: Puzzle thread Oct. 27 Wed, 29 October 2003 17:22 Go to previous messageGo to next message
Ron is currently offline Ron

 
Commander
Forum Administrator
Stars! AutoHost Administrator

Messages: 1231
Registered: October 2002
Location: Collegedale, TN
FurFuznel wrote on Wed, 29 October 2003 11:38


Keep up the good work Ron, but please do not make the puzzles any that require looking at those optical illusions that you had posted somewhere else in the forum. The snakes that moved without moving almost caused my eyes to fall out. Wink

Shadallark


Yes, the original web page I got them from had warnings I think... Rolling Eyes

Thanks for the comments.



Ron Miller
Stars! AutoHost

Report message to a moderator

Re: Puzzle thread Oct. 27 Thu, 30 October 2003 06:22 Go to previous messageGo to next message
mazda is currently offline mazda

 
Lieutenant

Messages: 655
Registered: April 2003
Location: Reading, UK
The 7-11 one I solved by factorising 711 and noticing a large prime - 79.
So one of the amounts had to be a multiple of 0.79 (9x0.79=7.11).
Then I simply tried each multiple of 0.79 and wrote down what it left as the sum and product of the other 3 terms.

Then I used trial and error.

Now we are trying to get a product which is a whole number of pounds and we are using prices fixed to 2 d.p.
This means we can't use fractions like 1/3, we would have to use 0.33 which when multiplied by 3 is 0.99 not 1.00.
So anything ending in 5's or 10's would look good and anything else wouldn't.(note that if we were using an infinite number of places rather than monetary amounts then this wouldn't matter, there would be a lot more solutions, each one based on considering all multiples of all different factors of 711).

In the case of a single multiple of 0.79 we are left with 6.32 to spend. This doesn't look very promising. No way are we going to get a product of 9 out of something adding up to 6.32.
Not in monetary amounts anyway.

A little intuition and inspection leads us to 4 x 0.79 = 3.16
This leaves us needing a sum of 3.95 and a product of 2.25.
For this case you can eliminate any amount being 1.00 or less (to get 2.25 we would need 1.5, 1.5, 1.00 which adds to 4 and we only have 3.95 left to spend) so all 3 amounts have to be more than 1.00.
Simply a guess of 1.25, leaves us needing a product of 1.8 with 2.70 to spend. 1.8 = 1.50 x 1.20.

Hence the 4 amounts - 3.16, 1.25, 1.50 and 1.20.

This is an odd problem in that we are restricting values to not only rational numbers, but to values that are a whole number of hundredth's.
I wonder if this is the only rational solution to the probblem - i.e. if we allow fractions like 4/3 or 27/17 into the realm of possible solutions then are there any more ?
Or do we have to go to irrational numbers where I've already indicated there will be solutions.

M
...




I am the God of hell fire, and I bring you

... Brian Pithers

Report message to a moderator

Re: Puzzle thread Oct. 27 Thu, 30 October 2003 08:36 Go to previous messageGo to next message
mazda is currently offline mazda

 
Lieutenant

Messages: 655
Registered: April 2003
Location: Reading, UK
mazda wrote on Thu, 30 October 2003 11:22

In the case of a single multiple of 0.79 we are left with 6.32 to spend. This doesn't look very promising. No way are we going to get a product of 9 out of something adding up to 6.32.
Not in monetary amounts anyway.


Hmm, this is rather a dodgy statement.
If we had 6.12 instead then 2.5 x 2.5 x 1.12 = 7.00.
So looks like I was lucky to find the answer.

Bah, humbug.

Report message to a moderator

Re: Puzzle thread Oct. 27 Thu, 30 October 2003 12:06 Go to previous messageGo to next message
Hatterson is currently offline Hatterson

 
Warrant Officer
Past Weekly Puzzle Master

Messages: 121
Registered: May 2003
Location: NY, USA

Well, even if your solution wasn't foolproof, you used enough numbers that Zoid would never know Laughing

Anyway, now we await next week's puzzle so that we can take the title away from Ashlyn Very Happy



"Don't be so humble - you are not that great. " - Golda Meir (1898-1978) to a visiting diplomat

Report message to a moderator

Re: Puzzle thread Oct. 27 Thu, 30 October 2003 12:39 Go to previous messageGo to next message
Ashlyn is currently offline Ashlyn

 
Lt. Commander

Messages: 834
Registered: November 2002
Location: Pueblo CO USA

Quote:

Anyway, now we await next week's puzzle so that we can take the title away from Ashlyn


Shocked Laughing Thumbsup 2 Disco

Report message to a moderator

Re: Puzzle thread Oct. 27 Thu, 30 October 2003 17:13 Go to previous messageGo to next message
Ron is currently offline Ron

 
Commander
Forum Administrator
Stars! AutoHost Administrator

Messages: 1231
Registered: October 2002
Location: Collegedale, TN
Hatterson wrote on Thu, 30 October 2003 12:06


Anyway, now we await next week's puzzle so that we can take the title away from Ashlyn Very Happy

Sigh, a week is so long! Perhaps I should have more puzzles than just 2, so it takes longer to solve them. Of course, *some* people have oodles of 'free' time and would still probably solve them in one day.

I can't do 'puzzle of the day' as winning that wouldn't have as much prestige as 'puzzle of the week', so I guess I (and you) will just have to wait until Monday.



Ron Miller
Stars! AutoHost

Report message to a moderator

Re: Puzzle thread Oct. 27 Thu, 30 October 2003 17:40 Go to previous messageGo to next message
Micha

 

Messages: 2342
Registered: November 2002
Location: Belgium GMT +1
Ron wrote on Thu, 30 October 2003 23:13

I can't do 'puzzle of the day' as winning that wouldn't have as much prestige as 'puzzle of the week', so I guess I (and you) will just have to wait until Monday.


But we're gonna have a party first! Right? Tomorrow or Saturday! Nod We sure have something to celebrate!
Disco Cheers Balloon

mch

Report message to a moderator

Re: Puzzle thread Oct. 27 Fri, 31 October 2003 15:41 Go to previous message
LEit is currently offline LEit

 
Lt. Commander

Messages: 879
Registered: April 2003
Location: CT
Here's a puzzle for those of you who cannot wait:

STARS
SUPER
+NOVA
-----
VAPOR

Each letter is a digit, each digit only applies to one letter.

The letters T,U, and N are interchangable. So are E and R.

There are two solutions that I found, not counting swapping TUN or ER.

PM me with your answers, however, the prize is a copy of FreeStars (when that is no longer vapor either...)



- LEit

Report message to a moderator

Previous Topic: Something possibly fun and interesting
Next Topic: Welcome
Goto Forum:
  


Current Time: Tue May 07 12:53:47 EDT 2024