Problem 622
Riffle Shuffle
A riffle shuffle is executed as follows: a deck of cards is split into two equal halves, with the top half taken in the left hand and the bottom half taken in the right hand. Next, the cards are interleaved exactly, with the top card in the right half inserted just after the top card in the left half, the 2nd card in the right half just after the 2nd card in the left half, etc. (Note that this process preserves the location of the top and bottom card of the deck)
Let
Amazingly, a standard deck of
Find the sum of all values of
交叠洗牌
交叠洗牌的操作流程如下:将牌堆分成相同数量的两半,上半部分置于左手,下半部分置于右手。接着将牌准确地交叉叠合,也就是说,将右手中的第一张牌放在左手中的第一张牌下方,将右手中的第二张牌放在左手中的第二张牌下方,依此类推。(注意这一操作并不改变原牌堆的第一张和最后一张牌的位置)
记
令人惊奇的是,对于52张牌的标准牌堆,首次回复原样仅需要
求所有满足
Gitalking ...