added A000016 feedback shift stuff similar to beads