Chance Two Customers in a Branch Share Card Last Four Digits
Last updated: November 29, 2026
Quick Overview
Fifty customers are in a Capital One Café. Assuming the last four digits of each person's card number are uniform and independent, what is the probability at least two of them share the same last four digits, and how many customers are needed for a 50% chance?
Capital One
November 29, 20260
0
0 solved
Fifty customers are in a Capital One Café. Assuming the last four digits of each person's card number are uniform and independent, what is the probability at least two of them share the same last four digits, and how many customers are needed for a 50% chance?
A birthday problem variant tied to a real banking detail: customer service and receipts often identify cards only by their last four digits. The interviewer checks the complement trick, a sensible approximation, and whether you see the practical implication for identifiers.
What the Interviewer Expects
- Use the complement: probability all are distinct
- Write the exact product and a good approximation
- Get about 11.5% for 50 people
- Solve for about 118 people for a 50% chance
- Relate the result to collisions of short identifiers
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- What is the chance that someone shares your specific last four digits?
- Why are the last four digits not truly uniform?
- How long would a random account reference need to be to keep collision probability under 1% for 10 million accounts?
- How does this relate to hash collisions in a system that keys on a short ID?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
There are possible endings, customers, and endings are assumed uniform and independent. Real card numbers end in a Luhn check digit, so the last digit is determined by the others, ...
Approach
It is easier to compute the probability that all 50 are different, then subtract from 1. The exact product is easy to write, and turns it into a clean exponential that can be eval...