Problem 1393. A (wrong) place for everything, and everything in its (wrong) place
Solution Stats
Problem Comments
-
2 Comments
Jean-Marie Sainthillier
on 8 Apr 2013
I think that with this kind of problem, you can process in two steps.
A first easy problem with small N (to test perms for example). And a harder problem with big N, which
oblige to find another algorithm.
Binbin Qi
on 27 Oct 2014
http://oeis.org/A000166
Solution Comments
Show commentsProblem Recent Solvers50
Suggested Problems
-
8620 Solvers
-
Longest run of consecutive numbers
4725 Solvers
-
Change the sign of even index entries of the reversed vector
461 Solvers
-
Put m balls into n boxes (again)
61 Solvers
-
124 Solvers
More from this Author80
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!