Construct Matrix with given Permanent
|
01-03-2024, 05:53 PM
Post: #1
|
|||
|
|||
Construct Matrix with given Permanent
Thread Happy New Year 2024 ... and 2023's last teaser !
(01-01-2024 08:29 PM)Maximilian Hohmann Wrote: Hello! Except for first row, we start with this: [ first row, [0,0,0,0,0,0,0,0,0,0,1,1], [0,0,0,0,0,0,0,0,0,1,1,1], [0,0,0,0,0,0,0,0,1,1,1,1], [0,0,0,0,0,0,0,1,1,1,1,1], [0,0,0,0,0,0,1,1,1,1,1,1], [0,0,0,0,0,1,1,1,1,1,1,1], [0,0,0,0,1,1,1,1,1,1,1,1], [0,0,0,1,1,1,1,1,1,1,1,1], [0,0,1,1,1,1,1,1,1,1,1,1], [0,1,1,1,1,1,1,1,1,1,1,1], [1,1,1,1,1,1,1,1,1,1,1,1]] Permanent = total paths of 1's from top to bottom (different columns) Permanent = 2^0 = 1 if first row is [0,0,0,0,0,0,0,0,0,0,0,1] [0,0,0,0,0,0,0,0,0,0,1,0] Permanent = 2^1 = 2 if first row is [0,0,0,0,0,0,0,0,0,1,0,0] Permanent = 2^2 = 4 if first row is [0,0,0,0,0,0,0,0,1,0,0,0] Permanent = 2^3 = 8 if first row is [0,0,0,0,0,0,0,1,0,0,0,0] ... x = first row bits → Permanent = (x//2) + (x%2) Either of these as first row will produce Permanent = 2023 = 0b11111100111 [1,1,1,1,1,1,0,0,1,1,0,1] [1,1,1,1,1,1,0,0,1,1,1,0] To make puzzle challenging, we randomly swap rows and cols, which does not change value of Permanent. To solve puzzle, we undo randomization, to make above "standard form". Then, we just read off first row pattern for Permanent. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Construct Matrix with given Permanent - Albert Chan - 01-03-2024 05:53 PM
RE: Construct Matrix with given Permanent - Albert Chan - 01-03-2024, 06:06 PM
RE: Construct Matrix with given Permanent - Maximilian Hohmann - 01-03-2024, 06:17 PM
RE: Construct Matrix with given Permanent - Albert Chan - 01-03-2024, 11:55 PM
RE: Construct Matrix with given Permanent - Albert Chan - 01-05-2024, 09:19 PM
RE: Construct Matrix with given Permanent - Albert Chan - 01-07-2024, 04:09 PM
|
User(s) browsing this thread: 1 Guest(s)