Implemented BJ's Dukegib sequence.