Lets say I have some patterns as 64 bits integers. Given a 64 integer n how to list all patterns matching n efficiently?
More precisely I am interested in this set: {