mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Puzzles

Reply
 
Thread Tools
Old 2008-03-07, 12:27   #12
Brian-E
 
Brian-E's Avatar
 
"Brian"
Jul 2007
The Netherlands

7·467 Posts
Unhappy

Sorry that I'm so dim, but...
what is that hex number and how does it answer the original question?
Appreciating your help in advance, guys.
Brian-E is offline   Reply With Quote
Old 2008-03-07, 12:47   #13
ckdo
 
ckdo's Avatar
 
Dec 2007
Cleves, Germany

2·5·53 Posts
Default

Quote:
Originally Posted by retina View Post
Take a standard English set of Scrabble tiles [...]

Count the number of unique racks you can draw, from a full bag, for draws of 1 tile through 50 tiles. Factorise, and post the largest prime found among all draw sizes.

e.g.

Code:
 1 tile draw - 27 unique racks = (3*3*3)
 2 tile draw - ?? unique racks = (a*b*...*c)
...
50 tile draw - ?? unique racks = (x*y*...*z)
And post the largest number among a...z (there is only one unique answer).
The number I posted is the largest prime factor you come across when you factorise the number of unique racks of 1 to 50 tiles, respectively.

Last fiddled with by ckdo on 2008-03-07 at 12:50 Reason: added "prime"
ckdo is offline   Reply With Quote
Old 2008-03-07, 14:21   #14
Brian-E
 
Brian-E's Avatar
 
"Brian"
Jul 2007
The Netherlands

326910 Posts
Default

Quote:
Originally Posted by ckdo View Post
The number I posted is the largest prime factor you come across when you factorise the number of unique racks of 1 to 50 tiles, respectively.
OK.
But how did you calculate it? Could you give any pointer to your method?
Brian-E is offline   Reply With Quote
Old 2008-03-07, 15:45   #15
ckdo
 
ckdo's Avatar
 
Dec 2007
Cleves, Germany

2·5·53 Posts
Default

Warning! Major spoiler ahead!

I split the problem like this: Drawing [B]n[/B] tiles from the entire set is equal to drawing [B]a[/B] tiles from the [N,L,B,P,V,K] subset, [B]b[/B] tiles from the [R,S,C,F,W,J] subset, [B]c[/B] tiles from the [T,D,M,H,Y,X] subset and [B]d[/B] tiles from the [E,A,I,O,U,G,Blank,Q,Z] subset such that [B]a+b+c+d=n[/B] with [B]0<=[a,b,c]<=17[/B] and [B]0<=d<=49[/B]. The subsets were chosen like this because the distribution of the letters in the first three is identical: 6,4,2,2,2,1 from left to right. Saves computing stuff twice. Splitting the problem further didn't seem necessary. Now you only need to make two tables how many possibilities there are to draw 0..17 and 0..49 tiles from sets with elements distributed as given (once) and then for all [B]n=1..50[/B] find fitting [B]a,b,c[/B] values, multiply the combinations for the four subsets and add them up leaving you with the number of racks of [B]n[/B] tiles. Then you "only" need to factor those numbers (up to 15 digits in length) and remember which factor was the largest you see. Which hopefully is 219163709706077, the number of unique racks of 36 tiles. [B]qed.[/B]
ckdo is offline   Reply With Quote
Old 2008-03-07, 16:00   #16
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

22·1,549 Posts
Default

There is also away to compute the answer without needing any tables and also it only uses addition, never needs any multiplications. It can also extended without limit to any set of coefficients (tiles) given in any order. Actually the big clue is this word, "coefficients"

I also discovered there is a super set distribution with 200 tiles, the numbers are a bit larger up to 22 digits maximum, so the same thing, what is the largest prime from all factorised numbers of draws up to 100 tiles?
retina is offline   Reply With Quote
Old 2008-03-07, 16:52   #17
Brian-E
 
Brian-E's Avatar
 
"Brian"
Jul 2007
The Netherlands

CC516 Posts
Default

I find ckdo's method ingenious, although I can't quite see why computing the tables for the (very clever) subsets requires less work than simply computing the whole table in one go drawing from all 100 tiles.
Therefore I'm interested to think further and try to discover retina's method with the hint provided. I guess it will be needed to solve the bigger superset problem.

Edit: Forget that "although...", sorry. Of course the division to subsets makes it easier because there are fewer combinations of numbers from each group.

Last fiddled with by Brian-E on 2008-03-07 at 17:00
Brian-E is offline   Reply With Quote
Old 2008-03-07, 17:09   #18
ckdo
 
ckdo's Avatar
 
Dec 2007
Cleves, Germany

2×5×53 Posts
Default

The 64 bit border is one I'm not tempted to cross anywhen soon.
ckdo is offline   Reply With Quote
Old 2008-03-07, 17:14   #19
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

140648 Posts
Default

Quote:
Originally Posted by ckdo View Post
The 64 bit border is one I'm not tempted to cross anywhen soon.
Who's afraid of the big bad wolf ...
retina is offline   Reply With Quote
Old 2008-03-15, 06:14   #20
nibble4bits
 
nibble4bits's Avatar
 
Nov 2005

18210 Posts
Default

Arbitary precision arithmatic is your friend! Have fun waiting 6 months for your calculation that would take 2 months with less-than-64-bit numbers. :)
nibble4bits is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Path Counting henryzz Puzzles 13 2014-09-17 11:21
SCRABBLE Raman Hobbies 9 2013-12-11 21:56
Counting on Fingers Orgasmic Troll Lounge 3 2005-12-31 22:22
Counting Cubes Numbers Puzzles 6 2005-09-03 00:26
counting bricks michael Puzzles 8 2004-01-14 16:27

All times are UTC. The time now is 02:24.


Sat Jul 17 02:24:10 UTC 2021 up 50 days, 11 mins, 1 user, load averages: 1.39, 1.28, 1.24

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.