avatar
P*b
1
Given a deck of nCards unique cards, cut the deck iCut cards from top and pe
rform a perfect shuffle. A perfect shuffle begins by putting down the bottom
card from the top portion of the deck followed by the bottom card from the
bottom portion of the deck followed by the next card from the top portion, e
tc., alternating cards until one portion is used up. The remaining cards go
on top. The problem is to find the number of perfect shuffles required to re
turn the deck to its original order. Your
avatar
P*b
2
没人感兴趣?

pe
bottom
the
e
go
re

【在 P*******b 的大作中提到】
: Given a deck of nCards unique cards, cut the deck iCut cards from top and pe
: rform a perfect shuffle. A perfect shuffle begins by putting down the bottom
: card from the top portion of the deck followed by the bottom card from the
: bottom portion of the deck followed by the next card from the top portion, e
: tc., alternating cards until one portion is used up. The remaining cards go
: on top. The problem is to find the number of perfect shuffles required to re
: turn the deck to its original order. Your

avatar
s*t
3
请问后续的shuffle是可以自己定 iCut吗?还是说每次都是随机的?

pe
bottom
the
e
go
re

【在 P*******b 的大作中提到】
: Given a deck of nCards unique cards, cut the deck iCut cards from top and pe
: rform a perfect shuffle. A perfect shuffle begins by putting down the bottom
: card from the top portion of the deck followed by the bottom card from the
: bottom portion of the deck followed by the next card from the top portion, e
: tc., alternating cards until one portion is used up. The remaining cards go
: on top. The problem is to find the number of perfect shuffles required to re
: turn the deck to its original order. Your

avatar
i*1
4
感兴趣的。想了下。没想到什么好办法。
avatar
P*b
5
我感觉iCut不是每次都是随机

【在 s*****t 的大作中提到】
: 请问后续的shuffle是可以自己定 iCut吗?还是说每次都是随机的?
:
: pe
: bottom
: the
: e
: go
: re

avatar
s*t
6
Okay, it seems to me that
just keep cutting the same iCuts and then shuffle the cards
finally, you will get the original deck.
Just I could not get the number of times of shuffle and could not prove it.
I suspect it is a ring problem, needs abstract algebra to solve it.

【在 P*******b 的大作中提到】
: 我感觉iCut不是每次都是随机
avatar
h*k
7
看不懂,能给个例子么?

pe
bottom
the
e
go
re

【在 P*******b 的大作中提到】
: Given a deck of nCards unique cards, cut the deck iCut cards from top and pe
: rform a perfect shuffle. A perfect shuffle begins by putting down the bottom
: card from the top portion of the deck followed by the bottom card from the
: bottom portion of the deck followed by the next card from the top portion, e
: tc., alternating cards until one portion is used up. The remaining cards go
: on top. The problem is to find the number of perfect shuffles required to re
: turn the deck to its original order. Your

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。