# Thread:

1. ## derangement question

A brand new standard deck of 52 playing cards comes with the cards arranged in a particular order. Before using them, the cards are shuffled. What is the probability that exactly 10 of the cards will remain in their original position?

2. Clearly it's equal to the number of possible derangements of the remaining 42 cards, divided by $52!$. The number of derangements of $n$ objects is the integer closest to $n!/e$, in this case $51687286544138714389965559095310738479145874768856 1$. So the probability is

$\frac{51687286544138714389965559095310738479145874 7688561}{80658175170943878571660636856403766975289 505440883277824000000000000}$.

3. Originally Posted by Bruno J.
Clearly it's equal to the number of possible derangements of the remaining 42 cards, divided by $52!$. The number of derangements of $n$ objects is the integer closest to $n!/e$, in this case $51687286544138714389965559095310738479145874768856 1$. So the probability is

$\frac{51687286544138714389965559095310738479145874 7688561}{80658175170943878571660636856403766975289 505440883277824000000000000}$.
Don't forget to take into account the possible choices of the 10 cards that remain in their original position.

4. Oh yeah, where is my head! That'll teach me to try helping people at 2:00AM.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 10, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9412326216697693, "perplexity_flag": "head"}