Normal sudoku rules apply. Digits on a grey line must be between the digits on that line's circled ends. Digits on a purple line must be consecutive (in any order). Adjacent digits on a green line must have a difference of 5 or more. Clues outside the grid give the sum of the digits along the indicated diagonal. Digits can repeat along such a diagonal if allowed by other rules.