Problem 1393. A (wrong) place for everything, and everything in its (wrong) place
Solution Stats
Problem Comments
-
2 Comments
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.
http://oeis.org/A000166
Problem Recent Solvers26
Suggested Problems
-
All your base are belong to us
486 Solvers
-
230 Solvers
-
144 Solvers
-
Sum the entries of each column of a matrix which satisfy a logical condition.
144 Solvers
-
69 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!