HP Forums
Sudoku: Infinite Loop - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Sudoku: Infinite Loop (/thread-14613.html)



Sudoku: Infinite Loop - BuSchu - 03-06-2020 10:15 PM

I've tried the last version of Sudoku by Lennart Börjeson. I played with some values and found a setting where the program doesn't find a solution. It seems to go in an endless loop.

The setting

Code:
- - - - 2 4
- - - - 3 5
- - - - 6 1
3 4 5 1 8 2 6 7 9
- - - 4 5 3 1 2 8
- - - 7 9 6 3 4 5
- - - - 1
- - - - 4
- - - - 7

My version is from https://www.hpcalc.org/details/7560

Regards
Burkhard


RE: Sudoku: Infinite Loop - Albert Chan - 03-06-2020 10:55 PM

Code:
- - - - 2 4
- - - - 3 5 
- - - - 6 1
3 4 5 1 8 2 6 7 9
- - - 4 5 3 1 2 8
- - - 7 9 6 3 4 5
- - - - 1
- - - - 4
- - - - 7

This has no solution. 6th column need 789 (or its permutations) to fill the holes, but 7 is taken.