A game with numbered cards

Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
Alice and Bob have each a number (not greater than 20) of cards numbered sequentially 1 onwards. Alice can easily reorder her cards and place them on a table one after the other so that no two cards which lie next to each other have a digit in common. On the other hand Bob, who has just one card more than Alice, has no way of placing his cards on a table likewise (no two cards lying next to each other with a shared digit), however he tries.
How many numbered cards does Alice have?
number-sequence
add a comment |Â
up vote
2
down vote
favorite
Alice and Bob have each a number (not greater than 20) of cards numbered sequentially 1 onwards. Alice can easily reorder her cards and place them on a table one after the other so that no two cards which lie next to each other have a digit in common. On the other hand Bob, who has just one card more than Alice, has no way of placing his cards on a table likewise (no two cards lying next to each other with a shared digit), however he tries.
How many numbered cards does Alice have?
number-sequence
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
Alice and Bob have each a number (not greater than 20) of cards numbered sequentially 1 onwards. Alice can easily reorder her cards and place them on a table one after the other so that no two cards which lie next to each other have a digit in common. On the other hand Bob, who has just one card more than Alice, has no way of placing his cards on a table likewise (no two cards lying next to each other with a shared digit), however he tries.
How many numbered cards does Alice have?
number-sequence
Alice and Bob have each a number (not greater than 20) of cards numbered sequentially 1 onwards. Alice can easily reorder her cards and place them on a table one after the other so that no two cards which lie next to each other have a digit in common. On the other hand Bob, who has just one card more than Alice, has no way of placing his cards on a table likewise (no two cards lying next to each other with a shared digit), however he tries.
How many numbered cards does Alice have?
number-sequence
number-sequence
edited 17 mins ago
asked 1 hour ago
Bernardo Recamán Santos
1,7531034
1,7531034
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
I think that Alice must have
$17$ cards
Reasoning
In the first $18$ cards, that Bob will have, $10$ of those will contain the digit '$1$'. For any ordering, if we divide the cards into $9$ consecutive pairs, by the Pigeonhole Principle, there will be at least one pair which contain two cards showing the digit '$1$'. Hence, Bob will never be able to find a configuration that works.
On the other hand, Alice just needs to ensure all cards containing the digit '$1$' appear in the odd numbered positions and ensure no two cards which differ by $10$ are next to each other. For example, she could order them as follows, $$ 1, 2, 10, 3, 11, 4, 12, 5, 13, 6, 14, 7, 15, 8, 16, 9, 17$$
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
I think that Alice must have
$17$ cards
Reasoning
In the first $18$ cards, that Bob will have, $10$ of those will contain the digit '$1$'. For any ordering, if we divide the cards into $9$ consecutive pairs, by the Pigeonhole Principle, there will be at least one pair which contain two cards showing the digit '$1$'. Hence, Bob will never be able to find a configuration that works.
On the other hand, Alice just needs to ensure all cards containing the digit '$1$' appear in the odd numbered positions and ensure no two cards which differ by $10$ are next to each other. For example, she could order them as follows, $$ 1, 2, 10, 3, 11, 4, 12, 5, 13, 6, 14, 7, 15, 8, 16, 9, 17$$
add a comment |Â
up vote
3
down vote
I think that Alice must have
$17$ cards
Reasoning
In the first $18$ cards, that Bob will have, $10$ of those will contain the digit '$1$'. For any ordering, if we divide the cards into $9$ consecutive pairs, by the Pigeonhole Principle, there will be at least one pair which contain two cards showing the digit '$1$'. Hence, Bob will never be able to find a configuration that works.
On the other hand, Alice just needs to ensure all cards containing the digit '$1$' appear in the odd numbered positions and ensure no two cards which differ by $10$ are next to each other. For example, she could order them as follows, $$ 1, 2, 10, 3, 11, 4, 12, 5, 13, 6, 14, 7, 15, 8, 16, 9, 17$$
add a comment |Â
up vote
3
down vote
up vote
3
down vote
I think that Alice must have
$17$ cards
Reasoning
In the first $18$ cards, that Bob will have, $10$ of those will contain the digit '$1$'. For any ordering, if we divide the cards into $9$ consecutive pairs, by the Pigeonhole Principle, there will be at least one pair which contain two cards showing the digit '$1$'. Hence, Bob will never be able to find a configuration that works.
On the other hand, Alice just needs to ensure all cards containing the digit '$1$' appear in the odd numbered positions and ensure no two cards which differ by $10$ are next to each other. For example, she could order them as follows, $$ 1, 2, 10, 3, 11, 4, 12, 5, 13, 6, 14, 7, 15, 8, 16, 9, 17$$
I think that Alice must have
$17$ cards
Reasoning
In the first $18$ cards, that Bob will have, $10$ of those will contain the digit '$1$'. For any ordering, if we divide the cards into $9$ consecutive pairs, by the Pigeonhole Principle, there will be at least one pair which contain two cards showing the digit '$1$'. Hence, Bob will never be able to find a configuration that works.
On the other hand, Alice just needs to ensure all cards containing the digit '$1$' appear in the odd numbered positions and ensure no two cards which differ by $10$ are next to each other. For example, she could order them as follows, $$ 1, 2, 10, 3, 11, 4, 12, 5, 13, 6, 14, 7, 15, 8, 16, 9, 17$$
answered 30 mins ago
hexomino
31.9k295153
31.9k295153
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f74431%2fa-game-with-numbered-cards%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
