Logical Sequences with Piano Keys