SlideShare a Scribd company logo
1 of 13
J.M.S.S.Silva
Combinatorial Card Trick
 A magician asks an unsuspecting
  observer to randomly choose five
  cards from a standard deck of
  playing cards.
 The participant does not show these
  cards to the magician, but does show
  them to the magician’s accomplice.
 The accomplice looks at the five
  cards, chooses four of them, and
  shows these four to the magician in a
  certain ordered manner.
 The magician immediately identifies
  the fifth hidden card.
Explanation
 Note that in any hand of five cards there must be
  two cards of the same suit (by Pigeonhole
  Principle).
 The first card that the accomplice shows to the
  magician is one of these two cards.
 The other card of the same suit is never shown
  – it is the mystery card, the card which the
  magician must discover.
 Thus, the accomplice can easily communicate
  the suit of the hidden card.
Explanation
   From those two cards of the same suit, A and B,
    the accomplice shows the magician card A such
    that distance(A, B) is 6 or less.

   Using Pigeonhole principle
    it can be shown that there
     is such an arrangement
     for any two cards.
Example
   For example, given the choice between the three of
    clubs and the Jack of clubs, the accomplice reveals
    the Jack.
   Distance (Jack ,3) = 5 and Distance(3, Jack)= 8.
   The three of clubs remains hidden.
Explanation
   Finally, the accomplice arranges the last three
    cards to encode a number from 1 to 6 – the
    distance from the value of first card to that of the
    hidden card.

   A quick calculation allows the magician to
    discover the value of the mystery card.

   This is done by decoding the sequence of shown
    cards.
Explanation
   There are three more cards left.

   These cards can be arranged in 6 different ways.

   Based on a numbering method, the 3 remaining
    cards can be ranked 1st, 2nd and 3rd.

   The accomplice may agree with the magician that
    each arrangement of these 3 cards represent a
    specific number between 1 and 6.
Example
   Below table is an example of a decoding
    method.

        Arrangement      Encoded Number
        1, 2, 3          1
        1, 3, 2          2
        2, 1, 3          3
        2, 3, 1          4
        3, 1, 2          5
        3, 2, 1          6
Explanation
 The the magician will decode the above
  sequence and add the decoded number to
  the first card.
 This will be the hidden card.
Question
   If following cards are selected what
    cards have to be shown to the magician
    and in what order ?
Answer
 First card should be 8 of
  Hearts.
 There are two cards from
  Hearts.
 Distance (8,Jack)=3 . But
  Distance (Jack,8)=10.
 Therefore 8 is showed first.
Answer
 Now we have to encode number 3 using the
  remaining 3 cards.
 Using the previous table the arrangement
  should be 2,1,3 according to their ranks.
 Below is the correct order.It is assumed that
  A is the lowest ranked card.
Thank You

More Related Content

What's hot

IB Math SL IA: Probability in Guess Who
IB Math SL IA: Probability in Guess WhoIB Math SL IA: Probability in Guess Who
IB Math SL IA: Probability in Guess WhoLaurel Ayuyao
 
Ppt uses of probability by rambabu
Ppt  uses of probability by rambabuPpt  uses of probability by rambabu
Ppt uses of probability by rambabuRAMBABU SIRIPURAPU
 
Probability done by Endrikate
Probability done by EndrikateProbability done by Endrikate
Probability done by EndrikateAkilan Kennedy
 
Relation in Discrete Mathematics
Relation in Discrete Mathematics Relation in Discrete Mathematics
Relation in Discrete Mathematics NANDINI SHARMA
 
Matrix multiplication, inverse
Matrix multiplication, inverseMatrix multiplication, inverse
Matrix multiplication, inversePrasanth George
 
Aptitude Training - PROBABILITY
Aptitude Training - PROBABILITYAptitude Training - PROBABILITY
Aptitude Training - PROBABILITYAjay Chimmani
 
Euclid powerpoint
Euclid powerpointEuclid powerpoint
Euclid powerpoint41497777
 
Pascal's triangle
Pascal's triangle Pascal's triangle
Pascal's triangle arnav1230
 
Complex numbers org.ppt
Complex numbers org.pptComplex numbers org.ppt
Complex numbers org.pptOsama Tahir
 
PROBABILITY
PROBABILITYPROBABILITY
PROBABILITYVIV13
 
20 pigeonhole-principle
20 pigeonhole-principle20 pigeonhole-principle
20 pigeonhole-principleananyapandey32
 
Rene Descartes
Rene DescartesRene Descartes
Rene DescartesNiciRS
 
ERATOSTHENES SIEVE
ERATOSTHENES SIEVEERATOSTHENES SIEVE
ERATOSTHENES SIEVEIES EUROPA
 
Normal Distribution, Binomial Distribution, Poisson Distribution
Normal Distribution, Binomial Distribution, Poisson DistributionNormal Distribution, Binomial Distribution, Poisson Distribution
Normal Distribution, Binomial Distribution, Poisson DistributionQ Dauh Q Alam
 
B.tech ii unit-1 material curve tracing
B.tech ii unit-1 material curve tracingB.tech ii unit-1 material curve tracing
B.tech ii unit-1 material curve tracingRai University
 
Real life use of probability.
Real life use of probability.Real life use of probability.
Real life use of probability.Sahil Patel
 
Electrical Networks Application in linear algebra
Electrical Networks Application in linear algebraElectrical Networks Application in linear algebra
Electrical Networks Application in linear algebraSami Ullah
 
CMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set OperationsCMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set Operationsallyn joy calcaben
 

What's hot (20)

IB Math SL IA: Probability in Guess Who
IB Math SL IA: Probability in Guess WhoIB Math SL IA: Probability in Guess Who
IB Math SL IA: Probability in Guess Who
 
Ppt uses of probability by rambabu
Ppt  uses of probability by rambabuPpt  uses of probability by rambabu
Ppt uses of probability by rambabu
 
Probability done by Endrikate
Probability done by EndrikateProbability done by Endrikate
Probability done by Endrikate
 
Relation in Discrete Mathematics
Relation in Discrete Mathematics Relation in Discrete Mathematics
Relation in Discrete Mathematics
 
Number theory lecture (part 1)
Number theory lecture (part 1)Number theory lecture (part 1)
Number theory lecture (part 1)
 
Matrix multiplication, inverse
Matrix multiplication, inverseMatrix multiplication, inverse
Matrix multiplication, inverse
 
Aptitude Training - PROBABILITY
Aptitude Training - PROBABILITYAptitude Training - PROBABILITY
Aptitude Training - PROBABILITY
 
Euclid powerpoint
Euclid powerpointEuclid powerpoint
Euclid powerpoint
 
Complementary Probability
Complementary ProbabilityComplementary Probability
Complementary Probability
 
Pascal's triangle
Pascal's triangle Pascal's triangle
Pascal's triangle
 
Complex numbers org.ppt
Complex numbers org.pptComplex numbers org.ppt
Complex numbers org.ppt
 
PROBABILITY
PROBABILITYPROBABILITY
PROBABILITY
 
20 pigeonhole-principle
20 pigeonhole-principle20 pigeonhole-principle
20 pigeonhole-principle
 
Rene Descartes
Rene DescartesRene Descartes
Rene Descartes
 
ERATOSTHENES SIEVE
ERATOSTHENES SIEVEERATOSTHENES SIEVE
ERATOSTHENES SIEVE
 
Normal Distribution, Binomial Distribution, Poisson Distribution
Normal Distribution, Binomial Distribution, Poisson DistributionNormal Distribution, Binomial Distribution, Poisson Distribution
Normal Distribution, Binomial Distribution, Poisson Distribution
 
B.tech ii unit-1 material curve tracing
B.tech ii unit-1 material curve tracingB.tech ii unit-1 material curve tracing
B.tech ii unit-1 material curve tracing
 
Real life use of probability.
Real life use of probability.Real life use of probability.
Real life use of probability.
 
Electrical Networks Application in linear algebra
Electrical Networks Application in linear algebraElectrical Networks Application in linear algebra
Electrical Networks Application in linear algebra
 
CMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set OperationsCMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set Operations
 

Viewers also liked

Pigeonhole Principle
Pigeonhole PrinciplePigeonhole Principle
Pigeonhole Principlenielsoli
 
Generating functions (albert r. meyer)
Generating functions (albert r. meyer)Generating functions (albert r. meyer)
Generating functions (albert r. meyer)Ilir Destani
 
Evaluation+activity+3+powerpoint
Evaluation+activity+3+powerpointEvaluation+activity+3+powerpoint
Evaluation+activity+3+powerpointeoinb
 
Pp resume
Pp resumePp resume
Pp resume101390
 
Cause for paws
Cause for pawsCause for paws
Cause for pawscrothfuss
 
Willington Nameplate Capability 2011
Willington Nameplate Capability 2011Willington Nameplate Capability 2011
Willington Nameplate Capability 2011Willington Nameplate
 
Periferics comuns d_un_ordinador
Periferics comuns d_un_ordinadorPeriferics comuns d_un_ordinador
Periferics comuns d_un_ordinadorSamloco
 
το μεταναστευτικό κίνημα 1960-1970
το μεταναστευτικό κίνημα 1960-1970το μεταναστευτικό κίνημα 1960-1970
το μεταναστευτικό κίνημα 1960-1970katerina_a
 
Comparing directional maps
Comparing directional mapsComparing directional maps
Comparing directional mapsRahul Rakshit
 
Website research young minds
Website research young mindsWebsite research young minds
Website research young mindsshammone1994
 
Daftar Hadir & Nilai Evaluasi PAI 2011.2012
Daftar Hadir & Nilai Evaluasi PAI 2011.2012Daftar Hadir & Nilai Evaluasi PAI 2011.2012
Daftar Hadir & Nilai Evaluasi PAI 2011.2012MTs Nurul Huda Sukaraja
 
Presentation chap3 4
Presentation chap3 4Presentation chap3 4
Presentation chap3 4alvarezm7
 
Mängime lauamänge inglise keeles
Mängime lauamänge inglise keelesMängime lauamänge inglise keeles
Mängime lauamänge inglise keelessveta8
 

Viewers also liked (20)

Pigeonhole Principle
Pigeonhole PrinciplePigeonhole Principle
Pigeonhole Principle
 
Pigeon hole principle
Pigeon hole principlePigeon hole principle
Pigeon hole principle
 
Pigeon hole principle
Pigeon hole principlePigeon hole principle
Pigeon hole principle
 
Generating functions (albert r. meyer)
Generating functions (albert r. meyer)Generating functions (albert r. meyer)
Generating functions (albert r. meyer)
 
Evaluation+activity+3+powerpoint
Evaluation+activity+3+powerpointEvaluation+activity+3+powerpoint
Evaluation+activity+3+powerpoint
 
Proiecte
ProiecteProiecte
Proiecte
 
Pp resume
Pp resumePp resume
Pp resume
 
Cause for paws
Cause for pawsCause for paws
Cause for paws
 
Willington Nameplate Capability 2011
Willington Nameplate Capability 2011Willington Nameplate Capability 2011
Willington Nameplate Capability 2011
 
Periferics comuns d_un_ordinador
Periferics comuns d_un_ordinadorPeriferics comuns d_un_ordinador
Periferics comuns d_un_ordinador
 
NWL Ultra Future
NWL Ultra FutureNWL Ultra Future
NWL Ultra Future
 
Welcome to Cooktown!
Welcome to Cooktown!Welcome to Cooktown!
Welcome to Cooktown!
 
το μεταναστευτικό κίνημα 1960-1970
το μεταναστευτικό κίνημα 1960-1970το μεταναστευτικό κίνημα 1960-1970
το μεταναστευτικό κίνημα 1960-1970
 
Comparing directional maps
Comparing directional mapsComparing directional maps
Comparing directional maps
 
Website research young minds
Website research young mindsWebsite research young minds
Website research young minds
 
Camisetas 2012
Camisetas 2012Camisetas 2012
Camisetas 2012
 
Daftar Hadir & Nilai Evaluasi PAI 2011.2012
Daftar Hadir & Nilai Evaluasi PAI 2011.2012Daftar Hadir & Nilai Evaluasi PAI 2011.2012
Daftar Hadir & Nilai Evaluasi PAI 2011.2012
 
H&m group
H&m groupH&m group
H&m group
 
Presentation chap3 4
Presentation chap3 4Presentation chap3 4
Presentation chap3 4
 
Mängime lauamänge inglise keeles
Mängime lauamänge inglise keelesMängime lauamänge inglise keeles
Mängime lauamänge inglise keeles
 

Similar to Card Trick based on Pigeon hole principle

Three cards are drawn in succession.docx
Three cards are drawn in succession.docxThree cards are drawn in succession.docx
Three cards are drawn in succession.docxNadeem Uddin
 
Set game instructions
Set game instructionsSet game instructions
Set game instructionslynnn1054
 
Probability with Cards
Probability with CardsProbability with Cards
Probability with Cardsianrhunter
 
Determining the probability to win Majong, an unfair game Intro.docx
Determining the probability to win Majong, an unfair game Intro.docxDetermining the probability to win Majong, an unfair game Intro.docx
Determining the probability to win Majong, an unfair game Intro.docxkhenry4
 
Your Statistics Homework Solver is Here! 📊📚
Your Statistics Homework Solver is Here! 📊📚Your Statistics Homework Solver is Here! 📊📚
Your Statistics Homework Solver is Here! 📊📚Statistics Homework Helper
 
set_powerpoint1.ppt
set_powerpoint1.pptset_powerpoint1.ppt
set_powerpoint1.pptLheaNucelo
 
Terrific Card Tricks by AL
Terrific Card Tricks by ALTerrific Card Tricks by AL
Terrific Card Tricks by ALlbushey
 
Terrific Card Tricks by AL
Terrific Card Tricks by ALTerrific Card Tricks by AL
Terrific Card Tricks by ALlbushey
 
Outnumber - Numbers card game Rulebook
Outnumber - Numbers card game RulebookOutnumber - Numbers card game Rulebook
Outnumber - Numbers card game Rulebooklogicroots
 
Outnumber rulebook
Outnumber rulebookOutnumber rulebook
Outnumber rulebooklogicroots
 
CARDS PROBABILITY PART 1.pptx
CARDS PROBABILITY PART 1.pptxCARDS PROBABILITY PART 1.pptx
CARDS PROBABILITY PART 1.pptxNeha Patil
 
Cards probability
Cards probabilityCards probability
Cards probabilityNeha Patil
 
Important questions for class 10 maths chapter 15 probability with solutions
Important questions for class 10 maths chapter 15 probability with solutionsImportant questions for class 10 maths chapter 15 probability with solutions
Important questions for class 10 maths chapter 15 probability with solutionsExpertClass
 
Important questions for class 10 maths chapter 15 probability with solions
Important questions for class 10 maths chapter 15 probability with solionsImportant questions for class 10 maths chapter 15 probability with solions
Important questions for class 10 maths chapter 15 probability with solionsExpertClass
 
Important questions for class 10 maths chapter 15 probability with solutions
Important questions for class 10 maths chapter 15 probability with solutionsImportant questions for class 10 maths chapter 15 probability with solutions
Important questions for class 10 maths chapter 15 probability with solutionsExpertClass
 
Numbers Card Game - Outnumber. 6 times more math practice
Numbers Card Game - Outnumber. 6 times more math practiceNumbers Card Game - Outnumber. 6 times more math practice
Numbers Card Game - Outnumber. 6 times more math practicelogicroots
 
Comp 220 i lab 1 two dimensional arrays lab report and source code
Comp 220 i lab 1 two dimensional arrays lab report and source codeComp 220 i lab 1 two dimensional arrays lab report and source code
Comp 220 i lab 1 two dimensional arrays lab report and source codepradesigali1
 
Gambling, Probability, and Risk
Gambling, Probability, and RiskGambling, Probability, and Risk
Gambling, Probability, and RiskRod Medallion
 
Solo rummy with playing card 6.7.12
Solo rummy with playing card 6.7.12Solo rummy with playing card 6.7.12
Solo rummy with playing card 6.7.12Kuppa Gangadharan
 

Similar to Card Trick based on Pigeon hole principle (20)

Three cards are drawn in succession.docx
Three cards are drawn in succession.docxThree cards are drawn in succession.docx
Three cards are drawn in succession.docx
 
Set game instructions
Set game instructionsSet game instructions
Set game instructions
 
Math questions
Math  questionsMath  questions
Math questions
 
Probability with Cards
Probability with CardsProbability with Cards
Probability with Cards
 
Determining the probability to win Majong, an unfair game Intro.docx
Determining the probability to win Majong, an unfair game Intro.docxDetermining the probability to win Majong, an unfair game Intro.docx
Determining the probability to win Majong, an unfair game Intro.docx
 
Your Statistics Homework Solver is Here! 📊📚
Your Statistics Homework Solver is Here! 📊📚Your Statistics Homework Solver is Here! 📊📚
Your Statistics Homework Solver is Here! 📊📚
 
set_powerpoint1.ppt
set_powerpoint1.pptset_powerpoint1.ppt
set_powerpoint1.ppt
 
Terrific Card Tricks by AL
Terrific Card Tricks by ALTerrific Card Tricks by AL
Terrific Card Tricks by AL
 
Terrific Card Tricks by AL
Terrific Card Tricks by ALTerrific Card Tricks by AL
Terrific Card Tricks by AL
 
Outnumber - Numbers card game Rulebook
Outnumber - Numbers card game RulebookOutnumber - Numbers card game Rulebook
Outnumber - Numbers card game Rulebook
 
Outnumber rulebook
Outnumber rulebookOutnumber rulebook
Outnumber rulebook
 
CARDS PROBABILITY PART 1.pptx
CARDS PROBABILITY PART 1.pptxCARDS PROBABILITY PART 1.pptx
CARDS PROBABILITY PART 1.pptx
 
Cards probability
Cards probabilityCards probability
Cards probability
 
Important questions for class 10 maths chapter 15 probability with solutions
Important questions for class 10 maths chapter 15 probability with solutionsImportant questions for class 10 maths chapter 15 probability with solutions
Important questions for class 10 maths chapter 15 probability with solutions
 
Important questions for class 10 maths chapter 15 probability with solions
Important questions for class 10 maths chapter 15 probability with solionsImportant questions for class 10 maths chapter 15 probability with solions
Important questions for class 10 maths chapter 15 probability with solions
 
Important questions for class 10 maths chapter 15 probability with solutions
Important questions for class 10 maths chapter 15 probability with solutionsImportant questions for class 10 maths chapter 15 probability with solutions
Important questions for class 10 maths chapter 15 probability with solutions
 
Numbers Card Game - Outnumber. 6 times more math practice
Numbers Card Game - Outnumber. 6 times more math practiceNumbers Card Game - Outnumber. 6 times more math practice
Numbers Card Game - Outnumber. 6 times more math practice
 
Comp 220 i lab 1 two dimensional arrays lab report and source code
Comp 220 i lab 1 two dimensional arrays lab report and source codeComp 220 i lab 1 two dimensional arrays lab report and source code
Comp 220 i lab 1 two dimensional arrays lab report and source code
 
Gambling, Probability, and Risk
Gambling, Probability, and RiskGambling, Probability, and Risk
Gambling, Probability, and Risk
 
Solo rummy with playing card 6.7.12
Solo rummy with playing card 6.7.12Solo rummy with playing card 6.7.12
Solo rummy with playing card 6.7.12
 

Recently uploaded

psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 

Recently uploaded (20)

psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

Card Trick based on Pigeon hole principle

  • 2. Combinatorial Card Trick  A magician asks an unsuspecting observer to randomly choose five cards from a standard deck of playing cards.  The participant does not show these cards to the magician, but does show them to the magician’s accomplice.  The accomplice looks at the five cards, chooses four of them, and shows these four to the magician in a certain ordered manner.  The magician immediately identifies the fifth hidden card.
  • 3. Explanation  Note that in any hand of five cards there must be two cards of the same suit (by Pigeonhole Principle).  The first card that the accomplice shows to the magician is one of these two cards.  The other card of the same suit is never shown – it is the mystery card, the card which the magician must discover.  Thus, the accomplice can easily communicate the suit of the hidden card.
  • 4. Explanation  From those two cards of the same suit, A and B, the accomplice shows the magician card A such that distance(A, B) is 6 or less.  Using Pigeonhole principle it can be shown that there is such an arrangement for any two cards.
  • 5. Example  For example, given the choice between the three of clubs and the Jack of clubs, the accomplice reveals the Jack.  Distance (Jack ,3) = 5 and Distance(3, Jack)= 8.  The three of clubs remains hidden.
  • 6. Explanation  Finally, the accomplice arranges the last three cards to encode a number from 1 to 6 – the distance from the value of first card to that of the hidden card.  A quick calculation allows the magician to discover the value of the mystery card.  This is done by decoding the sequence of shown cards.
  • 7. Explanation  There are three more cards left.  These cards can be arranged in 6 different ways.  Based on a numbering method, the 3 remaining cards can be ranked 1st, 2nd and 3rd.  The accomplice may agree with the magician that each arrangement of these 3 cards represent a specific number between 1 and 6.
  • 8. Example  Below table is an example of a decoding method. Arrangement Encoded Number 1, 2, 3 1 1, 3, 2 2 2, 1, 3 3 2, 3, 1 4 3, 1, 2 5 3, 2, 1 6
  • 9. Explanation  The the magician will decode the above sequence and add the decoded number to the first card.  This will be the hidden card.
  • 10. Question  If following cards are selected what cards have to be shown to the magician and in what order ?
  • 11. Answer  First card should be 8 of Hearts.  There are two cards from Hearts.  Distance (8,Jack)=3 . But Distance (Jack,8)=10.  Therefore 8 is showed first.
  • 12. Answer  Now we have to encode number 3 using the remaining 3 cards.  Using the previous table the arrangement should be 2,1,3 according to their ranks.  Below is the correct order.It is assumed that A is the lowest ranked card.