Datasets:

nums
listlengths
4
4
target
int64
10
100
solution
listlengths
3
3
optimal_path
stringlengths
282
529
start_size
int64
4
4
search_path
stringlengths
505
16.8k
rating
float64
0
0.99
search_type
stringclasses
5 values
heuristic
stringclasses
2 values
[ 3, 99, 94, 13 ]
62
[ "99-94=5", "13*5=65", "65-3=62" ]
Current State: 62:[3, 99, 94, 13], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [3, 13, 5] Generated Node #2: [3, 13, 5] from Operation: 99-94=5 Current State: 62:[3, 13, 5], Operations: ['99-94=5'] Exploring Operation: 13*5=65, Resulting Numbers: [3, 65] Generated Node #3: [3, 65] from Operation: 13*5=65 Current State: 62:[3, 65], Operations: ['99-94=5', '13*5=65'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[3, 99, 94, 13], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [94, 13, 33] Generated Node #0,0: 62:[94, 13, 33] Operation: 99/3=33 Exploring Operation: 99-94=5, Resulting Numbers: [3, 13, 5] Generated Node #0,1: 62:[3, 13, 5] Operation: 99-94=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[3, 13, 5], Operations: ['99-94=5'] Exploring Operation: 13-5=8, Resulting Numbers: [3, 8] Generated Node #0,1,0: 62:[3, 8] Operation: 13-5=8 Exploring Operation: 13*5=65, Resulting Numbers: [3, 65] Generated Node #0,1,1: 62:[3, 65] Operation: 13*5=65 Moving to Node #0,1,1 Current State: 62:[3, 65], Operations: ['99-94=5', '13*5=65'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[3, 99, 94, 13], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [3, 13, 5] Generated Node #0,1: 62:[3, 13, 5] Operation: 99-94=5 Moving to Node #0,1 Current State: 62:[3, 13, 5], Operations: ['99-94=5'] Exploring Operation: 13*5=65, Resulting Numbers: [3, 65] Generated Node #0,1,1: 62:[3, 65] Operation: 13*5=65 Moving to Node #0,1,1 Current State: 62:[3, 65], Operations: ['99-94=5', '13*5=65'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 15, 39, 85, 55 ]
84
[ "15+39=54", "85-55=30", "54+30=84" ]
Current State: 84:[15, 39, 85, 55], Operations: [] Exploring Operation: 15+39=54, Resulting Numbers: [85, 55, 54] Generated Node #2: [85, 55, 54] from Operation: 15+39=54 Current State: 84:[85, 55, 54], Operations: ['15+39=54'] Exploring Operation: 85-55=30, Resulting Numbers: [54, 30] Generated Node #3: [54, 30] from Operation: 85-55=30 Current State: 84:[54, 30], Operations: ['15+39=54', '85-55=30'] Exploring Operation: 54+30=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[15, 39, 85, 55], Operations: [] Exploring Operation: 55-39=16, Resulting Numbers: [15, 85, 16] Generated Node #0,0: 84:[15, 85, 16] Operation: 55-39=16 Exploring Operation: 55-15=40, Resulting Numbers: [39, 85, 40] Generated Node #0,1: 84:[39, 85, 40] Operation: 55-15=40 Exploring Operation: 85-55=30, Resulting Numbers: [15, 39, 30] Generated Node #0,2: 84:[15, 39, 30] Operation: 85-55=30 Exploring Operation: 39+55=94, Resulting Numbers: [15, 85, 94] Generated Node #0,3: 84:[15, 85, 94] Operation: 39+55=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[15, 85, 16], Operations: ['55-39=16'] Exploring Operation: 16-15=1, Resulting Numbers: [85, 1] Generated Node #0,0,0: 84:[85, 1] Operation: 16-15=1 Exploring Operation: 85-16=69, Resulting Numbers: [15, 69] Generated Node #0,0,1: 84:[15, 69] Operation: 85-16=69 Exploring Operation: 85-15=70, Resulting Numbers: [16, 70] Generated Node #0,0,2: 84:[16, 70] Operation: 85-15=70 Exploring Operation: 15+16=31, Resulting Numbers: [85, 31] Generated Node #0,0,3: 84:[85, 31] Operation: 15+16=31 Moving to Node #0,0,0 Current State: 84:[85, 1], Operations: ['55-39=16', '16-15=1'] Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,84 unequal: No Solution Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,84 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,84 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[15, 39, 85, 55], Operations: [] Exploring Operation: 55-39=16, Resulting Numbers: [15, 85, 16] Generated Node #0,0: 84:[15, 85, 16] Operation: 55-39=16 Moving to Node #0,0 Current State: 84:[15, 85, 16], Operations: ['55-39=16'] Exploring Operation: 16-15=1, Resulting Numbers: [85, 1] Generated Node #0,0,0: 84:[85, 1] Operation: 16-15=1 Moving to Node #0,0,0 Current State: 84:[85, 1], Operations: ['55-39=16', '16-15=1'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 87, 72, 53, 73 ]
70
[ "87+72=159", "159/53=3", "73-3=70" ]
Current State: 70:[87, 72, 53, 73], Operations: [] Exploring Operation: 87+72=159, Resulting Numbers: [53, 73, 159] Generated Node #2: [53, 73, 159] from Operation: 87+72=159 Current State: 70:[53, 73, 159], Operations: ['87+72=159'] Exploring Operation: 159/53=3, Resulting Numbers: [73, 3] Generated Node #3: [73, 3] from Operation: 159/53=3 Current State: 70:[73, 3], Operations: ['87+72=159', '159/53=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[87, 72, 53, 73], Operations: [] Exploring Operation: 87-72=15, Resulting Numbers: [53, 73, 15] Generated Node #0,0: 70:[53, 73, 15] Operation: 87-72=15 Exploring Operation: 87-53=34, Resulting Numbers: [72, 73, 34] Generated Node #0,1: 70:[72, 73, 34] Operation: 87-53=34 Exploring Operation: 87-73=14, Resulting Numbers: [72, 53, 14] Generated Node #0,2: 70:[72, 53, 14] Operation: 87-73=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[72, 73, 34], Operations: ['87-53=34'] Exploring Operation: 72-34=38, Resulting Numbers: [73, 38] Generated Node #0,1,0: 70:[73, 38] Operation: 72-34=38 Exploring Operation: 73-34=39, Resulting Numbers: [72, 39] Generated Node #0,1,1: 70:[72, 39] Operation: 73-34=39 Exploring Operation: 73-72=1, Resulting Numbers: [34, 1] Generated Node #0,1,2: 70:[34, 1] Operation: 73-72=1 Moving to Node #0,1,2 Current State: 70:[34, 1], Operations: ['87-53=34', '73-72=1'] Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[73, 38], Operations: ['87-53=34', '72-34=38'] Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,70 unequal: No Solution Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[72, 39], Operations: ['87-53=34', '73-34=39'] Exploring Operation: 72+39=111, Resulting Numbers: [111] 111,70 unequal: No Solution Exploring Operation: 72*39=2808, Resulting Numbers: [2808] 2808,70 unequal: No Solution Exploring Operation: 72-39=33, Resulting Numbers: [33] 33,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[72, 53, 14], Operations: ['87-73=14'] Exploring Operation: 53+14=67, Resulting Numbers: [72, 67] Generated Node #0,2,0: 70:[72, 67] Operation: 53+14=67 Exploring Operation: 53-14=39, Resulting Numbers: [72, 39] Generated Node #0,2,1: 70:[72, 39] Operation: 53-14=39 Exploring Operation: 72-53=19, Resulting Numbers: [14, 19] Generated Node #0,2,2: 70:[14, 19] Operation: 72-53=19 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 70:[72, 67], Operations: ['87-73=14', '53+14=67'] Exploring Operation: 72-67=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 72*67=4824, Resulting Numbers: [4824] 4824,70 unequal: No Solution Exploring Operation: 72+67=139, Resulting Numbers: [139] 139,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 70:[14, 19], Operations: ['87-73=14', '72-53=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[72, 39], Operations: ['87-73=14', '53-14=39'] Exploring Operation: 72-39=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 72+39=111, Resulting Numbers: [111] 111,70 unequal: No Solution Exploring Operation: 72*39=2808, Resulting Numbers: [2808] 2808,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[53, 73, 15], Operations: ['87-72=15'] Exploring Operation: 73-53=20, Resulting Numbers: [15, 20] Generated Node #0,0,0: 70:[15, 20] Operation: 73-53=20 Exploring Operation: 53+15=68, Resulting Numbers: [73, 68] Generated Node #0,0,1: 70:[73, 68] Operation: 53+15=68 Exploring Operation: 53-15=38, Resulting Numbers: [73, 38] Generated Node #0,0,2: 70:[73, 38] Operation: 53-15=38 Moving to Node #0,0,1 Current State: 70:[73, 68], Operations: ['87-72=15', '53+15=68'] Exploring Operation: 73-68=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 73*68=4964, Resulting Numbers: [4964] 4964,70 unequal: No Solution Exploring Operation: 73+68=141, Resulting Numbers: [141] 141,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[73, 38], Operations: ['87-72=15', '53-15=38'] Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,70 unequal: No Solution Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[15, 20], Operations: ['87-72=15', '73-53=20'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,70 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 77, 62, 99, 14 ]
80
[ "99*14=1386", "1386/77=18", "62+18=80" ]
Current State: 80:[77, 62, 99, 14], Operations: [] Exploring Operation: 99*14=1386, Resulting Numbers: [77, 62, 1386] Generated Node #2: [77, 62, 1386] from Operation: 99*14=1386 Current State: 80:[77, 62, 1386], Operations: ['99*14=1386'] Exploring Operation: 1386/77=18, Resulting Numbers: [62, 18] Generated Node #3: [62, 18] from Operation: 1386/77=18 Current State: 80:[62, 18], Operations: ['99*14=1386', '1386/77=18'] Exploring Operation: 62+18=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[77, 62, 99, 14], Operations: [] Exploring Operation: 99-77=22, Resulting Numbers: [62, 14, 22] Generated Node #0,0: 80:[62, 14, 22] Operation: 99-77=22 Exploring Operation: 99-62=37, Resulting Numbers: [77, 14, 37] Generated Node #0,1: 80:[77, 14, 37] Operation: 99-62=37 Exploring Operation: 77-62=15, Resulting Numbers: [99, 14, 15] Generated Node #0,2: 80:[99, 14, 15] Operation: 77-62=15 Exploring Operation: 62+14=76, Resulting Numbers: [77, 99, 76] Generated Node #0,3: 80:[77, 99, 76] Operation: 62+14=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[77, 14, 37], Operations: ['99-62=37'] Exploring Operation: 77+14=91, Resulting Numbers: [37, 91] Generated Node #0,1,0: 80:[37, 91] Operation: 77+14=91 Exploring Operation: 37-14=23, Resulting Numbers: [77, 23] Generated Node #0,1,1: 80:[77, 23] Operation: 37-14=23 Exploring Operation: 77-37=40, Resulting Numbers: [14, 40] Generated Node #0,1,2: 80:[14, 40] Operation: 77-37=40 Exploring Operation: 14+37=51, Resulting Numbers: [77, 51] Generated Node #0,1,3: 80:[77, 51] Operation: 14+37=51 Moving to Node #0,1,2 Current State: 80:[14, 40], Operations: ['99-62=37', '77-37=40'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 14*40=560, Resulting Numbers: [560] 560,80 unequal: No Solution Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[77, 23], Operations: ['99-62=37', '37-14=23'] Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 77+23=100, Resulting Numbers: [100] 100,80 unequal: No Solution Exploring Operation: 77*23=1771, Resulting Numbers: [1771] 1771,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[77, 51], Operations: ['99-62=37', '14+37=51'] Exploring Operation: 77-51=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 77*51=3927, Resulting Numbers: [3927] 3927,80 unequal: No Solution Exploring Operation: 77+51=128, Resulting Numbers: [128] 128,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[37, 91], Operations: ['99-62=37', '77+14=91'] Exploring Operation: 37*91=3367, Resulting Numbers: [3367] 3367,80 unequal: No Solution Exploring Operation: 37+91=128, Resulting Numbers: [128] 128,80 unequal: No Solution Exploring Operation: 91-37=54, Resulting Numbers: [54] 54,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[62, 14, 22], Operations: ['99-77=22'] Exploring Operation: 62-14=48, Resulting Numbers: [22, 48] Generated Node #0,0,0: 80:[22, 48] Operation: 62-14=48 Exploring Operation: 62+22=84, Resulting Numbers: [14, 84] Generated Node #0,0,1: 80:[14, 84] Operation: 62+22=84 Exploring Operation: 62+14=76, Resulting Numbers: [22, 76] Generated Node #0,0,2: 80:[22, 76] Operation: 62+14=76 Exploring Operation: 62-22=40, Resulting Numbers: [14, 40] Generated Node #0,0,3: 80:[14, 40] Operation: 62-22=40 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 80:[14, 40], Operations: ['99-77=22', '62-22=40'] Exploring Operation: 14*40=560, Resulting Numbers: [560] 560,80 unequal: No Solution Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[14, 84], Operations: ['99-77=22', '62+22=84'] Exploring Operation: 84/14=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 14*84=1176, Resulting Numbers: [1176] 1176,80 unequal: No Solution Exploring Operation: 14+84=98, Resulting Numbers: [98] 98,80 unequal: No Solution Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 80:[22, 76], Operations: ['99-77=22', '62+14=76'] Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 22*76=1672, Resulting Numbers: [1672] 1672,80 unequal: No Solution Exploring Operation: 22+76=98, Resulting Numbers: [98] 98,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[22, 48], Operations: ['99-77=22', '62-14=48'] Exploring Operation: 22*48=1056, Resulting Numbers: [1056] 1056,80 unequal: No Solution Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,80 unequal: No Solution Exploring Operation: 22+48=70, Resulting Numbers: [70] 70,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[99, 14, 15], Operations: ['77-62=15'] Exploring Operation: 99-15=84, Resulting Numbers: [14, 84] Generated Node #0,2,0: 80:[14, 84] Operation: 99-15=84 Exploring Operation: 14+15=29, Resulting Numbers: [99, 29] Generated Node #0,2,1: 80:[99, 29] Operation: 14+15=29 Exploring Operation: 99-14=85, Resulting Numbers: [15, 85] Generated Node #0,2,2: 80:[15, 85] Operation: 99-14=85 Exploring Operation: 15-14=1, Resulting Numbers: [99, 1] Generated Node #0,2,3: 80:[99, 1] Operation: 15-14=1 Moving to Node #0,2,0 Current State: 80:[14, 84], Operations: ['77-62=15', '99-15=84'] Exploring Operation: 84/14=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 14+84=98, Resulting Numbers: [98] 98,80 unequal: No Solution Exploring Operation: 14*84=1176, Resulting Numbers: [1176] 1176,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[15, 85], Operations: ['77-62=15', '99-14=85'] Exploring Operation: 15+85=100, Resulting Numbers: [100] 100,80 unequal: No Solution Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 15*85=1275, Resulting Numbers: [1275] 1275,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[99, 1], Operations: ['77-62=15', '15-14=1'] Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,80 unequal: No Solution Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,80 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,80 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[99, 29], Operations: ['77-62=15', '14+15=29'] Exploring Operation: 99-29=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 99*29=2871, Resulting Numbers: [2871] 2871,80 unequal: No Solution Exploring Operation: 99+29=128, Resulting Numbers: [128] 128,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[77, 99, 76], Operations: ['62+14=76'] Exploring Operation: 77-76=1, Resulting Numbers: [99, 1] Generated Node #0,3,0: 80:[99, 1] Operation: 77-76=1 Exploring Operation: 77+76=153, Resulting Numbers: [99, 153] Generated Node #0,3,1: 80:[99, 153] Operation: 77+76=153 Exploring Operation: 99-76=23, Resulting Numbers: [77, 23] Generated Node #0,3,2: 80:[77, 23] Operation: 99-76=23 Exploring Operation: 99-77=22, Resulting Numbers: [76, 22] Generated Node #0,3,3: 80:[76, 22] Operation: 99-77=22 Moving to Node #0,3,2 Current State: 80:[77, 23], Operations: ['62+14=76', '99-76=23'] Exploring Operation: 77*23=1771, Resulting Numbers: [1771] 1771,80 unequal: No Solution Exploring Operation: 77+23=100, Resulting Numbers: [100] 100,80 unequal: No Solution Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[76, 22], Operations: ['62+14=76', '99-77=22'] Exploring Operation: 76*22=1672, Resulting Numbers: [1672] 1672,80 unequal: No Solution Exploring Operation: 76+22=98, Resulting Numbers: [98] 98,80 unequal: No Solution Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[99, 1], Operations: ['62+14=76', '77-76=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,80 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,80 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,80 unequal: No Solution Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[99, 153], Operations: ['62+14=76', '77+76=153'] Exploring Operation: 153-99=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 99*153=15147, Resulting Numbers: [15147] 15147,80 unequal: No Solution Exploring Operation: 99+153=252, Resulting Numbers: [252] 252,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 67, 74, 25, 98 ]
39
[ "74-67=7", "98/7=14", "25+14=39" ]
Current State: 39:[67, 74, 25, 98], Operations: [] Exploring Operation: 74-67=7, Resulting Numbers: [25, 98, 7] Generated Node #2: [25, 98, 7] from Operation: 74-67=7 Current State: 39:[25, 98, 7], Operations: ['74-67=7'] Exploring Operation: 98/7=14, Resulting Numbers: [25, 14] Generated Node #3: [25, 14] from Operation: 98/7=14 Current State: 39:[25, 14], Operations: ['74-67=7', '98/7=14'] Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[67, 74, 25, 98], Operations: [] Exploring Operation: 98-74=24, Resulting Numbers: [67, 25, 24] Generated Node #0,0: 39:[67, 25, 24] Operation: 98-74=24 Exploring Operation: 98-67=31, Resulting Numbers: [74, 25, 31] Generated Node #0,1: 39:[74, 25, 31] Operation: 98-67=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[67, 25, 24], Operations: ['98-74=24'] Exploring Operation: 67-25=42, Resulting Numbers: [24, 42] Generated Node #0,0,0: 39:[24, 42] Operation: 67-25=42 Exploring Operation: 67-24=43, Resulting Numbers: [25, 43] Generated Node #0,0,1: 39:[25, 43] Operation: 67-24=43 Moving to Node #0,0,0 Current State: 39:[24, 42], Operations: ['98-74=24', '67-25=42'] Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,39 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[25, 43], Operations: ['98-74=24', '67-24=43'] Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,39 unequal: No Solution Exploring Operation: 25+43=68, Resulting Numbers: [68] 68,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[74, 25, 31], Operations: ['98-67=31'] Exploring Operation: 74-31=43, Resulting Numbers: [25, 43] Generated Node #0,1,0: 39:[25, 43] Operation: 74-31=43 Exploring Operation: 74-25=49, Resulting Numbers: [31, 49] Generated Node #0,1,1: 39:[31, 49] Operation: 74-25=49 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[25, 43], Operations: ['98-67=31', '74-31=43'] Exploring Operation: 25+43=68, Resulting Numbers: [68] 68,39 unequal: No Solution Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 39:[31, 49], Operations: ['98-67=31', '74-25=49'] Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,39 unequal: No Solution Exploring Operation: 31+49=80, Resulting Numbers: [80] 80,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 34, 80, 44, 65 ]
25
[ "80-34=46", "65-44=21", "46-21=25" ]
Current State: 25:[34, 80, 44, 65], Operations: [] Exploring Operation: 80-34=46, Resulting Numbers: [44, 65, 46] Generated Node #2: [44, 65, 46] from Operation: 80-34=46 Current State: 25:[44, 65, 46], Operations: ['80-34=46'] Exploring Operation: 65-44=21, Resulting Numbers: [46, 21] Generated Node #3: [46, 21] from Operation: 65-44=21 Current State: 25:[46, 21], Operations: ['80-34=46', '65-44=21'] Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[34, 80, 44, 65], Operations: [] Exploring Operation: 80-65=15, Resulting Numbers: [34, 44, 15] Generated Node #0,0: 25:[34, 44, 15] Operation: 80-65=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[34, 44, 15], Operations: ['80-65=15'] Exploring Operation: 44-15=29, Resulting Numbers: [34, 29] Generated Node #0,0,0: 25:[34, 29] Operation: 44-15=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[34, 29], Operations: ['80-65=15', '44-15=29'] Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 14, 6, 7, 46 ]
88
[ "14-7=7", "6*7=42", "46+42=88" ]
Current State: 88:[14, 6, 7, 46], Operations: [] Exploring Operation: 14-7=7, Resulting Numbers: [6, 46, 7] Generated Node #2: [6, 46, 7] from Operation: 14-7=7 Current State: 88:[6, 46, 7], Operations: ['14-7=7'] Exploring Operation: 6*7=42, Resulting Numbers: [46, 42] Generated Node #3: [46, 42] from Operation: 6*7=42 Current State: 88:[46, 42], Operations: ['14-7=7', '6*7=42'] Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[14, 6, 7, 46], Operations: [] Exploring Operation: 14-6=8, Resulting Numbers: [7, 46, 8] Generated Node #0,0: 88:[7, 46, 8] Operation: 14-6=8 Exploring Operation: 14/7=2, Resulting Numbers: [6, 46, 2] Generated Node #0,1: 88:[6, 46, 2] Operation: 14/7=2 Exploring Operation: 14+6=20, Resulting Numbers: [7, 46, 20] Generated Node #0,2: 88:[7, 46, 20] Operation: 14+6=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[7, 46, 8], Operations: ['14-6=8'] Exploring Operation: 8-7=1, Resulting Numbers: [46, 1] Generated Node #0,0,0: 88:[46, 1] Operation: 8-7=1 Exploring Operation: 7+8=15, Resulting Numbers: [46, 15] Generated Node #0,0,1: 88:[46, 15] Operation: 7+8=15 Exploring Operation: 46-7=39, Resulting Numbers: [8, 39] Generated Node #0,0,2: 88:[8, 39] Operation: 46-7=39 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[46, 1], Operations: ['14-6=8', '8-7=1'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[8, 39], Operations: ['14-6=8', '46-7=39'] Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,88 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[46, 15], Operations: ['14-6=8', '7+8=15'] Exploring Operation: 46+15=61, Resulting Numbers: [61] 61,88 unequal: No Solution Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 46*15=690, Resulting Numbers: [690] 690,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[6, 46, 2], Operations: ['14/7=2'] Exploring Operation: 6+2=8, Resulting Numbers: [46, 8] Generated Node #0,1,0: 88:[46, 8] Operation: 6+2=8 Exploring Operation: 6-2=4, Resulting Numbers: [46, 4] Generated Node #0,1,1: 88:[46, 4] Operation: 6-2=4 Exploring Operation: 46-2=44, Resulting Numbers: [6, 44] Generated Node #0,1,2: 88:[6, 44] Operation: 46-2=44 Moving to Node #0,1,0 Current State: 88:[46, 8], Operations: ['14/7=2', '6+2=8'] Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,88 unequal: No Solution Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,88 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[46, 4], Operations: ['14/7=2', '6-2=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,88 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,88 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[6, 44], Operations: ['14/7=2', '46-2=44'] Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,88 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[7, 46, 20], Operations: ['14+6=20'] Exploring Operation: 46-20=26, Resulting Numbers: [7, 26] Generated Node #0,2,0: 88:[7, 26] Operation: 46-20=26 Exploring Operation: 46-7=39, Resulting Numbers: [20, 39] Generated Node #0,2,1: 88:[20, 39] Operation: 46-7=39 Exploring Operation: 20-7=13, Resulting Numbers: [46, 13] Generated Node #0,2,2: 88:[46, 13] Operation: 20-7=13 Moving to Node #0,2,2 Current State: 88:[46, 13], Operations: ['14+6=20', '20-7=13'] Exploring Operation: 46*13=598, Resulting Numbers: [598] 598,88 unequal: No Solution Exploring Operation: 46+13=59, Resulting Numbers: [59] 59,88 unequal: No Solution Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[7, 26], Operations: ['14+6=20', '46-20=26'] Exploring Operation: 7*26=182, Resulting Numbers: [182] 182,88 unequal: No Solution Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,88 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[20, 39], Operations: ['14+6=20', '46-7=39'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 20*39=780, Resulting Numbers: [780] 780,88 unequal: No Solution Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 26, 19, 48, 3 ]
99
[ "26+19=45", "48*3=144", "144-45=99" ]
Current State: 99:[26, 19, 48, 3], Operations: [] Exploring Operation: 26+19=45, Resulting Numbers: [48, 3, 45] Generated Node #2: [48, 3, 45] from Operation: 26+19=45 Current State: 99:[48, 3, 45], Operations: ['26+19=45'] Exploring Operation: 48*3=144, Resulting Numbers: [45, 144] Generated Node #3: [45, 144] from Operation: 48*3=144 Current State: 99:[45, 144], Operations: ['26+19=45', '48*3=144'] Exploring Operation: 144-45=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[26, 19, 48, 3], Operations: [] Exploring Operation: 48-19=29, Resulting Numbers: [26, 3, 29] Generated Node #0,0: 99:[26, 3, 29] Operation: 48-19=29 Exploring Operation: 48-26=22, Resulting Numbers: [19, 3, 22] Generated Node #0,1: 99:[19, 3, 22] Operation: 48-26=22 Exploring Operation: 48/3=16, Resulting Numbers: [26, 19, 16] Generated Node #0,2: 99:[26, 19, 16] Operation: 48/3=16 Exploring Operation: 26-19=7, Resulting Numbers: [48, 3, 7] Generated Node #0,3: 99:[48, 3, 7] Operation: 26-19=7 Moving to Node #0,0 Current State: 99:[26, 3, 29], Operations: ['48-19=29'] Exploring Operation: 26-3=23, Resulting Numbers: [29, 23] Generated Node #0,0,0: 99:[29, 23] Operation: 26-3=23 Exploring Operation: 3+29=32, Resulting Numbers: [26, 32] Generated Node #0,0,1: 99:[26, 32] Operation: 3+29=32 Exploring Operation: 26+3=29, Resulting Numbers: [29, 29] Generated Node #0,0,2: 99:[29, 29] Operation: 26+3=29 Exploring Operation: 29-26=3, Resulting Numbers: [3, 3] Generated Node #0,0,3: 99:[3, 3] Operation: 29-26=3 Moving to Node #0,3 Current State: 99:[48, 3, 7], Operations: ['26-19=7'] Exploring Operation: 48/3=16, Resulting Numbers: [7, 16] Generated Node #0,3,0: 99:[7, 16] Operation: 48/3=16 Exploring Operation: 48-3=45, Resulting Numbers: [7, 45] Generated Node #0,3,1: 99:[7, 45] Operation: 48-3=45 Exploring Operation: 3+7=10, Resulting Numbers: [48, 10] Generated Node #0,3,2: 99:[48, 10] Operation: 3+7=10 Exploring Operation: 48-7=41, Resulting Numbers: [3, 41] Generated Node #0,3,3: 99:[3, 41] Operation: 48-7=41 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 99:[7, 16], Operations: ['26-19=7', '48/3=16'] Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,99 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,99 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 99:[3, 41], Operations: ['26-19=7', '48-7=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,99 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 99:[7, 45], Operations: ['26-19=7', '48-3=45'] Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,99 unequal: No Solution Exploring Operation: 7+45=52, Resulting Numbers: [52] 52,99 unequal: No Solution Exploring Operation: 7*45=315, Resulting Numbers: [315] 315,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 99:[48, 10], Operations: ['26-19=7', '3+7=10'] Exploring Operation: 48*10=480, Resulting Numbers: [480] 480,99 unequal: No Solution Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,99 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 99:[19, 3, 22], Operations: ['48-26=22'] Exploring Operation: 22-19=3, Resulting Numbers: [3, 3] Generated Node #0,1,0: 99:[3, 3] Operation: 22-19=3 Exploring Operation: 3+22=25, Resulting Numbers: [19, 25] Generated Node #0,1,1: 99:[19, 25] Operation: 3+22=25 Exploring Operation: 19+22=41, Resulting Numbers: [3, 41] Generated Node #0,1,2: 99:[3, 41] Operation: 19+22=41 Exploring Operation: 19-3=16, Resulting Numbers: [22, 16] Generated Node #0,1,3: 99:[22, 16] Operation: 19-3=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 99:[3, 3], Operations: ['48-26=22', '22-19=3'] Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 99:[3, 41], Operations: ['48-26=22', '19+22=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,99 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,99 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 99:[19, 25], Operations: ['48-26=22', '3+22=25'] Exploring Operation: 19*25=475, Resulting Numbers: [475] 475,99 unequal: No Solution Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 99:[22, 16], Operations: ['48-26=22', '19-3=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,99 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,99 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 99:[26, 19, 16], Operations: ['48/3=16'] Exploring Operation: 19-16=3, Resulting Numbers: [26, 3] Generated Node #0,2,0: 99:[26, 3] Operation: 19-16=3 Exploring Operation: 19+16=35, Resulting Numbers: [26, 35] Generated Node #0,2,1: 99:[26, 35] Operation: 19+16=35 Exploring Operation: 26-19=7, Resulting Numbers: [16, 7] Generated Node #0,2,2: 99:[16, 7] Operation: 26-19=7 Exploring Operation: 26-16=10, Resulting Numbers: [19, 10] Generated Node #0,2,3: 99:[19, 10] Operation: 26-16=10 Moving to Node #0,0,3 Current State: 99:[3, 3], Operations: ['48-19=29', '29-26=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[16, 7], Operations: ['48/3=16', '26-19=7'] Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,99 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[26, 3], Operations: ['48/3=16', '19-16=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,99 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[29, 29], Operations: ['48-19=29', '26+3=29'] Exploring Operation: 29+29=58, Resulting Numbers: [58] 58,99 unequal: No Solution Exploring Operation: 29/29=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 29*29=841, Resulting Numbers: [841] 841,99 unequal: No Solution Exploring Operation: 29-29=0, Resulting Numbers: [0] 0,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[26, 32], Operations: ['48-19=29', '3+29=32'] Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,99 unequal: No Solution Exploring Operation: 26*32=832, Resulting Numbers: [832] 832,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[19, 10], Operations: ['48/3=16', '26-16=10'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,99 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[26, 35], Operations: ['48/3=16', '19+16=35'] Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,99 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 26*35=910, Resulting Numbers: [910] 910,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[29, 23], Operations: ['48-19=29', '26-3=23'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,99 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,99 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 16, 30, 42, 86 ]
90
[ "16+30=46", "86-42=44", "46+44=90" ]
Current State: 90:[16, 30, 42, 86], Operations: [] Exploring Operation: 16+30=46, Resulting Numbers: [42, 86, 46] Generated Node #2: [42, 86, 46] from Operation: 16+30=46 Current State: 90:[42, 86, 46], Operations: ['16+30=46'] Exploring Operation: 86-42=44, Resulting Numbers: [46, 44] Generated Node #3: [46, 44] from Operation: 86-42=44 Current State: 90:[46, 44], Operations: ['16+30=46', '86-42=44'] Exploring Operation: 46+44=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[16, 30, 42, 86], Operations: [] Exploring Operation: 86-42=44, Resulting Numbers: [16, 30, 44] Generated Node #0,0: 90:[16, 30, 44] Operation: 86-42=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[16, 30, 44], Operations: ['86-42=44'] Exploring Operation: 16+30=46, Resulting Numbers: [44, 46] Generated Node #0,0,0: 90:[44, 46] Operation: 16+30=46 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[44, 46], Operations: ['86-42=44', '16+30=46'] Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[16, 30, 42, 86], Operations: [] Exploring Operation: 86-42=44, Resulting Numbers: [16, 30, 44] Generated Node #0,0: 90:[16, 30, 44] Operation: 86-42=44 Moving to Node #0,0 Current State: 90:[16, 30, 44], Operations: ['86-42=44'] Exploring Operation: 16+30=46, Resulting Numbers: [44, 46] Generated Node #0,0,0: 90:[44, 46] Operation: 16+30=46 Moving to Node #0,0,0 Current State: 90:[44, 46], Operations: ['86-42=44', '16+30=46'] Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 28, 45, 33, 33 ]
72
[ "28+45=73", "33/33=1", "73-1=72" ]
Current State: 72:[28, 45, 33, 33], Operations: [] Exploring Operation: 28+45=73, Resulting Numbers: [33, 33, 73] Generated Node #2: [33, 33, 73] from Operation: 28+45=73 Current State: 72:[33, 33, 73], Operations: ['28+45=73'] Exploring Operation: 33/33=1, Resulting Numbers: [73, 1] Generated Node #3: [73, 1] from Operation: 33/33=1 Current State: 72:[73, 1], Operations: ['28+45=73', '33/33=1'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[28, 45, 33, 33], Operations: [] Exploring Operation: 45-28=17, Resulting Numbers: [33, 33, 17] Generated Node #0,0: 72:[33, 33, 17] Operation: 45-28=17 Exploring Operation: 28+45=73, Resulting Numbers: [33, 33, 73] Generated Node #0,1: 72:[33, 33, 73] Operation: 28+45=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[33, 33, 17], Operations: ['45-28=17'] Exploring Operation: 33-33=0, Resulting Numbers: [17, 0] Generated Node #0,0,0: 72:[17, 0] Operation: 33-33=0 Exploring Operation: 33/33=1, Resulting Numbers: [17, 1] Generated Node #0,0,1: 72:[17, 1] Operation: 33/33=1 Moving to Node #0,0,1 Current State: 72:[17, 1], Operations: ['45-28=17', '33/33=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[17, 0], Operations: ['45-28=17', '33-33=0'] Exploring Operation: 17+0=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 17-0=17, Resulting Numbers: [17] 17,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[33, 33, 73], Operations: ['28+45=73'] Exploring Operation: 33-33=0, Resulting Numbers: [73, 0] Generated Node #0,1,0: 72:[73, 0] Operation: 33-33=0 Exploring Operation: 33/33=1, Resulting Numbers: [73, 1] Generated Node #0,1,1: 72:[73, 1] Operation: 33/33=1 Moving to Node #0,1,1 Current State: 72:[73, 1], Operations: ['28+45=73', '33/33=1'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[28, 45, 33, 33], Operations: [] Exploring Operation: 28+45=73, Resulting Numbers: [33, 33, 73] Generated Node #0,1: 72:[33, 33, 73] Operation: 28+45=73 Moving to Node #0,1 Current State: 72:[33, 33, 73], Operations: ['28+45=73'] Exploring Operation: 33/33=1, Resulting Numbers: [73, 1] Generated Node #0,1,1: 72:[73, 1] Operation: 33/33=1 Moving to Node #0,1,1 Current State: 72:[73, 1], Operations: ['28+45=73', '33/33=1'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 73, 26, 19, 24 ]
52
[ "73-26=47", "24-19=5", "47+5=52" ]
Current State: 52:[73, 26, 19, 24], Operations: [] Exploring Operation: 73-26=47, Resulting Numbers: [19, 24, 47] Generated Node #2: [19, 24, 47] from Operation: 73-26=47 Current State: 52:[19, 24, 47], Operations: ['73-26=47'] Exploring Operation: 24-19=5, Resulting Numbers: [47, 5] Generated Node #3: [47, 5] from Operation: 24-19=5 Current State: 52:[47, 5], Operations: ['73-26=47', '24-19=5'] Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[73, 26, 19, 24], Operations: [] Exploring Operation: 73-19=54, Resulting Numbers: [26, 24, 54] Generated Node #0,0: 52:[26, 24, 54] Operation: 73-19=54 Exploring Operation: 73-26=47, Resulting Numbers: [19, 24, 47] Generated Node #0,1: 52:[19, 24, 47] Operation: 73-26=47 Exploring Operation: 24-19=5, Resulting Numbers: [73, 26, 5] Generated Node #0,2: 52:[73, 26, 5] Operation: 24-19=5 Exploring Operation: 73-24=49, Resulting Numbers: [26, 19, 49] Generated Node #0,3: 52:[26, 19, 49] Operation: 73-24=49 Moving to Node #0,0 Current State: 52:[26, 24, 54], Operations: ['73-19=54'] Exploring Operation: 26-24=2, Resulting Numbers: [54, 2] Generated Node #0,0,0: 52:[54, 2] Operation: 26-24=2 Exploring Operation: 54-24=30, Resulting Numbers: [26, 30] Generated Node #0,0,1: 52:[26, 30] Operation: 54-24=30 Exploring Operation: 26+24=50, Resulting Numbers: [54, 50] Generated Node #0,0,2: 52:[54, 50] Operation: 26+24=50 Exploring Operation: 54-26=28, Resulting Numbers: [24, 28] Generated Node #0,0,3: 52:[24, 28] Operation: 54-26=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[54, 2], Operations: ['73-19=54', '26-24=2'] Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,52 unequal: No Solution Exploring Operation: 54*2=108, Resulting Numbers: [108] 108,52 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[73, 26, 19, 24], Operations: [] Exploring Operation: 73-19=54, Resulting Numbers: [26, 24, 54] Generated Node #0,0: 52:[26, 24, 54] Operation: 73-19=54 Moving to Node #0,0 Current State: 52:[26, 24, 54], Operations: ['73-19=54'] Exploring Operation: 26-24=2, Resulting Numbers: [54, 2] Generated Node #0,0,0: 52:[54, 2] Operation: 26-24=2 Moving to Node #0,0,0 Current State: 52:[54, 2], Operations: ['73-19=54', '26-24=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 1, 70, 12, 41 ]
98
[ "70-1=69", "41-12=29", "69+29=98" ]
Current State: 98:[1, 70, 12, 41], Operations: [] Exploring Operation: 70-1=69, Resulting Numbers: [12, 41, 69] Generated Node #2: [12, 41, 69] from Operation: 70-1=69 Current State: 98:[12, 41, 69], Operations: ['70-1=69'] Exploring Operation: 41-12=29, Resulting Numbers: [69, 29] Generated Node #3: [69, 29] from Operation: 41-12=29 Current State: 98:[69, 29], Operations: ['70-1=69', '41-12=29'] Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[1, 70, 12, 41], Operations: [] Exploring Operation: 70+41=111, Resulting Numbers: [1, 12, 111] Generated Node #0,0: 98:[1, 12, 111] Operation: 70+41=111 Exploring Operation: 70-12=58, Resulting Numbers: [1, 41, 58] Generated Node #0,1: 98:[1, 41, 58] Operation: 70-12=58 Moving to Node #0,0 Current State: 98:[1, 12, 111], Operations: ['70+41=111'] Exploring Operation: 111-12=99, Resulting Numbers: [1, 99] Generated Node #0,0,0: 98:[1, 99] Operation: 111-12=99 Exploring Operation: 1+12=13, Resulting Numbers: [111, 13] Generated Node #0,0,1: 98:[111, 13] Operation: 1+12=13 Moving to Node #0,1 Current State: 98:[1, 41, 58], Operations: ['70-12=58'] Exploring Operation: 58-41=17, Resulting Numbers: [1, 17] Generated Node #0,1,0: 98:[1, 17] Operation: 58-41=17 Exploring Operation: 41+58=99, Resulting Numbers: [1, 99] Generated Node #0,1,1: 98:[1, 99] Operation: 41+58=99 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[1, 99], Operations: ['70-12=58', '41+58=99'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[1, 70, 12, 41], Operations: [] Exploring Operation: 70-12=58, Resulting Numbers: [1, 41, 58] Generated Node #0,1: 98:[1, 41, 58] Operation: 70-12=58 Moving to Node #0,1 Current State: 98:[1, 41, 58], Operations: ['70-12=58'] Exploring Operation: 41+58=99, Resulting Numbers: [1, 99] Generated Node #0,1,1: 98:[1, 99] Operation: 41+58=99 Moving to Node #0,1,1 Current State: 98:[1, 99], Operations: ['70-12=58', '41+58=99'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 87, 58, 15, 38 ]
28
[ "58*15=870", "870/87=10", "38-10=28" ]
Current State: 28:[87, 58, 15, 38], Operations: [] Exploring Operation: 58*15=870, Resulting Numbers: [87, 38, 870] Generated Node #2: [87, 38, 870] from Operation: 58*15=870 Current State: 28:[87, 38, 870], Operations: ['58*15=870'] Exploring Operation: 870/87=10, Resulting Numbers: [38, 10] Generated Node #3: [38, 10] from Operation: 870/87=10 Current State: 28:[38, 10], Operations: ['58*15=870', '870/87=10'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[87, 58, 15, 38], Operations: [] Exploring Operation: 87-58=29, Resulting Numbers: [15, 38, 29] Generated Node #0,0: 28:[15, 38, 29] Operation: 87-58=29 Exploring Operation: 58-38=20, Resulting Numbers: [87, 15, 20] Generated Node #0,1: 28:[87, 15, 20] Operation: 58-38=20 Exploring Operation: 87-38=49, Resulting Numbers: [58, 15, 49] Generated Node #0,2: 28:[58, 15, 49] Operation: 87-38=49 Moving to Node #0,0 Current State: 28:[15, 38, 29], Operations: ['87-58=29'] Exploring Operation: 38-29=9, Resulting Numbers: [15, 9] Generated Node #0,0,0: 28:[15, 9] Operation: 38-29=9 Exploring Operation: 29-15=14, Resulting Numbers: [38, 14] Generated Node #0,0,1: 28:[38, 14] Operation: 29-15=14 Exploring Operation: 38-15=23, Resulting Numbers: [29, 23] Generated Node #0,0,2: 28:[29, 23] Operation: 38-15=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[15, 9], Operations: ['87-58=29', '38-29=9'] Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 15*9=135, Resulting Numbers: [135] 135,28 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[29, 23], Operations: ['87-58=29', '38-15=23'] Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,28 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[38, 14], Operations: ['87-58=29', '29-15=14'] Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,28 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 28:[58, 15, 49], Operations: ['87-38=49'] Exploring Operation: 58-15=43, Resulting Numbers: [49, 43] Generated Node #0,2,0: 28:[49, 43] Operation: 58-15=43 Exploring Operation: 58-49=9, Resulting Numbers: [15, 9] Generated Node #0,2,1: 28:[15, 9] Operation: 58-49=9 Exploring Operation: 49-15=34, Resulting Numbers: [58, 34] Generated Node #0,2,2: 28:[58, 34] Operation: 49-15=34 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 28:[15, 9], Operations: ['87-38=49', '58-49=9'] Exploring Operation: 15*9=135, Resulting Numbers: [135] 135,28 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[49, 43], Operations: ['87-38=49', '58-15=43'] Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 49+43=92, Resulting Numbers: [92] 92,28 unequal: No Solution Exploring Operation: 49*43=2107, Resulting Numbers: [2107] 2107,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[58, 34], Operations: ['87-38=49', '49-15=34'] Exploring Operation: 58-34=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 58*34=1972, Resulting Numbers: [1972] 1972,28 unequal: No Solution Exploring Operation: 58+34=92, Resulting Numbers: [92] 92,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 28:[87, 15, 20], Operations: ['58-38=20'] Exploring Operation: 20-15=5, Resulting Numbers: [87, 5] Generated Node #0,1,0: 28:[87, 5] Operation: 20-15=5 Exploring Operation: 87-20=67, Resulting Numbers: [15, 67] Generated Node #0,1,1: 28:[15, 67] Operation: 87-20=67 Exploring Operation: 87-15=72, Resulting Numbers: [20, 72] Generated Node #0,1,2: 28:[20, 72] Operation: 87-15=72 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[15, 67], Operations: ['58-38=20', '87-20=67'] Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 15*67=1005, Resulting Numbers: [1005] 1005,28 unequal: No Solution Exploring Operation: 15+67=82, Resulting Numbers: [82] 82,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[20, 72], Operations: ['58-38=20', '87-15=72'] Exploring Operation: 20+72=92, Resulting Numbers: [92] 92,28 unequal: No Solution Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 20*72=1440, Resulting Numbers: [1440] 1440,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[87, 5], Operations: ['58-38=20', '20-15=5'] Exploring Operation: 87+5=92, Resulting Numbers: [92] 92,28 unequal: No Solution Exploring Operation: 87*5=435, Resulting Numbers: [435] 435,28 unequal: No Solution Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 54, 68, 92, 71 ]
23
[ "71-54=17", "68/17=4", "92/4=23" ]
Current State: 23:[54, 68, 92, 71], Operations: [] Exploring Operation: 71-54=17, Resulting Numbers: [68, 92, 17] Generated Node #2: [68, 92, 17] from Operation: 71-54=17 Current State: 23:[68, 92, 17], Operations: ['71-54=17'] Exploring Operation: 68/17=4, Resulting Numbers: [92, 4] Generated Node #3: [92, 4] from Operation: 68/17=4 Current State: 23:[92, 4], Operations: ['71-54=17', '68/17=4'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[54, 68, 92, 71], Operations: [] Exploring Operation: 92-71=21, Resulting Numbers: [54, 68, 21] Generated Node #0,0: 23:[54, 68, 21] Operation: 92-71=21 Exploring Operation: 92-54=38, Resulting Numbers: [68, 71, 38] Generated Node #0,1: 23:[68, 71, 38] Operation: 92-54=38 Exploring Operation: 92-68=24, Resulting Numbers: [54, 71, 24] Generated Node #0,2: 23:[54, 71, 24] Operation: 92-68=24 Moving to Node #0,0 Current State: 23:[54, 68, 21], Operations: ['92-71=21'] Exploring Operation: 54-21=33, Resulting Numbers: [68, 33] Generated Node #0,0,0: 23:[68, 33] Operation: 54-21=33 Exploring Operation: 68-21=47, Resulting Numbers: [54, 47] Generated Node #0,0,1: 23:[54, 47] Operation: 68-21=47 Exploring Operation: 68-54=14, Resulting Numbers: [21, 14] Generated Node #0,0,2: 23:[21, 14] Operation: 68-54=14 Moving to Node #0,2 Current State: 23:[54, 71, 24], Operations: ['92-68=24'] Exploring Operation: 54-24=30, Resulting Numbers: [71, 30] Generated Node #0,2,0: 23:[71, 30] Operation: 54-24=30 Exploring Operation: 71-54=17, Resulting Numbers: [24, 17] Generated Node #0,2,1: 23:[24, 17] Operation: 71-54=17 Exploring Operation: 71-24=47, Resulting Numbers: [54, 47] Generated Node #0,2,2: 23:[54, 47] Operation: 71-24=47 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 23:[24, 17], Operations: ['92-68=24', '71-54=17'] Exploring Operation: 24*17=408, Resulting Numbers: [408] 408,23 unequal: No Solution Exploring Operation: 24+17=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[71, 30], Operations: ['92-68=24', '54-24=30'] Exploring Operation: 71*30=2130, Resulting Numbers: [2130] 2130,23 unequal: No Solution Exploring Operation: 71+30=101, Resulting Numbers: [101] 101,23 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 23:[54, 47], Operations: ['92-68=24', '71-24=47'] Exploring Operation: 54+47=101, Resulting Numbers: [101] 101,23 unequal: No Solution Exploring Operation: 54*47=2538, Resulting Numbers: [2538] 2538,23 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 23:[68, 71, 38], Operations: ['92-54=38'] Exploring Operation: 71-38=33, Resulting Numbers: [68, 33] Generated Node #0,1,0: 23:[68, 33] Operation: 71-38=33 Exploring Operation: 71-68=3, Resulting Numbers: [38, 3] Generated Node #0,1,1: 23:[38, 3] Operation: 71-68=3 Exploring Operation: 68-38=30, Resulting Numbers: [71, 30] Generated Node #0,1,2: 23:[71, 30] Operation: 68-38=30 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[38, 3], Operations: ['92-54=38', '71-68=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[68, 33], Operations: ['92-54=38', '71-38=33'] Exploring Operation: 68*33=2244, Resulting Numbers: [2244] 2244,23 unequal: No Solution Exploring Operation: 68+33=101, Resulting Numbers: [101] 101,23 unequal: No Solution Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[71, 30], Operations: ['92-54=38', '68-38=30'] Exploring Operation: 71*30=2130, Resulting Numbers: [2130] 2130,23 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 71+30=101, Resulting Numbers: [101] 101,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 23:[21, 14], Operations: ['92-71=21', '68-54=14'] Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 21*14=294, Resulting Numbers: [294] 294,23 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[68, 33], Operations: ['92-71=21', '54-21=33'] Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 68+33=101, Resulting Numbers: [101] 101,23 unequal: No Solution Exploring Operation: 68*33=2244, Resulting Numbers: [2244] 2244,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[54, 47], Operations: ['92-71=21', '68-21=47'] Exploring Operation: 54*47=2538, Resulting Numbers: [2538] 2538,23 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 54+47=101, Resulting Numbers: [101] 101,23 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 43, 17, 1, 65 ]
91
[ "43-17=26", "1*65=65", "26+65=91" ]
Current State: 91:[43, 17, 1, 65], Operations: [] Exploring Operation: 43-17=26, Resulting Numbers: [1, 65, 26] Generated Node #2: [1, 65, 26] from Operation: 43-17=26 Current State: 91:[1, 65, 26], Operations: ['43-17=26'] Exploring Operation: 1*65=65, Resulting Numbers: [26, 65] Generated Node #3: [26, 65] from Operation: 1*65=65 Current State: 91:[26, 65], Operations: ['43-17=26', '1*65=65'] Exploring Operation: 26+65=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[43, 17, 1, 65], Operations: [] Exploring Operation: 65-43=22, Resulting Numbers: [17, 1, 22] Generated Node #0,0: 91:[17, 1, 22] Operation: 65-43=22 Exploring Operation: 43-17=26, Resulting Numbers: [1, 65, 26] Generated Node #0,1: 91:[1, 65, 26] Operation: 43-17=26 Exploring Operation: 43+65=108, Resulting Numbers: [17, 1, 108] Generated Node #0,2: 91:[17, 1, 108] Operation: 43+65=108 Exploring Operation: 17+65=82, Resulting Numbers: [43, 1, 82] Generated Node #0,3: 91:[43, 1, 82] Operation: 17+65=82 Exploring Operation: 43-1=42, Resulting Numbers: [17, 65, 42] Generated Node #0,4: 91:[17, 65, 42] Operation: 43-1=42 Moving to Node #0,0 Current State: 91:[17, 1, 22], Operations: ['65-43=22'] Exploring Operation: 22-17=5, Resulting Numbers: [1, 5] Generated Node #0,0,0: 91:[1, 5] Operation: 22-17=5 Exploring Operation: 17*1=17, Resulting Numbers: [22, 17] Generated Node #0,0,1: 91:[22, 17] Operation: 17*1=17 Exploring Operation: 17/1=17, Resulting Numbers: [22, 17] Generated Node #0,0,2: 91:[22, 17] Operation: 17/1=17 Exploring Operation: 22-1=21, Resulting Numbers: [17, 21] Generated Node #0,0,3: 91:[17, 21] Operation: 22-1=21 Exploring Operation: 17-1=16, Resulting Numbers: [22, 16] Generated Node #0,0,4: 91:[22, 16] Operation: 17-1=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[1, 5], Operations: ['65-43=22', '22-17=5'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 91:[17, 21], Operations: ['65-43=22', '22-1=21'] Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 91:[22, 16], Operations: ['65-43=22', '17-1=16'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[22, 17], Operations: ['65-43=22', '17*1=17'] Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,91 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[22, 17], Operations: ['65-43=22', '17/1=17'] Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,91 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 91:[17, 1, 108], Operations: ['43+65=108'] Exploring Operation: 17*1=17, Resulting Numbers: [108, 17] Generated Node #0,2,0: 91:[108, 17] Operation: 17*1=17 Exploring Operation: 108-17=91, Resulting Numbers: [1, 91] Generated Node #0,2,1: 91:[1, 91] Operation: 108-17=91 Exploring Operation: 108-1=107, Resulting Numbers: [17, 107] Generated Node #0,2,2: 91:[17, 107] Operation: 108-1=107 Exploring Operation: 17/1=17, Resulting Numbers: [108, 17] Generated Node #0,2,3: 91:[108, 17] Operation: 17/1=17 Exploring Operation: 17-1=16, Resulting Numbers: [108, 16] Generated Node #0,2,4: 91:[108, 16] Operation: 17-1=16 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[1, 91], Operations: ['43+65=108', '108-17=91'] Exploring Operation: 1*91=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[43, 17, 1, 65], Operations: [] Exploring Operation: 43+65=108, Resulting Numbers: [17, 1, 108] Generated Node #0,2: 91:[17, 1, 108] Operation: 43+65=108 Moving to Node #0,2 Current State: 91:[17, 1, 108], Operations: ['43+65=108'] Exploring Operation: 108-17=91, Resulting Numbers: [1, 91] Generated Node #0,2,1: 91:[1, 91] Operation: 108-17=91 Moving to Node #0,2,1 Current State: 91:[1, 91], Operations: ['43+65=108', '108-17=91'] Exploring Operation: 1*91=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 11, 50, 4, 16 ]
94
[ "11*16=176", "176/4=44", "50+44=94" ]
Current State: 94:[11, 50, 4, 16], Operations: [] Exploring Operation: 11*16=176, Resulting Numbers: [50, 4, 176] Generated Node #2: [50, 4, 176] from Operation: 11*16=176 Current State: 94:[50, 4, 176], Operations: ['11*16=176'] Exploring Operation: 176/4=44, Resulting Numbers: [50, 44] Generated Node #3: [50, 44] from Operation: 176/4=44 Current State: 94:[50, 44], Operations: ['11*16=176', '176/4=44'] Exploring Operation: 50+44=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[11, 50, 4, 16], Operations: [] Exploring Operation: 16-11=5, Resulting Numbers: [50, 4, 5] Generated Node #0,0: 94:[50, 4, 5] Operation: 16-11=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[50, 4, 5], Operations: ['16-11=5'] Exploring Operation: 50-4=46, Resulting Numbers: [5, 46] Generated Node #0,0,0: 94:[5, 46] Operation: 50-4=46 Moving to Node #0,0,0 Current State: 94:[5, 46], Operations: ['16-11=5', '50-4=46'] Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 20, 13, 37, 15 ]
55
[ "20+13=33", "37-15=22", "33+22=55" ]
Current State: 55:[20, 13, 37, 15], Operations: [] Exploring Operation: 20+13=33, Resulting Numbers: [37, 15, 33] Generated Node #2: [37, 15, 33] from Operation: 20+13=33 Current State: 55:[37, 15, 33], Operations: ['20+13=33'] Exploring Operation: 37-15=22, Resulting Numbers: [33, 22] Generated Node #3: [33, 22] from Operation: 37-15=22 Current State: 55:[33, 22], Operations: ['20+13=33', '37-15=22'] Exploring Operation: 33+22=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[20, 13, 37, 15], Operations: [] Exploring Operation: 13+37=50, Resulting Numbers: [20, 15, 50] Generated Node #0,0: 55:[20, 15, 50] Operation: 13+37=50 Exploring Operation: 37-20=17, Resulting Numbers: [13, 15, 17] Generated Node #0,1: 55:[13, 15, 17] Operation: 37-20=17 Exploring Operation: 20-15=5, Resulting Numbers: [13, 37, 5] Generated Node #0,2: 55:[13, 37, 5] Operation: 20-15=5 Exploring Operation: 20+37=57, Resulting Numbers: [13, 15, 57] Generated Node #0,3: 55:[13, 15, 57] Operation: 20+37=57 Exploring Operation: 37+15=52, Resulting Numbers: [20, 13, 52] Generated Node #0,4: 55:[20, 13, 52] Operation: 37+15=52 Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[13, 15, 57], Operations: ['20+37=57'] Exploring Operation: 13+57=70, Resulting Numbers: [15, 70] Generated Node #0,3,0: 55:[15, 70] Operation: 13+57=70 Exploring Operation: 15-13=2, Resulting Numbers: [57, 2] Generated Node #0,3,1: 55:[57, 2] Operation: 15-13=2 Exploring Operation: 57-13=44, Resulting Numbers: [15, 44] Generated Node #0,3,2: 55:[15, 44] Operation: 57-13=44 Exploring Operation: 13+15=28, Resulting Numbers: [57, 28] Generated Node #0,3,3: 55:[57, 28] Operation: 13+15=28 Exploring Operation: 57-15=42, Resulting Numbers: [13, 42] Generated Node #0,3,4: 55:[13, 42] Operation: 57-15=42 Moving to Node #0,3,1 Current State: 55:[57, 2], Operations: ['20+37=57', '15-13=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,55 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[20, 13, 37, 15], Operations: [] Exploring Operation: 20+37=57, Resulting Numbers: [13, 15, 57] Generated Node #0,3: 55:[13, 15, 57] Operation: 20+37=57 Moving to Node #0,3 Current State: 55:[13, 15, 57], Operations: ['20+37=57'] Exploring Operation: 15-13=2, Resulting Numbers: [57, 2] Generated Node #0,3,1: 55:[57, 2] Operation: 15-13=2 Moving to Node #0,3,1 Current State: 55:[57, 2], Operations: ['20+37=57', '15-13=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 9, 52, 54, 19 ]
37
[ "54-52=2", "9*2=18", "19+18=37" ]
Current State: 37:[9, 52, 54, 19], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [9, 19, 2] Generated Node #2: [9, 19, 2] from Operation: 54-52=2 Current State: 37:[9, 19, 2], Operations: ['54-52=2'] Exploring Operation: 9*2=18, Resulting Numbers: [19, 18] Generated Node #3: [19, 18] from Operation: 9*2=18 Current State: 37:[19, 18], Operations: ['54-52=2', '9*2=18'] Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[9, 52, 54, 19], Operations: [] Exploring Operation: 52-9=43, Resulting Numbers: [54, 19, 43] Generated Node #0,0: 37:[54, 19, 43] Operation: 52-9=43 Exploring Operation: 54-9=45, Resulting Numbers: [52, 19, 45] Generated Node #0,1: 37:[52, 19, 45] Operation: 54-9=45 Moving to Node #0,0 Current State: 37:[54, 19, 43], Operations: ['52-9=43'] Exploring Operation: 43-19=24, Resulting Numbers: [54, 24] Generated Node #0,0,0: 37:[54, 24] Operation: 43-19=24 Exploring Operation: 54-19=35, Resulting Numbers: [43, 35] Generated Node #0,0,1: 37:[43, 35] Operation: 54-19=35 Moving to Node #0,1 Current State: 37:[52, 19, 45], Operations: ['54-9=45'] Exploring Operation: 45-19=26, Resulting Numbers: [52, 26] Generated Node #0,1,0: 37:[52, 26] Operation: 45-19=26 Exploring Operation: 52-19=33, Resulting Numbers: [45, 33] Generated Node #0,1,1: 37:[45, 33] Operation: 52-19=33 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[45, 33], Operations: ['54-9=45', '52-19=33'] Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,37 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[52, 26], Operations: ['54-9=45', '45-19=26'] Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 37:[43, 35], Operations: ['52-9=43', '54-19=35'] Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,37 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[54, 24], Operations: ['52-9=43', '43-19=24'] Exploring Operation: 54+24=78, Resulting Numbers: [78] 78,37 unequal: No Solution Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,37 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 46, 27, 41, 66 ]
88
[ "46-27=19", "41+66=107", "107-19=88" ]
Current State: 88:[46, 27, 41, 66], Operations: [] Exploring Operation: 46-27=19, Resulting Numbers: [41, 66, 19] Generated Node #2: [41, 66, 19] from Operation: 46-27=19 Current State: 88:[41, 66, 19], Operations: ['46-27=19'] Exploring Operation: 41+66=107, Resulting Numbers: [19, 107] Generated Node #3: [19, 107] from Operation: 41+66=107 Current State: 88:[19, 107], Operations: ['46-27=19', '41+66=107'] Exploring Operation: 107-19=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[46, 27, 41, 66], Operations: [] Exploring Operation: 66-46=20, Resulting Numbers: [27, 41, 20] Generated Node #0,0: 88:[27, 41, 20] Operation: 66-46=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[27, 41, 20], Operations: ['66-46=20'] Exploring Operation: 27-20=7, Resulting Numbers: [41, 7] Generated Node #0,0,0: 88:[41, 7] Operation: 27-20=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[41, 7], Operations: ['66-46=20', '27-20=7'] Exploring Operation: 41+7=48, Resulting Numbers: [48] 48,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 69, 11, 9, 36 ]
66
[ "69-36=33", "11*9=99", "99-33=66" ]
Current State: 66:[69, 11, 9, 36], Operations: [] Exploring Operation: 69-36=33, Resulting Numbers: [11, 9, 33] Generated Node #2: [11, 9, 33] from Operation: 69-36=33 Current State: 66:[11, 9, 33], Operations: ['69-36=33'] Exploring Operation: 11*9=99, Resulting Numbers: [33, 99] Generated Node #3: [33, 99] from Operation: 11*9=99 Current State: 66:[33, 99], Operations: ['69-36=33', '11*9=99'] Exploring Operation: 99-33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[69, 11, 9, 36], Operations: [] Exploring Operation: 69-36=33, Resulting Numbers: [11, 9, 33] Generated Node #0,0: 66:[11, 9, 33] Operation: 69-36=33 Exploring Operation: 11-9=2, Resulting Numbers: [69, 36, 2] Generated Node #0,1: 66:[69, 36, 2] Operation: 11-9=2 Exploring Operation: 36/9=4, Resulting Numbers: [69, 11, 4] Generated Node #0,2: 66:[69, 11, 4] Operation: 36/9=4 Exploring Operation: 11+9=20, Resulting Numbers: [69, 36, 20] Generated Node #0,3: 66:[69, 36, 20] Operation: 11+9=20 Moving to Node #0,0 Current State: 66:[11, 9, 33], Operations: ['69-36=33'] Exploring Operation: 33/11=3, Resulting Numbers: [9, 3] Generated Node #0,0,0: 66:[9, 3] Operation: 33/11=3 Exploring Operation: 33-11=22, Resulting Numbers: [9, 22] Generated Node #0,0,1: 66:[9, 22] Operation: 33-11=22 Exploring Operation: 11+9=20, Resulting Numbers: [33, 20] Generated Node #0,0,2: 66:[33, 20] Operation: 11+9=20 Exploring Operation: 11-9=2, Resulting Numbers: [33, 2] Generated Node #0,0,3: 66:[33, 2] Operation: 11-9=2 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 66:[33, 2], Operations: ['69-36=33', '11-9=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,66 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[69, 11, 9, 36], Operations: [] Exploring Operation: 69-36=33, Resulting Numbers: [11, 9, 33] Generated Node #0,0: 66:[11, 9, 33] Operation: 69-36=33 Moving to Node #0,0 Current State: 66:[11, 9, 33], Operations: ['69-36=33'] Exploring Operation: 11-9=2, Resulting Numbers: [33, 2] Generated Node #0,0,3: 66:[33, 2] Operation: 11-9=2 Moving to Node #0,0,3 Current State: 66:[33, 2], Operations: ['69-36=33', '11-9=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 37, 72, 38, 3 ]
47
[ "37+38=75", "75/3=25", "72-25=47" ]
Current State: 47:[37, 72, 38, 3], Operations: [] Exploring Operation: 37+38=75, Resulting Numbers: [72, 3, 75] Generated Node #2: [72, 3, 75] from Operation: 37+38=75 Current State: 47:[72, 3, 75], Operations: ['37+38=75'] Exploring Operation: 75/3=25, Resulting Numbers: [72, 25] Generated Node #3: [72, 25] from Operation: 75/3=25 Current State: 47:[72, 25], Operations: ['37+38=75', '75/3=25'] Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[37, 72, 38, 3], Operations: [] Exploring Operation: 38+3=41, Resulting Numbers: [37, 72, 41] Generated Node #0,0: 47:[37, 72, 41] Operation: 38+3=41 Exploring Operation: 37+3=40, Resulting Numbers: [72, 38, 40] Generated Node #0,1: 47:[72, 38, 40] Operation: 37+3=40 Exploring Operation: 72/3=24, Resulting Numbers: [37, 38, 24] Generated Node #0,2: 47:[37, 38, 24] Operation: 72/3=24 Exploring Operation: 72-3=69, Resulting Numbers: [37, 38, 69] Generated Node #0,3: 47:[37, 38, 69] Operation: 72-3=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[37, 72, 41], Operations: ['38+3=41'] Exploring Operation: 72-37=35, Resulting Numbers: [41, 35] Generated Node #0,0,0: 47:[41, 35] Operation: 72-37=35 Exploring Operation: 37+41=78, Resulting Numbers: [72, 78] Generated Node #0,0,1: 47:[72, 78] Operation: 37+41=78 Exploring Operation: 72-41=31, Resulting Numbers: [37, 31] Generated Node #0,0,2: 47:[37, 31] Operation: 72-41=31 Exploring Operation: 37+72=109, Resulting Numbers: [41, 109] Generated Node #0,0,3: 47:[41, 109] Operation: 37+72=109 Moving to Node #0,0,0 Current State: 47:[41, 35], Operations: ['38+3=41', '72-37=35'] Exploring Operation: 41*35=1435, Resulting Numbers: [1435] 1435,47 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 41+35=76, Resulting Numbers: [76] 76,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[37, 31], Operations: ['38+3=41', '72-41=31'] Exploring Operation: 37*31=1147, Resulting Numbers: [1147] 1147,47 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[72, 78], Operations: ['38+3=41', '37+41=78'] Exploring Operation: 72+78=150, Resulting Numbers: [150] 150,47 unequal: No Solution Exploring Operation: 72*78=5616, Resulting Numbers: [5616] 5616,47 unequal: No Solution Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[41, 109], Operations: ['38+3=41', '37+72=109'] Exploring Operation: 41+109=150, Resulting Numbers: [150] 150,47 unequal: No Solution Exploring Operation: 109-41=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 41*109=4469, Resulting Numbers: [4469] 4469,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[72, 38, 40], Operations: ['37+3=40'] Exploring Operation: 38+40=78, Resulting Numbers: [72, 78] Generated Node #0,1,0: 47:[72, 78] Operation: 38+40=78 Exploring Operation: 72+38=110, Resulting Numbers: [40, 110] Generated Node #0,1,1: 47:[40, 110] Operation: 72+38=110 Exploring Operation: 72-38=34, Resulting Numbers: [40, 34] Generated Node #0,1,2: 47:[40, 34] Operation: 72-38=34 Exploring Operation: 72-40=32, Resulting Numbers: [38, 32] Generated Node #0,1,3: 47:[38, 32] Operation: 72-40=32 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[40, 34], Operations: ['37+3=40', '72-38=34'] Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 40*34=1360, Resulting Numbers: [1360] 1360,47 unequal: No Solution Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 47:[38, 32], Operations: ['37+3=40', '72-40=32'] Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 38*32=1216, Resulting Numbers: [1216] 1216,47 unequal: No Solution Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[72, 78], Operations: ['37+3=40', '38+40=78'] Exploring Operation: 72*78=5616, Resulting Numbers: [5616] 5616,47 unequal: No Solution Exploring Operation: 72+78=150, Resulting Numbers: [150] 150,47 unequal: No Solution Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[40, 110], Operations: ['37+3=40', '72+38=110'] Exploring Operation: 40*110=4400, Resulting Numbers: [4400] 4400,47 unequal: No Solution Exploring Operation: 40+110=150, Resulting Numbers: [150] 150,47 unequal: No Solution Exploring Operation: 110-40=70, Resulting Numbers: [70] 70,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[37, 38, 69], Operations: ['72-3=69'] Exploring Operation: 69-38=31, Resulting Numbers: [37, 31] Generated Node #0,3,0: 47:[37, 31] Operation: 69-38=31 Exploring Operation: 37+38=75, Resulting Numbers: [69, 75] Generated Node #0,3,1: 47:[69, 75] Operation: 37+38=75 Exploring Operation: 69-37=32, Resulting Numbers: [38, 32] Generated Node #0,3,2: 47:[38, 32] Operation: 69-37=32 Exploring Operation: 38-37=1, Resulting Numbers: [69, 1] Generated Node #0,3,3: 47:[69, 1] Operation: 38-37=1 Moving to Node #0,3,2 Current State: 47:[38, 32], Operations: ['72-3=69', '69-37=32'] Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 38*32=1216, Resulting Numbers: [1216] 1216,47 unequal: No Solution Moving to Node #0,3,0 Current State: 47:[37, 31], Operations: ['72-3=69', '69-38=31'] Exploring Operation: 37*31=1147, Resulting Numbers: [1147] 1147,47 unequal: No Solution Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[69, 75], Operations: ['72-3=69', '37+38=75'] Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,47 unequal: No Solution Exploring Operation: 69+75=144, Resulting Numbers: [144] 144,47 unequal: No Solution Exploring Operation: 69*75=5175, Resulting Numbers: [5175] 5175,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[69, 1], Operations: ['72-3=69', '38-37=1'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,47 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,47 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[37, 38, 24], Operations: ['72/3=24'] Exploring Operation: 37+24=61, Resulting Numbers: [38, 61] Generated Node #0,2,0: 47:[38, 61] Operation: 37+24=61 Exploring Operation: 37-24=13, Resulting Numbers: [38, 13] Generated Node #0,2,1: 47:[38, 13] Operation: 37-24=13 Exploring Operation: 38+24=62, Resulting Numbers: [37, 62] Generated Node #0,2,2: 47:[37, 62] Operation: 38+24=62 Exploring Operation: 38-24=14, Resulting Numbers: [37, 14] Generated Node #0,2,3: 47:[37, 14] Operation: 38-24=14 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[38, 61], Operations: ['72/3=24', '37+24=61'] Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 38*61=2318, Resulting Numbers: [2318] 2318,47 unequal: No Solution Exploring Operation: 38+61=99, Resulting Numbers: [99] 99,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[37, 62], Operations: ['72/3=24', '38+24=62'] Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,47 unequal: No Solution Exploring Operation: 37+62=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 37*62=2294, Resulting Numbers: [2294] 2294,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[38, 13], Operations: ['72/3=24', '37-24=13'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,47 unequal: No Solution Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 47:[37, 14], Operations: ['72/3=24', '38-24=14'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,47 unequal: No Solution Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 20, 23, 2, 4 ]
29
[ "20/2=10", "23-4=19", "10+19=29" ]
Current State: 29:[20, 23, 2, 4], Operations: [] Exploring Operation: 20/2=10, Resulting Numbers: [23, 4, 10] Generated Node #2: [23, 4, 10] from Operation: 20/2=10 Current State: 29:[23, 4, 10], Operations: ['20/2=10'] Exploring Operation: 23-4=19, Resulting Numbers: [10, 19] Generated Node #3: [10, 19] from Operation: 23-4=19 Current State: 29:[10, 19], Operations: ['20/2=10', '23-4=19'] Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[20, 23, 2, 4], Operations: [] Exploring Operation: 2*4=8, Resulting Numbers: [20, 23, 8] Generated Node #0,0: 29:[20, 23, 8] Operation: 2*4=8 Exploring Operation: 20+4=24, Resulting Numbers: [23, 2, 24] Generated Node #0,1: 29:[23, 2, 24] Operation: 20+4=24 Exploring Operation: 20+2=22, Resulting Numbers: [23, 4, 22] Generated Node #0,2: 29:[23, 4, 22] Operation: 20+2=22 Exploring Operation: 23+4=27, Resulting Numbers: [20, 2, 27] Generated Node #0,3: 29:[20, 2, 27] Operation: 23+4=27 Exploring Operation: 23+2=25, Resulting Numbers: [20, 4, 25] Generated Node #0,4: 29:[20, 4, 25] Operation: 23+2=25 Moving to Node #0,0 Current State: 29:[20, 23, 8], Operations: ['2*4=8'] Exploring Operation: 20+8=28, Resulting Numbers: [23, 28] Generated Node #0,0,0: 29:[23, 28] Operation: 20+8=28 Exploring Operation: 23-8=15, Resulting Numbers: [20, 15] Generated Node #0,0,1: 29:[20, 15] Operation: 23-8=15 Exploring Operation: 23+8=31, Resulting Numbers: [20, 31] Generated Node #0,0,2: 29:[20, 31] Operation: 23+8=31 Exploring Operation: 20-8=12, Resulting Numbers: [23, 12] Generated Node #0,0,3: 29:[23, 12] Operation: 20-8=12 Exploring Operation: 20+23=43, Resulting Numbers: [8, 43] Generated Node #0,0,4: 29:[8, 43] Operation: 20+23=43 Moving to Node #0,2 Current State: 29:[23, 4, 22], Operations: ['20+2=22'] Exploring Operation: 22-4=18, Resulting Numbers: [23, 18] Generated Node #0,2,0: 29:[23, 18] Operation: 22-4=18 Exploring Operation: 23+22=45, Resulting Numbers: [4, 45] Generated Node #0,2,1: 29:[4, 45] Operation: 23+22=45 Exploring Operation: 4+22=26, Resulting Numbers: [23, 26] Generated Node #0,2,2: 29:[23, 26] Operation: 4+22=26 Exploring Operation: 23+4=27, Resulting Numbers: [22, 27] Generated Node #0,2,3: 29:[22, 27] Operation: 23+4=27 Exploring Operation: 23-4=19, Resulting Numbers: [22, 19] Generated Node #0,2,4: 29:[22, 19] Operation: 23-4=19 Moving to Node #0,4 Current State: 29:[20, 4, 25], Operations: ['23+2=25'] Exploring Operation: 20/4=5, Resulting Numbers: [25, 5] Generated Node #0,4,0: 29:[25, 5] Operation: 20/4=5 Exploring Operation: 4+25=29, Resulting Numbers: [20, 29] Generated Node #0,4,1: 29:[20, 29] Operation: 4+25=29 Exploring Operation: 20+4=24, Resulting Numbers: [25, 24] Generated Node #0,4,2: 29:[25, 24] Operation: 20+4=24 Exploring Operation: 25-4=21, Resulting Numbers: [20, 21] Generated Node #0,4,3: 29:[20, 21] Operation: 25-4=21 Exploring Operation: 20-4=16, Resulting Numbers: [25, 16] Generated Node #0,4,4: 29:[25, 16] Operation: 20-4=16 Moving to Node #0,1 Current State: 29:[23, 2, 24], Operations: ['20+4=24'] Exploring Operation: 2+24=26, Resulting Numbers: [23, 26] Generated Node #0,1,0: 29:[23, 26] Operation: 2+24=26 Exploring Operation: 24-2=22, Resulting Numbers: [23, 22] Generated Node #0,1,1: 29:[23, 22] Operation: 24-2=22 Exploring Operation: 23*2=46, Resulting Numbers: [24, 46] Generated Node #0,1,2: 29:[24, 46] Operation: 23*2=46 Exploring Operation: 23+2=25, Resulting Numbers: [24, 25] Generated Node #0,1,3: 29:[24, 25] Operation: 23+2=25 Exploring Operation: 23-2=21, Resulting Numbers: [24, 21] Generated Node #0,1,4: 29:[24, 21] Operation: 23-2=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[23, 26], Operations: ['20+4=24', '2+24=26'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 29:[24, 25], Operations: ['20+4=24', '23+2=25'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,29 unequal: No Solution Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[23, 22], Operations: ['20+4=24', '24-2=22'] Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 23+22=45, Resulting Numbers: [45] 45,29 unequal: No Solution Exploring Operation: 23*22=506, Resulting Numbers: [506] 506,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 29:[24, 21], Operations: ['20+4=24', '23-2=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,29 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 29:[24, 46], Operations: ['20+4=24', '23*2=46'] Exploring Operation: 24*46=1104, Resulting Numbers: [1104] 1104,29 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 29:[20, 2, 27], Operations: ['23+4=27'] Exploring Operation: 2+27=29, Resulting Numbers: [20, 29] Generated Node #0,3,0: 29:[20, 29] Operation: 2+27=29 Exploring Operation: 20+2=22, Resulting Numbers: [27, 22] Generated Node #0,3,1: 29:[27, 22] Operation: 20+2=22 Exploring Operation: 20-2=18, Resulting Numbers: [27, 18] Generated Node #0,3,2: 29:[27, 18] Operation: 20-2=18 Exploring Operation: 20*2=40, Resulting Numbers: [27, 40] Generated Node #0,3,3: 29:[27, 40] Operation: 20*2=40 Exploring Operation: 27-2=25, Resulting Numbers: [20, 25] Generated Node #0,3,4: 29:[20, 25] Operation: 27-2=25 Moving to Node #0,0,0 Current State: 29:[23, 28], Operations: ['2*4=8', '20+8=28'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,29 unequal: No Solution Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[23, 26], Operations: ['20+2=22', '4+22=26'] Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,29 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,29 unequal: No Solution Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[22, 27], Operations: ['20+2=22', '23+4=27'] Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,29 unequal: No Solution Moving to Node #0,4,2 Current State: 29:[25, 24], Operations: ['23+2=25', '20+4=24'] Exploring Operation: 25*24=600, Resulting Numbers: [600] 600,29 unequal: No Solution Exploring Operation: 25+24=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,29 unequal: No Solution Moving to Node #0,4,1 Current State: 29:[20, 29], Operations: ['23+2=25', '4+25=29'] Exploring Operation: 20*29=580, Resulting Numbers: [580] 580,29 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,29 unequal: No Solution Moving to Node #0,3,0 Current State: 29:[20, 29], Operations: ['23+4=27', '2+27=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 20*29=580, Resulting Numbers: [580] 580,29 unequal: No Solution Moving to Node #0,3,1 Current State: 29:[27, 22], Operations: ['23+4=27', '20+2=22'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[20, 31], Operations: ['2*4=8', '23+8=31'] Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,29 unequal: No Solution Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,29 unequal: No Solution Exploring Operation: 20*31=620, Resulting Numbers: [620] 620,29 unequal: No Solution Moving to Node #0,3,3 Current State: 29:[27, 40], Operations: ['23+4=27', '20*2=40'] Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 27+40=67, Resulting Numbers: [67] 67,29 unequal: No Solution Exploring Operation: 27*40=1080, Resulting Numbers: [1080] 1080,29 unequal: No Solution Moving to Node #0,3,4 Current State: 29:[20, 25], Operations: ['23+4=27', '27-2=25'] Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,29 unequal: No Solution Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,29 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,29 unequal: No Solution Moving to Node #0,3,2 Current State: 29:[27, 18], Operations: ['23+4=27', '20-2=18'] Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,29 unequal: No Solution Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,29 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,29 unequal: No Solution Moving to Node #0,4,4 Current State: 29:[25, 16], Operations: ['23+2=25', '20-4=16'] Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,29 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,29 unequal: No Solution Moving to Node #0,2,4 Current State: 29:[22, 19], Operations: ['20+2=22', '23-4=19'] Exploring Operation: 22+19=41, Resulting Numbers: [41] 41,29 unequal: No Solution Exploring Operation: 22*19=418, Resulting Numbers: [418] 418,29 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,29 unequal: No Solution Moving to Node #0,4,3 Current State: 29:[20, 21], Operations: ['23+2=25', '25-4=21'] Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,29 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[23, 18], Operations: ['20+2=22', '22-4=18'] Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,29 unequal: No Solution Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[20, 15], Operations: ['2*4=8', '23-8=15'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 20*15=300, Resulting Numbers: [300] 300,29 unequal: No Solution Moving to Node #0,0,3 Current State: 29:[23, 12], Operations: ['2*4=8', '20-8=12'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,29 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,29 unequal: No Solution Moving to Node #0,4,0 Current State: 29:[25, 5], Operations: ['23+2=25', '20/4=5'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 25*5=125, Resulting Numbers: [125] 125,29 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,29 unequal: No Solution Moving to Node #0,0,4 Current State: 29:[8, 43], Operations: ['2*4=8', '20+23=43'] Exploring Operation: 8*43=344, Resulting Numbers: [344] 344,29 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[4, 45], Operations: ['20+2=22', '23+22=45'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,29 unequal: No Solution Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,29 unequal: No Solution Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,29 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 42, 55, 9, 83 ]
87
[ "55-42=13", "83-9=74", "13+74=87" ]
Current State: 87:[42, 55, 9, 83], Operations: [] Exploring Operation: 55-42=13, Resulting Numbers: [9, 83, 13] Generated Node #2: [9, 83, 13] from Operation: 55-42=13 Current State: 87:[9, 83, 13], Operations: ['55-42=13'] Exploring Operation: 83-9=74, Resulting Numbers: [13, 74] Generated Node #3: [13, 74] from Operation: 83-9=74 Current State: 87:[13, 74], Operations: ['55-42=13', '83-9=74'] Exploring Operation: 13+74=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[42, 55, 9, 83], Operations: [] Exploring Operation: 55-42=13, Resulting Numbers: [9, 83, 13] Generated Node #0,0: 87:[9, 83, 13] Operation: 55-42=13 Exploring Operation: 42+55=97, Resulting Numbers: [9, 83, 97] Generated Node #0,1: 87:[9, 83, 97] Operation: 42+55=97 Exploring Operation: 83-55=28, Resulting Numbers: [42, 9, 28] Generated Node #0,2: 87:[42, 9, 28] Operation: 83-55=28 Moving to Node #0,0 Current State: 87:[9, 83, 13], Operations: ['55-42=13'] Exploring Operation: 9+13=22, Resulting Numbers: [83, 22] Generated Node #0,0,0: 87:[83, 22] Operation: 9+13=22 Exploring Operation: 13-9=4, Resulting Numbers: [83, 4] Generated Node #0,0,1: 87:[83, 4] Operation: 13-9=4 Exploring Operation: 9+83=92, Resulting Numbers: [13, 92] Generated Node #0,0,2: 87:[13, 92] Operation: 9+83=92 Moving to Node #0,1 Current State: 87:[9, 83, 97], Operations: ['42+55=97'] Exploring Operation: 9+83=92, Resulting Numbers: [97, 92] Generated Node #0,1,0: 87:[97, 92] Operation: 9+83=92 Exploring Operation: 97-83=14, Resulting Numbers: [9, 14] Generated Node #0,1,1: 87:[9, 14] Operation: 97-83=14 Exploring Operation: 97-9=88, Resulting Numbers: [83, 88] Generated Node #0,1,2: 87:[83, 88] Operation: 97-9=88 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[83, 88], Operations: ['42+55=97', '97-9=88'] Exploring Operation: 83+88=171, Resulting Numbers: [171] 171,87 unequal: No Solution Exploring Operation: 83*88=7304, Resulting Numbers: [7304] 7304,87 unequal: No Solution Exploring Operation: 88-83=5, Resulting Numbers: [5] 5,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[97, 92], Operations: ['42+55=97', '9+83=92'] Exploring Operation: 97+92=189, Resulting Numbers: [189] 189,87 unequal: No Solution Exploring Operation: 97-92=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 97*92=8924, Resulting Numbers: [8924] 8924,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[9, 14], Operations: ['42+55=97', '97-83=14'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,87 unequal: No Solution Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 87:[42, 9, 28], Operations: ['83-55=28'] Exploring Operation: 9+28=37, Resulting Numbers: [42, 37] Generated Node #0,2,0: 87:[42, 37] Operation: 9+28=37 Exploring Operation: 42-9=33, Resulting Numbers: [28, 33] Generated Node #0,2,1: 87:[28, 33] Operation: 42-9=33 Exploring Operation: 42-28=14, Resulting Numbers: [9, 14] Generated Node #0,2,2: 87:[9, 14] Operation: 42-28=14 Moving to Node #0,0,1 Current State: 87:[83, 4], Operations: ['55-42=13', '13-9=4'] Exploring Operation: 83*4=332, Resulting Numbers: [332] 332,87 unequal: No Solution Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[42, 55, 9, 83], Operations: [] Exploring Operation: 55-42=13, Resulting Numbers: [9, 83, 13] Generated Node #0,0: 87:[9, 83, 13] Operation: 55-42=13 Moving to Node #0,0 Current State: 87:[9, 83, 13], Operations: ['55-42=13'] Exploring Operation: 13-9=4, Resulting Numbers: [83, 4] Generated Node #0,0,1: 87:[83, 4] Operation: 13-9=4 Moving to Node #0,0,1 Current State: 87:[83, 4], Operations: ['55-42=13', '13-9=4'] Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 28, 2, 62, 90 ]
79
[ "62-28=34", "90/2=45", "34+45=79" ]
Current State: 79:[28, 2, 62, 90], Operations: [] Exploring Operation: 62-28=34, Resulting Numbers: [2, 90, 34] Generated Node #2: [2, 90, 34] from Operation: 62-28=34 Current State: 79:[2, 90, 34], Operations: ['62-28=34'] Exploring Operation: 90/2=45, Resulting Numbers: [34, 45] Generated Node #3: [34, 45] from Operation: 90/2=45 Current State: 79:[34, 45], Operations: ['62-28=34', '90/2=45'] Exploring Operation: 34+45=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[28, 2, 62, 90], Operations: [] Exploring Operation: 28*2=56, Resulting Numbers: [62, 90, 56] Generated Node #0,0: 79:[62, 90, 56] Operation: 28*2=56 Moving to Node #0,0 Current State: 79:[62, 90, 56], Operations: ['28*2=56'] Exploring Operation: 62+56=118, Resulting Numbers: [90, 118] Generated Node #0,0,0: 79:[90, 118] Operation: 62+56=118 Moving to Node #0,0,0 Current State: 79:[90, 118], Operations: ['28*2=56', '62+56=118'] Exploring Operation: 118-90=28, Resulting Numbers: [28] 28,79 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 56, 50, 48, 14 ]
68
[ "56-50=6", "48+14=62", "6+62=68" ]
Current State: 68:[56, 50, 48, 14], Operations: [] Exploring Operation: 56-50=6, Resulting Numbers: [48, 14, 6] Generated Node #2: [48, 14, 6] from Operation: 56-50=6 Current State: 68:[48, 14, 6], Operations: ['56-50=6'] Exploring Operation: 48+14=62, Resulting Numbers: [6, 62] Generated Node #3: [6, 62] from Operation: 48+14=62 Current State: 68:[6, 62], Operations: ['56-50=6', '48+14=62'] Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[56, 50, 48, 14], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [56, 14, 2] Generated Node #0,0: 68:[56, 14, 2] Operation: 50-48=2 Exploring Operation: 56-50=6, Resulting Numbers: [48, 14, 6] Generated Node #0,1: 68:[48, 14, 6] Operation: 56-50=6 Exploring Operation: 48-14=34, Resulting Numbers: [56, 50, 34] Generated Node #0,2: 68:[56, 50, 34] Operation: 48-14=34 Exploring Operation: 56-48=8, Resulting Numbers: [50, 14, 8] Generated Node #0,3: 68:[50, 14, 8] Operation: 56-48=8 Exploring Operation: 50-14=36, Resulting Numbers: [56, 48, 36] Generated Node #0,4: 68:[56, 48, 36] Operation: 50-14=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[56, 14, 2], Operations: ['50-48=2'] Exploring Operation: 56/2=28, Resulting Numbers: [14, 28] Generated Node #0,0,0: 68:[14, 28] Operation: 56/2=28 Exploring Operation: 56+2=58, Resulting Numbers: [14, 58] Generated Node #0,0,1: 68:[14, 58] Operation: 56+2=58 Exploring Operation: 56+14=70, Resulting Numbers: [2, 70] Generated Node #0,0,2: 68:[2, 70] Operation: 56+14=70 Exploring Operation: 56/14=4, Resulting Numbers: [2, 4] Generated Node #0,0,3: 68:[2, 4] Operation: 56/14=4 Exploring Operation: 56-14=42, Resulting Numbers: [2, 42] Generated Node #0,0,4: 68:[2, 42] Operation: 56-14=42 Moving to Node #0,0,3 Current State: 68:[2, 4], Operations: ['50-48=2', '56/14=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,68 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[2, 70], Operations: ['50-48=2', '56+14=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[56, 50, 48, 14], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [56, 14, 2] Generated Node #0,0: 68:[56, 14, 2] Operation: 50-48=2 Moving to Node #0,0 Current State: 68:[56, 14, 2], Operations: ['50-48=2'] Exploring Operation: 56+14=70, Resulting Numbers: [2, 70] Generated Node #0,0,2: 68:[2, 70] Operation: 56+14=70 Moving to Node #0,0,2 Current State: 68:[2, 70], Operations: ['50-48=2', '56+14=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 77, 69, 24, 38 ]
54
[ "77-69=8", "24+38=62", "62-8=54" ]
Current State: 54:[77, 69, 24, 38], Operations: [] Exploring Operation: 77-69=8, Resulting Numbers: [24, 38, 8] Generated Node #2: [24, 38, 8] from Operation: 77-69=8 Current State: 54:[24, 38, 8], Operations: ['77-69=8'] Exploring Operation: 24+38=62, Resulting Numbers: [8, 62] Generated Node #3: [8, 62] from Operation: 24+38=62 Current State: 54:[8, 62], Operations: ['77-69=8', '24+38=62'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[77, 69, 24, 38], Operations: [] Exploring Operation: 77-69=8, Resulting Numbers: [24, 38, 8] Generated Node #0,0: 54:[24, 38, 8] Operation: 77-69=8 Moving to Node #0,0 Current State: 54:[24, 38, 8], Operations: ['77-69=8'] Exploring Operation: 38-24=14, Resulting Numbers: [8, 14] Generated Node #0,0,0: 54:[8, 14] Operation: 38-24=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[8, 14], Operations: ['77-69=8', '38-24=14'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 27, 37, 19, 2 ]
14
[ "37-27=10", "10/2=5", "19-5=14" ]
Current State: 14:[27, 37, 19, 2], Operations: [] Exploring Operation: 37-27=10, Resulting Numbers: [19, 2, 10] Generated Node #2: [19, 2, 10] from Operation: 37-27=10 Current State: 14:[19, 2, 10], Operations: ['37-27=10'] Exploring Operation: 10/2=5, Resulting Numbers: [19, 5] Generated Node #3: [19, 5] from Operation: 10/2=5 Current State: 14:[19, 5], Operations: ['37-27=10', '10/2=5'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[27, 37, 19, 2], Operations: [] Exploring Operation: 37-27=10, Resulting Numbers: [19, 2, 10] Generated Node #0,0: 14:[19, 2, 10] Operation: 37-27=10 Exploring Operation: 37-19=18, Resulting Numbers: [27, 2, 18] Generated Node #0,1: 14:[27, 2, 18] Operation: 37-19=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[19, 2, 10], Operations: ['37-27=10'] Exploring Operation: 19-2=17, Resulting Numbers: [10, 17] Generated Node #0,0,0: 14:[10, 17] Operation: 19-2=17 Exploring Operation: 19-10=9, Resulting Numbers: [2, 9] Generated Node #0,0,1: 14:[2, 9] Operation: 19-10=9 Moving to Node #0,0,1 Current State: 14:[2, 9], Operations: ['37-27=10', '19-10=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[10, 17], Operations: ['37-27=10', '19-2=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,14 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[27, 2, 18], Operations: ['37-19=18'] Exploring Operation: 27-18=9, Resulting Numbers: [2, 9] Generated Node #0,1,0: 14:[2, 9] Operation: 27-18=9 Exploring Operation: 27-2=25, Resulting Numbers: [18, 25] Generated Node #0,1,1: 14:[18, 25] Operation: 27-2=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[2, 9], Operations: ['37-19=18', '27-18=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[18, 25], Operations: ['37-19=18', '27-2=25'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 54, 72, 19, 11 ]
26
[ "72-54=18", "19-11=8", "18+8=26" ]
Current State: 26:[54, 72, 19, 11], Operations: [] Exploring Operation: 72-54=18, Resulting Numbers: [19, 11, 18] Generated Node #2: [19, 11, 18] from Operation: 72-54=18 Current State: 26:[19, 11, 18], Operations: ['72-54=18'] Exploring Operation: 19-11=8, Resulting Numbers: [18, 8] Generated Node #3: [18, 8] from Operation: 19-11=8 Current State: 26:[18, 8], Operations: ['72-54=18', '19-11=8'] Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[54, 72, 19, 11], Operations: [] Exploring Operation: 54-19=35, Resulting Numbers: [72, 11, 35] Generated Node #0,0: 26:[72, 11, 35] Operation: 54-19=35 Exploring Operation: 72-54=18, Resulting Numbers: [19, 11, 18] Generated Node #0,1: 26:[19, 11, 18] Operation: 72-54=18 Exploring Operation: 72-19=53, Resulting Numbers: [54, 11, 53] Generated Node #0,2: 26:[54, 11, 53] Operation: 72-19=53 Moving to Node #0,1 Current State: 26:[19, 11, 18], Operations: ['72-54=18'] Exploring Operation: 19-18=1, Resulting Numbers: [11, 1] Generated Node #0,1,0: 26:[11, 1] Operation: 19-18=1 Exploring Operation: 11+18=29, Resulting Numbers: [19, 29] Generated Node #0,1,1: 26:[19, 29] Operation: 11+18=29 Exploring Operation: 19+11=30, Resulting Numbers: [18, 30] Generated Node #0,1,2: 26:[18, 30] Operation: 19+11=30 Moving to Node #0,0 Current State: 26:[72, 11, 35], Operations: ['54-19=35'] Exploring Operation: 35-11=24, Resulting Numbers: [72, 24] Generated Node #0,0,0: 26:[72, 24] Operation: 35-11=24 Exploring Operation: 72-35=37, Resulting Numbers: [11, 37] Generated Node #0,0,1: 26:[11, 37] Operation: 72-35=37 Exploring Operation: 72-11=61, Resulting Numbers: [35, 61] Generated Node #0,0,2: 26:[35, 61] Operation: 72-11=61 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 26:[11, 37], Operations: ['54-19=35', '72-35=37'] Exploring Operation: 11*37=407, Resulting Numbers: [407] 407,26 unequal: No Solution Exploring Operation: 11+37=48, Resulting Numbers: [48] 48,26 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[54, 72, 19, 11], Operations: [] Exploring Operation: 54-19=35, Resulting Numbers: [72, 11, 35] Generated Node #0,0: 26:[72, 11, 35] Operation: 54-19=35 Moving to Node #0,0 Current State: 26:[72, 11, 35], Operations: ['54-19=35'] Exploring Operation: 72-35=37, Resulting Numbers: [11, 37] Generated Node #0,0,1: 26:[11, 37] Operation: 72-35=37 Moving to Node #0,0,1 Current State: 26:[11, 37], Operations: ['54-19=35', '72-35=37'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 42, 6, 92, 18 ]
52
[ "42-18=24", "6*24=144", "144-92=52" ]
Current State: 52:[42, 6, 92, 18], Operations: [] Exploring Operation: 42-18=24, Resulting Numbers: [6, 92, 24] Generated Node #2: [6, 92, 24] from Operation: 42-18=24 Current State: 52:[6, 92, 24], Operations: ['42-18=24'] Exploring Operation: 6*24=144, Resulting Numbers: [92, 144] Generated Node #3: [92, 144] from Operation: 6*24=144 Current State: 52:[92, 144], Operations: ['42-18=24', '6*24=144'] Exploring Operation: 144-92=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[42, 6, 92, 18], Operations: [] Exploring Operation: 92-42=50, Resulting Numbers: [6, 18, 50] Generated Node #0,0: 52:[6, 18, 50] Operation: 92-42=50 Moving to Node #0,0 Current State: 52:[6, 18, 50], Operations: ['92-42=50'] Exploring Operation: 18-6=12, Resulting Numbers: [50, 12] Generated Node #0,0,0: 52:[50, 12] Operation: 18-6=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[50, 12], Operations: ['92-42=50', '18-6=12'] Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 48, 68, 46, 7 ]
54
[ "48-46=2", "7*2=14", "68-14=54" ]
Current State: 54:[48, 68, 46, 7], Operations: [] Exploring Operation: 48-46=2, Resulting Numbers: [68, 7, 2] Generated Node #2: [68, 7, 2] from Operation: 48-46=2 Current State: 54:[68, 7, 2], Operations: ['48-46=2'] Exploring Operation: 7*2=14, Resulting Numbers: [68, 14] Generated Node #3: [68, 14] from Operation: 7*2=14 Current State: 54:[68, 14], Operations: ['48-46=2', '7*2=14'] Exploring Operation: 68-14=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[48, 68, 46, 7], Operations: [] Exploring Operation: 68-48=20, Resulting Numbers: [46, 7, 20] Generated Node #0,0: 54:[46, 7, 20] Operation: 68-48=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[46, 7, 20], Operations: ['68-48=20'] Exploring Operation: 46-20=26, Resulting Numbers: [7, 26] Generated Node #0,0,0: 54:[7, 26] Operation: 46-20=26 Moving to Node #0,0,0 Current State: 54:[7, 26], Operations: ['68-48=20', '46-20=26'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 17, 80, 64, 84 ]
21
[ "84-64=20", "80/20=4", "17+4=21" ]
Current State: 21:[17, 80, 64, 84], Operations: [] Exploring Operation: 84-64=20, Resulting Numbers: [17, 80, 20] Generated Node #2: [17, 80, 20] from Operation: 84-64=20 Current State: 21:[17, 80, 20], Operations: ['84-64=20'] Exploring Operation: 80/20=4, Resulting Numbers: [17, 4] Generated Node #3: [17, 4] from Operation: 80/20=4 Current State: 21:[17, 4], Operations: ['84-64=20', '80/20=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[17, 80, 64, 84], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [17, 64, 4] Generated Node #0,0: 21:[17, 64, 4] Operation: 84-80=4 Exploring Operation: 80-17=63, Resulting Numbers: [64, 84, 63] Generated Node #0,1: 21:[64, 84, 63] Operation: 80-17=63 Exploring Operation: 84-64=20, Resulting Numbers: [17, 80, 20] Generated Node #0,2: 21:[17, 80, 20] Operation: 84-64=20 Exploring Operation: 80-64=16, Resulting Numbers: [17, 84, 16] Generated Node #0,3: 21:[17, 84, 16] Operation: 80-64=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[17, 64, 4], Operations: ['84-80=4'] Exploring Operation: 64-17=47, Resulting Numbers: [4, 47] Generated Node #0,0,0: 21:[4, 47] Operation: 64-17=47 Exploring Operation: 17+4=21, Resulting Numbers: [64, 21] Generated Node #0,0,1: 21:[64, 21] Operation: 17+4=21 Exploring Operation: 64-4=60, Resulting Numbers: [17, 60] Generated Node #0,0,2: 21:[17, 60] Operation: 64-4=60 Exploring Operation: 64/4=16, Resulting Numbers: [17, 16] Generated Node #0,0,3: 21:[17, 16] Operation: 64/4=16 Moving to Node #0,0,3 Current State: 21:[17, 16], Operations: ['84-80=4', '64/4=16'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,21 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[4, 47], Operations: ['84-80=4', '64-17=47'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,21 unequal: No Solution Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,21 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[17, 60], Operations: ['84-80=4', '64-4=60'] Exploring Operation: 17+60=77, Resulting Numbers: [77] 77,21 unequal: No Solution Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,21 unequal: No Solution Exploring Operation: 17*60=1020, Resulting Numbers: [1020] 1020,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[64, 21], Operations: ['84-80=4', '17+4=21'] Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,21 unequal: No Solution Exploring Operation: 64+21=85, Resulting Numbers: [85] 85,21 unequal: No Solution Exploring Operation: 64*21=1344, Resulting Numbers: [1344] 1344,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[17, 80, 20], Operations: ['84-64=20'] Exploring Operation: 80-20=60, Resulting Numbers: [17, 60] Generated Node #0,2,0: 21:[17, 60] Operation: 80-20=60 Exploring Operation: 80-17=63, Resulting Numbers: [20, 63] Generated Node #0,2,1: 21:[20, 63] Operation: 80-17=63 Exploring Operation: 80/20=4, Resulting Numbers: [17, 4] Generated Node #0,2,2: 21:[17, 4] Operation: 80/20=4 Exploring Operation: 20-17=3, Resulting Numbers: [80, 3] Generated Node #0,2,3: 21:[80, 3] Operation: 20-17=3 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 21:[17, 4], Operations: ['84-64=20', '80/20=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,21 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[17, 80, 64, 84], Operations: [] Exploring Operation: 84-64=20, Resulting Numbers: [17, 80, 20] Generated Node #0,2: 21:[17, 80, 20] Operation: 84-64=20 Moving to Node #0,2 Current State: 21:[17, 80, 20], Operations: ['84-64=20'] Exploring Operation: 80/20=4, Resulting Numbers: [17, 4] Generated Node #0,2,2: 21:[17, 4] Operation: 80/20=4 Moving to Node #0,2,2 Current State: 21:[17, 4], Operations: ['84-64=20', '80/20=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 3, 6, 92, 43 ]
45
[ "6-3=3", "92+43=135", "135/3=45" ]
Current State: 45:[3, 6, 92, 43], Operations: [] Exploring Operation: 6-3=3, Resulting Numbers: [92, 43, 3] Generated Node #2: [92, 43, 3] from Operation: 6-3=3 Current State: 45:[92, 43, 3], Operations: ['6-3=3'] Exploring Operation: 92+43=135, Resulting Numbers: [3, 135] Generated Node #3: [3, 135] from Operation: 92+43=135 Current State: 45:[3, 135], Operations: ['6-3=3', '92+43=135'] Exploring Operation: 135/3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[3, 6, 92, 43], Operations: [] Exploring Operation: 3+6=9, Resulting Numbers: [92, 43, 9] Generated Node #0,0: 45:[92, 43, 9] Operation: 3+6=9 Exploring Operation: 92-3=89, Resulting Numbers: [6, 43, 89] Generated Node #0,1: 45:[6, 43, 89] Operation: 92-3=89 Exploring Operation: 92-6=86, Resulting Numbers: [3, 43, 86] Generated Node #0,2: 45:[3, 43, 86] Operation: 92-6=86 Exploring Operation: 92-43=49, Resulting Numbers: [3, 6, 49] Generated Node #0,3: 45:[3, 6, 49] Operation: 92-43=49 Moving to Node #0,3 Current State: 45:[3, 6, 49], Operations: ['92-43=49'] Exploring Operation: 3+6=9, Resulting Numbers: [49, 9] Generated Node #0,3,0: 45:[49, 9] Operation: 3+6=9 Exploring Operation: 6-3=3, Resulting Numbers: [49, 3] Generated Node #0,3,1: 45:[49, 3] Operation: 6-3=3 Exploring Operation: 49-6=43, Resulting Numbers: [3, 43] Generated Node #0,3,2: 45:[3, 43] Operation: 49-6=43 Exploring Operation: 49-3=46, Resulting Numbers: [6, 46] Generated Node #0,3,3: 45:[6, 46] Operation: 49-3=46 Moving to Node #0,2 Current State: 45:[3, 43, 86], Operations: ['92-6=86'] Exploring Operation: 3+43=46, Resulting Numbers: [86, 46] Generated Node #0,2,0: 45:[86, 46] Operation: 3+43=46 Exploring Operation: 86-43=43, Resulting Numbers: [3, 43] Generated Node #0,2,1: 45:[3, 43] Operation: 86-43=43 Exploring Operation: 86/43=2, Resulting Numbers: [3, 2] Generated Node #0,2,2: 45:[3, 2] Operation: 86/43=2 Exploring Operation: 86-3=83, Resulting Numbers: [43, 83] Generated Node #0,2,3: 45:[43, 83] Operation: 86-3=83 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[3, 2], Operations: ['92-6=86', '86/43=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[3, 43], Operations: ['92-6=86', '86-43=43'] Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 45:[43, 83], Operations: ['92-6=86', '86-3=83'] Exploring Operation: 43*83=3569, Resulting Numbers: [3569] 3569,45 unequal: No Solution Exploring Operation: 83-43=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 43+83=126, Resulting Numbers: [126] 126,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[86, 46], Operations: ['92-6=86', '3+43=46'] Exploring Operation: 86+46=132, Resulting Numbers: [132] 132,45 unequal: No Solution Exploring Operation: 86*46=3956, Resulting Numbers: [3956] 3956,45 unequal: No Solution Exploring Operation: 86-46=40, Resulting Numbers: [40] 40,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 45:[6, 43, 89], Operations: ['92-3=89'] Exploring Operation: 89-43=46, Resulting Numbers: [6, 46] Generated Node #0,1,0: 45:[6, 46] Operation: 89-43=46 Exploring Operation: 6+43=49, Resulting Numbers: [89, 49] Generated Node #0,1,1: 45:[89, 49] Operation: 6+43=49 Exploring Operation: 43-6=37, Resulting Numbers: [89, 37] Generated Node #0,1,2: 45:[89, 37] Operation: 43-6=37 Exploring Operation: 89-6=83, Resulting Numbers: [43, 83] Generated Node #0,1,3: 45:[43, 83] Operation: 89-6=83 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[6, 46], Operations: ['92-3=89', '89-43=46'] Exploring Operation: 6*46=276, Resulting Numbers: [276] 276,45 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 6+46=52, Resulting Numbers: [52] 52,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 45:[43, 83], Operations: ['92-3=89', '89-6=83'] Exploring Operation: 43+83=126, Resulting Numbers: [126] 126,45 unequal: No Solution Exploring Operation: 43*83=3569, Resulting Numbers: [3569] 3569,45 unequal: No Solution Exploring Operation: 83-43=40, Resulting Numbers: [40] 40,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[89, 49], Operations: ['92-3=89', '6+43=49'] Exploring Operation: 89-49=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 89*49=4361, Resulting Numbers: [4361] 4361,45 unequal: No Solution Exploring Operation: 89+49=138, Resulting Numbers: [138] 138,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[89, 37], Operations: ['92-3=89', '43-6=37'] Exploring Operation: 89+37=126, Resulting Numbers: [126] 126,45 unequal: No Solution Exploring Operation: 89*37=3293, Resulting Numbers: [3293] 3293,45 unequal: No Solution Exploring Operation: 89-37=52, Resulting Numbers: [52] 52,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 45:[92, 43, 9], Operations: ['3+6=9'] Exploring Operation: 92-9=83, Resulting Numbers: [43, 83] Generated Node #0,0,0: 45:[43, 83] Operation: 92-9=83 Exploring Operation: 92-43=49, Resulting Numbers: [9, 49] Generated Node #0,0,1: 45:[9, 49] Operation: 92-43=49 Exploring Operation: 43+9=52, Resulting Numbers: [92, 52] Generated Node #0,0,2: 45:[92, 52] Operation: 43+9=52 Exploring Operation: 92+9=101, Resulting Numbers: [43, 101] Generated Node #0,0,3: 45:[43, 101] Operation: 92+9=101 Moving to Node #0,3,2 Current State: 45:[3, 43], Operations: ['92-43=49', '49-6=43'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,45 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[6, 46], Operations: ['92-43=49', '49-3=46'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 6*46=276, Resulting Numbers: [276] 276,45 unequal: No Solution Exploring Operation: 6+46=52, Resulting Numbers: [52] 52,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[49, 9], Operations: ['92-43=49', '3+6=9'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 49*9=441, Resulting Numbers: [441] 441,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[9, 49], Operations: ['3+6=9', '92-43=49'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 9*49=441, Resulting Numbers: [441] 441,45 unequal: No Solution Exploring Operation: 9+49=58, Resulting Numbers: [58] 58,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[49, 3], Operations: ['92-43=49', '6-3=3'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,45 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[43, 83], Operations: ['3+6=9', '92-9=83'] Exploring Operation: 43*83=3569, Resulting Numbers: [3569] 3569,45 unequal: No Solution Exploring Operation: 43+83=126, Resulting Numbers: [126] 126,45 unequal: No Solution Exploring Operation: 83-43=40, Resulting Numbers: [40] 40,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[92, 52], Operations: ['3+6=9', '43+9=52'] Exploring Operation: 92-52=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 92*52=4784, Resulting Numbers: [4784] 4784,45 unequal: No Solution Exploring Operation: 92+52=144, Resulting Numbers: [144] 144,45 unequal: No Solution Moving to Node #0,0,3 Current State: 45:[43, 101], Operations: ['3+6=9', '92+9=101'] Exploring Operation: 43*101=4343, Resulting Numbers: [4343] 4343,45 unequal: No Solution Exploring Operation: 43+101=144, Resulting Numbers: [144] 144,45 unequal: No Solution Exploring Operation: 101-43=58, Resulting Numbers: [58] 58,45 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 16, 16, 8, 8 ]
19
[ "16+8=24", "24/8=3", "16+3=19" ]
Current State: 19:[16, 16, 8, 8], Operations: [] Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,19 equal: Goal Reached Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,19 equal: Goal Reached Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[16, 16, 8, 8], Operations: [] Exploring Operation: 8+8=16, Resulting Numbers: [16, 16, 16] Generated Node #0,0: 19:[16, 16, 16] Operation: 8+8=16 Moving to Node #0,0 Current State: 19:[16, 16, 16], Operations: ['8+8=16'] Exploring Operation: 16+16=32, Resulting Numbers: [16, 32] Generated Node #0,0,0: 19:[16, 32] Operation: 16+16=32 Moving to Node #0,0,0 Current State: 19:[16, 32], Operations: ['8+8=16', '16+16=32'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,19 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 62, 68, 49, 2 ]
92
[ "68-62=6", "49*2=98", "98-6=92" ]
Current State: 92:[62, 68, 49, 2], Operations: [] Exploring Operation: 68-62=6, Resulting Numbers: [49, 2, 6] Generated Node #2: [49, 2, 6] from Operation: 68-62=6 Current State: 92:[49, 2, 6], Operations: ['68-62=6'] Exploring Operation: 49*2=98, Resulting Numbers: [6, 98] Generated Node #3: [6, 98] from Operation: 49*2=98 Current State: 92:[6, 98], Operations: ['68-62=6', '49*2=98'] Exploring Operation: 98-6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[62, 68, 49, 2], Operations: [] Exploring Operation: 68-49=19, Resulting Numbers: [62, 2, 19] Generated Node #0,0: 92:[62, 2, 19] Operation: 68-49=19 Exploring Operation: 68-62=6, Resulting Numbers: [49, 2, 6] Generated Node #0,1: 92:[49, 2, 6] Operation: 68-62=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[49, 2, 6], Operations: ['68-62=6'] Exploring Operation: 49-2=47, Resulting Numbers: [6, 47] Generated Node #0,1,0: 92:[6, 47] Operation: 49-2=47 Exploring Operation: 49-6=43, Resulting Numbers: [2, 43] Generated Node #0,1,1: 92:[2, 43] Operation: 49-6=43 Moving to Node #0,1,0 Current State: 92:[6, 47], Operations: ['68-62=6', '49-2=47'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[2, 43], Operations: ['68-62=6', '49-6=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[62, 2, 19], Operations: ['68-49=19'] Exploring Operation: 62-19=43, Resulting Numbers: [2, 43] Generated Node #0,0,0: 92:[2, 43] Operation: 62-19=43 Exploring Operation: 62+19=81, Resulting Numbers: [2, 81] Generated Node #0,0,1: 92:[2, 81] Operation: 62+19=81 Moving to Node #0,0,0 Current State: 92:[2, 43], Operations: ['68-49=19', '62-19=43'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,92 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[2, 81], Operations: ['68-49=19', '62+19=81'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,92 unequal: No Solution Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 12, 43, 28, 68 ]
71
[ "43-12=31", "68-28=40", "31+40=71" ]
Current State: 71:[12, 43, 28, 68], Operations: [] Exploring Operation: 43-12=31, Resulting Numbers: [28, 68, 31] Generated Node #2: [28, 68, 31] from Operation: 43-12=31 Current State: 71:[28, 68, 31], Operations: ['43-12=31'] Exploring Operation: 68-28=40, Resulting Numbers: [31, 40] Generated Node #3: [31, 40] from Operation: 68-28=40 Current State: 71:[31, 40], Operations: ['43-12=31', '68-28=40'] Exploring Operation: 31+40=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[12, 43, 28, 68], Operations: [] Exploring Operation: 12+28=40, Resulting Numbers: [43, 68, 40] Generated Node #0,0: 71:[43, 68, 40] Operation: 12+28=40 Exploring Operation: 12+43=55, Resulting Numbers: [28, 68, 55] Generated Node #0,1: 71:[28, 68, 55] Operation: 12+43=55 Moving to Node #0,0 Current State: 71:[43, 68, 40], Operations: ['12+28=40'] Exploring Operation: 43+40=83, Resulting Numbers: [68, 83] Generated Node #0,0,0: 71:[68, 83] Operation: 43+40=83 Exploring Operation: 68+40=108, Resulting Numbers: [43, 108] Generated Node #0,0,1: 71:[43, 108] Operation: 68+40=108 Moving to Node #0,1 Current State: 71:[28, 68, 55], Operations: ['12+43=55'] Exploring Operation: 28+68=96, Resulting Numbers: [55, 96] Generated Node #0,1,0: 71:[55, 96] Operation: 28+68=96 Exploring Operation: 28+55=83, Resulting Numbers: [68, 83] Generated Node #0,1,1: 71:[68, 83] Operation: 28+55=83 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[68, 83], Operations: ['12+43=55', '28+55=83'] Exploring Operation: 68+83=151, Resulting Numbers: [151] 151,71 unequal: No Solution Exploring Operation: 83-68=15, Resulting Numbers: [15] 15,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[55, 96], Operations: ['12+43=55', '28+68=96'] Exploring Operation: 96-55=41, Resulting Numbers: [41] 41,71 unequal: No Solution Exploring Operation: 55+96=151, Resulting Numbers: [151] 151,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 71:[68, 83], Operations: ['12+28=40', '43+40=83'] Exploring Operation: 68+83=151, Resulting Numbers: [151] 151,71 unequal: No Solution Exploring Operation: 83-68=15, Resulting Numbers: [15] 15,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[43, 108], Operations: ['12+28=40', '68+40=108'] Exploring Operation: 43+108=151, Resulting Numbers: [151] 151,71 unequal: No Solution Exploring Operation: 108-43=65, Resulting Numbers: [65] 65,71 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 5, 42, 76, 2 ]
44
[ "5*2=10", "76-42=34", "10+34=44" ]
Current State: 44:[5, 42, 76, 2], Operations: [] Exploring Operation: 5*2=10, Resulting Numbers: [42, 76, 10] Generated Node #2: [42, 76, 10] from Operation: 5*2=10 Current State: 44:[42, 76, 10], Operations: ['5*2=10'] Exploring Operation: 76-42=34, Resulting Numbers: [10, 34] Generated Node #3: [10, 34] from Operation: 76-42=34 Current State: 44:[10, 34], Operations: ['5*2=10', '76-42=34'] Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[5, 42, 76, 2], Operations: [] Exploring Operation: 76-42=34, Resulting Numbers: [5, 2, 34] Generated Node #0,0: 44:[5, 2, 34] Operation: 76-42=34 Exploring Operation: 76-5=71, Resulting Numbers: [42, 2, 71] Generated Node #0,1: 44:[42, 2, 71] Operation: 76-5=71 Exploring Operation: 76/2=38, Resulting Numbers: [5, 42, 38] Generated Node #0,2: 44:[5, 42, 38] Operation: 76/2=38 Exploring Operation: 42+2=44, Resulting Numbers: [5, 76, 44] Generated Node #0,3: 44:[5, 76, 44] Operation: 42+2=44 Moving to Node #0,2 Current State: 44:[5, 42, 38], Operations: ['76/2=38'] Exploring Operation: 42-5=37, Resulting Numbers: [38, 37] Generated Node #0,2,0: 44:[38, 37] Operation: 42-5=37 Exploring Operation: 42-38=4, Resulting Numbers: [5, 4] Generated Node #0,2,1: 44:[5, 4] Operation: 42-38=4 Exploring Operation: 5+42=47, Resulting Numbers: [38, 47] Generated Node #0,2,2: 44:[38, 47] Operation: 5+42=47 Exploring Operation: 5+38=43, Resulting Numbers: [42, 43] Generated Node #0,2,3: 44:[42, 43] Operation: 5+38=43 Moving to Node #0,0 Current State: 44:[5, 2, 34], Operations: ['76-42=34'] Exploring Operation: 2+34=36, Resulting Numbers: [5, 36] Generated Node #0,0,0: 44:[5, 36] Operation: 2+34=36 Exploring Operation: 34/2=17, Resulting Numbers: [5, 17] Generated Node #0,0,1: 44:[5, 17] Operation: 34/2=17 Exploring Operation: 34-5=29, Resulting Numbers: [2, 29] Generated Node #0,0,2: 44:[2, 29] Operation: 34-5=29 Exploring Operation: 5+34=39, Resulting Numbers: [2, 39] Generated Node #0,0,3: 44:[2, 39] Operation: 5+34=39 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 44:[2, 39], Operations: ['76-42=34', '5+34=39'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,44 unequal: No Solution Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,44 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[5, 17], Operations: ['76-42=34', '34/2=17'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,44 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[2, 29], Operations: ['76-42=34', '34-5=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,44 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,44 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[5, 36], Operations: ['76-42=34', '2+34=36'] Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,44 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,44 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 44:[42, 2, 71], Operations: ['76-5=71'] Exploring Operation: 42+2=44, Resulting Numbers: [71, 44] Generated Node #0,1,0: 44:[71, 44] Operation: 42+2=44 Exploring Operation: 42/2=21, Resulting Numbers: [71, 21] Generated Node #0,1,1: 44:[71, 21] Operation: 42/2=21 Exploring Operation: 71-42=29, Resulting Numbers: [2, 29] Generated Node #0,1,2: 44:[2, 29] Operation: 71-42=29 Exploring Operation: 71-2=69, Resulting Numbers: [42, 69] Generated Node #0,1,3: 44:[42, 69] Operation: 71-2=69 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 44:[2, 29], Operations: ['76-5=71', '71-42=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,44 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,44 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[71, 44], Operations: ['76-5=71', '42+2=44'] Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,44 unequal: No Solution Exploring Operation: 71+44=115, Resulting Numbers: [115] 115,44 unequal: No Solution Exploring Operation: 71*44=3124, Resulting Numbers: [3124] 3124,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 44:[42, 69], Operations: ['76-5=71', '71-2=69'] Exploring Operation: 42*69=2898, Resulting Numbers: [2898] 2898,44 unequal: No Solution Exploring Operation: 69-42=27, Resulting Numbers: [27] 27,44 unequal: No Solution Exploring Operation: 42+69=111, Resulting Numbers: [111] 111,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[71, 21], Operations: ['76-5=71', '42/2=21'] Exploring Operation: 71+21=92, Resulting Numbers: [92] 92,44 unequal: No Solution Exploring Operation: 71-21=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 71*21=1491, Resulting Numbers: [1491] 1491,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 44:[5, 76, 44], Operations: ['42+2=44'] Exploring Operation: 76-44=32, Resulting Numbers: [5, 32] Generated Node #0,3,0: 44:[5, 32] Operation: 76-44=32 Exploring Operation: 5+44=49, Resulting Numbers: [76, 49] Generated Node #0,3,1: 44:[76, 49] Operation: 5+44=49 Exploring Operation: 5+76=81, Resulting Numbers: [44, 81] Generated Node #0,3,2: 44:[44, 81] Operation: 5+76=81 Exploring Operation: 76-5=71, Resulting Numbers: [44, 71] Generated Node #0,3,3: 44:[44, 71] Operation: 76-5=71 Moving to Node #0,2,1 Current State: 44:[5, 4], Operations: ['76/2=38', '42-38=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[42, 43], Operations: ['76/2=38', '5+38=43'] Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 42+43=85, Resulting Numbers: [85] 85,44 unequal: No Solution Exploring Operation: 42*43=1806, Resulting Numbers: [1806] 1806,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[38, 47], Operations: ['76/2=38', '5+42=47'] Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 38*47=1786, Resulting Numbers: [1786] 1786,44 unequal: No Solution Exploring Operation: 38+47=85, Resulting Numbers: [85] 85,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[5, 32], Operations: ['42+2=44', '76-44=32'] Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,44 unequal: No Solution Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,44 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[38, 37], Operations: ['76/2=38', '42-5=37'] Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 38+37=75, Resulting Numbers: [75] 75,44 unequal: No Solution Exploring Operation: 38*37=1406, Resulting Numbers: [1406] 1406,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[44, 71], Operations: ['42+2=44', '76-5=71'] Exploring Operation: 44*71=3124, Resulting Numbers: [3124] 3124,44 unequal: No Solution Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,44 unequal: No Solution Exploring Operation: 44+71=115, Resulting Numbers: [115] 115,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[76, 49], Operations: ['42+2=44', '5+44=49'] Exploring Operation: 76*49=3724, Resulting Numbers: [3724] 3724,44 unequal: No Solution Exploring Operation: 76-49=27, Resulting Numbers: [27] 27,44 unequal: No Solution Exploring Operation: 76+49=125, Resulting Numbers: [125] 125,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[44, 81], Operations: ['42+2=44', '5+76=81'] Exploring Operation: 44+81=125, Resulting Numbers: [125] 125,44 unequal: No Solution Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,44 unequal: No Solution Exploring Operation: 44*81=3564, Resulting Numbers: [3564] 3564,44 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 28, 76, 77, 52 ]
81
[ "76-28=48", "77+52=129", "129-48=81" ]
Current State: 81:[28, 76, 77, 52], Operations: [] Exploring Operation: 76-28=48, Resulting Numbers: [77, 52, 48] Generated Node #2: [77, 52, 48] from Operation: 76-28=48 Current State: 81:[77, 52, 48], Operations: ['76-28=48'] Exploring Operation: 77+52=129, Resulting Numbers: [48, 129] Generated Node #3: [48, 129] from Operation: 77+52=129 Current State: 81:[48, 129], Operations: ['76-28=48', '77+52=129'] Exploring Operation: 129-48=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[28, 76, 77, 52], Operations: [] Exploring Operation: 76-52=24, Resulting Numbers: [28, 77, 24] Generated Node #0,0: 81:[28, 77, 24] Operation: 76-52=24 Exploring Operation: 28+52=80, Resulting Numbers: [76, 77, 80] Generated Node #0,1: 81:[76, 77, 80] Operation: 28+52=80 Exploring Operation: 77-52=25, Resulting Numbers: [28, 76, 25] Generated Node #0,2: 81:[28, 76, 25] Operation: 77-52=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[28, 77, 24], Operations: ['76-52=24'] Exploring Operation: 77-28=49, Resulting Numbers: [24, 49] Generated Node #0,0,0: 81:[24, 49] Operation: 77-28=49 Exploring Operation: 77+24=101, Resulting Numbers: [28, 101] Generated Node #0,0,1: 81:[28, 101] Operation: 77+24=101 Exploring Operation: 28-24=4, Resulting Numbers: [77, 4] Generated Node #0,0,2: 81:[77, 4] Operation: 28-24=4 Moving to Node #0,0,2 Current State: 81:[77, 4], Operations: ['76-52=24', '28-24=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[28, 76, 77, 52], Operations: [] Exploring Operation: 76-52=24, Resulting Numbers: [28, 77, 24] Generated Node #0,0: 81:[28, 77, 24] Operation: 76-52=24 Moving to Node #0,0 Current State: 81:[28, 77, 24], Operations: ['76-52=24'] Exploring Operation: 28-24=4, Resulting Numbers: [77, 4] Generated Node #0,0,2: 81:[77, 4] Operation: 28-24=4 Moving to Node #0,0,2 Current State: 81:[77, 4], Operations: ['76-52=24', '28-24=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 42, 59, 72, 11 ]
28
[ "59-11=48", "42*48=2016", "2016/72=28" ]
Current State: 28:[42, 59, 72, 11], Operations: [] Exploring Operation: 59-11=48, Resulting Numbers: [42, 72, 48] Generated Node #2: [42, 72, 48] from Operation: 59-11=48 Current State: 28:[42, 72, 48], Operations: ['59-11=48'] Exploring Operation: 42*48=2016, Resulting Numbers: [72, 2016] Generated Node #3: [72, 2016] from Operation: 42*48=2016 Current State: 28:[72, 2016], Operations: ['59-11=48', '42*48=2016'] Exploring Operation: 2016/72=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[42, 59, 72, 11], Operations: [] Exploring Operation: 72-42=30, Resulting Numbers: [59, 11, 30] Generated Node #0,0: 28:[59, 11, 30] Operation: 72-42=30 Exploring Operation: 72-59=13, Resulting Numbers: [42, 11, 13] Generated Node #0,1: 28:[42, 11, 13] Operation: 72-59=13 Moving to Node #0,1 Current State: 28:[42, 11, 13], Operations: ['72-59=13'] Exploring Operation: 42-11=31, Resulting Numbers: [13, 31] Generated Node #0,1,0: 28:[13, 31] Operation: 42-11=31 Exploring Operation: 42-13=29, Resulting Numbers: [11, 29] Generated Node #0,1,1: 28:[11, 29] Operation: 42-13=29 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[13, 31], Operations: ['72-59=13', '42-11=31'] Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,28 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[11, 29], Operations: ['72-59=13', '42-13=29'] Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 28:[59, 11, 30], Operations: ['72-42=30'] Exploring Operation: 59-11=48, Resulting Numbers: [30, 48] Generated Node #0,0,0: 28:[30, 48] Operation: 59-11=48 Exploring Operation: 59-30=29, Resulting Numbers: [11, 29] Generated Node #0,0,1: 28:[11, 29] Operation: 59-30=29 Moving to Node #0,0,1 Current State: 28:[11, 29], Operations: ['72-42=30', '59-30=29'] Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[30, 48], Operations: ['72-42=30', '59-11=48'] Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,28 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 70, 95, 51, 17 ]
43
[ "95-70=25", "51+17=68", "68-25=43" ]
Current State: 43:[70, 95, 51, 17], Operations: [] Exploring Operation: 95-70=25, Resulting Numbers: [51, 17, 25] Generated Node #2: [51, 17, 25] from Operation: 95-70=25 Current State: 43:[51, 17, 25], Operations: ['95-70=25'] Exploring Operation: 51+17=68, Resulting Numbers: [25, 68] Generated Node #3: [25, 68] from Operation: 51+17=68 Current State: 43:[25, 68], Operations: ['95-70=25', '51+17=68'] Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[70, 95, 51, 17], Operations: [] Exploring Operation: 95-70=25, Resulting Numbers: [51, 17, 25] Generated Node #0,0: 43:[51, 17, 25] Operation: 95-70=25 Exploring Operation: 95-51=44, Resulting Numbers: [70, 17, 44] Generated Node #0,1: 43:[70, 17, 44] Operation: 95-51=44 Exploring Operation: 70-17=53, Resulting Numbers: [95, 51, 53] Generated Node #0,2: 43:[95, 51, 53] Operation: 70-17=53 Exploring Operation: 95-17=78, Resulting Numbers: [70, 51, 78] Generated Node #0,3: 43:[70, 51, 78] Operation: 95-17=78 Moving to Node #0,0 Current State: 43:[51, 17, 25], Operations: ['95-70=25'] Exploring Operation: 51+17=68, Resulting Numbers: [25, 68] Generated Node #0,0,0: 43:[25, 68] Operation: 51+17=68 Exploring Operation: 17+25=42, Resulting Numbers: [51, 42] Generated Node #0,0,1: 43:[51, 42] Operation: 17+25=42 Exploring Operation: 51-25=26, Resulting Numbers: [17, 26] Generated Node #0,0,2: 43:[17, 26] Operation: 51-25=26 Exploring Operation: 51-17=34, Resulting Numbers: [25, 34] Generated Node #0,0,3: 43:[25, 34] Operation: 51-17=34 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[51, 42], Operations: ['95-70=25', '17+25=42'] Exploring Operation: 51+42=93, Resulting Numbers: [93] 93,43 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 51*42=2142, Resulting Numbers: [2142] 2142,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 43:[25, 34], Operations: ['95-70=25', '51-17=34'] Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,43 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[25, 68], Operations: ['95-70=25', '51+17=68'] Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[70, 95, 51, 17], Operations: [] Exploring Operation: 95-70=25, Resulting Numbers: [51, 17, 25] Generated Node #0,0: 43:[51, 17, 25] Operation: 95-70=25 Moving to Node #0,0 Current State: 43:[51, 17, 25], Operations: ['95-70=25'] Exploring Operation: 51+17=68, Resulting Numbers: [25, 68] Generated Node #0,0,0: 43:[25, 68] Operation: 51+17=68 Moving to Node #0,0,0 Current State: 43:[25, 68], Operations: ['95-70=25', '51+17=68'] Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 69, 5, 14, 97 ]
70
[ "69+14=83", "97-83=14", "5*14=70" ]
Current State: 70:[69, 5, 14, 97], Operations: [] Exploring Operation: 69+14=83, Resulting Numbers: [5, 97, 83] Generated Node #2: [5, 97, 83] from Operation: 69+14=83 Current State: 70:[5, 97, 83], Operations: ['69+14=83'] Exploring Operation: 97-83=14, Resulting Numbers: [5, 14] Generated Node #3: [5, 14] from Operation: 97-83=14 Current State: 70:[5, 14], Operations: ['69+14=83', '97-83=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[69, 5, 14, 97], Operations: [] Exploring Operation: 97-14=83, Resulting Numbers: [69, 5, 83] Generated Node #0,0: 70:[69, 5, 83] Operation: 97-14=83 Exploring Operation: 97-5=92, Resulting Numbers: [69, 14, 92] Generated Node #0,1: 70:[69, 14, 92] Operation: 97-5=92 Exploring Operation: 97-69=28, Resulting Numbers: [5, 14, 28] Generated Node #0,2: 70:[5, 14, 28] Operation: 97-69=28 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[5, 14, 28], Operations: ['97-69=28'] Exploring Operation: 5+28=33, Resulting Numbers: [14, 33] Generated Node #0,2,0: 70:[14, 33] Operation: 5+28=33 Exploring Operation: 28/14=2, Resulting Numbers: [5, 2] Generated Node #0,2,1: 70:[5, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [5, 14] Generated Node #0,2,2: 70:[5, 14] Operation: 28-14=14 Moving to Node #0,2,1 Current State: 70:[5, 2], Operations: ['97-69=28', '28/14=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[5, 14], Operations: ['97-69=28', '28-14=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[69, 5, 14, 97], Operations: [] Exploring Operation: 97-69=28, Resulting Numbers: [5, 14, 28] Generated Node #0,2: 70:[5, 14, 28] Operation: 97-69=28 Moving to Node #0,2 Current State: 70:[5, 14, 28], Operations: ['97-69=28'] Exploring Operation: 28-14=14, Resulting Numbers: [5, 14] Generated Node #0,2,2: 70:[5, 14] Operation: 28-14=14 Moving to Node #0,2,2 Current State: 70:[5, 14], Operations: ['97-69=28', '28-14=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 87, 59, 34, 2 ]
40
[ "87-59=28", "34*2=68", "68-28=40" ]
Current State: 40:[87, 59, 34, 2], Operations: [] Exploring Operation: 87-59=28, Resulting Numbers: [34, 2, 28] Generated Node #2: [34, 2, 28] from Operation: 87-59=28 Current State: 40:[34, 2, 28], Operations: ['87-59=28'] Exploring Operation: 34*2=68, Resulting Numbers: [28, 68] Generated Node #3: [28, 68] from Operation: 34*2=68 Current State: 40:[28, 68], Operations: ['87-59=28', '34*2=68'] Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[87, 59, 34, 2], Operations: [] Exploring Operation: 34/2=17, Resulting Numbers: [87, 59, 17] Generated Node #0,0: 40:[87, 59, 17] Operation: 34/2=17 Exploring Operation: 59-34=25, Resulting Numbers: [87, 2, 25] Generated Node #0,1: 40:[87, 2, 25] Operation: 59-34=25 Exploring Operation: 87-34=53, Resulting Numbers: [59, 2, 53] Generated Node #0,2: 40:[59, 2, 53] Operation: 87-34=53 Exploring Operation: 87-59=28, Resulting Numbers: [34, 2, 28] Generated Node #0,3: 40:[34, 2, 28] Operation: 87-59=28 Exploring Operation: 87-2=85, Resulting Numbers: [59, 34, 85] Generated Node #0,4: 40:[59, 34, 85] Operation: 87-2=85 Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[34, 2, 28], Operations: ['87-59=28'] Exploring Operation: 34-28=6, Resulting Numbers: [2, 6] Generated Node #0,3,0: 40:[2, 6] Operation: 34-28=6 Exploring Operation: 34+2=36, Resulting Numbers: [28, 36] Generated Node #0,3,1: 40:[28, 36] Operation: 34+2=36 Exploring Operation: 28-2=26, Resulting Numbers: [34, 26] Generated Node #0,3,2: 40:[34, 26] Operation: 28-2=26 Exploring Operation: 34/2=17, Resulting Numbers: [28, 17] Generated Node #0,3,3: 40:[28, 17] Operation: 34/2=17 Exploring Operation: 28/2=14, Resulting Numbers: [34, 14] Generated Node #0,3,4: 40:[34, 14] Operation: 28/2=14 Moving to Node #0,3,0 Current State: 40:[2, 6], Operations: ['87-59=28', '34-28=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,40 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,40 unequal: No Solution Moving to Node #0,3,4 Current State: 40:[34, 14], Operations: ['87-59=28', '28/2=14'] Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,40 unequal: No Solution Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[28, 17], Operations: ['87-59=28', '34/2=17'] Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,40 unequal: No Solution Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,40 unequal: No Solution Moving to Node #0,3,1 Current State: 40:[28, 36], Operations: ['87-59=28', '34+2=36'] Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,40 unequal: No Solution Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,40 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,40 unequal: No Solution Moving to Node #0,3,2 Current State: 40:[34, 26], Operations: ['87-59=28', '28-2=26'] Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,40 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[59, 2, 53], Operations: ['87-34=53'] Exploring Operation: 2+53=55, Resulting Numbers: [59, 55] Generated Node #0,2,0: 40:[59, 55] Operation: 2+53=55 Exploring Operation: 59-53=6, Resulting Numbers: [2, 6] Generated Node #0,2,1: 40:[2, 6] Operation: 59-53=6 Exploring Operation: 53-2=51, Resulting Numbers: [59, 51] Generated Node #0,2,2: 40:[59, 51] Operation: 53-2=51 Exploring Operation: 59-2=57, Resulting Numbers: [53, 57] Generated Node #0,2,3: 40:[53, 57] Operation: 59-2=57 Exploring Operation: 59+2=61, Resulting Numbers: [53, 61] Generated Node #0,2,4: 40:[53, 61] Operation: 59+2=61 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 40:[2, 6], Operations: ['87-34=53', '59-53=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,40 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 40:[59, 51], Operations: ['87-34=53', '53-2=51'] Exploring Operation: 59*51=3009, Resulting Numbers: [3009] 3009,40 unequal: No Solution Exploring Operation: 59+51=110, Resulting Numbers: [110] 110,40 unequal: No Solution Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 40:[53, 57], Operations: ['87-34=53', '59-2=57'] Exploring Operation: 53+57=110, Resulting Numbers: [110] 110,40 unequal: No Solution Exploring Operation: 53*57=3021, Resulting Numbers: [3021] 3021,40 unequal: No Solution Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 40:[59, 55], Operations: ['87-34=53', '2+53=55'] Exploring Operation: 59*55=3245, Resulting Numbers: [3245] 3245,40 unequal: No Solution Exploring Operation: 59-55=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 59+55=114, Resulting Numbers: [114] 114,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 40:[53, 61], Operations: ['87-34=53', '59+2=61'] Exploring Operation: 53+61=114, Resulting Numbers: [114] 114,40 unequal: No Solution Exploring Operation: 53*61=3233, Resulting Numbers: [3233] 3233,40 unequal: No Solution Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[87, 2, 25], Operations: ['59-34=25'] Exploring Operation: 25-2=23, Resulting Numbers: [87, 23] Generated Node #0,1,0: 40:[87, 23] Operation: 25-2=23 Exploring Operation: 87+2=89, Resulting Numbers: [25, 89] Generated Node #0,1,1: 40:[25, 89] Operation: 87+2=89 Exploring Operation: 2+25=27, Resulting Numbers: [87, 27] Generated Node #0,1,2: 40:[87, 27] Operation: 2+25=27 Exploring Operation: 87-2=85, Resulting Numbers: [25, 85] Generated Node #0,1,3: 40:[25, 85] Operation: 87-2=85 Exploring Operation: 87-25=62, Resulting Numbers: [2, 62] Generated Node #0,1,4: 40:[2, 62] Operation: 87-25=62 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 40:[2, 62], Operations: ['59-34=25', '87-25=62'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,40 unequal: No Solution Exploring Operation: 2*62=124, Resulting Numbers: [124] 124,40 unequal: No Solution Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,40 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[87, 23], Operations: ['59-34=25', '25-2=23'] Exploring Operation: 87+23=110, Resulting Numbers: [110] 110,40 unequal: No Solution Exploring Operation: 87-23=64, Resulting Numbers: [64] 64,40 unequal: No Solution Exploring Operation: 87*23=2001, Resulting Numbers: [2001] 2001,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 40:[25, 85], Operations: ['59-34=25', '87-2=85'] Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,40 unequal: No Solution Exploring Operation: 25*85=2125, Resulting Numbers: [2125] 2125,40 unequal: No Solution Exploring Operation: 25+85=110, Resulting Numbers: [110] 110,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[25, 89], Operations: ['59-34=25', '87+2=89'] Exploring Operation: 25+89=114, Resulting Numbers: [114] 114,40 unequal: No Solution Exploring Operation: 25*89=2225, Resulting Numbers: [2225] 2225,40 unequal: No Solution Exploring Operation: 89-25=64, Resulting Numbers: [64] 64,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 40:[87, 27], Operations: ['59-34=25', '2+25=27'] Exploring Operation: 87+27=114, Resulting Numbers: [114] 114,40 unequal: No Solution Exploring Operation: 87*27=2349, Resulting Numbers: [2349] 2349,40 unequal: No Solution Exploring Operation: 87-27=60, Resulting Numbers: [60] 60,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[87, 59, 17], Operations: ['34/2=17'] Exploring Operation: 87-59=28, Resulting Numbers: [17, 28] Generated Node #0,0,0: 40:[17, 28] Operation: 87-59=28 Exploring Operation: 87+17=104, Resulting Numbers: [59, 104] Generated Node #0,0,1: 40:[59, 104] Operation: 87+17=104 Exploring Operation: 59+17=76, Resulting Numbers: [87, 76] Generated Node #0,0,2: 40:[87, 76] Operation: 59+17=76 Exploring Operation: 59-17=42, Resulting Numbers: [87, 42] Generated Node #0,0,3: 40:[87, 42] Operation: 59-17=42 Exploring Operation: 87-17=70, Resulting Numbers: [59, 70] Generated Node #0,0,4: 40:[59, 70] Operation: 87-17=70 Moving to Node #0,0,0 Current State: 40:[17, 28], Operations: ['34/2=17', '87-59=28'] Exploring Operation: 17*28=476, Resulting Numbers: [476] 476,40 unequal: No Solution Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,40 unequal: No Solution Moving to Node #0,0,4 Current State: 40:[59, 70], Operations: ['34/2=17', '87-17=70'] Exploring Operation: 59+70=129, Resulting Numbers: [129] 129,40 unequal: No Solution Exploring Operation: 70-59=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 59*70=4130, Resulting Numbers: [4130] 4130,40 unequal: No Solution Moving to Node #0,0,3 Current State: 40:[87, 42], Operations: ['34/2=17', '59-17=42'] Exploring Operation: 87*42=3654, Resulting Numbers: [3654] 3654,40 unequal: No Solution Exploring Operation: 87+42=129, Resulting Numbers: [129] 129,40 unequal: No Solution Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[59, 104], Operations: ['34/2=17', '87+17=104'] Exploring Operation: 104-59=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 59+104=163, Resulting Numbers: [163] 163,40 unequal: No Solution Exploring Operation: 59*104=6136, Resulting Numbers: [6136] 6136,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[87, 76], Operations: ['34/2=17', '59+17=76'] Exploring Operation: 87-76=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 87+76=163, Resulting Numbers: [163] 163,40 unequal: No Solution Exploring Operation: 87*76=6612, Resulting Numbers: [6612] 6612,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 40:[59, 34, 85], Operations: ['87-2=85'] Exploring Operation: 85-34=51, Resulting Numbers: [59, 51] Generated Node #0,4,0: 40:[59, 51] Operation: 85-34=51 Exploring Operation: 85-59=26, Resulting Numbers: [34, 26] Generated Node #0,4,1: 40:[34, 26] Operation: 85-59=26 Exploring Operation: 59+34=93, Resulting Numbers: [85, 93] Generated Node #0,4,2: 40:[85, 93] Operation: 59+34=93 Exploring Operation: 59-34=25, Resulting Numbers: [85, 25] Generated Node #0,4,3: 40:[85, 25] Operation: 59-34=25 Exploring Operation: 34+85=119, Resulting Numbers: [59, 119] Generated Node #0,4,4: 40:[59, 119] Operation: 34+85=119 Moving to Node #0,4,1 Current State: 40:[34, 26], Operations: ['87-2=85', '85-59=26'] Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,40 unequal: No Solution Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,40 unequal: No Solution Moving to Node #0,4,0 Current State: 40:[59, 51], Operations: ['87-2=85', '85-34=51'] Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 59*51=3009, Resulting Numbers: [3009] 3009,40 unequal: No Solution Exploring Operation: 59+51=110, Resulting Numbers: [110] 110,40 unequal: No Solution Moving to Node #0,4,3 Current State: 40:[85, 25], Operations: ['87-2=85', '59-34=25'] Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,40 unequal: No Solution Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,40 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,40 unequal: No Solution Moving to Node #0,4,2 Current State: 40:[85, 93], Operations: ['87-2=85', '59+34=93'] Exploring Operation: 93-85=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 85+93=178, Resulting Numbers: [178] 178,40 unequal: No Solution Exploring Operation: 85*93=7905, Resulting Numbers: [7905] 7905,40 unequal: No Solution Moving to Node #0,4,4 Current State: 40:[59, 119], Operations: ['87-2=85', '34+85=119'] Exploring Operation: 59+119=178, Resulting Numbers: [178] 178,40 unequal: No Solution Exploring Operation: 59*119=7021, Resulting Numbers: [7021] 7021,40 unequal: No Solution Exploring Operation: 119-59=60, Resulting Numbers: [60] 60,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 23, 30, 86, 43 ]
38
[ "30*43=1290", "1290/86=15", "23+15=38" ]
Current State: 38:[23, 30, 86, 43], Operations: [] Exploring Operation: 30*43=1290, Resulting Numbers: [23, 86, 1290] Generated Node #2: [23, 86, 1290] from Operation: 30*43=1290 Current State: 38:[23, 86, 1290], Operations: ['30*43=1290'] Exploring Operation: 1290/86=15, Resulting Numbers: [23, 15] Generated Node #3: [23, 15] from Operation: 1290/86=15 Current State: 38:[23, 15], Operations: ['30*43=1290', '1290/86=15'] Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[23, 30, 86, 43], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [23, 30, 2] Generated Node #0,0: 38:[23, 30, 2] Operation: 86/43=2 Exploring Operation: 43-23=20, Resulting Numbers: [30, 86, 20] Generated Node #0,1: 38:[30, 86, 20] Operation: 43-23=20 Exploring Operation: 86-43=43, Resulting Numbers: [23, 30, 43] Generated Node #0,2: 38:[23, 30, 43] Operation: 86-43=43 Exploring Operation: 86-30=56, Resulting Numbers: [23, 43, 56] Generated Node #0,3: 38:[23, 43, 56] Operation: 86-30=56 Exploring Operation: 86-23=63, Resulting Numbers: [30, 43, 63] Generated Node #0,4: 38:[30, 43, 63] Operation: 86-23=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[23, 30, 2], Operations: ['86/43=2'] Exploring Operation: 30/2=15, Resulting Numbers: [23, 15] Generated Node #0,0,0: 38:[23, 15] Operation: 30/2=15 Exploring Operation: 30-23=7, Resulting Numbers: [2, 7] Generated Node #0,0,1: 38:[2, 7] Operation: 30-23=7 Exploring Operation: 30-2=28, Resulting Numbers: [23, 28] Generated Node #0,0,2: 38:[23, 28] Operation: 30-2=28 Exploring Operation: 23-2=21, Resulting Numbers: [30, 21] Generated Node #0,0,3: 38:[30, 21] Operation: 23-2=21 Exploring Operation: 30+2=32, Resulting Numbers: [23, 32] Generated Node #0,0,4: 38:[23, 32] Operation: 30+2=32 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[2, 7], Operations: ['86/43=2', '30-23=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,38 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[23, 15], Operations: ['86/43=2', '30/2=15'] Exploring Operation: 23*15=345, Resulting Numbers: [345] 345,38 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[23, 30, 86, 43], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [23, 30, 2] Generated Node #0,0: 38:[23, 30, 2] Operation: 86/43=2 Moving to Node #0,0 Current State: 38:[23, 30, 2], Operations: ['86/43=2'] Exploring Operation: 30/2=15, Resulting Numbers: [23, 15] Generated Node #0,0,0: 38:[23, 15] Operation: 30/2=15 Moving to Node #0,0,0 Current State: 38:[23, 15], Operations: ['86/43=2', '30/2=15'] Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 21, 6, 18, 22 ]
14
[ "22-18=4", "21*4=84", "84/6=14" ]
Current State: 14:[21, 6, 18, 22], Operations: [] Exploring Operation: 22-18=4, Resulting Numbers: [21, 6, 4] Generated Node #2: [21, 6, 4] from Operation: 22-18=4 Current State: 14:[21, 6, 4], Operations: ['22-18=4'] Exploring Operation: 21*4=84, Resulting Numbers: [6, 84] Generated Node #3: [6, 84] from Operation: 21*4=84 Current State: 14:[6, 84], Operations: ['22-18=4', '21*4=84'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[21, 6, 18, 22], Operations: [] Exploring Operation: 21-18=3, Resulting Numbers: [6, 22, 3] Generated Node #0,0: 14:[6, 22, 3] Operation: 21-18=3 Exploring Operation: 22-18=4, Resulting Numbers: [21, 6, 4] Generated Node #0,1: 14:[21, 6, 4] Operation: 22-18=4 Exploring Operation: 22-21=1, Resulting Numbers: [6, 18, 1] Generated Node #0,2: 14:[6, 18, 1] Operation: 22-21=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[6, 18, 1], Operations: ['22-21=1'] Exploring Operation: 18-6=12, Resulting Numbers: [1, 12] Generated Node #0,2,0: 14:[1, 12] Operation: 18-6=12 Exploring Operation: 6+1=7, Resulting Numbers: [18, 7] Generated Node #0,2,1: 14:[18, 7] Operation: 6+1=7 Exploring Operation: 18/6=3, Resulting Numbers: [1, 3] Generated Node #0,2,2: 14:[1, 3] Operation: 18/6=3 Moving to Node #0,2,2 Current State: 14:[1, 3], Operations: ['22-21=1', '18/6=3'] Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[1, 12], Operations: ['22-21=1', '18-6=12'] Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[18, 7], Operations: ['22-21=1', '6+1=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,14 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[6, 22, 3], Operations: ['21-18=3'] Exploring Operation: 6/3=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 14:[22, 2] Operation: 6/3=2 Exploring Operation: 22-6=16, Resulting Numbers: [3, 16] Generated Node #0,0,1: 14:[3, 16] Operation: 22-6=16 Exploring Operation: 22-3=19, Resulting Numbers: [6, 19] Generated Node #0,0,2: 14:[6, 19] Operation: 22-3=19 Moving to Node #0,0,1 Current State: 14:[3, 16], Operations: ['21-18=3', '22-6=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,14 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[6, 19], Operations: ['21-18=3', '22-3=19'] Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,14 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[22, 2], Operations: ['21-18=3', '6/3=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,14 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[21, 6, 4], Operations: ['22-18=4'] Exploring Operation: 21-4=17, Resulting Numbers: [6, 17] Generated Node #0,1,0: 14:[6, 17] Operation: 21-4=17 Exploring Operation: 21-6=15, Resulting Numbers: [4, 15] Generated Node #0,1,1: 14:[4, 15] Operation: 21-6=15 Exploring Operation: 6-4=2, Resulting Numbers: [21, 2] Generated Node #0,1,2: 14:[21, 2] Operation: 6-4=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[4, 15], Operations: ['22-18=4', '21-6=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,14 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[6, 17], Operations: ['22-18=4', '21-4=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 14:[21, 2], Operations: ['22-18=4', '6-4=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,14 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 36, 8, 24, 10 ]
98
[ "36*24=864", "864/8=108", "108-10=98" ]
Current State: 98:[36, 8, 24, 10], Operations: [] Exploring Operation: 36*24=864, Resulting Numbers: [8, 10, 864] Generated Node #2: [8, 10, 864] from Operation: 36*24=864 Current State: 98:[8, 10, 864], Operations: ['36*24=864'] Exploring Operation: 864/8=108, Resulting Numbers: [10, 108] Generated Node #3: [10, 108] from Operation: 864/8=108 Current State: 98:[10, 108], Operations: ['36*24=864', '864/8=108'] Exploring Operation: 108-10=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[36, 8, 24, 10], Operations: [] Exploring Operation: 36-24=12, Resulting Numbers: [8, 10, 12] Generated Node #0,0: 98:[8, 10, 12] Operation: 36-24=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[8, 10, 12], Operations: ['36-24=12'] Exploring Operation: 12-10=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 98:[8, 2] Operation: 12-10=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[8, 2], Operations: ['36-24=12', '12-10=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 15, 91, 8, 80 ]
67
[ "15-8=7", "91/7=13", "80-13=67" ]
Current State: 67:[15, 91, 8, 80], Operations: [] Exploring Operation: 15-8=7, Resulting Numbers: [91, 80, 7] Generated Node #2: [91, 80, 7] from Operation: 15-8=7 Current State: 67:[91, 80, 7], Operations: ['15-8=7'] Exploring Operation: 91/7=13, Resulting Numbers: [80, 13] Generated Node #3: [80, 13] from Operation: 91/7=13 Current State: 67:[80, 13], Operations: ['15-8=7', '91/7=13'] Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[15, 91, 8, 80], Operations: [] Exploring Operation: 80-8=72, Resulting Numbers: [15, 91, 72] Generated Node #0,0: 67:[15, 91, 72] Operation: 80-8=72 Exploring Operation: 91-8=83, Resulting Numbers: [15, 80, 83] Generated Node #0,1: 67:[15, 80, 83] Operation: 91-8=83 Exploring Operation: 15+8=23, Resulting Numbers: [91, 80, 23] Generated Node #0,2: 67:[91, 80, 23] Operation: 15+8=23 Exploring Operation: 80-15=65, Resulting Numbers: [91, 8, 65] Generated Node #0,3: 67:[91, 8, 65] Operation: 80-15=65 Exploring Operation: 91-15=76, Resulting Numbers: [8, 80, 76] Generated Node #0,4: 67:[8, 80, 76] Operation: 91-15=76 Moving to Node #0,0 Current State: 67:[15, 91, 72], Operations: ['80-8=72'] Exploring Operation: 15+72=87, Resulting Numbers: [91, 87] Generated Node #0,0,0: 67:[91, 87] Operation: 15+72=87 Exploring Operation: 72-15=57, Resulting Numbers: [91, 57] Generated Node #0,0,1: 67:[91, 57] Operation: 72-15=57 Exploring Operation: 15+91=106, Resulting Numbers: [72, 106] Generated Node #0,0,2: 67:[72, 106] Operation: 15+91=106 Exploring Operation: 91-72=19, Resulting Numbers: [15, 19] Generated Node #0,0,3: 67:[15, 19] Operation: 91-72=19 Exploring Operation: 91-15=76, Resulting Numbers: [72, 76] Generated Node #0,0,4: 67:[72, 76] Operation: 91-15=76 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 67:[72, 76], Operations: ['80-8=72', '91-15=76'] Exploring Operation: 72*76=5472, Resulting Numbers: [5472] 5472,67 unequal: No Solution Exploring Operation: 72+76=148, Resulting Numbers: [148] 148,67 unequal: No Solution Exploring Operation: 76-72=4, Resulting Numbers: [4] 4,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[91, 57], Operations: ['80-8=72', '72-15=57'] Exploring Operation: 91*57=5187, Resulting Numbers: [5187] 5187,67 unequal: No Solution Exploring Operation: 91-57=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 91+57=148, Resulting Numbers: [148] 148,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[91, 87], Operations: ['80-8=72', '15+72=87'] Exploring Operation: 91-87=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 91*87=7917, Resulting Numbers: [7917] 7917,67 unequal: No Solution Exploring Operation: 91+87=178, Resulting Numbers: [178] 178,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[72, 106], Operations: ['80-8=72', '15+91=106'] Exploring Operation: 106-72=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 72+106=178, Resulting Numbers: [178] 178,67 unequal: No Solution Exploring Operation: 72*106=7632, Resulting Numbers: [7632] 7632,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 67:[15, 19], Operations: ['80-8=72', '91-72=19'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,67 unequal: No Solution Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 67:[91, 80, 23], Operations: ['15+8=23'] Exploring Operation: 91-80=11, Resulting Numbers: [23, 11] Generated Node #0,2,0: 67:[23, 11] Operation: 91-80=11 Exploring Operation: 80+23=103, Resulting Numbers: [91, 103] Generated Node #0,2,1: 67:[91, 103] Operation: 80+23=103 Exploring Operation: 91+23=114, Resulting Numbers: [80, 114] Generated Node #0,2,2: 67:[80, 114] Operation: 91+23=114 Exploring Operation: 91-23=68, Resulting Numbers: [80, 68] Generated Node #0,2,3: 67:[80, 68] Operation: 91-23=68 Exploring Operation: 80-23=57, Resulting Numbers: [91, 57] Generated Node #0,2,4: 67:[91, 57] Operation: 80-23=57 Moving to Node #0,1 Current State: 67:[15, 80, 83], Operations: ['91-8=83'] Exploring Operation: 15+80=95, Resulting Numbers: [83, 95] Generated Node #0,1,0: 67:[83, 95] Operation: 15+80=95 Exploring Operation: 83-15=68, Resulting Numbers: [80, 68] Generated Node #0,1,1: 67:[80, 68] Operation: 83-15=68 Exploring Operation: 80-15=65, Resulting Numbers: [83, 65] Generated Node #0,1,2: 67:[83, 65] Operation: 80-15=65 Exploring Operation: 15+83=98, Resulting Numbers: [80, 98] Generated Node #0,1,3: 67:[80, 98] Operation: 15+83=98 Exploring Operation: 83-80=3, Resulting Numbers: [15, 3] Generated Node #0,1,4: 67:[15, 3] Operation: 83-80=3 Moving to Node #0,4 Current State: 67:[8, 80, 76], Operations: ['91-15=76'] Exploring Operation: 76-8=68, Resulting Numbers: [80, 68] Generated Node #0,4,0: 67:[80, 68] Operation: 76-8=68 Exploring Operation: 8+76=84, Resulting Numbers: [80, 84] Generated Node #0,4,1: 67:[80, 84] Operation: 8+76=84 Exploring Operation: 80/8=10, Resulting Numbers: [76, 10] Generated Node #0,4,2: 67:[76, 10] Operation: 80/8=10 Exploring Operation: 8+80=88, Resulting Numbers: [76, 88] Generated Node #0,4,3: 67:[76, 88] Operation: 8+80=88 Exploring Operation: 80-8=72, Resulting Numbers: [76, 72] Generated Node #0,4,4: 67:[76, 72] Operation: 80-8=72 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 67:[80, 68], Operations: ['91-15=76', '76-8=68'] Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,67 unequal: No Solution Exploring Operation: 80+68=148, Resulting Numbers: [148] 148,67 unequal: No Solution Exploring Operation: 80*68=5440, Resulting Numbers: [5440] 5440,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 67:[76, 72], Operations: ['91-15=76', '80-8=72'] Exploring Operation: 76-72=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 76+72=148, Resulting Numbers: [148] 148,67 unequal: No Solution Exploring Operation: 76*72=5472, Resulting Numbers: [5472] 5472,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 67:[80, 84], Operations: ['91-15=76', '8+76=84'] Exploring Operation: 80+84=164, Resulting Numbers: [164] 164,67 unequal: No Solution Exploring Operation: 80*84=6720, Resulting Numbers: [6720] 6720,67 unequal: No Solution Exploring Operation: 84-80=4, Resulting Numbers: [4] 4,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 67:[76, 88], Operations: ['91-15=76', '8+80=88'] Exploring Operation: 76*88=6688, Resulting Numbers: [6688] 6688,67 unequal: No Solution Exploring Operation: 88-76=12, Resulting Numbers: [12] 12,67 unequal: No Solution Exploring Operation: 76+88=164, Resulting Numbers: [164] 164,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 67:[76, 10], Operations: ['91-15=76', '80/8=10'] Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,67 unequal: No Solution Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 67:[91, 8, 65], Operations: ['80-15=65'] Exploring Operation: 91-8=83, Resulting Numbers: [65, 83] Generated Node #0,3,0: 67:[65, 83] Operation: 91-8=83 Exploring Operation: 91-65=26, Resulting Numbers: [8, 26] Generated Node #0,3,1: 67:[8, 26] Operation: 91-65=26 Exploring Operation: 91+8=99, Resulting Numbers: [65, 99] Generated Node #0,3,2: 67:[65, 99] Operation: 91+8=99 Exploring Operation: 65-8=57, Resulting Numbers: [91, 57] Generated Node #0,3,3: 67:[91, 57] Operation: 65-8=57 Exploring Operation: 8+65=73, Resulting Numbers: [91, 73] Generated Node #0,3,4: 67:[91, 73] Operation: 8+65=73 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 67:[65, 83], Operations: ['80-15=65', '91-8=83'] Exploring Operation: 83-65=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 65*83=5395, Resulting Numbers: [5395] 5395,67 unequal: No Solution Exploring Operation: 65+83=148, Resulting Numbers: [148] 148,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 67:[91, 73], Operations: ['80-15=65', '8+65=73'] Exploring Operation: 91+73=164, Resulting Numbers: [164] 164,67 unequal: No Solution Exploring Operation: 91*73=6643, Resulting Numbers: [6643] 6643,67 unequal: No Solution Exploring Operation: 91-73=18, Resulting Numbers: [18] 18,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 67:[65, 99], Operations: ['80-15=65', '91+8=99'] Exploring Operation: 99-65=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 65+99=164, Resulting Numbers: [164] 164,67 unequal: No Solution Exploring Operation: 65*99=6435, Resulting Numbers: [6435] 6435,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 67:[91, 57], Operations: ['80-15=65', '65-8=57'] Exploring Operation: 91*57=5187, Resulting Numbers: [5187] 5187,67 unequal: No Solution Exploring Operation: 91-57=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 91+57=148, Resulting Numbers: [148] 148,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 67:[8, 26], Operations: ['80-15=65', '91-65=26'] Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,67 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 67:[80, 68], Operations: ['15+8=23', '91-23=68'] Exploring Operation: 80*68=5440, Resulting Numbers: [5440] 5440,67 unequal: No Solution Exploring Operation: 80+68=148, Resulting Numbers: [148] 148,67 unequal: No Solution Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[80, 68], Operations: ['91-8=83', '83-15=68'] Exploring Operation: 80*68=5440, Resulting Numbers: [5440] 5440,67 unequal: No Solution Exploring Operation: 80+68=148, Resulting Numbers: [148] 148,67 unequal: No Solution Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[83, 65], Operations: ['91-8=83', '80-15=65'] Exploring Operation: 83-65=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 83*65=5395, Resulting Numbers: [5395] 5395,67 unequal: No Solution Exploring Operation: 83+65=148, Resulting Numbers: [148] 148,67 unequal: No Solution Moving to Node #0,2,4 Current State: 67:[91, 57], Operations: ['15+8=23', '80-23=57'] Exploring Operation: 91-57=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 91*57=5187, Resulting Numbers: [5187] 5187,67 unequal: No Solution Exploring Operation: 91+57=148, Resulting Numbers: [148] 148,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[80, 98], Operations: ['91-8=83', '15+83=98'] Exploring Operation: 80*98=7840, Resulting Numbers: [7840] 7840,67 unequal: No Solution Exploring Operation: 98-80=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 80+98=178, Resulting Numbers: [178] 178,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[83, 95], Operations: ['91-8=83', '15+80=95'] Exploring Operation: 83*95=7885, Resulting Numbers: [7885] 7885,67 unequal: No Solution Exploring Operation: 95-83=12, Resulting Numbers: [12] 12,67 unequal: No Solution Exploring Operation: 83+95=178, Resulting Numbers: [178] 178,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[91, 103], Operations: ['15+8=23', '80+23=103'] Exploring Operation: 91*103=9373, Resulting Numbers: [9373] 9373,67 unequal: No Solution Exploring Operation: 91+103=194, Resulting Numbers: [194] 194,67 unequal: No Solution Exploring Operation: 103-91=12, Resulting Numbers: [12] 12,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[80, 114], Operations: ['15+8=23', '91+23=114'] Exploring Operation: 80*114=9120, Resulting Numbers: [9120] 9120,67 unequal: No Solution Exploring Operation: 80+114=194, Resulting Numbers: [194] 194,67 unequal: No Solution Exploring Operation: 114-80=34, Resulting Numbers: [34] 34,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[23, 11], Operations: ['15+8=23', '91-80=11'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,67 unequal: No Solution Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 23*11=253, Resulting Numbers: [253] 253,67 unequal: No Solution Moving to Node #0,1,4 Current State: 67:[15, 3], Operations: ['91-8=83', '83-80=3'] Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,67 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,67 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 10, 80, 41, 52 ]
19
[ "80/10=8", "52-41=11", "8+11=19" ]
Current State: 19:[10, 80, 41, 52], Operations: [] Exploring Operation: 80/10=8, Resulting Numbers: [41, 52, 8] Generated Node #2: [41, 52, 8] from Operation: 80/10=8 Current State: 19:[41, 52, 8], Operations: ['80/10=8'] Exploring Operation: 52-41=11, Resulting Numbers: [8, 11] Generated Node #3: [8, 11] from Operation: 52-41=11 Current State: 19:[8, 11], Operations: ['80/10=8', '52-41=11'] Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[10, 80, 41, 52], Operations: [] Exploring Operation: 80-41=39, Resulting Numbers: [10, 52, 39] Generated Node #0,0: 19:[10, 52, 39] Operation: 80-41=39 Exploring Operation: 80-52=28, Resulting Numbers: [10, 41, 28] Generated Node #0,1: 19:[10, 41, 28] Operation: 80-52=28 Moving to Node #0,1 Current State: 19:[10, 41, 28], Operations: ['80-52=28'] Exploring Operation: 41-10=31, Resulting Numbers: [28, 31] Generated Node #0,1,0: 19:[28, 31] Operation: 41-10=31 Exploring Operation: 41-28=13, Resulting Numbers: [10, 13] Generated Node #0,1,1: 19:[10, 13] Operation: 41-28=13 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[10, 13], Operations: ['80-52=28', '41-28=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[28, 31], Operations: ['80-52=28', '41-10=31'] Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 19:[10, 52, 39], Operations: ['80-41=39'] Exploring Operation: 52-10=42, Resulting Numbers: [39, 42] Generated Node #0,0,0: 19:[39, 42] Operation: 52-10=42 Exploring Operation: 52-39=13, Resulting Numbers: [10, 13] Generated Node #0,0,1: 19:[10, 13] Operation: 52-39=13 Moving to Node #0,0,1 Current State: 19:[10, 13], Operations: ['80-41=39', '52-39=13'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[39, 42], Operations: ['80-41=39', '52-10=42'] Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,19 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,19 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 8, 54, 27, 40 ]
34
[ "40-8=32", "54/27=2", "32+2=34" ]
Current State: 34:[8, 54, 27, 40], Operations: [] Exploring Operation: 40-8=32, Resulting Numbers: [54, 27, 32] Generated Node #2: [54, 27, 32] from Operation: 40-8=32 Current State: 34:[54, 27, 32], Operations: ['40-8=32'] Exploring Operation: 54/27=2, Resulting Numbers: [32, 2] Generated Node #3: [32, 2] from Operation: 54/27=2 Current State: 34:[32, 2], Operations: ['40-8=32', '54/27=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[8, 54, 27, 40], Operations: [] Exploring Operation: 54-27=27, Resulting Numbers: [8, 40, 27] Generated Node #0,0: 34:[8, 40, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [8, 40, 2] Generated Node #0,1: 34:[8, 40, 2] Operation: 54/27=2 Exploring Operation: 54-40=14, Resulting Numbers: [8, 27, 14] Generated Node #0,2: 34:[8, 27, 14] Operation: 54-40=14 Moving to Node #0,1 Current State: 34:[8, 40, 2], Operations: ['54/27=2'] Exploring Operation: 8*2=16, Resulting Numbers: [40, 16] Generated Node #0,1,0: 34:[40, 16] Operation: 8*2=16 Exploring Operation: 40-8=32, Resulting Numbers: [2, 32] Generated Node #0,1,1: 34:[2, 32] Operation: 40-8=32 Exploring Operation: 40/8=5, Resulting Numbers: [2, 5] Generated Node #0,1,2: 34:[2, 5] Operation: 40/8=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[2, 32], Operations: ['54/27=2', '40-8=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[8, 54, 27, 40], Operations: [] Exploring Operation: 54/27=2, Resulting Numbers: [8, 40, 2] Generated Node #0,1: 34:[8, 40, 2] Operation: 54/27=2 Moving to Node #0,1 Current State: 34:[8, 40, 2], Operations: ['54/27=2'] Exploring Operation: 40-8=32, Resulting Numbers: [2, 32] Generated Node #0,1,1: 34:[2, 32] Operation: 40-8=32 Moving to Node #0,1,1 Current State: 34:[2, 32], Operations: ['54/27=2', '40-8=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 15, 61, 54, 43 ]
45
[ "15*54=810", "61-43=18", "810/18=45" ]
Current State: 45:[15, 61, 54, 43], Operations: [] Exploring Operation: 15*54=810, Resulting Numbers: [61, 43, 810] Generated Node #2: [61, 43, 810] from Operation: 15*54=810 Current State: 45:[61, 43, 810], Operations: ['15*54=810'] Exploring Operation: 61-43=18, Resulting Numbers: [810, 18] Generated Node #3: [810, 18] from Operation: 61-43=18 Current State: 45:[810, 18], Operations: ['15*54=810', '61-43=18'] Exploring Operation: 810/18=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[15, 61, 54, 43], Operations: [] Exploring Operation: 54-43=11, Resulting Numbers: [15, 61, 11] Generated Node #0,0: 45:[15, 61, 11] Operation: 54-43=11 Exploring Operation: 61-43=18, Resulting Numbers: [15, 54, 18] Generated Node #0,1: 45:[15, 54, 18] Operation: 61-43=18 Exploring Operation: 61-15=46, Resulting Numbers: [54, 43, 46] Generated Node #0,2: 45:[54, 43, 46] Operation: 61-15=46 Exploring Operation: 61-54=7, Resulting Numbers: [15, 43, 7] Generated Node #0,3: 45:[15, 43, 7] Operation: 61-54=7 Exploring Operation: 54-15=39, Resulting Numbers: [61, 43, 39] Generated Node #0,4: 45:[61, 43, 39] Operation: 54-15=39 Start Sub Search at level 1: Moving to Node #0,3 Current State: 45:[15, 43, 7], Operations: ['61-54=7'] Exploring Operation: 15+7=22, Resulting Numbers: [43, 22] Generated Node #0,3,0: 45:[43, 22] Operation: 15+7=22 Exploring Operation: 15+43=58, Resulting Numbers: [7, 58] Generated Node #0,3,1: 45:[7, 58] Operation: 15+43=58 Exploring Operation: 43+7=50, Resulting Numbers: [15, 50] Generated Node #0,3,2: 45:[15, 50] Operation: 43+7=50 Exploring Operation: 43-7=36, Resulting Numbers: [15, 36] Generated Node #0,3,3: 45:[15, 36] Operation: 43-7=36 Exploring Operation: 15-7=8, Resulting Numbers: [43, 8] Generated Node #0,3,4: 45:[43, 8] Operation: 15-7=8 Moving to Node #0,3,4 Current State: 45:[43, 8], Operations: ['61-54=7', '15-7=8'] Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,45 unequal: No Solution Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[15, 50], Operations: ['61-54=7', '43+7=50'] Exploring Operation: 15+50=65, Resulting Numbers: [65] 65,45 unequal: No Solution Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,45 unequal: No Solution Exploring Operation: 15*50=750, Resulting Numbers: [750] 750,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[43, 22], Operations: ['61-54=7', '15+7=22'] Exploring Operation: 43*22=946, Resulting Numbers: [946] 946,45 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[15, 36], Operations: ['61-54=7', '43-7=36'] Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[7, 58], Operations: ['61-54=7', '15+43=58'] Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,45 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 7*58=406, Resulting Numbers: [406] 406,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[15, 54, 18], Operations: ['61-43=18'] Exploring Operation: 54-18=36, Resulting Numbers: [15, 36] Generated Node #0,1,0: 45:[15, 36] Operation: 54-18=36 Exploring Operation: 18-15=3, Resulting Numbers: [54, 3] Generated Node #0,1,1: 45:[54, 3] Operation: 18-15=3 Exploring Operation: 54-15=39, Resulting Numbers: [18, 39] Generated Node #0,1,2: 45:[18, 39] Operation: 54-15=39 Exploring Operation: 54/18=3, Resulting Numbers: [15, 3] Generated Node #0,1,3: 45:[15, 3] Operation: 54/18=3 Exploring Operation: 15+18=33, Resulting Numbers: [54, 33] Generated Node #0,1,4: 45:[54, 33] Operation: 15+18=33 Moving to Node #0,1,3 Current State: 45:[15, 3], Operations: ['61-43=18', '54/18=3'] Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[15, 61, 54, 43], Operations: [] Exploring Operation: 61-43=18, Resulting Numbers: [15, 54, 18] Generated Node #0,1: 45:[15, 54, 18] Operation: 61-43=18 Moving to Node #0,1 Current State: 45:[15, 54, 18], Operations: ['61-43=18'] Exploring Operation: 54/18=3, Resulting Numbers: [15, 3] Generated Node #0,1,3: 45:[15, 3] Operation: 54/18=3 Moving to Node #0,1,3 Current State: 45:[15, 3], Operations: ['61-43=18', '54/18=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 75, 9, 62, 85 ]
43
[ "75-9=66", "85-62=23", "66-23=43" ]
Current State: 43:[75, 9, 62, 85], Operations: [] Exploring Operation: 75-9=66, Resulting Numbers: [62, 85, 66] Generated Node #2: [62, 85, 66] from Operation: 75-9=66 Current State: 43:[62, 85, 66], Operations: ['75-9=66'] Exploring Operation: 85-62=23, Resulting Numbers: [66, 23] Generated Node #3: [66, 23] from Operation: 85-62=23 Current State: 43:[66, 23], Operations: ['75-9=66', '85-62=23'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[75, 9, 62, 85], Operations: [] Exploring Operation: 75-9=66, Resulting Numbers: [62, 85, 66] Generated Node #0,0: 43:[62, 85, 66] Operation: 75-9=66 Exploring Operation: 62-9=53, Resulting Numbers: [75, 85, 53] Generated Node #0,1: 43:[75, 85, 53] Operation: 62-9=53 Moving to Node #0,0 Current State: 43:[62, 85, 66], Operations: ['75-9=66'] Exploring Operation: 85-62=23, Resulting Numbers: [66, 23] Generated Node #0,0,0: 43:[66, 23] Operation: 85-62=23 Exploring Operation: 85-66=19, Resulting Numbers: [62, 19] Generated Node #0,0,1: 43:[62, 19] Operation: 85-66=19 Moving to Node #0,1 Current State: 43:[75, 85, 53], Operations: ['62-9=53'] Exploring Operation: 85-75=10, Resulting Numbers: [53, 10] Generated Node #0,1,0: 43:[53, 10] Operation: 85-75=10 Exploring Operation: 85-53=32, Resulting Numbers: [75, 32] Generated Node #0,1,1: 43:[75, 32] Operation: 85-53=32 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[53, 10], Operations: ['62-9=53', '85-75=10'] Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[75, 9, 62, 85], Operations: [] Exploring Operation: 62-9=53, Resulting Numbers: [75, 85, 53] Generated Node #0,1: 43:[75, 85, 53] Operation: 62-9=53 Moving to Node #0,1 Current State: 43:[75, 85, 53], Operations: ['62-9=53'] Exploring Operation: 85-75=10, Resulting Numbers: [53, 10] Generated Node #0,1,0: 43:[53, 10] Operation: 85-75=10 Moving to Node #0,1,0 Current State: 43:[53, 10], Operations: ['62-9=53', '85-75=10'] Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 90, 45, 19, 82 ]
61
[ "90/45=2", "82-19=63", "63-2=61" ]
Current State: 61:[90, 45, 19, 82], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [19, 82, 2] Generated Node #2: [19, 82, 2] from Operation: 90/45=2 Current State: 61:[19, 82, 2], Operations: ['90/45=2'] Exploring Operation: 82-19=63, Resulting Numbers: [2, 63] Generated Node #3: [2, 63] from Operation: 82-19=63 Current State: 61:[2, 63], Operations: ['90/45=2', '82-19=63'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[90, 45, 19, 82], Operations: [] Exploring Operation: 90-45=45, Resulting Numbers: [19, 82, 45] Generated Node #0,0: 61:[19, 82, 45] Operation: 90-45=45 Exploring Operation: 90-19=71, Resulting Numbers: [45, 82, 71] Generated Node #0,1: 61:[45, 82, 71] Operation: 90-19=71 Exploring Operation: 45+19=64, Resulting Numbers: [90, 82, 64] Generated Node #0,2: 61:[90, 82, 64] Operation: 45+19=64 Exploring Operation: 82-19=63, Resulting Numbers: [90, 45, 63] Generated Node #0,3: 61:[90, 45, 63] Operation: 82-19=63 Moving to Node #0,1 Current State: 61:[45, 82, 71], Operations: ['90-19=71'] Exploring Operation: 71-45=26, Resulting Numbers: [82, 26] Generated Node #0,1,0: 61:[82, 26] Operation: 71-45=26 Exploring Operation: 82-45=37, Resulting Numbers: [71, 37] Generated Node #0,1,1: 61:[71, 37] Operation: 82-45=37 Exploring Operation: 82-71=11, Resulting Numbers: [45, 11] Generated Node #0,1,2: 61:[45, 11] Operation: 82-71=11 Exploring Operation: 45+82=127, Resulting Numbers: [71, 127] Generated Node #0,1,3: 61:[71, 127] Operation: 45+82=127 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[71, 37], Operations: ['90-19=71', '82-45=37'] Exploring Operation: 71*37=2627, Resulting Numbers: [2627] 2627,61 unequal: No Solution Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 71+37=108, Resulting Numbers: [108] 108,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[82, 26], Operations: ['90-19=71', '71-45=26'] Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,61 unequal: No Solution Exploring Operation: 82+26=108, Resulting Numbers: [108] 108,61 unequal: No Solution Exploring Operation: 82*26=2132, Resulting Numbers: [2132] 2132,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[45, 11], Operations: ['90-19=71', '82-71=11'] Exploring Operation: 45*11=495, Resulting Numbers: [495] 495,61 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 45+11=56, Resulting Numbers: [56] 56,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 61:[71, 127], Operations: ['90-19=71', '45+82=127'] Exploring Operation: 71*127=9017, Resulting Numbers: [9017] 9017,61 unequal: No Solution Exploring Operation: 71+127=198, Resulting Numbers: [198] 198,61 unequal: No Solution Exploring Operation: 127-71=56, Resulting Numbers: [56] 56,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 61:[90, 45, 63], Operations: ['82-19=63'] Exploring Operation: 63-45=18, Resulting Numbers: [90, 18] Generated Node #0,3,0: 61:[90, 18] Operation: 63-45=18 Exploring Operation: 90/45=2, Resulting Numbers: [63, 2] Generated Node #0,3,1: 61:[63, 2] Operation: 90/45=2 Exploring Operation: 90-45=45, Resulting Numbers: [63, 45] Generated Node #0,3,2: 61:[63, 45] Operation: 90-45=45 Exploring Operation: 90-63=27, Resulting Numbers: [45, 27] Generated Node #0,3,3: 61:[45, 27] Operation: 90-63=27 Moving to Node #0,2 Current State: 61:[90, 82, 64], Operations: ['45+19=64'] Exploring Operation: 82-64=18, Resulting Numbers: [90, 18] Generated Node #0,2,0: 61:[90, 18] Operation: 82-64=18 Exploring Operation: 90-82=8, Resulting Numbers: [64, 8] Generated Node #0,2,1: 61:[64, 8] Operation: 90-82=8 Exploring Operation: 90-64=26, Resulting Numbers: [82, 26] Generated Node #0,2,2: 61:[82, 26] Operation: 90-64=26 Exploring Operation: 90+82=172, Resulting Numbers: [64, 172] Generated Node #0,2,3: 61:[64, 172] Operation: 90+82=172 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[64, 8], Operations: ['45+19=64', '90-82=8'] Exploring Operation: 64+8=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,61 unequal: No Solution Exploring Operation: 64*8=512, Resulting Numbers: [512] 512,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[82, 26], Operations: ['45+19=64', '90-64=26'] Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,61 unequal: No Solution Exploring Operation: 82+26=108, Resulting Numbers: [108] 108,61 unequal: No Solution Exploring Operation: 82*26=2132, Resulting Numbers: [2132] 2132,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[90, 18], Operations: ['45+19=64', '82-64=18'] Exploring Operation: 90*18=1620, Resulting Numbers: [1620] 1620,61 unequal: No Solution Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,61 unequal: No Solution Exploring Operation: 90+18=108, Resulting Numbers: [108] 108,61 unequal: No Solution Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[64, 172], Operations: ['45+19=64', '90+82=172'] Exploring Operation: 64*172=11008, Resulting Numbers: [11008] 11008,61 unequal: No Solution Exploring Operation: 64+172=236, Resulting Numbers: [236] 236,61 unequal: No Solution Exploring Operation: 172-64=108, Resulting Numbers: [108] 108,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 61:[19, 82, 45], Operations: ['90-45=45'] Exploring Operation: 19+45=64, Resulting Numbers: [82, 64] Generated Node #0,0,0: 61:[82, 64] Operation: 19+45=64 Exploring Operation: 45-19=26, Resulting Numbers: [82, 26] Generated Node #0,0,1: 61:[82, 26] Operation: 45-19=26 Exploring Operation: 82-19=63, Resulting Numbers: [45, 63] Generated Node #0,0,2: 61:[45, 63] Operation: 82-19=63 Exploring Operation: 19+82=101, Resulting Numbers: [45, 101] Generated Node #0,0,3: 61:[45, 101] Operation: 19+82=101 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[45, 63], Operations: ['90-45=45', '82-19=63'] Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 45+63=108, Resulting Numbers: [108] 108,61 unequal: No Solution Exploring Operation: 45*63=2835, Resulting Numbers: [2835] 2835,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[82, 64], Operations: ['90-45=45', '19+45=64'] Exploring Operation: 82*64=5248, Resulting Numbers: [5248] 5248,61 unequal: No Solution Exploring Operation: 82+64=146, Resulting Numbers: [146] 146,61 unequal: No Solution Exploring Operation: 82-64=18, Resulting Numbers: [18] 18,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[82, 26], Operations: ['90-45=45', '45-19=26'] Exploring Operation: 82*26=2132, Resulting Numbers: [2132] 2132,61 unequal: No Solution Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,61 unequal: No Solution Exploring Operation: 82+26=108, Resulting Numbers: [108] 108,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 61:[45, 101], Operations: ['90-45=45', '19+82=101'] Exploring Operation: 101-45=56, Resulting Numbers: [56] 56,61 unequal: No Solution Exploring Operation: 45*101=4545, Resulting Numbers: [4545] 4545,61 unequal: No Solution Exploring Operation: 45+101=146, Resulting Numbers: [146] 146,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 61:[63, 45], Operations: ['82-19=63', '90-45=45'] Exploring Operation: 63*45=2835, Resulting Numbers: [2835] 2835,61 unequal: No Solution Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 63+45=108, Resulting Numbers: [108] 108,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[45, 27], Operations: ['82-19=63', '90-63=27'] Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,61 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[63, 2], Operations: ['82-19=63', '90/45=2'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[90, 45, 19, 82], Operations: [] Exploring Operation: 82-19=63, Resulting Numbers: [90, 45, 63] Generated Node #0,3: 61:[90, 45, 63] Operation: 82-19=63 Moving to Node #0,3 Current State: 61:[90, 45, 63], Operations: ['82-19=63'] Exploring Operation: 90/45=2, Resulting Numbers: [63, 2] Generated Node #0,3,1: 61:[63, 2] Operation: 90/45=2 Moving to Node #0,3,1 Current State: 61:[63, 2], Operations: ['82-19=63', '90/45=2'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
0.940104
hs_4
mult_heuristic
[ 42, 8, 14, 96 ]
36
[ "42/14=3", "96/8=12", "3*12=36" ]
Current State: 36:[42, 8, 14, 96], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [8, 96, 3] Generated Node #2: [8, 96, 3] from Operation: 42/14=3 Current State: 36:[8, 96, 3], Operations: ['42/14=3'] Exploring Operation: 96/8=12, Resulting Numbers: [3, 12] Generated Node #3: [3, 12] from Operation: 96/8=12 Current State: 36:[3, 12], Operations: ['42/14=3', '96/8=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[42, 8, 14, 96], Operations: [] Exploring Operation: 96-42=54, Resulting Numbers: [8, 14, 54] Generated Node #0,0: 36:[8, 14, 54] Operation: 96-42=54 Exploring Operation: 96/8=12, Resulting Numbers: [42, 14, 12] Generated Node #0,1: 36:[42, 14, 12] Operation: 96/8=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[42, 14, 12], Operations: ['96/8=12'] Exploring Operation: 14-12=2, Resulting Numbers: [42, 2] Generated Node #0,1,0: 36:[42, 2] Operation: 14-12=2 Exploring Operation: 42/14=3, Resulting Numbers: [12, 3] Generated Node #0,1,1: 36:[12, 3] Operation: 42/14=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[12, 3], Operations: ['96/8=12', '42/14=3'] Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[42, 8, 14, 96], Operations: [] Exploring Operation: 96/8=12, Resulting Numbers: [42, 14, 12] Generated Node #0,1: 36:[42, 14, 12] Operation: 96/8=12 Moving to Node #0,1 Current State: 36:[42, 14, 12], Operations: ['96/8=12'] Exploring Operation: 42/14=3, Resulting Numbers: [12, 3] Generated Node #0,1,1: 36:[12, 3] Operation: 42/14=3 Moving to Node #0,1,1 Current State: 36:[12, 3], Operations: ['96/8=12', '42/14=3'] Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 5, 2, 34, 33 ]
91
[ "34-5=29", "2*29=58", "33+58=91" ]
Current State: 91:[5, 2, 34, 33], Operations: [] Exploring Operation: 34-5=29, Resulting Numbers: [2, 33, 29] Generated Node #2: [2, 33, 29] from Operation: 34-5=29 Current State: 91:[2, 33, 29], Operations: ['34-5=29'] Exploring Operation: 2*29=58, Resulting Numbers: [33, 58] Generated Node #3: [33, 58] from Operation: 2*29=58 Current State: 91:[33, 58], Operations: ['34-5=29', '2*29=58'] Exploring Operation: 33+58=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[5, 2, 34, 33], Operations: [] Exploring Operation: 34-33=1, Resulting Numbers: [5, 2, 1] Generated Node #0,0: 91:[5, 2, 1] Operation: 34-33=1 Exploring Operation: 34+33=67, Resulting Numbers: [5, 2, 67] Generated Node #0,1: 91:[5, 2, 67] Operation: 34+33=67 Exploring Operation: 5+2=7, Resulting Numbers: [34, 33, 7] Generated Node #0,2: 91:[34, 33, 7] Operation: 5+2=7 Exploring Operation: 34/2=17, Resulting Numbers: [5, 33, 17] Generated Node #0,3: 91:[5, 33, 17] Operation: 34/2=17 Moving to Node #0,0 Current State: 91:[5, 2, 1], Operations: ['34-33=1'] Exploring Operation: 5*1=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 91:[2, 5] Operation: 5*1=5 Exploring Operation: 5+1=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 91:[2, 6] Operation: 5+1=6 Exploring Operation: 5+2=7, Resulting Numbers: [1, 7] Generated Node #0,0,2: 91:[1, 7] Operation: 5+2=7 Exploring Operation: 2+1=3, Resulting Numbers: [5, 3] Generated Node #0,0,3: 91:[5, 3] Operation: 2+1=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[2, 6], Operations: ['34-33=1', '5+1=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[1, 7], Operations: ['34-33=1', '5+2=7'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 91:[5, 3], Operations: ['34-33=1', '2+1=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[2, 5], Operations: ['34-33=1', '5*1=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 91:[5, 33, 17], Operations: ['34/2=17'] Exploring Operation: 33-17=16, Resulting Numbers: [5, 16] Generated Node #0,3,0: 91:[5, 16] Operation: 33-17=16 Exploring Operation: 5*17=85, Resulting Numbers: [33, 85] Generated Node #0,3,1: 91:[33, 85] Operation: 5*17=85 Exploring Operation: 17-5=12, Resulting Numbers: [33, 12] Generated Node #0,3,2: 91:[33, 12] Operation: 17-5=12 Exploring Operation: 33-5=28, Resulting Numbers: [17, 28] Generated Node #0,3,3: 91:[17, 28] Operation: 33-5=28 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 91:[5, 16], Operations: ['34/2=17', '33-17=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 91:[17, 28], Operations: ['34/2=17', '33-5=28'] Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 17*28=476, Resulting Numbers: [476] 476,91 unequal: No Solution Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 91:[33, 12], Operations: ['34/2=17', '17-5=12'] Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,91 unequal: No Solution Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,91 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 91:[33, 85], Operations: ['34/2=17', '5*17=85'] Exploring Operation: 85-33=52, Resulting Numbers: [52] 52,91 unequal: No Solution Exploring Operation: 33*85=2805, Resulting Numbers: [2805] 2805,91 unequal: No Solution Exploring Operation: 33+85=118, Resulting Numbers: [118] 118,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 91:[5, 2, 67], Operations: ['34+33=67'] Exploring Operation: 5*2=10, Resulting Numbers: [67, 10] Generated Node #0,1,0: 91:[67, 10] Operation: 5*2=10 Exploring Operation: 5+2=7, Resulting Numbers: [67, 7] Generated Node #0,1,1: 91:[67, 7] Operation: 5+2=7 Exploring Operation: 5+67=72, Resulting Numbers: [2, 72] Generated Node #0,1,2: 91:[2, 72] Operation: 5+67=72 Exploring Operation: 2+67=69, Resulting Numbers: [5, 69] Generated Node #0,1,3: 91:[5, 69] Operation: 2+67=69 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[67, 7], Operations: ['34+33=67', '5+2=7'] Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,91 unequal: No Solution Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,91 unequal: No Solution Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[2, 72], Operations: ['34+33=67', '5+67=72'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,91 unequal: No Solution Exploring Operation: 2*72=144, Resulting Numbers: [144] 144,91 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,91 unequal: No Solution Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 91:[5, 69], Operations: ['34+33=67', '2+67=69'] Exploring Operation: 5*69=345, Resulting Numbers: [345] 345,91 unequal: No Solution Exploring Operation: 5+69=74, Resulting Numbers: [74] 74,91 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[67, 10], Operations: ['34+33=67', '5*2=10'] Exploring Operation: 67*10=670, Resulting Numbers: [670] 670,91 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,91 unequal: No Solution Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 91:[34, 33, 7], Operations: ['5+2=7'] Exploring Operation: 34+33=67, Resulting Numbers: [7, 67] Generated Node #0,2,0: 91:[7, 67] Operation: 34+33=67 Exploring Operation: 34-7=27, Resulting Numbers: [33, 27] Generated Node #0,2,1: 91:[33, 27] Operation: 34-7=27 Exploring Operation: 34-33=1, Resulting Numbers: [7, 1] Generated Node #0,2,2: 91:[7, 1] Operation: 34-33=1 Exploring Operation: 33-7=26, Resulting Numbers: [34, 26] Generated Node #0,2,3: 91:[34, 26] Operation: 33-7=26 Moving to Node #0,2,2 Current State: 91:[7, 1], Operations: ['5+2=7', '34-33=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[7, 67], Operations: ['5+2=7', '34+33=67'] Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,91 unequal: No Solution Exploring Operation: 7+67=74, Resulting Numbers: [74] 74,91 unequal: No Solution Exploring Operation: 7*67=469, Resulting Numbers: [469] 469,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[34, 26], Operations: ['5+2=7', '33-7=26'] Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,91 unequal: No Solution Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,91 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[33, 27], Operations: ['5+2=7', '34-7=27'] Exploring Operation: 33*27=891, Resulting Numbers: [891] 891,91 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,91 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 79, 95, 53, 39 ]
76
[ "95-79=16", "53+39=92", "92-16=76" ]
Current State: 76:[79, 95, 53, 39], Operations: [] Exploring Operation: 95-79=16, Resulting Numbers: [53, 39, 16] Generated Node #2: [53, 39, 16] from Operation: 95-79=16 Current State: 76:[53, 39, 16], Operations: ['95-79=16'] Exploring Operation: 53+39=92, Resulting Numbers: [16, 92] Generated Node #3: [16, 92] from Operation: 53+39=92 Current State: 76:[16, 92], Operations: ['95-79=16', '53+39=92'] Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[79, 95, 53, 39], Operations: [] Exploring Operation: 95-79=16, Resulting Numbers: [53, 39, 16] Generated Node #0,0: 76:[53, 39, 16] Operation: 95-79=16 Exploring Operation: 95-53=42, Resulting Numbers: [79, 39, 42] Generated Node #0,1: 76:[79, 39, 42] Operation: 95-53=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[79, 39, 42], Operations: ['95-53=42'] Exploring Operation: 42-39=3, Resulting Numbers: [79, 3] Generated Node #0,1,0: 76:[79, 3] Operation: 42-39=3 Exploring Operation: 79-42=37, Resulting Numbers: [39, 37] Generated Node #0,1,1: 76:[39, 37] Operation: 79-42=37 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[39, 37], Operations: ['95-53=42', '79-42=37'] Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[79, 95, 53, 39], Operations: [] Exploring Operation: 95-53=42, Resulting Numbers: [79, 39, 42] Generated Node #0,1: 76:[79, 39, 42] Operation: 95-53=42 Moving to Node #0,1 Current State: 76:[79, 39, 42], Operations: ['95-53=42'] Exploring Operation: 79-42=37, Resulting Numbers: [39, 37] Generated Node #0,1,1: 76:[39, 37] Operation: 79-42=37 Moving to Node #0,1,1 Current State: 76:[39, 37], Operations: ['95-53=42', '79-42=37'] Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 44, 70, 99, 59 ]
53
[ "70-59=11", "99/11=9", "44+9=53" ]
Current State: 53:[44, 70, 99, 59], Operations: [] Exploring Operation: 70-59=11, Resulting Numbers: [44, 99, 11] Generated Node #2: [44, 99, 11] from Operation: 70-59=11 Current State: 53:[44, 99, 11], Operations: ['70-59=11'] Exploring Operation: 99/11=9, Resulting Numbers: [44, 9] Generated Node #3: [44, 9] from Operation: 99/11=9 Current State: 53:[44, 9], Operations: ['70-59=11', '99/11=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[44, 70, 99, 59], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [44, 59, 29] Generated Node #0,0: 53:[44, 59, 29] Operation: 99-70=29 Exploring Operation: 99-44=55, Resulting Numbers: [70, 59, 55] Generated Node #0,1: 53:[70, 59, 55] Operation: 99-44=55 Moving to Node #0,1 Current State: 53:[70, 59, 55], Operations: ['99-44=55'] Exploring Operation: 70-59=11, Resulting Numbers: [55, 11] Generated Node #0,1,0: 53:[55, 11] Operation: 70-59=11 Exploring Operation: 70-55=15, Resulting Numbers: [59, 15] Generated Node #0,1,1: 53:[59, 15] Operation: 70-55=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[55, 11], Operations: ['99-44=55', '70-59=11'] Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,53 unequal: No Solution Exploring Operation: 55+11=66, Resulting Numbers: [66] 66,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[59, 15], Operations: ['99-44=55', '70-55=15'] Exploring Operation: 59+15=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 53:[44, 59, 29], Operations: ['99-70=29'] Exploring Operation: 44+29=73, Resulting Numbers: [59, 73] Generated Node #0,0,0: 53:[59, 73] Operation: 44+29=73 Exploring Operation: 59-29=30, Resulting Numbers: [44, 30] Generated Node #0,0,1: 53:[44, 30] Operation: 59-29=30 Moving to Node #0,0,0 Current State: 53:[59, 73], Operations: ['99-70=29', '44+29=73'] Exploring Operation: 59+73=132, Resulting Numbers: [132] 132,53 unequal: No Solution Exploring Operation: 73-59=14, Resulting Numbers: [14] 14,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[44, 30], Operations: ['99-70=29', '59-29=30'] Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,53 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 3, 36, 67, 71 ]
27
[ "3*36=108", "71-67=4", "108/4=27" ]
Current State: 27:[3, 36, 67, 71], Operations: [] Exploring Operation: 3*36=108, Resulting Numbers: [67, 71, 108] Generated Node #2: [67, 71, 108] from Operation: 3*36=108 Current State: 27:[67, 71, 108], Operations: ['3*36=108'] Exploring Operation: 71-67=4, Resulting Numbers: [108, 4] Generated Node #3: [108, 4] from Operation: 71-67=4 Current State: 27:[108, 4], Operations: ['3*36=108', '71-67=4'] Exploring Operation: 108/4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[3, 36, 67, 71], Operations: [] Exploring Operation: 71-67=4, Resulting Numbers: [3, 36, 4] Generated Node #0,0: 27:[3, 36, 4] Operation: 71-67=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[3, 36, 4], Operations: ['71-67=4'] Exploring Operation: 36/4=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 27:[3, 9] Operation: 36/4=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[3, 9], Operations: ['71-67=4', '36/4=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[3, 36, 67, 71], Operations: [] Exploring Operation: 71-67=4, Resulting Numbers: [3, 36, 4] Generated Node #0,0: 27:[3, 36, 4] Operation: 71-67=4 Moving to Node #0,0 Current State: 27:[3, 36, 4], Operations: ['71-67=4'] Exploring Operation: 36/4=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 27:[3, 9] Operation: 36/4=9 Moving to Node #0,0,0 Current State: 27:[3, 9], Operations: ['71-67=4', '36/4=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 63, 30, 1, 3 ]
90
[ "63+30=93", "1*3=3", "93-3=90" ]
Current State: 90:[63, 30, 1, 3], Operations: [] Exploring Operation: 63+30=93, Resulting Numbers: [1, 3, 93] Generated Node #2: [1, 3, 93] from Operation: 63+30=93 Current State: 90:[1, 3, 93], Operations: ['63+30=93'] Exploring Operation: 1*3=3, Resulting Numbers: [93, 3] Generated Node #3: [93, 3] from Operation: 1*3=3 Current State: 90:[93, 3], Operations: ['63+30=93', '1*3=3'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[63, 30, 1, 3], Operations: [] Exploring Operation: 63/3=21, Resulting Numbers: [30, 1, 21] Generated Node #0,0: 90:[30, 1, 21] Operation: 63/3=21 Exploring Operation: 63+30=93, Resulting Numbers: [1, 3, 93] Generated Node #0,1: 90:[1, 3, 93] Operation: 63+30=93 Exploring Operation: 63-3=60, Resulting Numbers: [30, 1, 60] Generated Node #0,2: 90:[30, 1, 60] Operation: 63-3=60 Exploring Operation: 63-30=33, Resulting Numbers: [1, 3, 33] Generated Node #0,3: 90:[1, 3, 33] Operation: 63-30=33 Exploring Operation: 63-1=62, Resulting Numbers: [30, 3, 62] Generated Node #0,4: 90:[30, 3, 62] Operation: 63-1=62 Moving to Node #0,0 Current State: 90:[30, 1, 21], Operations: ['63/3=21'] Exploring Operation: 30*1=30, Resulting Numbers: [21, 30] Generated Node #0,0,0: 90:[21, 30] Operation: 30*1=30 Exploring Operation: 21-1=20, Resulting Numbers: [30, 20] Generated Node #0,0,1: 90:[30, 20] Operation: 21-1=20 Exploring Operation: 30/1=30, Resulting Numbers: [21, 30] Generated Node #0,0,2: 90:[21, 30] Operation: 30/1=30 Exploring Operation: 30-21=9, Resulting Numbers: [1, 9] Generated Node #0,0,3: 90:[1, 9] Operation: 30-21=9 Exploring Operation: 1*21=21, Resulting Numbers: [30, 21] Generated Node #0,0,4: 90:[30, 21] Operation: 1*21=21 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 90:[1, 9], Operations: ['63/3=21', '30-21=9'] Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[30, 20], Operations: ['63/3=21', '21-1=20'] Exploring Operation: 30*20=600, Resulting Numbers: [600] 600,90 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[21, 30], Operations: ['63/3=21', '30*1=30'] Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,90 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[21, 30], Operations: ['63/3=21', '30/1=30'] Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,90 unequal: No Solution Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,90 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 90:[30, 21], Operations: ['63/3=21', '1*21=21'] Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,90 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 90:[1, 3, 33], Operations: ['63-30=33'] Exploring Operation: 3-1=2, Resulting Numbers: [33, 2] Generated Node #0,3,0: 90:[33, 2] Operation: 3-1=2 Exploring Operation: 33/3=11, Resulting Numbers: [1, 11] Generated Node #0,3,1: 90:[1, 11] Operation: 33/3=11 Exploring Operation: 33-1=32, Resulting Numbers: [3, 32] Generated Node #0,3,2: 90:[3, 32] Operation: 33-1=32 Exploring Operation: 33-3=30, Resulting Numbers: [1, 30] Generated Node #0,3,3: 90:[1, 30] Operation: 33-3=30 Exploring Operation: 1*3=3, Resulting Numbers: [33, 3] Generated Node #0,3,4: 90:[33, 3] Operation: 1*3=3 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 90:[1, 30], Operations: ['63-30=33', '33-3=30'] Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 90:[1, 11], Operations: ['63-30=33', '33/3=11'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 90:[3, 32], Operations: ['63-30=33', '33-1=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,90 unequal: No Solution Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 90:[33, 2], Operations: ['63-30=33', '3-1=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,90 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 90:[33, 3], Operations: ['63-30=33', '1*3=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,90 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 90:[1, 3, 93], Operations: ['63+30=93'] Exploring Operation: 93-3=90, Resulting Numbers: [1, 90] Generated Node #0,1,0: 90:[1, 90] Operation: 93-3=90 Exploring Operation: 1*3=3, Resulting Numbers: [93, 3] Generated Node #0,1,1: 90:[93, 3] Operation: 1*3=3 Exploring Operation: 93-1=92, Resulting Numbers: [3, 92] Generated Node #0,1,2: 90:[3, 92] Operation: 93-1=92 Exploring Operation: 3-1=2, Resulting Numbers: [93, 2] Generated Node #0,1,3: 90:[93, 2] Operation: 3-1=2 Exploring Operation: 93/3=31, Resulting Numbers: [1, 31] Generated Node #0,1,4: 90:[1, 31] Operation: 93/3=31 Moving to Node #0,2 Current State: 90:[30, 1, 60], Operations: ['63-3=60'] Exploring Operation: 60-1=59, Resulting Numbers: [30, 59] Generated Node #0,2,0: 90:[30, 59] Operation: 60-1=59 Exploring Operation: 30*1=30, Resulting Numbers: [60, 30] Generated Node #0,2,1: 90:[60, 30] Operation: 30*1=30 Exploring Operation: 60-30=30, Resulting Numbers: [1, 30] Generated Node #0,2,2: 90:[1, 30] Operation: 60-30=30 Exploring Operation: 60/30=2, Resulting Numbers: [1, 2] Generated Node #0,2,3: 90:[1, 2] Operation: 60/30=2 Exploring Operation: 30+60=90, Resulting Numbers: [1, 90] Generated Node #0,2,4: 90:[1, 90] Operation: 30+60=90 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 90:[1, 30], Operations: ['63-3=60', '60-30=30'] Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 90:[1, 2], Operations: ['63-3=60', '60/30=2'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 90:[1, 90], Operations: ['63-3=60', '30+60=90'] Exploring Operation: 1+90=91, Resulting Numbers: [91] 91,90 unequal: No Solution Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[63, 30, 1, 3], Operations: [] Exploring Operation: 63-3=60, Resulting Numbers: [30, 1, 60] Generated Node #0,2: 90:[30, 1, 60] Operation: 63-3=60 Moving to Node #0,2 Current State: 90:[30, 1, 60], Operations: ['63-3=60'] Exploring Operation: 30+60=90, Resulting Numbers: [1, 90] Generated Node #0,2,4: 90:[1, 90] Operation: 30+60=90 Moving to Node #0,2,4 Current State: 90:[1, 90], Operations: ['63-3=60', '30+60=90'] Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.936632
hs_5
sum_heuristic
[ 2, 8, 3, 51 ]
68
[ "8/2=4", "51/3=17", "4*17=68" ]
Current State: 68:[2, 8, 3, 51], Operations: [] Exploring Operation: 8/2=4, Resulting Numbers: [3, 51, 4] Generated Node #2: [3, 51, 4] from Operation: 8/2=4 Current State: 68:[3, 51, 4], Operations: ['8/2=4'] Exploring Operation: 51/3=17, Resulting Numbers: [4, 17] Generated Node #3: [4, 17] from Operation: 51/3=17 Current State: 68:[4, 17], Operations: ['8/2=4', '51/3=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[2, 8, 3, 51], Operations: [] Exploring Operation: 51/3=17, Resulting Numbers: [2, 8, 17] Generated Node #0,0: 68:[2, 8, 17] Operation: 51/3=17 Exploring Operation: 8/2=4, Resulting Numbers: [3, 51, 4] Generated Node #0,1: 68:[3, 51, 4] Operation: 8/2=4 Exploring Operation: 51-8=43, Resulting Numbers: [2, 3, 43] Generated Node #0,2: 68:[2, 3, 43] Operation: 51-8=43 Exploring Operation: 8+51=59, Resulting Numbers: [2, 3, 59] Generated Node #0,3: 68:[2, 3, 59] Operation: 8+51=59 Exploring Operation: 8-3=5, Resulting Numbers: [2, 51, 5] Generated Node #0,4: 68:[2, 51, 5] Operation: 8-3=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[2, 8, 17], Operations: ['51/3=17'] Exploring Operation: 2*8=16, Resulting Numbers: [17, 16] Generated Node #0,0,0: 68:[17, 16] Operation: 2*8=16 Exploring Operation: 8/2=4, Resulting Numbers: [17, 4] Generated Node #0,0,1: 68:[17, 4] Operation: 8/2=4 Exploring Operation: 2*17=34, Resulting Numbers: [8, 34] Generated Node #0,0,2: 68:[8, 34] Operation: 2*17=34 Exploring Operation: 17-8=9, Resulting Numbers: [2, 9] Generated Node #0,0,3: 68:[2, 9] Operation: 17-8=9 Exploring Operation: 8-2=6, Resulting Numbers: [17, 6] Generated Node #0,0,4: 68:[17, 6] Operation: 8-2=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[17, 4], Operations: ['51/3=17', '8/2=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[2, 8, 3, 51], Operations: [] Exploring Operation: 51/3=17, Resulting Numbers: [2, 8, 17] Generated Node #0,0: 68:[2, 8, 17] Operation: 51/3=17 Moving to Node #0,0 Current State: 68:[2, 8, 17], Operations: ['51/3=17'] Exploring Operation: 8/2=4, Resulting Numbers: [17, 4] Generated Node #0,0,1: 68:[17, 4] Operation: 8/2=4 Moving to Node #0,0,1 Current State: 68:[17, 4], Operations: ['51/3=17', '8/2=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 26, 34, 14, 43 ]
28
[ "43-26=17", "34*14=476", "476/17=28" ]
Current State: 28:[26, 34, 14, 43], Operations: [] Exploring Operation: 43-26=17, Resulting Numbers: [34, 14, 17] Generated Node #2: [34, 14, 17] from Operation: 43-26=17 Current State: 28:[34, 14, 17], Operations: ['43-26=17'] Exploring Operation: 34*14=476, Resulting Numbers: [17, 476] Generated Node #3: [17, 476] from Operation: 34*14=476 Current State: 28:[17, 476], Operations: ['43-26=17', '34*14=476'] Exploring Operation: 476/17=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[26, 34, 14, 43], Operations: [] Exploring Operation: 43-26=17, Resulting Numbers: [34, 14, 17] Generated Node #0,0: 28:[34, 14, 17] Operation: 43-26=17 Exploring Operation: 34-26=8, Resulting Numbers: [14, 43, 8] Generated Node #0,1: 28:[14, 43, 8] Operation: 34-26=8 Exploring Operation: 43-34=9, Resulting Numbers: [26, 14, 9] Generated Node #0,2: 28:[26, 14, 9] Operation: 43-34=9 Exploring Operation: 43-14=29, Resulting Numbers: [26, 34, 29] Generated Node #0,3: 28:[26, 34, 29] Operation: 43-14=29 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[26, 14, 9], Operations: ['43-34=9'] Exploring Operation: 14-9=5, Resulting Numbers: [26, 5] Generated Node #0,2,0: 28:[26, 5] Operation: 14-9=5 Exploring Operation: 26+9=35, Resulting Numbers: [14, 35] Generated Node #0,2,1: 28:[14, 35] Operation: 26+9=35 Exploring Operation: 26-9=17, Resulting Numbers: [14, 17] Generated Node #0,2,2: 28:[14, 17] Operation: 26-9=17 Exploring Operation: 26-14=12, Resulting Numbers: [9, 12] Generated Node #0,2,3: 28:[9, 12] Operation: 26-14=12 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[26, 5], Operations: ['43-34=9', '14-9=5'] Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,28 unequal: No Solution Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,28 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 28:[14, 17], Operations: ['43-34=9', '26-9=17'] Exploring Operation: 14*17=238, Resulting Numbers: [238] 238,28 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 28:[9, 12], Operations: ['43-34=9', '26-14=12'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,28 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 28:[14, 35], Operations: ['43-34=9', '26+9=35'] Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,28 unequal: No Solution Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,28 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[34, 14, 17], Operations: ['43-26=17'] Exploring Operation: 34-17=17, Resulting Numbers: [14, 17] Generated Node #0,0,0: 28:[14, 17] Operation: 34-17=17 Exploring Operation: 34-14=20, Resulting Numbers: [17, 20] Generated Node #0,0,1: 28:[17, 20] Operation: 34-14=20 Exploring Operation: 34/17=2, Resulting Numbers: [14, 2] Generated Node #0,0,2: 28:[14, 2] Operation: 34/17=2 Exploring Operation: 17-14=3, Resulting Numbers: [34, 3] Generated Node #0,0,3: 28:[34, 3] Operation: 17-14=3 Moving to Node #0,0,2 Current State: 28:[14, 2], Operations: ['43-26=17', '34/17=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[26, 34, 14, 43], Operations: [] Exploring Operation: 43-26=17, Resulting Numbers: [34, 14, 17] Generated Node #0,0: 28:[34, 14, 17] Operation: 43-26=17 Moving to Node #0,0 Current State: 28:[34, 14, 17], Operations: ['43-26=17'] Exploring Operation: 34/17=2, Resulting Numbers: [14, 2] Generated Node #0,0,2: 28:[14, 2] Operation: 34/17=2 Moving to Node #0,0,2 Current State: 28:[14, 2], Operations: ['43-26=17', '34/17=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic
[ 57, 82, 98, 16 ]
89
[ "82-57=25", "98+16=114", "114-25=89" ]
Current State: 89:[57, 82, 98, 16], Operations: [] Exploring Operation: 82-57=25, Resulting Numbers: [98, 16, 25] Generated Node #2: [98, 16, 25] from Operation: 82-57=25 Current State: 89:[98, 16, 25], Operations: ['82-57=25'] Exploring Operation: 98+16=114, Resulting Numbers: [25, 114] Generated Node #3: [25, 114] from Operation: 98+16=114 Current State: 89:[25, 114], Operations: ['82-57=25', '98+16=114'] Exploring Operation: 114-25=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[57, 82, 98, 16], Operations: [] Exploring Operation: 57+16=73, Resulting Numbers: [82, 98, 73] Generated Node #0,0: 89:[82, 98, 73] Operation: 57+16=73 Exploring Operation: 82-16=66, Resulting Numbers: [57, 98, 66] Generated Node #0,1: 89:[57, 98, 66] Operation: 82-16=66 Exploring Operation: 82+16=98, Resulting Numbers: [57, 98, 98] Generated Node #0,2: 89:[57, 98, 98] Operation: 82+16=98 Exploring Operation: 98-16=82, Resulting Numbers: [57, 82, 82] Generated Node #0,3: 89:[57, 82, 82] Operation: 98-16=82 Exploring Operation: 57-16=41, Resulting Numbers: [82, 98, 41] Generated Node #0,4: 89:[82, 98, 41] Operation: 57-16=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[82, 98, 73], Operations: ['57+16=73'] Exploring Operation: 98-82=16, Resulting Numbers: [73, 16] Generated Node #0,0,0: 89:[73, 16] Operation: 98-82=16 Exploring Operation: 82+73=155, Resulting Numbers: [98, 155] Generated Node #0,0,1: 89:[98, 155] Operation: 82+73=155 Exploring Operation: 98+73=171, Resulting Numbers: [82, 171] Generated Node #0,0,2: 89:[82, 171] Operation: 98+73=171 Exploring Operation: 98-73=25, Resulting Numbers: [82, 25] Generated Node #0,0,3: 89:[82, 25] Operation: 98-73=25 Exploring Operation: 82-73=9, Resulting Numbers: [98, 9] Generated Node #0,0,4: 89:[98, 9] Operation: 82-73=9 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 89:[82, 25], Operations: ['57+16=73', '98-73=25'] Exploring Operation: 82*25=2050, Resulting Numbers: [2050] 2050,89 unequal: No Solution Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,89 unequal: No Solution Exploring Operation: 82+25=107, Resulting Numbers: [107] 107,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[98, 155], Operations: ['57+16=73', '82+73=155'] Exploring Operation: 98*155=15190, Resulting Numbers: [15190] 15190,89 unequal: No Solution Exploring Operation: 155-98=57, Resulting Numbers: [57] 57,89 unequal: No Solution Exploring Operation: 98+155=253, Resulting Numbers: [253] 253,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[73, 16], Operations: ['57+16=73', '98-82=16'] Exploring Operation: 73+16=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[57, 82, 98, 16], Operations: [] Exploring Operation: 57+16=73, Resulting Numbers: [82, 98, 73] Generated Node #0,0: 89:[82, 98, 73] Operation: 57+16=73 Moving to Node #0,0 Current State: 89:[82, 98, 73], Operations: ['57+16=73'] Exploring Operation: 98-82=16, Resulting Numbers: [73, 16] Generated Node #0,0,0: 89:[73, 16] Operation: 98-82=16 Moving to Node #0,0,0 Current State: 89:[73, 16], Operations: ['57+16=73', '98-82=16'] Exploring Operation: 73+16=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 94, 81, 23, 20 ]
39
[ "94-81=13", "23-20=3", "13*3=39" ]
Current State: 39:[94, 81, 23, 20], Operations: [] Exploring Operation: 94-81=13, Resulting Numbers: [23, 20, 13] Generated Node #2: [23, 20, 13] from Operation: 94-81=13 Current State: 39:[23, 20, 13], Operations: ['94-81=13'] Exploring Operation: 23-20=3, Resulting Numbers: [13, 3] Generated Node #3: [13, 3] from Operation: 23-20=3 Current State: 39:[13, 3], Operations: ['94-81=13', '23-20=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[94, 81, 23, 20], Operations: [] Exploring Operation: 94-81=13, Resulting Numbers: [23, 20, 13] Generated Node #0,0: 39:[23, 20, 13] Operation: 94-81=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[23, 20, 13], Operations: ['94-81=13'] Exploring Operation: 23-20=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 39:[13, 3] Operation: 23-20=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[13, 3], Operations: ['94-81=13', '23-20=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[94, 81, 23, 20], Operations: [] Exploring Operation: 94-81=13, Resulting Numbers: [23, 20, 13] Generated Node #0,0: 39:[23, 20, 13] Operation: 94-81=13 Moving to Node #0,0 Current State: 39:[23, 20, 13], Operations: ['94-81=13'] Exploring Operation: 23-20=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 39:[13, 3] Operation: 23-20=3 Moving to Node #0,0,0 Current State: 39:[13, 3], Operations: ['94-81=13', '23-20=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 31, 33, 58, 37 ]
17
[ "31*33=1023", "1023-37=986", "986/58=17" ]
Current State: 17:[31, 33, 58, 37], Operations: [] Exploring Operation: 31*33=1023, Resulting Numbers: [58, 37, 1023] Generated Node #2: [58, 37, 1023] from Operation: 31*33=1023 Current State: 17:[58, 37, 1023], Operations: ['31*33=1023'] Exploring Operation: 1023-37=986, Resulting Numbers: [58, 986] Generated Node #3: [58, 986] from Operation: 1023-37=986 Current State: 17:[58, 986], Operations: ['31*33=1023', '1023-37=986'] Exploring Operation: 986/58=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[31, 33, 58, 37], Operations: [] Exploring Operation: 58-31=27, Resulting Numbers: [33, 37, 27] Generated Node #0,0: 17:[33, 37, 27] Operation: 58-31=27 Exploring Operation: 58-33=25, Resulting Numbers: [31, 37, 25] Generated Node #0,1: 17:[31, 37, 25] Operation: 58-33=25 Exploring Operation: 37-31=6, Resulting Numbers: [33, 58, 6] Generated Node #0,2: 17:[33, 58, 6] Operation: 37-31=6 Exploring Operation: 37-33=4, Resulting Numbers: [31, 58, 4] Generated Node #0,3: 17:[31, 58, 4] Operation: 37-33=4 Exploring Operation: 58-37=21, Resulting Numbers: [31, 33, 21] Generated Node #0,4: 17:[31, 33, 21] Operation: 58-37=21 Moving to Node #0,4 Current State: 17:[31, 33, 21], Operations: ['58-37=21'] Exploring Operation: 31-21=10, Resulting Numbers: [33, 10] Generated Node #0,4,0: 17:[33, 10] Operation: 31-21=10 Exploring Operation: 33-21=12, Resulting Numbers: [31, 12] Generated Node #0,4,1: 17:[31, 12] Operation: 33-21=12 Exploring Operation: 31+21=52, Resulting Numbers: [33, 52] Generated Node #0,4,2: 17:[33, 52] Operation: 31+21=52 Exploring Operation: 33-31=2, Resulting Numbers: [21, 2] Generated Node #0,4,3: 17:[21, 2] Operation: 33-31=2 Exploring Operation: 31+33=64, Resulting Numbers: [21, 64] Generated Node #0,4,4: 17:[21, 64] Operation: 31+33=64 Moving to Node #0,1 Current State: 17:[31, 37, 25], Operations: ['58-33=25'] Exploring Operation: 37-31=6, Resulting Numbers: [25, 6] Generated Node #0,1,0: 17:[25, 6] Operation: 37-31=6 Exploring Operation: 31+37=68, Resulting Numbers: [25, 68] Generated Node #0,1,1: 17:[25, 68] Operation: 31+37=68 Exploring Operation: 31-25=6, Resulting Numbers: [37, 6] Generated Node #0,1,2: 17:[37, 6] Operation: 31-25=6 Exploring Operation: 37-25=12, Resulting Numbers: [31, 12] Generated Node #0,1,3: 17:[31, 12] Operation: 37-25=12 Exploring Operation: 31+25=56, Resulting Numbers: [37, 56] Generated Node #0,1,4: 17:[37, 56] Operation: 31+25=56 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[25, 6], Operations: ['58-33=25', '37-31=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,17 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 17:[31, 12], Operations: ['58-33=25', '37-25=12'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 31*12=372, Resulting Numbers: [372] 372,17 unequal: No Solution Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[37, 6], Operations: ['58-33=25', '31-25=6'] Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,17 unequal: No Solution Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,17 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[25, 68], Operations: ['58-33=25', '31+37=68'] Exploring Operation: 25+68=93, Resulting Numbers: [93] 93,17 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,17 unequal: No Solution Exploring Operation: 25*68=1700, Resulting Numbers: [1700] 1700,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 17:[37, 56], Operations: ['58-33=25', '31+25=56'] Exploring Operation: 37*56=2072, Resulting Numbers: [2072] 2072,17 unequal: No Solution Exploring Operation: 37+56=93, Resulting Numbers: [93] 93,17 unequal: No Solution Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 17:[33, 37, 27], Operations: ['58-31=27'] Exploring Operation: 33+27=60, Resulting Numbers: [37, 60] Generated Node #0,0,0: 17:[37, 60] Operation: 33+27=60 Exploring Operation: 37-27=10, Resulting Numbers: [33, 10] Generated Node #0,0,1: 17:[33, 10] Operation: 37-27=10 Exploring Operation: 33+37=70, Resulting Numbers: [27, 70] Generated Node #0,0,2: 17:[27, 70] Operation: 33+37=70 Exploring Operation: 33-27=6, Resulting Numbers: [37, 6] Generated Node #0,0,3: 17:[37, 6] Operation: 33-27=6 Exploring Operation: 37-33=4, Resulting Numbers: [27, 4] Generated Node #0,0,4: 17:[27, 4] Operation: 37-33=4 Moving to Node #0,2 Current State: 17:[33, 58, 6], Operations: ['37-31=6'] Exploring Operation: 58-33=25, Resulting Numbers: [6, 25] Generated Node #0,2,0: 17:[6, 25] Operation: 58-33=25 Exploring Operation: 33+6=39, Resulting Numbers: [58, 39] Generated Node #0,2,1: 17:[58, 39] Operation: 33+6=39 Exploring Operation: 58-6=52, Resulting Numbers: [33, 52] Generated Node #0,2,2: 17:[33, 52] Operation: 58-6=52 Exploring Operation: 33-6=27, Resulting Numbers: [58, 27] Generated Node #0,2,3: 17:[58, 27] Operation: 33-6=27 Exploring Operation: 58+6=64, Resulting Numbers: [33, 64] Generated Node #0,2,4: 17:[33, 64] Operation: 58+6=64 Moving to Node #0,3 Current State: 17:[31, 58, 4], Operations: ['37-33=4'] Exploring Operation: 58-31=27, Resulting Numbers: [4, 27] Generated Node #0,3,0: 17:[4, 27] Operation: 58-31=27 Exploring Operation: 58+4=62, Resulting Numbers: [31, 62] Generated Node #0,3,1: 17:[31, 62] Operation: 58+4=62 Exploring Operation: 31+4=35, Resulting Numbers: [58, 35] Generated Node #0,3,2: 17:[58, 35] Operation: 31+4=35 Exploring Operation: 58-4=54, Resulting Numbers: [31, 54] Generated Node #0,3,3: 17:[31, 54] Operation: 58-4=54 Exploring Operation: 31-4=27, Resulting Numbers: [58, 27] Generated Node #0,3,4: 17:[58, 27] Operation: 31-4=27 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[4, 27], Operations: ['37-33=4', '58-31=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[31, 54], Operations: ['37-33=4', '58-4=54'] Exploring Operation: 31*54=1674, Resulting Numbers: [1674] 1674,17 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 31+54=85, Resulting Numbers: [85] 85,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 17:[58, 27], Operations: ['37-33=4', '31-4=27'] Exploring Operation: 58+27=85, Resulting Numbers: [85] 85,17 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 58*27=1566, Resulting Numbers: [1566] 1566,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[31, 62], Operations: ['37-33=4', '58+4=62'] Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 31+62=93, Resulting Numbers: [93] 93,17 unequal: No Solution Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 31*62=1922, Resulting Numbers: [1922] 1922,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 17:[58, 35], Operations: ['37-33=4', '31+4=35'] Exploring Operation: 58*35=2030, Resulting Numbers: [2030] 2030,17 unequal: No Solution Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 58+35=93, Resulting Numbers: [93] 93,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 17:[31, 12], Operations: ['58-37=21', '33-21=12'] Exploring Operation: 31*12=372, Resulting Numbers: [372] 372,17 unequal: No Solution Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,17 unequal: No Solution Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,17 unequal: No Solution Moving to Node #0,4,3 Current State: 17:[21, 2], Operations: ['58-37=21', '33-31=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[6, 25], Operations: ['37-31=6', '58-33=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,17 unequal: No Solution Moving to Node #0,4,0 Current State: 17:[33, 10], Operations: ['58-37=21', '31-21=10'] Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,17 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,17 unequal: No Solution Moving to Node #0,0,4 Current State: 17:[27, 4], Operations: ['58-31=27', '37-33=4'] Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[33, 10], Operations: ['58-31=27', '37-27=10'] Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,17 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[37, 6], Operations: ['58-31=27', '33-27=6'] Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,17 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[58, 27], Operations: ['37-31=6', '33-6=27'] Exploring Operation: 58*27=1566, Resulting Numbers: [1566] 1566,17 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 58+27=85, Resulting Numbers: [85] 85,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[33, 52], Operations: ['37-31=6', '58-6=52'] Exploring Operation: 33+52=85, Resulting Numbers: [85] 85,17 unequal: No Solution Exploring Operation: 33*52=1716, Resulting Numbers: [1716] 1716,17 unequal: No Solution Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,17 unequal: No Solution Moving to Node #0,4,4 Current State: 17:[21, 64], Operations: ['58-37=21', '31+33=64'] Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,17 unequal: No Solution Exploring Operation: 21+64=85, Resulting Numbers: [85] 85,17 unequal: No Solution Exploring Operation: 21*64=1344, Resulting Numbers: [1344] 1344,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[33, 52], Operations: ['58-37=21', '31+21=52'] Exploring Operation: 33*52=1716, Resulting Numbers: [1716] 1716,17 unequal: No Solution Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 33+52=85, Resulting Numbers: [85] 85,17 unequal: No Solution Moving to Node #0,2,4 Current State: 17:[33, 64], Operations: ['37-31=6', '58+6=64'] Exploring Operation: 33+64=97, Resulting Numbers: [97] 97,17 unequal: No Solution Exploring Operation: 33*64=2112, Resulting Numbers: [2112] 2112,17 unequal: No Solution Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[37, 60], Operations: ['58-31=27', '33+27=60'] Exploring Operation: 37+60=97, Resulting Numbers: [97] 97,17 unequal: No Solution Exploring Operation: 60-37=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 37*60=2220, Resulting Numbers: [2220] 2220,17 unequal: No Solution Moving to Node #0,0,2 Current State: 17:[27, 70], Operations: ['58-31=27', '33+37=70'] Exploring Operation: 27*70=1890, Resulting Numbers: [1890] 1890,17 unequal: No Solution Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,17 unequal: No Solution Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[58, 39], Operations: ['37-31=6', '33+6=39'] Exploring Operation: 58-39=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 58+39=97, Resulting Numbers: [97] 97,17 unequal: No Solution Exploring Operation: 58*39=2262, Resulting Numbers: [2262] 2262,17 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 4, 72, 68, 75 ]
91
[ "72-68=4", "4*4=16", "75+16=91" ]
Current State: 91:[4, 72, 68, 75], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [4, 75, 4] Generated Node #2: [4, 75, 4] from Operation: 72-68=4 Current State: 91:[4, 75, 4], Operations: ['72-68=4'] Exploring Operation: 4*4=16, Resulting Numbers: [75, 16] Generated Node #3: [75, 16] from Operation: 4*4=16 Current State: 91:[75, 16], Operations: ['72-68=4', '4*4=16'] Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[4, 72, 68, 75], Operations: [] Exploring Operation: 75-72=3, Resulting Numbers: [4, 68, 3] Generated Node #0,0: 91:[4, 68, 3] Operation: 75-72=3 Exploring Operation: 75-68=7, Resulting Numbers: [4, 72, 7] Generated Node #0,1: 91:[4, 72, 7] Operation: 75-68=7 Exploring Operation: 72-68=4, Resulting Numbers: [4, 75, 4] Generated Node #0,2: 91:[4, 75, 4] Operation: 72-68=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[4, 72, 7], Operations: ['75-68=7'] Exploring Operation: 72+7=79, Resulting Numbers: [4, 79] Generated Node #0,1,0: 91:[4, 79] Operation: 72+7=79 Exploring Operation: 4+72=76, Resulting Numbers: [7, 76] Generated Node #0,1,1: 91:[7, 76] Operation: 4+72=76 Exploring Operation: 72/4=18, Resulting Numbers: [7, 18] Generated Node #0,1,2: 91:[7, 18] Operation: 72/4=18 Moving to Node #0,1,2 Current State: 91:[7, 18], Operations: ['75-68=7', '72/4=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[4, 79], Operations: ['75-68=7', '72+7=79'] Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,91 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 4*79=316, Resulting Numbers: [316] 316,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[7, 76], Operations: ['75-68=7', '4+72=76'] Exploring Operation: 7*76=532, Resulting Numbers: [532] 532,91 unequal: No Solution Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,91 unequal: No Solution Exploring Operation: 7+76=83, Resulting Numbers: [83] 83,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[4, 75, 4], Operations: ['72-68=4'] Exploring Operation: 4+75=79, Resulting Numbers: [4, 79] Generated Node #0,2,0: 91:[4, 79] Operation: 4+75=79 Exploring Operation: 75+4=79, Resulting Numbers: [4, 79] Generated Node #0,2,1: 91:[4, 79] Operation: 75+4=79 Exploring Operation: 4+4=8, Resulting Numbers: [75, 8] Generated Node #0,2,2: 91:[75, 8] Operation: 4+4=8 Moving to Node #0,2,0 Current State: 91:[4, 79], Operations: ['72-68=4', '4+75=79'] Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,91 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 4*79=316, Resulting Numbers: [316] 316,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[4, 79], Operations: ['72-68=4', '75+4=79'] Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,91 unequal: No Solution Exploring Operation: 4*79=316, Resulting Numbers: [316] 316,91 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[75, 8], Operations: ['72-68=4', '4+4=8'] Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,91 unequal: No Solution Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,91 unequal: No Solution Exploring Operation: 75*8=600, Resulting Numbers: [600] 600,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[4, 68, 3], Operations: ['75-72=3'] Exploring Operation: 68/4=17, Resulting Numbers: [3, 17] Generated Node #0,0,0: 91:[3, 17] Operation: 68/4=17 Exploring Operation: 4+3=7, Resulting Numbers: [68, 7] Generated Node #0,0,1: 91:[68, 7] Operation: 4+3=7 Exploring Operation: 4+68=72, Resulting Numbers: [3, 72] Generated Node #0,0,2: 91:[3, 72] Operation: 4+68=72 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[3, 17], Operations: ['75-72=3', '68/4=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[68, 7], Operations: ['75-72=3', '4+3=7'] Exploring Operation: 68+7=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 68*7=476, Resulting Numbers: [476] 476,91 unequal: No Solution Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 91:[3, 72], Operations: ['75-72=3', '4+68=72'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,91 unequal: No Solution Exploring Operation: 3+72=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 7, 76, 85, 74 ]
94
[ "7+76=83", "85-74=11", "83+11=94" ]
Current State: 94:[7, 76, 85, 74], Operations: [] Exploring Operation: 7+76=83, Resulting Numbers: [85, 74, 83] Generated Node #2: [85, 74, 83] from Operation: 7+76=83 Current State: 94:[85, 74, 83], Operations: ['7+76=83'] Exploring Operation: 85-74=11, Resulting Numbers: [83, 11] Generated Node #3: [83, 11] from Operation: 85-74=11 Current State: 94:[83, 11], Operations: ['7+76=83', '85-74=11'] Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[7, 76, 85, 74], Operations: [] Exploring Operation: 7+76=83, Resulting Numbers: [85, 74, 83] Generated Node #0,0: 94:[85, 74, 83] Operation: 7+76=83 Exploring Operation: 76-74=2, Resulting Numbers: [7, 85, 2] Generated Node #0,1: 94:[7, 85, 2] Operation: 76-74=2 Exploring Operation: 85-76=9, Resulting Numbers: [7, 74, 9] Generated Node #0,2: 94:[7, 74, 9] Operation: 85-76=9 Exploring Operation: 85-74=11, Resulting Numbers: [7, 76, 11] Generated Node #0,3: 94:[7, 76, 11] Operation: 85-74=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[7, 85, 2], Operations: ['76-74=2'] Exploring Operation: 85+2=87, Resulting Numbers: [7, 87] Generated Node #0,1,0: 94:[7, 87] Operation: 85+2=87 Exploring Operation: 85-7=78, Resulting Numbers: [2, 78] Generated Node #0,1,1: 94:[2, 78] Operation: 85-7=78 Exploring Operation: 7+85=92, Resulting Numbers: [2, 92] Generated Node #0,1,2: 94:[2, 92] Operation: 7+85=92 Exploring Operation: 7-2=5, Resulting Numbers: [85, 5] Generated Node #0,1,3: 94:[85, 5] Operation: 7-2=5 Moving to Node #0,1,2 Current State: 94:[2, 92], Operations: ['76-74=2', '7+85=92'] Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,94 unequal: No Solution Exploring Operation: 2+92=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[7, 76, 85, 74], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [7, 85, 2] Generated Node #0,1: 94:[7, 85, 2] Operation: 76-74=2 Moving to Node #0,1 Current State: 94:[7, 85, 2], Operations: ['76-74=2'] Exploring Operation: 7+85=92, Resulting Numbers: [2, 92] Generated Node #0,1,2: 94:[2, 92] Operation: 7+85=92 Moving to Node #0,1,2 Current State: 94:[2, 92], Operations: ['76-74=2', '7+85=92'] Exploring Operation: 2+92=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 30, 22, 20, 28 ]
75
[ "22+28=50", "30*50=1500", "1500/20=75" ]
Current State: 75:[30, 22, 20, 28], Operations: [] Exploring Operation: 22+28=50, Resulting Numbers: [30, 20, 50] Generated Node #2: [30, 20, 50] from Operation: 22+28=50 Current State: 75:[30, 20, 50], Operations: ['22+28=50'] Exploring Operation: 30*50=1500, Resulting Numbers: [20, 1500] Generated Node #3: [20, 1500] from Operation: 30*50=1500 Current State: 75:[20, 1500], Operations: ['22+28=50', '30*50=1500'] Exploring Operation: 1500/20=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[30, 22, 20, 28], Operations: [] Exploring Operation: 30-28=2, Resulting Numbers: [22, 20, 2] Generated Node #0,0: 75:[22, 20, 2] Operation: 30-28=2 Exploring Operation: 22-20=2, Resulting Numbers: [30, 28, 2] Generated Node #0,1: 75:[30, 28, 2] Operation: 22-20=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[22, 20, 2], Operations: ['30-28=2'] Exploring Operation: 22+2=24, Resulting Numbers: [20, 24] Generated Node #0,0,0: 75:[20, 24] Operation: 22+2=24 Exploring Operation: 22-20=2, Resulting Numbers: [2, 2] Generated Node #0,0,1: 75:[2, 2] Operation: 22-20=2 Moving to Node #0,0,1 Current State: 75:[2, 2], Operations: ['30-28=2', '22-20=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[20, 24], Operations: ['30-28=2', '22+2=24'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[30, 28, 2], Operations: ['22-20=2'] Exploring Operation: 30/2=15, Resulting Numbers: [28, 15] Generated Node #0,1,0: 75:[28, 15] Operation: 30/2=15 Exploring Operation: 30-28=2, Resulting Numbers: [2, 2] Generated Node #0,1,1: 75:[2, 2] Operation: 30-28=2 Moving to Node #0,1,1 Current State: 75:[2, 2], Operations: ['22-20=2', '30-28=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[28, 15], Operations: ['22-20=2', '30/2=15'] Exploring Operation: 28+15=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 11, 69, 72, 36 ]
47
[ "11*72=792", "792/36=22", "69-22=47" ]
Current State: 47:[11, 69, 72, 36], Operations: [] Exploring Operation: 11*72=792, Resulting Numbers: [69, 36, 792] Generated Node #2: [69, 36, 792] from Operation: 11*72=792 Current State: 47:[69, 36, 792], Operations: ['11*72=792'] Exploring Operation: 792/36=22, Resulting Numbers: [69, 22] Generated Node #3: [69, 22] from Operation: 792/36=22 Current State: 47:[69, 22], Operations: ['11*72=792', '792/36=22'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[11, 69, 72, 36], Operations: [] Exploring Operation: 69-11=58, Resulting Numbers: [72, 36, 58] Generated Node #0,0: 47:[72, 36, 58] Operation: 69-11=58 Exploring Operation: 72-11=61, Resulting Numbers: [69, 36, 61] Generated Node #0,1: 47:[69, 36, 61] Operation: 72-11=61 Moving to Node #0,0 Current State: 47:[72, 36, 58], Operations: ['69-11=58'] Exploring Operation: 72-58=14, Resulting Numbers: [36, 14] Generated Node #0,0,0: 47:[36, 14] Operation: 72-58=14 Exploring Operation: 72-36=36, Resulting Numbers: [58, 36] Generated Node #0,0,1: 47:[58, 36] Operation: 72-36=36 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[58, 36], Operations: ['69-11=58', '72-36=36'] Exploring Operation: 58+36=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[36, 14], Operations: ['69-11=58', '72-58=14'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 47:[69, 36, 61], Operations: ['72-11=61'] Exploring Operation: 61-36=25, Resulting Numbers: [69, 25] Generated Node #0,1,0: 47:[69, 25] Operation: 61-36=25 Exploring Operation: 69-36=33, Resulting Numbers: [61, 33] Generated Node #0,1,1: 47:[61, 33] Operation: 69-36=33 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[61, 33], Operations: ['72-11=61', '69-36=33'] Exploring Operation: 61+33=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[69, 25], Operations: ['72-11=61', '61-36=25'] Exploring Operation: 69+25=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 44, 26, 49, 69 ]
50
[ "44+26=70", "69-49=20", "70-20=50" ]
Current State: 50:[44, 26, 49, 69], Operations: [] Exploring Operation: 44+26=70, Resulting Numbers: [49, 69, 70] Generated Node #2: [49, 69, 70] from Operation: 44+26=70 Current State: 50:[49, 69, 70], Operations: ['44+26=70'] Exploring Operation: 69-49=20, Resulting Numbers: [70, 20] Generated Node #3: [70, 20] from Operation: 69-49=20 Current State: 50:[70, 20], Operations: ['44+26=70', '69-49=20'] Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[44, 26, 49, 69], Operations: [] Exploring Operation: 49-44=5, Resulting Numbers: [26, 69, 5] Generated Node #0,0: 50:[26, 69, 5] Operation: 49-44=5 Exploring Operation: 69-44=25, Resulting Numbers: [26, 49, 25] Generated Node #0,1: 50:[26, 49, 25] Operation: 69-44=25 Exploring Operation: 69-49=20, Resulting Numbers: [44, 26, 20] Generated Node #0,2: 50:[44, 26, 20] Operation: 69-49=20 Exploring Operation: 69-26=43, Resulting Numbers: [44, 49, 43] Generated Node #0,3: 50:[44, 49, 43] Operation: 69-26=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[26, 49, 25], Operations: ['69-44=25'] Exploring Operation: 26+25=51, Resulting Numbers: [49, 51] Generated Node #0,1,0: 50:[49, 51] Operation: 26+25=51 Exploring Operation: 26-25=1, Resulting Numbers: [49, 1] Generated Node #0,1,1: 50:[49, 1] Operation: 26-25=1 Exploring Operation: 49-26=23, Resulting Numbers: [25, 23] Generated Node #0,1,2: 50:[25, 23] Operation: 49-26=23 Exploring Operation: 49-25=24, Resulting Numbers: [26, 24] Generated Node #0,1,3: 50:[26, 24] Operation: 49-25=24 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[49, 51], Operations: ['69-44=25', '26+25=51'] Exploring Operation: 49*51=2499, Resulting Numbers: [2499] 2499,50 unequal: No Solution Exploring Operation: 49+51=100, Resulting Numbers: [100] 100,50 unequal: No Solution Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 50:[49, 1], Operations: ['69-44=25', '26-25=1'] Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[44, 26, 49, 69], Operations: [] Exploring Operation: 69-44=25, Resulting Numbers: [26, 49, 25] Generated Node #0,1: 50:[26, 49, 25] Operation: 69-44=25 Moving to Node #0,1 Current State: 50:[26, 49, 25], Operations: ['69-44=25'] Exploring Operation: 26-25=1, Resulting Numbers: [49, 1] Generated Node #0,1,1: 50:[49, 1] Operation: 26-25=1 Moving to Node #0,1,1 Current State: 50:[49, 1], Operations: ['69-44=25', '26-25=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 69, 54, 11, 53 ]
80
[ "69+11=80", "54-53=1", "80*1=80" ]
Current State: 80:[69, 54, 11, 53], Operations: [] Exploring Operation: 69+11=80, Resulting Numbers: [54, 53, 80] Generated Node #2: [54, 53, 80] from Operation: 69+11=80 Current State: 80:[54, 53, 80], Operations: ['69+11=80'] Exploring Operation: 54-53=1, Resulting Numbers: [80, 1] Generated Node #3: [80, 1] from Operation: 54-53=1 Current State: 80:[80, 1], Operations: ['69+11=80', '54-53=1'] Exploring Operation: 80*1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[69, 54, 11, 53], Operations: [] Exploring Operation: 69-54=15, Resulting Numbers: [11, 53, 15] Generated Node #0,0: 80:[11, 53, 15] Operation: 69-54=15 Exploring Operation: 54-53=1, Resulting Numbers: [69, 11, 1] Generated Node #0,1: 80:[69, 11, 1] Operation: 54-53=1 Exploring Operation: 69-53=16, Resulting Numbers: [54, 11, 16] Generated Node #0,2: 80:[54, 11, 16] Operation: 69-53=16 Moving to Node #0,1 Current State: 80:[69, 11, 1], Operations: ['54-53=1'] Exploring Operation: 69+11=80, Resulting Numbers: [1, 80] Generated Node #0,1,0: 80:[1, 80] Operation: 69+11=80 Exploring Operation: 11-1=10, Resulting Numbers: [69, 10] Generated Node #0,1,1: 80:[69, 10] Operation: 11-1=10 Exploring Operation: 69+1=70, Resulting Numbers: [11, 70] Generated Node #0,1,2: 80:[11, 70] Operation: 69+1=70 Moving to Node #0,0 Current State: 80:[11, 53, 15], Operations: ['69-54=15'] Exploring Operation: 53-11=42, Resulting Numbers: [15, 42] Generated Node #0,0,0: 80:[15, 42] Operation: 53-11=42 Exploring Operation: 53-15=38, Resulting Numbers: [11, 38] Generated Node #0,0,1: 80:[11, 38] Operation: 53-15=38 Exploring Operation: 15-11=4, Resulting Numbers: [53, 4] Generated Node #0,0,2: 80:[53, 4] Operation: 15-11=4 Moving to Node #0,2 Current State: 80:[54, 11, 16], Operations: ['69-53=16'] Exploring Operation: 54-11=43, Resulting Numbers: [16, 43] Generated Node #0,2,0: 80:[16, 43] Operation: 54-11=43 Exploring Operation: 54+16=70, Resulting Numbers: [11, 70] Generated Node #0,2,1: 80:[11, 70] Operation: 54+16=70 Exploring Operation: 54-16=38, Resulting Numbers: [11, 38] Generated Node #0,2,2: 80:[11, 38] Operation: 54-16=38 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[16, 43], Operations: ['69-53=16', '54-11=43'] Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 16*43=688, Resulting Numbers: [688] 688,80 unequal: No Solution Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[11, 38], Operations: ['69-53=16', '54-16=38'] Exploring Operation: 11*38=418, Resulting Numbers: [418] 418,80 unequal: No Solution Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,80 unequal: No Solution Exploring Operation: 11+38=49, Resulting Numbers: [49] 49,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[11, 70], Operations: ['69-53=16', '54+16=70'] Exploring Operation: 11+70=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 11*70=770, Resulting Numbers: [770] 770,80 unequal: No Solution Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 80:[1, 80], Operations: ['54-53=1', '69+11=80'] Exploring Operation: 1+80=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[69, 54, 11, 53], Operations: [] Exploring Operation: 54-53=1, Resulting Numbers: [69, 11, 1] Generated Node #0,1: 80:[69, 11, 1] Operation: 54-53=1 Moving to Node #0,1 Current State: 80:[69, 11, 1], Operations: ['54-53=1'] Exploring Operation: 69+11=80, Resulting Numbers: [1, 80] Generated Node #0,1,0: 80:[1, 80] Operation: 69+11=80 Moving to Node #0,1,0 Current State: 80:[1, 80], Operations: ['54-53=1', '69+11=80'] Exploring Operation: 80/1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 58, 71, 29, 14 ]
61
[ "71-29=42", "42/14=3", "58+3=61" ]
Current State: 61:[58, 71, 29, 14], Operations: [] Exploring Operation: 71-29=42, Resulting Numbers: [58, 14, 42] Generated Node #2: [58, 14, 42] from Operation: 71-29=42 Current State: 61:[58, 14, 42], Operations: ['71-29=42'] Exploring Operation: 42/14=3, Resulting Numbers: [58, 3] Generated Node #3: [58, 3] from Operation: 42/14=3 Current State: 61:[58, 3], Operations: ['71-29=42', '42/14=3'] Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[58, 71, 29, 14], Operations: [] Exploring Operation: 29+14=43, Resulting Numbers: [58, 71, 43] Generated Node #0,0: 61:[58, 71, 43] Operation: 29+14=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[58, 71, 43], Operations: ['29+14=43'] Exploring Operation: 71-43=28, Resulting Numbers: [58, 28] Generated Node #0,0,0: 61:[58, 28] Operation: 71-43=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[58, 28], Operations: ['29+14=43', '71-43=28'] Exploring Operation: 58+28=86, Resulting Numbers: [86] 86,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 85, 22, 91, 49 ]
77
[ "85-22=63", "91+49=140", "140-63=77" ]
Current State: 77:[85, 22, 91, 49], Operations: [] Exploring Operation: 85-22=63, Resulting Numbers: [91, 49, 63] Generated Node #2: [91, 49, 63] from Operation: 85-22=63 Current State: 77:[91, 49, 63], Operations: ['85-22=63'] Exploring Operation: 91+49=140, Resulting Numbers: [63, 140] Generated Node #3: [63, 140] from Operation: 91+49=140 Current State: 77:[63, 140], Operations: ['85-22=63', '91+49=140'] Exploring Operation: 140-63=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[85, 22, 91, 49], Operations: [] Exploring Operation: 49-22=27, Resulting Numbers: [85, 91, 27] Generated Node #0,0: 77:[85, 91, 27] Operation: 49-22=27 Exploring Operation: 22+49=71, Resulting Numbers: [85, 91, 71] Generated Node #0,1: 77:[85, 91, 71] Operation: 22+49=71 Moving to Node #0,1 Current State: 77:[85, 91, 71], Operations: ['22+49=71'] Exploring Operation: 91-85=6, Resulting Numbers: [71, 6] Generated Node #0,1,0: 77:[71, 6] Operation: 91-85=6 Exploring Operation: 85-71=14, Resulting Numbers: [91, 14] Generated Node #0,1,1: 77:[91, 14] Operation: 85-71=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[71, 6], Operations: ['22+49=71', '91-85=6'] Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[85, 22, 91, 49], Operations: [] Exploring Operation: 22+49=71, Resulting Numbers: [85, 91, 71] Generated Node #0,1: 77:[85, 91, 71] Operation: 22+49=71 Moving to Node #0,1 Current State: 77:[85, 91, 71], Operations: ['22+49=71'] Exploring Operation: 91-85=6, Resulting Numbers: [71, 6] Generated Node #0,1,0: 77:[71, 6] Operation: 91-85=6 Moving to Node #0,1,0 Current State: 77:[71, 6], Operations: ['22+49=71', '91-85=6'] Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 13, 15, 24, 26 ]
38
[ "15-13=2", "24/2=12", "26+12=38" ]
Current State: 38:[13, 15, 24, 26], Operations: [] Exploring Operation: 15-13=2, Resulting Numbers: [24, 26, 2] Generated Node #2: [24, 26, 2] from Operation: 15-13=2 Current State: 38:[24, 26, 2], Operations: ['15-13=2'] Exploring Operation: 24/2=12, Resulting Numbers: [26, 12] Generated Node #3: [26, 12] from Operation: 24/2=12 Current State: 38:[26, 12], Operations: ['15-13=2', '24/2=12'] Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[13, 15, 24, 26], Operations: [] Exploring Operation: 26/13=2, Resulting Numbers: [15, 24, 2] Generated Node #0,0: 38:[15, 24, 2] Operation: 26/13=2 Exploring Operation: 13+26=39, Resulting Numbers: [15, 24, 39] Generated Node #0,1: 38:[15, 24, 39] Operation: 13+26=39 Moving to Node #0,0 Current State: 38:[15, 24, 2], Operations: ['26/13=2'] Exploring Operation: 24-15=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 38:[2, 9] Operation: 24-15=9 Exploring Operation: 15+24=39, Resulting Numbers: [2, 39] Generated Node #0,0,1: 38:[2, 39] Operation: 15+24=39 Moving to Node #0,1 Current State: 38:[15, 24, 39], Operations: ['13+26=39'] Exploring Operation: 15+24=39, Resulting Numbers: [39, 39] Generated Node #0,1,0: 38:[39, 39] Operation: 15+24=39 Exploring Operation: 24-15=9, Resulting Numbers: [39, 9] Generated Node #0,1,1: 38:[39, 9] Operation: 24-15=9 Moving to Node #0,0,1 Current State: 38:[2, 39], Operations: ['26/13=2', '15+24=39'] Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[39, 39], Operations: ['13+26=39', '15+24=39'] Exploring Operation: 39/39=1, Resulting Numbers: [1] 1,38 unequal: No Solution Exploring Operation: 39-39=0, Resulting Numbers: [0] 0,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[2, 9], Operations: ['26/13=2', '24-15=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[39, 9], Operations: ['13+26=39', '24-15=9'] Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 39+9=48, Resulting Numbers: [48] 48,38 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 15, 98, 32, 23 ]
37
[ "98-23=75", "75/15=5", "32+5=37" ]
Current State: 37:[15, 98, 32, 23], Operations: [] Exploring Operation: 98-23=75, Resulting Numbers: [15, 32, 75] Generated Node #2: [15, 32, 75] from Operation: 98-23=75 Current State: 37:[15, 32, 75], Operations: ['98-23=75'] Exploring Operation: 75/15=5, Resulting Numbers: [32, 5] Generated Node #3: [32, 5] from Operation: 75/15=5 Current State: 37:[32, 5], Operations: ['98-23=75', '75/15=5'] Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[15, 98, 32, 23], Operations: [] Exploring Operation: 98-15=83, Resulting Numbers: [32, 23, 83] Generated Node #0,0: 37:[32, 23, 83] Operation: 98-15=83 Moving to Node #0,0 Current State: 37:[32, 23, 83], Operations: ['98-15=83'] Exploring Operation: 83-32=51, Resulting Numbers: [23, 51] Generated Node #0,0,0: 37:[23, 51] Operation: 83-32=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[23, 51], Operations: ['98-15=83', '83-32=51'] Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 86, 74, 78, 76 ]
24
[ "86-74=12", "78-76=2", "12*2=24" ]
Current State: 24:[86, 74, 78, 76], Operations: [] Exploring Operation: 86-74=12, Resulting Numbers: [78, 76, 12] Generated Node #2: [78, 76, 12] from Operation: 86-74=12 Current State: 24:[78, 76, 12], Operations: ['86-74=12'] Exploring Operation: 78-76=2, Resulting Numbers: [12, 2] Generated Node #3: [12, 2] from Operation: 78-76=2 Current State: 24:[12, 2], Operations: ['86-74=12', '78-76=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[86, 74, 78, 76], Operations: [] Exploring Operation: 86-76=10, Resulting Numbers: [74, 78, 10] Generated Node #0,0: 24:[74, 78, 10] Operation: 86-76=10 Exploring Operation: 86-74=12, Resulting Numbers: [78, 76, 12] Generated Node #0,1: 24:[78, 76, 12] Operation: 86-74=12 Exploring Operation: 86-78=8, Resulting Numbers: [74, 76, 8] Generated Node #0,2: 24:[74, 76, 8] Operation: 86-78=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[74, 76, 8], Operations: ['86-78=8'] Exploring Operation: 76-8=68, Resulting Numbers: [74, 68] Generated Node #0,2,0: 24:[74, 68] Operation: 76-8=68 Exploring Operation: 74-8=66, Resulting Numbers: [76, 66] Generated Node #0,2,1: 24:[76, 66] Operation: 74-8=66 Exploring Operation: 76-74=2, Resulting Numbers: [8, 2] Generated Node #0,2,2: 24:[8, 2] Operation: 76-74=2 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 24:[8, 2], Operations: ['86-78=8', '76-74=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 24:[74, 68], Operations: ['86-78=8', '76-8=68'] Exploring Operation: 74+68=142, Resulting Numbers: [142] 142,24 unequal: No Solution Exploring Operation: 74*68=5032, Resulting Numbers: [5032] 5032,24 unequal: No Solution Exploring Operation: 74-68=6, Resulting Numbers: [6] 6,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 24:[76, 66], Operations: ['86-78=8', '74-8=66'] Exploring Operation: 76-66=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 76*66=5016, Resulting Numbers: [5016] 5016,24 unequal: No Solution Exploring Operation: 76+66=142, Resulting Numbers: [142] 142,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[74, 78, 10], Operations: ['86-76=10'] Exploring Operation: 78-74=4, Resulting Numbers: [10, 4] Generated Node #0,0,0: 24:[10, 4] Operation: 78-74=4 Exploring Operation: 74-10=64, Resulting Numbers: [78, 64] Generated Node #0,0,1: 24:[78, 64] Operation: 74-10=64 Exploring Operation: 78-10=68, Resulting Numbers: [74, 68] Generated Node #0,0,2: 24:[74, 68] Operation: 78-10=68 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[10, 4], Operations: ['86-76=10', '78-74=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,24 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 24:[78, 64], Operations: ['86-76=10', '74-10=64'] Exploring Operation: 78-64=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 78*64=4992, Resulting Numbers: [4992] 4992,24 unequal: No Solution Exploring Operation: 78+64=142, Resulting Numbers: [142] 142,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 24:[74, 68], Operations: ['86-76=10', '78-10=68'] Exploring Operation: 74*68=5032, Resulting Numbers: [5032] 5032,24 unequal: No Solution Exploring Operation: 74-68=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 74+68=142, Resulting Numbers: [142] 142,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[78, 76, 12], Operations: ['86-74=12'] Exploring Operation: 78-76=2, Resulting Numbers: [12, 2] Generated Node #0,1,0: 24:[12, 2] Operation: 78-76=2 Exploring Operation: 78-12=66, Resulting Numbers: [76, 66] Generated Node #0,1,1: 24:[76, 66] Operation: 78-12=66 Exploring Operation: 76-12=64, Resulting Numbers: [78, 64] Generated Node #0,1,2: 24:[78, 64] Operation: 76-12=64 Moving to Node #0,1,0 Current State: 24:[12, 2], Operations: ['86-74=12', '78-76=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[86, 74, 78, 76], Operations: [] Exploring Operation: 86-74=12, Resulting Numbers: [78, 76, 12] Generated Node #0,1: 24:[78, 76, 12] Operation: 86-74=12 Moving to Node #0,1 Current State: 24:[78, 76, 12], Operations: ['86-74=12'] Exploring Operation: 78-76=2, Resulting Numbers: [12, 2] Generated Node #0,1,0: 24:[12, 2] Operation: 78-76=2 Moving to Node #0,1,0 Current State: 24:[12, 2], Operations: ['86-74=12', '78-76=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 8, 98, 20, 97 ]
27
[ "98-8=90", "20+97=117", "117-90=27" ]
Current State: 27:[8, 98, 20, 97], Operations: [] Exploring Operation: 98-8=90, Resulting Numbers: [20, 97, 90] Generated Node #2: [20, 97, 90] from Operation: 98-8=90 Current State: 27:[20, 97, 90], Operations: ['98-8=90'] Exploring Operation: 20+97=117, Resulting Numbers: [90, 117] Generated Node #3: [90, 117] from Operation: 20+97=117 Current State: 27:[90, 117], Operations: ['98-8=90', '20+97=117'] Exploring Operation: 117-90=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[8, 98, 20, 97], Operations: [] Exploring Operation: 98-20=78, Resulting Numbers: [8, 97, 78] Generated Node #0,0: 27:[8, 97, 78] Operation: 98-20=78 Exploring Operation: 98-97=1, Resulting Numbers: [8, 20, 1] Generated Node #0,1: 27:[8, 20, 1] Operation: 98-97=1 Exploring Operation: 97-8=89, Resulting Numbers: [98, 20, 89] Generated Node #0,2: 27:[98, 20, 89] Operation: 97-8=89 Exploring Operation: 97-20=77, Resulting Numbers: [8, 98, 77] Generated Node #0,3: 27:[8, 98, 77] Operation: 97-20=77 Exploring Operation: 98-8=90, Resulting Numbers: [20, 97, 90] Generated Node #0,4: 27:[20, 97, 90] Operation: 98-8=90 Moving to Node #0,1 Current State: 27:[8, 20, 1], Operations: ['98-97=1'] Exploring Operation: 8*1=8, Resulting Numbers: [20, 8] Generated Node #0,1,0: 27:[20, 8] Operation: 8*1=8 Exploring Operation: 8+20=28, Resulting Numbers: [1, 28] Generated Node #0,1,1: 27:[1, 28] Operation: 8+20=28 Exploring Operation: 20-8=12, Resulting Numbers: [1, 12] Generated Node #0,1,2: 27:[1, 12] Operation: 20-8=12 Exploring Operation: 8+1=9, Resulting Numbers: [20, 9] Generated Node #0,1,3: 27:[20, 9] Operation: 8+1=9 Exploring Operation: 20+1=21, Resulting Numbers: [8, 21] Generated Node #0,1,4: 27:[8, 21] Operation: 20+1=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[1, 28], Operations: ['98-97=1', '8+20=28'] Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[8, 98, 20, 97], Operations: [] Exploring Operation: 98-97=1, Resulting Numbers: [8, 20, 1] Generated Node #0,1: 27:[8, 20, 1] Operation: 98-97=1 Moving to Node #0,1 Current State: 27:[8, 20, 1], Operations: ['98-97=1'] Exploring Operation: 8+20=28, Resulting Numbers: [1, 28] Generated Node #0,1,1: 27:[1, 28] Operation: 8+20=28 Moving to Node #0,1,1 Current State: 27:[1, 28], Operations: ['98-97=1', '8+20=28'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 6, 70, 63, 46 ]
96
[ "70*63=4410", "6+4410=4416", "4416/46=96" ]
Current State: 96:[6, 70, 63, 46], Operations: [] Exploring Operation: 70*63=4410, Resulting Numbers: [6, 46, 4410] Generated Node #2: [6, 46, 4410] from Operation: 70*63=4410 Current State: 96:[6, 46, 4410], Operations: ['70*63=4410'] Exploring Operation: 6+4410=4416, Resulting Numbers: [46, 4416] Generated Node #3: [46, 4416] from Operation: 6+4410=4416 Current State: 96:[46, 4416], Operations: ['70*63=4410', '6+4410=4416'] Exploring Operation: 4416/46=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[6, 70, 63, 46], Operations: [] Exploring Operation: 63-6=57, Resulting Numbers: [70, 46, 57] Generated Node #0,0: 96:[70, 46, 57] Operation: 63-6=57 Exploring Operation: 70-46=24, Resulting Numbers: [6, 63, 24] Generated Node #0,1: 96:[6, 63, 24] Operation: 70-46=24 Exploring Operation: 70-63=7, Resulting Numbers: [6, 46, 7] Generated Node #0,2: 96:[6, 46, 7] Operation: 70-63=7 Exploring Operation: 70-6=64, Resulting Numbers: [63, 46, 64] Generated Node #0,3: 96:[63, 46, 64] Operation: 70-6=64 Exploring Operation: 63-46=17, Resulting Numbers: [6, 70, 17] Generated Node #0,4: 96:[6, 70, 17] Operation: 63-46=17 Moving to Node #0,2 Current State: 96:[6, 46, 7], Operations: ['70-63=7'] Exploring Operation: 6+7=13, Resulting Numbers: [46, 13] Generated Node #0,2,0: 96:[46, 13] Operation: 6+7=13 Exploring Operation: 6+46=52, Resulting Numbers: [7, 52] Generated Node #0,2,1: 96:[7, 52] Operation: 6+46=52 Exploring Operation: 7-6=1, Resulting Numbers: [46, 1] Generated Node #0,2,2: 96:[46, 1] Operation: 7-6=1 Exploring Operation: 46+7=53, Resulting Numbers: [6, 53] Generated Node #0,2,3: 96:[6, 53] Operation: 46+7=53 Exploring Operation: 46-7=39, Resulting Numbers: [6, 39] Generated Node #0,2,4: 96:[6, 39] Operation: 46-7=39 Moving to Node #0,1 Current State: 96:[6, 63, 24], Operations: ['70-46=24'] Exploring Operation: 63+24=87, Resulting Numbers: [6, 87] Generated Node #0,1,0: 96:[6, 87] Operation: 63+24=87 Exploring Operation: 63-6=57, Resulting Numbers: [24, 57] Generated Node #0,1,1: 96:[24, 57] Operation: 63-6=57 Exploring Operation: 63-24=39, Resulting Numbers: [6, 39] Generated Node #0,1,2: 96:[6, 39] Operation: 63-24=39 Exploring Operation: 6+24=30, Resulting Numbers: [63, 30] Generated Node #0,1,3: 96:[63, 30] Operation: 6+24=30 Exploring Operation: 24/6=4, Resulting Numbers: [63, 4] Generated Node #0,1,4: 96:[63, 4] Operation: 24/6=4 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 96:[6, 39], Operations: ['70-46=24', '63-24=39'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 6*39=234, Resulting Numbers: [234] 234,96 unequal: No Solution Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[6, 87], Operations: ['70-46=24', '63+24=87'] Exploring Operation: 6*87=522, Resulting Numbers: [522] 522,96 unequal: No Solution Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,96 unequal: No Solution Exploring Operation: 6+87=93, Resulting Numbers: [93] 93,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[24, 57], Operations: ['70-46=24', '63-6=57'] Exploring Operation: 24+57=81, Resulting Numbers: [81] 81,96 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 24*57=1368, Resulting Numbers: [1368] 1368,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 96:[63, 4], Operations: ['70-46=24', '24/6=4'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,96 unequal: No Solution Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 96:[63, 30], Operations: ['70-46=24', '6+24=30'] Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 63+30=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 63*30=1890, Resulting Numbers: [1890] 1890,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 96:[6, 70, 17], Operations: ['63-46=17'] Exploring Operation: 70-17=53, Resulting Numbers: [6, 53] Generated Node #0,4,0: 96:[6, 53] Operation: 70-17=53 Exploring Operation: 70-6=64, Resulting Numbers: [17, 64] Generated Node #0,4,1: 96:[17, 64] Operation: 70-6=64 Exploring Operation: 6+17=23, Resulting Numbers: [70, 23] Generated Node #0,4,2: 96:[70, 23] Operation: 6+17=23 Exploring Operation: 6+70=76, Resulting Numbers: [17, 76] Generated Node #0,4,3: 96:[17, 76] Operation: 6+70=76 Exploring Operation: 70+17=87, Resulting Numbers: [6, 87] Generated Node #0,4,4: 96:[6, 87] Operation: 70+17=87 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 96:[6, 53], Operations: ['63-46=17', '70-17=53'] Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,96 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 96:[6, 87], Operations: ['63-46=17', '70+17=87'] Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,96 unequal: No Solution Exploring Operation: 6+87=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 6*87=522, Resulting Numbers: [522] 522,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 96:[17, 64], Operations: ['63-46=17', '70-6=64'] Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 17+64=81, Resulting Numbers: [81] 81,96 unequal: No Solution Exploring Operation: 17*64=1088, Resulting Numbers: [1088] 1088,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 96:[17, 76], Operations: ['63-46=17', '6+70=76'] Exploring Operation: 17*76=1292, Resulting Numbers: [1292] 1292,96 unequal: No Solution Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 17+76=93, Resulting Numbers: [93] 93,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 96:[70, 23], Operations: ['63-46=17', '6+17=23'] Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,96 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 96:[70, 46, 57], Operations: ['63-6=57'] Exploring Operation: 46+57=103, Resulting Numbers: [70, 103] Generated Node #0,0,0: 96:[70, 103] Operation: 46+57=103 Exploring Operation: 70-57=13, Resulting Numbers: [46, 13] Generated Node #0,0,1: 96:[46, 13] Operation: 70-57=13 Exploring Operation: 70-46=24, Resulting Numbers: [57, 24] Generated Node #0,0,2: 96:[57, 24] Operation: 70-46=24 Exploring Operation: 70+46=116, Resulting Numbers: [57, 116] Generated Node #0,0,3: 96:[57, 116] Operation: 70+46=116 Exploring Operation: 57-46=11, Resulting Numbers: [70, 11] Generated Node #0,0,4: 96:[70, 11] Operation: 57-46=11 Moving to Node #0,3 Current State: 96:[63, 46, 64], Operations: ['70-6=64'] Exploring Operation: 64-46=18, Resulting Numbers: [63, 18] Generated Node #0,3,0: 96:[63, 18] Operation: 64-46=18 Exploring Operation: 46+64=110, Resulting Numbers: [63, 110] Generated Node #0,3,1: 96:[63, 110] Operation: 46+64=110 Exploring Operation: 63+46=109, Resulting Numbers: [64, 109] Generated Node #0,3,2: 96:[64, 109] Operation: 63+46=109 Exploring Operation: 63-46=17, Resulting Numbers: [64, 17] Generated Node #0,3,3: 96:[64, 17] Operation: 63-46=17 Exploring Operation: 64-63=1, Resulting Numbers: [46, 1] Generated Node #0,3,4: 96:[46, 1] Operation: 64-63=1 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 96:[46, 1], Operations: ['70-6=64', '64-63=1'] Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,96 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,96 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,96 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 96:[63, 18], Operations: ['70-6=64', '64-46=18'] Exploring Operation: 63+18=81, Resulting Numbers: [81] 81,96 unequal: No Solution Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,96 unequal: No Solution Exploring Operation: 63*18=1134, Resulting Numbers: [1134] 1134,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 96:[64, 17], Operations: ['70-6=64', '63-46=17'] Exploring Operation: 64*17=1088, Resulting Numbers: [1088] 1088,96 unequal: No Solution Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,96 unequal: No Solution Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 96:[63, 110], Operations: ['70-6=64', '46+64=110'] Exploring Operation: 110-63=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 63+110=173, Resulting Numbers: [173] 173,96 unequal: No Solution Exploring Operation: 63*110=6930, Resulting Numbers: [6930] 6930,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 96:[64, 109], Operations: ['70-6=64', '63+46=109'] Exploring Operation: 64*109=6976, Resulting Numbers: [6976] 6976,96 unequal: No Solution Exploring Operation: 109-64=45, Resulting Numbers: [45] 45,96 unequal: No Solution Exploring Operation: 64+109=173, Resulting Numbers: [173] 173,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 96:[46, 13], Operations: ['70-63=7', '6+7=13'] Exploring Operation: 46+13=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 46*13=598, Resulting Numbers: [598] 598,96 unequal: No Solution Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[46, 13], Operations: ['63-6=57', '70-57=13'] Exploring Operation: 46*13=598, Resulting Numbers: [598] 598,96 unequal: No Solution Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 46+13=59, Resulting Numbers: [59] 59,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[46, 1], Operations: ['70-63=7', '7-6=1'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,96 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,96 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[7, 52], Operations: ['70-63=7', '6+46=52'] Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,96 unequal: No Solution Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,96 unequal: No Solution Moving to Node #0,2,3 Current State: 96:[6, 53], Operations: ['70-63=7', '46+7=53'] Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,96 unequal: No Solution Moving to Node #0,2,4 Current State: 96:[6, 39], Operations: ['70-63=7', '46-7=39'] Exploring Operation: 6*39=234, Resulting Numbers: [234] 234,96 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[57, 24], Operations: ['63-6=57', '70-46=24'] Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,96 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 57*24=1368, Resulting Numbers: [1368] 1368,96 unequal: No Solution Moving to Node #0,0,4 Current State: 96:[70, 11], Operations: ['63-6=57', '57-46=11'] Exploring Operation: 70*11=770, Resulting Numbers: [770] 770,96 unequal: No Solution Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,96 unequal: No Solution Moving to Node #0,0,3 Current State: 96:[57, 116], Operations: ['63-6=57', '70+46=116'] Exploring Operation: 57+116=173, Resulting Numbers: [173] 173,96 unequal: No Solution Exploring Operation: 116-57=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 57*116=6612, Resulting Numbers: [6612] 6612,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[70, 103], Operations: ['63-6=57', '46+57=103'] Exploring Operation: 70+103=173, Resulting Numbers: [173] 173,96 unequal: No Solution Exploring Operation: 103-70=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 70*103=7210, Resulting Numbers: [7210] 7210,96 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 24, 15, 60, 28 ]
17
[ "60/15=4", "28/4=7", "24-7=17" ]
Current State: 17:[24, 15, 60, 28], Operations: [] Exploring Operation: 60/15=4, Resulting Numbers: [24, 28, 4] Generated Node #2: [24, 28, 4] from Operation: 60/15=4 Current State: 17:[24, 28, 4], Operations: ['60/15=4'] Exploring Operation: 28/4=7, Resulting Numbers: [24, 7] Generated Node #3: [24, 7] from Operation: 28/4=7 Current State: 17:[24, 7], Operations: ['60/15=4', '28/4=7'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[24, 15, 60, 28], Operations: [] Exploring Operation: 60-28=32, Resulting Numbers: [24, 15, 32] Generated Node #0,0: 17:[24, 15, 32] Operation: 60-28=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[24, 15, 32], Operations: ['60-28=32'] Exploring Operation: 32-15=17, Resulting Numbers: [24, 17] Generated Node #0,0,0: 17:[24, 17] Operation: 32-15=17 Moving to Node #0,0,0 Current State: 17:[24, 17], Operations: ['60-28=32', '32-15=17'] Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 72, 71, 2, 72 ]
24
[ "72-71=1", "2+1=3", "72/3=24" ]
Current State: 24:[72, 71, 2, 72], Operations: [] Exploring Operation: 72-71=1, Resulting Numbers: [2, 1] Generated Node #2: [2, 1] from Operation: 72-71=1 Current State: 24:[2, 1], Operations: ['72-71=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,24 equal: Goal Reached Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[72, 71, 2, 72], Operations: [] Exploring Operation: 72-72=0, Resulting Numbers: [71, 2, 0] Generated Node #0,0: 24:[71, 2, 0] Operation: 72-72=0 Exploring Operation: 72/72=1, Resulting Numbers: [71, 2, 1] Generated Node #0,1: 24:[71, 2, 1] Operation: 72/72=1 Exploring Operation: 72-71=1, Resulting Numbers: [72, 2, 1] Generated Node #0,2: 24:[72, 2, 1] Operation: 72-71=1 Exploring Operation: 72-71=1, Resulting Numbers: [2, 72, 1] Generated Node #0,3: 24:[2, 72, 1] Operation: 72-71=1 Moving to Node #0,1 Current State: 24:[71, 2, 1], Operations: ['72/72=1'] Exploring Operation: 71-2=69, Resulting Numbers: [1, 69] Generated Node #0,1,0: 24:[1, 69] Operation: 71-2=69 Exploring Operation: 71/1=71, Resulting Numbers: [2, 71] Generated Node #0,1,1: 24:[2, 71] Operation: 71/1=71 Exploring Operation: 71*1=71, Resulting Numbers: [2, 71] Generated Node #0,1,2: 24:[2, 71] Operation: 71*1=71 Exploring Operation: 71-1=70, Resulting Numbers: [2, 70] Generated Node #0,1,3: 24:[2, 70] Operation: 71-1=70 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[1, 69], Operations: ['72/72=1', '71-2=69'] Exploring Operation: 1*69=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,24 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 1+69=70, Resulting Numbers: [70] 70,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 24:[2, 70], Operations: ['72/72=1', '71-1=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,24 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,24 unequal: No Solution Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,24 unequal: No Solution Exploring Operation: 2*70=140, Resulting Numbers: [140] 140,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[2, 71], Operations: ['72/72=1', '71/1=71'] Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,24 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[2, 71], Operations: ['72/72=1', '71*1=71'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 24:[72, 2, 1], Operations: ['72-71=1'] Exploring Operation: 72-2=70, Resulting Numbers: [1, 70] Generated Node #0,2,0: 24:[1, 70] Operation: 72-2=70 Exploring Operation: 72/2=36, Resulting Numbers: [1, 36] Generated Node #0,2,1: 24:[1, 36] Operation: 72/2=36 Exploring Operation: 72-1=71, Resulting Numbers: [2, 71] Generated Node #0,2,2: 24:[2, 71] Operation: 72-1=71 Exploring Operation: 72*1=72, Resulting Numbers: [2, 72] Generated Node #0,2,3: 24:[2, 72] Operation: 72*1=72 Moving to Node #0,0 Current State: 24:[71, 2, 0], Operations: ['72-72=0'] Exploring Operation: 71*0=0, Resulting Numbers: [2, 0] Generated Node #0,0,0: 24:[2, 0] Operation: 71*0=0 Exploring Operation: 71-0=71, Resulting Numbers: [2, 71] Generated Node #0,0,1: 24:[2, 71] Operation: 71-0=71 Exploring Operation: 71-2=69, Resulting Numbers: [0, 69] Generated Node #0,0,2: 24:[0, 69] Operation: 71-2=69 Exploring Operation: 71+0=71, Resulting Numbers: [2, 71] Generated Node #0,0,3: 24:[2, 71] Operation: 71+0=71 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[2, 0], Operations: ['72-72=0', '71*0=0'] Exploring Operation: 2*0=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 2+0=2, Resulting Numbers: [2] 2,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[2, 71], Operations: ['72-72=0', '71-0=71'] Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[0, 69], Operations: ['72-72=0', '71-2=69'] Exploring Operation: 69-0=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 0+69=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 0*69=0, Resulting Numbers: [0] 0,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 24:[2, 71], Operations: ['72-72=0', '71+0=71'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 24:[2, 72, 1], Operations: ['72-71=1'] Exploring Operation: 72-2=70, Resulting Numbers: [1, 70] Generated Node #0,3,0: 24:[1, 70] Operation: 72-2=70 Exploring Operation: 72/2=36, Resulting Numbers: [1, 36] Generated Node #0,3,1: 24:[1, 36] Operation: 72/2=36 Exploring Operation: 72-1=71, Resulting Numbers: [2, 71] Generated Node #0,3,2: 24:[2, 71] Operation: 72-1=71 Exploring Operation: 2+1=3, Resulting Numbers: [72, 3] Generated Node #0,3,3: 24:[72, 3] Operation: 2+1=3 Moving to Node #0,2,1 Current State: 24:[1, 36], Operations: ['72-71=1', '72/2=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,24 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,24 unequal: No Solution Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[1, 36], Operations: ['72-71=1', '72/2=36'] Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,24 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,24 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[2, 71], Operations: ['72-71=1', '72-1=71'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,24 unequal: No Solution Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[1, 70], Operations: ['72-71=1', '72-2=70'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 70/1=70, Resulting Numbers: [70] 70,24 unequal: No Solution Exploring Operation: 1+70=71, Resulting Numbers: [71] 71,24 unequal: No Solution Exploring Operation: 1*70=70, Resulting Numbers: [70] 70,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[2, 71], Operations: ['72-71=1', '72-1=71'] Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[1, 70], Operations: ['72-71=1', '72-2=70'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,24 unequal: No Solution Exploring Operation: 1*70=70, Resulting Numbers: [70] 70,24 unequal: No Solution Exploring Operation: 70/1=70, Resulting Numbers: [70] 70,24 unequal: No Solution Exploring Operation: 1+70=71, Resulting Numbers: [71] 71,24 unequal: No Solution Moving to Node #0,2,3 Current State: 24:[2, 72], Operations: ['72-71=1', '72*1=72'] Exploring Operation: 2*72=144, Resulting Numbers: [144] 144,24 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,24 unequal: No Solution Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,24 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[72, 3], Operations: ['72-71=1', '2+1=3'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[72, 71, 2, 72], Operations: [] Exploring Operation: 72-71=1, Resulting Numbers: [2, 72, 1] Generated Node #0,3: 24:[2, 72, 1] Operation: 72-71=1 Moving to Node #0,3 Current State: 24:[2, 72, 1], Operations: ['72-71=1'] Exploring Operation: 2+1=3, Resulting Numbers: [72, 3] Generated Node #0,3,3: 24:[72, 3] Operation: 2+1=3 Moving to Node #0,3,3 Current State: 24:[72, 3], Operations: ['72-71=1', '2+1=3'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.93316
hs_4
mult_heuristic
[ 56, 32, 44, 63 ]
83
[ "56-32=24", "44+63=107", "107-24=83" ]
Current State: 83:[56, 32, 44, 63], Operations: [] Exploring Operation: 56-32=24, Resulting Numbers: [44, 63, 24] Generated Node #2: [44, 63, 24] from Operation: 56-32=24 Current State: 83:[44, 63, 24], Operations: ['56-32=24'] Exploring Operation: 44+63=107, Resulting Numbers: [24, 107] Generated Node #3: [24, 107] from Operation: 44+63=107 Current State: 83:[24, 107], Operations: ['56-32=24', '44+63=107'] Exploring Operation: 107-24=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[56, 32, 44, 63], Operations: [] Exploring Operation: 32+44=76, Resulting Numbers: [56, 63, 76] Generated Node #0,0: 83:[56, 63, 76] Operation: 32+44=76 Exploring Operation: 56+32=88, Resulting Numbers: [44, 63, 88] Generated Node #0,1: 83:[44, 63, 88] Operation: 56+32=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[56, 63, 76], Operations: ['32+44=76'] Exploring Operation: 56+63=119, Resulting Numbers: [76, 119] Generated Node #0,0,0: 83:[76, 119] Operation: 56+63=119 Exploring Operation: 56+76=132, Resulting Numbers: [63, 132] Generated Node #0,0,1: 83:[63, 132] Operation: 56+76=132 Moving to Node #0,0,0 Current State: 83:[76, 119], Operations: ['32+44=76', '56+63=119'] Exploring Operation: 119-76=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 76+119=195, Resulting Numbers: [195] 195,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[63, 132], Operations: ['32+44=76', '56+76=132'] Exploring Operation: 132-63=69, Resulting Numbers: [69] 69,83 unequal: No Solution Exploring Operation: 63+132=195, Resulting Numbers: [195] 195,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[44, 63, 88], Operations: ['56+32=88'] Exploring Operation: 44+63=107, Resulting Numbers: [88, 107] Generated Node #0,1,0: 83:[88, 107] Operation: 44+63=107 Exploring Operation: 88-44=44, Resulting Numbers: [63, 44] Generated Node #0,1,1: 83:[63, 44] Operation: 88-44=44 Moving to Node #0,1,0 Current State: 83:[88, 107], Operations: ['56+32=88', '44+63=107'] Exploring Operation: 107-88=19, Resulting Numbers: [19] 19,83 unequal: No Solution Exploring Operation: 88+107=195, Resulting Numbers: [195] 195,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[63, 44], Operations: ['56+32=88', '88-44=44'] Exploring Operation: 63+44=107, Resulting Numbers: [107] 107,83 unequal: No Solution Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 9, 7, 40, 5 ]
16
[ "9-7=2", "40/5=8", "2*8=16" ]
Current State: 16:[9, 7, 40, 5], Operations: [] Exploring Operation: 9-7=2, Resulting Numbers: [40, 5, 2] Generated Node #2: [40, 5, 2] from Operation: 9-7=2 Current State: 16:[40, 5, 2], Operations: ['9-7=2'] Exploring Operation: 40/5=8, Resulting Numbers: [2, 8] Generated Node #3: [2, 8] from Operation: 40/5=8 Current State: 16:[2, 8], Operations: ['9-7=2', '40/5=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[9, 7, 40, 5], Operations: [] Exploring Operation: 40-7=33, Resulting Numbers: [9, 5, 33] Generated Node #0,0: 16:[9, 5, 33] Operation: 40-7=33 Exploring Operation: 40-5=35, Resulting Numbers: [9, 7, 35] Generated Node #0,1: 16:[9, 7, 35] Operation: 40-5=35 Exploring Operation: 40/5=8, Resulting Numbers: [9, 7, 8] Generated Node #0,2: 16:[9, 7, 8] Operation: 40/5=8 Exploring Operation: 40-9=31, Resulting Numbers: [7, 5, 31] Generated Node #0,3: 16:[7, 5, 31] Operation: 40-9=31 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[9, 7, 8], Operations: ['40/5=8'] Exploring Operation: 9-7=2, Resulting Numbers: [8, 2] Generated Node #0,2,0: 16:[8, 2] Operation: 9-7=2 Exploring Operation: 9+8=17, Resulting Numbers: [7, 17] Generated Node #0,2,1: 16:[7, 17] Operation: 9+8=17 Exploring Operation: 9+7=16, Resulting Numbers: [8, 16] Generated Node #0,2,2: 16:[8, 16] Operation: 9+7=16 Exploring Operation: 9-8=1, Resulting Numbers: [7, 1] Generated Node #0,2,3: 16:[7, 1] Operation: 9-8=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 16:[8, 2], Operations: ['40/5=8', '9-7=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[9, 7, 40, 5], Operations: [] Exploring Operation: 40/5=8, Resulting Numbers: [9, 7, 8] Generated Node #0,2: 16:[9, 7, 8] Operation: 40/5=8 Moving to Node #0,2 Current State: 16:[9, 7, 8], Operations: ['40/5=8'] Exploring Operation: 9-7=2, Resulting Numbers: [8, 2] Generated Node #0,2,0: 16:[8, 2] Operation: 9-7=2 Moving to Node #0,2,0 Current State: 16:[8, 2], Operations: ['40/5=8', '9-7=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 36, 39, 76, 50 ]
51
[ "36+39=75", "76+50=126", "126-75=51" ]
Current State: 51:[36, 39, 76, 50], Operations: [] Exploring Operation: 36+39=75, Resulting Numbers: [76, 50, 75] Generated Node #2: [76, 50, 75] from Operation: 36+39=75 Current State: 51:[76, 50, 75], Operations: ['36+39=75'] Exploring Operation: 76+50=126, Resulting Numbers: [75, 126] Generated Node #3: [75, 126] from Operation: 76+50=126 Current State: 51:[75, 126], Operations: ['36+39=75', '76+50=126'] Exploring Operation: 126-75=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[36, 39, 76, 50], Operations: [] Exploring Operation: 76-39=37, Resulting Numbers: [36, 50, 37] Generated Node #0,0: 51:[36, 50, 37] Operation: 76-39=37 Exploring Operation: 39-36=3, Resulting Numbers: [76, 50, 3] Generated Node #0,1: 51:[76, 50, 3] Operation: 39-36=3 Exploring Operation: 76-36=40, Resulting Numbers: [39, 50, 40] Generated Node #0,2: 51:[39, 50, 40] Operation: 76-36=40 Moving to Node #0,2 Current State: 51:[39, 50, 40], Operations: ['76-36=40'] Exploring Operation: 40-39=1, Resulting Numbers: [50, 1] Generated Node #0,2,0: 51:[50, 1] Operation: 40-39=1 Exploring Operation: 50-40=10, Resulting Numbers: [39, 10] Generated Node #0,2,1: 51:[39, 10] Operation: 50-40=10 Exploring Operation: 50-39=11, Resulting Numbers: [40, 11] Generated Node #0,2,2: 51:[40, 11] Operation: 50-39=11 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[50, 1], Operations: ['76-36=40', '40-39=1'] Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[36, 39, 76, 50], Operations: [] Exploring Operation: 76-36=40, Resulting Numbers: [39, 50, 40] Generated Node #0,2: 51:[39, 50, 40] Operation: 76-36=40 Moving to Node #0,2 Current State: 51:[39, 50, 40], Operations: ['76-36=40'] Exploring Operation: 40-39=1, Resulting Numbers: [50, 1] Generated Node #0,2,0: 51:[50, 1] Operation: 40-39=1 Moving to Node #0,2,0 Current State: 51:[50, 1], Operations: ['76-36=40', '40-39=1'] Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 51, 48, 1, 23 ]
20
[ "51-48=3", "1*23=23", "23-3=20" ]
Current State: 20:[51, 48, 1, 23], Operations: [] Exploring Operation: 51-48=3, Resulting Numbers: [1, 23, 3] Generated Node #2: [1, 23, 3] from Operation: 51-48=3 Current State: 20:[1, 23, 3], Operations: ['51-48=3'] Exploring Operation: 1*23=23, Resulting Numbers: [3, 23] Generated Node #3: [3, 23] from Operation: 1*23=23 Current State: 20:[3, 23], Operations: ['51-48=3', '1*23=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[51, 48, 1, 23], Operations: [] Exploring Operation: 51-23=28, Resulting Numbers: [48, 1, 28] Generated Node #0,0: 20:[48, 1, 28] Operation: 51-23=28 Exploring Operation: 51-1=50, Resulting Numbers: [48, 23, 50] Generated Node #0,1: 20:[48, 23, 50] Operation: 51-1=50 Exploring Operation: 51-48=3, Resulting Numbers: [1, 23, 3] Generated Node #0,2: 20:[1, 23, 3] Operation: 51-48=3 Exploring Operation: 48-23=25, Resulting Numbers: [51, 1, 25] Generated Node #0,3: 20:[51, 1, 25] Operation: 48-23=25 Moving to Node #0,2 Current State: 20:[1, 23, 3], Operations: ['51-48=3'] Exploring Operation: 23-3=20, Resulting Numbers: [1, 20] Generated Node #0,2,0: 20:[1, 20] Operation: 23-3=20 Exploring Operation: 1+3=4, Resulting Numbers: [23, 4] Generated Node #0,2,1: 20:[23, 4] Operation: 1+3=4 Exploring Operation: 3-1=2, Resulting Numbers: [23, 2] Generated Node #0,2,2: 20:[23, 2] Operation: 3-1=2 Exploring Operation: 23-1=22, Resulting Numbers: [3, 22] Generated Node #0,2,3: 20:[3, 22] Operation: 23-1=22 Moving to Node #0,3 Current State: 20:[51, 1, 25], Operations: ['48-23=25'] Exploring Operation: 51*1=51, Resulting Numbers: [25, 51] Generated Node #0,3,0: 20:[25, 51] Operation: 51*1=51 Exploring Operation: 51-25=26, Resulting Numbers: [1, 26] Generated Node #0,3,1: 20:[1, 26] Operation: 51-25=26 Exploring Operation: 51-1=50, Resulting Numbers: [25, 50] Generated Node #0,3,2: 20:[25, 50] Operation: 51-1=50 Exploring Operation: 25-1=24, Resulting Numbers: [51, 24] Generated Node #0,3,3: 20:[51, 24] Operation: 25-1=24 Moving to Node #0,0 Current State: 20:[48, 1, 28], Operations: ['51-23=28'] Exploring Operation: 48*1=48, Resulting Numbers: [28, 48] Generated Node #0,0,0: 20:[28, 48] Operation: 48*1=48 Exploring Operation: 48-28=20, Resulting Numbers: [1, 20] Generated Node #0,0,1: 20:[1, 20] Operation: 48-28=20 Exploring Operation: 48-1=47, Resulting Numbers: [28, 47] Generated Node #0,0,2: 20:[28, 47] Operation: 48-1=47 Exploring Operation: 28-1=27, Resulting Numbers: [48, 27] Generated Node #0,0,3: 20:[48, 27] Operation: 28-1=27 Moving to Node #0,1 Current State: 20:[48, 23, 50], Operations: ['51-1=50'] Exploring Operation: 50-48=2, Resulting Numbers: [23, 2] Generated Node #0,1,0: 20:[23, 2] Operation: 50-48=2 Exploring Operation: 50-23=27, Resulting Numbers: [48, 27] Generated Node #0,1,1: 20:[48, 27] Operation: 50-23=27 Exploring Operation: 48-23=25, Resulting Numbers: [50, 25] Generated Node #0,1,2: 20:[50, 25] Operation: 48-23=25 Exploring Operation: 48+23=71, Resulting Numbers: [50, 71] Generated Node #0,1,3: 20:[50, 71] Operation: 48+23=71 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[23, 2], Operations: ['51-1=50', '50-48=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[48, 27], Operations: ['51-1=50', '50-23=27'] Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 48*27=1296, Resulting Numbers: [1296] 1296,20 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 20:[50, 25], Operations: ['51-1=50', '48-23=25'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 20:[50, 71], Operations: ['51-1=50', '48+23=71'] Exploring Operation: 71-50=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 50+71=121, Resulting Numbers: [121] 121,20 unequal: No Solution Exploring Operation: 50*71=3550, Resulting Numbers: [3550] 3550,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 20:[1, 20], Operations: ['51-48=3', '23-3=20'] Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[51, 48, 1, 23], Operations: [] Exploring Operation: 51-48=3, Resulting Numbers: [1, 23, 3] Generated Node #0,2: 20:[1, 23, 3] Operation: 51-48=3 Moving to Node #0,2 Current State: 20:[1, 23, 3], Operations: ['51-48=3'] Exploring Operation: 23-3=20, Resulting Numbers: [1, 20] Generated Node #0,2,0: 20:[1, 20] Operation: 23-3=20 Moving to Node #0,2,0 Current State: 20:[1, 20], Operations: ['51-48=3', '23-3=20'] Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.967014
hs_4
mult_heuristic
[ 93, 84, 59, 91 ]
88
[ "93+84=177", "177/59=3", "91-3=88" ]
Current State: 88:[93, 84, 59, 91], Operations: [] Exploring Operation: 93+84=177, Resulting Numbers: [59, 91, 177] Generated Node #2: [59, 91, 177] from Operation: 93+84=177 Current State: 88:[59, 91, 177], Operations: ['93+84=177'] Exploring Operation: 177/59=3, Resulting Numbers: [91, 3] Generated Node #3: [91, 3] from Operation: 177/59=3 Current State: 88:[91, 3], Operations: ['93+84=177', '177/59=3'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[93, 84, 59, 91], Operations: [] Exploring Operation: 84-59=25, Resulting Numbers: [93, 91, 25] Generated Node #0,0: 88:[93, 91, 25] Operation: 84-59=25 Exploring Operation: 93-59=34, Resulting Numbers: [84, 91, 34] Generated Node #0,1: 88:[84, 91, 34] Operation: 93-59=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[93, 91, 25], Operations: ['84-59=25'] Exploring Operation: 93-91=2, Resulting Numbers: [25, 2] Generated Node #0,0,0: 88:[25, 2] Operation: 93-91=2 Exploring Operation: 93-25=68, Resulting Numbers: [91, 68] Generated Node #0,0,1: 88:[91, 68] Operation: 93-25=68 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[25, 2], Operations: ['84-59=25', '93-91=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[91, 68], Operations: ['84-59=25', '93-25=68'] Exploring Operation: 91-68=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 91+68=159, Resulting Numbers: [159] 159,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[84, 91, 34], Operations: ['93-59=34'] Exploring Operation: 84-34=50, Resulting Numbers: [91, 50] Generated Node #0,1,0: 88:[91, 50] Operation: 84-34=50 Exploring Operation: 91-84=7, Resulting Numbers: [34, 7] Generated Node #0,1,1: 88:[34, 7] Operation: 91-84=7 Moving to Node #0,1,0 Current State: 88:[91, 50], Operations: ['93-59=34', '84-34=50'] Exploring Operation: 91+50=141, Resulting Numbers: [141] 141,88 unequal: No Solution Exploring Operation: 91-50=41, Resulting Numbers: [41] 41,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[34, 7], Operations: ['93-59=34', '91-84=7'] Exploring Operation: 34+7=41, Resulting Numbers: [41] 41,88 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 27, 7, 7, 84 ]
98
[ "27*7=189", "7+84=91", "189-91=98" ]
Current State: 98:[27, 7, 7, 84], Operations: [] Exploring Operation: 27*7=189, Resulting Numbers: [84, 189] Generated Node #2: [84, 189] from Operation: 27*7=189 Current State: 98:[84, 189], Operations: ['27*7=189'] Exploring Operation: 7+84=91, Resulting Numbers: [189, 91] Generated Node #3: [189, 91] from Operation: 7+84=91 Current State: 98:[189, 91], Operations: ['27*7=189', '7+84=91'] Exploring Operation: 189-91=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[27, 7, 7, 84], Operations: [] Exploring Operation: 27+84=111, Resulting Numbers: [7, 7, 111] Generated Node #0,0: 98:[7, 7, 111] Operation: 27+84=111 Exploring Operation: 84-27=57, Resulting Numbers: [7, 7, 57] Generated Node #0,1: 98:[7, 7, 57] Operation: 84-27=57 Moving to Node #0,1 Current State: 98:[7, 7, 57], Operations: ['84-27=57'] Exploring Operation: 57-7=50, Resulting Numbers: [7, 50] Generated Node #0,1,0: 98:[7, 50] Operation: 57-7=50 Exploring Operation: 57-7=50, Resulting Numbers: [7, 50] Generated Node #0,1,1: 98:[7, 50] Operation: 57-7=50 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[7, 50], Operations: ['84-27=57', '57-7=50'] Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,98 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[7, 50], Operations: ['84-27=57', '57-7=50'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 98:[7, 7, 111], Operations: ['27+84=111'] Exploring Operation: 111-7=104, Resulting Numbers: [7, 104] Generated Node #0,0,0: 98:[7, 104] Operation: 111-7=104 Exploring Operation: 111-7=104, Resulting Numbers: [7, 104] Generated Node #0,0,1: 98:[7, 104] Operation: 111-7=104 Moving to Node #0,0,0 Current State: 98:[7, 104], Operations: ['27+84=111', '111-7=104'] Exploring Operation: 104-7=97, Resulting Numbers: [97] 97,98 unequal: No Solution Exploring Operation: 7+104=111, Resulting Numbers: [111] 111,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[7, 104], Operations: ['27+84=111', '111-7=104'] Exploring Operation: 7+104=111, Resulting Numbers: [111] 111,98 unequal: No Solution Exploring Operation: 104-7=97, Resulting Numbers: [97] 97,98 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 2, 90, 20, 76 ]
64
[ "90-20=70", "2*70=140", "140-76=64" ]
Current State: 64:[2, 90, 20, 76], Operations: [] Exploring Operation: 90-20=70, Resulting Numbers: [2, 76, 70] Generated Node #2: [2, 76, 70] from Operation: 90-20=70 Current State: 64:[2, 76, 70], Operations: ['90-20=70'] Exploring Operation: 2*70=140, Resulting Numbers: [76, 140] Generated Node #3: [76, 140] from Operation: 2*70=140 Current State: 64:[76, 140], Operations: ['90-20=70', '2*70=140'] Exploring Operation: 140-76=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[2, 90, 20, 76], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [2, 20, 14] Generated Node #0,0: 64:[2, 20, 14] Operation: 90-76=14 Exploring Operation: 90-20=70, Resulting Numbers: [2, 76, 70] Generated Node #0,1: 64:[2, 76, 70] Operation: 90-20=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[2, 20, 14], Operations: ['90-76=14'] Exploring Operation: 20-14=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 64:[2, 6] Operation: 20-14=6 Exploring Operation: 20+14=34, Resulting Numbers: [2, 34] Generated Node #0,0,1: 64:[2, 34] Operation: 20+14=34 Moving to Node #0,0,0 Current State: 64:[2, 6], Operations: ['90-76=14', '20-14=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[2, 34], Operations: ['90-76=14', '20+14=34'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[2, 76, 70], Operations: ['90-20=70'] Exploring Operation: 76-70=6, Resulting Numbers: [2, 6] Generated Node #0,1,0: 64:[2, 6] Operation: 76-70=6 Exploring Operation: 76/2=38, Resulting Numbers: [70, 38] Generated Node #0,1,1: 64:[70, 38] Operation: 76/2=38 Moving to Node #0,1,0 Current State: 64:[2, 6], Operations: ['90-20=70', '76-70=6'] Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[70, 38], Operations: ['90-20=70', '76/2=38'] Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 70+38=108, Resulting Numbers: [108] 108,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 12, 1, 12, 76 ]
74
[ "12/12=1", "76-1=75", "75-1=74" ]
Current State: 74:[12, 1, 12, 76], Operations: [] Exploring Operation: 12/12=1, Resulting Numbers: [1, 76, 1] Generated Node #2: [1, 76, 1] from Operation: 12/12=1 Current State: 74:[1, 76, 1], Operations: ['12/12=1'] Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,74 equal: Goal Reached Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[12, 1, 12, 76], Operations: [] Exploring Operation: 12-12=0, Resulting Numbers: [1, 76, 0] Generated Node #0,0: 74:[1, 76, 0] Operation: 12-12=0 Exploring Operation: 12/12=1, Resulting Numbers: [1, 76, 1] Generated Node #0,1: 74:[1, 76, 1] Operation: 12/12=1 Exploring Operation: 12+12=24, Resulting Numbers: [1, 76, 24] Generated Node #0,2: 74:[1, 76, 24] Operation: 12+12=24 Moving to Node #0,1 Current State: 74:[1, 76, 1], Operations: ['12/12=1'] Exploring Operation: 1+1=2, Resulting Numbers: [76, 2] Generated Node #0,1,0: 74:[76, 2] Operation: 1+1=2 Exploring Operation: 76-1=75, Resulting Numbers: [1, 75] Generated Node #0,1,1: 74:[1, 75] Operation: 76-1=75 Exploring Operation: 76-1=75, Resulting Numbers: [1, 75] Generated Node #0,1,2: 74:[1, 75] Operation: 76-1=75 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[76, 2], Operations: ['12/12=1', '1+1=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,74 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[12, 1, 12, 76], Operations: [] Exploring Operation: 12/12=1, Resulting Numbers: [1, 76, 1] Generated Node #0,1: 74:[1, 76, 1] Operation: 12/12=1 Moving to Node #0,1 Current State: 74:[1, 76, 1], Operations: ['12/12=1'] Exploring Operation: 1+1=2, Resulting Numbers: [76, 2] Generated Node #0,1,0: 74:[76, 2] Operation: 1+1=2 Moving to Node #0,1,0 Current State: 74:[76, 2], Operations: ['12/12=1', '1+1=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 88, 82, 16, 72 ]
50
[ "88-82=6", "72-16=56", "56-6=50" ]
Current State: 50:[88, 82, 16, 72], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [16, 72, 6] Generated Node #2: [16, 72, 6] from Operation: 88-82=6 Current State: 50:[16, 72, 6], Operations: ['88-82=6'] Exploring Operation: 72-16=56, Resulting Numbers: [6, 56] Generated Node #3: [6, 56] from Operation: 72-16=56 Current State: 50:[6, 56], Operations: ['88-82=6', '72-16=56'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[88, 82, 16, 72], Operations: [] Exploring Operation: 82-72=10, Resulting Numbers: [88, 16, 10] Generated Node #0,0: 50:[88, 16, 10] Operation: 82-72=10 Exploring Operation: 88-16=72, Resulting Numbers: [82, 72, 72] Generated Node #0,1: 50:[82, 72, 72] Operation: 88-16=72 Exploring Operation: 88-82=6, Resulting Numbers: [16, 72, 6] Generated Node #0,2: 50:[16, 72, 6] Operation: 88-82=6 Exploring Operation: 82-16=66, Resulting Numbers: [88, 72, 66] Generated Node #0,3: 50:[88, 72, 66] Operation: 82-16=66 Exploring Operation: 88-72=16, Resulting Numbers: [82, 16, 16] Generated Node #0,4: 50:[82, 16, 16] Operation: 88-72=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[16, 72, 6], Operations: ['88-82=6'] Exploring Operation: 72-16=56, Resulting Numbers: [6, 56] Generated Node #0,2,0: 50:[6, 56] Operation: 72-16=56 Exploring Operation: 72/6=12, Resulting Numbers: [16, 12] Generated Node #0,2,1: 50:[16, 12] Operation: 72/6=12 Exploring Operation: 16-6=10, Resulting Numbers: [72, 10] Generated Node #0,2,2: 50:[72, 10] Operation: 16-6=10 Exploring Operation: 16+6=22, Resulting Numbers: [72, 22] Generated Node #0,2,3: 50:[72, 22] Operation: 16+6=22 Exploring Operation: 72-6=66, Resulting Numbers: [16, 66] Generated Node #0,2,4: 50:[16, 66] Operation: 72-6=66 Moving to Node #0,2,0 Current State: 50:[6, 56], Operations: ['88-82=6', '72-16=56'] Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,50 unequal: No Solution Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,50 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[88, 82, 16, 72], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [16, 72, 6] Generated Node #0,2: 50:[16, 72, 6] Operation: 88-82=6 Moving to Node #0,2 Current State: 50:[16, 72, 6], Operations: ['88-82=6'] Exploring Operation: 72-16=56, Resulting Numbers: [6, 56] Generated Node #0,2,0: 50:[6, 56] Operation: 72-16=56 Moving to Node #0,2,0 Current State: 50:[6, 56], Operations: ['88-82=6', '72-16=56'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 74, 44, 39, 6 ]
15
[ "74-44=30", "39+6=45", "45-30=15" ]
Current State: 15:[74, 44, 39, 6], Operations: [] Exploring Operation: 74-44=30, Resulting Numbers: [39, 6, 30] Generated Node #2: [39, 6, 30] from Operation: 74-44=30 Current State: 15:[39, 6, 30], Operations: ['74-44=30'] Exploring Operation: 39+6=45, Resulting Numbers: [30, 45] Generated Node #3: [30, 45] from Operation: 39+6=45 Current State: 15:[30, 45], Operations: ['74-44=30', '39+6=45'] Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[74, 44, 39, 6], Operations: [] Exploring Operation: 74-44=30, Resulting Numbers: [39, 6, 30] Generated Node #0,0: 15:[39, 6, 30] Operation: 74-44=30 Exploring Operation: 74-39=35, Resulting Numbers: [44, 6, 35] Generated Node #0,1: 15:[44, 6, 35] Operation: 74-39=35 Moving to Node #0,0 Current State: 15:[39, 6, 30], Operations: ['74-44=30'] Exploring Operation: 39-30=9, Resulting Numbers: [6, 9] Generated Node #0,0,0: 15:[6, 9] Operation: 39-30=9 Exploring Operation: 30/6=5, Resulting Numbers: [39, 5] Generated Node #0,0,1: 15:[39, 5] Operation: 30/6=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[6, 9], Operations: ['74-44=30', '39-30=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[74, 44, 39, 6], Operations: [] Exploring Operation: 74-44=30, Resulting Numbers: [39, 6, 30] Generated Node #0,0: 15:[39, 6, 30] Operation: 74-44=30 Moving to Node #0,0 Current State: 15:[39, 6, 30], Operations: ['74-44=30'] Exploring Operation: 39-30=9, Resulting Numbers: [6, 9] Generated Node #0,0,0: 15:[6, 9] Operation: 39-30=9 Moving to Node #0,0,0 Current State: 15:[6, 9], Operations: ['74-44=30', '39-30=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 83, 37, 68, 72 ]
50
[ "83-37=46", "72-68=4", "46+4=50" ]
Current State: 50:[83, 37, 68, 72], Operations: [] Exploring Operation: 83-37=46, Resulting Numbers: [68, 72, 46] Generated Node #2: [68, 72, 46] from Operation: 83-37=46 Current State: 50:[68, 72, 46], Operations: ['83-37=46'] Exploring Operation: 72-68=4, Resulting Numbers: [46, 4] Generated Node #3: [46, 4] from Operation: 72-68=4 Current State: 50:[46, 4], Operations: ['83-37=46', '72-68=4'] Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[83, 37, 68, 72], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [83, 37, 4] Generated Node #0,0: 50:[83, 37, 4] Operation: 72-68=4 Exploring Operation: 83-68=15, Resulting Numbers: [37, 72, 15] Generated Node #0,1: 50:[37, 72, 15] Operation: 83-68=15 Exploring Operation: 83-37=46, Resulting Numbers: [68, 72, 46] Generated Node #0,2: 50:[68, 72, 46] Operation: 83-37=46 Exploring Operation: 83-72=11, Resulting Numbers: [37, 68, 11] Generated Node #0,3: 50:[37, 68, 11] Operation: 83-72=11 Moving to Node #0,3 Current State: 50:[37, 68, 11], Operations: ['83-72=11'] Exploring Operation: 68-37=31, Resulting Numbers: [11, 31] Generated Node #0,3,0: 50:[11, 31] Operation: 68-37=31 Exploring Operation: 37-11=26, Resulting Numbers: [68, 26] Generated Node #0,3,1: 50:[68, 26] Operation: 37-11=26 Exploring Operation: 68-11=57, Resulting Numbers: [37, 57] Generated Node #0,3,2: 50:[37, 57] Operation: 68-11=57 Exploring Operation: 37+11=48, Resulting Numbers: [68, 48] Generated Node #0,3,3: 50:[68, 48] Operation: 37+11=48 Moving to Node #0,1 Current State: 50:[37, 72, 15], Operations: ['83-68=15'] Exploring Operation: 72-37=35, Resulting Numbers: [15, 35] Generated Node #0,1,0: 50:[15, 35] Operation: 72-37=35 Exploring Operation: 37-15=22, Resulting Numbers: [72, 22] Generated Node #0,1,1: 50:[72, 22] Operation: 37-15=22 Exploring Operation: 72-15=57, Resulting Numbers: [37, 57] Generated Node #0,1,2: 50:[37, 57] Operation: 72-15=57 Exploring Operation: 37+15=52, Resulting Numbers: [72, 52] Generated Node #0,1,3: 50:[72, 52] Operation: 37+15=52 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[15, 35], Operations: ['83-68=15', '72-37=35'] Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 15*35=525, Resulting Numbers: [525] 525,50 unequal: No Solution Exploring Operation: 15+35=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[83, 37, 68, 72], Operations: [] Exploring Operation: 83-68=15, Resulting Numbers: [37, 72, 15] Generated Node #0,1: 50:[37, 72, 15] Operation: 83-68=15 Moving to Node #0,1 Current State: 50:[37, 72, 15], Operations: ['83-68=15'] Exploring Operation: 72-37=35, Resulting Numbers: [15, 35] Generated Node #0,1,0: 50:[15, 35] Operation: 72-37=35 Moving to Node #0,1,0 Current State: 50:[15, 35], Operations: ['83-68=15', '72-37=35'] Exploring Operation: 15+35=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 36, 85, 26, 12 ]
62
[ "36/12=3", "85-26=59", "3+59=62" ]
Current State: 62:[36, 85, 26, 12], Operations: [] Exploring Operation: 36/12=3, Resulting Numbers: [85, 26, 3] Generated Node #2: [85, 26, 3] from Operation: 36/12=3 Current State: 62:[85, 26, 3], Operations: ['36/12=3'] Exploring Operation: 85-26=59, Resulting Numbers: [3, 59] Generated Node #3: [3, 59] from Operation: 85-26=59 Current State: 62:[3, 59], Operations: ['36/12=3', '85-26=59'] Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[36, 85, 26, 12], Operations: [] Exploring Operation: 85-26=59, Resulting Numbers: [36, 12, 59] Generated Node #0,0: 62:[36, 12, 59] Operation: 85-26=59 Exploring Operation: 85-12=73, Resulting Numbers: [36, 26, 73] Generated Node #0,1: 62:[36, 26, 73] Operation: 85-12=73 Moving to Node #0,0 Current State: 62:[36, 12, 59], Operations: ['85-26=59'] Exploring Operation: 36-12=24, Resulting Numbers: [59, 24] Generated Node #0,0,0: 62:[59, 24] Operation: 36-12=24 Exploring Operation: 36/12=3, Resulting Numbers: [59, 3] Generated Node #0,0,1: 62:[59, 3] Operation: 36/12=3 Moving to Node #0,1 Current State: 62:[36, 26, 73], Operations: ['85-12=73'] Exploring Operation: 73-36=37, Resulting Numbers: [26, 37] Generated Node #0,1,0: 62:[26, 37] Operation: 73-36=37 Exploring Operation: 36+26=62, Resulting Numbers: [73, 62] Generated Node #0,1,1: 62:[73, 62] Operation: 36+26=62 Moving to Node #0,0,1 Current State: 62:[59, 3], Operations: ['85-26=59', '36/12=3'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,62 unequal: No Solution Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[36, 85, 26, 12], Operations: [] Exploring Operation: 85-26=59, Resulting Numbers: [36, 12, 59] Generated Node #0,0: 62:[36, 12, 59] Operation: 85-26=59 Moving to Node #0,0 Current State: 62:[36, 12, 59], Operations: ['85-26=59'] Exploring Operation: 36/12=3, Resulting Numbers: [59, 3] Generated Node #0,0,1: 62:[59, 3] Operation: 36/12=3 Moving to Node #0,0,1 Current State: 62:[59, 3], Operations: ['85-26=59', '36/12=3'] Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 66, 90, 32, 29 ]
72
[ "90-66=24", "32-29=3", "24*3=72" ]
Current State: 72:[66, 90, 32, 29], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [32, 29, 24] Generated Node #2: [32, 29, 24] from Operation: 90-66=24 Current State: 72:[32, 29, 24], Operations: ['90-66=24'] Exploring Operation: 32-29=3, Resulting Numbers: [24, 3] Generated Node #3: [24, 3] from Operation: 32-29=3 Current State: 72:[24, 3], Operations: ['90-66=24', '32-29=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[66, 90, 32, 29], Operations: [] Exploring Operation: 90-29=61, Resulting Numbers: [66, 32, 61] Generated Node #0,0: 72:[66, 32, 61] Operation: 90-29=61 Exploring Operation: 90-66=24, Resulting Numbers: [32, 29, 24] Generated Node #0,1: 72:[32, 29, 24] Operation: 90-66=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[32, 29, 24], Operations: ['90-66=24'] Exploring Operation: 32-24=8, Resulting Numbers: [29, 8] Generated Node #0,1,0: 72:[29, 8] Operation: 32-24=8 Exploring Operation: 32-29=3, Resulting Numbers: [24, 3] Generated Node #0,1,1: 72:[24, 3] Operation: 32-29=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[24, 3], Operations: ['90-66=24', '32-29=3'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[66, 90, 32, 29], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [32, 29, 24] Generated Node #0,1: 72:[32, 29, 24] Operation: 90-66=24 Moving to Node #0,1 Current State: 72:[32, 29, 24], Operations: ['90-66=24'] Exploring Operation: 32-29=3, Resulting Numbers: [24, 3] Generated Node #0,1,1: 72:[24, 3] Operation: 32-29=3 Moving to Node #0,1,1 Current State: 72:[24, 3], Operations: ['90-66=24', '32-29=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 82, 46, 82, 16 ]
63
[ "82/82=1", "46+16=62", "1+62=63" ]
Current State: 63:[82, 46, 82, 16], Operations: [] Exploring Operation: 82/82=1, Resulting Numbers: [46, 16, 1] Generated Node #2: [46, 16, 1] from Operation: 82/82=1 Current State: 63:[46, 16, 1], Operations: ['82/82=1'] Exploring Operation: 46+16=62, Resulting Numbers: [1, 62] Generated Node #3: [1, 62] from Operation: 46+16=62 Current State: 63:[1, 62], Operations: ['82/82=1', '46+16=62'] Exploring Operation: 1+62=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[82, 46, 82, 16], Operations: [] Exploring Operation: 82/82=1, Resulting Numbers: [46, 16, 1] Generated Node #0,0: 63:[46, 16, 1] Operation: 82/82=1 Exploring Operation: 82-82=0, Resulting Numbers: [46, 16, 0] Generated Node #0,1: 63:[46, 16, 0] Operation: 82-82=0 Exploring Operation: 82-16=66, Resulting Numbers: [46, 82, 66] Generated Node #0,2: 63:[46, 82, 66] Operation: 82-16=66 Exploring Operation: 82-46=36, Resulting Numbers: [82, 16, 36] Generated Node #0,3: 63:[82, 16, 36] Operation: 82-46=36 Exploring Operation: 82-46=36, Resulting Numbers: [82, 16, 36] Generated Node #0,4: 63:[82, 16, 36] Operation: 82-46=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[46, 16, 1], Operations: ['82/82=1'] Exploring Operation: 46+16=62, Resulting Numbers: [1, 62] Generated Node #0,0,0: 63:[1, 62] Operation: 46+16=62 Exploring Operation: 16+1=17, Resulting Numbers: [46, 17] Generated Node #0,0,1: 63:[46, 17] Operation: 16+1=17 Exploring Operation: 46*1=46, Resulting Numbers: [16, 46] Generated Node #0,0,2: 63:[16, 46] Operation: 46*1=46 Exploring Operation: 46-16=30, Resulting Numbers: [1, 30] Generated Node #0,0,3: 63:[1, 30] Operation: 46-16=30 Exploring Operation: 46+1=47, Resulting Numbers: [16, 47] Generated Node #0,0,4: 63:[16, 47] Operation: 46+1=47 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[1, 62], Operations: ['82/82=1', '46+16=62'] Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 1*62=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,63 unequal: No Solution Exploring Operation: 1+62=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[82, 46, 82, 16], Operations: [] Exploring Operation: 82/82=1, Resulting Numbers: [46, 16, 1] Generated Node #0,0: 63:[46, 16, 1] Operation: 82/82=1 Moving to Node #0,0 Current State: 63:[46, 16, 1], Operations: ['82/82=1'] Exploring Operation: 46+16=62, Resulting Numbers: [1, 62] Generated Node #0,0,0: 63:[1, 62] Operation: 46+16=62 Moving to Node #0,0,0 Current State: 63:[1, 62], Operations: ['82/82=1', '46+16=62'] Exploring Operation: 1+62=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 46, 28, 57, 77 ]
35
[ "57-46=11", "77/11=7", "28+7=35" ]
Current State: 35:[46, 28, 57, 77], Operations: [] Exploring Operation: 57-46=11, Resulting Numbers: [28, 77, 11] Generated Node #2: [28, 77, 11] from Operation: 57-46=11 Current State: 35:[28, 77, 11], Operations: ['57-46=11'] Exploring Operation: 77/11=7, Resulting Numbers: [28, 7] Generated Node #3: [28, 7] from Operation: 77/11=7 Current State: 35:[28, 7], Operations: ['57-46=11', '77/11=7'] Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[46, 28, 57, 77], Operations: [] Exploring Operation: 77-57=20, Resulting Numbers: [46, 28, 20] Generated Node #0,0: 35:[46, 28, 20] Operation: 77-57=20 Exploring Operation: 57-46=11, Resulting Numbers: [28, 77, 11] Generated Node #0,1: 35:[28, 77, 11] Operation: 57-46=11 Exploring Operation: 57-28=29, Resulting Numbers: [46, 77, 29] Generated Node #0,2: 35:[46, 77, 29] Operation: 57-28=29 Exploring Operation: 77-46=31, Resulting Numbers: [28, 57, 31] Generated Node #0,3: 35:[28, 57, 31] Operation: 77-46=31 Exploring Operation: 77-28=49, Resulting Numbers: [46, 57, 49] Generated Node #0,4: 35:[46, 57, 49] Operation: 77-28=49 Moving to Node #0,0 Current State: 35:[46, 28, 20], Operations: ['77-57=20'] Exploring Operation: 46-20=26, Resulting Numbers: [28, 26] Generated Node #0,0,0: 35:[28, 26] Operation: 46-20=26 Exploring Operation: 28-20=8, Resulting Numbers: [46, 8] Generated Node #0,0,1: 35:[46, 8] Operation: 28-20=8 Exploring Operation: 46-28=18, Resulting Numbers: [20, 18] Generated Node #0,0,2: 35:[20, 18] Operation: 46-28=18 Exploring Operation: 28+20=48, Resulting Numbers: [46, 48] Generated Node #0,0,3: 35:[46, 48] Operation: 28+20=48 Exploring Operation: 46+20=66, Resulting Numbers: [28, 66] Generated Node #0,0,4: 35:[28, 66] Operation: 46+20=66 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 35:[46, 8], Operations: ['77-57=20', '28-20=8'] Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,35 unequal: No Solution Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[28, 26], Operations: ['77-57=20', '46-20=26'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 28*26=728, Resulting Numbers: [728] 728,35 unequal: No Solution Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 35:[20, 18], Operations: ['77-57=20', '46-28=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,35 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 35:[46, 48], Operations: ['77-57=20', '28+20=48'] Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,35 unequal: No Solution Exploring Operation: 46*48=2208, Resulting Numbers: [2208] 2208,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 35:[28, 66], Operations: ['77-57=20', '46+20=66'] Exploring Operation: 28+66=94, Resulting Numbers: [94] 94,35 unequal: No Solution Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,35 unequal: No Solution Exploring Operation: 28*66=1848, Resulting Numbers: [1848] 1848,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 35:[28, 57, 31], Operations: ['77-46=31'] Exploring Operation: 28+31=59, Resulting Numbers: [57, 59] Generated Node #0,3,0: 35:[57, 59] Operation: 28+31=59 Exploring Operation: 57-31=26, Resulting Numbers: [28, 26] Generated Node #0,3,1: 35:[28, 26] Operation: 57-31=26 Exploring Operation: 28+57=85, Resulting Numbers: [31, 85] Generated Node #0,3,2: 35:[31, 85] Operation: 28+57=85 Exploring Operation: 31-28=3, Resulting Numbers: [57, 3] Generated Node #0,3,3: 35:[57, 3] Operation: 31-28=3 Exploring Operation: 57-28=29, Resulting Numbers: [31, 29] Generated Node #0,3,4: 35:[31, 29] Operation: 57-28=29 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 35:[31, 29], Operations: ['77-46=31', '57-28=29'] Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 31+29=60, Resulting Numbers: [60] 60,35 unequal: No Solution Exploring Operation: 31*29=899, Resulting Numbers: [899] 899,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 35:[28, 26], Operations: ['77-46=31', '57-31=26'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 28*26=728, Resulting Numbers: [728] 728,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 35:[57, 3], Operations: ['77-46=31', '31-28=3'] Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,35 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 35:[57, 59], Operations: ['77-46=31', '28+31=59'] Exploring Operation: 57*59=3363, Resulting Numbers: [3363] 3363,35 unequal: No Solution Exploring Operation: 57+59=116, Resulting Numbers: [116] 116,35 unequal: No Solution Exploring Operation: 59-57=2, Resulting Numbers: [2] 2,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 35:[31, 85], Operations: ['77-46=31', '28+57=85'] Exploring Operation: 31+85=116, Resulting Numbers: [116] 116,35 unequal: No Solution Exploring Operation: 85-31=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 31*85=2635, Resulting Numbers: [2635] 2635,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 35:[46, 57, 49], Operations: ['77-28=49'] Exploring Operation: 46+57=103, Resulting Numbers: [49, 103] Generated Node #0,4,0: 35:[49, 103] Operation: 46+57=103 Exploring Operation: 57-46=11, Resulting Numbers: [49, 11] Generated Node #0,4,1: 35:[49, 11] Operation: 57-46=11 Exploring Operation: 57-49=8, Resulting Numbers: [46, 8] Generated Node #0,4,2: 35:[46, 8] Operation: 57-49=8 Exploring Operation: 49-46=3, Resulting Numbers: [57, 3] Generated Node #0,4,3: 35:[57, 3] Operation: 49-46=3 Exploring Operation: 46+49=95, Resulting Numbers: [57, 95] Generated Node #0,4,4: 35:[57, 95] Operation: 46+49=95 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 35:[46, 8], Operations: ['77-28=49', '57-49=8'] Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,35 unequal: No Solution Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 35:[49, 11], Operations: ['77-28=49', '57-46=11'] Exploring Operation: 49*11=539, Resulting Numbers: [539] 539,35 unequal: No Solution Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,35 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 35:[57, 3], Operations: ['77-28=49', '49-46=3'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,35 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 35:[49, 103], Operations: ['77-28=49', '46+57=103'] Exploring Operation: 49*103=5047, Resulting Numbers: [5047] 5047,35 unequal: No Solution Exploring Operation: 103-49=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 49+103=152, Resulting Numbers: [152] 152,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 35:[57, 95], Operations: ['77-28=49', '46+49=95'] Exploring Operation: 57+95=152, Resulting Numbers: [152] 152,35 unequal: No Solution Exploring Operation: 95-57=38, Resulting Numbers: [38] 38,35 unequal: No Solution Exploring Operation: 57*95=5415, Resulting Numbers: [5415] 5415,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 35:[28, 77, 11], Operations: ['57-46=11'] Exploring Operation: 28+11=39, Resulting Numbers: [77, 39] Generated Node #0,1,0: 35:[77, 39] Operation: 28+11=39 Exploring Operation: 28-11=17, Resulting Numbers: [77, 17] Generated Node #0,1,1: 35:[77, 17] Operation: 28-11=17 Exploring Operation: 77-11=66, Resulting Numbers: [28, 66] Generated Node #0,1,2: 35:[28, 66] Operation: 77-11=66 Exploring Operation: 77-28=49, Resulting Numbers: [11, 49] Generated Node #0,1,3: 35:[11, 49] Operation: 77-28=49 Exploring Operation: 77/11=7, Resulting Numbers: [28, 7] Generated Node #0,1,4: 35:[28, 7] Operation: 77/11=7 Moving to Node #0,2 Current State: 35:[46, 77, 29], Operations: ['57-28=29'] Exploring Operation: 46-29=17, Resulting Numbers: [77, 17] Generated Node #0,2,0: 35:[77, 17] Operation: 46-29=17 Exploring Operation: 77-46=31, Resulting Numbers: [29, 31] Generated Node #0,2,1: 35:[29, 31] Operation: 77-46=31 Exploring Operation: 77+29=106, Resulting Numbers: [46, 106] Generated Node #0,2,2: 35:[46, 106] Operation: 77+29=106 Exploring Operation: 77-29=48, Resulting Numbers: [46, 48] Generated Node #0,2,3: 35:[46, 48] Operation: 77-29=48 Exploring Operation: 46+29=75, Resulting Numbers: [77, 75] Generated Node #0,2,4: 35:[77, 75] Operation: 46+29=75 Moving to Node #0,1,4 Current State: 35:[28, 7], Operations: ['57-46=11', '77/11=7'] Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,35 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,35 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[46, 28, 57, 77], Operations: [] Exploring Operation: 57-46=11, Resulting Numbers: [28, 77, 11] Generated Node #0,1: 35:[28, 77, 11] Operation: 57-46=11 Moving to Node #0,1 Current State: 35:[28, 77, 11], Operations: ['57-46=11'] Exploring Operation: 77/11=7, Resulting Numbers: [28, 7] Generated Node #0,1,4: 35:[28, 7] Operation: 77/11=7 Moving to Node #0,1,4 Current State: 35:[28, 7], Operations: ['57-46=11', '77/11=7'] Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.926215
hs_5
sum_heuristic
[ 2, 69, 44, 29 ]
62
[ "44/2=22", "69-29=40", "22+40=62" ]
Current State: 62:[2, 69, 44, 29], Operations: [] Exploring Operation: 44/2=22, Resulting Numbers: [69, 29, 22] Generated Node #2: [69, 29, 22] from Operation: 44/2=22 Current State: 62:[69, 29, 22], Operations: ['44/2=22'] Exploring Operation: 69-29=40, Resulting Numbers: [22, 40] Generated Node #3: [22, 40] from Operation: 69-29=40 Current State: 62:[22, 40], Operations: ['44/2=22', '69-29=40'] Exploring Operation: 22+40=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[2, 69, 44, 29], Operations: [] Exploring Operation: 69-44=25, Resulting Numbers: [2, 29, 25] Generated Node #0,0: 62:[2, 29, 25] Operation: 69-44=25 Exploring Operation: 44+29=73, Resulting Numbers: [2, 69, 73] Generated Node #0,1: 62:[2, 69, 73] Operation: 44+29=73 Exploring Operation: 69-2=67, Resulting Numbers: [44, 29, 67] Generated Node #0,2: 62:[44, 29, 67] Operation: 69-2=67 Exploring Operation: 44/2=22, Resulting Numbers: [69, 29, 22] Generated Node #0,3: 62:[69, 29, 22] Operation: 44/2=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[2, 29, 25], Operations: ['69-44=25'] Exploring Operation: 29+25=54, Resulting Numbers: [2, 54] Generated Node #0,0,0: 62:[2, 54] Operation: 29+25=54 Exploring Operation: 2+29=31, Resulting Numbers: [25, 31] Generated Node #0,0,1: 62:[25, 31] Operation: 2+29=31 Exploring Operation: 2+25=27, Resulting Numbers: [29, 27] Generated Node #0,0,2: 62:[29, 27] Operation: 2+25=27 Exploring Operation: 29-25=4, Resulting Numbers: [2, 4] Generated Node #0,0,3: 62:[2, 4] Operation: 29-25=4 Moving to Node #0,0,3 Current State: 62:[2, 4], Operations: ['69-44=25', '29-25=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,62 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[29, 27], Operations: ['69-44=25', '2+25=27'] Exploring Operation: 29+27=56, Resulting Numbers: [56] 56,62 unequal: No Solution Exploring Operation: 29*27=783, Resulting Numbers: [783] 783,62 unequal: No Solution Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[25, 31], Operations: ['69-44=25', '2+29=31'] Exploring Operation: 25*31=775, Resulting Numbers: [775] 775,62 unequal: No Solution Exploring Operation: 25+31=56, Resulting Numbers: [56] 56,62 unequal: No Solution Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[2, 54], Operations: ['69-44=25', '29+25=54'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,62 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,62 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[2, 69, 73], Operations: ['44+29=73'] Exploring Operation: 73-69=4, Resulting Numbers: [2, 4] Generated Node #0,1,0: 62:[2, 4] Operation: 73-69=4 Exploring Operation: 2+69=71, Resulting Numbers: [73, 71] Generated Node #0,1,1: 62:[73, 71] Operation: 2+69=71 Exploring Operation: 69-2=67, Resulting Numbers: [73, 67] Generated Node #0,1,2: 62:[73, 67] Operation: 69-2=67 Exploring Operation: 73-2=71, Resulting Numbers: [69, 71] Generated Node #0,1,3: 62:[69, 71] Operation: 73-2=71 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[2, 4], Operations: ['44+29=73', '73-69=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 62:[73, 67], Operations: ['44+29=73', '69-2=67'] Exploring Operation: 73+67=140, Resulting Numbers: [140] 140,62 unequal: No Solution Exploring Operation: 73-67=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 73*67=4891, Resulting Numbers: [4891] 4891,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 62:[69, 71], Operations: ['44+29=73', '73-2=71'] Exploring Operation: 71-69=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 69+71=140, Resulting Numbers: [140] 140,62 unequal: No Solution Exploring Operation: 69*71=4899, Resulting Numbers: [4899] 4899,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[73, 71], Operations: ['44+29=73', '2+69=71'] Exploring Operation: 73-71=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 73*71=5183, Resulting Numbers: [5183] 5183,62 unequal: No Solution Exploring Operation: 73+71=144, Resulting Numbers: [144] 144,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[69, 29, 22], Operations: ['44/2=22'] Exploring Operation: 29-22=7, Resulting Numbers: [69, 7] Generated Node #0,3,0: 62:[69, 7] Operation: 29-22=7 Exploring Operation: 69-22=47, Resulting Numbers: [29, 47] Generated Node #0,3,1: 62:[29, 47] Operation: 69-22=47 Exploring Operation: 29+22=51, Resulting Numbers: [69, 51] Generated Node #0,3,2: 62:[69, 51] Operation: 29+22=51 Exploring Operation: 69-29=40, Resulting Numbers: [22, 40] Generated Node #0,3,3: 62:[22, 40] Operation: 69-29=40 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 62:[69, 7], Operations: ['44/2=22', '29-22=7'] Exploring Operation: 69*7=483, Resulting Numbers: [483] 483,62 unequal: No Solution Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[2, 69, 44, 29], Operations: [] Exploring Operation: 44/2=22, Resulting Numbers: [69, 29, 22] Generated Node #0,3: 62:[69, 29, 22] Operation: 44/2=22 Moving to Node #0,3 Current State: 62:[69, 29, 22], Operations: ['44/2=22'] Exploring Operation: 29-22=7, Resulting Numbers: [69, 7] Generated Node #0,3,0: 62:[69, 7] Operation: 29-22=7 Moving to Node #0,3,0 Current State: 62:[69, 7], Operations: ['44/2=22', '29-22=7'] Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.957465
hs_4
sum_heuristic
[ 36, 8, 12, 57 ]
72
[ "36+12=48", "57-48=9", "8*9=72" ]
Current State: 72:[36, 8, 12, 57], Operations: [] Exploring Operation: 36+12=48, Resulting Numbers: [8, 57, 48] Generated Node #2: [8, 57, 48] from Operation: 36+12=48 Current State: 72:[8, 57, 48], Operations: ['36+12=48'] Exploring Operation: 57-48=9, Resulting Numbers: [8, 9] Generated Node #3: [8, 9] from Operation: 57-48=9 Current State: 72:[8, 9], Operations: ['36+12=48', '57-48=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[36, 8, 12, 57], Operations: [] Exploring Operation: 57-12=45, Resulting Numbers: [36, 8, 45] Generated Node #0,0: 72:[36, 8, 45] Operation: 57-12=45 Exploring Operation: 8+57=65, Resulting Numbers: [36, 12, 65] Generated Node #0,1: 72:[36, 12, 65] Operation: 8+57=65 Exploring Operation: 12+57=69, Resulting Numbers: [36, 8, 69] Generated Node #0,2: 72:[36, 8, 69] Operation: 12+57=69 Exploring Operation: 57-36=21, Resulting Numbers: [8, 12, 21] Generated Node #0,3: 72:[8, 12, 21] Operation: 57-36=21 Moving to Node #0,2 Current State: 72:[36, 8, 69], Operations: ['12+57=69'] Exploring Operation: 8+69=77, Resulting Numbers: [36, 77] Generated Node #0,2,0: 72:[36, 77] Operation: 8+69=77 Exploring Operation: 69-36=33, Resulting Numbers: [8, 33] Generated Node #0,2,1: 72:[8, 33] Operation: 69-36=33 Exploring Operation: 36-8=28, Resulting Numbers: [69, 28] Generated Node #0,2,2: 72:[69, 28] Operation: 36-8=28 Exploring Operation: 36+8=44, Resulting Numbers: [69, 44] Generated Node #0,2,3: 72:[69, 44] Operation: 36+8=44 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[8, 33], Operations: ['12+57=69', '69-36=33'] Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,72 unequal: No Solution Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,72 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[36, 77], Operations: ['12+57=69', '8+69=77'] Exploring Operation: 36+77=113, Resulting Numbers: [113] 113,72 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,72 unequal: No Solution Exploring Operation: 36*77=2772, Resulting Numbers: [2772] 2772,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[69, 28], Operations: ['12+57=69', '36-8=28'] Exploring Operation: 69+28=97, Resulting Numbers: [97] 97,72 unequal: No Solution Exploring Operation: 69*28=1932, Resulting Numbers: [1932] 1932,72 unequal: No Solution Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 72:[69, 44], Operations: ['12+57=69', '36+8=44'] Exploring Operation: 69*44=3036, Resulting Numbers: [3036] 3036,72 unequal: No Solution Exploring Operation: 69+44=113, Resulting Numbers: [113] 113,72 unequal: No Solution Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 72:[8, 12, 21], Operations: ['57-36=21'] Exploring Operation: 12-8=4, Resulting Numbers: [21, 4] Generated Node #0,3,0: 72:[21, 4] Operation: 12-8=4 Exploring Operation: 12+21=33, Resulting Numbers: [8, 33] Generated Node #0,3,1: 72:[8, 33] Operation: 12+21=33 Exploring Operation: 21-8=13, Resulting Numbers: [12, 13] Generated Node #0,3,2: 72:[12, 13] Operation: 21-8=13 Exploring Operation: 21-12=9, Resulting Numbers: [8, 9] Generated Node #0,3,3: 72:[8, 9] Operation: 21-12=9 Moving to Node #0,1 Current State: 72:[36, 12, 65], Operations: ['8+57=65'] Exploring Operation: 36-12=24, Resulting Numbers: [65, 24] Generated Node #0,1,0: 72:[65, 24] Operation: 36-12=24 Exploring Operation: 12+65=77, Resulting Numbers: [36, 77] Generated Node #0,1,1: 72:[36, 77] Operation: 12+65=77 Exploring Operation: 36/12=3, Resulting Numbers: [65, 3] Generated Node #0,1,2: 72:[65, 3] Operation: 36/12=3 Exploring Operation: 65-36=29, Resulting Numbers: [12, 29] Generated Node #0,1,3: 72:[12, 29] Operation: 65-36=29 Moving to Node #0,0 Current State: 72:[36, 8, 45], Operations: ['57-12=45'] Exploring Operation: 36-8=28, Resulting Numbers: [45, 28] Generated Node #0,0,0: 72:[45, 28] Operation: 36-8=28 Exploring Operation: 36+45=81, Resulting Numbers: [8, 81] Generated Node #0,0,1: 72:[8, 81] Operation: 36+45=81 Exploring Operation: 45-8=37, Resulting Numbers: [36, 37] Generated Node #0,0,2: 72:[36, 37] Operation: 45-8=37 Exploring Operation: 45-36=9, Resulting Numbers: [8, 9] Generated Node #0,0,3: 72:[8, 9] Operation: 45-36=9 Moving to Node #0,3,3 Current State: 72:[8, 9], Operations: ['57-36=21', '21-12=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[36, 8, 12, 57], Operations: [] Exploring Operation: 57-36=21, Resulting Numbers: [8, 12, 21] Generated Node #0,3: 72:[8, 12, 21] Operation: 57-36=21 Moving to Node #0,3 Current State: 72:[8, 12, 21], Operations: ['57-36=21'] Exploring Operation: 21-12=9, Resulting Numbers: [8, 9] Generated Node #0,3,3: 72:[8, 9] Operation: 21-12=9 Moving to Node #0,3,3 Current State: 72:[8, 9], Operations: ['57-36=21', '21-12=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.967882
hs_4
mult_heuristic
[ 73, 39, 59, 78 ]
66
[ "73+59=132", "78/39=2", "132/2=66" ]
Current State: 66:[73, 39, 59, 78], Operations: [] Exploring Operation: 73+59=132, Resulting Numbers: [39, 78, 132] Generated Node #2: [39, 78, 132] from Operation: 73+59=132 Current State: 66:[39, 78, 132], Operations: ['73+59=132'] Exploring Operation: 78/39=2, Resulting Numbers: [132, 2] Generated Node #3: [132, 2] from Operation: 78/39=2 Current State: 66:[132, 2], Operations: ['73+59=132', '78/39=2'] Exploring Operation: 132/2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[73, 39, 59, 78], Operations: [] Exploring Operation: 73-39=34, Resulting Numbers: [59, 78, 34] Generated Node #0,0: 66:[59, 78, 34] Operation: 73-39=34 Exploring Operation: 78-59=19, Resulting Numbers: [73, 39, 19] Generated Node #0,1: 66:[73, 39, 19] Operation: 78-59=19 Exploring Operation: 78-73=5, Resulting Numbers: [39, 59, 5] Generated Node #0,2: 66:[39, 59, 5] Operation: 78-73=5 Exploring Operation: 78/39=2, Resulting Numbers: [73, 59, 2] Generated Node #0,3: 66:[73, 59, 2] Operation: 78/39=2 Exploring Operation: 78-39=39, Resulting Numbers: [73, 59, 39] Generated Node #0,4: 66:[73, 59, 39] Operation: 78-39=39 Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[39, 59, 5], Operations: ['78-73=5'] Exploring Operation: 39-5=34, Resulting Numbers: [59, 34] Generated Node #0,2,0: 66:[59, 34] Operation: 39-5=34 Exploring Operation: 39+5=44, Resulting Numbers: [59, 44] Generated Node #0,2,1: 66:[59, 44] Operation: 39+5=44 Exploring Operation: 59-39=20, Resulting Numbers: [5, 20] Generated Node #0,2,2: 66:[5, 20] Operation: 59-39=20 Exploring Operation: 59-5=54, Resulting Numbers: [39, 54] Generated Node #0,2,3: 66:[39, 54] Operation: 59-5=54 Exploring Operation: 59+5=64, Resulting Numbers: [39, 64] Generated Node #0,2,4: 66:[39, 64] Operation: 59+5=64 Moving to Node #0,2,2 Current State: 66:[5, 20], Operations: ['78-73=5', '59-39=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,66 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,66 unequal: No Solution Moving to Node #0,2,4 Current State: 66:[39, 64], Operations: ['78-73=5', '59+5=64'] Exploring Operation: 64-39=25, Resulting Numbers: [25] 25,66 unequal: No Solution Exploring Operation: 39*64=2496, Resulting Numbers: [2496] 2496,66 unequal: No Solution Exploring Operation: 39+64=103, Resulting Numbers: [103] 103,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[59, 34], Operations: ['78-73=5', '39-5=34'] Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,66 unequal: No Solution Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,66 unequal: No Solution Exploring Operation: 59*34=2006, Resulting Numbers: [2006] 2006,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[59, 44], Operations: ['78-73=5', '39+5=44'] Exploring Operation: 59+44=103, Resulting Numbers: [103] 103,66 unequal: No Solution Exploring Operation: 59*44=2596, Resulting Numbers: [2596] 2596,66 unequal: No Solution Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,66 unequal: No Solution Moving to Node #0,2,3 Current State: 66:[39, 54], Operations: ['78-73=5', '59-5=54'] Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 39+54=93, Resulting Numbers: [93] 93,66 unequal: No Solution Exploring Operation: 39*54=2106, Resulting Numbers: [2106] 2106,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[73, 59, 2], Operations: ['78/39=2'] Exploring Operation: 59-2=57, Resulting Numbers: [73, 57] Generated Node #0,3,0: 66:[73, 57] Operation: 59-2=57 Exploring Operation: 73-59=14, Resulting Numbers: [2, 14] Generated Node #0,3,1: 66:[2, 14] Operation: 73-59=14 Exploring Operation: 73-2=71, Resulting Numbers: [59, 71] Generated Node #0,3,2: 66:[59, 71] Operation: 73-2=71 Exploring Operation: 59+2=61, Resulting Numbers: [73, 61] Generated Node #0,3,3: 66:[73, 61] Operation: 59+2=61 Exploring Operation: 73+2=75, Resulting Numbers: [59, 75] Generated Node #0,3,4: 66:[59, 75] Operation: 73+2=75 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 66:[2, 14], Operations: ['78/39=2', '73-59=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 66:[59, 71], Operations: ['78/39=2', '73-2=71'] Exploring Operation: 59*71=4189, Resulting Numbers: [4189] 4189,66 unequal: No Solution Exploring Operation: 59+71=130, Resulting Numbers: [130] 130,66 unequal: No Solution Exploring Operation: 71-59=12, Resulting Numbers: [12] 12,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 66:[73, 61], Operations: ['78/39=2', '59+2=61'] Exploring Operation: 73-61=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 73+61=134, Resulting Numbers: [134] 134,66 unequal: No Solution Exploring Operation: 73*61=4453, Resulting Numbers: [4453] 4453,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 66:[73, 57], Operations: ['78/39=2', '59-2=57'] Exploring Operation: 73*57=4161, Resulting Numbers: [4161] 4161,66 unequal: No Solution Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 73+57=130, Resulting Numbers: [130] 130,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 66:[59, 75], Operations: ['78/39=2', '73+2=75'] Exploring Operation: 59+75=134, Resulting Numbers: [134] 134,66 unequal: No Solution Exploring Operation: 75-59=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 59*75=4425, Resulting Numbers: [4425] 4425,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[73, 39, 19], Operations: ['78-59=19'] Exploring Operation: 39-19=20, Resulting Numbers: [73, 20] Generated Node #0,1,0: 66:[73, 20] Operation: 39-19=20 Exploring Operation: 73+19=92, Resulting Numbers: [39, 92] Generated Node #0,1,1: 66:[39, 92] Operation: 73+19=92 Exploring Operation: 73-39=34, Resulting Numbers: [19, 34] Generated Node #0,1,2: 66:[19, 34] Operation: 73-39=34 Exploring Operation: 73-19=54, Resulting Numbers: [39, 54] Generated Node #0,1,3: 66:[39, 54] Operation: 73-19=54 Exploring Operation: 39+19=58, Resulting Numbers: [73, 58] Generated Node #0,1,4: 66:[73, 58] Operation: 39+19=58 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 66:[19, 34], Operations: ['78-59=19', '73-39=34'] Exploring Operation: 19*34=646, Resulting Numbers: [646] 646,66 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[73, 20], Operations: ['78-59=19', '39-19=20'] Exploring Operation: 73*20=1460, Resulting Numbers: [1460] 1460,66 unequal: No Solution Exploring Operation: 73+20=93, Resulting Numbers: [93] 93,66 unequal: No Solution Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 66:[73, 58], Operations: ['78-59=19', '39+19=58'] Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 73*58=4234, Resulting Numbers: [4234] 4234,66 unequal: No Solution Exploring Operation: 73+58=131, Resulting Numbers: [131] 131,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 66:[39, 54], Operations: ['78-59=19', '73-19=54'] Exploring Operation: 39+54=93, Resulting Numbers: [93] 93,66 unequal: No Solution Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 39*54=2106, Resulting Numbers: [2106] 2106,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 66:[39, 92], Operations: ['78-59=19', '73+19=92'] Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,66 unequal: No Solution Exploring Operation: 39+92=131, Resulting Numbers: [131] 131,66 unequal: No Solution Exploring Operation: 39*92=3588, Resulting Numbers: [3588] 3588,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[59, 78, 34], Operations: ['73-39=34'] Exploring Operation: 78+34=112, Resulting Numbers: [59, 112] Generated Node #0,0,0: 66:[59, 112] Operation: 78+34=112 Exploring Operation: 59+34=93, Resulting Numbers: [78, 93] Generated Node #0,0,1: 66:[78, 93] Operation: 59+34=93 Exploring Operation: 78-59=19, Resulting Numbers: [34, 19] Generated Node #0,0,2: 66:[34, 19] Operation: 78-59=19 Exploring Operation: 78-34=44, Resulting Numbers: [59, 44] Generated Node #0,0,3: 66:[59, 44] Operation: 78-34=44 Exploring Operation: 59-34=25, Resulting Numbers: [78, 25] Generated Node #0,0,4: 66:[78, 25] Operation: 59-34=25 Moving to Node #0,0,2 Current State: 66:[34, 19], Operations: ['73-39=34', '78-59=19'] Exploring Operation: 34*19=646, Resulting Numbers: [646] 646,66 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,0,4 Current State: 66:[78, 25], Operations: ['73-39=34', '59-34=25'] Exploring Operation: 78+25=103, Resulting Numbers: [103] 103,66 unequal: No Solution Exploring Operation: 78*25=1950, Resulting Numbers: [1950] 1950,66 unequal: No Solution Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,0,3 Current State: 66:[59, 44], Operations: ['73-39=34', '78-34=44'] Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 59+44=103, Resulting Numbers: [103] 103,66 unequal: No Solution Exploring Operation: 59*44=2596, Resulting Numbers: [2596] 2596,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[78, 93], Operations: ['73-39=34', '59+34=93'] Exploring Operation: 93-78=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 78+93=171, Resulting Numbers: [171] 171,66 unequal: No Solution Exploring Operation: 78*93=7254, Resulting Numbers: [7254] 7254,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[59, 112], Operations: ['73-39=34', '78+34=112'] Exploring Operation: 59+112=171, Resulting Numbers: [171] 171,66 unequal: No Solution Exploring Operation: 59*112=6608, Resulting Numbers: [6608] 6608,66 unequal: No Solution Exploring Operation: 112-59=53, Resulting Numbers: [53] 53,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 66:[73, 59, 39], Operations: ['78-39=39'] Exploring Operation: 73-39=34, Resulting Numbers: [59, 34] Generated Node #0,4,0: 66:[59, 34] Operation: 73-39=34 Exploring Operation: 73+39=112, Resulting Numbers: [59, 112] Generated Node #0,4,1: 66:[59, 112] Operation: 73+39=112 Exploring Operation: 59-39=20, Resulting Numbers: [73, 20] Generated Node #0,4,2: 66:[73, 20] Operation: 59-39=20 Exploring Operation: 59+39=98, Resulting Numbers: [73, 98] Generated Node #0,4,3: 66:[73, 98] Operation: 59+39=98 Exploring Operation: 73-59=14, Resulting Numbers: [39, 14] Generated Node #0,4,4: 66:[39, 14] Operation: 73-59=14 Moving to Node #0,4,0 Current State: 66:[59, 34], Operations: ['78-39=39', '73-39=34'] Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,66 unequal: No Solution Exploring Operation: 59*34=2006, Resulting Numbers: [2006] 2006,66 unequal: No Solution Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,66 unequal: No Solution Moving to Node #0,4,4 Current State: 66:[39, 14], Operations: ['78-39=39', '73-59=14'] Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,66 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,66 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,66 unequal: No Solution Moving to Node #0,4,2 Current State: 66:[73, 20], Operations: ['78-39=39', '59-39=20'] Exploring Operation: 73+20=93, Resulting Numbers: [93] 93,66 unequal: No Solution Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,66 unequal: No Solution Exploring Operation: 73*20=1460, Resulting Numbers: [1460] 1460,66 unequal: No Solution Moving to Node #0,4,3 Current State: 66:[73, 98], Operations: ['78-39=39', '59+39=98'] Exploring Operation: 98-73=25, Resulting Numbers: [25] 25,66 unequal: No Solution Exploring Operation: 73+98=171, Resulting Numbers: [171] 171,66 unequal: No Solution Exploring Operation: 73*98=7154, Resulting Numbers: [7154] 7154,66 unequal: No Solution Moving to Node #0,4,1 Current State: 66:[59, 112], Operations: ['78-39=39', '73+39=112'] Exploring Operation: 59*112=6608, Resulting Numbers: [6608] 6608,66 unequal: No Solution Exploring Operation: 112-59=53, Resulting Numbers: [53] 53,66 unequal: No Solution Exploring Operation: 59+112=171, Resulting Numbers: [171] 171,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 6, 32, 70, 28 ]
72
[ "32-6=26", "70+28=98", "98-26=72" ]
Current State: 72:[6, 32, 70, 28], Operations: [] Exploring Operation: 32-6=26, Resulting Numbers: [70, 28, 26] Generated Node #2: [70, 28, 26] from Operation: 32-6=26 Current State: 72:[70, 28, 26], Operations: ['32-6=26'] Exploring Operation: 70+28=98, Resulting Numbers: [26, 98] Generated Node #3: [26, 98] from Operation: 70+28=98 Current State: 72:[26, 98], Operations: ['32-6=26', '70+28=98'] Exploring Operation: 98-26=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[6, 32, 70, 28], Operations: [] Exploring Operation: 6+32=38, Resulting Numbers: [70, 28, 38] Generated Node #0,0: 72:[70, 28, 38] Operation: 6+32=38 Exploring Operation: 6+28=34, Resulting Numbers: [32, 70, 34] Generated Node #0,1: 72:[32, 70, 34] Operation: 6+28=34 Exploring Operation: 70-32=38, Resulting Numbers: [6, 28, 38] Generated Node #0,2: 72:[6, 28, 38] Operation: 70-32=38 Exploring Operation: 32-6=26, Resulting Numbers: [70, 28, 26] Generated Node #0,3: 72:[70, 28, 26] Operation: 32-6=26 Exploring Operation: 32-28=4, Resulting Numbers: [6, 70, 4] Generated Node #0,4: 72:[6, 70, 4] Operation: 32-28=4 Start Sub Search at level 1: Moving to Node #0,4 Current State: 72:[6, 70, 4], Operations: ['32-28=4'] Exploring Operation: 6+4=10, Resulting Numbers: [70, 10] Generated Node #0,4,0: 72:[70, 10] Operation: 6+4=10 Exploring Operation: 6*4=24, Resulting Numbers: [70, 24] Generated Node #0,4,1: 72:[70, 24] Operation: 6*4=24 Exploring Operation: 70+4=74, Resulting Numbers: [6, 74] Generated Node #0,4,2: 72:[6, 74] Operation: 70+4=74 Exploring Operation: 6-4=2, Resulting Numbers: [70, 2] Generated Node #0,4,3: 72:[70, 2] Operation: 6-4=2 Exploring Operation: 6+70=76, Resulting Numbers: [4, 76] Generated Node #0,4,4: 72:[4, 76] Operation: 6+70=76 Moving to Node #0,4,1 Current State: 72:[70, 24], Operations: ['32-28=4', '6*4=24'] Exploring Operation: 70+24=94, Resulting Numbers: [94] 94,72 unequal: No Solution Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,72 unequal: No Solution Exploring Operation: 70*24=1680, Resulting Numbers: [1680] 1680,72 unequal: No Solution Moving to Node #0,4,3 Current State: 72:[70, 2], Operations: ['32-28=4', '6-4=2'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,72 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[6, 32, 70, 28], Operations: [] Exploring Operation: 32-28=4, Resulting Numbers: [6, 70, 4] Generated Node #0,4: 72:[6, 70, 4] Operation: 32-28=4 Moving to Node #0,4 Current State: 72:[6, 70, 4], Operations: ['32-28=4'] Exploring Operation: 6-4=2, Resulting Numbers: [70, 2] Generated Node #0,4,3: 72:[70, 2] Operation: 6-4=2 Moving to Node #0,4,3 Current State: 72:[70, 2], Operations: ['32-28=4', '6-4=2'] Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 39, 40, 23, 31 ]
54
[ "40-39=1", "23+31=54", "1*54=54" ]
Current State: 54:[39, 40, 23, 31], Operations: [] Exploring Operation: 40-39=1, Resulting Numbers: [23, 31, 1] Generated Node #2: [23, 31, 1] from Operation: 40-39=1 Current State: 54:[23, 31, 1], Operations: ['40-39=1'] Exploring Operation: 23+31=54, Resulting Numbers: [1, 54] Generated Node #3: [1, 54] from Operation: 23+31=54 Current State: 54:[1, 54], Operations: ['40-39=1', '23+31=54'] Exploring Operation: 1*54=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[39, 40, 23, 31], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [40, 23, 8] Generated Node #0,0: 54:[40, 23, 8] Operation: 39-31=8 Exploring Operation: 40-39=1, Resulting Numbers: [23, 31, 1] Generated Node #0,1: 54:[23, 31, 1] Operation: 40-39=1 Exploring Operation: 40-31=9, Resulting Numbers: [39, 23, 9] Generated Node #0,2: 54:[39, 23, 9] Operation: 40-31=9 Exploring Operation: 40-23=17, Resulting Numbers: [39, 31, 17] Generated Node #0,3: 54:[39, 31, 17] Operation: 40-23=17 Moving to Node #0,1 Current State: 54:[23, 31, 1], Operations: ['40-39=1'] Exploring Operation: 23+1=24, Resulting Numbers: [31, 24] Generated Node #0,1,0: 54:[31, 24] Operation: 23+1=24 Exploring Operation: 31-23=8, Resulting Numbers: [1, 8] Generated Node #0,1,1: 54:[1, 8] Operation: 31-23=8 Exploring Operation: 31-1=30, Resulting Numbers: [23, 30] Generated Node #0,1,2: 54:[23, 30] Operation: 31-1=30 Exploring Operation: 23+31=54, Resulting Numbers: [1, 54] Generated Node #0,1,3: 54:[1, 54] Operation: 23+31=54 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 54:[1, 54], Operations: ['40-39=1', '23+31=54'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[39, 40, 23, 31], Operations: [] Exploring Operation: 40-39=1, Resulting Numbers: [23, 31, 1] Generated Node #0,1: 54:[23, 31, 1] Operation: 40-39=1 Moving to Node #0,1 Current State: 54:[23, 31, 1], Operations: ['40-39=1'] Exploring Operation: 23+31=54, Resulting Numbers: [1, 54] Generated Node #0,1,3: 54:[1, 54] Operation: 23+31=54 Moving to Node #0,1,3 Current State: 54:[1, 54], Operations: ['40-39=1', '23+31=54'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 7, 39, 7, 42 ]
21
[ "7*39=273", "7*42=294", "294-273=21" ]
Current State: 21:[7, 39, 7, 42], Operations: [] Exploring Operation: 7*39=273, Resulting Numbers: [42, 273] Generated Node #2: [42, 273] from Operation: 7*39=273 Current State: 21:[42, 273], Operations: ['7*39=273'] Exploring Operation: 7*42=294, Resulting Numbers: [273, 294] Generated Node #3: [273, 294] from Operation: 7*42=294 Current State: 21:[273, 294], Operations: ['7*39=273', '7*42=294'] Exploring Operation: 294-273=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[7, 39, 7, 42], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [39, 7, 6] Generated Node #0,0: 21:[39, 7, 6] Operation: 42/7=6 Exploring Operation: 42-39=3, Resulting Numbers: [7, 7, 3] Generated Node #0,1: 21:[7, 7, 3] Operation: 42-39=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[7, 7, 3], Operations: ['42-39=3'] Exploring Operation: 7*3=21, Resulting Numbers: [7, 21] Generated Node #0,1,0: 21:[7, 21] Operation: 7*3=21 Exploring Operation: 7*3=21, Resulting Numbers: [7, 21] Generated Node #0,1,1: 21:[7, 21] Operation: 7*3=21 Moving to Node #0,1,0 Current State: 21:[7, 21], Operations: ['42-39=3', '7*3=21'] Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[7, 21], Operations: ['42-39=3', '7*3=21'] Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[39, 7, 6], Operations: ['42/7=6'] Exploring Operation: 39-7=32, Resulting Numbers: [6, 32] Generated Node #0,0,0: 21:[6, 32] Operation: 39-7=32 Exploring Operation: 39-6=33, Resulting Numbers: [7, 33] Generated Node #0,0,1: 21:[7, 33] Operation: 39-6=33 Moving to Node #0,0,0 Current State: 21:[6, 32], Operations: ['42/7=6', '39-7=32'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[7, 33], Operations: ['42/7=6', '39-6=33'] Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,21 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 65, 69, 65, 23 ]
84
[ "69-65=4", "65+23=88", "88-4=84" ]
Current State: 84:[65, 69, 65, 23], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [23, 4] Generated Node #2: [23, 4] from Operation: 69-65=4 Current State: 84:[23, 4], Operations: ['69-65=4'] Exploring Operation: 65+23=88, Resulting Numbers: [4, 88] Generated Node #3: [4, 88] from Operation: 65+23=88 Current State: 84:[4, 88], Operations: ['69-65=4', '65+23=88'] Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[65, 69, 65, 23], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [65, 23, 4] Generated Node #0,0: 84:[65, 23, 4] Operation: 69-65=4 Exploring Operation: 65-65=0, Resulting Numbers: [69, 23, 0] Generated Node #0,1: 84:[69, 23, 0] Operation: 65-65=0 Exploring Operation: 65/65=1, Resulting Numbers: [69, 23, 1] Generated Node #0,2: 84:[69, 23, 1] Operation: 65/65=1 Exploring Operation: 69-65=4, Resulting Numbers: [65, 23, 4] Generated Node #0,3: 84:[65, 23, 4] Operation: 69-65=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[69, 23, 1], Operations: ['65/65=1'] Exploring Operation: 69-23=46, Resulting Numbers: [1, 46] Generated Node #0,2,0: 84:[1, 46] Operation: 69-23=46 Exploring Operation: 69+1=70, Resulting Numbers: [23, 70] Generated Node #0,2,1: 84:[23, 70] Operation: 69+1=70 Exploring Operation: 69/23=3, Resulting Numbers: [1, 3] Generated Node #0,2,2: 84:[1, 3] Operation: 69/23=3 Exploring Operation: 69+23=92, Resulting Numbers: [1, 92] Generated Node #0,2,3: 84:[1, 92] Operation: 69+23=92 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 84:[1, 3], Operations: ['65/65=1', '69/23=3'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[1, 46], Operations: ['65/65=1', '69-23=46'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 1+46=47, Resulting Numbers: [47] 47,84 unequal: No Solution Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 84:[1, 92], Operations: ['65/65=1', '69+23=92'] Exploring Operation: 1+92=93, Resulting Numbers: [93] 93,84 unequal: No Solution Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,84 unequal: No Solution Exploring Operation: 1*92=92, Resulting Numbers: [92] 92,84 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 84:[23, 70], Operations: ['65/65=1', '69+1=70'] Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,84 unequal: No Solution Exploring Operation: 23*70=1610, Resulting Numbers: [1610] 1610,84 unequal: No Solution Exploring Operation: 23+70=93, Resulting Numbers: [93] 93,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[69, 23, 0], Operations: ['65-65=0'] Exploring Operation: 69+23=92, Resulting Numbers: [0, 92] Generated Node #0,1,0: 84:[0, 92] Operation: 69+23=92 Exploring Operation: 69-23=46, Resulting Numbers: [0, 46] Generated Node #0,1,1: 84:[0, 46] Operation: 69-23=46 Exploring Operation: 69*0=0, Resulting Numbers: [23, 0] Generated Node #0,1,2: 84:[23, 0] Operation: 69*0=0 Exploring Operation: 69/23=3, Resulting Numbers: [0, 3] Generated Node #0,1,3: 84:[0, 3] Operation: 69/23=3 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 84:[0, 3], Operations: ['65-65=0', '69/23=3'] Exploring Operation: 0+3=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 0*3=0, Resulting Numbers: [0] 0,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 84:[23, 0], Operations: ['65-65=0', '69*0=0'] Exploring Operation: 23*0=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 23+0=23, Resulting Numbers: [23] 23,84 unequal: No Solution Exploring Operation: 23-0=23, Resulting Numbers: [23] 23,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 84:[0, 46], Operations: ['65-65=0', '69-23=46'] Exploring Operation: 0*46=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 0+46=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 46-0=46, Resulting Numbers: [46] 46,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[0, 92], Operations: ['65-65=0', '69+23=92'] Exploring Operation: 0+92=92, Resulting Numbers: [92] 92,84 unequal: No Solution Exploring Operation: 0*92=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 92-0=92, Resulting Numbers: [92] 92,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[65, 23, 4], Operations: ['69-65=4'] Exploring Operation: 65+4=69, Resulting Numbers: [23, 69] Generated Node #0,0,0: 84:[23, 69] Operation: 65+4=69 Exploring Operation: 23+4=27, Resulting Numbers: [65, 27] Generated Node #0,0,1: 84:[65, 27] Operation: 23+4=27 Exploring Operation: 65+23=88, Resulting Numbers: [4, 88] Generated Node #0,0,2: 84:[4, 88] Operation: 65+23=88 Exploring Operation: 65-23=42, Resulting Numbers: [4, 42] Generated Node #0,0,3: 84:[4, 42] Operation: 65-23=42 Moving to Node #0,0,3 Current State: 84:[4, 42], Operations: ['69-65=4', '65-23=42'] Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,84 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[4, 88], Operations: ['69-65=4', '65+23=88'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 4+88=92, Resulting Numbers: [92] 92,84 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[65, 69, 65, 23], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [65, 23, 4] Generated Node #0,0: 84:[65, 23, 4] Operation: 69-65=4 Moving to Node #0,0 Current State: 84:[65, 23, 4], Operations: ['69-65=4'] Exploring Operation: 65+23=88, Resulting Numbers: [4, 88] Generated Node #0,0,2: 84:[4, 88] Operation: 65+23=88 Moving to Node #0,0,2 Current State: 84:[4, 88], Operations: ['69-65=4', '65+23=88'] Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.953993
hs_4
mult_heuristic
[ 49, 32, 8, 74 ]
100
[ "74-49=25", "32/8=4", "25*4=100" ]
Current State: 100:[49, 32, 8, 74], Operations: [] Exploring Operation: 74-49=25, Resulting Numbers: [32, 8, 25] Generated Node #2: [32, 8, 25] from Operation: 74-49=25 Current State: 100:[32, 8, 25], Operations: ['74-49=25'] Exploring Operation: 32/8=4, Resulting Numbers: [25, 4] Generated Node #3: [25, 4] from Operation: 32/8=4 Current State: 100:[25, 4], Operations: ['74-49=25', '32/8=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[49, 32, 8, 74], Operations: [] Exploring Operation: 32+74=106, Resulting Numbers: [49, 8, 106] Generated Node #0,0: 100:[49, 8, 106] Operation: 32+74=106 Exploring Operation: 74-49=25, Resulting Numbers: [32, 8, 25] Generated Node #0,1: 100:[32, 8, 25] Operation: 74-49=25 Moving to Node #0,0 Current State: 100:[49, 8, 106], Operations: ['32+74=106'] Exploring Operation: 106-49=57, Resulting Numbers: [8, 57] Generated Node #0,0,0: 100:[8, 57] Operation: 106-49=57 Exploring Operation: 106-8=98, Resulting Numbers: [49, 98] Generated Node #0,0,1: 100:[49, 98] Operation: 106-8=98 Moving to Node #0,1 Current State: 100:[32, 8, 25], Operations: ['74-49=25'] Exploring Operation: 32/8=4, Resulting Numbers: [25, 4] Generated Node #0,1,0: 100:[25, 4] Operation: 32/8=4 Exploring Operation: 32-8=24, Resulting Numbers: [25, 24] Generated Node #0,1,1: 100:[25, 24] Operation: 32-8=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[25, 4], Operations: ['74-49=25', '32/8=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[49, 32, 8, 74], Operations: [] Exploring Operation: 74-49=25, Resulting Numbers: [32, 8, 25] Generated Node #0,1: 100:[32, 8, 25] Operation: 74-49=25 Moving to Node #0,1 Current State: 100:[32, 8, 25], Operations: ['74-49=25'] Exploring Operation: 32/8=4, Resulting Numbers: [25, 4] Generated Node #0,1,0: 100:[25, 4] Operation: 32/8=4 Moving to Node #0,1,0 Current State: 100:[25, 4], Operations: ['74-49=25', '32/8=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 9, 37, 34, 9 ]
21
[ "9+37=46", "34-9=25", "46-25=21" ]
Current State: 21:[9, 37, 34, 9], Operations: [] Exploring Operation: 9+37=46, Resulting Numbers: [34, 46] Generated Node #2: [34, 46] from Operation: 9+37=46 Current State: 21:[34, 46], Operations: ['9+37=46'] Exploring Operation: 34-9=25, Resulting Numbers: [46, 25] Generated Node #3: [46, 25] from Operation: 34-9=25 Current State: 21:[46, 25], Operations: ['9+37=46', '34-9=25'] Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[9, 37, 34, 9], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [9, 9, 3] Generated Node #0,0: 21:[9, 9, 3] Operation: 37-34=3 Moving to Node #0,0 Current State: 21:[9, 9, 3], Operations: ['37-34=3'] Exploring Operation: 9/9=1, Resulting Numbers: [3, 1] Generated Node #0,0,0: 21:[3, 1] Operation: 9/9=1 Moving to Node #0,0,0 Current State: 21:[3, 1], Operations: ['37-34=3', '9/9=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,21 unequal: No Solution No solution found.
0
hs_1
mult_heuristic