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
[ 61, 30, 39, 2 ]
72
[ "61-30=31", "39+2=41", "31+41=72" ]
Current State: 72:[61, 30, 39, 2], Operations: [] Exploring Operation: 61-30=31, Resulting Numbers: [39, 2, 31] Generated Node #2: [39, 2, 31] from Operation: 61-30=31 Current State: 72:[39, 2, 31], Operations: ['61-30=31'] Exploring Operation: 39+2=41, Resulting Numbers: [31, 41] Generated Node #3: [31, 41] from Operation: 39+2=41 Current State: 72:[31, 41], Operations: ['61-30=31', '39+2=41'] Exploring Operation: 31+41=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[61, 30, 39, 2], Operations: [] Exploring Operation: 39-30=9, Resulting Numbers: [61, 2, 9] Generated Node #0,0: 72:[61, 2, 9] Operation: 39-30=9 Exploring Operation: 61-39=22, Resulting Numbers: [30, 2, 22] Generated Node #0,1: 72:[30, 2, 22] Operation: 61-39=22 Exploring Operation: 61-30=31, Resulting Numbers: [39, 2, 31] Generated Node #0,2: 72:[39, 2, 31] Operation: 61-30=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[30, 2, 22], Operations: ['61-39=22'] Exploring Operation: 30-22=8, Resulting Numbers: [2, 8] Generated Node #0,1,0: 72:[2, 8] Operation: 30-22=8 Exploring Operation: 30+2=32, Resulting Numbers: [22, 32] Generated Node #0,1,1: 72:[22, 32] Operation: 30+2=32 Exploring Operation: 30/2=15, Resulting Numbers: [22, 15] Generated Node #0,1,2: 72:[22, 15] Operation: 30/2=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[2, 8], Operations: ['61-39=22', '30-22=8'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,72 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: 72:[22, 15], Operations: ['61-39=22', '30/2=15'] Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,72 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,72 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,72 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: 72:[22, 32], Operations: ['61-39=22', '30+2=32'] Exploring Operation: 22*32=704, Resulting Numbers: [704] 704,72 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 22+32=54, Resulting Numbers: [54] 54,72 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: 72:[39, 2, 31], Operations: ['61-30=31'] Exploring Operation: 39-31=8, Resulting Numbers: [2, 8] Generated Node #0,2,0: 72:[2, 8] Operation: 39-31=8 Exploring Operation: 39-2=37, Resulting Numbers: [31, 37] Generated Node #0,2,1: 72:[31, 37] Operation: 39-2=37 Exploring Operation: 39+31=70, Resulting Numbers: [2, 70] Generated Node #0,2,2: 72:[2, 70] Operation: 39+31=70 Moving to Node #0,2,0 Current State: 72:[2, 8], Operations: ['61-30=31', '39-31=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,72 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[2, 70], Operations: ['61-30=31', '39+31=70'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[61, 30, 39, 2], Operations: [] Exploring Operation: 61-30=31, Resulting Numbers: [39, 2, 31] Generated Node #0,2: 72:[39, 2, 31] Operation: 61-30=31 Moving to Node #0,2 Current State: 72:[39, 2, 31], Operations: ['61-30=31'] Exploring Operation: 39+31=70, Resulting Numbers: [2, 70] Generated Node #0,2,2: 72:[2, 70] Operation: 39+31=70 Moving to Node #0,2,2 Current State: 72:[2, 70], Operations: ['61-30=31', '39+31=70'] Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
sum_heuristic
[ 77, 84, 46, 79 ]
26
[ "84-77=7", "79-46=33", "33-7=26" ]
Current State: 26:[77, 84, 46, 79], Operations: [] Exploring Operation: 84-77=7, Resulting Numbers: [46, 79, 7] Generated Node #2: [46, 79, 7] from Operation: 84-77=7 Current State: 26:[46, 79, 7], Operations: ['84-77=7'] Exploring Operation: 79-46=33, Resulting Numbers: [7, 33] Generated Node #3: [7, 33] from Operation: 79-46=33 Current State: 26:[7, 33], Operations: ['84-77=7', '79-46=33'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[77, 84, 46, 79], Operations: [] Exploring Operation: 77-46=31, Resulting Numbers: [84, 79, 31] Generated Node #0,0: 26:[84, 79, 31] Operation: 77-46=31 Exploring Operation: 79-77=2, Resulting Numbers: [84, 46, 2] Generated Node #0,1: 26:[84, 46, 2] Operation: 79-77=2 Exploring Operation: 84-77=7, Resulting Numbers: [46, 79, 7] Generated Node #0,2: 26:[46, 79, 7] Operation: 84-77=7 Exploring Operation: 84-79=5, Resulting Numbers: [77, 46, 5] Generated Node #0,3: 26:[77, 46, 5] Operation: 84-79=5 Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[77, 46, 5], Operations: ['84-79=5'] Exploring Operation: 77-46=31, Resulting Numbers: [5, 31] Generated Node #0,3,0: 26:[5, 31] Operation: 77-46=31 Exploring Operation: 77-5=72, Resulting Numbers: [46, 72] Generated Node #0,3,1: 26:[46, 72] Operation: 77-5=72 Exploring Operation: 77+5=82, Resulting Numbers: [46, 82] Generated Node #0,3,2: 26:[46, 82] Operation: 77+5=82 Exploring Operation: 46-5=41, Resulting Numbers: [77, 41] Generated Node #0,3,3: 26:[77, 41] Operation: 46-5=41 Moving to Node #0,3,0 Current State: 26:[5, 31], Operations: ['84-79=5', '77-46=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,26 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,26 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[77, 84, 46, 79], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [77, 46, 5] Generated Node #0,3: 26:[77, 46, 5] Operation: 84-79=5 Moving to Node #0,3 Current State: 26:[77, 46, 5], Operations: ['84-79=5'] Exploring Operation: 77-46=31, Resulting Numbers: [5, 31] Generated Node #0,3,0: 26:[5, 31] Operation: 77-46=31 Moving to Node #0,3,0 Current State: 26:[5, 31], Operations: ['84-79=5', '77-46=31'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 23, 44, 25, 1 ]
92
[ "23+44=67", "25*1=25", "67+25=92" ]
Current State: 92:[23, 44, 25, 1], Operations: [] Exploring Operation: 23+44=67, Resulting Numbers: [25, 1, 67] Generated Node #2: [25, 1, 67] from Operation: 23+44=67 Current State: 92:[25, 1, 67], Operations: ['23+44=67'] Exploring Operation: 25*1=25, Resulting Numbers: [67, 25] Generated Node #3: [67, 25] from Operation: 25*1=25 Current State: 92:[67, 25], Operations: ['23+44=67', '25*1=25'] Exploring Operation: 67+25=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[23, 44, 25, 1], Operations: [] Exploring Operation: 25-23=2, Resulting Numbers: [44, 1, 2] Generated Node #0,0: 92:[44, 1, 2] Operation: 25-23=2 Exploring Operation: 44+1=45, Resulting Numbers: [23, 25, 45] Generated Node #0,1: 92:[23, 25, 45] Operation: 44+1=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[44, 1, 2], Operations: ['25-23=2'] Exploring Operation: 44+2=46, Resulting Numbers: [1, 46] Generated Node #0,0,0: 92:[1, 46] Operation: 44+2=46 Exploring Operation: 44+1=45, Resulting Numbers: [2, 45] Generated Node #0,0,1: 92:[2, 45] Operation: 44+1=45 Moving to Node #0,0,0 Current State: 92:[1, 46], Operations: ['25-23=2', '44+2=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,92 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[2, 45], Operations: ['25-23=2', '44+1=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,92 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[23, 25, 45], Operations: ['44+1=45'] Exploring Operation: 23+25=48, Resulting Numbers: [45, 48] Generated Node #0,1,0: 92:[45, 48] Operation: 23+25=48 Exploring Operation: 25-23=2, Resulting Numbers: [45, 2] Generated Node #0,1,1: 92:[45, 2] Operation: 25-23=2 Moving to Node #0,1,1 Current State: 92:[45, 2], Operations: ['44+1=45', '25-23=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,92 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[45, 48], Operations: ['44+1=45', '23+25=48'] Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,92 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 34, 41, 55, 27 ]
57
[ "41+27=68", "68/34=2", "55+2=57" ]
Current State: 57:[34, 41, 55, 27], Operations: [] Exploring Operation: 41+27=68, Resulting Numbers: [34, 55, 68] Generated Node #2: [34, 55, 68] from Operation: 41+27=68 Current State: 57:[34, 55, 68], Operations: ['41+27=68'] Exploring Operation: 68/34=2, Resulting Numbers: [55, 2] Generated Node #3: [55, 2] from Operation: 68/34=2 Current State: 57:[55, 2], Operations: ['41+27=68', '68/34=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[34, 41, 55, 27], Operations: [] Exploring Operation: 41-34=7, Resulting Numbers: [55, 27, 7] Generated Node #0,0: 57:[55, 27, 7] Operation: 41-34=7 Moving to Node #0,0 Current State: 57:[55, 27, 7], Operations: ['41-34=7'] Exploring Operation: 27-7=20, Resulting Numbers: [55, 20] Generated Node #0,0,0: 57:[55, 20] Operation: 27-7=20 Moving to Node #0,0,0 Current State: 57:[55, 20], Operations: ['41-34=7', '27-7=20'] Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,57 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 15, 39, 90, 25 ]
48
[ "25-15=10", "90/10=9", "39+9=48" ]
Current State: 48:[15, 39, 90, 25], Operations: [] Exploring Operation: 25-15=10, Resulting Numbers: [39, 90, 10] Generated Node #2: [39, 90, 10] from Operation: 25-15=10 Current State: 48:[39, 90, 10], Operations: ['25-15=10'] Exploring Operation: 90/10=9, Resulting Numbers: [39, 9] Generated Node #3: [39, 9] from Operation: 90/10=9 Current State: 48:[39, 9], Operations: ['25-15=10', '90/10=9'] Exploring Operation: 39+9=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[15, 39, 90, 25], Operations: [] Exploring Operation: 90-39=51, Resulting Numbers: [15, 25, 51] Generated Node #0,0: 48:[15, 25, 51] Operation: 90-39=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[15, 25, 51], Operations: ['90-39=51'] Exploring Operation: 51-25=26, Resulting Numbers: [15, 26] Generated Node #0,0,0: 48:[15, 26] Operation: 51-25=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[15, 26], Operations: ['90-39=51', '51-25=26'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,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 No solution found.
0
hs_1
sum_heuristic
[ 99, 7, 22, 2 ]
63
[ "99*7=693", "22/2=11", "693/11=63" ]
Current State: 63:[99, 7, 22, 2], Operations: [] Exploring Operation: 99*7=693, Resulting Numbers: [22, 2, 693] Generated Node #2: [22, 2, 693] from Operation: 99*7=693 Current State: 63:[22, 2, 693], Operations: ['99*7=693'] Exploring Operation: 22/2=11, Resulting Numbers: [693, 11] Generated Node #3: [693, 11] from Operation: 22/2=11 Current State: 63:[693, 11], Operations: ['99*7=693', '22/2=11'] Exploring Operation: 693/11=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[99, 7, 22, 2], Operations: [] Exploring Operation: 99-2=97, Resulting Numbers: [7, 22, 97] Generated Node #0,0: 63:[7, 22, 97] Operation: 99-2=97 Exploring Operation: 99-22=77, Resulting Numbers: [7, 2, 77] Generated Node #0,1: 63:[7, 2, 77] Operation: 99-22=77 Exploring Operation: 99-7=92, Resulting Numbers: [22, 2, 92] Generated Node #0,2: 63:[22, 2, 92] Operation: 99-7=92 Moving to Node #0,1 Current State: 63:[7, 2, 77], Operations: ['99-22=77'] Exploring Operation: 77-7=70, Resulting Numbers: [2, 70] Generated Node #0,1,0: 63:[2, 70] Operation: 77-7=70 Exploring Operation: 77/7=11, Resulting Numbers: [2, 11] Generated Node #0,1,1: 63:[2, 11] Operation: 77/7=11 Exploring Operation: 77-2=75, Resulting Numbers: [7, 75] Generated Node #0,1,2: 63:[7, 75] Operation: 77-2=75 Moving to Node #0,2 Current State: 63:[22, 2, 92], Operations: ['99-7=92'] Exploring Operation: 92/2=46, Resulting Numbers: [22, 46] Generated Node #0,2,0: 63:[22, 46] Operation: 92/2=46 Exploring Operation: 92-2=90, Resulting Numbers: [22, 90] Generated Node #0,2,1: 63:[22, 90] Operation: 92-2=90 Exploring Operation: 92-22=70, Resulting Numbers: [2, 70] Generated Node #0,2,2: 63:[2, 70] Operation: 92-22=70 Moving to Node #0,0 Current State: 63:[7, 22, 97], Operations: ['99-2=97'] Exploring Operation: 97-7=90, Resulting Numbers: [22, 90] Generated Node #0,0,0: 63:[22, 90] Operation: 97-7=90 Exploring Operation: 22-7=15, Resulting Numbers: [97, 15] Generated Node #0,0,1: 63:[97, 15] Operation: 22-7=15 Exploring Operation: 97-22=75, Resulting Numbers: [7, 75] Generated Node #0,0,2: 63:[7, 75] Operation: 97-22=75 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[7, 75], Operations: ['99-2=97', '97-22=75'] Exploring Operation: 7+75=82, Resulting Numbers: [82] 82,63 unequal: No Solution Exploring Operation: 7*75=525, Resulting Numbers: [525] 525,63 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,63 unequal: No Solution No 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: 63:[22, 90], Operations: ['99-2=97', '97-7=90'] Exploring Operation: 22+90=112, Resulting Numbers: [112] 112,63 unequal: No Solution Exploring Operation: 90-22=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 22*90=1980, Resulting Numbers: [1980] 1980,63 unequal: No Solution No 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: 63:[97, 15], Operations: ['99-2=97', '22-7=15'] Exploring Operation: 97*15=1455, Resulting Numbers: [1455] 1455,63 unequal: No Solution Exploring Operation: 97+15=112, Resulting Numbers: [112] 112,63 unequal: No Solution Exploring Operation: 97-15=82, Resulting Numbers: [82] 82,63 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: 63:[2, 11], Operations: ['99-22=77', '77/7=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,63 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[2, 70], Operations: ['99-22=77', '77-7=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[2, 70], Operations: ['99-7=92', '92-22=70'] Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[7, 75], Operations: ['99-22=77', '77-2=75'] Exploring Operation: 7+75=82, Resulting Numbers: [82] 82,63 unequal: No Solution Exploring Operation: 7*75=525, Resulting Numbers: [525] 525,63 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[22, 46], Operations: ['99-7=92', '92/2=46'] Exploring Operation: 22+46=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 22*46=1012, Resulting Numbers: [1012] 1012,63 unequal: No Solution Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[22, 90], Operations: ['99-7=92', '92-2=90'] Exploring Operation: 22*90=1980, Resulting Numbers: [1980] 1980,63 unequal: No Solution Exploring Operation: 90-22=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 22+90=112, Resulting Numbers: [112] 112,63 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 1, 51, 57, 20 ]
88
[ "1*51=51", "57-20=37", "51+37=88" ]
Current State: 88:[1, 51, 57, 20], Operations: [] Exploring Operation: 1*51=51, Resulting Numbers: [57, 20, 51] Generated Node #2: [57, 20, 51] from Operation: 1*51=51 Current State: 88:[57, 20, 51], Operations: ['1*51=51'] Exploring Operation: 57-20=37, Resulting Numbers: [51, 37] Generated Node #3: [51, 37] from Operation: 57-20=37 Current State: 88:[51, 37], Operations: ['1*51=51', '57-20=37'] Exploring Operation: 51+37=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[1, 51, 57, 20], Operations: [] Exploring Operation: 57+20=77, Resulting Numbers: [1, 51, 77] Generated Node #0,0: 88:[1, 51, 77] Operation: 57+20=77 Exploring Operation: 57-20=37, Resulting Numbers: [1, 51, 37] Generated Node #0,1: 88:[1, 51, 37] Operation: 57-20=37 Exploring Operation: 57-51=6, Resulting Numbers: [1, 20, 6] Generated Node #0,2: 88:[1, 20, 6] Operation: 57-51=6 Exploring Operation: 57-1=56, Resulting Numbers: [51, 20, 56] Generated Node #0,3: 88:[51, 20, 56] Operation: 57-1=56 Exploring Operation: 51-1=50, Resulting Numbers: [57, 20, 50] Generated Node #0,4: 88:[57, 20, 50] Operation: 51-1=50 Moving to Node #0,2 Current State: 88:[1, 20, 6], Operations: ['57-51=6'] Exploring Operation: 1*20=20, Resulting Numbers: [6, 20] Generated Node #0,2,0: 88:[6, 20] Operation: 1*20=20 Exploring Operation: 20/1=20, Resulting Numbers: [6, 20] Generated Node #0,2,1: 88:[6, 20] Operation: 20/1=20 Exploring Operation: 1+20=21, Resulting Numbers: [6, 21] Generated Node #0,2,2: 88:[6, 21] Operation: 1+20=21 Exploring Operation: 6-1=5, Resulting Numbers: [20, 5] Generated Node #0,2,3: 88:[20, 5] Operation: 6-1=5 Exploring Operation: 1+6=7, Resulting Numbers: [20, 7] Generated Node #0,2,4: 88:[20, 7] Operation: 1+6=7 Moving to Node #0,1 Current State: 88:[1, 51, 37], Operations: ['57-20=37'] Exploring Operation: 51-1=50, Resulting Numbers: [37, 50] Generated Node #0,1,0: 88:[37, 50] Operation: 51-1=50 Exploring Operation: 51+37=88, Resulting Numbers: [1, 88] Generated Node #0,1,1: 88:[1, 88] Operation: 51+37=88 Exploring Operation: 1+37=38, Resulting Numbers: [51, 38] Generated Node #0,1,2: 88:[51, 38] Operation: 1+37=38 Exploring Operation: 51-37=14, Resulting Numbers: [1, 14] Generated Node #0,1,3: 88:[1, 14] Operation: 51-37=14 Exploring Operation: 1*51=51, Resulting Numbers: [37, 51] Generated Node #0,1,4: 88:[37, 51] Operation: 1*51=51 Moving to Node #0,0 Current State: 88:[1, 51, 77], Operations: ['57+20=77'] Exploring Operation: 51-1=50, Resulting Numbers: [77, 50] Generated Node #0,0,0: 88:[77, 50] Operation: 51-1=50 Exploring Operation: 77-51=26, Resulting Numbers: [1, 26] Generated Node #0,0,1: 88:[1, 26] Operation: 77-51=26 Exploring Operation: 1+77=78, Resulting Numbers: [51, 78] Generated Node #0,0,2: 88:[51, 78] Operation: 1+77=78 Exploring Operation: 51/1=51, Resulting Numbers: [77, 51] Generated Node #0,0,3: 88:[77, 51] Operation: 51/1=51 Exploring Operation: 1*51=51, Resulting Numbers: [77, 51] Generated Node #0,0,4: 88:[77, 51] Operation: 1*51=51 Moving to Node #0,3 Current State: 88:[51, 20, 56], Operations: ['57-1=56'] Exploring Operation: 51+56=107, Resulting Numbers: [20, 107] Generated Node #0,3,0: 88:[20, 107] Operation: 51+56=107 Exploring Operation: 20+56=76, Resulting Numbers: [51, 76] Generated Node #0,3,1: 88:[51, 76] Operation: 20+56=76 Exploring Operation: 51-20=31, Resulting Numbers: [56, 31] Generated Node #0,3,2: 88:[56, 31] Operation: 51-20=31 Exploring Operation: 56-20=36, Resulting Numbers: [51, 36] Generated Node #0,3,3: 88:[51, 36] Operation: 56-20=36 Exploring Operation: 56-51=5, Resulting Numbers: [20, 5] Generated Node #0,3,4: 88:[20, 5] Operation: 56-51=5 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 88:[20, 5], Operations: ['57-1=56', '56-51=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,88 unequal: No Solution Exploring Operation: 20-5=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,3 Current State: 88:[51, 36], Operations: ['57-1=56', '56-20=36'] Exploring Operation: 51+36=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 51*36=1836, Resulting Numbers: [1836] 1836,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:[51, 76], Operations: ['57-1=56', '20+56=76'] Exploring Operation: 51*76=3876, Resulting Numbers: [3876] 3876,88 unequal: No Solution Exploring Operation: 76-51=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 51+76=127, Resulting Numbers: [127] 127,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:[20, 107], Operations: ['57-1=56', '51+56=107'] Exploring Operation: 107-20=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 20*107=2140, Resulting Numbers: [2140] 2140,88 unequal: No Solution Exploring Operation: 20+107=127, Resulting Numbers: [127] 127,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:[56, 31], Operations: ['57-1=56', '51-20=31'] Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 56*31=1736, Resulting Numbers: [1736] 1736,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:[57, 20, 50], Operations: ['51-1=50'] Exploring Operation: 57+20=77, Resulting Numbers: [50, 77] Generated Node #0,4,0: 88:[50, 77] Operation: 57+20=77 Exploring Operation: 57-20=37, Resulting Numbers: [50, 37] Generated Node #0,4,1: 88:[50, 37] Operation: 57-20=37 Exploring Operation: 57+50=107, Resulting Numbers: [20, 107] Generated Node #0,4,2: 88:[20, 107] Operation: 57+50=107 Exploring Operation: 50-20=30, Resulting Numbers: [57, 30] Generated Node #0,4,3: 88:[57, 30] Operation: 50-20=30 Exploring Operation: 57-50=7, Resulting Numbers: [20, 7] Generated Node #0,4,4: 88:[20, 7] Operation: 57-50=7 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 88:[20, 7], Operations: ['51-1=50', '57-50=7'] Exploring Operation: 20*7=140, Resulting Numbers: [140] 140,88 unequal: No Solution Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,88 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,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,4,1 Current State: 88:[50, 37], Operations: ['51-1=50', '57-20=37'] Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 50+37=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 50*37=1850, Resulting Numbers: [1850] 1850,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,4,0 Current State: 88:[50, 77], Operations: ['51-1=50', '57+20=77'] Exploring Operation: 77-50=27, Resulting Numbers: [27] 27,88 unequal: No Solution Exploring Operation: 50+77=127, Resulting Numbers: [127] 127,88 unequal: No Solution Exploring Operation: 50*77=3850, Resulting Numbers: [3850] 3850,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,4,2 Current State: 88:[20, 107], Operations: ['51-1=50', '57+50=107'] Exploring Operation: 20*107=2140, Resulting Numbers: [2140] 2140,88 unequal: No Solution Exploring Operation: 20+107=127, Resulting Numbers: [127] 127,88 unequal: No Solution Exploring Operation: 107-20=87, Resulting Numbers: [87] 87,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,4,3 Current State: 88:[57, 30], Operations: ['51-1=50', '50-20=30'] Exploring Operation: 57*30=1710, Resulting Numbers: [1710] 1710,88 unequal: No Solution Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,88 unequal: No Solution Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,88 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: 88:[1, 88], Operations: ['57-20=37', '51+37=88'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[1, 51, 57, 20], Operations: [] Exploring Operation: 57-20=37, Resulting Numbers: [1, 51, 37] Generated Node #0,1: 88:[1, 51, 37] Operation: 57-20=37 Moving to Node #0,1 Current State: 88:[1, 51, 37], Operations: ['57-20=37'] Exploring Operation: 51+37=88, Resulting Numbers: [1, 88] Generated Node #0,1,1: 88:[1, 88] Operation: 51+37=88 Moving to Node #0,1,1 Current State: 88:[1, 88], Operations: ['57-20=37', '51+37=88'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.942708
hs_5
mult_heuristic
[ 7, 35, 93, 65 ]
23
[ "35/7=5", "93-65=28", "28-5=23" ]
Current State: 23:[7, 35, 93, 65], Operations: [] Exploring Operation: 35/7=5, Resulting Numbers: [93, 65, 5] Generated Node #2: [93, 65, 5] from Operation: 35/7=5 Current State: 23:[93, 65, 5], Operations: ['35/7=5'] Exploring Operation: 93-65=28, Resulting Numbers: [5, 28] Generated Node #3: [5, 28] from Operation: 93-65=28 Current State: 23:[5, 28], Operations: ['35/7=5', '93-65=28'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[7, 35, 93, 65], Operations: [] Exploring Operation: 93-35=58, Resulting Numbers: [7, 65, 58] Generated Node #0,0: 23:[7, 65, 58] Operation: 93-35=58 Exploring Operation: 93-65=28, Resulting Numbers: [7, 35, 28] Generated Node #0,1: 23:[7, 35, 28] Operation: 93-65=28 Exploring Operation: 65-35=30, Resulting Numbers: [7, 93, 30] Generated Node #0,2: 23:[7, 93, 30] Operation: 65-35=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[7, 35, 28], Operations: ['93-65=28'] Exploring Operation: 35-7=28, Resulting Numbers: [28, 28] Generated Node #0,1,0: 23:[28, 28] Operation: 35-7=28 Exploring Operation: 28-7=21, Resulting Numbers: [35, 21] Generated Node #0,1,1: 23:[35, 21] Operation: 28-7=21 Exploring Operation: 35/7=5, Resulting Numbers: [28, 5] Generated Node #0,1,2: 23:[28, 5] Operation: 35/7=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 23:[28, 28], Operations: ['93-65=28', '35-7=28'] Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,23 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: 23:[35, 21], Operations: ['93-65=28', '28-7=21'] Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 35*21=735, Resulting Numbers: [735] 735,23 unequal: No Solution Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,23 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: 23:[28, 5], Operations: ['93-65=28', '35/7=5'] Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,23 unequal: No Solution Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,23 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[7, 35, 93, 65], Operations: [] Exploring Operation: 93-65=28, Resulting Numbers: [7, 35, 28] Generated Node #0,1: 23:[7, 35, 28] Operation: 93-65=28 Moving to Node #0,1 Current State: 23:[7, 35, 28], Operations: ['93-65=28'] Exploring Operation: 35/7=5, Resulting Numbers: [28, 5] Generated Node #0,1,2: 23:[28, 5] Operation: 35/7=5 Moving to Node #0,1,2 Current State: 23:[28, 5], Operations: ['93-65=28', '35/7=5'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 84, 84, 95, 1 ]
95
[ "84-84=0", "95*1=95", "0+95=95" ]
Current State: 95:[84, 84, 95, 1], Operations: [] Exploring Operation: 84-84=0, Resulting Numbers: [95, 1, 0] Generated Node #2: [95, 1, 0] from Operation: 84-84=0 Current State: 95:[95, 1, 0], Operations: ['84-84=0'] Exploring Operation: 95*1=95, Resulting Numbers: [0, 95] Generated Node #3: [0, 95] from Operation: 95*1=95 Current State: 95:[0, 95], Operations: ['84-84=0', '95*1=95'] Exploring Operation: 0+95=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[84, 84, 95, 1], Operations: [] Exploring Operation: 84/84=1, Resulting Numbers: [95, 1, 1] Generated Node #0,0: 95:[95, 1, 1] Operation: 84/84=1 Exploring Operation: 84-84=0, Resulting Numbers: [95, 1, 0] Generated Node #0,1: 95:[95, 1, 0] Operation: 84-84=0 Moving to Node #0,0 Current State: 95:[95, 1, 1], Operations: ['84/84=1'] Exploring Operation: 95*1=95, Resulting Numbers: [1, 95] Generated Node #0,0,0: 95:[1, 95] Operation: 95*1=95 Exploring Operation: 1+1=2, Resulting Numbers: [95, 2] Generated Node #0,0,1: 95:[95, 2] Operation: 1+1=2 Moving to Node #0,1 Current State: 95:[95, 1, 0], Operations: ['84-84=0'] Exploring Operation: 95-0=95, Resulting Numbers: [1, 95] Generated Node #0,1,0: 95:[1, 95] Operation: 95-0=95 Exploring Operation: 95+0=95, Resulting Numbers: [1, 95] Generated Node #0,1,1: 95:[1, 95] Operation: 95+0=95 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[1, 95], Operations: ['84-84=0', '95-0=95'] Exploring Operation: 1*95=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[84, 84, 95, 1], Operations: [] Exploring Operation: 84-84=0, Resulting Numbers: [95, 1, 0] Generated Node #0,1: 95:[95, 1, 0] Operation: 84-84=0 Moving to Node #0,1 Current State: 95:[95, 1, 0], Operations: ['84-84=0'] Exploring Operation: 95-0=95, Resulting Numbers: [1, 95] Generated Node #0,1,0: 95:[1, 95] Operation: 95-0=95 Moving to Node #0,1,0 Current State: 95:[1, 95], Operations: ['84-84=0', '95-0=95'] Exploring Operation: 1*95=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 68, 49, 77, 85 ]
27
[ "68-49=19", "85-77=8", "19+8=27" ]
Current State: 27:[68, 49, 77, 85], Operations: [] Exploring Operation: 68-49=19, Resulting Numbers: [77, 85, 19] Generated Node #2: [77, 85, 19] from Operation: 68-49=19 Current State: 27:[77, 85, 19], Operations: ['68-49=19'] Exploring Operation: 85-77=8, Resulting Numbers: [19, 8] Generated Node #3: [19, 8] from Operation: 85-77=8 Current State: 27:[19, 8], Operations: ['68-49=19', '85-77=8'] Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[68, 49, 77, 85], Operations: [] Exploring Operation: 85-77=8, Resulting Numbers: [68, 49, 8] Generated Node #0,0: 27:[68, 49, 8] Operation: 85-77=8 Moving to Node #0,0 Current State: 27:[68, 49, 8], Operations: ['85-77=8'] Exploring Operation: 68-49=19, Resulting Numbers: [8, 19] Generated Node #0,0,0: 27:[8, 19] Operation: 68-49=19 Moving to Node #0,0,0 Current State: 27:[8, 19], Operations: ['85-77=8', '68-49=19'] Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[68, 49, 77, 85], Operations: [] Exploring Operation: 85-77=8, Resulting Numbers: [68, 49, 8] Generated Node #0,0: 27:[68, 49, 8] Operation: 85-77=8 Moving to Node #0,0 Current State: 27:[68, 49, 8], Operations: ['85-77=8'] Exploring Operation: 68-49=19, Resulting Numbers: [8, 19] Generated Node #0,0,0: 27:[8, 19] Operation: 68-49=19 Moving to Node #0,0,0 Current State: 27:[8, 19], Operations: ['85-77=8', '68-49=19'] Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 12, 21, 98, 14 ]
11
[ "12*21=252", "252-98=154", "154/14=11" ]
Current State: 11:[12, 21, 98, 14], Operations: [] Exploring Operation: 12*21=252, Resulting Numbers: [98, 14, 252] Generated Node #2: [98, 14, 252] from Operation: 12*21=252 Current State: 11:[98, 14, 252], Operations: ['12*21=252'] Exploring Operation: 252-98=154, Resulting Numbers: [14, 154] Generated Node #3: [14, 154] from Operation: 252-98=154 Current State: 11:[14, 154], Operations: ['12*21=252', '252-98=154'] Exploring Operation: 154/14=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[12, 21, 98, 14], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [12, 21, 7] Generated Node #0,0: 11:[12, 21, 7] Operation: 98/14=7 Moving to Node #0,0 Current State: 11:[12, 21, 7], Operations: ['98/14=7'] Exploring Operation: 21-7=14, Resulting Numbers: [12, 14] Generated Node #0,0,0: 11:[12, 14] Operation: 21-7=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[12, 14], Operations: ['98/14=7', '21-7=14'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,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
sum_heuristic
[ 14, 78, 12, 82 ]
62
[ "82-78=4", "12*4=48", "14+48=62" ]
Current State: 62:[14, 78, 12, 82], Operations: [] Exploring Operation: 82-78=4, Resulting Numbers: [14, 12, 4] Generated Node #2: [14, 12, 4] from Operation: 82-78=4 Current State: 62:[14, 12, 4], Operations: ['82-78=4'] Exploring Operation: 12*4=48, Resulting Numbers: [14, 48] Generated Node #3: [14, 48] from Operation: 12*4=48 Current State: 62:[14, 48], Operations: ['82-78=4', '12*4=48'] Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[14, 78, 12, 82], Operations: [] Exploring Operation: 82-78=4, Resulting Numbers: [14, 12, 4] Generated Node #0,0: 62:[14, 12, 4] Operation: 82-78=4 Exploring Operation: 78-14=64, Resulting Numbers: [12, 82, 64] Generated Node #0,1: 62:[12, 82, 64] Operation: 78-14=64 Moving to Node #0,0 Current State: 62:[14, 12, 4], Operations: ['82-78=4'] Exploring Operation: 14+12=26, Resulting Numbers: [4, 26] Generated Node #0,0,0: 62:[4, 26] Operation: 14+12=26 Exploring Operation: 14-12=2, Resulting Numbers: [4, 2] Generated Node #0,0,1: 62:[4, 2] Operation: 14-12=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[4, 2], Operations: ['82-78=4', '14-12=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,62 unequal: No Solution No 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: 62:[4, 26], Operations: ['82-78=4', '14+12=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,62 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: 62:[12, 82, 64], Operations: ['78-14=64'] Exploring Operation: 82-12=70, Resulting Numbers: [64, 70] Generated Node #0,1,0: 62:[64, 70] Operation: 82-12=70 Exploring Operation: 82-64=18, Resulting Numbers: [12, 18] Generated Node #0,1,1: 62:[12, 18] Operation: 82-64=18 Moving to Node #0,1,0 Current State: 62:[64, 70], Operations: ['78-14=64', '82-12=70'] Exploring Operation: 64+70=134, Resulting Numbers: [134] 134,62 unequal: No Solution Exploring Operation: 70-64=6, Resulting Numbers: [6] 6,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[12, 18], Operations: ['78-14=64', '82-64=18'] Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,62 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 21, 74, 71, 42 ]
68
[ "42/21=2", "71*2=142", "142-74=68" ]
Current State: 68:[21, 74, 71, 42], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [74, 71, 2] Generated Node #2: [74, 71, 2] from Operation: 42/21=2 Current State: 68:[74, 71, 2], Operations: ['42/21=2'] Exploring Operation: 71*2=142, Resulting Numbers: [74, 142] Generated Node #3: [74, 142] from Operation: 71*2=142 Current State: 68:[74, 142], Operations: ['42/21=2', '71*2=142'] Exploring Operation: 142-74=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[21, 74, 71, 42], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [74, 71, 2] Generated Node #0,0: 68:[74, 71, 2] Operation: 42/21=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[74, 71, 2], Operations: ['42/21=2'] Exploring Operation: 74-71=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 68:[2, 3] Operation: 74-71=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[2, 3], Operations: ['42/21=2', '74-71=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,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_1
mult_heuristic
[ 23, 10, 89, 85 ]
82
[ "89-85=4", "23*4=92", "92-10=82" ]
Current State: 82:[23, 10, 89, 85], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [23, 10, 4] Generated Node #2: [23, 10, 4] from Operation: 89-85=4 Current State: 82:[23, 10, 4], Operations: ['89-85=4'] Exploring Operation: 23*4=92, Resulting Numbers: [10, 92] Generated Node #3: [10, 92] from Operation: 23*4=92 Current State: 82:[10, 92], Operations: ['89-85=4', '23*4=92'] Exploring Operation: 92-10=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[23, 10, 89, 85], Operations: [] Exploring Operation: 23-10=13, Resulting Numbers: [89, 85, 13] Generated Node #0,0: 82:[89, 85, 13] Operation: 23-10=13 Exploring Operation: 23+10=33, Resulting Numbers: [89, 85, 33] Generated Node #0,1: 82:[89, 85, 33] Operation: 23+10=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[89, 85, 33], Operations: ['23+10=33'] Exploring Operation: 89-33=56, Resulting Numbers: [85, 56] Generated Node #0,1,0: 82:[85, 56] Operation: 89-33=56 Exploring Operation: 89-85=4, Resulting Numbers: [33, 4] Generated Node #0,1,1: 82:[33, 4] Operation: 89-85=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[33, 4], Operations: ['23+10=33', '89-85=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,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:[85, 56], Operations: ['23+10=33', '89-33=56'] Exploring Operation: 85+56=141, Resulting Numbers: [141] 141,82 unequal: No Solution Exploring Operation: 85-56=29, Resulting Numbers: [29] 29,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:[89, 85, 13], Operations: ['23-10=13'] Exploring Operation: 89-13=76, Resulting Numbers: [85, 76] Generated Node #0,0,0: 82:[85, 76] Operation: 89-13=76 Exploring Operation: 89-85=4, Resulting Numbers: [13, 4] Generated Node #0,0,1: 82:[13, 4] Operation: 89-85=4 Moving to Node #0,0,0 Current State: 82:[85, 76], Operations: ['23-10=13', '89-13=76'] Exploring Operation: 85+76=161, Resulting Numbers: [161] 161,82 unequal: No Solution Exploring Operation: 85-76=9, Resulting Numbers: [9] 9,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[13, 4], Operations: ['23-10=13', '89-85=4'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,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
[ 4, 82, 36, 20 ]
18
[ "4*20=80", "82-80=2", "36/2=18" ]
Current State: 18:[4, 82, 36, 20], Operations: [] Exploring Operation: 4*20=80, Resulting Numbers: [82, 36, 80] Generated Node #2: [82, 36, 80] from Operation: 4*20=80 Current State: 18:[82, 36, 80], Operations: ['4*20=80'] Exploring Operation: 82-80=2, Resulting Numbers: [36, 2] Generated Node #3: [36, 2] from Operation: 82-80=2 Current State: 18:[36, 2], Operations: ['4*20=80', '82-80=2'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[4, 82, 36, 20], Operations: [] Exploring Operation: 82-36=46, Resulting Numbers: [4, 20, 46] Generated Node #0,0: 18:[4, 20, 46] Operation: 82-36=46 Exploring Operation: 82-20=62, Resulting Numbers: [4, 36, 62] Generated Node #0,1: 18:[4, 36, 62] Operation: 82-20=62 Exploring Operation: 36/4=9, Resulting Numbers: [82, 20, 9] Generated Node #0,2: 18:[82, 20, 9] Operation: 36/4=9 Moving to Node #0,0 Current State: 18:[4, 20, 46], Operations: ['82-36=46'] Exploring Operation: 46-20=26, Resulting Numbers: [4, 26] Generated Node #0,0,0: 18:[4, 26] Operation: 46-20=26 Exploring Operation: 46-4=42, Resulting Numbers: [20, 42] Generated Node #0,0,1: 18:[20, 42] Operation: 46-4=42 Exploring Operation: 20/4=5, Resulting Numbers: [46, 5] Generated Node #0,0,2: 18:[46, 5] Operation: 20/4=5 Moving to Node #0,1 Current State: 18:[4, 36, 62], Operations: ['82-20=62'] Exploring Operation: 62-36=26, Resulting Numbers: [4, 26] Generated Node #0,1,0: 18:[4, 26] Operation: 62-36=26 Exploring Operation: 36/4=9, Resulting Numbers: [62, 9] Generated Node #0,1,1: 18:[62, 9] Operation: 36/4=9 Exploring Operation: 36-4=32, Resulting Numbers: [62, 32] Generated Node #0,1,2: 18:[62, 32] Operation: 36-4=32 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[4, 26], Operations: ['82-20=62', '62-36=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,18 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,18 unequal: No Solution No 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: 18:[62, 9], Operations: ['82-20=62', '36/4=9'] Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 62*9=558, Resulting Numbers: [558] 558,18 unequal: No Solution Exploring Operation: 62+9=71, Resulting Numbers: [71] 71,18 unequal: No Solution No 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: 18:[62, 32], Operations: ['82-20=62', '36-4=32'] Exploring Operation: 62+32=94, Resulting Numbers: [94] 94,18 unequal: No Solution Exploring Operation: 62*32=1984, Resulting Numbers: [1984] 1984,18 unequal: No Solution Exploring Operation: 62-32=30, Resulting Numbers: [30] 30,18 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: 18:[82, 20, 9], Operations: ['36/4=9'] Exploring Operation: 82-20=62, Resulting Numbers: [9, 62] Generated Node #0,2,0: 18:[9, 62] Operation: 82-20=62 Exploring Operation: 82-9=73, Resulting Numbers: [20, 73] Generated Node #0,2,1: 18:[20, 73] Operation: 82-9=73 Exploring Operation: 20-9=11, Resulting Numbers: [82, 11] Generated Node #0,2,2: 18:[82, 11] Operation: 20-9=11 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[9, 62], Operations: ['36/4=9', '82-20=62'] Exploring Operation: 9+62=71, Resulting Numbers: [71] 71,18 unequal: No Solution Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 9*62=558, Resulting Numbers: [558] 558,18 unequal: No Solution No 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: 18:[20, 73], Operations: ['36/4=9', '82-9=73'] Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 20+73=93, Resulting Numbers: [93] 93,18 unequal: No Solution Exploring Operation: 20*73=1460, Resulting Numbers: [1460] 1460,18 unequal: No Solution No 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: 18:[82, 11], Operations: ['36/4=9', '20-9=11'] Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,18 unequal: No Solution Exploring Operation: 82*11=902, Resulting Numbers: [902] 902,18 unequal: No Solution Exploring Operation: 82+11=93, Resulting Numbers: [93] 93,18 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: 18:[4, 26], Operations: ['82-36=46', '46-20=26'] Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,18 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,18 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[20, 42], Operations: ['82-36=46', '46-4=42'] Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 20+42=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 20*42=840, Resulting Numbers: [840] 840,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[46, 5], Operations: ['82-36=46', '20/4=5'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,18 unequal: No Solution Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,18 unequal: No Solution Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,18 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 70, 12, 60, 75 ]
61
[ "70*12=840", "840/60=14", "75-14=61" ]
Current State: 61:[70, 12, 60, 75], Operations: [] Exploring Operation: 70*12=840, Resulting Numbers: [60, 75, 840] Generated Node #2: [60, 75, 840] from Operation: 70*12=840 Current State: 61:[60, 75, 840], Operations: ['70*12=840'] Exploring Operation: 840/60=14, Resulting Numbers: [75, 14] Generated Node #3: [75, 14] from Operation: 840/60=14 Current State: 61:[75, 14], Operations: ['70*12=840', '840/60=14'] Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[70, 12, 60, 75], Operations: [] Exploring Operation: 75-12=63, Resulting Numbers: [70, 60, 63] Generated Node #0,0: 61:[70, 60, 63] Operation: 75-12=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[70, 60, 63], Operations: ['75-12=63'] Exploring Operation: 70-60=10, Resulting Numbers: [63, 10] Generated Node #0,0,0: 61:[63, 10] Operation: 70-60=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[63, 10], Operations: ['75-12=63', '70-60=10'] Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 41, 26, 89, 79 ]
77
[ "41+26=67", "89-79=10", "67+10=77" ]
Current State: 77:[41, 26, 89, 79], Operations: [] Exploring Operation: 41+26=67, Resulting Numbers: [89, 79, 67] Generated Node #2: [89, 79, 67] from Operation: 41+26=67 Current State: 77:[89, 79, 67], Operations: ['41+26=67'] Exploring Operation: 89-79=10, Resulting Numbers: [67, 10] Generated Node #3: [67, 10] from Operation: 89-79=10 Current State: 77:[67, 10], Operations: ['41+26=67', '89-79=10'] Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[41, 26, 89, 79], Operations: [] Exploring Operation: 41-26=15, Resulting Numbers: [89, 79, 15] Generated Node #0,0: 77:[89, 79, 15] Operation: 41-26=15 Exploring Operation: 41+26=67, Resulting Numbers: [89, 79, 67] Generated Node #0,1: 77:[89, 79, 67] Operation: 41+26=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[89, 79, 15], Operations: ['41-26=15'] Exploring Operation: 89-15=74, Resulting Numbers: [79, 74] Generated Node #0,0,0: 77:[79, 74] Operation: 89-15=74 Exploring Operation: 89-79=10, Resulting Numbers: [15, 10] Generated Node #0,0,1: 77:[15, 10] Operation: 89-79=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[79, 74], Operations: ['41-26=15', '89-15=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 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: 77:[15, 10], Operations: ['41-26=15', '89-79=10'] Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,77 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: 77:[89, 79, 67], Operations: ['41+26=67'] Exploring Operation: 89-79=10, Resulting Numbers: [67, 10] Generated Node #0,1,0: 77:[67, 10] Operation: 89-79=10 Exploring Operation: 89-67=22, Resulting Numbers: [79, 22] Generated Node #0,1,1: 77:[79, 22] Operation: 89-67=22 Moving to Node #0,1,0 Current State: 77:[67, 10], Operations: ['41+26=67', '89-79=10'] Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[41, 26, 89, 79], Operations: [] Exploring Operation: 41+26=67, Resulting Numbers: [89, 79, 67] Generated Node #0,1: 77:[89, 79, 67] Operation: 41+26=67 Moving to Node #0,1 Current State: 77:[89, 79, 67], Operations: ['41+26=67'] Exploring Operation: 89-79=10, Resulting Numbers: [67, 10] Generated Node #0,1,0: 77:[67, 10] Operation: 89-79=10 Moving to Node #0,1,0 Current State: 77:[67, 10], Operations: ['41+26=67', '89-79=10'] Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 48, 37, 4, 83 ]
18
[ "48-37=11", "83-11=72", "72/4=18" ]
Current State: 18:[48, 37, 4, 83], Operations: [] Exploring Operation: 48-37=11, Resulting Numbers: [4, 83, 11] Generated Node #2: [4, 83, 11] from Operation: 48-37=11 Current State: 18:[4, 83, 11], Operations: ['48-37=11'] Exploring Operation: 83-11=72, Resulting Numbers: [4, 72] Generated Node #3: [4, 72] from Operation: 83-11=72 Current State: 18:[4, 72], Operations: ['48-37=11', '83-11=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[48, 37, 4, 83], Operations: [] Exploring Operation: 83-37=46, Resulting Numbers: [48, 4, 46] Generated Node #0,0: 18:[48, 4, 46] Operation: 83-37=46 Exploring Operation: 83-48=35, Resulting Numbers: [37, 4, 35] Generated Node #0,1: 18:[37, 4, 35] Operation: 83-48=35 Exploring Operation: 48/4=12, Resulting Numbers: [37, 83, 12] Generated Node #0,2: 18:[37, 83, 12] Operation: 48/4=12 Exploring Operation: 48-37=11, Resulting Numbers: [4, 83, 11] Generated Node #0,3: 18:[4, 83, 11] Operation: 48-37=11 Moving to Node #0,1 Current State: 18:[37, 4, 35], Operations: ['83-48=35'] Exploring Operation: 37+4=41, Resulting Numbers: [35, 41] Generated Node #0,1,0: 18:[35, 41] Operation: 37+4=41 Exploring Operation: 35-4=31, Resulting Numbers: [37, 31] Generated Node #0,1,1: 18:[37, 31] Operation: 35-4=31 Exploring Operation: 37-35=2, Resulting Numbers: [4, 2] Generated Node #0,1,2: 18:[4, 2] Operation: 37-35=2 Exploring Operation: 37-4=33, Resulting Numbers: [35, 33] Generated Node #0,1,3: 18:[35, 33] Operation: 37-4=33 Moving to Node #0,0 Current State: 18:[48, 4, 46], Operations: ['83-37=46'] Exploring Operation: 48-4=44, Resulting Numbers: [46, 44] Generated Node #0,0,0: 18:[46, 44] Operation: 48-4=44 Exploring Operation: 46-4=42, Resulting Numbers: [48, 42] Generated Node #0,0,1: 18:[48, 42] Operation: 46-4=42 Exploring Operation: 48/4=12, Resulting Numbers: [46, 12] Generated Node #0,0,2: 18:[46, 12] Operation: 48/4=12 Exploring Operation: 48-46=2, Resulting Numbers: [4, 2] Generated Node #0,0,3: 18:[4, 2] Operation: 48-46=2 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 18:[4, 2], Operations: ['83-37=46', '48-46=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,18 unequal: No Solution No 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: 18:[46, 12], Operations: ['83-37=46', '48/4=12'] Exploring Operation: 46+12=58, Resulting Numbers: [58] 58,18 unequal: No Solution Exploring Operation: 46*12=552, Resulting Numbers: [552] 552,18 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,18 unequal: No Solution No 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: 18:[46, 44], Operations: ['83-37=46', '48-4=44'] Exploring Operation: 46+44=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 46*44=2024, Resulting Numbers: [2024] 2024,18 unequal: No Solution Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,18 unequal: No Solution No 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: 18:[48, 42], Operations: ['83-37=46', '46-4=42'] Exploring Operation: 48+42=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 48*42=2016, Resulting Numbers: [2016] 2016,18 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: 18:[4, 83, 11], Operations: ['48-37=11'] Exploring Operation: 83-4=79, Resulting Numbers: [11, 79] Generated Node #0,3,0: 18:[11, 79] Operation: 83-4=79 Exploring Operation: 11-4=7, Resulting Numbers: [83, 7] Generated Node #0,3,1: 18:[83, 7] Operation: 11-4=7 Exploring Operation: 4+11=15, Resulting Numbers: [83, 15] Generated Node #0,3,2: 18:[83, 15] Operation: 4+11=15 Exploring Operation: 83-11=72, Resulting Numbers: [4, 72] Generated Node #0,3,3: 18:[4, 72] Operation: 83-11=72 Moving to Node #0,2 Current State: 18:[37, 83, 12], Operations: ['48/4=12'] Exploring Operation: 37+12=49, Resulting Numbers: [83, 49] Generated Node #0,2,0: 18:[83, 49] Operation: 37+12=49 Exploring Operation: 83-37=46, Resulting Numbers: [12, 46] Generated Node #0,2,1: 18:[12, 46] Operation: 83-37=46 Exploring Operation: 37-12=25, Resulting Numbers: [83, 25] Generated Node #0,2,2: 18:[83, 25] Operation: 37-12=25 Exploring Operation: 83-12=71, Resulting Numbers: [37, 71] Generated Node #0,2,3: 18:[37, 71] Operation: 83-12=71 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[12, 46], Operations: ['48/4=12', '83-37=46'] Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,18 unequal: No Solution Exploring Operation: 12*46=552, Resulting Numbers: [552] 552,18 unequal: No Solution No 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: 18:[83, 25], Operations: ['48/4=12', '37-12=25'] Exploring Operation: 83+25=108, Resulting Numbers: [108] 108,18 unequal: No Solution Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,18 unequal: No Solution Exploring Operation: 83*25=2075, Resulting Numbers: [2075] 2075,18 unequal: No Solution No 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: 18:[37, 71], Operations: ['48/4=12', '83-12=71'] Exploring Operation: 37+71=108, Resulting Numbers: [108] 108,18 unequal: No Solution Exploring Operation: 37*71=2627, Resulting Numbers: [2627] 2627,18 unequal: No Solution Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,18 unequal: No Solution No 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: 18:[83, 49], Operations: ['48/4=12', '37+12=49'] Exploring Operation: 83+49=132, Resulting Numbers: [132] 132,18 unequal: No Solution Exploring Operation: 83-49=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 83*49=4067, Resulting Numbers: [4067] 4067,18 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: 18:[4, 2], Operations: ['83-48=35', '37-35=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,18 unequal: No Solution Moving to Node #0,1,3 Current State: 18:[35, 33], Operations: ['83-48=35', '37-4=33'] Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 35*33=1155, Resulting Numbers: [1155] 1155,18 unequal: No Solution Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[37, 31], Operations: ['83-48=35', '35-4=31'] Exploring Operation: 37*31=1147, Resulting Numbers: [1147] 1147,18 unequal: No Solution Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,18 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[35, 41], Operations: ['83-48=35', '37+4=41'] Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,18 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[4, 72], Operations: ['48-37=11', '83-11=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[48, 37, 4, 83], Operations: [] Exploring Operation: 48-37=11, Resulting Numbers: [4, 83, 11] Generated Node #0,3: 18:[4, 83, 11] Operation: 48-37=11 Moving to Node #0,3 Current State: 18:[4, 83, 11], Operations: ['48-37=11'] Exploring Operation: 83-11=72, Resulting Numbers: [4, 72] Generated Node #0,3,3: 18:[4, 72] Operation: 83-11=72 Moving to Node #0,3,3 Current State: 18:[4, 72], Operations: ['48-37=11', '83-11=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.945313
hs_4
mult_heuristic
[ 90, 38, 20, 5 ]
19
[ "90/5=18", "20-18=2", "38/2=19" ]
Current State: 19:[90, 38, 20, 5], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [38, 20, 18] Generated Node #2: [38, 20, 18] from Operation: 90/5=18 Current State: 19:[38, 20, 18], Operations: ['90/5=18'] Exploring Operation: 20-18=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 20-18=2 Current State: 19:[38, 2], Operations: ['90/5=18', '20-18=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[90, 38, 20, 5], Operations: [] Exploring Operation: 90-38=52, Resulting Numbers: [20, 5, 52] Generated Node #0,0: 19:[20, 5, 52] Operation: 90-38=52 Exploring Operation: 90/5=18, Resulting Numbers: [38, 20, 18] Generated Node #0,1: 19:[38, 20, 18] Operation: 90/5=18 Moving to Node #0,1 Current State: 19:[38, 20, 18], Operations: ['90/5=18'] Exploring Operation: 38-20=18, Resulting Numbers: [18, 18] Generated Node #0,1,0: 19:[18, 18] Operation: 38-20=18 Exploring Operation: 38-18=20, Resulting Numbers: [20, 20] Generated Node #0,1,1: 19:[20, 20] Operation: 38-18=20 Moving to Node #0,0 Current State: 19:[20, 5, 52], Operations: ['90-38=52'] Exploring Operation: 52-20=32, Resulting Numbers: [5, 32] Generated Node #0,0,0: 19:[5, 32] Operation: 52-20=32 Exploring Operation: 52-5=47, Resulting Numbers: [20, 47] Generated Node #0,0,1: 19:[20, 47] Operation: 52-5=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[5, 32], Operations: ['90-38=52', '52-20=32'] Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,19 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[20, 47], Operations: ['90-38=52', '52-5=47'] Exploring Operation: 20+47=67, Resulting Numbers: [67] 67,19 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,19 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: 19:[18, 18], Operations: ['90/5=18', '38-20=18'] Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[20, 20], Operations: ['90/5=18', '38-18=20'] Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,19 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 90, 44, 73, 87 ]
59
[ "90-87=3", "44*3=132", "132-73=59" ]
Current State: 59:[90, 44, 73, 87], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [44, 73, 3] Generated Node #2: [44, 73, 3] from Operation: 90-87=3 Current State: 59:[44, 73, 3], Operations: ['90-87=3'] Exploring Operation: 44*3=132, Resulting Numbers: [73, 132] Generated Node #3: [73, 132] from Operation: 44*3=132 Current State: 59:[73, 132], Operations: ['90-87=3', '44*3=132'] Exploring Operation: 132-73=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[90, 44, 73, 87], Operations: [] Exploring Operation: 73-44=29, Resulting Numbers: [90, 87, 29] Generated Node #0,0: 59:[90, 87, 29] Operation: 73-44=29 Exploring Operation: 90-87=3, Resulting Numbers: [44, 73, 3] Generated Node #0,1: 59:[44, 73, 3] Operation: 90-87=3 Exploring Operation: 90-73=17, Resulting Numbers: [44, 87, 17] Generated Node #0,2: 59:[44, 87, 17] Operation: 90-73=17 Exploring Operation: 90-44=46, Resulting Numbers: [73, 87, 46] Generated Node #0,3: 59:[73, 87, 46] Operation: 90-44=46 Exploring Operation: 87-44=43, Resulting Numbers: [90, 73, 43] Generated Node #0,4: 59:[90, 73, 43] Operation: 87-44=43 Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[73, 87, 46], Operations: ['90-44=46'] Exploring Operation: 73+46=119, Resulting Numbers: [87, 119] Generated Node #0,3,0: 59:[87, 119] Operation: 73+46=119 Exploring Operation: 73-46=27, Resulting Numbers: [87, 27] Generated Node #0,3,1: 59:[87, 27] Operation: 73-46=27 Exploring Operation: 87+46=133, Resulting Numbers: [73, 133] Generated Node #0,3,2: 59:[73, 133] Operation: 87+46=133 Exploring Operation: 87-46=41, Resulting Numbers: [73, 41] Generated Node #0,3,3: 59:[73, 41] Operation: 87-46=41 Exploring Operation: 87-73=14, Resulting Numbers: [46, 14] Generated Node #0,3,4: 59:[46, 14] Operation: 87-73=14 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 59:[73, 41], Operations: ['90-44=46', '87-46=41'] Exploring Operation: 73+41=114, Resulting Numbers: [114] 114,59 unequal: No Solution Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 73*41=2993, Resulting Numbers: [2993] 2993,59 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: 59:[46, 14], Operations: ['90-44=46', '87-73=14'] Exploring Operation: 46*14=644, Resulting Numbers: [644] 644,59 unequal: No Solution Exploring Operation: 46+14=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,59 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: 59:[87, 27], Operations: ['90-44=46', '73-46=27'] Exploring Operation: 87+27=114, Resulting Numbers: [114] 114,59 unequal: No Solution Exploring Operation: 87-27=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 87*27=2349, Resulting Numbers: [2349] 2349,59 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: 59:[87, 119], Operations: ['90-44=46', '73+46=119'] Exploring Operation: 87+119=206, Resulting Numbers: [206] 206,59 unequal: No Solution Exploring Operation: 87*119=10353, Resulting Numbers: [10353] 10353,59 unequal: No Solution Exploring Operation: 119-87=32, Resulting Numbers: [32] 32,59 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: 59:[73, 133], Operations: ['90-44=46', '87+46=133'] Exploring Operation: 73+133=206, Resulting Numbers: [206] 206,59 unequal: No Solution Exploring Operation: 73*133=9709, Resulting Numbers: [9709] 9709,59 unequal: No Solution Exploring Operation: 133-73=60, Resulting Numbers: [60] 60,59 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: 59:[90, 73, 43], Operations: ['87-44=43'] Exploring Operation: 73-43=30, Resulting Numbers: [90, 30] Generated Node #0,4,0: 59:[90, 30] Operation: 73-43=30 Exploring Operation: 90-43=47, Resulting Numbers: [73, 47] Generated Node #0,4,1: 59:[73, 47] Operation: 90-43=47 Exploring Operation: 90-73=17, Resulting Numbers: [43, 17] Generated Node #0,4,2: 59:[43, 17] Operation: 90-73=17 Exploring Operation: 90+43=133, Resulting Numbers: [73, 133] Generated Node #0,4,3: 59:[73, 133] Operation: 90+43=133 Exploring Operation: 73+43=116, Resulting Numbers: [90, 116] Generated Node #0,4,4: 59:[90, 116] Operation: 73+43=116 Moving to Node #0,4,1 Current State: 59:[73, 47], Operations: ['87-44=43', '90-43=47'] Exploring Operation: 73+47=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 73-47=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 73*47=3431, Resulting Numbers: [3431] 3431,59 unequal: No Solution Moving to Node #0,4,2 Current State: 59:[43, 17], Operations: ['87-44=43', '90-73=17'] Exploring Operation: 43+17=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 43*17=731, Resulting Numbers: [731] 731,59 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,59 unequal: No Solution Moving to Node #0,4,0 Current State: 59:[90, 30], Operations: ['87-44=43', '73-43=30'] Exploring Operation: 90+30=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 90-30=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 90*30=2700, Resulting Numbers: [2700] 2700,59 unequal: No Solution Exploring Operation: 90/30=3, Resulting Numbers: [3] 3,59 unequal: No Solution Moving to Node #0,4,3 Current State: 59:[73, 133], Operations: ['87-44=43', '90+43=133'] Exploring Operation: 73+133=206, Resulting Numbers: [206] 206,59 unequal: No Solution Exploring Operation: 133-73=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 73*133=9709, Resulting Numbers: [9709] 9709,59 unequal: No Solution Moving to Node #0,4,4 Current State: 59:[90, 116], Operations: ['87-44=43', '73+43=116'] Exploring Operation: 116-90=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 90+116=206, Resulting Numbers: [206] 206,59 unequal: No Solution Exploring Operation: 90*116=10440, Resulting Numbers: [10440] 10440,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:[44, 73, 3], Operations: ['90-87=3'] Exploring Operation: 73-3=70, Resulting Numbers: [44, 70] Generated Node #0,1,0: 59:[44, 70] Operation: 73-3=70 Exploring Operation: 73-44=29, Resulting Numbers: [3, 29] Generated Node #0,1,1: 59:[3, 29] Operation: 73-44=29 Exploring Operation: 44+3=47, Resulting Numbers: [73, 47] Generated Node #0,1,2: 59:[73, 47] Operation: 44+3=47 Exploring Operation: 44-3=41, Resulting Numbers: [73, 41] Generated Node #0,1,3: 59:[73, 41] Operation: 44-3=41 Exploring Operation: 73+3=76, Resulting Numbers: [44, 76] Generated Node #0,1,4: 59:[44, 76] Operation: 73+3=76 Moving to Node #0,1,0 Current State: 59:[44, 70], Operations: ['90-87=3', '73-3=70'] Exploring Operation: 44*70=3080, Resulting Numbers: [3080] 3080,59 unequal: No Solution Exploring Operation: 44+70=114, Resulting Numbers: [114] 114,59 unequal: No Solution Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[73, 47], Operations: ['90-87=3', '44+3=47'] Exploring Operation: 73+47=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 73*47=3431, Resulting Numbers: [3431] 3431,59 unequal: No Solution Exploring Operation: 73-47=26, Resulting Numbers: [26] 26,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[73, 41], Operations: ['90-87=3', '44-3=41'] Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 73+41=114, Resulting Numbers: [114] 114,59 unequal: No Solution Exploring Operation: 73*41=2993, Resulting Numbers: [2993] 2993,59 unequal: No Solution Moving to Node #0,1,4 Current State: 59:[44, 76], Operations: ['90-87=3', '73+3=76'] Exploring Operation: 44*76=3344, Resulting Numbers: [3344] 3344,59 unequal: No Solution Exploring Operation: 44+76=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[3, 29], Operations: ['90-87=3', '73-44=29'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,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,2 Current State: 59:[44, 87, 17], Operations: ['90-73=17'] Exploring Operation: 87+17=104, Resulting Numbers: [44, 104] Generated Node #0,2,0: 59:[44, 104] Operation: 87+17=104 Exploring Operation: 44-17=27, Resulting Numbers: [87, 27] Generated Node #0,2,1: 59:[87, 27] Operation: 44-17=27 Exploring Operation: 44+17=61, Resulting Numbers: [87, 61] Generated Node #0,2,2: 59:[87, 61] Operation: 44+17=61 Exploring Operation: 87-44=43, Resulting Numbers: [17, 43] Generated Node #0,2,3: 59:[17, 43] Operation: 87-44=43 Exploring Operation: 87-17=70, Resulting Numbers: [44, 70] Generated Node #0,2,4: 59:[44, 70] Operation: 87-17=70 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 59:[44, 70], Operations: ['90-73=17', '87-17=70'] Exploring Operation: 44+70=114, Resulting Numbers: [114] 114,59 unequal: No Solution Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 44*70=3080, Resulting Numbers: [3080] 3080,59 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: 59:[87, 61], Operations: ['90-73=17', '44+17=61'] Exploring Operation: 87-61=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 87+61=148, Resulting Numbers: [148] 148,59 unequal: No Solution Exploring Operation: 87*61=5307, Resulting Numbers: [5307] 5307,59 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: 59:[17, 43], Operations: ['90-73=17', '87-44=43'] Exploring Operation: 17*43=731, Resulting Numbers: [731] 731,59 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,59 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: 59:[44, 104], Operations: ['90-73=17', '87+17=104'] Exploring Operation: 44*104=4576, Resulting Numbers: [4576] 4576,59 unequal: No Solution Exploring Operation: 104-44=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 44+104=148, Resulting Numbers: [148] 148,59 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: 59:[87, 27], Operations: ['90-73=17', '44-17=27'] Exploring Operation: 87-27=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 87*27=2349, Resulting Numbers: [2349] 2349,59 unequal: No Solution Exploring Operation: 87+27=114, Resulting Numbers: [114] 114,59 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: 59:[90, 87, 29], Operations: ['73-44=29'] Exploring Operation: 90-87=3, Resulting Numbers: [29, 3] Generated Node #0,0,0: 59:[29, 3] Operation: 90-87=3 Exploring Operation: 90-29=61, Resulting Numbers: [87, 61] Generated Node #0,0,1: 59:[87, 61] Operation: 90-29=61 Exploring Operation: 90+29=119, Resulting Numbers: [87, 119] Generated Node #0,0,2: 59:[87, 119] Operation: 90+29=119 Exploring Operation: 87-29=58, Resulting Numbers: [90, 58] Generated Node #0,0,3: 59:[90, 58] Operation: 87-29=58 Exploring Operation: 87/29=3, Resulting Numbers: [90, 3] Generated Node #0,0,4: 59:[90, 3] Operation: 87/29=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[87, 61], Operations: ['73-44=29', '90-29=61'] Exploring Operation: 87+61=148, Resulting Numbers: [148] 148,59 unequal: No Solution Exploring Operation: 87-61=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 87*61=5307, Resulting Numbers: [5307] 5307,59 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: 59:[90, 58], Operations: ['73-44=29', '87-29=58'] Exploring Operation: 90+58=148, Resulting Numbers: [148] 148,59 unequal: No Solution Exploring Operation: 90-58=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 90*58=5220, Resulting Numbers: [5220] 5220,59 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: 59:[29, 3], Operations: ['73-44=29', '90-87=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,59 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: 59:[90, 3], Operations: ['73-44=29', '87/29=3'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,59 unequal: No Solution Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,59 unequal: No Solution Exploring Operation: 90*3=270, Resulting Numbers: [270] 270,59 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: 59:[87, 119], Operations: ['73-44=29', '90+29=119'] Exploring Operation: 87*119=10353, Resulting Numbers: [10353] 10353,59 unequal: No Solution Exploring Operation: 119-87=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 87+119=206, Resulting Numbers: [206] 206,59 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
[ 53, 13, 14, 84 ]
32
[ "53+13=66", "14+84=98", "98-66=32" ]
Current State: 32:[53, 13, 14, 84], Operations: [] Exploring Operation: 53+13=66, Resulting Numbers: [14, 84, 66] Generated Node #2: [14, 84, 66] from Operation: 53+13=66 Current State: 32:[14, 84, 66], Operations: ['53+13=66'] Exploring Operation: 14+84=98, Resulting Numbers: [66, 98] Generated Node #3: [66, 98] from Operation: 14+84=98 Current State: 32:[66, 98], Operations: ['53+13=66', '14+84=98'] Exploring Operation: 98-66=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[53, 13, 14, 84], Operations: [] Exploring Operation: 53-13=40, Resulting Numbers: [14, 84, 40] Generated Node #0,0: 32:[14, 84, 40] Operation: 53-13=40 Exploring Operation: 84-53=31, Resulting Numbers: [13, 14, 31] Generated Node #0,1: 32:[13, 14, 31] Operation: 84-53=31 Exploring Operation: 84/14=6, Resulting Numbers: [53, 13, 6] Generated Node #0,2: 32:[53, 13, 6] Operation: 84/14=6 Exploring Operation: 84-13=71, Resulting Numbers: [53, 14, 71] Generated Node #0,3: 32:[53, 14, 71] Operation: 84-13=71 Exploring Operation: 53-14=39, Resulting Numbers: [13, 84, 39] Generated Node #0,4: 32:[13, 84, 39] Operation: 53-14=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[13, 14, 31], Operations: ['84-53=31'] Exploring Operation: 13+14=27, Resulting Numbers: [31, 27] Generated Node #0,1,0: 32:[31, 27] Operation: 13+14=27 Exploring Operation: 13+31=44, Resulting Numbers: [14, 44] Generated Node #0,1,1: 32:[14, 44] Operation: 13+31=44 Exploring Operation: 31-13=18, Resulting Numbers: [14, 18] Generated Node #0,1,2: 32:[14, 18] Operation: 31-13=18 Exploring Operation: 31-14=17, Resulting Numbers: [13, 17] Generated Node #0,1,3: 32:[13, 17] Operation: 31-14=17 Exploring Operation: 14-13=1, Resulting Numbers: [31, 1] Generated Node #0,1,4: 32:[31, 1] Operation: 14-13=1 Moving to Node #0,1,4 Current State: 32:[31, 1], Operations: ['84-53=31', '14-13=1'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[53, 13, 14, 84], Operations: [] Exploring Operation: 84-53=31, Resulting Numbers: [13, 14, 31] Generated Node #0,1: 32:[13, 14, 31] Operation: 84-53=31 Moving to Node #0,1 Current State: 32:[13, 14, 31], Operations: ['84-53=31'] Exploring Operation: 14-13=1, Resulting Numbers: [31, 1] Generated Node #0,1,4: 32:[31, 1] Operation: 14-13=1 Moving to Node #0,1,4 Current State: 32:[31, 1], Operations: ['84-53=31', '14-13=1'] Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 6, 27, 81, 8 ]
26
[ "6*81=486", "486/27=18", "8+18=26" ]
Current State: 26:[6, 27, 81, 8], Operations: [] Exploring Operation: 6*81=486, Resulting Numbers: [27, 8, 486] Generated Node #2: [27, 8, 486] from Operation: 6*81=486 Current State: 26:[27, 8, 486], Operations: ['6*81=486'] Exploring Operation: 486/27=18, Resulting Numbers: [8, 18] Generated Node #3: [8, 18] from Operation: 486/27=18 Current State: 26:[8, 18], Operations: ['6*81=486', '486/27=18'] Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[6, 27, 81, 8], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [6, 8, 3] Generated Node #0,0: 26:[6, 8, 3] Operation: 81/27=3 Moving to Node #0,0 Current State: 26:[6, 8, 3], Operations: ['81/27=3'] Exploring Operation: 8-6=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 26:[3, 2] Operation: 8-6=2 Moving to Node #0,0,0 Current State: 26:[3, 2], Operations: ['81/27=3', '8-6=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,26 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 6, 42, 50, 58 ]
56
[ "6+42=48", "58-50=8", "48+8=56" ]
Current State: 56:[6, 42, 50, 58], Operations: [] Exploring Operation: 6+42=48, Resulting Numbers: [50, 58, 48] Generated Node #2: [50, 58, 48] from Operation: 6+42=48 Current State: 56:[50, 58, 48], Operations: ['6+42=48'] Exploring Operation: 58-50=8, Resulting Numbers: [48, 8] Generated Node #3: [48, 8] from Operation: 58-50=8 Current State: 56:[48, 8], Operations: ['6+42=48', '58-50=8'] Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[6, 42, 50, 58], Operations: [] Exploring Operation: 58-42=16, Resulting Numbers: [6, 50, 16] Generated Node #0,0: 56:[6, 50, 16] Operation: 58-42=16 Exploring Operation: 50-42=8, Resulting Numbers: [6, 58, 8] Generated Node #0,1: 56:[6, 58, 8] Operation: 50-42=8 Exploring Operation: 42/6=7, Resulting Numbers: [50, 58, 7] Generated Node #0,2: 56:[50, 58, 7] Operation: 42/6=7 Moving to Node #0,1 Current State: 56:[6, 58, 8], Operations: ['50-42=8'] Exploring Operation: 8-6=2, Resulting Numbers: [58, 2] Generated Node #0,1,0: 56:[58, 2] Operation: 8-6=2 Exploring Operation: 6+8=14, Resulting Numbers: [58, 14] Generated Node #0,1,1: 56:[58, 14] Operation: 6+8=14 Exploring Operation: 58-6=52, Resulting Numbers: [8, 52] Generated Node #0,1,2: 56:[8, 52] Operation: 58-6=52 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[58, 2], Operations: ['50-42=8', '8-6=2'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[6, 42, 50, 58], Operations: [] Exploring Operation: 50-42=8, Resulting Numbers: [6, 58, 8] Generated Node #0,1: 56:[6, 58, 8] Operation: 50-42=8 Moving to Node #0,1 Current State: 56:[6, 58, 8], Operations: ['50-42=8'] Exploring Operation: 8-6=2, Resulting Numbers: [58, 2] Generated Node #0,1,0: 56:[58, 2] Operation: 8-6=2 Moving to Node #0,1,0 Current State: 56:[58, 2], Operations: ['50-42=8', '8-6=2'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 65, 83, 80, 51 ]
11
[ "83-65=18", "80-51=29", "29-18=11" ]
Current State: 11:[65, 83, 80, 51], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [80, 51, 18] Generated Node #2: [80, 51, 18] from Operation: 83-65=18 Current State: 11:[80, 51, 18], Operations: ['83-65=18'] Exploring Operation: 80-51=29, Resulting Numbers: [18, 29] Generated Node #3: [18, 29] from Operation: 80-51=29 Current State: 11:[18, 29], Operations: ['83-65=18', '80-51=29'] Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[65, 83, 80, 51], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [80, 51, 18] Generated Node #0,0: 11:[80, 51, 18] Operation: 83-65=18 Exploring Operation: 83-80=3, Resulting Numbers: [65, 51, 3] Generated Node #0,1: 11:[65, 51, 3] Operation: 83-80=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[65, 51, 3], Operations: ['83-80=3'] Exploring Operation: 65-51=14, Resulting Numbers: [3, 14] Generated Node #0,1,0: 11:[3, 14] Operation: 65-51=14 Exploring Operation: 51/3=17, Resulting Numbers: [65, 17] Generated Node #0,1,1: 11:[65, 17] Operation: 51/3=17 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[3, 14], Operations: ['83-80=3', '65-51=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[65, 83, 80, 51], Operations: [] Exploring Operation: 83-80=3, Resulting Numbers: [65, 51, 3] Generated Node #0,1: 11:[65, 51, 3] Operation: 83-80=3 Moving to Node #0,1 Current State: 11:[65, 51, 3], Operations: ['83-80=3'] Exploring Operation: 65-51=14, Resulting Numbers: [3, 14] Generated Node #0,1,0: 11:[3, 14] Operation: 65-51=14 Moving to Node #0,1,0 Current State: 11:[3, 14], Operations: ['83-80=3', '65-51=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 90, 27, 91, 74 ]
47
[ "91-90=1", "74-27=47", "1*47=47" ]
Current State: 47:[90, 27, 91, 74], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [27, 74, 1] Generated Node #2: [27, 74, 1] from Operation: 91-90=1 Current State: 47:[27, 74, 1], Operations: ['91-90=1'] Exploring Operation: 74-27=47, Resulting Numbers: [1, 47] Generated Node #3: [1, 47] from Operation: 74-27=47 Current State: 47:[1, 47], Operations: ['91-90=1', '74-27=47'] Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[90, 27, 91, 74], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [27, 74, 1] Generated Node #0,0: 47:[27, 74, 1] Operation: 91-90=1 Exploring Operation: 91-27=64, Resulting Numbers: [90, 74, 64] Generated Node #0,1: 47:[90, 74, 64] Operation: 91-27=64 Exploring Operation: 91-74=17, Resulting Numbers: [90, 27, 17] Generated Node #0,2: 47:[90, 27, 17] Operation: 91-74=17 Exploring Operation: 74-27=47, Resulting Numbers: [90, 91, 47] Generated Node #0,3: 47:[90, 91, 47] Operation: 74-27=47 Exploring Operation: 90-27=63, Resulting Numbers: [91, 74, 63] Generated Node #0,4: 47:[91, 74, 63] Operation: 90-27=63 Moving to Node #0,1 Current State: 47:[90, 74, 64], Operations: ['91-27=64'] Exploring Operation: 90+64=154, Resulting Numbers: [74, 154] Generated Node #0,1,0: 47:[74, 154] Operation: 90+64=154 Exploring Operation: 90-64=26, Resulting Numbers: [74, 26] Generated Node #0,1,1: 47:[74, 26] Operation: 90-64=26 Exploring Operation: 90-74=16, Resulting Numbers: [64, 16] Generated Node #0,1,2: 47:[64, 16] Operation: 90-74=16 Exploring Operation: 74-64=10, Resulting Numbers: [90, 10] Generated Node #0,1,3: 47:[90, 10] Operation: 74-64=10 Exploring Operation: 90+74=164, Resulting Numbers: [64, 164] Generated Node #0,1,4: 47:[64, 164] Operation: 90+74=164 Moving to Node #0,4 Current State: 47:[91, 74, 63], Operations: ['90-27=63'] Exploring Operation: 91-74=17, Resulting Numbers: [63, 17] Generated Node #0,4,0: 47:[63, 17] Operation: 91-74=17 Exploring Operation: 91+63=154, Resulting Numbers: [74, 154] Generated Node #0,4,1: 47:[74, 154] Operation: 91+63=154 Exploring Operation: 91-63=28, Resulting Numbers: [74, 28] Generated Node #0,4,2: 47:[74, 28] Operation: 91-63=28 Exploring Operation: 74-63=11, Resulting Numbers: [91, 11] Generated Node #0,4,3: 47:[91, 11] Operation: 74-63=11 Exploring Operation: 91+74=165, Resulting Numbers: [63, 165] Generated Node #0,4,4: 47:[63, 165] Operation: 91+74=165 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 47:[63, 17], Operations: ['90-27=63', '91-74=17'] Exploring Operation: 63+17=80, Resulting Numbers: [80] 80,47 unequal: No Solution Exploring Operation: 63-17=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 63*17=1071, Resulting Numbers: [1071] 1071,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 47:[74, 28], Operations: ['90-27=63', '91-63=28'] Exploring Operation: 74*28=2072, Resulting Numbers: [2072] 2072,47 unequal: No Solution Exploring Operation: 74-28=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 74+28=102, Resulting Numbers: [102] 102,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 47:[91, 11], Operations: ['90-27=63', '74-63=11'] Exploring Operation: 91+11=102, Resulting Numbers: [102] 102,47 unequal: No Solution Exploring Operation: 91-11=80, Resulting Numbers: [80] 80,47 unequal: No Solution Exploring Operation: 91*11=1001, Resulting Numbers: [1001] 1001,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 47:[74, 154], Operations: ['90-27=63', '91+63=154'] Exploring Operation: 74*154=11396, Resulting Numbers: [11396] 11396,47 unequal: No Solution Exploring Operation: 74+154=228, Resulting Numbers: [228] 228,47 unequal: No Solution Exploring Operation: 154-74=80, Resulting Numbers: [80] 80,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 47:[63, 165], Operations: ['90-27=63', '91+74=165'] Exploring Operation: 165-63=102, Resulting Numbers: [102] 102,47 unequal: No Solution Exploring Operation: 63*165=10395, Resulting Numbers: [10395] 10395,47 unequal: No Solution Exploring Operation: 63+165=228, Resulting Numbers: [228] 228,47 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: 47:[90, 91, 47], Operations: ['74-27=47'] Exploring Operation: 91-90=1, Resulting Numbers: [47, 1] Generated Node #0,3,0: 47:[47, 1] Operation: 91-90=1 Exploring Operation: 91-47=44, Resulting Numbers: [90, 44] Generated Node #0,3,1: 47:[90, 44] Operation: 91-47=44 Exploring Operation: 90-47=43, Resulting Numbers: [91, 43] Generated Node #0,3,2: 47:[91, 43] Operation: 90-47=43 Exploring Operation: 90+47=137, Resulting Numbers: [91, 137] Generated Node #0,3,3: 47:[91, 137] Operation: 90+47=137 Exploring Operation: 90+91=181, Resulting Numbers: [47, 181] Generated Node #0,3,4: 47:[47, 181] Operation: 90+91=181 Moving to Node #0,0 Current State: 47:[27, 74, 1], Operations: ['91-90=1'] Exploring Operation: 27+1=28, Resulting Numbers: [74, 28] Generated Node #0,0,0: 47:[74, 28] Operation: 27+1=28 Exploring Operation: 74-1=73, Resulting Numbers: [27, 73] Generated Node #0,0,1: 47:[27, 73] Operation: 74-1=73 Exploring Operation: 27*1=27, Resulting Numbers: [74, 27] Generated Node #0,0,2: 47:[74, 27] Operation: 27*1=27 Exploring Operation: 74-27=47, Resulting Numbers: [1, 47] Generated Node #0,0,3: 47:[1, 47] Operation: 74-27=47 Exploring Operation: 27/1=27, Resulting Numbers: [74, 27] Generated Node #0,0,4: 47:[74, 27] Operation: 27/1=27 Moving to Node #0,2 Current State: 47:[90, 27, 17], Operations: ['91-74=17'] Exploring Operation: 90+17=107, Resulting Numbers: [27, 107] Generated Node #0,2,0: 47:[27, 107] Operation: 90+17=107 Exploring Operation: 90-17=73, Resulting Numbers: [27, 73] Generated Node #0,2,1: 47:[27, 73] Operation: 90-17=73 Exploring Operation: 90-27=63, Resulting Numbers: [17, 63] Generated Node #0,2,2: 47:[17, 63] Operation: 90-27=63 Exploring Operation: 27-17=10, Resulting Numbers: [90, 10] Generated Node #0,2,3: 47:[90, 10] Operation: 27-17=10 Exploring Operation: 27+17=44, Resulting Numbers: [90, 44] Generated Node #0,2,4: 47:[90, 44] Operation: 27+17=44 Moving to Node #0,3,0 Current State: 47:[47, 1], Operations: ['74-27=47', '91-90=1'] Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[90, 27, 91, 74], Operations: [] Exploring Operation: 74-27=47, Resulting Numbers: [90, 91, 47] Generated Node #0,3: 47:[90, 91, 47] Operation: 74-27=47 Moving to Node #0,3 Current State: 47:[90, 91, 47], Operations: ['74-27=47'] Exploring Operation: 91-90=1, Resulting Numbers: [47, 1] Generated Node #0,3,0: 47:[47, 1] Operation: 91-90=1 Moving to Node #0,3,0 Current State: 47:[47, 1], Operations: ['74-27=47', '91-90=1'] Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
0.956597
hs_5
sum_heuristic
[ 67, 30, 74, 59 ]
82
[ "67+30=97", "74-59=15", "97-15=82" ]
Current State: 82:[67, 30, 74, 59], Operations: [] Exploring Operation: 67+30=97, Resulting Numbers: [74, 59, 97] Generated Node #2: [74, 59, 97] from Operation: 67+30=97 Current State: 82:[74, 59, 97], Operations: ['67+30=97'] Exploring Operation: 74-59=15, Resulting Numbers: [97, 15] Generated Node #3: [97, 15] from Operation: 74-59=15 Current State: 82:[97, 15], Operations: ['67+30=97', '74-59=15'] Exploring Operation: 97-15=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[67, 30, 74, 59], Operations: [] Exploring Operation: 30+59=89, Resulting Numbers: [67, 74, 89] Generated Node #0,0: 82:[67, 74, 89] Operation: 30+59=89 Exploring Operation: 67-59=8, Resulting Numbers: [30, 74, 8] Generated Node #0,1: 82:[30, 74, 8] Operation: 67-59=8 Exploring Operation: 67-30=37, Resulting Numbers: [74, 59, 37] Generated Node #0,2: 82:[74, 59, 37] Operation: 67-30=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[30, 74, 8], Operations: ['67-59=8'] Exploring Operation: 74+8=82, Resulting Numbers: [30, 82] Generated Node #0,1,0: 82:[30, 82] Operation: 74+8=82 Exploring Operation: 74-30=44, Resulting Numbers: [8, 44] Generated Node #0,1,1: 82:[8, 44] Operation: 74-30=44 Exploring Operation: 30+8=38, Resulting Numbers: [74, 38] Generated Node #0,1,2: 82:[74, 38] Operation: 30+8=38 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[8, 44], Operations: ['67-59=8', '74-30=44'] Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,82 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,82 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,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:[30, 82], Operations: ['67-59=8', '74+8=82'] Exploring Operation: 30*82=2460, Resulting Numbers: [2460] 2460,82 unequal: No Solution Exploring Operation: 30+82=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,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,2 Current State: 82:[74, 38], Operations: ['67-59=8', '30+8=38'] Exploring Operation: 74-38=36, Resulting Numbers: [36] 36,82 unequal: No Solution Exploring Operation: 74*38=2812, Resulting Numbers: [2812] 2812,82 unequal: No Solution Exploring Operation: 74+38=112, Resulting Numbers: [112] 112,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:[67, 74, 89], Operations: ['30+59=89'] Exploring Operation: 74-67=7, Resulting Numbers: [89, 7] Generated Node #0,0,0: 82:[89, 7] Operation: 74-67=7 Exploring Operation: 89-74=15, Resulting Numbers: [67, 15] Generated Node #0,0,1: 82:[67, 15] Operation: 89-74=15 Exploring Operation: 89-67=22, Resulting Numbers: [74, 22] Generated Node #0,0,2: 82:[74, 22] Operation: 89-67=22 Moving to Node #0,0,0 Current State: 82:[89, 7], Operations: ['30+59=89', '74-67=7'] Exploring Operation: 89*7=623, Resulting Numbers: [623] 623,82 unequal: No Solution Exploring Operation: 89-7=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[67, 30, 74, 59], Operations: [] Exploring Operation: 30+59=89, Resulting Numbers: [67, 74, 89] Generated Node #0,0: 82:[67, 74, 89] Operation: 30+59=89 Moving to Node #0,0 Current State: 82:[67, 74, 89], Operations: ['30+59=89'] Exploring Operation: 74-67=7, Resulting Numbers: [89, 7] Generated Node #0,0,0: 82:[89, 7] Operation: 74-67=7 Moving to Node #0,0,0 Current State: 82:[89, 7], Operations: ['30+59=89', '74-67=7'] Exploring Operation: 89-7=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 65, 76, 45, 5 ]
57
[ "65-5=60", "76*45=3420", "3420/60=57" ]
Current State: 57:[65, 76, 45, 5], Operations: [] Exploring Operation: 65-5=60, Resulting Numbers: [76, 45, 60] Generated Node #2: [76, 45, 60] from Operation: 65-5=60 Current State: 57:[76, 45, 60], Operations: ['65-5=60'] Exploring Operation: 76*45=3420, Resulting Numbers: [60, 3420] Generated Node #3: [60, 3420] from Operation: 76*45=3420 Current State: 57:[60, 3420], Operations: ['65-5=60', '76*45=3420'] Exploring Operation: 3420/60=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[65, 76, 45, 5], Operations: [] Exploring Operation: 65-45=20, Resulting Numbers: [76, 5, 20] Generated Node #0,0: 57:[76, 5, 20] Operation: 65-45=20 Exploring Operation: 45/5=9, Resulting Numbers: [65, 76, 9] Generated Node #0,1: 57:[65, 76, 9] Operation: 45/5=9 Exploring Operation: 76-45=31, Resulting Numbers: [65, 5, 31] Generated Node #0,2: 57:[65, 5, 31] Operation: 76-45=31 Exploring Operation: 76-65=11, Resulting Numbers: [45, 5, 11] Generated Node #0,3: 57:[45, 5, 11] Operation: 76-65=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[76, 5, 20], Operations: ['65-45=20'] Exploring Operation: 76-20=56, Resulting Numbers: [5, 56] Generated Node #0,0,0: 57:[5, 56] Operation: 76-20=56 Exploring Operation: 20-5=15, Resulting Numbers: [76, 15] Generated Node #0,0,1: 57:[76, 15] Operation: 20-5=15 Exploring Operation: 76-5=71, Resulting Numbers: [20, 71] Generated Node #0,0,2: 57:[20, 71] Operation: 76-5=71 Exploring Operation: 20/5=4, Resulting Numbers: [76, 4] Generated Node #0,0,3: 57:[76, 4] Operation: 20/5=4 Moving to Node #0,0,0 Current State: 57:[5, 56], Operations: ['65-45=20', '76-20=56'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,57 unequal: No Solution Exploring Operation: 5*56=280, Resulting Numbers: [280] 280,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[20, 71], Operations: ['65-45=20', '76-5=71'] Exploring Operation: 20*71=1420, Resulting Numbers: [1420] 1420,57 unequal: No Solution Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 20+71=91, Resulting Numbers: [91] 91,57 unequal: No Solution Moving to Node #0,0,3 Current State: 57:[76, 4], Operations: ['65-45=20', '20/5=4'] Exploring Operation: 76*4=304, Resulting Numbers: [304] 304,57 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,57 unequal: No Solution Exploring Operation: 76+4=80, Resulting Numbers: [80] 80,57 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[76, 15], Operations: ['65-45=20', '20-5=15'] Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,57 unequal: No Solution Exploring Operation: 76*15=1140, Resulting Numbers: [1140] 1140,57 unequal: No Solution Exploring Operation: 76+15=91, Resulting Numbers: [91] 91,57 unequal: No Solution No 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: 57:[65, 5, 31], Operations: ['76-45=31'] Exploring Operation: 65-5=60, Resulting Numbers: [31, 60] Generated Node #0,2,0: 57:[31, 60] Operation: 65-5=60 Exploring Operation: 65-31=34, Resulting Numbers: [5, 34] Generated Node #0,2,1: 57:[5, 34] Operation: 65-31=34 Exploring Operation: 31-5=26, Resulting Numbers: [65, 26] Generated Node #0,2,2: 57:[65, 26] Operation: 31-5=26 Exploring Operation: 65/5=13, Resulting Numbers: [31, 13] Generated Node #0,2,3: 57:[31, 13] Operation: 65/5=13 Moving to Node #0,2,0 Current State: 57:[31, 60], Operations: ['76-45=31', '65-5=60'] Exploring Operation: 31*60=1860, Resulting Numbers: [1860] 1860,57 unequal: No Solution Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,57 unequal: No Solution Exploring Operation: 31+60=91, Resulting Numbers: [91] 91,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[65, 26], Operations: ['76-45=31', '31-5=26'] Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,57 unequal: No Solution Exploring Operation: 65*26=1690, Resulting Numbers: [1690] 1690,57 unequal: No Solution Exploring Operation: 65+26=91, Resulting Numbers: [91] 91,57 unequal: No Solution Moving to Node #0,2,1 Current State: 57:[5, 34], Operations: ['76-45=31', '65-31=34'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,57 unequal: No Solution Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,57 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,57 unequal: No Solution Moving to Node #0,2,3 Current State: 57:[31, 13], Operations: ['76-45=31', '65/5=13'] Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,57 unequal: No Solution Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,57 unequal: No Solution No 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: 57:[45, 5, 11], Operations: ['76-65=11'] Exploring Operation: 5*11=55, Resulting Numbers: [45, 55] Generated Node #0,3,0: 57:[45, 55] Operation: 5*11=55 Exploring Operation: 45+11=56, Resulting Numbers: [5, 56] Generated Node #0,3,1: 57:[5, 56] Operation: 45+11=56 Exploring Operation: 45+5=50, Resulting Numbers: [11, 50] Generated Node #0,3,2: 57:[11, 50] Operation: 45+5=50 Exploring Operation: 45/5=9, Resulting Numbers: [11, 9] Generated Node #0,3,3: 57:[11, 9] Operation: 45/5=9 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 57:[5, 56], Operations: ['76-65=11', '45+11=56'] Exploring Operation: 5*56=280, Resulting Numbers: [280] 280,57 unequal: No Solution Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,57 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,57 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: 57:[45, 55], Operations: ['76-65=11', '5*11=55'] Exploring Operation: 45+55=100, Resulting Numbers: [100] 100,57 unequal: No Solution Exploring Operation: 45*55=2475, Resulting Numbers: [2475] 2475,57 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,57 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: 57:[11, 9], Operations: ['76-65=11', '45/5=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,57 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,57 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: 57:[11, 50], Operations: ['76-65=11', '45+5=50'] Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,57 unequal: No Solution Exploring Operation: 11+50=61, Resulting Numbers: [61] 61,57 unequal: No Solution Exploring Operation: 11*50=550, Resulting Numbers: [550] 550,57 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: 57:[65, 76, 9], Operations: ['45/5=9'] Exploring Operation: 65-9=56, Resulting Numbers: [76, 56] Generated Node #0,1,0: 57:[76, 56] Operation: 65-9=56 Exploring Operation: 76-9=67, Resulting Numbers: [65, 67] Generated Node #0,1,1: 57:[65, 67] Operation: 76-9=67 Exploring Operation: 76-65=11, Resulting Numbers: [9, 11] Generated Node #0,1,2: 57:[9, 11] Operation: 76-65=11 Exploring Operation: 65+9=74, Resulting Numbers: [76, 74] Generated Node #0,1,3: 57:[76, 74] Operation: 65+9=74 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 57:[9, 11], Operations: ['45/5=9', '76-65=11'] Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,57 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,57 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: 57:[65, 67], Operations: ['45/5=9', '76-9=67'] Exploring Operation: 67-65=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 65+67=132, Resulting Numbers: [132] 132,57 unequal: No Solution Exploring Operation: 65*67=4355, Resulting Numbers: [4355] 4355,57 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: 57:[76, 56], Operations: ['45/5=9', '65-9=56'] Exploring Operation: 76+56=132, Resulting Numbers: [132] 132,57 unequal: No Solution Exploring Operation: 76-56=20, Resulting Numbers: [20] 20,57 unequal: No Solution Exploring Operation: 76*56=4256, Resulting Numbers: [4256] 4256,57 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: 57:[76, 74], Operations: ['45/5=9', '65+9=74'] Exploring Operation: 76+74=150, Resulting Numbers: [150] 150,57 unequal: No Solution Exploring Operation: 76*74=5624, Resulting Numbers: [5624] 5624,57 unequal: No Solution Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,57 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
[ 19, 80, 63, 60 ]
24
[ "19+80=99", "63+60=123", "123-99=24" ]
Current State: 24:[19, 80, 63, 60], Operations: [] Exploring Operation: 19+80=99, Resulting Numbers: [63, 60, 99] Generated Node #2: [63, 60, 99] from Operation: 19+80=99 Current State: 24:[63, 60, 99], Operations: ['19+80=99'] Exploring Operation: 63+60=123, Resulting Numbers: [99, 123] Generated Node #3: [99, 123] from Operation: 63+60=123 Current State: 24:[99, 123], Operations: ['19+80=99', '63+60=123'] Exploring Operation: 123-99=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[19, 80, 63, 60], Operations: [] Exploring Operation: 63-60=3, Resulting Numbers: [19, 80, 3] Generated Node #0,0: 24:[19, 80, 3] Operation: 63-60=3 Exploring Operation: 80-19=61, Resulting Numbers: [63, 60, 61] Generated Node #0,1: 24:[63, 60, 61] Operation: 80-19=61 Exploring Operation: 80-63=17, Resulting Numbers: [19, 60, 17] Generated Node #0,2: 24:[19, 60, 17] Operation: 80-63=17 Exploring Operation: 80-60=20, Resulting Numbers: [19, 63, 20] Generated Node #0,3: 24:[19, 63, 20] Operation: 80-60=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[19, 60, 17], Operations: ['80-63=17'] Exploring Operation: 19+17=36, Resulting Numbers: [60, 36] Generated Node #0,2,0: 24:[60, 36] Operation: 19+17=36 Exploring Operation: 60-17=43, Resulting Numbers: [19, 43] Generated Node #0,2,1: 24:[19, 43] Operation: 60-17=43 Exploring Operation: 60-19=41, Resulting Numbers: [17, 41] Generated Node #0,2,2: 24:[17, 41] Operation: 60-19=41 Exploring Operation: 19-17=2, Resulting Numbers: [60, 2] Generated Node #0,2,3: 24:[60, 2] Operation: 19-17=2 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 24:[17, 41], Operations: ['80-63=17', '60-19=41'] Exploring Operation: 17+41=58, Resulting Numbers: [58] 58,24 unequal: No Solution Exploring Operation: 17*41=697, Resulting Numbers: [697] 697,24 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[19, 80, 63, 60], Operations: [] Exploring Operation: 80-63=17, Resulting Numbers: [19, 60, 17] Generated Node #0,2: 24:[19, 60, 17] Operation: 80-63=17 Moving to Node #0,2 Current State: 24:[19, 60, 17], Operations: ['80-63=17'] Exploring Operation: 60-19=41, Resulting Numbers: [17, 41] Generated Node #0,2,2: 24:[17, 41] Operation: 60-19=41 Moving to Node #0,2,2 Current State: 24:[17, 41], Operations: ['80-63=17', '60-19=41'] Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 68, 28, 11, 70 ]
67
[ "70-68=2", "28*2=56", "11+56=67" ]
Current State: 67:[68, 28, 11, 70], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [28, 11, 2] Generated Node #2: [28, 11, 2] from Operation: 70-68=2 Current State: 67:[28, 11, 2], Operations: ['70-68=2'] Exploring Operation: 28*2=56, Resulting Numbers: [11, 56] Generated Node #3: [11, 56] from Operation: 28*2=56 Current State: 67:[11, 56], Operations: ['70-68=2', '28*2=56'] Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[68, 28, 11, 70], Operations: [] Exploring Operation: 70-11=59, Resulting Numbers: [68, 28, 59] Generated Node #0,0: 67:[68, 28, 59] Operation: 70-11=59 Exploring Operation: 68-11=57, Resulting Numbers: [28, 70, 57] Generated Node #0,1: 67:[28, 70, 57] Operation: 68-11=57 Exploring Operation: 28-11=17, Resulting Numbers: [68, 70, 17] Generated Node #0,2: 67:[68, 70, 17] Operation: 28-11=17 Exploring Operation: 28+11=39, Resulting Numbers: [68, 70, 39] Generated Node #0,3: 67:[68, 70, 39] Operation: 28+11=39 Exploring Operation: 68+11=79, Resulting Numbers: [28, 70, 79] Generated Node #0,4: 67:[28, 70, 79] Operation: 68+11=79 Moving to Node #0,3 Current State: 67:[68, 70, 39], Operations: ['28+11=39'] Exploring Operation: 68-39=29, Resulting Numbers: [70, 29] Generated Node #0,3,0: 67:[70, 29] Operation: 68-39=29 Exploring Operation: 70+39=109, Resulting Numbers: [68, 109] Generated Node #0,3,1: 67:[68, 109] Operation: 70+39=109 Exploring Operation: 68+39=107, Resulting Numbers: [70, 107] Generated Node #0,3,2: 67:[70, 107] Operation: 68+39=107 Exploring Operation: 70-68=2, Resulting Numbers: [39, 2] Generated Node #0,3,3: 67:[39, 2] Operation: 70-68=2 Exploring Operation: 70-39=31, Resulting Numbers: [68, 31] Generated Node #0,3,4: 67:[68, 31] Operation: 70-39=31 Moving to Node #0,0 Current State: 67:[68, 28, 59], Operations: ['70-11=59'] Exploring Operation: 68-28=40, Resulting Numbers: [59, 40] Generated Node #0,0,0: 67:[59, 40] Operation: 68-28=40 Exploring Operation: 28+59=87, Resulting Numbers: [68, 87] Generated Node #0,0,1: 67:[68, 87] Operation: 28+59=87 Exploring Operation: 68+28=96, Resulting Numbers: [59, 96] Generated Node #0,0,2: 67:[59, 96] Operation: 68+28=96 Exploring Operation: 68-59=9, Resulting Numbers: [28, 9] Generated Node #0,0,3: 67:[28, 9] Operation: 68-59=9 Exploring Operation: 59-28=31, Resulting Numbers: [68, 31] Generated Node #0,0,4: 67:[68, 31] Operation: 59-28=31 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[68, 87], Operations: ['70-11=59', '28+59=87'] Exploring Operation: 68+87=155, Resulting Numbers: [155] 155,67 unequal: No Solution Exploring Operation: 68*87=5916, Resulting Numbers: [5916] 5916,67 unequal: No Solution Exploring Operation: 87-68=19, Resulting Numbers: [19] 19,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[59, 40], Operations: ['70-11=59', '68-28=40'] Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,67 unequal: No Solution Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[59, 96], Operations: ['70-11=59', '68+28=96'] Exploring Operation: 59*96=5664, Resulting Numbers: [5664] 5664,67 unequal: No Solution Exploring Operation: 96-59=37, Resulting Numbers: [37] 37,67 unequal: No Solution Exploring Operation: 59+96=155, Resulting Numbers: [155] 155,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,4 Current State: 67:[68, 31], Operations: ['70-11=59', '59-28=31'] Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,67 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,67 unequal: No Solution Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 67:[28, 9], Operations: ['70-11=59', '68-59=9'] Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,67 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,67 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,67 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: 67:[28, 70, 57], Operations: ['68-11=57'] Exploring Operation: 28+57=85, Resulting Numbers: [70, 85] Generated Node #0,1,0: 67:[70, 85] Operation: 28+57=85 Exploring Operation: 57-28=29, Resulting Numbers: [70, 29] Generated Node #0,1,1: 67:[70, 29] Operation: 57-28=29 Exploring Operation: 70-28=42, Resulting Numbers: [57, 42] Generated Node #0,1,2: 67:[57, 42] Operation: 70-28=42 Exploring Operation: 70-57=13, Resulting Numbers: [28, 13] Generated Node #0,1,3: 67:[28, 13] Operation: 70-57=13 Exploring Operation: 28+70=98, Resulting Numbers: [57, 98] Generated Node #0,1,4: 67:[57, 98] Operation: 28+70=98 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[70, 85], Operations: ['68-11=57', '28+57=85'] Exploring Operation: 70*85=5950, Resulting Numbers: [5950] 5950,67 unequal: No Solution Exploring Operation: 70+85=155, Resulting Numbers: [155] 155,67 unequal: No Solution Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,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,1,2 Current State: 67:[57, 42], Operations: ['68-11=57', '70-28=42'] Exploring Operation: 57*42=2394, Resulting Numbers: [2394] 2394,67 unequal: No Solution Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 57+42=99, Resulting Numbers: [99] 99,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,1,1 Current State: 67:[70, 29], Operations: ['68-11=57', '57-28=29'] Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 70*29=2030, Resulting Numbers: [2030] 2030,67 unequal: No Solution Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,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,1,4 Current State: 67:[57, 98], Operations: ['68-11=57', '28+70=98'] Exploring Operation: 57*98=5586, Resulting Numbers: [5586] 5586,67 unequal: No Solution Exploring Operation: 98-57=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 57+98=155, Resulting Numbers: [155] 155,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,1,3 Current State: 67:[28, 13], Operations: ['68-11=57', '70-57=13'] Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,67 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 67:[68, 70, 17], Operations: ['28-11=17'] Exploring Operation: 68-17=51, Resulting Numbers: [70, 51] Generated Node #0,2,0: 67:[70, 51] Operation: 68-17=51 Exploring Operation: 68/17=4, Resulting Numbers: [70, 4] Generated Node #0,2,1: 67:[70, 4] Operation: 68/17=4 Exploring Operation: 70-17=53, Resulting Numbers: [68, 53] Generated Node #0,2,2: 67:[68, 53] Operation: 70-17=53 Exploring Operation: 70+17=87, Resulting Numbers: [68, 87] Generated Node #0,2,3: 67:[68, 87] Operation: 70+17=87 Exploring Operation: 68+17=85, Resulting Numbers: [70, 85] Generated Node #0,2,4: 67:[70, 85] Operation: 68+17=85 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[68, 53], Operations: ['28-11=17', '70-17=53'] Exploring Operation: 68-53=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 68+53=121, Resulting Numbers: [121] 121,67 unequal: No Solution Exploring Operation: 68*53=3604, Resulting Numbers: [3604] 3604,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:[70, 51], Operations: ['28-11=17', '68-17=51'] Exploring Operation: 70*51=3570, Resulting Numbers: [3570] 3570,67 unequal: No Solution Exploring Operation: 70-51=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 70+51=121, Resulting Numbers: [121] 121,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:[68, 87], Operations: ['28-11=17', '70+17=87'] Exploring Operation: 68*87=5916, Resulting Numbers: [5916] 5916,67 unequal: No Solution Exploring Operation: 87-68=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 68+87=155, Resulting Numbers: [155] 155,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:[70, 85], Operations: ['28-11=17', '68+17=85'] Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 70*85=5950, Resulting Numbers: [5950] 5950,67 unequal: No Solution Exploring Operation: 70+85=155, Resulting Numbers: [155] 155,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:[70, 4], Operations: ['28-11=17', '68/17=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,67 unequal: No Solution Exploring Operation: 70*4=280, Resulting Numbers: [280] 280,67 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,67 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: 67:[28, 70, 79], Operations: ['68+11=79'] Exploring Operation: 28+70=98, Resulting Numbers: [79, 98] Generated Node #0,4,0: 67:[79, 98] Operation: 28+70=98 Exploring Operation: 28+79=107, Resulting Numbers: [70, 107] Generated Node #0,4,1: 67:[70, 107] Operation: 28+79=107 Exploring Operation: 79-70=9, Resulting Numbers: [28, 9] Generated Node #0,4,2: 67:[28, 9] Operation: 79-70=9 Exploring Operation: 70-28=42, Resulting Numbers: [79, 42] Generated Node #0,4,3: 67:[79, 42] Operation: 70-28=42 Exploring Operation: 79-28=51, Resulting Numbers: [70, 51] Generated Node #0,4,4: 67:[70, 51] Operation: 79-28=51 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 67:[70, 51], Operations: ['68+11=79', '79-28=51'] Exploring Operation: 70+51=121, Resulting Numbers: [121] 121,67 unequal: No Solution Exploring Operation: 70-51=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 70*51=3570, Resulting Numbers: [3570] 3570,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:[79, 42], Operations: ['68+11=79', '70-28=42'] Exploring Operation: 79+42=121, Resulting Numbers: [121] 121,67 unequal: No Solution Exploring Operation: 79*42=3318, Resulting Numbers: [3318] 3318,67 unequal: No Solution Exploring Operation: 79-42=37, Resulting Numbers: [37] 37,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,0 Current State: 67:[79, 98], Operations: ['68+11=79', '28+70=98'] Exploring Operation: 98-79=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 79*98=7742, Resulting Numbers: [7742] 7742,67 unequal: No Solution Exploring Operation: 79+98=177, Resulting Numbers: [177] 177,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:[70, 107], Operations: ['68+11=79', '28+79=107'] Exploring Operation: 70*107=7490, Resulting Numbers: [7490] 7490,67 unequal: No Solution Exploring Operation: 70+107=177, Resulting Numbers: [177] 177,67 unequal: No Solution Exploring Operation: 107-70=37, Resulting Numbers: [37] 37,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:[28, 9], Operations: ['68+11=79', '79-70=9'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,67 unequal: No Solution Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,4 Current State: 67:[68, 31], Operations: ['28+11=39', '70-39=31'] Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,67 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,67 unequal: No Solution Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[70, 29], Operations: ['28+11=39', '68-39=29'] Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,67 unequal: No Solution Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 70*29=2030, Resulting Numbers: [2030] 2030,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[68, 109], Operations: ['28+11=39', '70+39=109'] Exploring Operation: 68+109=177, Resulting Numbers: [177] 177,67 unequal: No Solution Exploring Operation: 109-68=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 68*109=7412, Resulting Numbers: [7412] 7412,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[70, 107], Operations: ['28+11=39', '68+39=107'] Exploring Operation: 70+107=177, Resulting Numbers: [177] 177,67 unequal: No Solution Exploring Operation: 70*107=7490, Resulting Numbers: [7490] 7490,67 unequal: No Solution Exploring Operation: 107-70=37, Resulting Numbers: [37] 37,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[39, 2], Operations: ['28+11=39', '70-68=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,67 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,67 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 22, 20, 36, 9 ]
69
[ "22+20=42", "36-9=27", "42+27=69" ]
Current State: 69:[22, 20, 36, 9], Operations: [] Exploring Operation: 22+20=42, Resulting Numbers: [36, 9, 42] Generated Node #2: [36, 9, 42] from Operation: 22+20=42 Current State: 69:[36, 9, 42], Operations: ['22+20=42'] Exploring Operation: 36-9=27, Resulting Numbers: [42, 27] Generated Node #3: [42, 27] from Operation: 36-9=27 Current State: 69:[42, 27], Operations: ['22+20=42', '36-9=27'] Exploring Operation: 42+27=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[22, 20, 36, 9], Operations: [] Exploring Operation: 36-9=27, Resulting Numbers: [22, 20, 27] Generated Node #0,0: 69:[22, 20, 27] Operation: 36-9=27 Exploring Operation: 36/9=4, Resulting Numbers: [22, 20, 4] Generated Node #0,1: 69:[22, 20, 4] Operation: 36/9=4 Moving to Node #0,1 Current State: 69:[22, 20, 4], Operations: ['36/9=4'] Exploring Operation: 22-20=2, Resulting Numbers: [4, 2] Generated Node #0,1,0: 69:[4, 2] Operation: 22-20=2 Exploring Operation: 20+4=24, Resulting Numbers: [22, 24] Generated Node #0,1,1: 69:[22, 24] Operation: 20+4=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[4, 2], Operations: ['36/9=4', '22-20=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,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,1 Current State: 69:[22, 24], Operations: ['36/9=4', '20+4=24'] Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,69 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: 69:[22, 20, 27], Operations: ['36-9=27'] Exploring Operation: 27-22=5, Resulting Numbers: [20, 5] Generated Node #0,0,0: 69:[20, 5] Operation: 27-22=5 Exploring Operation: 22-20=2, Resulting Numbers: [27, 2] Generated Node #0,0,1: 69:[27, 2] Operation: 22-20=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[20, 5], Operations: ['36-9=27', '27-22=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,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,1 Current State: 69:[27, 2], Operations: ['36-9=27', '22-20=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,69 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,69 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
[ 18, 24, 49, 63 ]
70
[ "18+24=42", "49+63=112", "112-42=70" ]
Current State: 70:[18, 24, 49, 63], Operations: [] Exploring Operation: 18+24=42, Resulting Numbers: [49, 63, 42] Generated Node #2: [49, 63, 42] from Operation: 18+24=42 Current State: 70:[49, 63, 42], Operations: ['18+24=42'] Exploring Operation: 49+63=112, Resulting Numbers: [42, 112] Generated Node #3: [42, 112] from Operation: 49+63=112 Current State: 70:[42, 112], Operations: ['18+24=42', '49+63=112'] Exploring Operation: 112-42=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[18, 24, 49, 63], Operations: [] Exploring Operation: 24+49=73, Resulting Numbers: [18, 63, 73] Generated Node #0,0: 70:[18, 63, 73] Operation: 24+49=73 Exploring Operation: 49-18=31, Resulting Numbers: [24, 63, 31] Generated Node #0,1: 70:[24, 63, 31] Operation: 49-18=31 Exploring Operation: 18+49=67, Resulting Numbers: [24, 63, 67] Generated Node #0,2: 70:[24, 63, 67] Operation: 18+49=67 Exploring Operation: 63-49=14, Resulting Numbers: [18, 24, 14] Generated Node #0,3: 70:[18, 24, 14] Operation: 63-49=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[18, 63, 73], Operations: ['24+49=73'] Exploring Operation: 18+63=81, Resulting Numbers: [73, 81] Generated Node #0,0,0: 70:[73, 81] Operation: 18+63=81 Exploring Operation: 63-18=45, Resulting Numbers: [73, 45] Generated Node #0,0,1: 70:[73, 45] Operation: 63-18=45 Exploring Operation: 73-63=10, Resulting Numbers: [18, 10] Generated Node #0,0,2: 70:[18, 10] Operation: 73-63=10 Exploring Operation: 73-18=55, Resulting Numbers: [63, 55] Generated Node #0,0,3: 70:[63, 55] Operation: 73-18=55 Moving to Node #0,0,2 Current State: 70:[18, 10], Operations: ['24+49=73', '73-63=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,70 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[73, 45], Operations: ['24+49=73', '63-18=45'] Exploring Operation: 73-45=28, Resulting Numbers: [28] 28,70 unequal: No Solution Exploring Operation: 73+45=118, Resulting Numbers: [118] 118,70 unequal: No Solution Exploring Operation: 73*45=3285, Resulting Numbers: [3285] 3285,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[73, 81], Operations: ['24+49=73', '18+63=81'] Exploring Operation: 73*81=5913, Resulting Numbers: [5913] 5913,70 unequal: No Solution Exploring Operation: 73+81=154, Resulting Numbers: [154] 154,70 unequal: No Solution Exploring Operation: 81-73=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[63, 55], Operations: ['24+49=73', '73-18=55'] Exploring Operation: 63+55=118, Resulting Numbers: [118] 118,70 unequal: No Solution Exploring Operation: 63*55=3465, Resulting Numbers: [3465] 3465,70 unequal: No Solution Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,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,3 Current State: 70:[18, 24, 14], Operations: ['63-49=14'] Exploring Operation: 24+14=38, Resulting Numbers: [18, 38] Generated Node #0,3,0: 70:[18, 38] Operation: 24+14=38 Exploring Operation: 24-14=10, Resulting Numbers: [18, 10] Generated Node #0,3,1: 70:[18, 10] Operation: 24-14=10 Exploring Operation: 24-18=6, Resulting Numbers: [14, 6] Generated Node #0,3,2: 70:[14, 6] Operation: 24-18=6 Exploring Operation: 18+24=42, Resulting Numbers: [14, 42] Generated Node #0,3,3: 70:[14, 42] Operation: 18+24=42 Moving to Node #0,3,2 Current State: 70:[14, 6], Operations: ['63-49=14', '24-18=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,70 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[18, 10], Operations: ['63-49=14', '24-14=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,70 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,70 unequal: No Solution Moving to Node #0,3,3 Current State: 70:[14, 42], Operations: ['63-49=14', '18+24=42'] Exploring Operation: 14+42=56, Resulting Numbers: [56] 56,70 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,70 unequal: No Solution Exploring Operation: 14*42=588, Resulting Numbers: [588] 588,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[18, 38], Operations: ['63-49=14', '24+14=38'] Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,70 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[24, 63, 67], Operations: ['18+49=67'] Exploring Operation: 67-24=43, Resulting Numbers: [63, 43] Generated Node #0,2,0: 70:[63, 43] Operation: 67-24=43 Exploring Operation: 63-24=39, Resulting Numbers: [67, 39] Generated Node #0,2,1: 70:[67, 39] Operation: 63-24=39 Exploring Operation: 24+63=87, Resulting Numbers: [67, 87] Generated Node #0,2,2: 70:[67, 87] Operation: 24+63=87 Exploring Operation: 67-63=4, Resulting Numbers: [24, 4] Generated Node #0,2,3: 70:[24, 4] Operation: 67-63=4 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[67, 39], Operations: ['18+49=67', '63-24=39'] Exploring Operation: 67*39=2613, Resulting Numbers: [2613] 2613,70 unequal: No Solution Exploring Operation: 67+39=106, Resulting Numbers: [106] 106,70 unequal: No Solution Exploring Operation: 67-39=28, Resulting Numbers: [28] 28,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 70:[24, 4], Operations: ['18+49=67', '67-63=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,70 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 70:[63, 43], Operations: ['18+49=67', '67-24=43'] Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 63+43=106, Resulting Numbers: [106] 106,70 unequal: No Solution Exploring Operation: 63*43=2709, Resulting Numbers: [2709] 2709,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 70:[67, 87], Operations: ['18+49=67', '24+63=87'] Exploring Operation: 87-67=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 67*87=5829, Resulting Numbers: [5829] 5829,70 unequal: No Solution Exploring Operation: 67+87=154, Resulting Numbers: [154] 154,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[24, 63, 31], Operations: ['49-18=31'] Exploring Operation: 63-31=32, Resulting Numbers: [24, 32] Generated Node #0,1,0: 70:[24, 32] Operation: 63-31=32 Exploring Operation: 63-24=39, Resulting Numbers: [31, 39] Generated Node #0,1,1: 70:[31, 39] Operation: 63-24=39 Exploring Operation: 24+63=87, Resulting Numbers: [31, 87] Generated Node #0,1,2: 70:[31, 87] Operation: 24+63=87 Exploring Operation: 31-24=7, Resulting Numbers: [63, 7] Generated Node #0,1,3: 70:[63, 7] Operation: 31-24=7 Moving to Node #0,1,3 Current State: 70:[63, 7], Operations: ['49-18=31', '31-24=7'] Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 63*7=441, Resulting Numbers: [441] 441,70 unequal: No Solution Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[18, 24, 49, 63], Operations: [] Exploring Operation: 49-18=31, Resulting Numbers: [24, 63, 31] Generated Node #0,1: 70:[24, 63, 31] Operation: 49-18=31 Moving to Node #0,1 Current State: 70:[24, 63, 31], Operations: ['49-18=31'] Exploring Operation: 31-24=7, Resulting Numbers: [63, 7] Generated Node #0,1,3: 70:[63, 7] Operation: 31-24=7 Moving to Node #0,1,3 Current State: 70:[63, 7], Operations: ['49-18=31', '31-24=7'] Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.943576
hs_4
sum_heuristic
[ 15, 53, 37, 77 ]
71
[ "53+37=90", "90/15=6", "77-6=71" ]
Current State: 71:[15, 53, 37, 77], Operations: [] Exploring Operation: 53+37=90, Resulting Numbers: [15, 77, 90] Generated Node #2: [15, 77, 90] from Operation: 53+37=90 Current State: 71:[15, 77, 90], Operations: ['53+37=90'] Exploring Operation: 90/15=6, Resulting Numbers: [77, 6] Generated Node #3: [77, 6] from Operation: 90/15=6 Current State: 71:[77, 6], Operations: ['53+37=90', '90/15=6'] Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[15, 53, 37, 77], Operations: [] Exploring Operation: 15+37=52, Resulting Numbers: [53, 77, 52] Generated Node #0,0: 71:[53, 77, 52] Operation: 15+37=52 Exploring Operation: 15+53=68, Resulting Numbers: [37, 77, 68] Generated Node #0,1: 71:[37, 77, 68] Operation: 15+53=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[53, 77, 52], Operations: ['15+37=52'] Exploring Operation: 77-52=25, Resulting Numbers: [53, 25] Generated Node #0,0,0: 71:[53, 25] Operation: 77-52=25 Exploring Operation: 53+52=105, Resulting Numbers: [77, 105] Generated Node #0,0,1: 71:[77, 105] Operation: 53+52=105 Moving to Node #0,0,1 Current State: 71:[77, 105], Operations: ['15+37=52', '53+52=105'] Exploring Operation: 105-77=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 77+105=182, Resulting Numbers: [182] 182,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[53, 25], Operations: ['15+37=52', '77-52=25'] Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 53+25=78, Resulting Numbers: [78] 78,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[37, 77, 68], Operations: ['15+53=68'] Exploring Operation: 77-37=40, Resulting Numbers: [68, 40] Generated Node #0,1,0: 71:[68, 40] Operation: 77-37=40 Exploring Operation: 37+68=105, Resulting Numbers: [77, 105] Generated Node #0,1,1: 71:[77, 105] Operation: 37+68=105 Moving to Node #0,1,0 Current State: 71:[68, 40], Operations: ['15+53=68', '77-37=40'] Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 68+40=108, Resulting Numbers: [108] 108,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[77, 105], Operations: ['15+53=68', '37+68=105'] Exploring Operation: 105-77=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 77+105=182, Resulting Numbers: [182] 182,71 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
[ 75, 97, 89, 93 ]
43
[ "75+97=172", "93-89=4", "172/4=43" ]
Current State: 43:[75, 97, 89, 93], Operations: [] Exploring Operation: 75+97=172, Resulting Numbers: [89, 93, 172] Generated Node #2: [89, 93, 172] from Operation: 75+97=172 Current State: 43:[89, 93, 172], Operations: ['75+97=172'] Exploring Operation: 93-89=4, Resulting Numbers: [172, 4] Generated Node #3: [172, 4] from Operation: 93-89=4 Current State: 43:[172, 4], Operations: ['75+97=172', '93-89=4'] Exploring Operation: 172/4=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[75, 97, 89, 93], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [75, 93, 8] Generated Node #0,0: 43:[75, 93, 8] Operation: 97-89=8 Exploring Operation: 97-93=4, Resulting Numbers: [75, 89, 4] Generated Node #0,1: 43:[75, 89, 4] Operation: 97-93=4 Exploring Operation: 93-89=4, Resulting Numbers: [75, 97, 4] Generated Node #0,2: 43:[75, 97, 4] Operation: 93-89=4 Exploring Operation: 93-75=18, Resulting Numbers: [97, 89, 18] Generated Node #0,3: 43:[97, 89, 18] Operation: 93-75=18 Exploring Operation: 97-75=22, Resulting Numbers: [89, 93, 22] Generated Node #0,4: 43:[89, 93, 22] Operation: 97-75=22 Moving to Node #0,0 Current State: 43:[75, 93, 8], Operations: ['97-89=8'] Exploring Operation: 75+8=83, Resulting Numbers: [93, 83] Generated Node #0,0,0: 43:[93, 83] Operation: 75+8=83 Exploring Operation: 75-8=67, Resulting Numbers: [93, 67] Generated Node #0,0,1: 43:[93, 67] Operation: 75-8=67 Exploring Operation: 93+8=101, Resulting Numbers: [75, 101] Generated Node #0,0,2: 43:[75, 101] Operation: 93+8=101 Exploring Operation: 93-8=85, Resulting Numbers: [75, 85] Generated Node #0,0,3: 43:[75, 85] Operation: 93-8=85 Exploring Operation: 93-75=18, Resulting Numbers: [8, 18] Generated Node #0,0,4: 43:[8, 18] Operation: 93-75=18 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 43:[8, 18], Operations: ['97-89=8', '93-75=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,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:[93, 67], Operations: ['97-89=8', '75-8=67'] Exploring Operation: 93*67=6231, Resulting Numbers: [6231] 6231,43 unequal: No Solution Exploring Operation: 93+67=160, Resulting Numbers: [160] 160,43 unequal: No Solution Exploring Operation: 93-67=26, Resulting Numbers: [26] 26,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 43:[75, 85], Operations: ['97-89=8', '93-8=85'] Exploring Operation: 85-75=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 75+85=160, Resulting Numbers: [160] 160,43 unequal: No Solution Exploring Operation: 75*85=6375, Resulting Numbers: [6375] 6375,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[93, 83], Operations: ['97-89=8', '75+8=83'] Exploring Operation: 93+83=176, Resulting Numbers: [176] 176,43 unequal: No Solution Exploring Operation: 93*83=7719, Resulting Numbers: [7719] 7719,43 unequal: No Solution Exploring Operation: 93-83=10, Resulting Numbers: [10] 10,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,2 Current State: 43:[75, 101], Operations: ['97-89=8', '93+8=101'] Exploring Operation: 75*101=7575, Resulting Numbers: [7575] 7575,43 unequal: No Solution Exploring Operation: 101-75=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 75+101=176, Resulting Numbers: [176] 176,43 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: 43:[89, 93, 22], Operations: ['97-75=22'] Exploring Operation: 93+22=115, Resulting Numbers: [89, 115] Generated Node #0,4,0: 43:[89, 115] Operation: 93+22=115 Exploring Operation: 89-22=67, Resulting Numbers: [93, 67] Generated Node #0,4,1: 43:[93, 67] Operation: 89-22=67 Exploring Operation: 93-22=71, Resulting Numbers: [89, 71] Generated Node #0,4,2: 43:[89, 71] Operation: 93-22=71 Exploring Operation: 89+22=111, Resulting Numbers: [93, 111] Generated Node #0,4,3: 43:[93, 111] Operation: 89+22=111 Exploring Operation: 93-89=4, Resulting Numbers: [22, 4] Generated Node #0,4,4: 43:[22, 4] Operation: 93-89=4 Moving to Node #0,1 Current State: 43:[75, 89, 4], Operations: ['97-93=4'] Exploring Operation: 75-4=71, Resulting Numbers: [89, 71] Generated Node #0,1,0: 43:[89, 71] Operation: 75-4=71 Exploring Operation: 89+4=93, Resulting Numbers: [75, 93] Generated Node #0,1,1: 43:[75, 93] Operation: 89+4=93 Exploring Operation: 75+4=79, Resulting Numbers: [89, 79] Generated Node #0,1,2: 43:[89, 79] Operation: 75+4=79 Exploring Operation: 89-75=14, Resulting Numbers: [4, 14] Generated Node #0,1,3: 43:[4, 14] Operation: 89-75=14 Exploring Operation: 89-4=85, Resulting Numbers: [75, 85] Generated Node #0,1,4: 43:[75, 85] Operation: 89-4=85 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 43:[4, 14], Operations: ['97-93=4', '89-75=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,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,1,0 Current State: 43:[89, 71], Operations: ['97-93=4', '75-4=71'] Exploring Operation: 89*71=6319, Resulting Numbers: [6319] 6319,43 unequal: No Solution Exploring Operation: 89+71=160, Resulting Numbers: [160] 160,43 unequal: No Solution Exploring Operation: 89-71=18, Resulting Numbers: [18] 18,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,1,4 Current State: 43:[75, 85], Operations: ['97-93=4', '89-4=85'] Exploring Operation: 75+85=160, Resulting Numbers: [160] 160,43 unequal: No Solution Exploring Operation: 85-75=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 75*85=6375, Resulting Numbers: [6375] 6375,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,1,1 Current State: 43:[75, 93], Operations: ['97-93=4', '89+4=93'] Exploring Operation: 75*93=6975, Resulting Numbers: [6975] 6975,43 unequal: No Solution Exploring Operation: 93-75=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 75+93=168, Resulting Numbers: [168] 168,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,1,2 Current State: 43:[89, 79], Operations: ['97-93=4', '75+4=79'] Exploring Operation: 89+79=168, Resulting Numbers: [168] 168,43 unequal: No Solution Exploring Operation: 89*79=7031, Resulting Numbers: [7031] 7031,43 unequal: No Solution Exploring Operation: 89-79=10, Resulting Numbers: [10] 10,43 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: 43:[75, 97, 4], Operations: ['93-89=4'] Exploring Operation: 75-4=71, Resulting Numbers: [97, 71] Generated Node #0,2,0: 43:[97, 71] Operation: 75-4=71 Exploring Operation: 75+4=79, Resulting Numbers: [97, 79] Generated Node #0,2,1: 43:[97, 79] Operation: 75+4=79 Exploring Operation: 97-4=93, Resulting Numbers: [75, 93] Generated Node #0,2,2: 43:[75, 93] Operation: 97-4=93 Exploring Operation: 97+4=101, Resulting Numbers: [75, 101] Generated Node #0,2,3: 43:[75, 101] Operation: 97+4=101 Exploring Operation: 97-75=22, Resulting Numbers: [4, 22] Generated Node #0,2,4: 43:[4, 22] Operation: 97-75=22 Moving to Node #0,3 Current State: 43:[97, 89, 18], Operations: ['93-75=18'] Exploring Operation: 97-89=8, Resulting Numbers: [18, 8] Generated Node #0,3,0: 43:[18, 8] Operation: 97-89=8 Exploring Operation: 97-18=79, Resulting Numbers: [89, 79] Generated Node #0,3,1: 43:[89, 79] Operation: 97-18=79 Exploring Operation: 89+18=107, Resulting Numbers: [97, 107] Generated Node #0,3,2: 43:[97, 107] Operation: 89+18=107 Exploring Operation: 89-18=71, Resulting Numbers: [97, 71] Generated Node #0,3,3: 43:[97, 71] Operation: 89-18=71 Exploring Operation: 97+18=115, Resulting Numbers: [89, 115] Generated Node #0,3,4: 43:[89, 115] Operation: 97+18=115 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 43:[18, 8], Operations: ['93-75=18', '97-89=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,43 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,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,3,1 Current State: 43:[89, 79], Operations: ['93-75=18', '97-18=79'] Exploring Operation: 89*79=7031, Resulting Numbers: [7031] 7031,43 unequal: No Solution Exploring Operation: 89-79=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 89+79=168, Resulting Numbers: [168] 168,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,3,3 Current State: 43:[97, 71], Operations: ['93-75=18', '89-18=71'] Exploring Operation: 97-71=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 97+71=168, Resulting Numbers: [168] 168,43 unequal: No Solution Exploring Operation: 97*71=6887, Resulting Numbers: [6887] 6887,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,3,2 Current State: 43:[97, 107], Operations: ['93-75=18', '89+18=107'] Exploring Operation: 107-97=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 97*107=10379, Resulting Numbers: [10379] 10379,43 unequal: No Solution Exploring Operation: 97+107=204, Resulting Numbers: [204] 204,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,3,4 Current State: 43:[89, 115], Operations: ['93-75=18', '97+18=115'] Exploring Operation: 115-89=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 89+115=204, Resulting Numbers: [204] 204,43 unequal: No Solution Exploring Operation: 89*115=10235, Resulting Numbers: [10235] 10235,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,4 Current State: 43:[22, 4], Operations: ['97-75=22', '93-89=4'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,43 unequal: No Solution Moving to Node #0,2,4 Current State: 43:[4, 22], Operations: ['93-89=4', '97-75=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,43 unequal: No Solution Moving to Node #0,4,2 Current State: 43:[89, 71], Operations: ['97-75=22', '93-22=71'] Exploring Operation: 89*71=6319, Resulting Numbers: [6319] 6319,43 unequal: No Solution Exploring Operation: 89+71=160, Resulting Numbers: [160] 160,43 unequal: No Solution Exploring Operation: 89-71=18, Resulting Numbers: [18] 18,43 unequal: No Solution Moving to Node #0,4,1 Current State: 43:[93, 67], Operations: ['97-75=22', '89-22=67'] Exploring Operation: 93*67=6231, Resulting Numbers: [6231] 6231,43 unequal: No Solution Exploring Operation: 93+67=160, Resulting Numbers: [160] 160,43 unequal: No Solution Exploring Operation: 93-67=26, Resulting Numbers: [26] 26,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[97, 71], Operations: ['93-89=4', '75-4=71'] Exploring Operation: 97-71=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 97*71=6887, Resulting Numbers: [6887] 6887,43 unequal: No Solution Exploring Operation: 97+71=168, Resulting Numbers: [168] 168,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[75, 93], Operations: ['93-89=4', '97-4=93'] Exploring Operation: 75*93=6975, Resulting Numbers: [6975] 6975,43 unequal: No Solution Exploring Operation: 75+93=168, Resulting Numbers: [168] 168,43 unequal: No Solution Exploring Operation: 93-75=18, Resulting Numbers: [18] 18,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[97, 79], Operations: ['93-89=4', '75+4=79'] Exploring Operation: 97*79=7663, Resulting Numbers: [7663] 7663,43 unequal: No Solution Exploring Operation: 97-79=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 97+79=176, Resulting Numbers: [176] 176,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[75, 101], Operations: ['93-89=4', '97+4=101'] Exploring Operation: 75+101=176, Resulting Numbers: [176] 176,43 unequal: No Solution Exploring Operation: 75*101=7575, Resulting Numbers: [7575] 7575,43 unequal: No Solution Exploring Operation: 101-75=26, Resulting Numbers: [26] 26,43 unequal: No Solution Moving to Node #0,4,0 Current State: 43:[89, 115], Operations: ['97-75=22', '93+22=115'] Exploring Operation: 89+115=204, Resulting Numbers: [204] 204,43 unequal: No Solution Exploring Operation: 115-89=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 89*115=10235, Resulting Numbers: [10235] 10235,43 unequal: No Solution Moving to Node #0,4,3 Current State: 43:[93, 111], Operations: ['97-75=22', '89+22=111'] Exploring Operation: 93*111=10323, Resulting Numbers: [10323] 10323,43 unequal: No Solution Exploring Operation: 111-93=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 93+111=204, Resulting Numbers: [204] 204,43 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 6, 15, 74, 45 ]
61
[ "6*15=90", "74-45=29", "90-29=61" ]
Current State: 61:[6, 15, 74, 45], Operations: [] Exploring Operation: 6*15=90, Resulting Numbers: [74, 45, 90] Generated Node #2: [74, 45, 90] from Operation: 6*15=90 Current State: 61:[74, 45, 90], Operations: ['6*15=90'] Exploring Operation: 74-45=29, Resulting Numbers: [90, 29] Generated Node #3: [90, 29] from Operation: 74-45=29 Current State: 61:[90, 29], Operations: ['6*15=90', '74-45=29'] Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[6, 15, 74, 45], Operations: [] Exploring Operation: 74-6=68, Resulting Numbers: [15, 45, 68] Generated Node #0,0: 61:[15, 45, 68] Operation: 74-6=68 Exploring Operation: 6*15=90, Resulting Numbers: [74, 45, 90] Generated Node #0,1: 61:[74, 45, 90] Operation: 6*15=90 Exploring Operation: 6+15=21, Resulting Numbers: [74, 45, 21] Generated Node #0,2: 61:[74, 45, 21] Operation: 6+15=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[74, 45, 90], Operations: ['6*15=90'] Exploring Operation: 90-74=16, Resulting Numbers: [45, 16] Generated Node #0,1,0: 61:[45, 16] Operation: 90-74=16 Exploring Operation: 74-45=29, Resulting Numbers: [90, 29] Generated Node #0,1,1: 61:[90, 29] Operation: 74-45=29 Exploring Operation: 90-45=45, Resulting Numbers: [74, 45] Generated Node #0,1,2: 61:[74, 45] Operation: 90-45=45 Moving to Node #0,1,2 Current State: 61:[74, 45], Operations: ['6*15=90', '90-45=45'] Exploring Operation: 74-45=29, Resulting Numbers: [29] 29,61 unequal: No Solution Exploring Operation: 74*45=3330, Resulting Numbers: [3330] 3330,61 unequal: No Solution Exploring Operation: 74+45=119, Resulting Numbers: [119] 119,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[45, 16], Operations: ['6*15=90', '90-74=16'] Exploring Operation: 45+16=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[6, 15, 74, 45], Operations: [] Exploring Operation: 6*15=90, Resulting Numbers: [74, 45, 90] Generated Node #0,1: 61:[74, 45, 90] Operation: 6*15=90 Moving to Node #0,1 Current State: 61:[74, 45, 90], Operations: ['6*15=90'] Exploring Operation: 90-74=16, Resulting Numbers: [45, 16] Generated Node #0,1,0: 61:[45, 16] Operation: 90-74=16 Moving to Node #0,1,0 Current State: 61:[45, 16], Operations: ['6*15=90', '90-74=16'] Exploring Operation: 45+16=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 44, 82, 47, 56 ]
86
[ "47-44=3", "56*3=168", "168-82=86" ]
Current State: 86:[44, 82, 47, 56], Operations: [] Exploring Operation: 47-44=3, Resulting Numbers: [82, 56, 3] Generated Node #2: [82, 56, 3] from Operation: 47-44=3 Current State: 86:[82, 56, 3], Operations: ['47-44=3'] Exploring Operation: 56*3=168, Resulting Numbers: [82, 168] Generated Node #3: [82, 168] from Operation: 56*3=168 Current State: 86:[82, 168], Operations: ['47-44=3', '56*3=168'] Exploring Operation: 168-82=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[44, 82, 47, 56], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [44, 82, 9] Generated Node #0,0: 86:[44, 82, 9] Operation: 56-47=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[44, 82, 9], Operations: ['56-47=9'] Exploring Operation: 82+9=91, Resulting Numbers: [44, 91] Generated Node #0,0,0: 86:[44, 91] Operation: 82+9=91 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[44, 91], Operations: ['56-47=9', '82+9=91'] Exploring Operation: 91-44=47, Resulting Numbers: [47] 47,86 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
[ 17, 48, 4, 7 ]
99
[ "17+4=21", "7*21=147", "147-48=99" ]
Current State: 99:[17, 48, 4, 7], Operations: [] Exploring Operation: 17+4=21, Resulting Numbers: [48, 7, 21] Generated Node #2: [48, 7, 21] from Operation: 17+4=21 Current State: 99:[48, 7, 21], Operations: ['17+4=21'] Exploring Operation: 7*21=147, Resulting Numbers: [48, 147] Generated Node #3: [48, 147] from Operation: 7*21=147 Current State: 99:[48, 147], Operations: ['17+4=21', '7*21=147'] Exploring Operation: 147-48=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[17, 48, 4, 7], Operations: [] Exploring Operation: 17-7=10, Resulting Numbers: [48, 4, 10] Generated Node #0,0: 99:[48, 4, 10] Operation: 17-7=10 Exploring Operation: 48-17=31, Resulting Numbers: [4, 7, 31] Generated Node #0,1: 99:[4, 7, 31] Operation: 48-17=31 Exploring Operation: 48/4=12, Resulting Numbers: [17, 7, 12] Generated Node #0,2: 99:[17, 7, 12] Operation: 48/4=12 Exploring Operation: 48-7=41, Resulting Numbers: [17, 4, 41] Generated Node #0,3: 99:[17, 4, 41] Operation: 48-7=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[4, 7, 31], Operations: ['48-17=31'] Exploring Operation: 7-4=3, Resulting Numbers: [31, 3] Generated Node #0,1,0: 99:[31, 3] Operation: 7-4=3 Exploring Operation: 4+7=11, Resulting Numbers: [31, 11] Generated Node #0,1,1: 99:[31, 11] Operation: 4+7=11 Exploring Operation: 7+31=38, Resulting Numbers: [4, 38] Generated Node #0,1,2: 99:[4, 38] Operation: 7+31=38 Exploring Operation: 4+31=35, Resulting Numbers: [7, 35] Generated Node #0,1,3: 99:[7, 35] Operation: 4+31=35 Moving to Node #0,1,0 Current State: 99:[31, 3], Operations: ['48-17=31', '7-4=3'] Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,99 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[31, 11], Operations: ['48-17=31', '4+7=11'] Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,99 unequal: No Solution Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,99 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[7, 35], Operations: ['48-17=31', '4+31=35'] Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 7*35=245, Resulting Numbers: [245] 245,99 unequal: No Solution Exploring Operation: 7+35=42, Resulting Numbers: [42] 42,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[4, 38], Operations: ['48-17=31', '7+31=38'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,99 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,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 Current State: 99:[17, 7, 12], Operations: ['48/4=12'] Exploring Operation: 17+12=29, Resulting Numbers: [7, 29] Generated Node #0,2,0: 99:[7, 29] Operation: 17+12=29 Exploring Operation: 17-12=5, Resulting Numbers: [7, 5] Generated Node #0,2,1: 99:[7, 5] Operation: 17-12=5 Exploring Operation: 12-7=5, Resulting Numbers: [17, 5] Generated Node #0,2,2: 99:[17, 5] Operation: 12-7=5 Exploring Operation: 17-7=10, Resulting Numbers: [12, 10] Generated Node #0,2,3: 99:[12, 10] Operation: 17-7=10 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 99:[12, 10], Operations: ['48/4=12', '17-7=10'] Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,99 unequal: No Solution Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,99 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,99 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: 99:[7, 5], Operations: ['48/4=12', '17-12=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,99 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: 99:[7, 29], Operations: ['48/4=12', '17+12=29'] Exploring Operation: 7*29=203, Resulting Numbers: [203] 203,99 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,99 unequal: No Solution Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,99 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: 99:[17, 5], Operations: ['48/4=12', '12-7=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,99 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,99 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: 99:[17, 4, 41], Operations: ['48-7=41'] Exploring Operation: 17-4=13, Resulting Numbers: [41, 13] Generated Node #0,3,0: 99:[41, 13] Operation: 17-4=13 Exploring Operation: 41-17=24, Resulting Numbers: [4, 24] Generated Node #0,3,1: 99:[4, 24] Operation: 41-17=24 Exploring Operation: 41-4=37, Resulting Numbers: [17, 37] Generated Node #0,3,2: 99:[17, 37] Operation: 41-4=37 Exploring Operation: 17+4=21, Resulting Numbers: [41, 21] Generated Node #0,3,3: 99:[41, 21] Operation: 17+4=21 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 99:[41, 13], Operations: ['48-7=41', '17-4=13'] Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,99 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,99 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: 99:[4, 24], Operations: ['48-7=41', '41-17=24'] Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,99 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,99 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,99 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: 99:[17, 37], Operations: ['48-7=41', '41-4=37'] Exploring Operation: 17*37=629, Resulting Numbers: [629] 629,99 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,99 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: 99:[41, 21], Operations: ['48-7=41', '17+4=21'] Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,99 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,99 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,99 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: 99:[48, 4, 10], Operations: ['17-7=10'] Exploring Operation: 48-4=44, Resulting Numbers: [10, 44] Generated Node #0,0,0: 99:[10, 44] Operation: 48-4=44 Exploring Operation: 48-10=38, Resulting Numbers: [4, 38] Generated Node #0,0,1: 99:[4, 38] Operation: 48-10=38 Exploring Operation: 4+10=14, Resulting Numbers: [48, 14] Generated Node #0,0,2: 99:[48, 14] Operation: 4+10=14 Exploring Operation: 48/4=12, Resulting Numbers: [10, 12] Generated Node #0,0,3: 99:[10, 12] Operation: 48/4=12 Moving to Node #0,0,3 Current State: 99:[10, 12], Operations: ['17-7=10', '48/4=12'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,99 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[4, 38], Operations: ['17-7=10', '48-10=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,99 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,99 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[10, 44], Operations: ['17-7=10', '48-4=44'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,99 unequal: No Solution Exploring Operation: 10*44=440, Resulting Numbers: [440] 440,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[48, 14], Operations: ['17-7=10', '4+10=14'] Exploring Operation: 48+14=62, Resulting Numbers: [62] 62,99 unequal: No Solution Exploring Operation: 48*14=672, Resulting Numbers: [672] 672,99 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,99 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
[ 73, 24, 19, 62 ]
75
[ "62-24=38", "38/19=2", "73+2=75" ]
Current State: 75:[73, 24, 19, 62], Operations: [] Exploring Operation: 62-24=38, Resulting Numbers: [73, 19, 38] Generated Node #2: [73, 19, 38] from Operation: 62-24=38 Current State: 75:[73, 19, 38], Operations: ['62-24=38'] Exploring Operation: 38/19=2, Resulting Numbers: [73, 2] Generated Node #3: [73, 2] from Operation: 38/19=2 Current State: 75:[73, 2], Operations: ['62-24=38', '38/19=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[73, 24, 19, 62], Operations: [] Exploring Operation: 19+62=81, Resulting Numbers: [73, 24, 81] Generated Node #0,0: 75:[73, 24, 81] Operation: 19+62=81 Exploring Operation: 73-62=11, Resulting Numbers: [24, 19, 11] Generated Node #0,1: 75:[24, 19, 11] Operation: 73-62=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[73, 24, 81], Operations: ['19+62=81'] Exploring Operation: 81-24=57, Resulting Numbers: [73, 57] Generated Node #0,0,0: 75:[73, 57] Operation: 81-24=57 Exploring Operation: 81-73=8, Resulting Numbers: [24, 8] Generated Node #0,0,1: 75:[24, 8] Operation: 81-73=8 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[24, 8], Operations: ['19+62=81', '81-73=8'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,75 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: 75:[73, 57], Operations: ['19+62=81', '81-24=57'] Exploring Operation: 73+57=130, Resulting Numbers: [130] 130,75 unequal: No Solution Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,75 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: 75:[24, 19, 11], Operations: ['73-62=11'] Exploring Operation: 19-11=8, Resulting Numbers: [24, 8] Generated Node #0,1,0: 75:[24, 8] Operation: 19-11=8 Exploring Operation: 24-19=5, Resulting Numbers: [11, 5] Generated Node #0,1,1: 75:[11, 5] Operation: 24-19=5 Moving to Node #0,1,0 Current State: 75:[24, 8], Operations: ['73-62=11', '19-11=8'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[11, 5], Operations: ['73-62=11', '24-19=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,75 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 15, 87, 92, 54 ]
74
[ "87-15=72", "92+54=146", "146-72=74" ]
Current State: 74:[15, 87, 92, 54], Operations: [] Exploring Operation: 87-15=72, Resulting Numbers: [92, 54, 72] Generated Node #2: [92, 54, 72] from Operation: 87-15=72 Current State: 74:[92, 54, 72], Operations: ['87-15=72'] Exploring Operation: 92+54=146, Resulting Numbers: [72, 146] Generated Node #3: [72, 146] from Operation: 92+54=146 Current State: 74:[72, 146], Operations: ['87-15=72', '92+54=146'] Exploring Operation: 146-72=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[15, 87, 92, 54], Operations: [] Exploring Operation: 92-54=38, Resulting Numbers: [15, 87, 38] Generated Node #0,0: 74:[15, 87, 38] Operation: 92-54=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[15, 87, 38], Operations: ['92-54=38'] Exploring Operation: 87-15=72, Resulting Numbers: [38, 72] Generated Node #0,0,0: 74:[38, 72] Operation: 87-15=72 Moving to Node #0,0,0 Current State: 74:[38, 72], Operations: ['92-54=38', '87-15=72'] Exploring Operation: 72-38=34, Resulting Numbers: [34] 34,74 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
[ 53, 96, 4, 78 ]
75
[ "53+96=149", "78-4=74", "149-74=75" ]
Current State: 75:[53, 96, 4, 78], Operations: [] Exploring Operation: 53+96=149, Resulting Numbers: [4, 78, 149] Generated Node #2: [4, 78, 149] from Operation: 53+96=149 Current State: 75:[4, 78, 149], Operations: ['53+96=149'] Exploring Operation: 78-4=74, Resulting Numbers: [149, 74] Generated Node #3: [149, 74] from Operation: 78-4=74 Current State: 75:[149, 74], Operations: ['53+96=149', '78-4=74'] Exploring Operation: 149-74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[53, 96, 4, 78], Operations: [] Exploring Operation: 78-53=25, Resulting Numbers: [96, 4, 25] Generated Node #0,0: 75:[96, 4, 25] Operation: 78-53=25 Exploring Operation: 96-53=43, Resulting Numbers: [4, 78, 43] Generated Node #0,1: 75:[4, 78, 43] Operation: 96-53=43 Moving to Node #0,0 Current State: 75:[96, 4, 25], Operations: ['78-53=25'] Exploring Operation: 96/4=24, Resulting Numbers: [25, 24] Generated Node #0,0,0: 75:[25, 24] Operation: 96/4=24 Exploring Operation: 96-25=71, Resulting Numbers: [4, 71] Generated Node #0,0,1: 75:[4, 71] Operation: 96-25=71 Moving to Node #0,1 Current State: 75:[4, 78, 43], Operations: ['96-53=43'] Exploring Operation: 43-4=39, Resulting Numbers: [78, 39] Generated Node #0,1,0: 75:[78, 39] Operation: 43-4=39 Exploring Operation: 78-43=35, Resulting Numbers: [4, 35] Generated Node #0,1,1: 75:[4, 35] Operation: 78-43=35 Moving to Node #0,0,0 Current State: 75:[25, 24], Operations: ['78-53=25', '96/4=24'] Exploring Operation: 25+24=49, Resulting Numbers: [49] 49,75 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[4, 71], Operations: ['78-53=25', '96-25=71'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,75 unequal: No Solution Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[53, 96, 4, 78], Operations: [] Exploring Operation: 78-53=25, Resulting Numbers: [96, 4, 25] Generated Node #0,0: 75:[96, 4, 25] Operation: 78-53=25 Moving to Node #0,0 Current State: 75:[96, 4, 25], Operations: ['78-53=25'] Exploring Operation: 96-25=71, Resulting Numbers: [4, 71] Generated Node #0,0,1: 75:[4, 71] Operation: 96-25=71 Moving to Node #0,0,1 Current State: 75:[4, 71], Operations: ['78-53=25', '96-25=71'] Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.987847
hs_2
sum_heuristic
[ 44, 63, 56, 43 ]
94
[ "44+63=107", "56-43=13", "107-13=94" ]
Current State: 94:[44, 63, 56, 43], Operations: [] Exploring Operation: 44+63=107, Resulting Numbers: [56, 43, 107] Generated Node #2: [56, 43, 107] from Operation: 44+63=107 Current State: 94:[56, 43, 107], Operations: ['44+63=107'] Exploring Operation: 56-43=13, Resulting Numbers: [107, 13] Generated Node #3: [107, 13] from Operation: 56-43=13 Current State: 94:[107, 13], Operations: ['44+63=107', '56-43=13'] Exploring Operation: 107-13=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[44, 63, 56, 43], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [44, 43, 7] Generated Node #0,0: 94:[44, 43, 7] Operation: 63-56=7 Moving to Node #0,0 Current State: 94:[44, 43, 7], Operations: ['63-56=7'] Exploring Operation: 44-43=1, Resulting Numbers: [7, 1] Generated Node #0,0,0: 94:[7, 1] Operation: 44-43=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[7, 1], Operations: ['63-56=7', '44-43=1'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 76, 86, 75, 89 ]
51
[ "89-86=3", "75/3=25", "76-25=51" ]
Current State: 51:[76, 86, 75, 89], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [76, 75, 3] Generated Node #2: [76, 75, 3] from Operation: 89-86=3 Current State: 51:[76, 75, 3], Operations: ['89-86=3'] Exploring Operation: 75/3=25, Resulting Numbers: [76, 25] Generated Node #3: [76, 25] from Operation: 75/3=25 Current State: 51:[76, 25], Operations: ['89-86=3', '75/3=25'] Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[76, 86, 75, 89], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [76, 75, 3] Generated Node #0,0: 51:[76, 75, 3] Operation: 89-86=3 Exploring Operation: 89-76=13, Resulting Numbers: [86, 75, 13] Generated Node #0,1: 51:[86, 75, 13] Operation: 89-76=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[76, 75, 3], Operations: ['89-86=3'] Exploring Operation: 75/3=25, Resulting Numbers: [76, 25] Generated Node #0,0,0: 51:[76, 25] Operation: 75/3=25 Exploring Operation: 76-75=1, Resulting Numbers: [3, 1] Generated Node #0,0,1: 51:[3, 1] Operation: 76-75=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[3, 1], Operations: ['89-86=3', '76-75=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,51 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: 51:[76, 25], Operations: ['89-86=3', '75/3=25'] Exploring Operation: 76+25=101, Resulting Numbers: [101] 101,51 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[76, 86, 75, 89], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [76, 75, 3] Generated Node #0,0: 51:[76, 75, 3] Operation: 89-86=3 Moving to Node #0,0 Current State: 51:[76, 75, 3], Operations: ['89-86=3'] Exploring Operation: 75/3=25, Resulting Numbers: [76, 25] Generated Node #0,0,0: 51:[76, 25] Operation: 75/3=25 Moving to Node #0,0,0 Current State: 51:[76, 25], Operations: ['89-86=3', '75/3=25'] Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 13, 36, 57, 49 ]
41
[ "13+36=49", "57-49=8", "49-8=41" ]
Current State: 41:[13, 36, 57, 49], Operations: [] Exploring Operation: 13+36=49, Resulting Numbers: [57, 49, 49] Generated Node #2: [57, 49, 49] from Operation: 13+36=49 Current State: 41:[57, 49, 49], Operations: ['13+36=49'] Exploring Operation: 57-49=8, Resulting Numbers: [8] 8,41 equal: Goal Reached Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[13, 36, 57, 49], Operations: [] Exploring Operation: 57-13=44, Resulting Numbers: [36, 49, 44] Generated Node #0,0: 41:[36, 49, 44] Operation: 57-13=44 Moving to Node #0,0 Current State: 41:[36, 49, 44], Operations: ['57-13=44'] Exploring Operation: 49-36=13, Resulting Numbers: [44, 13] Generated Node #0,0,0: 41:[44, 13] Operation: 49-36=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[44, 13], Operations: ['57-13=44', '49-36=13'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,41 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
[ 14, 96, 58, 27 ]
79
[ "14+96=110", "58-27=31", "110-31=79" ]
Current State: 79:[14, 96, 58, 27], Operations: [] Exploring Operation: 14+96=110, Resulting Numbers: [58, 27, 110] Generated Node #2: [58, 27, 110] from Operation: 14+96=110 Current State: 79:[58, 27, 110], Operations: ['14+96=110'] Exploring Operation: 58-27=31, Resulting Numbers: [110, 31] Generated Node #3: [110, 31] from Operation: 58-27=31 Current State: 79:[110, 31], Operations: ['14+96=110', '58-27=31'] Exploring Operation: 110-31=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[14, 96, 58, 27], Operations: [] Exploring Operation: 96-14=82, Resulting Numbers: [58, 27, 82] Generated Node #0,0: 79:[58, 27, 82] Operation: 96-14=82 Exploring Operation: 14+58=72, Resulting Numbers: [96, 27, 72] Generated Node #0,1: 79:[96, 27, 72] Operation: 14+58=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[58, 27, 82], Operations: ['96-14=82'] Exploring Operation: 58+27=85, Resulting Numbers: [82, 85] Generated Node #0,0,0: 79:[82, 85] Operation: 58+27=85 Exploring Operation: 82-27=55, Resulting Numbers: [58, 55] Generated Node #0,0,1: 79:[58, 55] Operation: 82-27=55 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[82, 85], Operations: ['96-14=82', '58+27=85'] Exploring Operation: 82+85=167, Resulting Numbers: [167] 167,79 unequal: No Solution Exploring Operation: 85-82=3, Resulting Numbers: [3] 3,79 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: 79:[58, 55], Operations: ['96-14=82', '82-27=55'] Exploring Operation: 58+55=113, Resulting Numbers: [113] 113,79 unequal: No Solution Exploring Operation: 58-55=3, Resulting Numbers: [3] 3,79 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: 79:[96, 27, 72], Operations: ['14+58=72'] Exploring Operation: 27+72=99, Resulting Numbers: [96, 99] Generated Node #0,1,0: 79:[96, 99] Operation: 27+72=99 Exploring Operation: 96-27=69, Resulting Numbers: [72, 69] Generated Node #0,1,1: 79:[72, 69] Operation: 96-27=69 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[72, 69], Operations: ['14+58=72', '96-27=69'] Exploring Operation: 72-69=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 72+69=141, Resulting Numbers: [141] 141,79 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: 79:[96, 99], Operations: ['14+58=72', '27+72=99'] Exploring Operation: 96+99=195, Resulting Numbers: [195] 195,79 unequal: No Solution Exploring Operation: 99-96=3, Resulting Numbers: [3] 3,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 10, 93, 20, 15 ]
43
[ "20-15=5", "10*5=50", "93-50=43" ]
Current State: 43:[10, 93, 20, 15], Operations: [] Exploring Operation: 20-15=5, Resulting Numbers: [10, 93, 5] Generated Node #2: [10, 93, 5] from Operation: 20-15=5 Current State: 43:[10, 93, 5], Operations: ['20-15=5'] Exploring Operation: 10*5=50, Resulting Numbers: [93, 50] Generated Node #3: [93, 50] from Operation: 10*5=50 Current State: 43:[93, 50], Operations: ['20-15=5', '10*5=50'] Exploring Operation: 93-50=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[10, 93, 20, 15], Operations: [] Exploring Operation: 93-20=73, Resulting Numbers: [10, 15, 73] Generated Node #0,0: 43:[10, 15, 73] Operation: 93-20=73 Exploring Operation: 10+15=25, Resulting Numbers: [93, 20, 25] Generated Node #0,1: 43:[93, 20, 25] Operation: 10+15=25 Exploring Operation: 93-10=83, Resulting Numbers: [20, 15, 83] Generated Node #0,2: 43:[20, 15, 83] Operation: 93-10=83 Exploring Operation: 93-15=78, Resulting Numbers: [10, 20, 78] Generated Node #0,3: 43:[10, 20, 78] Operation: 93-15=78 Exploring Operation: 10+20=30, Resulting Numbers: [93, 15, 30] Generated Node #0,4: 43:[93, 15, 30] Operation: 10+20=30 Moving to Node #0,0 Current State: 43:[10, 15, 73], Operations: ['93-20=73'] Exploring Operation: 73-15=58, Resulting Numbers: [10, 58] Generated Node #0,0,0: 43:[10, 58] Operation: 73-15=58 Exploring Operation: 10+15=25, Resulting Numbers: [73, 25] Generated Node #0,0,1: 43:[73, 25] Operation: 10+15=25 Exploring Operation: 73-10=63, Resulting Numbers: [15, 63] Generated Node #0,0,2: 43:[15, 63] Operation: 73-10=63 Exploring Operation: 10+73=83, Resulting Numbers: [15, 83] Generated Node #0,0,3: 43:[15, 83] Operation: 10+73=83 Exploring Operation: 15-10=5, Resulting Numbers: [73, 5] Generated Node #0,0,4: 43:[73, 5] Operation: 15-10=5 Moving to Node #0,2 Current State: 43:[20, 15, 83], Operations: ['93-10=83'] Exploring Operation: 20+15=35, Resulting Numbers: [83, 35] Generated Node #0,2,0: 43:[83, 35] Operation: 20+15=35 Exploring Operation: 20-15=5, Resulting Numbers: [83, 5] Generated Node #0,2,1: 43:[83, 5] Operation: 20-15=5 Exploring Operation: 15+83=98, Resulting Numbers: [20, 98] Generated Node #0,2,2: 43:[20, 98] Operation: 15+83=98 Exploring Operation: 83-15=68, Resulting Numbers: [20, 68] Generated Node #0,2,3: 43:[20, 68] Operation: 83-15=68 Exploring Operation: 83-20=63, Resulting Numbers: [15, 63] Generated Node #0,2,4: 43:[15, 63] Operation: 83-20=63 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 43:[83, 35], Operations: ['93-10=83', '20+15=35'] Exploring Operation: 83-35=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 83+35=118, Resulting Numbers: [118] 118,43 unequal: No Solution Exploring Operation: 83*35=2905, Resulting Numbers: [2905] 2905,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,2,3 Current State: 43:[20, 68], Operations: ['93-10=83', '83-15=68'] Exploring Operation: 20*68=1360, Resulting Numbers: [1360] 1360,43 unequal: No Solution Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 20+68=88, Resulting Numbers: [88] 88,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,2,4 Current State: 43:[15, 63], Operations: ['93-10=83', '83-20=63'] Exploring Operation: 15*63=945, Resulting Numbers: [945] 945,43 unequal: No Solution Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 15+63=78, Resulting Numbers: [78] 78,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,2,1 Current State: 43:[83, 5], Operations: ['93-10=83', '20-15=5'] Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 83*5=415, Resulting Numbers: [415] 415,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,2,2 Current State: 43:[20, 98], Operations: ['93-10=83', '15+83=98'] Exploring Operation: 98-20=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 20+98=118, Resulting Numbers: [118] 118,43 unequal: No Solution Exploring Operation: 20*98=1960, Resulting Numbers: [1960] 1960,43 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: 43:[93, 15, 30], Operations: ['10+20=30'] Exploring Operation: 93+15=108, Resulting Numbers: [30, 108] Generated Node #0,4,0: 43:[30, 108] Operation: 93+15=108 Exploring Operation: 93-30=63, Resulting Numbers: [15, 63] Generated Node #0,4,1: 43:[15, 63] Operation: 93-30=63 Exploring Operation: 30-15=15, Resulting Numbers: [93, 15] Generated Node #0,4,2: 43:[93, 15] Operation: 30-15=15 Exploring Operation: 93-15=78, Resulting Numbers: [30, 78] Generated Node #0,4,3: 43:[30, 78] Operation: 93-15=78 Exploring Operation: 15+30=45, Resulting Numbers: [93, 45] Generated Node #0,4,4: 43:[93, 45] Operation: 15+30=45 Moving to Node #0,1 Current State: 43:[93, 20, 25], Operations: ['10+15=25'] Exploring Operation: 25-20=5, Resulting Numbers: [93, 5] Generated Node #0,1,0: 43:[93, 5] Operation: 25-20=5 Exploring Operation: 93-25=68, Resulting Numbers: [20, 68] Generated Node #0,1,1: 43:[20, 68] Operation: 93-25=68 Exploring Operation: 20+25=45, Resulting Numbers: [93, 45] Generated Node #0,1,2: 43:[93, 45] Operation: 20+25=45 Exploring Operation: 93-20=73, Resulting Numbers: [25, 73] Generated Node #0,1,3: 43:[25, 73] Operation: 93-20=73 Exploring Operation: 93+20=113, Resulting Numbers: [25, 113] Generated Node #0,1,4: 43:[25, 113] Operation: 93+20=113 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[20, 68], Operations: ['10+15=25', '93-25=68'] Exploring Operation: 20*68=1360, Resulting Numbers: [1360] 1360,43 unequal: No Solution Exploring Operation: 20+68=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,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,1,3 Current State: 43:[25, 73], Operations: ['10+15=25', '93-20=73'] Exploring Operation: 25+73=98, Resulting Numbers: [98] 98,43 unequal: No Solution Exploring Operation: 25*73=1825, Resulting Numbers: [1825] 1825,43 unequal: No Solution Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,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,1,2 Current State: 43:[93, 45], Operations: ['10+15=25', '20+25=45'] Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 93+45=138, Resulting Numbers: [138] 138,43 unequal: No Solution Exploring Operation: 93*45=4185, Resulting Numbers: [4185] 4185,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,1,0 Current State: 43:[93, 5], Operations: ['10+15=25', '25-20=5'] Exploring Operation: 93*5=465, Resulting Numbers: [465] 465,43 unequal: No Solution Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 93+5=98, Resulting Numbers: [98] 98,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,1,4 Current State: 43:[25, 113], Operations: ['10+15=25', '93+20=113'] Exploring Operation: 25+113=138, Resulting Numbers: [138] 138,43 unequal: No Solution Exploring Operation: 25*113=2825, Resulting Numbers: [2825] 2825,43 unequal: No Solution Exploring Operation: 113-25=88, Resulting Numbers: [88] 88,43 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: 43:[10, 20, 78], Operations: ['93-15=78'] Exploring Operation: 78-20=58, Resulting Numbers: [10, 58] Generated Node #0,3,0: 43:[10, 58] Operation: 78-20=58 Exploring Operation: 78-10=68, Resulting Numbers: [20, 68] Generated Node #0,3,1: 43:[20, 68] Operation: 78-10=68 Exploring Operation: 10+78=88, Resulting Numbers: [20, 88] Generated Node #0,3,2: 43:[20, 88] Operation: 10+78=88 Exploring Operation: 20-10=10, Resulting Numbers: [78, 10] Generated Node #0,3,3: 43:[78, 10] Operation: 20-10=10 Exploring Operation: 10+20=30, Resulting Numbers: [78, 30] Generated Node #0,3,4: 43:[78, 30] Operation: 10+20=30 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 43:[10, 58], Operations: ['93-15=78', '78-20=58'] Exploring Operation: 10*58=580, Resulting Numbers: [580] 580,43 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,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,3,1 Current State: 43:[20, 68], Operations: ['93-15=78', '78-10=68'] Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 20+68=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 20*68=1360, Resulting Numbers: [1360] 1360,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,3,4 Current State: 43:[78, 30], Operations: ['93-15=78', '10+20=30'] Exploring Operation: 78+30=108, Resulting Numbers: [108] 108,43 unequal: No Solution Exploring Operation: 78*30=2340, Resulting Numbers: [2340] 2340,43 unequal: No Solution Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,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,3,2 Current State: 43:[20, 88], Operations: ['93-15=78', '10+78=88'] Exploring Operation: 20*88=1760, Resulting Numbers: [1760] 1760,43 unequal: No Solution Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,43 unequal: No Solution Exploring Operation: 20+88=108, Resulting Numbers: [108] 108,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,3,3 Current State: 43:[78, 10], Operations: ['93-15=78', '20-10=10'] Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,43 unequal: No Solution Exploring Operation: 78+10=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 78*10=780, Resulting Numbers: [780] 780,43 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: 43:[10, 58], Operations: ['93-20=73', '73-15=58'] Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,43 unequal: No Solution Exploring Operation: 10*58=580, Resulting Numbers: [580] 580,43 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[15, 63], Operations: ['93-20=73', '73-10=63'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 15+63=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 15*63=945, Resulting Numbers: [945] 945,43 unequal: No Solution Moving to Node #0,4,3 Current State: 43:[30, 78], Operations: ['10+20=30', '93-15=78'] Exploring Operation: 30+78=108, Resulting Numbers: [108] 108,43 unequal: No Solution Exploring Operation: 30*78=2340, Resulting Numbers: [2340] 2340,43 unequal: No Solution Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,43 unequal: No Solution Moving to Node #0,4,1 Current State: 43:[15, 63], Operations: ['10+20=30', '93-30=63'] Exploring Operation: 15+63=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 15*63=945, Resulting Numbers: [945] 945,43 unequal: No Solution Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[73, 25], Operations: ['93-20=73', '10+15=25'] Exploring Operation: 73+25=98, Resulting Numbers: [98] 98,43 unequal: No Solution Exploring Operation: 73*25=1825, Resulting Numbers: [1825] 1825,43 unequal: No Solution Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,43 unequal: No Solution Moving to Node #0,4,4 Current State: 43:[93, 45], Operations: ['10+20=30', '15+30=45'] Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,43 unequal: No Solution Exploring Operation: 93+45=138, Resulting Numbers: [138] 138,43 unequal: No Solution Exploring Operation: 93*45=4185, Resulting Numbers: [4185] 4185,43 unequal: No Solution Moving to Node #0,0,3 Current State: 43:[15, 83], Operations: ['93-20=73', '10+73=83'] Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,43 unequal: No Solution Exploring Operation: 15+83=98, Resulting Numbers: [98] 98,43 unequal: No Solution Exploring Operation: 15*83=1245, Resulting Numbers: [1245] 1245,43 unequal: No Solution Moving to Node #0,0,4 Current State: 43:[73, 5], Operations: ['93-20=73', '15-10=5'] Exploring Operation: 73*5=365, Resulting Numbers: [365] 365,43 unequal: No Solution Exploring Operation: 73+5=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,43 unequal: No Solution Moving to Node #0,4,2 Current State: 43:[93, 15], Operations: ['10+20=30', '30-15=15'] Exploring Operation: 93+15=108, Resulting Numbers: [108] 108,43 unequal: No Solution Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 93*15=1395, Resulting Numbers: [1395] 1395,43 unequal: No Solution Moving to Node #0,4,0 Current State: 43:[30, 108], Operations: ['10+20=30', '93+15=108'] Exploring Operation: 30*108=3240, Resulting Numbers: [3240] 3240,43 unequal: No Solution Exploring Operation: 108-30=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 30+108=138, Resulting Numbers: [138] 138,43 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 5, 78, 32, 75 ]
91
[ "78-75=3", "32*3=96", "96-5=91" ]
Current State: 91:[5, 78, 32, 75], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [5, 32, 3] Generated Node #2: [5, 32, 3] from Operation: 78-75=3 Current State: 91:[5, 32, 3], Operations: ['78-75=3'] Exploring Operation: 32*3=96, Resulting Numbers: [5, 96] Generated Node #3: [5, 96] from Operation: 32*3=96 Current State: 91:[5, 96], Operations: ['78-75=3', '32*3=96'] Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[5, 78, 32, 75], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [5, 32, 3] Generated Node #0,0: 91:[5, 32, 3] Operation: 78-75=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[5, 32, 3], Operations: ['78-75=3'] Exploring Operation: 32*3=96, Resulting Numbers: [5, 96] Generated Node #0,0,0: 91:[5, 96] Operation: 32*3=96 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[5, 96], Operations: ['78-75=3', '32*3=96'] Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[5, 78, 32, 75], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [5, 32, 3] Generated Node #0,0: 91:[5, 32, 3] Operation: 78-75=3 Moving to Node #0,0 Current State: 91:[5, 32, 3], Operations: ['78-75=3'] Exploring Operation: 32*3=96, Resulting Numbers: [5, 96] Generated Node #0,0,0: 91:[5, 96] Operation: 32*3=96 Moving to Node #0,0,0 Current State: 91:[5, 96], Operations: ['78-75=3', '32*3=96'] Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 55, 11, 50, 23 ]
32
[ "55/11=5", "50-23=27", "5+27=32" ]
Current State: 32:[55, 11, 50, 23], Operations: [] Exploring Operation: 55/11=5, Resulting Numbers: [50, 23, 5] Generated Node #2: [50, 23, 5] from Operation: 55/11=5 Current State: 32:[50, 23, 5], Operations: ['55/11=5'] Exploring Operation: 50-23=27, Resulting Numbers: [5, 27] Generated Node #3: [5, 27] from Operation: 50-23=27 Current State: 32:[5, 27], Operations: ['55/11=5', '50-23=27'] Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[55, 11, 50, 23], Operations: [] Exploring Operation: 55-50=5, Resulting Numbers: [11, 23, 5] Generated Node #0,0: 32:[11, 23, 5] Operation: 55-50=5 Exploring Operation: 55-23=32, Resulting Numbers: [11, 50, 32] Generated Node #0,1: 32:[11, 50, 32] Operation: 55-23=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[11, 23, 5], Operations: ['55-50=5'] Exploring Operation: 11+23=34, Resulting Numbers: [5, 34] Generated Node #0,0,0: 32:[5, 34] Operation: 11+23=34 Exploring Operation: 23-11=12, Resulting Numbers: [5, 12] Generated Node #0,0,1: 32:[5, 12] Operation: 23-11=12 Moving to Node #0,0,0 Current State: 32:[5, 34], Operations: ['55-50=5', '11+23=34'] Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[5, 12], Operations: ['55-50=5', '23-11=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,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,1 Current State: 32:[11, 50, 32], Operations: ['55-23=32'] Exploring Operation: 50-32=18, Resulting Numbers: [11, 18] Generated Node #0,1,0: 32:[11, 18] Operation: 50-32=18 Exploring Operation: 50-11=39, Resulting Numbers: [32, 39] Generated Node #0,1,1: 32:[32, 39] Operation: 50-11=39 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 32:[11, 18], Operations: ['55-23=32', '50-32=18'] Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,32 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,32 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: 32:[32, 39], Operations: ['55-23=32', '50-11=39'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 32+39=71, Resulting Numbers: [71] 71,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 14, 18, 13, 70 ]
53
[ "18-14=4", "70-13=57", "57-4=53" ]
Current State: 53:[14, 18, 13, 70], Operations: [] Exploring Operation: 18-14=4, Resulting Numbers: [13, 70, 4] Generated Node #2: [13, 70, 4] from Operation: 18-14=4 Current State: 53:[13, 70, 4], Operations: ['18-14=4'] Exploring Operation: 70-13=57, Resulting Numbers: [4, 57] Generated Node #3: [4, 57] from Operation: 70-13=57 Current State: 53:[4, 57], Operations: ['18-14=4', '70-13=57'] Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[14, 18, 13, 70], Operations: [] Exploring Operation: 14+18=32, Resulting Numbers: [13, 70, 32] Generated Node #0,0: 53:[13, 70, 32] Operation: 14+18=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[13, 70, 32], Operations: ['14+18=32'] Exploring Operation: 70-13=57, Resulting Numbers: [32, 57] Generated Node #0,0,0: 53:[32, 57] Operation: 70-13=57 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[32, 57], Operations: ['14+18=32', '70-13=57'] Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,53 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
[ 6, 32, 4, 27 ]
49
[ "32-6=26", "27-4=23", "26+23=49" ]
Current State: 49:[6, 32, 4, 27], Operations: [] Exploring Operation: 32-6=26, Resulting Numbers: [4, 27, 26] Generated Node #2: [4, 27, 26] from Operation: 32-6=26 Current State: 49:[4, 27, 26], Operations: ['32-6=26'] Exploring Operation: 27-4=23, Resulting Numbers: [26, 23] Generated Node #3: [26, 23] from Operation: 27-4=23 Current State: 49:[26, 23], Operations: ['32-6=26', '27-4=23'] Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[6, 32, 4, 27], Operations: [] Exploring Operation: 27-6=21, Resulting Numbers: [32, 4, 21] Generated Node #0,0: 49:[32, 4, 21] Operation: 27-6=21 Exploring Operation: 32+27=59, Resulting Numbers: [6, 4, 59] Generated Node #0,1: 49:[6, 4, 59] Operation: 32+27=59 Exploring Operation: 6+32=38, Resulting Numbers: [4, 27, 38] Generated Node #0,2: 49:[4, 27, 38] Operation: 6+32=38 Exploring Operation: 32-27=5, Resulting Numbers: [6, 4, 5] Generated Node #0,3: 49:[6, 4, 5] Operation: 32-27=5 Exploring Operation: 32/4=8, Resulting Numbers: [6, 27, 8] Generated Node #0,4: 49:[6, 27, 8] Operation: 32/4=8 Moving to Node #0,3 Current State: 49:[6, 4, 5], Operations: ['32-27=5'] Exploring Operation: 5-4=1, Resulting Numbers: [6, 1] Generated Node #0,3,0: 49:[6, 1] Operation: 5-4=1 Exploring Operation: 6-4=2, Resulting Numbers: [5, 2] Generated Node #0,3,1: 49:[5, 2] Operation: 6-4=2 Exploring Operation: 6+5=11, Resulting Numbers: [4, 11] Generated Node #0,3,2: 49:[4, 11] Operation: 6+5=11 Exploring Operation: 4+5=9, Resulting Numbers: [6, 9] Generated Node #0,3,3: 49:[6, 9] Operation: 4+5=9 Exploring Operation: 6+4=10, Resulting Numbers: [5, 10] Generated Node #0,3,4: 49:[5, 10] Operation: 6+4=10 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 49:[6, 9], Operations: ['32-27=5', '4+5=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,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,3,4 Current State: 49:[5, 10], Operations: ['32-27=5', '6+4=10'] Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,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,3,0 Current State: 49:[6, 1], Operations: ['32-27=5', '5-4=1'] Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,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,3,1 Current State: 49:[5, 2], Operations: ['32-27=5', '6-4=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,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,3,2 Current State: 49:[4, 11], Operations: ['32-27=5', '6+5=11'] Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,49 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: 49:[6, 4, 59], Operations: ['32+27=59'] Exploring Operation: 6+4=10, Resulting Numbers: [59, 10] Generated Node #0,1,0: 49:[59, 10] Operation: 6+4=10 Exploring Operation: 59-6=53, Resulting Numbers: [4, 53] Generated Node #0,1,1: 49:[4, 53] Operation: 59-6=53 Exploring Operation: 4+59=63, Resulting Numbers: [6, 63] Generated Node #0,1,2: 49:[6, 63] Operation: 4+59=63 Exploring Operation: 59-4=55, Resulting Numbers: [6, 55] Generated Node #0,1,3: 49:[6, 55] Operation: 59-4=55 Exploring Operation: 6-4=2, Resulting Numbers: [59, 2] Generated Node #0,1,4: 49:[59, 2] Operation: 6-4=2 Moving to Node #0,4 Current State: 49:[6, 27, 8], Operations: ['32/4=8'] Exploring Operation: 6+27=33, Resulting Numbers: [8, 33] Generated Node #0,4,0: 49:[8, 33] Operation: 6+27=33 Exploring Operation: 27-6=21, Resulting Numbers: [8, 21] Generated Node #0,4,1: 49:[8, 21] Operation: 27-6=21 Exploring Operation: 27+8=35, Resulting Numbers: [6, 35] Generated Node #0,4,2: 49:[6, 35] Operation: 27+8=35 Exploring Operation: 27-8=19, Resulting Numbers: [6, 19] Generated Node #0,4,3: 49:[6, 19] Operation: 27-8=19 Exploring Operation: 6*8=48, Resulting Numbers: [27, 48] Generated Node #0,4,4: 49:[27, 48] Operation: 6*8=48 Moving to Node #0,0 Current State: 49:[32, 4, 21], Operations: ['27-6=21'] Exploring Operation: 32-21=11, Resulting Numbers: [4, 11] Generated Node #0,0,0: 49:[4, 11] Operation: 32-21=11 Exploring Operation: 32+21=53, Resulting Numbers: [4, 53] Generated Node #0,0,1: 49:[4, 53] Operation: 32+21=53 Exploring Operation: 21-4=17, Resulting Numbers: [32, 17] Generated Node #0,0,2: 49:[32, 17] Operation: 21-4=17 Exploring Operation: 32+4=36, Resulting Numbers: [21, 36] Generated Node #0,0,3: 49:[21, 36] Operation: 32+4=36 Exploring Operation: 32/4=8, Resulting Numbers: [21, 8] Generated Node #0,0,4: 49:[21, 8] Operation: 32/4=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[4, 11], Operations: ['27-6=21', '32-21=11'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,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,0,1 Current State: 49:[4, 53], Operations: ['27-6=21', '32+21=53'] Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,49 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[6, 32, 4, 27], Operations: [] Exploring Operation: 27-6=21, Resulting Numbers: [32, 4, 21] Generated Node #0,0: 49:[32, 4, 21] Operation: 27-6=21 Moving to Node #0,0 Current State: 49:[32, 4, 21], Operations: ['27-6=21'] Exploring Operation: 32+21=53, Resulting Numbers: [4, 53] Generated Node #0,0,1: 49:[4, 53] Operation: 32+21=53 Moving to Node #0,0,1 Current State: 49:[4, 53], Operations: ['27-6=21', '32+21=53'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_5
mult_heuristic
[ 5, 98, 83, 67 ]
57
[ "98-5=93", "83+67=150", "150-93=57" ]
Current State: 57:[5, 98, 83, 67], Operations: [] Exploring Operation: 98-5=93, Resulting Numbers: [83, 67, 93] Generated Node #2: [83, 67, 93] from Operation: 98-5=93 Current State: 57:[83, 67, 93], Operations: ['98-5=93'] Exploring Operation: 83+67=150, Resulting Numbers: [93, 150] Generated Node #3: [93, 150] from Operation: 83+67=150 Current State: 57:[93, 150], Operations: ['98-5=93', '83+67=150'] Exploring Operation: 150-93=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[5, 98, 83, 67], Operations: [] Exploring Operation: 83-67=16, Resulting Numbers: [5, 98, 16] Generated Node #0,0: 57:[5, 98, 16] Operation: 83-67=16 Exploring Operation: 98-67=31, Resulting Numbers: [5, 83, 31] Generated Node #0,1: 57:[5, 83, 31] Operation: 98-67=31 Exploring Operation: 98-5=93, Resulting Numbers: [83, 67, 93] Generated Node #0,2: 57:[83, 67, 93] Operation: 98-5=93 Exploring Operation: 83-5=78, Resulting Numbers: [98, 67, 78] Generated Node #0,3: 57:[98, 67, 78] Operation: 83-5=78 Exploring Operation: 98-83=15, Resulting Numbers: [5, 67, 15] Generated Node #0,4: 57:[5, 67, 15] Operation: 98-83=15 Start Sub Search at level 1: Moving to Node #0,4 Current State: 57:[5, 67, 15], Operations: ['98-83=15'] Exploring Operation: 5+15=20, Resulting Numbers: [67, 20] Generated Node #0,4,0: 57:[67, 20] Operation: 5+15=20 Exploring Operation: 15-5=10, Resulting Numbers: [67, 10] Generated Node #0,4,1: 57:[67, 10] Operation: 15-5=10 Exploring Operation: 67-5=62, Resulting Numbers: [15, 62] Generated Node #0,4,2: 57:[15, 62] Operation: 67-5=62 Exploring Operation: 15/5=3, Resulting Numbers: [67, 3] Generated Node #0,4,3: 57:[67, 3] Operation: 15/5=3 Exploring Operation: 67-15=52, Resulting Numbers: [5, 52] Generated Node #0,4,4: 57:[5, 52] Operation: 67-15=52 Moving to Node #0,4,4 Current State: 57:[5, 52], Operations: ['98-83=15', '67-15=52'] Exploring Operation: 5*52=260, Resulting Numbers: [260] 260,57 unequal: No Solution Exploring Operation: 5+52=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[5, 98, 83, 67], Operations: [] Exploring Operation: 98-83=15, Resulting Numbers: [5, 67, 15] Generated Node #0,4: 57:[5, 67, 15] Operation: 98-83=15 Moving to Node #0,4 Current State: 57:[5, 67, 15], Operations: ['98-83=15'] Exploring Operation: 67-15=52, Resulting Numbers: [5, 52] Generated Node #0,4,4: 57:[5, 52] Operation: 67-15=52 Moving to Node #0,4,4 Current State: 57:[5, 52], Operations: ['98-83=15', '67-15=52'] Exploring Operation: 5+52=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 2, 82, 29, 70 ]
53
[ "82-70=12", "2*12=24", "29+24=53" ]
Current State: 53:[2, 82, 29, 70], Operations: [] Exploring Operation: 82-70=12, Resulting Numbers: [2, 29, 12] Generated Node #2: [2, 29, 12] from Operation: 82-70=12 Current State: 53:[2, 29, 12], Operations: ['82-70=12'] Exploring Operation: 2*12=24, Resulting Numbers: [29, 24] Generated Node #3: [29, 24] from Operation: 2*12=24 Current State: 53:[29, 24], Operations: ['82-70=12', '2*12=24'] Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[2, 82, 29, 70], Operations: [] Exploring Operation: 82/2=41, Resulting Numbers: [29, 70, 41] Generated Node #0,0: 53:[29, 70, 41] Operation: 82/2=41 Exploring Operation: 2*29=58, Resulting Numbers: [82, 70, 58] Generated Node #0,1: 53:[82, 70, 58] Operation: 2*29=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[82, 70, 58], Operations: ['2*29=58'] Exploring Operation: 82-70=12, Resulting Numbers: [58, 12] Generated Node #0,1,0: 53:[58, 12] Operation: 82-70=12 Exploring Operation: 82-58=24, Resulting Numbers: [70, 24] Generated Node #0,1,1: 53:[70, 24] Operation: 82-58=24 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[58, 12], Operations: ['2*29=58', '82-70=12'] Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,53 unequal: No Solution Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,53 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: 53:[70, 24], Operations: ['2*29=58', '82-58=24'] Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,53 unequal: No Solution Exploring Operation: 70+24=94, Resulting Numbers: [94] 94,53 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: 53:[29, 70, 41], Operations: ['82/2=41'] Exploring Operation: 29+41=70, Resulting Numbers: [70, 70] Generated Node #0,0,0: 53:[70, 70] Operation: 29+41=70 Exploring Operation: 70-29=41, Resulting Numbers: [41, 41] Generated Node #0,0,1: 53:[41, 41] Operation: 70-29=41 Moving to Node #0,0,1 Current State: 53:[41, 41], Operations: ['82/2=41', '70-29=41'] Exploring Operation: 41/41=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[70, 70], Operations: ['82/2=41', '29+41=70'] Exploring Operation: 70/70=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 70-70=0, Resulting Numbers: [0] 0,53 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
[ 53, 55, 58, 26 ]
42
[ "55-53=2", "58+26=84", "84/2=42" ]
Current State: 42:[53, 55, 58, 26], Operations: [] Exploring Operation: 55-53=2, Resulting Numbers: [58, 26, 2] Generated Node #2: [58, 26, 2] from Operation: 55-53=2 Current State: 42:[58, 26, 2], Operations: ['55-53=2'] Exploring Operation: 58+26=84, Resulting Numbers: [2, 84] Generated Node #3: [2, 84] from Operation: 58+26=84 Current State: 42:[2, 84], Operations: ['55-53=2', '58+26=84'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[53, 55, 58, 26], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [53, 26, 3] Generated Node #0,0: 42:[53, 26, 3] Operation: 58-55=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[53, 26, 3], Operations: ['58-55=3'] Exploring Operation: 53-26=27, Resulting Numbers: [3, 27] Generated Node #0,0,0: 42:[3, 27] Operation: 53-26=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[3, 27], Operations: ['58-55=3', '53-26=27'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,42 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
[ 23, 92, 91, 65 ]
43
[ "92-23=69", "91-65=26", "69-26=43" ]
Current State: 43:[23, 92, 91, 65], Operations: [] Exploring Operation: 92-23=69, Resulting Numbers: [91, 65, 69] Generated Node #2: [91, 65, 69] from Operation: 92-23=69 Current State: 43:[91, 65, 69], Operations: ['92-23=69'] Exploring Operation: 91-65=26, Resulting Numbers: [69, 26] Generated Node #3: [69, 26] from Operation: 91-65=26 Current State: 43:[69, 26], Operations: ['92-23=69', '91-65=26'] Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[23, 92, 91, 65], Operations: [] Exploring Operation: 92-91=1, Resulting Numbers: [23, 65, 1] Generated Node #0,0: 43:[23, 65, 1] Operation: 92-91=1 Exploring Operation: 91-65=26, Resulting Numbers: [23, 92, 26] Generated Node #0,1: 43:[23, 92, 26] Operation: 91-65=26 Exploring Operation: 92-23=69, Resulting Numbers: [91, 65, 69] Generated Node #0,2: 43:[91, 65, 69] Operation: 92-23=69 Exploring Operation: 92-65=27, Resulting Numbers: [23, 91, 27] Generated Node #0,3: 43:[23, 91, 27] Operation: 92-65=27 Exploring Operation: 91-23=68, Resulting Numbers: [92, 65, 68] Generated Node #0,4: 43:[92, 65, 68] Operation: 91-23=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[23, 65, 1], Operations: ['92-91=1'] Exploring Operation: 65-1=64, Resulting Numbers: [23, 64] Generated Node #0,0,0: 43:[23, 64] Operation: 65-1=64 Exploring Operation: 23+1=24, Resulting Numbers: [65, 24] Generated Node #0,0,1: 43:[65, 24] Operation: 23+1=24 Exploring Operation: 65*1=65, Resulting Numbers: [23, 65] Generated Node #0,0,2: 43:[23, 65] Operation: 65*1=65 Exploring Operation: 23/1=23, Resulting Numbers: [65, 23] Generated Node #0,0,3: 43:[65, 23] Operation: 23/1=23 Exploring Operation: 23*1=23, Resulting Numbers: [65, 23] Generated Node #0,0,4: 43:[65, 23] Operation: 23*1=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[23, 64], Operations: ['92-91=1', '65-1=64'] Exploring Operation: 23+64=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 23*64=1472, Resulting Numbers: [1472] 1472,43 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: 43:[65, 24], Operations: ['92-91=1', '23+1=24'] Exploring Operation: 65*24=1560, Resulting Numbers: [1560] 1560,43 unequal: No Solution Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 65+24=89, Resulting Numbers: [89] 89,43 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: 43:[23, 65], Operations: ['92-91=1', '65*1=65'] Exploring Operation: 23+65=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 23*65=1495, Resulting Numbers: [1495] 1495,43 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: 43:[65, 23], Operations: ['92-91=1', '23/1=23'] Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,43 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,43 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: 43:[65, 23], Operations: ['92-91=1', '23*1=23'] Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,43 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,43 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: 43:[23, 91, 27], Operations: ['92-65=27'] Exploring Operation: 91-23=68, Resulting Numbers: [27, 68] Generated Node #0,3,0: 43:[27, 68] Operation: 91-23=68 Exploring Operation: 27-23=4, Resulting Numbers: [91, 4] Generated Node #0,3,1: 43:[91, 4] Operation: 27-23=4 Exploring Operation: 23+27=50, Resulting Numbers: [91, 50] Generated Node #0,3,2: 43:[91, 50] Operation: 23+27=50 Exploring Operation: 91-27=64, Resulting Numbers: [23, 64] Generated Node #0,3,3: 43:[23, 64] Operation: 91-27=64 Exploring Operation: 23+91=114, Resulting Numbers: [27, 114] Generated Node #0,3,4: 43:[27, 114] Operation: 23+91=114 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 43:[27, 68], Operations: ['92-65=27', '91-23=68'] Exploring Operation: 27*68=1836, Resulting Numbers: [1836] 1836,43 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,43 unequal: No Solution Exploring Operation: 27+68=95, Resulting Numbers: [95] 95,43 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: 43:[23, 64], Operations: ['92-65=27', '91-27=64'] Exploring Operation: 23+64=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 23*64=1472, Resulting Numbers: [1472] 1472,43 unequal: No Solution Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,43 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: 43:[91, 50], Operations: ['92-65=27', '23+27=50'] Exploring Operation: 91+50=141, Resulting Numbers: [141] 141,43 unequal: No Solution Exploring Operation: 91*50=4550, Resulting Numbers: [4550] 4550,43 unequal: No Solution Exploring Operation: 91-50=41, Resulting Numbers: [41] 41,43 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: 43:[91, 4], Operations: ['92-65=27', '27-23=4'] Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,43 unequal: No Solution Exploring Operation: 91*4=364, Resulting Numbers: [364] 364,43 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: 43:[27, 114], Operations: ['92-65=27', '23+91=114'] Exploring Operation: 27*114=3078, Resulting Numbers: [3078] 3078,43 unequal: No Solution Exploring Operation: 114-27=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 27+114=141, Resulting Numbers: [141] 141,43 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: 43:[23, 92, 26], Operations: ['91-65=26'] Exploring Operation: 92-23=69, Resulting Numbers: [26, 69] Generated Node #0,1,0: 43:[26, 69] Operation: 92-23=69 Exploring Operation: 23+92=115, Resulting Numbers: [26, 115] Generated Node #0,1,1: 43:[26, 115] Operation: 23+92=115 Exploring Operation: 23+26=49, Resulting Numbers: [92, 49] Generated Node #0,1,2: 43:[92, 49] Operation: 23+26=49 Exploring Operation: 92-26=66, Resulting Numbers: [23, 66] Generated Node #0,1,3: 43:[23, 66] Operation: 92-26=66 Exploring Operation: 92/23=4, Resulting Numbers: [26, 4] Generated Node #0,1,4: 43:[26, 4] Operation: 92/23=4 Moving to Node #0,1,0 Current State: 43:[26, 69], Operations: ['91-65=26', '92-23=69'] Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[23, 92, 91, 65], Operations: [] Exploring Operation: 91-65=26, Resulting Numbers: [23, 92, 26] Generated Node #0,1: 43:[23, 92, 26] Operation: 91-65=26 Moving to Node #0,1 Current State: 43:[23, 92, 26], Operations: ['91-65=26'] Exploring Operation: 92-23=69, Resulting Numbers: [26, 69] Generated Node #0,1,0: 43:[26, 69] Operation: 92-23=69 Moving to Node #0,1,0 Current State: 43:[26, 69], Operations: ['91-65=26', '92-23=69'] Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.952257
hs_5
mult_heuristic
[ 72, 31, 2, 37 ]
33
[ "72+31=103", "103-37=66", "66/2=33" ]
Current State: 33:[72, 31, 2, 37], Operations: [] Exploring Operation: 72+31=103, Resulting Numbers: [2, 37, 103] Generated Node #2: [2, 37, 103] from Operation: 72+31=103 Current State: 33:[2, 37, 103], Operations: ['72+31=103'] Exploring Operation: 103-37=66, Resulting Numbers: [2, 66] Generated Node #3: [2, 66] from Operation: 103-37=66 Current State: 33:[2, 66], Operations: ['72+31=103', '103-37=66'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[72, 31, 2, 37], Operations: [] Exploring Operation: 72-2=70, Resulting Numbers: [31, 37, 70] Generated Node #0,0: 33:[31, 37, 70] Operation: 72-2=70 Exploring Operation: 72-31=41, Resulting Numbers: [2, 37, 41] Generated Node #0,1: 33:[2, 37, 41] Operation: 72-31=41 Exploring Operation: 72/2=36, Resulting Numbers: [31, 37, 36] Generated Node #0,2: 33:[31, 37, 36] Operation: 72/2=36 Exploring Operation: 72-37=35, Resulting Numbers: [31, 2, 35] Generated Node #0,3: 33:[31, 2, 35] Operation: 72-37=35 Moving to Node #0,3 Current State: 33:[31, 2, 35], Operations: ['72-37=35'] Exploring Operation: 31+2=33, Resulting Numbers: [35, 33] Generated Node #0,3,0: 33:[35, 33] Operation: 31+2=33 Exploring Operation: 35-2=33, Resulting Numbers: [31, 33] Generated Node #0,3,1: 33:[31, 33] Operation: 35-2=33 Exploring Operation: 35-31=4, Resulting Numbers: [2, 4] Generated Node #0,3,2: 33:[2, 4] Operation: 35-31=4 Exploring Operation: 31-2=29, Resulting Numbers: [35, 29] Generated Node #0,3,3: 33:[35, 29] Operation: 31-2=29 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 33:[35, 33], Operations: ['72-37=35', '31+2=33'] Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,33 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 35*33=1155, Resulting Numbers: [1155] 1155,33 unequal: No Solution No 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: 33:[31, 33], Operations: ['72-37=35', '35-2=33'] Exploring Operation: 31*33=1023, Resulting Numbers: [1023] 1023,33 unequal: No Solution Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 31+33=64, Resulting Numbers: [64] 64,33 unequal: No Solution No 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: 33:[2, 4], Operations: ['72-37=35', '35-31=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,33 unequal: No Solution No 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: 33:[35, 29], Operations: ['72-37=35', '31-2=29'] Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,33 unequal: No Solution Exploring Operation: 35*29=1015, Resulting Numbers: [1015] 1015,33 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: 33:[31, 37, 36], Operations: ['72/2=36'] Exploring Operation: 37-36=1, Resulting Numbers: [31, 1] Generated Node #0,2,0: 33:[31, 1] Operation: 37-36=1 Exploring Operation: 36-31=5, Resulting Numbers: [37, 5] Generated Node #0,2,1: 33:[37, 5] Operation: 36-31=5 Exploring Operation: 37-31=6, Resulting Numbers: [36, 6] Generated Node #0,2,2: 33:[36, 6] Operation: 37-31=6 Exploring Operation: 31+37=68, Resulting Numbers: [36, 68] Generated Node #0,2,3: 33:[36, 68] Operation: 31+37=68 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[31, 1], Operations: ['72/2=36', '37-36=1'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,33 unequal: No Solution No 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: 33:[37, 5], Operations: ['72/2=36', '36-31=5'] Exploring Operation: 37*5=185, Resulting Numbers: [185] 185,33 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,33 unequal: No Solution No 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: 33:[36, 6], Operations: ['72/2=36', '37-31=6'] Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,33 unequal: No Solution Exploring Operation: 36*6=216, Resulting Numbers: [216] 216,33 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,33 unequal: No Solution No 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: 33:[36, 68], Operations: ['72/2=36', '31+37=68'] Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,33 unequal: No Solution Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,33 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,33 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: 33:[2, 37, 41], Operations: ['72-31=41'] Exploring Operation: 2+37=39, Resulting Numbers: [41, 39] Generated Node #0,1,0: 33:[41, 39] Operation: 2+37=39 Exploring Operation: 41-37=4, Resulting Numbers: [2, 4] Generated Node #0,1,1: 33:[2, 4] Operation: 41-37=4 Exploring Operation: 37-2=35, Resulting Numbers: [41, 35] Generated Node #0,1,2: 33:[41, 35] Operation: 37-2=35 Exploring Operation: 41-2=39, Resulting Numbers: [37, 39] Generated Node #0,1,3: 33:[37, 39] Operation: 41-2=39 Moving to Node #0,0 Current State: 33:[31, 37, 70], Operations: ['72-2=70'] Exploring Operation: 31+37=68, Resulting Numbers: [70, 68] Generated Node #0,0,0: 33:[70, 68] Operation: 31+37=68 Exploring Operation: 37-31=6, Resulting Numbers: [70, 6] Generated Node #0,0,1: 33:[70, 6] Operation: 37-31=6 Exploring Operation: 70-37=33, Resulting Numbers: [31, 33] Generated Node #0,0,2: 33:[31, 33] Operation: 70-37=33 Exploring Operation: 70-31=39, Resulting Numbers: [37, 39] Generated Node #0,0,3: 33:[37, 39] Operation: 70-31=39 Moving to Node #0,1,1 Current State: 33:[2, 4], Operations: ['72-31=41', '41-37=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[31, 33], Operations: ['72-2=70', '70-37=33'] Exploring Operation: 31*33=1023, Resulting Numbers: [1023] 1023,33 unequal: No Solution Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 31+33=64, Resulting Numbers: [64] 64,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[37, 39], Operations: ['72-31=41', '41-2=39'] Exploring Operation: 37+39=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 37*39=1443, Resulting Numbers: [1443] 1443,33 unequal: No Solution Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[37, 39], Operations: ['72-2=70', '70-31=39'] Exploring Operation: 37+39=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 37*39=1443, Resulting Numbers: [1443] 1443,33 unequal: No Solution Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[41, 35], Operations: ['72-31=41', '37-2=35'] Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 41*35=1435, Resulting Numbers: [1435] 1435,33 unequal: No Solution Exploring Operation: 41+35=76, Resulting Numbers: [76] 76,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[41, 39], Operations: ['72-31=41', '2+37=39'] Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,33 unequal: No Solution Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,33 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[70, 6], Operations: ['72-2=70', '37-31=6'] Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,33 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,33 unequal: No Solution Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[70, 68], Operations: ['72-2=70', '31+37=68'] Exploring Operation: 70+68=138, Resulting Numbers: [138] 138,33 unequal: No Solution Exploring Operation: 70-68=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 70*68=4760, Resulting Numbers: [4760] 4760,33 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 15, 21, 86, 28 ]
78
[ "15+21=36", "86+28=114", "114-36=78" ]
Current State: 78:[15, 21, 86, 28], Operations: [] Exploring Operation: 15+21=36, Resulting Numbers: [86, 28, 36] Generated Node #2: [86, 28, 36] from Operation: 15+21=36 Current State: 78:[86, 28, 36], Operations: ['15+21=36'] Exploring Operation: 86+28=114, Resulting Numbers: [36, 114] Generated Node #3: [36, 114] from Operation: 86+28=114 Current State: 78:[36, 114], Operations: ['15+21=36', '86+28=114'] Exploring Operation: 114-36=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[15, 21, 86, 28], Operations: [] Exploring Operation: 28-15=13, Resulting Numbers: [21, 86, 13] Generated Node #0,0: 78:[21, 86, 13] Operation: 28-15=13 Exploring Operation: 86-15=71, Resulting Numbers: [21, 28, 71] Generated Node #0,1: 78:[21, 28, 71] Operation: 86-15=71 Exploring Operation: 21-15=6, Resulting Numbers: [86, 28, 6] Generated Node #0,2: 78:[86, 28, 6] Operation: 21-15=6 Exploring Operation: 28-21=7, Resulting Numbers: [15, 86, 7] Generated Node #0,3: 78:[15, 86, 7] Operation: 28-21=7 Exploring Operation: 15+21=36, Resulting Numbers: [86, 28, 36] Generated Node #0,4: 78:[86, 28, 36] Operation: 15+21=36 Moving to Node #0,2 Current State: 78:[86, 28, 6], Operations: ['21-15=6'] Exploring Operation: 28-6=22, Resulting Numbers: [86, 22] Generated Node #0,2,0: 78:[86, 22] Operation: 28-6=22 Exploring Operation: 86-6=80, Resulting Numbers: [28, 80] Generated Node #0,2,1: 78:[28, 80] Operation: 86-6=80 Exploring Operation: 86-28=58, Resulting Numbers: [6, 58] Generated Node #0,2,2: 78:[6, 58] Operation: 86-28=58 Exploring Operation: 28+6=34, Resulting Numbers: [86, 34] Generated Node #0,2,3: 78:[86, 34] Operation: 28+6=34 Exploring Operation: 86+6=92, Resulting Numbers: [28, 92] Generated Node #0,2,4: 78:[28, 92] Operation: 86+6=92 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[28, 80], Operations: ['21-15=6', '86-6=80'] Exploring Operation: 28*80=2240, Resulting Numbers: [2240] 2240,78 unequal: No Solution Exploring Operation: 28+80=108, Resulting Numbers: [108] 108,78 unequal: No Solution Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,78 unequal: No Solution No 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: 78:[86, 22], Operations: ['21-15=6', '28-6=22'] Exploring Operation: 86-22=64, Resulting Numbers: [64] 64,78 unequal: No Solution Exploring Operation: 86*22=1892, Resulting Numbers: [1892] 1892,78 unequal: No Solution Exploring Operation: 86+22=108, Resulting Numbers: [108] 108,78 unequal: No Solution No 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: 78:[86, 34], Operations: ['21-15=6', '28+6=34'] Exploring Operation: 86+34=120, Resulting Numbers: [120] 120,78 unequal: No Solution Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,78 unequal: No Solution Exploring Operation: 86*34=2924, Resulting Numbers: [2924] 2924,78 unequal: No Solution No 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: 78:[28, 92], Operations: ['21-15=6', '86+6=92'] Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,78 unequal: No Solution Exploring Operation: 28*92=2576, Resulting Numbers: [2576] 2576,78 unequal: No Solution Exploring Operation: 28+92=120, Resulting Numbers: [120] 120,78 unequal: No Solution No 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: 78:[6, 58], Operations: ['21-15=6', '86-28=58'] Exploring Operation: 6*58=348, Resulting Numbers: [348] 348,78 unequal: No Solution Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,78 unequal: No Solution Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,78 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: 78:[15, 86, 7], Operations: ['28-21=7'] Exploring Operation: 86+7=93, Resulting Numbers: [15, 93] Generated Node #0,3,0: 78:[15, 93] Operation: 86+7=93 Exploring Operation: 86-7=79, Resulting Numbers: [15, 79] Generated Node #0,3,1: 78:[15, 79] Operation: 86-7=79 Exploring Operation: 86-15=71, Resulting Numbers: [7, 71] Generated Node #0,3,2: 78:[7, 71] Operation: 86-15=71 Exploring Operation: 15-7=8, Resulting Numbers: [86, 8] Generated Node #0,3,3: 78:[86, 8] Operation: 15-7=8 Exploring Operation: 15+7=22, Resulting Numbers: [86, 22] Generated Node #0,3,4: 78:[86, 22] Operation: 15+7=22 Moving to Node #0,0 Current State: 78:[21, 86, 13], Operations: ['28-15=13'] Exploring Operation: 86-21=65, Resulting Numbers: [13, 65] Generated Node #0,0,0: 78:[13, 65] Operation: 86-21=65 Exploring Operation: 21-13=8, Resulting Numbers: [86, 8] Generated Node #0,0,1: 78:[86, 8] Operation: 21-13=8 Exploring Operation: 86-13=73, Resulting Numbers: [21, 73] Generated Node #0,0,2: 78:[21, 73] Operation: 86-13=73 Exploring Operation: 21+13=34, Resulting Numbers: [86, 34] Generated Node #0,0,3: 78:[86, 34] Operation: 21+13=34 Exploring Operation: 86+13=99, Resulting Numbers: [21, 99] Generated Node #0,0,4: 78:[21, 99] Operation: 86+13=99 Moving to Node #0,4 Current State: 78:[86, 28, 36], Operations: ['15+21=36'] Exploring Operation: 86-36=50, Resulting Numbers: [28, 50] Generated Node #0,4,0: 78:[28, 50] Operation: 86-36=50 Exploring Operation: 86+28=114, Resulting Numbers: [36, 114] Generated Node #0,4,1: 78:[36, 114] Operation: 86+28=114 Exploring Operation: 28+36=64, Resulting Numbers: [86, 64] Generated Node #0,4,2: 78:[86, 64] Operation: 28+36=64 Exploring Operation: 36-28=8, Resulting Numbers: [86, 8] Generated Node #0,4,3: 78:[86, 8] Operation: 36-28=8 Exploring Operation: 86-28=58, Resulting Numbers: [36, 58] Generated Node #0,4,4: 78:[36, 58] Operation: 86-28=58 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 78:[86, 8], Operations: ['15+21=36', '36-28=8'] Exploring Operation: 86+8=94, Resulting Numbers: [94] 94,78 unequal: No Solution Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[15, 21, 86, 28], Operations: [] Exploring Operation: 15+21=36, Resulting Numbers: [86, 28, 36] Generated Node #0,4: 78:[86, 28, 36] Operation: 15+21=36 Moving to Node #0,4 Current State: 78:[86, 28, 36], Operations: ['15+21=36'] Exploring Operation: 36-28=8, Resulting Numbers: [86, 8] Generated Node #0,4,3: 78:[86, 8] Operation: 36-28=8 Moving to Node #0,4,3 Current State: 78:[86, 8], Operations: ['15+21=36', '36-28=8'] Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
mult_heuristic
[ 61, 63, 97, 36 ]
59
[ "63-61=2", "97-36=61", "61-2=59" ]
Current State: 59:[61, 63, 97, 36], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [97, 36, 2] Generated Node #2: [97, 36, 2] from Operation: 63-61=2 Current State: 59:[97, 36, 2], Operations: ['63-61=2'] Exploring Operation: 97-36=61, Resulting Numbers: [2, 61] Generated Node #3: [2, 61] from Operation: 97-36=61 Current State: 59:[2, 61], Operations: ['63-61=2', '97-36=61'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[61, 63, 97, 36], Operations: [] Exploring Operation: 97-61=36, Resulting Numbers: [63, 36, 36] Generated Node #0,0: 59:[63, 36, 36] Operation: 97-61=36 Exploring Operation: 97-36=61, Resulting Numbers: [61, 63, 61] Generated Node #0,1: 59:[61, 63, 61] Operation: 97-36=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[61, 63, 61], Operations: ['97-36=61'] Exploring Operation: 63-61=2, Resulting Numbers: [61, 2] Generated Node #0,1,0: 59:[61, 2] Operation: 63-61=2 Exploring Operation: 63-61=2, Resulting Numbers: [61, 2] Generated Node #0,1,1: 59:[61, 2] Operation: 63-61=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[61, 2], Operations: ['97-36=61', '63-61=2'] Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,59 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[61, 63, 97, 36], Operations: [] Exploring Operation: 97-36=61, Resulting Numbers: [61, 63, 61] Generated Node #0,1: 59:[61, 63, 61] Operation: 97-36=61 Moving to Node #0,1 Current State: 59:[61, 63, 61], Operations: ['97-36=61'] Exploring Operation: 63-61=2, Resulting Numbers: [61, 2] Generated Node #0,1,0: 59:[61, 2] Operation: 63-61=2 Moving to Node #0,1,0 Current State: 59:[61, 2], Operations: ['97-36=61', '63-61=2'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 58, 3, 66, 85 ]
13
[ "58+66=124", "124-85=39", "39/3=13" ]
Current State: 13:[58, 3, 66, 85], Operations: [] Exploring Operation: 58+66=124, Resulting Numbers: [3, 85, 124] Generated Node #2: [3, 85, 124] from Operation: 58+66=124 Current State: 13:[3, 85, 124], Operations: ['58+66=124'] Exploring Operation: 124-85=39, Resulting Numbers: [3, 39] Generated Node #3: [3, 39] from Operation: 124-85=39 Current State: 13:[3, 39], Operations: ['58+66=124', '124-85=39'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[58, 3, 66, 85], Operations: [] Exploring Operation: 66/3=22, Resulting Numbers: [58, 85, 22] Generated Node #0,0: 13:[58, 85, 22] Operation: 66/3=22 Exploring Operation: 66-58=8, Resulting Numbers: [3, 85, 8] Generated Node #0,1: 13:[3, 85, 8] Operation: 66-58=8 Exploring Operation: 58-3=55, Resulting Numbers: [66, 85, 55] Generated Node #0,2: 13:[66, 85, 55] Operation: 58-3=55 Exploring Operation: 85-66=19, Resulting Numbers: [58, 3, 19] Generated Node #0,3: 13:[58, 3, 19] Operation: 85-66=19 Exploring Operation: 85-58=27, Resulting Numbers: [3, 66, 27] Generated Node #0,4: 13:[3, 66, 27] Operation: 85-58=27 Moving to Node #0,3 Current State: 13:[58, 3, 19], Operations: ['85-66=19'] Exploring Operation: 58-19=39, Resulting Numbers: [3, 39] Generated Node #0,3,0: 13:[3, 39] Operation: 58-19=39 Exploring Operation: 58+3=61, Resulting Numbers: [19, 61] Generated Node #0,3,1: 13:[19, 61] Operation: 58+3=61 Exploring Operation: 58-3=55, Resulting Numbers: [19, 55] Generated Node #0,3,2: 13:[19, 55] Operation: 58-3=55 Exploring Operation: 3+19=22, Resulting Numbers: [58, 22] Generated Node #0,3,3: 13:[58, 22] Operation: 3+19=22 Exploring Operation: 19-3=16, Resulting Numbers: [58, 16] Generated Node #0,3,4: 13:[58, 16] Operation: 19-3=16 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 13:[3, 39], Operations: ['85-66=19', '58-19=39'] Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,13 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[58, 3, 66, 85], Operations: [] Exploring Operation: 85-66=19, Resulting Numbers: [58, 3, 19] Generated Node #0,3: 13:[58, 3, 19] Operation: 85-66=19 Moving to Node #0,3 Current State: 13:[58, 3, 19], Operations: ['85-66=19'] Exploring Operation: 58-19=39, Resulting Numbers: [3, 39] Generated Node #0,3,0: 13:[3, 39] Operation: 58-19=39 Moving to Node #0,3,0 Current State: 13:[3, 39], Operations: ['85-66=19', '58-19=39'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 13, 36, 11, 4 ]
86
[ "36*11=396", "396/4=99", "99-13=86" ]
Current State: 86:[13, 36, 11, 4], Operations: [] Exploring Operation: 36*11=396, Resulting Numbers: [13, 4, 396] Generated Node #2: [13, 4, 396] from Operation: 36*11=396 Current State: 86:[13, 4, 396], Operations: ['36*11=396'] Exploring Operation: 396/4=99, Resulting Numbers: [13, 99] Generated Node #3: [13, 99] from Operation: 396/4=99 Current State: 86:[13, 99], Operations: ['36*11=396', '396/4=99'] Exploring Operation: 99-13=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[13, 36, 11, 4], Operations: [] Exploring Operation: 13+36=49, Resulting Numbers: [11, 4, 49] Generated Node #0,0: 86:[11, 4, 49] Operation: 13+36=49 Exploring Operation: 36+11=47, Resulting Numbers: [13, 4, 47] Generated Node #0,1: 86:[13, 4, 47] Operation: 36+11=47 Exploring Operation: 13-11=2, Resulting Numbers: [36, 4, 2] Generated Node #0,2: 86:[36, 4, 2] Operation: 13-11=2 Exploring Operation: 11*4=44, Resulting Numbers: [13, 36, 44] Generated Node #0,3: 86:[13, 36, 44] Operation: 11*4=44 Moving to Node #0,2 Current State: 86:[36, 4, 2], Operations: ['13-11=2'] Exploring Operation: 36+4=40, Resulting Numbers: [2, 40] Generated Node #0,2,0: 86:[2, 40] Operation: 36+4=40 Exploring Operation: 36/4=9, Resulting Numbers: [2, 9] Generated Node #0,2,1: 86:[2, 9] Operation: 36/4=9 Exploring Operation: 4-2=2, Resulting Numbers: [36, 2] Generated Node #0,2,2: 86:[36, 2] Operation: 4-2=2 Exploring Operation: 36+2=38, Resulting Numbers: [4, 38] Generated Node #0,2,3: 86:[4, 38] Operation: 36+2=38 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[2, 40], Operations: ['13-11=2', '36+4=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,86 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,86 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,86 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,86 unequal: No Solution No 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: 86:[2, 9], Operations: ['13-11=2', '36/4=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,86 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,86 unequal: No Solution No 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: 86:[36, 2], Operations: ['13-11=2', '4-2=2'] Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,86 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,86 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,86 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,86 unequal: No Solution No 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: 86:[4, 38], Operations: ['13-11=2', '36+2=38'] Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,86 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,86 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: 86:[13, 4, 47], Operations: ['36+11=47'] Exploring Operation: 13-4=9, Resulting Numbers: [47, 9] Generated Node #0,1,0: 86:[47, 9] Operation: 13-4=9 Exploring Operation: 47-13=34, Resulting Numbers: [4, 34] Generated Node #0,1,1: 86:[4, 34] Operation: 47-13=34 Exploring Operation: 47-4=43, Resulting Numbers: [13, 43] Generated Node #0,1,2: 86:[13, 43] Operation: 47-4=43 Exploring Operation: 13*4=52, Resulting Numbers: [47, 52] Generated Node #0,1,3: 86:[47, 52] Operation: 13*4=52 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[47, 9], Operations: ['36+11=47', '13-4=9'] Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,86 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,86 unequal: No Solution Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,86 unequal: No Solution No 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: 86:[4, 34], Operations: ['36+11=47', '47-13=34'] Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,86 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,86 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,86 unequal: No Solution No 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: 86:[13, 43], Operations: ['36+11=47', '47-4=43'] Exploring Operation: 13*43=559, Resulting Numbers: [559] 559,86 unequal: No Solution Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,86 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,86 unequal: No Solution No 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: 86:[47, 52], Operations: ['36+11=47', '13*4=52'] Exploring Operation: 52-47=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 47+52=99, Resulting Numbers: [99] 99,86 unequal: No Solution Exploring Operation: 47*52=2444, Resulting Numbers: [2444] 2444,86 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: 86:[11, 4, 49], Operations: ['13+36=49'] Exploring Operation: 11*4=44, Resulting Numbers: [49, 44] Generated Node #0,0,0: 86:[49, 44] Operation: 11*4=44 Exploring Operation: 49-4=45, Resulting Numbers: [11, 45] Generated Node #0,0,1: 86:[11, 45] Operation: 49-4=45 Exploring Operation: 49-11=38, Resulting Numbers: [4, 38] Generated Node #0,0,2: 86:[4, 38] Operation: 49-11=38 Exploring Operation: 11-4=7, Resulting Numbers: [49, 7] Generated Node #0,0,3: 86:[49, 7] Operation: 11-4=7 Moving to Node #0,3 Current State: 86:[13, 36, 44], Operations: ['11*4=44'] Exploring Operation: 44-13=31, Resulting Numbers: [36, 31] Generated Node #0,3,0: 86:[36, 31] Operation: 44-13=31 Exploring Operation: 36+44=80, Resulting Numbers: [13, 80] Generated Node #0,3,1: 86:[13, 80] Operation: 36+44=80 Exploring Operation: 44-36=8, Resulting Numbers: [13, 8] Generated Node #0,3,2: 86:[13, 8] Operation: 44-36=8 Exploring Operation: 13+36=49, Resulting Numbers: [44, 49] Generated Node #0,3,3: 86:[44, 49] Operation: 13+36=49 Moving to Node #0,0,0 Current State: 86:[49, 44], Operations: ['13+36=49', '11*4=44'] Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,86 unequal: No Solution Exploring Operation: 49*44=2156, Resulting Numbers: [2156] 2156,86 unequal: No Solution Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[4, 38], Operations: ['13+36=49', '49-11=38'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,86 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,86 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[44, 49], Operations: ['11*4=44', '13+36=49'] Exploring Operation: 44*49=2156, Resulting Numbers: [2156] 2156,86 unequal: No Solution Exploring Operation: 44+49=93, Resulting Numbers: [93] 93,86 unequal: No Solution Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[11, 45], Operations: ['13+36=49', '49-4=45'] Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,86 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,86 unequal: No Solution Exploring Operation: 11*45=495, Resulting Numbers: [495] 495,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[49, 7], Operations: ['13+36=49', '11-4=7'] Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,86 unequal: No Solution Exploring Operation: 49*7=343, Resulting Numbers: [343] 343,86 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[13, 80], Operations: ['11*4=44', '36+44=80'] Exploring Operation: 13*80=1040, Resulting Numbers: [1040] 1040,86 unequal: No Solution Exploring Operation: 13+80=93, Resulting Numbers: [93] 93,86 unequal: No Solution Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[13, 8], Operations: ['11*4=44', '44-36=8'] Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,86 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[36, 31], Operations: ['11*4=44', '44-13=31'] Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,86 unequal: No Solution Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,86 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 62, 64, 98, 80 ]
10
[ "62+98=160", "80-64=16", "160/16=10" ]
Current State: 10:[62, 64, 98, 80], Operations: [] Exploring Operation: 62+98=160, Resulting Numbers: [64, 80, 160] Generated Node #2: [64, 80, 160] from Operation: 62+98=160 Current State: 10:[64, 80, 160], Operations: ['62+98=160'] Exploring Operation: 80-64=16, Resulting Numbers: [160, 16] Generated Node #3: [160, 16] from Operation: 80-64=16 Current State: 10:[160, 16], Operations: ['62+98=160', '80-64=16'] Exploring Operation: 160/16=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[62, 64, 98, 80], Operations: [] Exploring Operation: 98-80=18, Resulting Numbers: [62, 64, 18] Generated Node #0,0: 10:[62, 64, 18] Operation: 98-80=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[62, 64, 18], Operations: ['98-80=18'] Exploring Operation: 64-62=2, Resulting Numbers: [18, 2] Generated Node #0,0,0: 10:[18, 2] Operation: 64-62=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[18, 2], Operations: ['98-80=18', '64-62=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,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 No solution found.
0
hs_1
sum_heuristic
[ 14, 83, 65, 80 ]
76
[ "83-14=69", "65+80=145", "145-69=76" ]
Current State: 76:[14, 83, 65, 80], Operations: [] Exploring Operation: 83-14=69, Resulting Numbers: [65, 80, 69] Generated Node #2: [65, 80, 69] from Operation: 83-14=69 Current State: 76:[65, 80, 69], Operations: ['83-14=69'] Exploring Operation: 65+80=145, Resulting Numbers: [69, 145] Generated Node #3: [69, 145] from Operation: 65+80=145 Current State: 76:[69, 145], Operations: ['83-14=69', '65+80=145'] Exploring Operation: 145-69=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[14, 83, 65, 80], Operations: [] Exploring Operation: 14+65=79, Resulting Numbers: [83, 80, 79] Generated Node #0,0: 76:[83, 80, 79] Operation: 14+65=79 Exploring Operation: 83-65=18, Resulting Numbers: [14, 80, 18] Generated Node #0,1: 76:[14, 80, 18] Operation: 83-65=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[14, 80, 18], Operations: ['83-65=18'] Exploring Operation: 14+18=32, Resulting Numbers: [80, 32] Generated Node #0,1,0: 76:[80, 32] Operation: 14+18=32 Exploring Operation: 18-14=4, Resulting Numbers: [80, 4] Generated Node #0,1,1: 76:[80, 4] Operation: 18-14=4 Moving to Node #0,1,1 Current State: 76:[80, 4], Operations: ['83-65=18', '18-14=4'] Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[14, 83, 65, 80], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [14, 80, 18] Generated Node #0,1: 76:[14, 80, 18] Operation: 83-65=18 Moving to Node #0,1 Current State: 76:[14, 80, 18], Operations: ['83-65=18'] Exploring Operation: 18-14=4, Resulting Numbers: [80, 4] Generated Node #0,1,1: 76:[80, 4] Operation: 18-14=4 Moving to Node #0,1,1 Current State: 76:[80, 4], Operations: ['83-65=18', '18-14=4'] Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 43, 4, 73, 80 ]
46
[ "43-4=39", "80-73=7", "39+7=46" ]
Current State: 46:[43, 4, 73, 80], Operations: [] Exploring Operation: 43-4=39, Resulting Numbers: [73, 80, 39] Generated Node #2: [73, 80, 39] from Operation: 43-4=39 Current State: 46:[73, 80, 39], Operations: ['43-4=39'] Exploring Operation: 80-73=7, Resulting Numbers: [39, 7] Generated Node #3: [39, 7] from Operation: 80-73=7 Current State: 46:[39, 7], Operations: ['43-4=39', '80-73=7'] Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[43, 4, 73, 80], Operations: [] Exploring Operation: 80/4=20, Resulting Numbers: [43, 73, 20] Generated Node #0,0: 46:[43, 73, 20] Operation: 80/4=20 Exploring Operation: 73-4=69, Resulting Numbers: [43, 80, 69] Generated Node #0,1: 46:[43, 80, 69] Operation: 73-4=69 Exploring Operation: 73-43=30, Resulting Numbers: [4, 80, 30] Generated Node #0,2: 46:[4, 80, 30] Operation: 73-43=30 Exploring Operation: 80-43=37, Resulting Numbers: [4, 73, 37] Generated Node #0,3: 46:[4, 73, 37] Operation: 80-43=37 Exploring Operation: 80-73=7, Resulting Numbers: [43, 4, 7] Generated Node #0,4: 46:[43, 4, 7] Operation: 80-73=7 Moving to Node #0,4 Current State: 46:[43, 4, 7], Operations: ['80-73=7'] Exploring Operation: 43+7=50, Resulting Numbers: [4, 50] Generated Node #0,4,0: 46:[4, 50] Operation: 43+7=50 Exploring Operation: 43-4=39, Resulting Numbers: [7, 39] Generated Node #0,4,1: 46:[7, 39] Operation: 43-4=39 Exploring Operation: 43+4=47, Resulting Numbers: [7, 47] Generated Node #0,4,2: 46:[7, 47] Operation: 43+4=47 Exploring Operation: 7-4=3, Resulting Numbers: [43, 3] Generated Node #0,4,3: 46:[43, 3] Operation: 7-4=3 Exploring Operation: 4*7=28, Resulting Numbers: [43, 28] Generated Node #0,4,4: 46:[43, 28] Operation: 4*7=28 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 46:[43, 3], Operations: ['80-73=7', '7-4=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[43, 4, 73, 80], Operations: [] Exploring Operation: 80-73=7, Resulting Numbers: [43, 4, 7] Generated Node #0,4: 46:[43, 4, 7] Operation: 80-73=7 Moving to Node #0,4 Current State: 46:[43, 4, 7], Operations: ['80-73=7'] Exploring Operation: 7-4=3, Resulting Numbers: [43, 3] Generated Node #0,4,3: 46:[43, 3] Operation: 7-4=3 Moving to Node #0,4,3 Current State: 46:[43, 3], Operations: ['80-73=7', '7-4=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 39, 48, 20, 27 ]
38
[ "48-39=9", "20+27=47", "47-9=38" ]
Current State: 38:[39, 48, 20, 27], Operations: [] Exploring Operation: 48-39=9, Resulting Numbers: [20, 27, 9] Generated Node #2: [20, 27, 9] from Operation: 48-39=9 Current State: 38:[20, 27, 9], Operations: ['48-39=9'] Exploring Operation: 20+27=47, Resulting Numbers: [9, 47] Generated Node #3: [9, 47] from Operation: 20+27=47 Current State: 38:[9, 47], Operations: ['48-39=9', '20+27=47'] Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[39, 48, 20, 27], Operations: [] Exploring Operation: 48-27=21, Resulting Numbers: [39, 20, 21] Generated Node #0,0: 38:[39, 20, 21] Operation: 48-27=21 Exploring Operation: 48-39=9, Resulting Numbers: [20, 27, 9] Generated Node #0,1: 38:[20, 27, 9] Operation: 48-39=9 Moving to Node #0,0 Current State: 38:[39, 20, 21], Operations: ['48-27=21'] Exploring Operation: 39-20=19, Resulting Numbers: [21, 19] Generated Node #0,0,0: 38:[21, 19] Operation: 39-20=19 Exploring Operation: 39-21=18, Resulting Numbers: [20, 18] Generated Node #0,0,1: 38:[20, 18] Operation: 39-21=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[21, 19], Operations: ['48-27=21', '39-20=19'] Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,38 unequal: No Solution Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,38 unequal: No Solution No 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: 38:[20, 18], Operations: ['48-27=21', '39-21=18'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,38 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[39, 48, 20, 27], Operations: [] Exploring Operation: 48-27=21, Resulting Numbers: [39, 20, 21] Generated Node #0,0: 38:[39, 20, 21] Operation: 48-27=21 Moving to Node #0,0 Current State: 38:[39, 20, 21], Operations: ['48-27=21'] Exploring Operation: 39-21=18, Resulting Numbers: [20, 18] Generated Node #0,0,1: 38:[20, 18] Operation: 39-21=18 Moving to Node #0,0,1 Current State: 38:[20, 18], Operations: ['48-27=21', '39-21=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 89, 13, 2, 82 ]
40
[ "89+13=102", "102-82=20", "2*20=40" ]
Current State: 40:[89, 13, 2, 82], Operations: [] Exploring Operation: 89+13=102, Resulting Numbers: [2, 82, 102] Generated Node #2: [2, 82, 102] from Operation: 89+13=102 Current State: 40:[2, 82, 102], Operations: ['89+13=102'] Exploring Operation: 102-82=20, Resulting Numbers: [2, 20] Generated Node #3: [2, 20] from Operation: 102-82=20 Current State: 40:[2, 20], Operations: ['89+13=102', '102-82=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[89, 13, 2, 82], Operations: [] Exploring Operation: 89-82=7, Resulting Numbers: [13, 2, 7] Generated Node #0,0: 40:[13, 2, 7] Operation: 89-82=7 Exploring Operation: 82/2=41, Resulting Numbers: [89, 13, 41] Generated Node #0,1: 40:[89, 13, 41] Operation: 82/2=41 Moving to Node #0,0 Current State: 40:[13, 2, 7], Operations: ['89-82=7'] Exploring Operation: 13+7=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 40:[2, 20] Operation: 13+7=20 Exploring Operation: 13-7=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 40:[2, 6] Operation: 13-7=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[2, 20], Operations: ['89-82=7', '13+7=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[89, 13, 2, 82], Operations: [] Exploring Operation: 89-82=7, Resulting Numbers: [13, 2, 7] Generated Node #0,0: 40:[13, 2, 7] Operation: 89-82=7 Moving to Node #0,0 Current State: 40:[13, 2, 7], Operations: ['89-82=7'] Exploring Operation: 13+7=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 40:[2, 20] Operation: 13+7=20 Moving to Node #0,0,0 Current State: 40:[2, 20], Operations: ['89-82=7', '13+7=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 14, 28, 4, 87 ]
95
[ "28/14=2", "4*2=8", "87+8=95" ]
Current State: 95:[14, 28, 4, 87], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [4, 87, 2] Generated Node #2: [4, 87, 2] from Operation: 28/14=2 Current State: 95:[4, 87, 2], Operations: ['28/14=2'] Exploring Operation: 4*2=8, Resulting Numbers: [87, 8] Generated Node #3: [87, 8] from Operation: 4*2=8 Current State: 95:[87, 8], Operations: ['28/14=2', '4*2=8'] Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[14, 28, 4, 87], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [4, 87, 2] Generated Node #0,0: 95:[4, 87, 2] Operation: 28/14=2 Exploring Operation: 28/4=7, Resulting Numbers: [14, 87, 7] Generated Node #0,1: 95:[14, 87, 7] Operation: 28/4=7 Exploring Operation: 14+87=101, Resulting Numbers: [28, 4, 101] Generated Node #0,2: 95:[28, 4, 101] Operation: 14+87=101 Exploring Operation: 28-14=14, Resulting Numbers: [4, 87, 14] Generated Node #0,3: 95:[4, 87, 14] Operation: 28-14=14 Exploring Operation: 14+4=18, Resulting Numbers: [28, 87, 18] Generated Node #0,4: 95:[28, 87, 18] Operation: 14+4=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[4, 87, 2], Operations: ['28/14=2'] Exploring Operation: 4+2=6, Resulting Numbers: [87, 6] Generated Node #0,0,0: 95:[87, 6] Operation: 4+2=6 Exploring Operation: 87+2=89, Resulting Numbers: [4, 89] Generated Node #0,0,1: 95:[4, 89] Operation: 87+2=89 Exploring Operation: 4*2=8, Resulting Numbers: [87, 8] Generated Node #0,0,2: 95:[87, 8] Operation: 4*2=8 Exploring Operation: 4+87=91, Resulting Numbers: [2, 91] Generated Node #0,0,3: 95:[2, 91] Operation: 4+87=91 Exploring Operation: 4-2=2, Resulting Numbers: [87, 2] Generated Node #0,0,4: 95:[87, 2] Operation: 4-2=2 Moving to Node #0,0,1 Current State: 95:[4, 89], Operations: ['28/14=2', '87+2=89'] Exploring Operation: 4+89=93, Resulting Numbers: [93] 93,95 unequal: No Solution Exploring Operation: 4*89=356, Resulting Numbers: [356] 356,95 unequal: No Solution Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[2, 91], Operations: ['28/14=2', '4+87=91'] Exploring Operation: 2*91=182, Resulting Numbers: [182] 182,95 unequal: No Solution Exploring Operation: 2+91=93, Resulting Numbers: [93] 93,95 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[87, 6], Operations: ['28/14=2', '4+2=6'] Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,95 unequal: No Solution Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,95 unequal: No Solution Exploring Operation: 87*6=522, Resulting Numbers: [522] 522,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[87, 8], Operations: ['28/14=2', '4*2=8'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 87*8=696, Resulting Numbers: [696] 696,95 unequal: No Solution Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[14, 28, 4, 87], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [4, 87, 2] Generated Node #0,0: 95:[4, 87, 2] Operation: 28/14=2 Moving to Node #0,0 Current State: 95:[4, 87, 2], Operations: ['28/14=2'] Exploring Operation: 4*2=8, Resulting Numbers: [87, 8] Generated Node #0,0,2: 95:[87, 8] Operation: 4*2=8 Moving to Node #0,0,2 Current State: 95:[87, 8], Operations: ['28/14=2', '4*2=8'] Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 94, 50, 13, 75 ]
56
[ "94+50=144", "13+75=88", "144-88=56" ]
Current State: 56:[94, 50, 13, 75], Operations: [] Exploring Operation: 94+50=144, Resulting Numbers: [13, 75, 144] Generated Node #2: [13, 75, 144] from Operation: 94+50=144 Current State: 56:[13, 75, 144], Operations: ['94+50=144'] Exploring Operation: 13+75=88, Resulting Numbers: [144, 88] Generated Node #3: [144, 88] from Operation: 13+75=88 Current State: 56:[144, 88], Operations: ['94+50=144', '13+75=88'] Exploring Operation: 144-88=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[94, 50, 13, 75], Operations: [] Exploring Operation: 94-13=81, Resulting Numbers: [50, 75, 81] Generated Node #0,0: 56:[50, 75, 81] Operation: 94-13=81 Exploring Operation: 75-13=62, Resulting Numbers: [94, 50, 62] Generated Node #0,1: 56:[94, 50, 62] Operation: 75-13=62 Exploring Operation: 94-75=19, Resulting Numbers: [50, 13, 19] Generated Node #0,2: 56:[50, 13, 19] Operation: 94-75=19 Exploring Operation: 75-50=25, Resulting Numbers: [94, 13, 25] Generated Node #0,3: 56:[94, 13, 25] Operation: 75-50=25 Exploring Operation: 94-50=44, Resulting Numbers: [13, 75, 44] Generated Node #0,4: 56:[13, 75, 44] Operation: 94-50=44 Moving to Node #0,2 Current State: 56:[50, 13, 19], Operations: ['94-75=19'] Exploring Operation: 13+19=32, Resulting Numbers: [50, 32] Generated Node #0,2,0: 56:[50, 32] Operation: 13+19=32 Exploring Operation: 19-13=6, Resulting Numbers: [50, 6] Generated Node #0,2,1: 56:[50, 6] Operation: 19-13=6 Exploring Operation: 50-13=37, Resulting Numbers: [19, 37] Generated Node #0,2,2: 56:[19, 37] Operation: 50-13=37 Exploring Operation: 50-19=31, Resulting Numbers: [13, 31] Generated Node #0,2,3: 56:[13, 31] Operation: 50-19=31 Exploring Operation: 50+13=63, Resulting Numbers: [19, 63] Generated Node #0,2,4: 56:[19, 63] Operation: 50+13=63 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 56:[13, 31], Operations: ['94-75=19', '50-19=31'] Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,56 unequal: No Solution Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,56 unequal: No Solution No 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: 56:[50, 6], Operations: ['94-75=19', '19-13=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[94, 50, 13, 75], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [50, 13, 19] Generated Node #0,2: 56:[50, 13, 19] Operation: 94-75=19 Moving to Node #0,2 Current State: 56:[50, 13, 19], Operations: ['94-75=19'] Exploring Operation: 19-13=6, Resulting Numbers: [50, 6] Generated Node #0,2,1: 56:[50, 6] Operation: 19-13=6 Moving to Node #0,2,1 Current State: 56:[50, 6], Operations: ['94-75=19', '19-13=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 34, 97, 73, 3 ]
78
[ "34*3=102", "97-73=24", "102-24=78" ]
Current State: 78:[34, 97, 73, 3], Operations: [] Exploring Operation: 34*3=102, Resulting Numbers: [97, 73, 102] Generated Node #2: [97, 73, 102] from Operation: 34*3=102 Current State: 78:[97, 73, 102], Operations: ['34*3=102'] Exploring Operation: 97-73=24, Resulting Numbers: [102, 24] Generated Node #3: [102, 24] from Operation: 97-73=24 Current State: 78:[102, 24], Operations: ['34*3=102', '97-73=24'] Exploring Operation: 102-24=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[34, 97, 73, 3], Operations: [] Exploring Operation: 34+3=37, Resulting Numbers: [97, 73, 37] Generated Node #0,0: 78:[97, 73, 37] Operation: 34+3=37 Exploring Operation: 97-73=24, Resulting Numbers: [34, 3, 24] Generated Node #0,1: 78:[34, 3, 24] Operation: 97-73=24 Exploring Operation: 97-34=63, Resulting Numbers: [73, 3, 63] Generated Node #0,2: 78:[73, 3, 63] Operation: 97-34=63 Exploring Operation: 73-34=39, Resulting Numbers: [97, 3, 39] Generated Node #0,3: 78:[97, 3, 39] Operation: 73-34=39 Moving to Node #0,1 Current State: 78:[34, 3, 24], Operations: ['97-73=24'] Exploring Operation: 34+3=37, Resulting Numbers: [24, 37] Generated Node #0,1,0: 78:[24, 37] Operation: 34+3=37 Exploring Operation: 34-3=31, Resulting Numbers: [24, 31] Generated Node #0,1,1: 78:[24, 31] Operation: 34-3=31 Exploring Operation: 34-24=10, Resulting Numbers: [3, 10] Generated Node #0,1,2: 78:[3, 10] Operation: 34-24=10 Exploring Operation: 3+24=27, Resulting Numbers: [34, 27] Generated Node #0,1,3: 78:[34, 27] Operation: 3+24=27 Moving to Node #0,3 Current State: 78:[97, 3, 39], Operations: ['73-34=39'] Exploring Operation: 39/3=13, Resulting Numbers: [97, 13] Generated Node #0,3,0: 78:[97, 13] Operation: 39/3=13 Exploring Operation: 97+3=100, Resulting Numbers: [39, 100] Generated Node #0,3,1: 78:[39, 100] Operation: 97+3=100 Exploring Operation: 97-3=94, Resulting Numbers: [39, 94] Generated Node #0,3,2: 78:[39, 94] Operation: 97-3=94 Exploring Operation: 97-39=58, Resulting Numbers: [3, 58] Generated Node #0,3,3: 78:[3, 58] Operation: 97-39=58 Moving to Node #0,2 Current State: 78:[73, 3, 63], Operations: ['97-34=63'] Exploring Operation: 73-63=10, Resulting Numbers: [3, 10] Generated Node #0,2,0: 78:[3, 10] Operation: 73-63=10 Exploring Operation: 73+3=76, Resulting Numbers: [63, 76] Generated Node #0,2,1: 78:[63, 76] Operation: 73+3=76 Exploring Operation: 3+63=66, Resulting Numbers: [73, 66] Generated Node #0,2,2: 78:[73, 66] Operation: 3+63=66 Exploring Operation: 63/3=21, Resulting Numbers: [73, 21] Generated Node #0,2,3: 78:[73, 21] Operation: 63/3=21 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[3, 10], Operations: ['97-34=63', '73-63=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,78 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,78 unequal: No Solution No 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: 78:[73, 21], Operations: ['97-34=63', '63/3=21'] Exploring Operation: 73+21=94, Resulting Numbers: [94] 94,78 unequal: No Solution Exploring Operation: 73*21=1533, Resulting Numbers: [1533] 1533,78 unequal: No Solution Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,78 unequal: No Solution No 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: 78:[63, 76], Operations: ['97-34=63', '73+3=76'] Exploring Operation: 63*76=4788, Resulting Numbers: [4788] 4788,78 unequal: No Solution Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 63+76=139, Resulting Numbers: [139] 139,78 unequal: No Solution No 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: 78:[73, 66], Operations: ['97-34=63', '3+63=66'] Exploring Operation: 73*66=4818, Resulting Numbers: [4818] 4818,78 unequal: No Solution Exploring Operation: 73+66=139, Resulting Numbers: [139] 139,78 unequal: No Solution Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,78 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: 78:[97, 73, 37], Operations: ['34+3=37'] Exploring Operation: 97-37=60, Resulting Numbers: [73, 60] Generated Node #0,0,0: 78:[73, 60] Operation: 97-37=60 Exploring Operation: 73-37=36, Resulting Numbers: [97, 36] Generated Node #0,0,1: 78:[97, 36] Operation: 73-37=36 Exploring Operation: 97-73=24, Resulting Numbers: [37, 24] Generated Node #0,0,2: 78:[37, 24] Operation: 97-73=24 Exploring Operation: 73+37=110, Resulting Numbers: [97, 110] Generated Node #0,0,3: 78:[97, 110] Operation: 73+37=110 Moving to Node #0,1,2 Current State: 78:[3, 10], Operations: ['97-73=24', '34-24=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,78 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[24, 37], Operations: ['97-73=24', '34+3=37'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,78 unequal: No Solution Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[37, 24], Operations: ['34+3=37', '97-73=24'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 37+24=61, Resulting Numbers: [61] 61,78 unequal: No Solution Exploring Operation: 37*24=888, Resulting Numbers: [888] 888,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[34, 27], Operations: ['97-73=24', '3+24=27'] Exploring Operation: 34*27=918, Resulting Numbers: [918] 918,78 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[24, 31], Operations: ['97-73=24', '34-3=31'] Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,78 unequal: No Solution Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[39, 94], Operations: ['73-34=39', '97-3=94'] Exploring Operation: 94-39=55, Resulting Numbers: [55] 55,78 unequal: No Solution Exploring Operation: 39*94=3666, Resulting Numbers: [3666] 3666,78 unequal: No Solution Exploring Operation: 39+94=133, Resulting Numbers: [133] 133,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[3, 58], Operations: ['73-34=39', '97-39=58'] Exploring Operation: 3*58=174, Resulting Numbers: [174] 174,78 unequal: No Solution Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,78 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,78 unequal: No Solution Moving to Node #0,3,0 Current State: 78:[97, 13], Operations: ['73-34=39', '39/3=13'] Exploring Operation: 97+13=110, Resulting Numbers: [110] 110,78 unequal: No Solution Exploring Operation: 97-13=84, Resulting Numbers: [84] 84,78 unequal: No Solution Exploring Operation: 97*13=1261, Resulting Numbers: [1261] 1261,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[97, 36], Operations: ['34+3=37', '73-37=36'] Exploring Operation: 97-36=61, Resulting Numbers: [61] 61,78 unequal: No Solution Exploring Operation: 97+36=133, Resulting Numbers: [133] 133,78 unequal: No Solution Exploring Operation: 97*36=3492, Resulting Numbers: [3492] 3492,78 unequal: No Solution Moving to Node #0,3,1 Current State: 78:[39, 100], Operations: ['73-34=39', '97+3=100'] Exploring Operation: 39*100=3900, Resulting Numbers: [3900] 3900,78 unequal: No Solution Exploring Operation: 39+100=139, Resulting Numbers: [139] 139,78 unequal: No Solution Exploring Operation: 100-39=61, Resulting Numbers: [61] 61,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[73, 60], Operations: ['34+3=37', '97-37=60'] Exploring Operation: 73-60=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 73*60=4380, Resulting Numbers: [4380] 4380,78 unequal: No Solution Exploring Operation: 73+60=133, Resulting Numbers: [133] 133,78 unequal: No Solution Moving to Node #0,0,3 Current State: 78:[97, 110], Operations: ['34+3=37', '73+37=110'] Exploring Operation: 110-97=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 97*110=10670, Resulting Numbers: [10670] 10670,78 unequal: No Solution Exploring Operation: 97+110=207, Resulting Numbers: [207] 207,78 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 61, 55, 3, 82 ]
52
[ "82-55=27", "27/3=9", "61-9=52" ]
Current State: 52:[61, 55, 3, 82], Operations: [] Exploring Operation: 82-55=27, Resulting Numbers: [61, 3, 27] Generated Node #2: [61, 3, 27] from Operation: 82-55=27 Current State: 52:[61, 3, 27], Operations: ['82-55=27'] Exploring Operation: 27/3=9, Resulting Numbers: [61, 9] Generated Node #3: [61, 9] from Operation: 27/3=9 Current State: 52:[61, 9], Operations: ['82-55=27', '27/3=9'] Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[61, 55, 3, 82], Operations: [] Exploring Operation: 82-61=21, Resulting Numbers: [55, 3, 21] Generated Node #0,0: 52:[55, 3, 21] Operation: 82-61=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[55, 3, 21], Operations: ['82-61=21'] Exploring Operation: 55-3=52, Resulting Numbers: [21, 52] Generated Node #0,0,0: 52:[21, 52] Operation: 55-3=52 Moving to Node #0,0,0 Current State: 52:[21, 52], Operations: ['82-61=21', '55-3=52'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 76, 96, 78, 18 ]
40
[ "96-76=20", "78-18=60", "60-20=40" ]
Current State: 40:[76, 96, 78, 18], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [78, 18, 20] Generated Node #2: [78, 18, 20] from Operation: 96-76=20 Current State: 40:[78, 18, 20], Operations: ['96-76=20'] Exploring Operation: 78-18=60, Resulting Numbers: [20, 60] Generated Node #3: [20, 60] from Operation: 78-18=60 Current State: 40:[20, 60], Operations: ['96-76=20', '78-18=60'] Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[76, 96, 78, 18], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [78, 18, 20] Generated Node #0,0: 40:[78, 18, 20] Operation: 96-76=20 Exploring Operation: 96-78=18, Resulting Numbers: [76, 18, 18] Generated Node #0,1: 40:[76, 18, 18] Operation: 96-78=18 Moving to Node #0,0 Current State: 40:[78, 18, 20], Operations: ['96-76=20'] Exploring Operation: 78-20=58, Resulting Numbers: [18, 58] Generated Node #0,0,0: 40:[18, 58] Operation: 78-20=58 Exploring Operation: 78-18=60, Resulting Numbers: [20, 60] Generated Node #0,0,1: 40:[20, 60] Operation: 78-18=60 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[18, 58], Operations: ['96-76=20', '78-20=58'] Exploring Operation: 18+58=76, Resulting Numbers: [76] 76,40 unequal: No Solution Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[76, 96, 78, 18], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [78, 18, 20] Generated Node #0,0: 40:[78, 18, 20] Operation: 96-76=20 Moving to Node #0,0 Current State: 40:[78, 18, 20], Operations: ['96-76=20'] Exploring Operation: 78-20=58, Resulting Numbers: [18, 58] Generated Node #0,0,0: 40:[18, 58] Operation: 78-20=58 Moving to Node #0,0,0 Current State: 40:[18, 58], Operations: ['96-76=20', '78-20=58'] Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 48, 17, 27, 15 ]
73
[ "48-17=31", "27+15=42", "31+42=73" ]
Current State: 73:[48, 17, 27, 15], Operations: [] Exploring Operation: 48-17=31, Resulting Numbers: [27, 15, 31] Generated Node #2: [27, 15, 31] from Operation: 48-17=31 Current State: 73:[27, 15, 31], Operations: ['48-17=31'] Exploring Operation: 27+15=42, Resulting Numbers: [31, 42] Generated Node #3: [31, 42] from Operation: 27+15=42 Current State: 73:[31, 42], Operations: ['48-17=31', '27+15=42'] Exploring Operation: 31+42=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[48, 17, 27, 15], Operations: [] Exploring Operation: 48+15=63, Resulting Numbers: [17, 27, 63] Generated Node #0,0: 73:[17, 27, 63] Operation: 48+15=63 Exploring Operation: 48+17=65, Resulting Numbers: [27, 15, 65] Generated Node #0,1: 73:[27, 15, 65] Operation: 48+17=65 Moving to Node #0,0 Current State: 73:[17, 27, 63], Operations: ['48+15=63'] Exploring Operation: 17+27=44, Resulting Numbers: [63, 44] Generated Node #0,0,0: 73:[63, 44] Operation: 17+27=44 Exploring Operation: 17+63=80, Resulting Numbers: [27, 80] Generated Node #0,0,1: 73:[27, 80] Operation: 17+63=80 Moving to Node #0,1 Current State: 73:[27, 15, 65], Operations: ['48+17=65'] Exploring Operation: 27+15=42, Resulting Numbers: [65, 42] Generated Node #0,1,0: 73:[65, 42] Operation: 27+15=42 Exploring Operation: 15+65=80, Resulting Numbers: [27, 80] Generated Node #0,1,1: 73:[27, 80] Operation: 15+65=80 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[65, 42], Operations: ['48+17=65', '27+15=42'] Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,73 unequal: No Solution Exploring Operation: 65+42=107, Resulting Numbers: [107] 107,73 unequal: No Solution No 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: 73:[27, 80], Operations: ['48+17=65', '15+65=80'] Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 27+80=107, Resulting Numbers: [107] 107,73 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: 73:[63, 44], Operations: ['48+15=63', '17+27=44'] Exploring Operation: 63+44=107, Resulting Numbers: [107] 107,73 unequal: No Solution Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[27, 80], Operations: ['48+15=63', '17+63=80'] Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 27+80=107, Resulting Numbers: [107] 107,73 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 39, 77, 11, 81 ]
54
[ "77-39=38", "11+81=92", "92-38=54" ]
Current State: 54:[39, 77, 11, 81], Operations: [] Exploring Operation: 77-39=38, Resulting Numbers: [11, 81, 38] Generated Node #2: [11, 81, 38] from Operation: 77-39=38 Current State: 54:[11, 81, 38], Operations: ['77-39=38'] Exploring Operation: 11+81=92, Resulting Numbers: [38, 92] Generated Node #3: [38, 92] from Operation: 11+81=92 Current State: 54:[38, 92], Operations: ['77-39=38', '11+81=92'] Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[39, 77, 11, 81], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [39, 81, 7] Generated Node #0,0: 54:[39, 81, 7] Operation: 77/11=7 Exploring Operation: 77-39=38, Resulting Numbers: [11, 81, 38] Generated Node #0,1: 54:[11, 81, 38] Operation: 77-39=38 Exploring Operation: 81-39=42, Resulting Numbers: [77, 11, 42] Generated Node #0,2: 54:[77, 11, 42] Operation: 81-39=42 Exploring Operation: 81-77=4, Resulting Numbers: [39, 11, 4] Generated Node #0,3: 54:[39, 11, 4] Operation: 81-77=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[39, 11, 4], Operations: ['81-77=4'] Exploring Operation: 39+4=43, Resulting Numbers: [11, 43] Generated Node #0,3,0: 54:[11, 43] Operation: 39+4=43 Exploring Operation: 39+11=50, Resulting Numbers: [4, 50] Generated Node #0,3,1: 54:[4, 50] Operation: 39+11=50 Exploring Operation: 39-4=35, Resulting Numbers: [11, 35] Generated Node #0,3,2: 54:[11, 35] Operation: 39-4=35 Exploring Operation: 39-11=28, Resulting Numbers: [4, 28] Generated Node #0,3,3: 54:[4, 28] Operation: 39-11=28 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 54:[4, 28], Operations: ['81-77=4', '39-11=28'] Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,54 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,54 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: 54:[4, 50], Operations: ['81-77=4', '39+11=50'] Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,54 unequal: No Solution Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[39, 77, 11, 81], Operations: [] Exploring Operation: 81-77=4, Resulting Numbers: [39, 11, 4] Generated Node #0,3: 54:[39, 11, 4] Operation: 81-77=4 Moving to Node #0,3 Current State: 54:[39, 11, 4], Operations: ['81-77=4'] Exploring Operation: 39+11=50, Resulting Numbers: [4, 50] Generated Node #0,3,1: 54:[4, 50] Operation: 39+11=50 Moving to Node #0,3,1 Current State: 54:[4, 50], Operations: ['81-77=4', '39+11=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 59, 16, 2, 91 ]
67
[ "59-16=43", "91+43=134", "134/2=67" ]
Current State: 67:[59, 16, 2, 91], Operations: [] Exploring Operation: 59-16=43, Resulting Numbers: [2, 91, 43] Generated Node #2: [2, 91, 43] from Operation: 59-16=43 Current State: 67:[2, 91, 43], Operations: ['59-16=43'] Exploring Operation: 91+43=134, Resulting Numbers: [2, 134] Generated Node #3: [2, 134] from Operation: 91+43=134 Current State: 67:[2, 134], Operations: ['59-16=43', '91+43=134'] Exploring Operation: 134/2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[59, 16, 2, 91], Operations: [] Exploring Operation: 59+2=61, Resulting Numbers: [16, 91, 61] Generated Node #0,0: 67:[16, 91, 61] Operation: 59+2=61 Exploring Operation: 16*2=32, Resulting Numbers: [59, 91, 32] Generated Node #0,1: 67:[59, 91, 32] Operation: 16*2=32 Moving to Node #0,1 Current State: 67:[59, 91, 32], Operations: ['16*2=32'] Exploring Operation: 91-32=59, Resulting Numbers: [59, 59] Generated Node #0,1,0: 67:[59, 59] Operation: 91-32=59 Exploring Operation: 59+32=91, Resulting Numbers: [91, 91] Generated Node #0,1,1: 67:[91, 91] Operation: 59+32=91 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[59, 59], Operations: ['16*2=32', '91-32=59'] Exploring Operation: 59+59=118, Resulting Numbers: [118] 118,67 unequal: No Solution Exploring Operation: 59/59=1, Resulting Numbers: [1] 1,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,1,1 Current State: 67:[91, 91], Operations: ['16*2=32', '59+32=91'] Exploring Operation: 91/91=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 91-91=0, Resulting Numbers: [0] 0,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:[16, 91, 61], Operations: ['59+2=61'] Exploring Operation: 16+61=77, Resulting Numbers: [91, 77] Generated Node #0,0,0: 67:[91, 77] Operation: 16+61=77 Exploring Operation: 91-16=75, Resulting Numbers: [61, 75] Generated Node #0,0,1: 67:[61, 75] Operation: 91-16=75 Moving to Node #0,0,1 Current State: 67:[61, 75], Operations: ['59+2=61', '91-16=75'] Exploring Operation: 75-61=14, Resulting Numbers: [14] 14,67 unequal: No Solution Exploring Operation: 61+75=136, Resulting Numbers: [136] 136,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[91, 77], Operations: ['59+2=61', '16+61=77'] Exploring Operation: 91-77=14, Resulting Numbers: [14] 14,67 unequal: No Solution Exploring Operation: 91+77=168, Resulting Numbers: [168] 168,67 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 64, 89, 71, 81 ]
79
[ "89-81=8", "64/8=8", "71+8=79" ]
Current State: 79:[64, 89, 71, 81], Operations: [] Exploring Operation: 89-81=8, Resulting Numbers: [64, 71, 8] Generated Node #2: [64, 71, 8] from Operation: 89-81=8 Current State: 79:[64, 71, 8], Operations: ['89-81=8'] Exploring Operation: 64/8=8, Resulting Numbers: [71, 8] Generated Node #3: [71, 8] from Operation: 64/8=8 Current State: 79:[71, 8], Operations: ['89-81=8', '64/8=8'] Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[64, 89, 71, 81], Operations: [] Exploring Operation: 89-64=25, Resulting Numbers: [71, 81, 25] Generated Node #0,0: 79:[71, 81, 25] Operation: 89-64=25 Exploring Operation: 89-71=18, Resulting Numbers: [64, 81, 18] Generated Node #0,1: 79:[64, 81, 18] Operation: 89-71=18 Exploring Operation: 64+71=135, Resulting Numbers: [89, 81, 135] Generated Node #0,2: 79:[89, 81, 135] Operation: 64+71=135 Exploring Operation: 81-64=17, Resulting Numbers: [89, 71, 17] Generated Node #0,3: 79:[89, 71, 17] Operation: 81-64=17 Moving to Node #0,0 Current State: 79:[71, 81, 25], Operations: ['89-64=25'] Exploring Operation: 71+25=96, Resulting Numbers: [81, 96] Generated Node #0,0,0: 79:[81, 96] Operation: 71+25=96 Exploring Operation: 81+25=106, Resulting Numbers: [71, 106] Generated Node #0,0,1: 79:[71, 106] Operation: 81+25=106 Exploring Operation: 71-25=46, Resulting Numbers: [81, 46] Generated Node #0,0,2: 79:[81, 46] Operation: 71-25=46 Exploring Operation: 81-25=56, Resulting Numbers: [71, 56] Generated Node #0,0,3: 79:[71, 56] Operation: 81-25=56 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[81, 96], Operations: ['89-64=25', '71+25=96'] Exploring Operation: 81+96=177, Resulting Numbers: [177] 177,79 unequal: No Solution Exploring Operation: 96-81=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 81*96=7776, Resulting Numbers: [7776] 7776,79 unequal: No Solution No 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: 79:[71, 56], Operations: ['89-64=25', '81-25=56'] Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 71*56=3976, Resulting Numbers: [3976] 3976,79 unequal: No Solution Exploring Operation: 71+56=127, Resulting Numbers: [127] 127,79 unequal: No Solution No 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: 79:[71, 106], Operations: ['89-64=25', '81+25=106'] Exploring Operation: 71+106=177, Resulting Numbers: [177] 177,79 unequal: No Solution Exploring Operation: 71*106=7526, Resulting Numbers: [7526] 7526,79 unequal: No Solution Exploring Operation: 106-71=35, Resulting Numbers: [35] 35,79 unequal: No Solution No 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: 79:[81, 46], Operations: ['89-64=25', '71-25=46'] Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,79 unequal: No Solution Exploring Operation: 81*46=3726, Resulting Numbers: [3726] 3726,79 unequal: No Solution Exploring Operation: 81+46=127, Resulting Numbers: [127] 127,79 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: 79:[89, 81, 135], Operations: ['64+71=135'] Exploring Operation: 89-81=8, Resulting Numbers: [135, 8] Generated Node #0,2,0: 79:[135, 8] Operation: 89-81=8 Exploring Operation: 89+81=170, Resulting Numbers: [135, 170] Generated Node #0,2,1: 79:[135, 170] Operation: 89+81=170 Exploring Operation: 135-81=54, Resulting Numbers: [89, 54] Generated Node #0,2,2: 79:[89, 54] Operation: 135-81=54 Exploring Operation: 135-89=46, Resulting Numbers: [81, 46] Generated Node #0,2,3: 79:[81, 46] Operation: 135-89=46 Moving to Node #0,1 Current State: 79:[64, 81, 18], Operations: ['89-71=18'] Exploring Operation: 81+18=99, Resulting Numbers: [64, 99] Generated Node #0,1,0: 79:[64, 99] Operation: 81+18=99 Exploring Operation: 64-18=46, Resulting Numbers: [81, 46] Generated Node #0,1,1: 79:[81, 46] Operation: 64-18=46 Exploring Operation: 64+18=82, Resulting Numbers: [81, 82] Generated Node #0,1,2: 79:[81, 82] Operation: 64+18=82 Exploring Operation: 81-18=63, Resulting Numbers: [64, 63] Generated Node #0,1,3: 79:[64, 63] Operation: 81-18=63 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 79:[81, 82], Operations: ['89-71=18', '64+18=82'] Exploring Operation: 82-81=1, Resulting Numbers: [1] 1,79 unequal: No Solution Exploring Operation: 81*82=6642, Resulting Numbers: [6642] 6642,79 unequal: No Solution Exploring Operation: 81+82=163, Resulting Numbers: [163] 163,79 unequal: No Solution No 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: 79:[64, 63], Operations: ['89-71=18', '81-18=63'] Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,79 unequal: No Solution Exploring Operation: 64+63=127, Resulting Numbers: [127] 127,79 unequal: No Solution Exploring Operation: 64*63=4032, Resulting Numbers: [4032] 4032,79 unequal: No Solution No 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: 79:[64, 99], Operations: ['89-71=18', '81+18=99'] Exploring Operation: 64*99=6336, Resulting Numbers: [6336] 6336,79 unequal: No Solution Exploring Operation: 64+99=163, Resulting Numbers: [163] 163,79 unequal: No Solution Exploring Operation: 99-64=35, Resulting Numbers: [35] 35,79 unequal: No Solution No 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: 79:[81, 46], Operations: ['89-71=18', '64-18=46'] Exploring Operation: 81+46=127, Resulting Numbers: [127] 127,79 unequal: No Solution Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,79 unequal: No Solution Exploring Operation: 81*46=3726, Resulting Numbers: [3726] 3726,79 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: 79:[89, 71, 17], Operations: ['81-64=17'] Exploring Operation: 89+17=106, Resulting Numbers: [71, 106] Generated Node #0,3,0: 79:[71, 106] Operation: 89+17=106 Exploring Operation: 89-17=72, Resulting Numbers: [71, 72] Generated Node #0,3,1: 79:[71, 72] Operation: 89-17=72 Exploring Operation: 71-17=54, Resulting Numbers: [89, 54] Generated Node #0,3,2: 79:[89, 54] Operation: 71-17=54 Exploring Operation: 71+17=88, Resulting Numbers: [89, 88] Generated Node #0,3,3: 79:[89, 88] Operation: 71+17=88 Moving to Node #0,3,1 Current State: 79:[71, 72], Operations: ['81-64=17', '89-17=72'] Exploring Operation: 71*72=5112, Resulting Numbers: [5112] 5112,79 unequal: No Solution Exploring Operation: 72-71=1, Resulting Numbers: [1] 1,79 unequal: No Solution Exploring Operation: 71+72=143, Resulting Numbers: [143] 143,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[89, 88], Operations: ['81-64=17', '71+17=88'] Exploring Operation: 89*88=7832, Resulting Numbers: [7832] 7832,79 unequal: No Solution Exploring Operation: 89+88=177, Resulting Numbers: [177] 177,79 unequal: No Solution Exploring Operation: 89-88=1, Resulting Numbers: [1] 1,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[71, 106], Operations: ['81-64=17', '89+17=106'] Exploring Operation: 71*106=7526, Resulting Numbers: [7526] 7526,79 unequal: No Solution Exploring Operation: 106-71=35, Resulting Numbers: [35] 35,79 unequal: No Solution Exploring Operation: 71+106=177, Resulting Numbers: [177] 177,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[89, 54], Operations: ['64+71=135', '135-81=54'] Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,79 unequal: No Solution Exploring Operation: 89*54=4806, Resulting Numbers: [4806] 4806,79 unequal: No Solution Exploring Operation: 89+54=143, Resulting Numbers: [143] 143,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[81, 46], Operations: ['64+71=135', '135-89=46'] Exploring Operation: 81+46=127, Resulting Numbers: [127] 127,79 unequal: No Solution Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,79 unequal: No Solution Exploring Operation: 81*46=3726, Resulting Numbers: [3726] 3726,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[89, 54], Operations: ['81-64=17', '71-17=54'] Exploring Operation: 89+54=143, Resulting Numbers: [143] 143,79 unequal: No Solution Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,79 unequal: No Solution Exploring Operation: 89*54=4806, Resulting Numbers: [4806] 4806,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[135, 8], Operations: ['64+71=135', '89-81=8'] Exploring Operation: 135-8=127, Resulting Numbers: [127] 127,79 unequal: No Solution Exploring Operation: 135+8=143, Resulting Numbers: [143] 143,79 unequal: No Solution Exploring Operation: 135*8=1080, Resulting Numbers: [1080] 1080,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[135, 170], Operations: ['64+71=135', '89+81=170'] Exploring Operation: 135*170=22950, Resulting Numbers: [22950] 22950,79 unequal: No Solution Exploring Operation: 170-135=35, Resulting Numbers: [35] 35,79 unequal: No Solution Exploring Operation: 135+170=305, Resulting Numbers: [305] 305,79 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 1, 30, 60, 27 ]
57
[ "1*30=30", "60+27=87", "87-30=57" ]
Current State: 57:[1, 30, 60, 27], Operations: [] Exploring Operation: 1*30=30, Resulting Numbers: [60, 27, 30] Generated Node #2: [60, 27, 30] from Operation: 1*30=30 Current State: 57:[60, 27, 30], Operations: ['1*30=30'] Exploring Operation: 60+27=87, Resulting Numbers: [30, 87] Generated Node #3: [30, 87] from Operation: 60+27=87 Current State: 57:[30, 87], Operations: ['1*30=30', '60+27=87'] Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[1, 30, 60, 27], Operations: [] Exploring Operation: 30-27=3, Resulting Numbers: [1, 60, 3] Generated Node #0,0: 57:[1, 60, 3] Operation: 30-27=3 Exploring Operation: 30-1=29, Resulting Numbers: [60, 27, 29] Generated Node #0,1: 57:[60, 27, 29] Operation: 30-1=29 Exploring Operation: 30+27=57, Resulting Numbers: [1, 60, 57] Generated Node #0,2: 57:[1, 60, 57] Operation: 30+27=57 Exploring Operation: 60/30=2, Resulting Numbers: [1, 27, 2] Generated Node #0,3: 57:[1, 27, 2] Operation: 60/30=2 Moving to Node #0,0 Current State: 57:[1, 60, 3], Operations: ['30-27=3'] Exploring Operation: 60/1=60, Resulting Numbers: [3, 60] Generated Node #0,0,0: 57:[3, 60] Operation: 60/1=60 Exploring Operation: 60-3=57, Resulting Numbers: [1, 57] Generated Node #0,0,1: 57:[1, 57] Operation: 60-3=57 Exploring Operation: 1*60=60, Resulting Numbers: [3, 60] Generated Node #0,0,2: 57:[3, 60] Operation: 1*60=60 Exploring Operation: 60-1=59, Resulting Numbers: [3, 59] Generated Node #0,0,3: 57:[3, 59] Operation: 60-1=59 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[1, 57], Operations: ['30-27=3', '60-3=57'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[1, 30, 60, 27], Operations: [] Exploring Operation: 30-27=3, Resulting Numbers: [1, 60, 3] Generated Node #0,0: 57:[1, 60, 3] Operation: 30-27=3 Moving to Node #0,0 Current State: 57:[1, 60, 3], Operations: ['30-27=3'] Exploring Operation: 60-3=57, Resulting Numbers: [1, 57] Generated Node #0,0,1: 57:[1, 57] Operation: 60-3=57 Moving to Node #0,0,1 Current State: 57:[1, 57], Operations: ['30-27=3', '60-3=57'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 5, 54, 64, 30 ]
73
[ "5*54=270", "270/30=9", "64+9=73" ]
Current State: 73:[5, 54, 64, 30], Operations: [] Exploring Operation: 5*54=270, Resulting Numbers: [64, 30, 270] Generated Node #2: [64, 30, 270] from Operation: 5*54=270 Current State: 73:[64, 30, 270], Operations: ['5*54=270'] Exploring Operation: 270/30=9, Resulting Numbers: [64, 9] Generated Node #3: [64, 9] from Operation: 270/30=9 Current State: 73:[64, 9], Operations: ['5*54=270', '270/30=9'] Exploring Operation: 64+9=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[5, 54, 64, 30], Operations: [] Exploring Operation: 5+54=59, Resulting Numbers: [64, 30, 59] Generated Node #0,0: 73:[64, 30, 59] Operation: 5+54=59 Exploring Operation: 5+64=69, Resulting Numbers: [54, 30, 69] Generated Node #0,1: 73:[54, 30, 69] Operation: 5+64=69 Exploring Operation: 5+30=35, Resulting Numbers: [54, 64, 35] Generated Node #0,2: 73:[54, 64, 35] Operation: 5+30=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[64, 30, 59], Operations: ['5+54=59'] Exploring Operation: 64-30=34, Resulting Numbers: [59, 34] Generated Node #0,0,0: 73:[59, 34] Operation: 64-30=34 Exploring Operation: 64+30=94, Resulting Numbers: [59, 94] Generated Node #0,0,1: 73:[59, 94] Operation: 64+30=94 Exploring Operation: 30+59=89, Resulting Numbers: [64, 89] Generated Node #0,0,2: 73:[64, 89] Operation: 30+59=89 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 73:[64, 89], Operations: ['5+54=59', '30+59=89'] Exploring Operation: 64+89=153, Resulting Numbers: [153] 153,73 unequal: No Solution Exploring Operation: 64*89=5696, Resulting Numbers: [5696] 5696,73 unequal: No Solution Exploring Operation: 89-64=25, Resulting Numbers: [25] 25,73 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: 73:[59, 94], Operations: ['5+54=59', '64+30=94'] Exploring Operation: 59*94=5546, Resulting Numbers: [5546] 5546,73 unequal: No Solution Exploring Operation: 94-59=35, Resulting Numbers: [35] 35,73 unequal: No Solution Exploring Operation: 59+94=153, Resulting Numbers: [153] 153,73 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: 73:[59, 34], Operations: ['5+54=59', '64-30=34'] Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,73 unequal: No Solution Exploring Operation: 59*34=2006, Resulting Numbers: [2006] 2006,73 unequal: No Solution Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,73 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: 73:[54, 30, 69], Operations: ['5+64=69'] Exploring Operation: 30+69=99, Resulting Numbers: [54, 99] Generated Node #0,1,0: 73:[54, 99] Operation: 30+69=99 Exploring Operation: 54+30=84, Resulting Numbers: [69, 84] Generated Node #0,1,1: 73:[69, 84] Operation: 54+30=84 Exploring Operation: 54-30=24, Resulting Numbers: [69, 24] Generated Node #0,1,2: 73:[69, 24] Operation: 54-30=24 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[69, 84], Operations: ['5+64=69', '54+30=84'] Exploring Operation: 84-69=15, Resulting Numbers: [15] 15,73 unequal: No Solution Exploring Operation: 69+84=153, Resulting Numbers: [153] 153,73 unequal: No Solution Exploring Operation: 69*84=5796, Resulting Numbers: [5796] 5796,73 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: 73:[54, 99], Operations: ['5+64=69', '30+69=99'] Exploring Operation: 54+99=153, Resulting Numbers: [153] 153,73 unequal: No Solution Exploring Operation: 54*99=5346, Resulting Numbers: [5346] 5346,73 unequal: No Solution Exploring Operation: 99-54=45, Resulting Numbers: [45] 45,73 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: 73:[69, 24], Operations: ['5+64=69', '54-30=24'] Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,73 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,73 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: 73:[54, 64, 35], Operations: ['5+30=35'] Exploring Operation: 54-35=19, Resulting Numbers: [64, 19] Generated Node #0,2,0: 73:[64, 19] Operation: 54-35=19 Exploring Operation: 54+35=89, Resulting Numbers: [64, 89] Generated Node #0,2,1: 73:[64, 89] Operation: 54+35=89 Exploring Operation: 64+35=99, Resulting Numbers: [54, 99] Generated Node #0,2,2: 73:[54, 99] Operation: 64+35=99 Moving to Node #0,2,1 Current State: 73:[64, 89], Operations: ['5+30=35', '54+35=89'] Exploring Operation: 64*89=5696, Resulting Numbers: [5696] 5696,73 unequal: No Solution Exploring Operation: 89-64=25, Resulting Numbers: [25] 25,73 unequal: No Solution Exploring Operation: 64+89=153, Resulting Numbers: [153] 153,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[54, 99], Operations: ['5+30=35', '64+35=99'] Exploring Operation: 54+99=153, Resulting Numbers: [153] 153,73 unequal: No Solution Exploring Operation: 99-54=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 54*99=5346, Resulting Numbers: [5346] 5346,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[64, 19], Operations: ['5+30=35', '54-35=19'] Exploring Operation: 64*19=1216, Resulting Numbers: [1216] 1216,73 unequal: No Solution Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 64+19=83, Resulting Numbers: [83] 83,73 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
[ 36, 41, 2, 72 ]
69
[ "41-36=5", "2+72=74", "74-5=69" ]
Current State: 69:[36, 41, 2, 72], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [2, 72, 5] Generated Node #2: [2, 72, 5] from Operation: 41-36=5 Current State: 69:[2, 72, 5], Operations: ['41-36=5'] Exploring Operation: 2+72=74, Resulting Numbers: [5, 74] Generated Node #3: [5, 74] from Operation: 2+72=74 Current State: 69:[5, 74], Operations: ['41-36=5', '2+72=74'] Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[36, 41, 2, 72], Operations: [] Exploring Operation: 36+41=77, Resulting Numbers: [2, 72, 77] Generated Node #0,0: 69:[2, 72, 77] Operation: 36+41=77 Exploring Operation: 36*2=72, Resulting Numbers: [41, 72, 72] Generated Node #0,1: 69:[41, 72, 72] Operation: 36*2=72 Exploring Operation: 72-41=31, Resulting Numbers: [36, 2, 31] Generated Node #0,2: 69:[36, 2, 31] Operation: 72-41=31 Exploring Operation: 72/36=2, Resulting Numbers: [41, 2, 2] Generated Node #0,3: 69:[41, 2, 2] Operation: 72/36=2 Exploring Operation: 41-36=5, Resulting Numbers: [2, 72, 5] Generated Node #0,4: 69:[2, 72, 5] Operation: 41-36=5 Start Sub Search at level 1: Moving to Node #0,4 Current State: 69:[2, 72, 5], Operations: ['41-36=5'] Exploring Operation: 72-2=70, Resulting Numbers: [5, 70] Generated Node #0,4,0: 69:[5, 70] Operation: 72-2=70 Exploring Operation: 2+72=74, Resulting Numbers: [5, 74] Generated Node #0,4,1: 69:[5, 74] Operation: 2+72=74 Exploring Operation: 2+5=7, Resulting Numbers: [72, 7] Generated Node #0,4,2: 69:[72, 7] Operation: 2+5=7 Exploring Operation: 72-5=67, Resulting Numbers: [2, 67] Generated Node #0,4,3: 69:[2, 67] Operation: 72-5=67 Exploring Operation: 5-2=3, Resulting Numbers: [72, 3] Generated Node #0,4,4: 69:[72, 3] Operation: 5-2=3 Moving to Node #0,4,0 Current State: 69:[5, 70], Operations: ['41-36=5', '72-2=70'] Exploring Operation: 5*70=350, Resulting Numbers: [350] 350,69 unequal: No Solution Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,69 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,69 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,69 unequal: No Solution Moving to Node #0,4,4 Current State: 69:[72, 3], Operations: ['41-36=5', '5-2=3'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 72*3=216, Resulting Numbers: [216] 216,69 unequal: No Solution Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,69 unequal: No Solution Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[36, 41, 2, 72], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [2, 72, 5] Generated Node #0,4: 69:[2, 72, 5] Operation: 41-36=5 Moving to Node #0,4 Current State: 69:[2, 72, 5], Operations: ['41-36=5'] Exploring Operation: 5-2=3, Resulting Numbers: [72, 3] Generated Node #0,4,4: 69:[72, 3] Operation: 5-2=3 Moving to Node #0,4,4 Current State: 69:[72, 3], Operations: ['41-36=5', '5-2=3'] Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 22, 92, 2, 45 ]
23
[ "92-22=70", "2+45=47", "70-47=23" ]
Current State: 23:[22, 92, 2, 45], Operations: [] Exploring Operation: 92-22=70, Resulting Numbers: [2, 45, 70] Generated Node #2: [2, 45, 70] from Operation: 92-22=70 Current State: 23:[2, 45, 70], Operations: ['92-22=70'] Exploring Operation: 2+45=47, Resulting Numbers: [70, 47] Generated Node #3: [70, 47] from Operation: 2+45=47 Current State: 23:[70, 47], Operations: ['92-22=70', '2+45=47'] Exploring Operation: 70-47=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[22, 92, 2, 45], Operations: [] Exploring Operation: 92-45=47, Resulting Numbers: [22, 2, 47] Generated Node #0,0: 23:[22, 2, 47] Operation: 92-45=47 Exploring Operation: 92/2=46, Resulting Numbers: [22, 45, 46] Generated Node #0,1: 23:[22, 45, 46] Operation: 92/2=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[22, 2, 47], Operations: ['92-45=47'] Exploring Operation: 47-2=45, Resulting Numbers: [22, 45] Generated Node #0,0,0: 23:[22, 45] Operation: 47-2=45 Exploring Operation: 47-22=25, Resulting Numbers: [2, 25] Generated Node #0,0,1: 23:[2, 25] Operation: 47-22=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[22, 45], Operations: ['92-45=47', '47-2=45'] Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[22, 92, 2, 45], Operations: [] Exploring Operation: 92-45=47, Resulting Numbers: [22, 2, 47] Generated Node #0,0: 23:[22, 2, 47] Operation: 92-45=47 Moving to Node #0,0 Current State: 23:[22, 2, 47], Operations: ['92-45=47'] Exploring Operation: 47-2=45, Resulting Numbers: [22, 45] Generated Node #0,0,0: 23:[22, 45] Operation: 47-2=45 Moving to Node #0,0,0 Current State: 23:[22, 45], Operations: ['92-45=47', '47-2=45'] Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 21, 8, 75, 5 ]
82
[ "8-5=3", "21/3=7", "75+7=82" ]
Current State: 82:[21, 8, 75, 5], Operations: [] Exploring Operation: 8-5=3, Resulting Numbers: [21, 75, 3] Generated Node #2: [21, 75, 3] from Operation: 8-5=3 Current State: 82:[21, 75, 3], Operations: ['8-5=3'] Exploring Operation: 21/3=7, Resulting Numbers: [75, 7] Generated Node #3: [75, 7] from Operation: 21/3=7 Current State: 82:[75, 7], Operations: ['8-5=3', '21/3=7'] Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[21, 8, 75, 5], Operations: [] Exploring Operation: 21-8=13, Resulting Numbers: [75, 5, 13] Generated Node #0,0: 82:[75, 5, 13] Operation: 21-8=13 Exploring Operation: 21+75=96, Resulting Numbers: [8, 5, 96] Generated Node #0,1: 82:[8, 5, 96] Operation: 21+75=96 Exploring Operation: 8+75=83, Resulting Numbers: [21, 5, 83] Generated Node #0,2: 82:[21, 5, 83] Operation: 8+75=83 Exploring Operation: 75-21=54, Resulting Numbers: [8, 5, 54] Generated Node #0,3: 82:[8, 5, 54] Operation: 75-21=54 Exploring Operation: 21+8=29, Resulting Numbers: [75, 5, 29] Generated Node #0,4: 82:[75, 5, 29] Operation: 21+8=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[75, 5, 13], Operations: ['21-8=13'] Exploring Operation: 75+13=88, Resulting Numbers: [5, 88] Generated Node #0,0,0: 82:[5, 88] Operation: 75+13=88 Exploring Operation: 75-13=62, Resulting Numbers: [5, 62] Generated Node #0,0,1: 82:[5, 62] Operation: 75-13=62 Exploring Operation: 75+5=80, Resulting Numbers: [13, 80] Generated Node #0,0,2: 82:[13, 80] Operation: 75+5=80 Exploring Operation: 75-5=70, Resulting Numbers: [13, 70] Generated Node #0,0,3: 82:[13, 70] Operation: 75-5=70 Exploring Operation: 13-5=8, Resulting Numbers: [75, 8] Generated Node #0,0,4: 82:[75, 8] Operation: 13-5=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[5, 88], Operations: ['21-8=13', '75+13=88'] Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 5*88=440, Resulting Numbers: [440] 440,82 unequal: No Solution Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,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,0,2 Current State: 82:[13, 80], Operations: ['21-8=13', '75+5=80'] Exploring Operation: 13*80=1040, Resulting Numbers: [1040] 1040,82 unequal: No Solution Exploring Operation: 13+80=93, Resulting Numbers: [93] 93,82 unequal: No Solution Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,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,0,4 Current State: 82:[75, 8], Operations: ['21-8=13', '13-5=8'] Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 75*8=600, Resulting Numbers: [600] 600,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,0,1 Current State: 82:[5, 62], Operations: ['21-8=13', '75-13=62'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,82 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,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,0,3 Current State: 82:[13, 70], Operations: ['21-8=13', '75-5=70'] Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 13*70=910, Resulting Numbers: [910] 910,82 unequal: No Solution Exploring Operation: 13+70=83, Resulting Numbers: [83] 83,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,3 Current State: 82:[8, 5, 54], Operations: ['75-21=54'] Exploring Operation: 54-8=46, Resulting Numbers: [5, 46] Generated Node #0,3,0: 82:[5, 46] Operation: 54-8=46 Exploring Operation: 8*5=40, Resulting Numbers: [54, 40] Generated Node #0,3,1: 82:[54, 40] Operation: 8*5=40 Exploring Operation: 54-5=49, Resulting Numbers: [8, 49] Generated Node #0,3,2: 82:[8, 49] Operation: 54-5=49 Exploring Operation: 8-5=3, Resulting Numbers: [54, 3] Generated Node #0,3,3: 82:[54, 3] Operation: 8-5=3 Exploring Operation: 8+54=62, Resulting Numbers: [5, 62] Generated Node #0,3,4: 82:[5, 62] Operation: 8+54=62 Moving to Node #0,3,0 Current State: 82:[5, 46], Operations: ['75-21=54', '54-8=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,82 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[8, 49], Operations: ['75-21=54', '54-5=49'] Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,82 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,82 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[54, 40], Operations: ['75-21=54', '8*5=40'] Exploring Operation: 54*40=2160, Resulting Numbers: [2160] 2160,82 unequal: No Solution Exploring Operation: 54+40=94, Resulting Numbers: [94] 94,82 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[54, 3], Operations: ['75-21=54', '8-5=3'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,82 unequal: No Solution Exploring Operation: 54*3=162, Resulting Numbers: [162] 162,82 unequal: No Solution Moving to Node #0,3,4 Current State: 82:[5, 62], Operations: ['75-21=54', '8+54=62'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,82 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,82 unequal: No Solution No 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: 82:[75, 5, 29], Operations: ['21+8=29'] Exploring Operation: 75+5=80, Resulting Numbers: [29, 80] Generated Node #0,4,0: 82:[29, 80] Operation: 75+5=80 Exploring Operation: 75-29=46, Resulting Numbers: [5, 46] Generated Node #0,4,1: 82:[5, 46] Operation: 75-29=46 Exploring Operation: 5+29=34, Resulting Numbers: [75, 34] Generated Node #0,4,2: 82:[75, 34] Operation: 5+29=34 Exploring Operation: 75-5=70, Resulting Numbers: [29, 70] Generated Node #0,4,3: 82:[29, 70] Operation: 75-5=70 Exploring Operation: 29-5=24, Resulting Numbers: [75, 24] Generated Node #0,4,4: 82:[75, 24] Operation: 29-5=24 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 82:[5, 46], Operations: ['21+8=29', '75-29=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,82 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,82 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,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,4,0 Current State: 82:[29, 80], Operations: ['21+8=29', '75+5=80'] Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 29*80=2320, Resulting Numbers: [2320] 2320,82 unequal: No Solution Exploring Operation: 29+80=109, Resulting Numbers: [109] 109,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,4,2 Current State: 82:[75, 34], Operations: ['21+8=29', '5+29=34'] Exploring Operation: 75+34=109, Resulting Numbers: [109] 109,82 unequal: No Solution Exploring Operation: 75-34=41, Resulting Numbers: [41] 41,82 unequal: No Solution Exploring Operation: 75*34=2550, Resulting Numbers: [2550] 2550,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,4,3 Current State: 82:[29, 70], Operations: ['21+8=29', '75-5=70'] Exploring Operation: 29*70=2030, Resulting Numbers: [2030] 2030,82 unequal: No Solution Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,82 unequal: No Solution Exploring Operation: 29+70=99, Resulting Numbers: [99] 99,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,4,4 Current State: 82:[75, 24], Operations: ['21+8=29', '29-5=24'] Exploring Operation: 75*24=1800, Resulting Numbers: [1800] 1800,82 unequal: No Solution Exploring Operation: 75+24=99, Resulting Numbers: [99] 99,82 unequal: No Solution Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,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,1 Current State: 82:[8, 5, 96], Operations: ['21+75=96'] Exploring Operation: 96-8=88, Resulting Numbers: [5, 88] Generated Node #0,1,0: 82:[5, 88] Operation: 96-8=88 Exploring Operation: 8-5=3, Resulting Numbers: [96, 3] Generated Node #0,1,1: 82:[96, 3] Operation: 8-5=3 Exploring Operation: 96/8=12, Resulting Numbers: [5, 12] Generated Node #0,1,2: 82:[5, 12] Operation: 96/8=12 Exploring Operation: 96-5=91, Resulting Numbers: [8, 91] Generated Node #0,1,3: 82:[8, 91] Operation: 96-5=91 Exploring Operation: 8*5=40, Resulting Numbers: [96, 40] Generated Node #0,1,4: 82:[96, 40] Operation: 8*5=40 Moving to Node #0,1,0 Current State: 82:[5, 88], Operations: ['21+75=96', '96-8=88'] Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,82 unequal: No Solution Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 5*88=440, Resulting Numbers: [440] 440,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[5, 12], Operations: ['21+75=96', '96/8=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,82 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,82 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[96, 3], Operations: ['21+75=96', '8-5=3'] Exploring Operation: 96*3=288, Resulting Numbers: [288] 288,82 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,82 unequal: No Solution Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[8, 91], Operations: ['21+75=96', '96-5=91'] Exploring Operation: 91-8=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 8+91=99, Resulting Numbers: [99] 99,82 unequal: No Solution Exploring Operation: 8*91=728, Resulting Numbers: [728] 728,82 unequal: No Solution Moving to Node #0,1,4 Current State: 82:[96, 40], Operations: ['21+75=96', '8*5=40'] Exploring Operation: 96*40=3840, Resulting Numbers: [3840] 3840,82 unequal: No Solution Exploring Operation: 96+40=136, Resulting Numbers: [136] 136,82 unequal: No Solution Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,82 unequal: No Solution No 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: 82:[21, 5, 83], Operations: ['8+75=83'] Exploring Operation: 21+5=26, Resulting Numbers: [83, 26] Generated Node #0,2,0: 82:[83, 26] Operation: 21+5=26 Exploring Operation: 83-21=62, Resulting Numbers: [5, 62] Generated Node #0,2,1: 82:[5, 62] Operation: 83-21=62 Exploring Operation: 21*5=105, Resulting Numbers: [83, 105] Generated Node #0,2,2: 82:[83, 105] Operation: 21*5=105 Exploring Operation: 83-5=78, Resulting Numbers: [21, 78] Generated Node #0,2,3: 82:[21, 78] Operation: 83-5=78 Exploring Operation: 21-5=16, Resulting Numbers: [83, 16] Generated Node #0,2,4: 82:[83, 16] Operation: 21-5=16 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 82:[83, 16], Operations: ['8+75=83', '21-5=16'] Exploring Operation: 83+16=99, Resulting Numbers: [99] 99,82 unequal: No Solution Exploring Operation: 83-16=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 83*16=1328, Resulting Numbers: [1328] 1328,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,2,0 Current State: 82:[83, 26], Operations: ['8+75=83', '21+5=26'] Exploring Operation: 83+26=109, Resulting Numbers: [109] 109,82 unequal: No Solution Exploring Operation: 83*26=2158, Resulting Numbers: [2158] 2158,82 unequal: No Solution Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,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,2,1 Current State: 82:[5, 62], Operations: ['8+75=83', '83-21=62'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,82 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,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,2,3 Current State: 82:[21, 78], Operations: ['8+75=83', '83-5=78'] Exploring Operation: 21+78=99, Resulting Numbers: [99] 99,82 unequal: No Solution Exploring Operation: 21*78=1638, Resulting Numbers: [1638] 1638,82 unequal: No Solution Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,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,2,2 Current State: 82:[83, 105], Operations: ['8+75=83', '21*5=105'] Exploring Operation: 83*105=8715, Resulting Numbers: [8715] 8715,82 unequal: No Solution Exploring Operation: 105-83=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 83+105=188, Resulting Numbers: [188] 188,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 No solution found.
0
hs_5
mult_heuristic
[ 55, 81, 74, 22 ]
78
[ "81-55=26", "74-22=52", "26+52=78" ]
Current State: 78:[55, 81, 74, 22], Operations: [] Exploring Operation: 81-55=26, Resulting Numbers: [74, 22, 26] Generated Node #2: [74, 22, 26] from Operation: 81-55=26 Current State: 78:[74, 22, 26], Operations: ['81-55=26'] Exploring Operation: 74-22=52, Resulting Numbers: [26, 52] Generated Node #3: [26, 52] from Operation: 74-22=52 Current State: 78:[26, 52], Operations: ['81-55=26', '74-22=52'] Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[55, 81, 74, 22], Operations: [] Exploring Operation: 55+22=77, Resulting Numbers: [81, 74, 77] Generated Node #0,0: 78:[81, 74, 77] Operation: 55+22=77 Exploring Operation: 81-55=26, Resulting Numbers: [74, 22, 26] Generated Node #0,1: 78:[74, 22, 26] Operation: 81-55=26 Exploring Operation: 74-55=19, Resulting Numbers: [81, 22, 19] Generated Node #0,2: 78:[81, 22, 19] Operation: 74-55=19 Moving to Node #0,0 Current State: 78:[81, 74, 77], Operations: ['55+22=77'] Exploring Operation: 77-74=3, Resulting Numbers: [81, 3] Generated Node #0,0,0: 78:[81, 3] Operation: 77-74=3 Exploring Operation: 81-77=4, Resulting Numbers: [74, 4] Generated Node #0,0,1: 78:[74, 4] Operation: 81-77=4 Exploring Operation: 81-74=7, Resulting Numbers: [77, 7] Generated Node #0,0,2: 78:[77, 7] Operation: 81-74=7 Moving to Node #0,1 Current State: 78:[74, 22, 26], Operations: ['81-55=26'] Exploring Operation: 74-26=48, Resulting Numbers: [22, 48] Generated Node #0,1,0: 78:[22, 48] Operation: 74-26=48 Exploring Operation: 74-22=52, Resulting Numbers: [26, 52] Generated Node #0,1,1: 78:[26, 52] Operation: 74-22=52 Exploring Operation: 26-22=4, Resulting Numbers: [74, 4] Generated Node #0,1,2: 78:[74, 4] Operation: 26-22=4 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 78:[74, 4], Operations: ['81-55=26', '26-22=4'] Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[55, 81, 74, 22], Operations: [] Exploring Operation: 81-55=26, Resulting Numbers: [74, 22, 26] Generated Node #0,1: 78:[74, 22, 26] Operation: 81-55=26 Moving to Node #0,1 Current State: 78:[74, 22, 26], Operations: ['81-55=26'] Exploring Operation: 26-22=4, Resulting Numbers: [74, 4] Generated Node #0,1,2: 78:[74, 4] Operation: 26-22=4 Moving to Node #0,1,2 Current State: 78:[74, 4], Operations: ['81-55=26', '26-22=4'] Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 20, 8, 50, 74 ]
94
[ "8*50=400", "400/20=20", "74+20=94" ]
Current State: 94:[20, 8, 50, 74], Operations: [] Exploring Operation: 8*50=400, Resulting Numbers: [20, 74, 400] Generated Node #2: [20, 74, 400] from Operation: 8*50=400 Current State: 94:[20, 74, 400], Operations: ['8*50=400'] Exploring Operation: 400/20=20, Resulting Numbers: [74, 20] Generated Node #3: [74, 20] from Operation: 400/20=20 Current State: 94:[74, 20], Operations: ['8*50=400', '400/20=20'] Exploring Operation: 74+20=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[20, 8, 50, 74], Operations: [] Exploring Operation: 20-8=12, Resulting Numbers: [50, 74, 12] Generated Node #0,0: 94:[50, 74, 12] Operation: 20-8=12 Exploring Operation: 74-20=54, Resulting Numbers: [8, 50, 54] Generated Node #0,1: 94:[8, 50, 54] Operation: 74-20=54 Exploring Operation: 20+74=94, Resulting Numbers: [8, 50, 94] Generated Node #0,2: 94:[8, 50, 94] Operation: 20+74=94 Moving to Node #0,2 Current State: 94:[8, 50, 94], Operations: ['20+74=94'] Exploring Operation: 94-50=44, Resulting Numbers: [8, 44] Generated Node #0,2,0: 94:[8, 44] Operation: 94-50=44 Exploring Operation: 8+50=58, Resulting Numbers: [94, 58] Generated Node #0,2,1: 94:[94, 58] Operation: 8+50=58 Exploring Operation: 50-8=42, Resulting Numbers: [94, 42] Generated Node #0,2,2: 94:[94, 42] Operation: 50-8=42 Moving to Node #0,1 Current State: 94:[8, 50, 54], Operations: ['74-20=54'] Exploring Operation: 54-8=46, Resulting Numbers: [50, 46] Generated Node #0,1,0: 94:[50, 46] Operation: 54-8=46 Exploring Operation: 54-50=4, Resulting Numbers: [8, 4] Generated Node #0,1,1: 94:[8, 4] Operation: 54-50=4 Exploring Operation: 50-8=42, Resulting Numbers: [54, 42] Generated Node #0,1,2: 94:[54, 42] Operation: 50-8=42 Moving to Node #0,0 Current State: 94:[50, 74, 12], Operations: ['20-8=12'] Exploring Operation: 50-12=38, Resulting Numbers: [74, 38] Generated Node #0,0,0: 94:[74, 38] Operation: 50-12=38 Exploring Operation: 74-12=62, Resulting Numbers: [50, 62] Generated Node #0,0,1: 94:[50, 62] Operation: 74-12=62 Exploring Operation: 74+12=86, Resulting Numbers: [50, 86] Generated Node #0,0,2: 94:[50, 86] Operation: 74+12=86 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[50, 86], Operations: ['20-8=12', '74+12=86'] Exploring Operation: 50+86=136, Resulting Numbers: [136] 136,94 unequal: No Solution Exploring Operation: 50*86=4300, Resulting Numbers: [4300] 4300,94 unequal: No Solution Exploring Operation: 86-50=36, Resulting Numbers: [36] 36,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,0,1 Current State: 94:[50, 62], Operations: ['20-8=12', '74-12=62'] Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,94 unequal: No Solution Exploring Operation: 50*62=3100, Resulting Numbers: [3100] 3100,94 unequal: No Solution Exploring Operation: 50+62=112, Resulting Numbers: [112] 112,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,0,0 Current State: 94:[74, 38], Operations: ['20-8=12', '50-12=38'] Exploring Operation: 74*38=2812, Resulting Numbers: [2812] 2812,94 unequal: No Solution Exploring Operation: 74-38=36, Resulting Numbers: [36] 36,94 unequal: No Solution Exploring Operation: 74+38=112, Resulting Numbers: [112] 112,94 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: 94:[50, 46], Operations: ['74-20=54', '54-8=46'] Exploring Operation: 50*46=2300, Resulting Numbers: [2300] 2300,94 unequal: No Solution Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,94 unequal: No Solution Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[94, 42], Operations: ['20+74=94', '50-8=42'] Exploring Operation: 94+42=136, Resulting Numbers: [136] 136,94 unequal: No Solution Exploring Operation: 94*42=3948, Resulting Numbers: [3948] 3948,94 unequal: No Solution Exploring Operation: 94-42=52, Resulting Numbers: [52] 52,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[8, 4], Operations: ['74-20=54', '54-50=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,94 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[8, 44], Operations: ['20+74=94', '94-50=44'] Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,94 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,94 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[94, 58], Operations: ['20+74=94', '8+50=58'] Exploring Operation: 94-58=36, Resulting Numbers: [36] 36,94 unequal: No Solution Exploring Operation: 94*58=5452, Resulting Numbers: [5452] 5452,94 unequal: No Solution Exploring Operation: 94+58=152, Resulting Numbers: [152] 152,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[54, 42], Operations: ['74-20=54', '50-8=42'] Exploring Operation: 54+42=96, Resulting Numbers: [96] 96,94 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,94 unequal: No Solution Exploring Operation: 54*42=2268, Resulting Numbers: [2268] 2268,94 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 76, 55, 10, 57 ]
68
[ "76-55=21", "57-10=47", "21+47=68" ]
Current State: 68:[76, 55, 10, 57], Operations: [] Exploring Operation: 76-55=21, Resulting Numbers: [10, 57, 21] Generated Node #2: [10, 57, 21] from Operation: 76-55=21 Current State: 68:[10, 57, 21], Operations: ['76-55=21'] Exploring Operation: 57-10=47, Resulting Numbers: [21, 47] Generated Node #3: [21, 47] from Operation: 57-10=47 Current State: 68:[21, 47], Operations: ['76-55=21', '57-10=47'] Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[76, 55, 10, 57], Operations: [] Exploring Operation: 76-55=21, Resulting Numbers: [10, 57, 21] Generated Node #0,0: 68:[10, 57, 21] Operation: 76-55=21 Exploring Operation: 57-55=2, Resulting Numbers: [76, 10, 2] Generated Node #0,1: 68:[76, 10, 2] Operation: 57-55=2 Moving to Node #0,1 Current State: 68:[76, 10, 2], Operations: ['57-55=2'] Exploring Operation: 76-10=66, Resulting Numbers: [2, 66] Generated Node #0,1,0: 68:[2, 66] Operation: 76-10=66 Exploring Operation: 10/2=5, Resulting Numbers: [76, 5] Generated Node #0,1,1: 68:[76, 5] Operation: 10/2=5 Moving to Node #0,0 Current State: 68:[10, 57, 21], Operations: ['76-55=21'] Exploring Operation: 57-21=36, Resulting Numbers: [10, 36] Generated Node #0,0,0: 68:[10, 36] Operation: 57-21=36 Exploring Operation: 10+57=67, Resulting Numbers: [21, 67] Generated Node #0,0,1: 68:[21, 67] Operation: 10+57=67 Moving to Node #0,1,0 Current State: 68:[2, 66], Operations: ['57-55=2', '76-10=66'] Exploring Operation: 2+66=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[76, 55, 10, 57], Operations: [] Exploring Operation: 57-55=2, Resulting Numbers: [76, 10, 2] Generated Node #0,1: 68:[76, 10, 2] Operation: 57-55=2 Moving to Node #0,1 Current State: 68:[76, 10, 2], Operations: ['57-55=2'] Exploring Operation: 76-10=66, Resulting Numbers: [2, 66] Generated Node #0,1,0: 68:[2, 66] Operation: 76-10=66 Moving to Node #0,1,0 Current State: 68:[2, 66], Operations: ['57-55=2', '76-10=66'] Exploring Operation: 2+66=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 38, 90, 19, 15 ]
48
[ "90-38=52", "19-15=4", "52-4=48" ]
Current State: 48:[38, 90, 19, 15], Operations: [] Exploring Operation: 90-38=52, Resulting Numbers: [19, 15, 52] Generated Node #2: [19, 15, 52] from Operation: 90-38=52 Current State: 48:[19, 15, 52], Operations: ['90-38=52'] Exploring Operation: 19-15=4, Resulting Numbers: [52, 4] Generated Node #3: [52, 4] from Operation: 19-15=4 Current State: 48:[52, 4], Operations: ['90-38=52', '19-15=4'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[38, 90, 19, 15], Operations: [] Exploring Operation: 90-38=52, Resulting Numbers: [19, 15, 52] Generated Node #0,0: 48:[19, 15, 52] Operation: 90-38=52 Exploring Operation: 38/19=2, Resulting Numbers: [90, 15, 2] Generated Node #0,1: 48:[90, 15, 2] Operation: 38/19=2 Exploring Operation: 90-15=75, Resulting Numbers: [38, 19, 75] Generated Node #0,2: 48:[38, 19, 75] Operation: 90-15=75 Exploring Operation: 90-19=71, Resulting Numbers: [38, 15, 71] Generated Node #0,3: 48:[38, 15, 71] Operation: 90-19=71 Exploring Operation: 90/15=6, Resulting Numbers: [38, 19, 6] Generated Node #0,4: 48:[38, 19, 6] Operation: 90/15=6 Moving to Node #0,0 Current State: 48:[19, 15, 52], Operations: ['90-38=52'] Exploring Operation: 19-15=4, Resulting Numbers: [52, 4] Generated Node #0,0,0: 48:[52, 4] Operation: 19-15=4 Exploring Operation: 52-15=37, Resulting Numbers: [19, 37] Generated Node #0,0,1: 48:[19, 37] Operation: 52-15=37 Exploring Operation: 15+52=67, Resulting Numbers: [19, 67] Generated Node #0,0,2: 48:[19, 67] Operation: 15+52=67 Exploring Operation: 19+15=34, Resulting Numbers: [52, 34] Generated Node #0,0,3: 48:[52, 34] Operation: 19+15=34 Exploring Operation: 52-19=33, Resulting Numbers: [15, 33] Generated Node #0,0,4: 48:[15, 33] Operation: 52-19=33 Moving to Node #0,4 Current State: 48:[38, 19, 6], Operations: ['90/15=6'] Exploring Operation: 38-6=32, Resulting Numbers: [19, 32] Generated Node #0,4,0: 48:[19, 32] Operation: 38-6=32 Exploring Operation: 38+19=57, Resulting Numbers: [6, 57] Generated Node #0,4,1: 48:[6, 57] Operation: 38+19=57 Exploring Operation: 38+6=44, Resulting Numbers: [19, 44] Generated Node #0,4,2: 48:[19, 44] Operation: 38+6=44 Exploring Operation: 38-19=19, Resulting Numbers: [6, 19] Generated Node #0,4,3: 48:[6, 19] Operation: 38-19=19 Exploring Operation: 38/19=2, Resulting Numbers: [6, 2] Generated Node #0,4,4: 48:[6, 2] Operation: 38/19=2 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 48:[6, 2], Operations: ['90/15=6', '38/19=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,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,4,3 Current State: 48:[6, 19], Operations: ['90/15=6', '38-19=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,48 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,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,4,2 Current State: 48:[19, 44], Operations: ['90/15=6', '38+6=44'] Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,48 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,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,4,1 Current State: 48:[6, 57], Operations: ['90/15=6', '38+19=57'] Exploring Operation: 6+57=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 6*57=342, Resulting Numbers: [342] 342,48 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,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,4,0 Current State: 48:[19, 32], Operations: ['90/15=6', '38-6=32'] 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 Exploring Operation: 19*32=608, Resulting Numbers: [608] 608,48 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: 48:[38, 15, 71], Operations: ['90-19=71'] Exploring Operation: 71-15=56, Resulting Numbers: [38, 56] Generated Node #0,3,0: 48:[38, 56] Operation: 71-15=56 Exploring Operation: 38-15=23, Resulting Numbers: [71, 23] Generated Node #0,3,1: 48:[71, 23] Operation: 38-15=23 Exploring Operation: 38+15=53, Resulting Numbers: [71, 53] Generated Node #0,3,2: 48:[71, 53] Operation: 38+15=53 Exploring Operation: 71-38=33, Resulting Numbers: [15, 33] Generated Node #0,3,3: 48:[15, 33] Operation: 71-38=33 Exploring Operation: 15+71=86, Resulting Numbers: [38, 86] Generated Node #0,3,4: 48:[38, 86] Operation: 15+71=86 Moving to Node #0,2 Current State: 48:[38, 19, 75], Operations: ['90-15=75'] Exploring Operation: 75-19=56, Resulting Numbers: [38, 56] Generated Node #0,2,0: 48:[38, 56] Operation: 75-19=56 Exploring Operation: 38/19=2, Resulting Numbers: [75, 2] Generated Node #0,2,1: 48:[75, 2] Operation: 38/19=2 Exploring Operation: 38+19=57, Resulting Numbers: [75, 57] Generated Node #0,2,2: 48:[75, 57] Operation: 38+19=57 Exploring Operation: 75-38=37, Resulting Numbers: [19, 37] Generated Node #0,2,3: 48:[19, 37] Operation: 75-38=37 Exploring Operation: 38-19=19, Resulting Numbers: [75, 19] Generated Node #0,2,4: 48:[75, 19] Operation: 38-19=19 Moving to Node #0,1 Current State: 48:[90, 15, 2], Operations: ['38/19=2'] Exploring Operation: 90/2=45, Resulting Numbers: [15, 45] Generated Node #0,1,0: 48:[15, 45] Operation: 90/2=45 Exploring Operation: 90/15=6, Resulting Numbers: [2, 6] Generated Node #0,1,1: 48:[2, 6] Operation: 90/15=6 Exploring Operation: 90-2=88, Resulting Numbers: [15, 88] Generated Node #0,1,2: 48:[15, 88] Operation: 90-2=88 Exploring Operation: 90-15=75, Resulting Numbers: [2, 75] Generated Node #0,1,3: 48:[2, 75] Operation: 90-15=75 Exploring Operation: 15+2=17, Resulting Numbers: [90, 17] Generated Node #0,1,4: 48:[90, 17] Operation: 15+2=17 Moving to Node #0,1,1 Current State: 48:[2, 6], Operations: ['38/19=2', '90/15=6'] Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[52, 4], Operations: ['90-38=52', '19-15=4'] Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[38, 90, 19, 15], Operations: [] Exploring Operation: 90-38=52, Resulting Numbers: [19, 15, 52] Generated Node #0,0: 48:[19, 15, 52] Operation: 90-38=52 Moving to Node #0,0 Current State: 48:[19, 15, 52], Operations: ['90-38=52'] Exploring Operation: 19-15=4, Resulting Numbers: [52, 4] Generated Node #0,0,0: 48:[52, 4] Operation: 19-15=4 Moving to Node #0,0,0 Current State: 48:[52, 4], Operations: ['90-38=52', '19-15=4'] Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.950521
hs_5
mult_heuristic
[ 25, 22, 11, 62 ]
54
[ "25-22=3", "62-11=51", "3+51=54" ]
Current State: 54:[25, 22, 11, 62], Operations: [] Exploring Operation: 25-22=3, Resulting Numbers: [11, 62, 3] Generated Node #2: [11, 62, 3] from Operation: 25-22=3 Current State: 54:[11, 62, 3], Operations: ['25-22=3'] Exploring Operation: 62-11=51, Resulting Numbers: [3, 51] Generated Node #3: [3, 51] from Operation: 62-11=51 Current State: 54:[3, 51], Operations: ['25-22=3', '62-11=51'] Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[25, 22, 11, 62], Operations: [] Exploring Operation: 22/11=2, Resulting Numbers: [25, 62, 2] Generated Node #0,0: 54:[25, 62, 2] Operation: 22/11=2 Exploring Operation: 25-22=3, Resulting Numbers: [11, 62, 3] Generated Node #0,1: 54:[11, 62, 3] Operation: 25-22=3 Exploring Operation: 62-11=51, Resulting Numbers: [25, 22, 51] Generated Node #0,2: 54:[25, 22, 51] Operation: 62-11=51 Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[25, 22, 51], Operations: ['62-11=51'] Exploring Operation: 25-22=3, Resulting Numbers: [51, 3] Generated Node #0,2,0: 54:[51, 3] Operation: 25-22=3 Exploring Operation: 51-25=26, Resulting Numbers: [22, 26] Generated Node #0,2,1: 54:[22, 26] Operation: 51-25=26 Exploring Operation: 51-22=29, Resulting Numbers: [25, 29] Generated Node #0,2,2: 54:[25, 29] Operation: 51-22=29 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 54:[51, 3], Operations: ['62-11=51', '25-22=3'] Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[25, 22, 11, 62], Operations: [] Exploring Operation: 62-11=51, Resulting Numbers: [25, 22, 51] Generated Node #0,2: 54:[25, 22, 51] Operation: 62-11=51 Moving to Node #0,2 Current State: 54:[25, 22, 51], Operations: ['62-11=51'] Exploring Operation: 25-22=3, Resulting Numbers: [51, 3] Generated Node #0,2,0: 54:[51, 3] Operation: 25-22=3 Moving to Node #0,2,0 Current State: 54:[51, 3], Operations: ['62-11=51', '25-22=3'] Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 63, 74, 67, 13 ]
69
[ "74-63=11", "67+13=80", "80-11=69" ]
Current State: 69:[63, 74, 67, 13], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [67, 13, 11] Generated Node #2: [67, 13, 11] from Operation: 74-63=11 Current State: 69:[67, 13, 11], Operations: ['74-63=11'] Exploring Operation: 67+13=80, Resulting Numbers: [11, 80] Generated Node #3: [11, 80] from Operation: 67+13=80 Current State: 69:[11, 80], Operations: ['74-63=11', '67+13=80'] Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[63, 74, 67, 13], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [74, 13, 4] Generated Node #0,0: 69:[74, 13, 4] Operation: 67-63=4 Exploring Operation: 63+13=76, Resulting Numbers: [74, 67, 76] Generated Node #0,1: 69:[74, 67, 76] Operation: 63+13=76 Exploring Operation: 74-63=11, Resulting Numbers: [67, 13, 11] Generated Node #0,2: 69:[67, 13, 11] Operation: 74-63=11 Exploring Operation: 74-67=7, Resulting Numbers: [63, 13, 7] Generated Node #0,3: 69:[63, 13, 7] Operation: 74-67=7 Exploring Operation: 74-13=61, Resulting Numbers: [63, 67, 61] Generated Node #0,4: 69:[63, 67, 61] Operation: 74-13=61 Moving to Node #0,1 Current State: 69:[74, 67, 76], Operations: ['63+13=76'] Exploring Operation: 74-67=7, Resulting Numbers: [76, 7] Generated Node #0,1,0: 69:[76, 7] Operation: 74-67=7 Exploring Operation: 76-67=9, Resulting Numbers: [74, 9] Generated Node #0,1,1: 69:[74, 9] Operation: 76-67=9 Exploring Operation: 67+76=143, Resulting Numbers: [74, 143] Generated Node #0,1,2: 69:[74, 143] Operation: 67+76=143 Exploring Operation: 74+67=141, Resulting Numbers: [76, 141] Generated Node #0,1,3: 69:[76, 141] Operation: 74+67=141 Exploring Operation: 76-74=2, Resulting Numbers: [67, 2] Generated Node #0,1,4: 69:[67, 2] Operation: 76-74=2 Moving to Node #0,4 Current State: 69:[63, 67, 61], Operations: ['74-13=61'] Exploring Operation: 63-61=2, Resulting Numbers: [67, 2] Generated Node #0,4,0: 69:[67, 2] Operation: 63-61=2 Exploring Operation: 67+61=128, Resulting Numbers: [63, 128] Generated Node #0,4,1: 69:[63, 128] Operation: 67+61=128 Exploring Operation: 67-63=4, Resulting Numbers: [61, 4] Generated Node #0,4,2: 69:[61, 4] Operation: 67-63=4 Exploring Operation: 67-61=6, Resulting Numbers: [63, 6] Generated Node #0,4,3: 69:[63, 6] Operation: 67-61=6 Exploring Operation: 63+61=124, Resulting Numbers: [67, 124] Generated Node #0,4,4: 69:[67, 124] Operation: 63+61=124 Moving to Node #0,0 Current State: 69:[74, 13, 4], Operations: ['67-63=4'] Exploring Operation: 74-13=61, Resulting Numbers: [4, 61] Generated Node #0,0,0: 69:[4, 61] Operation: 74-13=61 Exploring Operation: 13-4=9, Resulting Numbers: [74, 9] Generated Node #0,0,1: 69:[74, 9] Operation: 13-4=9 Exploring Operation: 13+4=17, Resulting Numbers: [74, 17] Generated Node #0,0,2: 69:[74, 17] Operation: 13+4=17 Exploring Operation: 74+13=87, Resulting Numbers: [4, 87] Generated Node #0,0,3: 69:[4, 87] Operation: 74+13=87 Exploring Operation: 74-4=70, Resulting Numbers: [13, 70] Generated Node #0,0,4: 69:[13, 70] Operation: 74-4=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[4, 61], Operations: ['67-63=4', '74-13=61'] Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,69 unequal: No Solution Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,69 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,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,1 Current State: 69:[74, 9], Operations: ['67-63=4', '13-4=9'] Exploring Operation: 74+9=83, Resulting Numbers: [83] 83,69 unequal: No Solution Exploring Operation: 74*9=666, Resulting Numbers: [666] 666,69 unequal: No Solution Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,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,2 Current State: 69:[74, 17], Operations: ['67-63=4', '13+4=17'] Exploring Operation: 74+17=91, Resulting Numbers: [91] 91,69 unequal: No Solution Exploring Operation: 74*17=1258, Resulting Numbers: [1258] 1258,69 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,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,4 Current State: 69:[13, 70], Operations: ['67-63=4', '74-4=70'] Exploring Operation: 13*70=910, Resulting Numbers: [910] 910,69 unequal: No Solution Exploring Operation: 13+70=83, Resulting Numbers: [83] 83,69 unequal: No Solution Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,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,3 Current State: 69:[4, 87], Operations: ['67-63=4', '74+13=87'] Exploring Operation: 4*87=348, Resulting Numbers: [348] 348,69 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,69 unequal: No Solution Exploring Operation: 4+87=91, Resulting Numbers: [91] 91,69 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: 69:[67, 13, 11], Operations: ['74-63=11'] Exploring Operation: 13+11=24, Resulting Numbers: [67, 24] Generated Node #0,2,0: 69:[67, 24] Operation: 13+11=24 Exploring Operation: 13-11=2, Resulting Numbers: [67, 2] Generated Node #0,2,1: 69:[67, 2] Operation: 13-11=2 Exploring Operation: 67+11=78, Resulting Numbers: [13, 78] Generated Node #0,2,2: 69:[13, 78] Operation: 67+11=78 Exploring Operation: 67-13=54, Resulting Numbers: [11, 54] Generated Node #0,2,3: 69:[11, 54] Operation: 67-13=54 Exploring Operation: 67+13=80, Resulting Numbers: [11, 80] Generated Node #0,2,4: 69:[11, 80] Operation: 67+13=80 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[67, 24], Operations: ['74-63=11', '13+11=24'] Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,69 unequal: No Solution Exploring Operation: 67*24=1608, Resulting Numbers: [1608] 1608,69 unequal: No Solution Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,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,2,1 Current State: 69:[67, 2], Operations: ['74-63=11', '13-11=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,69 unequal: No Solution Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,69 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[63, 74, 67, 13], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [67, 13, 11] Generated Node #0,2: 69:[67, 13, 11] Operation: 74-63=11 Moving to Node #0,2 Current State: 69:[67, 13, 11], Operations: ['74-63=11'] Exploring Operation: 13-11=2, Resulting Numbers: [67, 2] Generated Node #0,2,1: 69:[67, 2] Operation: 13-11=2 Moving to Node #0,2,1 Current State: 69:[67, 2], Operations: ['74-63=11', '13-11=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_5
mult_heuristic
[ 15, 40, 7, 20 ]
42
[ "15+40=55", "20-7=13", "55-13=42" ]
Current State: 42:[15, 40, 7, 20], Operations: [] Exploring Operation: 15+40=55, Resulting Numbers: [7, 20, 55] Generated Node #2: [7, 20, 55] from Operation: 15+40=55 Current State: 42:[7, 20, 55], Operations: ['15+40=55'] Exploring Operation: 20-7=13, Resulting Numbers: [55, 13] Generated Node #3: [55, 13] from Operation: 20-7=13 Current State: 42:[55, 13], Operations: ['15+40=55', '20-7=13'] Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[15, 40, 7, 20], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [15, 7, 2] Generated Node #0,0: 42:[15, 7, 2] Operation: 40/20=2 Exploring Operation: 40-20=20, Resulting Numbers: [15, 7, 20] Generated Node #0,1: 42:[15, 7, 20] Operation: 40-20=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[15, 7, 2], Operations: ['40/20=2'] Exploring Operation: 15-7=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 42:[2, 8] Operation: 15-7=8 Exploring Operation: 15+7=22, Resulting Numbers: [2, 22] Generated Node #0,0,1: 42:[2, 22] Operation: 15+7=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[2, 8], Operations: ['40/20=2', '15-7=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,42 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: 42:[2, 22], Operations: ['40/20=2', '15+7=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,42 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,42 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: 42:[15, 7, 20], Operations: ['40-20=20'] Exploring Operation: 20-15=5, Resulting Numbers: [7, 5] Generated Node #0,1,0: 42:[7, 5] Operation: 20-15=5 Exploring Operation: 15+7=22, Resulting Numbers: [20, 22] Generated Node #0,1,1: 42:[20, 22] Operation: 15+7=22 Moving to Node #0,1,0 Current State: 42:[7, 5], Operations: ['40-20=20', '20-15=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[20, 22], Operations: ['40-20=20', '15+7=22'] Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[15, 40, 7, 20], Operations: [] Exploring Operation: 40-20=20, Resulting Numbers: [15, 7, 20] Generated Node #0,1: 42:[15, 7, 20] Operation: 40-20=20 Moving to Node #0,1 Current State: 42:[15, 7, 20], Operations: ['40-20=20'] Exploring Operation: 15+7=22, Resulting Numbers: [20, 22] Generated Node #0,1,1: 42:[20, 22] Operation: 15+7=22 Moving to Node #0,1,1 Current State: 42:[20, 22], Operations: ['40-20=20', '15+7=22'] Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 10, 8, 91, 15 ]
94
[ "10+8=18", "91-15=76", "18+76=94" ]
Current State: 94:[10, 8, 91, 15], Operations: [] Exploring Operation: 10+8=18, Resulting Numbers: [91, 15, 18] Generated Node #2: [91, 15, 18] from Operation: 10+8=18 Current State: 94:[91, 15, 18], Operations: ['10+8=18'] Exploring Operation: 91-15=76, Resulting Numbers: [18, 76] Generated Node #3: [18, 76] from Operation: 91-15=76 Current State: 94:[18, 76], Operations: ['10+8=18', '91-15=76'] Exploring Operation: 18+76=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[10, 8, 91, 15], Operations: [] Exploring Operation: 15-10=5, Resulting Numbers: [8, 91, 5] Generated Node #0,0: 94:[8, 91, 5] Operation: 15-10=5 Exploring Operation: 15-8=7, Resulting Numbers: [10, 91, 7] Generated Node #0,1: 94:[10, 91, 7] Operation: 15-8=7 Exploring Operation: 10-8=2, Resulting Numbers: [91, 15, 2] Generated Node #0,2: 94:[91, 15, 2] Operation: 10-8=2 Moving to Node #0,0 Current State: 94:[8, 91, 5], Operations: ['15-10=5'] Exploring Operation: 91+5=96, Resulting Numbers: [8, 96] Generated Node #0,0,0: 94:[8, 96] Operation: 91+5=96 Exploring Operation: 8-5=3, Resulting Numbers: [91, 3] Generated Node #0,0,1: 94:[91, 3] Operation: 8-5=3 Exploring Operation: 8+91=99, Resulting Numbers: [5, 99] Generated Node #0,0,2: 94:[5, 99] Operation: 8+91=99 Moving to Node #0,1 Current State: 94:[10, 91, 7], Operations: ['15-8=7'] Exploring Operation: 91+7=98, Resulting Numbers: [10, 98] Generated Node #0,1,0: 94:[10, 98] Operation: 91+7=98 Exploring Operation: 10+91=101, Resulting Numbers: [7, 101] Generated Node #0,1,1: 94:[7, 101] Operation: 10+91=101 Exploring Operation: 10-7=3, Resulting Numbers: [91, 3] Generated Node #0,1,2: 94:[91, 3] Operation: 10-7=3 Moving to Node #0,2 Current State: 94:[91, 15, 2], Operations: ['10-8=2'] Exploring Operation: 15-2=13, Resulting Numbers: [91, 13] Generated Node #0,2,0: 94:[91, 13] Operation: 15-2=13 Exploring Operation: 91+15=106, Resulting Numbers: [2, 106] Generated Node #0,2,1: 94:[2, 106] Operation: 91+15=106 Exploring Operation: 91+2=93, Resulting Numbers: [15, 93] Generated Node #0,2,2: 94:[15, 93] Operation: 91+2=93 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[2, 106], Operations: ['10-8=2', '91+15=106'] Exploring Operation: 2+106=108, Resulting Numbers: [108] 108,94 unequal: No Solution Exploring Operation: 106/2=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 106-2=104, Resulting Numbers: [104] 104,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,0 Current State: 94:[91, 13], Operations: ['10-8=2', '15-2=13'] Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,94 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,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,2 Current State: 94:[15, 93], Operations: ['10-8=2', '91+2=93'] Exploring Operation: 15+93=108, Resulting Numbers: [108] 108,94 unequal: No Solution Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,94 unequal: No Solution Exploring Operation: 15*93=1395, Resulting Numbers: [1395] 1395,94 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: 94:[91, 3], Operations: ['15-10=5', '8-5=3'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,94 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[10, 8, 91, 15], Operations: [] Exploring Operation: 15-10=5, Resulting Numbers: [8, 91, 5] Generated Node #0,0: 94:[8, 91, 5] Operation: 15-10=5 Moving to Node #0,0 Current State: 94:[8, 91, 5], Operations: ['15-10=5'] Exploring Operation: 8-5=3, Resulting Numbers: [91, 3] Generated Node #0,0,1: 94:[91, 3] Operation: 8-5=3 Moving to Node #0,0,1 Current State: 94:[91, 3], Operations: ['15-10=5', '8-5=3'] Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 48, 74, 37, 56 ]
80
[ "48*37=1776", "1776/74=24", "56+24=80" ]
Current State: 80:[48, 74, 37, 56], Operations: [] Exploring Operation: 48*37=1776, Resulting Numbers: [74, 56, 1776] Generated Node #2: [74, 56, 1776] from Operation: 48*37=1776 Current State: 80:[74, 56, 1776], Operations: ['48*37=1776'] Exploring Operation: 1776/74=24, Resulting Numbers: [56, 24] Generated Node #3: [56, 24] from Operation: 1776/74=24 Current State: 80:[56, 24], Operations: ['48*37=1776', '1776/74=24'] Exploring Operation: 56+24=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[48, 74, 37, 56], Operations: [] Exploring Operation: 56-48=8, Resulting Numbers: [74, 37, 8] Generated Node #0,0: 80:[74, 37, 8] Operation: 56-48=8 Moving to Node #0,0 Current State: 80:[74, 37, 8], Operations: ['56-48=8'] Exploring Operation: 74/37=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 80:[8, 2] Operation: 74/37=2 Moving to Node #0,0,0 Current State: 80:[8, 2], Operations: ['56-48=8', '74/37=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,80 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 50, 89, 51, 43 ]
10
[ "89-51=38", "43-38=5", "50/5=10" ]
Current State: 10:[50, 89, 51, 43], Operations: [] Exploring Operation: 89-51=38, Resulting Numbers: [50, 43, 38] Generated Node #2: [50, 43, 38] from Operation: 89-51=38 Current State: 10:[50, 43, 38], Operations: ['89-51=38'] Exploring Operation: 43-38=5, Resulting Numbers: [50, 5] Generated Node #3: [50, 5] from Operation: 43-38=5 Current State: 10:[50, 5], Operations: ['89-51=38', '43-38=5'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[50, 89, 51, 43], Operations: [] Exploring Operation: 89-51=38, Resulting Numbers: [50, 43, 38] Generated Node #0,0: 10:[50, 43, 38] Operation: 89-51=38 Moving to Node #0,0 Current State: 10:[50, 43, 38], Operations: ['89-51=38'] Exploring Operation: 50-43=7, Resulting Numbers: [38, 7] Generated Node #0,0,0: 10:[38, 7] Operation: 50-43=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[38, 7], Operations: ['89-51=38', '50-43=7'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,10 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
[ 97, 28, 70, 56 ]
99
[ "70-56=14", "28/14=2", "97+2=99" ]
Current State: 99:[97, 28, 70, 56], Operations: [] Exploring Operation: 70-56=14, Resulting Numbers: [97, 28, 14] Generated Node #2: [97, 28, 14] from Operation: 70-56=14 Current State: 99:[97, 28, 14], Operations: ['70-56=14'] Exploring Operation: 28/14=2, Resulting Numbers: [97, 2] Generated Node #3: [97, 2] from Operation: 28/14=2 Current State: 99:[97, 2], Operations: ['70-56=14', '28/14=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[97, 28, 70, 56], Operations: [] Exploring Operation: 56/28=2, Resulting Numbers: [97, 70, 2] Generated Node #0,0: 99:[97, 70, 2] Operation: 56/28=2 Exploring Operation: 70-56=14, Resulting Numbers: [97, 28, 14] Generated Node #0,1: 99:[97, 28, 14] Operation: 70-56=14 Exploring Operation: 97-70=27, Resulting Numbers: [28, 56, 27] Generated Node #0,2: 99:[28, 56, 27] Operation: 97-70=27 Exploring Operation: 28+70=98, Resulting Numbers: [97, 56, 98] Generated Node #0,3: 99:[97, 56, 98] Operation: 28+70=98 Moving to Node #0,1 Current State: 99:[97, 28, 14], Operations: ['70-56=14'] Exploring Operation: 28/14=2, Resulting Numbers: [97, 2] Generated Node #0,1,0: 99:[97, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [97, 14] Generated Node #0,1,1: 99:[97, 14] Operation: 28-14=14 Exploring Operation: 97+14=111, Resulting Numbers: [28, 111] Generated Node #0,1,2: 99:[28, 111] Operation: 97+14=111 Exploring Operation: 28+14=42, Resulting Numbers: [97, 42] Generated Node #0,1,3: 99:[97, 42] Operation: 28+14=42 Moving to Node #0,3 Current State: 99:[97, 56, 98], Operations: ['28+70=98'] Exploring Operation: 97+56=153, Resulting Numbers: [98, 153] Generated Node #0,3,0: 99:[98, 153] Operation: 97+56=153 Exploring Operation: 98-56=42, Resulting Numbers: [97, 42] Generated Node #0,3,1: 99:[97, 42] Operation: 98-56=42 Exploring Operation: 98-97=1, Resulting Numbers: [56, 1] Generated Node #0,3,2: 99:[56, 1] Operation: 98-97=1 Exploring Operation: 97-56=41, Resulting Numbers: [98, 41] Generated Node #0,3,3: 99:[98, 41] Operation: 97-56=41 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 99:[98, 41], Operations: ['28+70=98', '97-56=41'] Exploring Operation: 98-41=57, Resulting Numbers: [57] 57,99 unequal: No Solution Exploring Operation: 98+41=139, Resulting Numbers: [139] 139,99 unequal: No Solution Exploring Operation: 98*41=4018, Resulting Numbers: [4018] 4018,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 99:[97, 42], Operations: ['28+70=98', '98-56=42'] Exploring Operation: 97+42=139, Resulting Numbers: [139] 139,99 unequal: No Solution Exploring Operation: 97*42=4074, Resulting Numbers: [4074] 4074,99 unequal: No Solution Exploring Operation: 97-42=55, Resulting Numbers: [55] 55,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:[56, 1], Operations: ['28+70=98', '98-97=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,99 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,99 unequal: No Solution Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,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:[98, 153], Operations: ['28+70=98', '97+56=153'] Exploring Operation: 153-98=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 98+153=251, Resulting Numbers: [251] 251,99 unequal: No Solution Exploring Operation: 98*153=14994, Resulting Numbers: [14994] 14994,99 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: 99:[97, 70, 2], Operations: ['56/28=2'] Exploring Operation: 70/2=35, Resulting Numbers: [97, 35] Generated Node #0,0,0: 99:[97, 35] Operation: 70/2=35 Exploring Operation: 97+2=99, Resulting Numbers: [70, 99] Generated Node #0,0,1: 99:[70, 99] Operation: 97+2=99 Exploring Operation: 70+2=72, Resulting Numbers: [97, 72] Generated Node #0,0,2: 99:[97, 72] Operation: 70+2=72 Exploring Operation: 97-70=27, Resulting Numbers: [2, 27] Generated Node #0,0,3: 99:[2, 27] Operation: 97-70=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[97, 35], Operations: ['56/28=2', '70/2=35'] Exploring Operation: 97+35=132, Resulting Numbers: [132] 132,99 unequal: No Solution Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,99 unequal: No Solution Exploring Operation: 97*35=3395, Resulting Numbers: [3395] 3395,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,0,3 Current State: 99:[2, 27], Operations: ['56/28=2', '97-70=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,99 unequal: No Solution Exploring Operation: 27-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,0,1 Current State: 99:[70, 99], Operations: ['56/28=2', '97+2=99'] Exploring Operation: 70*99=6930, Resulting Numbers: [6930] 6930,99 unequal: No Solution Exploring Operation: 70+99=169, Resulting Numbers: [169] 169,99 unequal: No Solution Exploring Operation: 99-70=29, Resulting Numbers: [29] 29,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,0,2 Current State: 99:[97, 72], Operations: ['56/28=2', '70+2=72'] Exploring Operation: 97*72=6984, Resulting Numbers: [6984] 6984,99 unequal: No Solution Exploring Operation: 97+72=169, Resulting Numbers: [169] 169,99 unequal: No Solution Exploring Operation: 97-72=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:[28, 56, 27], Operations: ['97-70=27'] Exploring Operation: 56-28=28, Resulting Numbers: [27, 28] Generated Node #0,2,0: 99:[27, 28] Operation: 56-28=28 Exploring Operation: 56/28=2, Resulting Numbers: [27, 2] Generated Node #0,2,1: 99:[27, 2] Operation: 56/28=2 Exploring Operation: 56-27=29, Resulting Numbers: [28, 29] Generated Node #0,2,2: 99:[28, 29] Operation: 56-27=29 Exploring Operation: 28+56=84, Resulting Numbers: [27, 84] Generated Node #0,2,3: 99:[27, 84] Operation: 28+56=84 Moving to Node #0,1,0 Current State: 99:[97, 2], Operations: ['70-56=14', '28/14=2'] Exploring Operation: 97*2=194, Resulting Numbers: [194] 194,99 unequal: No Solution Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[97, 28, 70, 56], Operations: [] Exploring Operation: 70-56=14, Resulting Numbers: [97, 28, 14] Generated Node #0,1: 99:[97, 28, 14] Operation: 70-56=14 Moving to Node #0,1 Current State: 99:[97, 28, 14], Operations: ['70-56=14'] Exploring Operation: 28/14=2, Resulting Numbers: [97, 2] Generated Node #0,1,0: 99:[97, 2] Operation: 28/14=2 Moving to Node #0,1,0 Current State: 99:[97, 2], Operations: ['70-56=14', '28/14=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.955729
hs_4
sum_heuristic
[ 71, 7, 20, 73 ]
15
[ "71+7=78", "20+73=93", "93-78=15" ]
Current State: 15:[71, 7, 20, 73], Operations: [] Exploring Operation: 71+7=78, Resulting Numbers: [20, 73, 78] Generated Node #2: [20, 73, 78] from Operation: 71+7=78 Current State: 15:[20, 73, 78], Operations: ['71+7=78'] Exploring Operation: 20+73=93, Resulting Numbers: [78, 93] Generated Node #3: [78, 93] from Operation: 20+73=93 Current State: 15:[78, 93], Operations: ['71+7=78', '20+73=93'] Exploring Operation: 93-78=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[71, 7, 20, 73], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [7, 20, 2] Generated Node #0,0: 15:[7, 20, 2] Operation: 73-71=2 Moving to Node #0,0 Current State: 15:[7, 20, 2], Operations: ['73-71=2'] Exploring Operation: 20-7=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 15:[2, 13] Operation: 20-7=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[2, 13], Operations: ['73-71=2', '20-7=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[71, 7, 20, 73], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [7, 20, 2] Generated Node #0,0: 15:[7, 20, 2] Operation: 73-71=2 Moving to Node #0,0 Current State: 15:[7, 20, 2], Operations: ['73-71=2'] Exploring Operation: 20-7=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 15:[2, 13] Operation: 20-7=13 Moving to Node #0,0,0 Current State: 15:[2, 13], Operations: ['73-71=2', '20-7=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 75, 85, 2, 37 ]
84
[ "85-75=10", "2*37=74", "10+74=84" ]
Current State: 84:[75, 85, 2, 37], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [2, 37, 10] Generated Node #2: [2, 37, 10] from Operation: 85-75=10 Current State: 84:[2, 37, 10], Operations: ['85-75=10'] Exploring Operation: 2*37=74, Resulting Numbers: [10, 74] Generated Node #3: [10, 74] from Operation: 2*37=74 Current State: 84:[10, 74], Operations: ['85-75=10', '2*37=74'] Exploring Operation: 10+74=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[75, 85, 2, 37], Operations: [] Exploring Operation: 75+2=77, Resulting Numbers: [85, 37, 77] Generated Node #0,0: 84:[85, 37, 77] Operation: 75+2=77 Exploring Operation: 85-75=10, Resulting Numbers: [2, 37, 10] Generated Node #0,1: 84:[2, 37, 10] Operation: 85-75=10 Exploring Operation: 75-37=38, Resulting Numbers: [85, 2, 38] Generated Node #0,2: 84:[85, 2, 38] Operation: 75-37=38 Exploring Operation: 2+37=39, Resulting Numbers: [75, 85, 39] Generated Node #0,3: 84:[75, 85, 39] Operation: 2+37=39 Exploring Operation: 85-2=83, Resulting Numbers: [75, 37, 83] Generated Node #0,4: 84:[75, 37, 83] Operation: 85-2=83 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[85, 2, 38], Operations: ['75-37=38'] Exploring Operation: 85+2=87, Resulting Numbers: [38, 87] Generated Node #0,2,0: 84:[38, 87] Operation: 85+2=87 Exploring Operation: 2+38=40, Resulting Numbers: [85, 40] Generated Node #0,2,1: 84:[85, 40] Operation: 2+38=40 Exploring Operation: 85-2=83, Resulting Numbers: [38, 83] Generated Node #0,2,2: 84:[38, 83] Operation: 85-2=83 Exploring Operation: 85-38=47, Resulting Numbers: [2, 47] Generated Node #0,2,3: 84:[2, 47] Operation: 85-38=47 Exploring Operation: 38/2=19, Resulting Numbers: [85, 19] Generated Node #0,2,4: 84:[85, 19] Operation: 38/2=19 Moving to Node #0,2,1 Current State: 84:[85, 40], Operations: ['75-37=38', '2+38=40'] Exploring Operation: 85*40=3400, Resulting Numbers: [3400] 3400,84 unequal: No Solution Exploring Operation: 85+40=125, Resulting Numbers: [125] 125,84 unequal: No Solution Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,84 unequal: No Solution Moving to Node #0,2,4 Current State: 84:[85, 19], Operations: ['75-37=38', '38/2=19'] Exploring Operation: 85*19=1615, Resulting Numbers: [1615] 1615,84 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,84 unequal: No Solution Exploring Operation: 85+19=104, Resulting Numbers: [104] 104,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[38, 83], Operations: ['75-37=38', '85-2=83'] Exploring Operation: 38+83=121, Resulting Numbers: [121] 121,84 unequal: No Solution Exploring Operation: 38*83=3154, Resulting Numbers: [3154] 3154,84 unequal: No Solution Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,84 unequal: No Solution Moving to Node #0,2,3 Current State: 84:[2, 47], Operations: ['75-37=38', '85-38=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,84 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[38, 87], Operations: ['75-37=38', '85+2=87'] Exploring Operation: 38+87=125, Resulting Numbers: [125] 125,84 unequal: No Solution Exploring Operation: 38*87=3306, Resulting Numbers: [3306] 3306,84 unequal: No Solution Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[2, 37, 10], Operations: ['85-75=10'] Exploring Operation: 2*10=20, Resulting Numbers: [37, 20] Generated Node #0,1,0: 84:[37, 20] Operation: 2*10=20 Exploring Operation: 2+37=39, Resulting Numbers: [10, 39] Generated Node #0,1,1: 84:[10, 39] Operation: 2+37=39 Exploring Operation: 37+10=47, Resulting Numbers: [2, 47] Generated Node #0,1,2: 84:[2, 47] Operation: 37+10=47 Exploring Operation: 2+10=12, Resulting Numbers: [37, 12] Generated Node #0,1,3: 84:[37, 12] Operation: 2+10=12 Exploring Operation: 37-10=27, Resulting Numbers: [2, 27] Generated Node #0,1,4: 84:[2, 27] Operation: 37-10=27 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 84:[2, 27], Operations: ['85-75=10', '37-10=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,84 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 84:[10, 39], Operations: ['85-75=10', '2+37=39'] Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 10+39=49, Resulting Numbers: [49] 49,84 unequal: No Solution Exploring Operation: 10*39=390, Resulting Numbers: [390] 390,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 84:[2, 47], Operations: ['85-75=10', '37+10=47'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,84 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 84:[37, 12], Operations: ['85-75=10', '2+10=12'] Exploring Operation: 37*12=444, Resulting Numbers: [444] 444,84 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,84 unequal: No Solution Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[37, 20], Operations: ['85-75=10', '2*10=20'] Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 37+20=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 37*20=740, Resulting Numbers: [740] 740,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[85, 37, 77], Operations: ['75+2=77'] Exploring Operation: 37+77=114, Resulting Numbers: [85, 114] Generated Node #0,0,0: 84:[85, 114] Operation: 37+77=114 Exploring Operation: 77-37=40, Resulting Numbers: [85, 40] Generated Node #0,0,1: 84:[85, 40] Operation: 77-37=40 Exploring Operation: 85-37=48, Resulting Numbers: [77, 48] Generated Node #0,0,2: 84:[77, 48] Operation: 85-37=48 Exploring Operation: 85-77=8, Resulting Numbers: [37, 8] Generated Node #0,0,3: 84:[37, 8] Operation: 85-77=8 Exploring Operation: 85+37=122, Resulting Numbers: [77, 122] Generated Node #0,0,4: 84:[77, 122] Operation: 85+37=122 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[85, 40], Operations: ['75+2=77', '77-37=40'] Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 85*40=3400, Resulting Numbers: [3400] 3400,84 unequal: No Solution Exploring Operation: 85+40=125, Resulting Numbers: [125] 125,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 84:[37, 8], Operations: ['75+2=77', '85-77=8'] Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,84 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 84:[77, 48], Operations: ['75+2=77', '85-37=48'] Exploring Operation: 77+48=125, Resulting Numbers: [125] 125,84 unequal: No Solution Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 77*48=3696, Resulting Numbers: [3696] 3696,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[85, 114], Operations: ['75+2=77', '37+77=114'] Exploring Operation: 85+114=199, Resulting Numbers: [199] 199,84 unequal: No Solution Exploring Operation: 114-85=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 85*114=9690, Resulting Numbers: [9690] 9690,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 84:[77, 122], Operations: ['75+2=77', '85+37=122'] Exploring Operation: 77+122=199, Resulting Numbers: [199] 199,84 unequal: No Solution Exploring Operation: 122-77=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 77*122=9394, Resulting Numbers: [9394] 9394,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 84:[75, 85, 39], Operations: ['2+37=39'] Exploring Operation: 85+39=124, Resulting Numbers: [75, 124] Generated Node #0,3,0: 84:[75, 124] Operation: 85+39=124 Exploring Operation: 85-39=46, Resulting Numbers: [75, 46] Generated Node #0,3,1: 84:[75, 46] Operation: 85-39=46 Exploring Operation: 75+39=114, Resulting Numbers: [85, 114] Generated Node #0,3,2: 84:[85, 114] Operation: 75+39=114 Exploring Operation: 85-75=10, Resulting Numbers: [39, 10] Generated Node #0,3,3: 84:[39, 10] Operation: 85-75=10 Exploring Operation: 75-39=36, Resulting Numbers: [85, 36] Generated Node #0,3,4: 84:[85, 36] Operation: 75-39=36 Moving to Node #0,3,3 Current State: 84:[39, 10], Operations: ['2+37=39', '85-75=10'] Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,84 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 39*10=390, Resulting Numbers: [390] 390,84 unequal: No Solution Moving to Node #0,3,4 Current State: 84:[85, 36], Operations: ['2+37=39', '75-39=36'] Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,84 unequal: No Solution Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,84 unequal: No Solution Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,84 unequal: No Solution Moving to Node #0,3,1 Current State: 84:[75, 46], Operations: ['2+37=39', '85-39=46'] Exploring Operation: 75+46=121, Resulting Numbers: [121] 121,84 unequal: No Solution Exploring Operation: 75-46=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 75*46=3450, Resulting Numbers: [3450] 3450,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[85, 114], Operations: ['2+37=39', '75+39=114'] Exploring Operation: 85+114=199, Resulting Numbers: [199] 199,84 unequal: No Solution Exploring Operation: 114-85=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 85*114=9690, Resulting Numbers: [9690] 9690,84 unequal: No Solution Moving to Node #0,3,0 Current State: 84:[75, 124], Operations: ['2+37=39', '85+39=124'] Exploring Operation: 124-75=49, Resulting Numbers: [49] 49,84 unequal: No Solution Exploring Operation: 75*124=9300, Resulting Numbers: [9300] 9300,84 unequal: No Solution Exploring Operation: 75+124=199, Resulting Numbers: [199] 199,84 unequal: No Solution No 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: 84:[75, 37, 83], Operations: ['85-2=83'] Exploring Operation: 75+37=112, Resulting Numbers: [83, 112] Generated Node #0,4,0: 84:[83, 112] Operation: 75+37=112 Exploring Operation: 83-37=46, Resulting Numbers: [75, 46] Generated Node #0,4,1: 84:[75, 46] Operation: 83-37=46 Exploring Operation: 75-37=38, Resulting Numbers: [83, 38] Generated Node #0,4,2: 84:[83, 38] Operation: 75-37=38 Exploring Operation: 83-75=8, Resulting Numbers: [37, 8] Generated Node #0,4,3: 84:[37, 8] Operation: 83-75=8 Exploring Operation: 37+83=120, Resulting Numbers: [75, 120] Generated Node #0,4,4: 84:[75, 120] Operation: 37+83=120 Moving to Node #0,4,2 Current State: 84:[83, 38], Operations: ['85-2=83', '75-37=38'] Exploring Operation: 83+38=121, Resulting Numbers: [121] 121,84 unequal: No Solution Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 83*38=3154, Resulting Numbers: [3154] 3154,84 unequal: No Solution Moving to Node #0,4,3 Current State: 84:[37, 8], Operations: ['85-2=83', '83-75=8'] Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,84 unequal: No Solution Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,84 unequal: No Solution Moving to Node #0,4,1 Current State: 84:[75, 46], Operations: ['85-2=83', '83-37=46'] Exploring Operation: 75+46=121, Resulting Numbers: [121] 121,84 unequal: No Solution Exploring Operation: 75-46=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 75*46=3450, Resulting Numbers: [3450] 3450,84 unequal: No Solution Moving to Node #0,4,0 Current State: 84:[83, 112], Operations: ['85-2=83', '75+37=112'] Exploring Operation: 83*112=9296, Resulting Numbers: [9296] 9296,84 unequal: No Solution Exploring Operation: 83+112=195, Resulting Numbers: [195] 195,84 unequal: No Solution Exploring Operation: 112-83=29, Resulting Numbers: [29] 29,84 unequal: No Solution Moving to Node #0,4,4 Current State: 84:[75, 120], Operations: ['85-2=83', '37+83=120'] Exploring Operation: 75*120=9000, Resulting Numbers: [9000] 9000,84 unequal: No Solution Exploring Operation: 120-75=45, Resulting Numbers: [45] 45,84 unequal: No Solution Exploring Operation: 75+120=195, Resulting Numbers: [195] 195,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 33, 40, 32, 56 ]
15
[ "33+40=73", "32+56=88", "88-73=15" ]
Current State: 15:[33, 40, 32, 56], Operations: [] Exploring Operation: 33+40=73, Resulting Numbers: [32, 56, 73] Generated Node #2: [32, 56, 73] from Operation: 33+40=73 Current State: 15:[32, 56, 73], Operations: ['33+40=73'] Exploring Operation: 32+56=88, Resulting Numbers: [73, 88] Generated Node #3: [73, 88] from Operation: 32+56=88 Current State: 15:[73, 88], Operations: ['33+40=73', '32+56=88'] Exploring Operation: 88-73=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[33, 40, 32, 56], Operations: [] Exploring Operation: 56-40=16, Resulting Numbers: [33, 32, 16] Generated Node #0,0: 15:[33, 32, 16] Operation: 56-40=16 Exploring Operation: 56-32=24, Resulting Numbers: [33, 40, 24] Generated Node #0,1: 15:[33, 40, 24] Operation: 56-32=24 Exploring Operation: 56-33=23, Resulting Numbers: [40, 32, 23] Generated Node #0,2: 15:[40, 32, 23] Operation: 56-33=23 Moving to Node #0,0 Current State: 15:[33, 32, 16], Operations: ['56-40=16'] Exploring Operation: 33-16=17, Resulting Numbers: [32, 17] Generated Node #0,0,0: 15:[32, 17] Operation: 33-16=17 Exploring Operation: 33-32=1, Resulting Numbers: [16, 1] Generated Node #0,0,1: 15:[16, 1] Operation: 33-32=1 Exploring Operation: 32-16=16, Resulting Numbers: [33, 16] Generated Node #0,0,2: 15:[33, 16] Operation: 32-16=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[16, 1], Operations: ['56-40=16', '33-32=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[33, 40, 32, 56], Operations: [] Exploring Operation: 56-40=16, Resulting Numbers: [33, 32, 16] Generated Node #0,0: 15:[33, 32, 16] Operation: 56-40=16 Moving to Node #0,0 Current State: 15:[33, 32, 16], Operations: ['56-40=16'] Exploring Operation: 33-32=1, Resulting Numbers: [16, 1] Generated Node #0,0,1: 15:[16, 1] Operation: 33-32=1 Moving to Node #0,0,1 Current State: 15:[16, 1], Operations: ['56-40=16', '33-32=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 74, 34, 29, 44 ]
33
[ "74-34=40", "29+44=73", "73-40=33" ]
Current State: 33:[74, 34, 29, 44], Operations: [] Exploring Operation: 74-34=40, Resulting Numbers: [29, 44, 40] Generated Node #2: [29, 44, 40] from Operation: 74-34=40 Current State: 33:[29, 44, 40], Operations: ['74-34=40'] Exploring Operation: 29+44=73, Resulting Numbers: [40, 73] Generated Node #3: [40, 73] from Operation: 29+44=73 Current State: 33:[40, 73], Operations: ['74-34=40', '29+44=73'] Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[74, 34, 29, 44], Operations: [] Exploring Operation: 74-34=40, Resulting Numbers: [29, 44, 40] Generated Node #0,0: 33:[29, 44, 40] Operation: 74-34=40 Exploring Operation: 74-29=45, Resulting Numbers: [34, 44, 45] Generated Node #0,1: 33:[34, 44, 45] Operation: 74-29=45 Exploring Operation: 74-44=30, Resulting Numbers: [34, 29, 30] Generated Node #0,2: 33:[34, 29, 30] Operation: 74-44=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[34, 29, 30], Operations: ['74-44=30'] Exploring Operation: 34-29=5, Resulting Numbers: [30, 5] Generated Node #0,2,0: 33:[30, 5] Operation: 34-29=5 Exploring Operation: 30-29=1, Resulting Numbers: [34, 1] Generated Node #0,2,1: 33:[34, 1] Operation: 30-29=1 Exploring Operation: 34-30=4, Resulting Numbers: [29, 4] Generated Node #0,2,2: 33:[29, 4] Operation: 34-30=4 Moving to Node #0,2,1 Current State: 33:[34, 1], Operations: ['74-44=30', '30-29=1'] Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[74, 34, 29, 44], Operations: [] Exploring Operation: 74-44=30, Resulting Numbers: [34, 29, 30] Generated Node #0,2: 33:[34, 29, 30] Operation: 74-44=30 Moving to Node #0,2 Current State: 33:[34, 29, 30], Operations: ['74-44=30'] Exploring Operation: 30-29=1, Resulting Numbers: [34, 1] Generated Node #0,2,1: 33:[34, 1] Operation: 30-29=1 Moving to Node #0,2,1 Current State: 33:[34, 1], Operations: ['74-44=30', '30-29=1'] Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 3, 38, 33, 82 ]
80
[ "38-3=35", "33+82=115", "115-35=80" ]
Current State: 80:[3, 38, 33, 82], Operations: [] Exploring Operation: 38-3=35, Resulting Numbers: [33, 82, 35] Generated Node #2: [33, 82, 35] from Operation: 38-3=35 Current State: 80:[33, 82, 35], Operations: ['38-3=35'] Exploring Operation: 33+82=115, Resulting Numbers: [35, 115] Generated Node #3: [35, 115] from Operation: 33+82=115 Current State: 80:[35, 115], Operations: ['38-3=35', '33+82=115'] Exploring Operation: 115-35=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[3, 38, 33, 82], Operations: [] Exploring Operation: 3+38=41, Resulting Numbers: [33, 82, 41] Generated Node #0,0: 80:[33, 82, 41] Operation: 3+38=41 Exploring Operation: 33/3=11, Resulting Numbers: [38, 82, 11] Generated Node #0,1: 80:[38, 82, 11] Operation: 33/3=11 Exploring Operation: 82-3=79, Resulting Numbers: [38, 33, 79] Generated Node #0,2: 80:[38, 33, 79] Operation: 82-3=79 Exploring Operation: 38-33=5, Resulting Numbers: [3, 82, 5] Generated Node #0,3: 80:[3, 82, 5] Operation: 38-33=5 Exploring Operation: 3+33=36, Resulting Numbers: [38, 82, 36] Generated Node #0,4: 80:[38, 82, 36] Operation: 3+33=36 Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[3, 82, 5], Operations: ['38-33=5'] Exploring Operation: 82-3=79, Resulting Numbers: [5, 79] Generated Node #0,3,0: 80:[5, 79] Operation: 82-3=79 Exploring Operation: 3+5=8, Resulting Numbers: [82, 8] Generated Node #0,3,1: 80:[82, 8] Operation: 3+5=8 Exploring Operation: 82-5=77, Resulting Numbers: [3, 77] Generated Node #0,3,2: 80:[3, 77] Operation: 82-5=77 Exploring Operation: 3*5=15, Resulting Numbers: [82, 15] Generated Node #0,3,3: 80:[82, 15] Operation: 3*5=15 Exploring Operation: 5-3=2, Resulting Numbers: [82, 2] Generated Node #0,3,4: 80:[82, 2] Operation: 5-3=2 Moving to Node #0,3,0 Current State: 80:[5, 79], Operations: ['38-33=5', '82-3=79'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,80 unequal: No Solution Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,80 unequal: No Solution Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,80 unequal: No Solution Moving to Node #0,3,4 Current State: 80:[82, 2], Operations: ['38-33=5', '5-3=2'] Exploring Operation: 82*2=164, Resulting Numbers: [164] 164,80 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[3, 38, 33, 82], Operations: [] Exploring Operation: 38-33=5, Resulting Numbers: [3, 82, 5] Generated Node #0,3: 80:[3, 82, 5] Operation: 38-33=5 Moving to Node #0,3 Current State: 80:[3, 82, 5], Operations: ['38-33=5'] Exploring Operation: 5-3=2, Resulting Numbers: [82, 2] Generated Node #0,3,4: 80:[82, 2] Operation: 5-3=2 Moving to Node #0,3,4 Current State: 80:[82, 2], Operations: ['38-33=5', '5-3=2'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 99, 39, 15, 54 ]
36
[ "99-54=45", "45/15=3", "39-3=36" ]
Current State: 36:[99, 39, 15, 54], Operations: [] Exploring Operation: 99-54=45, Resulting Numbers: [39, 15, 45] Generated Node #2: [39, 15, 45] from Operation: 99-54=45 Current State: 36:[39, 15, 45], Operations: ['99-54=45'] Exploring Operation: 45/15=3, Resulting Numbers: [39, 3] Generated Node #3: [39, 3] from Operation: 45/15=3 Current State: 36:[39, 3], Operations: ['99-54=45', '45/15=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[99, 39, 15, 54], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [15, 54, 60] Generated Node #0,0: 36:[15, 54, 60] Operation: 99-39=60 Exploring Operation: 99-54=45, Resulting Numbers: [39, 15, 45] Generated Node #0,1: 36:[39, 15, 45] Operation: 99-54=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[39, 15, 45], Operations: ['99-54=45'] Exploring Operation: 45-39=6, Resulting Numbers: [15, 6] Generated Node #0,1,0: 36:[15, 6] Operation: 45-39=6 Exploring Operation: 45/15=3, Resulting Numbers: [39, 3] Generated Node #0,1,1: 36:[39, 3] Operation: 45/15=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[15, 6], Operations: ['99-54=45', '45-39=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,36 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: 36:[39, 3], Operations: ['99-54=45', '45/15=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[99, 39, 15, 54], Operations: [] Exploring Operation: 99-54=45, Resulting Numbers: [39, 15, 45] Generated Node #0,1: 36:[39, 15, 45] Operation: 99-54=45 Moving to Node #0,1 Current State: 36:[39, 15, 45], Operations: ['99-54=45'] Exploring Operation: 45/15=3, Resulting Numbers: [39, 3] Generated Node #0,1,1: 36:[39, 3] Operation: 45/15=3 Moving to Node #0,1,1 Current State: 36:[39, 3], Operations: ['99-54=45', '45/15=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 69, 21, 18, 78 ]
30
[ "69+21=90", "78-18=60", "90-60=30" ]
Current State: 30:[69, 21, 18, 78], Operations: [] Exploring Operation: 69+21=90, Resulting Numbers: [18, 78, 90] Generated Node #2: [18, 78, 90] from Operation: 69+21=90 Current State: 30:[18, 78, 90], Operations: ['69+21=90'] Exploring Operation: 78-18=60, Resulting Numbers: [90, 60] Generated Node #3: [90, 60] from Operation: 78-18=60 Current State: 30:[90, 60], Operations: ['69+21=90', '78-18=60'] Exploring Operation: 90-60=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[69, 21, 18, 78], Operations: [] Exploring Operation: 78-69=9, Resulting Numbers: [21, 18, 9] Generated Node #0,0: 30:[21, 18, 9] Operation: 78-69=9 Moving to Node #0,0 Current State: 30:[21, 18, 9], Operations: ['78-69=9'] Exploring Operation: 21-18=3, Resulting Numbers: [9, 3] Generated Node #0,0,0: 30:[9, 3] Operation: 21-18=3 Moving to Node #0,0,0 Current State: 30:[9, 3], Operations: ['78-69=9', '21-18=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,30 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 79, 25, 72, 36 ]
56
[ "79-25=54", "72/36=2", "54+2=56" ]
Current State: 56:[79, 25, 72, 36], Operations: [] Exploring Operation: 79-25=54, Resulting Numbers: [72, 36, 54] Generated Node #2: [72, 36, 54] from Operation: 79-25=54 Current State: 56:[72, 36, 54], Operations: ['79-25=54'] Exploring Operation: 72/36=2, Resulting Numbers: [54, 2] Generated Node #3: [54, 2] from Operation: 72/36=2 Current State: 56:[54, 2], Operations: ['79-25=54', '72/36=2'] Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[79, 25, 72, 36], Operations: [] Exploring Operation: 79-72=7, Resulting Numbers: [25, 36, 7] Generated Node #0,0: 56:[25, 36, 7] Operation: 79-72=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[25, 36, 7], Operations: ['79-72=7'] Exploring Operation: 36-25=11, Resulting Numbers: [7, 11] Generated Node #0,0,0: 56:[7, 11] Operation: 36-25=11 Moving to Node #0,0,0 Current State: 56:[7, 11], Operations: ['79-72=7', '36-25=11'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,56 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
[ 5, 4, 66, 55 ]
31
[ "5*4=20", "66-55=11", "20+11=31" ]
Current State: 31:[5, 4, 66, 55], Operations: [] Exploring Operation: 5*4=20, Resulting Numbers: [66, 55, 20] Generated Node #2: [66, 55, 20] from Operation: 5*4=20 Current State: 31:[66, 55, 20], Operations: ['5*4=20'] Exploring Operation: 66-55=11, Resulting Numbers: [20, 11] Generated Node #3: [20, 11] from Operation: 66-55=11 Current State: 31:[20, 11], Operations: ['5*4=20', '66-55=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[5, 4, 66, 55], Operations: [] Exploring Operation: 66-55=11, Resulting Numbers: [5, 4, 11] Generated Node #0,0: 31:[5, 4, 11] Operation: 66-55=11 Exploring Operation: 5+4=9, Resulting Numbers: [66, 55, 9] Generated Node #0,1: 31:[66, 55, 9] Operation: 5+4=9 Exploring Operation: 5*4=20, Resulting Numbers: [66, 55, 20] Generated Node #0,2: 31:[66, 55, 20] Operation: 5*4=20 Moving to Node #0,2 Current State: 31:[66, 55, 20], Operations: ['5*4=20'] Exploring Operation: 66-20=46, Resulting Numbers: [55, 46] Generated Node #0,2,0: 31:[55, 46] Operation: 66-20=46 Exploring Operation: 66-55=11, Resulting Numbers: [20, 11] Generated Node #0,2,1: 31:[20, 11] Operation: 66-55=11 Exploring Operation: 55-20=35, Resulting Numbers: [66, 35] Generated Node #0,2,2: 31:[66, 35] Operation: 55-20=35 Moving to Node #0,0 Current State: 31:[5, 4, 11], Operations: ['66-55=11'] Exploring Operation: 4*11=44, Resulting Numbers: [5, 44] Generated Node #0,0,0: 31:[5, 44] Operation: 4*11=44 Exploring Operation: 5+4=9, Resulting Numbers: [11, 9] Generated Node #0,0,1: 31:[11, 9] Operation: 5+4=9 Exploring Operation: 5*4=20, Resulting Numbers: [11, 20] Generated Node #0,0,2: 31:[11, 20] Operation: 5*4=20 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 31:[11, 20], Operations: ['66-55=11', '5*4=20'] Exploring Operation: 11*20=220, Resulting Numbers: [220] 220,31 unequal: No Solution Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[5, 4, 66, 55], Operations: [] Exploring Operation: 66-55=11, Resulting Numbers: [5, 4, 11] Generated Node #0,0: 31:[5, 4, 11] Operation: 66-55=11 Moving to Node #0,0 Current State: 31:[5, 4, 11], Operations: ['66-55=11'] Exploring Operation: 5*4=20, Resulting Numbers: [11, 20] Generated Node #0,0,2: 31:[11, 20] Operation: 5*4=20 Moving to Node #0,0,2 Current State: 31:[11, 20], Operations: ['66-55=11', '5*4=20'] Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 5, 35, 2, 44 ]
59
[ "35-5=30", "30/2=15", "44+15=59" ]
Current State: 59:[5, 35, 2, 44], Operations: [] Exploring Operation: 35-5=30, Resulting Numbers: [2, 44, 30] Generated Node #2: [2, 44, 30] from Operation: 35-5=30 Current State: 59:[2, 44, 30], Operations: ['35-5=30'] Exploring Operation: 30/2=15, Resulting Numbers: [44, 15] Generated Node #3: [44, 15] from Operation: 30/2=15 Current State: 59:[44, 15], Operations: ['35-5=30', '30/2=15'] Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[5, 35, 2, 44], Operations: [] Exploring Operation: 35*2=70, Resulting Numbers: [5, 44, 70] Generated Node #0,0: 59:[5, 44, 70] Operation: 35*2=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[5, 44, 70], Operations: ['35*2=70'] Exploring Operation: 5+44=49, Resulting Numbers: [70, 49] Generated Node #0,0,0: 59:[70, 49] Operation: 5+44=49 Moving to Node #0,0,0 Current State: 59:[70, 49], Operations: ['35*2=70', '5+44=49'] Exploring Operation: 70-49=21, Resulting Numbers: [21] 21,59 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
[ 8, 91, 86, 89 ]
51
[ "91-89=2", "86/2=43", "8+43=51" ]
Current State: 51:[8, 91, 86, 89], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [8, 86, 2] Generated Node #2: [8, 86, 2] from Operation: 91-89=2 Current State: 51:[8, 86, 2], Operations: ['91-89=2'] Exploring Operation: 86/2=43, Resulting Numbers: [8, 43] Generated Node #3: [8, 43] from Operation: 86/2=43 Current State: 51:[8, 43], Operations: ['91-89=2', '86/2=43'] Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[8, 91, 86, 89], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [8, 86, 2] Generated Node #0,0: 51:[8, 86, 2] Operation: 91-89=2 Exploring Operation: 89-86=3, Resulting Numbers: [8, 91, 3] Generated Node #0,1: 51:[8, 91, 3] Operation: 89-86=3 Exploring Operation: 91-8=83, Resulting Numbers: [86, 89, 83] Generated Node #0,2: 51:[86, 89, 83] Operation: 91-8=83 Exploring Operation: 91-86=5, Resulting Numbers: [8, 89, 5] Generated Node #0,3: 51:[8, 89, 5] Operation: 91-86=5 Exploring Operation: 86-8=78, Resulting Numbers: [91, 89, 78] Generated Node #0,4: 51:[91, 89, 78] Operation: 86-8=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[8, 86, 2], Operations: ['91-89=2'] Exploring Operation: 8-2=6, Resulting Numbers: [86, 6] Generated Node #0,0,0: 51:[86, 6] Operation: 8-2=6 Exploring Operation: 8/2=4, Resulting Numbers: [86, 4] Generated Node #0,0,1: 51:[86, 4] Operation: 8/2=4 Exploring Operation: 86/2=43, Resulting Numbers: [8, 43] Generated Node #0,0,2: 51:[8, 43] Operation: 86/2=43 Exploring Operation: 86-8=78, Resulting Numbers: [2, 78] Generated Node #0,0,3: 51:[2, 78] Operation: 86-8=78 Exploring Operation: 8*2=16, Resulting Numbers: [86, 16] Generated Node #0,0,4: 51:[86, 16] Operation: 8*2=16 Moving to Node #0,0,2 Current State: 51:[8, 43], Operations: ['91-89=2', '86/2=43'] Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[8, 91, 86, 89], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [8, 86, 2] Generated Node #0,0: 51:[8, 86, 2] Operation: 91-89=2 Moving to Node #0,0 Current State: 51:[8, 86, 2], Operations: ['91-89=2'] Exploring Operation: 86/2=43, Resulting Numbers: [8, 43] Generated Node #0,0,2: 51:[8, 43] Operation: 86/2=43 Moving to Node #0,0,2 Current State: 51:[8, 43], Operations: ['91-89=2', '86/2=43'] Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 25, 17, 89, 90 ]
12
[ "25+89=114", "90+114=204", "204/17=12" ]
Current State: 12:[25, 17, 89, 90], Operations: [] Exploring Operation: 25+89=114, Resulting Numbers: [17, 90, 114] Generated Node #2: [17, 90, 114] from Operation: 25+89=114 Current State: 12:[17, 90, 114], Operations: ['25+89=114'] Exploring Operation: 90+114=204, Resulting Numbers: [17, 204] Generated Node #3: [17, 204] from Operation: 90+114=204 Current State: 12:[17, 204], Operations: ['25+89=114', '90+114=204'] Exploring Operation: 204/17=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[25, 17, 89, 90], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [25, 17, 1] Generated Node #0,0: 12:[25, 17, 1] Operation: 90-89=1 Exploring Operation: 89-25=64, Resulting Numbers: [17, 90, 64] Generated Node #0,1: 12:[17, 90, 64] Operation: 89-25=64 Exploring Operation: 90-25=65, Resulting Numbers: [17, 89, 65] Generated Node #0,2: 12:[17, 89, 65] Operation: 90-25=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[25, 17, 1], Operations: ['90-89=1'] Exploring Operation: 25-1=24, Resulting Numbers: [17, 24] Generated Node #0,0,0: 12:[17, 24] Operation: 25-1=24 Exploring Operation: 17-1=16, Resulting Numbers: [25, 16] Generated Node #0,0,1: 12:[25, 16] Operation: 17-1=16 Exploring Operation: 25-17=8, Resulting Numbers: [1, 8] Generated Node #0,0,2: 12:[1, 8] Operation: 25-17=8 Moving to Node #0,0,2 Current State: 12:[1, 8], Operations: ['90-89=1', '25-17=8'] Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[17, 24], Operations: ['90-89=1', '25-1=24'] Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,12 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[25, 16], Operations: ['90-89=1', '17-1=16'] Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,12 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,12 unequal: No Solution No 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: 12:[17, 90, 64], Operations: ['89-25=64'] Exploring Operation: 90-17=73, Resulting Numbers: [64, 73] Generated Node #0,1,0: 12:[64, 73] Operation: 90-17=73 Exploring Operation: 90-64=26, Resulting Numbers: [17, 26] Generated Node #0,1,1: 12:[17, 26] Operation: 90-64=26 Exploring Operation: 64-17=47, Resulting Numbers: [90, 47] Generated Node #0,1,2: 12:[90, 47] Operation: 64-17=47 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[17, 26], Operations: ['89-25=64', '90-64=26'] Exploring Operation: 17*26=442, Resulting Numbers: [442] 442,12 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,12 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: 12:[64, 73], Operations: ['89-25=64', '90-17=73'] Exploring Operation: 73-64=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 64+73=137, Resulting Numbers: [137] 137,12 unequal: No Solution Exploring Operation: 64*73=4672, Resulting Numbers: [4672] 4672,12 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: 12:[90, 47], Operations: ['89-25=64', '64-17=47'] Exploring Operation: 90*47=4230, Resulting Numbers: [4230] 4230,12 unequal: No Solution Exploring Operation: 90+47=137, Resulting Numbers: [137] 137,12 unequal: No Solution Exploring Operation: 90-47=43, Resulting Numbers: [43] 43,12 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: 12:[17, 89, 65], Operations: ['90-25=65'] Exploring Operation: 89-17=72, Resulting Numbers: [65, 72] Generated Node #0,2,0: 12:[65, 72] Operation: 89-17=72 Exploring Operation: 65-17=48, Resulting Numbers: [89, 48] Generated Node #0,2,1: 12:[89, 48] Operation: 65-17=48 Exploring Operation: 89-65=24, Resulting Numbers: [17, 24] Generated Node #0,2,2: 12:[17, 24] Operation: 89-65=24 Moving to Node #0,2,2 Current State: 12:[17, 24], Operations: ['90-25=65', '89-65=24'] Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,12 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[65, 72], Operations: ['90-25=65', '89-17=72'] Exploring Operation: 65*72=4680, Resulting Numbers: [4680] 4680,12 unequal: No Solution Exploring Operation: 65+72=137, Resulting Numbers: [137] 137,12 unequal: No Solution Exploring Operation: 72-65=7, Resulting Numbers: [7] 7,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[89, 48], Operations: ['90-25=65', '65-17=48'] Exploring Operation: 89-48=41, Resulting Numbers: [41] 41,12 unequal: No Solution Exploring Operation: 89*48=4272, Resulting Numbers: [4272] 4272,12 unequal: No Solution Exploring Operation: 89+48=137, Resulting Numbers: [137] 137,12 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
[ 40, 13, 9, 54 ]
56
[ "54-40=14", "13-9=4", "14*4=56" ]
Current State: 56:[40, 13, 9, 54], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [13, 9, 14] Generated Node #2: [13, 9, 14] from Operation: 54-40=14 Current State: 56:[13, 9, 14], Operations: ['54-40=14'] Exploring Operation: 13-9=4, Resulting Numbers: [14, 4] Generated Node #3: [14, 4] from Operation: 13-9=4 Current State: 56:[14, 4], Operations: ['54-40=14', '13-9=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[40, 13, 9, 54], Operations: [] Exploring Operation: 40+13=53, Resulting Numbers: [9, 54, 53] Generated Node #0,0: 56:[9, 54, 53] Operation: 40+13=53 Exploring Operation: 40+9=49, Resulting Numbers: [13, 54, 49] Generated Node #0,1: 56:[13, 54, 49] Operation: 40+9=49 Exploring Operation: 40-9=31, Resulting Numbers: [13, 54, 31] Generated Node #0,2: 56:[13, 54, 31] Operation: 40-9=31 Exploring Operation: 54-40=14, Resulting Numbers: [13, 9, 14] Generated Node #0,3: 56:[13, 9, 14] Operation: 54-40=14 Exploring Operation: 40-13=27, Resulting Numbers: [9, 54, 27] Generated Node #0,4: 56:[9, 54, 27] Operation: 40-13=27 Moving to Node #0,3 Current State: 56:[13, 9, 14], Operations: ['54-40=14'] Exploring Operation: 14-13=1, Resulting Numbers: [9, 1] Generated Node #0,3,0: 56:[9, 1] Operation: 14-13=1 Exploring Operation: 13-9=4, Resulting Numbers: [14, 4] Generated Node #0,3,1: 56:[14, 4] Operation: 13-9=4 Exploring Operation: 14-9=5, Resulting Numbers: [13, 5] Generated Node #0,3,2: 56:[13, 5] Operation: 14-9=5 Exploring Operation: 13+14=27, Resulting Numbers: [9, 27] Generated Node #0,3,3: 56:[9, 27] Operation: 13+14=27 Exploring Operation: 13+9=22, Resulting Numbers: [14, 22] Generated Node #0,3,4: 56:[14, 22] Operation: 13+9=22 Moving to Node #0,4 Current State: 56:[9, 54, 27], Operations: ['40-13=27'] Exploring Operation: 54-27=27, Resulting Numbers: [9, 27] Generated Node #0,4,0: 56:[9, 27] Operation: 54-27=27 Exploring Operation: 54/9=6, Resulting Numbers: [27, 6] Generated Node #0,4,1: 56:[27, 6] Operation: 54/9=6 Exploring Operation: 27-9=18, Resulting Numbers: [54, 18] Generated Node #0,4,2: 56:[54, 18] Operation: 27-9=18 Exploring Operation: 27/9=3, Resulting Numbers: [54, 3] Generated Node #0,4,3: 56:[54, 3] Operation: 27/9=3 Exploring Operation: 54/27=2, Resulting Numbers: [9, 2] Generated Node #0,4,4: 56:[9, 2] Operation: 54/27=2 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 56:[9, 2], Operations: ['40-13=27', '54/27=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,56 unequal: No Solution No 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: 56:[9, 27], Operations: ['40-13=27', '54-27=27'] Exploring Operation: 9*27=243, Resulting Numbers: [243] 243,56 unequal: No Solution Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,56 unequal: No Solution No 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: 56:[27, 6], Operations: ['40-13=27', '54/9=6'] Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,56 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,56 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,56 unequal: No Solution No 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: 56:[54, 3], Operations: ['40-13=27', '27/9=3'] Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,56 unequal: No Solution Exploring Operation: 54*3=162, Resulting Numbers: [162] 162,56 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,56 unequal: No Solution No 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: 56:[54, 18], Operations: ['40-13=27', '27-9=18'] Exploring Operation: 54*18=972, Resulting Numbers: [972] 972,56 unequal: No Solution Exploring Operation: 54+18=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,56 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: 56:[9, 54, 53], Operations: ['40+13=53'] Exploring Operation: 54-53=1, Resulting Numbers: [9, 1] Generated Node #0,0,0: 56:[9, 1] Operation: 54-53=1 Exploring Operation: 54/9=6, Resulting Numbers: [53, 6] Generated Node #0,0,1: 56:[53, 6] Operation: 54/9=6 Exploring Operation: 9+53=62, Resulting Numbers: [54, 62] Generated Node #0,0,2: 56:[54, 62] Operation: 9+53=62 Exploring Operation: 54-9=45, Resulting Numbers: [53, 45] Generated Node #0,0,3: 56:[53, 45] Operation: 54-9=45 Exploring Operation: 9+54=63, Resulting Numbers: [53, 63] Generated Node #0,0,4: 56:[53, 63] Operation: 9+54=63 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[9, 1], Operations: ['40+13=53', '54-53=1'] Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,56 unequal: No Solution No 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: 56:[53, 6], Operations: ['40+13=53', '54/9=6'] Exploring Operation: 53+6=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 53*6=318, Resulting Numbers: [318] 318,56 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,56 unequal: No Solution No 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: 56:[54, 62], Operations: ['40+13=53', '9+53=62'] Exploring Operation: 54*62=3348, Resulting Numbers: [3348] 3348,56 unequal: No Solution Exploring Operation: 54+62=116, Resulting Numbers: [116] 116,56 unequal: No Solution Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,56 unequal: No Solution No 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: 56:[53, 63], Operations: ['40+13=53', '9+54=63'] Exploring Operation: 53*63=3339, Resulting Numbers: [3339] 3339,56 unequal: No Solution Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 53+63=116, Resulting Numbers: [116] 116,56 unequal: No Solution No 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: 56:[53, 45], Operations: ['40+13=53', '54-9=45'] Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 53*45=2385, Resulting Numbers: [2385] 2385,56 unequal: No Solution Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,56 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: 56:[13, 54, 31], Operations: ['40-9=31'] Exploring Operation: 54-31=23, Resulting Numbers: [13, 23] Generated Node #0,2,0: 56:[13, 23] Operation: 54-31=23 Exploring Operation: 13+54=67, Resulting Numbers: [31, 67] Generated Node #0,2,1: 56:[31, 67] Operation: 13+54=67 Exploring Operation: 31-13=18, Resulting Numbers: [54, 18] Generated Node #0,2,2: 56:[54, 18] Operation: 31-13=18 Exploring Operation: 13+31=44, Resulting Numbers: [54, 44] Generated Node #0,2,3: 56:[54, 44] Operation: 13+31=44 Exploring Operation: 54-13=41, Resulting Numbers: [31, 41] Generated Node #0,2,4: 56:[31, 41] Operation: 54-13=41 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[13, 23], Operations: ['40-9=31', '54-31=23'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,56 unequal: No Solution No 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: 56:[54, 18], Operations: ['40-9=31', '31-13=18'] Exploring Operation: 54+18=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 54*18=972, Resulting Numbers: [972] 972,56 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,56 unequal: No Solution No 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: 56:[31, 67], Operations: ['40-9=31', '13+54=67'] Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,56 unequal: No Solution Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,56 unequal: No Solution Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,56 unequal: No Solution No 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: 56:[54, 44], Operations: ['40-9=31', '13+31=44'] Exploring Operation: 54*44=2376, Resulting Numbers: [2376] 2376,56 unequal: No Solution Exploring Operation: 54+44=98, Resulting Numbers: [98] 98,56 unequal: No Solution Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,56 unequal: No Solution No 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: 56:[31, 41], Operations: ['40-9=31', '54-13=41'] Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 31*41=1271, Resulting Numbers: [1271] 1271,56 unequal: No Solution Exploring Operation: 31+41=72, Resulting Numbers: [72] 72,56 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: 56:[13, 54, 49], Operations: ['40+9=49'] Exploring Operation: 13+49=62, Resulting Numbers: [54, 62] Generated Node #0,1,0: 56:[54, 62] Operation: 13+49=62 Exploring Operation: 13+54=67, Resulting Numbers: [49, 67] Generated Node #0,1,1: 56:[49, 67] Operation: 13+54=67 Exploring Operation: 54-13=41, Resulting Numbers: [49, 41] Generated Node #0,1,2: 56:[49, 41] Operation: 54-13=41 Exploring Operation: 54-49=5, Resulting Numbers: [13, 5] Generated Node #0,1,3: 56:[13, 5] Operation: 54-49=5 Exploring Operation: 49-13=36, Resulting Numbers: [54, 36] Generated Node #0,1,4: 56:[54, 36] Operation: 49-13=36 Moving to Node #0,3,1 Current State: 56:[14, 4], Operations: ['54-40=14', '13-9=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[40, 13, 9, 54], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [13, 9, 14] Generated Node #0,3: 56:[13, 9, 14] Operation: 54-40=14 Moving to Node #0,3 Current State: 56:[13, 9, 14], Operations: ['54-40=14'] Exploring Operation: 13-9=4, Resulting Numbers: [14, 4] Generated Node #0,3,1: 56:[14, 4] Operation: 13-9=4 Moving to Node #0,3,1 Current State: 56:[14, 4], Operations: ['54-40=14', '13-9=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.925347
hs_5
mult_heuristic