Maths help

A meeting area where members can relax, chill out and talk about anything non magical.


Moderators: Lady of Mystery, nickj, Mandrake, bananafish, support, Rob

Dude That's Cool Magic MagicWorld Magic Shop for Magic Tricks Best prices around! Manufacturer of modern & unique magic apparatus! Visit Magicbox for all the latest and best effects! Best prices around!

Maths help

Postby Relish » Fri Jul 11, 2014 8:01 am



I know there are lots of maths whizz’s on here so wondered if someone could help with this.

If someone looked at your phone screen and could see smudges on 4 numbers used as the PIN, then how many different combinations would there be?
If you duplicated 1 number, so only 3 smudges could be seen, how many combinations could there be (without them knowing which number was duplicated)?

Thanks for any help,

Rich

Relish
Senior Member
 
Posts: 462
Joined: Sat Jun 28, 2008 1:53 pm
Location: Cardiff (31, EN/AH)

Re: Maths help

Postby moonbeam » Fri Jul 11, 2014 8:36 am

I'm not 100% sure, but I think I've got it right:

When there's 4 smudges, the number of ways of arranging 4 numbers is 4 x 3 x 2 x 1 = 24 possible combinations.

For 3 smudges, consider the possibilities:
If we assume the smudged numbers are 1, 2 and 3; then there are 3 possible sets of 4 numbers, viz: 1,1,2,3 .... 1,2,2,3 ..... 1,2,3,3. There are 24 ways of arranging each set, so in total there are 3 x 24 = 72 possible combinations. Edit: This is incorrect - see my next post below

Last edited by moonbeam on Fri Jul 11, 2014 10:06 am, edited 1 time in total.
QUESTION:
If we can sue McDonalds for making us fat and cigarette companies for giving us cancer; why can't we sue Smirnoff for all the ugly gits we've sh*gged ??
User avatar
moonbeam
Elite Member
 
Posts: 2407
Joined: Sat Oct 22, 2005 9:59 am
Location: Burnley (51:AH)

Re: Maths help

Postby Relish » Fri Jul 11, 2014 9:20 am

thats great, thanks.

(its for some patter for a PIN divination routine ive been thinking about)

Relish
Senior Member
 
Posts: 462
Joined: Sat Jun 28, 2008 1:53 pm
Location: Cardiff (31, EN/AH)

Re: Maths help

Postby moonbeam » Fri Jul 11, 2014 10:04 am

Actually I made an error:

When there are 3 smudges, there are no longer 24 combinations for each set of 4; cos say for example 1,2,1,3 is the same as 1,2,1,3 (the 1's are reversed but the pin remains the same), therefore the list needs to be halved:
There are therefore 3 x 12 = 36 possible combinations ... I think I'm correct this time :P

QUESTION:
If we can sue McDonalds for making us fat and cigarette companies for giving us cancer; why can't we sue Smirnoff for all the ugly gits we've sh*gged ??
User avatar
moonbeam
Elite Member
 
Posts: 2407
Joined: Sat Oct 22, 2005 9:59 am
Location: Burnley (51:AH)

Re: Maths help

Postby Part-Timer » Fri Jul 11, 2014 10:53 pm

moonbeam wrote:When there are 3 smudges, there are no longer 24 combinations for each set of 4; cos say for example 1,2,1,3 is the same as 1,2,1,3 (the 1's are reversed but the pin remains the same), therefore the list needs to be halved:
There are therefore 3 x 12 = 36 possible combinations ... I think I'm correct this time :P


That sounds right to me. It's a bit like the old Mastermind game. It was (I recall) a bit harder to guess the code if all the pegs were different colours. As soon as you had a duplicate colour, there were fewer possible combinations.

Part-Timer
Elite Member
 
Posts: 3085
Joined: Thu May 01, 2003 12:51 pm
Location: London (44:SH)

Re: Maths help

Postby BrianO » Mon Jul 14, 2014 3:55 pm

I could be wrong here... but I think its 18.

would it be 3 x 3 x 2 x 1 = 18

(I haven't done this kind of maths in a long time!!!)

User avatar
BrianO
Junior Member
 
Posts: 33
Joined: Tue Dec 04, 2012 4:16 pm
Location: Edinburgh (31:AH)

Re: Maths help

Postby moonbeam » Mon Jul 14, 2014 9:05 pm

BrianO wrote:I could be wrong here... but I think its 18.

would it be 3 x 3 x 2 x 1 = 18

(I haven't done this kind of maths in a long time!!!)


If the numbers x, y and z are smudged, the possible pin options are:
x, x, y, z ----------------------------------- y, y, z, x -------------------------- z, z, x, y
x, x, z, y ----------------------------------- y, y, x, z -------------------------- z, z, y, x
x, y, x, z ----------------------------------- y, z, y, x -------------------------- z, x, z, y
x, y, z, x ----------------------------------- y, z, x, y -------------------------- z, x, y, z
x, z, x, y ----------------------------------- y, x, y, z -------------------------- z, y, z, x
x, z, y, x ----------------------------------- y, x, z, y -------------------------- z, y, x, z
y, x, x, z ----------------------------------- z, y, y, x -------------------------- x, z, z, y
y, x, z, x ----------------------------------- z, y, x, y -------------------------- x, z, y, z
y, z, x, x ----------------------------------- z, x, y, y -------------------------- x, y, z, z
z, x, x, y ----------------------------------- x, y, y, z -------------------------- y, z, z, x
z, x, y, x ----------------------------------- x, y, z, y -------------------------- y, z, x, z
z, y, x, x ----------------------------------- x, z, y, y -------------------------- y, x, z, z

36 in total .... I don't think there are any errors - each of the above possible possiblities contains x, y and z with one of them duplicated once.

QUESTION:
If we can sue McDonalds for making us fat and cigarette companies for giving us cancer; why can't we sue Smirnoff for all the ugly gits we've sh*gged ??
User avatar
moonbeam
Elite Member
 
Posts: 2407
Joined: Sat Oct 22, 2005 9:59 am
Location: Burnley (51:AH)

Re: Maths help

Postby Mr_Grue » Tue Jul 15, 2014 7:52 am

Well that's f_____ up right there.

Simon Scott

If the spectator doesn't engage in the effect,
then the only thing left is the method.


tiny.cc/Grue
User avatar
Mr_Grue
Elite Member
 
Posts: 2689
Joined: Fri Jan 05, 2007 2:53 pm
Location: London, UK (38:AH)

Re: Maths help

Postby BrianO » Tue Jul 15, 2014 12:05 pm

I'm now glad I added the 'I could be wrong here'

I think its time for me to revise my maths... I used to be good at the stuff. :)

User avatar
BrianO
Junior Member
 
Posts: 33
Joined: Tue Dec 04, 2012 4:16 pm
Location: Edinburgh (31:AH)


Return to The Dove's Head

Aeternum Servare Secreta World-Of-Magic, Suppliers of quality Magic Worldwide UK's Online Magic Tricks and Jokes Shop offers kids and beginner magic tricks and jokes. Playing Cards for Magicians A web site set up to sell my book, THE STRIPPER DECK, and future magical/mentalism titles. Sorcery Shop - Home of the ITR Web Design for Magicians ink cartridges

Who is online

Users browsing this forum: No registered users and 2 guests

cron