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
[ 62, 73, 85, 55 ]
90
[ "73-62=11", "55/11=5", "85+5=90" ]
Current State: 90:[62, 73, 85, 55], Operations: [] Exploring Operation: 73-62=11, Resulting Numbers: [85, 55, 11] Generated Node #2: [85, 55, 11] from Operation: 73-62=11 Current State: 90:[85, 55, 11], Operations: ['73-62=11'] Exploring Operation: 55/11=5, Resulting Numbers: [85, 5] Generated Node #3: [85, 5] from Operation: 55/11=5 Current State: 90:[85, 5], Operations: ['73-62=11', '55/11=5'] Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[62, 73, 85, 55], Operations: [] Exploring Operation: 73-55=18, Resulting Numbers: [62, 85, 18] Generated Node #0,0: 90:[62, 85, 18] Operation: 73-55=18 Exploring Operation: 62-55=7, Resulting Numbers: [73, 85, 7] Generated Node #0,1: 90:[73, 85, 7] Operation: 62-55=7 Exploring Operation: 73-62=11, Resulting Numbers: [85, 55, 11] Generated Node #0,2: 90:[85, 55, 11] Operation: 73-62=11 Moving to Node #0,2 Current State: 90:[85, 55, 11], Operations: ['73-62=11'] Exploring Operation: 55-11=44, Resulting Numbers: [85, 44] Generated Node #0,2,0: 90:[85, 44] Operation: 55-11=44 Exploring Operation: 55/11=5, Resulting Numbers: [85, 5] Generated Node #0,2,1: 90:[85, 5] Operation: 55/11=5 Exploring Operation: 85-55=30, Resulting Numbers: [11, 30] Generated Node #0,2,2: 90:[11, 30] Operation: 85-55=30 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 90:[11, 30], Operations: ['73-62=11', '85-55=30'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,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,1 Current State: 90:[85, 5], Operations: ['73-62=11', '55/11=5'] Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[62, 73, 85, 55], Operations: [] Exploring Operation: 73-62=11, Resulting Numbers: [85, 55, 11] Generated Node #0,2: 90:[85, 55, 11] Operation: 73-62=11 Moving to Node #0,2 Current State: 90:[85, 55, 11], Operations: ['73-62=11'] Exploring Operation: 55/11=5, Resulting Numbers: [85, 5] Generated Node #0,2,1: 90:[85, 5] Operation: 55/11=5 Moving to Node #0,2,1 Current State: 90:[85, 5], Operations: ['73-62=11', '55/11=5'] Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 72, 92, 70, 8 ]
42
[ "92-72=20", "70-8=62", "62-20=42" ]
Current State: 42:[72, 92, 70, 8], Operations: [] Exploring Operation: 92-72=20, Resulting Numbers: [70, 8, 20] Generated Node #2: [70, 8, 20] from Operation: 92-72=20 Current State: 42:[70, 8, 20], Operations: ['92-72=20'] Exploring Operation: 70-8=62, Resulting Numbers: [20, 62] Generated Node #3: [20, 62] from Operation: 70-8=62 Current State: 42:[20, 62], Operations: ['92-72=20', '70-8=62'] Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[72, 92, 70, 8], Operations: [] Exploring Operation: 92-70=22, Resulting Numbers: [72, 8, 22] Generated Node #0,0: 42:[72, 8, 22] Operation: 92-70=22 Exploring Operation: 92-72=20, Resulting Numbers: [70, 8, 20] Generated Node #0,1: 42:[70, 8, 20] Operation: 92-72=20 Moving to Node #0,1 Current State: 42:[70, 8, 20], Operations: ['92-72=20'] Exploring Operation: 70-20=50, Resulting Numbers: [8, 50] Generated Node #0,1,0: 42:[8, 50] Operation: 70-20=50 Exploring Operation: 70-8=62, Resulting Numbers: [20, 62] Generated Node #0,1,1: 42:[20, 62] Operation: 70-8=62 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[8, 50], Operations: ['92-72=20', '70-20=50'] Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,42 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[72, 92, 70, 8], Operations: [] Exploring Operation: 92-72=20, Resulting Numbers: [70, 8, 20] Generated Node #0,1: 42:[70, 8, 20] Operation: 92-72=20 Moving to Node #0,1 Current State: 42:[70, 8, 20], Operations: ['92-72=20'] Exploring Operation: 70-20=50, Resulting Numbers: [8, 50] Generated Node #0,1,0: 42:[8, 50] Operation: 70-20=50 Moving to Node #0,1,0 Current State: 42:[8, 50], Operations: ['92-72=20', '70-20=50'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 8, 30, 7, 45 ]
76
[ "8+30=38", "45-7=38", "38+38=76" ]
Current State: 76:[8, 30, 7, 45], Operations: [] Exploring Operation: 8+30=38, Resulting Numbers: [7, 45, 38] Generated Node #2: [7, 45, 38] from Operation: 8+30=38 Current State: 76:[7, 45, 38], Operations: ['8+30=38'] Exploring Operation: 45-7=38, Resulting Numbers: [38, 38] Generated Node #3: [38, 38] from Operation: 45-7=38 Current State: 76:[38, 38], Operations: ['8+30=38', '45-7=38'] Exploring Operation: 38+38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[8, 30, 7, 45], Operations: [] Exploring Operation: 30+45=75, Resulting Numbers: [8, 7, 75] Generated Node #0,0: 76:[8, 7, 75] Operation: 30+45=75 Exploring Operation: 45-30=15, Resulting Numbers: [8, 7, 15] Generated Node #0,1: 76:[8, 7, 15] Operation: 45-30=15 Exploring Operation: 8+30=38, Resulting Numbers: [7, 45, 38] Generated Node #0,2: 76:[7, 45, 38] Operation: 8+30=38 Exploring Operation: 30+7=37, Resulting Numbers: [8, 45, 37] Generated Node #0,3: 76:[8, 45, 37] Operation: 30+7=37 Exploring Operation: 45-8=37, Resulting Numbers: [30, 7, 37] Generated Node #0,4: 76:[30, 7, 37] Operation: 45-8=37 Moving to Node #0,0 Current State: 76:[8, 7, 75], Operations: ['30+45=75'] Exploring Operation: 8-7=1, Resulting Numbers: [75, 1] Generated Node #0,0,0: 76:[75, 1] Operation: 8-7=1 Exploring Operation: 7+75=82, Resulting Numbers: [8, 82] Generated Node #0,0,1: 76:[8, 82] Operation: 7+75=82 Exploring Operation: 8+7=15, Resulting Numbers: [75, 15] Generated Node #0,0,2: 76:[75, 15] Operation: 8+7=15 Exploring Operation: 75-8=67, Resulting Numbers: [7, 67] Generated Node #0,0,3: 76:[7, 67] Operation: 75-8=67 Exploring Operation: 8+75=83, Resulting Numbers: [7, 83] Generated Node #0,0,4: 76:[7, 83] Operation: 8+75=83 Moving to Node #0,2 Current State: 76:[7, 45, 38], Operations: ['8+30=38'] Exploring Operation: 45-7=38, Resulting Numbers: [38, 38] Generated Node #0,2,0: 76:[38, 38] Operation: 45-7=38 Exploring Operation: 7+45=52, Resulting Numbers: [38, 52] Generated Node #0,2,1: 76:[38, 52] Operation: 7+45=52 Exploring Operation: 7+38=45, Resulting Numbers: [45, 45] Generated Node #0,2,2: 76:[45, 45] Operation: 7+38=45 Exploring Operation: 45-38=7, Resulting Numbers: [7, 7] Generated Node #0,2,3: 76:[7, 7] Operation: 45-38=7 Exploring Operation: 45+38=83, Resulting Numbers: [7, 83] Generated Node #0,2,4: 76:[7, 83] Operation: 45+38=83 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[38, 38], Operations: ['8+30=38', '45-7=38'] Exploring Operation: 38+38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[8, 30, 7, 45], Operations: [] Exploring Operation: 8+30=38, Resulting Numbers: [7, 45, 38] Generated Node #0,2: 76:[7, 45, 38] Operation: 8+30=38 Moving to Node #0,2 Current State: 76:[7, 45, 38], Operations: ['8+30=38'] Exploring Operation: 45-7=38, Resulting Numbers: [38, 38] Generated Node #0,2,0: 76:[38, 38] Operation: 45-7=38 Moving to Node #0,2,0 Current State: 76:[38, 38], Operations: ['8+30=38', '45-7=38'] Exploring Operation: 38+38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 47, 34, 7, 6 ]
25
[ "47+7=54", "54/6=9", "34-9=25" ]
Current State: 25:[47, 34, 7, 6], Operations: [] Exploring Operation: 47+7=54, Resulting Numbers: [34, 6, 54] Generated Node #2: [34, 6, 54] from Operation: 47+7=54 Current State: 25:[34, 6, 54], Operations: ['47+7=54'] Exploring Operation: 54/6=9, Resulting Numbers: [34, 9] Generated Node #3: [34, 9] from Operation: 54/6=9 Current State: 25:[34, 9], Operations: ['47+7=54', '54/6=9'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[47, 34, 7, 6], Operations: [] Exploring Operation: 34-7=27, Resulting Numbers: [47, 6, 27] Generated Node #0,0: 25:[47, 6, 27] Operation: 34-7=27 Exploring Operation: 47-6=41, Resulting Numbers: [34, 7, 41] Generated Node #0,1: 25:[34, 7, 41] Operation: 47-6=41 Exploring Operation: 34-6=28, Resulting Numbers: [47, 7, 28] Generated Node #0,2: 25:[47, 7, 28] Operation: 34-6=28 Exploring Operation: 47-7=40, Resulting Numbers: [34, 6, 40] Generated Node #0,3: 25:[34, 6, 40] Operation: 47-7=40 Exploring Operation: 47-34=13, Resulting Numbers: [7, 6, 13] Generated Node #0,4: 25:[7, 6, 13] Operation: 47-34=13 Start Sub Search at level 1: Moving to Node #0,4 Current State: 25:[7, 6, 13], Operations: ['47-34=13'] Exploring Operation: 7+13=20, Resulting Numbers: [6, 20] Generated Node #0,4,0: 25:[6, 20] Operation: 7+13=20 Exploring Operation: 13-6=7, Resulting Numbers: [7, 7] Generated Node #0,4,1: 25:[7, 7] Operation: 13-6=7 Exploring Operation: 7-6=1, Resulting Numbers: [13, 1] Generated Node #0,4,2: 25:[13, 1] Operation: 7-6=1 Exploring Operation: 6+13=19, Resulting Numbers: [7, 19] Generated Node #0,4,3: 25:[7, 19] Operation: 6+13=19 Exploring Operation: 13-7=6, Resulting Numbers: [6, 6] Generated Node #0,4,4: 25:[6, 6] Operation: 13-7=6 Moving to Node #0,4,4 Current State: 25:[6, 6], Operations: ['47-34=13', '13-7=6'] Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,25 unequal: No Solution Moving to Node #0,4,1 Current State: 25:[7, 7], Operations: ['47-34=13', '13-6=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,25 unequal: No Solution Moving to Node #0,4,0 Current State: 25:[6, 20], Operations: ['47-34=13', '7+13=20'] Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,25 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,25 unequal: No Solution Moving to Node #0,4,3 Current State: 25:[7, 19], Operations: ['47-34=13', '6+13=19'] Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,25 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,25 unequal: No Solution Moving to Node #0,4,2 Current State: 25:[13, 1], Operations: ['47-34=13', '7-6=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,25 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: 25:[47, 6, 27], Operations: ['34-7=27'] Exploring Operation: 47-6=41, Resulting Numbers: [27, 41] Generated Node #0,0,0: 25:[27, 41] Operation: 47-6=41 Exploring Operation: 6+27=33, Resulting Numbers: [47, 33] Generated Node #0,0,1: 25:[47, 33] Operation: 6+27=33 Exploring Operation: 47-27=20, Resulting Numbers: [6, 20] Generated Node #0,0,2: 25:[6, 20] Operation: 47-27=20 Exploring Operation: 47+6=53, Resulting Numbers: [27, 53] Generated Node #0,0,3: 25:[27, 53] Operation: 47+6=53 Exploring Operation: 27-6=21, Resulting Numbers: [47, 21] Generated Node #0,0,4: 25:[47, 21] Operation: 27-6=21 Moving to Node #0,0,2 Current State: 25:[6, 20], Operations: ['34-7=27', '47-27=20'] Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[27, 41], Operations: ['34-7=27', '47-6=41'] Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 27+41=68, Resulting Numbers: [68] 68,25 unequal: No Solution Exploring Operation: 27*41=1107, Resulting Numbers: [1107] 1107,25 unequal: No Solution Moving to Node #0,0,4 Current State: 25:[47, 21], Operations: ['34-7=27', '27-6=21'] Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,25 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 47*21=987, Resulting Numbers: [987] 987,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[47, 33], Operations: ['34-7=27', '6+27=33'] Exploring Operation: 47-33=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 47*33=1551, Resulting Numbers: [1551] 1551,25 unequal: No Solution Exploring Operation: 47+33=80, Resulting Numbers: [80] 80,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[27, 53], Operations: ['34-7=27', '47+6=53'] Exploring Operation: 27*53=1431, Resulting Numbers: [1431] 1431,25 unequal: No Solution Exploring Operation: 27+53=80, Resulting Numbers: [80] 80,25 unequal: No Solution Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,25 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: 25:[34, 6, 40], Operations: ['47-7=40'] Exploring Operation: 34-6=28, Resulting Numbers: [40, 28] Generated Node #0,3,0: 25:[40, 28] Operation: 34-6=28 Exploring Operation: 40-34=6, Resulting Numbers: [6, 6] Generated Node #0,3,1: 25:[6, 6] Operation: 40-34=6 Exploring Operation: 40-6=34, Resulting Numbers: [34, 34] Generated Node #0,3,2: 25:[34, 34] Operation: 40-6=34 Exploring Operation: 34+6=40, Resulting Numbers: [40, 40] Generated Node #0,3,3: 25:[40, 40] Operation: 34+6=40 Exploring Operation: 6+40=46, Resulting Numbers: [34, 46] Generated Node #0,3,4: 25:[34, 46] Operation: 6+40=46 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 25:[6, 6], Operations: ['47-7=40', '40-34=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,25 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: 25:[40, 28], Operations: ['47-7=40', '34-6=28'] Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 40*28=1120, Resulting Numbers: [1120] 1120,25 unequal: No Solution Exploring Operation: 40+28=68, Resulting Numbers: [68] 68,25 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: 25:[34, 34], Operations: ['47-7=40', '40-6=34'] Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 34*34=1156, Resulting Numbers: [1156] 1156,25 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,25 unequal: No Solution Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,25 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: 25:[40, 40], Operations: ['47-7=40', '34+6=40'] Exploring Operation: 40*40=1600, Resulting Numbers: [1600] 1600,25 unequal: No Solution Exploring Operation: 40+40=80, Resulting Numbers: [80] 80,25 unequal: No Solution Exploring Operation: 40/40=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 40-40=0, Resulting Numbers: [0] 0,25 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: 25:[34, 46], Operations: ['47-7=40', '6+40=46'] Exploring Operation: 34+46=80, Resulting Numbers: [80] 80,25 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 34*46=1564, Resulting Numbers: [1564] 1564,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[34, 7, 41], Operations: ['47-6=41'] Exploring Operation: 41-7=34, Resulting Numbers: [34, 34] Generated Node #0,1,0: 25:[34, 34] Operation: 41-7=34 Exploring Operation: 41-34=7, Resulting Numbers: [7, 7] Generated Node #0,1,1: 25:[7, 7] Operation: 41-34=7 Exploring Operation: 34+7=41, Resulting Numbers: [41, 41] Generated Node #0,1,2: 25:[41, 41] Operation: 34+7=41 Exploring Operation: 34-7=27, Resulting Numbers: [41, 27] Generated Node #0,1,3: 25:[41, 27] Operation: 34-7=27 Exploring Operation: 7+41=48, Resulting Numbers: [34, 48] Generated Node #0,1,4: 25:[34, 48] Operation: 7+41=48 Moving to Node #0,1,1 Current State: 25:[7, 7], Operations: ['47-6=41', '41-34=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[41, 27], Operations: ['47-6=41', '34-7=27'] Exploring Operation: 41*27=1107, Resulting Numbers: [1107] 1107,25 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[34, 34], Operations: ['47-6=41', '41-7=34'] Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,25 unequal: No Solution Exploring Operation: 34*34=1156, Resulting Numbers: [1156] 1156,25 unequal: No Solution Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[41, 41], Operations: ['47-6=41', '34+7=41'] Exploring Operation: 41*41=1681, Resulting Numbers: [1681] 1681,25 unequal: No Solution Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,25 unequal: No Solution Exploring Operation: 41-41=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 41/41=1, Resulting Numbers: [1] 1,25 unequal: No Solution Moving to Node #0,1,4 Current State: 25:[34, 48], Operations: ['47-6=41', '7+41=48'] Exploring Operation: 34+48=82, Resulting Numbers: [82] 82,25 unequal: No Solution Exploring Operation: 34*48=1632, Resulting Numbers: [1632] 1632,25 unequal: No Solution Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,25 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: 25:[47, 7, 28], Operations: ['34-6=28'] Exploring Operation: 47-28=19, Resulting Numbers: [7, 19] Generated Node #0,2,0: 25:[7, 19] Operation: 47-28=19 Exploring Operation: 47-7=40, Resulting Numbers: [28, 40] Generated Node #0,2,1: 25:[28, 40] Operation: 47-7=40 Exploring Operation: 28-7=21, Resulting Numbers: [47, 21] Generated Node #0,2,2: 25:[47, 21] Operation: 28-7=21 Exploring Operation: 47+7=54, Resulting Numbers: [28, 54] Generated Node #0,2,3: 25:[28, 54] Operation: 47+7=54 Exploring Operation: 28/7=4, Resulting Numbers: [47, 4] Generated Node #0,2,4: 25:[47, 4] Operation: 28/7=4 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 25:[7, 19], Operations: ['34-6=28', '47-28=19'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,25 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: 25:[28, 40], Operations: ['34-6=28', '47-7=40'] Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,25 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,25 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: 25:[47, 4], Operations: ['34-6=28', '28/7=4'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,25 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: 25:[47, 21], Operations: ['34-6=28', '28-7=21'] Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,25 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 47*21=987, Resulting Numbers: [987] 987,25 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: 25:[28, 54], Operations: ['34-6=28', '47+7=54'] Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,25 unequal: No Solution Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,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_5
mult_heuristic
[ 96, 19, 21, 57 ]
47
[ "19*57=1083", "1083-96=987", "987/21=47" ]
Current State: 47:[96, 19, 21, 57], Operations: [] Exploring Operation: 19*57=1083, Resulting Numbers: [96, 21, 1083] Generated Node #2: [96, 21, 1083] from Operation: 19*57=1083 Current State: 47:[96, 21, 1083], Operations: ['19*57=1083'] Exploring Operation: 1083-96=987, Resulting Numbers: [21, 987] Generated Node #3: [21, 987] from Operation: 1083-96=987 Current State: 47:[21, 987], Operations: ['19*57=1083', '1083-96=987'] Exploring Operation: 987/21=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[96, 19, 21, 57], Operations: [] Exploring Operation: 96-21=75, Resulting Numbers: [19, 57, 75] Generated Node #0,0: 47:[19, 57, 75] Operation: 96-21=75 Exploring Operation: 96-57=39, Resulting Numbers: [19, 21, 39] Generated Node #0,1: 47:[19, 21, 39] Operation: 96-57=39 Exploring Operation: 96-19=77, Resulting Numbers: [21, 57, 77] Generated Node #0,2: 47:[21, 57, 77] Operation: 96-19=77 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[19, 21, 39], Operations: ['96-57=39'] Exploring Operation: 21+39=60, Resulting Numbers: [19, 60] Generated Node #0,1,0: 47:[19, 60] Operation: 21+39=60 Exploring Operation: 19+39=58, Resulting Numbers: [21, 58] Generated Node #0,1,1: 47:[21, 58] Operation: 19+39=58 Exploring Operation: 19+21=40, Resulting Numbers: [39, 40] Generated Node #0,1,2: 47:[39, 40] Operation: 19+21=40 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 47:[39, 40], Operations: ['96-57=39', '19+21=40'] Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,47 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 39*40=1560, Resulting Numbers: [1560] 1560,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:[21, 58], Operations: ['96-57=39', '19+39=58'] Exploring Operation: 21*58=1218, Resulting Numbers: [1218] 1218,47 unequal: No Solution Exploring Operation: 21+58=79, Resulting Numbers: [79] 79,47 unequal: No Solution Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,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:[19, 60], Operations: ['96-57=39', '21+39=60'] Exploring Operation: 19*60=1140, Resulting Numbers: [1140] 1140,47 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,47 unequal: No Solution Exploring Operation: 19+60=79, Resulting Numbers: [79] 79,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,0 Current State: 47:[19, 57, 75], Operations: ['96-21=75'] Exploring Operation: 57-19=38, Resulting Numbers: [75, 38] Generated Node #0,0,0: 47:[75, 38] Operation: 57-19=38 Exploring Operation: 75-19=56, Resulting Numbers: [57, 56] Generated Node #0,0,1: 47:[57, 56] Operation: 75-19=56 Exploring Operation: 19+57=76, Resulting Numbers: [75, 76] Generated Node #0,0,2: 47:[75, 76] Operation: 19+57=76 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[57, 56], Operations: ['96-21=75', '75-19=56'] Exploring Operation: 57+56=113, Resulting Numbers: [113] 113,47 unequal: No Solution Exploring Operation: 57*56=3192, Resulting Numbers: [3192] 3192,47 unequal: No Solution Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,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,0,0 Current State: 47:[75, 38], Operations: ['96-21=75', '57-19=38'] Exploring Operation: 75*38=2850, Resulting Numbers: [2850] 2850,47 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 75+38=113, Resulting Numbers: [113] 113,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,0,2 Current State: 47:[75, 76], Operations: ['96-21=75', '19+57=76'] Exploring Operation: 76-75=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 75*76=5700, Resulting Numbers: [5700] 5700,47 unequal: No Solution Exploring Operation: 75+76=151, Resulting Numbers: [151] 151,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,2 Current State: 47:[21, 57, 77], Operations: ['96-19=77'] Exploring Operation: 77-57=20, Resulting Numbers: [21, 20] Generated Node #0,2,0: 47:[21, 20] Operation: 77-57=20 Exploring Operation: 77-21=56, Resulting Numbers: [57, 56] Generated Node #0,2,1: 47:[57, 56] Operation: 77-21=56 Exploring Operation: 57-21=36, Resulting Numbers: [77, 36] Generated Node #0,2,2: 47:[77, 36] Operation: 57-21=36 Moving to Node #0,2,1 Current State: 47:[57, 56], Operations: ['96-19=77', '77-21=56'] Exploring Operation: 57*56=3192, Resulting Numbers: [3192] 3192,47 unequal: No Solution Exploring Operation: 57+56=113, Resulting Numbers: [113] 113,47 unequal: No Solution Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[77, 36], Operations: ['96-19=77', '57-21=36'] Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,47 unequal: No Solution Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,47 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[21, 20], Operations: ['96-19=77', '77-57=20'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,47 unequal: No Solution Exploring Operation: 21*20=420, Resulting Numbers: [420] 420,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 28, 84, 88, 18 ]
82
[ "84/28=3", "18/3=6", "88-6=82" ]
Current State: 82:[28, 84, 88, 18], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [88, 18, 3] Generated Node #2: [88, 18, 3] from Operation: 84/28=3 Current State: 82:[88, 18, 3], Operations: ['84/28=3'] Exploring Operation: 18/3=6, Resulting Numbers: [88, 6] Generated Node #3: [88, 6] from Operation: 18/3=6 Current State: 82:[88, 6], Operations: ['84/28=3', '18/3=6'] Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[28, 84, 88, 18], Operations: [] Exploring Operation: 28-18=10, Resulting Numbers: [84, 88, 10] Generated Node #0,0: 82:[84, 88, 10] Operation: 28-18=10 Exploring Operation: 28+18=46, Resulting Numbers: [84, 88, 46] Generated Node #0,1: 82:[84, 88, 46] Operation: 28+18=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[84, 88, 46], Operations: ['28+18=46'] Exploring Operation: 88-84=4, Resulting Numbers: [46, 4] Generated Node #0,1,0: 82:[46, 4] Operation: 88-84=4 Exploring Operation: 88-46=42, Resulting Numbers: [84, 42] Generated Node #0,1,1: 82:[84, 42] Operation: 88-46=42 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[84, 42], Operations: ['28+18=46', '88-46=42'] Exploring Operation: 84-42=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 84/42=2, Resulting Numbers: [2] 2,82 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: 82:[46, 4], Operations: ['28+18=46', '88-84=4'] Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,82 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: 82:[84, 88, 10], Operations: ['28-18=10'] Exploring Operation: 88-84=4, Resulting Numbers: [10, 4] Generated Node #0,0,0: 82:[10, 4] Operation: 88-84=4 Exploring Operation: 88-10=78, Resulting Numbers: [84, 78] Generated Node #0,0,1: 82:[84, 78] Operation: 88-10=78 Moving to Node #0,0,1 Current State: 82:[84, 78], Operations: ['28-18=10', '88-10=78'] Exploring Operation: 84+78=162, Resulting Numbers: [162] 162,82 unequal: No Solution Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[10, 4], Operations: ['28-18=10', '88-84=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,82 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
[ 2, 11, 8, 50 ]
43
[ "8/2=4", "50-11=39", "4+39=43" ]
Current State: 43:[2, 11, 8, 50], Operations: [] Exploring Operation: 8/2=4, Resulting Numbers: [11, 50, 4] Generated Node #2: [11, 50, 4] from Operation: 8/2=4 Current State: 43:[11, 50, 4], Operations: ['8/2=4'] Exploring Operation: 50-11=39, Resulting Numbers: [4, 39] Generated Node #3: [4, 39] from Operation: 50-11=39 Current State: 43:[4, 39], Operations: ['8/2=4', '50-11=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[2, 11, 8, 50], Operations: [] Exploring Operation: 2*8=16, Resulting Numbers: [11, 50, 16] Generated Node #0,0: 43:[11, 50, 16] Operation: 2*8=16 Exploring Operation: 2*11=22, Resulting Numbers: [8, 50, 22] Generated Node #0,1: 43:[8, 50, 22] Operation: 2*11=22 Moving to Node #0,1 Current State: 43:[8, 50, 22], Operations: ['2*11=22'] Exploring Operation: 50-8=42, Resulting Numbers: [22, 42] Generated Node #0,1,0: 43:[22, 42] Operation: 50-8=42 Exploring Operation: 8+22=30, Resulting Numbers: [50, 30] Generated Node #0,1,1: 43:[50, 30] Operation: 8+22=30 Moving to Node #0,0 Current State: 43:[11, 50, 16], Operations: ['2*8=16'] Exploring Operation: 11+16=27, Resulting Numbers: [50, 27] Generated Node #0,0,0: 43:[50, 27] Operation: 11+16=27 Exploring Operation: 50-11=39, Resulting Numbers: [16, 39] Generated Node #0,0,1: 43:[16, 39] Operation: 50-11=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[50, 27], Operations: ['2*8=16', '11+16=27'] Exploring Operation: 50+27=77, Resulting Numbers: [77] 77,43 unequal: No Solution Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,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,1 Current State: 43:[16, 39], Operations: ['2*8=16', '50-11=39'] Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,43 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 43:[50, 30], Operations: ['2*11=22', '8+22=30'] Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,43 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[22, 42], Operations: ['2*11=22', '50-8=42'] Exploring Operation: 22+42=64, Resulting Numbers: [64] 64,43 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,43 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 46, 99, 58, 69 ]
55
[ "69-58=11", "99/11=9", "46+9=55" ]
Current State: 55:[46, 99, 58, 69], Operations: [] Exploring Operation: 69-58=11, Resulting Numbers: [46, 99, 11] Generated Node #2: [46, 99, 11] from Operation: 69-58=11 Current State: 55:[46, 99, 11], Operations: ['69-58=11'] Exploring Operation: 99/11=9, Resulting Numbers: [46, 9] Generated Node #3: [46, 9] from Operation: 99/11=9 Current State: 55:[46, 9], Operations: ['69-58=11', '99/11=9'] Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[46, 99, 58, 69], Operations: [] Exploring Operation: 99-58=41, Resulting Numbers: [46, 69, 41] Generated Node #0,0: 55:[46, 69, 41] Operation: 99-58=41 Exploring Operation: 99-69=30, Resulting Numbers: [46, 58, 30] Generated Node #0,1: 55:[46, 58, 30] Operation: 99-69=30 Exploring Operation: 99-46=53, Resulting Numbers: [58, 69, 53] Generated Node #0,2: 55:[58, 69, 53] Operation: 99-46=53 Moving to Node #0,2 Current State: 55:[58, 69, 53], Operations: ['99-46=53'] Exploring Operation: 69-53=16, Resulting Numbers: [58, 16] Generated Node #0,2,0: 55:[58, 16] Operation: 69-53=16 Exploring Operation: 69-58=11, Resulting Numbers: [53, 11] Generated Node #0,2,1: 55:[53, 11] Operation: 69-58=11 Exploring Operation: 58-53=5, Resulting Numbers: [69, 5] Generated Node #0,2,2: 55:[69, 5] Operation: 58-53=5 Moving to Node #0,1 Current State: 55:[46, 58, 30], Operations: ['99-69=30'] Exploring Operation: 46+30=76, Resulting Numbers: [58, 76] Generated Node #0,1,0: 55:[58, 76] Operation: 46+30=76 Exploring Operation: 46-30=16, Resulting Numbers: [58, 16] Generated Node #0,1,1: 55:[58, 16] Operation: 46-30=16 Exploring Operation: 58-46=12, Resulting Numbers: [30, 12] Generated Node #0,1,2: 55:[30, 12] Operation: 58-46=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[58, 16], Operations: ['99-69=30', '46-30=16'] Exploring Operation: 58*16=928, Resulting Numbers: [928] 928,55 unequal: No Solution Exploring Operation: 58+16=74, Resulting Numbers: [74] 74,55 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,55 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: 55:[30, 12], Operations: ['99-69=30', '58-46=12'] Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,55 unequal: No Solution Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,55 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: 55:[58, 76], Operations: ['99-69=30', '46+30=76'] Exploring Operation: 58*76=4408, Resulting Numbers: [4408] 4408,55 unequal: No Solution Exploring Operation: 76-58=18, Resulting Numbers: [18] 18,55 unequal: No Solution Exploring Operation: 58+76=134, Resulting Numbers: [134] 134,55 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: 55:[46, 69, 41], Operations: ['99-58=41'] Exploring Operation: 69-41=28, Resulting Numbers: [46, 28] Generated Node #0,0,0: 55:[46, 28] Operation: 69-41=28 Exploring Operation: 69-46=23, Resulting Numbers: [41, 23] Generated Node #0,0,1: 55:[41, 23] Operation: 69-46=23 Exploring Operation: 46-41=5, Resulting Numbers: [69, 5] Generated Node #0,0,2: 55:[69, 5] Operation: 46-41=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[69, 5], Operations: ['99-58=41', '46-41=5'] Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,55 unequal: No Solution Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,55 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,55 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: 55:[46, 28], Operations: ['99-58=41', '69-41=28'] Exploring Operation: 46+28=74, Resulting Numbers: [74] 74,55 unequal: No Solution Exploring Operation: 46*28=1288, Resulting Numbers: [1288] 1288,55 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,55 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: 55:[41, 23], Operations: ['99-58=41', '69-46=23'] Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,55 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,55 unequal: No Solution Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 55:[53, 11], Operations: ['99-46=53', '69-58=11'] Exploring Operation: 53*11=583, Resulting Numbers: [583] 583,55 unequal: No Solution Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 53+11=64, Resulting Numbers: [64] 64,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[58, 16], Operations: ['99-46=53', '69-53=16'] Exploring Operation: 58+16=74, Resulting Numbers: [74] 74,55 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 58*16=928, Resulting Numbers: [928] 928,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[69, 5], Operations: ['99-46=53', '58-53=5'] Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,55 unequal: No Solution Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,55 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,55 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 14, 3, 44, 61 ]
94
[ "14-3=11", "44+61=105", "105-11=94" ]
Current State: 94:[14, 3, 44, 61], Operations: [] Exploring Operation: 14-3=11, Resulting Numbers: [44, 61, 11] Generated Node #2: [44, 61, 11] from Operation: 14-3=11 Current State: 94:[44, 61, 11], Operations: ['14-3=11'] Exploring Operation: 44+61=105, Resulting Numbers: [11, 105] Generated Node #3: [11, 105] from Operation: 44+61=105 Current State: 94:[11, 105], Operations: ['14-3=11', '44+61=105'] Exploring Operation: 105-11=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[14, 3, 44, 61], Operations: [] Exploring Operation: 14*3=42, Resulting Numbers: [44, 61, 42] Generated Node #0,0: 94:[44, 61, 42] Operation: 14*3=42 Exploring Operation: 61-14=47, Resulting Numbers: [3, 44, 47] Generated Node #0,1: 94:[3, 44, 47] Operation: 61-14=47 Moving to Node #0,1 Current State: 94:[3, 44, 47], Operations: ['61-14=47'] Exploring Operation: 3+44=47, Resulting Numbers: [47, 47] Generated Node #0,1,0: 94:[47, 47] Operation: 3+44=47 Exploring Operation: 47-44=3, Resulting Numbers: [3, 3] Generated Node #0,1,1: 94:[3, 3] Operation: 47-44=3 Moving to Node #0,0 Current State: 94:[44, 61, 42], Operations: ['14*3=42'] Exploring Operation: 44-42=2, Resulting Numbers: [61, 2] Generated Node #0,0,0: 94:[61, 2] Operation: 44-42=2 Exploring Operation: 61+42=103, Resulting Numbers: [44, 103] Generated Node #0,0,1: 94:[44, 103] Operation: 61+42=103 Moving to Node #0,1,0 Current State: 94:[47, 47], Operations: ['61-14=47', '3+44=47'] Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[14, 3, 44, 61], Operations: [] Exploring Operation: 61-14=47, Resulting Numbers: [3, 44, 47] Generated Node #0,1: 94:[3, 44, 47] Operation: 61-14=47 Moving to Node #0,1 Current State: 94:[3, 44, 47], Operations: ['61-14=47'] Exploring Operation: 3+44=47, Resulting Numbers: [47, 47] Generated Node #0,1,0: 94:[47, 47] Operation: 3+44=47 Moving to Node #0,1,0 Current State: 94:[47, 47], Operations: ['61-14=47', '3+44=47'] Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 8, 9, 51, 45 ]
48
[ "8+9=17", "51/17=3", "45+3=48" ]
Current State: 48:[8, 9, 51, 45], Operations: [] Exploring Operation: 8+9=17, Resulting Numbers: [51, 45, 17] Generated Node #2: [51, 45, 17] from Operation: 8+9=17 Current State: 48:[51, 45, 17], Operations: ['8+9=17'] Exploring Operation: 51/17=3, Resulting Numbers: [45, 3] Generated Node #3: [45, 3] from Operation: 51/17=3 Current State: 48:[45, 3], Operations: ['8+9=17', '51/17=3'] Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[8, 9, 51, 45], Operations: [] Exploring Operation: 9-8=1, Resulting Numbers: [51, 45, 1] Generated Node #0,0: 48:[51, 45, 1] Operation: 9-8=1 Exploring Operation: 8+9=17, Resulting Numbers: [51, 45, 17] Generated Node #0,1: 48:[51, 45, 17] Operation: 8+9=17 Exploring Operation: 51-45=6, Resulting Numbers: [8, 9, 6] Generated Node #0,2: 48:[8, 9, 6] Operation: 51-45=6 Exploring Operation: 45/9=5, Resulting Numbers: [8, 51, 5] Generated Node #0,3: 48:[8, 51, 5] Operation: 45/9=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[8, 9, 6], Operations: ['51-45=6'] Exploring Operation: 8+9=17, Resulting Numbers: [6, 17] Generated Node #0,2,0: 48:[6, 17] Operation: 8+9=17 Exploring Operation: 9-6=3, Resulting Numbers: [8, 3] Generated Node #0,2,1: 48:[8, 3] Operation: 9-6=3 Exploring Operation: 9-8=1, Resulting Numbers: [6, 1] Generated Node #0,2,2: 48:[6, 1] Operation: 9-8=1 Exploring Operation: 8*6=48, Resulting Numbers: [9, 48] Generated Node #0,2,3: 48:[9, 48] Operation: 8*6=48 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[8, 3], Operations: ['51-45=6', '9-6=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,48 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: 48:[6, 17], Operations: ['51-45=6', '8+9=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,48 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,48 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: 48:[6, 1], Operations: ['51-45=6', '9-8=1'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,48 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: 48:[9, 48], Operations: ['51-45=6', '8*6=48'] Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,48 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,48 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: 48:[8, 51, 5], Operations: ['45/9=5'] Exploring Operation: 8-5=3, Resulting Numbers: [51, 3] Generated Node #0,3,0: 48:[51, 3] Operation: 8-5=3 Exploring Operation: 51-8=43, Resulting Numbers: [5, 43] Generated Node #0,3,1: 48:[5, 43] Operation: 51-8=43 Exploring Operation: 51-5=46, Resulting Numbers: [8, 46] Generated Node #0,3,2: 48:[8, 46] Operation: 51-5=46 Exploring Operation: 8+5=13, Resulting Numbers: [51, 13] Generated Node #0,3,3: 48:[51, 13] Operation: 8+5=13 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 48:[8, 46], Operations: ['45/9=5', '51-5=46'] Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,48 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,48 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,48 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: 48:[51, 3], Operations: ['45/9=5', '8-5=3'] Exploring Operation: 51*3=153, Resulting Numbers: [153] 153,48 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[8, 9, 51, 45], Operations: [] Exploring Operation: 45/9=5, Resulting Numbers: [8, 51, 5] Generated Node #0,3: 48:[8, 51, 5] Operation: 45/9=5 Moving to Node #0,3 Current State: 48:[8, 51, 5], Operations: ['45/9=5'] Exploring Operation: 8-5=3, Resulting Numbers: [51, 3] Generated Node #0,3,0: 48:[51, 3] Operation: 8-5=3 Moving to Node #0,3,0 Current State: 48:[51, 3], Operations: ['45/9=5', '8-5=3'] Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 16, 52, 67, 62 ]
31
[ "52-16=36", "67-62=5", "36-5=31" ]
Current State: 31:[16, 52, 67, 62], Operations: [] Exploring Operation: 52-16=36, Resulting Numbers: [67, 62, 36] Generated Node #2: [67, 62, 36] from Operation: 52-16=36 Current State: 31:[67, 62, 36], Operations: ['52-16=36'] Exploring Operation: 67-62=5, Resulting Numbers: [36, 5] Generated Node #3: [36, 5] from Operation: 67-62=5 Current State: 31:[36, 5], Operations: ['52-16=36', '67-62=5'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[16, 52, 67, 62], Operations: [] Exploring Operation: 67-62=5, Resulting Numbers: [16, 52, 5] Generated Node #0,0: 31:[16, 52, 5] Operation: 67-62=5 Exploring Operation: 52-16=36, Resulting Numbers: [67, 62, 36] Generated Node #0,1: 31:[67, 62, 36] Operation: 52-16=36 Exploring Operation: 67-52=15, Resulting Numbers: [16, 62, 15] Generated Node #0,2: 31:[16, 62, 15] Operation: 67-52=15 Exploring Operation: 67-16=51, Resulting Numbers: [52, 62, 51] Generated Node #0,3: 31:[52, 62, 51] Operation: 67-16=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[16, 52, 5], Operations: ['67-62=5'] Exploring Operation: 52-5=47, Resulting Numbers: [16, 47] Generated Node #0,0,0: 31:[16, 47] Operation: 52-5=47 Exploring Operation: 16-5=11, Resulting Numbers: [52, 11] Generated Node #0,0,1: 31:[52, 11] Operation: 16-5=11 Exploring Operation: 52-16=36, Resulting Numbers: [5, 36] Generated Node #0,0,2: 31:[5, 36] Operation: 52-16=36 Exploring Operation: 16+5=21, Resulting Numbers: [52, 21] Generated Node #0,0,3: 31:[52, 21] Operation: 16+5=21 Moving to Node #0,0,0 Current State: 31:[16, 47], Operations: ['67-62=5', '52-5=47'] Exploring Operation: 16+47=63, Resulting Numbers: [63] 63,31 unequal: No Solution Exploring Operation: 16*47=752, Resulting Numbers: [752] 752,31 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[16, 52, 67, 62], Operations: [] Exploring Operation: 67-62=5, Resulting Numbers: [16, 52, 5] Generated Node #0,0: 31:[16, 52, 5] Operation: 67-62=5 Moving to Node #0,0 Current State: 31:[16, 52, 5], Operations: ['67-62=5'] Exploring Operation: 52-5=47, Resulting Numbers: [16, 47] Generated Node #0,0,0: 31:[16, 47] Operation: 52-5=47 Moving to Node #0,0,0 Current State: 31:[16, 47], Operations: ['67-62=5', '52-5=47'] Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 57, 32, 89, 8 ]
72
[ "57-32=25", "89+8=97", "97-25=72" ]
Current State: 72:[57, 32, 89, 8], Operations: [] Exploring Operation: 57-32=25, Resulting Numbers: [89, 8, 25] Generated Node #2: [89, 8, 25] from Operation: 57-32=25 Current State: 72:[89, 8, 25], Operations: ['57-32=25'] Exploring Operation: 89+8=97, Resulting Numbers: [25, 97] Generated Node #3: [25, 97] from Operation: 89+8=97 Current State: 72:[25, 97], Operations: ['57-32=25', '89+8=97'] Exploring Operation: 97-25=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[57, 32, 89, 8], Operations: [] Exploring Operation: 57-32=25, Resulting Numbers: [89, 8, 25] Generated Node #0,0: 72:[89, 8, 25] Operation: 57-32=25 Exploring Operation: 57+8=65, Resulting Numbers: [32, 89, 65] Generated Node #0,1: 72:[32, 89, 65] Operation: 57+8=65 Exploring Operation: 89-57=32, Resulting Numbers: [32, 8, 32] Generated Node #0,2: 72:[32, 8, 32] Operation: 89-57=32 Moving to Node #0,2 Current State: 72:[32, 8, 32], Operations: ['89-57=32'] Exploring Operation: 32/32=1, Resulting Numbers: [8, 1] Generated Node #0,2,0: 72:[8, 1] Operation: 32/32=1 Exploring Operation: 32-32=0, Resulting Numbers: [8, 0] Generated Node #0,2,1: 72:[8, 0] Operation: 32-32=0 Exploring Operation: 32-8=24, Resulting Numbers: [32, 24] Generated Node #0,2,2: 72:[32, 24] Operation: 32-8=24 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[8, 1], Operations: ['89-57=32', '32/32=1'] Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,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,1 Current State: 72:[8, 0], Operations: ['89-57=32', '32-32=0'] Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,72 unequal: No Solution Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,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:[32, 24], Operations: ['89-57=32', '32-8=24'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 32*24=768, Resulting Numbers: [768] 768,72 unequal: No Solution Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,72 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: 72:[89, 8, 25], Operations: ['57-32=25'] Exploring Operation: 89-25=64, Resulting Numbers: [8, 64] Generated Node #0,0,0: 72:[8, 64] Operation: 89-25=64 Exploring Operation: 89-8=81, Resulting Numbers: [25, 81] Generated Node #0,0,1: 72:[25, 81] Operation: 89-8=81 Exploring Operation: 25-8=17, Resulting Numbers: [89, 17] Generated Node #0,0,2: 72:[89, 17] Operation: 25-8=17 Moving to Node #0,1 Current State: 72:[32, 89, 65], Operations: ['57+8=65'] Exploring Operation: 65-32=33, Resulting Numbers: [89, 33] Generated Node #0,1,0: 72:[89, 33] Operation: 65-32=33 Exploring Operation: 89-65=24, Resulting Numbers: [32, 24] Generated Node #0,1,1: 72:[32, 24] Operation: 89-65=24 Exploring Operation: 89-32=57, Resulting Numbers: [65, 57] Generated Node #0,1,2: 72:[65, 57] Operation: 89-32=57 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[32, 24], Operations: ['57+8=65', '89-65=24'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 32*24=768, Resulting Numbers: [768] 768,72 unequal: No Solution Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,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,0 Current State: 72:[89, 33], Operations: ['57+8=65', '65-32=33'] Exploring Operation: 89+33=122, Resulting Numbers: [122] 122,72 unequal: No Solution Exploring Operation: 89-33=56, Resulting Numbers: [56] 56,72 unequal: No Solution Exploring Operation: 89*33=2937, Resulting Numbers: [2937] 2937,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,2 Current State: 72:[65, 57], Operations: ['57+8=65', '89-32=57'] Exploring Operation: 65+57=122, Resulting Numbers: [122] 122,72 unequal: No Solution Exploring Operation: 65-57=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 65*57=3705, Resulting Numbers: [3705] 3705,72 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: 72:[8, 64], Operations: ['57-32=25', '89-25=64'] Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,72 unequal: No Solution Exploring Operation: 8+64=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[57, 32, 89, 8], Operations: [] Exploring Operation: 57-32=25, Resulting Numbers: [89, 8, 25] Generated Node #0,0: 72:[89, 8, 25] Operation: 57-32=25 Moving to Node #0,0 Current State: 72:[89, 8, 25], Operations: ['57-32=25'] Exploring Operation: 89-25=64, Resulting Numbers: [8, 64] Generated Node #0,0,0: 72:[8, 64] Operation: 89-25=64 Moving to Node #0,0,0 Current State: 72:[8, 64], Operations: ['57-32=25', '89-25=64'] Exploring Operation: 8+64=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.967882
hs_3
mult_heuristic
[ 19, 24, 22, 21 ]
10
[ "21-19=2", "24/2=12", "22-12=10" ]
Current State: 10:[19, 24, 22, 21], Operations: [] Exploring Operation: 21-19=2, Resulting Numbers: [24, 22, 2] Generated Node #2: [24, 22, 2] from Operation: 21-19=2 Current State: 10:[24, 22, 2], Operations: ['21-19=2'] Exploring Operation: 24/2=12, Resulting Numbers: [22, 12] Generated Node #3: [22, 12] from Operation: 24/2=12 Current State: 10:[22, 12], Operations: ['21-19=2', '24/2=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[19, 24, 22, 21], Operations: [] Exploring Operation: 22-21=1, Resulting Numbers: [19, 24, 1] Generated Node #0,0: 10:[19, 24, 1] Operation: 22-21=1 Exploring Operation: 24-22=2, Resulting Numbers: [19, 21, 2] Generated Node #0,1: 10:[19, 21, 2] Operation: 24-22=2 Exploring Operation: 24-19=5, Resulting Numbers: [22, 21, 5] Generated Node #0,2: 10:[22, 21, 5] Operation: 24-19=5 Exploring Operation: 24-21=3, Resulting Numbers: [19, 22, 3] Generated Node #0,3: 10:[19, 22, 3] Operation: 24-21=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[19, 21, 2], Operations: ['24-22=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21, 21] Generated Node #0,1,0: 10:[21, 21] Operation: 19+2=21 Exploring Operation: 19-2=17, Resulting Numbers: [21, 17] Generated Node #0,1,1: 10:[21, 17] Operation: 19-2=17 Exploring Operation: 21-19=2, Resulting Numbers: [2, 2] Generated Node #0,1,2: 10:[2, 2] Operation: 21-19=2 Exploring Operation: 21-2=19, Resulting Numbers: [19, 19] Generated Node #0,1,3: 10:[19, 19] Operation: 21-2=19 Moving to Node #0,1,2 Current State: 10:[2, 2], Operations: ['24-22=2', '21-19=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,10 unequal: No Solution Moving to Node #0,1,3 Current State: 10:[19, 19], Operations: ['24-22=2', '21-2=19'] Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,10 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 19*19=361, Resulting Numbers: [361] 361,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[21, 17], Operations: ['24-22=2', '19-2=17'] Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,10 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[21, 21], Operations: ['24-22=2', '19+2=21'] Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 21*21=441, Resulting Numbers: [441] 441,10 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,10 unequal: No Solution Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,10 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: 10:[19, 22, 3], Operations: ['24-21=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22, 22] Generated Node #0,3,0: 10:[22, 22] Operation: 19+3=22 Exploring Operation: 22-19=3, Resulting Numbers: [3, 3] Generated Node #0,3,1: 10:[3, 3] Operation: 22-19=3 Exploring Operation: 22-3=19, Resulting Numbers: [19, 19] Generated Node #0,3,2: 10:[19, 19] Operation: 22-3=19 Exploring Operation: 19-3=16, Resulting Numbers: [22, 16] Generated Node #0,3,3: 10:[22, 16] Operation: 19-3=16 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 10:[3, 3], Operations: ['24-21=3', '22-19=3'] Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,10 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: 10:[19, 19], Operations: ['24-21=3', '22-3=19'] Exploring Operation: 19*19=361, Resulting Numbers: [361] 361,10 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,10 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: 10:[22, 16], Operations: ['24-21=3', '19-3=16'] Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,10 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,10 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: 10:[22, 22], Operations: ['24-21=3', '19+3=22'] Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,10 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,10 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: 10:[22, 21, 5], Operations: ['24-19=5'] Exploring Operation: 22-21=1, Resulting Numbers: [5, 1] Generated Node #0,2,0: 10:[5, 1] Operation: 22-21=1 Exploring Operation: 22+5=27, Resulting Numbers: [21, 27] Generated Node #0,2,1: 10:[21, 27] Operation: 22+5=27 Exploring Operation: 22-5=17, Resulting Numbers: [21, 17] Generated Node #0,2,2: 10:[21, 17] Operation: 22-5=17 Exploring Operation: 21-5=16, Resulting Numbers: [22, 16] Generated Node #0,2,3: 10:[22, 16] Operation: 21-5=16 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 10:[5, 1], Operations: ['24-19=5', '22-21=1'] Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,10 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: 10:[21, 17], Operations: ['24-19=5', '22-5=17'] Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,10 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,10 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,10 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: 10:[22, 16], Operations: ['24-19=5', '21-5=16'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,10 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,10 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: 10:[21, 27], Operations: ['24-19=5', '22+5=27'] Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,10 unequal: No Solution Exploring Operation: 21*27=567, Resulting Numbers: [567] 567,10 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: 10:[19, 24, 1], Operations: ['22-21=1'] Exploring Operation: 24-19=5, Resulting Numbers: [1, 5] Generated Node #0,0,0: 10:[1, 5] Operation: 24-19=5 Exploring Operation: 19-1=18, Resulting Numbers: [24, 18] Generated Node #0,0,1: 10:[24, 18] Operation: 19-1=18 Exploring Operation: 19*1=19, Resulting Numbers: [24, 19] Generated Node #0,0,2: 10:[24, 19] Operation: 19*1=19 Exploring Operation: 24-1=23, Resulting Numbers: [19, 23] Generated Node #0,0,3: 10:[19, 23] Operation: 24-1=23 Moving to Node #0,0,0 Current State: 10:[1, 5], Operations: ['22-21=1', '24-19=5'] Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[19, 23], Operations: ['22-21=1', '24-1=23'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,10 unequal: No Solution Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[24, 18], Operations: ['22-21=1', '19-1=18'] Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,10 unequal: No Solution Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[24, 19], Operations: ['22-21=1', '19*1=19'] Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,10 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,10 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
[ 60, 62, 31, 4 ]
37
[ "62-60=2", "31+4=35", "2+35=37" ]
Current State: 37:[60, 62, 31, 4], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [31, 4, 2] Generated Node #2: [31, 4, 2] from Operation: 62-60=2 Current State: 37:[31, 4, 2], Operations: ['62-60=2'] Exploring Operation: 31+4=35, Resulting Numbers: [2, 35] Generated Node #3: [2, 35] from Operation: 31+4=35 Current State: 37:[2, 35], Operations: ['62-60=2', '31+4=35'] Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[60, 62, 31, 4], Operations: [] Exploring Operation: 60-4=56, Resulting Numbers: [62, 31, 56] Generated Node #0,0: 37:[62, 31, 56] Operation: 60-4=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[62, 31, 56], Operations: ['60-4=56'] Exploring Operation: 62-31=31, Resulting Numbers: [56, 31] Generated Node #0,0,0: 37:[56, 31] Operation: 62-31=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[56, 31], Operations: ['60-4=56', '62-31=31'] Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,37 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
[ 76, 92, 81, 78 ]
70
[ "81-76=5", "92-78=14", "5*14=70" ]
Current State: 70:[76, 92, 81, 78], Operations: [] Exploring Operation: 81-76=5, Resulting Numbers: [92, 78, 5] Generated Node #2: [92, 78, 5] from Operation: 81-76=5 Current State: 70:[92, 78, 5], Operations: ['81-76=5'] Exploring Operation: 92-78=14, Resulting Numbers: [5, 14] Generated Node #3: [5, 14] from Operation: 92-78=14 Current State: 70:[5, 14], Operations: ['81-76=5', '92-78=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[76, 92, 81, 78], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [81, 78, 16] Generated Node #0,0: 70:[81, 78, 16] Operation: 92-76=16 Exploring Operation: 92-78=14, Resulting Numbers: [76, 81, 14] Generated Node #0,1: 70:[76, 81, 14] Operation: 92-78=14 Exploring Operation: 81-78=3, Resulting Numbers: [76, 92, 3] Generated Node #0,2: 70:[76, 92, 3] Operation: 81-78=3 Exploring Operation: 92-81=11, Resulting Numbers: [76, 78, 11] Generated Node #0,3: 70:[76, 78, 11] Operation: 92-81=11 Moving to Node #0,3 Current State: 70:[76, 78, 11], Operations: ['92-81=11'] Exploring Operation: 76+11=87, Resulting Numbers: [78, 87] Generated Node #0,3,0: 70:[78, 87] Operation: 76+11=87 Exploring Operation: 76-11=65, Resulting Numbers: [78, 65] Generated Node #0,3,1: 70:[78, 65] Operation: 76-11=65 Exploring Operation: 78-11=67, Resulting Numbers: [76, 67] Generated Node #0,3,2: 70:[76, 67] Operation: 78-11=67 Exploring Operation: 78-76=2, Resulting Numbers: [11, 2] Generated Node #0,3,3: 70:[11, 2] Operation: 78-76=2 Moving to Node #0,1 Current State: 70:[76, 81, 14], Operations: ['92-78=14'] Exploring Operation: 76-14=62, Resulting Numbers: [81, 62] Generated Node #0,1,0: 70:[81, 62] Operation: 76-14=62 Exploring Operation: 81-14=67, Resulting Numbers: [76, 67] Generated Node #0,1,1: 70:[76, 67] Operation: 81-14=67 Exploring Operation: 81-76=5, Resulting Numbers: [14, 5] Generated Node #0,1,2: 70:[14, 5] Operation: 81-76=5 Exploring Operation: 76+14=90, Resulting Numbers: [81, 90] Generated Node #0,1,3: 70:[81, 90] Operation: 76+14=90 Moving to Node #0,0 Current State: 70:[81, 78, 16], Operations: ['92-76=16'] Exploring Operation: 81+16=97, Resulting Numbers: [78, 97] Generated Node #0,0,0: 70:[78, 97] Operation: 81+16=97 Exploring Operation: 81-16=65, Resulting Numbers: [78, 65] Generated Node #0,0,1: 70:[78, 65] Operation: 81-16=65 Exploring Operation: 78-16=62, Resulting Numbers: [81, 62] Generated Node #0,0,2: 70:[81, 62] Operation: 78-16=62 Exploring Operation: 81-78=3, Resulting Numbers: [16, 3] Generated Node #0,0,3: 70:[16, 3] Operation: 81-78=3 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 70:[16, 3], Operations: ['92-76=16', '81-78=3'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,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,0,1 Current State: 70:[78, 65], Operations: ['92-76=16', '81-16=65'] Exploring Operation: 78-65=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 78*65=5070, Resulting Numbers: [5070] 5070,70 unequal: No Solution Exploring Operation: 78+65=143, Resulting Numbers: [143] 143,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,0,2 Current State: 70:[81, 62], Operations: ['92-76=16', '78-16=62'] Exploring Operation: 81-62=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 81+62=143, Resulting Numbers: [143] 143,70 unequal: No Solution Exploring Operation: 81*62=5022, Resulting Numbers: [5022] 5022,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,0,0 Current State: 70:[78, 97], Operations: ['92-76=16', '81+16=97'] Exploring Operation: 78+97=175, Resulting Numbers: [175] 175,70 unequal: No Solution Exploring Operation: 78*97=7566, Resulting Numbers: [7566] 7566,70 unequal: No Solution Exploring Operation: 97-78=19, Resulting Numbers: [19] 19,70 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: 70:[76, 92, 3], Operations: ['81-78=3'] Exploring Operation: 76+3=79, Resulting Numbers: [92, 79] Generated Node #0,2,0: 70:[92, 79] Operation: 76+3=79 Exploring Operation: 76-3=73, Resulting Numbers: [92, 73] Generated Node #0,2,1: 70:[92, 73] Operation: 76-3=73 Exploring Operation: 92-76=16, Resulting Numbers: [3, 16] Generated Node #0,2,2: 70:[3, 16] Operation: 92-76=16 Exploring Operation: 92-3=89, Resulting Numbers: [76, 89] Generated Node #0,2,3: 70:[76, 89] Operation: 92-3=89 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 70:[3, 16], Operations: ['81-78=3', '92-76=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,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,1 Current State: 70:[92, 73], Operations: ['81-78=3', '76-3=73'] Exploring Operation: 92+73=165, Resulting Numbers: [165] 165,70 unequal: No Solution Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 92*73=6716, Resulting Numbers: [6716] 6716,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,3 Current State: 70:[76, 89], Operations: ['81-78=3', '92-3=89'] Exploring Operation: 76*89=6764, Resulting Numbers: [6764] 6764,70 unequal: No Solution Exploring Operation: 76+89=165, Resulting Numbers: [165] 165,70 unequal: No Solution Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,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,0 Current State: 70:[92, 79], Operations: ['81-78=3', '76+3=79'] Exploring Operation: 92+79=171, Resulting Numbers: [171] 171,70 unequal: No Solution Exploring Operation: 92-79=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 92*79=7268, Resulting Numbers: [7268] 7268,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 70:[14, 5], Operations: ['92-78=14', '81-76=5'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[76, 92, 81, 78], Operations: [] Exploring Operation: 92-78=14, Resulting Numbers: [76, 81, 14] Generated Node #0,1: 70:[76, 81, 14] Operation: 92-78=14 Moving to Node #0,1 Current State: 70:[76, 81, 14], Operations: ['92-78=14'] Exploring Operation: 81-76=5, Resulting Numbers: [14, 5] Generated Node #0,1,2: 70:[14, 5] Operation: 81-76=5 Moving to Node #0,1,2 Current State: 70:[14, 5], Operations: ['92-78=14', '81-76=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.956597
hs_4
mult_heuristic
[ 25, 65, 3, 65 ]
55
[ "65-25=40", "3*40=120", "120-65=55" ]
Current State: 55:[25, 65, 3, 65], Operations: [] Exploring Operation: 65-25=40, Resulting Numbers: [3, 40] Generated Node #2: [3, 40] from Operation: 65-25=40 Current State: 55:[3, 40], Operations: ['65-25=40'] Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,55 equal: Goal Reached Exploring Operation: 120-65=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[25, 65, 3, 65], Operations: [] Exploring Operation: 65/65=1, Resulting Numbers: [25, 3, 1] Generated Node #0,0: 55:[25, 3, 1] Operation: 65/65=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[25, 3, 1], Operations: ['65/65=1'] Exploring Operation: 25-3=22, Resulting Numbers: [1, 22] Generated Node #0,0,0: 55:[1, 22] Operation: 25-3=22 Moving to Node #0,0,0 Current State: 55:[1, 22], Operations: ['65/65=1', '25-3=22'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,55 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
[ 9, 5, 44, 61 ]
67
[ "9*44=396", "396-61=335", "335/5=67" ]
Current State: 67:[9, 5, 44, 61], Operations: [] Exploring Operation: 9*44=396, Resulting Numbers: [5, 61, 396] Generated Node #2: [5, 61, 396] from Operation: 9*44=396 Current State: 67:[5, 61, 396], Operations: ['9*44=396'] Exploring Operation: 396-61=335, Resulting Numbers: [5, 335] Generated Node #3: [5, 335] from Operation: 396-61=335 Current State: 67:[5, 335], Operations: ['9*44=396', '396-61=335'] Exploring Operation: 335/5=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[9, 5, 44, 61], Operations: [] Exploring Operation: 9+5=14, Resulting Numbers: [44, 61, 14] Generated Node #0,0: 67:[44, 61, 14] Operation: 9+5=14 Exploring Operation: 5+44=49, Resulting Numbers: [9, 61, 49] Generated Node #0,1: 67:[9, 61, 49] Operation: 5+44=49 Exploring Operation: 9+44=53, Resulting Numbers: [5, 61, 53] Generated Node #0,2: 67:[5, 61, 53] Operation: 9+44=53 Exploring Operation: 9*5=45, Resulting Numbers: [44, 61, 45] Generated Node #0,3: 67:[44, 61, 45] Operation: 9*5=45 Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[44, 61, 45], Operations: ['9*5=45'] Exploring Operation: 44+61=105, Resulting Numbers: [45, 105] Generated Node #0,3,0: 67:[45, 105] Operation: 44+61=105 Exploring Operation: 44+45=89, Resulting Numbers: [61, 89] Generated Node #0,3,1: 67:[61, 89] Operation: 44+45=89 Exploring Operation: 61-44=17, Resulting Numbers: [45, 17] Generated Node #0,3,2: 67:[45, 17] Operation: 61-44=17 Exploring Operation: 61+45=106, Resulting Numbers: [44, 106] Generated Node #0,3,3: 67:[44, 106] Operation: 61+45=106 Moving to Node #0,3,1 Current State: 67:[61, 89], Operations: ['9*5=45', '44+45=89'] Exploring Operation: 61*89=5429, Resulting Numbers: [5429] 5429,67 unequal: No Solution Exploring Operation: 61+89=150, Resulting Numbers: [150] 150,67 unequal: No Solution Exploring Operation: 89-61=28, Resulting Numbers: [28] 28,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[45, 105], Operations: ['9*5=45', '44+61=105'] Exploring Operation: 105-45=60, Resulting Numbers: [60] 60,67 unequal: No Solution Exploring Operation: 45+105=150, Resulting Numbers: [150] 150,67 unequal: No Solution Exploring Operation: 45*105=4725, Resulting Numbers: [4725] 4725,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[44, 106], Operations: ['9*5=45', '61+45=106'] Exploring Operation: 106-44=62, Resulting Numbers: [62] 62,67 unequal: No Solution Exploring Operation: 44+106=150, Resulting Numbers: [150] 150,67 unequal: No Solution Exploring Operation: 44*106=4664, Resulting Numbers: [4664] 4664,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[45, 17], Operations: ['9*5=45', '61-44=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,67 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,67 unequal: No Solution Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,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 Current State: 67:[44, 61, 14], Operations: ['9+5=14'] Exploring Operation: 61+14=75, Resulting Numbers: [44, 75] Generated Node #0,0,0: 67:[44, 75] Operation: 61+14=75 Exploring Operation: 44-14=30, Resulting Numbers: [61, 30] Generated Node #0,0,1: 67:[61, 30] Operation: 44-14=30 Exploring Operation: 44+14=58, Resulting Numbers: [61, 58] Generated Node #0,0,2: 67:[61, 58] Operation: 44+14=58 Exploring Operation: 61-14=47, Resulting Numbers: [44, 47] Generated Node #0,0,3: 67:[44, 47] Operation: 61-14=47 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[61, 58], Operations: ['9+5=14', '44+14=58'] Exploring Operation: 61*58=3538, Resulting Numbers: [3538] 3538,67 unequal: No Solution Exploring Operation: 61+58=119, Resulting Numbers: [119] 119,67 unequal: No Solution Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,67 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: 67:[44, 75], Operations: ['9+5=14', '61+14=75'] Exploring Operation: 75-44=31, Resulting Numbers: [31] 31,67 unequal: No Solution Exploring Operation: 44*75=3300, Resulting Numbers: [3300] 3300,67 unequal: No Solution Exploring Operation: 44+75=119, Resulting Numbers: [119] 119,67 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: 67:[61, 30], Operations: ['9+5=14', '44-14=30'] Exploring Operation: 61+30=91, Resulting Numbers: [91] 91,67 unequal: No Solution Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,67 unequal: No Solution Exploring Operation: 61*30=1830, Resulting Numbers: [1830] 1830,67 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,3 Current State: 67:[44, 47], Operations: ['9+5=14', '61-14=47'] Exploring Operation: 44*47=2068, Resulting Numbers: [2068] 2068,67 unequal: No Solution Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 44+47=91, Resulting Numbers: [91] 91,67 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: 67:[9, 61, 49], Operations: ['5+44=49'] Exploring Operation: 61-9=52, Resulting Numbers: [49, 52] Generated Node #0,1,0: 67:[49, 52] Operation: 61-9=52 Exploring Operation: 49-9=40, Resulting Numbers: [61, 40] Generated Node #0,1,1: 67:[61, 40] Operation: 49-9=40 Exploring Operation: 9+61=70, Resulting Numbers: [49, 70] Generated Node #0,1,2: 67:[49, 70] Operation: 9+61=70 Exploring Operation: 9+49=58, Resulting Numbers: [61, 58] Generated Node #0,1,3: 67:[61, 58] Operation: 9+49=58 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 67:[61, 58], Operations: ['5+44=49', '9+49=58'] Exploring Operation: 61*58=3538, Resulting Numbers: [3538] 3538,67 unequal: No Solution Exploring Operation: 61+58=119, Resulting Numbers: [119] 119,67 unequal: No Solution Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,67 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: 67:[49, 70], Operations: ['5+44=49', '9+61=70'] Exploring Operation: 49+70=119, Resulting Numbers: [119] 119,67 unequal: No Solution Exploring Operation: 70-49=21, Resulting Numbers: [21] 21,67 unequal: No Solution Exploring Operation: 49*70=3430, Resulting Numbers: [3430] 3430,67 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: 67:[49, 52], Operations: ['5+44=49', '61-9=52'] Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 49+52=101, Resulting Numbers: [101] 101,67 unequal: No Solution Exploring Operation: 49*52=2548, Resulting Numbers: [2548] 2548,67 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: 67:[61, 40], Operations: ['5+44=49', '49-9=40'] Exploring Operation: 61+40=101, Resulting Numbers: [101] 101,67 unequal: No Solution Exploring Operation: 61*40=2440, Resulting Numbers: [2440] 2440,67 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,67 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: 67:[5, 61, 53], Operations: ['9+44=53'] Exploring Operation: 5+61=66, Resulting Numbers: [53, 66] Generated Node #0,2,0: 67:[53, 66] Operation: 5+61=66 Exploring Operation: 53-5=48, Resulting Numbers: [61, 48] Generated Node #0,2,1: 67:[61, 48] Operation: 53-5=48 Exploring Operation: 61-5=56, Resulting Numbers: [53, 56] Generated Node #0,2,2: 67:[53, 56] Operation: 61-5=56 Exploring Operation: 5+53=58, Resulting Numbers: [61, 58] Generated Node #0,2,3: 67:[61, 58] Operation: 5+53=58 Moving to Node #0,2,0 Current State: 67:[53, 66], Operations: ['9+44=53', '5+61=66'] Exploring Operation: 53*66=3498, Resulting Numbers: [3498] 3498,67 unequal: No Solution Exploring Operation: 66-53=13, Resulting Numbers: [13] 13,67 unequal: No Solution Exploring Operation: 53+66=119, Resulting Numbers: [119] 119,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[61, 58], Operations: ['9+44=53', '5+53=58'] Exploring Operation: 61*58=3538, Resulting Numbers: [3538] 3538,67 unequal: No Solution Exploring Operation: 61+58=119, Resulting Numbers: [119] 119,67 unequal: No Solution Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[53, 56], Operations: ['9+44=53', '61-5=56'] Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 53+56=109, Resulting Numbers: [109] 109,67 unequal: No Solution Exploring Operation: 53*56=2968, Resulting Numbers: [2968] 2968,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[61, 48], Operations: ['9+44=53', '53-5=48'] Exploring Operation: 61*48=2928, Resulting Numbers: [2928] 2928,67 unequal: No Solution Exploring Operation: 61+48=109, Resulting Numbers: [109] 109,67 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,67 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
[ 87, 19, 1, 95 ]
26
[ "87-19=68", "95-1=94", "94-68=26" ]
Current State: 26:[87, 19, 1, 95], Operations: [] Exploring Operation: 87-19=68, Resulting Numbers: [1, 95, 68] Generated Node #2: [1, 95, 68] from Operation: 87-19=68 Current State: 26:[1, 95, 68], Operations: ['87-19=68'] Exploring Operation: 95-1=94, Resulting Numbers: [68, 94] Generated Node #3: [68, 94] from Operation: 95-1=94 Current State: 26:[68, 94], Operations: ['87-19=68', '95-1=94'] Exploring Operation: 94-68=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[87, 19, 1, 95], Operations: [] Exploring Operation: 95/19=5, Resulting Numbers: [87, 1, 5] Generated Node #0,0: 26:[87, 1, 5] Operation: 95/19=5 Exploring Operation: 87-19=68, Resulting Numbers: [1, 95, 68] Generated Node #0,1: 26:[1, 95, 68] Operation: 87-19=68 Exploring Operation: 95-87=8, Resulting Numbers: [19, 1, 8] Generated Node #0,2: 26:[19, 1, 8] Operation: 95-87=8 Exploring Operation: 95-19=76, Resulting Numbers: [87, 1, 76] Generated Node #0,3: 26:[87, 1, 76] Operation: 95-19=76 Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[19, 1, 8], Operations: ['95-87=8'] Exploring Operation: 19-8=11, Resulting Numbers: [1, 11] Generated Node #0,2,0: 26:[1, 11] Operation: 19-8=11 Exploring Operation: 19+8=27, Resulting Numbers: [1, 27] Generated Node #0,2,1: 26:[1, 27] Operation: 19+8=27 Exploring Operation: 19-1=18, Resulting Numbers: [8, 18] Generated Node #0,2,2: 26:[8, 18] Operation: 19-1=18 Exploring Operation: 1+8=9, Resulting Numbers: [19, 9] Generated Node #0,2,3: 26:[19, 9] Operation: 1+8=9 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 26:[1, 27], Operations: ['95-87=8', '19+8=27'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[87, 19, 1, 95], Operations: [] Exploring Operation: 95-87=8, Resulting Numbers: [19, 1, 8] Generated Node #0,2: 26:[19, 1, 8] Operation: 95-87=8 Moving to Node #0,2 Current State: 26:[19, 1, 8], Operations: ['95-87=8'] Exploring Operation: 19+8=27, Resulting Numbers: [1, 27] Generated Node #0,2,1: 26:[1, 27] Operation: 19+8=27 Moving to Node #0,2,1 Current State: 26:[1, 27], Operations: ['95-87=8', '19+8=27'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 83, 14, 88, 3 ]
65
[ "83-14=69", "69/3=23", "88-23=65" ]
Current State: 65:[83, 14, 88, 3], Operations: [] Exploring Operation: 83-14=69, Resulting Numbers: [88, 3, 69] Generated Node #2: [88, 3, 69] from Operation: 83-14=69 Current State: 65:[88, 3, 69], Operations: ['83-14=69'] Exploring Operation: 69/3=23, Resulting Numbers: [88, 23] Generated Node #3: [88, 23] from Operation: 69/3=23 Current State: 65:[88, 23], Operations: ['83-14=69', '69/3=23'] Exploring Operation: 88-23=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[83, 14, 88, 3], Operations: [] Exploring Operation: 83-3=80, Resulting Numbers: [14, 88, 80] Generated Node #0,0: 65:[14, 88, 80] Operation: 83-3=80 Exploring Operation: 83-14=69, Resulting Numbers: [88, 3, 69] Generated Node #0,1: 65:[88, 3, 69] Operation: 83-14=69 Exploring Operation: 88-3=85, Resulting Numbers: [83, 14, 85] Generated Node #0,2: 65:[83, 14, 85] Operation: 88-3=85 Exploring Operation: 88-14=74, Resulting Numbers: [83, 3, 74] Generated Node #0,3: 65:[83, 3, 74] Operation: 88-14=74 Exploring Operation: 88-83=5, Resulting Numbers: [14, 3, 5] Generated Node #0,4: 65:[14, 3, 5] Operation: 88-83=5 Start Sub Search at level 1: Moving to Node #0,4 Current State: 65:[14, 3, 5], Operations: ['88-83=5'] Exploring Operation: 14-3=11, Resulting Numbers: [5, 11] Generated Node #0,4,0: 65:[5, 11] Operation: 14-3=11 Exploring Operation: 3+5=8, Resulting Numbers: [14, 8] Generated Node #0,4,1: 65:[14, 8] Operation: 3+5=8 Exploring Operation: 3*5=15, Resulting Numbers: [14, 15] Generated Node #0,4,2: 65:[14, 15] Operation: 3*5=15 Exploring Operation: 5-3=2, Resulting Numbers: [14, 2] Generated Node #0,4,3: 65:[14, 2] Operation: 5-3=2 Exploring Operation: 14+3=17, Resulting Numbers: [5, 17] Generated Node #0,4,4: 65:[5, 17] Operation: 14+3=17 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 65:[5, 11], Operations: ['88-83=5', '14-3=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,65 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,4,2 Current State: 65:[14, 15], Operations: ['88-83=5', '3*5=15'] Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,65 unequal: No Solution Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,65 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,65 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,4,1 Current State: 65:[14, 8], Operations: ['88-83=5', '3+5=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 14*8=112, Resulting Numbers: [112] 112,65 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,4,3 Current State: 65:[14, 2], Operations: ['88-83=5', '5-3=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,65 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,65 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,4,4 Current State: 65:[5, 17], Operations: ['88-83=5', '14+3=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,65 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,65 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: 65:[88, 3, 69], Operations: ['83-14=69'] Exploring Operation: 88-69=19, Resulting Numbers: [3, 19] Generated Node #0,1,0: 65:[3, 19] Operation: 88-69=19 Exploring Operation: 88+3=91, Resulting Numbers: [69, 91] Generated Node #0,1,1: 65:[69, 91] Operation: 88+3=91 Exploring Operation: 69-3=66, Resulting Numbers: [88, 66] Generated Node #0,1,2: 65:[88, 66] Operation: 69-3=66 Exploring Operation: 3+69=72, Resulting Numbers: [88, 72] Generated Node #0,1,3: 65:[88, 72] Operation: 3+69=72 Exploring Operation: 88-3=85, Resulting Numbers: [69, 85] Generated Node #0,1,4: 65:[69, 85] Operation: 88-3=85 Moving to Node #0,1,0 Current State: 65:[3, 19], Operations: ['83-14=69', '88-69=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,65 unequal: No Solution Moving to Node #0,1,4 Current State: 65:[69, 85], Operations: ['83-14=69', '88-3=85'] Exploring Operation: 69+85=154, Resulting Numbers: [154] 154,65 unequal: No Solution Exploring Operation: 85-69=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 69*85=5865, Resulting Numbers: [5865] 5865,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[88, 66], Operations: ['83-14=69', '69-3=66'] Exploring Operation: 88+66=154, Resulting Numbers: [154] 154,65 unequal: No Solution Exploring Operation: 88*66=5808, Resulting Numbers: [5808] 5808,65 unequal: No Solution Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[69, 91], Operations: ['83-14=69', '88+3=91'] Exploring Operation: 91-69=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 69*91=6279, Resulting Numbers: [6279] 6279,65 unequal: No Solution Exploring Operation: 69+91=160, Resulting Numbers: [160] 160,65 unequal: No Solution Moving to Node #0,1,3 Current State: 65:[88, 72], Operations: ['83-14=69', '3+69=72'] Exploring Operation: 88*72=6336, Resulting Numbers: [6336] 6336,65 unequal: No Solution Exploring Operation: 88+72=160, Resulting Numbers: [160] 160,65 unequal: No Solution Exploring Operation: 88-72=16, Resulting Numbers: [16] 16,65 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: 65:[83, 3, 74], Operations: ['88-14=74'] Exploring Operation: 3+74=77, Resulting Numbers: [83, 77] Generated Node #0,3,0: 65:[83, 77] Operation: 3+74=77 Exploring Operation: 83+3=86, Resulting Numbers: [74, 86] Generated Node #0,3,1: 65:[74, 86] Operation: 83+3=86 Exploring Operation: 83-74=9, Resulting Numbers: [3, 9] Generated Node #0,3,2: 65:[3, 9] Operation: 83-74=9 Exploring Operation: 83-3=80, Resulting Numbers: [74, 80] Generated Node #0,3,3: 65:[74, 80] Operation: 83-3=80 Exploring Operation: 74-3=71, Resulting Numbers: [83, 71] Generated Node #0,3,4: 65:[83, 71] Operation: 74-3=71 Moving to Node #0,3,2 Current State: 65:[3, 9], Operations: ['88-14=74', '83-74=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,65 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,65 unequal: No Solution Moving to Node #0,3,4 Current State: 65:[83, 71], Operations: ['88-14=74', '74-3=71'] Exploring Operation: 83*71=5893, Resulting Numbers: [5893] 5893,65 unequal: No Solution Exploring Operation: 83-71=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 83+71=154, Resulting Numbers: [154] 154,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[74, 80], Operations: ['88-14=74', '83-3=80'] Exploring Operation: 74+80=154, Resulting Numbers: [154] 154,65 unequal: No Solution Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 74*80=5920, Resulting Numbers: [5920] 5920,65 unequal: No Solution Moving to Node #0,3,0 Current State: 65:[83, 77], Operations: ['88-14=74', '3+74=77'] Exploring Operation: 83*77=6391, Resulting Numbers: [6391] 6391,65 unequal: No Solution Exploring Operation: 83+77=160, Resulting Numbers: [160] 160,65 unequal: No Solution Exploring Operation: 83-77=6, Resulting Numbers: [6] 6,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[74, 86], Operations: ['88-14=74', '83+3=86'] Exploring Operation: 74+86=160, Resulting Numbers: [160] 160,65 unequal: No Solution Exploring Operation: 74*86=6364, Resulting Numbers: [6364] 6364,65 unequal: No Solution Exploring Operation: 86-74=12, Resulting Numbers: [12] 12,65 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: 65:[14, 88, 80], Operations: ['83-3=80'] Exploring Operation: 88-14=74, Resulting Numbers: [80, 74] Generated Node #0,0,0: 65:[80, 74] Operation: 88-14=74 Exploring Operation: 80-14=66, Resulting Numbers: [88, 66] Generated Node #0,0,1: 65:[88, 66] Operation: 80-14=66 Exploring Operation: 14+88=102, Resulting Numbers: [80, 102] Generated Node #0,0,2: 65:[80, 102] Operation: 14+88=102 Exploring Operation: 14+80=94, Resulting Numbers: [88, 94] Generated Node #0,0,3: 65:[88, 94] Operation: 14+80=94 Exploring Operation: 88-80=8, Resulting Numbers: [14, 8] Generated Node #0,0,4: 65:[14, 8] Operation: 88-80=8 Moving to Node #0,0,4 Current State: 65:[14, 8], Operations: ['83-3=80', '88-80=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 14*8=112, Resulting Numbers: [112] 112,65 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[88, 66], Operations: ['83-3=80', '80-14=66'] Exploring Operation: 88*66=5808, Resulting Numbers: [5808] 5808,65 unequal: No Solution Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 88+66=154, Resulting Numbers: [154] 154,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[80, 74], Operations: ['83-3=80', '88-14=74'] Exploring Operation: 80+74=154, Resulting Numbers: [154] 154,65 unequal: No Solution Exploring Operation: 80-74=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 80*74=5920, Resulting Numbers: [5920] 5920,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[80, 102], Operations: ['83-3=80', '14+88=102'] Exploring Operation: 102-80=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 80*102=8160, Resulting Numbers: [8160] 8160,65 unequal: No Solution Exploring Operation: 80+102=182, Resulting Numbers: [182] 182,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[88, 94], Operations: ['83-3=80', '14+80=94'] Exploring Operation: 88+94=182, Resulting Numbers: [182] 182,65 unequal: No Solution Exploring Operation: 94-88=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 88*94=8272, Resulting Numbers: [8272] 8272,65 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: 65:[83, 14, 85], Operations: ['88-3=85'] Exploring Operation: 85-14=71, Resulting Numbers: [83, 71] Generated Node #0,2,0: 65:[83, 71] Operation: 85-14=71 Exploring Operation: 14+85=99, Resulting Numbers: [83, 99] Generated Node #0,2,1: 65:[83, 99] Operation: 14+85=99 Exploring Operation: 83+14=97, Resulting Numbers: [85, 97] Generated Node #0,2,2: 65:[85, 97] Operation: 83+14=97 Exploring Operation: 85-83=2, Resulting Numbers: [14, 2] Generated Node #0,2,3: 65:[14, 2] Operation: 85-83=2 Exploring Operation: 83-14=69, Resulting Numbers: [85, 69] Generated Node #0,2,4: 65:[85, 69] Operation: 83-14=69 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 65:[14, 2], Operations: ['88-3=85', '85-83=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,65 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,65 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: 65:[83, 71], Operations: ['88-3=85', '85-14=71'] Exploring Operation: 83+71=154, Resulting Numbers: [154] 154,65 unequal: No Solution Exploring Operation: 83*71=5893, Resulting Numbers: [5893] 5893,65 unequal: No Solution Exploring Operation: 83-71=12, Resulting Numbers: [12] 12,65 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: 65:[85, 69], Operations: ['88-3=85', '83-14=69'] Exploring Operation: 85+69=154, Resulting Numbers: [154] 154,65 unequal: No Solution Exploring Operation: 85-69=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 85*69=5865, Resulting Numbers: [5865] 5865,65 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: 65:[83, 99], Operations: ['88-3=85', '14+85=99'] Exploring Operation: 83*99=8217, Resulting Numbers: [8217] 8217,65 unequal: No Solution Exploring Operation: 99-83=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 83+99=182, Resulting Numbers: [182] 182,65 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: 65:[85, 97], Operations: ['88-3=85', '83+14=97'] Exploring Operation: 97-85=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 85*97=8245, Resulting Numbers: [8245] 8245,65 unequal: No Solution Exploring Operation: 85+97=182, Resulting Numbers: [182] 182,65 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_5
mult_heuristic
[ 68, 42, 42, 54 ]
68
[ "42-42=0", "54*0=0", "68+0=68" ]
Current State: 68:[68, 42, 42, 54], Operations: [] Exploring Operation: 42-42=0, Resulting Numbers: [68, 54, 0] Generated Node #2: [68, 54, 0] from Operation: 42-42=0 Current State: 68:[68, 54, 0], Operations: ['42-42=0'] Exploring Operation: 54*0=0, Resulting Numbers: [68, 0] Generated Node #3: [68, 0] from Operation: 54*0=0 Current State: 68:[68, 0], Operations: ['42-42=0', '54*0=0'] Exploring Operation: 68+0=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[68, 42, 42, 54], Operations: [] Exploring Operation: 42-42=0, Resulting Numbers: [68, 54, 0] Generated Node #0,0: 68:[68, 54, 0] Operation: 42-42=0 Exploring Operation: 54-42=12, Resulting Numbers: [68, 42, 12] Generated Node #0,1: 68:[68, 42, 12] Operation: 54-42=12 Exploring Operation: 42/42=1, Resulting Numbers: [68, 54, 1] Generated Node #0,2: 68:[68, 54, 1] Operation: 42/42=1 Exploring Operation: 54-42=12, Resulting Numbers: [68, 42, 12] Generated Node #0,3: 68:[68, 42, 12] Operation: 54-42=12 Moving to Node #0,1 Current State: 68:[68, 42, 12], Operations: ['54-42=12'] Exploring Operation: 68-42=26, Resulting Numbers: [12, 26] Generated Node #0,1,0: 68:[12, 26] Operation: 68-42=26 Exploring Operation: 68+12=80, Resulting Numbers: [42, 80] Generated Node #0,1,1: 68:[42, 80] Operation: 68+12=80 Exploring Operation: 42+12=54, Resulting Numbers: [68, 54] Generated Node #0,1,2: 68:[68, 54] Operation: 42+12=54 Exploring Operation: 42-12=30, Resulting Numbers: [68, 30] Generated Node #0,1,3: 68:[68, 30] Operation: 42-12=30 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 68:[68, 30], Operations: ['54-42=12', '42-12=30'] Exploring Operation: 68*30=2040, Resulting Numbers: [2040] 2040,68 unequal: No Solution Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 68+30=98, Resulting Numbers: [98] 98,68 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: 68:[12, 26], Operations: ['54-42=12', '68-42=26'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,68 unequal: No Solution Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 12*26=312, Resulting Numbers: [312] 312,68 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: 68:[68, 54], Operations: ['54-42=12', '42+12=54'] Exploring Operation: 68-54=14, Resulting Numbers: [14] 14,68 unequal: No Solution Exploring Operation: 68*54=3672, Resulting Numbers: [3672] 3672,68 unequal: No Solution Exploring Operation: 68+54=122, Resulting Numbers: [122] 122,68 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: 68:[42, 80], Operations: ['54-42=12', '68+12=80'] Exploring Operation: 42+80=122, Resulting Numbers: [122] 122,68 unequal: No Solution Exploring Operation: 42*80=3360, Resulting Numbers: [3360] 3360,68 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,68 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: 68:[68, 42, 12], Operations: ['54-42=12'] Exploring Operation: 42+12=54, Resulting Numbers: [68, 54] Generated Node #0,3,0: 68:[68, 54] Operation: 42+12=54 Exploring Operation: 68+12=80, Resulting Numbers: [42, 80] Generated Node #0,3,1: 68:[42, 80] Operation: 68+12=80 Exploring Operation: 42-12=30, Resulting Numbers: [68, 30] Generated Node #0,3,2: 68:[68, 30] Operation: 42-12=30 Exploring Operation: 68-42=26, Resulting Numbers: [12, 26] Generated Node #0,3,3: 68:[12, 26] Operation: 68-42=26 Moving to Node #0,2 Current State: 68:[68, 54, 1], Operations: ['42/42=1'] Exploring Operation: 54+1=55, Resulting Numbers: [68, 55] Generated Node #0,2,0: 68:[68, 55] Operation: 54+1=55 Exploring Operation: 68*1=68, Resulting Numbers: [54, 68] Generated Node #0,2,1: 68:[54, 68] Operation: 68*1=68 Exploring Operation: 68/1=68, Resulting Numbers: [54, 68] Generated Node #0,2,2: 68:[54, 68] Operation: 68/1=68 Exploring Operation: 68-54=14, Resulting Numbers: [1, 14] Generated Node #0,2,3: 68:[1, 14] Operation: 68-54=14 Moving to Node #0,0 Current State: 68:[68, 54, 0], Operations: ['42-42=0'] Exploring Operation: 68-54=14, Resulting Numbers: [0, 14] Generated Node #0,0,0: 68:[0, 14] Operation: 68-54=14 Exploring Operation: 68-0=68, Resulting Numbers: [54, 68] Generated Node #0,0,1: 68:[54, 68] Operation: 68-0=68 Exploring Operation: 54*0=0, Resulting Numbers: [68, 0] Generated Node #0,0,2: 68:[68, 0] Operation: 54*0=0 Exploring Operation: 68+0=68, Resulting Numbers: [54, 68] Generated Node #0,0,3: 68:[54, 68] Operation: 68+0=68 Moving to Node #0,0,2 Current State: 68:[68, 0], Operations: ['42-42=0', '54*0=0'] Exploring Operation: 68-0=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[68, 42, 42, 54], Operations: [] Exploring Operation: 42-42=0, Resulting Numbers: [68, 54, 0] Generated Node #0,0: 68:[68, 54, 0] Operation: 42-42=0 Moving to Node #0,0 Current State: 68:[68, 54, 0], Operations: ['42-42=0'] Exploring Operation: 54*0=0, Resulting Numbers: [68, 0] Generated Node #0,0,2: 68:[68, 0] Operation: 54*0=0 Moving to Node #0,0,2 Current State: 68:[68, 0], Operations: ['42-42=0', '54*0=0'] Exploring Operation: 68-0=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.967882
hs_4
mult_heuristic
[ 76, 70, 5, 11 ]
51
[ "76-11=65", "70/5=14", "65-14=51" ]
Current State: 51:[76, 70, 5, 11], Operations: [] Exploring Operation: 76-11=65, Resulting Numbers: [70, 5, 65] Generated Node #2: [70, 5, 65] from Operation: 76-11=65 Current State: 51:[70, 5, 65], Operations: ['76-11=65'] Exploring Operation: 70/5=14, Resulting Numbers: [65, 14] Generated Node #3: [65, 14] from Operation: 70/5=14 Current State: 51:[65, 14], Operations: ['76-11=65', '70/5=14'] Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[76, 70, 5, 11], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [5, 11, 6] Generated Node #0,0: 51:[5, 11, 6] Operation: 76-70=6 Exploring Operation: 76-5=71, Resulting Numbers: [70, 11, 71] Generated Node #0,1: 51:[70, 11, 71] Operation: 76-5=71 Exploring Operation: 70/5=14, Resulting Numbers: [76, 11, 14] Generated Node #0,2: 51:[76, 11, 14] Operation: 70/5=14 Exploring Operation: 76-11=65, Resulting Numbers: [70, 5, 65] Generated Node #0,3: 51:[70, 5, 65] Operation: 76-11=65 Exploring Operation: 70-11=59, Resulting Numbers: [76, 5, 59] Generated Node #0,4: 51:[76, 5, 59] Operation: 70-11=59 Moving to Node #0,0 Current State: 51:[5, 11, 6], Operations: ['76-70=6'] Exploring Operation: 5+11=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 51:[6, 16] Operation: 5+11=16 Exploring Operation: 11-6=5, Resulting Numbers: [5, 5] Generated Node #0,0,1: 51:[5, 5] Operation: 11-6=5 Exploring Operation: 11+6=17, Resulting Numbers: [5, 17] Generated Node #0,0,2: 51:[5, 17] Operation: 11+6=17 Exploring Operation: 11-5=6, Resulting Numbers: [6, 6] Generated Node #0,0,3: 51:[6, 6] Operation: 11-5=6 Exploring Operation: 5*11=55, Resulting Numbers: [6, 55] Generated Node #0,0,4: 51:[6, 55] Operation: 5*11=55 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 51:[5, 17], Operations: ['76-70=6', '11+6=17'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,51 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,51 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,51 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: 51:[6, 16], Operations: ['76-70=6', '5+11=16'] Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,51 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,51 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: 51:[5, 5], Operations: ['76-70=6', '11-6=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,51 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: 51:[6, 6], Operations: ['76-70=6', '11-5=6'] Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,51 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: 51:[6, 55], Operations: ['76-70=6', '5*11=55'] Exploring Operation: 6*55=330, Resulting Numbers: [330] 330,51 unequal: No Solution Exploring Operation: 6+55=61, Resulting Numbers: [61] 61,51 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,51 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: 51:[76, 11, 14], Operations: ['70/5=14'] Exploring Operation: 76-14=62, Resulting Numbers: [11, 62] Generated Node #0,2,0: 51:[11, 62] Operation: 76-14=62 Exploring Operation: 76+11=87, Resulting Numbers: [14, 87] Generated Node #0,2,1: 51:[14, 87] Operation: 76+11=87 Exploring Operation: 11+14=25, Resulting Numbers: [76, 25] Generated Node #0,2,2: 51:[76, 25] Operation: 11+14=25 Exploring Operation: 14-11=3, Resulting Numbers: [76, 3] Generated Node #0,2,3: 51:[76, 3] Operation: 14-11=3 Exploring Operation: 76-11=65, Resulting Numbers: [14, 65] Generated Node #0,2,4: 51:[14, 65] Operation: 76-11=65 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[11, 62], Operations: ['70/5=14', '76-14=62'] Exploring Operation: 11*62=682, Resulting Numbers: [682] 682,51 unequal: No Solution Exploring Operation: 11+62=73, Resulting Numbers: [73] 73,51 unequal: No Solution Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[76, 70, 5, 11], Operations: [] Exploring Operation: 70/5=14, Resulting Numbers: [76, 11, 14] Generated Node #0,2: 51:[76, 11, 14] Operation: 70/5=14 Moving to Node #0,2 Current State: 51:[76, 11, 14], Operations: ['70/5=14'] Exploring Operation: 76-14=62, Resulting Numbers: [11, 62] Generated Node #0,2,0: 51:[11, 62] Operation: 76-14=62 Moving to Node #0,2,0 Current State: 51:[11, 62], Operations: ['70/5=14', '76-14=62'] Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 45, 96, 23, 50 ]
24
[ "96-45=51", "50-23=27", "51-27=24" ]
Current State: 24:[45, 96, 23, 50], Operations: [] Exploring Operation: 96-45=51, Resulting Numbers: [23, 50, 51] Generated Node #2: [23, 50, 51] from Operation: 96-45=51 Current State: 24:[23, 50, 51], Operations: ['96-45=51'] Exploring Operation: 50-23=27, Resulting Numbers: [51, 27] Generated Node #3: [51, 27] from Operation: 50-23=27 Current State: 24:[51, 27], Operations: ['96-45=51', '50-23=27'] Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[45, 96, 23, 50], Operations: [] Exploring Operation: 50-23=27, Resulting Numbers: [45, 96, 27] Generated Node #0,0: 24:[45, 96, 27] Operation: 50-23=27 Exploring Operation: 96-50=46, Resulting Numbers: [45, 23, 46] Generated Node #0,1: 24:[45, 23, 46] Operation: 96-50=46 Exploring Operation: 50-45=5, Resulting Numbers: [96, 23, 5] Generated Node #0,2: 24:[96, 23, 5] Operation: 50-45=5 Exploring Operation: 96-23=73, Resulting Numbers: [45, 50, 73] Generated Node #0,3: 24:[45, 50, 73] Operation: 96-23=73 Exploring Operation: 96-45=51, Resulting Numbers: [23, 50, 51] Generated Node #0,4: 24:[23, 50, 51] Operation: 96-45=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[45, 23, 46], Operations: ['96-50=46'] Exploring Operation: 45+23=68, Resulting Numbers: [46, 68] Generated Node #0,1,0: 24:[46, 68] Operation: 45+23=68 Exploring Operation: 46-23=23, Resulting Numbers: [45, 23] Generated Node #0,1,1: 24:[45, 23] Operation: 46-23=23 Exploring Operation: 45-23=22, Resulting Numbers: [46, 22] Generated Node #0,1,2: 24:[46, 22] Operation: 45-23=22 Exploring Operation: 46-45=1, Resulting Numbers: [23, 1] Generated Node #0,1,3: 24:[23, 1] Operation: 46-45=1 Exploring Operation: 46/23=2, Resulting Numbers: [45, 2] Generated Node #0,1,4: 24:[45, 2] Operation: 46/23=2 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 24:[23, 1], Operations: ['96-50=46', '46-45=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[45, 96, 23, 50], Operations: [] Exploring Operation: 96-50=46, Resulting Numbers: [45, 23, 46] Generated Node #0,1: 24:[45, 23, 46] Operation: 96-50=46 Moving to Node #0,1 Current State: 24:[45, 23, 46], Operations: ['96-50=46'] Exploring Operation: 46-45=1, Resulting Numbers: [23, 1] Generated Node #0,1,3: 24:[23, 1] Operation: 46-45=1 Moving to Node #0,1,3 Current State: 24:[23, 1], Operations: ['96-50=46', '46-45=1'] Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 75, 26, 29, 31 ]
51
[ "75-26=49", "31-29=2", "49+2=51" ]
Current State: 51:[75, 26, 29, 31], Operations: [] Exploring Operation: 75-26=49, Resulting Numbers: [29, 31, 49] Generated Node #2: [29, 31, 49] from Operation: 75-26=49 Current State: 51:[29, 31, 49], Operations: ['75-26=49'] Exploring Operation: 31-29=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 31-29=2 Current State: 51:[49, 2], Operations: ['75-26=49', '31-29=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[75, 26, 29, 31], Operations: [] Exploring Operation: 75-26=49, Resulting Numbers: [29, 31, 49] Generated Node #0,0: 51:[29, 31, 49] Operation: 75-26=49 Moving to Node #0,0 Current State: 51:[29, 31, 49], Operations: ['75-26=49'] Exploring Operation: 31-29=2, Resulting Numbers: [49, 2] Generated Node #0,0,0: 51:[49, 2] Operation: 31-29=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[49, 2], Operations: ['75-26=49', '31-29=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[75, 26, 29, 31], Operations: [] Exploring Operation: 75-26=49, Resulting Numbers: [29, 31, 49] Generated Node #0,0: 51:[29, 31, 49] Operation: 75-26=49 Moving to Node #0,0 Current State: 51:[29, 31, 49], Operations: ['75-26=49'] Exploring Operation: 31-29=2, Resulting Numbers: [49, 2] Generated Node #0,0,0: 51:[49, 2] Operation: 31-29=2 Moving to Node #0,0,0 Current State: 51:[49, 2], Operations: ['75-26=49', '31-29=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 48, 50, 24, 32 ]
64
[ "48*24=1152", "50-32=18", "1152/18=64" ]
Current State: 64:[48, 50, 24, 32], Operations: [] Exploring Operation: 48*24=1152, Resulting Numbers: [50, 32, 1152] Generated Node #2: [50, 32, 1152] from Operation: 48*24=1152 Current State: 64:[50, 32, 1152], Operations: ['48*24=1152'] Exploring Operation: 50-32=18, Resulting Numbers: [1152, 18] Generated Node #3: [1152, 18] from Operation: 50-32=18 Current State: 64:[1152, 18], Operations: ['48*24=1152', '50-32=18'] Exploring Operation: 1152/18=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[48, 50, 24, 32], Operations: [] Exploring Operation: 48+24=72, Resulting Numbers: [50, 32, 72] Generated Node #0,0: 64:[50, 32, 72] Operation: 48+24=72 Exploring Operation: 50-48=2, Resulting Numbers: [24, 32, 2] Generated Node #0,1: 64:[24, 32, 2] Operation: 50-48=2 Exploring Operation: 48/24=2, Resulting Numbers: [50, 32, 2] Generated Node #0,2: 64:[50, 32, 2] Operation: 48/24=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[24, 32, 2], Operations: ['50-48=2'] Exploring Operation: 24/2=12, Resulting Numbers: [32, 12] Generated Node #0,1,0: 64:[32, 12] Operation: 24/2=12 Exploring Operation: 32-24=8, Resulting Numbers: [2, 8] Generated Node #0,1,1: 64:[2, 8] Operation: 32-24=8 Exploring Operation: 24+2=26, Resulting Numbers: [32, 26] Generated Node #0,1,2: 64:[32, 26] Operation: 24+2=26 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[2, 8], Operations: ['50-48=2', '32-24=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,64 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: 64:[32, 12], Operations: ['50-48=2', '24/2=12'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,64 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,64 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: 64:[32, 26], Operations: ['50-48=2', '24+2=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,64 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,64 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: 64:[50, 32, 2], Operations: ['48/24=2'] Exploring Operation: 50-32=18, Resulting Numbers: [2, 18] Generated Node #0,2,0: 64:[2, 18] Operation: 50-32=18 Exploring Operation: 50/2=25, Resulting Numbers: [32, 25] Generated Node #0,2,1: 64:[32, 25] Operation: 50/2=25 Exploring Operation: 50+2=52, Resulting Numbers: [32, 52] Generated Node #0,2,2: 64:[32, 52] Operation: 50+2=52 Moving to Node #0,2,0 Current State: 64:[2, 18], Operations: ['48/24=2', '50-32=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[32, 25], Operations: ['48/24=2', '50/2=25'] Exploring Operation: 32*25=800, Resulting Numbers: [800] 800,64 unequal: No Solution Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 32+25=57, Resulting Numbers: [57] 57,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[32, 52], Operations: ['48/24=2', '50+2=52'] Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,64 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,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,0 Current State: 64:[50, 32, 72], Operations: ['48+24=72'] Exploring Operation: 50-32=18, Resulting Numbers: [72, 18] Generated Node #0,0,0: 64:[72, 18] Operation: 50-32=18 Exploring Operation: 72-32=40, Resulting Numbers: [50, 40] Generated Node #0,0,1: 64:[50, 40] Operation: 72-32=40 Exploring Operation: 72-50=22, Resulting Numbers: [32, 22] Generated Node #0,0,2: 64:[32, 22] Operation: 72-50=22 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 64:[32, 22], Operations: ['48+24=72', '72-50=22'] Exploring Operation: 32*22=704, Resulting Numbers: [704] 704,64 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,64 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: 64:[72, 18], Operations: ['48+24=72', '50-32=18'] Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,64 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: 64:[50, 40], Operations: ['48+24=72', '72-32=40'] Exploring Operation: 50+40=90, Resulting Numbers: [90] 90,64 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 50*40=2000, Resulting Numbers: [2000] 2000,64 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
[ 30, 47, 40, 33 ]
32
[ "47+33=80", "80/40=2", "30+2=32" ]
Current State: 32:[30, 47, 40, 33], Operations: [] Exploring Operation: 47+33=80, Resulting Numbers: [30, 40, 80] Generated Node #2: [30, 40, 80] from Operation: 47+33=80 Current State: 32:[30, 40, 80], Operations: ['47+33=80'] Exploring Operation: 80/40=2, Resulting Numbers: [30, 2] Generated Node #3: [30, 2] from Operation: 80/40=2 Current State: 32:[30, 2], Operations: ['47+33=80', '80/40=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[30, 47, 40, 33], Operations: [] Exploring Operation: 47-40=7, Resulting Numbers: [30, 33, 7] Generated Node #0,0: 32:[30, 33, 7] Operation: 47-40=7 Exploring Operation: 47-30=17, Resulting Numbers: [40, 33, 17] Generated Node #0,1: 32:[40, 33, 17] Operation: 47-30=17 Exploring Operation: 47-33=14, Resulting Numbers: [30, 40, 14] Generated Node #0,2: 32:[30, 40, 14] Operation: 47-33=14 Moving to Node #0,0 Current State: 32:[30, 33, 7], Operations: ['47-40=7'] Exploring Operation: 33-30=3, Resulting Numbers: [7, 3] Generated Node #0,0,0: 32:[7, 3] Operation: 33-30=3 Exploring Operation: 30-7=23, Resulting Numbers: [33, 23] Generated Node #0,0,1: 32:[33, 23] Operation: 30-7=23 Exploring Operation: 30+7=37, Resulting Numbers: [33, 37] Generated Node #0,0,2: 32:[33, 37] Operation: 30+7=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[7, 3], Operations: ['47-40=7', '33-30=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,32 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: 32:[33, 37], Operations: ['47-40=7', '30+7=37'] Exploring Operation: 33+37=70, Resulting Numbers: [70] 70,32 unequal: No Solution Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 33*37=1221, Resulting Numbers: [1221] 1221,32 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: 32:[33, 23], Operations: ['47-40=7', '30-7=23'] Exploring Operation: 33+23=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 33*23=759, Resulting Numbers: [759] 759,32 unequal: No Solution Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,32 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: 32:[40, 33, 17], Operations: ['47-30=17'] Exploring Operation: 40-33=7, Resulting Numbers: [17, 7] Generated Node #0,1,0: 32:[17, 7] Operation: 40-33=7 Exploring Operation: 33-17=16, Resulting Numbers: [40, 16] Generated Node #0,1,1: 32:[40, 16] Operation: 33-17=16 Exploring Operation: 40-17=23, Resulting Numbers: [33, 23] Generated Node #0,1,2: 32:[33, 23] Operation: 40-17=23 Moving to Node #0,2 Current State: 32:[30, 40, 14], Operations: ['47-33=14'] Exploring Operation: 30-14=16, Resulting Numbers: [40, 16] Generated Node #0,2,0: 32:[40, 16] Operation: 30-14=16 Exploring Operation: 40-30=10, Resulting Numbers: [14, 10] Generated Node #0,2,1: 32:[14, 10] Operation: 40-30=10 Exploring Operation: 40-14=26, Resulting Numbers: [30, 26] Generated Node #0,2,2: 32:[30, 26] Operation: 40-14=26 Moving to Node #0,1,0 Current State: 32:[17, 7], Operations: ['47-30=17', '40-33=7'] Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,32 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,32 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[14, 10], Operations: ['47-33=14', '40-30=10'] Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,32 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[33, 23], Operations: ['47-30=17', '40-17=23'] Exploring Operation: 33+23=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,32 unequal: No Solution Exploring Operation: 33*23=759, Resulting Numbers: [759] 759,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[30, 26], Operations: ['47-33=14', '40-14=26'] Exploring Operation: 30*26=780, Resulting Numbers: [780] 780,32 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 30+26=56, Resulting Numbers: [56] 56,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[40, 16], Operations: ['47-33=14', '30-14=16'] Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 40*16=640, Resulting Numbers: [640] 640,32 unequal: No Solution Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[40, 16], Operations: ['47-30=17', '33-17=16'] Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 40*16=640, Resulting Numbers: [640] 640,32 unequal: No Solution Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,32 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 89, 6, 5, 31 ]
88
[ "89-31=58", "6*5=30", "58+30=88" ]
Current State: 88:[89, 6, 5, 31], Operations: [] Exploring Operation: 89-31=58, Resulting Numbers: [6, 5, 58] Generated Node #2: [6, 5, 58] from Operation: 89-31=58 Current State: 88:[6, 5, 58], Operations: ['89-31=58'] Exploring Operation: 6*5=30, Resulting Numbers: [58, 30] Generated Node #3: [58, 30] from Operation: 6*5=30 Current State: 88:[58, 30], Operations: ['89-31=58', '6*5=30'] Exploring Operation: 58+30=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[89, 6, 5, 31], Operations: [] Exploring Operation: 31-6=25, Resulting Numbers: [89, 5, 25] Generated Node #0,0: 88:[89, 5, 25] Operation: 31-6=25 Exploring Operation: 6+31=37, Resulting Numbers: [89, 5, 37] Generated Node #0,1: 88:[89, 5, 37] Operation: 6+31=37 Exploring Operation: 31-5=26, Resulting Numbers: [89, 6, 26] Generated Node #0,2: 88:[89, 6, 26] Operation: 31-5=26 Moving to Node #0,0 Current State: 88:[89, 5, 25], Operations: ['31-6=25'] Exploring Operation: 89-5=84, Resulting Numbers: [25, 84] Generated Node #0,0,0: 88:[25, 84] Operation: 89-5=84 Exploring Operation: 25-5=20, Resulting Numbers: [89, 20] Generated Node #0,0,1: 88:[89, 20] Operation: 25-5=20 Exploring Operation: 25/5=5, Resulting Numbers: [89, 5] Generated Node #0,0,2: 88:[89, 5] Operation: 25/5=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[89, 5], Operations: ['31-6=25', '25/5=5'] Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,88 unequal: No Solution Exploring Operation: 89+5=94, Resulting Numbers: [94] 94,88 unequal: No Solution Exploring Operation: 89*5=445, Resulting Numbers: [445] 445,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,0,1 Current State: 88:[89, 20], Operations: ['31-6=25', '25-5=20'] Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,88 unequal: No Solution Exploring Operation: 89+20=109, Resulting Numbers: [109] 109,88 unequal: No Solution Exploring Operation: 89*20=1780, Resulting Numbers: [1780] 1780,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,0,0 Current State: 88:[25, 84], Operations: ['31-6=25', '89-5=84'] Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,88 unequal: No Solution Exploring Operation: 25+84=109, Resulting Numbers: [109] 109,88 unequal: No Solution Exploring Operation: 25*84=2100, Resulting Numbers: [2100] 2100,88 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: 88:[89, 6, 26], Operations: ['31-5=26'] Exploring Operation: 26-6=20, Resulting Numbers: [89, 20] Generated Node #0,2,0: 88:[89, 20] Operation: 26-6=20 Exploring Operation: 89-6=83, Resulting Numbers: [26, 83] Generated Node #0,2,1: 88:[26, 83] Operation: 89-6=83 Exploring Operation: 89+6=95, Resulting Numbers: [26, 95] Generated Node #0,2,2: 88:[26, 95] Operation: 89+6=95 Moving to Node #0,1 Current State: 88:[89, 5, 37], Operations: ['6+31=37'] Exploring Operation: 89-37=52, Resulting Numbers: [5, 52] Generated Node #0,1,0: 88:[5, 52] Operation: 89-37=52 Exploring Operation: 89-5=84, Resulting Numbers: [37, 84] Generated Node #0,1,1: 88:[37, 84] Operation: 89-5=84 Exploring Operation: 5+37=42, Resulting Numbers: [89, 42] Generated Node #0,1,2: 88:[89, 42] Operation: 5+37=42 Moving to Node #0,2,0 Current State: 88:[89, 20], Operations: ['31-5=26', '26-6=20'] Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,88 unequal: No Solution Exploring Operation: 89+20=109, Resulting Numbers: [109] 109,88 unequal: No Solution Exploring Operation: 89*20=1780, Resulting Numbers: [1780] 1780,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[89, 42], Operations: ['6+31=37', '5+37=42'] Exploring Operation: 89*42=3738, Resulting Numbers: [3738] 3738,88 unequal: No Solution Exploring Operation: 89+42=131, Resulting Numbers: [131] 131,88 unequal: No Solution Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[5, 52], Operations: ['6+31=37', '89-37=52'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 5+52=57, Resulting Numbers: [57] 57,88 unequal: No Solution Exploring Operation: 5*52=260, Resulting Numbers: [260] 260,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[26, 83], Operations: ['31-5=26', '89-6=83'] Exploring Operation: 26+83=109, Resulting Numbers: [109] 109,88 unequal: No Solution Exploring Operation: 26*83=2158, Resulting Numbers: [2158] 2158,88 unequal: No Solution Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[37, 84], Operations: ['6+31=37', '89-5=84'] Exploring Operation: 37*84=3108, Resulting Numbers: [3108] 3108,88 unequal: No Solution Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 37+84=121, Resulting Numbers: [121] 121,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[26, 95], Operations: ['31-5=26', '89+6=95'] Exploring Operation: 95-26=69, Resulting Numbers: [69] 69,88 unequal: No Solution Exploring Operation: 26+95=121, Resulting Numbers: [121] 121,88 unequal: No Solution Exploring Operation: 26*95=2470, Resulting Numbers: [2470] 2470,88 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 60, 32, 51, 97 ]
44
[ "60*51=3060", "32*97=3104", "3104-3060=44" ]
Current State: 44:[60, 32, 51, 97], Operations: [] Exploring Operation: 60*51=3060, Resulting Numbers: [32, 97, 3060] Generated Node #2: [32, 97, 3060] from Operation: 60*51=3060 Current State: 44:[32, 97, 3060], Operations: ['60*51=3060'] Exploring Operation: 32*97=3104, Resulting Numbers: [3060, 3104] Generated Node #3: [3060, 3104] from Operation: 32*97=3104 Current State: 44:[3060, 3104], Operations: ['60*51=3060', '32*97=3104'] Exploring Operation: 3104-3060=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[60, 32, 51, 97], Operations: [] Exploring Operation: 97-51=46, Resulting Numbers: [60, 32, 46] Generated Node #0,0: 44:[60, 32, 46] Operation: 97-51=46 Exploring Operation: 97-60=37, Resulting Numbers: [32, 51, 37] Generated Node #0,1: 44:[32, 51, 37] Operation: 97-60=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[32, 51, 37], Operations: ['97-60=37'] Exploring Operation: 37-32=5, Resulting Numbers: [51, 5] Generated Node #0,1,0: 44:[51, 5] Operation: 37-32=5 Exploring Operation: 51-32=19, Resulting Numbers: [37, 19] Generated Node #0,1,1: 44:[37, 19] Operation: 51-32=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[51, 5], Operations: ['97-60=37', '37-32=5'] Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,44 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: 44:[37, 19], Operations: ['97-60=37', '51-32=19'] Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 37+19=56, Resulting Numbers: [56] 56,44 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: 44:[60, 32, 46], Operations: ['97-51=46'] Exploring Operation: 60-46=14, Resulting Numbers: [32, 14] Generated Node #0,0,0: 44:[32, 14] Operation: 60-46=14 Exploring Operation: 60-32=28, Resulting Numbers: [46, 28] Generated Node #0,0,1: 44:[46, 28] Operation: 60-32=28 Moving to Node #0,0,1 Current State: 44:[46, 28], Operations: ['97-51=46', '60-32=28'] Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 46+28=74, Resulting Numbers: [74] 74,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[32, 14], Operations: ['97-51=46', '60-46=14'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,44 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
[ 85, 66, 60, 64 ]
50
[ "85-60=25", "66-64=2", "25*2=50" ]
Current State: 50:[85, 66, 60, 64], Operations: [] Exploring Operation: 85-60=25, Resulting Numbers: [66, 64, 25] Generated Node #2: [66, 64, 25] from Operation: 85-60=25 Current State: 50:[66, 64, 25], Operations: ['85-60=25'] Exploring Operation: 66-64=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 66-64=2 Current State: 50:[25, 2], Operations: ['85-60=25', '66-64=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[85, 66, 60, 64], Operations: [] Exploring Operation: 85-60=25, Resulting Numbers: [66, 64, 25] Generated Node #0,0: 50:[66, 64, 25] Operation: 85-60=25 Exploring Operation: 85-64=21, Resulting Numbers: [66, 60, 21] Generated Node #0,1: 50:[66, 60, 21] Operation: 85-64=21 Exploring Operation: 85-66=19, Resulting Numbers: [60, 64, 19] Generated Node #0,2: 50:[60, 64, 19] Operation: 85-66=19 Exploring Operation: 66-64=2, Resulting Numbers: [85, 60, 2] Generated Node #0,3: 50:[85, 60, 2] Operation: 66-64=2 Moving to Node #0,0 Current State: 50:[66, 64, 25], Operations: ['85-60=25'] Exploring Operation: 66-64=2, Resulting Numbers: [25, 2] Generated Node #0,0,0: 50:[25, 2] Operation: 66-64=2 Exploring Operation: 64-25=39, Resulting Numbers: [66, 39] Generated Node #0,0,1: 50:[66, 39] Operation: 64-25=39 Exploring Operation: 66-25=41, Resulting Numbers: [64, 41] Generated Node #0,0,2: 50:[64, 41] Operation: 66-25=41 Exploring Operation: 66+25=91, Resulting Numbers: [64, 91] Generated Node #0,0,3: 50:[64, 91] Operation: 66+25=91 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[25, 2], Operations: ['85-60=25', '66-64=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[85, 66, 60, 64], Operations: [] Exploring Operation: 85-60=25, Resulting Numbers: [66, 64, 25] Generated Node #0,0: 50:[66, 64, 25] Operation: 85-60=25 Moving to Node #0,0 Current State: 50:[66, 64, 25], Operations: ['85-60=25'] Exploring Operation: 66-64=2, Resulting Numbers: [25, 2] Generated Node #0,0,0: 50:[25, 2] Operation: 66-64=2 Moving to Node #0,0,0 Current State: 50:[25, 2], Operations: ['85-60=25', '66-64=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 56, 24, 30, 38 ]
72
[ "56+24=80", "38-30=8", "80-8=72" ]
Current State: 72:[56, 24, 30, 38], Operations: [] Exploring Operation: 56+24=80, Resulting Numbers: [30, 38, 80] Generated Node #2: [30, 38, 80] from Operation: 56+24=80 Current State: 72:[30, 38, 80], Operations: ['56+24=80'] Exploring Operation: 38-30=8, Resulting Numbers: [80, 8] Generated Node #3: [80, 8] from Operation: 38-30=8 Current State: 72:[80, 8], Operations: ['56+24=80', '38-30=8'] Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[56, 24, 30, 38], Operations: [] Exploring Operation: 56-30=26, Resulting Numbers: [24, 38, 26] Generated Node #0,0: 72:[24, 38, 26] Operation: 56-30=26 Moving to Node #0,0 Current State: 72:[24, 38, 26], Operations: ['56-30=26'] Exploring Operation: 38-26=12, Resulting Numbers: [24, 12] Generated Node #0,0,0: 72:[24, 12] Operation: 38-26=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[24, 12], Operations: ['56-30=26', '38-26=12'] Exploring Operation: 24+12=36, Resulting Numbers: [36] 36,72 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
[ 15, 44, 40, 42 ]
57
[ "15+44=59", "42-40=2", "59-2=57" ]
Current State: 57:[15, 44, 40, 42], Operations: [] Exploring Operation: 15+44=59, Resulting Numbers: [40, 42, 59] Generated Node #2: [40, 42, 59] from Operation: 15+44=59 Current State: 57:[40, 42, 59], Operations: ['15+44=59'] Exploring Operation: 42-40=2, Resulting Numbers: [59, 2] Generated Node #3: [59, 2] from Operation: 42-40=2 Current State: 57:[59, 2], Operations: ['15+44=59', '42-40=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[15, 44, 40, 42], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [15, 42, 4] Generated Node #0,0: 57:[15, 42, 4] Operation: 44-40=4 Exploring Operation: 42-40=2, Resulting Numbers: [15, 44, 2] Generated Node #0,1: 57:[15, 44, 2] Operation: 42-40=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[15, 44, 2], Operations: ['42-40=2'] Exploring Operation: 15+44=59, Resulting Numbers: [2, 59] Generated Node #0,1,0: 57:[2, 59] Operation: 15+44=59 Exploring Operation: 44/2=22, Resulting Numbers: [15, 22] Generated Node #0,1,1: 57:[15, 22] Operation: 44/2=22 Moving to Node #0,1,0 Current State: 57:[2, 59], Operations: ['42-40=2', '15+44=59'] Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,57 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[15, 44, 40, 42], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [15, 44, 2] Generated Node #0,1: 57:[15, 44, 2] Operation: 42-40=2 Moving to Node #0,1 Current State: 57:[15, 44, 2], Operations: ['42-40=2'] Exploring Operation: 15+44=59, Resulting Numbers: [2, 59] Generated Node #0,1,0: 57:[2, 59] Operation: 15+44=59 Moving to Node #0,1,0 Current State: 57:[2, 59], Operations: ['42-40=2', '15+44=59'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 43, 52, 19, 86 ]
85
[ "52-43=9", "19*9=171", "171-86=85" ]
Current State: 85:[43, 52, 19, 86], Operations: [] Exploring Operation: 52-43=9, Resulting Numbers: [19, 86, 9] Generated Node #2: [19, 86, 9] from Operation: 52-43=9 Current State: 85:[19, 86, 9], Operations: ['52-43=9'] Exploring Operation: 19*9=171, Resulting Numbers: [86, 171] Generated Node #3: [86, 171] from Operation: 19*9=171 Current State: 85:[86, 171], Operations: ['52-43=9', '19*9=171'] Exploring Operation: 171-86=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[43, 52, 19, 86], Operations: [] Exploring Operation: 43+52=95, Resulting Numbers: [19, 86, 95] Generated Node #0,0: 85:[19, 86, 95] Operation: 43+52=95 Exploring Operation: 52-43=9, Resulting Numbers: [19, 86, 9] Generated Node #0,1: 85:[19, 86, 9] Operation: 52-43=9 Moving to Node #0,1 Current State: 85:[19, 86, 9], Operations: ['52-43=9'] Exploring Operation: 86-9=77, Resulting Numbers: [19, 77] Generated Node #0,1,0: 85:[19, 77] Operation: 86-9=77 Exploring Operation: 19-9=10, Resulting Numbers: [86, 10] Generated Node #0,1,1: 85:[86, 10] Operation: 19-9=10 Moving to Node #0,0 Current State: 85:[19, 86, 95], Operations: ['43+52=95'] Exploring Operation: 95-86=9, Resulting Numbers: [19, 9] Generated Node #0,0,0: 85:[19, 9] Operation: 95-86=9 Exploring Operation: 95/19=5, Resulting Numbers: [86, 5] Generated Node #0,0,1: 85:[86, 5] Operation: 95/19=5 Moving to Node #0,0,1 Current State: 85:[86, 5], Operations: ['43+52=95', '95/19=5'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[86, 10], Operations: ['52-43=9', '19-9=10'] Exploring Operation: 86+10=96, Resulting Numbers: [96] 96,85 unequal: No Solution Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[19, 9], Operations: ['43+52=95', '95-86=9'] Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,85 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[19, 77], Operations: ['52-43=9', '86-9=77'] Exploring Operation: 19+77=96, Resulting Numbers: [96] 96,85 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,85 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 91, 91, 21, 3 ]
84
[ "91/91=1", "3+1=4", "21*4=84" ]
Current State: 84:[91, 91, 21, 3], Operations: [] Exploring Operation: 91/91=1, Resulting Numbers: [21, 3, 1] Generated Node #2: [21, 3, 1] from Operation: 91/91=1 Current State: 84:[21, 3, 1], Operations: ['91/91=1'] Exploring Operation: 3+1=4, Resulting Numbers: [21, 4] Generated Node #3: [21, 4] from Operation: 3+1=4 Current State: 84:[21, 4], Operations: ['91/91=1', '3+1=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[91, 91, 21, 3], Operations: [] Exploring Operation: 91/91=1, Resulting Numbers: [21, 3, 1] Generated Node #0,0: 84:[21, 3, 1] Operation: 91/91=1 Moving to Node #0,0 Current State: 84:[21, 3, 1], Operations: ['91/91=1'] Exploring Operation: 21*1=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 84:[3, 21] Operation: 21*1=21 Moving to Node #0,0,0 Current State: 84:[3, 21], Operations: ['91/91=1', '21*1=21'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,84 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 2, 52, 30, 5 ]
25
[ "52-2=50", "30-5=25", "50-25=25" ]
Current State: 25:[2, 52, 30, 5], Operations: [] Exploring Operation: 52-2=50, Resulting Numbers: [30, 5, 50] Generated Node #2: [30, 5, 50] from Operation: 52-2=50 Current State: 25:[30, 5, 50], Operations: ['52-2=50'] Exploring Operation: 30-5=25, Resulting Numbers: [50, 25] Generated Node #3: [50, 25] from Operation: 30-5=25 Current State: 25:[50, 25], Operations: ['52-2=50', '30-5=25'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[2, 52, 30, 5], Operations: [] Exploring Operation: 52/2=26, Resulting Numbers: [30, 5, 26] Generated Node #0,0: 25:[30, 5, 26] Operation: 52/2=26 Exploring Operation: 52-30=22, Resulting Numbers: [2, 5, 22] Generated Node #0,1: 25:[2, 5, 22] Operation: 52-30=22 Exploring Operation: 52-2=50, Resulting Numbers: [30, 5, 50] Generated Node #0,2: 25:[30, 5, 50] Operation: 52-2=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[30, 5, 26], Operations: ['52/2=26'] Exploring Operation: 30-5=25, Resulting Numbers: [26, 25] Generated Node #0,0,0: 25:[26, 25] Operation: 30-5=25 Exploring Operation: 30/5=6, Resulting Numbers: [26, 6] Generated Node #0,0,1: 25:[26, 6] Operation: 30/5=6 Exploring Operation: 30-26=4, Resulting Numbers: [5, 4] Generated Node #0,0,2: 25:[5, 4] Operation: 30-26=4 Moving to Node #0,0,0 Current State: 25:[26, 25], Operations: ['52/2=26', '30-5=25'] Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,25 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[5, 4], Operations: ['52/2=26', '30-26=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,25 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[26, 6], Operations: ['52/2=26', '30/5=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,25 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,25 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,25 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: 25:[2, 5, 22], Operations: ['52-30=22'] Exploring Operation: 2+22=24, Resulting Numbers: [5, 24] Generated Node #0,1,0: 25:[5, 24] Operation: 2+22=24 Exploring Operation: 5-2=3, Resulting Numbers: [22, 3] Generated Node #0,1,1: 25:[22, 3] Operation: 5-2=3 Exploring Operation: 2+5=7, Resulting Numbers: [22, 7] Generated Node #0,1,2: 25:[22, 7] Operation: 2+5=7 Moving to Node #0,1,0 Current State: 25:[5, 24], Operations: ['52-30=22', '2+22=24'] Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,25 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[22, 3], Operations: ['52-30=22', '5-2=3'] Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,25 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[2, 52, 30, 5], Operations: [] Exploring Operation: 52-30=22, Resulting Numbers: [2, 5, 22] Generated Node #0,1: 25:[2, 5, 22] Operation: 52-30=22 Moving to Node #0,1 Current State: 25:[2, 5, 22], Operations: ['52-30=22'] Exploring Operation: 5-2=3, Resulting Numbers: [22, 3] Generated Node #0,1,1: 25:[22, 3] Operation: 5-2=3 Moving to Node #0,1,1 Current State: 25:[22, 3], Operations: ['52-30=22', '5-2=3'] Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
sum_heuristic
[ 8, 58, 11, 23 ]
100
[ "8+58=66", "11+23=34", "66+34=100" ]
Current State: 100:[8, 58, 11, 23], Operations: [] Exploring Operation: 8+58=66, Resulting Numbers: [11, 23, 66] Generated Node #2: [11, 23, 66] from Operation: 8+58=66 Current State: 100:[11, 23, 66], Operations: ['8+58=66'] Exploring Operation: 11+23=34, Resulting Numbers: [66, 34] Generated Node #3: [66, 34] from Operation: 11+23=34 Current State: 100:[66, 34], Operations: ['8+58=66', '11+23=34'] Exploring Operation: 66+34=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[8, 58, 11, 23], Operations: [] Exploring Operation: 8+11=19, Resulting Numbers: [58, 23, 19] Generated Node #0,0: 100:[58, 23, 19] Operation: 8+11=19 Exploring Operation: 23-11=12, Resulting Numbers: [8, 58, 12] Generated Node #0,1: 100:[8, 58, 12] Operation: 23-11=12 Exploring Operation: 58-11=47, Resulting Numbers: [8, 23, 47] Generated Node #0,2: 100:[8, 23, 47] Operation: 58-11=47 Exploring Operation: 58-8=50, Resulting Numbers: [11, 23, 50] Generated Node #0,3: 100:[11, 23, 50] Operation: 58-8=50 Exploring Operation: 11-8=3, Resulting Numbers: [58, 23, 3] Generated Node #0,4: 100:[58, 23, 3] Operation: 11-8=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[11, 23, 50], Operations: ['58-8=50'] Exploring Operation: 23-11=12, Resulting Numbers: [50, 12] Generated Node #0,3,0: 100:[50, 12] Operation: 23-11=12 Exploring Operation: 11+50=61, Resulting Numbers: [23, 61] Generated Node #0,3,1: 100:[23, 61] Operation: 11+50=61 Exploring Operation: 50-11=39, Resulting Numbers: [23, 39] Generated Node #0,3,2: 100:[23, 39] Operation: 50-11=39 Exploring Operation: 50-23=27, Resulting Numbers: [11, 27] Generated Node #0,3,3: 100:[11, 27] Operation: 50-23=27 Exploring Operation: 11+23=34, Resulting Numbers: [50, 34] Generated Node #0,3,4: 100:[50, 34] Operation: 11+23=34 Moving to Node #0,3,0 Current State: 100:[50, 12], Operations: ['58-8=50', '23-11=12'] Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,100 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,100 unequal: No Solution Moving to Node #0,3,3 Current State: 100:[11, 27], Operations: ['58-8=50', '50-23=27'] Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,100 unequal: No Solution Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 11*27=297, Resulting Numbers: [297] 297,100 unequal: No Solution Moving to Node #0,3,4 Current State: 100:[50, 34], Operations: ['58-8=50', '11+23=34'] Exploring Operation: 50*34=1700, Resulting Numbers: [1700] 1700,100 unequal: No Solution Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,100 unequal: No Solution Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[23, 61], Operations: ['58-8=50', '11+50=61'] Exploring Operation: 23*61=1403, Resulting Numbers: [1403] 1403,100 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,100 unequal: No Solution Exploring Operation: 23+61=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[23, 39], Operations: ['58-8=50', '50-11=39'] Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,100 unequal: No Solution Exploring Operation: 23*39=897, Resulting Numbers: [897] 897,100 unequal: No Solution Exploring Operation: 23+39=62, Resulting Numbers: [62] 62,100 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: 100:[8, 23, 47], Operations: ['58-11=47'] Exploring Operation: 23-8=15, Resulting Numbers: [47, 15] Generated Node #0,2,0: 100:[47, 15] Operation: 23-8=15 Exploring Operation: 47-23=24, Resulting Numbers: [8, 24] Generated Node #0,2,1: 100:[8, 24] Operation: 47-23=24 Exploring Operation: 8+23=31, Resulting Numbers: [47, 31] Generated Node #0,2,2: 100:[47, 31] Operation: 8+23=31 Exploring Operation: 8+47=55, Resulting Numbers: [23, 55] Generated Node #0,2,3: 100:[23, 55] Operation: 8+47=55 Exploring Operation: 47-8=39, Resulting Numbers: [23, 39] Generated Node #0,2,4: 100:[23, 39] Operation: 47-8=39 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 100:[8, 24], Operations: ['58-11=47', '47-23=24'] Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,100 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,100 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: 100:[23, 55], Operations: ['58-11=47', '8+47=55'] Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 23+55=78, Resulting Numbers: [78] 78,100 unequal: No Solution Exploring Operation: 23*55=1265, Resulting Numbers: [1265] 1265,100 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: 100:[47, 15], Operations: ['58-11=47', '23-8=15'] Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 47+15=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 47*15=705, Resulting Numbers: [705] 705,100 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: 100:[47, 31], Operations: ['58-11=47', '8+23=31'] Exploring Operation: 47*31=1457, Resulting Numbers: [1457] 1457,100 unequal: No Solution Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,100 unequal: No Solution Exploring Operation: 47+31=78, Resulting Numbers: [78] 78,100 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: 100:[23, 39], Operations: ['58-11=47', '47-8=39'] Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,100 unequal: No Solution Exploring Operation: 23*39=897, Resulting Numbers: [897] 897,100 unequal: No Solution Exploring Operation: 23+39=62, Resulting Numbers: [62] 62,100 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: 100:[58, 23, 19], Operations: ['8+11=19'] Exploring Operation: 58-23=35, Resulting Numbers: [19, 35] Generated Node #0,0,0: 100:[19, 35] Operation: 58-23=35 Exploring Operation: 23+19=42, Resulting Numbers: [58, 42] Generated Node #0,0,1: 100:[58, 42] Operation: 23+19=42 Exploring Operation: 58+23=81, Resulting Numbers: [19, 81] Generated Node #0,0,2: 100:[19, 81] Operation: 58+23=81 Exploring Operation: 23-19=4, Resulting Numbers: [58, 4] Generated Node #0,0,3: 100:[58, 4] Operation: 23-19=4 Exploring Operation: 58-19=39, Resulting Numbers: [23, 39] Generated Node #0,0,4: 100:[23, 39] Operation: 58-19=39 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 100:[58, 4], Operations: ['8+11=19', '23-19=4'] Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,100 unequal: No Solution Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,100 unequal: No Solution Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,100 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: 100:[19, 35], Operations: ['8+11=19', '58-23=35'] Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,100 unequal: No Solution Exploring Operation: 19*35=665, Resulting Numbers: [665] 665,100 unequal: No Solution Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,100 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,4 Current State: 100:[23, 39], Operations: ['8+11=19', '58-19=39'] Exploring Operation: 23+39=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,100 unequal: No Solution Exploring Operation: 23*39=897, Resulting Numbers: [897] 897,100 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: 100:[58, 42], Operations: ['8+11=19', '23+19=42'] Exploring Operation: 58+42=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[8, 58, 11, 23], Operations: [] Exploring Operation: 8+11=19, Resulting Numbers: [58, 23, 19] Generated Node #0,0: 100:[58, 23, 19] Operation: 8+11=19 Moving to Node #0,0 Current State: 100:[58, 23, 19], Operations: ['8+11=19'] Exploring Operation: 23+19=42, Resulting Numbers: [58, 42] Generated Node #0,0,1: 100:[58, 42] Operation: 23+19=42 Moving to Node #0,0,1 Current State: 100:[58, 42], Operations: ['8+11=19', '23+19=42'] Exploring Operation: 58+42=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.943576
hs_5
sum_heuristic
[ 21, 52, 49, 72 ]
65
[ "52-49=3", "21/3=7", "72-7=65" ]
Current State: 65:[21, 52, 49, 72], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [21, 72, 3] Generated Node #2: [21, 72, 3] from Operation: 52-49=3 Current State: 65:[21, 72, 3], Operations: ['52-49=3'] Exploring Operation: 21/3=7, Resulting Numbers: [72, 7] Generated Node #3: [72, 7] from Operation: 21/3=7 Current State: 65:[72, 7], Operations: ['52-49=3', '21/3=7'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[21, 52, 49, 72], Operations: [] Exploring Operation: 21+52=73, Resulting Numbers: [49, 72, 73] Generated Node #0,0: 65:[49, 72, 73] Operation: 21+52=73 Exploring Operation: 52-49=3, Resulting Numbers: [21, 72, 3] Generated Node #0,1: 65:[21, 72, 3] Operation: 52-49=3 Exploring Operation: 72-52=20, Resulting Numbers: [21, 49, 20] Generated Node #0,2: 65:[21, 49, 20] Operation: 72-52=20 Exploring Operation: 21+49=70, Resulting Numbers: [52, 72, 70] Generated Node #0,3: 65:[52, 72, 70] Operation: 21+49=70 Moving to Node #0,1 Current State: 65:[21, 72, 3], Operations: ['52-49=3'] Exploring Operation: 21*3=63, Resulting Numbers: [72, 63] Generated Node #0,1,0: 65:[72, 63] Operation: 21*3=63 Exploring Operation: 21/3=7, Resulting Numbers: [72, 7] Generated Node #0,1,1: 65:[72, 7] Operation: 21/3=7 Exploring Operation: 21-3=18, Resulting Numbers: [72, 18] Generated Node #0,1,2: 65:[72, 18] Operation: 21-3=18 Exploring Operation: 72-3=69, Resulting Numbers: [21, 69] Generated Node #0,1,3: 65:[21, 69] Operation: 72-3=69 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[72, 63], Operations: ['52-49=3', '21*3=63'] Exploring Operation: 72*63=4536, Resulting Numbers: [4536] 4536,65 unequal: No Solution Exploring Operation: 72-63=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 72+63=135, Resulting Numbers: [135] 135,65 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: 65:[72, 7], Operations: ['52-49=3', '21/3=7'] Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,65 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[21, 52, 49, 72], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [21, 72, 3] Generated Node #0,1: 65:[21, 72, 3] Operation: 52-49=3 Moving to Node #0,1 Current State: 65:[21, 72, 3], Operations: ['52-49=3'] Exploring Operation: 21/3=7, Resulting Numbers: [72, 7] Generated Node #0,1,1: 65:[72, 7] Operation: 21/3=7 Moving to Node #0,1,1 Current State: 65:[72, 7], Operations: ['52-49=3', '21/3=7'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 26, 75, 73, 2 ]
15
[ "26/2=13", "75-73=2", "13+2=15" ]
Current State: 15:[26, 75, 73, 2], Operations: [] Exploring Operation: 26/2=13, Resulting Numbers: [75, 73, 13] Generated Node #2: [75, 73, 13] from Operation: 26/2=13 Current State: 15:[75, 73, 13], Operations: ['26/2=13'] Exploring Operation: 75-73=2, Resulting Numbers: [13, 2] Generated Node #3: [13, 2] from Operation: 75-73=2 Current State: 15:[13, 2], Operations: ['26/2=13', '75-73=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[26, 75, 73, 2], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [26, 2, 2] Generated Node #0,0: 15:[26, 2, 2] Operation: 75-73=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[26, 2, 2], Operations: ['75-73=2'] Exploring Operation: 26/2=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 15:[2, 13] Operation: 26/2=13 Moving to Node #0,0,0 Current State: 15:[2, 13], Operations: ['75-73=2', '26/2=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[26, 75, 73, 2], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [26, 2, 2] Generated Node #0,0: 15:[26, 2, 2] Operation: 75-73=2 Moving to Node #0,0 Current State: 15:[26, 2, 2], Operations: ['75-73=2'] Exploring Operation: 26/2=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 15:[2, 13] Operation: 26/2=13 Moving to Node #0,0,0 Current State: 15:[2, 13], Operations: ['75-73=2', '26/2=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 28, 23, 77, 43 ]
49
[ "28*43=1204", "1204-77=1127", "1127/23=49" ]
Current State: 49:[28, 23, 77, 43], Operations: [] Exploring Operation: 28*43=1204, Resulting Numbers: [23, 77, 1204] Generated Node #2: [23, 77, 1204] from Operation: 28*43=1204 Current State: 49:[23, 77, 1204], Operations: ['28*43=1204'] Exploring Operation: 1204-77=1127, Resulting Numbers: [23, 1127] Generated Node #3: [23, 1127] from Operation: 1204-77=1127 Current State: 49:[23, 1127], Operations: ['28*43=1204', '1204-77=1127'] Exploring Operation: 1127/23=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[28, 23, 77, 43], Operations: [] Exploring Operation: 77-28=49, Resulting Numbers: [23, 43, 49] Generated Node #0,0: 49:[23, 43, 49] Operation: 77-28=49 Exploring Operation: 28-23=5, Resulting Numbers: [77, 43, 5] Generated Node #0,1: 49:[77, 43, 5] Operation: 28-23=5 Exploring Operation: 43-28=15, Resulting Numbers: [23, 77, 15] Generated Node #0,2: 49:[23, 77, 15] Operation: 43-28=15 Exploring Operation: 28+23=51, Resulting Numbers: [77, 43, 51] Generated Node #0,3: 49:[77, 43, 51] Operation: 28+23=51 Exploring Operation: 77-23=54, Resulting Numbers: [28, 43, 54] Generated Node #0,4: 49:[28, 43, 54] Operation: 77-23=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[23, 43, 49], Operations: ['77-28=49'] Exploring Operation: 23+49=72, Resulting Numbers: [43, 72] Generated Node #0,0,0: 49:[43, 72] Operation: 23+49=72 Exploring Operation: 23+43=66, Resulting Numbers: [49, 66] Generated Node #0,0,1: 49:[49, 66] Operation: 23+43=66 Exploring Operation: 49-23=26, Resulting Numbers: [43, 26] Generated Node #0,0,2: 49:[43, 26] Operation: 49-23=26 Exploring Operation: 49-43=6, Resulting Numbers: [23, 6] Generated Node #0,0,3: 49:[23, 6] Operation: 49-43=6 Exploring Operation: 43-23=20, Resulting Numbers: [49, 20] Generated Node #0,0,4: 49:[49, 20] Operation: 43-23=20 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 49:[49, 20], Operations: ['77-28=49', '43-23=20'] Exploring Operation: 49+20=69, Resulting Numbers: [69] 69,49 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,49 unequal: No Solution Exploring Operation: 49*20=980, Resulting Numbers: [980] 980,49 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: 49:[49, 66], Operations: ['77-28=49', '23+43=66'] Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 49+66=115, Resulting Numbers: [115] 115,49 unequal: No Solution Exploring Operation: 49*66=3234, Resulting Numbers: [3234] 3234,49 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,3 Current State: 49:[23, 6], Operations: ['77-28=49', '49-43=6'] Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,49 unequal: No Solution Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,49 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,49 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: 49:[43, 26], Operations: ['77-28=49', '49-23=26'] Exploring Operation: 43*26=1118, Resulting Numbers: [1118] 1118,49 unequal: No Solution Exploring Operation: 43+26=69, Resulting Numbers: [69] 69,49 unequal: No Solution Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,49 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: 49:[43, 72], Operations: ['77-28=49', '23+49=72'] Exploring Operation: 43*72=3096, Resulting Numbers: [3096] 3096,49 unequal: No Solution Exploring Operation: 43+72=115, Resulting Numbers: [115] 115,49 unequal: No Solution Exploring Operation: 72-43=29, Resulting Numbers: [29] 29,49 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,4 Current State: 49:[28, 43, 54], Operations: ['77-23=54'] Exploring Operation: 28+43=71, Resulting Numbers: [54, 71] Generated Node #0,4,0: 49:[54, 71] Operation: 28+43=71 Exploring Operation: 54-28=26, Resulting Numbers: [43, 26] Generated Node #0,4,1: 49:[43, 26] Operation: 54-28=26 Exploring Operation: 28+54=82, Resulting Numbers: [43, 82] Generated Node #0,4,2: 49:[43, 82] Operation: 28+54=82 Exploring Operation: 54-43=11, Resulting Numbers: [28, 11] Generated Node #0,4,3: 49:[28, 11] Operation: 54-43=11 Exploring Operation: 43-28=15, Resulting Numbers: [54, 15] Generated Node #0,4,4: 49:[54, 15] Operation: 43-28=15 Moving to Node #0,4,4 Current State: 49:[54, 15], Operations: ['77-23=54', '43-28=15'] Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,49 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 54*15=810, Resulting Numbers: [810] 810,49 unequal: No Solution Moving to Node #0,4,3 Current State: 49:[28, 11], Operations: ['77-23=54', '54-43=11'] Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 28*11=308, Resulting Numbers: [308] 308,49 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,49 unequal: No Solution Moving to Node #0,4,1 Current State: 49:[43, 26], Operations: ['77-23=54', '54-28=26'] Exploring Operation: 43+26=69, Resulting Numbers: [69] 69,49 unequal: No Solution Exploring Operation: 43*26=1118, Resulting Numbers: [1118] 1118,49 unequal: No Solution Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,49 unequal: No Solution Moving to Node #0,4,0 Current State: 49:[54, 71], Operations: ['77-23=54', '28+43=71'] Exploring Operation: 54+71=125, Resulting Numbers: [125] 125,49 unequal: No Solution Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 54*71=3834, Resulting Numbers: [3834] 3834,49 unequal: No Solution Moving to Node #0,4,2 Current State: 49:[43, 82], Operations: ['77-23=54', '28+54=82'] Exploring Operation: 82-43=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 43+82=125, Resulting Numbers: [125] 125,49 unequal: No Solution Exploring Operation: 43*82=3526, Resulting Numbers: [3526] 3526,49 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: 49:[77, 43, 5], Operations: ['28-23=5'] Exploring Operation: 43+5=48, Resulting Numbers: [77, 48] Generated Node #0,1,0: 49:[77, 48] Operation: 43+5=48 Exploring Operation: 77+5=82, Resulting Numbers: [43, 82] Generated Node #0,1,1: 49:[43, 82] Operation: 77+5=82 Exploring Operation: 77-43=34, Resulting Numbers: [5, 34] Generated Node #0,1,2: 49:[5, 34] Operation: 77-43=34 Exploring Operation: 77-5=72, Resulting Numbers: [43, 72] Generated Node #0,1,3: 49:[43, 72] Operation: 77-5=72 Exploring Operation: 43-5=38, Resulting Numbers: [77, 38] Generated Node #0,1,4: 49:[77, 38] Operation: 43-5=38 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[5, 34], Operations: ['28-23=5', '77-43=34'] Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,49 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,49 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,49 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: 49:[77, 48], Operations: ['28-23=5', '43+5=48'] Exploring Operation: 77*48=3696, Resulting Numbers: [3696] 3696,49 unequal: No Solution Exploring Operation: 77+48=125, Resulting Numbers: [125] 125,49 unequal: No Solution Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,49 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: 49:[43, 72], Operations: ['28-23=5', '77-5=72'] Exploring Operation: 43*72=3096, Resulting Numbers: [3096] 3096,49 unequal: No Solution Exploring Operation: 43+72=115, Resulting Numbers: [115] 115,49 unequal: No Solution Exploring Operation: 72-43=29, Resulting Numbers: [29] 29,49 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: 49:[43, 82], Operations: ['28-23=5', '77+5=82'] Exploring Operation: 43*82=3526, Resulting Numbers: [3526] 3526,49 unequal: No Solution Exploring Operation: 43+82=125, Resulting Numbers: [125] 125,49 unequal: No Solution Exploring Operation: 82-43=39, Resulting Numbers: [39] 39,49 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: 49:[77, 38], Operations: ['28-23=5', '43-5=38'] Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,49 unequal: No Solution Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,49 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: 49:[77, 43, 51], Operations: ['28+23=51'] Exploring Operation: 43+51=94, Resulting Numbers: [77, 94] Generated Node #0,3,0: 49:[77, 94] Operation: 43+51=94 Exploring Operation: 77-51=26, Resulting Numbers: [43, 26] Generated Node #0,3,1: 49:[43, 26] Operation: 77-51=26 Exploring Operation: 77-43=34, Resulting Numbers: [51, 34] Generated Node #0,3,2: 49:[51, 34] Operation: 77-43=34 Exploring Operation: 51-43=8, Resulting Numbers: [77, 8] Generated Node #0,3,3: 49:[77, 8] Operation: 51-43=8 Exploring Operation: 77+43=120, Resulting Numbers: [51, 120] Generated Node #0,3,4: 49:[51, 120] Operation: 77+43=120 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 49:[51, 34], Operations: ['28+23=51', '77-43=34'] Exploring Operation: 51*34=1734, Resulting Numbers: [1734] 1734,49 unequal: No Solution Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 51+34=85, Resulting Numbers: [85] 85,49 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,1 Current State: 49:[43, 26], Operations: ['28+23=51', '77-51=26'] Exploring Operation: 43*26=1118, Resulting Numbers: [1118] 1118,49 unequal: No Solution Exploring Operation: 43+26=69, Resulting Numbers: [69] 69,49 unequal: No Solution Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,49 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: 49:[77, 8], Operations: ['28+23=51', '51-43=8'] Exploring Operation: 77+8=85, Resulting Numbers: [85] 85,49 unequal: No Solution Exploring Operation: 77*8=616, Resulting Numbers: [616] 616,49 unequal: No Solution Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,49 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: 49:[77, 94], Operations: ['28+23=51', '43+51=94'] Exploring Operation: 77+94=171, Resulting Numbers: [171] 171,49 unequal: No Solution Exploring Operation: 94-77=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 77*94=7238, Resulting Numbers: [7238] 7238,49 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: 49:[51, 120], Operations: ['28+23=51', '77+43=120'] Exploring Operation: 120-51=69, Resulting Numbers: [69] 69,49 unequal: No Solution Exploring Operation: 51+120=171, Resulting Numbers: [171] 171,49 unequal: No Solution Exploring Operation: 51*120=6120, Resulting Numbers: [6120] 6120,49 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: 49:[23, 77, 15], Operations: ['43-28=15'] Exploring Operation: 23-15=8, Resulting Numbers: [77, 8] Generated Node #0,2,0: 49:[77, 8] Operation: 23-15=8 Exploring Operation: 23+15=38, Resulting Numbers: [77, 38] Generated Node #0,2,1: 49:[77, 38] Operation: 23+15=38 Exploring Operation: 77-15=62, Resulting Numbers: [23, 62] Generated Node #0,2,2: 49:[23, 62] Operation: 77-15=62 Exploring Operation: 23+77=100, Resulting Numbers: [15, 100] Generated Node #0,2,3: 49:[15, 100] Operation: 23+77=100 Exploring Operation: 77-23=54, Resulting Numbers: [15, 54] Generated Node #0,2,4: 49:[15, 54] Operation: 77-23=54 Moving to Node #0,2,4 Current State: 49:[15, 54], Operations: ['43-28=15', '77-23=54'] Exploring Operation: 15+54=69, Resulting Numbers: [69] 69,49 unequal: No Solution Exploring Operation: 15*54=810, Resulting Numbers: [810] 810,49 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[23, 62], Operations: ['43-28=15', '77-15=62'] Exploring Operation: 23*62=1426, Resulting Numbers: [1426] 1426,49 unequal: No Solution Exploring Operation: 23+62=85, Resulting Numbers: [85] 85,49 unequal: No Solution Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[77, 8], Operations: ['43-28=15', '23-15=8'] Exploring Operation: 77+8=85, Resulting Numbers: [85] 85,49 unequal: No Solution Exploring Operation: 77*8=616, Resulting Numbers: [616] 616,49 unequal: No Solution Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[77, 38], Operations: ['43-28=15', '23+15=38'] Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,49 unequal: No Solution Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,49 unequal: No Solution Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,49 unequal: No Solution Moving to Node #0,2,3 Current State: 49:[15, 100], Operations: ['43-28=15', '23+77=100'] Exploring Operation: 15+100=115, Resulting Numbers: [115] 115,49 unequal: No Solution Exploring Operation: 100-15=85, Resulting Numbers: [85] 85,49 unequal: No Solution Exploring Operation: 15*100=1500, Resulting Numbers: [1500] 1500,49 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
[ 85, 24, 36, 90 ]
10
[ "85*36=3060", "3060/90=34", "34-24=10" ]
Current State: 10:[85, 24, 36, 90], Operations: [] Exploring Operation: 85*36=3060, Resulting Numbers: [24, 90, 3060] Generated Node #2: [24, 90, 3060] from Operation: 85*36=3060 Current State: 10:[24, 90, 3060], Operations: ['85*36=3060'] Exploring Operation: 3060/90=34, Resulting Numbers: [24, 34] Generated Node #3: [24, 34] from Operation: 3060/90=34 Current State: 10:[24, 34], Operations: ['85*36=3060', '3060/90=34'] Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[85, 24, 36, 90], Operations: [] Exploring Operation: 90-36=54, Resulting Numbers: [85, 24, 54] Generated Node #0,0: 10:[85, 24, 54] Operation: 90-36=54 Exploring Operation: 36-24=12, Resulting Numbers: [85, 90, 12] Generated Node #0,1: 10:[85, 90, 12] Operation: 36-24=12 Exploring Operation: 85-24=61, Resulting Numbers: [36, 90, 61] Generated Node #0,2: 10:[36, 90, 61] Operation: 85-24=61 Exploring Operation: 85-36=49, Resulting Numbers: [24, 90, 49] Generated Node #0,3: 10:[24, 90, 49] Operation: 85-36=49 Exploring Operation: 90-85=5, Resulting Numbers: [24, 36, 5] Generated Node #0,4: 10:[24, 36, 5] Operation: 90-85=5 Moving to Node #0,4 Current State: 10:[24, 36, 5], Operations: ['90-85=5'] Exploring Operation: 24-5=19, Resulting Numbers: [36, 19] Generated Node #0,4,0: 10:[36, 19] Operation: 24-5=19 Exploring Operation: 24+5=29, Resulting Numbers: [36, 29] Generated Node #0,4,1: 10:[36, 29] Operation: 24+5=29 Exploring Operation: 36-24=12, Resulting Numbers: [5, 12] Generated Node #0,4,2: 10:[5, 12] Operation: 36-24=12 Exploring Operation: 36-5=31, Resulting Numbers: [24, 31] Generated Node #0,4,3: 10:[24, 31] Operation: 36-5=31 Exploring Operation: 36+5=41, Resulting Numbers: [24, 41] Generated Node #0,4,4: 10:[24, 41] Operation: 36+5=41 Moving to Node #0,3 Current State: 10:[24, 90, 49], Operations: ['85-36=49'] Exploring Operation: 24+90=114, Resulting Numbers: [49, 114] Generated Node #0,3,0: 10:[49, 114] Operation: 24+90=114 Exploring Operation: 90-49=41, Resulting Numbers: [24, 41] Generated Node #0,3,1: 10:[24, 41] Operation: 90-49=41 Exploring Operation: 49-24=25, Resulting Numbers: [90, 25] Generated Node #0,3,2: 10:[90, 25] Operation: 49-24=25 Exploring Operation: 24+49=73, Resulting Numbers: [90, 73] Generated Node #0,3,3: 10:[90, 73] Operation: 24+49=73 Exploring Operation: 90-24=66, Resulting Numbers: [49, 66] Generated Node #0,3,4: 10:[49, 66] Operation: 90-24=66 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 10:[24, 41], Operations: ['85-36=49', '90-49=41'] Exploring Operation: 24*41=984, Resulting Numbers: [984] 984,10 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 24+41=65, Resulting Numbers: [65] 65,10 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: 10:[90, 25], Operations: ['85-36=49', '49-24=25'] Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 90*25=2250, Resulting Numbers: [2250] 2250,10 unequal: No Solution Exploring Operation: 90+25=115, Resulting Numbers: [115] 115,10 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: 10:[49, 66], Operations: ['85-36=49', '90-24=66'] Exploring Operation: 49+66=115, Resulting Numbers: [115] 115,10 unequal: No Solution Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 49*66=3234, Resulting Numbers: [3234] 3234,10 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: 10:[49, 114], Operations: ['85-36=49', '24+90=114'] Exploring Operation: 114-49=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 49+114=163, Resulting Numbers: [163] 163,10 unequal: No Solution Exploring Operation: 49*114=5586, Resulting Numbers: [5586] 5586,10 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: 10:[90, 73], Operations: ['85-36=49', '24+49=73'] Exploring Operation: 90+73=163, Resulting Numbers: [163] 163,10 unequal: No Solution Exploring Operation: 90*73=6570, Resulting Numbers: [6570] 6570,10 unequal: No Solution Exploring Operation: 90-73=17, Resulting Numbers: [17] 17,10 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: 10:[85, 24, 54], Operations: ['90-36=54'] Exploring Operation: 85-54=31, Resulting Numbers: [24, 31] Generated Node #0,0,0: 10:[24, 31] Operation: 85-54=31 Exploring Operation: 85+24=109, Resulting Numbers: [54, 109] Generated Node #0,0,1: 10:[54, 109] Operation: 85+24=109 Exploring Operation: 85-24=61, Resulting Numbers: [54, 61] Generated Node #0,0,2: 10:[54, 61] Operation: 85-24=61 Exploring Operation: 85+54=139, Resulting Numbers: [24, 139] Generated Node #0,0,3: 10:[24, 139] Operation: 85+54=139 Exploring Operation: 54-24=30, Resulting Numbers: [85, 30] Generated Node #0,0,4: 10:[85, 30] Operation: 54-24=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[24, 31], Operations: ['90-36=54', '85-54=31'] Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,10 unequal: No Solution Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,10 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: 10:[54, 61], Operations: ['90-36=54', '85-24=61'] Exploring Operation: 54+61=115, Resulting Numbers: [115] 115,10 unequal: No Solution Exploring Operation: 54*61=3294, Resulting Numbers: [3294] 3294,10 unequal: No Solution Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,10 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: 10:[85, 30], Operations: ['90-36=54', '54-24=30'] Exploring Operation: 85+30=115, Resulting Numbers: [115] 115,10 unequal: No Solution Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 85*30=2550, Resulting Numbers: [2550] 2550,10 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: 10:[54, 109], Operations: ['90-36=54', '85+24=109'] Exploring Operation: 109-54=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 54*109=5886, Resulting Numbers: [5886] 5886,10 unequal: No Solution Exploring Operation: 54+109=163, Resulting Numbers: [163] 163,10 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: 10:[24, 139], Operations: ['90-36=54', '85+54=139'] Exploring Operation: 24*139=3336, Resulting Numbers: [3336] 3336,10 unequal: No Solution Exploring Operation: 24+139=163, Resulting Numbers: [163] 163,10 unequal: No Solution Exploring Operation: 139-24=115, Resulting Numbers: [115] 115,10 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: 10:[85, 90, 12], Operations: ['36-24=12'] Exploring Operation: 85+12=97, Resulting Numbers: [90, 97] Generated Node #0,1,0: 10:[90, 97] Operation: 85+12=97 Exploring Operation: 85-12=73, Resulting Numbers: [90, 73] Generated Node #0,1,1: 10:[90, 73] Operation: 85-12=73 Exploring Operation: 90-85=5, Resulting Numbers: [12, 5] Generated Node #0,1,2: 10:[12, 5] Operation: 90-85=5 Exploring Operation: 90-12=78, Resulting Numbers: [85, 78] Generated Node #0,1,3: 10:[85, 78] Operation: 90-12=78 Exploring Operation: 85+90=175, Resulting Numbers: [12, 175] Generated Node #0,1,4: 10:[12, 175] Operation: 85+90=175 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[12, 5], Operations: ['36-24=12', '90-85=5'] Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,10 unequal: No Solution Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,10 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: 10:[90, 73], Operations: ['36-24=12', '85-12=73'] Exploring Operation: 90-73=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 90*73=6570, Resulting Numbers: [6570] 6570,10 unequal: No Solution Exploring Operation: 90+73=163, Resulting Numbers: [163] 163,10 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: 10:[85, 78], Operations: ['36-24=12', '90-12=78'] Exploring Operation: 85*78=6630, Resulting Numbers: [6630] 6630,10 unequal: No Solution Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 85+78=163, Resulting Numbers: [163] 163,10 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: 10:[90, 97], Operations: ['36-24=12', '85+12=97'] Exploring Operation: 90*97=8730, Resulting Numbers: [8730] 8730,10 unequal: No Solution Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 90+97=187, Resulting Numbers: [187] 187,10 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: 10:[12, 175], Operations: ['36-24=12', '85+90=175'] Exploring Operation: 175-12=163, Resulting Numbers: [163] 163,10 unequal: No Solution Exploring Operation: 12*175=2100, Resulting Numbers: [2100] 2100,10 unequal: No Solution Exploring Operation: 12+175=187, Resulting Numbers: [187] 187,10 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: 10:[36, 90, 61], Operations: ['85-24=61'] Exploring Operation: 90-36=54, Resulting Numbers: [61, 54] Generated Node #0,2,0: 10:[61, 54] Operation: 90-36=54 Exploring Operation: 36+90=126, Resulting Numbers: [61, 126] Generated Node #0,2,1: 10:[61, 126] Operation: 36+90=126 Exploring Operation: 90-61=29, Resulting Numbers: [36, 29] Generated Node #0,2,2: 10:[36, 29] Operation: 90-61=29 Exploring Operation: 36+61=97, Resulting Numbers: [90, 97] Generated Node #0,2,3: 10:[90, 97] Operation: 36+61=97 Exploring Operation: 61-36=25, Resulting Numbers: [90, 25] Generated Node #0,2,4: 10:[90, 25] Operation: 61-36=25 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[36, 29], Operations: ['85-24=61', '90-61=29'] Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 36*29=1044, Resulting Numbers: [1044] 1044,10 unequal: No Solution Exploring Operation: 36+29=65, Resulting Numbers: [65] 65,10 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: 10:[61, 54], Operations: ['85-24=61', '90-36=54'] Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 61+54=115, Resulting Numbers: [115] 115,10 unequal: No Solution Exploring Operation: 61*54=3294, Resulting Numbers: [3294] 3294,10 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: 10:[90, 25], Operations: ['85-24=61', '61-36=25'] Exploring Operation: 90+25=115, Resulting Numbers: [115] 115,10 unequal: No Solution Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 90*25=2250, Resulting Numbers: [2250] 2250,10 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: 10:[61, 126], Operations: ['85-24=61', '36+90=126'] Exploring Operation: 126-61=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 61*126=7686, Resulting Numbers: [7686] 7686,10 unequal: No Solution Exploring Operation: 61+126=187, Resulting Numbers: [187] 187,10 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: 10:[90, 97], Operations: ['85-24=61', '36+61=97'] Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 90+97=187, Resulting Numbers: [187] 187,10 unequal: No Solution Exploring Operation: 90*97=8730, Resulting Numbers: [8730] 8730,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 10:[5, 12], Operations: ['90-85=5', '36-24=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,10 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,10 unequal: No Solution Moving to Node #0,4,3 Current State: 10:[24, 31], Operations: ['90-85=5', '36-5=31'] Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,10 unequal: No Solution Moving to Node #0,4,0 Current State: 10:[36, 19], Operations: ['90-85=5', '24-5=19'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,10 unequal: No Solution Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,10 unequal: No Solution Moving to Node #0,4,1 Current State: 10:[36, 29], Operations: ['90-85=5', '24+5=29'] Exploring Operation: 36*29=1044, Resulting Numbers: [1044] 1044,10 unequal: No Solution Exploring Operation: 36+29=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,10 unequal: No Solution Moving to Node #0,4,4 Current State: 10:[24, 41], Operations: ['90-85=5', '36+5=41'] Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 24+41=65, Resulting Numbers: [65] 65,10 unequal: No Solution Exploring Operation: 24*41=984, Resulting Numbers: [984] 984,10 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 78, 93, 23, 80 ]
72
[ "93-78=15", "80-23=57", "15+57=72" ]
Current State: 72:[78, 93, 23, 80], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [23, 80, 15] Generated Node #2: [23, 80, 15] from Operation: 93-78=15 Current State: 72:[23, 80, 15], Operations: ['93-78=15'] Exploring Operation: 80-23=57, Resulting Numbers: [15, 57] Generated Node #3: [15, 57] from Operation: 80-23=57 Current State: 72:[15, 57], Operations: ['93-78=15', '80-23=57'] Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[78, 93, 23, 80], Operations: [] Exploring Operation: 93-80=13, Resulting Numbers: [78, 23, 13] Generated Node #0,0: 72:[78, 23, 13] Operation: 93-80=13 Moving to Node #0,0 Current State: 72:[78, 23, 13], Operations: ['93-80=13'] Exploring Operation: 78/13=6, Resulting Numbers: [23, 6] Generated Node #0,0,0: 72:[23, 6] Operation: 78/13=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[23, 6], Operations: ['93-80=13', '78/13=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,72 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
[ 30, 10, 57, 8 ]
69
[ "30-10=20", "57-8=49", "20+49=69" ]
Current State: 69:[30, 10, 57, 8], Operations: [] Exploring Operation: 30-10=20, Resulting Numbers: [57, 8, 20] Generated Node #2: [57, 8, 20] from Operation: 30-10=20 Current State: 69:[57, 8, 20], Operations: ['30-10=20'] Exploring Operation: 57-8=49, Resulting Numbers: [20, 49] Generated Node #3: [20, 49] from Operation: 57-8=49 Current State: 69:[20, 49], Operations: ['30-10=20', '57-8=49'] Exploring Operation: 20+49=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[30, 10, 57, 8], Operations: [] Exploring Operation: 57-30=27, Resulting Numbers: [10, 8, 27] Generated Node #0,0: 69:[10, 8, 27] Operation: 57-30=27 Exploring Operation: 30-10=20, Resulting Numbers: [57, 8, 20] Generated Node #0,1: 69:[57, 8, 20] Operation: 30-10=20 Exploring Operation: 10+57=67, Resulting Numbers: [30, 8, 67] Generated Node #0,2: 69:[30, 8, 67] Operation: 10+57=67 Exploring Operation: 57+8=65, Resulting Numbers: [30, 10, 65] Generated Node #0,3: 69:[30, 10, 65] Operation: 57+8=65 Exploring Operation: 30/10=3, Resulting Numbers: [57, 8, 3] Generated Node #0,4: 69:[57, 8, 3] Operation: 30/10=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[30, 8, 67], Operations: ['10+57=67'] Exploring Operation: 8+67=75, Resulting Numbers: [30, 75] Generated Node #0,2,0: 69:[30, 75] Operation: 8+67=75 Exploring Operation: 67-8=59, Resulting Numbers: [30, 59] Generated Node #0,2,1: 69:[30, 59] Operation: 67-8=59 Exploring Operation: 30-8=22, Resulting Numbers: [67, 22] Generated Node #0,2,2: 69:[67, 22] Operation: 30-8=22 Exploring Operation: 67-30=37, Resulting Numbers: [8, 37] Generated Node #0,2,3: 69:[8, 37] Operation: 67-30=37 Exploring Operation: 30+8=38, Resulting Numbers: [67, 38] Generated Node #0,2,4: 69:[67, 38] Operation: 30+8=38 Moving to Node #0,2,2 Current State: 69:[67, 22], Operations: ['10+57=67', '30-8=22'] Exploring Operation: 67+22=89, Resulting Numbers: [89] 89,69 unequal: No Solution Exploring Operation: 67*22=1474, Resulting Numbers: [1474] 1474,69 unequal: No Solution Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[30, 75], Operations: ['10+57=67', '8+67=75'] Exploring Operation: 30*75=2250, Resulting Numbers: [2250] 2250,69 unequal: No Solution Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,69 unequal: No Solution Exploring Operation: 30+75=105, Resulting Numbers: [105] 105,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[30, 59], Operations: ['10+57=67', '67-8=59'] Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,69 unequal: No Solution Exploring Operation: 30*59=1770, Resulting Numbers: [1770] 1770,69 unequal: No Solution Exploring Operation: 30+59=89, Resulting Numbers: [89] 89,69 unequal: No Solution Moving to Node #0,2,4 Current State: 69:[67, 38], Operations: ['10+57=67', '30+8=38'] Exploring Operation: 67+38=105, Resulting Numbers: [105] 105,69 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,69 unequal: No Solution Exploring Operation: 67*38=2546, Resulting Numbers: [2546] 2546,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[8, 37], Operations: ['10+57=67', '67-30=37'] Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,69 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,69 unequal: No Solution Exploring Operation: 8+37=45, Resulting Numbers: [45] 45,69 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: 69:[10, 8, 27], Operations: ['57-30=27'] Exploring Operation: 27-10=17, Resulting Numbers: [8, 17] Generated Node #0,0,0: 69:[8, 17] Operation: 27-10=17 Exploring Operation: 10*8=80, Resulting Numbers: [27, 80] Generated Node #0,0,1: 69:[27, 80] Operation: 10*8=80 Exploring Operation: 27-8=19, Resulting Numbers: [10, 19] Generated Node #0,0,2: 69:[10, 19] Operation: 27-8=19 Exploring Operation: 10+8=18, Resulting Numbers: [27, 18] Generated Node #0,0,3: 69:[27, 18] Operation: 10+8=18 Exploring Operation: 10-8=2, Resulting Numbers: [27, 2] Generated Node #0,0,4: 69:[27, 2] Operation: 10-8=2 Moving to Node #0,0,4 Current State: 69:[27, 2], Operations: ['57-30=27', '10-8=2'] Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,69 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[27, 18], Operations: ['57-30=27', '10+8=18'] Exploring Operation: 27*18=486, Resulting Numbers: [486] 486,69 unequal: No Solution Exploring Operation: 27+18=45, Resulting Numbers: [45] 45,69 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[8, 17], Operations: ['57-30=27', '27-10=17'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,69 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[10, 19], Operations: ['57-30=27', '27-8=19'] Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,69 unequal: No Solution Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,69 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[27, 80], Operations: ['57-30=27', '10*8=80'] Exploring Operation: 27*80=2160, Resulting Numbers: [2160] 2160,69 unequal: No Solution Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 27+80=107, Resulting Numbers: [107] 107,69 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: 69:[57, 8, 3], Operations: ['30/10=3'] Exploring Operation: 57/3=19, Resulting Numbers: [8, 19] Generated Node #0,4,0: 69:[8, 19] Operation: 57/3=19 Exploring Operation: 57+3=60, Resulting Numbers: [8, 60] Generated Node #0,4,1: 69:[8, 60] Operation: 57+3=60 Exploring Operation: 8-3=5, Resulting Numbers: [57, 5] Generated Node #0,4,2: 69:[57, 5] Operation: 8-3=5 Exploring Operation: 8*3=24, Resulting Numbers: [57, 24] Generated Node #0,4,3: 69:[57, 24] Operation: 8*3=24 Exploring Operation: 57+8=65, Resulting Numbers: [3, 65] Generated Node #0,4,4: 69:[3, 65] Operation: 57+8=65 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 69:[3, 65], Operations: ['30/10=3', '57+8=65'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,69 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,4,0 Current State: 69:[8, 19], Operations: ['30/10=3', '57/3=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,69 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,69 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,69 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,4,3 Current State: 69:[57, 24], Operations: ['30/10=3', '8*3=24'] Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,69 unequal: No Solution Exploring Operation: 57*24=1368, Resulting Numbers: [1368] 1368,69 unequal: No Solution Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,69 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,4,1 Current State: 69:[8, 60], Operations: ['30/10=3', '57+3=60'] Exploring Operation: 8+60=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 8*60=480, Resulting Numbers: [480] 480,69 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,69 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,4,2 Current State: 69:[57, 5], Operations: ['30/10=3', '8-3=5'] Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,69 unequal: No Solution Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,69 unequal: No Solution Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,69 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: 69:[30, 10, 65], Operations: ['57+8=65'] Exploring Operation: 30+10=40, Resulting Numbers: [65, 40] Generated Node #0,3,0: 69:[65, 40] Operation: 30+10=40 Exploring Operation: 10+65=75, Resulting Numbers: [30, 75] Generated Node #0,3,1: 69:[30, 75] Operation: 10+65=75 Exploring Operation: 30/10=3, Resulting Numbers: [65, 3] Generated Node #0,3,2: 69:[65, 3] Operation: 30/10=3 Exploring Operation: 30-10=20, Resulting Numbers: [65, 20] Generated Node #0,3,3: 69:[65, 20] Operation: 30-10=20 Exploring Operation: 65-30=35, Resulting Numbers: [10, 35] Generated Node #0,3,4: 69:[10, 35] Operation: 65-30=35 Moving to Node #0,3,2 Current State: 69:[65, 3], Operations: ['57+8=65', '30/10=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,69 unequal: No Solution Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[65, 20], Operations: ['57+8=65', '30-10=20'] Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,69 unequal: No Solution Exploring Operation: 65*20=1300, Resulting Numbers: [1300] 1300,69 unequal: No Solution Exploring Operation: 65+20=85, Resulting Numbers: [85] 85,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[30, 75], Operations: ['57+8=65', '10+65=75'] Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,69 unequal: No Solution Exploring Operation: 30+75=105, Resulting Numbers: [105] 105,69 unequal: No Solution Exploring Operation: 30*75=2250, Resulting Numbers: [2250] 2250,69 unequal: No Solution Moving to Node #0,3,4 Current State: 69:[10, 35], Operations: ['57+8=65', '65-30=35'] Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,69 unequal: No Solution Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,69 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,69 unequal: No Solution Moving to Node #0,3,0 Current State: 69:[65, 40], Operations: ['57+8=65', '30+10=40'] Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 65+40=105, Resulting Numbers: [105] 105,69 unequal: No Solution Exploring Operation: 65*40=2600, Resulting Numbers: [2600] 2600,69 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: 69:[57, 8, 20], Operations: ['30-10=20'] Exploring Operation: 57+20=77, Resulting Numbers: [8, 77] Generated Node #0,1,0: 69:[8, 77] Operation: 57+20=77 Exploring Operation: 57-20=37, Resulting Numbers: [8, 37] Generated Node #0,1,1: 69:[8, 37] Operation: 57-20=37 Exploring Operation: 8+20=28, Resulting Numbers: [57, 28] Generated Node #0,1,2: 69:[57, 28] Operation: 8+20=28 Exploring Operation: 57+8=65, Resulting Numbers: [20, 65] Generated Node #0,1,3: 69:[20, 65] Operation: 57+8=65 Exploring Operation: 20-8=12, Resulting Numbers: [57, 12] Generated Node #0,1,4: 69:[57, 12] Operation: 20-8=12 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 69:[20, 65], Operations: ['30-10=20', '57+8=65'] Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,69 unequal: No Solution Exploring Operation: 20+65=85, Resulting Numbers: [85] 85,69 unequal: No Solution Exploring Operation: 20*65=1300, Resulting Numbers: [1300] 1300,69 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: 69:[8, 77], Operations: ['30-10=20', '57+20=77'] Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[30, 10, 57, 8], Operations: [] Exploring Operation: 30-10=20, Resulting Numbers: [57, 8, 20] Generated Node #0,1: 69:[57, 8, 20] Operation: 30-10=20 Moving to Node #0,1 Current State: 69:[57, 8, 20], Operations: ['30-10=20'] Exploring Operation: 57+20=77, Resulting Numbers: [8, 77] Generated Node #0,1,0: 69:[8, 77] Operation: 57+20=77 Moving to Node #0,1,0 Current State: 69:[8, 77], Operations: ['30-10=20', '57+20=77'] Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.914931
hs_5
mult_heuristic
[ 70, 22, 10, 73 ]
88
[ "70/10=7", "22+73=95", "95-7=88" ]
Current State: 88:[70, 22, 10, 73], Operations: [] Exploring Operation: 70/10=7, Resulting Numbers: [22, 73, 7] Generated Node #2: [22, 73, 7] from Operation: 70/10=7 Current State: 88:[22, 73, 7], Operations: ['70/10=7'] Exploring Operation: 22+73=95, Resulting Numbers: [7, 95] Generated Node #3: [7, 95] from Operation: 22+73=95 Current State: 88:[7, 95], Operations: ['70/10=7', '22+73=95'] Exploring Operation: 95-7=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[70, 22, 10, 73], Operations: [] Exploring Operation: 70/10=7, Resulting Numbers: [22, 73, 7] Generated Node #0,0: 88:[22, 73, 7] Operation: 70/10=7 Exploring Operation: 70+22=92, Resulting Numbers: [10, 73, 92] Generated Node #0,1: 88:[10, 73, 92] Operation: 70+22=92 Exploring Operation: 70+10=80, Resulting Numbers: [22, 73, 80] Generated Node #0,2: 88:[22, 73, 80] Operation: 70+10=80 Exploring Operation: 73-70=3, Resulting Numbers: [22, 10, 3] Generated Node #0,3: 88:[22, 10, 3] Operation: 73-70=3 Exploring Operation: 70-22=48, Resulting Numbers: [10, 73, 48] Generated Node #0,4: 88:[10, 73, 48] Operation: 70-22=48 Moving to Node #0,3 Current State: 88:[22, 10, 3], Operations: ['73-70=3'] Exploring Operation: 22+3=25, Resulting Numbers: [10, 25] Generated Node #0,3,0: 88:[10, 25] Operation: 22+3=25 Exploring Operation: 22-3=19, Resulting Numbers: [10, 19] Generated Node #0,3,1: 88:[10, 19] Operation: 22-3=19 Exploring Operation: 10+3=13, Resulting Numbers: [22, 13] Generated Node #0,3,2: 88:[22, 13] Operation: 10+3=13 Exploring Operation: 22-10=12, Resulting Numbers: [3, 12] Generated Node #0,3,3: 88:[3, 12] Operation: 22-10=12 Exploring Operation: 10-3=7, Resulting Numbers: [22, 7] Generated Node #0,3,4: 88:[22, 7] Operation: 10-3=7 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 88:[22, 7], Operations: ['73-70=3', '10-3=7'] Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,88 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,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,3,2 Current State: 88:[22, 13], Operations: ['73-70=3', '10+3=13'] Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,88 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,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,3,3 Current State: 88:[3, 12], Operations: ['73-70=3', '22-10=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,88 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,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,3,0 Current State: 88:[10, 25], Operations: ['73-70=3', '22+3=25'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,88 unequal: No Solution Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,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,3,1 Current State: 88:[10, 19], Operations: ['73-70=3', '22-3=19'] Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,88 unequal: No Solution Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,88 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: 88:[22, 73, 7], Operations: ['70/10=7'] Exploring Operation: 22+73=95, Resulting Numbers: [7, 95] Generated Node #0,0,0: 88:[7, 95] Operation: 22+73=95 Exploring Operation: 73+7=80, Resulting Numbers: [22, 80] Generated Node #0,0,1: 88:[22, 80] Operation: 73+7=80 Exploring Operation: 73-22=51, Resulting Numbers: [7, 51] Generated Node #0,0,2: 88:[7, 51] Operation: 73-22=51 Exploring Operation: 22+7=29, Resulting Numbers: [73, 29] Generated Node #0,0,3: 88:[73, 29] Operation: 22+7=29 Exploring Operation: 22-7=15, Resulting Numbers: [73, 15] Generated Node #0,0,4: 88:[73, 15] Operation: 22-7=15 Moving to Node #0,1 Current State: 88:[10, 73, 92], Operations: ['70+22=92'] Exploring Operation: 73-10=63, Resulting Numbers: [92, 63] Generated Node #0,1,0: 88:[92, 63] Operation: 73-10=63 Exploring Operation: 10+73=83, Resulting Numbers: [92, 83] Generated Node #0,1,1: 88:[92, 83] Operation: 10+73=83 Exploring Operation: 92-73=19, Resulting Numbers: [10, 19] Generated Node #0,1,2: 88:[10, 19] Operation: 92-73=19 Exploring Operation: 10+92=102, Resulting Numbers: [73, 102] Generated Node #0,1,3: 88:[73, 102] Operation: 10+92=102 Exploring Operation: 92-10=82, Resulting Numbers: [73, 82] Generated Node #0,1,4: 88:[73, 82] Operation: 92-10=82 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[10, 19], Operations: ['70+22=92', '92-73=19'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,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,1,1 Current State: 88:[92, 83], Operations: ['70+22=92', '10+73=83'] Exploring Operation: 92-83=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 92+83=175, Resulting Numbers: [175] 175,88 unequal: No Solution Exploring Operation: 92*83=7636, Resulting Numbers: [7636] 7636,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,1,4 Current State: 88:[73, 82], Operations: ['70+22=92', '92-10=82'] Exploring Operation: 82-73=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 73*82=5986, Resulting Numbers: [5986] 5986,88 unequal: No Solution Exploring Operation: 73+82=155, Resulting Numbers: [155] 155,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,1,0 Current State: 88:[92, 63], Operations: ['70+22=92', '73-10=63'] Exploring Operation: 92-63=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 92+63=155, Resulting Numbers: [155] 155,88 unequal: No Solution Exploring Operation: 92*63=5796, Resulting Numbers: [5796] 5796,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,1,3 Current State: 88:[73, 102], Operations: ['70+22=92', '10+92=102'] Exploring Operation: 73+102=175, Resulting Numbers: [175] 175,88 unequal: No Solution Exploring Operation: 73*102=7446, Resulting Numbers: [7446] 7446,88 unequal: No Solution Exploring Operation: 102-73=29, Resulting Numbers: [29] 29,88 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: 88:[10, 73, 48], Operations: ['70-22=48'] Exploring Operation: 73-48=25, Resulting Numbers: [10, 25] Generated Node #0,4,0: 88:[10, 25] Operation: 73-48=25 Exploring Operation: 10+73=83, Resulting Numbers: [48, 83] Generated Node #0,4,1: 88:[48, 83] Operation: 10+73=83 Exploring Operation: 73-10=63, Resulting Numbers: [48, 63] Generated Node #0,4,2: 88:[48, 63] Operation: 73-10=63 Exploring Operation: 48-10=38, Resulting Numbers: [73, 38] Generated Node #0,4,3: 88:[73, 38] Operation: 48-10=38 Exploring Operation: 10+48=58, Resulting Numbers: [73, 58] Generated Node #0,4,4: 88:[73, 58] Operation: 10+48=58 Moving to Node #0,2 Current State: 88:[22, 73, 80], Operations: ['70+10=80'] Exploring Operation: 80-73=7, Resulting Numbers: [22, 7] Generated Node #0,2,0: 88:[22, 7] Operation: 80-73=7 Exploring Operation: 73-22=51, Resulting Numbers: [80, 51] Generated Node #0,2,1: 88:[80, 51] Operation: 73-22=51 Exploring Operation: 22+80=102, Resulting Numbers: [73, 102] Generated Node #0,2,2: 88:[73, 102] Operation: 22+80=102 Exploring Operation: 22+73=95, Resulting Numbers: [80, 95] Generated Node #0,2,3: 88:[80, 95] Operation: 22+73=95 Exploring Operation: 80-22=58, Resulting Numbers: [73, 58] Generated Node #0,2,4: 88:[73, 58] Operation: 80-22=58 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[22, 7], Operations: ['70+10=80', '80-73=7'] Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,88 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,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,1 Current State: 88:[80, 51], Operations: ['70+10=80', '73-22=51'] Exploring Operation: 80-51=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 80*51=4080, Resulting Numbers: [4080] 4080,88 unequal: No Solution Exploring Operation: 80+51=131, Resulting Numbers: [131] 131,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,3 Current State: 88:[80, 95], Operations: ['70+10=80', '22+73=95'] Exploring Operation: 95-80=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 80*95=7600, Resulting Numbers: [7600] 7600,88 unequal: No Solution Exploring Operation: 80+95=175, Resulting Numbers: [175] 175,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,2 Current State: 88:[73, 102], Operations: ['70+10=80', '22+80=102'] Exploring Operation: 102-73=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 73+102=175, Resulting Numbers: [175] 175,88 unequal: No Solution Exploring Operation: 73*102=7446, Resulting Numbers: [7446] 7446,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,4 Current State: 88:[73, 58], Operations: ['70+10=80', '80-22=58'] Exploring Operation: 73+58=131, Resulting Numbers: [131] 131,88 unequal: No Solution Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 73*58=4234, Resulting Numbers: [4234] 4234,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 88:[10, 25], Operations: ['70-22=48', '73-48=25'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,88 unequal: No Solution Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[7, 95], Operations: ['70/10=7', '22+73=95'] Exploring Operation: 7+95=102, Resulting Numbers: [102] 102,88 unequal: No Solution Exploring Operation: 95-7=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[70, 22, 10, 73], Operations: [] Exploring Operation: 70/10=7, Resulting Numbers: [22, 73, 7] Generated Node #0,0: 88:[22, 73, 7] Operation: 70/10=7 Moving to Node #0,0 Current State: 88:[22, 73, 7], Operations: ['70/10=7'] Exploring Operation: 22+73=95, Resulting Numbers: [7, 95] Generated Node #0,0,0: 88:[7, 95] Operation: 22+73=95 Moving to Node #0,0,0 Current State: 88:[7, 95], Operations: ['70/10=7', '22+73=95'] Exploring Operation: 95-7=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.926215
hs_5
mult_heuristic
[ 76, 6, 16, 19 ]
67
[ "76-6=70", "19-16=3", "70-3=67" ]
Current State: 67:[76, 6, 16, 19], Operations: [] Exploring Operation: 76-6=70, Resulting Numbers: [16, 19, 70] Generated Node #2: [16, 19, 70] from Operation: 76-6=70 Current State: 67:[16, 19, 70], Operations: ['76-6=70'] Exploring Operation: 19-16=3, Resulting Numbers: [70, 3] Generated Node #3: [70, 3] from Operation: 19-16=3 Current State: 67:[70, 3], Operations: ['76-6=70', '19-16=3'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[76, 6, 16, 19], Operations: [] Exploring Operation: 6*16=96, Resulting Numbers: [76, 19, 96] Generated Node #0,0: 67:[76, 19, 96] Operation: 6*16=96 Moving to Node #0,0 Current State: 67:[76, 19, 96], Operations: ['6*16=96'] Exploring Operation: 96-19=77, Resulting Numbers: [76, 77] Generated Node #0,0,0: 67:[76, 77] Operation: 96-19=77 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[76, 77], Operations: ['6*16=96', '96-19=77'] Exploring Operation: 77-76=1, Resulting Numbers: [1] 1,67 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
[ 74, 88, 69, 25 ]
37
[ "74-69=5", "25*5=125", "125-88=37" ]
Current State: 37:[74, 88, 69, 25], Operations: [] Exploring Operation: 74-69=5, Resulting Numbers: [88, 25, 5] Generated Node #2: [88, 25, 5] from Operation: 74-69=5 Current State: 37:[88, 25, 5], Operations: ['74-69=5'] Exploring Operation: 25*5=125, Resulting Numbers: [88, 125] Generated Node #3: [88, 125] from Operation: 25*5=125 Current State: 37:[88, 125], Operations: ['74-69=5', '25*5=125'] Exploring Operation: 125-88=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[74, 88, 69, 25], Operations: [] Exploring Operation: 74-69=5, Resulting Numbers: [88, 25, 5] Generated Node #0,0: 37:[88, 25, 5] Operation: 74-69=5 Exploring Operation: 88-74=14, Resulting Numbers: [69, 25, 14] Generated Node #0,1: 37:[69, 25, 14] Operation: 88-74=14 Exploring Operation: 88-69=19, Resulting Numbers: [74, 25, 19] Generated Node #0,2: 37:[74, 25, 19] Operation: 88-69=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[69, 25, 14], Operations: ['88-74=14'] Exploring Operation: 69-25=44, Resulting Numbers: [14, 44] Generated Node #0,1,0: 37:[14, 44] Operation: 69-25=44 Exploring Operation: 25+14=39, Resulting Numbers: [69, 39] Generated Node #0,1,1: 37:[69, 39] Operation: 25+14=39 Exploring Operation: 69-14=55, Resulting Numbers: [25, 55] Generated Node #0,1,2: 37:[25, 55] Operation: 69-14=55 Moving to Node #0,1,0 Current State: 37:[14, 44], Operations: ['88-74=14', '69-25=44'] Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,37 unequal: No Solution Exploring Operation: 14*44=616, Resulting Numbers: [616] 616,37 unequal: No Solution Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[25, 55], Operations: ['88-74=14', '69-14=55'] Exploring Operation: 25+55=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,37 unequal: No Solution Exploring Operation: 25*55=1375, Resulting Numbers: [1375] 1375,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[69, 39], Operations: ['88-74=14', '25+14=39'] Exploring Operation: 69*39=2691, Resulting Numbers: [2691] 2691,37 unequal: No Solution Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,37 unequal: No Solution Exploring Operation: 69+39=108, Resulting Numbers: [108] 108,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,2 Current State: 37:[74, 25, 19], Operations: ['88-69=19'] Exploring Operation: 25+19=44, Resulting Numbers: [74, 44] Generated Node #0,2,0: 37:[74, 44] Operation: 25+19=44 Exploring Operation: 74-25=49, Resulting Numbers: [19, 49] Generated Node #0,2,1: 37:[19, 49] Operation: 74-25=49 Exploring Operation: 74-19=55, Resulting Numbers: [25, 55] Generated Node #0,2,2: 37:[25, 55] Operation: 74-19=55 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[19, 49], Operations: ['88-69=19', '74-25=49'] Exploring Operation: 19+49=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 19*49=931, Resulting Numbers: [931] 931,37 unequal: No Solution Exploring Operation: 49-19=30, Resulting Numbers: [30] 30,37 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: 37:[25, 55], Operations: ['88-69=19', '74-19=55'] Exploring Operation: 25+55=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,37 unequal: No Solution Exploring Operation: 25*55=1375, Resulting Numbers: [1375] 1375,37 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: 37:[74, 44], Operations: ['88-69=19', '25+19=44'] Exploring Operation: 74*44=3256, Resulting Numbers: [3256] 3256,37 unequal: No Solution Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,37 unequal: No Solution Exploring Operation: 74+44=118, Resulting Numbers: [118] 118,37 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: 37:[88, 25, 5], Operations: ['74-69=5'] Exploring Operation: 88-25=63, Resulting Numbers: [5, 63] Generated Node #0,0,0: 37:[5, 63] Operation: 88-25=63 Exploring Operation: 88-5=83, Resulting Numbers: [25, 83] Generated Node #0,0,1: 37:[25, 83] Operation: 88-5=83 Exploring Operation: 25+5=30, Resulting Numbers: [88, 30] Generated Node #0,0,2: 37:[88, 30] Operation: 25+5=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[5, 63], Operations: ['74-69=5', '88-25=63'] Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,37 unequal: No Solution Exploring Operation: 5+63=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 5*63=315, Resulting Numbers: [315] 315,37 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: 37:[25, 83], Operations: ['74-69=5', '88-5=83'] Exploring Operation: 25*83=2075, Resulting Numbers: [2075] 2075,37 unequal: No Solution Exploring Operation: 25+83=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,37 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: 37:[88, 30], Operations: ['74-69=5', '25+5=30'] Exploring Operation: 88+30=118, Resulting Numbers: [118] 118,37 unequal: No Solution Exploring Operation: 88*30=2640, Resulting Numbers: [2640] 2640,37 unequal: No Solution Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,37 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
[ 4, 15, 49, 88 ]
96
[ "15+49=64", "88-64=24", "4*24=96" ]
Current State: 96:[4, 15, 49, 88], Operations: [] Exploring Operation: 15+49=64, Resulting Numbers: [4, 88, 64] Generated Node #2: [4, 88, 64] from Operation: 15+49=64 Current State: 96:[4, 88, 64], Operations: ['15+49=64'] Exploring Operation: 88-64=24, Resulting Numbers: [4, 24] Generated Node #3: [4, 24] from Operation: 88-64=24 Current State: 96:[4, 24], Operations: ['15+49=64', '88-64=24'] Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[4, 15, 49, 88], Operations: [] Exploring Operation: 4+88=92, Resulting Numbers: [15, 49, 92] Generated Node #0,0: 96:[15, 49, 92] Operation: 4+88=92 Exploring Operation: 88/4=22, Resulting Numbers: [15, 49, 22] Generated Node #0,1: 96:[15, 49, 22] Operation: 88/4=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[15, 49, 22], Operations: ['88/4=22'] Exploring Operation: 49-15=34, Resulting Numbers: [22, 34] Generated Node #0,1,0: 96:[22, 34] Operation: 49-15=34 Exploring Operation: 22-15=7, Resulting Numbers: [49, 7] Generated Node #0,1,1: 96:[49, 7] Operation: 22-15=7 Moving to Node #0,1,1 Current State: 96:[49, 7], Operations: ['88/4=22', '22-15=7'] Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,96 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[22, 34], Operations: ['88/4=22', '49-15=34'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 22+34=56, Resulting Numbers: [56] 56,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,0 Current State: 96:[15, 49, 92], Operations: ['4+88=92'] Exploring Operation: 92-49=43, Resulting Numbers: [15, 43] Generated Node #0,0,0: 96:[15, 43] Operation: 92-49=43 Exploring Operation: 49-15=34, Resulting Numbers: [92, 34] Generated Node #0,0,1: 96:[92, 34] Operation: 49-15=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[15, 43], Operations: ['4+88=92', '92-49=43'] Exploring Operation: 15+43=58, Resulting Numbers: [58] 58,96 unequal: No Solution Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,96 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: 96:[92, 34], Operations: ['4+88=92', '49-15=34'] Exploring Operation: 92-34=58, Resulting Numbers: [58] 58,96 unequal: No Solution Exploring Operation: 92+34=126, Resulting Numbers: [126] 126,96 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
[ 33, 72, 91, 37 ]
23
[ "33+72=105", "91+37=128", "128-105=23" ]
Current State: 23:[33, 72, 91, 37], Operations: [] Exploring Operation: 33+72=105, Resulting Numbers: [91, 37, 105] Generated Node #2: [91, 37, 105] from Operation: 33+72=105 Current State: 23:[91, 37, 105], Operations: ['33+72=105'] Exploring Operation: 91+37=128, Resulting Numbers: [105, 128] Generated Node #3: [105, 128] from Operation: 91+37=128 Current State: 23:[105, 128], Operations: ['33+72=105', '91+37=128'] Exploring Operation: 128-105=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[33, 72, 91, 37], Operations: [] Exploring Operation: 91-72=19, Resulting Numbers: [33, 37, 19] Generated Node #0,0: 23:[33, 37, 19] Operation: 91-72=19 Moving to Node #0,0 Current State: 23:[33, 37, 19], Operations: ['91-72=19'] Exploring Operation: 37-19=18, Resulting Numbers: [33, 18] Generated Node #0,0,0: 23:[33, 18] Operation: 37-19=18 Moving to Node #0,0,0 Current State: 23:[33, 18], Operations: ['91-72=19', '37-19=18'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,23 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 6, 55, 53, 99 ]
91
[ "6+55=61", "53+99=152", "152-61=91" ]
Current State: 91:[6, 55, 53, 99], Operations: [] Exploring Operation: 6+55=61, Resulting Numbers: [53, 99, 61] Generated Node #2: [53, 99, 61] from Operation: 6+55=61 Current State: 91:[53, 99, 61], Operations: ['6+55=61'] Exploring Operation: 53+99=152, Resulting Numbers: [61, 152] Generated Node #3: [61, 152] from Operation: 53+99=152 Current State: 91:[61, 152], Operations: ['6+55=61', '53+99=152'] Exploring Operation: 152-61=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[6, 55, 53, 99], Operations: [] Exploring Operation: 99-53=46, Resulting Numbers: [6, 55, 46] Generated Node #0,0: 91:[6, 55, 46] Operation: 99-53=46 Exploring Operation: 55+53=108, Resulting Numbers: [6, 99, 108] Generated Node #0,1: 91:[6, 99, 108] Operation: 55+53=108 Exploring Operation: 99-55=44, Resulting Numbers: [6, 53, 44] Generated Node #0,2: 91:[6, 53, 44] Operation: 99-55=44 Exploring Operation: 55-53=2, Resulting Numbers: [6, 99, 2] Generated Node #0,3: 91:[6, 99, 2] Operation: 55-53=2 Moving to Node #0,3 Current State: 91:[6, 99, 2], Operations: ['55-53=2'] Exploring Operation: 6+2=8, Resulting Numbers: [99, 8] Generated Node #0,3,0: 91:[99, 8] Operation: 6+2=8 Exploring Operation: 99-2=97, Resulting Numbers: [6, 97] Generated Node #0,3,1: 91:[6, 97] Operation: 99-2=97 Exploring Operation: 6*2=12, Resulting Numbers: [99, 12] Generated Node #0,3,2: 91:[99, 12] Operation: 6*2=12 Exploring Operation: 99-6=93, Resulting Numbers: [2, 93] Generated Node #0,3,3: 91:[2, 93] Operation: 99-6=93 Moving to Node #0,1 Current State: 91:[6, 99, 108], Operations: ['55+53=108'] Exploring Operation: 108-99=9, Resulting Numbers: [6, 9] Generated Node #0,1,0: 91:[6, 9] Operation: 108-99=9 Exploring Operation: 108/6=18, Resulting Numbers: [99, 18] Generated Node #0,1,1: 91:[99, 18] Operation: 108/6=18 Exploring Operation: 108-6=102, Resulting Numbers: [99, 102] Generated Node #0,1,2: 91:[99, 102] Operation: 108-6=102 Exploring Operation: 99-6=93, Resulting Numbers: [108, 93] Generated Node #0,1,3: 91:[108, 93] Operation: 99-6=93 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[6, 9], Operations: ['55+53=108', '108-99=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,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,1 Current State: 91:[99, 18], Operations: ['55+53=108', '108/6=18'] Exploring Operation: 99-18=81, Resulting Numbers: [81] 81,91 unequal: No Solution Exploring Operation: 99+18=117, Resulting Numbers: [117] 117,91 unequal: No Solution Exploring Operation: 99*18=1782, Resulting Numbers: [1782] 1782,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:[99, 102], Operations: ['55+53=108', '108-6=102'] Exploring Operation: 99+102=201, Resulting Numbers: [201] 201,91 unequal: No Solution Exploring Operation: 102-99=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 99*102=10098, Resulting Numbers: [10098] 10098,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:[108, 93], Operations: ['55+53=108', '99-6=93'] Exploring Operation: 108-93=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 108*93=10044, Resulting Numbers: [10044] 10044,91 unequal: No Solution Exploring Operation: 108+93=201, Resulting Numbers: [201] 201,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:[6, 53, 44], Operations: ['99-55=44'] Exploring Operation: 53+44=97, Resulting Numbers: [6, 97] Generated Node #0,2,0: 91:[6, 97] Operation: 53+44=97 Exploring Operation: 6+53=59, Resulting Numbers: [44, 59] Generated Node #0,2,1: 91:[44, 59] Operation: 6+53=59 Exploring Operation: 53-44=9, Resulting Numbers: [6, 9] Generated Node #0,2,2: 91:[6, 9] Operation: 53-44=9 Exploring Operation: 44-6=38, Resulting Numbers: [53, 38] Generated Node #0,2,3: 91:[53, 38] Operation: 44-6=38 Moving to Node #0,0 Current State: 91:[6, 55, 46], Operations: ['99-53=46'] Exploring Operation: 55-46=9, Resulting Numbers: [6, 9] Generated Node #0,0,0: 91:[6, 9] Operation: 55-46=9 Exploring Operation: 46-6=40, Resulting Numbers: [55, 40] Generated Node #0,0,1: 91:[55, 40] Operation: 46-6=40 Exploring Operation: 55+46=101, Resulting Numbers: [6, 101] Generated Node #0,0,2: 91:[6, 101] Operation: 55+46=101 Exploring Operation: 6+55=61, Resulting Numbers: [46, 61] Generated Node #0,0,3: 91:[46, 61] Operation: 6+55=61 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[6, 9], Operations: ['99-53=46', '55-46=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 6+9=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,2 Current State: 91:[6, 101], Operations: ['99-53=46', '55+46=101'] Exploring Operation: 6*101=606, Resulting Numbers: [606] 606,91 unequal: No Solution Exploring Operation: 101-6=95, Resulting Numbers: [95] 95,91 unequal: No Solution Exploring Operation: 6+101=107, Resulting Numbers: [107] 107,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:[55, 40], Operations: ['99-53=46', '46-6=40'] Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 55+40=95, Resulting Numbers: [95] 95,91 unequal: No Solution Exploring Operation: 55*40=2200, Resulting Numbers: [2200] 2200,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:[46, 61], Operations: ['99-53=46', '6+55=61'] Exploring Operation: 61-46=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 46+61=107, Resulting Numbers: [107] 107,91 unequal: No Solution Exploring Operation: 46*61=2806, Resulting Numbers: [2806] 2806,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 91:[6, 9], Operations: ['99-55=44', '53-44=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[6, 97], Operations: ['99-55=44', '53+44=97'] Exploring Operation: 6+97=103, Resulting Numbers: [103] 103,91 unequal: No Solution Exploring Operation: 6*97=582, Resulting Numbers: [582] 582,91 unequal: No Solution Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[6, 55, 53, 99], Operations: [] Exploring Operation: 99-55=44, Resulting Numbers: [6, 53, 44] Generated Node #0,2: 91:[6, 53, 44] Operation: 99-55=44 Moving to Node #0,2 Current State: 91:[6, 53, 44], Operations: ['99-55=44'] Exploring Operation: 53+44=97, Resulting Numbers: [6, 97] Generated Node #0,2,0: 91:[6, 97] Operation: 53+44=97 Moving to Node #0,2,0 Current State: 91:[6, 97], Operations: ['99-55=44', '53+44=97'] Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.953125
hs_4
sum_heuristic
[ 16, 28, 1, 47 ]
58
[ "28-16=12", "47-1=46", "12+46=58" ]
Current State: 58:[16, 28, 1, 47], Operations: [] Exploring Operation: 28-16=12, Resulting Numbers: [1, 47, 12] Generated Node #2: [1, 47, 12] from Operation: 28-16=12 Current State: 58:[1, 47, 12], Operations: ['28-16=12'] Exploring Operation: 47-1=46, Resulting Numbers: [12, 46] Generated Node #3: [12, 46] from Operation: 47-1=46 Current State: 58:[12, 46], Operations: ['28-16=12', '47-1=46'] Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[16, 28, 1, 47], Operations: [] Exploring Operation: 47-16=31, Resulting Numbers: [28, 1, 31] Generated Node #0,0: 58:[28, 1, 31] Operation: 47-16=31 Moving to Node #0,0 Current State: 58:[28, 1, 31], Operations: ['47-16=31'] Exploring Operation: 28+1=29, Resulting Numbers: [31, 29] Generated Node #0,0,0: 58:[31, 29] Operation: 28+1=29 Moving to Node #0,0,0 Current State: 58:[31, 29], Operations: ['47-16=31', '28+1=29'] Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,58 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 11, 37, 41, 40 ]
21
[ "41-37=4", "40/4=10", "11+10=21" ]
Current State: 21:[11, 37, 41, 40], Operations: [] Exploring Operation: 41-37=4, Resulting Numbers: [11, 40, 4] Generated Node #2: [11, 40, 4] from Operation: 41-37=4 Current State: 21:[11, 40, 4], Operations: ['41-37=4'] Exploring Operation: 40/4=10, Resulting Numbers: [11, 10] Generated Node #3: [11, 10] from Operation: 40/4=10 Current State: 21:[11, 10], Operations: ['41-37=4', '40/4=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[11, 37, 41, 40], Operations: [] Exploring Operation: 41-40=1, Resulting Numbers: [11, 37, 1] Generated Node #0,0: 21:[11, 37, 1] Operation: 41-40=1 Exploring Operation: 40-37=3, Resulting Numbers: [11, 41, 3] Generated Node #0,1: 21:[11, 41, 3] Operation: 40-37=3 Exploring Operation: 41-37=4, Resulting Numbers: [11, 40, 4] Generated Node #0,2: 21:[11, 40, 4] Operation: 41-37=4 Moving to Node #0,0 Current State: 21:[11, 37, 1], Operations: ['41-40=1'] Exploring Operation: 37-1=36, Resulting Numbers: [11, 36] Generated Node #0,0,0: 21:[11, 36] Operation: 37-1=36 Exploring Operation: 11-1=10, Resulting Numbers: [37, 10] Generated Node #0,0,1: 21:[37, 10] Operation: 11-1=10 Exploring Operation: 37-11=26, Resulting Numbers: [1, 26] Generated Node #0,0,2: 21:[1, 26] Operation: 37-11=26 Moving to Node #0,1 Current State: 21:[11, 41, 3], Operations: ['40-37=3'] Exploring Operation: 41-3=38, Resulting Numbers: [11, 38] Generated Node #0,1,0: 21:[11, 38] Operation: 41-3=38 Exploring Operation: 11-3=8, Resulting Numbers: [41, 8] Generated Node #0,1,1: 21:[41, 8] Operation: 11-3=8 Exploring Operation: 41-11=30, Resulting Numbers: [3, 30] Generated Node #0,1,2: 21:[3, 30] Operation: 41-11=30 Moving to Node #0,2 Current State: 21:[11, 40, 4], Operations: ['41-37=4'] Exploring Operation: 40-11=29, Resulting Numbers: [4, 29] Generated Node #0,2,0: 21:[4, 29] Operation: 40-11=29 Exploring Operation: 11-4=7, Resulting Numbers: [40, 7] Generated Node #0,2,1: 21:[40, 7] Operation: 11-4=7 Exploring Operation: 40/4=10, Resulting Numbers: [11, 10] Generated Node #0,2,2: 21:[11, 10] Operation: 40/4=10 Moving to Node #0,0,2 Current State: 21:[1, 26], Operations: ['41-40=1', '37-11=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,21 unequal: No Solution Moving to Node #0,2,2 Current State: 21:[11, 10], Operations: ['41-37=4', '40/4=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[11, 37, 41, 40], Operations: [] Exploring Operation: 41-37=4, Resulting Numbers: [11, 40, 4] Generated Node #0,2: 21:[11, 40, 4] Operation: 41-37=4 Moving to Node #0,2 Current State: 21:[11, 40, 4], Operations: ['41-37=4'] Exploring Operation: 40/4=10, Resulting Numbers: [11, 10] Generated Node #0,2,2: 21:[11, 10] Operation: 40/4=10 Moving to Node #0,2,2 Current State: 21:[11, 10], Operations: ['41-37=4', '40/4=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.982639
hs_3
mult_heuristic
[ 22, 55, 10, 43 ]
98
[ "55-43=12", "10*12=120", "120-22=98" ]
Current State: 98:[22, 55, 10, 43], Operations: [] Exploring Operation: 55-43=12, Resulting Numbers: [22, 10, 12] Generated Node #2: [22, 10, 12] from Operation: 55-43=12 Current State: 98:[22, 10, 12], Operations: ['55-43=12'] Exploring Operation: 10*12=120, Resulting Numbers: [22, 120] Generated Node #3: [22, 120] from Operation: 10*12=120 Current State: 98:[22, 120], Operations: ['55-43=12', '10*12=120'] Exploring Operation: 120-22=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[22, 55, 10, 43], Operations: [] Exploring Operation: 22-10=12, Resulting Numbers: [55, 43, 12] Generated Node #0,0: 98:[55, 43, 12] Operation: 22-10=12 Exploring Operation: 55-43=12, Resulting Numbers: [22, 10, 12] Generated Node #0,1: 98:[22, 10, 12] Operation: 55-43=12 Exploring Operation: 55+43=98, Resulting Numbers: [22, 10, 98] Generated Node #0,2: 98:[22, 10, 98] Operation: 55+43=98 Exploring Operation: 43-22=21, Resulting Numbers: [55, 10, 21] Generated Node #0,3: 98:[55, 10, 21] Operation: 43-22=21 Exploring Operation: 55-10=45, Resulting Numbers: [22, 43, 45] Generated Node #0,4: 98:[22, 43, 45] Operation: 55-10=45 Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[22, 10, 98], Operations: ['55+43=98'] Exploring Operation: 22-10=12, Resulting Numbers: [98, 12] Generated Node #0,2,0: 98:[98, 12] Operation: 22-10=12 Exploring Operation: 10+98=108, Resulting Numbers: [22, 108] Generated Node #0,2,1: 98:[22, 108] Operation: 10+98=108 Exploring Operation: 22+98=120, Resulting Numbers: [10, 120] Generated Node #0,2,2: 98:[10, 120] Operation: 22+98=120 Exploring Operation: 98-10=88, Resulting Numbers: [22, 88] Generated Node #0,2,3: 98:[22, 88] Operation: 98-10=88 Exploring Operation: 22+10=32, Resulting Numbers: [98, 32] Generated Node #0,2,4: 98:[98, 32] Operation: 22+10=32 Moving to Node #0,2,0 Current State: 98:[98, 12], Operations: ['55+43=98', '22-10=12'] Exploring Operation: 98*12=1176, Resulting Numbers: [1176] 1176,98 unequal: No Solution Exploring Operation: 98+12=110, Resulting Numbers: [110] 110,98 unequal: No Solution Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,98 unequal: No Solution Moving to Node #0,2,4 Current State: 98:[98, 32], Operations: ['55+43=98', '22+10=32'] Exploring Operation: 98*32=3136, Resulting Numbers: [3136] 3136,98 unequal: No Solution Exploring Operation: 98+32=130, Resulting Numbers: [130] 130,98 unequal: No Solution Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[22, 108], Operations: ['55+43=98', '10+98=108'] Exploring Operation: 108-22=86, Resulting Numbers: [86] 86,98 unequal: No Solution Exploring Operation: 22*108=2376, Resulting Numbers: [2376] 2376,98 unequal: No Solution Exploring Operation: 22+108=130, Resulting Numbers: [130] 130,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[22, 88], Operations: ['55+43=98', '98-10=88'] Exploring Operation: 22*88=1936, Resulting Numbers: [1936] 1936,98 unequal: No Solution Exploring Operation: 88/22=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 88-22=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 22+88=110, Resulting Numbers: [110] 110,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[10, 120], Operations: ['55+43=98', '22+98=120'] Exploring Operation: 10*120=1200, Resulting Numbers: [1200] 1200,98 unequal: No Solution Exploring Operation: 120/10=12, Resulting Numbers: [12] 12,98 unequal: No Solution Exploring Operation: 120-10=110, Resulting Numbers: [110] 110,98 unequal: No Solution Exploring Operation: 10+120=130, Resulting Numbers: [130] 130,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 Current State: 98:[22, 10, 12], Operations: ['55-43=12'] Exploring Operation: 22+12=34, Resulting Numbers: [10, 34] Generated Node #0,1,0: 98:[10, 34] Operation: 22+12=34 Exploring Operation: 10+12=22, Resulting Numbers: [22, 22] Generated Node #0,1,1: 98:[22, 22] Operation: 10+12=22 Exploring Operation: 22-12=10, Resulting Numbers: [10, 10] Generated Node #0,1,2: 98:[10, 10] Operation: 22-12=10 Exploring Operation: 22-10=12, Resulting Numbers: [12, 12] Generated Node #0,1,3: 98:[12, 12] Operation: 22-10=12 Exploring Operation: 12-10=2, Resulting Numbers: [22, 2] Generated Node #0,1,4: 98:[22, 2] Operation: 12-10=2 Moving to Node #0,1,3 Current State: 98:[12, 12], Operations: ['55-43=12', '22-10=12'] Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,98 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,98 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[10, 10], Operations: ['55-43=12', '22-12=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,98 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,98 unequal: No Solution Moving to Node #0,1,4 Current State: 98:[22, 2], Operations: ['55-43=12', '12-10=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,98 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,98 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[22, 22], Operations: ['55-43=12', '10+12=22'] Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,98 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,98 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[10, 34], Operations: ['55-43=12', '22+12=34'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,98 unequal: No Solution Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,98 unequal: No Solution Exploring Operation: 10*34=340, Resulting Numbers: [340] 340,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,0 Current State: 98:[55, 43, 12], Operations: ['22-10=12'] Exploring Operation: 43+12=55, Resulting Numbers: [55, 55] Generated Node #0,0,0: 98:[55, 55] Operation: 43+12=55 Exploring Operation: 55+43=98, Resulting Numbers: [12, 98] Generated Node #0,0,1: 98:[12, 98] Operation: 55+43=98 Exploring Operation: 43-12=31, Resulting Numbers: [55, 31] Generated Node #0,0,2: 98:[55, 31] Operation: 43-12=31 Exploring Operation: 55-12=43, Resulting Numbers: [43, 43] Generated Node #0,0,3: 98:[43, 43] Operation: 55-12=43 Exploring Operation: 55-43=12, Resulting Numbers: [12, 12] Generated Node #0,0,4: 98:[12, 12] Operation: 55-43=12 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[12, 98], Operations: ['22-10=12', '55+43=98'] Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,98 unequal: No Solution Exploring Operation: 12+98=110, Resulting Numbers: [110] 110,98 unequal: No Solution Exploring Operation: 12*98=1176, Resulting Numbers: [1176] 1176,98 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,4 Current State: 98:[12, 12], Operations: ['22-10=12', '55-43=12'] Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,98 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,98 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,98 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,98 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: 98:[55, 55], Operations: ['22-10=12', '43+12=55'] Exploring Operation: 55+55=110, Resulting Numbers: [110] 110,98 unequal: No Solution Exploring Operation: 55/55=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 55-55=0, Resulting Numbers: [0] 0,98 unequal: No Solution Exploring Operation: 55*55=3025, Resulting Numbers: [3025] 3025,98 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,3 Current State: 98:[43, 43], Operations: ['22-10=12', '55-12=43'] Exploring Operation: 43+43=86, Resulting Numbers: [86] 86,98 unequal: No Solution Exploring Operation: 43/43=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 43*43=1849, Resulting Numbers: [1849] 1849,98 unequal: No Solution Exploring Operation: 43-43=0, Resulting Numbers: [0] 0,98 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: 98:[55, 31], Operations: ['22-10=12', '43-12=31'] Exploring Operation: 55+31=86, Resulting Numbers: [86] 86,98 unequal: No Solution Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,98 unequal: No Solution Exploring Operation: 55*31=1705, Resulting Numbers: [1705] 1705,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 98:[55, 10, 21], Operations: ['43-22=21'] Exploring Operation: 55-10=45, Resulting Numbers: [21, 45] Generated Node #0,3,0: 98:[21, 45] Operation: 55-10=45 Exploring Operation: 55+10=65, Resulting Numbers: [21, 65] Generated Node #0,3,1: 98:[21, 65] Operation: 55+10=65 Exploring Operation: 21-10=11, Resulting Numbers: [55, 11] Generated Node #0,3,2: 98:[55, 11] Operation: 21-10=11 Exploring Operation: 55-21=34, Resulting Numbers: [10, 34] Generated Node #0,3,3: 98:[10, 34] Operation: 55-21=34 Exploring Operation: 10+21=31, Resulting Numbers: [55, 31] Generated Node #0,3,4: 98:[55, 31] Operation: 10+21=31 Moving to Node #0,3,2 Current State: 98:[55, 11], Operations: ['43-22=21', '21-10=11'] Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,98 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,98 unequal: No Solution Exploring Operation: 55*11=605, Resulting Numbers: [605] 605,98 unequal: No Solution Exploring Operation: 55+11=66, Resulting Numbers: [66] 66,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[21, 45], Operations: ['43-22=21', '55-10=45'] Exploring Operation: 21*45=945, Resulting Numbers: [945] 945,98 unequal: No Solution Exploring Operation: 21+45=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,98 unequal: No Solution Moving to Node #0,3,3 Current State: 98:[10, 34], Operations: ['43-22=21', '55-21=34'] Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,98 unequal: No Solution Exploring Operation: 10*34=340, Resulting Numbers: [340] 340,98 unequal: No Solution Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[21, 65], Operations: ['43-22=21', '55+10=65'] Exploring Operation: 21+65=86, Resulting Numbers: [86] 86,98 unequal: No Solution Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,98 unequal: No Solution Exploring Operation: 21*65=1365, Resulting Numbers: [1365] 1365,98 unequal: No Solution Moving to Node #0,3,4 Current State: 98:[55, 31], Operations: ['43-22=21', '10+21=31'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,98 unequal: No Solution Exploring Operation: 55*31=1705, Resulting Numbers: [1705] 1705,98 unequal: No Solution Exploring Operation: 55+31=86, Resulting Numbers: [86] 86,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,4 Current State: 98:[22, 43, 45], Operations: ['55-10=45'] Exploring Operation: 45-22=23, Resulting Numbers: [43, 23] Generated Node #0,4,0: 98:[43, 23] Operation: 45-22=23 Exploring Operation: 22+43=65, Resulting Numbers: [45, 65] Generated Node #0,4,1: 98:[45, 65] Operation: 22+43=65 Exploring Operation: 45-43=2, Resulting Numbers: [22, 2] Generated Node #0,4,2: 98:[22, 2] Operation: 45-43=2 Exploring Operation: 43-22=21, Resulting Numbers: [45, 21] Generated Node #0,4,3: 98:[45, 21] Operation: 43-22=21 Exploring Operation: 43+45=88, Resulting Numbers: [22, 88] Generated Node #0,4,4: 98:[22, 88] Operation: 43+45=88 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 98:[22, 2], Operations: ['55-10=45', '45-43=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,98 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,98 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,98 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,4,3 Current State: 98:[45, 21], Operations: ['55-10=45', '43-22=21'] Exploring Operation: 45+21=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 45*21=945, Resulting Numbers: [945] 945,98 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,98 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,4,0 Current State: 98:[43, 23], Operations: ['55-10=45', '45-22=23'] Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 43*23=989, Resulting Numbers: [989] 989,98 unequal: No Solution Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,98 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,4,4 Current State: 98:[22, 88], Operations: ['55-10=45', '43+45=88'] Exploring Operation: 88-22=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 88/22=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 22*88=1936, Resulting Numbers: [1936] 1936,98 unequal: No Solution Exploring Operation: 22+88=110, Resulting Numbers: [110] 110,98 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,4,1 Current State: 98:[45, 65], Operations: ['55-10=45', '22+43=65'] Exploring Operation: 65-45=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 45+65=110, Resulting Numbers: [110] 110,98 unequal: No Solution Exploring Operation: 45*65=2925, Resulting Numbers: [2925] 2925,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_5
mult_heuristic
[ 96, 71, 4, 66 ]
20
[ "96+4=100", "71-66=5", "100/5=20" ]
Current State: 20:[96, 71, 4, 66], Operations: [] Exploring Operation: 96+4=100, Resulting Numbers: [71, 66, 100] Generated Node #2: [71, 66, 100] from Operation: 96+4=100 Current State: 20:[71, 66, 100], Operations: ['96+4=100'] Exploring Operation: 71-66=5, Resulting Numbers: [100, 5] Generated Node #3: [100, 5] from Operation: 71-66=5 Current State: 20:[100, 5], Operations: ['96+4=100', '71-66=5'] Exploring Operation: 100/5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[96, 71, 4, 66], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [71, 66, 24] Generated Node #0,0: 20:[71, 66, 24] Operation: 96/4=24 Exploring Operation: 96-71=25, Resulting Numbers: [4, 66, 25] Generated Node #0,1: 20:[4, 66, 25] Operation: 96-71=25 Exploring Operation: 71-66=5, Resulting Numbers: [96, 4, 5] Generated Node #0,2: 20:[96, 4, 5] Operation: 71-66=5 Exploring Operation: 96-66=30, Resulting Numbers: [71, 4, 30] Generated Node #0,3: 20:[71, 4, 30] Operation: 96-66=30 Moving to Node #0,1 Current State: 20:[4, 66, 25], Operations: ['96-71=25'] Exploring Operation: 4+66=70, Resulting Numbers: [25, 70] Generated Node #0,1,0: 20:[25, 70] Operation: 4+66=70 Exploring Operation: 66-4=62, Resulting Numbers: [25, 62] Generated Node #0,1,1: 20:[25, 62] Operation: 66-4=62 Exploring Operation: 66-25=41, Resulting Numbers: [4, 41] Generated Node #0,1,2: 20:[4, 41] Operation: 66-25=41 Exploring Operation: 25-4=21, Resulting Numbers: [66, 21] Generated Node #0,1,3: 20:[66, 21] Operation: 25-4=21 Moving to Node #0,3 Current State: 20:[71, 4, 30], Operations: ['96-66=30'] Exploring Operation: 30-4=26, Resulting Numbers: [71, 26] Generated Node #0,3,0: 20:[71, 26] Operation: 30-4=26 Exploring Operation: 71-4=67, Resulting Numbers: [30, 67] Generated Node #0,3,1: 20:[30, 67] Operation: 71-4=67 Exploring Operation: 71-30=41, Resulting Numbers: [4, 41] Generated Node #0,3,2: 20:[4, 41] Operation: 71-30=41 Exploring Operation: 71+4=75, Resulting Numbers: [30, 75] Generated Node #0,3,3: 20:[30, 75] Operation: 71+4=75 Moving to Node #0,2 Current State: 20:[96, 4, 5], Operations: ['71-66=5'] Exploring Operation: 96/4=24, Resulting Numbers: [5, 24] Generated Node #0,2,0: 20:[5, 24] Operation: 96/4=24 Exploring Operation: 96-4=92, Resulting Numbers: [5, 92] Generated Node #0,2,1: 20:[5, 92] Operation: 96-4=92 Exploring Operation: 96-5=91, Resulting Numbers: [4, 91] Generated Node #0,2,2: 20:[4, 91] Operation: 96-5=91 Exploring Operation: 4*5=20, Resulting Numbers: [96, 20] Generated Node #0,2,3: 20:[96, 20] Operation: 4*5=20 Moving to Node #0,0 Current State: 20:[71, 66, 24], Operations: ['96/4=24'] Exploring Operation: 66-24=42, Resulting Numbers: [71, 42] Generated Node #0,0,0: 20:[71, 42] Operation: 66-24=42 Exploring Operation: 71+66=137, Resulting Numbers: [24, 137] Generated Node #0,0,1: 20:[24, 137] Operation: 71+66=137 Exploring Operation: 71-24=47, Resulting Numbers: [66, 47] Generated Node #0,0,2: 20:[66, 47] Operation: 71-24=47 Exploring Operation: 71-66=5, Resulting Numbers: [24, 5] Generated Node #0,0,3: 20:[24, 5] Operation: 71-66=5 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 20:[24, 5], Operations: ['96/4=24', '71-66=5'] Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,20 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,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,0,0 Current State: 20:[71, 42], Operations: ['96/4=24', '66-24=42'] Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,20 unequal: No Solution Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,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,0,2 Current State: 20:[66, 47], Operations: ['96/4=24', '71-24=47'] Exploring Operation: 66+47=113, Resulting Numbers: [113] 113,20 unequal: No Solution Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 66*47=3102, Resulting Numbers: [3102] 3102,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,0,1 Current State: 20:[24, 137], Operations: ['96/4=24', '71+66=137'] Exploring Operation: 24*137=3288, Resulting Numbers: [3288] 3288,20 unequal: No Solution Exploring Operation: 137-24=113, Resulting Numbers: [113] 113,20 unequal: No Solution Exploring Operation: 24+137=161, Resulting Numbers: [161] 161,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:[5, 24], Operations: ['71-66=5', '96/4=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,20 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[4, 41], Operations: ['96-71=25', '66-25=41'] Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,20 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,20 unequal: No Solution Moving to Node #0,3,2 Current State: 20:[4, 41], Operations: ['96-66=30', '71-30=41'] Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,20 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,20 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,20 unequal: No Solution Moving to Node #0,1,3 Current State: 20:[66, 21], Operations: ['96-71=25', '25-4=21'] Exploring Operation: 66+21=87, Resulting Numbers: [87] 87,20 unequal: No Solution Exploring Operation: 66-21=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 66*21=1386, Resulting Numbers: [1386] 1386,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[25, 62], Operations: ['96-71=25', '66-4=62'] Exploring Operation: 25*62=1550, Resulting Numbers: [1550] 1550,20 unequal: No Solution Exploring Operation: 25+62=87, Resulting Numbers: [87] 87,20 unequal: No Solution Exploring Operation: 62-25=37, Resulting Numbers: [37] 37,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[25, 70], Operations: ['96-71=25', '4+66=70'] Exploring Operation: 25+70=95, Resulting Numbers: [95] 95,20 unequal: No Solution Exploring Operation: 25*70=1750, Resulting Numbers: [1750] 1750,20 unequal: No Solution Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,20 unequal: No Solution Moving to Node #0,3,1 Current State: 20:[30, 67], Operations: ['96-66=30', '71-4=67'] Exploring Operation: 30+67=97, Resulting Numbers: [97] 97,20 unequal: No Solution Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,20 unequal: No Solution Exploring Operation: 30*67=2010, Resulting Numbers: [2010] 2010,20 unequal: No Solution Moving to Node #0,3,0 Current State: 20:[71, 26], Operations: ['96-66=30', '30-4=26'] Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,20 unequal: No Solution Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 71*26=1846, Resulting Numbers: [1846] 1846,20 unequal: No Solution Moving to Node #0,3,3 Current State: 20:[30, 75], Operations: ['96-66=30', '71+4=75'] Exploring Operation: 30*75=2250, Resulting Numbers: [2250] 2250,20 unequal: No Solution Exploring Operation: 30+75=105, Resulting Numbers: [105] 105,20 unequal: No Solution Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[4, 91], Operations: ['71-66=5', '96-5=91'] Exploring Operation: 4*91=364, Resulting Numbers: [364] 364,20 unequal: No Solution Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,20 unequal: No Solution Exploring Operation: 4+91=95, Resulting Numbers: [95] 95,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[5, 92], Operations: ['71-66=5', '96-4=92'] Exploring Operation: 5+92=97, Resulting Numbers: [97] 97,20 unequal: No Solution Exploring Operation: 5*92=460, Resulting Numbers: [460] 460,20 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[96, 20], Operations: ['71-66=5', '4*5=20'] Exploring Operation: 96*20=1920, Resulting Numbers: [1920] 1920,20 unequal: No Solution Exploring Operation: 96+20=116, Resulting Numbers: [116] 116,20 unequal: No Solution Exploring Operation: 96-20=76, Resulting Numbers: [76] 76,20 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 28, 3, 95, 29 ]
97
[ "28+3=31", "95-29=66", "31+66=97" ]
Current State: 97:[28, 3, 95, 29], Operations: [] Exploring Operation: 28+3=31, Resulting Numbers: [95, 29, 31] Generated Node #2: [95, 29, 31] from Operation: 28+3=31 Current State: 97:[95, 29, 31], Operations: ['28+3=31'] Exploring Operation: 95-29=66, Resulting Numbers: [31, 66] Generated Node #3: [31, 66] from Operation: 95-29=66 Current State: 97:[31, 66], Operations: ['28+3=31', '95-29=66'] Exploring Operation: 31+66=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[28, 3, 95, 29], Operations: [] Exploring Operation: 3*29=87, Resulting Numbers: [28, 95, 87] Generated Node #0,0: 97:[28, 95, 87] Operation: 3*29=87 Exploring Operation: 28*3=84, Resulting Numbers: [95, 29, 84] Generated Node #0,1: 97:[95, 29, 84] Operation: 28*3=84 Moving to Node #0,0 Current State: 97:[28, 95, 87], Operations: ['3*29=87'] Exploring Operation: 28+95=123, Resulting Numbers: [87, 123] Generated Node #0,0,0: 97:[87, 123] Operation: 28+95=123 Exploring Operation: 28+87=115, Resulting Numbers: [95, 115] Generated Node #0,0,1: 97:[95, 115] Operation: 28+87=115 Moving to Node #0,1 Current State: 97:[95, 29, 84], Operations: ['28*3=84'] Exploring Operation: 29+84=113, Resulting Numbers: [95, 113] Generated Node #0,1,0: 97:[95, 113] Operation: 29+84=113 Exploring Operation: 95+29=124, Resulting Numbers: [84, 124] Generated Node #0,1,1: 97:[84, 124] Operation: 95+29=124 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[95, 113], Operations: ['28*3=84', '29+84=113'] Exploring Operation: 95+113=208, Resulting Numbers: [208] 208,97 unequal: No Solution Exploring Operation: 113-95=18, Resulting Numbers: [18] 18,97 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: 97:[84, 124], Operations: ['28*3=84', '95+29=124'] Exploring Operation: 124-84=40, Resulting Numbers: [40] 40,97 unequal: No Solution Exploring Operation: 84+124=208, Resulting Numbers: [208] 208,97 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: 97:[95, 115], Operations: ['3*29=87', '28+87=115'] Exploring Operation: 95+115=210, Resulting Numbers: [210] 210,97 unequal: No Solution Exploring Operation: 115-95=20, Resulting Numbers: [20] 20,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[87, 123], Operations: ['3*29=87', '28+95=123'] Exploring Operation: 123-87=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 87+123=210, Resulting Numbers: [210] 210,97 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 68, 24, 78, 47 ]
26
[ "68-24=44", "47-44=3", "78/3=26" ]
Current State: 26:[68, 24, 78, 47], Operations: [] Exploring Operation: 68-24=44, Resulting Numbers: [78, 47, 44] Generated Node #2: [78, 47, 44] from Operation: 68-24=44 Current State: 26:[78, 47, 44], Operations: ['68-24=44'] Exploring Operation: 47-44=3, Resulting Numbers: [78, 3] Generated Node #3: [78, 3] from Operation: 47-44=3 Current State: 26:[78, 3], Operations: ['68-24=44', '47-44=3'] Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[68, 24, 78, 47], Operations: [] Exploring Operation: 78-68=10, Resulting Numbers: [24, 47, 10] Generated Node #0,0: 26:[24, 47, 10] Operation: 78-68=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[24, 47, 10], Operations: ['78-68=10'] Exploring Operation: 47-24=23, Resulting Numbers: [10, 23] Generated Node #0,0,0: 26:[10, 23] Operation: 47-24=23 Moving to Node #0,0,0 Current State: 26:[10, 23], Operations: ['78-68=10', '47-24=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,26 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
[ 79, 70, 24, 43 ]
28
[ "79-70=9", "43-24=19", "9+19=28" ]
Current State: 28:[79, 70, 24, 43], Operations: [] Exploring Operation: 79-70=9, Resulting Numbers: [24, 43, 9] Generated Node #2: [24, 43, 9] from Operation: 79-70=9 Current State: 28:[24, 43, 9], Operations: ['79-70=9'] Exploring Operation: 43-24=19, Resulting Numbers: [9, 19] Generated Node #3: [9, 19] from Operation: 43-24=19 Current State: 28:[9, 19], Operations: ['79-70=9', '43-24=19'] Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[79, 70, 24, 43], Operations: [] Exploring Operation: 79-24=55, Resulting Numbers: [70, 43, 55] Generated Node #0,0: 28:[70, 43, 55] Operation: 79-24=55 Exploring Operation: 79-43=36, Resulting Numbers: [70, 24, 36] Generated Node #0,1: 28:[70, 24, 36] Operation: 79-43=36 Exploring Operation: 70-24=46, Resulting Numbers: [79, 43, 46] Generated Node #0,2: 28:[79, 43, 46] Operation: 70-24=46 Exploring Operation: 70-43=27, Resulting Numbers: [79, 24, 27] Generated Node #0,3: 28:[79, 24, 27] Operation: 70-43=27 Exploring Operation: 79-70=9, Resulting Numbers: [24, 43, 9] Generated Node #0,4: 28:[24, 43, 9] Operation: 79-70=9 Start Sub Search at level 1: Moving to Node #0,4 Current State: 28:[24, 43, 9], Operations: ['79-70=9'] Exploring Operation: 43-9=34, Resulting Numbers: [24, 34] Generated Node #0,4,0: 28:[24, 34] Operation: 43-9=34 Exploring Operation: 43+9=52, Resulting Numbers: [24, 52] Generated Node #0,4,1: 28:[24, 52] Operation: 43+9=52 Exploring Operation: 24-9=15, Resulting Numbers: [43, 15] Generated Node #0,4,2: 28:[43, 15] Operation: 24-9=15 Exploring Operation: 43-24=19, Resulting Numbers: [9, 19] Generated Node #0,4,3: 28:[9, 19] Operation: 43-24=19 Exploring Operation: 24+9=33, Resulting Numbers: [43, 33] Generated Node #0,4,4: 28:[43, 33] Operation: 24+9=33 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 28:[9, 19], Operations: ['79-70=9', '43-24=19'] Exploring Operation: 9*19=171, Resulting Numbers: [171] 171,28 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[79, 70, 24, 43], Operations: [] Exploring Operation: 79-70=9, Resulting Numbers: [24, 43, 9] Generated Node #0,4: 28:[24, 43, 9] Operation: 79-70=9 Moving to Node #0,4 Current State: 28:[24, 43, 9], Operations: ['79-70=9'] Exploring Operation: 43-24=19, Resulting Numbers: [9, 19] Generated Node #0,4,3: 28:[9, 19] Operation: 43-24=19 Moving to Node #0,4,3 Current State: 28:[9, 19], Operations: ['79-70=9', '43-24=19'] Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 1, 47, 37, 3 ]
81
[ "1*47=47", "37-3=34", "47+34=81" ]
Current State: 81:[1, 47, 37, 3], Operations: [] Exploring Operation: 1*47=47, Resulting Numbers: [37, 3, 47] Generated Node #2: [37, 3, 47] from Operation: 1*47=47 Current State: 81:[37, 3, 47], Operations: ['1*47=47'] Exploring Operation: 37-3=34, Resulting Numbers: [47, 34] Generated Node #3: [47, 34] from Operation: 37-3=34 Current State: 81:[47, 34], Operations: ['1*47=47', '37-3=34'] Exploring Operation: 47+34=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[1, 47, 37, 3], Operations: [] Exploring Operation: 47-37=10, Resulting Numbers: [1, 3, 10] Generated Node #0,0: 81:[1, 3, 10] Operation: 47-37=10 Exploring Operation: 47+37=84, Resulting Numbers: [1, 3, 84] Generated Node #0,1: 81:[1, 3, 84] Operation: 47+37=84 Moving to Node #0,0 Current State: 81:[1, 3, 10], Operations: ['47-37=10'] Exploring Operation: 10-1=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 81:[3, 9] Operation: 10-1=9 Exploring Operation: 1*3=3, Resulting Numbers: [10, 3] Generated Node #0,0,1: 81:[10, 3] Operation: 1*3=3 Moving to Node #0,1 Current State: 81:[1, 3, 84], Operations: ['47+37=84'] Exploring Operation: 84-3=81, Resulting Numbers: [1, 81] Generated Node #0,1,0: 81:[1, 81] Operation: 84-3=81 Exploring Operation: 84-1=83, Resulting Numbers: [3, 83] Generated Node #0,1,1: 81:[3, 83] Operation: 84-1=83 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[1, 81], Operations: ['47+37=84', '84-3=81'] Exploring Operation: 1*81=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[1, 47, 37, 3], Operations: [] Exploring Operation: 47+37=84, Resulting Numbers: [1, 3, 84] Generated Node #0,1: 81:[1, 3, 84] Operation: 47+37=84 Moving to Node #0,1 Current State: 81:[1, 3, 84], Operations: ['47+37=84'] Exploring Operation: 84-3=81, Resulting Numbers: [1, 81] Generated Node #0,1,0: 81:[1, 81] Operation: 84-3=81 Moving to Node #0,1,0 Current State: 81:[1, 81], Operations: ['47+37=84', '84-3=81'] Exploring Operation: 1*81=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 70, 29, 74, 85 ]
14
[ "74-70=4", "85-29=56", "56/4=14" ]
Current State: 14:[70, 29, 74, 85], Operations: [] Exploring Operation: 74-70=4, Resulting Numbers: [29, 85, 4] Generated Node #2: [29, 85, 4] from Operation: 74-70=4 Current State: 14:[29, 85, 4], Operations: ['74-70=4'] Exploring Operation: 85-29=56, Resulting Numbers: [4, 56] Generated Node #3: [4, 56] from Operation: 85-29=56 Current State: 14:[4, 56], Operations: ['74-70=4', '85-29=56'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[70, 29, 74, 85], Operations: [] Exploring Operation: 85-70=15, Resulting Numbers: [29, 74, 15] Generated Node #0,0: 14:[29, 74, 15] Operation: 85-70=15 Exploring Operation: 85-74=11, Resulting Numbers: [70, 29, 11] Generated Node #0,1: 14:[70, 29, 11] Operation: 85-74=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[70, 29, 11], Operations: ['85-74=11'] Exploring Operation: 70-11=59, Resulting Numbers: [29, 59] Generated Node #0,1,0: 14:[29, 59] Operation: 70-11=59 Exploring Operation: 70-29=41, Resulting Numbers: [11, 41] Generated Node #0,1,1: 14:[11, 41] Operation: 70-29=41 Moving to Node #0,1,1 Current State: 14:[11, 41], Operations: ['85-74=11', '70-29=41'] Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,14 unequal: No Solution Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[29, 59], Operations: ['85-74=11', '70-11=59'] Exploring Operation: 59-29=30, Resulting Numbers: [30] 30,14 unequal: No Solution Exploring Operation: 29+59=88, Resulting Numbers: [88] 88,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:[29, 74, 15], Operations: ['85-70=15'] Exploring Operation: 74-29=45, Resulting Numbers: [15, 45] Generated Node #0,0,0: 14:[15, 45] Operation: 74-29=45 Exploring Operation: 29-15=14, Resulting Numbers: [74, 14] Generated Node #0,0,1: 14:[74, 14] Operation: 29-15=14 Moving to Node #0,0,0 Current State: 14:[15, 45], Operations: ['85-70=15', '74-29=45'] Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[74, 14], Operations: ['85-70=15', '29-15=14'] Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,14 unequal: No Solution Exploring Operation: 74+14=88, Resulting Numbers: [88] 88,14 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
[ 97, 13, 81, 2 ]
45
[ "97-81=16", "2*16=32", "13+32=45" ]
Current State: 45:[97, 13, 81, 2], Operations: [] Exploring Operation: 97-81=16, Resulting Numbers: [13, 2, 16] Generated Node #2: [13, 2, 16] from Operation: 97-81=16 Current State: 45:[13, 2, 16], Operations: ['97-81=16'] Exploring Operation: 2*16=32, Resulting Numbers: [13, 32] Generated Node #3: [13, 32] from Operation: 2*16=32 Current State: 45:[13, 32], Operations: ['97-81=16', '2*16=32'] Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[97, 13, 81, 2], Operations: [] Exploring Operation: 97-2=95, Resulting Numbers: [13, 81, 95] Generated Node #0,0: 45:[13, 81, 95] Operation: 97-2=95 Exploring Operation: 97-81=16, Resulting Numbers: [13, 2, 16] Generated Node #0,1: 45:[13, 2, 16] Operation: 97-81=16 Exploring Operation: 97-13=84, Resulting Numbers: [81, 2, 84] Generated Node #0,2: 45:[81, 2, 84] Operation: 97-13=84 Exploring Operation: 81-13=68, Resulting Numbers: [97, 2, 68] Generated Node #0,3: 45:[97, 2, 68] Operation: 81-13=68 Moving to Node #0,1 Current State: 45:[13, 2, 16], Operations: ['97-81=16'] Exploring Operation: 13+2=15, Resulting Numbers: [16, 15] Generated Node #0,1,0: 45:[16, 15] Operation: 13+2=15 Exploring Operation: 16-13=3, Resulting Numbers: [2, 3] Generated Node #0,1,1: 45:[2, 3] Operation: 16-13=3 Exploring Operation: 16-2=14, Resulting Numbers: [13, 14] Generated Node #0,1,2: 45:[13, 14] Operation: 16-2=14 Exploring Operation: 13-2=11, Resulting Numbers: [16, 11] Generated Node #0,1,3: 45:[16, 11] Operation: 13-2=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[16, 15], Operations: ['97-81=16', '13+2=15'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,45 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,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:[2, 3], Operations: ['97-81=16', '16-13=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 2*3=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,1,2 Current State: 45:[13, 14], Operations: ['97-81=16', '16-2=14'] Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,45 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,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:[16, 11], Operations: ['97-81=16', '13-2=11'] Exploring Operation: 16+11=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 16*11=176, Resulting Numbers: [176] 176,45 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,45 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: 45:[97, 2, 68], Operations: ['81-13=68'] Exploring Operation: 97-68=29, Resulting Numbers: [2, 29] Generated Node #0,3,0: 45:[2, 29] Operation: 97-68=29 Exploring Operation: 68/2=34, Resulting Numbers: [97, 34] Generated Node #0,3,1: 45:[97, 34] Operation: 68/2=34 Exploring Operation: 97-2=95, Resulting Numbers: [68, 95] Generated Node #0,3,2: 45:[68, 95] Operation: 97-2=95 Exploring Operation: 68-2=66, Resulting Numbers: [97, 66] Generated Node #0,3,3: 45:[97, 66] Operation: 68-2=66 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 45:[2, 29], Operations: ['81-13=68', '97-68=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,45 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,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,3,1 Current State: 45:[97, 34], Operations: ['81-13=68', '68/2=34'] Exploring Operation: 97+34=131, Resulting Numbers: [131] 131,45 unequal: No Solution Exploring Operation: 97*34=3298, Resulting Numbers: [3298] 3298,45 unequal: No Solution Exploring Operation: 97-34=63, Resulting Numbers: [63] 63,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,3,2 Current State: 45:[68, 95], Operations: ['81-13=68', '97-2=95'] Exploring Operation: 68+95=163, Resulting Numbers: [163] 163,45 unequal: No Solution Exploring Operation: 95-68=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 68*95=6460, Resulting Numbers: [6460] 6460,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,3,3 Current State: 45:[97, 66], Operations: ['81-13=68', '68-2=66'] Exploring Operation: 97*66=6402, Resulting Numbers: [6402] 6402,45 unequal: No Solution Exploring Operation: 97-66=31, Resulting Numbers: [31] 31,45 unequal: No Solution Exploring Operation: 97+66=163, Resulting Numbers: [163] 163,45 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: 45:[81, 2, 84], Operations: ['97-13=84'] Exploring Operation: 84-81=3, Resulting Numbers: [2, 3] Generated Node #0,2,0: 45:[2, 3] Operation: 84-81=3 Exploring Operation: 84/2=42, Resulting Numbers: [81, 42] Generated Node #0,2,1: 45:[81, 42] Operation: 84/2=42 Exploring Operation: 81-2=79, Resulting Numbers: [84, 79] Generated Node #0,2,2: 45:[84, 79] Operation: 81-2=79 Exploring Operation: 84-2=82, Resulting Numbers: [81, 82] Generated Node #0,2,3: 45:[81, 82] Operation: 84-2=82 Moving to Node #0,0 Current State: 45:[13, 81, 95], Operations: ['97-2=95'] Exploring Operation: 13+81=94, Resulting Numbers: [95, 94] Generated Node #0,0,0: 45:[95, 94] Operation: 13+81=94 Exploring Operation: 81-13=68, Resulting Numbers: [95, 68] Generated Node #0,0,1: 45:[95, 68] Operation: 81-13=68 Exploring Operation: 95-13=82, Resulting Numbers: [81, 82] Generated Node #0,0,2: 45:[81, 82] Operation: 95-13=82 Exploring Operation: 95-81=14, Resulting Numbers: [13, 14] Generated Node #0,0,3: 45:[13, 14] Operation: 95-81=14 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 45:[13, 14], Operations: ['97-2=95', '95-81=14'] Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,45 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,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,0,1 Current State: 45:[95, 68], Operations: ['97-2=95', '81-13=68'] Exploring Operation: 95*68=6460, Resulting Numbers: [6460] 6460,45 unequal: No Solution Exploring Operation: 95-68=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 95+68=163, Resulting Numbers: [163] 163,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,0,2 Current State: 45:[81, 82], Operations: ['97-2=95', '95-13=82'] Exploring Operation: 81*82=6642, Resulting Numbers: [6642] 6642,45 unequal: No Solution Exploring Operation: 81+82=163, Resulting Numbers: [163] 163,45 unequal: No Solution Exploring Operation: 82-81=1, Resulting Numbers: [1] 1,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,0,0 Current State: 45:[95, 94], Operations: ['97-2=95', '13+81=94'] Exploring Operation: 95*94=8930, Resulting Numbers: [8930] 8930,45 unequal: No Solution Exploring Operation: 95-94=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 95+94=189, Resulting Numbers: [189] 189,45 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: 45:[2, 3], Operations: ['97-13=84', '84-81=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[81, 42], Operations: ['97-13=84', '84/2=42'] Exploring Operation: 81-42=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 81+42=123, Resulting Numbers: [123] 123,45 unequal: No Solution Exploring Operation: 81*42=3402, Resulting Numbers: [3402] 3402,45 unequal: No Solution Moving to Node #0,2,3 Current State: 45:[81, 82], Operations: ['97-13=84', '84-2=82'] Exploring Operation: 81+82=163, Resulting Numbers: [163] 163,45 unequal: No Solution Exploring Operation: 82-81=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 81*82=6642, Resulting Numbers: [6642] 6642,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[84, 79], Operations: ['97-13=84', '81-2=79'] Exploring Operation: 84-79=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 84*79=6636, Resulting Numbers: [6636] 6636,45 unequal: No Solution Exploring Operation: 84+79=163, Resulting Numbers: [163] 163,45 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 68, 62, 20, 50 ]
15
[ "68-62=6", "50*6=300", "300/20=15" ]
Current State: 15:[68, 62, 20, 50], Operations: [] Exploring Operation: 68-62=6, Resulting Numbers: [20, 50, 6] Generated Node #2: [20, 50, 6] from Operation: 68-62=6 Current State: 15:[20, 50, 6], Operations: ['68-62=6'] Exploring Operation: 50*6=300, Resulting Numbers: [20, 300] Generated Node #3: [20, 300] from Operation: 50*6=300 Current State: 15:[20, 300], Operations: ['68-62=6', '50*6=300'] Exploring Operation: 300/20=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[68, 62, 20, 50], Operations: [] Exploring Operation: 68-62=6, Resulting Numbers: [20, 50, 6] Generated Node #0,0: 15:[20, 50, 6] Operation: 68-62=6 Exploring Operation: 68-50=18, Resulting Numbers: [62, 20, 18] Generated Node #0,1: 15:[62, 20, 18] Operation: 68-50=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[20, 50, 6], Operations: ['68-62=6'] Exploring Operation: 50-20=30, Resulting Numbers: [6, 30] Generated Node #0,0,0: 15:[6, 30] Operation: 50-20=30 Exploring Operation: 50-6=44, Resulting Numbers: [20, 44] Generated Node #0,0,1: 15:[20, 44] Operation: 50-6=44 Moving to Node #0,0,0 Current State: 15:[6, 30], Operations: ['68-62=6', '50-20=30'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[20, 44], Operations: ['68-62=6', '50-6=44'] Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,15 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: 15:[62, 20, 18], Operations: ['68-50=18'] Exploring Operation: 62-18=44, Resulting Numbers: [20, 44] Generated Node #0,1,0: 15:[20, 44] Operation: 62-18=44 Exploring Operation: 62-20=42, Resulting Numbers: [18, 42] Generated Node #0,1,1: 15:[18, 42] Operation: 62-20=42 Moving to Node #0,1,1 Current State: 15:[18, 42], Operations: ['68-50=18', '62-20=42'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[20, 44], Operations: ['68-50=18', '62-18=44'] Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,15 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, 51, 63, 8 ]
48
[ "51-44=7", "63-8=55", "55-7=48" ]
Current State: 48:[44, 51, 63, 8], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [63, 8, 7] Generated Node #2: [63, 8, 7] from Operation: 51-44=7 Current State: 48:[63, 8, 7], Operations: ['51-44=7'] Exploring Operation: 63-8=55, Resulting Numbers: [7, 55] Generated Node #3: [7, 55] from Operation: 63-8=55 Current State: 48:[7, 55], Operations: ['51-44=7', '63-8=55'] Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[44, 51, 63, 8], Operations: [] Exploring Operation: 63-51=12, Resulting Numbers: [44, 8, 12] Generated Node #0,0: 48:[44, 8, 12] Operation: 63-51=12 Exploring Operation: 63-8=55, Resulting Numbers: [44, 51, 55] Generated Node #0,1: 48:[44, 51, 55] Operation: 63-8=55 Exploring Operation: 63-44=19, Resulting Numbers: [51, 8, 19] Generated Node #0,2: 48:[51, 8, 19] Operation: 63-44=19 Moving to Node #0,0 Current State: 48:[44, 8, 12], Operations: ['63-51=12'] Exploring Operation: 44+8=52, Resulting Numbers: [12, 52] Generated Node #0,0,0: 48:[12, 52] Operation: 44+8=52 Exploring Operation: 12-8=4, Resulting Numbers: [44, 4] Generated Node #0,0,1: 48:[44, 4] Operation: 12-8=4 Exploring Operation: 44+12=56, Resulting Numbers: [8, 56] Generated Node #0,0,2: 48:[8, 56] Operation: 44+12=56 Moving to Node #0,2 Current State: 48:[51, 8, 19], Operations: ['63-44=19'] Exploring Operation: 19-8=11, Resulting Numbers: [51, 11] Generated Node #0,2,0: 48:[51, 11] Operation: 19-8=11 Exploring Operation: 51-8=43, Resulting Numbers: [19, 43] Generated Node #0,2,1: 48:[19, 43] Operation: 51-8=43 Exploring Operation: 8+19=27, Resulting Numbers: [51, 27] Generated Node #0,2,2: 48:[51, 27] Operation: 8+19=27 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[51, 11], Operations: ['63-44=19', '19-8=11'] Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 51*11=561, Resulting Numbers: [561] 561,48 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: 48:[51, 27], Operations: ['63-44=19', '8+19=27'] Exploring Operation: 51*27=1377, Resulting Numbers: [1377] 1377,48 unequal: No Solution Exploring Operation: 51+27=78, Resulting Numbers: [78] 78,48 unequal: No Solution Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,48 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: 48:[19, 43], Operations: ['63-44=19', '51-8=43'] Exploring Operation: 19+43=62, Resulting Numbers: [62] 62,48 unequal: No Solution Exploring Operation: 19*43=817, Resulting Numbers: [817] 817,48 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,48 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: 48:[44, 51, 55], Operations: ['63-8=55'] Exploring Operation: 55-44=11, Resulting Numbers: [51, 11] Generated Node #0,1,0: 48:[51, 11] Operation: 55-44=11 Exploring Operation: 55-51=4, Resulting Numbers: [44, 4] Generated Node #0,1,1: 48:[44, 4] Operation: 55-51=4 Exploring Operation: 51-44=7, Resulting Numbers: [55, 7] Generated Node #0,1,2: 48:[55, 7] Operation: 51-44=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[51, 11], Operations: ['63-8=55', '55-44=11'] Exploring Operation: 51*11=561, Resulting Numbers: [561] 561,48 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,48 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: 48:[44, 4], Operations: ['63-8=55', '55-51=4'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[44, 51, 63, 8], Operations: [] Exploring Operation: 63-8=55, Resulting Numbers: [44, 51, 55] Generated Node #0,1: 48:[44, 51, 55] Operation: 63-8=55 Moving to Node #0,1 Current State: 48:[44, 51, 55], Operations: ['63-8=55'] Exploring Operation: 55-51=4, Resulting Numbers: [44, 4] Generated Node #0,1,1: 48:[44, 4] Operation: 55-51=4 Moving to Node #0,1,1 Current State: 48:[44, 4], Operations: ['63-8=55', '55-51=4'] Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
sum_heuristic
[ 64, 81, 67, 56 ]
28
[ "81-64=17", "67-56=11", "17+11=28" ]
Current State: 28:[64, 81, 67, 56], Operations: [] Exploring Operation: 81-64=17, Resulting Numbers: [67, 56, 17] Generated Node #2: [67, 56, 17] from Operation: 81-64=17 Current State: 28:[67, 56, 17], Operations: ['81-64=17'] Exploring Operation: 67-56=11, Resulting Numbers: [17, 11] Generated Node #3: [17, 11] from Operation: 67-56=11 Current State: 28:[17, 11], Operations: ['81-64=17', '67-56=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[64, 81, 67, 56], Operations: [] Exploring Operation: 81-64=17, Resulting Numbers: [67, 56, 17] Generated Node #0,0: 28:[67, 56, 17] Operation: 81-64=17 Exploring Operation: 81-56=25, Resulting Numbers: [64, 67, 25] Generated Node #0,1: 28:[64, 67, 25] Operation: 81-56=25 Exploring Operation: 67-64=3, Resulting Numbers: [81, 56, 3] Generated Node #0,2: 28:[81, 56, 3] Operation: 67-64=3 Exploring Operation: 81-67=14, Resulting Numbers: [64, 56, 14] Generated Node #0,3: 28:[64, 56, 14] Operation: 81-67=14 Moving to Node #0,3 Current State: 28:[64, 56, 14], Operations: ['81-67=14'] Exploring Operation: 56-14=42, Resulting Numbers: [64, 42] Generated Node #0,3,0: 28:[64, 42] Operation: 56-14=42 Exploring Operation: 56/14=4, Resulting Numbers: [64, 4] Generated Node #0,3,1: 28:[64, 4] Operation: 56/14=4 Exploring Operation: 64-14=50, Resulting Numbers: [56, 50] Generated Node #0,3,2: 28:[56, 50] Operation: 64-14=50 Exploring Operation: 64-56=8, Resulting Numbers: [14, 8] Generated Node #0,3,3: 28:[14, 8] Operation: 64-56=8 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 28:[14, 8], Operations: ['81-67=14', '64-56=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 14*8=112, Resulting Numbers: [112] 112,28 unequal: No Solution Exploring Operation: 14-8=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,3,1 Current State: 28:[64, 4], Operations: ['81-67=14', '56/14=4'] Exploring Operation: 64*4=256, Resulting Numbers: [256] 256,28 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,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,3,0 Current State: 28:[64, 42], Operations: ['81-67=14', '56-14=42'] Exploring Operation: 64+42=106, Resulting Numbers: [106] 106,28 unequal: No Solution Exploring Operation: 64-42=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 64*42=2688, Resulting Numbers: [2688] 2688,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,3,2 Current State: 28:[56, 50], Operations: ['81-67=14', '64-14=50'] Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 56*50=2800, Resulting Numbers: [2800] 2800,28 unequal: No Solution Exploring Operation: 56+50=106, Resulting Numbers: [106] 106,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:[67, 56, 17], Operations: ['81-64=17'] Exploring Operation: 67+17=84, Resulting Numbers: [56, 84] Generated Node #0,0,0: 28:[56, 84] Operation: 67+17=84 Exploring Operation: 67-56=11, Resulting Numbers: [17, 11] Generated Node #0,0,1: 28:[17, 11] Operation: 67-56=11 Exploring Operation: 67-17=50, Resulting Numbers: [56, 50] Generated Node #0,0,2: 28:[56, 50] Operation: 67-17=50 Exploring Operation: 56-17=39, Resulting Numbers: [67, 39] Generated Node #0,0,3: 28:[67, 39] Operation: 56-17=39 Moving to Node #0,1 Current State: 28:[64, 67, 25], Operations: ['81-56=25'] Exploring Operation: 67-64=3, Resulting Numbers: [25, 3] Generated Node #0,1,0: 28:[25, 3] Operation: 67-64=3 Exploring Operation: 64+25=89, Resulting Numbers: [67, 89] Generated Node #0,1,1: 28:[67, 89] Operation: 64+25=89 Exploring Operation: 64-25=39, Resulting Numbers: [67, 39] Generated Node #0,1,2: 28:[67, 39] Operation: 64-25=39 Exploring Operation: 67-25=42, Resulting Numbers: [64, 42] Generated Node #0,1,3: 28:[64, 42] Operation: 67-25=42 Moving to Node #0,2 Current State: 28:[81, 56, 3], Operations: ['67-64=3'] Exploring Operation: 81-3=78, Resulting Numbers: [56, 78] Generated Node #0,2,0: 28:[56, 78] Operation: 81-3=78 Exploring Operation: 81/3=27, Resulting Numbers: [56, 27] Generated Node #0,2,1: 28:[56, 27] Operation: 81/3=27 Exploring Operation: 56-3=53, Resulting Numbers: [81, 53] Generated Node #0,2,2: 28:[81, 53] Operation: 56-3=53 Exploring Operation: 81-56=25, Resulting Numbers: [3, 25] Generated Node #0,2,3: 28:[3, 25] Operation: 81-56=25 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 28:[3, 25], Operations: ['67-64=3', '81-56=25'] Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,28 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[64, 81, 67, 56], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [81, 56, 3] Generated Node #0,2: 28:[81, 56, 3] Operation: 67-64=3 Moving to Node #0,2 Current State: 28:[81, 56, 3], Operations: ['67-64=3'] Exploring Operation: 81-56=25, Resulting Numbers: [3, 25] Generated Node #0,2,3: 28:[3, 25] Operation: 81-56=25 Moving to Node #0,2,3 Current State: 28:[3, 25], Operations: ['67-64=3', '81-56=25'] Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_4
mult_heuristic
[ 43, 95, 27, 50 ]
94
[ "50-43=7", "27*7=189", "189-95=94" ]
Current State: 94:[43, 95, 27, 50], Operations: [] Exploring Operation: 50-43=7, Resulting Numbers: [95, 27, 7] Generated Node #2: [95, 27, 7] from Operation: 50-43=7 Current State: 94:[95, 27, 7], Operations: ['50-43=7'] Exploring Operation: 27*7=189, Resulting Numbers: [95, 189] Generated Node #3: [95, 189] from Operation: 27*7=189 Current State: 94:[95, 189], Operations: ['50-43=7', '27*7=189'] Exploring Operation: 189-95=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[43, 95, 27, 50], Operations: [] Exploring Operation: 43-27=16, Resulting Numbers: [95, 50, 16] Generated Node #0,0: 94:[95, 50, 16] Operation: 43-27=16 Exploring Operation: 43+50=93, Resulting Numbers: [95, 27, 93] Generated Node #0,1: 94:[95, 27, 93] Operation: 43+50=93 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[95, 50, 16], Operations: ['43-27=16'] Exploring Operation: 50-16=34, Resulting Numbers: [95, 34] Generated Node #0,0,0: 94:[95, 34] Operation: 50-16=34 Exploring Operation: 95-50=45, Resulting Numbers: [16, 45] Generated Node #0,0,1: 94:[16, 45] Operation: 95-50=45 Moving to Node #0,0,0 Current State: 94:[95, 34], Operations: ['43-27=16', '50-16=34'] Exploring Operation: 95+34=129, Resulting Numbers: [129] 129,94 unequal: No Solution Exploring Operation: 95-34=61, Resulting Numbers: [61] 61,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[16, 45], Operations: ['43-27=16', '95-50=45'] Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,94 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: 94:[95, 27, 93], Operations: ['43+50=93'] Exploring Operation: 93-27=66, Resulting Numbers: [95, 66] Generated Node #0,1,0: 94:[95, 66] Operation: 93-27=66 Exploring Operation: 95-93=2, Resulting Numbers: [27, 2] Generated Node #0,1,1: 94:[27, 2] Operation: 95-93=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[95, 66], Operations: ['43+50=93', '93-27=66'] Exploring Operation: 95-66=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 95+66=161, Resulting Numbers: [161] 161,94 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: 94:[27, 2], Operations: ['43+50=93', '95-93=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,94 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,94 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
[ 84, 53, 20, 83 ]
94
[ "84-53=31", "83-20=63", "31+63=94" ]
Current State: 94:[84, 53, 20, 83], Operations: [] Exploring Operation: 84-53=31, Resulting Numbers: [20, 83, 31] Generated Node #2: [20, 83, 31] from Operation: 84-53=31 Current State: 94:[20, 83, 31], Operations: ['84-53=31'] Exploring Operation: 83-20=63, Resulting Numbers: [31, 63] Generated Node #3: [31, 63] from Operation: 83-20=63 Current State: 94:[31, 63], Operations: ['84-53=31', '83-20=63'] Exploring Operation: 31+63=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[84, 53, 20, 83], Operations: [] Exploring Operation: 84-83=1, Resulting Numbers: [53, 20, 1] Generated Node #0,0: 94:[53, 20, 1] Operation: 84-83=1 Exploring Operation: 83-20=63, Resulting Numbers: [84, 53, 63] Generated Node #0,1: 94:[84, 53, 63] Operation: 83-20=63 Exploring Operation: 20+83=103, Resulting Numbers: [84, 53, 103] Generated Node #0,2: 94:[84, 53, 103] Operation: 20+83=103 Exploring Operation: 84-20=64, Resulting Numbers: [53, 83, 64] Generated Node #0,3: 94:[53, 83, 64] Operation: 84-20=64 Exploring Operation: 84+20=104, Resulting Numbers: [53, 83, 104] Generated Node #0,4: 94:[53, 83, 104] Operation: 84+20=104 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[53, 20, 1], Operations: ['84-83=1'] Exploring Operation: 53-20=33, Resulting Numbers: [1, 33] Generated Node #0,0,0: 94:[1, 33] Operation: 53-20=33 Exploring Operation: 20-1=19, Resulting Numbers: [53, 19] Generated Node #0,0,1: 94:[53, 19] Operation: 20-1=19 Exploring Operation: 53+20=73, Resulting Numbers: [1, 73] Generated Node #0,0,2: 94:[1, 73] Operation: 53+20=73 Exploring Operation: 53*1=53, Resulting Numbers: [20, 53] Generated Node #0,0,3: 94:[20, 53] Operation: 53*1=53 Exploring Operation: 53-1=52, Resulting Numbers: [20, 52] Generated Node #0,0,4: 94:[20, 52] Operation: 53-1=52 Moving to Node #0,0,0 Current State: 94:[1, 33], Operations: ['84-83=1', '53-20=33'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[1, 73], Operations: ['84-83=1', '53+20=73'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 1*73=73, Resulting Numbers: [73] 73,94 unequal: No Solution Exploring Operation: 1+73=74, Resulting Numbers: [74] 74,94 unequal: No Solution Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[53, 19], Operations: ['84-83=1', '20-1=19'] Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,94 unequal: No Solution Moving to Node #0,0,4 Current State: 94:[20, 52], Operations: ['84-83=1', '53-1=52'] Exploring Operation: 20+52=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 20*52=1040, Resulting Numbers: [1040] 1040,94 unequal: No Solution Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,94 unequal: No Solution Moving to Node #0,0,3 Current State: 94:[20, 53], Operations: ['84-83=1', '53*1=53'] Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 20+53=73, Resulting Numbers: [73] 73,94 unequal: No Solution Exploring Operation: 20*53=1060, Resulting Numbers: [1060] 1060,94 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: 94:[84, 53, 103], Operations: ['20+83=103'] Exploring Operation: 84-53=31, Resulting Numbers: [103, 31] Generated Node #0,2,0: 94:[103, 31] Operation: 84-53=31 Exploring Operation: 103-84=19, Resulting Numbers: [53, 19] Generated Node #0,2,1: 94:[53, 19] Operation: 103-84=19 Exploring Operation: 53+103=156, Resulting Numbers: [84, 156] Generated Node #0,2,2: 94:[84, 156] Operation: 53+103=156 Exploring Operation: 84+53=137, Resulting Numbers: [103, 137] Generated Node #0,2,3: 94:[103, 137] Operation: 84+53=137 Exploring Operation: 103-53=50, Resulting Numbers: [84, 50] Generated Node #0,2,4: 94:[84, 50] Operation: 103-53=50 Moving to Node #0,2,4 Current State: 94:[84, 50], Operations: ['20+83=103', '103-53=50'] Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 84+50=134, Resulting Numbers: [134] 134,94 unequal: No Solution Exploring Operation: 84*50=4200, Resulting Numbers: [4200] 4200,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[53, 19], Operations: ['20+83=103', '103-84=19'] Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,94 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[103, 31], Operations: ['20+83=103', '84-53=31'] Exploring Operation: 103-31=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 103*31=3193, Resulting Numbers: [3193] 3193,94 unequal: No Solution Exploring Operation: 103+31=134, Resulting Numbers: [134] 134,94 unequal: No Solution Moving to Node #0,2,3 Current State: 94:[103, 137], Operations: ['20+83=103', '84+53=137'] Exploring Operation: 103+137=240, Resulting Numbers: [240] 240,94 unequal: No Solution Exploring Operation: 103*137=14111, Resulting Numbers: [14111] 14111,94 unequal: No Solution Exploring Operation: 137-103=34, Resulting Numbers: [34] 34,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[84, 156], Operations: ['20+83=103', '53+103=156'] Exploring Operation: 156-84=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 84*156=13104, Resulting Numbers: [13104] 13104,94 unequal: No Solution Exploring Operation: 84+156=240, Resulting Numbers: [240] 240,94 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: 94:[53, 83, 104], Operations: ['84+20=104'] Exploring Operation: 53+83=136, Resulting Numbers: [104, 136] Generated Node #0,4,0: 94:[104, 136] Operation: 53+83=136 Exploring Operation: 104-53=51, Resulting Numbers: [83, 51] Generated Node #0,4,1: 94:[83, 51] Operation: 104-53=51 Exploring Operation: 53+104=157, Resulting Numbers: [83, 157] Generated Node #0,4,2: 94:[83, 157] Operation: 53+104=157 Exploring Operation: 83-53=30, Resulting Numbers: [104, 30] Generated Node #0,4,3: 94:[104, 30] Operation: 83-53=30 Exploring Operation: 104-83=21, Resulting Numbers: [53, 21] Generated Node #0,4,4: 94:[53, 21] Operation: 104-83=21 Moving to Node #0,4,1 Current State: 94:[83, 51], Operations: ['84+20=104', '104-53=51'] Exploring Operation: 83+51=134, Resulting Numbers: [134] 134,94 unequal: No Solution Exploring Operation: 83*51=4233, Resulting Numbers: [4233] 4233,94 unequal: No Solution Exploring Operation: 83-51=32, Resulting Numbers: [32] 32,94 unequal: No Solution Moving to Node #0,4,4 Current State: 94:[53, 21], Operations: ['84+20=104', '104-83=21'] Exploring Operation: 53*21=1113, Resulting Numbers: [1113] 1113,94 unequal: No Solution Exploring Operation: 53-21=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 53+21=74, Resulting Numbers: [74] 74,94 unequal: No Solution Moving to Node #0,4,3 Current State: 94:[104, 30], Operations: ['84+20=104', '83-53=30'] Exploring Operation: 104*30=3120, Resulting Numbers: [3120] 3120,94 unequal: No Solution Exploring Operation: 104+30=134, Resulting Numbers: [134] 134,94 unequal: No Solution Exploring Operation: 104-30=74, Resulting Numbers: [74] 74,94 unequal: No Solution Moving to Node #0,4,0 Current State: 94:[104, 136], Operations: ['84+20=104', '53+83=136'] Exploring Operation: 136-104=32, Resulting Numbers: [32] 32,94 unequal: No Solution Exploring Operation: 104+136=240, Resulting Numbers: [240] 240,94 unequal: No Solution Exploring Operation: 104*136=14144, Resulting Numbers: [14144] 14144,94 unequal: No Solution Moving to Node #0,4,2 Current State: 94:[83, 157], Operations: ['84+20=104', '53+104=157'] Exploring Operation: 157-83=74, Resulting Numbers: [74] 74,94 unequal: No Solution Exploring Operation: 83+157=240, Resulting Numbers: [240] 240,94 unequal: No Solution Exploring Operation: 83*157=13031, Resulting Numbers: [13031] 13031,94 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: 94:[84, 53, 63], Operations: ['83-20=63'] Exploring Operation: 84-53=31, Resulting Numbers: [63, 31] Generated Node #0,1,0: 94:[63, 31] Operation: 84-53=31 Exploring Operation: 84+53=137, Resulting Numbers: [63, 137] Generated Node #0,1,1: 94:[63, 137] Operation: 84+53=137 Exploring Operation: 63-53=10, Resulting Numbers: [84, 10] Generated Node #0,1,2: 94:[84, 10] Operation: 63-53=10 Exploring Operation: 84-63=21, Resulting Numbers: [53, 21] Generated Node #0,1,3: 94:[53, 21] Operation: 84-63=21 Exploring Operation: 53+63=116, Resulting Numbers: [84, 116] Generated Node #0,1,4: 94:[84, 116] Operation: 53+63=116 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 94:[84, 10], Operations: ['83-20=63', '63-53=10'] Exploring Operation: 84*10=840, Resulting Numbers: [840] 840,94 unequal: No Solution Exploring Operation: 84-10=74, Resulting Numbers: [74] 74,94 unequal: No Solution Exploring Operation: 84+10=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[84, 53, 20, 83], Operations: [] Exploring Operation: 83-20=63, Resulting Numbers: [84, 53, 63] Generated Node #0,1: 94:[84, 53, 63] Operation: 83-20=63 Moving to Node #0,1 Current State: 94:[84, 53, 63], Operations: ['83-20=63'] Exploring Operation: 63-53=10, Resulting Numbers: [84, 10] Generated Node #0,1,2: 94:[84, 10] Operation: 63-53=10 Moving to Node #0,1,2 Current State: 94:[84, 10], Operations: ['83-20=63', '63-53=10'] Exploring Operation: 84+10=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.931424
hs_5
mult_heuristic
[ 8, 47, 68, 6 ]
68
[ "8*6=48", "48-47=1", "68*1=68" ]
Current State: 68:[8, 47, 68, 6], Operations: [] Exploring Operation: 8*6=48, Resulting Numbers: [47, 68, 48] Generated Node #2: [47, 68, 48] from Operation: 8*6=48 Current State: 68:[47, 68, 48], Operations: ['8*6=48'] Exploring Operation: 48-47=1, Resulting Numbers: [68, 1] Generated Node #3: [68, 1] from Operation: 48-47=1 Current State: 68:[68, 1], Operations: ['8*6=48', '48-47=1'] Exploring Operation: 68*1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[8, 47, 68, 6], Operations: [] Exploring Operation: 47-8=39, Resulting Numbers: [68, 6, 39] Generated Node #0,0: 68:[68, 6, 39] Operation: 47-8=39 Exploring Operation: 68-47=21, Resulting Numbers: [8, 6, 21] Generated Node #0,1: 68:[8, 6, 21] Operation: 68-47=21 Exploring Operation: 47-6=41, Resulting Numbers: [8, 68, 41] Generated Node #0,2: 68:[8, 68, 41] Operation: 47-6=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[68, 6, 39], Operations: ['47-8=39'] Exploring Operation: 68-39=29, Resulting Numbers: [6, 29] Generated Node #0,0,0: 68:[6, 29] Operation: 68-39=29 Exploring Operation: 39-6=33, Resulting Numbers: [68, 33] Generated Node #0,0,1: 68:[68, 33] Operation: 39-6=33 Exploring Operation: 68+6=74, Resulting Numbers: [39, 74] Generated Node #0,0,2: 68:[39, 74] Operation: 68+6=74 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[68, 33], Operations: ['47-8=39', '39-6=33'] Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,68 unequal: No Solution Exploring Operation: 68*33=2244, Resulting Numbers: [2244] 2244,68 unequal: No Solution Exploring Operation: 68+33=101, Resulting Numbers: [101] 101,68 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: 68:[6, 29], Operations: ['47-8=39', '68-39=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,68 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,68 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,68 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: 68:[39, 74], Operations: ['47-8=39', '68+6=74'] Exploring Operation: 74-39=35, Resulting Numbers: [35] 35,68 unequal: No Solution Exploring Operation: 39*74=2886, Resulting Numbers: [2886] 2886,68 unequal: No Solution Exploring Operation: 39+74=113, Resulting Numbers: [113] 113,68 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: 68:[8, 6, 21], Operations: ['68-47=21'] Exploring Operation: 8-6=2, Resulting Numbers: [21, 2] Generated Node #0,1,0: 68:[21, 2] Operation: 8-6=2 Exploring Operation: 21-8=13, Resulting Numbers: [6, 13] Generated Node #0,1,1: 68:[6, 13] Operation: 21-8=13 Exploring Operation: 21-6=15, Resulting Numbers: [8, 15] Generated Node #0,1,2: 68:[8, 15] Operation: 21-6=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[21, 2], Operations: ['68-47=21', '8-6=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,68 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,68 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: 68:[6, 13], Operations: ['68-47=21', '21-8=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,68 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: 68:[8, 15], Operations: ['68-47=21', '21-6=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,68 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,68 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,68 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: 68:[8, 68, 41], Operations: ['47-6=41'] Exploring Operation: 41-8=33, Resulting Numbers: [68, 33] Generated Node #0,2,0: 68:[68, 33] Operation: 41-8=33 Exploring Operation: 68-41=27, Resulting Numbers: [8, 27] Generated Node #0,2,1: 68:[8, 27] Operation: 68-41=27 Exploring Operation: 8+68=76, Resulting Numbers: [41, 76] Generated Node #0,2,2: 68:[41, 76] Operation: 8+68=76 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 68:[68, 33], Operations: ['47-6=41', '41-8=33'] Exploring Operation: 68+33=101, Resulting Numbers: [101] 101,68 unequal: No Solution Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,68 unequal: No Solution Exploring Operation: 68*33=2244, Resulting Numbers: [2244] 2244,68 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: 68:[8, 27], Operations: ['47-6=41', '68-41=27'] Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,68 unequal: No Solution Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,68 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: 68:[41, 76], Operations: ['47-6=41', '8+68=76'] Exploring Operation: 41+76=117, Resulting Numbers: [117] 117,68 unequal: No Solution Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,68 unequal: No Solution Exploring Operation: 41*76=3116, Resulting Numbers: [3116] 3116,68 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
[ 19, 79, 57, 36 ]
77
[ "19+79=98", "57-36=21", "98-21=77" ]
Current State: 77:[19, 79, 57, 36], Operations: [] Exploring Operation: 19+79=98, Resulting Numbers: [57, 36, 98] Generated Node #2: [57, 36, 98] from Operation: 19+79=98 Current State: 77:[57, 36, 98], Operations: ['19+79=98'] Exploring Operation: 57-36=21, Resulting Numbers: [98, 21] Generated Node #3: [98, 21] from Operation: 57-36=21 Current State: 77:[98, 21], Operations: ['19+79=98', '57-36=21'] Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[19, 79, 57, 36], Operations: [] Exploring Operation: 19+57=76, Resulting Numbers: [79, 36, 76] Generated Node #0,0: 77:[79, 36, 76] Operation: 19+57=76 Exploring Operation: 57+36=93, Resulting Numbers: [19, 79, 93] Generated Node #0,1: 77:[19, 79, 93] Operation: 57+36=93 Exploring Operation: 36-19=17, Resulting Numbers: [79, 57, 17] Generated Node #0,2: 77:[79, 57, 17] Operation: 36-19=17 Exploring Operation: 57-36=21, Resulting Numbers: [19, 79, 21] Generated Node #0,3: 77:[19, 79, 21] Operation: 57-36=21 Exploring Operation: 57/19=3, Resulting Numbers: [79, 36, 3] Generated Node #0,4: 77:[79, 36, 3] Operation: 57/19=3 Moving to Node #0,3 Current State: 77:[19, 79, 21], Operations: ['57-36=21'] Exploring Operation: 21-19=2, Resulting Numbers: [79, 2] Generated Node #0,3,0: 77:[79, 2] Operation: 21-19=2 Exploring Operation: 79-21=58, Resulting Numbers: [19, 58] Generated Node #0,3,1: 77:[19, 58] Operation: 79-21=58 Exploring Operation: 19+79=98, Resulting Numbers: [21, 98] Generated Node #0,3,2: 77:[21, 98] Operation: 19+79=98 Exploring Operation: 19+21=40, Resulting Numbers: [79, 40] Generated Node #0,3,3: 77:[79, 40] Operation: 19+21=40 Exploring Operation: 79-19=60, Resulting Numbers: [21, 60] Generated Node #0,3,4: 77:[21, 60] Operation: 79-19=60 Moving to Node #0,1 Current State: 77:[19, 79, 93], Operations: ['57+36=93'] Exploring Operation: 93-79=14, Resulting Numbers: [19, 14] Generated Node #0,1,0: 77:[19, 14] Operation: 93-79=14 Exploring Operation: 19+93=112, Resulting Numbers: [79, 112] Generated Node #0,1,1: 77:[79, 112] Operation: 19+93=112 Exploring Operation: 93-19=74, Resulting Numbers: [79, 74] Generated Node #0,1,2: 77:[79, 74] Operation: 93-19=74 Exploring Operation: 19+79=98, Resulting Numbers: [93, 98] Generated Node #0,1,3: 77:[93, 98] Operation: 19+79=98 Exploring Operation: 79-19=60, Resulting Numbers: [93, 60] Generated Node #0,1,4: 77:[93, 60] Operation: 79-19=60 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[79, 74], Operations: ['57+36=93', '93-19=74'] Exploring Operation: 79+74=153, Resulting Numbers: [153] 153,77 unequal: No Solution Exploring Operation: 79*74=5846, Resulting Numbers: [5846] 5846,77 unequal: No Solution Exploring Operation: 79-74=5, Resulting Numbers: [5] 5,77 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: 77:[19, 14], Operations: ['57+36=93', '93-79=14'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,77 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: 77:[93, 60], Operations: ['57+36=93', '79-19=60'] Exploring Operation: 93+60=153, Resulting Numbers: [153] 153,77 unequal: No Solution Exploring Operation: 93-60=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 93*60=5580, Resulting Numbers: [5580] 5580,77 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: 77:[79, 112], Operations: ['57+36=93', '19+93=112'] Exploring Operation: 79+112=191, Resulting Numbers: [191] 191,77 unequal: No Solution Exploring Operation: 79*112=8848, Resulting Numbers: [8848] 8848,77 unequal: No Solution Exploring Operation: 112-79=33, Resulting Numbers: [33] 33,77 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: 77:[93, 98], Operations: ['57+36=93', '19+79=98'] Exploring Operation: 98-93=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 93+98=191, Resulting Numbers: [191] 191,77 unequal: No Solution Exploring Operation: 93*98=9114, Resulting Numbers: [9114] 9114,77 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: 77:[79, 36, 76], Operations: ['19+57=76'] Exploring Operation: 79+36=115, Resulting Numbers: [76, 115] Generated Node #0,0,0: 77:[76, 115] Operation: 79+36=115 Exploring Operation: 79-76=3, Resulting Numbers: [36, 3] Generated Node #0,0,1: 77:[36, 3] Operation: 79-76=3 Exploring Operation: 79-36=43, Resulting Numbers: [76, 43] Generated Node #0,0,2: 77:[76, 43] Operation: 79-36=43 Exploring Operation: 36+76=112, Resulting Numbers: [79, 112] Generated Node #0,0,3: 77:[79, 112] Operation: 36+76=112 Exploring Operation: 76-36=40, Resulting Numbers: [79, 40] Generated Node #0,0,4: 77:[79, 40] Operation: 76-36=40 Moving to Node #0,2 Current State: 77:[79, 57, 17], Operations: ['36-19=17'] Exploring Operation: 79-17=62, Resulting Numbers: [57, 62] Generated Node #0,2,0: 77:[57, 62] Operation: 79-17=62 Exploring Operation: 79+17=96, Resulting Numbers: [57, 96] Generated Node #0,2,1: 77:[57, 96] Operation: 79+17=96 Exploring Operation: 57+17=74, Resulting Numbers: [79, 74] Generated Node #0,2,2: 77:[79, 74] Operation: 57+17=74 Exploring Operation: 57-17=40, Resulting Numbers: [79, 40] Generated Node #0,2,3: 77:[79, 40] Operation: 57-17=40 Exploring Operation: 79-57=22, Resulting Numbers: [17, 22] Generated Node #0,2,4: 77:[17, 22] Operation: 79-57=22 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[79, 74], Operations: ['36-19=17', '57+17=74'] Exploring Operation: 79-74=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 79+74=153, Resulting Numbers: [153] 153,77 unequal: No Solution Exploring Operation: 79*74=5846, Resulting Numbers: [5846] 5846,77 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: 77:[17, 22], Operations: ['36-19=17', '79-57=22'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,77 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: 77:[79, 40], Operations: ['36-19=17', '57-17=40'] Exploring Operation: 79*40=3160, Resulting Numbers: [3160] 3160,77 unequal: No Solution Exploring Operation: 79-40=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 79+40=119, Resulting Numbers: [119] 119,77 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: 77:[57, 62], Operations: ['36-19=17', '79-17=62'] Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 57+62=119, Resulting Numbers: [119] 119,77 unequal: No Solution Exploring Operation: 57*62=3534, Resulting Numbers: [3534] 3534,77 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: 77:[57, 96], Operations: ['36-19=17', '79+17=96'] Exploring Operation: 57+96=153, Resulting Numbers: [153] 153,77 unequal: No Solution Exploring Operation: 57*96=5472, Resulting Numbers: [5472] 5472,77 unequal: No Solution Exploring Operation: 96-57=39, Resulting Numbers: [39] 39,77 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: 77:[79, 36, 3], Operations: ['57/19=3'] Exploring Operation: 36/3=12, Resulting Numbers: [79, 12] Generated Node #0,4,0: 77:[79, 12] Operation: 36/3=12 Exploring Operation: 36+3=39, Resulting Numbers: [79, 39] Generated Node #0,4,1: 77:[79, 39] Operation: 36+3=39 Exploring Operation: 79-3=76, Resulting Numbers: [36, 76] Generated Node #0,4,2: 77:[36, 76] Operation: 79-3=76 Exploring Operation: 79+3=82, Resulting Numbers: [36, 82] Generated Node #0,4,3: 77:[36, 82] Operation: 79+3=82 Exploring Operation: 36-3=33, Resulting Numbers: [79, 33] Generated Node #0,4,4: 77:[79, 33] Operation: 36-3=33 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 77:[79, 12], Operations: ['57/19=3', '36/3=12'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 79+12=91, Resulting Numbers: [91] 91,77 unequal: No Solution Exploring Operation: 79*12=948, Resulting Numbers: [948] 948,77 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: 77:[79, 33], Operations: ['57/19=3', '36-3=33'] Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,77 unequal: No Solution Exploring Operation: 79+33=112, Resulting Numbers: [112] 112,77 unequal: No Solution Exploring Operation: 79*33=2607, Resulting Numbers: [2607] 2607,77 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: 77:[36, 76], Operations: ['57/19=3', '79-3=76'] Exploring Operation: 76-36=40, Resulting Numbers: [40] 40,77 unequal: No Solution Exploring Operation: 36+76=112, Resulting Numbers: [112] 112,77 unequal: No Solution Exploring Operation: 36*76=2736, Resulting Numbers: [2736] 2736,77 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: 77:[79, 39], Operations: ['57/19=3', '36+3=39'] Exploring Operation: 79*39=3081, Resulting Numbers: [3081] 3081,77 unequal: No Solution Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,77 unequal: No Solution Exploring Operation: 79+39=118, Resulting Numbers: [118] 118,77 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: 77:[36, 82], Operations: ['57/19=3', '79+3=82'] Exploring Operation: 36*82=2952, Resulting Numbers: [2952] 2952,77 unequal: No Solution Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,77 unequal: No Solution Exploring Operation: 36+82=118, Resulting Numbers: [118] 118,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 77:[79, 2], Operations: ['57-36=21', '21-19=2'] Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,77 unequal: No Solution Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,77 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[19, 79, 57, 36], Operations: [] Exploring Operation: 57-36=21, Resulting Numbers: [19, 79, 21] Generated Node #0,3: 77:[19, 79, 21] Operation: 57-36=21 Moving to Node #0,3 Current State: 77:[19, 79, 21], Operations: ['57-36=21'] Exploring Operation: 21-19=2, Resulting Numbers: [79, 2] Generated Node #0,3,0: 77:[79, 2] Operation: 21-19=2 Moving to Node #0,3,0 Current State: 77:[79, 2], Operations: ['57-36=21', '21-19=2'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.928819
hs_5
mult_heuristic
[ 49, 18, 4, 45 ]
28
[ "49+18=67", "45+67=112", "112/4=28" ]
Current State: 28:[49, 18, 4, 45], Operations: [] Exploring Operation: 49+18=67, Resulting Numbers: [4, 45, 67] Generated Node #2: [4, 45, 67] from Operation: 49+18=67 Current State: 28:[4, 45, 67], Operations: ['49+18=67'] Exploring Operation: 45+67=112, Resulting Numbers: [4, 112] Generated Node #3: [4, 112] from Operation: 45+67=112 Current State: 28:[4, 112], Operations: ['49+18=67', '45+67=112'] Exploring Operation: 112/4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[49, 18, 4, 45], Operations: [] Exploring Operation: 49-18=31, Resulting Numbers: [4, 45, 31] Generated Node #0,0: 28:[4, 45, 31] Operation: 49-18=31 Exploring Operation: 49-45=4, Resulting Numbers: [18, 4, 4] Generated Node #0,1: 28:[18, 4, 4] Operation: 49-45=4 Moving to Node #0,1 Current State: 28:[18, 4, 4], Operations: ['49-45=4'] Exploring Operation: 18-4=14, Resulting Numbers: [4, 14] Generated Node #0,1,0: 28:[4, 14] Operation: 18-4=14 Exploring Operation: 18-4=14, Resulting Numbers: [4, 14] Generated Node #0,1,1: 28:[4, 14] Operation: 18-4=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[4, 14], Operations: ['49-45=4', '18-4=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,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:[4, 14], Operations: ['49-45=4', '18-4=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 4+14=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:[4, 45, 31], Operations: ['49-18=31'] Exploring Operation: 45-4=41, Resulting Numbers: [31, 41] Generated Node #0,0,0: 28:[31, 41] Operation: 45-4=41 Exploring Operation: 45-31=14, Resulting Numbers: [4, 14] Generated Node #0,0,1: 28:[4, 14] Operation: 45-31=14 Moving to Node #0,0,1 Current State: 28:[4, 14], Operations: ['49-18=31', '45-31=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[31, 41], Operations: ['49-18=31', '45-4=41'] Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 31+41=72, Resulting Numbers: [72] 72,28 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 98, 98, 48, 41 ]
28
[ "98+98=196", "48-41=7", "196/7=28" ]
Current State: 28:[98, 98, 48, 41], Operations: [] Exploring Operation: 98+98=196, Resulting Numbers: [48, 41, 196] Generated Node #2: [48, 41, 196] from Operation: 98+98=196 Current State: 28:[48, 41, 196], Operations: ['98+98=196'] Exploring Operation: 48-41=7, Resulting Numbers: [196, 7] Generated Node #3: [196, 7] from Operation: 48-41=7 Current State: 28:[196, 7], Operations: ['98+98=196', '48-41=7'] Exploring Operation: 196/7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[98, 98, 48, 41], Operations: [] Exploring Operation: 98-98=0, Resulting Numbers: [48, 41, 0] Generated Node #0,0: 28:[48, 41, 0] Operation: 98-98=0 Exploring Operation: 98-48=50, Resulting Numbers: [98, 41, 50] Generated Node #0,1: 28:[98, 41, 50] Operation: 98-48=50 Exploring Operation: 98/98=1, Resulting Numbers: [48, 41, 1] Generated Node #0,2: 28:[48, 41, 1] Operation: 98/98=1 Exploring Operation: 98-48=50, Resulting Numbers: [98, 41, 50] Generated Node #0,3: 28:[98, 41, 50] Operation: 98-48=50 Moving to Node #0,2 Current State: 28:[48, 41, 1], Operations: ['98/98=1'] Exploring Operation: 48-1=47, Resulting Numbers: [41, 47] Generated Node #0,2,0: 28:[41, 47] Operation: 48-1=47 Exploring Operation: 41-1=40, Resulting Numbers: [48, 40] Generated Node #0,2,1: 28:[48, 40] Operation: 41-1=40 Exploring Operation: 48*1=48, Resulting Numbers: [41, 48] Generated Node #0,2,2: 28:[41, 48] Operation: 48*1=48 Exploring Operation: 48-41=7, Resulting Numbers: [1, 7] Generated Node #0,2,3: 28:[1, 7] Operation: 48-41=7 Moving to Node #0,0 Current State: 28:[48, 41, 0], Operations: ['98-98=0'] Exploring Operation: 41*0=0, Resulting Numbers: [48, 0] Generated Node #0,0,0: 28:[48, 0] Operation: 41*0=0 Exploring Operation: 48-41=7, Resulting Numbers: [0, 7] Generated Node #0,0,1: 28:[0, 7] Operation: 48-41=7 Exploring Operation: 48+0=48, Resulting Numbers: [41, 48] Generated Node #0,0,2: 28:[41, 48] Operation: 48+0=48 Exploring Operation: 48*0=0, Resulting Numbers: [41, 0] Generated Node #0,0,3: 28:[41, 0] Operation: 48*0=0 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[0, 7], Operations: ['98-98=0', '48-41=7'] Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 0+7=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 0*7=0, Resulting Numbers: [0] 0,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,3 Current State: 28:[41, 0], Operations: ['98-98=0', '48*0=0'] Exploring Operation: 41-0=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 41+0=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 41*0=0, Resulting Numbers: [0] 0,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,0 Current State: 28:[48, 0], Operations: ['98-98=0', '41*0=0'] Exploring Operation: 48*0=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 48+0=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 48-0=48, Resulting Numbers: [48] 48,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:[41, 48], Operations: ['98-98=0', '48+0=48'] Exploring Operation: 41*48=1968, Resulting Numbers: [1968] 1968,28 unequal: No Solution Exploring Operation: 41+48=89, Resulting Numbers: [89] 89,28 unequal: No Solution Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,28 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: 28:[98, 41, 50], Operations: ['98-48=50'] Exploring Operation: 50-41=9, Resulting Numbers: [98, 9] Generated Node #0,3,0: 28:[98, 9] Operation: 50-41=9 Exploring Operation: 98-50=48, Resulting Numbers: [41, 48] Generated Node #0,3,1: 28:[41, 48] Operation: 98-50=48 Exploring Operation: 98+41=139, Resulting Numbers: [50, 139] Generated Node #0,3,2: 28:[50, 139] Operation: 98+41=139 Exploring Operation: 98-41=57, Resulting Numbers: [50, 57] Generated Node #0,3,3: 28:[50, 57] Operation: 98-41=57 Moving to Node #0,1 Current State: 28:[98, 41, 50], Operations: ['98-48=50'] Exploring Operation: 98-50=48, Resulting Numbers: [41, 48] Generated Node #0,1,0: 28:[41, 48] Operation: 98-50=48 Exploring Operation: 98+41=139, Resulting Numbers: [50, 139] Generated Node #0,1,1: 28:[50, 139] Operation: 98+41=139 Exploring Operation: 50-41=9, Resulting Numbers: [98, 9] Generated Node #0,1,2: 28:[98, 9] Operation: 50-41=9 Exploring Operation: 98-41=57, Resulting Numbers: [50, 57] Generated Node #0,1,3: 28:[50, 57] Operation: 98-41=57 Moving to Node #0,2,3 Current State: 28:[1, 7], Operations: ['98/98=1', '48-41=7'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[48, 40], Operations: ['98/98=1', '41-1=40'] Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,28 unequal: No Solution Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,28 unequal: No Solution Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[41, 47], Operations: ['98/98=1', '48-1=47'] Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 41*47=1927, Resulting Numbers: [1927] 1927,28 unequal: No Solution Exploring Operation: 41+47=88, Resulting Numbers: [88] 88,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[41, 48], Operations: ['98-48=50', '98-50=48'] Exploring Operation: 41+48=89, Resulting Numbers: [89] 89,28 unequal: No Solution Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 41*48=1968, Resulting Numbers: [1968] 1968,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[41, 48], Operations: ['98/98=1', '48*1=48'] Exploring Operation: 41*48=1968, Resulting Numbers: [1968] 1968,28 unequal: No Solution Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 41+48=89, Resulting Numbers: [89] 89,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[41, 48], Operations: ['98-48=50', '98-50=48'] Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 41*48=1968, Resulting Numbers: [1968] 1968,28 unequal: No Solution Exploring Operation: 41+48=89, Resulting Numbers: [89] 89,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[50, 57], Operations: ['98-48=50', '98-41=57'] Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 50*57=2850, Resulting Numbers: [2850] 2850,28 unequal: No Solution Exploring Operation: 50+57=107, Resulting Numbers: [107] 107,28 unequal: No Solution Moving to Node #0,1,3 Current State: 28:[50, 57], Operations: ['98-48=50', '98-41=57'] Exploring Operation: 50+57=107, Resulting Numbers: [107] 107,28 unequal: No Solution Exploring Operation: 50*57=2850, Resulting Numbers: [2850] 2850,28 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[98, 9], Operations: ['98-48=50', '50-41=9'] Exploring Operation: 98+9=107, Resulting Numbers: [107] 107,28 unequal: No Solution Exploring Operation: 98*9=882, Resulting Numbers: [882] 882,28 unequal: No Solution Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[98, 9], Operations: ['98-48=50', '50-41=9'] Exploring Operation: 98*9=882, Resulting Numbers: [882] 882,28 unequal: No Solution Exploring Operation: 98+9=107, Resulting Numbers: [107] 107,28 unequal: No Solution Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[50, 139], Operations: ['98-48=50', '98+41=139'] Exploring Operation: 50*139=6950, Resulting Numbers: [6950] 6950,28 unequal: No Solution Exploring Operation: 50+139=189, Resulting Numbers: [189] 189,28 unequal: No Solution Exploring Operation: 139-50=89, Resulting Numbers: [89] 89,28 unequal: No Solution Moving to Node #0,3,2 Current State: 28:[50, 139], Operations: ['98-48=50', '98+41=139'] Exploring Operation: 139-50=89, Resulting Numbers: [89] 89,28 unequal: No Solution Exploring Operation: 50+139=189, Resulting Numbers: [189] 189,28 unequal: No Solution Exploring Operation: 50*139=6950, Resulting Numbers: [6950] 6950,28 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 46, 35, 72, 78 ]
87
[ "46+35=81", "78-72=6", "81+6=87" ]
Current State: 87:[46, 35, 72, 78], Operations: [] Exploring Operation: 46+35=81, Resulting Numbers: [72, 78, 81] Generated Node #2: [72, 78, 81] from Operation: 46+35=81 Current State: 87:[72, 78, 81], Operations: ['46+35=81'] Exploring Operation: 78-72=6, Resulting Numbers: [81, 6] Generated Node #3: [81, 6] from Operation: 78-72=6 Current State: 87:[81, 6], Operations: ['46+35=81', '78-72=6'] Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[46, 35, 72, 78], Operations: [] Exploring Operation: 72-46=26, Resulting Numbers: [35, 78, 26] Generated Node #0,0: 87:[35, 78, 26] Operation: 72-46=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[35, 78, 26], Operations: ['72-46=26'] Exploring Operation: 78/26=3, Resulting Numbers: [35, 3] Generated Node #0,0,0: 87:[35, 3] Operation: 78/26=3 Moving to Node #0,0,0 Current State: 87:[35, 3], Operations: ['72-46=26', '78/26=3'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,87 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
[ 2, 38, 82, 8 ]
14
[ "2*38=76", "82+8=90", "90-76=14" ]
Current State: 14:[2, 38, 82, 8], Operations: [] Exploring Operation: 2*38=76, Resulting Numbers: [82, 8, 76] Generated Node #2: [82, 8, 76] from Operation: 2*38=76 Current State: 14:[82, 8, 76], Operations: ['2*38=76'] Exploring Operation: 82+8=90, Resulting Numbers: [76, 90] Generated Node #3: [76, 90] from Operation: 82+8=90 Current State: 14:[76, 90], Operations: ['2*38=76', '82+8=90'] Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[2, 38, 82, 8], Operations: [] Exploring Operation: 82-8=74, Resulting Numbers: [2, 38, 74] Generated Node #0,0: 14:[2, 38, 74] Operation: 82-8=74 Exploring Operation: 38/2=19, Resulting Numbers: [82, 8, 19] Generated Node #0,1: 14:[82, 8, 19] Operation: 38/2=19 Exploring Operation: 82-38=44, Resulting Numbers: [2, 8, 44] Generated Node #0,2: 14:[2, 8, 44] Operation: 82-38=44 Exploring Operation: 38-8=30, Resulting Numbers: [2, 82, 30] Generated Node #0,3: 14:[2, 82, 30] Operation: 38-8=30 Exploring Operation: 82/2=41, Resulting Numbers: [38, 8, 41] Generated Node #0,4: 14:[38, 8, 41] Operation: 82/2=41 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[2, 8, 44], Operations: ['82-38=44'] Exploring Operation: 2*8=16, Resulting Numbers: [44, 16] Generated Node #0,2,0: 14:[44, 16] Operation: 2*8=16 Exploring Operation: 8-2=6, Resulting Numbers: [44, 6] Generated Node #0,2,1: 14:[44, 6] Operation: 8-2=6 Exploring Operation: 44/2=22, Resulting Numbers: [8, 22] Generated Node #0,2,2: 14:[8, 22] Operation: 44/2=22 Exploring Operation: 44-2=42, Resulting Numbers: [8, 42] Generated Node #0,2,3: 14:[8, 42] Operation: 44-2=42 Exploring Operation: 44-8=36, Resulting Numbers: [2, 36] Generated Node #0,2,4: 14:[2, 36] Operation: 44-8=36 Moving to Node #0,2,2 Current State: 14:[8, 22], Operations: ['82-38=44', '44/2=22'] Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,14 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[2, 38, 82, 8], Operations: [] Exploring Operation: 82-38=44, Resulting Numbers: [2, 8, 44] Generated Node #0,2: 14:[2, 8, 44] Operation: 82-38=44 Moving to Node #0,2 Current State: 14:[2, 8, 44], Operations: ['82-38=44'] Exploring Operation: 44/2=22, Resulting Numbers: [8, 22] Generated Node #0,2,2: 14:[8, 22] Operation: 44/2=22 Moving to Node #0,2,2 Current State: 14:[8, 22], Operations: ['82-38=44', '44/2=22'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 35, 34, 21, 7 ]
72
[ "35+34=69", "21/7=3", "69+3=72" ]
Current State: 72:[35, 34, 21, 7], Operations: [] Exploring Operation: 35+34=69, Resulting Numbers: [21, 7, 69] Generated Node #2: [21, 7, 69] from Operation: 35+34=69 Current State: 72:[21, 7, 69], Operations: ['35+34=69'] Exploring Operation: 21/7=3, Resulting Numbers: [69, 3] Generated Node #3: [69, 3] from Operation: 21/7=3 Current State: 72:[69, 3], Operations: ['35+34=69', '21/7=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[35, 34, 21, 7], Operations: [] Exploring Operation: 35-34=1, Resulting Numbers: [21, 7, 1] Generated Node #0,0: 72:[21, 7, 1] Operation: 35-34=1 Exploring Operation: 21/7=3, Resulting Numbers: [35, 34, 3] Generated Node #0,1: 72:[35, 34, 3] Operation: 21/7=3 Exploring Operation: 34-21=13, Resulting Numbers: [35, 7, 13] Generated Node #0,2: 72:[35, 7, 13] Operation: 34-21=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[35, 34, 3], Operations: ['21/7=3'] Exploring Operation: 35-34=1, Resulting Numbers: [3, 1] Generated Node #0,1,0: 72:[3, 1] Operation: 35-34=1 Exploring Operation: 34+3=37, Resulting Numbers: [35, 37] Generated Node #0,1,1: 72:[35, 37] Operation: 34+3=37 Exploring Operation: 35+34=69, Resulting Numbers: [3, 69] Generated Node #0,1,2: 72:[3, 69] Operation: 35+34=69 Moving to Node #0,1,0 Current State: 72:[3, 1], Operations: ['21/7=3', '35-34=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[35, 37], Operations: ['21/7=3', '34+3=37'] Exploring Operation: 35*37=1295, Resulting Numbers: [1295] 1295,72 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 35+37=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[35, 34, 21, 7], Operations: [] Exploring Operation: 21/7=3, Resulting Numbers: [35, 34, 3] Generated Node #0,1: 72:[35, 34, 3] Operation: 21/7=3 Moving to Node #0,1 Current State: 72:[35, 34, 3], Operations: ['21/7=3'] Exploring Operation: 34+3=37, Resulting Numbers: [35, 37] Generated Node #0,1,1: 72:[35, 37] Operation: 34+3=37 Moving to Node #0,1,1 Current State: 72:[35, 37], Operations: ['21/7=3', '34+3=37'] Exploring Operation: 35+37=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 36, 91, 79, 17 ]
65
[ "36+91=127", "79-17=62", "127-62=65" ]
Current State: 65:[36, 91, 79, 17], Operations: [] Exploring Operation: 36+91=127, Resulting Numbers: [79, 17, 127] Generated Node #2: [79, 17, 127] from Operation: 36+91=127 Current State: 65:[79, 17, 127], Operations: ['36+91=127'] Exploring Operation: 79-17=62, Resulting Numbers: [127, 62] Generated Node #3: [127, 62] from Operation: 79-17=62 Current State: 65:[127, 62], Operations: ['36+91=127', '79-17=62'] Exploring Operation: 127-62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[36, 91, 79, 17], Operations: [] Exploring Operation: 91-36=55, Resulting Numbers: [79, 17, 55] Generated Node #0,0: 65:[79, 17, 55] Operation: 91-36=55 Exploring Operation: 79-36=43, Resulting Numbers: [91, 17, 43] Generated Node #0,1: 65:[91, 17, 43] Operation: 79-36=43 Exploring Operation: 91-17=74, Resulting Numbers: [36, 79, 74] Generated Node #0,2: 65:[36, 79, 74] Operation: 91-17=74 Exploring Operation: 91-79=12, Resulting Numbers: [36, 17, 12] Generated Node #0,3: 65:[36, 17, 12] Operation: 91-79=12 Exploring Operation: 36-17=19, Resulting Numbers: [91, 79, 19] Generated Node #0,4: 65:[91, 79, 19] Operation: 36-17=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[79, 17, 55], Operations: ['91-36=55'] Exploring Operation: 79-17=62, Resulting Numbers: [55, 62] Generated Node #0,0,0: 65:[55, 62] Operation: 79-17=62 Exploring Operation: 55-17=38, Resulting Numbers: [79, 38] Generated Node #0,0,1: 65:[79, 38] Operation: 55-17=38 Exploring Operation: 79+17=96, Resulting Numbers: [55, 96] Generated Node #0,0,2: 65:[55, 96] Operation: 79+17=96 Exploring Operation: 17+55=72, Resulting Numbers: [79, 72] Generated Node #0,0,3: 65:[79, 72] Operation: 17+55=72 Exploring Operation: 79-55=24, Resulting Numbers: [17, 24] Generated Node #0,0,4: 65:[17, 24] Operation: 79-55=24 Moving to Node #0,0,0 Current State: 65:[55, 62], Operations: ['91-36=55', '79-17=62'] Exploring Operation: 62-55=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 55+62=117, Resulting Numbers: [117] 117,65 unequal: No Solution Exploring Operation: 55*62=3410, Resulting Numbers: [3410] 3410,65 unequal: No Solution Moving to Node #0,0,4 Current State: 65:[17, 24], Operations: ['91-36=55', '79-55=24'] Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,65 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[79, 72], Operations: ['91-36=55', '17+55=72'] Exploring Operation: 79-72=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 79*72=5688, Resulting Numbers: [5688] 5688,65 unequal: No Solution Exploring Operation: 79+72=151, Resulting Numbers: [151] 151,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[79, 38], Operations: ['91-36=55', '55-17=38'] Exploring Operation: 79*38=3002, Resulting Numbers: [3002] 3002,65 unequal: No Solution Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,65 unequal: No Solution Exploring Operation: 79+38=117, Resulting Numbers: [117] 117,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[55, 96], Operations: ['91-36=55', '79+17=96'] Exploring Operation: 96-55=41, Resulting Numbers: [41] 41,65 unequal: No Solution Exploring Operation: 55*96=5280, Resulting Numbers: [5280] 5280,65 unequal: No Solution Exploring Operation: 55+96=151, Resulting Numbers: [151] 151,65 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: 65:[36, 17, 12], Operations: ['91-79=12'] Exploring Operation: 36-17=19, Resulting Numbers: [12, 19] Generated Node #0,3,0: 65:[12, 19] Operation: 36-17=19 Exploring Operation: 36/12=3, Resulting Numbers: [17, 3] Generated Node #0,3,1: 65:[17, 3] Operation: 36/12=3 Exploring Operation: 36+17=53, Resulting Numbers: [12, 53] Generated Node #0,3,2: 65:[12, 53] Operation: 36+17=53 Exploring Operation: 36+12=48, Resulting Numbers: [17, 48] Generated Node #0,3,3: 65:[17, 48] Operation: 36+12=48 Exploring Operation: 36-12=24, Resulting Numbers: [17, 24] Generated Node #0,3,4: 65:[17, 24] Operation: 36-12=24 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 65:[17, 3], Operations: ['91-79=12', '36/12=3'] Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,65 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: 65:[12, 19], Operations: ['91-79=12', '36-17=19'] Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,65 unequal: No Solution Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,65 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: 65:[12, 53], Operations: ['91-79=12', '36+17=53'] Exploring Operation: 12+53=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[36, 91, 79, 17], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [36, 17, 12] Generated Node #0,3: 65:[36, 17, 12] Operation: 91-79=12 Moving to Node #0,3 Current State: 65:[36, 17, 12], Operations: ['91-79=12'] Exploring Operation: 36+17=53, Resulting Numbers: [12, 53] Generated Node #0,3,2: 65:[12, 53] Operation: 36+17=53 Moving to Node #0,3,2 Current State: 65:[12, 53], Operations: ['91-79=12', '36+17=53'] Exploring Operation: 12+53=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 24, 10, 40, 51 ]
31
[ "51-24=27", "40/10=4", "27+4=31" ]
Current State: 31:[24, 10, 40, 51], Operations: [] Exploring Operation: 51-24=27, Resulting Numbers: [10, 40, 27] Generated Node #2: [10, 40, 27] from Operation: 51-24=27 Current State: 31:[10, 40, 27], Operations: ['51-24=27'] Exploring Operation: 40/10=4, Resulting Numbers: [27, 4] Generated Node #3: [27, 4] from Operation: 40/10=4 Current State: 31:[27, 4], Operations: ['51-24=27', '40/10=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[24, 10, 40, 51], Operations: [] Exploring Operation: 40-10=30, Resulting Numbers: [24, 51, 30] Generated Node #0,0: 31:[24, 51, 30] Operation: 40-10=30 Exploring Operation: 51-10=41, Resulting Numbers: [24, 40, 41] Generated Node #0,1: 31:[24, 40, 41] Operation: 51-10=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[24, 40, 41], Operations: ['51-10=41'] Exploring Operation: 40-24=16, Resulting Numbers: [41, 16] Generated Node #0,1,0: 31:[41, 16] Operation: 40-24=16 Exploring Operation: 41-24=17, Resulting Numbers: [40, 17] Generated Node #0,1,1: 31:[40, 17] Operation: 41-24=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[40, 17], Operations: ['51-10=41', '41-24=17'] Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,31 unequal: No Solution Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,31 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: 31:[41, 16], Operations: ['51-10=41', '40-24=16'] Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,31 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,31 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: 31:[24, 51, 30], Operations: ['40-10=30'] Exploring Operation: 51-30=21, Resulting Numbers: [24, 21] Generated Node #0,0,0: 31:[24, 21] Operation: 51-30=21 Exploring Operation: 51-24=27, Resulting Numbers: [30, 27] Generated Node #0,0,1: 31:[30, 27] Operation: 51-24=27 Moving to Node #0,0,1 Current State: 31:[30, 27], Operations: ['40-10=30', '51-24=27'] Exploring Operation: 30+27=57, Resulting Numbers: [57] 57,31 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[24, 21], Operations: ['40-10=30', '51-30=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,31 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,31 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
[ 92, 88, 69, 20 ]
11
[ "92-88=4", "20*4=80", "80-69=11" ]
Current State: 11:[92, 88, 69, 20], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [69, 20, 4] Generated Node #2: [69, 20, 4] from Operation: 92-88=4 Current State: 11:[69, 20, 4], Operations: ['92-88=4'] Exploring Operation: 20*4=80, Resulting Numbers: [69, 80] Generated Node #3: [69, 80] from Operation: 20*4=80 Current State: 11:[69, 80], Operations: ['92-88=4', '20*4=80'] Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[92, 88, 69, 20], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [69, 20, 4] Generated Node #0,0: 11:[69, 20, 4] Operation: 92-88=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[69, 20, 4], Operations: ['92-88=4'] Exploring Operation: 69-20=49, Resulting Numbers: [4, 49] Generated Node #0,0,0: 11:[4, 49] Operation: 69-20=49 Moving to Node #0,0,0 Current State: 11:[4, 49], Operations: ['92-88=4', '69-20=49'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,11 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
[ 65, 23, 5, 58 ]
94
[ "65/5=13", "23+58=81", "13+81=94" ]
Current State: 94:[65, 23, 5, 58], Operations: [] Exploring Operation: 65/5=13, Resulting Numbers: [23, 58, 13] Generated Node #2: [23, 58, 13] from Operation: 65/5=13 Current State: 94:[23, 58, 13], Operations: ['65/5=13'] Exploring Operation: 23+58=81, Resulting Numbers: [13, 81] Generated Node #3: [13, 81] from Operation: 23+58=81 Current State: 94:[13, 81], Operations: ['65/5=13', '23+58=81'] Exploring Operation: 13+81=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[65, 23, 5, 58], Operations: [] Exploring Operation: 65-23=42, Resulting Numbers: [5, 58, 42] Generated Node #0,0: 94:[5, 58, 42] Operation: 65-23=42 Moving to Node #0,0 Current State: 94:[5, 58, 42], Operations: ['65-23=42'] Exploring Operation: 58+42=100, Resulting Numbers: [5, 100] Generated Node #0,0,0: 94:[5, 100] Operation: 58+42=100 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[5, 100], Operations: ['65-23=42', '58+42=100'] Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,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
mult_heuristic
[ 46, 57, 13, 49 ]
96
[ "49-46=3", "13*3=39", "57+39=96" ]
Current State: 96:[46, 57, 13, 49], Operations: [] Exploring Operation: 49-46=3, Resulting Numbers: [57, 13, 3] Generated Node #2: [57, 13, 3] from Operation: 49-46=3 Current State: 96:[57, 13, 3], Operations: ['49-46=3'] Exploring Operation: 13*3=39, Resulting Numbers: [57, 39] Generated Node #3: [57, 39] from Operation: 13*3=39 Current State: 96:[57, 39], Operations: ['49-46=3', '13*3=39'] Exploring Operation: 57+39=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[46, 57, 13, 49], Operations: [] Exploring Operation: 46+57=103, Resulting Numbers: [13, 49, 103] Generated Node #0,0: 96:[13, 49, 103] Operation: 46+57=103 Exploring Operation: 57-13=44, Resulting Numbers: [46, 49, 44] Generated Node #0,1: 96:[46, 49, 44] Operation: 57-13=44 Exploring Operation: 57-46=11, Resulting Numbers: [13, 49, 11] Generated Node #0,2: 96:[13, 49, 11] Operation: 57-46=11 Exploring Operation: 49-46=3, Resulting Numbers: [57, 13, 3] Generated Node #0,3: 96:[57, 13, 3] Operation: 49-46=3 Exploring Operation: 57-49=8, Resulting Numbers: [46, 13, 8] Generated Node #0,4: 96:[46, 13, 8] Operation: 57-49=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[13, 49, 11], Operations: ['57-46=11'] Exploring Operation: 13+11=24, Resulting Numbers: [49, 24] Generated Node #0,2,0: 96:[49, 24] Operation: 13+11=24 Exploring Operation: 49-11=38, Resulting Numbers: [13, 38] Generated Node #0,2,1: 96:[13, 38] Operation: 49-11=38 Exploring Operation: 49-13=36, Resulting Numbers: [11, 36] Generated Node #0,2,2: 96:[11, 36] Operation: 49-13=36 Exploring Operation: 49+11=60, Resulting Numbers: [13, 60] Generated Node #0,2,3: 96:[13, 60] Operation: 49+11=60 Exploring Operation: 13-11=2, Resulting Numbers: [49, 2] Generated Node #0,2,4: 96:[49, 2] Operation: 13-11=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[49, 24], Operations: ['57-46=11', '13+11=24'] Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,96 unequal: No Solution Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,96 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,96 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: 96:[49, 2], Operations: ['57-46=11', '13-11=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,96 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,96 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,96 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: 96:[11, 36], Operations: ['57-46=11', '49-13=36'] Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,96 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: 96:[13, 38], Operations: ['57-46=11', '49-11=38'] Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,96 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,96 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: 96:[13, 60], Operations: ['57-46=11', '49+11=60'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,96 unequal: No Solution Exploring Operation: 13*60=780, Resulting Numbers: [780] 780,96 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,4 Current State: 96:[46, 13, 8], Operations: ['57-49=8'] Exploring Operation: 13-8=5, Resulting Numbers: [46, 5] Generated Node #0,4,0: 96:[46, 5] Operation: 13-8=5 Exploring Operation: 46-8=38, Resulting Numbers: [13, 38] Generated Node #0,4,1: 96:[13, 38] Operation: 46-8=38 Exploring Operation: 13+8=21, Resulting Numbers: [46, 21] Generated Node #0,4,2: 96:[46, 21] Operation: 13+8=21 Exploring Operation: 46-13=33, Resulting Numbers: [8, 33] Generated Node #0,4,3: 96:[8, 33] Operation: 46-13=33 Exploring Operation: 46+8=54, Resulting Numbers: [13, 54] Generated Node #0,4,4: 96:[13, 54] Operation: 46+8=54 Moving to Node #0,4,3 Current State: 96:[8, 33], Operations: ['57-49=8', '46-13=33'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,96 unequal: No Solution Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,96 unequal: No Solution Moving to Node #0,4,0 Current State: 96:[46, 5], Operations: ['57-49=8', '13-8=5'] Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,96 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,96 unequal: No Solution Moving to Node #0,4,2 Current State: 96:[46, 21], Operations: ['57-49=8', '13+8=21'] Exploring Operation: 46*21=966, Resulting Numbers: [966] 966,96 unequal: No Solution Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 46+21=67, Resulting Numbers: [67] 67,96 unequal: No Solution Moving to Node #0,4,1 Current State: 96:[13, 38], Operations: ['57-49=8', '46-8=38'] Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,96 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,96 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,96 unequal: No Solution Moving to Node #0,4,4 Current State: 96:[13, 54], Operations: ['57-49=8', '46+8=54'] Exploring Operation: 13+54=67, Resulting Numbers: [67] 67,96 unequal: No Solution Exploring Operation: 13*54=702, Resulting Numbers: [702] 702,96 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,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 Current State: 96:[46, 49, 44], Operations: ['57-13=44'] Exploring Operation: 46+49=95, Resulting Numbers: [44, 95] Generated Node #0,1,0: 96:[44, 95] Operation: 46+49=95 Exploring Operation: 46-44=2, Resulting Numbers: [49, 2] Generated Node #0,1,1: 96:[49, 2] Operation: 46-44=2 Exploring Operation: 49+44=93, Resulting Numbers: [46, 93] Generated Node #0,1,2: 96:[46, 93] Operation: 49+44=93 Exploring Operation: 49-46=3, Resulting Numbers: [44, 3] Generated Node #0,1,3: 96:[44, 3] Operation: 49-46=3 Exploring Operation: 49-44=5, Resulting Numbers: [46, 5] Generated Node #0,1,4: 96:[46, 5] Operation: 49-44=5 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[49, 2], Operations: ['57-13=44', '46-44=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,96 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,96 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: 96:[46, 5], Operations: ['57-13=44', '49-44=5'] Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,96 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,96 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: 96:[44, 3], Operations: ['57-13=44', '49-46=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,96 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: 96:[44, 95], Operations: ['57-13=44', '46+49=95'] Exploring Operation: 44*95=4180, Resulting Numbers: [4180] 4180,96 unequal: No Solution Exploring Operation: 44+95=139, Resulting Numbers: [139] 139,96 unequal: No Solution Exploring Operation: 95-44=51, Resulting Numbers: [51] 51,96 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: 96:[46, 93], Operations: ['57-13=44', '49+44=93'] Exploring Operation: 93-46=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 46*93=4278, Resulting Numbers: [4278] 4278,96 unequal: No Solution Exploring Operation: 46+93=139, Resulting Numbers: [139] 139,96 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: 96:[13, 49, 103], Operations: ['46+57=103'] Exploring Operation: 13+49=62, Resulting Numbers: [103, 62] Generated Node #0,0,0: 96:[103, 62] Operation: 13+49=62 Exploring Operation: 13+103=116, Resulting Numbers: [49, 116] Generated Node #0,0,1: 96:[49, 116] Operation: 13+103=116 Exploring Operation: 103-49=54, Resulting Numbers: [13, 54] Generated Node #0,0,2: 96:[13, 54] Operation: 103-49=54 Exploring Operation: 103-13=90, Resulting Numbers: [49, 90] Generated Node #0,0,3: 96:[49, 90] Operation: 103-13=90 Exploring Operation: 49-13=36, Resulting Numbers: [103, 36] Generated Node #0,0,4: 96:[103, 36] Operation: 49-13=36 Moving to Node #0,0,2 Current State: 96:[13, 54], Operations: ['46+57=103', '103-49=54'] Exploring Operation: 13*54=702, Resulting Numbers: [702] 702,96 unequal: No Solution Exploring Operation: 13+54=67, Resulting Numbers: [67] 67,96 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,96 unequal: No Solution Moving to Node #0,0,3 Current State: 96:[49, 90], Operations: ['46+57=103', '103-13=90'] Exploring Operation: 49*90=4410, Resulting Numbers: [4410] 4410,96 unequal: No Solution Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 49+90=139, Resulting Numbers: [139] 139,96 unequal: No Solution Moving to Node #0,0,4 Current State: 96:[103, 36], Operations: ['46+57=103', '49-13=36'] Exploring Operation: 103-36=67, Resulting Numbers: [67] 67,96 unequal: No Solution Exploring Operation: 103*36=3708, Resulting Numbers: [3708] 3708,96 unequal: No Solution Exploring Operation: 103+36=139, Resulting Numbers: [139] 139,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[103, 62], Operations: ['46+57=103', '13+49=62'] Exploring Operation: 103+62=165, Resulting Numbers: [165] 165,96 unequal: No Solution Exploring Operation: 103*62=6386, Resulting Numbers: [6386] 6386,96 unequal: No Solution Exploring Operation: 103-62=41, Resulting Numbers: [41] 41,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[49, 116], Operations: ['46+57=103', '13+103=116'] Exploring Operation: 49+116=165, Resulting Numbers: [165] 165,96 unequal: No Solution Exploring Operation: 49*116=5684, Resulting Numbers: [5684] 5684,96 unequal: No Solution Exploring Operation: 116-49=67, Resulting Numbers: [67] 67,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 Current State: 96:[57, 13, 3], Operations: ['49-46=3'] Exploring Operation: 57-13=44, Resulting Numbers: [3, 44] Generated Node #0,3,0: 96:[3, 44] Operation: 57-13=44 Exploring Operation: 13+3=16, Resulting Numbers: [57, 16] Generated Node #0,3,1: 96:[57, 16] Operation: 13+3=16 Exploring Operation: 57/3=19, Resulting Numbers: [13, 19] Generated Node #0,3,2: 96:[13, 19] Operation: 57/3=19 Exploring Operation: 13-3=10, Resulting Numbers: [57, 10] Generated Node #0,3,3: 96:[57, 10] Operation: 13-3=10 Exploring Operation: 57-3=54, Resulting Numbers: [13, 54] Generated Node #0,3,4: 96:[13, 54] Operation: 57-3=54 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 96:[3, 44], Operations: ['49-46=3', '57-13=44'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 3*44=132, Resulting Numbers: [132] 132,96 unequal: No Solution Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,96 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: 96:[13, 19], Operations: ['49-46=3', '57/3=19'] Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 13*19=247, Resulting Numbers: [247] 247,96 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,96 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: 96:[13, 54], Operations: ['49-46=3', '57-3=54'] Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 13+54=67, Resulting Numbers: [67] 67,96 unequal: No Solution Exploring Operation: 13*54=702, Resulting Numbers: [702] 702,96 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,1 Current State: 96:[57, 16], Operations: ['49-46=3', '13+3=16'] Exploring Operation: 57*16=912, Resulting Numbers: [912] 912,96 unequal: No Solution Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,96 unequal: No Solution Exploring Operation: 57+16=73, Resulting Numbers: [73] 73,96 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: 96:[57, 10], Operations: ['49-46=3', '13-3=10'] Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,96 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,96 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_5
mult_heuristic
[ 56, 80, 7, 34 ]
70
[ "80-56=24", "34-24=10", "7*10=70" ]
Current State: 70:[56, 80, 7, 34], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [7, 34, 24] Generated Node #2: [7, 34, 24] from Operation: 80-56=24 Current State: 70:[7, 34, 24], Operations: ['80-56=24'] Exploring Operation: 34-24=10, Resulting Numbers: [7, 10] Generated Node #3: [7, 10] from Operation: 34-24=10 Current State: 70:[7, 10], Operations: ['80-56=24', '34-24=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[56, 80, 7, 34], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [7, 34, 24] Generated Node #0,0: 70:[7, 34, 24] Operation: 80-56=24 Exploring Operation: 56/7=8, Resulting Numbers: [80, 34, 8] Generated Node #0,1: 70:[80, 34, 8] Operation: 56/7=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[7, 34, 24], Operations: ['80-56=24'] Exploring Operation: 24-7=17, Resulting Numbers: [34, 17] Generated Node #0,0,0: 70:[34, 17] Operation: 24-7=17 Exploring Operation: 34-24=10, Resulting Numbers: [7, 10] Generated Node #0,0,1: 70:[7, 10] Operation: 34-24=10 Moving to Node #0,0,1 Current State: 70:[7, 10], Operations: ['80-56=24', '34-24=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[56, 80, 7, 34], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [7, 34, 24] Generated Node #0,0: 70:[7, 34, 24] Operation: 80-56=24 Moving to Node #0,0 Current State: 70:[7, 34, 24], Operations: ['80-56=24'] Exploring Operation: 34-24=10, Resulting Numbers: [7, 10] Generated Node #0,0,1: 70:[7, 10] Operation: 34-24=10 Moving to Node #0,0,1 Current State: 70:[7, 10], Operations: ['80-56=24', '34-24=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 93, 37, 37, 92 ]
74
[ "93-92=1", "37+37=74", "1*74=74" ]
Current State: 74:[93, 37, 37, 92], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [37, 37, 1] Generated Node #2: [37, 37, 1] from Operation: 93-92=1 Current State: 74:[37, 37, 1], Operations: ['93-92=1'] Exploring Operation: 37+37=74, Resulting Numbers: [1, 74] Generated Node #3: [1, 74] from Operation: 37+37=74 Current State: 74:[1, 74], Operations: ['93-92=1', '37+37=74'] Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[93, 37, 37, 92], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [37, 37, 1] Generated Node #0,0: 74:[37, 37, 1] Operation: 93-92=1 Moving to Node #0,0 Current State: 74:[37, 37, 1], Operations: ['93-92=1'] Exploring Operation: 37*1=37, Resulting Numbers: [37, 37] Generated Node #0,0,0: 74:[37, 37] Operation: 37*1=37 Moving to Node #0,0,0 Current State: 74:[37, 37], Operations: ['93-92=1', '37*1=37'] Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[93, 37, 37, 92], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [37, 37, 1] Generated Node #0,0: 74:[37, 37, 1] Operation: 93-92=1 Moving to Node #0,0 Current State: 74:[37, 37, 1], Operations: ['93-92=1'] Exploring Operation: 37*1=37, Resulting Numbers: [37, 37] Generated Node #0,0,0: 74:[37, 37] Operation: 37*1=37 Moving to Node #0,0,0 Current State: 74:[37, 37], Operations: ['93-92=1', '37*1=37'] Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 61, 20, 91, 49 ]
83
[ "61-20=41", "91-49=42", "41+42=83" ]
Current State: 83:[61, 20, 91, 49], Operations: [] Exploring Operation: 61-20=41, Resulting Numbers: [91, 49, 41] Generated Node #2: [91, 49, 41] from Operation: 61-20=41 Current State: 83:[91, 49, 41], Operations: ['61-20=41'] Exploring Operation: 91-49=42, Resulting Numbers: [41, 42] Generated Node #3: [41, 42] from Operation: 91-49=42 Current State: 83:[41, 42], Operations: ['61-20=41', '91-49=42'] Exploring Operation: 41+42=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[61, 20, 91, 49], Operations: [] Exploring Operation: 61+20=81, Resulting Numbers: [91, 49, 81] Generated Node #0,0: 83:[91, 49, 81] Operation: 61+20=81 Exploring Operation: 20+49=69, Resulting Numbers: [61, 91, 69] Generated Node #0,1: 83:[61, 91, 69] Operation: 20+49=69 Exploring Operation: 91-20=71, Resulting Numbers: [61, 49, 71] Generated Node #0,2: 83:[61, 49, 71] Operation: 91-20=71 Moving to Node #0,0 Current State: 83:[91, 49, 81], Operations: ['61+20=81'] Exploring Operation: 91+49=140, Resulting Numbers: [81, 140] Generated Node #0,0,0: 83:[81, 140] Operation: 91+49=140 Exploring Operation: 91-49=42, Resulting Numbers: [81, 42] Generated Node #0,0,1: 83:[81, 42] Operation: 91-49=42 Exploring Operation: 49+81=130, Resulting Numbers: [91, 130] Generated Node #0,0,2: 83:[91, 130] Operation: 49+81=130 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[81, 42], Operations: ['61+20=81', '91-49=42'] Exploring Operation: 81+42=123, Resulting Numbers: [123] 123,83 unequal: No Solution Exploring Operation: 81*42=3402, Resulting Numbers: [3402] 3402,83 unequal: No Solution Exploring Operation: 81-42=39, Resulting Numbers: [39] 39,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,0,2 Current State: 83:[91, 130], Operations: ['61+20=81', '49+81=130'] Exploring Operation: 91*130=11830, Resulting Numbers: [11830] 11830,83 unequal: No Solution Exploring Operation: 130-91=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 91+130=221, Resulting Numbers: [221] 221,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,0,0 Current State: 83:[81, 140], Operations: ['61+20=81', '91+49=140'] Exploring Operation: 81+140=221, Resulting Numbers: [221] 221,83 unequal: No Solution Exploring Operation: 81*140=11340, Resulting Numbers: [11340] 11340,83 unequal: No Solution Exploring Operation: 140-81=59, Resulting Numbers: [59] 59,83 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: 83:[61, 91, 69], Operations: ['20+49=69'] Exploring Operation: 91-61=30, Resulting Numbers: [69, 30] Generated Node #0,1,0: 83:[69, 30] Operation: 91-61=30 Exploring Operation: 61+91=152, Resulting Numbers: [69, 152] Generated Node #0,1,1: 83:[69, 152] Operation: 61+91=152 Exploring Operation: 61+69=130, Resulting Numbers: [91, 130] Generated Node #0,1,2: 83:[91, 130] Operation: 61+69=130 Moving to Node #0,2 Current State: 83:[61, 49, 71], Operations: ['91-20=71'] Exploring Operation: 61-49=12, Resulting Numbers: [71, 12] Generated Node #0,2,0: 83:[71, 12] Operation: 61-49=12 Exploring Operation: 61+49=110, Resulting Numbers: [71, 110] Generated Node #0,2,1: 83:[71, 110] Operation: 61+49=110 Exploring Operation: 49+71=120, Resulting Numbers: [61, 120] Generated Node #0,2,2: 83:[61, 120] Operation: 49+71=120 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[71, 110], Operations: ['91-20=71', '61+49=110'] Exploring Operation: 71*110=7810, Resulting Numbers: [7810] 7810,83 unequal: No Solution Exploring Operation: 71+110=181, Resulting Numbers: [181] 181,83 unequal: No Solution Exploring Operation: 110-71=39, Resulting Numbers: [39] 39,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,2,2 Current State: 83:[61, 120], Operations: ['91-20=71', '49+71=120'] Exploring Operation: 61+120=181, Resulting Numbers: [181] 181,83 unequal: No Solution Exploring Operation: 120-61=59, Resulting Numbers: [59] 59,83 unequal: No Solution Exploring Operation: 61*120=7320, Resulting Numbers: [7320] 7320,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,2,0 Current State: 83:[71, 12], Operations: ['91-20=71', '61-49=12'] Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,83 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,83 unequal: No Solution Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[61, 20, 91, 49], Operations: [] Exploring Operation: 91-20=71, Resulting Numbers: [61, 49, 71] Generated Node #0,2: 83:[61, 49, 71] Operation: 91-20=71 Moving to Node #0,2 Current State: 83:[61, 49, 71], Operations: ['91-20=71'] Exploring Operation: 61-49=12, Resulting Numbers: [71, 12] Generated Node #0,2,0: 83:[71, 12] Operation: 61-49=12 Moving to Node #0,2,0 Current State: 83:[71, 12], Operations: ['91-20=71', '61-49=12'] Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_3
sum_heuristic
[ 40, 63, 68, 82 ]
89
[ "40+63=103", "82-68=14", "103-14=89" ]
Current State: 89:[40, 63, 68, 82], Operations: [] Exploring Operation: 40+63=103, Resulting Numbers: [68, 82, 103] Generated Node #2: [68, 82, 103] from Operation: 40+63=103 Current State: 89:[68, 82, 103], Operations: ['40+63=103'] Exploring Operation: 82-68=14, Resulting Numbers: [103, 14] Generated Node #3: [103, 14] from Operation: 82-68=14 Current State: 89:[103, 14], Operations: ['40+63=103', '82-68=14'] Exploring Operation: 103-14=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[40, 63, 68, 82], Operations: [] Exploring Operation: 40+63=103, Resulting Numbers: [68, 82, 103] Generated Node #0,0: 89:[68, 82, 103] Operation: 40+63=103 Moving to Node #0,0 Current State: 89:[68, 82, 103], Operations: ['40+63=103'] Exploring Operation: 103-68=35, Resulting Numbers: [82, 35] Generated Node #0,0,0: 89:[82, 35] Operation: 103-68=35 Moving to Node #0,0,0 Current State: 89:[82, 35], Operations: ['40+63=103', '103-68=35'] Exploring Operation: 82+35=117, Resulting Numbers: [117] 117,89 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 38, 60, 57, 28 ]
48
[ "60-28=32", "57*32=1824", "1824/38=48" ]
Current State: 48:[38, 60, 57, 28], Operations: [] Exploring Operation: 60-28=32, Resulting Numbers: [38, 57, 32] Generated Node #2: [38, 57, 32] from Operation: 60-28=32 Current State: 48:[38, 57, 32], Operations: ['60-28=32'] Exploring Operation: 57*32=1824, Resulting Numbers: [38, 1824] Generated Node #3: [38, 1824] from Operation: 57*32=1824 Current State: 48:[38, 1824], Operations: ['60-28=32', '57*32=1824'] Exploring Operation: 1824/38=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[38, 60, 57, 28], Operations: [] Exploring Operation: 60-38=22, Resulting Numbers: [57, 28, 22] Generated Node #0,0: 48:[57, 28, 22] Operation: 60-38=22 Exploring Operation: 57-38=19, Resulting Numbers: [60, 28, 19] Generated Node #0,1: 48:[60, 28, 19] Operation: 57-38=19 Exploring Operation: 60-57=3, Resulting Numbers: [38, 28, 3] Generated Node #0,2: 48:[38, 28, 3] Operation: 60-57=3 Moving to Node #0,2 Current State: 48:[38, 28, 3], Operations: ['60-57=3'] Exploring Operation: 38-28=10, Resulting Numbers: [3, 10] Generated Node #0,2,0: 48:[3, 10] Operation: 38-28=10 Exploring Operation: 38+3=41, Resulting Numbers: [28, 41] Generated Node #0,2,1: 48:[28, 41] Operation: 38+3=41 Exploring Operation: 28-3=25, Resulting Numbers: [38, 25] Generated Node #0,2,2: 48:[38, 25] Operation: 28-3=25 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[3, 10], Operations: ['60-57=3', '38-28=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,48 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: 48:[28, 41], Operations: ['60-57=3', '38+3=41'] Exploring Operation: 28+41=69, Resulting Numbers: [69] 69,48 unequal: No Solution Exploring Operation: 28*41=1148, Resulting Numbers: [1148] 1148,48 unequal: No Solution Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,48 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: 48:[38, 25], Operations: ['60-57=3', '28-3=25'] Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 38*25=950, Resulting Numbers: [950] 950,48 unequal: No Solution Exploring Operation: 38+25=63, Resulting Numbers: [63] 63,48 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: 48:[57, 28, 22], Operations: ['60-38=22'] Exploring Operation: 57-28=29, Resulting Numbers: [22, 29] Generated Node #0,0,0: 48:[22, 29] Operation: 57-28=29 Exploring Operation: 28-22=6, Resulting Numbers: [57, 6] Generated Node #0,0,1: 48:[57, 6] Operation: 28-22=6 Exploring Operation: 28+22=50, Resulting Numbers: [57, 50] Generated Node #0,0,2: 48:[57, 50] Operation: 28+22=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[22, 29], Operations: ['60-38=22', '57-28=29'] Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,48 unequal: No Solution Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,48 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,48 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: 48:[57, 6], Operations: ['60-38=22', '28-22=6'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,48 unequal: No Solution Exploring Operation: 57*6=342, Resulting Numbers: [342] 342,48 unequal: No Solution Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,48 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: 48:[57, 50], Operations: ['60-38=22', '28+22=50'] Exploring Operation: 57+50=107, Resulting Numbers: [107] 107,48 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 57*50=2850, Resulting Numbers: [2850] 2850,48 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: 48:[60, 28, 19], Operations: ['57-38=19'] Exploring Operation: 28+19=47, Resulting Numbers: [60, 47] Generated Node #0,1,0: 48:[60, 47] Operation: 28+19=47 Exploring Operation: 60-19=41, Resulting Numbers: [28, 41] Generated Node #0,1,1: 48:[28, 41] Operation: 60-19=41 Exploring Operation: 60-28=32, Resulting Numbers: [19, 32] Generated Node #0,1,2: 48:[19, 32] Operation: 60-28=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[28, 41], Operations: ['57-38=19', '60-19=41'] Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 28*41=1148, Resulting Numbers: [1148] 1148,48 unequal: No Solution Exploring Operation: 28+41=69, Resulting Numbers: [69] 69,48 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: 48:[19, 32], Operations: ['57-38=19', '60-28=32'] Exploring Operation: 19*32=608, Resulting Numbers: [608] 608,48 unequal: No Solution Exploring Operation: 19+32=51, Resulting Numbers: [51] 51,48 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,48 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: 48:[60, 47], Operations: ['57-38=19', '28+19=47'] Exploring Operation: 60+47=107, Resulting Numbers: [107] 107,48 unequal: No Solution Exploring Operation: 60*47=2820, Resulting Numbers: [2820] 2820,48 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,48 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
[ 58, 3, 41, 39 ]
46
[ "58+41=99", "39+99=138", "138/3=46" ]
Current State: 46:[58, 3, 41, 39], Operations: [] Exploring Operation: 58+41=99, Resulting Numbers: [3, 39, 99] Generated Node #2: [3, 39, 99] from Operation: 58+41=99 Current State: 46:[3, 39, 99], Operations: ['58+41=99'] Exploring Operation: 39+99=138, Resulting Numbers: [3, 138] Generated Node #3: [3, 138] from Operation: 39+99=138 Current State: 46:[3, 138], Operations: ['58+41=99', '39+99=138'] Exploring Operation: 138/3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[58, 3, 41, 39], Operations: [] Exploring Operation: 58-41=17, Resulting Numbers: [3, 39, 17] Generated Node #0,0: 46:[3, 39, 17] Operation: 58-41=17 Exploring Operation: 58-3=55, Resulting Numbers: [41, 39, 55] Generated Node #0,1: 46:[41, 39, 55] Operation: 58-3=55 Exploring Operation: 58-39=19, Resulting Numbers: [3, 41, 19] Generated Node #0,2: 46:[3, 41, 19] Operation: 58-39=19 Exploring Operation: 41-39=2, Resulting Numbers: [58, 3, 2] Generated Node #0,3: 46:[58, 3, 2] Operation: 41-39=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[3, 41, 19], Operations: ['58-39=19'] Exploring Operation: 41-19=22, Resulting Numbers: [3, 22] Generated Node #0,2,0: 46:[3, 22] Operation: 41-19=22 Exploring Operation: 3+19=22, Resulting Numbers: [41, 22] Generated Node #0,2,1: 46:[41, 22] Operation: 3+19=22 Exploring Operation: 41-3=38, Resulting Numbers: [19, 38] Generated Node #0,2,2: 46:[19, 38] Operation: 41-3=38 Exploring Operation: 3+41=44, Resulting Numbers: [19, 44] Generated Node #0,2,3: 46:[19, 44] Operation: 3+41=44 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 46:[3, 22], Operations: ['58-39=19', '41-19=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,46 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,46 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: 46:[41, 22], Operations: ['58-39=19', '3+19=22'] Exploring Operation: 41+22=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 41*22=902, Resulting Numbers: [902] 902,46 unequal: No Solution Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,46 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: 46:[19, 44], Operations: ['58-39=19', '3+41=44'] Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,46 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: 46:[19, 38], Operations: ['58-39=19', '41-3=38'] Exploring Operation: 19+38=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 19*38=722, Resulting Numbers: [722] 722,46 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,46 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: 46:[58, 3, 2], Operations: ['41-39=2'] Exploring Operation: 58/2=29, Resulting Numbers: [3, 29] Generated Node #0,3,0: 46:[3, 29] Operation: 58/2=29 Exploring Operation: 3-2=1, Resulting Numbers: [58, 1] Generated Node #0,3,1: 46:[58, 1] Operation: 3-2=1 Exploring Operation: 58-2=56, Resulting Numbers: [3, 56] Generated Node #0,3,2: 46:[3, 56] Operation: 58-2=56 Exploring Operation: 58-3=55, Resulting Numbers: [2, 55] Generated Node #0,3,3: 46:[2, 55] Operation: 58-3=55 Moving to Node #0,3,0 Current State: 46:[3, 29], Operations: ['41-39=2', '58/2=29'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[2, 55], Operations: ['41-39=2', '58-3=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[3, 56], Operations: ['41-39=2', '58-2=56'] Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,46 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[58, 1], Operations: ['41-39=2', '3-2=1'] Exploring Operation: 58+1=59, Resulting Numbers: [59] 59,46 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,46 unequal: No Solution Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,46 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: 46:[3, 39, 17], Operations: ['58-41=17'] Exploring Operation: 3+17=20, Resulting Numbers: [39, 20] Generated Node #0,0,0: 46:[39, 20] Operation: 3+17=20 Exploring Operation: 39-17=22, Resulting Numbers: [3, 22] Generated Node #0,0,1: 46:[3, 22] Operation: 39-17=22 Exploring Operation: 39+17=56, Resulting Numbers: [3, 56] Generated Node #0,0,2: 46:[3, 56] Operation: 39+17=56 Exploring Operation: 3+39=42, Resulting Numbers: [17, 42] Generated Node #0,0,3: 46:[17, 42] Operation: 3+39=42 Moving to Node #0,0,1 Current State: 46:[3, 22], Operations: ['58-41=17', '39-17=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[17, 42], Operations: ['58-41=17', '3+39=42'] Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,46 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[39, 20], Operations: ['58-41=17', '3+17=20'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,46 unequal: No Solution Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,46 unequal: No Solution Exploring Operation: 39*20=780, Resulting Numbers: [780] 780,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[3, 56], Operations: ['58-41=17', '39+17=56'] Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,46 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,46 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: 46:[41, 39, 55], Operations: ['58-3=55'] Exploring Operation: 55-41=14, Resulting Numbers: [39, 14] Generated Node #0,1,0: 46:[39, 14] Operation: 55-41=14 Exploring Operation: 41+39=80, Resulting Numbers: [55, 80] Generated Node #0,1,1: 46:[55, 80] Operation: 41+39=80 Exploring Operation: 41-39=2, Resulting Numbers: [55, 2] Generated Node #0,1,2: 46:[55, 2] Operation: 41-39=2 Exploring Operation: 55-39=16, Resulting Numbers: [41, 16] Generated Node #0,1,3: 46:[41, 16] Operation: 55-39=16 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 46:[55, 2], Operations: ['58-3=55', '41-39=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,46 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: 46:[41, 16], Operations: ['58-3=55', '55-39=16'] Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,46 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,46 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: 46:[39, 14], Operations: ['58-3=55', '55-41=14'] Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,46 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,46 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: 46:[55, 80], Operations: ['58-3=55', '41+39=80'] Exploring Operation: 55+80=135, Resulting Numbers: [135] 135,46 unequal: No Solution Exploring Operation: 55*80=4400, Resulting Numbers: [4400] 4400,46 unequal: No Solution Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,46 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
mult_heuristic
[ 96, 28, 84, 91 ]
92
[ "91-84=7", "28/7=4", "96-4=92" ]
Current State: 92:[96, 28, 84, 91], Operations: [] Exploring Operation: 91-84=7, Resulting Numbers: [96, 28, 7] Generated Node #2: [96, 28, 7] from Operation: 91-84=7 Current State: 92:[96, 28, 7], Operations: ['91-84=7'] Exploring Operation: 28/7=4, Resulting Numbers: [96, 4] Generated Node #3: [96, 4] from Operation: 28/7=4 Current State: 92:[96, 4], Operations: ['91-84=7', '28/7=4'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[96, 28, 84, 91], Operations: [] Exploring Operation: 91-84=7, Resulting Numbers: [96, 28, 7] Generated Node #0,0: 92:[96, 28, 7] Operation: 91-84=7 Exploring Operation: 84/28=3, Resulting Numbers: [96, 91, 3] Generated Node #0,1: 92:[96, 91, 3] Operation: 84/28=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[96, 91, 3], Operations: ['84/28=3'] Exploring Operation: 96-91=5, Resulting Numbers: [3, 5] Generated Node #0,1,0: 92:[3, 5] Operation: 96-91=5 Exploring Operation: 96-3=93, Resulting Numbers: [91, 93] Generated Node #0,1,1: 92:[91, 93] Operation: 96-3=93 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[3, 5], Operations: ['84/28=3', '96-91=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,92 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: 92:[91, 93], Operations: ['84/28=3', '96-3=93'] Exploring Operation: 93-91=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 91+93=184, Resulting Numbers: [184] 184,92 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: 92:[96, 28, 7], Operations: ['91-84=7'] Exploring Operation: 28/7=4, Resulting Numbers: [96, 4] Generated Node #0,0,0: 92:[96, 4] Operation: 28/7=4 Exploring Operation: 28-7=21, Resulting Numbers: [96, 21] Generated Node #0,0,1: 92:[96, 21] Operation: 28-7=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[96, 4], Operations: ['91-84=7', '28/7=4'] Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[96, 28, 84, 91], Operations: [] Exploring Operation: 91-84=7, Resulting Numbers: [96, 28, 7] Generated Node #0,0: 92:[96, 28, 7] Operation: 91-84=7 Moving to Node #0,0 Current State: 92:[96, 28, 7], Operations: ['91-84=7'] Exploring Operation: 28/7=4, Resulting Numbers: [96, 4] Generated Node #0,0,0: 92:[96, 4] Operation: 28/7=4 Moving to Node #0,0,0 Current State: 92:[96, 4], Operations: ['91-84=7', '28/7=4'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 20, 58, 36, 92 ]
50
[ "20+58=78", "36+92=128", "128-78=50" ]
Current State: 50:[20, 58, 36, 92], Operations: [] Exploring Operation: 20+58=78, Resulting Numbers: [36, 92, 78] Generated Node #2: [36, 92, 78] from Operation: 20+58=78 Current State: 50:[36, 92, 78], Operations: ['20+58=78'] Exploring Operation: 36+92=128, Resulting Numbers: [78, 128] Generated Node #3: [78, 128] from Operation: 36+92=128 Current State: 50:[78, 128], Operations: ['20+58=78', '36+92=128'] Exploring Operation: 128-78=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[20, 58, 36, 92], Operations: [] Exploring Operation: 92-36=56, Resulting Numbers: [20, 58, 56] Generated Node #0,0: 50:[20, 58, 56] Operation: 92-36=56 Exploring Operation: 92-58=34, Resulting Numbers: [20, 36, 34] Generated Node #0,1: 50:[20, 36, 34] Operation: 92-58=34 Exploring Operation: 58-36=22, Resulting Numbers: [20, 92, 22] Generated Node #0,2: 50:[20, 92, 22] Operation: 58-36=22 Exploring Operation: 92-20=72, Resulting Numbers: [58, 36, 72] Generated Node #0,3: 50:[58, 36, 72] Operation: 92-20=72 Exploring Operation: 20+36=56, Resulting Numbers: [58, 92, 56] Generated Node #0,4: 50:[58, 92, 56] Operation: 20+36=56 Moving to Node #0,0 Current State: 50:[20, 58, 56], Operations: ['92-36=56'] Exploring Operation: 20+58=78, Resulting Numbers: [56, 78] Generated Node #0,0,0: 50:[56, 78] Operation: 20+58=78 Exploring Operation: 58-56=2, Resulting Numbers: [20, 2] Generated Node #0,0,1: 50:[20, 2] Operation: 58-56=2 Exploring Operation: 20+56=76, Resulting Numbers: [58, 76] Generated Node #0,0,2: 50:[58, 76] Operation: 20+56=76 Exploring Operation: 56-20=36, Resulting Numbers: [58, 36] Generated Node #0,0,3: 50:[58, 36] Operation: 56-20=36 Exploring Operation: 58-20=38, Resulting Numbers: [56, 38] Generated Node #0,0,4: 50:[56, 38] Operation: 58-20=38 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[20, 2], Operations: ['92-36=56', '58-56=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,50 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,50 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,50 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: 50:[56, 38], Operations: ['92-36=56', '58-20=38'] Exploring Operation: 56+38=94, Resulting Numbers: [94] 94,50 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,50 unequal: No Solution Exploring Operation: 56*38=2128, Resulting Numbers: [2128] 2128,50 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: 50:[58, 36], Operations: ['92-36=56', '56-20=36'] Exploring Operation: 58*36=2088, Resulting Numbers: [2088] 2088,50 unequal: No Solution Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 58+36=94, Resulting Numbers: [94] 94,50 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: 50:[56, 78], Operations: ['92-36=56', '20+58=78'] Exploring Operation: 56*78=4368, Resulting Numbers: [4368] 4368,50 unequal: No Solution Exploring Operation: 78-56=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 56+78=134, Resulting Numbers: [134] 134,50 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: 50:[58, 76], Operations: ['92-36=56', '20+56=76'] Exploring Operation: 58*76=4408, Resulting Numbers: [4408] 4408,50 unequal: No Solution Exploring Operation: 76-58=18, Resulting Numbers: [18] 18,50 unequal: No Solution Exploring Operation: 58+76=134, Resulting Numbers: [134] 134,50 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: 50:[20, 36, 34], Operations: ['92-58=34'] Exploring Operation: 36-34=2, Resulting Numbers: [20, 2] Generated Node #0,1,0: 50:[20, 2] Operation: 36-34=2 Exploring Operation: 34-20=14, Resulting Numbers: [36, 14] Generated Node #0,1,1: 50:[36, 14] Operation: 34-20=14 Exploring Operation: 20+36=56, Resulting Numbers: [34, 56] Generated Node #0,1,2: 50:[34, 56] Operation: 20+36=56 Exploring Operation: 36-20=16, Resulting Numbers: [34, 16] Generated Node #0,1,3: 50:[34, 16] Operation: 36-20=16 Exploring Operation: 20+34=54, Resulting Numbers: [36, 54] Generated Node #0,1,4: 50:[36, 54] Operation: 20+34=54 Moving to Node #0,3 Current State: 50:[58, 36, 72], Operations: ['92-20=72'] Exploring Operation: 72/36=2, Resulting Numbers: [58, 2] Generated Node #0,3,0: 50:[58, 2] Operation: 72/36=2 Exploring Operation: 58-36=22, Resulting Numbers: [72, 22] Generated Node #0,3,1: 50:[72, 22] Operation: 58-36=22 Exploring Operation: 58+36=94, Resulting Numbers: [72, 94] Generated Node #0,3,2: 50:[72, 94] Operation: 58+36=94 Exploring Operation: 72-36=36, Resulting Numbers: [58, 36] Generated Node #0,3,3: 50:[58, 36] Operation: 72-36=36 Exploring Operation: 72-58=14, Resulting Numbers: [36, 14] Generated Node #0,3,4: 50:[36, 14] Operation: 72-58=14 Moving to Node #0,2 Current State: 50:[20, 92, 22], Operations: ['58-36=22'] Exploring Operation: 20+92=112, Resulting Numbers: [22, 112] Generated Node #0,2,0: 50:[22, 112] Operation: 20+92=112 Exploring Operation: 92-22=70, Resulting Numbers: [20, 70] Generated Node #0,2,1: 50:[20, 70] Operation: 92-22=70 Exploring Operation: 92-20=72, Resulting Numbers: [22, 72] Generated Node #0,2,2: 50:[22, 72] Operation: 92-20=72 Exploring Operation: 20+22=42, Resulting Numbers: [92, 42] Generated Node #0,2,3: 50:[92, 42] Operation: 20+22=42 Exploring Operation: 22-20=2, Resulting Numbers: [92, 2] Generated Node #0,2,4: 50:[92, 2] Operation: 22-20=2 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[20, 70], Operations: ['58-36=22', '92-22=70'] Exploring Operation: 20+70=90, Resulting Numbers: [90] 90,50 unequal: No Solution Exploring Operation: 20*70=1400, Resulting Numbers: [1400] 1400,50 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[20, 58, 36, 92], Operations: [] Exploring Operation: 58-36=22, Resulting Numbers: [20, 92, 22] Generated Node #0,2: 50:[20, 92, 22] Operation: 58-36=22 Moving to Node #0,2 Current State: 50:[20, 92, 22], Operations: ['58-36=22'] Exploring Operation: 92-22=70, Resulting Numbers: [20, 70] Generated Node #0,2,1: 50:[20, 70] Operation: 92-22=70 Moving to Node #0,2,1 Current State: 50:[20, 70], Operations: ['58-36=22', '92-22=70'] Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.958333
hs_5
mult_heuristic
[ 29, 31, 25, 6 ]
29
[ "29+31=60", "25+6=31", "60-31=29" ]
Current State: 29:[29, 31, 25, 6], Operations: [] Exploring Operation: 29+31=60, Resulting Numbers: [25, 6, 60] Generated Node #2: [25, 6, 60] from Operation: 29+31=60 Current State: 29:[25, 6, 60], Operations: ['29+31=60'] Exploring Operation: 25+6=31, Resulting Numbers: [60, 31] Generated Node #3: [60, 31] from Operation: 25+6=31 Current State: 29:[60, 31], Operations: ['29+31=60', '25+6=31'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[29, 31, 25, 6], Operations: [] Exploring Operation: 25+6=31, Resulting Numbers: [29, 31, 31] Generated Node #0,0: 29:[29, 31, 31] Operation: 25+6=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[29, 31, 31], Operations: ['25+6=31'] Exploring Operation: 31/31=1, Resulting Numbers: [29, 1] Generated Node #0,0,0: 29:[29, 1] Operation: 31/31=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[29, 1], Operations: ['25+6=31', '31/31=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[29, 31, 25, 6], Operations: [] Exploring Operation: 25+6=31, Resulting Numbers: [29, 31, 31] Generated Node #0,0: 29:[29, 31, 31] Operation: 25+6=31 Moving to Node #0,0 Current State: 29:[29, 31, 31], Operations: ['25+6=31'] Exploring Operation: 31/31=1, Resulting Numbers: [29, 1] Generated Node #0,0,0: 29:[29, 1] Operation: 31/31=1 Moving to Node #0,0,0 Current State: 29:[29, 1], Operations: ['25+6=31', '31/31=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 76, 18, 1, 36 ]
76
[ "36/18=2", "2-1=1", "76*1=76" ]
Current State: 76:[76, 18, 1, 36], Operations: [] Exploring Operation: 36/18=2, Resulting Numbers: [76, 1, 2] Generated Node #2: [76, 1, 2] from Operation: 36/18=2 Current State: 76:[76, 1, 2], Operations: ['36/18=2'] Exploring Operation: 2-1=1, Resulting Numbers: [76, 1] Generated Node #3: [76, 1] from Operation: 2-1=1 Current State: 76:[76, 1], Operations: ['36/18=2', '2-1=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[76, 18, 1, 36], Operations: [] Exploring Operation: 36/18=2, Resulting Numbers: [76, 1, 2] Generated Node #0,0: 76:[76, 1, 2] Operation: 36/18=2 Exploring Operation: 18+1=19, Resulting Numbers: [76, 36, 19] Generated Node #0,1: 76:[76, 36, 19] Operation: 18+1=19 Exploring Operation: 1+36=37, Resulting Numbers: [76, 18, 37] Generated Node #0,2: 76:[76, 18, 37] Operation: 1+36=37 Exploring Operation: 76*1=76, Resulting Numbers: [18, 36, 76] Generated Node #0,3: 76:[18, 36, 76] Operation: 76*1=76 Exploring Operation: 36-18=18, Resulting Numbers: [76, 1, 18] Generated Node #0,4: 76:[76, 1, 18] Operation: 36-18=18 Moving to Node #0,0 Current State: 76:[76, 1, 2], Operations: ['36/18=2'] Exploring Operation: 76/1=76, Resulting Numbers: [2, 76] Generated Node #0,0,0: 76:[2, 76] Operation: 76/1=76 Exploring Operation: 76+1=77, Resulting Numbers: [2, 77] Generated Node #0,0,1: 76:[2, 77] Operation: 76+1=77 Exploring Operation: 2/1=2, Resulting Numbers: [76, 2] Generated Node #0,0,2: 76:[76, 2] Operation: 2/1=2 Exploring Operation: 76*1=76, Resulting Numbers: [2, 76] Generated Node #0,0,3: 76:[2, 76] Operation: 76*1=76 Exploring Operation: 1*2=2, Resulting Numbers: [76, 2] Generated Node #0,0,4: 76:[76, 2] Operation: 1*2=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[2, 76], Operations: ['36/18=2', '76/1=76'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,76 unequal: No Solution Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,76 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,76 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: 76:[76, 2], Operations: ['36/18=2', '2/1=2'] Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,76 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,76 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: 76:[2, 76], Operations: ['36/18=2', '76*1=76'] Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,76 unequal: No Solution Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,76 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,76 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: 76:[76, 2], Operations: ['36/18=2', '1*2=2'] Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,76 unequal: No Solution Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,76 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,76 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: 76:[2, 77], Operations: ['36/18=2', '76+1=77'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,76 unequal: No Solution Exploring Operation: 2*77=154, Resulting Numbers: [154] 154,76 unequal: No Solution Exploring Operation: 2+77=79, Resulting Numbers: [79] 79,76 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: 76:[76, 18, 37], Operations: ['1+36=37'] Exploring Operation: 18+37=55, Resulting Numbers: [76, 55] Generated Node #0,2,0: 76:[76, 55] Operation: 18+37=55 Exploring Operation: 76-18=58, Resulting Numbers: [37, 58] Generated Node #0,2,1: 76:[37, 58] Operation: 76-18=58 Exploring Operation: 76+18=94, Resulting Numbers: [37, 94] Generated Node #0,2,2: 76:[37, 94] Operation: 76+18=94 Exploring Operation: 37-18=19, Resulting Numbers: [76, 19] Generated Node #0,2,3: 76:[76, 19] Operation: 37-18=19 Exploring Operation: 76-37=39, Resulting Numbers: [18, 39] Generated Node #0,2,4: 76:[18, 39] Operation: 76-37=39 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[76, 19], Operations: ['1+36=37', '37-18=19'] Exploring Operation: 76*19=1444, Resulting Numbers: [1444] 1444,76 unequal: No Solution Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,76 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 76+19=95, Resulting Numbers: [95] 95,76 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: 76:[18, 39], Operations: ['1+36=37', '76-37=39'] Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,76 unequal: No Solution Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,76 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: 76:[76, 55], Operations: ['1+36=37', '18+37=55'] Exploring Operation: 76-55=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 76*55=4180, Resulting Numbers: [4180] 4180,76 unequal: No Solution Exploring Operation: 76+55=131, Resulting Numbers: [131] 131,76 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: 76:[37, 58], Operations: ['1+36=37', '76-18=58'] Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 37*58=2146, Resulting Numbers: [2146] 2146,76 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,76 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: 76:[37, 94], Operations: ['1+36=37', '76+18=94'] Exploring Operation: 37*94=3478, Resulting Numbers: [3478] 3478,76 unequal: No Solution Exploring Operation: 94-37=57, Resulting Numbers: [57] 57,76 unequal: No Solution Exploring Operation: 37+94=131, Resulting Numbers: [131] 131,76 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: 76:[76, 36, 19], Operations: ['18+1=19'] Exploring Operation: 36+19=55, Resulting Numbers: [76, 55] Generated Node #0,1,0: 76:[76, 55] Operation: 36+19=55 Exploring Operation: 76/19=4, Resulting Numbers: [36, 4] Generated Node #0,1,1: 76:[36, 4] Operation: 76/19=4 Exploring Operation: 36-19=17, Resulting Numbers: [76, 17] Generated Node #0,1,2: 76:[76, 17] Operation: 36-19=17 Exploring Operation: 76+19=95, Resulting Numbers: [36, 95] Generated Node #0,1,3: 76:[36, 95] Operation: 76+19=95 Exploring Operation: 76-36=40, Resulting Numbers: [19, 40] Generated Node #0,1,4: 76:[19, 40] Operation: 76-36=40 Moving to Node #0,4 Current State: 76:[76, 1, 18], Operations: ['36-18=18'] Exploring Operation: 1+18=19, Resulting Numbers: [76, 19] Generated Node #0,4,0: 76:[76, 19] Operation: 1+18=19 Exploring Operation: 18/1=18, Resulting Numbers: [76, 18] Generated Node #0,4,1: 76:[76, 18] Operation: 18/1=18 Exploring Operation: 76/1=76, Resulting Numbers: [18, 76] Generated Node #0,4,2: 76:[18, 76] Operation: 76/1=76 Exploring Operation: 76*1=76, Resulting Numbers: [18, 76] Generated Node #0,4,3: 76:[18, 76] Operation: 76*1=76 Exploring Operation: 1*18=18, Resulting Numbers: [76, 18] Generated Node #0,4,4: 76:[76, 18] Operation: 1*18=18 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 76:[76, 19], Operations: ['36-18=18', '1+18=19'] Exploring Operation: 76+19=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 76*19=1444, Resulting Numbers: [1444] 1444,76 unequal: No Solution Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,76 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,76 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: 76:[76, 18], Operations: ['36-18=18', '18/1=18'] Exploring Operation: 76*18=1368, Resulting Numbers: [1368] 1368,76 unequal: No Solution Exploring Operation: 76+18=94, Resulting Numbers: [94] 94,76 unequal: No Solution Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,76 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: 76:[18, 76], Operations: ['36-18=18', '76/1=76'] Exploring Operation: 18*76=1368, Resulting Numbers: [1368] 1368,76 unequal: No Solution Exploring Operation: 18+76=94, Resulting Numbers: [94] 94,76 unequal: No Solution Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,76 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: 76:[18, 76], Operations: ['36-18=18', '76*1=76'] Exploring Operation: 18+76=94, Resulting Numbers: [94] 94,76 unequal: No Solution Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 18*76=1368, Resulting Numbers: [1368] 1368,76 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: 76:[76, 18], Operations: ['36-18=18', '1*18=18'] Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 76*18=1368, Resulting Numbers: [1368] 1368,76 unequal: No Solution Exploring Operation: 76+18=94, Resulting Numbers: [94] 94,76 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: 76:[18, 36, 76], Operations: ['76*1=76'] Exploring Operation: 18+36=54, Resulting Numbers: [76, 54] Generated Node #0,3,0: 76:[76, 54] Operation: 18+36=54 Exploring Operation: 36-18=18, Resulting Numbers: [76, 18] Generated Node #0,3,1: 76:[76, 18] Operation: 36-18=18 Exploring Operation: 18+76=94, Resulting Numbers: [36, 94] Generated Node #0,3,2: 76:[36, 94] Operation: 18+76=94 Exploring Operation: 76-36=40, Resulting Numbers: [18, 40] Generated Node #0,3,3: 76:[18, 40] Operation: 76-36=40 Exploring Operation: 36/18=2, Resulting Numbers: [76, 2] Generated Node #0,3,4: 76:[76, 2] Operation: 36/18=2 Moving to Node #0,3,4 Current State: 76:[76, 2], Operations: ['76*1=76', '36/18=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,76 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[76, 18], Operations: ['76*1=76', '36-18=18'] Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 76+18=94, Resulting Numbers: [94] 94,76 unequal: No Solution Exploring Operation: 76*18=1368, Resulting Numbers: [1368] 1368,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[36, 4], Operations: ['18+1=19', '76/19=4'] Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,76 unequal: No Solution Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,76 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,76 unequal: No Solution Moving to Node #0,1,4 Current State: 76:[19, 40], Operations: ['18+1=19', '76-36=40'] Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,76 unequal: No Solution Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,76 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[76, 17], Operations: ['18+1=19', '36-19=17'] Exploring Operation: 76+17=93, Resulting Numbers: [93] 93,76 unequal: No Solution Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,76 unequal: No Solution Exploring Operation: 76*17=1292, Resulting Numbers: [1292] 1292,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[18, 40], Operations: ['76*1=76', '76-36=40'] Exploring Operation: 18*40=720, Resulting Numbers: [720] 720,76 unequal: No Solution Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,76 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[76, 54], Operations: ['76*1=76', '18+36=54'] Exploring Operation: 76+54=130, Resulting Numbers: [130] 130,76 unequal: No Solution Exploring Operation: 76*54=4104, Resulting Numbers: [4104] 4104,76 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[76, 55], Operations: ['18+1=19', '36+19=55'] Exploring Operation: 76+55=131, Resulting Numbers: [131] 131,76 unequal: No Solution Exploring Operation: 76-55=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 76*55=4180, Resulting Numbers: [4180] 4180,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[36, 94], Operations: ['76*1=76', '18+76=94'] Exploring Operation: 36+94=130, Resulting Numbers: [130] 130,76 unequal: No Solution Exploring Operation: 36*94=3384, Resulting Numbers: [3384] 3384,76 unequal: No Solution Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[36, 95], Operations: ['18+1=19', '76+19=95'] Exploring Operation: 95-36=59, Resulting Numbers: [59] 59,76 unequal: No Solution Exploring Operation: 36*95=3420, Resulting Numbers: [3420] 3420,76 unequal: No Solution Exploring Operation: 36+95=131, Resulting Numbers: [131] 131,76 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 87, 65, 97, 8 ]
52
[ "97-87=10", "65*8=520", "520/10=52" ]
Current State: 52:[87, 65, 97, 8], Operations: [] Exploring Operation: 97-87=10, Resulting Numbers: [65, 8, 10] Generated Node #2: [65, 8, 10] from Operation: 97-87=10 Current State: 52:[65, 8, 10], Operations: ['97-87=10'] Exploring Operation: 65*8=520, Resulting Numbers: [10, 520] Generated Node #3: [10, 520] from Operation: 65*8=520 Current State: 52:[10, 520], Operations: ['97-87=10', '65*8=520'] Exploring Operation: 520/10=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[87, 65, 97, 8], Operations: [] Exploring Operation: 97-87=10, Resulting Numbers: [65, 8, 10] Generated Node #0,0: 52:[65, 8, 10] Operation: 97-87=10 Exploring Operation: 97-65=32, Resulting Numbers: [87, 8, 32] Generated Node #0,1: 52:[87, 8, 32] Operation: 97-65=32 Exploring Operation: 87-8=79, Resulting Numbers: [65, 97, 79] Generated Node #0,2: 52:[65, 97, 79] Operation: 87-8=79 Exploring Operation: 87-65=22, Resulting Numbers: [97, 8, 22] Generated Node #0,3: 52:[97, 8, 22] Operation: 87-65=22 Moving to Node #0,0 Current State: 52:[65, 8, 10], Operations: ['97-87=10'] Exploring Operation: 10-8=2, Resulting Numbers: [65, 2] Generated Node #0,0,0: 52:[65, 2] Operation: 10-8=2 Exploring Operation: 65-8=57, Resulting Numbers: [10, 57] Generated Node #0,0,1: 52:[10, 57] Operation: 65-8=57 Exploring Operation: 65-10=55, Resulting Numbers: [8, 55] Generated Node #0,0,2: 52:[8, 55] Operation: 65-10=55 Exploring Operation: 8+10=18, Resulting Numbers: [65, 18] Generated Node #0,0,3: 52:[65, 18] Operation: 8+10=18 Moving to Node #0,1 Current State: 52:[87, 8, 32], Operations: ['97-65=32'] Exploring Operation: 32-8=24, Resulting Numbers: [87, 24] Generated Node #0,1,0: 52:[87, 24] Operation: 32-8=24 Exploring Operation: 87-32=55, Resulting Numbers: [8, 55] Generated Node #0,1,1: 52:[8, 55] Operation: 87-32=55 Exploring Operation: 32/8=4, Resulting Numbers: [87, 4] Generated Node #0,1,2: 52:[87, 4] Operation: 32/8=4 Exploring Operation: 87-8=79, Resulting Numbers: [32, 79] Generated Node #0,1,3: 52:[32, 79] Operation: 87-8=79 Moving to Node #0,3 Current State: 52:[97, 8, 22], Operations: ['87-65=22'] Exploring Operation: 8+22=30, Resulting Numbers: [97, 30] Generated Node #0,3,0: 52:[97, 30] Operation: 8+22=30 Exploring Operation: 22-8=14, Resulting Numbers: [97, 14] Generated Node #0,3,1: 52:[97, 14] Operation: 22-8=14 Exploring Operation: 97-22=75, Resulting Numbers: [8, 75] Generated Node #0,3,2: 52:[8, 75] Operation: 97-22=75 Exploring Operation: 97-8=89, Resulting Numbers: [22, 89] Generated Node #0,3,3: 52:[22, 89] Operation: 97-8=89 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 52:[8, 75], Operations: ['87-65=22', '97-22=75'] Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,52 unequal: No Solution Exploring Operation: 8*75=600, Resulting Numbers: [600] 600,52 unequal: No Solution Exploring Operation: 8+75=83, Resulting Numbers: [83] 83,52 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: 52:[22, 89], Operations: ['87-65=22', '97-8=89'] Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,52 unequal: No Solution Exploring Operation: 22+89=111, Resulting Numbers: [111] 111,52 unequal: No Solution Exploring Operation: 22*89=1958, Resulting Numbers: [1958] 1958,52 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: 52:[97, 14], Operations: ['87-65=22', '22-8=14'] Exploring Operation: 97-14=83, Resulting Numbers: [83] 83,52 unequal: No Solution Exploring Operation: 97+14=111, Resulting Numbers: [111] 111,52 unequal: No Solution Exploring Operation: 97*14=1358, Resulting Numbers: [1358] 1358,52 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: 52:[97, 30], Operations: ['87-65=22', '8+22=30'] Exploring Operation: 97+30=127, Resulting Numbers: [127] 127,52 unequal: No Solution Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,52 unequal: No Solution Exploring Operation: 97*30=2910, Resulting Numbers: [2910] 2910,52 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: 52:[65, 97, 79], Operations: ['87-8=79'] Exploring Operation: 97-79=18, Resulting Numbers: [65, 18] Generated Node #0,2,0: 52:[65, 18] Operation: 97-79=18 Exploring Operation: 65+97=162, Resulting Numbers: [79, 162] Generated Node #0,2,1: 52:[79, 162] Operation: 65+97=162 Exploring Operation: 79-65=14, Resulting Numbers: [97, 14] Generated Node #0,2,2: 52:[97, 14] Operation: 79-65=14 Exploring Operation: 97-65=32, Resulting Numbers: [79, 32] Generated Node #0,2,3: 52:[79, 32] Operation: 97-65=32 Moving to Node #0,0,2 Current State: 52:[8, 55], Operations: ['97-87=10', '65-10=55'] Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,52 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,52 unequal: No Solution Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[8, 55], Operations: ['97-65=32', '87-32=55'] Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,52 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,52 unequal: No Solution Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[10, 57], Operations: ['97-87=10', '65-8=57'] Exploring Operation: 10*57=570, Resulting Numbers: [570] 570,52 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,52 unequal: No Solution Exploring Operation: 10+57=67, Resulting Numbers: [67] 67,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[65, 2], Operations: ['97-87=10', '10-8=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,52 unequal: No Solution Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,52 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[65, 18], Operations: ['97-87=10', '8+10=18'] Exploring Operation: 65+18=83, Resulting Numbers: [83] 83,52 unequal: No Solution Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,52 unequal: No Solution Exploring Operation: 65*18=1170, Resulting Numbers: [1170] 1170,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[65, 18], Operations: ['87-8=79', '97-79=18'] Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,52 unequal: No Solution Exploring Operation: 65+18=83, Resulting Numbers: [83] 83,52 unequal: No Solution Exploring Operation: 65*18=1170, Resulting Numbers: [1170] 1170,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[32, 79], Operations: ['97-65=32', '87-8=79'] Exploring Operation: 32*79=2528, Resulting Numbers: [2528] 2528,52 unequal: No Solution Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,52 unequal: No Solution Exploring Operation: 32+79=111, Resulting Numbers: [111] 111,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[79, 32], Operations: ['87-8=79', '97-65=32'] Exploring Operation: 79*32=2528, Resulting Numbers: [2528] 2528,52 unequal: No Solution Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,52 unequal: No Solution Exploring Operation: 79+32=111, Resulting Numbers: [111] 111,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[87, 4], Operations: ['97-65=32', '32/8=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,52 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,52 unequal: No Solution Exploring Operation: 87*4=348, Resulting Numbers: [348] 348,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[87, 24], Operations: ['97-65=32', '32-8=24'] Exploring Operation: 87+24=111, Resulting Numbers: [111] 111,52 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,52 unequal: No Solution Exploring Operation: 87*24=2088, Resulting Numbers: [2088] 2088,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[97, 14], Operations: ['87-8=79', '79-65=14'] Exploring Operation: 97*14=1358, Resulting Numbers: [1358] 1358,52 unequal: No Solution Exploring Operation: 97-14=83, Resulting Numbers: [83] 83,52 unequal: No Solution Exploring Operation: 97+14=111, Resulting Numbers: [111] 111,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[79, 162], Operations: ['87-8=79', '65+97=162'] Exploring Operation: 79+162=241, Resulting Numbers: [241] 241,52 unequal: No Solution Exploring Operation: 162-79=83, Resulting Numbers: [83] 83,52 unequal: No Solution Exploring Operation: 79*162=12798, Resulting Numbers: [12798] 12798,52 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 70, 47, 53, 4 ]
60
[ "70+47=117", "53+4=57", "117-57=60" ]
Current State: 60:[70, 47, 53, 4], Operations: [] Exploring Operation: 70+47=117, Resulting Numbers: [53, 4, 117] Generated Node #2: [53, 4, 117] from Operation: 70+47=117 Current State: 60:[53, 4, 117], Operations: ['70+47=117'] Exploring Operation: 53+4=57, Resulting Numbers: [117, 57] Generated Node #3: [117, 57] from Operation: 53+4=57 Current State: 60:[117, 57], Operations: ['70+47=117', '53+4=57'] Exploring Operation: 117-57=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[70, 47, 53, 4], Operations: [] Exploring Operation: 70-47=23, Resulting Numbers: [53, 4, 23] Generated Node #0,0: 60:[53, 4, 23] Operation: 70-47=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[53, 4, 23], Operations: ['70-47=23'] Exploring Operation: 53-23=30, Resulting Numbers: [4, 30] Generated Node #0,0,0: 60:[4, 30] Operation: 53-23=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[4, 30], Operations: ['70-47=23', '53-23=30'] Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,60 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
sum_heuristic
[ 66, 90, 92, 43 ]
99
[ "92+43=135", "66*135=8910", "8910/90=99" ]
Current State: 99:[66, 90, 92, 43], Operations: [] Exploring Operation: 92+43=135, Resulting Numbers: [66, 90, 135] Generated Node #2: [66, 90, 135] from Operation: 92+43=135 Current State: 99:[66, 90, 135], Operations: ['92+43=135'] Exploring Operation: 66*135=8910, Resulting Numbers: [90, 8910] Generated Node #3: [90, 8910] from Operation: 66*135=8910 Current State: 99:[90, 8910], Operations: ['92+43=135', '66*135=8910'] Exploring Operation: 8910/90=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[66, 90, 92, 43], Operations: [] Exploring Operation: 92-66=26, Resulting Numbers: [90, 43, 26] Generated Node #0,0: 99:[90, 43, 26] Operation: 92-66=26 Exploring Operation: 90-66=24, Resulting Numbers: [92, 43, 24] Generated Node #0,1: 99:[92, 43, 24] Operation: 90-66=24 Exploring Operation: 92-90=2, Resulting Numbers: [66, 43, 2] Generated Node #0,2: 99:[66, 43, 2] Operation: 92-90=2 Exploring Operation: 66+43=109, Resulting Numbers: [90, 92, 109] Generated Node #0,3: 99:[90, 92, 109] Operation: 66+43=109 Exploring Operation: 66-43=23, Resulting Numbers: [90, 92, 23] Generated Node #0,4: 99:[90, 92, 23] Operation: 66-43=23 Moving to Node #0,0 Current State: 99:[90, 43, 26], Operations: ['92-66=26'] Exploring Operation: 90+26=116, Resulting Numbers: [43, 116] Generated Node #0,0,0: 99:[43, 116] Operation: 90+26=116 Exploring Operation: 90-43=47, Resulting Numbers: [26, 47] Generated Node #0,0,1: 99:[26, 47] Operation: 90-43=47 Exploring Operation: 43+26=69, Resulting Numbers: [90, 69] Generated Node #0,0,2: 99:[90, 69] Operation: 43+26=69 Exploring Operation: 90+43=133, Resulting Numbers: [26, 133] Generated Node #0,0,3: 99:[26, 133] Operation: 90+43=133 Exploring Operation: 43-26=17, Resulting Numbers: [90, 17] Generated Node #0,0,4: 99:[90, 17] Operation: 43-26=17 Moving to Node #0,3 Current State: 99:[90, 92, 109], Operations: ['66+43=109'] Exploring Operation: 90+92=182, Resulting Numbers: [109, 182] Generated Node #0,3,0: 99:[109, 182] Operation: 90+92=182 Exploring Operation: 92-90=2, Resulting Numbers: [109, 2] Generated Node #0,3,1: 99:[109, 2] Operation: 92-90=2 Exploring Operation: 109-92=17, Resulting Numbers: [90, 17] Generated Node #0,3,2: 99:[90, 17] Operation: 109-92=17 Exploring Operation: 90+109=199, Resulting Numbers: [92, 199] Generated Node #0,3,3: 99:[92, 199] Operation: 90+109=199 Exploring Operation: 109-90=19, Resulting Numbers: [92, 19] Generated Node #0,3,4: 99:[92, 19] Operation: 109-90=19 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 99:[109, 2], Operations: ['66+43=109', '92-90=2'] Exploring Operation: 109-2=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 109+2=111, Resulting Numbers: [111] 111,99 unequal: No Solution Exploring Operation: 109*2=218, Resulting Numbers: [218] 218,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:[90, 17], Operations: ['66+43=109', '109-92=17'] Exploring Operation: 90*17=1530, Resulting Numbers: [1530] 1530,99 unequal: No Solution Exploring Operation: 90+17=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,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,4 Current State: 99:[92, 19], Operations: ['66+43=109', '109-90=19'] Exploring Operation: 92+19=111, Resulting Numbers: [111] 111,99 unequal: No Solution Exploring Operation: 92*19=1748, Resulting Numbers: [1748] 1748,99 unequal: No Solution Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,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,0 Current State: 99:[109, 182], Operations: ['66+43=109', '90+92=182'] Exploring Operation: 109*182=19838, Resulting Numbers: [19838] 19838,99 unequal: No Solution Exploring Operation: 182-109=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 109+182=291, Resulting Numbers: [291] 291,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:[92, 199], Operations: ['66+43=109', '90+109=199'] Exploring Operation: 199-92=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 92*199=18308, Resulting Numbers: [18308] 18308,99 unequal: No Solution Exploring Operation: 92+199=291, Resulting Numbers: [291] 291,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:[92, 43, 24], Operations: ['90-66=24'] Exploring Operation: 92-43=49, Resulting Numbers: [24, 49] Generated Node #0,1,0: 99:[24, 49] Operation: 92-43=49 Exploring Operation: 43+24=67, Resulting Numbers: [92, 67] Generated Node #0,1,1: 99:[92, 67] Operation: 43+24=67 Exploring Operation: 92-24=68, Resulting Numbers: [43, 68] Generated Node #0,1,2: 99:[43, 68] Operation: 92-24=68 Exploring Operation: 43-24=19, Resulting Numbers: [92, 19] Generated Node #0,1,3: 99:[92, 19] Operation: 43-24=19 Exploring Operation: 92+24=116, Resulting Numbers: [43, 116] Generated Node #0,1,4: 99:[43, 116] Operation: 92+24=116 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 99:[92, 19], Operations: ['90-66=24', '43-24=19'] Exploring Operation: 92+19=111, Resulting Numbers: [111] 111,99 unequal: No Solution Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 92*19=1748, Resulting Numbers: [1748] 1748,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,0 Current State: 99:[24, 49], Operations: ['90-66=24', '92-43=49'] Exploring Operation: 24+49=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 24*49=1176, Resulting Numbers: [1176] 1176,99 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,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,4 Current State: 99:[43, 116], Operations: ['90-66=24', '92+24=116'] Exploring Operation: 43+116=159, Resulting Numbers: [159] 159,99 unequal: No Solution Exploring Operation: 116-43=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 43*116=4988, Resulting Numbers: [4988] 4988,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:[92, 67], Operations: ['90-66=24', '43+24=67'] Exploring Operation: 92-67=25, Resulting Numbers: [25] 25,99 unequal: No Solution Exploring Operation: 92+67=159, Resulting Numbers: [159] 159,99 unequal: No Solution Exploring Operation: 92*67=6164, Resulting Numbers: [6164] 6164,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:[43, 68], Operations: ['90-66=24', '92-24=68'] Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,99 unequal: No Solution Exploring Operation: 43+68=111, Resulting Numbers: [111] 111,99 unequal: No Solution Exploring Operation: 43*68=2924, Resulting Numbers: [2924] 2924,99 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: 99:[90, 92, 23], Operations: ['66-43=23'] Exploring Operation: 90+23=113, Resulting Numbers: [92, 113] Generated Node #0,4,0: 99:[92, 113] Operation: 90+23=113 Exploring Operation: 92/23=4, Resulting Numbers: [90, 4] Generated Node #0,4,1: 99:[90, 4] Operation: 92/23=4 Exploring Operation: 92+23=115, Resulting Numbers: [90, 115] Generated Node #0,4,2: 99:[90, 115] Operation: 92+23=115 Exploring Operation: 90-23=67, Resulting Numbers: [92, 67] Generated Node #0,4,3: 99:[92, 67] Operation: 90-23=67 Exploring Operation: 92-90=2, Resulting Numbers: [23, 2] Generated Node #0,4,4: 99:[23, 2] Operation: 92-90=2 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 99:[90, 4], Operations: ['66-43=23', '92/23=4'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,99 unequal: No Solution Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,99 unequal: No Solution Exploring Operation: 90*4=360, Resulting Numbers: [360] 360,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,4,4 Current State: 99:[23, 2], Operations: ['66-43=23', '92-90=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,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,4,0 Current State: 99:[92, 113], Operations: ['66-43=23', '90+23=113'] Exploring Operation: 92+113=205, Resulting Numbers: [205] 205,99 unequal: No Solution Exploring Operation: 92*113=10396, Resulting Numbers: [10396] 10396,99 unequal: No Solution Exploring Operation: 113-92=21, Resulting Numbers: [21] 21,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,4,2 Current State: 99:[90, 115], Operations: ['66-43=23', '92+23=115'] Exploring Operation: 90+115=205, Resulting Numbers: [205] 205,99 unequal: No Solution Exploring Operation: 115-90=25, Resulting Numbers: [25] 25,99 unequal: No Solution Exploring Operation: 90*115=10350, Resulting Numbers: [10350] 10350,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,4,3 Current State: 99:[92, 67], Operations: ['66-43=23', '90-23=67'] Exploring Operation: 92+67=159, Resulting Numbers: [159] 159,99 unequal: No Solution Exploring Operation: 92*67=6164, Resulting Numbers: [6164] 6164,99 unequal: No Solution Exploring Operation: 92-67=25, Resulting Numbers: [25] 25,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:[66, 43, 2], Operations: ['92-90=2'] Exploring Operation: 66+43=109, Resulting Numbers: [2, 109] Generated Node #0,2,0: 99:[2, 109] Operation: 66+43=109 Exploring Operation: 66-2=64, Resulting Numbers: [43, 64] Generated Node #0,2,1: 99:[43, 64] Operation: 66-2=64 Exploring Operation: 66+2=68, Resulting Numbers: [43, 68] Generated Node #0,2,2: 99:[43, 68] Operation: 66+2=68 Exploring Operation: 66-43=23, Resulting Numbers: [2, 23] Generated Node #0,2,3: 99:[2, 23] Operation: 66-43=23 Exploring Operation: 66/2=33, Resulting Numbers: [43, 33] Generated Node #0,2,4: 99:[43, 33] Operation: 66/2=33 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 99:[43, 33], Operations: ['92-90=2', '66/2=33'] Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 43+33=76, Resulting Numbers: [76] 76,99 unequal: No Solution Exploring Operation: 43*33=1419, Resulting Numbers: [1419] 1419,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,2,0 Current State: 99:[2, 109], Operations: ['92-90=2', '66+43=109'] Exploring Operation: 2*109=218, Resulting Numbers: [218] 218,99 unequal: No Solution Exploring Operation: 109-2=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 2+109=111, Resulting Numbers: [111] 111,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,2,3 Current State: 99:[2, 23], Operations: ['92-90=2', '66-43=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,99 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,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,2,1 Current State: 99:[43, 64], Operations: ['92-90=2', '66-2=64'] Exploring Operation: 64-43=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 43+64=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 43*64=2752, Resulting Numbers: [2752] 2752,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,2,2 Current State: 99:[43, 68], Operations: ['92-90=2', '66+2=68'] Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,99 unequal: No Solution Exploring Operation: 43*68=2924, Resulting Numbers: [2924] 2924,99 unequal: No Solution Exploring Operation: 43+68=111, Resulting Numbers: [111] 111,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 99:[90, 17], Operations: ['92-66=26', '43-26=17'] Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 90+17=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 90*17=1530, Resulting Numbers: [1530] 1530,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[26, 47], Operations: ['92-66=26', '90-43=47'] Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,99 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[43, 116], Operations: ['92-66=26', '90+26=116'] Exploring Operation: 43+116=159, Resulting Numbers: [159] 159,99 unequal: No Solution Exploring Operation: 43*116=4988, Resulting Numbers: [4988] 4988,99 unequal: No Solution Exploring Operation: 116-43=73, Resulting Numbers: [73] 73,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[90, 69], Operations: ['92-66=26', '43+26=69'] Exploring Operation: 90+69=159, Resulting Numbers: [159] 159,99 unequal: No Solution Exploring Operation: 90-69=21, Resulting Numbers: [21] 21,99 unequal: No Solution Exploring Operation: 90*69=6210, Resulting Numbers: [6210] 6210,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[26, 133], Operations: ['92-66=26', '90+43=133'] Exploring Operation: 133-26=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 26+133=159, Resulting Numbers: [159] 159,99 unequal: No Solution Exploring Operation: 26*133=3458, Resulting Numbers: [3458] 3458,99 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 29, 13, 45, 56 ]
59
[ "29+13=42", "45+56=101", "101-42=59" ]
Current State: 59:[29, 13, 45, 56], Operations: [] Exploring Operation: 29+13=42, Resulting Numbers: [45, 56, 42] Generated Node #2: [45, 56, 42] from Operation: 29+13=42 Current State: 59:[45, 56, 42], Operations: ['29+13=42'] Exploring Operation: 45+56=101, Resulting Numbers: [42, 101] Generated Node #3: [42, 101] from Operation: 45+56=101 Current State: 59:[42, 101], Operations: ['29+13=42', '45+56=101'] Exploring Operation: 101-42=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[29, 13, 45, 56], Operations: [] Exploring Operation: 13+45=58, Resulting Numbers: [29, 56, 58] Generated Node #0,0: 59:[29, 56, 58] Operation: 13+45=58 Exploring Operation: 29+13=42, Resulting Numbers: [45, 56, 42] Generated Node #0,1: 59:[45, 56, 42] Operation: 29+13=42 Exploring Operation: 13+56=69, Resulting Numbers: [29, 45, 69] Generated Node #0,2: 59:[29, 45, 69] Operation: 13+56=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[29, 56, 58], Operations: ['13+45=58'] Exploring Operation: 29+58=87, Resulting Numbers: [56, 87] Generated Node #0,0,0: 59:[56, 87] Operation: 29+58=87 Exploring Operation: 56-29=27, Resulting Numbers: [58, 27] Generated Node #0,0,1: 59:[58, 27] Operation: 56-29=27 Exploring Operation: 29+56=85, Resulting Numbers: [58, 85] Generated Node #0,0,2: 59:[58, 85] Operation: 29+56=85 Moving to Node #0,0,2 Current State: 59:[58, 85], Operations: ['13+45=58', '29+56=85'] Exploring Operation: 85-58=27, Resulting Numbers: [27] 27,59 unequal: No Solution Exploring Operation: 58+85=143, Resulting Numbers: [143] 143,59 unequal: No Solution Exploring Operation: 58*85=4930, Resulting Numbers: [4930] 4930,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[56, 87], Operations: ['13+45=58', '29+58=87'] Exploring Operation: 56*87=4872, Resulting Numbers: [4872] 4872,59 unequal: No Solution Exploring Operation: 56+87=143, Resulting Numbers: [143] 143,59 unequal: No Solution Exploring Operation: 87-56=31, Resulting Numbers: [31] 31,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[58, 27], Operations: ['13+45=58', '56-29=27'] Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 58+27=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 58*27=1566, Resulting Numbers: [1566] 1566,59 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: 59:[45, 56, 42], Operations: ['29+13=42'] Exploring Operation: 45+42=87, Resulting Numbers: [56, 87] Generated Node #0,1,0: 59:[56, 87] Operation: 45+42=87 Exploring Operation: 45+56=101, Resulting Numbers: [42, 101] Generated Node #0,1,1: 59:[42, 101] Operation: 45+56=101 Exploring Operation: 56+42=98, Resulting Numbers: [45, 98] Generated Node #0,1,2: 59:[45, 98] Operation: 56+42=98 Moving to Node #0,1,0 Current State: 59:[56, 87], Operations: ['29+13=42', '45+42=87'] Exploring Operation: 56*87=4872, Resulting Numbers: [4872] 4872,59 unequal: No Solution Exploring Operation: 87-56=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 56+87=143, Resulting Numbers: [143] 143,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[45, 98], Operations: ['29+13=42', '56+42=98'] Exploring Operation: 98-45=53, Resulting Numbers: [53] 53,59 unequal: No Solution Exploring Operation: 45*98=4410, Resulting Numbers: [4410] 4410,59 unequal: No Solution Exploring Operation: 45+98=143, Resulting Numbers: [143] 143,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[42, 101], Operations: ['29+13=42', '45+56=101'] Exploring Operation: 101-42=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[29, 13, 45, 56], Operations: [] Exploring Operation: 29+13=42, Resulting Numbers: [45, 56, 42] Generated Node #0,1: 59:[45, 56, 42] Operation: 29+13=42 Moving to Node #0,1 Current State: 59:[45, 56, 42], Operations: ['29+13=42'] Exploring Operation: 45+56=101, Resulting Numbers: [42, 101] Generated Node #0,1,1: 59:[42, 101] Operation: 45+56=101 Moving to Node #0,1,1 Current State: 59:[42, 101], Operations: ['29+13=42', '45+56=101'] Exploring Operation: 101-42=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_3
sum_heuristic
[ 40, 93, 12, 8 ]
37
[ "40+93=133", "12*8=96", "133-96=37" ]
Current State: 37:[40, 93, 12, 8], Operations: [] Exploring Operation: 40+93=133, Resulting Numbers: [12, 8, 133] Generated Node #2: [12, 8, 133] from Operation: 40+93=133 Current State: 37:[12, 8, 133], Operations: ['40+93=133'] Exploring Operation: 12*8=96, Resulting Numbers: [133, 96] Generated Node #3: [133, 96] from Operation: 12*8=96 Current State: 37:[133, 96], Operations: ['40+93=133', '12*8=96'] Exploring Operation: 133-96=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[40, 93, 12, 8], Operations: [] Exploring Operation: 93-40=53, Resulting Numbers: [12, 8, 53] Generated Node #0,0: 37:[12, 8, 53] Operation: 93-40=53 Exploring Operation: 93-12=81, Resulting Numbers: [40, 8, 81] Generated Node #0,1: 37:[40, 8, 81] Operation: 93-12=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[12, 8, 53], Operations: ['93-40=53'] Exploring Operation: 12+8=20, Resulting Numbers: [53, 20] Generated Node #0,0,0: 37:[53, 20] Operation: 12+8=20 Exploring Operation: 53-12=41, Resulting Numbers: [8, 41] Generated Node #0,0,1: 37:[8, 41] Operation: 53-12=41 Moving to Node #0,0,0 Current State: 37:[53, 20], Operations: ['93-40=53', '12+8=20'] Exploring Operation: 53+20=73, Resulting Numbers: [73] 73,37 unequal: No Solution Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[8, 41], Operations: ['93-40=53', '53-12=41'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,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 Current State: 37:[40, 8, 81], Operations: ['93-12=81'] Exploring Operation: 81-40=41, Resulting Numbers: [8, 41] Generated Node #0,1,0: 37:[8, 41] Operation: 81-40=41 Exploring Operation: 81-8=73, Resulting Numbers: [40, 73] Generated Node #0,1,1: 37:[40, 73] Operation: 81-8=73 Moving to Node #0,1,0 Current State: 37:[8, 41], Operations: ['93-12=81', '81-40=41'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[40, 73], Operations: ['93-12=81', '81-8=73'] Exploring Operation: 40+73=113, Resulting Numbers: [113] 113,37 unequal: No Solution Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,37 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
[ 37, 27, 2, 96 ]
58
[ "37-27=10", "96/2=48", "10+48=58" ]
Current State: 58:[37, 27, 2, 96], Operations: [] Exploring Operation: 37-27=10, Resulting Numbers: [2, 96, 10] Generated Node #2: [2, 96, 10] from Operation: 37-27=10 Current State: 58:[2, 96, 10], Operations: ['37-27=10'] Exploring Operation: 96/2=48, Resulting Numbers: [10, 48] Generated Node #3: [10, 48] from Operation: 96/2=48 Current State: 58:[10, 48], Operations: ['37-27=10', '96/2=48'] Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[37, 27, 2, 96], Operations: [] Exploring Operation: 96-37=59, Resulting Numbers: [27, 2, 59] Generated Node #0,0: 58:[27, 2, 59] Operation: 96-37=59 Moving to Node #0,0 Current State: 58:[27, 2, 59], Operations: ['96-37=59'] Exploring Operation: 27+2=29, Resulting Numbers: [59, 29] Generated Node #0,0,0: 58:[59, 29] Operation: 27+2=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[59, 29], Operations: ['96-37=59', '27+2=29'] Exploring Operation: 59-29=30, Resulting Numbers: [30] 30,58 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
[ 91, 56, 97, 87 ]
83
[ "91-87=4", "56/4=14", "97-14=83" ]
Current State: 83:[91, 56, 97, 87], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [56, 97, 4] Generated Node #2: [56, 97, 4] from Operation: 91-87=4 Current State: 83:[56, 97, 4], Operations: ['91-87=4'] Exploring Operation: 56/4=14, Resulting Numbers: [97, 14] Generated Node #3: [97, 14] from Operation: 56/4=14 Current State: 83:[97, 14], Operations: ['91-87=4', '56/4=14'] Exploring Operation: 97-14=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[91, 56, 97, 87], Operations: [] Exploring Operation: 91-56=35, Resulting Numbers: [97, 87, 35] Generated Node #0,0: 83:[97, 87, 35] Operation: 91-56=35 Exploring Operation: 87-56=31, Resulting Numbers: [91, 97, 31] Generated Node #0,1: 83:[91, 97, 31] Operation: 87-56=31 Exploring Operation: 91+56=147, Resulting Numbers: [97, 87, 147] Generated Node #0,2: 83:[97, 87, 147] Operation: 91+56=147 Exploring Operation: 56+97=153, Resulting Numbers: [91, 87, 153] Generated Node #0,3: 83:[91, 87, 153] Operation: 56+97=153 Exploring Operation: 97-56=41, Resulting Numbers: [91, 87, 41] Generated Node #0,4: 83:[91, 87, 41] Operation: 97-56=41 Start Sub Search at level 1: Moving to Node #0,4 Current State: 83:[91, 87, 41], Operations: ['97-56=41'] Exploring Operation: 87-41=46, Resulting Numbers: [91, 46] Generated Node #0,4,0: 83:[91, 46] Operation: 87-41=46 Exploring Operation: 87+41=128, Resulting Numbers: [91, 128] Generated Node #0,4,1: 83:[91, 128] Operation: 87+41=128 Exploring Operation: 91-87=4, Resulting Numbers: [41, 4] Generated Node #0,4,2: 83:[41, 4] Operation: 91-87=4 Exploring Operation: 91+41=132, Resulting Numbers: [87, 132] Generated Node #0,4,3: 83:[87, 132] Operation: 91+41=132 Exploring Operation: 91-41=50, Resulting Numbers: [87, 50] Generated Node #0,4,4: 83:[87, 50] Operation: 91-41=50 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 83:[87, 50], Operations: ['97-56=41', '91-41=50'] Exploring Operation: 87-50=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 87*50=4350, Resulting Numbers: [4350] 4350,83 unequal: No Solution Exploring Operation: 87+50=137, Resulting Numbers: [137] 137,83 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,4,0 Current State: 83:[91, 46], Operations: ['97-56=41', '87-41=46'] Exploring Operation: 91*46=4186, Resulting Numbers: [4186] 4186,83 unequal: No Solution Exploring Operation: 91+46=137, Resulting Numbers: [137] 137,83 unequal: No Solution Exploring Operation: 91-46=45, Resulting Numbers: [45] 45,83 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,4,1 Current State: 83:[91, 128], Operations: ['97-56=41', '87+41=128'] Exploring Operation: 91+128=219, Resulting Numbers: [219] 219,83 unequal: No Solution Exploring Operation: 91*128=11648, Resulting Numbers: [11648] 11648,83 unequal: No Solution Exploring Operation: 128-91=37, Resulting Numbers: [37] 37,83 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,4,3 Current State: 83:[87, 132], Operations: ['97-56=41', '91+41=132'] Exploring Operation: 132-87=45, Resulting Numbers: [45] 45,83 unequal: No Solution Exploring Operation: 87+132=219, Resulting Numbers: [219] 219,83 unequal: No Solution Exploring Operation: 87*132=11484, Resulting Numbers: [11484] 11484,83 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,4,2 Current State: 83:[41, 4], Operations: ['97-56=41', '91-87=4'] Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,83 unequal: No Solution Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,83 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,83 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: 83:[97, 87, 35], Operations: ['91-56=35'] Exploring Operation: 87+35=122, Resulting Numbers: [97, 122] Generated Node #0,0,0: 83:[97, 122] Operation: 87+35=122 Exploring Operation: 97-87=10, Resulting Numbers: [35, 10] Generated Node #0,0,1: 83:[35, 10] Operation: 97-87=10 Exploring Operation: 87-35=52, Resulting Numbers: [97, 52] Generated Node #0,0,2: 83:[97, 52] Operation: 87-35=52 Exploring Operation: 97-35=62, Resulting Numbers: [87, 62] Generated Node #0,0,3: 83:[87, 62] Operation: 97-35=62 Exploring Operation: 97+35=132, Resulting Numbers: [87, 132] Generated Node #0,0,4: 83:[87, 132] Operation: 97+35=132 Moving to Node #0,0,3 Current State: 83:[87, 62], Operations: ['91-56=35', '97-35=62'] Exploring Operation: 87*62=5394, Resulting Numbers: [5394] 5394,83 unequal: No Solution Exploring Operation: 87+62=149, Resulting Numbers: [149] 149,83 unequal: No Solution Exploring Operation: 87-62=25, Resulting Numbers: [25] 25,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[97, 52], Operations: ['91-56=35', '87-35=52'] Exploring Operation: 97*52=5044, Resulting Numbers: [5044] 5044,83 unequal: No Solution Exploring Operation: 97+52=149, Resulting Numbers: [149] 149,83 unequal: No Solution Exploring Operation: 97-52=45, Resulting Numbers: [45] 45,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[97, 122], Operations: ['91-56=35', '87+35=122'] Exploring Operation: 122-97=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 97+122=219, Resulting Numbers: [219] 219,83 unequal: No Solution Exploring Operation: 97*122=11834, Resulting Numbers: [11834] 11834,83 unequal: No Solution Moving to Node #0,0,4 Current State: 83:[87, 132], Operations: ['91-56=35', '97+35=132'] Exploring Operation: 87+132=219, Resulting Numbers: [219] 219,83 unequal: No Solution Exploring Operation: 87*132=11484, Resulting Numbers: [11484] 11484,83 unequal: No Solution Exploring Operation: 132-87=45, Resulting Numbers: [45] 45,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[35, 10], Operations: ['91-56=35', '97-87=10'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,83 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,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:[91, 97, 31], Operations: ['87-56=31'] Exploring Operation: 97-91=6, Resulting Numbers: [31, 6] Generated Node #0,1,0: 83:[31, 6] Operation: 97-91=6 Exploring Operation: 97+31=128, Resulting Numbers: [91, 128] Generated Node #0,1,1: 83:[91, 128] Operation: 97+31=128 Exploring Operation: 91+31=122, Resulting Numbers: [97, 122] Generated Node #0,1,2: 83:[97, 122] Operation: 91+31=122 Exploring Operation: 97-31=66, Resulting Numbers: [91, 66] Generated Node #0,1,3: 83:[91, 66] Operation: 97-31=66 Exploring Operation: 91-31=60, Resulting Numbers: [97, 60] Generated Node #0,1,4: 83:[97, 60] Operation: 91-31=60 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 83:[91, 66], Operations: ['87-56=31', '97-31=66'] Exploring Operation: 91*66=6006, Resulting Numbers: [6006] 6006,83 unequal: No Solution Exploring Operation: 91-66=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 91+66=157, Resulting Numbers: [157] 157,83 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: 83:[97, 60], Operations: ['87-56=31', '91-31=60'] Exploring Operation: 97-60=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 97+60=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 97*60=5820, Resulting Numbers: [5820] 5820,83 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: 83:[91, 128], Operations: ['87-56=31', '97+31=128'] Exploring Operation: 91*128=11648, Resulting Numbers: [11648] 11648,83 unequal: No Solution Exploring Operation: 128-91=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 91+128=219, Resulting Numbers: [219] 219,83 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: 83:[97, 122], Operations: ['87-56=31', '91+31=122'] Exploring Operation: 122-97=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 97+122=219, Resulting Numbers: [219] 219,83 unequal: No Solution Exploring Operation: 97*122=11834, Resulting Numbers: [11834] 11834,83 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: 83:[31, 6], Operations: ['87-56=31', '97-91=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,83 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,83 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: 83:[97, 87, 147], Operations: ['91+56=147'] Exploring Operation: 97+147=244, Resulting Numbers: [87, 244] Generated Node #0,2,0: 83:[87, 244] Operation: 97+147=244 Exploring Operation: 147-87=60, Resulting Numbers: [97, 60] Generated Node #0,2,1: 83:[97, 60] Operation: 147-87=60 Exploring Operation: 97+87=184, Resulting Numbers: [147, 184] Generated Node #0,2,2: 83:[147, 184] Operation: 97+87=184 Exploring Operation: 97-87=10, Resulting Numbers: [147, 10] Generated Node #0,2,3: 83:[147, 10] Operation: 97-87=10 Exploring Operation: 147-97=50, Resulting Numbers: [87, 50] Generated Node #0,2,4: 83:[87, 50] Operation: 147-97=50 Moving to Node #0,2,1 Current State: 83:[97, 60], Operations: ['91+56=147', '147-87=60'] Exploring Operation: 97+60=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 97*60=5820, Resulting Numbers: [5820] 5820,83 unequal: No Solution Exploring Operation: 97-60=37, Resulting Numbers: [37] 37,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[87, 50], Operations: ['91+56=147', '147-97=50'] Exploring Operation: 87-50=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 87+50=137, Resulting Numbers: [137] 137,83 unequal: No Solution Exploring Operation: 87*50=4350, Resulting Numbers: [4350] 4350,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[147, 10], Operations: ['91+56=147', '97-87=10'] Exploring Operation: 147+10=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 147-10=137, Resulting Numbers: [137] 137,83 unequal: No Solution Exploring Operation: 147*10=1470, Resulting Numbers: [1470] 1470,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[87, 244], Operations: ['91+56=147', '97+147=244'] Exploring Operation: 87*244=21228, Resulting Numbers: [21228] 21228,83 unequal: No Solution Exploring Operation: 87+244=331, Resulting Numbers: [331] 331,83 unequal: No Solution Exploring Operation: 244-87=157, Resulting Numbers: [157] 157,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[147, 184], Operations: ['91+56=147', '97+87=184'] Exploring Operation: 147*184=27048, Resulting Numbers: [27048] 27048,83 unequal: No Solution Exploring Operation: 184-147=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 147+184=331, Resulting Numbers: [331] 331,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,3 Current State: 83:[91, 87, 153], Operations: ['56+97=153'] Exploring Operation: 153-91=62, Resulting Numbers: [87, 62] Generated Node #0,3,0: 83:[87, 62] Operation: 153-91=62 Exploring Operation: 91+87=178, Resulting Numbers: [153, 178] Generated Node #0,3,1: 83:[153, 178] Operation: 91+87=178 Exploring Operation: 91-87=4, Resulting Numbers: [153, 4] Generated Node #0,3,2: 83:[153, 4] Operation: 91-87=4 Exploring Operation: 153-87=66, Resulting Numbers: [91, 66] Generated Node #0,3,3: 83:[91, 66] Operation: 153-87=66 Exploring Operation: 91+153=244, Resulting Numbers: [87, 244] Generated Node #0,3,4: 83:[87, 244] Operation: 91+153=244 Moving to Node #0,3,0 Current State: 83:[87, 62], Operations: ['56+97=153', '153-91=62'] Exploring Operation: 87-62=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 87+62=149, Resulting Numbers: [149] 149,83 unequal: No Solution Exploring Operation: 87*62=5394, Resulting Numbers: [5394] 5394,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[91, 66], Operations: ['56+97=153', '153-87=66'] Exploring Operation: 91-66=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 91+66=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 91*66=6006, Resulting Numbers: [6006] 6006,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[153, 4], Operations: ['56+97=153', '91-87=4'] Exploring Operation: 153-4=149, Resulting Numbers: [149] 149,83 unequal: No Solution Exploring Operation: 153*4=612, Resulting Numbers: [612] 612,83 unequal: No Solution Exploring Operation: 153+4=157, Resulting Numbers: [157] 157,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[153, 178], Operations: ['56+97=153', '91+87=178'] Exploring Operation: 178-153=25, Resulting Numbers: [25] 25,83 unequal: No Solution Exploring Operation: 153*178=27234, Resulting Numbers: [27234] 27234,83 unequal: No Solution Exploring Operation: 153+178=331, Resulting Numbers: [331] 331,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[87, 244], Operations: ['56+97=153', '91+153=244'] Exploring Operation: 87*244=21228, Resulting Numbers: [21228] 21228,83 unequal: No Solution Exploring Operation: 244-87=157, Resulting Numbers: [157] 157,83 unequal: No Solution Exploring Operation: 87+244=331, Resulting Numbers: [331] 331,83 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
[ 74, 16, 3, 20 ]
98
[ "74*3=222", "16*20=320", "320-222=98" ]
Current State: 98:[74, 16, 3, 20], Operations: [] Exploring Operation: 74*3=222, Resulting Numbers: [16, 20, 222] Generated Node #2: [16, 20, 222] from Operation: 74*3=222 Current State: 98:[16, 20, 222], Operations: ['74*3=222'] Exploring Operation: 16*20=320, Resulting Numbers: [222, 320] Generated Node #3: [222, 320] from Operation: 16*20=320 Current State: 98:[222, 320], Operations: ['74*3=222', '16*20=320'] Exploring Operation: 320-222=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[74, 16, 3, 20], Operations: [] Exploring Operation: 74+20=94, Resulting Numbers: [16, 3, 94] Generated Node #0,0: 98:[16, 3, 94] Operation: 74+20=94 Exploring Operation: 74-16=58, Resulting Numbers: [3, 20, 58] Generated Node #0,1: 98:[3, 20, 58] Operation: 74-16=58 Exploring Operation: 74-20=54, Resulting Numbers: [16, 3, 54] Generated Node #0,2: 98:[16, 3, 54] Operation: 74-20=54 Exploring Operation: 74+16=90, Resulting Numbers: [3, 20, 90] Generated Node #0,3: 98:[3, 20, 90] Operation: 74+16=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[16, 3, 94], Operations: ['74+20=94'] Exploring Operation: 16-3=13, Resulting Numbers: [94, 13] Generated Node #0,0,0: 98:[94, 13] Operation: 16-3=13 Exploring Operation: 16*3=48, Resulting Numbers: [94, 48] Generated Node #0,0,1: 98:[94, 48] Operation: 16*3=48 Exploring Operation: 16+3=19, Resulting Numbers: [94, 19] Generated Node #0,0,2: 98:[94, 19] Operation: 16+3=19 Exploring Operation: 3+94=97, Resulting Numbers: [16, 97] Generated Node #0,0,3: 98:[16, 97] Operation: 3+94=97 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 98:[16, 97], Operations: ['74+20=94', '3+94=97'] Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 16*97=1552, Resulting Numbers: [1552] 1552,98 unequal: No Solution Exploring Operation: 16+97=113, Resulting Numbers: [113] 113,98 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: 98:[94, 13], Operations: ['74+20=94', '16-3=13'] Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 94+13=107, Resulting Numbers: [107] 107,98 unequal: No Solution Exploring Operation: 94*13=1222, Resulting Numbers: [1222] 1222,98 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: 98:[94, 48], Operations: ['74+20=94', '16*3=48'] Exploring Operation: 94+48=142, Resulting Numbers: [142] 142,98 unequal: No Solution Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 94*48=4512, Resulting Numbers: [4512] 4512,98 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: 98:[94, 19], Operations: ['74+20=94', '16+3=19'] Exploring Operation: 94*19=1786, Resulting Numbers: [1786] 1786,98 unequal: No Solution Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,98 unequal: No Solution Exploring Operation: 94+19=113, Resulting Numbers: [113] 113,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[16, 3, 54], Operations: ['74-20=54'] Exploring Operation: 16-3=13, Resulting Numbers: [54, 13] Generated Node #0,2,0: 98:[54, 13] Operation: 16-3=13 Exploring Operation: 16*3=48, Resulting Numbers: [54, 48] Generated Node #0,2,1: 98:[54, 48] Operation: 16*3=48 Exploring Operation: 54/3=18, Resulting Numbers: [16, 18] Generated Node #0,2,2: 98:[16, 18] Operation: 54/3=18 Exploring Operation: 54-3=51, Resulting Numbers: [16, 51] Generated Node #0,2,3: 98:[16, 51] Operation: 54-3=51 Moving to Node #0,2,3 Current State: 98:[16, 51], Operations: ['74-20=54', '54-3=51'] Exploring Operation: 16+51=67, Resulting Numbers: [67] 67,98 unequal: No Solution Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,98 unequal: No Solution Exploring Operation: 16*51=816, Resulting Numbers: [816] 816,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[54, 48], Operations: ['74-20=54', '16*3=48'] Exploring Operation: 54+48=102, Resulting Numbers: [102] 102,98 unequal: No Solution Exploring Operation: 54*48=2592, Resulting Numbers: [2592] 2592,98 unequal: No Solution Exploring Operation: 54-48=6, Resulting Numbers: [6] 6,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[54, 13], Operations: ['74-20=54', '16-3=13'] Exploring Operation: 54*13=702, Resulting Numbers: [702] 702,98 unequal: No Solution Exploring Operation: 54+13=67, Resulting Numbers: [67] 67,98 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[16, 18], Operations: ['74-20=54', '54/3=18'] Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,98 unequal: No Solution Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,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,3 Current State: 98:[3, 20, 90], Operations: ['74+16=90'] Exploring Operation: 20+90=110, Resulting Numbers: [3, 110] Generated Node #0,3,0: 98:[3, 110] Operation: 20+90=110 Exploring Operation: 3+90=93, Resulting Numbers: [20, 93] Generated Node #0,3,1: 98:[20, 93] Operation: 3+90=93 Exploring Operation: 20-3=17, Resulting Numbers: [90, 17] Generated Node #0,3,2: 98:[90, 17] Operation: 20-3=17 Exploring Operation: 3+20=23, Resulting Numbers: [90, 23] Generated Node #0,3,3: 98:[90, 23] Operation: 3+20=23 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 98:[20, 93], Operations: ['74+16=90', '3+90=93'] Exploring Operation: 20+93=113, Resulting Numbers: [113] 113,98 unequal: No Solution Exploring Operation: 93-20=73, Resulting Numbers: [73] 73,98 unequal: No Solution Exploring Operation: 20*93=1860, Resulting Numbers: [1860] 1860,98 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: 98:[90, 17], Operations: ['74+16=90', '20-3=17'] Exploring Operation: 90+17=107, Resulting Numbers: [107] 107,98 unequal: No Solution Exploring Operation: 90*17=1530, Resulting Numbers: [1530] 1530,98 unequal: No Solution Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,98 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: 98:[3, 110], Operations: ['74+16=90', '20+90=110'] Exploring Operation: 3*110=330, Resulting Numbers: [330] 330,98 unequal: No Solution Exploring Operation: 110-3=107, Resulting Numbers: [107] 107,98 unequal: No Solution Exploring Operation: 3+110=113, Resulting Numbers: [113] 113,98 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: 98:[90, 23], Operations: ['74+16=90', '3+20=23'] Exploring Operation: 90+23=113, Resulting Numbers: [113] 113,98 unequal: No Solution Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,98 unequal: No Solution Exploring Operation: 90*23=2070, Resulting Numbers: [2070] 2070,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[3, 20, 58], Operations: ['74-16=58'] Exploring Operation: 3+20=23, Resulting Numbers: [58, 23] Generated Node #0,1,0: 98:[58, 23] Operation: 3+20=23 Exploring Operation: 58-3=55, Resulting Numbers: [20, 55] Generated Node #0,1,1: 98:[20, 55] Operation: 58-3=55 Exploring Operation: 58-20=38, Resulting Numbers: [3, 38] Generated Node #0,1,2: 98:[3, 38] Operation: 58-20=38 Exploring Operation: 20-3=17, Resulting Numbers: [58, 17] Generated Node #0,1,3: 98:[58, 17] Operation: 20-3=17 Moving to Node #0,1,1 Current State: 98:[20, 55], Operations: ['74-16=58', '58-3=55'] Exploring Operation: 20+55=75, Resulting Numbers: [75] 75,98 unequal: No Solution Exploring Operation: 20*55=1100, Resulting Numbers: [1100] 1100,98 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,98 unequal: No Solution Moving to Node #0,1,3 Current State: 98:[58, 17], Operations: ['74-16=58', '20-3=17'] Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 58*17=986, Resulting Numbers: [986] 986,98 unequal: No Solution Exploring Operation: 58+17=75, Resulting Numbers: [75] 75,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[3, 38], Operations: ['74-16=58', '58-20=38'] Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,98 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,98 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[58, 23], Operations: ['74-16=58', '3+20=23'] Exploring Operation: 58*23=1334, Resulting Numbers: [1334] 1334,98 unequal: No Solution Exploring Operation: 58+23=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,98 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
[ 3, 34, 22, 50 ]
65
[ "3+34=37", "50-22=28", "37+28=65" ]
Current State: 65:[3, 34, 22, 50], Operations: [] Exploring Operation: 3+34=37, Resulting Numbers: [22, 50, 37] Generated Node #2: [22, 50, 37] from Operation: 3+34=37 Current State: 65:[22, 50, 37], Operations: ['3+34=37'] Exploring Operation: 50-22=28, Resulting Numbers: [37, 28] Generated Node #3: [37, 28] from Operation: 50-22=28 Current State: 65:[37, 28], Operations: ['3+34=37', '50-22=28'] Exploring Operation: 37+28=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[3, 34, 22, 50], Operations: [] Exploring Operation: 34+50=84, Resulting Numbers: [3, 22, 84] Generated Node #0,0: 65:[3, 22, 84] Operation: 34+50=84 Exploring Operation: 34+22=56, Resulting Numbers: [3, 50, 56] Generated Node #0,1: 65:[3, 50, 56] Operation: 34+22=56 Exploring Operation: 34-22=12, Resulting Numbers: [3, 50, 12] Generated Node #0,2: 65:[3, 50, 12] Operation: 34-22=12 Exploring Operation: 50-34=16, Resulting Numbers: [3, 22, 16] Generated Node #0,3: 65:[3, 22, 16] Operation: 50-34=16 Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[3, 22, 16], Operations: ['50-34=16'] Exploring Operation: 16-3=13, Resulting Numbers: [22, 13] Generated Node #0,3,0: 65:[22, 13] Operation: 16-3=13 Exploring Operation: 22-3=19, Resulting Numbers: [16, 19] Generated Node #0,3,1: 65:[16, 19] Operation: 22-3=19 Exploring Operation: 3*22=66, Resulting Numbers: [16, 66] Generated Node #0,3,2: 65:[16, 66] Operation: 3*22=66 Exploring Operation: 22-16=6, Resulting Numbers: [3, 6] Generated Node #0,3,3: 65:[3, 6] Operation: 22-16=6 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 65:[3, 6], Operations: ['50-34=16', '22-16=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,65 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: 65:[16, 66], Operations: ['50-34=16', '3*22=66'] Exploring Operation: 16+66=82, Resulting Numbers: [82] 82,65 unequal: No Solution Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,65 unequal: No Solution Exploring Operation: 16*66=1056, Resulting Numbers: [1056] 1056,65 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: 65:[22, 13], Operations: ['50-34=16', '16-3=13'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,65 unequal: No Solution Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,65 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,1 Current State: 65:[16, 19], Operations: ['50-34=16', '22-3=19'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,65 unequal: No Solution Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,65 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: 65:[3, 50, 12], Operations: ['34-22=12'] Exploring Operation: 50+12=62, Resulting Numbers: [3, 62] Generated Node #0,2,0: 65:[3, 62] Operation: 50+12=62 Exploring Operation: 12/3=4, Resulting Numbers: [50, 4] Generated Node #0,2,1: 65:[50, 4] Operation: 12/3=4 Exploring Operation: 3+12=15, Resulting Numbers: [50, 15] Generated Node #0,2,2: 65:[50, 15] Operation: 3+12=15 Exploring Operation: 3+50=53, Resulting Numbers: [12, 53] Generated Node #0,2,3: 65:[12, 53] Operation: 3+50=53 Moving to Node #0,2,0 Current State: 65:[3, 62], Operations: ['34-22=12', '50+12=62'] Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,65 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[3, 34, 22, 50], Operations: [] Exploring Operation: 34-22=12, Resulting Numbers: [3, 50, 12] Generated Node #0,2: 65:[3, 50, 12] Operation: 34-22=12 Moving to Node #0,2 Current State: 65:[3, 50, 12], Operations: ['34-22=12'] Exploring Operation: 50+12=62, Resulting Numbers: [3, 62] Generated Node #0,2,0: 65:[3, 62] Operation: 50+12=62 Moving to Node #0,2,0 Current State: 65:[3, 62], Operations: ['34-22=12', '50+12=62'] Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 31, 64, 14, 57 ]
67
[ "64-57=7", "14*7=98", "98-31=67" ]
Current State: 67:[31, 64, 14, 57], Operations: [] Exploring Operation: 64-57=7, Resulting Numbers: [31, 14, 7] Generated Node #2: [31, 14, 7] from Operation: 64-57=7 Current State: 67:[31, 14, 7], Operations: ['64-57=7'] Exploring Operation: 14*7=98, Resulting Numbers: [31, 98] Generated Node #3: [31, 98] from Operation: 14*7=98 Current State: 67:[31, 98], Operations: ['64-57=7', '14*7=98'] Exploring Operation: 98-31=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[31, 64, 14, 57], Operations: [] Exploring Operation: 14+57=71, Resulting Numbers: [31, 64, 71] Generated Node #0,0: 67:[31, 64, 71] Operation: 14+57=71 Exploring Operation: 31-14=17, Resulting Numbers: [64, 57, 17] Generated Node #0,1: 67:[64, 57, 17] Operation: 31-14=17 Exploring Operation: 64-14=50, Resulting Numbers: [31, 57, 50] Generated Node #0,2: 67:[31, 57, 50] Operation: 64-14=50 Exploring Operation: 64+14=78, Resulting Numbers: [31, 57, 78] Generated Node #0,3: 67:[31, 57, 78] Operation: 64+14=78 Exploring Operation: 31+14=45, Resulting Numbers: [64, 57, 45] Generated Node #0,4: 67:[64, 57, 45] Operation: 31+14=45 Moving to Node #0,4 Current State: 67:[64, 57, 45], Operations: ['31+14=45'] Exploring Operation: 57+45=102, Resulting Numbers: [64, 102] Generated Node #0,4,0: 67:[64, 102] Operation: 57+45=102 Exploring Operation: 57-45=12, Resulting Numbers: [64, 12] Generated Node #0,4,1: 67:[64, 12] Operation: 57-45=12 Exploring Operation: 64+57=121, Resulting Numbers: [45, 121] Generated Node #0,4,2: 67:[45, 121] Operation: 64+57=121 Exploring Operation: 64+45=109, Resulting Numbers: [57, 109] Generated Node #0,4,3: 67:[57, 109] Operation: 64+45=109 Exploring Operation: 64-45=19, Resulting Numbers: [57, 19] Generated Node #0,4,4: 67:[57, 19] Operation: 64-45=19 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 67:[64, 102], Operations: ['31+14=45', '57+45=102'] Exploring Operation: 64*102=6528, Resulting Numbers: [6528] 6528,67 unequal: No Solution Exploring Operation: 102-64=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 64+102=166, Resulting Numbers: [166] 166,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:[57, 109], Operations: ['31+14=45', '64+45=109'] Exploring Operation: 57+109=166, Resulting Numbers: [166] 166,67 unequal: No Solution Exploring Operation: 109-57=52, Resulting Numbers: [52] 52,67 unequal: No Solution Exploring Operation: 57*109=6213, Resulting Numbers: [6213] 6213,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:[64, 12], Operations: ['31+14=45', '57-45=12'] Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,67 unequal: No Solution Exploring Operation: 64+12=76, Resulting Numbers: [76] 76,67 unequal: No Solution Exploring Operation: 64*12=768, Resulting Numbers: [768] 768,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:[57, 19], Operations: ['31+14=45', '64-45=19'] Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 57*19=1083, Resulting Numbers: [1083] 1083,67 unequal: No Solution Exploring Operation: 57+19=76, Resulting Numbers: [76] 76,67 unequal: No Solution Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,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:[45, 121], Operations: ['31+14=45', '64+57=121'] Exploring Operation: 45+121=166, Resulting Numbers: [166] 166,67 unequal: No Solution Exploring Operation: 121-45=76, Resulting Numbers: [76] 76,67 unequal: No Solution Exploring Operation: 45*121=5445, Resulting Numbers: [5445] 5445,67 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: 67:[31, 64, 71], Operations: ['14+57=71'] Exploring Operation: 31+71=102, Resulting Numbers: [64, 102] Generated Node #0,0,0: 67:[64, 102] Operation: 31+71=102 Exploring Operation: 71-31=40, Resulting Numbers: [64, 40] Generated Node #0,0,1: 67:[64, 40] Operation: 71-31=40 Exploring Operation: 71-64=7, Resulting Numbers: [31, 7] Generated Node #0,0,2: 67:[31, 7] Operation: 71-64=7 Exploring Operation: 31+64=95, Resulting Numbers: [71, 95] Generated Node #0,0,3: 67:[71, 95] Operation: 31+64=95 Exploring Operation: 64-31=33, Resulting Numbers: [71, 33] Generated Node #0,0,4: 67:[71, 33] Operation: 64-31=33 Moving to Node #0,3 Current State: 67:[31, 57, 78], Operations: ['64+14=78'] Exploring Operation: 78-57=21, Resulting Numbers: [31, 21] Generated Node #0,3,0: 67:[31, 21] Operation: 78-57=21 Exploring Operation: 57-31=26, Resulting Numbers: [78, 26] Generated Node #0,3,1: 67:[78, 26] Operation: 57-31=26 Exploring Operation: 31+78=109, Resulting Numbers: [57, 109] Generated Node #0,3,2: 67:[57, 109] Operation: 31+78=109 Exploring Operation: 78-31=47, Resulting Numbers: [57, 47] Generated Node #0,3,3: 67:[57, 47] Operation: 78-31=47 Exploring Operation: 31+57=88, Resulting Numbers: [78, 88] Generated Node #0,3,4: 67:[78, 88] Operation: 31+57=88 Moving to Node #0,1 Current State: 67:[64, 57, 17], Operations: ['31-14=17'] Exploring Operation: 57+17=74, Resulting Numbers: [64, 74] Generated Node #0,1,0: 67:[64, 74] Operation: 57+17=74 Exploring Operation: 57-17=40, Resulting Numbers: [64, 40] Generated Node #0,1,1: 67:[64, 40] Operation: 57-17=40 Exploring Operation: 64+57=121, Resulting Numbers: [17, 121] Generated Node #0,1,2: 67:[17, 121] Operation: 64+57=121 Exploring Operation: 64-17=47, Resulting Numbers: [57, 47] Generated Node #0,1,3: 67:[57, 47] Operation: 64-17=47 Exploring Operation: 64+17=81, Resulting Numbers: [57, 81] Generated Node #0,1,4: 67:[57, 81] Operation: 64+17=81 Moving to Node #0,2 Current State: 67:[31, 57, 50], Operations: ['64-14=50'] Exploring Operation: 57-31=26, Resulting Numbers: [50, 26] Generated Node #0,2,0: 67:[50, 26] Operation: 57-31=26 Exploring Operation: 50-31=19, Resulting Numbers: [57, 19] Generated Node #0,2,1: 67:[57, 19] Operation: 50-31=19 Exploring Operation: 31+50=81, Resulting Numbers: [57, 81] Generated Node #0,2,2: 67:[57, 81] Operation: 31+50=81 Exploring Operation: 57+50=107, Resulting Numbers: [31, 107] Generated Node #0,2,3: 67:[31, 107] Operation: 57+50=107 Exploring Operation: 31+57=88, Resulting Numbers: [50, 88] Generated Node #0,2,4: 67:[50, 88] Operation: 31+57=88 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[57, 81], Operations: ['64-14=50', '31+50=81'] Exploring Operation: 57*81=4617, Resulting Numbers: [4617] 4617,67 unequal: No Solution Exploring Operation: 57+81=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 81-57=24, Resulting Numbers: [24] 24,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,2,4 Current State: 67:[50, 88], Operations: ['64-14=50', '31+57=88'] Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 50+88=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 50*88=4400, Resulting Numbers: [4400] 4400,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,2,0 Current State: 67:[50, 26], Operations: ['64-14=50', '57-31=26'] Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,67 unequal: No Solution Exploring Operation: 50*26=1300, Resulting Numbers: [1300] 1300,67 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,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,2,1 Current State: 67:[57, 19], Operations: ['64-14=50', '50-31=19'] Exploring Operation: 57*19=1083, Resulting Numbers: [1083] 1083,67 unequal: No Solution Exploring Operation: 57+19=76, Resulting Numbers: [76] 76,67 unequal: No Solution Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,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,2,3 Current State: 67:[31, 107], Operations: ['64-14=50', '57+50=107'] Exploring Operation: 31+107=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 107-31=76, Resulting Numbers: [76] 76,67 unequal: No Solution Exploring Operation: 31*107=3317, Resulting Numbers: [3317] 3317,67 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: 67:[64, 74], Operations: ['31-14=17', '57+17=74'] Exploring Operation: 74-64=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 64+74=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 64*74=4736, Resulting Numbers: [4736] 4736,67 unequal: No Solution Moving to Node #0,1,4 Current State: 67:[57, 81], Operations: ['31-14=17', '64+17=81'] Exploring Operation: 57*81=4617, Resulting Numbers: [4617] 4617,67 unequal: No Solution Exploring Operation: 57+81=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 81-57=24, Resulting Numbers: [24] 24,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[57, 47], Operations: ['31-14=17', '64-17=47'] Exploring Operation: 57+47=104, Resulting Numbers: [104] 104,67 unequal: No Solution Exploring Operation: 57*47=2679, Resulting Numbers: [2679] 2679,67 unequal: No Solution Exploring Operation: 57-47=10, Resulting Numbers: [10] 10,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[57, 47], Operations: ['64+14=78', '78-31=47'] Exploring Operation: 57*47=2679, Resulting Numbers: [2679] 2679,67 unequal: No Solution Exploring Operation: 57-47=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 57+47=104, Resulting Numbers: [104] 104,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[64, 40], Operations: ['31-14=17', '57-17=40'] Exploring Operation: 64+40=104, Resulting Numbers: [104] 104,67 unequal: No Solution Exploring Operation: 64*40=2560, Resulting Numbers: [2560] 2560,67 unequal: No Solution Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[64, 40], Operations: ['14+57=71', '71-31=40'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 64+40=104, Resulting Numbers: [104] 104,67 unequal: No Solution Exploring Operation: 64*40=2560, Resulting Numbers: [2560] 2560,67 unequal: No Solution Moving to Node #0,3,4 Current State: 67:[78, 88], Operations: ['64+14=78', '31+57=88'] Exploring Operation: 78+88=166, Resulting Numbers: [166] 166,67 unequal: No Solution Exploring Operation: 78*88=6864, Resulting Numbers: [6864] 6864,67 unequal: No Solution Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[71, 95], Operations: ['14+57=71', '31+64=95'] Exploring Operation: 95-71=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 71*95=6745, Resulting Numbers: [6745] 6745,67 unequal: No Solution Exploring Operation: 71+95=166, Resulting Numbers: [166] 166,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[64, 102], Operations: ['14+57=71', '31+71=102'] Exploring Operation: 102-64=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 64+102=166, Resulting Numbers: [166] 166,67 unequal: No Solution Exploring Operation: 64*102=6528, Resulting Numbers: [6528] 6528,67 unequal: No Solution Moving to Node #0,0,4 Current State: 67:[71, 33], Operations: ['14+57=71', '64-31=33'] Exploring Operation: 71+33=104, Resulting Numbers: [104] 104,67 unequal: No Solution Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 71*33=2343, Resulting Numbers: [2343] 2343,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[57, 109], Operations: ['64+14=78', '31+78=109'] Exploring Operation: 109-57=52, Resulting Numbers: [52] 52,67 unequal: No Solution Exploring Operation: 57+109=166, Resulting Numbers: [166] 166,67 unequal: No Solution Exploring Operation: 57*109=6213, Resulting Numbers: [6213] 6213,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[78, 26], Operations: ['64+14=78', '57-31=26'] Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 78+26=104, Resulting Numbers: [104] 104,67 unequal: No Solution Exploring Operation: 78*26=2028, Resulting Numbers: [2028] 2028,67 unequal: No Solution Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[31, 21], Operations: ['64+14=78', '78-57=21'] Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 31+21=52, Resulting Numbers: [52] 52,67 unequal: No Solution Exploring Operation: 31*21=651, Resulting Numbers: [651] 651,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[31, 7], Operations: ['14+57=71', '71-64=7'] Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,67 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[17, 121], Operations: ['31-14=17', '64+57=121'] Exploring Operation: 121-17=104, Resulting Numbers: [104] 104,67 unequal: No Solution Exploring Operation: 17+121=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 17*121=2057, Resulting Numbers: [2057] 2057,67 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 55, 20, 15, 4 ]
15
[ "55+20=75", "15*4=60", "75-60=15" ]
Current State: 15:[55, 20, 15, 4], Operations: [] Exploring Operation: 55+20=75, Resulting Numbers: [15, 4, 75] Generated Node #2: [15, 4, 75] from Operation: 55+20=75 Current State: 15:[15, 4, 75], Operations: ['55+20=75'] Exploring Operation: 15*4=60, Resulting Numbers: [75, 60] Generated Node #3: [75, 60] from Operation: 15*4=60 Current State: 15:[75, 60], Operations: ['55+20=75', '15*4=60'] Exploring Operation: 75-60=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[55, 20, 15, 4], Operations: [] Exploring Operation: 55-20=35, Resulting Numbers: [15, 4, 35] Generated Node #0,0: 15:[15, 4, 35] Operation: 55-20=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[15, 4, 35], Operations: ['55-20=35'] Exploring Operation: 35-15=20, Resulting Numbers: [4, 20] Generated Node #0,0,0: 15:[4, 20] Operation: 35-15=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[4, 20], Operations: ['55-20=35', '35-15=20'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,15 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
[ 13, 40, 35, 10 ]
52
[ "40-13=27", "35-10=25", "27+25=52" ]
Current State: 52:[13, 40, 35, 10], Operations: [] Exploring Operation: 40-13=27, Resulting Numbers: [35, 10, 27] Generated Node #2: [35, 10, 27] from Operation: 40-13=27 Current State: 52:[35, 10, 27], Operations: ['40-13=27'] Exploring Operation: 35-10=25, Resulting Numbers: [27, 25] Generated Node #3: [27, 25] from Operation: 35-10=25 Current State: 52:[27, 25], Operations: ['40-13=27', '35-10=25'] Exploring Operation: 27+25=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[13, 40, 35, 10], Operations: [] Exploring Operation: 40/10=4, Resulting Numbers: [13, 35, 4] Generated Node #0,0: 52:[13, 35, 4] Operation: 40/10=4 Exploring Operation: 40-35=5, Resulting Numbers: [13, 10, 5] Generated Node #0,1: 52:[13, 10, 5] Operation: 40-35=5 Moving to Node #0,1 Current State: 52:[13, 10, 5], Operations: ['40-35=5'] Exploring Operation: 10/5=2, Resulting Numbers: [13, 2] Generated Node #0,1,0: 52:[13, 2] Operation: 10/5=2 Exploring Operation: 10-5=5, Resulting Numbers: [13, 5] Generated Node #0,1,1: 52:[13, 5] Operation: 10-5=5 Moving to Node #0,0 Current State: 52:[13, 35, 4], Operations: ['40/10=4'] Exploring Operation: 13+35=48, Resulting Numbers: [4, 48] Generated Node #0,0,0: 52:[4, 48] Operation: 13+35=48 Exploring Operation: 35-13=22, Resulting Numbers: [4, 22] Generated Node #0,0,1: 52:[4, 22] Operation: 35-13=22 Moving to Node #0,1,0 Current State: 52:[13, 2], Operations: ['40-35=5', '10/5=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[13, 5], Operations: ['40-35=5', '10-5=5'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[4, 22], Operations: ['40/10=4', '35-13=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,52 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[4, 48], Operations: ['40/10=4', '13+35=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[13, 40, 35, 10], Operations: [] Exploring Operation: 40/10=4, Resulting Numbers: [13, 35, 4] Generated Node #0,0: 52:[13, 35, 4] Operation: 40/10=4 Moving to Node #0,0 Current State: 52:[13, 35, 4], Operations: ['40/10=4'] Exploring Operation: 13+35=48, Resulting Numbers: [4, 48] Generated Node #0,0,0: 52:[4, 48] Operation: 13+35=48 Moving to Node #0,0,0 Current State: 52:[4, 48], Operations: ['40/10=4', '13+35=48'] Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.984375
hs_2
sum_heuristic
[ 8, 66, 71, 4 ]
72
[ "71-66=5", "4+5=9", "8*9=72" ]
Current State: 72:[8, 66, 71, 4], Operations: [] Exploring Operation: 71-66=5, Resulting Numbers: [8, 4, 5] Generated Node #2: [8, 4, 5] from Operation: 71-66=5 Current State: 72:[8, 4, 5], Operations: ['71-66=5'] Exploring Operation: 4+5=9, Resulting Numbers: [8, 9] Generated Node #3: [8, 9] from Operation: 4+5=9 Current State: 72:[8, 9], Operations: ['71-66=5', '4+5=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[8, 66, 71, 4], Operations: [] Exploring Operation: 8+4=12, Resulting Numbers: [66, 71, 12] Generated Node #0,0: 72:[66, 71, 12] Operation: 8+4=12 Exploring Operation: 8-4=4, Resulting Numbers: [66, 71, 4] Generated Node #0,1: 72:[66, 71, 4] Operation: 8-4=4 Exploring Operation: 71-66=5, Resulting Numbers: [8, 4, 5] Generated Node #0,2: 72:[8, 4, 5] Operation: 71-66=5 Exploring Operation: 8+66=74, Resulting Numbers: [71, 4, 74] Generated Node #0,3: 72:[71, 4, 74] Operation: 8+66=74 Exploring Operation: 66+4=70, Resulting Numbers: [8, 71, 70] Generated Node #0,4: 72:[8, 71, 70] Operation: 66+4=70 Moving to Node #0,2 Current State: 72:[8, 4, 5], Operations: ['71-66=5'] Exploring Operation: 8-5=3, Resulting Numbers: [4, 3] Generated Node #0,2,0: 72:[4, 3] Operation: 8-5=3 Exploring Operation: 4+5=9, Resulting Numbers: [8, 9] Generated Node #0,2,1: 72:[8, 9] Operation: 4+5=9 Exploring Operation: 8/4=2, Resulting Numbers: [5, 2] Generated Node #0,2,2: 72:[5, 2] Operation: 8/4=2 Exploring Operation: 8+4=12, Resulting Numbers: [5, 12] Generated Node #0,2,3: 72:[5, 12] Operation: 8+4=12 Exploring Operation: 8-4=4, Resulting Numbers: [5, 4] Generated Node #0,2,4: 72:[5, 4] Operation: 8-4=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[4, 3], Operations: ['71-66=5', '8-5=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,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,1 Current State: 72:[8, 9], Operations: ['71-66=5', '4+5=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[8, 66, 71, 4], Operations: [] Exploring Operation: 71-66=5, Resulting Numbers: [8, 4, 5] Generated Node #0,2: 72:[8, 4, 5] Operation: 71-66=5 Moving to Node #0,2 Current State: 72:[8, 4, 5], Operations: ['71-66=5'] Exploring Operation: 4+5=9, Resulting Numbers: [8, 9] Generated Node #0,2,1: 72:[8, 9] Operation: 4+5=9 Moving to Node #0,2,1 Current State: 72:[8, 9], Operations: ['71-66=5', '4+5=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 92, 77, 11, 83 ]
22
[ "92-83=9", "11*9=99", "99-77=22" ]
Current State: 22:[92, 77, 11, 83], Operations: [] Exploring Operation: 92-83=9, Resulting Numbers: [77, 11, 9] Generated Node #2: [77, 11, 9] from Operation: 92-83=9 Current State: 22:[77, 11, 9], Operations: ['92-83=9'] Exploring Operation: 11*9=99, Resulting Numbers: [77, 99] Generated Node #3: [77, 99] from Operation: 11*9=99 Current State: 22:[77, 99], Operations: ['92-83=9', '11*9=99'] Exploring Operation: 99-77=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[92, 77, 11, 83], Operations: [] Exploring Operation: 83-77=6, Resulting Numbers: [92, 11, 6] Generated Node #0,0: 22:[92, 11, 6] Operation: 83-77=6 Exploring Operation: 77/11=7, Resulting Numbers: [92, 83, 7] Generated Node #0,1: 22:[92, 83, 7] Operation: 77/11=7 Exploring Operation: 92-83=9, Resulting Numbers: [77, 11, 9] Generated Node #0,2: 22:[77, 11, 9] Operation: 92-83=9 Exploring Operation: 92-11=81, Resulting Numbers: [77, 83, 81] Generated Node #0,3: 22:[77, 83, 81] Operation: 92-11=81 Exploring Operation: 92-77=15, Resulting Numbers: [11, 83, 15] Generated Node #0,4: 22:[11, 83, 15] Operation: 92-77=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[77, 11, 9], Operations: ['92-83=9'] Exploring Operation: 77-11=66, Resulting Numbers: [9, 66] Generated Node #0,2,0: 22:[9, 66] Operation: 77-11=66 Exploring Operation: 11-9=2, Resulting Numbers: [77, 2] Generated Node #0,2,1: 22:[77, 2] Operation: 11-9=2 Exploring Operation: 77-9=68, Resulting Numbers: [11, 68] Generated Node #0,2,2: 22:[11, 68] Operation: 77-9=68 Exploring Operation: 77/11=7, Resulting Numbers: [9, 7] Generated Node #0,2,3: 22:[9, 7] Operation: 77/11=7 Exploring Operation: 11+9=20, Resulting Numbers: [77, 20] Generated Node #0,2,4: 22:[77, 20] Operation: 11+9=20 Moving to Node #0,2,3 Current State: 22:[9, 7], Operations: ['92-83=9', '77/11=7'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[11, 68], Operations: ['92-83=9', '77-9=68'] Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 11+68=79, Resulting Numbers: [79] 79,22 unequal: No Solution Exploring Operation: 11*68=748, Resulting Numbers: [748] 748,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[9, 66], Operations: ['92-83=9', '77-11=66'] Exploring Operation: 9*66=594, Resulting Numbers: [594] 594,22 unequal: No Solution Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[77, 2], Operations: ['92-83=9', '11-9=2'] Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,22 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,22 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,22 unequal: No Solution Moving to Node #0,2,4 Current State: 22:[77, 20], Operations: ['92-83=9', '11+9=20'] Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 77*20=1540, Resulting Numbers: [1540] 1540,22 unequal: No Solution Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,22 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: 22:[11, 83, 15], Operations: ['92-77=15'] Exploring Operation: 15-11=4, Resulting Numbers: [83, 4] Generated Node #0,4,0: 22:[83, 4] Operation: 15-11=4 Exploring Operation: 83-15=68, Resulting Numbers: [11, 68] Generated Node #0,4,1: 22:[11, 68] Operation: 83-15=68 Exploring Operation: 11+83=94, Resulting Numbers: [15, 94] Generated Node #0,4,2: 22:[15, 94] Operation: 11+83=94 Exploring Operation: 11+15=26, Resulting Numbers: [83, 26] Generated Node #0,4,3: 22:[83, 26] Operation: 11+15=26 Exploring Operation: 83-11=72, Resulting Numbers: [15, 72] Generated Node #0,4,4: 22:[15, 72] Operation: 83-11=72 Moving to Node #0,4,1 Current State: 22:[11, 68], Operations: ['92-77=15', '83-15=68'] Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 11*68=748, Resulting Numbers: [748] 748,22 unequal: No Solution Exploring Operation: 11+68=79, Resulting Numbers: [79] 79,22 unequal: No Solution Moving to Node #0,4,4 Current State: 22:[15, 72], Operations: ['92-77=15', '83-11=72'] Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 15*72=1080, Resulting Numbers: [1080] 1080,22 unequal: No Solution Exploring Operation: 15+72=87, Resulting Numbers: [87] 87,22 unequal: No Solution Moving to Node #0,4,0 Current State: 22:[83, 4], Operations: ['92-77=15', '15-11=4'] Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,22 unequal: No Solution Exploring Operation: 83*4=332, Resulting Numbers: [332] 332,22 unequal: No Solution Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,22 unequal: No Solution Moving to Node #0,4,3 Current State: 22:[83, 26], Operations: ['92-77=15', '11+15=26'] Exploring Operation: 83*26=2158, Resulting Numbers: [2158] 2158,22 unequal: No Solution Exploring Operation: 83+26=109, Resulting Numbers: [109] 109,22 unequal: No Solution Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,22 unequal: No Solution Moving to Node #0,4,2 Current State: 22:[15, 94], Operations: ['92-77=15', '11+83=94'] Exploring Operation: 15+94=109, Resulting Numbers: [109] 109,22 unequal: No Solution Exploring Operation: 15*94=1410, Resulting Numbers: [1410] 1410,22 unequal: No Solution Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,22 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: 22:[92, 11, 6], Operations: ['83-77=6'] Exploring Operation: 92+6=98, Resulting Numbers: [11, 98] Generated Node #0,0,0: 22:[11, 98] Operation: 92+6=98 Exploring Operation: 92-11=81, Resulting Numbers: [6, 81] Generated Node #0,0,1: 22:[6, 81] Operation: 92-11=81 Exploring Operation: 11-6=5, Resulting Numbers: [92, 5] Generated Node #0,0,2: 22:[92, 5] Operation: 11-6=5 Exploring Operation: 92-6=86, Resulting Numbers: [11, 86] Generated Node #0,0,3: 22:[11, 86] Operation: 92-6=86 Exploring Operation: 11+6=17, Resulting Numbers: [92, 17] Generated Node #0,0,4: 22:[92, 17] Operation: 11+6=17 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[6, 81], Operations: ['83-77=6', '92-11=81'] Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,22 unequal: No Solution Exploring Operation: 6*81=486, Resulting Numbers: [486] 486,22 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,22 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,3 Current State: 22:[11, 86], Operations: ['83-77=6', '92-6=86'] Exploring Operation: 11*86=946, Resulting Numbers: [946] 946,22 unequal: No Solution Exploring Operation: 11+86=97, Resulting Numbers: [97] 97,22 unequal: No Solution Exploring Operation: 86-11=75, Resulting Numbers: [75] 75,22 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: 22:[92, 5], Operations: ['83-77=6', '11-6=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,22 unequal: No Solution Exploring Operation: 92+5=97, Resulting Numbers: [97] 97,22 unequal: No Solution Exploring Operation: 92*5=460, Resulting Numbers: [460] 460,22 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,4 Current State: 22:[92, 17], Operations: ['83-77=6', '11+6=17'] Exploring Operation: 92*17=1564, Resulting Numbers: [1564] 1564,22 unequal: No Solution Exploring Operation: 92+17=109, Resulting Numbers: [109] 109,22 unequal: No Solution Exploring Operation: 92-17=75, Resulting Numbers: [75] 75,22 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: 22:[11, 98], Operations: ['83-77=6', '92+6=98'] Exploring Operation: 98-11=87, Resulting Numbers: [87] 87,22 unequal: No Solution Exploring Operation: 11*98=1078, Resulting Numbers: [1078] 1078,22 unequal: No Solution Exploring Operation: 11+98=109, Resulting Numbers: [109] 109,22 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: 22:[92, 83, 7], Operations: ['77/11=7'] Exploring Operation: 83+7=90, Resulting Numbers: [92, 90] Generated Node #0,1,0: 22:[92, 90] Operation: 83+7=90 Exploring Operation: 92-7=85, Resulting Numbers: [83, 85] Generated Node #0,1,1: 22:[83, 85] Operation: 92-7=85 Exploring Operation: 92+7=99, Resulting Numbers: [83, 99] Generated Node #0,1,2: 22:[83, 99] Operation: 92+7=99 Exploring Operation: 83-7=76, Resulting Numbers: [92, 76] Generated Node #0,1,3: 22:[92, 76] Operation: 83-7=76 Exploring Operation: 92-83=9, Resulting Numbers: [7, 9] Generated Node #0,1,4: 22:[7, 9] Operation: 92-83=9 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 22:[7, 9], Operations: ['77/11=7', '92-83=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,22 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: 22:[83, 85], Operations: ['77/11=7', '92-7=85'] Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 83*85=7055, Resulting Numbers: [7055] 7055,22 unequal: No Solution Exploring Operation: 83+85=168, Resulting Numbers: [168] 168,22 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: 22:[92, 76], Operations: ['77/11=7', '83-7=76'] Exploring Operation: 92-76=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 92*76=6992, Resulting Numbers: [6992] 6992,22 unequal: No Solution Exploring Operation: 92+76=168, Resulting Numbers: [168] 168,22 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: 22:[92, 90], Operations: ['77/11=7', '83+7=90'] Exploring Operation: 92+90=182, Resulting Numbers: [182] 182,22 unequal: No Solution Exploring Operation: 92*90=8280, Resulting Numbers: [8280] 8280,22 unequal: No Solution Exploring Operation: 92-90=2, Resulting Numbers: [2] 2,22 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: 22:[83, 99], Operations: ['77/11=7', '92+7=99'] Exploring Operation: 83*99=8217, Resulting Numbers: [8217] 8217,22 unequal: No Solution Exploring Operation: 99-83=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 83+99=182, Resulting Numbers: [182] 182,22 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: 22:[77, 83, 81], Operations: ['92-11=81'] Exploring Operation: 83-77=6, Resulting Numbers: [81, 6] Generated Node #0,3,0: 22:[81, 6] Operation: 83-77=6 Exploring Operation: 77+83=160, Resulting Numbers: [81, 160] Generated Node #0,3,1: 22:[81, 160] Operation: 77+83=160 Exploring Operation: 77+81=158, Resulting Numbers: [83, 158] Generated Node #0,3,2: 22:[83, 158] Operation: 77+81=158 Exploring Operation: 83-81=2, Resulting Numbers: [77, 2] Generated Node #0,3,3: 22:[77, 2] Operation: 83-81=2 Exploring Operation: 81-77=4, Resulting Numbers: [83, 4] Generated Node #0,3,4: 22:[83, 4] Operation: 81-77=4 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 22:[77, 2], Operations: ['92-11=81', '83-81=2'] Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,22 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,22 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,22 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: 22:[81, 6], Operations: ['92-11=81', '83-77=6'] Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,22 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,22 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: 22:[83, 4], Operations: ['92-11=81', '81-77=4'] Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,22 unequal: No Solution Exploring Operation: 83*4=332, Resulting Numbers: [332] 332,22 unequal: No Solution Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,22 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,1 Current State: 22:[81, 160], Operations: ['92-11=81', '77+83=160'] Exploring Operation: 81+160=241, Resulting Numbers: [241] 241,22 unequal: No Solution Exploring Operation: 160-81=79, Resulting Numbers: [79] 79,22 unequal: No Solution Exploring Operation: 81*160=12960, Resulting Numbers: [12960] 12960,22 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: 22:[83, 158], Operations: ['92-11=81', '77+81=158'] Exploring Operation: 83*158=13114, Resulting Numbers: [13114] 13114,22 unequal: No Solution Exploring Operation: 158-83=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 83+158=241, Resulting Numbers: [241] 241,22 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_5
mult_heuristic
[ 65, 48, 66, 98 ]
46
[ "98-65=33", "66/33=2", "48-2=46" ]
Current State: 46:[65, 48, 66, 98], Operations: [] Exploring Operation: 98-65=33, Resulting Numbers: [48, 66, 33] Generated Node #2: [48, 66, 33] from Operation: 98-65=33 Current State: 46:[48, 66, 33], Operations: ['98-65=33'] Exploring Operation: 66/33=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 66/33=2 Current State: 46:[48, 2], Operations: ['98-65=33', '66/33=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[65, 48, 66, 98], Operations: [] Exploring Operation: 98-65=33, Resulting Numbers: [48, 66, 33] Generated Node #0,0: 46:[48, 66, 33] Operation: 98-65=33 Exploring Operation: 98-66=32, Resulting Numbers: [65, 48, 32] Generated Node #0,1: 46:[65, 48, 32] Operation: 98-66=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[65, 48, 32], Operations: ['98-66=32'] Exploring Operation: 65-48=17, Resulting Numbers: [32, 17] Generated Node #0,1,0: 46:[32, 17] Operation: 65-48=17 Exploring Operation: 65-32=33, Resulting Numbers: [48, 33] Generated Node #0,1,1: 46:[48, 33] Operation: 65-32=33 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 46:[48, 33], Operations: ['98-66=32', '65-32=33'] Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 48+33=81, Resulting Numbers: [81] 81,46 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: 46:[32, 17], Operations: ['98-66=32', '65-48=17'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,46 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: 46:[48, 66, 33], Operations: ['98-65=33'] Exploring Operation: 66-33=33, Resulting Numbers: [48, 33] Generated Node #0,0,0: 46:[48, 33] Operation: 66-33=33 Exploring Operation: 66/33=2, Resulting Numbers: [48, 2] Generated Node #0,0,1: 46:[48, 2] Operation: 66/33=2 Moving to Node #0,0,1 Current State: 46:[48, 2], Operations: ['98-65=33', '66/33=2'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[65, 48, 66, 98], Operations: [] Exploring Operation: 98-65=33, Resulting Numbers: [48, 66, 33] Generated Node #0,0: 46:[48, 66, 33] Operation: 98-65=33 Moving to Node #0,0 Current State: 46:[48, 66, 33], Operations: ['98-65=33'] Exploring Operation: 66/33=2, Resulting Numbers: [48, 2] Generated Node #0,0,1: 46:[48, 2] Operation: 66/33=2 Moving to Node #0,0,1 Current State: 46:[48, 2], Operations: ['98-65=33', '66/33=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 49, 66, 40, 8 ]
31
[ "66-49=17", "40+8=48", "48-17=31" ]
Current State: 31:[49, 66, 40, 8], Operations: [] Exploring Operation: 66-49=17, Resulting Numbers: [40, 8, 17] Generated Node #2: [40, 8, 17] from Operation: 66-49=17 Current State: 31:[40, 8, 17], Operations: ['66-49=17'] Exploring Operation: 40+8=48, Resulting Numbers: [17, 48] Generated Node #3: [17, 48] from Operation: 40+8=48 Current State: 31:[17, 48], Operations: ['66-49=17', '40+8=48'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[49, 66, 40, 8], Operations: [] Exploring Operation: 66-49=17, Resulting Numbers: [40, 8, 17] Generated Node #0,0: 31:[40, 8, 17] Operation: 66-49=17 Exploring Operation: 66-8=58, Resulting Numbers: [49, 40, 58] Generated Node #0,1: 31:[49, 40, 58] Operation: 66-8=58 Exploring Operation: 49-8=41, Resulting Numbers: [66, 40, 41] Generated Node #0,2: 31:[66, 40, 41] Operation: 49-8=41 Exploring Operation: 66-40=26, Resulting Numbers: [49, 8, 26] Generated Node #0,3: 31:[49, 8, 26] Operation: 66-40=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[40, 8, 17], Operations: ['66-49=17'] Exploring Operation: 40-8=32, Resulting Numbers: [17, 32] Generated Node #0,0,0: 31:[17, 32] Operation: 40-8=32 Exploring Operation: 40+8=48, Resulting Numbers: [17, 48] Generated Node #0,0,1: 31:[17, 48] Operation: 40+8=48 Exploring Operation: 40-17=23, Resulting Numbers: [8, 23] Generated Node #0,0,2: 31:[8, 23] Operation: 40-17=23 Exploring Operation: 8+17=25, Resulting Numbers: [40, 25] Generated Node #0,0,3: 31:[40, 25] Operation: 8+17=25 Moving to Node #0,0,0 Current State: 31:[17, 32], Operations: ['66-49=17', '40-8=32'] Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,31 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[40, 25], Operations: ['66-49=17', '8+17=25'] Exploring Operation: 40+25=65, Resulting Numbers: [65] 65,31 unequal: No Solution Exploring Operation: 40*25=1000, Resulting Numbers: [1000] 1000,31 unequal: No Solution Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[8, 23], Operations: ['66-49=17', '40-17=23'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,31 unequal: No Solution Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[49, 66, 40, 8], Operations: [] Exploring Operation: 66-49=17, Resulting Numbers: [40, 8, 17] Generated Node #0,0: 31:[40, 8, 17] Operation: 66-49=17 Moving to Node #0,0 Current State: 31:[40, 8, 17], Operations: ['66-49=17'] Exploring Operation: 40-17=23, Resulting Numbers: [8, 23] Generated Node #0,0,2: 31:[8, 23] Operation: 40-17=23 Moving to Node #0,0,2 Current State: 31:[8, 23], Operations: ['66-49=17', '40-17=23'] Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 26, 85, 93, 63 ]
97
[ "85-26=59", "93+63=156", "156-59=97" ]
Current State: 97:[26, 85, 93, 63], Operations: [] Exploring Operation: 85-26=59, Resulting Numbers: [93, 63, 59] Generated Node #2: [93, 63, 59] from Operation: 85-26=59 Current State: 97:[93, 63, 59], Operations: ['85-26=59'] Exploring Operation: 93+63=156, Resulting Numbers: [59, 156] Generated Node #3: [59, 156] from Operation: 93+63=156 Current State: 97:[59, 156], Operations: ['85-26=59', '93+63=156'] Exploring Operation: 156-59=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[26, 85, 93, 63], Operations: [] Exploring Operation: 26+93=119, Resulting Numbers: [85, 63, 119] Generated Node #0,0: 97:[85, 63, 119] Operation: 26+93=119 Exploring Operation: 26+85=111, Resulting Numbers: [93, 63, 111] Generated Node #0,1: 97:[93, 63, 111] Operation: 26+85=111 Exploring Operation: 85-26=59, Resulting Numbers: [93, 63, 59] Generated Node #0,2: 97:[93, 63, 59] Operation: 85-26=59 Exploring Operation: 93-26=67, Resulting Numbers: [85, 63, 67] Generated Node #0,3: 97:[85, 63, 67] Operation: 93-26=67 Exploring Operation: 26+63=89, Resulting Numbers: [85, 93, 89] Generated Node #0,4: 97:[85, 93, 89] Operation: 26+63=89 Moving to Node #0,4 Current State: 97:[85, 93, 89], Operations: ['26+63=89'] Exploring Operation: 89-85=4, Resulting Numbers: [93, 4] Generated Node #0,4,0: 97:[93, 4] Operation: 89-85=4 Exploring Operation: 93+89=182, Resulting Numbers: [85, 182] Generated Node #0,4,1: 97:[85, 182] Operation: 93+89=182 Exploring Operation: 93-85=8, Resulting Numbers: [89, 8] Generated Node #0,4,2: 97:[89, 8] Operation: 93-85=8 Exploring Operation: 85+93=178, Resulting Numbers: [89, 178] Generated Node #0,4,3: 97:[89, 178] Operation: 85+93=178 Exploring Operation: 85+89=174, Resulting Numbers: [93, 174] Generated Node #0,4,4: 97:[93, 174] Operation: 85+89=174 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 97:[93, 174], Operations: ['26+63=89', '85+89=174'] Exploring Operation: 174-93=81, Resulting Numbers: [81] 81,97 unequal: No Solution Exploring Operation: 93*174=16182, Resulting Numbers: [16182] 16182,97 unequal: No Solution Exploring Operation: 93+174=267, Resulting Numbers: [267] 267,97 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: 97:[89, 178], Operations: ['26+63=89', '85+93=178'] Exploring Operation: 89+178=267, Resulting Numbers: [267] 267,97 unequal: No Solution Exploring Operation: 89*178=15842, Resulting Numbers: [15842] 15842,97 unequal: No Solution Exploring Operation: 178-89=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 178/89=2, Resulting Numbers: [2] 2,97 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: 97:[93, 4], Operations: ['26+63=89', '89-85=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[26, 85, 93, 63], Operations: [] Exploring Operation: 26+63=89, Resulting Numbers: [85, 93, 89] Generated Node #0,4: 97:[85, 93, 89] Operation: 26+63=89 Moving to Node #0,4 Current State: 97:[85, 93, 89], Operations: ['26+63=89'] Exploring Operation: 89-85=4, Resulting Numbers: [93, 4] Generated Node #0,4,0: 97:[93, 4] Operation: 89-85=4 Moving to Node #0,4,0 Current State: 97:[93, 4], Operations: ['26+63=89', '89-85=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic