Problem 941
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.
This forum is NOT meant to discuss solution methods for a problem.
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.
This forum is NOT meant to discuss solution methods for a problem.
In particular don't post any code fragments or results.
Don't start begging others to give partial answers to problems
Don't ask for hints how to solve a problem
Don't start a new topic for a problem if there already exists one
Don't start begging others to give partial answers to problems
Don't ask for hints how to solve a problem
Don't start a new topic for a problem if there already exists one
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
-
DeatH_StaR
- Posts: 16
- Joined: Sat Apr 19, 2014 5:09 pm
-
philiplu
- Posts: 92
- Joined: Wed Aug 02, 2017 8:51 pm
- Location: Redmond, WA, USA
Re: Riddle 941
$a_1,a_2,\dots,a_N$ will all appear in $C(10,12)$ somewhere, and not necessarily in that order. For example, it might be that $a_3$ appears first when you look at where each of the $a_i$ appear in $C(10,12).$ If that were the case, then $p_3 = 1$, since $a_3$ was first (and no, I've no idea if $p_3 = 1$, that's just an example).
So $p_n$ is the (1-based) order of $a_n$ in the list of all the $a_i$ when you arrange those in order by where they show up in $C(10,12).$
So $p_n$ is the (1-based) order of $a_n$ in the list of all the $a_i$ when you arrange those in order by where they show up in $C(10,12).$

-
Stache
- Posts: 13
- Joined: Sat Mar 28, 2009 3:44 am
- Location: Connecticut, USA
Re: Riddle 941
Isn't it true for C(3,2) that 0001021122 is lexicographically smaller than 0010211220 and meets the definition of C(k, n) given in the problem? I realize this is not a de Bruijn sequence, but the problem statement doesn't say that each combination must appear exactly once.

-
mdean
- Posts: 206
- Joined: Tue Aug 02, 2011 2:05 am
Re: Riddle 941
0001021122 does not contain "20".Consider all sequences of shortest possible length that contains every possible combination of the digits.
Denote by $C(k,n)$ the lexicographically smallest of these.

-
Stache
- Posts: 13
- Joined: Sat Mar 28, 2009 3:44 am
- Location: Connecticut, USA
Re: Riddle 941
