Trefl Puzzle Prime - Gradient