Perfect Shuffling

A "perfect shuffle" is a shuffle where the elements of an ordered set are split in "half," then combined starting with the first element of the first half, then the first element of the second half, and so on.

In the case of an odd number of set elements, the first "half" gets the extra element.

Given an ordered set of n n elements, how many consecutive perfect shuffles are needed to return the set to its original order?

A) n 2 \ n - 2
B) n \ n
C) n + 2 \ n + 2
D) 2 n \ 2^n
E) log 2 n \ \log_2 n

A) always B) always C) always D) always A) if n n is odd; B) if n n is even; C) if n n is a power of 2 A) if n n is odd; C) if n n is even; D) if n n is a power of 2 A) if n n is odd; C) if n n is even; E) if n n is a power of 2 B) if n n is odd; C) if n n is even; E) if n n is a power of 2

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Tj Evert
Apr 11, 2018

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...