Solutions to BlumsMentalHash and Thue-Morse sequence problems