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
[ 97, 40, 95, 50 ]
88
[ "97-40=57", "95+50=145", "145-57=88" ]
Current State: 88:[97, 40, 95, 50], Operations: [] Exploring Operation: 97-40=57, Resulting Numbers: [95, 50, 57] Generated Node #2: [95, 50, 57] from Operation: 97-40=57 Current State: 88:[95, 50, 57], Operations: ['97-40=57'] Exploring Operation: 95+50=145, Resulting Numbers: [57, 145] Generated Node #3: [57, 145] from Operation: 95+50=145 Current State: 88:[57, 145], Operations: ['97-40=57', '95+50=145'] Exploring Operation: 145-57=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[97, 40, 95, 50], Operations: [] Exploring Operation: 50-40=10, Resulting Numbers: [97, 95, 10] Generated Node #0,0: 88:[97, 95, 10] Operation: 50-40=10 Exploring Operation: 95-50=45, Resulting Numbers: [97, 40, 45] Generated Node #0,1: 88:[97, 40, 45] Operation: 95-50=45 Exploring Operation: 97-95=2, Resulting Numbers: [40, 50, 2] Generated Node #0,2: 88:[40, 50, 2] Operation: 97-95=2 Exploring Operation: 97-50=47, Resulting Numbers: [40, 95, 47] Generated Node #0,3: 88:[40, 95, 47] Operation: 97-50=47 Exploring Operation: 40+50=90, Resulting Numbers: [97, 95, 90] Generated Node #0,4: 88:[97, 95, 90] Operation: 40+50=90 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[40, 50, 2], Operations: ['97-95=2'] Exploring Operation: 40+50=90, Resulting Numbers: [2, 90] Generated Node #0,2,0: 88:[2, 90] Operation: 40+50=90 Exploring Operation: 40/2=20, Resulting Numbers: [50, 20] Generated Node #0,2,1: 88:[50, 20] Operation: 40/2=20 Exploring Operation: 50-40=10, Resulting Numbers: [2, 10] Generated Node #0,2,2: 88:[2, 10] Operation: 50-40=10 Exploring Operation: 50/2=25, Resulting Numbers: [40, 25] Generated Node #0,2,3: 88:[40, 25] Operation: 50/2=25 Exploring Operation: 40+2=42, Resulting Numbers: [50, 42] Generated Node #0,2,4: 88:[50, 42] Operation: 40+2=42 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 88:[2, 10], Operations: ['97-95=2', '50-40=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 88:[2, 90], Operations: ['97-95=2', '40+50=90'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[97, 40, 95, 50], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [40, 50, 2] Generated Node #0,2: 88:[40, 50, 2] Operation: 97-95=2 Moving to Node #0,2 Current State: 88:[40, 50, 2], Operations: ['97-95=2'] Exploring Operation: 40+50=90, Resulting Numbers: [2, 90] Generated Node #0,2,0: 88:[2, 90] Operation: 40+50=90 Moving to Node #0,2,0 Current State: 88:[2, 90], Operations: ['97-95=2', '40+50=90'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 28, 27, 68, 57 ]
66
[ "28+27=55", "68-57=11", "55+11=66" ]
Current State: 66:[28, 27, 68, 57], Operations: [] Exploring Operation: 28+27=55, Resulting Numbers: [68, 57, 55] Generated Node #2: [68, 57, 55] from Operation: 28+27=55 Current State: 66:[68, 57, 55], Operations: ['28+27=55'] Exploring Operation: 68-57=11, Resulting Numbers: [55, 11] Generated Node #3: [55, 11] from Operation: 68-57=11 Current State: 66:[55, 11], Operations: ['28+27=55', '68-57=11'] Exploring Operation: 55+11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[28, 27, 68, 57], Operations: [] Exploring Operation: 68-57=11, Resulting Numbers: [28, 27, 11] Generated Node #0,0: 66:[28, 27, 11] Operation: 68-57=11 Exploring Operation: 57-27=30, Resulting Numbers: [28, 68, 30] Generated Node #0,1: 66:[28, 68, 30] Operation: 57-27=30 Moving to Node #0,0 Current State: 66:[28, 27, 11], Operations: ['68-57=11'] Exploring Operation: 28-11=17, Resulting Numbers: [27, 17] Generated Node #0,0,0: 66:[27, 17] Operation: 28-11=17 Exploring Operation: 28-27=1, Resulting Numbers: [11, 1] Generated Node #0,0,1: 66:[11, 1] Operation: 28-27=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[11, 1], Operations: ['68-57=11', '28-27=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,66 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[27, 17], Operations: ['68-57=11', '28-11=17'] Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,66 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: 66:[28, 68, 30], Operations: ['57-27=30'] Exploring Operation: 30-28=2, Resulting Numbers: [68, 2] Generated Node #0,1,0: 66:[68, 2] Operation: 30-28=2 Exploring Operation: 68-28=40, Resulting Numbers: [30, 40] Generated Node #0,1,1: 66:[30, 40] Operation: 68-28=40 Moving to Node #0,1,0 Current State: 66:[68, 2], Operations: ['57-27=30', '30-28=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[28, 27, 68, 57], Operations: [] Exploring Operation: 57-27=30, Resulting Numbers: [28, 68, 30] Generated Node #0,1: 66:[28, 68, 30] Operation: 57-27=30 Moving to Node #0,1 Current State: 66:[28, 68, 30], Operations: ['57-27=30'] Exploring Operation: 30-28=2, Resulting Numbers: [68, 2] Generated Node #0,1,0: 66:[68, 2] Operation: 30-28=2 Moving to Node #0,1,0 Current State: 66:[68, 2], Operations: ['57-27=30', '30-28=2'] Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 24, 76, 14, 82 ]
41
[ "24+14=38", "76/38=2", "82/2=41" ]
Current State: 41:[24, 76, 14, 82], Operations: [] Exploring Operation: 24+14=38, Resulting Numbers: [76, 82, 38] Generated Node #2: [76, 82, 38] from Operation: 24+14=38 Current State: 41:[76, 82, 38], Operations: ['24+14=38'] Exploring Operation: 76/38=2, Resulting Numbers: [82, 2] Generated Node #3: [82, 2] from Operation: 76/38=2 Current State: 41:[82, 2], Operations: ['24+14=38', '76/38=2'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[24, 76, 14, 82], Operations: [] Exploring Operation: 24+14=38, Resulting Numbers: [76, 82, 38] Generated Node #0,0: 41:[76, 82, 38] Operation: 24+14=38 Exploring Operation: 76-24=52, Resulting Numbers: [14, 82, 52] Generated Node #0,1: 41:[14, 82, 52] Operation: 76-24=52 Moving to Node #0,0 Current State: 41:[76, 82, 38], Operations: ['24+14=38'] Exploring Operation: 82-38=44, Resulting Numbers: [76, 44] Generated Node #0,0,0: 41:[76, 44] Operation: 82-38=44 Exploring Operation: 82-76=6, Resulting Numbers: [38, 6] Generated Node #0,0,1: 41:[38, 6] Operation: 82-76=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[76, 44], Operations: ['24+14=38', '82-38=44'] Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 76+44=120, Resulting Numbers: [120] 120,41 unequal: No Solution No 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: 41:[38, 6], Operations: ['24+14=38', '82-76=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,41 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,41 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: 41:[14, 82, 52], Operations: ['76-24=52'] Exploring Operation: 82-14=68, Resulting Numbers: [52, 68] Generated Node #0,1,0: 41:[52, 68] Operation: 82-14=68 Exploring Operation: 82-52=30, Resulting Numbers: [14, 30] Generated Node #0,1,1: 41:[14, 30] Operation: 82-52=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[52, 68], Operations: ['76-24=52', '82-14=68'] Exploring Operation: 52+68=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,41 unequal: No Solution No 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: 41:[14, 30], Operations: ['76-24=52', '82-52=30'] Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,41 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
[ 38, 33, 41, 90 ]
19
[ "41-38=3", "90-33=57", "57/3=19" ]
Current State: 19:[38, 33, 41, 90], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [33, 90, 3] Generated Node #2: [33, 90, 3] from Operation: 41-38=3 Current State: 19:[33, 90, 3], Operations: ['41-38=3'] Exploring Operation: 90-33=57, Resulting Numbers: [3, 57] Generated Node #3: [3, 57] from Operation: 90-33=57 Current State: 19:[3, 57], Operations: ['41-38=3', '90-33=57'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[38, 33, 41, 90], Operations: [] Exploring Operation: 90-38=52, Resulting Numbers: [33, 41, 52] Generated Node #0,0: 19:[33, 41, 52] Operation: 90-38=52 Exploring Operation: 90-33=57, Resulting Numbers: [38, 41, 57] Generated Node #0,1: 19:[38, 41, 57] Operation: 90-33=57 Exploring Operation: 90-41=49, Resulting Numbers: [38, 33, 49] Generated Node #0,2: 19:[38, 33, 49] Operation: 90-41=49 Exploring Operation: 41-38=3, Resulting Numbers: [33, 90, 3] Generated Node #0,3: 19:[33, 90, 3] Operation: 41-38=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[38, 33, 49], Operations: ['90-41=49'] Exploring Operation: 38+33=71, Resulting Numbers: [49, 71] Generated Node #0,2,0: 19:[49, 71] Operation: 38+33=71 Exploring Operation: 49-38=11, Resulting Numbers: [33, 11] Generated Node #0,2,1: 19:[33, 11] Operation: 49-38=11 Exploring Operation: 38-33=5, Resulting Numbers: [49, 5] Generated Node #0,2,2: 19:[49, 5] Operation: 38-33=5 Exploring Operation: 49-33=16, Resulting Numbers: [38, 16] Generated Node #0,2,3: 19:[38, 16] Operation: 49-33=16 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 19:[33, 11], Operations: ['90-41=49', '49-38=11'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 33*11=363, Resulting Numbers: [363] 363,19 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,19 unequal: No Solution No 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: 19:[38, 16], Operations: ['90-41=49', '49-33=16'] Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,19 unequal: No Solution No 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: 19:[49, 5], Operations: ['90-41=49', '38-33=5'] Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 49*5=245, Resulting Numbers: [245] 245,19 unequal: No Solution Exploring Operation: 49+5=54, Resulting Numbers: [54] 54,19 unequal: No Solution No 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: 19:[49, 71], Operations: ['90-41=49', '38+33=71'] Exploring Operation: 49*71=3479, Resulting Numbers: [3479] 3479,19 unequal: No Solution Exploring Operation: 49+71=120, Resulting Numbers: [120] 120,19 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,19 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: 19:[33, 41, 52], Operations: ['90-38=52'] Exploring Operation: 52-41=11, Resulting Numbers: [33, 11] Generated Node #0,0,0: 19:[33, 11] Operation: 52-41=11 Exploring Operation: 52-33=19, Resulting Numbers: [41, 19] Generated Node #0,0,1: 19:[41, 19] Operation: 52-33=19 Exploring Operation: 33+41=74, Resulting Numbers: [52, 74] Generated Node #0,0,2: 19:[52, 74] Operation: 33+41=74 Exploring Operation: 41-33=8, Resulting Numbers: [52, 8] Generated Node #0,0,3: 19:[52, 8] Operation: 41-33=8 Moving to Node #0,0,0 Current State: 19:[33, 11], Operations: ['90-38=52', '52-41=11'] Exploring Operation: 33*11=363, Resulting Numbers: [363] 363,19 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[41, 19], Operations: ['90-38=52', '52-33=19'] Exploring Operation: 41+19=60, Resulting Numbers: [60] 60,19 unequal: No Solution Exploring Operation: 41*19=779, Resulting Numbers: [779] 779,19 unequal: No Solution Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,19 unequal: No Solution Moving to Node #0,0,3 Current State: 19:[52, 8], Operations: ['90-38=52', '41-33=8'] Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,19 unequal: No Solution Exploring Operation: 52*8=416, Resulting Numbers: [416] 416,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[52, 74], Operations: ['90-38=52', '33+41=74'] Exploring Operation: 52*74=3848, Resulting Numbers: [3848] 3848,19 unequal: No Solution Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 52+74=126, Resulting Numbers: [126] 126,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[38, 41, 57], Operations: ['90-33=57'] Exploring Operation: 38+41=79, Resulting Numbers: [57, 79] Generated Node #0,1,0: 19:[57, 79] Operation: 38+41=79 Exploring Operation: 41-38=3, Resulting Numbers: [57, 3] Generated Node #0,1,1: 19:[57, 3] Operation: 41-38=3 Exploring Operation: 57-38=19, Resulting Numbers: [41, 19] Generated Node #0,1,2: 19:[41, 19] Operation: 57-38=19 Exploring Operation: 57-41=16, Resulting Numbers: [38, 16] Generated Node #0,1,3: 19:[38, 16] Operation: 57-41=16 Moving to Node #0,1,2 Current State: 19:[41, 19], Operations: ['90-33=57', '57-38=19'] Exploring Operation: 41*19=779, Resulting Numbers: [779] 779,19 unequal: No Solution Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 41+19=60, Resulting Numbers: [60] 60,19 unequal: No Solution Moving to Node #0,1,3 Current State: 19:[38, 16], Operations: ['90-33=57', '57-41=16'] Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,19 unequal: No Solution Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,19 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[57, 3], Operations: ['90-33=57', '41-38=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,19 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[38, 33, 41, 90], Operations: [] Exploring Operation: 90-33=57, Resulting Numbers: [38, 41, 57] Generated Node #0,1: 19:[38, 41, 57] Operation: 90-33=57 Moving to Node #0,1 Current State: 19:[38, 41, 57], Operations: ['90-33=57'] Exploring Operation: 41-38=3, Resulting Numbers: [57, 3] Generated Node #0,1,1: 19:[57, 3] Operation: 41-38=3 Moving to Node #0,1,1 Current State: 19:[57, 3], Operations: ['90-33=57', '41-38=3'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.953125
hs_4
mult_heuristic
[ 25, 3, 79, 14 ]
65
[ "25+3=28", "79+14=93", "93-28=65" ]
Current State: 65:[25, 3, 79, 14], Operations: [] Exploring Operation: 25+3=28, Resulting Numbers: [79, 14, 28] Generated Node #2: [79, 14, 28] from Operation: 25+3=28 Current State: 65:[79, 14, 28], Operations: ['25+3=28'] Exploring Operation: 79+14=93, Resulting Numbers: [28, 93] Generated Node #3: [28, 93] from Operation: 79+14=93 Current State: 65:[28, 93], Operations: ['25+3=28', '79+14=93'] Exploring Operation: 93-28=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[25, 3, 79, 14], Operations: [] Exploring Operation: 79-25=54, Resulting Numbers: [3, 14, 54] Generated Node #0,0: 65:[3, 14, 54] Operation: 79-25=54 Exploring Operation: 25-3=22, Resulting Numbers: [79, 14, 22] Generated Node #0,1: 65:[79, 14, 22] Operation: 25-3=22 Exploring Operation: 79-14=65, Resulting Numbers: [25, 3, 65] Generated Node #0,2: 65:[25, 3, 65] Operation: 79-14=65 Exploring Operation: 25-14=11, Resulting Numbers: [3, 79, 11] Generated Node #0,3: 65:[3, 79, 11] Operation: 25-14=11 Exploring Operation: 79-3=76, Resulting Numbers: [25, 14, 76] Generated Node #0,4: 65:[25, 14, 76] Operation: 79-3=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[3, 14, 54], Operations: ['79-25=54'] Exploring Operation: 14-3=11, Resulting Numbers: [54, 11] Generated Node #0,0,0: 65:[54, 11] Operation: 14-3=11 Exploring Operation: 54/3=18, Resulting Numbers: [14, 18] Generated Node #0,0,1: 65:[14, 18] Operation: 54/3=18 Exploring Operation: 14+54=68, Resulting Numbers: [3, 68] Generated Node #0,0,2: 65:[3, 68] Operation: 14+54=68 Exploring Operation: 3+54=57, Resulting Numbers: [14, 57] Generated Node #0,0,3: 65:[14, 57] Operation: 3+54=57 Exploring Operation: 3+14=17, Resulting Numbers: [54, 17] Generated Node #0,0,4: 65:[54, 17] Operation: 3+14=17 Moving to Node #0,0,2 Current State: 65:[3, 68], Operations: ['79-25=54', '14+54=68'] Exploring Operation: 3+68=71, Resulting Numbers: [71] 71,65 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[25, 3, 79, 14], Operations: [] Exploring Operation: 79-25=54, Resulting Numbers: [3, 14, 54] Generated Node #0,0: 65:[3, 14, 54] Operation: 79-25=54 Moving to Node #0,0 Current State: 65:[3, 14, 54], Operations: ['79-25=54'] Exploring Operation: 14+54=68, Resulting Numbers: [3, 68] Generated Node #0,0,2: 65:[3, 68] Operation: 14+54=68 Moving to Node #0,0,2 Current State: 65:[3, 68], Operations: ['79-25=54', '14+54=68'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 24, 32, 85, 31 ]
87
[ "85+31=116", "24*116=2784", "2784/32=87" ]
Current State: 87:[24, 32, 85, 31], Operations: [] Exploring Operation: 85+31=116, Resulting Numbers: [24, 32, 116] Generated Node #2: [24, 32, 116] from Operation: 85+31=116 Current State: 87:[24, 32, 116], Operations: ['85+31=116'] Exploring Operation: 24*116=2784, Resulting Numbers: [32, 2784] Generated Node #3: [32, 2784] from Operation: 24*116=2784 Current State: 87:[32, 2784], Operations: ['85+31=116', '24*116=2784'] Exploring Operation: 2784/32=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[24, 32, 85, 31], Operations: [] Exploring Operation: 24+32=56, Resulting Numbers: [85, 31, 56] Generated Node #0,0: 87:[85, 31, 56] Operation: 24+32=56 Exploring Operation: 24+85=109, Resulting Numbers: [32, 31, 109] Generated Node #0,1: 87:[32, 31, 109] Operation: 24+85=109 Exploring Operation: 32-31=1, Resulting Numbers: [24, 85, 1] Generated Node #0,2: 87:[24, 85, 1] Operation: 32-31=1 Exploring Operation: 31-24=7, Resulting Numbers: [32, 85, 7] Generated Node #0,3: 87:[32, 85, 7] Operation: 31-24=7 Exploring Operation: 32-24=8, Resulting Numbers: [85, 31, 8] Generated Node #0,4: 87:[85, 31, 8] Operation: 32-24=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[24, 85, 1], Operations: ['32-31=1'] Exploring Operation: 24/1=24, Resulting Numbers: [85, 24] Generated Node #0,2,0: 87:[85, 24] Operation: 24/1=24 Exploring Operation: 85+1=86, Resulting Numbers: [24, 86] Generated Node #0,2,1: 87:[24, 86] Operation: 85+1=86 Exploring Operation: 24+1=25, Resulting Numbers: [85, 25] Generated Node #0,2,2: 87:[85, 25] Operation: 24+1=25 Exploring Operation: 24*1=24, Resulting Numbers: [85, 24] Generated Node #0,2,3: 87:[85, 24] Operation: 24*1=24 Exploring Operation: 85*1=85, Resulting Numbers: [24, 85] Generated Node #0,2,4: 87:[24, 85] Operation: 85*1=85 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 87:[24, 86], Operations: ['32-31=1', '85+1=86'] Exploring Operation: 24+86=110, Resulting Numbers: [110] 110,87 unequal: No Solution Exploring Operation: 24*86=2064, Resulting Numbers: [2064] 2064,87 unequal: No Solution Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,87 unequal: No Solution No 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: 87:[85, 25], Operations: ['32-31=1', '24+1=25'] Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,87 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,87 unequal: No Solution Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,87 unequal: No Solution No 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: 87:[85, 24], Operations: ['32-31=1', '24/1=24'] Exploring Operation: 85*24=2040, Resulting Numbers: [2040] 2040,87 unequal: No Solution Exploring Operation: 85+24=109, Resulting Numbers: [109] 109,87 unequal: No Solution Exploring Operation: 85-24=61, Resulting Numbers: [61] 61,87 unequal: No Solution No 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: 87:[85, 24], Operations: ['32-31=1', '24*1=24'] Exploring Operation: 85*24=2040, Resulting Numbers: [2040] 2040,87 unequal: No Solution Exploring Operation: 85+24=109, Resulting Numbers: [109] 109,87 unequal: No Solution Exploring Operation: 85-24=61, Resulting Numbers: [61] 61,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 87:[24, 85], Operations: ['32-31=1', '85*1=85'] Exploring Operation: 24+85=109, Resulting Numbers: [109] 109,87 unequal: No Solution Exploring Operation: 85-24=61, Resulting Numbers: [61] 61,87 unequal: No Solution Exploring Operation: 24*85=2040, Resulting Numbers: [2040] 2040,87 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: 87:[32, 85, 7], Operations: ['31-24=7'] Exploring Operation: 32-7=25, Resulting Numbers: [85, 25] Generated Node #0,3,0: 87:[85, 25] Operation: 32-7=25 Exploring Operation: 85+7=92, Resulting Numbers: [32, 92] Generated Node #0,3,1: 87:[32, 92] Operation: 85+7=92 Exploring Operation: 85-7=78, Resulting Numbers: [32, 78] Generated Node #0,3,2: 87:[32, 78] Operation: 85-7=78 Exploring Operation: 85-32=53, Resulting Numbers: [7, 53] Generated Node #0,3,3: 87:[7, 53] Operation: 85-32=53 Exploring Operation: 32+7=39, Resulting Numbers: [85, 39] Generated Node #0,3,4: 87:[85, 39] Operation: 32+7=39 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 87:[85, 25], Operations: ['31-24=7', '32-7=25'] Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,87 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,87 unequal: No Solution Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,87 unequal: No Solution No 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: 87:[32, 92], Operations: ['31-24=7', '85+7=92'] Exploring Operation: 92-32=60, Resulting Numbers: [60] 60,87 unequal: No Solution Exploring Operation: 32+92=124, Resulting Numbers: [124] 124,87 unequal: No Solution Exploring Operation: 32*92=2944, Resulting Numbers: [2944] 2944,87 unequal: No Solution No 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: 87:[32, 78], Operations: ['31-24=7', '85-7=78'] Exploring Operation: 32*78=2496, Resulting Numbers: [2496] 2496,87 unequal: No Solution Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 32+78=110, Resulting Numbers: [110] 110,87 unequal: No Solution No 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: 87:[85, 39], Operations: ['31-24=7', '32+7=39'] Exploring Operation: 85+39=124, Resulting Numbers: [124] 124,87 unequal: No Solution Exploring Operation: 85*39=3315, Resulting Numbers: [3315] 3315,87 unequal: No Solution Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,87 unequal: No Solution No 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: 87:[7, 53], Operations: ['31-24=7', '85-32=53'] Exploring Operation: 7+53=60, Resulting Numbers: [60] 60,87 unequal: No Solution Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 7*53=371, Resulting Numbers: [371] 371,87 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: 87:[85, 31, 8], Operations: ['32-24=8'] Exploring Operation: 85-8=77, Resulting Numbers: [31, 77] Generated Node #0,4,0: 87:[31, 77] Operation: 85-8=77 Exploring Operation: 31+8=39, Resulting Numbers: [85, 39] Generated Node #0,4,1: 87:[85, 39] Operation: 31+8=39 Exploring Operation: 85+8=93, Resulting Numbers: [31, 93] Generated Node #0,4,2: 87:[31, 93] Operation: 85+8=93 Exploring Operation: 85-31=54, Resulting Numbers: [8, 54] Generated Node #0,4,3: 87:[8, 54] Operation: 85-31=54 Exploring Operation: 31-8=23, Resulting Numbers: [85, 23] Generated Node #0,4,4: 87:[85, 23] Operation: 31-8=23 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 87:[31, 93], Operations: ['32-24=8', '85+8=93'] Exploring Operation: 93-31=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 31+93=124, Resulting Numbers: [124] 124,87 unequal: No Solution Exploring Operation: 93/31=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 31*93=2883, Resulting Numbers: [2883] 2883,87 unequal: No Solution No 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: 87:[85, 23], Operations: ['32-24=8', '31-8=23'] Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 85+23=108, Resulting Numbers: [108] 108,87 unequal: No Solution Exploring Operation: 85*23=1955, Resulting Numbers: [1955] 1955,87 unequal: No Solution No 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: 87:[31, 77], Operations: ['32-24=8', '85-8=77'] Exploring Operation: 31+77=108, Resulting Numbers: [108] 108,87 unequal: No Solution Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 31*77=2387, Resulting Numbers: [2387] 2387,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 87:[85, 39], Operations: ['32-24=8', '31+8=39'] Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 85*39=3315, Resulting Numbers: [3315] 3315,87 unequal: No Solution Exploring Operation: 85+39=124, Resulting Numbers: [124] 124,87 unequal: No Solution No 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: 87:[8, 54], Operations: ['32-24=8', '85-31=54'] Exploring Operation: 8*54=432, Resulting Numbers: [432] 432,87 unequal: No Solution Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,87 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,87 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: 87:[32, 31, 109], Operations: ['24+85=109'] Exploring Operation: 109-32=77, Resulting Numbers: [31, 77] Generated Node #0,1,0: 87:[31, 77] Operation: 109-32=77 Exploring Operation: 32+31=63, Resulting Numbers: [109, 63] Generated Node #0,1,1: 87:[109, 63] Operation: 32+31=63 Exploring Operation: 32+109=141, Resulting Numbers: [31, 141] Generated Node #0,1,2: 87:[31, 141] Operation: 32+109=141 Exploring Operation: 32-31=1, Resulting Numbers: [109, 1] Generated Node #0,1,3: 87:[109, 1] Operation: 32-31=1 Exploring Operation: 109-31=78, Resulting Numbers: [32, 78] Generated Node #0,1,4: 87:[32, 78] Operation: 109-31=78 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[31, 77], Operations: ['24+85=109', '109-32=77'] Exploring Operation: 31+77=108, Resulting Numbers: [108] 108,87 unequal: No Solution Exploring Operation: 31*77=2387, Resulting Numbers: [2387] 2387,87 unequal: No Solution Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 87:[32, 78], Operations: ['24+85=109', '109-31=78'] Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,87 unequal: No Solution Exploring Operation: 32*78=2496, Resulting Numbers: [2496] 2496,87 unequal: No Solution Exploring Operation: 32+78=110, Resulting Numbers: [110] 110,87 unequal: No Solution No 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: 87:[109, 1], Operations: ['24+85=109', '32-31=1'] Exploring Operation: 109*1=109, Resulting Numbers: [109] 109,87 unequal: No Solution Exploring Operation: 109-1=108, Resulting Numbers: [108] 108,87 unequal: No Solution Exploring Operation: 109/1=109, Resulting Numbers: [109] 109,87 unequal: No Solution Exploring Operation: 109+1=110, Resulting Numbers: [110] 110,87 unequal: No Solution No 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: 87:[109, 63], Operations: ['24+85=109', '32+31=63'] Exploring Operation: 109+63=172, Resulting Numbers: [172] 172,87 unequal: No Solution Exploring Operation: 109*63=6867, Resulting Numbers: [6867] 6867,87 unequal: No Solution Exploring Operation: 109-63=46, Resulting Numbers: [46] 46,87 unequal: No Solution No 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: 87:[31, 141], Operations: ['24+85=109', '32+109=141'] Exploring Operation: 31*141=4371, Resulting Numbers: [4371] 4371,87 unequal: No Solution Exploring Operation: 141-31=110, Resulting Numbers: [110] 110,87 unequal: No Solution Exploring Operation: 31+141=172, Resulting Numbers: [172] 172,87 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: 87:[85, 31, 56], Operations: ['24+32=56'] Exploring Operation: 85+31=116, Resulting Numbers: [56, 116] Generated Node #0,0,0: 87:[56, 116] Operation: 85+31=116 Exploring Operation: 56-31=25, Resulting Numbers: [85, 25] Generated Node #0,0,1: 87:[85, 25] Operation: 56-31=25 Exploring Operation: 85-56=29, Resulting Numbers: [31, 29] Generated Node #0,0,2: 87:[31, 29] Operation: 85-56=29 Exploring Operation: 85-31=54, Resulting Numbers: [56, 54] Generated Node #0,0,3: 87:[56, 54] Operation: 85-31=54 Exploring Operation: 31+56=87, Resulting Numbers: [85, 87] Generated Node #0,0,4: 87:[85, 87] Operation: 31+56=87 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[31, 29], Operations: ['24+32=56', '85-56=29'] Exploring Operation: 31*29=899, Resulting Numbers: [899] 899,87 unequal: No Solution Exploring Operation: 31+29=60, Resulting Numbers: [60] 60,87 unequal: No Solution Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,87 unequal: No Solution No 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: 87:[85, 87], Operations: ['24+32=56', '31+56=87'] Exploring Operation: 87-85=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 85*87=7395, Resulting Numbers: [7395] 7395,87 unequal: No Solution Exploring Operation: 85+87=172, Resulting Numbers: [172] 172,87 unequal: No Solution No 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: 87:[85, 25], Operations: ['24+32=56', '56-31=25'] Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,87 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,87 unequal: No Solution Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,87 unequal: No Solution No 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: 87:[56, 54], Operations: ['24+32=56', '85-31=54'] Exploring Operation: 56+54=110, Resulting Numbers: [110] 110,87 unequal: No Solution Exploring Operation: 56*54=3024, Resulting Numbers: [3024] 3024,87 unequal: No Solution Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,87 unequal: No Solution No 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: 87:[56, 116], Operations: ['24+32=56', '85+31=116'] Exploring Operation: 116-56=60, Resulting Numbers: [60] 60,87 unequal: No Solution Exploring Operation: 56+116=172, Resulting Numbers: [172] 172,87 unequal: No Solution Exploring Operation: 56*116=6496, Resulting Numbers: [6496] 6496,87 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
[ 42, 41, 20, 35 ]
65
[ "42*20=840", "840/35=24", "41+24=65" ]
Current State: 65:[42, 41, 20, 35], Operations: [] Exploring Operation: 42*20=840, Resulting Numbers: [41, 35, 840] Generated Node #2: [41, 35, 840] from Operation: 42*20=840 Current State: 65:[41, 35, 840], Operations: ['42*20=840'] Exploring Operation: 840/35=24, Resulting Numbers: [41, 24] Generated Node #3: [41, 24] from Operation: 840/35=24 Current State: 65:[41, 24], Operations: ['42*20=840', '840/35=24'] Exploring Operation: 41+24=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[42, 41, 20, 35], Operations: [] Exploring Operation: 41+35=76, Resulting Numbers: [42, 20, 76] Generated Node #0,0: 65:[42, 20, 76] Operation: 41+35=76 Exploring Operation: 42-35=7, Resulting Numbers: [41, 20, 7] Generated Node #0,1: 65:[41, 20, 7] Operation: 42-35=7 Exploring Operation: 42-41=1, Resulting Numbers: [20, 35, 1] Generated Node #0,2: 65:[20, 35, 1] Operation: 42-41=1 Exploring Operation: 41-35=6, Resulting Numbers: [42, 20, 6] Generated Node #0,3: 65:[42, 20, 6] Operation: 41-35=6 Moving to Node #0,3 Current State: 65:[42, 20, 6], Operations: ['41-35=6'] Exploring Operation: 42-20=22, Resulting Numbers: [6, 22] Generated Node #0,3,0: 65:[6, 22] Operation: 42-20=22 Exploring Operation: 42/6=7, Resulting Numbers: [20, 7] Generated Node #0,3,1: 65:[20, 7] Operation: 42/6=7 Exploring Operation: 42+20=62, Resulting Numbers: [6, 62] Generated Node #0,3,2: 65:[6, 62] Operation: 42+20=62 Exploring Operation: 42+6=48, Resulting Numbers: [20, 48] Generated Node #0,3,3: 65:[20, 48] Operation: 42+6=48 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 65:[6, 62], Operations: ['41-35=6', '42+20=62'] Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,65 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 65:[20, 7], Operations: ['41-35=6', '42/6=7'] Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,65 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 20*7=140, Resulting Numbers: [140] 140,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 65:[6, 22], Operations: ['41-35=6', '42-20=22'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,65 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 65:[20, 48], Operations: ['41-35=6', '42+6=48'] Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,65 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,65 unequal: No Solution Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,65 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: 65:[20, 35, 1], Operations: ['42-41=1'] Exploring Operation: 20-1=19, Resulting Numbers: [35, 19] Generated Node #0,2,0: 65:[35, 19] Operation: 20-1=19 Exploring Operation: 35-20=15, Resulting Numbers: [1, 15] Generated Node #0,2,1: 65:[1, 15] Operation: 35-20=15 Exploring Operation: 35-1=34, Resulting Numbers: [20, 34] Generated Node #0,2,2: 65:[20, 34] Operation: 35-1=34 Exploring Operation: 20+35=55, Resulting Numbers: [1, 55] Generated Node #0,2,3: 65:[1, 55] Operation: 20+35=55 Moving to Node #0,1 Current State: 65:[41, 20, 7], Operations: ['42-35=7'] Exploring Operation: 41+7=48, Resulting Numbers: [20, 48] Generated Node #0,1,0: 65:[20, 48] Operation: 41+7=48 Exploring Operation: 41+20=61, Resulting Numbers: [7, 61] Generated Node #0,1,1: 65:[7, 61] Operation: 41+20=61 Exploring Operation: 20-7=13, Resulting Numbers: [41, 13] Generated Node #0,1,2: 65:[41, 13] Operation: 20-7=13 Exploring Operation: 41-20=21, Resulting Numbers: [7, 21] Generated Node #0,1,3: 65:[7, 21] Operation: 41-20=21 Moving to Node #0,0 Current State: 65:[42, 20, 76], Operations: ['41+35=76'] Exploring Operation: 76-20=56, Resulting Numbers: [42, 56] Generated Node #0,0,0: 65:[42, 56] Operation: 76-20=56 Exploring Operation: 42-20=22, Resulting Numbers: [76, 22] Generated Node #0,0,1: 65:[76, 22] Operation: 42-20=22 Exploring Operation: 42+20=62, Resulting Numbers: [76, 62] Generated Node #0,0,2: 65:[76, 62] Operation: 42+20=62 Exploring Operation: 76-42=34, Resulting Numbers: [20, 34] Generated Node #0,0,3: 65:[20, 34] Operation: 76-42=34 Moving to Node #0,2,1 Current State: 65:[1, 15], Operations: ['42-41=1', '35-20=15'] Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[7, 61], Operations: ['42-35=7', '41+20=61'] Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,65 unequal: No Solution Exploring Operation: 7*61=427, Resulting Numbers: [427] 427,65 unequal: No Solution Exploring Operation: 7+61=68, Resulting Numbers: [68] 68,65 unequal: No Solution Moving to Node #0,1,3 Current State: 65:[7, 21], Operations: ['42-35=7', '41-20=21'] Exploring Operation: 7*21=147, Resulting Numbers: [147] 147,65 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[1, 55], Operations: ['42-41=1', '20+35=55'] Exploring Operation: 1+55=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,65 unequal: No Solution Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,65 unequal: No Solution Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[76, 62], Operations: ['41+35=76', '42+20=62'] Exploring Operation: 76*62=4712, Resulting Numbers: [4712] 4712,65 unequal: No Solution Exploring Operation: 76-62=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 76+62=138, Resulting Numbers: [138] 138,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[76, 22], Operations: ['41+35=76', '42-20=22'] Exploring Operation: 76*22=1672, Resulting Numbers: [1672] 1672,65 unequal: No Solution Exploring Operation: 76+22=98, Resulting Numbers: [98] 98,65 unequal: No Solution Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[20, 48], Operations: ['42-35=7', '41+7=48'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,65 unequal: No Solution Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,65 unequal: No Solution Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[41, 13], Operations: ['42-35=7', '20-7=13'] Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,65 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,65 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[35, 19], Operations: ['42-41=1', '20-1=19'] Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 35*19=665, Resulting Numbers: [665] 665,65 unequal: No Solution Exploring Operation: 35+19=54, Resulting Numbers: [54] 54,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[20, 34], Operations: ['42-41=1', '35-1=34'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 20+34=54, Resulting Numbers: [54] 54,65 unequal: No Solution Exploring Operation: 20*34=680, Resulting Numbers: [680] 680,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[20, 34], Operations: ['41+35=76', '76-42=34'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 20+34=54, Resulting Numbers: [54] 54,65 unequal: No Solution Exploring Operation: 20*34=680, Resulting Numbers: [680] 680,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[42, 56], Operations: ['41+35=76', '76-20=56'] Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 42*56=2352, Resulting Numbers: [2352] 2352,65 unequal: No Solution Exploring Operation: 42+56=98, Resulting Numbers: [98] 98,65 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 45, 5, 41, 33 ]
65
[ "45/5=9", "41+33=74", "74-9=65" ]
Current State: 65:[45, 5, 41, 33], Operations: [] Exploring Operation: 45/5=9, Resulting Numbers: [41, 33, 9] Generated Node #2: [41, 33, 9] from Operation: 45/5=9 Current State: 65:[41, 33, 9], Operations: ['45/5=9'] Exploring Operation: 41+33=74, Resulting Numbers: [9, 74] Generated Node #3: [9, 74] from Operation: 41+33=74 Current State: 65:[9, 74], Operations: ['45/5=9', '41+33=74'] Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[45, 5, 41, 33], Operations: [] Exploring Operation: 45-41=4, Resulting Numbers: [5, 33, 4] Generated Node #0,0: 65:[5, 33, 4] Operation: 45-41=4 Exploring Operation: 41-33=8, Resulting Numbers: [45, 5, 8] Generated Node #0,1: 65:[45, 5, 8] Operation: 41-33=8 Exploring Operation: 45-33=12, Resulting Numbers: [5, 41, 12] Generated Node #0,2: 65:[5, 41, 12] Operation: 45-33=12 Exploring Operation: 45+33=78, Resulting Numbers: [5, 41, 78] Generated Node #0,3: 65:[5, 41, 78] Operation: 45+33=78 Exploring Operation: 41+33=74, Resulting Numbers: [45, 5, 74] Generated Node #0,4: 65:[45, 5, 74] Operation: 41+33=74 Moving to Node #0,0 Current State: 65:[5, 33, 4], Operations: ['45-41=4'] Exploring Operation: 33-4=29, Resulting Numbers: [5, 29] Generated Node #0,0,0: 65:[5, 29] Operation: 33-4=29 Exploring Operation: 5+4=9, Resulting Numbers: [33, 9] Generated Node #0,0,1: 65:[33, 9] Operation: 5+4=9 Exploring Operation: 33+4=37, Resulting Numbers: [5, 37] Generated Node #0,0,2: 65:[5, 37] Operation: 33+4=37 Exploring Operation: 33-5=28, Resulting Numbers: [4, 28] Generated Node #0,0,3: 65:[4, 28] Operation: 33-5=28 Exploring Operation: 5-4=1, Resulting Numbers: [33, 1] Generated Node #0,0,4: 65:[33, 1] Operation: 5-4=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[5, 29], Operations: ['45-41=4', '33-4=29'] Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,65 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,65 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 65:[4, 28], Operations: ['45-41=4', '33-5=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,65 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,65 unequal: No Solution Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[33, 9], Operations: ['45-41=4', '5+4=9'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,65 unequal: No Solution Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,65 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 65:[5, 37], Operations: ['45-41=4', '33+4=37'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,65 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,65 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 65:[33, 1], Operations: ['45-41=4', '5-4=1'] Exploring Operation: 33*1=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,65 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: 65:[45, 5, 8], Operations: ['41-33=8'] Exploring Operation: 45+8=53, Resulting Numbers: [5, 53] Generated Node #0,1,0: 65:[5, 53] Operation: 45+8=53 Exploring Operation: 8-5=3, Resulting Numbers: [45, 3] Generated Node #0,1,1: 65:[45, 3] Operation: 8-5=3 Exploring Operation: 5+8=13, Resulting Numbers: [45, 13] Generated Node #0,1,2: 65:[45, 13] Operation: 5+8=13 Exploring Operation: 45/5=9, Resulting Numbers: [8, 9] Generated Node #0,1,3: 65:[8, 9] Operation: 45/5=9 Exploring Operation: 45+5=50, Resulting Numbers: [8, 50] Generated Node #0,1,4: 65:[8, 50] Operation: 45+5=50 Moving to Node #0,2 Current State: 65:[5, 41, 12], Operations: ['45-33=12'] Exploring Operation: 12-5=7, Resulting Numbers: [41, 7] Generated Node #0,2,0: 65:[41, 7] Operation: 12-5=7 Exploring Operation: 41+12=53, Resulting Numbers: [5, 53] Generated Node #0,2,1: 65:[5, 53] Operation: 41+12=53 Exploring Operation: 5+41=46, Resulting Numbers: [12, 46] Generated Node #0,2,2: 65:[12, 46] Operation: 5+41=46 Exploring Operation: 41-5=36, Resulting Numbers: [12, 36] Generated Node #0,2,3: 65:[12, 36] Operation: 41-5=36 Exploring Operation: 41-12=29, Resulting Numbers: [5, 29] Generated Node #0,2,4: 65:[5, 29] Operation: 41-12=29 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 65:[5, 53], Operations: ['45-33=12', '41+12=53'] Exploring Operation: 5+53=58, Resulting Numbers: [58] 58,65 unequal: No Solution Exploring Operation: 5*53=265, Resulting Numbers: [265] 265,65 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 65:[5, 29], Operations: ['45-33=12', '41-12=29'] Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,65 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 65:[12, 46], Operations: ['45-33=12', '5+41=46'] Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,65 unequal: No Solution Exploring Operation: 12*46=552, Resulting Numbers: [552] 552,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 65:[12, 36], Operations: ['45-33=12', '41-5=36'] Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,65 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,65 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 65:[41, 7], Operations: ['45-33=12', '12-5=7'] Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 41+7=48, Resulting Numbers: [48] 48,65 unequal: No Solution Exploring Operation: 41*7=287, Resulting Numbers: [287] 287,65 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: 65:[45, 5, 74], Operations: ['41+33=74'] Exploring Operation: 45/5=9, Resulting Numbers: [74, 9] Generated Node #0,4,0: 65:[74, 9] Operation: 45/5=9 Exploring Operation: 45-5=40, Resulting Numbers: [74, 40] Generated Node #0,4,1: 65:[74, 40] Operation: 45-5=40 Exploring Operation: 74-5=69, Resulting Numbers: [45, 69] Generated Node #0,4,2: 65:[45, 69] Operation: 74-5=69 Exploring Operation: 74-45=29, Resulting Numbers: [5, 29] Generated Node #0,4,3: 65:[5, 29] Operation: 74-45=29 Exploring Operation: 45+5=50, Resulting Numbers: [74, 50] Generated Node #0,4,4: 65:[74, 50] Operation: 45+5=50 Moving to Node #0,3 Current State: 65:[5, 41, 78], Operations: ['45+33=78'] Exploring Operation: 5+78=83, Resulting Numbers: [41, 83] Generated Node #0,3,0: 65:[41, 83] Operation: 5+78=83 Exploring Operation: 78-5=73, Resulting Numbers: [41, 73] Generated Node #0,3,1: 65:[41, 73] Operation: 78-5=73 Exploring Operation: 5+41=46, Resulting Numbers: [78, 46] Generated Node #0,3,2: 65:[78, 46] Operation: 5+41=46 Exploring Operation: 41-5=36, Resulting Numbers: [78, 36] Generated Node #0,3,3: 65:[78, 36] Operation: 41-5=36 Exploring Operation: 78-41=37, Resulting Numbers: [5, 37] Generated Node #0,3,4: 65:[5, 37] Operation: 78-41=37 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 65:[5, 37], Operations: ['45+33=78', '78-41=37'] Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,65 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,65 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 65:[41, 73], Operations: ['45+33=78', '78-5=73'] Exploring Operation: 41*73=2993, Resulting Numbers: [2993] 2993,65 unequal: No Solution Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,65 unequal: No Solution Exploring Operation: 41+73=114, Resulting Numbers: [114] 114,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 65:[78, 46], Operations: ['45+33=78', '5+41=46'] Exploring Operation: 78+46=124, Resulting Numbers: [124] 124,65 unequal: No Solution Exploring Operation: 78*46=3588, Resulting Numbers: [3588] 3588,65 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 65:[78, 36], Operations: ['45+33=78', '41-5=36'] Exploring Operation: 78-36=42, Resulting Numbers: [42] 42,65 unequal: No Solution Exploring Operation: 78+36=114, Resulting Numbers: [114] 114,65 unequal: No Solution Exploring Operation: 78*36=2808, Resulting Numbers: [2808] 2808,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 65:[41, 83], Operations: ['45+33=78', '5+78=83'] Exploring Operation: 41+83=124, Resulting Numbers: [124] 124,65 unequal: No Solution Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,65 unequal: No Solution Exploring Operation: 41*83=3403, Resulting Numbers: [3403] 3403,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 65:[8, 9], Operations: ['41-33=8', '45/5=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,65 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[5, 53], Operations: ['41-33=8', '45+8=53'] Exploring Operation: 5*53=265, Resulting Numbers: [265] 265,65 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,65 unequal: No Solution Exploring Operation: 5+53=58, Resulting Numbers: [58] 58,65 unequal: No Solution Moving to Node #0,4,0 Current State: 65:[74, 9], Operations: ['41+33=74', '45/5=9'] Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[45, 5, 41, 33], Operations: [] Exploring Operation: 41+33=74, Resulting Numbers: [45, 5, 74] Generated Node #0,4: 65:[45, 5, 74] Operation: 41+33=74 Moving to Node #0,4 Current State: 65:[45, 5, 74], Operations: ['41+33=74'] Exploring Operation: 45/5=9, Resulting Numbers: [74, 9] Generated Node #0,4,0: 65:[74, 9] Operation: 45/5=9 Moving to Node #0,4,0 Current State: 65:[74, 9], Operations: ['41+33=74', '45/5=9'] Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.922743
hs_5
sum_heuristic
[ 5, 5, 16, 51 ]
51
[ "5-5=0", "16*0=0", "51+0=51" ]
Current State: 51:[5, 5, 16, 51], Operations: [] Exploring Operation: 5-5=0, Resulting Numbers: [16, 51, 0] Generated Node #2: [16, 51, 0] from Operation: 5-5=0 Current State: 51:[16, 51, 0], Operations: ['5-5=0'] Exploring Operation: 16*0=0, Resulting Numbers: [51, 0] Generated Node #3: [51, 0] from Operation: 16*0=0 Current State: 51:[51, 0], Operations: ['5-5=0', '16*0=0'] Exploring Operation: 51+0=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[5, 5, 16, 51], Operations: [] Exploring Operation: 5/5=1, Resulting Numbers: [16, 51, 1] Generated Node #0,0: 51:[16, 51, 1] Operation: 5/5=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[16, 51, 1], Operations: ['5/5=1'] Exploring Operation: 16+1=17, Resulting Numbers: [51, 17] Generated Node #0,0,0: 51:[51, 17] Operation: 16+1=17 Moving to Node #0,0,0 Current State: 51:[51, 17], Operations: ['5/5=1', '16+1=17'] Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,51 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, 84, 64, 35 ]
42
[ "76-64=12", "84/12=7", "35+7=42" ]
Current State: 42:[76, 84, 64, 35], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [84, 35, 12] Generated Node #2: [84, 35, 12] from Operation: 76-64=12 Current State: 42:[84, 35, 12], Operations: ['76-64=12'] Exploring Operation: 84/12=7, Resulting Numbers: [35, 7] Generated Node #3: [35, 7] from Operation: 84/12=7 Current State: 42:[35, 7], Operations: ['76-64=12', '84/12=7'] Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[76, 84, 64, 35], Operations: [] Exploring Operation: 84-35=49, Resulting Numbers: [76, 64, 49] Generated Node #0,0: 42:[76, 64, 49] Operation: 84-35=49 Exploring Operation: 84-76=8, Resulting Numbers: [64, 35, 8] Generated Node #0,1: 42:[64, 35, 8] Operation: 84-76=8 Exploring Operation: 76-64=12, Resulting Numbers: [84, 35, 12] Generated Node #0,2: 42:[84, 35, 12] Operation: 76-64=12 Exploring Operation: 84-64=20, Resulting Numbers: [76, 35, 20] Generated Node #0,3: 42:[76, 35, 20] Operation: 84-64=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[64, 35, 8], Operations: ['84-76=8'] Exploring Operation: 64-8=56, Resulting Numbers: [35, 56] Generated Node #0,1,0: 42:[35, 56] Operation: 64-8=56 Exploring Operation: 64-35=29, Resulting Numbers: [8, 29] Generated Node #0,1,1: 42:[8, 29] Operation: 64-35=29 Exploring Operation: 35+8=43, Resulting Numbers: [64, 43] Generated Node #0,1,2: 42:[64, 43] Operation: 35+8=43 Exploring Operation: 64/8=8, Resulting Numbers: [35, 8] Generated Node #0,1,3: 42:[35, 8] Operation: 64/8=8 Moving to Node #0,1,3 Current State: 42:[35, 8], Operations: ['84-76=8', '64/8=8'] Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,42 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,42 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[8, 29], Operations: ['84-76=8', '64-35=29'] Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,42 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[35, 56], Operations: ['84-76=8', '64-8=56'] Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 35*56=1960, Resulting Numbers: [1960] 1960,42 unequal: No Solution Exploring Operation: 35+56=91, Resulting Numbers: [91] 91,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[64, 43], Operations: ['84-76=8', '35+8=43'] Exploring Operation: 64+43=107, Resulting Numbers: [107] 107,42 unequal: No Solution Exploring Operation: 64*43=2752, Resulting Numbers: [2752] 2752,42 unequal: No Solution Exploring Operation: 64-43=21, Resulting Numbers: [21] 21,42 unequal: No Solution No 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: 42:[76, 35, 20], Operations: ['84-64=20'] Exploring Operation: 35+20=55, Resulting Numbers: [76, 55] Generated Node #0,3,0: 42:[76, 55] Operation: 35+20=55 Exploring Operation: 35-20=15, Resulting Numbers: [76, 15] Generated Node #0,3,1: 42:[76, 15] Operation: 35-20=15 Exploring Operation: 76-35=41, Resulting Numbers: [20, 41] Generated Node #0,3,2: 42:[20, 41] Operation: 76-35=41 Exploring Operation: 76-20=56, Resulting Numbers: [35, 56] Generated Node #0,3,3: 42:[35, 56] Operation: 76-20=56 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 42:[20, 41], Operations: ['84-64=20', '76-35=41'] Exploring Operation: 20+41=61, Resulting Numbers: [61] 61,42 unequal: No Solution Exploring Operation: 20*41=820, Resulting Numbers: [820] 820,42 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,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,3,3 Current State: 42:[35, 56], Operations: ['84-64=20', '76-20=56'] Exploring Operation: 35*56=1960, Resulting Numbers: [1960] 1960,42 unequal: No Solution Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 35+56=91, Resulting Numbers: [91] 91,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,3,1 Current State: 42:[76, 15], Operations: ['84-64=20', '35-20=15'] Exploring Operation: 76*15=1140, Resulting Numbers: [1140] 1140,42 unequal: No Solution Exploring Operation: 76+15=91, Resulting Numbers: [91] 91,42 unequal: No Solution Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,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,3,0 Current State: 42:[76, 55], Operations: ['84-64=20', '35+20=55'] Exploring Operation: 76*55=4180, Resulting Numbers: [4180] 4180,42 unequal: No Solution Exploring Operation: 76+55=131, Resulting Numbers: [131] 131,42 unequal: No Solution Exploring Operation: 76-55=21, Resulting Numbers: [21] 21,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,2 Current State: 42:[84, 35, 12], Operations: ['76-64=12'] Exploring Operation: 84/12=7, Resulting Numbers: [35, 7] Generated Node #0,2,0: 42:[35, 7] Operation: 84/12=7 Exploring Operation: 84-12=72, Resulting Numbers: [35, 72] Generated Node #0,2,1: 42:[35, 72] Operation: 84-12=72 Exploring Operation: 84-35=49, Resulting Numbers: [12, 49] Generated Node #0,2,2: 42:[12, 49] Operation: 84-35=49 Exploring Operation: 35-12=23, Resulting Numbers: [84, 23] Generated Node #0,2,3: 42:[84, 23] Operation: 35-12=23 Moving to Node #0,2,0 Current State: 42:[35, 7], Operations: ['76-64=12', '84/12=7'] Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[76, 84, 64, 35], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [84, 35, 12] Generated Node #0,2: 42:[84, 35, 12] Operation: 76-64=12 Moving to Node #0,2 Current State: 42:[84, 35, 12], Operations: ['76-64=12'] Exploring Operation: 84/12=7, Resulting Numbers: [35, 7] Generated Node #0,2,0: 42:[35, 7] Operation: 84/12=7 Moving to Node #0,2,0 Current State: 42:[35, 7], Operations: ['76-64=12', '84/12=7'] Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_4
sum_heuristic
[ 62, 57, 40, 38 ]
88
[ "40-38=2", "62/2=31", "57+31=88" ]
Current State: 88:[62, 57, 40, 38], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [62, 57, 2] Generated Node #2: [62, 57, 2] from Operation: 40-38=2 Current State: 88:[62, 57, 2], Operations: ['40-38=2'] Exploring Operation: 62/2=31, Resulting Numbers: [57, 31] Generated Node #3: [57, 31] from Operation: 62/2=31 Current State: 88:[57, 31], Operations: ['40-38=2', '62/2=31'] Exploring Operation: 57+31=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[62, 57, 40, 38], Operations: [] Exploring Operation: 62-57=5, Resulting Numbers: [40, 38, 5] Generated Node #0,0: 88:[40, 38, 5] Operation: 62-57=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[40, 38, 5], Operations: ['62-57=5'] Exploring Operation: 40-38=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 88:[5, 2] Operation: 40-38=2 Moving to Node #0,0,0 Current State: 88:[5, 2], Operations: ['62-57=5', '40-38=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,88 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
[ 24, 86, 19, 80 ]
70
[ "24-19=5", "80/5=16", "86-16=70" ]
Current State: 70:[24, 86, 19, 80], Operations: [] Exploring Operation: 24-19=5, Resulting Numbers: [86, 80, 5] Generated Node #2: [86, 80, 5] from Operation: 24-19=5 Current State: 70:[86, 80, 5], Operations: ['24-19=5'] Exploring Operation: 80/5=16, Resulting Numbers: [86, 16] Generated Node #3: [86, 16] from Operation: 80/5=16 Current State: 70:[86, 16], Operations: ['24-19=5', '80/5=16'] Exploring Operation: 86-16=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[24, 86, 19, 80], Operations: [] Exploring Operation: 86-24=62, Resulting Numbers: [19, 80, 62] Generated Node #0,0: 70:[19, 80, 62] Operation: 86-24=62 Exploring Operation: 86-80=6, Resulting Numbers: [24, 19, 6] Generated Node #0,1: 70:[24, 19, 6] Operation: 86-80=6 Moving to Node #0,1 Current State: 70:[24, 19, 6], Operations: ['86-80=6'] Exploring Operation: 24/6=4, Resulting Numbers: [19, 4] Generated Node #0,1,0: 70:[19, 4] Operation: 24/6=4 Exploring Operation: 24-19=5, Resulting Numbers: [6, 5] Generated Node #0,1,1: 70:[6, 5] Operation: 24-19=5 Moving to Node #0,0 Current State: 70:[19, 80, 62], Operations: ['86-24=62'] Exploring Operation: 80-62=18, Resulting Numbers: [19, 18] Generated Node #0,0,0: 70:[19, 18] Operation: 80-62=18 Exploring Operation: 80-19=61, Resulting Numbers: [62, 61] Generated Node #0,0,1: 70:[62, 61] Operation: 80-19=61 Moving to Node #0,1,1 Current State: 70:[6, 5], Operations: ['86-80=6', '24-19=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[19, 4], Operations: ['86-80=6', '24/6=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[19, 18], Operations: ['86-24=62', '80-62=18'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[62, 61], Operations: ['86-24=62', '80-19=61'] Exploring Operation: 62+61=123, Resulting Numbers: [123] 123,70 unequal: No Solution Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,70 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 20, 15, 3, 38 ]
83
[ "20*3=60", "38-15=23", "60+23=83" ]
Current State: 83:[20, 15, 3, 38], Operations: [] Exploring Operation: 20*3=60, Resulting Numbers: [15, 38, 60] Generated Node #2: [15, 38, 60] from Operation: 20*3=60 Current State: 83:[15, 38, 60], Operations: ['20*3=60'] Exploring Operation: 38-15=23, Resulting Numbers: [60, 23] Generated Node #3: [60, 23] from Operation: 38-15=23 Current State: 83:[60, 23], Operations: ['20*3=60', '38-15=23'] Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[20, 15, 3, 38], Operations: [] Exploring Operation: 20*3=60, Resulting Numbers: [15, 38, 60] Generated Node #0,0: 83:[15, 38, 60] Operation: 20*3=60 Exploring Operation: 3*38=114, Resulting Numbers: [20, 15, 114] Generated Node #0,1: 83:[20, 15, 114] Operation: 3*38=114 Exploring Operation: 15*3=45, Resulting Numbers: [20, 38, 45] Generated Node #0,2: 83:[20, 38, 45] Operation: 15*3=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[15, 38, 60], Operations: ['20*3=60'] Exploring Operation: 15+38=53, Resulting Numbers: [60, 53] Generated Node #0,0,0: 83:[60, 53] Operation: 15+38=53 Exploring Operation: 38-15=23, Resulting Numbers: [60, 23] Generated Node #0,0,1: 83:[60, 23] Operation: 38-15=23 Exploring Operation: 15+60=75, Resulting Numbers: [38, 75] Generated Node #0,0,2: 83:[38, 75] Operation: 15+60=75 Moving to Node #0,0,0 Current State: 83:[60, 53], Operations: ['20*3=60', '15+38=53'] Exploring Operation: 60+53=113, Resulting Numbers: [113] 113,83 unequal: No Solution Exploring Operation: 60-53=7, Resulting Numbers: [7] 7,83 unequal: No Solution Exploring Operation: 60*53=3180, Resulting Numbers: [3180] 3180,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[38, 75], Operations: ['20*3=60', '15+60=75'] Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,83 unequal: No Solution Exploring Operation: 38*75=2850, Resulting Numbers: [2850] 2850,83 unequal: No Solution Exploring Operation: 38+75=113, Resulting Numbers: [113] 113,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[60, 23], Operations: ['20*3=60', '38-15=23'] Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[20, 15, 3, 38], Operations: [] Exploring Operation: 20*3=60, Resulting Numbers: [15, 38, 60] Generated Node #0,0: 83:[15, 38, 60] Operation: 20*3=60 Moving to Node #0,0 Current State: 83:[15, 38, 60], Operations: ['20*3=60'] Exploring Operation: 38-15=23, Resulting Numbers: [60, 23] Generated Node #0,0,1: 83:[60, 23] Operation: 38-15=23 Moving to Node #0,0,1 Current State: 83:[60, 23], Operations: ['20*3=60', '38-15=23'] Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 6, 14, 94, 9 ]
93
[ "14-6=8", "94-9=85", "8+85=93" ]
Current State: 93:[6, 14, 94, 9], Operations: [] Exploring Operation: 14-6=8, Resulting Numbers: [94, 9, 8] Generated Node #2: [94, 9, 8] from Operation: 14-6=8 Current State: 93:[94, 9, 8], Operations: ['14-6=8'] Exploring Operation: 94-9=85, Resulting Numbers: [8, 85] Generated Node #3: [8, 85] from Operation: 94-9=85 Current State: 93:[8, 85], Operations: ['14-6=8', '94-9=85'] Exploring Operation: 8+85=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[6, 14, 94, 9], Operations: [] Exploring Operation: 14+9=23, Resulting Numbers: [6, 94, 23] Generated Node #0,0: 93:[6, 94, 23] Operation: 14+9=23 Exploring Operation: 6*14=84, Resulting Numbers: [94, 9, 84] Generated Node #0,1: 93:[94, 9, 84] Operation: 6*14=84 Exploring Operation: 14-9=5, Resulting Numbers: [6, 94, 5] Generated Node #0,2: 93:[6, 94, 5] Operation: 14-9=5 Exploring Operation: 14-6=8, Resulting Numbers: [94, 9, 8] Generated Node #0,3: 93:[94, 9, 8] Operation: 14-6=8 Exploring Operation: 9-6=3, Resulting Numbers: [14, 94, 3] Generated Node #0,4: 93:[14, 94, 3] Operation: 9-6=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[6, 94, 5], Operations: ['14-9=5'] Exploring Operation: 6-5=1, Resulting Numbers: [94, 1] Generated Node #0,2,0: 93:[94, 1] Operation: 6-5=1 Exploring Operation: 94-5=89, Resulting Numbers: [6, 89] Generated Node #0,2,1: 93:[6, 89] Operation: 94-5=89 Exploring Operation: 94-6=88, Resulting Numbers: [5, 88] Generated Node #0,2,2: 93:[5, 88] Operation: 94-6=88 Exploring Operation: 6+94=100, Resulting Numbers: [5, 100] Generated Node #0,2,3: 93:[5, 100] Operation: 6+94=100 Exploring Operation: 6*5=30, Resulting Numbers: [94, 30] Generated Node #0,2,4: 93:[94, 30] Operation: 6*5=30 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 93:[94, 30], Operations: ['14-9=5', '6*5=30'] Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,93 unequal: No Solution Exploring Operation: 94+30=124, Resulting Numbers: [124] 124,93 unequal: No Solution Exploring Operation: 94*30=2820, Resulting Numbers: [2820] 2820,93 unequal: No Solution No 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: 93:[94, 1], Operations: ['14-9=5', '6-5=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,93 unequal: No Solution Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[6, 14, 94, 9], Operations: [] Exploring Operation: 14-9=5, Resulting Numbers: [6, 94, 5] Generated Node #0,2: 93:[6, 94, 5] Operation: 14-9=5 Moving to Node #0,2 Current State: 93:[6, 94, 5], Operations: ['14-9=5'] Exploring Operation: 6-5=1, Resulting Numbers: [94, 1] Generated Node #0,2,0: 93:[94, 1] Operation: 6-5=1 Moving to Node #0,2,0 Current State: 93:[94, 1], Operations: ['14-9=5', '6-5=1'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 82, 21, 46, 59 ]
90
[ "82+21=103", "59-46=13", "103-13=90" ]
Current State: 90:[82, 21, 46, 59], Operations: [] Exploring Operation: 82+21=103, Resulting Numbers: [46, 59, 103] Generated Node #2: [46, 59, 103] from Operation: 82+21=103 Current State: 90:[46, 59, 103], Operations: ['82+21=103'] Exploring Operation: 59-46=13, Resulting Numbers: [103, 13] Generated Node #3: [103, 13] from Operation: 59-46=13 Current State: 90:[103, 13], Operations: ['82+21=103', '59-46=13'] Exploring Operation: 103-13=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[82, 21, 46, 59], Operations: [] Exploring Operation: 59-46=13, Resulting Numbers: [82, 21, 13] Generated Node #0,0: 90:[82, 21, 13] Operation: 59-46=13 Exploring Operation: 82-59=23, Resulting Numbers: [21, 46, 23] Generated Node #0,1: 90:[21, 46, 23] Operation: 82-59=23 Moving to Node #0,1 Current State: 90:[21, 46, 23], Operations: ['82-59=23'] Exploring Operation: 21+23=44, Resulting Numbers: [46, 44] Generated Node #0,1,0: 90:[46, 44] Operation: 21+23=44 Exploring Operation: 23-21=2, Resulting Numbers: [46, 2] Generated Node #0,1,1: 90:[46, 2] Operation: 23-21=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[46, 2], Operations: ['82-59=23', '23-21=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,90 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[46, 44], Operations: ['82-59=23', '21+23=44'] Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 46+44=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[82, 21, 46, 59], Operations: [] Exploring Operation: 82-59=23, Resulting Numbers: [21, 46, 23] Generated Node #0,1: 90:[21, 46, 23] Operation: 82-59=23 Moving to Node #0,1 Current State: 90:[21, 46, 23], Operations: ['82-59=23'] Exploring Operation: 21+23=44, Resulting Numbers: [46, 44] Generated Node #0,1,0: 90:[46, 44] Operation: 21+23=44 Moving to Node #0,1,0 Current State: 90:[46, 44], Operations: ['82-59=23', '21+23=44'] Exploring Operation: 46+44=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 50, 4, 71, 66 ]
83
[ "50+4=54", "71+66=137", "137-54=83" ]
Current State: 83:[50, 4, 71, 66], Operations: [] Exploring Operation: 50+4=54, Resulting Numbers: [71, 66, 54] Generated Node #2: [71, 66, 54] from Operation: 50+4=54 Current State: 83:[71, 66, 54], Operations: ['50+4=54'] Exploring Operation: 71+66=137, Resulting Numbers: [54, 137] Generated Node #3: [54, 137] from Operation: 71+66=137 Current State: 83:[54, 137], Operations: ['50+4=54', '71+66=137'] Exploring Operation: 137-54=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[50, 4, 71, 66], Operations: [] Exploring Operation: 50+4=54, Resulting Numbers: [71, 66, 54] Generated Node #0,0: 83:[71, 66, 54] Operation: 50+4=54 Moving to Node #0,0 Current State: 83:[71, 66, 54], Operations: ['50+4=54'] Exploring Operation: 66+54=120, Resulting Numbers: [71, 120] Generated Node #0,0,0: 83:[71, 120] Operation: 66+54=120 Moving to Node #0,0,0 Current State: 83:[71, 120], Operations: ['50+4=54', '66+54=120'] Exploring Operation: 120-71=49, Resulting Numbers: [49] 49,83 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 3, 15, 44, 97 ]
97
[ "3*15=45", "45-44=1", "97*1=97" ]
Current State: 97:[3, 15, 44, 97], Operations: [] Exploring Operation: 3*15=45, Resulting Numbers: [44, 97, 45] Generated Node #2: [44, 97, 45] from Operation: 3*15=45 Current State: 97:[44, 97, 45], Operations: ['3*15=45'] Exploring Operation: 45-44=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 45-44=1 Current State: 97:[97, 1], Operations: ['3*15=45', '45-44=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[3, 15, 44, 97], Operations: [] Exploring Operation: 3+44=47, Resulting Numbers: [15, 97, 47] Generated Node #0,0: 97:[15, 97, 47] Operation: 3+44=47 Exploring Operation: 3*15=45, Resulting Numbers: [44, 97, 45] Generated Node #0,1: 97:[44, 97, 45] Operation: 3*15=45 Exploring Operation: 3*44=132, Resulting Numbers: [15, 97, 132] Generated Node #0,2: 97:[15, 97, 132] Operation: 3*44=132 Exploring Operation: 3+15=18, Resulting Numbers: [44, 97, 18] Generated Node #0,3: 97:[44, 97, 18] Operation: 3+15=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[44, 97, 45], Operations: ['3*15=45'] Exploring Operation: 45-44=1, Resulting Numbers: [97, 1] Generated Node #0,1,0: 97:[97, 1] Operation: 45-44=1 Exploring Operation: 44+45=89, Resulting Numbers: [97, 89] Generated Node #0,1,1: 97:[97, 89] Operation: 44+45=89 Exploring Operation: 44+97=141, Resulting Numbers: [45, 141] Generated Node #0,1,2: 97:[45, 141] Operation: 44+97=141 Exploring Operation: 97-44=53, Resulting Numbers: [45, 53] Generated Node #0,1,3: 97:[45, 53] Operation: 97-44=53 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[97, 89], Operations: ['3*15=45', '44+45=89'] Exploring Operation: 97*89=8633, Resulting Numbers: [8633] 8633,97 unequal: No Solution Exploring Operation: 97+89=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 97-89=8, Resulting Numbers: [8] 8,97 unequal: No Solution No 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: 97:[97, 1], Operations: ['3*15=45', '45-44=1'] Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[3, 15, 44, 97], Operations: [] Exploring Operation: 3*15=45, Resulting Numbers: [44, 97, 45] Generated Node #0,1: 97:[44, 97, 45] Operation: 3*15=45 Moving to Node #0,1 Current State: 97:[44, 97, 45], Operations: ['3*15=45'] Exploring Operation: 45-44=1, Resulting Numbers: [97, 1] Generated Node #0,1,0: 97:[97, 1] Operation: 45-44=1 Moving to Node #0,1,0 Current State: 97:[97, 1], Operations: ['3*15=45', '45-44=1'] Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 95, 68, 53, 30 ]
93
[ "68-53=15", "30/15=2", "95-2=93" ]
Current State: 93:[95, 68, 53, 30], Operations: [] Exploring Operation: 68-53=15, Resulting Numbers: [95, 30, 15] Generated Node #2: [95, 30, 15] from Operation: 68-53=15 Current State: 93:[95, 30, 15], Operations: ['68-53=15'] Exploring Operation: 30/15=2, Resulting Numbers: [95, 2] Generated Node #3: [95, 2] from Operation: 30/15=2 Current State: 93:[95, 2], Operations: ['68-53=15', '30/15=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[95, 68, 53, 30], Operations: [] Exploring Operation: 68-53=15, Resulting Numbers: [95, 30, 15] Generated Node #0,0: 93:[95, 30, 15] Operation: 68-53=15 Exploring Operation: 68+53=121, Resulting Numbers: [95, 30, 121] Generated Node #0,1: 93:[95, 30, 121] Operation: 68+53=121 Exploring Operation: 68+30=98, Resulting Numbers: [95, 53, 98] Generated Node #0,2: 93:[95, 53, 98] Operation: 68+30=98 Exploring Operation: 95-68=27, Resulting Numbers: [53, 30, 27] Generated Node #0,3: 93:[53, 30, 27] Operation: 95-68=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[95, 30, 15], Operations: ['68-53=15'] Exploring Operation: 30-15=15, Resulting Numbers: [95, 15] Generated Node #0,0,0: 93:[95, 15] Operation: 30-15=15 Exploring Operation: 30/15=2, Resulting Numbers: [95, 2] Generated Node #0,0,1: 93:[95, 2] Operation: 30/15=2 Exploring Operation: 30+15=45, Resulting Numbers: [95, 45] Generated Node #0,0,2: 93:[95, 45] Operation: 30+15=45 Exploring Operation: 95-15=80, Resulting Numbers: [30, 80] Generated Node #0,0,3: 93:[30, 80] Operation: 95-15=80 Moving to Node #0,0,1 Current State: 93:[95, 2], Operations: ['68-53=15', '30/15=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[95, 68, 53, 30], Operations: [] Exploring Operation: 68-53=15, Resulting Numbers: [95, 30, 15] Generated Node #0,0: 93:[95, 30, 15] Operation: 68-53=15 Moving to Node #0,0 Current State: 93:[95, 30, 15], Operations: ['68-53=15'] Exploring Operation: 30/15=2, Resulting Numbers: [95, 2] Generated Node #0,0,1: 93:[95, 2] Operation: 30/15=2 Moving to Node #0,0,1 Current State: 93:[95, 2], Operations: ['68-53=15', '30/15=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 91, 29, 89, 47 ]
20
[ "91-29=62", "89-47=42", "62-42=20" ]
Current State: 20:[91, 29, 89, 47], Operations: [] Exploring Operation: 91-29=62, Resulting Numbers: [89, 47, 62] Generated Node #2: [89, 47, 62] from Operation: 91-29=62 Current State: 20:[89, 47, 62], Operations: ['91-29=62'] Exploring Operation: 89-47=42, Resulting Numbers: [62, 42] Generated Node #3: [62, 42] from Operation: 89-47=42 Current State: 20:[62, 42], Operations: ['91-29=62', '89-47=42'] Exploring Operation: 62-42=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[91, 29, 89, 47], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [29, 47, 2] Generated Node #0,0: 20:[29, 47, 2] Operation: 91-89=2 Exploring Operation: 89-47=42, Resulting Numbers: [91, 29, 42] Generated Node #0,1: 20:[91, 29, 42] Operation: 89-47=42 Exploring Operation: 91-47=44, Resulting Numbers: [29, 89, 44] Generated Node #0,2: 20:[29, 89, 44] Operation: 91-47=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[29, 47, 2], Operations: ['91-89=2'] Exploring Operation: 47-29=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 20:[2, 18] Operation: 47-29=18 Exploring Operation: 29-2=27, Resulting Numbers: [47, 27] Generated Node #0,0,1: 20:[47, 27] Operation: 29-2=27 Exploring Operation: 47-2=45, Resulting Numbers: [29, 45] Generated Node #0,0,2: 20:[29, 45] Operation: 47-2=45 Moving to Node #0,0,0 Current State: 20:[2, 18], Operations: ['91-89=2', '47-29=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[91, 29, 89, 47], Operations: [] Exploring Operation: 91-89=2, Resulting Numbers: [29, 47, 2] Generated Node #0,0: 20:[29, 47, 2] Operation: 91-89=2 Moving to Node #0,0 Current State: 20:[29, 47, 2], Operations: ['91-89=2'] Exploring Operation: 47-29=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 20:[2, 18] Operation: 47-29=18 Moving to Node #0,0,0 Current State: 20:[2, 18], Operations: ['91-89=2', '47-29=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 97, 23, 88, 12 ]
26
[ "97-23=74", "88+12=100", "100-74=26" ]
Current State: 26:[97, 23, 88, 12], Operations: [] Exploring Operation: 97-23=74, Resulting Numbers: [88, 12, 74] Generated Node #2: [88, 12, 74] from Operation: 97-23=74 Current State: 26:[88, 12, 74], Operations: ['97-23=74'] Exploring Operation: 88+12=100, Resulting Numbers: [74, 100] Generated Node #3: [74, 100] from Operation: 88+12=100 Current State: 26:[74, 100], Operations: ['97-23=74', '88+12=100'] Exploring Operation: 100-74=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[97, 23, 88, 12], Operations: [] Exploring Operation: 97-88=9, Resulting Numbers: [23, 12, 9] Generated Node #0,0: 26:[23, 12, 9] Operation: 97-88=9 Exploring Operation: 88-12=76, Resulting Numbers: [97, 23, 76] Generated Node #0,1: 26:[97, 23, 76] Operation: 88-12=76 Exploring Operation: 97-12=85, Resulting Numbers: [23, 88, 85] Generated Node #0,2: 26:[23, 88, 85] Operation: 97-12=85 Exploring Operation: 88-23=65, Resulting Numbers: [97, 12, 65] Generated Node #0,3: 26:[97, 12, 65] Operation: 88-23=65 Exploring Operation: 97-23=74, Resulting Numbers: [88, 12, 74] Generated Node #0,4: 26:[88, 12, 74] Operation: 97-23=74 Moving to Node #0,0 Current State: 26:[23, 12, 9], Operations: ['97-88=9'] Exploring Operation: 12+9=21, Resulting Numbers: [23, 21] Generated Node #0,0,0: 26:[23, 21] Operation: 12+9=21 Exploring Operation: 12-9=3, Resulting Numbers: [23, 3] Generated Node #0,0,1: 26:[23, 3] Operation: 12-9=3 Exploring Operation: 23-9=14, Resulting Numbers: [12, 14] Generated Node #0,0,2: 26:[12, 14] Operation: 23-9=14 Exploring Operation: 23-12=11, Resulting Numbers: [9, 11] Generated Node #0,0,3: 26:[9, 11] Operation: 23-12=11 Exploring Operation: 23+9=32, Resulting Numbers: [12, 32] Generated Node #0,0,4: 26:[12, 32] Operation: 23+9=32 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 26:[12, 14], Operations: ['97-88=9', '23-9=14'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,26 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[97, 23, 88, 12], Operations: [] Exploring Operation: 97-88=9, Resulting Numbers: [23, 12, 9] Generated Node #0,0: 26:[23, 12, 9] Operation: 97-88=9 Moving to Node #0,0 Current State: 26:[23, 12, 9], Operations: ['97-88=9'] Exploring Operation: 23-9=14, Resulting Numbers: [12, 14] Generated Node #0,0,2: 26:[12, 14] Operation: 23-9=14 Moving to Node #0,0,2 Current State: 26:[12, 14], Operations: ['97-88=9', '23-9=14'] Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 38, 8, 46, 77 ]
20
[ "38+77=115", "8*115=920", "920/46=20" ]
Current State: 20:[38, 8, 46, 77], Operations: [] Exploring Operation: 38+77=115, Resulting Numbers: [8, 46, 115] Generated Node #2: [8, 46, 115] from Operation: 38+77=115 Current State: 20:[8, 46, 115], Operations: ['38+77=115'] Exploring Operation: 8*115=920, Resulting Numbers: [46, 920] Generated Node #3: [46, 920] from Operation: 8*115=920 Current State: 20:[46, 920], Operations: ['38+77=115', '8*115=920'] Exploring Operation: 920/46=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[38, 8, 46, 77], Operations: [] Exploring Operation: 77-46=31, Resulting Numbers: [38, 8, 31] Generated Node #0,0: 20:[38, 8, 31] Operation: 77-46=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[38, 8, 31], Operations: ['77-46=31'] Exploring Operation: 38-31=7, Resulting Numbers: [8, 7] Generated Node #0,0,0: 20:[8, 7] Operation: 38-31=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[8, 7], Operations: ['77-46=31', '38-31=7'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,20 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
[ 63, 69, 20, 7 ]
40
[ "63/7=9", "69-20=49", "49-9=40" ]
Current State: 40:[63, 69, 20, 7], Operations: [] Exploring Operation: 63/7=9, Resulting Numbers: [69, 20, 9] Generated Node #2: [69, 20, 9] from Operation: 63/7=9 Current State: 40:[69, 20, 9], Operations: ['63/7=9'] Exploring Operation: 69-20=49, Resulting Numbers: [9, 49] Generated Node #3: [9, 49] from Operation: 69-20=49 Current State: 40:[9, 49], Operations: ['63/7=9', '69-20=49'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[63, 69, 20, 7], Operations: [] Exploring Operation: 69-63=6, Resulting Numbers: [20, 7, 6] Generated Node #0,0: 40:[20, 7, 6] Operation: 69-63=6 Moving to Node #0,0 Current State: 40:[20, 7, 6], Operations: ['69-63=6'] Exploring Operation: 7-6=1, Resulting Numbers: [20, 1] Generated Node #0,0,0: 40:[20, 1] Operation: 7-6=1 Moving to Node #0,0,0 Current State: 40:[20, 1], Operations: ['69-63=6', '7-6=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,40 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 96, 75, 25, 4 ]
49
[ "96+75=171", "25+171=196", "196/4=49" ]
Current State: 49:[96, 75, 25, 4], Operations: [] Exploring Operation: 96+75=171, Resulting Numbers: [25, 4, 171] Generated Node #2: [25, 4, 171] from Operation: 96+75=171 Current State: 49:[25, 4, 171], Operations: ['96+75=171'] Exploring Operation: 25+171=196, Resulting Numbers: [4, 196] Generated Node #3: [4, 196] from Operation: 25+171=196 Current State: 49:[4, 196], Operations: ['96+75=171', '25+171=196'] Exploring Operation: 196/4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[96, 75, 25, 4], Operations: [] Exploring Operation: 75-25=50, Resulting Numbers: [96, 4, 50] Generated Node #0,0: 49:[96, 4, 50] Operation: 75-25=50 Exploring Operation: 96-25=71, Resulting Numbers: [75, 4, 71] Generated Node #0,1: 49:[75, 4, 71] Operation: 96-25=71 Exploring Operation: 96-75=21, Resulting Numbers: [25, 4, 21] Generated Node #0,2: 49:[25, 4, 21] Operation: 96-75=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[25, 4, 21], Operations: ['96-75=21'] Exploring Operation: 25-21=4, Resulting Numbers: [4, 4] Generated Node #0,2,0: 49:[4, 4] Operation: 25-21=4 Exploring Operation: 25-4=21, Resulting Numbers: [21, 21] Generated Node #0,2,1: 49:[21, 21] Operation: 25-4=21 Exploring Operation: 25+21=46, Resulting Numbers: [4, 46] Generated Node #0,2,2: 49:[4, 46] Operation: 25+21=46 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 49:[4, 4], Operations: ['96-75=21', '25-21=4'] Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,49 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[4, 46], Operations: ['96-75=21', '25+21=46'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,49 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 49:[21, 21], Operations: ['96-75=21', '25-4=21'] Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,49 unequal: No Solution Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[96, 4, 50], Operations: ['75-25=50'] Exploring Operation: 96-50=46, Resulting Numbers: [4, 46] Generated Node #0,0,0: 49:[4, 46] Operation: 96-50=46 Exploring Operation: 96/4=24, Resulting Numbers: [50, 24] Generated Node #0,0,1: 49:[50, 24] Operation: 96/4=24 Exploring Operation: 96-4=92, Resulting Numbers: [50, 92] Generated Node #0,0,2: 49:[50, 92] Operation: 96-4=92 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[4, 46], Operations: ['75-25=50', '96-50=46'] Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[50, 24], Operations: ['75-25=50', '96/4=24'] Exploring Operation: 50*24=1200, Resulting Numbers: [1200] 1200,49 unequal: No Solution Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,49 unequal: No Solution Exploring Operation: 50+24=74, Resulting Numbers: [74] 74,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 49:[50, 92], Operations: ['75-25=50', '96-4=92'] Exploring Operation: 50*92=4600, Resulting Numbers: [4600] 4600,49 unequal: No Solution Exploring Operation: 50+92=142, Resulting Numbers: [142] 142,49 unequal: No Solution Exploring Operation: 92-50=42, Resulting Numbers: [42] 42,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[75, 4, 71], Operations: ['96-25=71'] Exploring Operation: 75-71=4, Resulting Numbers: [4, 4] Generated Node #0,1,0: 49:[4, 4] Operation: 75-71=4 Exploring Operation: 75-4=71, Resulting Numbers: [71, 71] Generated Node #0,1,1: 49:[71, 71] Operation: 75-4=71 Exploring Operation: 71-4=67, Resulting Numbers: [75, 67] Generated Node #0,1,2: 49:[75, 67] Operation: 71-4=67 Moving to Node #0,1,0 Current State: 49:[4, 4], Operations: ['96-25=71', '75-71=4'] Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[71, 71], Operations: ['96-25=71', '75-4=71'] Exploring Operation: 71+71=142, Resulting Numbers: [142] 142,49 unequal: No Solution Exploring Operation: 71-71=0, Resulting Numbers: [0] 0,49 unequal: No Solution Exploring Operation: 71/71=1, Resulting Numbers: [1] 1,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[75, 67], Operations: ['96-25=71', '71-4=67'] Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 75+67=142, Resulting Numbers: [142] 142,49 unequal: No Solution Exploring Operation: 75*67=5025, Resulting Numbers: [5025] 5025,49 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
[ 51, 81, 24, 15 ]
58
[ "81+24=105", "105/15=7", "51+7=58" ]
Current State: 58:[51, 81, 24, 15], Operations: [] Exploring Operation: 81+24=105, Resulting Numbers: [51, 15, 105] Generated Node #2: [51, 15, 105] from Operation: 81+24=105 Current State: 58:[51, 15, 105], Operations: ['81+24=105'] Exploring Operation: 105/15=7, Resulting Numbers: [51, 7] Generated Node #3: [51, 7] from Operation: 105/15=7 Current State: 58:[51, 7], Operations: ['81+24=105', '105/15=7'] Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[51, 81, 24, 15], Operations: [] Exploring Operation: 81-15=66, Resulting Numbers: [51, 24, 66] Generated Node #0,0: 58:[51, 24, 66] Operation: 81-15=66 Exploring Operation: 51-15=36, Resulting Numbers: [81, 24, 36] Generated Node #0,1: 58:[81, 24, 36] Operation: 51-15=36 Exploring Operation: 81-51=30, Resulting Numbers: [24, 15, 30] Generated Node #0,2: 58:[24, 15, 30] Operation: 81-51=30 Exploring Operation: 81-24=57, Resulting Numbers: [51, 15, 57] Generated Node #0,3: 58:[51, 15, 57] Operation: 81-24=57 Moving to Node #0,2 Current State: 58:[24, 15, 30], Operations: ['81-51=30'] Exploring Operation: 24+15=39, Resulting Numbers: [30, 39] Generated Node #0,2,0: 58:[30, 39] Operation: 24+15=39 Exploring Operation: 24-15=9, Resulting Numbers: [30, 9] Generated Node #0,2,1: 58:[30, 9] Operation: 24-15=9 Exploring Operation: 24+30=54, Resulting Numbers: [15, 54] Generated Node #0,2,2: 58:[15, 54] Operation: 24+30=54 Exploring Operation: 30/15=2, Resulting Numbers: [24, 2] Generated Node #0,2,3: 58:[24, 2] Operation: 30/15=2 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 58:[24, 2], Operations: ['81-51=30', '30/15=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,58 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,58 unequal: No Solution No 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: 58:[30, 9], Operations: ['81-51=30', '24-15=9'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,58 unequal: No Solution Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,58 unequal: No Solution Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,58 unequal: No Solution No 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: 58:[30, 39], Operations: ['81-51=30', '24+15=39'] Exploring Operation: 30*39=1170, Resulting Numbers: [1170] 1170,58 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 30+39=69, Resulting Numbers: [69] 69,58 unequal: No Solution No 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: 58:[15, 54], Operations: ['81-51=30', '24+30=54'] Exploring Operation: 15+54=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 15*54=810, Resulting Numbers: [810] 810,58 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,58 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: 58:[51, 24, 66], Operations: ['81-15=66'] Exploring Operation: 66-24=42, Resulting Numbers: [51, 42] Generated Node #0,0,0: 58:[51, 42] Operation: 66-24=42 Exploring Operation: 51+24=75, Resulting Numbers: [66, 75] Generated Node #0,0,1: 58:[66, 75] Operation: 51+24=75 Exploring Operation: 51-24=27, Resulting Numbers: [66, 27] Generated Node #0,0,2: 58:[66, 27] Operation: 51-24=27 Exploring Operation: 66-51=15, Resulting Numbers: [24, 15] Generated Node #0,0,3: 58:[24, 15] Operation: 66-51=15 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[66, 27], Operations: ['81-15=66', '51-24=27'] Exploring Operation: 66*27=1782, Resulting Numbers: [1782] 1782,58 unequal: No Solution Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,58 unequal: No Solution Exploring Operation: 66+27=93, Resulting Numbers: [93] 93,58 unequal: No Solution No 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: 58:[24, 15], Operations: ['81-15=66', '66-51=15'] Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,58 unequal: No Solution Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,58 unequal: No Solution No 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: 58:[51, 42], Operations: ['81-15=66', '66-24=42'] Exploring Operation: 51*42=2142, Resulting Numbers: [2142] 2142,58 unequal: No Solution Exploring Operation: 51+42=93, Resulting Numbers: [93] 93,58 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,58 unequal: No Solution No 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: 58:[66, 75], Operations: ['81-15=66', '51+24=75'] Exploring Operation: 66*75=4950, Resulting Numbers: [4950] 4950,58 unequal: No Solution Exploring Operation: 66+75=141, Resulting Numbers: [141] 141,58 unequal: No Solution Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,58 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: 58:[51, 15, 57], Operations: ['81-24=57'] Exploring Operation: 57-15=42, Resulting Numbers: [51, 42] Generated Node #0,3,0: 58:[51, 42] Operation: 57-15=42 Exploring Operation: 57-51=6, Resulting Numbers: [15, 6] Generated Node #0,3,1: 58:[15, 6] Operation: 57-51=6 Exploring Operation: 51-15=36, Resulting Numbers: [57, 36] Generated Node #0,3,2: 58:[57, 36] Operation: 51-15=36 Exploring Operation: 51+15=66, Resulting Numbers: [57, 66] Generated Node #0,3,3: 58:[57, 66] Operation: 51+15=66 Moving to Node #0,1 Current State: 58:[81, 24, 36], Operations: ['51-15=36'] Exploring Operation: 81-24=57, Resulting Numbers: [36, 57] Generated Node #0,1,0: 58:[36, 57] Operation: 81-24=57 Exploring Operation: 36-24=12, Resulting Numbers: [81, 12] Generated Node #0,1,1: 58:[81, 12] Operation: 36-24=12 Exploring Operation: 24+36=60, Resulting Numbers: [81, 60] Generated Node #0,1,2: 58:[81, 60] Operation: 24+36=60 Exploring Operation: 81-36=45, Resulting Numbers: [24, 45] Generated Node #0,1,3: 58:[24, 45] Operation: 81-36=45 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[36, 57], Operations: ['51-15=36', '81-24=57'] Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,58 unequal: No Solution Exploring Operation: 36*57=2052, Resulting Numbers: [2052] 2052,58 unequal: No Solution Exploring Operation: 36+57=93, Resulting Numbers: [93] 93,58 unequal: No Solution No 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: 58:[24, 45], Operations: ['51-15=36', '81-36=45'] Exploring Operation: 24+45=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,58 unequal: No Solution Exploring Operation: 24*45=1080, Resulting Numbers: [1080] 1080,58 unequal: No Solution No 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: 58:[81, 60], Operations: ['51-15=36', '24+36=60'] Exploring Operation: 81*60=4860, Resulting Numbers: [4860] 4860,58 unequal: No Solution Exploring Operation: 81+60=141, Resulting Numbers: [141] 141,58 unequal: No Solution Exploring Operation: 81-60=21, Resulting Numbers: [21] 21,58 unequal: No Solution No 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: 58:[81, 12], Operations: ['51-15=36', '36-24=12'] Exploring Operation: 81*12=972, Resulting Numbers: [972] 972,58 unequal: No Solution Exploring Operation: 81-12=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 81+12=93, Resulting Numbers: [93] 93,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 58:[57, 36], Operations: ['81-24=57', '51-15=36'] Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,58 unequal: No Solution Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,58 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[57, 66], Operations: ['81-24=57', '51+15=66'] Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 57*66=3762, Resulting Numbers: [3762] 3762,58 unequal: No Solution Exploring Operation: 57+66=123, Resulting Numbers: [123] 123,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[15, 6], Operations: ['81-24=57', '57-51=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,58 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,58 unequal: No Solution Moving to Node #0,3,0 Current State: 58:[51, 42], Operations: ['81-24=57', '57-15=42'] Exploring Operation: 51*42=2142, Resulting Numbers: [2142] 2142,58 unequal: No Solution Exploring Operation: 51+42=93, Resulting Numbers: [93] 93,58 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,58 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 73, 2, 99, 75 ]
11
[ "73+99=172", "172/2=86", "86-75=11" ]
Current State: 11:[73, 2, 99, 75], Operations: [] Exploring Operation: 73+99=172, Resulting Numbers: [2, 75, 172] Generated Node #2: [2, 75, 172] from Operation: 73+99=172 Current State: 11:[2, 75, 172], Operations: ['73+99=172'] Exploring Operation: 172/2=86, Resulting Numbers: [75, 86] Generated Node #3: [75, 86] from Operation: 172/2=86 Current State: 11:[75, 86], Operations: ['73+99=172', '172/2=86'] Exploring Operation: 86-75=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[73, 2, 99, 75], Operations: [] Exploring Operation: 73-2=71, Resulting Numbers: [99, 75, 71] Generated Node #0,0: 11:[99, 75, 71] Operation: 73-2=71 Exploring Operation: 75-73=2, Resulting Numbers: [2, 99, 2] Generated Node #0,1: 11:[2, 99, 2] Operation: 75-73=2 Exploring Operation: 99-75=24, Resulting Numbers: [73, 2, 24] Generated Node #0,2: 11:[73, 2, 24] Operation: 99-75=24 Exploring Operation: 99-73=26, Resulting Numbers: [2, 75, 26] Generated Node #0,3: 11:[2, 75, 26] Operation: 99-73=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[73, 2, 24], Operations: ['99-75=24'] Exploring Operation: 24-2=22, Resulting Numbers: [73, 22] Generated Node #0,2,0: 11:[73, 22] Operation: 24-2=22 Exploring Operation: 73-24=49, Resulting Numbers: [2, 49] Generated Node #0,2,1: 11:[2, 49] Operation: 73-24=49 Exploring Operation: 73-2=71, Resulting Numbers: [24, 71] Generated Node #0,2,2: 11:[24, 71] Operation: 73-2=71 Exploring Operation: 24/2=12, Resulting Numbers: [73, 12] Generated Node #0,2,3: 11:[73, 12] Operation: 24/2=12 Moving to Node #0,2,1 Current State: 11:[2, 49], Operations: ['99-75=24', '73-24=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,11 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[73, 12], Operations: ['99-75=24', '24/2=12'] Exploring Operation: 73*12=876, Resulting Numbers: [876] 876,11 unequal: No Solution Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,11 unequal: No Solution Exploring Operation: 73+12=85, Resulting Numbers: [85] 85,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[24, 71], Operations: ['99-75=24', '73-2=71'] Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,11 unequal: No Solution Exploring Operation: 24*71=1704, Resulting Numbers: [1704] 1704,11 unequal: No Solution Exploring Operation: 24+71=95, Resulting Numbers: [95] 95,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[73, 22], Operations: ['99-75=24', '24-2=22'] Exploring Operation: 73+22=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 73*22=1606, Resulting Numbers: [1606] 1606,11 unequal: No Solution No 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: 11:[2, 75, 26], Operations: ['99-73=26'] Exploring Operation: 75-26=49, Resulting Numbers: [2, 49] Generated Node #0,3,0: 11:[2, 49] Operation: 75-26=49 Exploring Operation: 26-2=24, Resulting Numbers: [75, 24] Generated Node #0,3,1: 11:[75, 24] Operation: 26-2=24 Exploring Operation: 26/2=13, Resulting Numbers: [75, 13] Generated Node #0,3,2: 11:[75, 13] Operation: 26/2=13 Exploring Operation: 75-2=73, Resulting Numbers: [26, 73] Generated Node #0,3,3: 11:[26, 73] Operation: 75-2=73 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 11:[2, 49], Operations: ['99-73=26', '75-26=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,11 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,11 unequal: No Solution No 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: 11:[75, 13], Operations: ['99-73=26', '26/2=13'] Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,11 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,11 unequal: No Solution Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,11 unequal: No Solution No 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: 11:[75, 24], Operations: ['99-73=26', '26-2=24'] Exploring Operation: 75*24=1800, Resulting Numbers: [1800] 1800,11 unequal: No Solution Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 75+24=99, Resulting Numbers: [99] 99,11 unequal: No Solution No 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: 11:[26, 73], Operations: ['99-73=26', '75-2=73'] Exploring Operation: 26+73=99, Resulting Numbers: [99] 99,11 unequal: No Solution Exploring Operation: 26*73=1898, Resulting Numbers: [1898] 1898,11 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,11 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: 11:[2, 99, 2], Operations: ['75-73=2'] Exploring Operation: 2*2=4, Resulting Numbers: [99, 4] Generated Node #0,1,0: 11:[99, 4] Operation: 2*2=4 Exploring Operation: 99-2=97, Resulting Numbers: [2, 97] Generated Node #0,1,1: 11:[2, 97] Operation: 99-2=97 Exploring Operation: 2+2=4, Resulting Numbers: [99, 4] Generated Node #0,1,2: 11:[99, 4] Operation: 2+2=4 Exploring Operation: 99-2=97, Resulting Numbers: [2, 97] Generated Node #0,1,3: 11:[2, 97] Operation: 99-2=97 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[99, 4], Operations: ['75-73=2', '2*2=4'] Exploring Operation: 99+4=103, Resulting Numbers: [103] 103,11 unequal: No Solution Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 99*4=396, Resulting Numbers: [396] 396,11 unequal: No Solution No 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: 11:[2, 97], Operations: ['75-73=2', '99-2=97'] Exploring Operation: 2*97=194, Resulting Numbers: [194] 194,11 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 2+97=99, Resulting Numbers: [99] 99,11 unequal: No Solution No 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: 11:[99, 4], Operations: ['75-73=2', '2+2=4'] Exploring Operation: 99+4=103, Resulting Numbers: [103] 103,11 unequal: No Solution Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 99*4=396, Resulting Numbers: [396] 396,11 unequal: No Solution No 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: 11:[2, 97], Operations: ['75-73=2', '99-2=97'] Exploring Operation: 2+97=99, Resulting Numbers: [99] 99,11 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 2*97=194, Resulting Numbers: [194] 194,11 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: 11:[99, 75, 71], Operations: ['73-2=71'] Exploring Operation: 99+75=174, Resulting Numbers: [71, 174] Generated Node #0,0,0: 11:[71, 174] Operation: 99+75=174 Exploring Operation: 75-71=4, Resulting Numbers: [99, 4] Generated Node #0,0,1: 11:[99, 4] Operation: 75-71=4 Exploring Operation: 99-71=28, Resulting Numbers: [75, 28] Generated Node #0,0,2: 11:[75, 28] Operation: 99-71=28 Exploring Operation: 99-75=24, Resulting Numbers: [71, 24] Generated Node #0,0,3: 11:[71, 24] Operation: 99-75=24 Moving to Node #0,0,3 Current State: 11:[71, 24], Operations: ['73-2=71', '99-75=24'] Exploring Operation: 71*24=1704, Resulting Numbers: [1704] 1704,11 unequal: No Solution Exploring Operation: 71+24=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[75, 28], Operations: ['73-2=71', '99-71=28'] Exploring Operation: 75+28=103, Resulting Numbers: [103] 103,11 unequal: No Solution Exploring Operation: 75*28=2100, Resulting Numbers: [2100] 2100,11 unequal: No Solution Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[99, 4], Operations: ['73-2=71', '75-71=4'] Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 99*4=396, Resulting Numbers: [396] 396,11 unequal: No Solution Exploring Operation: 99+4=103, Resulting Numbers: [103] 103,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[71, 174], Operations: ['73-2=71', '99+75=174'] Exploring Operation: 174-71=103, Resulting Numbers: [103] 103,11 unequal: No Solution Exploring Operation: 71*174=12354, Resulting Numbers: [12354] 12354,11 unequal: No Solution Exploring Operation: 71+174=245, Resulting Numbers: [245] 245,11 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
[ 32, 64, 73, 10 ]
31
[ "64-32=32", "73-10=63", "63-32=31" ]
Current State: 31:[32, 64, 73, 10], Operations: [] Exploring Operation: 64-32=32, Resulting Numbers: [73, 10, 32] Generated Node #2: [73, 10, 32] from Operation: 64-32=32 Current State: 31:[73, 10, 32], Operations: ['64-32=32'] Exploring Operation: 73-10=63, Resulting Numbers: [32, 63] Generated Node #3: [32, 63] from Operation: 73-10=63 Current State: 31:[32, 63], Operations: ['64-32=32', '73-10=63'] Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[32, 64, 73, 10], Operations: [] Exploring Operation: 73-32=41, Resulting Numbers: [64, 10, 41] Generated Node #0,0: 31:[64, 10, 41] Operation: 73-32=41 Exploring Operation: 64-32=32, Resulting Numbers: [73, 10, 32] Generated Node #0,1: 31:[73, 10, 32] Operation: 64-32=32 Exploring Operation: 73-64=9, Resulting Numbers: [32, 10, 9] Generated Node #0,2: 31:[32, 10, 9] Operation: 73-64=9 Moving to Node #0,2 Current State: 31:[32, 10, 9], Operations: ['73-64=9'] Exploring Operation: 32-9=23, Resulting Numbers: [10, 23] Generated Node #0,2,0: 31:[10, 23] Operation: 32-9=23 Exploring Operation: 10+9=19, Resulting Numbers: [32, 19] Generated Node #0,2,1: 31:[32, 19] Operation: 10+9=19 Exploring Operation: 32-10=22, Resulting Numbers: [9, 22] Generated Node #0,2,2: 31:[9, 22] Operation: 32-10=22 Moving to Node #0,0 Current State: 31:[64, 10, 41], Operations: ['73-32=41'] Exploring Operation: 64-10=54, Resulting Numbers: [41, 54] Generated Node #0,0,0: 31:[41, 54] Operation: 64-10=54 Exploring Operation: 41-10=31, Resulting Numbers: [64, 31] Generated Node #0,0,1: 31:[64, 31] Operation: 41-10=31 Exploring Operation: 64-41=23, Resulting Numbers: [10, 23] Generated Node #0,0,2: 31:[10, 23] Operation: 64-41=23 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 31:[10, 23], Operations: ['73-32=41', '64-41=23'] Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,31 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,31 unequal: No Solution Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,31 unequal: No Solution No 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: 31:[41, 54], Operations: ['73-32=41', '64-10=54'] Exploring Operation: 41+54=95, Resulting Numbers: [95] 95,31 unequal: No Solution Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,31 unequal: No Solution Exploring Operation: 41*54=2214, Resulting Numbers: [2214] 2214,31 unequal: No Solution No 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: 31:[64, 31], Operations: ['73-32=41', '41-10=31'] Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,31 unequal: No Solution Exploring Operation: 64*31=1984, Resulting Numbers: [1984] 1984,31 unequal: No Solution Exploring Operation: 64+31=95, Resulting Numbers: [95] 95,31 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: 31:[73, 10, 32], Operations: ['64-32=32'] Exploring Operation: 73-32=41, Resulting Numbers: [10, 41] Generated Node #0,1,0: 31:[10, 41] Operation: 73-32=41 Exploring Operation: 73-10=63, Resulting Numbers: [32, 63] Generated Node #0,1,1: 31:[32, 63] Operation: 73-10=63 Exploring Operation: 32-10=22, Resulting Numbers: [73, 22] Generated Node #0,1,2: 31:[73, 22] Operation: 32-10=22 Moving to Node #0,2,1 Current State: 31:[32, 19], Operations: ['73-64=9', '10+9=19'] Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,31 unequal: No Solution Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 32*19=608, Resulting Numbers: [608] 608,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[10, 23], Operations: ['73-64=9', '32-9=23'] Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,31 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,31 unequal: No Solution Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[9, 22], Operations: ['73-64=9', '32-10=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,31 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,31 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[32, 64, 73, 10], Operations: [] Exploring Operation: 73-64=9, Resulting Numbers: [32, 10, 9] Generated Node #0,2: 31:[32, 10, 9] Operation: 73-64=9 Moving to Node #0,2 Current State: 31:[32, 10, 9], Operations: ['73-64=9'] Exploring Operation: 32-10=22, Resulting Numbers: [9, 22] Generated Node #0,2,2: 31:[9, 22] Operation: 32-10=22 Moving to Node #0,2,2 Current State: 31:[9, 22], Operations: ['73-64=9', '32-10=22'] Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.970486
hs_3
sum_heuristic
[ 33, 97, 14, 68 ]
56
[ "97-33=64", "68-64=4", "14*4=56" ]
Current State: 56:[33, 97, 14, 68], Operations: [] Exploring Operation: 97-33=64, Resulting Numbers: [14, 68, 64] Generated Node #2: [14, 68, 64] from Operation: 97-33=64 Current State: 56:[14, 68, 64], Operations: ['97-33=64'] Exploring Operation: 68-64=4, Resulting Numbers: [14, 4] Generated Node #3: [14, 4] from Operation: 68-64=4 Current State: 56:[14, 4], Operations: ['97-33=64', '68-64=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[33, 97, 14, 68], Operations: [] Exploring Operation: 97-68=29, Resulting Numbers: [33, 14, 29] Generated Node #0,0: 56:[33, 14, 29] Operation: 97-68=29 Exploring Operation: 97-14=83, Resulting Numbers: [33, 68, 83] Generated Node #0,1: 56:[33, 68, 83] Operation: 97-14=83 Exploring Operation: 97-33=64, Resulting Numbers: [14, 68, 64] Generated Node #0,2: 56:[14, 68, 64] Operation: 97-33=64 Moving to Node #0,0 Current State: 56:[33, 14, 29], Operations: ['97-68=29'] Exploring Operation: 33-14=19, Resulting Numbers: [29, 19] Generated Node #0,0,0: 56:[29, 19] Operation: 33-14=19 Exploring Operation: 33+29=62, Resulting Numbers: [14, 62] Generated Node #0,0,1: 56:[14, 62] Operation: 33+29=62 Exploring Operation: 33-29=4, Resulting Numbers: [14, 4] Generated Node #0,0,2: 56:[14, 4] Operation: 33-29=4 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[14, 4], Operations: ['97-68=29', '33-29=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[33, 97, 14, 68], Operations: [] Exploring Operation: 97-68=29, Resulting Numbers: [33, 14, 29] Generated Node #0,0: 56:[33, 14, 29] Operation: 97-68=29 Moving to Node #0,0 Current State: 56:[33, 14, 29], Operations: ['97-68=29'] Exploring Operation: 33-29=4, Resulting Numbers: [14, 4] Generated Node #0,0,2: 56:[14, 4] Operation: 33-29=4 Moving to Node #0,0,2 Current State: 56:[14, 4], Operations: ['97-68=29', '33-29=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 26, 65, 18, 59 ]
82
[ "65-59=6", "18*6=108", "108-26=82" ]
Current State: 82:[26, 65, 18, 59], Operations: [] Exploring Operation: 65-59=6, Resulting Numbers: [26, 18, 6] Generated Node #2: [26, 18, 6] from Operation: 65-59=6 Current State: 82:[26, 18, 6], Operations: ['65-59=6'] Exploring Operation: 18*6=108, Resulting Numbers: [26, 108] Generated Node #3: [26, 108] from Operation: 18*6=108 Current State: 82:[26, 108], Operations: ['65-59=6', '18*6=108'] Exploring Operation: 108-26=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[26, 65, 18, 59], Operations: [] Exploring Operation: 59-18=41, Resulting Numbers: [26, 65, 41] Generated Node #0,0: 82:[26, 65, 41] Operation: 59-18=41 Exploring Operation: 65+18=83, Resulting Numbers: [26, 59, 83] Generated Node #0,1: 82:[26, 59, 83] Operation: 65+18=83 Moving to Node #0,0 Current State: 82:[26, 65, 41], Operations: ['59-18=41'] Exploring Operation: 65-26=39, Resulting Numbers: [41, 39] Generated Node #0,0,0: 82:[41, 39] Operation: 65-26=39 Exploring Operation: 26+65=91, Resulting Numbers: [41, 91] Generated Node #0,0,1: 82:[41, 91] Operation: 26+65=91 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[41, 39], Operations: ['59-18=41', '65-26=39'] Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,82 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,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,0,1 Current State: 82:[41, 91], Operations: ['59-18=41', '26+65=91'] Exploring Operation: 91-41=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 41+91=132, Resulting Numbers: [132] 132,82 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: 82:[26, 59, 83], Operations: ['65+18=83'] Exploring Operation: 26+59=85, Resulting Numbers: [83, 85] Generated Node #0,1,0: 82:[83, 85] Operation: 26+59=85 Exploring Operation: 59-26=33, Resulting Numbers: [83, 33] Generated Node #0,1,1: 82:[83, 33] Operation: 59-26=33 Moving to Node #0,1,0 Current State: 82:[83, 85], Operations: ['65+18=83', '26+59=85'] Exploring Operation: 83+85=168, Resulting Numbers: [168] 168,82 unequal: No Solution Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[83, 33], Operations: ['65+18=83', '59-26=33'] Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 83+33=116, Resulting Numbers: [116] 116,82 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 68, 98, 15, 95 ]
50
[ "98-68=30", "95-15=80", "80-30=50" ]
Current State: 50:[68, 98, 15, 95], Operations: [] Exploring Operation: 98-68=30, Resulting Numbers: [15, 95, 30] Generated Node #2: [15, 95, 30] from Operation: 98-68=30 Current State: 50:[15, 95, 30], Operations: ['98-68=30'] Exploring Operation: 95-15=80, Resulting Numbers: [30, 80] Generated Node #3: [30, 80] from Operation: 95-15=80 Current State: 50:[30, 80], Operations: ['98-68=30', '95-15=80'] Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[68, 98, 15, 95], Operations: [] Exploring Operation: 98-68=30, Resulting Numbers: [15, 95, 30] Generated Node #0,0: 50:[15, 95, 30] Operation: 98-68=30 Exploring Operation: 98-95=3, Resulting Numbers: [68, 15, 3] Generated Node #0,1: 50:[68, 15, 3] Operation: 98-95=3 Moving to Node #0,1 Current State: 50:[68, 15, 3], Operations: ['98-95=3'] Exploring Operation: 15/3=5, Resulting Numbers: [68, 5] Generated Node #0,1,0: 50:[68, 5] Operation: 15/3=5 Exploring Operation: 68-15=53, Resulting Numbers: [3, 53] Generated Node #0,1,1: 50:[3, 53] Operation: 68-15=53 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[3, 53], Operations: ['98-95=3', '68-15=53'] Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,50 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[68, 98, 15, 95], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [68, 15, 3] Generated Node #0,1: 50:[68, 15, 3] Operation: 98-95=3 Moving to Node #0,1 Current State: 50:[68, 15, 3], Operations: ['98-95=3'] Exploring Operation: 68-15=53, Resulting Numbers: [3, 53] Generated Node #0,1,1: 50:[3, 53] Operation: 68-15=53 Moving to Node #0,1,1 Current State: 50:[3, 53], Operations: ['98-95=3', '68-15=53'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 82, 99, 2, 12 ]
23
[ "99-82=17", "12/2=6", "17+6=23" ]
Current State: 23:[82, 99, 2, 12], Operations: [] Exploring Operation: 99-82=17, Resulting Numbers: [2, 12, 17] Generated Node #2: [2, 12, 17] from Operation: 99-82=17 Current State: 23:[2, 12, 17], Operations: ['99-82=17'] Exploring Operation: 12/2=6, Resulting Numbers: [17, 6] Generated Node #3: [17, 6] from Operation: 12/2=6 Current State: 23:[17, 6], Operations: ['99-82=17', '12/2=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[82, 99, 2, 12], Operations: [] Exploring Operation: 82/2=41, Resulting Numbers: [99, 12, 41] Generated Node #0,0: 23:[99, 12, 41] Operation: 82/2=41 Exploring Operation: 99-82=17, Resulting Numbers: [2, 12, 17] Generated Node #0,1: 23:[2, 12, 17] Operation: 99-82=17 Exploring Operation: 2*12=24, Resulting Numbers: [82, 99, 24] Generated Node #0,2: 23:[82, 99, 24] Operation: 2*12=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[2, 12, 17], Operations: ['99-82=17'] Exploring Operation: 2+12=14, Resulting Numbers: [17, 14] Generated Node #0,1,0: 23:[17, 14] Operation: 2+12=14 Exploring Operation: 2*12=24, Resulting Numbers: [17, 24] Generated Node #0,1,1: 23:[17, 24] Operation: 2*12=24 Exploring Operation: 2+17=19, Resulting Numbers: [12, 19] Generated Node #0,1,2: 23:[12, 19] Operation: 2+17=19 Moving to Node #0,1,1 Current State: 23:[17, 24], Operations: ['99-82=17', '2*12=24'] Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,23 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[17, 14], Operations: ['99-82=17', '2+12=14'] Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,23 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[12, 19], Operations: ['99-82=17', '2+17=19'] Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[99, 12, 41], Operations: ['82/2=41'] Exploring Operation: 41-12=29, Resulting Numbers: [99, 29] Generated Node #0,0,0: 23:[99, 29] Operation: 41-12=29 Exploring Operation: 99-41=58, Resulting Numbers: [12, 58] Generated Node #0,0,1: 23:[12, 58] Operation: 99-41=58 Exploring Operation: 99-12=87, Resulting Numbers: [41, 87] Generated Node #0,0,2: 23:[41, 87] Operation: 99-12=87 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 23:[12, 58], Operations: ['82/2=41', '99-41=58'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 12+58=70, Resulting Numbers: [70] 70,23 unequal: No Solution Exploring Operation: 12*58=696, Resulting Numbers: [696] 696,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,0,0 Current State: 23:[99, 29], Operations: ['82/2=41', '41-12=29'] Exploring Operation: 99-29=70, Resulting Numbers: [70] 70,23 unequal: No Solution Exploring Operation: 99*29=2871, Resulting Numbers: [2871] 2871,23 unequal: No Solution Exploring Operation: 99+29=128, Resulting Numbers: [128] 128,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,0,2 Current State: 23:[41, 87], Operations: ['82/2=41', '99-12=87'] Exploring Operation: 41*87=3567, Resulting Numbers: [3567] 3567,23 unequal: No Solution Exploring Operation: 41+87=128, Resulting Numbers: [128] 128,23 unequal: No Solution Exploring Operation: 87-41=46, Resulting Numbers: [46] 46,23 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: 23:[82, 99, 24], Operations: ['2*12=24'] Exploring Operation: 82-24=58, Resulting Numbers: [99, 58] Generated Node #0,2,0: 23:[99, 58] Operation: 82-24=58 Exploring Operation: 99-82=17, Resulting Numbers: [24, 17] Generated Node #0,2,1: 23:[24, 17] Operation: 99-82=17 Exploring Operation: 99-24=75, Resulting Numbers: [82, 75] Generated Node #0,2,2: 23:[82, 75] Operation: 99-24=75 Moving to Node #0,2,1 Current State: 23:[24, 17], Operations: ['2*12=24', '99-82=17'] Exploring Operation: 24+17=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 24*17=408, Resulting Numbers: [408] 408,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[99, 58], Operations: ['2*12=24', '82-24=58'] Exploring Operation: 99-58=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 99*58=5742, Resulting Numbers: [5742] 5742,23 unequal: No Solution Exploring Operation: 99+58=157, Resulting Numbers: [157] 157,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[82, 75], Operations: ['2*12=24', '99-24=75'] Exploring Operation: 82+75=157, Resulting Numbers: [157] 157,23 unequal: No Solution Exploring Operation: 82-75=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 82*75=6150, Resulting Numbers: [6150] 6150,23 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
[ 88, 58, 24, 1 ]
54
[ "88-58=30", "24*1=24", "30+24=54" ]
Current State: 54:[88, 58, 24, 1], Operations: [] Exploring Operation: 88-58=30, Resulting Numbers: [24, 1, 30] Generated Node #2: [24, 1, 30] from Operation: 88-58=30 Current State: 54:[24, 1, 30], Operations: ['88-58=30'] Exploring Operation: 24*1=24, Resulting Numbers: [30, 24] Generated Node #3: [30, 24] from Operation: 24*1=24 Current State: 54:[30, 24], Operations: ['88-58=30', '24*1=24'] Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[88, 58, 24, 1], Operations: [] Exploring Operation: 88-58=30, Resulting Numbers: [24, 1, 30] Generated Node #0,0: 54:[24, 1, 30] Operation: 88-58=30 Exploring Operation: 88-1=87, Resulting Numbers: [58, 24, 87] Generated Node #0,1: 54:[58, 24, 87] Operation: 88-1=87 Exploring Operation: 88-24=64, Resulting Numbers: [58, 1, 64] Generated Node #0,2: 54:[58, 1, 64] Operation: 88-24=64 Exploring Operation: 58-1=57, Resulting Numbers: [88, 24, 57] Generated Node #0,3: 54:[88, 24, 57] Operation: 58-1=57 Moving to Node #0,0 Current State: 54:[24, 1, 30], Operations: ['88-58=30'] Exploring Operation: 24+1=25, Resulting Numbers: [30, 25] Generated Node #0,0,0: 54:[30, 25] Operation: 24+1=25 Exploring Operation: 24+30=54, Resulting Numbers: [1, 54] Generated Node #0,0,1: 54:[1, 54] Operation: 24+30=54 Exploring Operation: 30-24=6, Resulting Numbers: [1, 6] Generated Node #0,0,2: 54:[1, 6] Operation: 30-24=6 Exploring Operation: 30-1=29, Resulting Numbers: [24, 29] Generated Node #0,0,3: 54:[24, 29] Operation: 30-1=29 Moving to Node #0,2 Current State: 54:[58, 1, 64], Operations: ['88-24=64'] Exploring Operation: 64-1=63, Resulting Numbers: [58, 63] Generated Node #0,2,0: 54:[58, 63] Operation: 64-1=63 Exploring Operation: 58-1=57, Resulting Numbers: [64, 57] Generated Node #0,2,1: 54:[64, 57] Operation: 58-1=57 Exploring Operation: 64-58=6, Resulting Numbers: [1, 6] Generated Node #0,2,2: 54:[1, 6] Operation: 64-58=6 Exploring Operation: 58*1=58, Resulting Numbers: [64, 58] Generated Node #0,2,3: 54:[64, 58] Operation: 58*1=58 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[1, 6], Operations: ['88-24=64', '64-58=6'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,54 unequal: No Solution No 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: 54:[58, 63], Operations: ['88-24=64', '64-1=63'] Exploring Operation: 63-58=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 58+63=121, Resulting Numbers: [121] 121,54 unequal: No Solution Exploring Operation: 58*63=3654, Resulting Numbers: [3654] 3654,54 unequal: No Solution No 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: 54:[64, 57], Operations: ['88-24=64', '58-1=57'] Exploring Operation: 64+57=121, Resulting Numbers: [121] 121,54 unequal: No Solution Exploring Operation: 64-57=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 64*57=3648, Resulting Numbers: [3648] 3648,54 unequal: No Solution No 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: 54:[64, 58], Operations: ['88-24=64', '58*1=58'] Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 64+58=122, Resulting Numbers: [122] 122,54 unequal: No Solution Exploring Operation: 64*58=3712, Resulting Numbers: [3712] 3712,54 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: 54:[88, 24, 57], Operations: ['58-1=57'] Exploring Operation: 57-24=33, Resulting Numbers: [88, 33] Generated Node #0,3,0: 54:[88, 33] Operation: 57-24=33 Exploring Operation: 88+24=112, Resulting Numbers: [57, 112] Generated Node #0,3,1: 54:[57, 112] Operation: 88+24=112 Exploring Operation: 88-24=64, Resulting Numbers: [57, 64] Generated Node #0,3,2: 54:[57, 64] Operation: 88-24=64 Exploring Operation: 88-57=31, Resulting Numbers: [24, 31] Generated Node #0,3,3: 54:[24, 31] Operation: 88-57=31 Moving to Node #0,1 Current State: 54:[58, 24, 87], Operations: ['88-1=87'] Exploring Operation: 87-24=63, Resulting Numbers: [58, 63] Generated Node #0,1,0: 54:[58, 63] Operation: 87-24=63 Exploring Operation: 58+24=82, Resulting Numbers: [87, 82] Generated Node #0,1,1: 54:[87, 82] Operation: 58+24=82 Exploring Operation: 58-24=34, Resulting Numbers: [87, 34] Generated Node #0,1,2: 54:[87, 34] Operation: 58-24=34 Exploring Operation: 87-58=29, Resulting Numbers: [24, 29] Generated Node #0,1,3: 54:[24, 29] Operation: 87-58=29 Moving to Node #0,0,1 Current State: 54:[1, 54], Operations: ['88-58=30', '24+30=54'] Exploring Operation: 1+54=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[88, 58, 24, 1], Operations: [] Exploring Operation: 88-58=30, Resulting Numbers: [24, 1, 30] Generated Node #0,0: 54:[24, 1, 30] Operation: 88-58=30 Moving to Node #0,0 Current State: 54:[24, 1, 30], Operations: ['88-58=30'] Exploring Operation: 24+30=54, Resulting Numbers: [1, 54] Generated Node #0,0,1: 54:[1, 54] Operation: 24+30=54 Moving to Node #0,0,1 Current State: 54:[1, 54], Operations: ['88-58=30', '24+30=54'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.965278
hs_4
mult_heuristic
[ 29, 37, 28, 84 ]
69
[ "29+37=66", "84/28=3", "66+3=69" ]
Current State: 69:[29, 37, 28, 84], Operations: [] Exploring Operation: 29+37=66, Resulting Numbers: [28, 84, 66] Generated Node #2: [28, 84, 66] from Operation: 29+37=66 Current State: 69:[28, 84, 66], Operations: ['29+37=66'] Exploring Operation: 84/28=3, Resulting Numbers: [66, 3] Generated Node #3: [66, 3] from Operation: 84/28=3 Current State: 69:[66, 3], Operations: ['29+37=66', '84/28=3'] Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[29, 37, 28, 84], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [29, 37, 3] Generated Node #0,0: 69:[29, 37, 3] Operation: 84/28=3 Exploring Operation: 29+37=66, Resulting Numbers: [28, 84, 66] Generated Node #0,1: 69:[28, 84, 66] Operation: 29+37=66 Exploring Operation: 37-29=8, Resulting Numbers: [28, 84, 8] Generated Node #0,2: 69:[28, 84, 8] Operation: 37-29=8 Moving to Node #0,0 Current State: 69:[29, 37, 3], Operations: ['84/28=3'] Exploring Operation: 29-3=26, Resulting Numbers: [37, 26] Generated Node #0,0,0: 69:[37, 26] Operation: 29-3=26 Exploring Operation: 29+37=66, Resulting Numbers: [3, 66] Generated Node #0,0,1: 69:[3, 66] Operation: 29+37=66 Exploring Operation: 37-29=8, Resulting Numbers: [3, 8] Generated Node #0,0,2: 69:[3, 8] Operation: 37-29=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[3, 66], Operations: ['84/28=3', '29+37=66'] Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[29, 37, 28, 84], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [29, 37, 3] Generated Node #0,0: 69:[29, 37, 3] Operation: 84/28=3 Moving to Node #0,0 Current State: 69:[29, 37, 3], Operations: ['84/28=3'] Exploring Operation: 29+37=66, Resulting Numbers: [3, 66] Generated Node #0,0,1: 69:[3, 66] Operation: 29+37=66 Moving to Node #0,0,1 Current State: 69:[3, 66], Operations: ['84/28=3', '29+37=66'] Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 6, 3, 48, 3 ]
17
[ "6-3=3", "48+3=51", "51/3=17" ]
Current State: 17:[6, 3, 48, 3], Operations: [] Exploring Operation: 6-3=3, Resulting Numbers: [48, 3] Generated Node #2: [48, 3] from Operation: 6-3=3 Current State: 17:[48, 3], Operations: ['6-3=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,17 equal: Goal Reached Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[6, 3, 48, 3], Operations: [] Exploring Operation: 48/3=16, Resulting Numbers: [6, 3, 16] Generated Node #0,0: 17:[6, 3, 16] Operation: 48/3=16 Exploring Operation: 48/6=8, Resulting Numbers: [3, 3, 8] Generated Node #0,1: 17:[3, 3, 8] Operation: 48/6=8 Exploring Operation: 6*3=18, Resulting Numbers: [3, 48, 18] Generated Node #0,2: 17:[3, 48, 18] Operation: 6*3=18 Exploring Operation: 48/3=16, Resulting Numbers: [6, 3, 16] Generated Node #0,3: 17:[6, 3, 16] Operation: 48/3=16 Exploring Operation: 6*3=18, Resulting Numbers: [48, 3, 18] Generated Node #0,4: 17:[48, 3, 18] Operation: 6*3=18 Moving to Node #0,0 Current State: 17:[6, 3, 16], Operations: ['48/3=16'] Exploring Operation: 6-3=3, Resulting Numbers: [16, 3] Generated Node #0,0,0: 17:[16, 3] Operation: 6-3=3 Exploring Operation: 3+16=19, Resulting Numbers: [6, 19] Generated Node #0,0,1: 17:[6, 19] Operation: 3+16=19 Exploring Operation: 6*3=18, Resulting Numbers: [16, 18] Generated Node #0,0,2: 17:[16, 18] Operation: 6*3=18 Exploring Operation: 16-3=13, Resulting Numbers: [6, 13] Generated Node #0,0,3: 17:[6, 13] Operation: 16-3=13 Exploring Operation: 6+3=9, Resulting Numbers: [16, 9] Generated Node #0,0,4: 17:[16, 9] Operation: 6+3=9 Moving to Node #0,3 Current State: 17:[6, 3, 16], Operations: ['48/3=16'] Exploring Operation: 3+16=19, Resulting Numbers: [6, 19] Generated Node #0,3,0: 17:[6, 19] Operation: 3+16=19 Exploring Operation: 6+3=9, Resulting Numbers: [16, 9] Generated Node #0,3,1: 17:[16, 9] Operation: 6+3=9 Exploring Operation: 6-3=3, Resulting Numbers: [16, 3] Generated Node #0,3,2: 17:[16, 3] Operation: 6-3=3 Exploring Operation: 6*3=18, Resulting Numbers: [16, 18] Generated Node #0,3,3: 17:[16, 18] Operation: 6*3=18 Exploring Operation: 16-3=13, Resulting Numbers: [6, 13] Generated Node #0,3,4: 17:[6, 13] Operation: 16-3=13 Moving to Node #0,1 Current State: 17:[3, 3, 8], Operations: ['48/6=8'] Exploring Operation: 3*3=9, Resulting Numbers: [8, 9] Generated Node #0,1,0: 17:[8, 9] Operation: 3*3=9 Exploring Operation: 3*8=24, Resulting Numbers: [3, 24] Generated Node #0,1,1: 17:[3, 24] Operation: 3*8=24 Exploring Operation: 3+8=11, Resulting Numbers: [3, 11] Generated Node #0,1,2: 17:[3, 11] Operation: 3+8=11 Exploring Operation: 3+3=6, Resulting Numbers: [8, 6] Generated Node #0,1,3: 17:[8, 6] Operation: 3+3=6 Exploring Operation: 3+8=11, Resulting Numbers: [3, 11] Generated Node #0,1,4: 17:[3, 11] Operation: 3+8=11 Moving to Node #0,2 Current State: 17:[3, 48, 18], Operations: ['6*3=18'] Exploring Operation: 3+48=51, Resulting Numbers: [18, 51] Generated Node #0,2,0: 17:[18, 51] Operation: 3+48=51 Exploring Operation: 18-3=15, Resulting Numbers: [48, 15] Generated Node #0,2,1: 17:[48, 15] Operation: 18-3=15 Exploring Operation: 48-18=30, Resulting Numbers: [3, 30] Generated Node #0,2,2: 17:[3, 30] Operation: 48-18=30 Exploring Operation: 48/3=16, Resulting Numbers: [18, 16] Generated Node #0,2,3: 17:[18, 16] Operation: 48/3=16 Exploring Operation: 48-3=45, Resulting Numbers: [18, 45] Generated Node #0,2,4: 17:[18, 45] Operation: 48-3=45 Moving to Node #0,4 Current State: 17:[48, 3, 18], Operations: ['6*3=18'] Exploring Operation: 48-3=45, Resulting Numbers: [18, 45] Generated Node #0,4,0: 17:[18, 45] Operation: 48-3=45 Exploring Operation: 48-18=30, Resulting Numbers: [3, 30] Generated Node #0,4,1: 17:[3, 30] Operation: 48-18=30 Exploring Operation: 48+3=51, Resulting Numbers: [18, 51] Generated Node #0,4,2: 17:[18, 51] Operation: 48+3=51 Exploring Operation: 48/3=16, Resulting Numbers: [18, 16] Generated Node #0,4,3: 17:[18, 16] Operation: 48/3=16 Exploring Operation: 18-3=15, Resulting Numbers: [48, 15] Generated Node #0,4,4: 17:[48, 15] Operation: 18-3=15 Moving to Node #0,0,2 Current State: 17:[16, 18], Operations: ['48/3=16', '6*3=18'] Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,17 unequal: No Solution Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[16, 18], Operations: ['48/3=16', '6*3=18'] Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[18, 16], Operations: ['6*3=18', '48/3=16'] Exploring Operation: 18*16=288, Resulting Numbers: [288] 288,17 unequal: No Solution Exploring Operation: 18+16=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,17 unequal: No Solution Moving to Node #0,4,3 Current State: 17:[18, 16], Operations: ['6*3=18', '48/3=16'] Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 18+16=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 18*16=288, Resulting Numbers: [288] 288,17 unequal: No Solution Moving to Node #0,3,1 Current State: 17:[16, 9], Operations: ['48/3=16', '6+3=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,17 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,17 unequal: No Solution Moving to Node #0,0,4 Current State: 17:[16, 9], Operations: ['48/3=16', '6+3=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,17 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[6, 19], Operations: ['48/3=16', '3+16=19'] Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,17 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[6, 19], Operations: ['48/3=16', '3+16=19'] Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[6, 13], Operations: ['48/3=16', '16-3=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,17 unequal: No Solution Moving to Node #0,3,4 Current State: 17:[6, 13], Operations: ['48/3=16', '16-3=13'] Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[16, 3], Operations: ['48/3=16', '6-3=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,17 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[16, 3], Operations: ['48/3=16', '6-3=3'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,17 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[8, 9], Operations: ['48/6=8', '3*3=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,17 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[6, 3, 48, 3], Operations: [] Exploring Operation: 48/6=8, Resulting Numbers: [3, 3, 8] Generated Node #0,1: 17:[3, 3, 8] Operation: 48/6=8 Moving to Node #0,1 Current State: 17:[3, 3, 8], Operations: ['48/6=8'] Exploring Operation: 3*3=9, Resulting Numbers: [8, 9] Generated Node #0,1,0: 17:[8, 9] Operation: 3*3=9 Moving to Node #0,1,0 Current State: 17:[8, 9], Operations: ['48/6=8', '3*3=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.9375
hs_5
mult_heuristic
[ 98, 94, 37, 26 ]
67
[ "98-94=4", "37+26=63", "4+63=67" ]
Current State: 67:[98, 94, 37, 26], Operations: [] Exploring Operation: 98-94=4, Resulting Numbers: [37, 26, 4] Generated Node #2: [37, 26, 4] from Operation: 98-94=4 Current State: 67:[37, 26, 4], Operations: ['98-94=4'] Exploring Operation: 37+26=63, Resulting Numbers: [4, 63] Generated Node #3: [4, 63] from Operation: 37+26=63 Current State: 67:[4, 63], Operations: ['98-94=4', '37+26=63'] Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[98, 94, 37, 26], Operations: [] Exploring Operation: 37+26=63, Resulting Numbers: [98, 94, 63] Generated Node #0,0: 67:[98, 94, 63] Operation: 37+26=63 Exploring Operation: 98-26=72, Resulting Numbers: [94, 37, 72] Generated Node #0,1: 67:[94, 37, 72] Operation: 98-26=72 Exploring Operation: 98-37=61, Resulting Numbers: [94, 26, 61] Generated Node #0,2: 67:[94, 26, 61] Operation: 98-37=61 Exploring Operation: 94-26=68, Resulting Numbers: [98, 37, 68] Generated Node #0,3: 67:[98, 37, 68] Operation: 94-26=68 Moving to Node #0,0 Current State: 67:[98, 94, 63], Operations: ['37+26=63'] Exploring Operation: 98-63=35, Resulting Numbers: [94, 35] Generated Node #0,0,0: 67:[94, 35] Operation: 98-63=35 Exploring Operation: 94-63=31, Resulting Numbers: [98, 31] Generated Node #0,0,1: 67:[98, 31] Operation: 94-63=31 Exploring Operation: 98-94=4, Resulting Numbers: [63, 4] Generated Node #0,0,2: 67:[63, 4] Operation: 98-94=4 Exploring Operation: 98+63=161, Resulting Numbers: [94, 161] Generated Node #0,0,3: 67:[94, 161] Operation: 98+63=161 Moving to Node #0,3 Current State: 67:[98, 37, 68], Operations: ['94-26=68'] Exploring Operation: 98+37=135, Resulting Numbers: [68, 135] Generated Node #0,3,0: 67:[68, 135] Operation: 98+37=135 Exploring Operation: 98-37=61, Resulting Numbers: [68, 61] Generated Node #0,3,1: 67:[68, 61] Operation: 98-37=61 Exploring Operation: 68-37=31, Resulting Numbers: [98, 31] Generated Node #0,3,2: 67:[98, 31] Operation: 68-37=31 Exploring Operation: 98-68=30, Resulting Numbers: [37, 30] Generated Node #0,3,3: 67:[37, 30] Operation: 98-68=30 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 67:[68, 61], Operations: ['94-26=68', '98-37=61'] Exploring Operation: 68+61=129, Resulting Numbers: [129] 129,67 unequal: No Solution Exploring Operation: 68*61=4148, Resulting Numbers: [4148] 4148,67 unequal: No Solution Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 67:[98, 31], Operations: ['94-26=68', '68-37=31'] Exploring Operation: 98*31=3038, Resulting Numbers: [3038] 3038,67 unequal: No Solution Exploring Operation: 98+31=129, Resulting Numbers: [129] 129,67 unequal: No Solution Exploring Operation: 98-31=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[98, 94, 37, 26], Operations: [] Exploring Operation: 94-26=68, Resulting Numbers: [98, 37, 68] Generated Node #0,3: 67:[98, 37, 68] Operation: 94-26=68 Moving to Node #0,3 Current State: 67:[98, 37, 68], Operations: ['94-26=68'] Exploring Operation: 68-37=31, Resulting Numbers: [98, 31] Generated Node #0,3,2: 67:[98, 31] Operation: 68-37=31 Moving to Node #0,3,2 Current State: 67:[98, 31], Operations: ['94-26=68', '68-37=31'] Exploring Operation: 98-31=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 65, 83, 37, 71 ]
90
[ "83-65=18", "37+71=108", "108-18=90" ]
Current State: 90:[65, 83, 37, 71], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [37, 71, 18] Generated Node #2: [37, 71, 18] from Operation: 83-65=18 Current State: 90:[37, 71, 18], Operations: ['83-65=18'] Exploring Operation: 37+71=108, Resulting Numbers: [18, 108] Generated Node #3: [18, 108] from Operation: 37+71=108 Current State: 90:[18, 108], Operations: ['83-65=18', '37+71=108'] Exploring Operation: 108-18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[65, 83, 37, 71], Operations: [] Exploring Operation: 71-65=6, Resulting Numbers: [83, 37, 6] Generated Node #0,0: 90:[83, 37, 6] Operation: 71-65=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[83, 37, 6], Operations: ['71-65=6'] Exploring Operation: 83-37=46, Resulting Numbers: [6, 46] Generated Node #0,0,0: 90:[6, 46] Operation: 83-37=46 Moving to Node #0,0,0 Current State: 90:[6, 46], Operations: ['71-65=6', '83-37=46'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,90 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
[ 56, 22, 14, 37 ]
11
[ "56-22=34", "37-14=23", "34-23=11" ]
Current State: 11:[56, 22, 14, 37], Operations: [] Exploring Operation: 56-22=34, Resulting Numbers: [14, 37, 34] Generated Node #2: [14, 37, 34] from Operation: 56-22=34 Current State: 11:[14, 37, 34], Operations: ['56-22=34'] Exploring Operation: 37-14=23, Resulting Numbers: [34, 23] Generated Node #3: [34, 23] from Operation: 37-14=23 Current State: 11:[34, 23], Operations: ['56-22=34', '37-14=23'] Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[56, 22, 14, 37], Operations: [] Exploring Operation: 56-22=34, Resulting Numbers: [14, 37, 34] Generated Node #0,0: 11:[14, 37, 34] Operation: 56-22=34 Exploring Operation: 56/14=4, Resulting Numbers: [22, 37, 4] Generated Node #0,1: 11:[22, 37, 4] Operation: 56/14=4 Exploring Operation: 56-37=19, Resulting Numbers: [22, 14, 19] Generated Node #0,2: 11:[22, 14, 19] Operation: 56-37=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[22, 14, 19], Operations: ['56-37=19'] Exploring Operation: 22-19=3, Resulting Numbers: [14, 3] Generated Node #0,2,0: 11:[14, 3] Operation: 22-19=3 Exploring Operation: 19-14=5, Resulting Numbers: [22, 5] Generated Node #0,2,1: 11:[22, 5] Operation: 19-14=5 Exploring Operation: 22-14=8, Resulting Numbers: [19, 8] Generated Node #0,2,2: 11:[19, 8] Operation: 22-14=8 Moving to Node #0,2,0 Current State: 11:[14, 3], Operations: ['56-37=19', '22-19=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[56, 22, 14, 37], Operations: [] Exploring Operation: 56-37=19, Resulting Numbers: [22, 14, 19] Generated Node #0,2: 11:[22, 14, 19] Operation: 56-37=19 Moving to Node #0,2 Current State: 11:[22, 14, 19], Operations: ['56-37=19'] Exploring Operation: 22-19=3, Resulting Numbers: [14, 3] Generated Node #0,2,0: 11:[14, 3] Operation: 22-19=3 Moving to Node #0,2,0 Current State: 11:[14, 3], Operations: ['56-37=19', '22-19=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 72, 97, 89, 41 ]
32
[ "97-89=8", "72/8=9", "41-9=32" ]
Current State: 32:[72, 97, 89, 41], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [72, 41, 8] Generated Node #2: [72, 41, 8] from Operation: 97-89=8 Current State: 32:[72, 41, 8], Operations: ['97-89=8'] Exploring Operation: 72/8=9, Resulting Numbers: [41, 9] Generated Node #3: [41, 9] from Operation: 72/8=9 Current State: 32:[41, 9], Operations: ['97-89=8', '72/8=9'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[72, 97, 89, 41], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [72, 41, 8] Generated Node #0,0: 32:[72, 41, 8] Operation: 97-89=8 Exploring Operation: 89-72=17, Resulting Numbers: [97, 41, 17] Generated Node #0,1: 32:[97, 41, 17] Operation: 89-72=17 Exploring Operation: 97-72=25, Resulting Numbers: [89, 41, 25] Generated Node #0,2: 32:[89, 41, 25] Operation: 97-72=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[72, 41, 8], Operations: ['97-89=8'] Exploring Operation: 72-41=31, Resulting Numbers: [8, 31] Generated Node #0,0,0: 32:[8, 31] Operation: 72-41=31 Exploring Operation: 72/8=9, Resulting Numbers: [41, 9] Generated Node #0,0,1: 32:[41, 9] Operation: 72/8=9 Exploring Operation: 72-8=64, Resulting Numbers: [41, 64] Generated Node #0,0,2: 32:[41, 64] Operation: 72-8=64 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[8, 31], Operations: ['97-89=8', '72-41=31'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,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,0,1 Current State: 32:[41, 9], Operations: ['97-89=8', '72/8=9'] Exploring Operation: 41*9=369, Resulting Numbers: [369] 369,32 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[72, 97, 89, 41], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [72, 41, 8] Generated Node #0,0: 32:[72, 41, 8] Operation: 97-89=8 Moving to Node #0,0 Current State: 32:[72, 41, 8], Operations: ['97-89=8'] Exploring Operation: 72/8=9, Resulting Numbers: [41, 9] Generated Node #0,0,1: 32:[41, 9] Operation: 72/8=9 Moving to Node #0,0,1 Current State: 32:[41, 9], Operations: ['97-89=8', '72/8=9'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 8, 29, 79, 27 ]
85
[ "29-8=21", "79+27=106", "106-21=85" ]
Current State: 85:[8, 29, 79, 27], Operations: [] Exploring Operation: 29-8=21, Resulting Numbers: [79, 27, 21] Generated Node #2: [79, 27, 21] from Operation: 29-8=21 Current State: 85:[79, 27, 21], Operations: ['29-8=21'] Exploring Operation: 79+27=106, Resulting Numbers: [21, 106] Generated Node #3: [21, 106] from Operation: 79+27=106 Current State: 85:[21, 106], Operations: ['29-8=21', '79+27=106'] Exploring Operation: 106-21=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[8, 29, 79, 27], Operations: [] Exploring Operation: 29-8=21, Resulting Numbers: [79, 27, 21] Generated Node #0,0: 85:[79, 27, 21] Operation: 29-8=21 Exploring Operation: 29-27=2, Resulting Numbers: [8, 79, 2] Generated Node #0,1: 85:[8, 79, 2] Operation: 29-27=2 Exploring Operation: 27-8=19, Resulting Numbers: [29, 79, 19] Generated Node #0,2: 85:[29, 79, 19] Operation: 27-8=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[8, 79, 2], Operations: ['29-27=2'] Exploring Operation: 8*2=16, Resulting Numbers: [79, 16] Generated Node #0,1,0: 85:[79, 16] Operation: 8*2=16 Exploring Operation: 8-2=6, Resulting Numbers: [79, 6] Generated Node #0,1,1: 85:[79, 6] Operation: 8-2=6 Exploring Operation: 8+79=87, Resulting Numbers: [2, 87] Generated Node #0,1,2: 85:[2, 87] Operation: 8+79=87 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 85:[2, 87], Operations: ['29-27=2', '8+79=87'] Exploring Operation: 2*87=174, Resulting Numbers: [174] 174,85 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[8, 29, 79, 27], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [8, 79, 2] Generated Node #0,1: 85:[8, 79, 2] Operation: 29-27=2 Moving to Node #0,1 Current State: 85:[8, 79, 2], Operations: ['29-27=2'] Exploring Operation: 8+79=87, Resulting Numbers: [2, 87] Generated Node #0,1,2: 85:[2, 87] Operation: 8+79=87 Moving to Node #0,1,2 Current State: 85:[2, 87], Operations: ['29-27=2', '8+79=87'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 19, 26, 5, 41 ]
14
[ "19+41=60", "60/5=12", "26-12=14" ]
Current State: 14:[19, 26, 5, 41], Operations: [] Exploring Operation: 19+41=60, Resulting Numbers: [26, 5, 60] Generated Node #2: [26, 5, 60] from Operation: 19+41=60 Current State: 14:[26, 5, 60], Operations: ['19+41=60'] Exploring Operation: 60/5=12, Resulting Numbers: [26, 12] Generated Node #3: [26, 12] from Operation: 60/5=12 Current State: 14:[26, 12], Operations: ['19+41=60', '60/5=12'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[19, 26, 5, 41], Operations: [] Exploring Operation: 41-26=15, Resulting Numbers: [19, 5, 15] Generated Node #0,0: 14:[19, 5, 15] Operation: 41-26=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[19, 5, 15], Operations: ['41-26=15'] Exploring Operation: 19-5=14, Resulting Numbers: [15, 14] Generated Node #0,0,0: 14:[15, 14] Operation: 19-5=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[15, 14], Operations: ['41-26=15', '19-5=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 34, 17, 36, 1 ]
19
[ "34-17=17", "36*1=36", "36-17=19" ]
Current State: 19:[34, 17, 36, 1], Operations: [] Exploring Operation: 34-17=17, Resulting Numbers: [36, 1, 17] Generated Node #2: [36, 1, 17] from Operation: 34-17=17 Current State: 19:[36, 1, 17], Operations: ['34-17=17'] Exploring Operation: 36*1=36, Resulting Numbers: [17, 36] Generated Node #3: [17, 36] from Operation: 36*1=36 Current State: 19:[17, 36], Operations: ['34-17=17', '36*1=36'] Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[34, 17, 36, 1], Operations: [] Exploring Operation: 36-17=19, Resulting Numbers: [34, 1, 19] Generated Node #0,0: 19:[34, 1, 19] Operation: 36-17=19 Exploring Operation: 34-1=33, Resulting Numbers: [17, 36, 33] Generated Node #0,1: 19:[17, 36, 33] Operation: 34-1=33 Exploring Operation: 17+1=18, Resulting Numbers: [34, 36, 18] Generated Node #0,2: 19:[34, 36, 18] Operation: 17+1=18 Exploring Operation: 36-1=35, Resulting Numbers: [34, 17, 35] Generated Node #0,3: 19:[34, 17, 35] Operation: 36-1=35 Moving to Node #0,0 Current State: 19:[34, 1, 19], Operations: ['36-17=19'] Exploring Operation: 34*1=34, Resulting Numbers: [19, 34] Generated Node #0,0,0: 19:[19, 34] Operation: 34*1=34 Exploring Operation: 34/1=34, Resulting Numbers: [19, 34] Generated Node #0,0,1: 19:[19, 34] Operation: 34/1=34 Exploring Operation: 34-1=33, Resulting Numbers: [19, 33] Generated Node #0,0,2: 19:[19, 33] Operation: 34-1=33 Exploring Operation: 1*19=19, Resulting Numbers: [34, 19] Generated Node #0,0,3: 19:[34, 19] Operation: 1*19=19 Moving to Node #0,2 Current State: 19:[34, 36, 18], Operations: ['17+1=18'] Exploring Operation: 36-18=18, Resulting Numbers: [34, 18] Generated Node #0,2,0: 19:[34, 18] Operation: 36-18=18 Exploring Operation: 34-18=16, Resulting Numbers: [36, 16] Generated Node #0,2,1: 19:[36, 16] Operation: 34-18=16 Exploring Operation: 36-34=2, Resulting Numbers: [18, 2] Generated Node #0,2,2: 19:[18, 2] Operation: 36-34=2 Exploring Operation: 36/18=2, Resulting Numbers: [34, 2] Generated Node #0,2,3: 19:[34, 2] Operation: 36/18=2 Moving to Node #0,1 Current State: 19:[17, 36, 33], Operations: ['34-1=33'] Exploring Operation: 36-33=3, Resulting Numbers: [17, 3] Generated Node #0,1,0: 19:[17, 3] Operation: 36-33=3 Exploring Operation: 17+36=53, Resulting Numbers: [33, 53] Generated Node #0,1,1: 19:[33, 53] Operation: 17+36=53 Exploring Operation: 33-17=16, Resulting Numbers: [36, 16] Generated Node #0,1,2: 19:[36, 16] Operation: 33-17=16 Exploring Operation: 36-17=19, Resulting Numbers: [33, 19] Generated Node #0,1,3: 19:[33, 19] Operation: 36-17=19 Moving to Node #0,3 Current State: 19:[34, 17, 35], Operations: ['36-1=35'] Exploring Operation: 35-17=18, Resulting Numbers: [34, 18] Generated Node #0,3,0: 19:[34, 18] Operation: 35-17=18 Exploring Operation: 34-17=17, Resulting Numbers: [35, 17] Generated Node #0,3,1: 19:[35, 17] Operation: 34-17=17 Exploring Operation: 34/17=2, Resulting Numbers: [35, 2] Generated Node #0,3,2: 19:[35, 2] Operation: 34/17=2 Exploring Operation: 35-34=1, Resulting Numbers: [17, 1] Generated Node #0,3,3: 19:[17, 1] Operation: 35-34=1 Moving to Node #0,0,2 Current State: 19:[19, 33], Operations: ['36-17=19', '34-1=33'] Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 19+33=52, Resulting Numbers: [52] 52,19 unequal: No Solution Exploring Operation: 19*33=627, Resulting Numbers: [627] 627,19 unequal: No Solution Moving to Node #0,1,3 Current State: 19:[33, 19], Operations: ['34-1=33', '36-17=19'] Exploring Operation: 33*19=627, Resulting Numbers: [627] 627,19 unequal: No Solution Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,19 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[19, 34], Operations: ['36-17=19', '34/1=34'] Exploring Operation: 19*34=646, Resulting Numbers: [646] 646,19 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[19, 34], Operations: ['36-17=19', '34*1=34'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 19*34=646, Resulting Numbers: [646] 646,19 unequal: No Solution Moving to Node #0,0,3 Current State: 19:[34, 19], Operations: ['36-17=19', '1*19=19'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 34*19=646, Resulting Numbers: [646] 646,19 unequal: No Solution Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,19 unequal: No Solution Moving to Node #0,3,0 Current State: 19:[34, 18], Operations: ['36-1=35', '35-17=18'] Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,19 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,19 unequal: No Solution Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[34, 18], Operations: ['17+1=18', '36-18=18'] Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,19 unequal: No Solution Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,19 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[35, 17], Operations: ['36-1=35', '34-17=17'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 35*17=595, Resulting Numbers: [595] 595,19 unequal: No Solution Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[18, 2], Operations: ['17+1=18', '36-34=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,19 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[17, 3], Operations: ['34-1=33', '36-33=3'] Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[36, 16], Operations: ['34-1=33', '33-17=16'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,19 unequal: No Solution Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[17, 1], Operations: ['36-1=35', '35-34=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,19 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,19 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,19 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[36, 16], Operations: ['17+1=18', '34-18=16'] Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,19 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[34, 2], Operations: ['17+1=18', '36/18=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,19 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,19 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[35, 2], Operations: ['36-1=35', '34/17=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,19 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,19 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[33, 53], Operations: ['34-1=33', '17+36=53'] Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 33*53=1749, Resulting Numbers: [1749] 1749,19 unequal: No Solution Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,19 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 44, 66, 55, 27 ]
33
[ "55-44=11", "66/11=6", "27+6=33" ]
Current State: 33:[44, 66, 55, 27], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [66, 27, 11] Generated Node #2: [66, 27, 11] from Operation: 55-44=11 Current State: 33:[66, 27, 11], Operations: ['55-44=11'] Exploring Operation: 66/11=6, Resulting Numbers: [27, 6] Generated Node #3: [27, 6] from Operation: 66/11=6 Current State: 33:[27, 6], Operations: ['55-44=11', '66/11=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[44, 66, 55, 27], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [66, 27, 11] Generated Node #0,0: 33:[66, 27, 11] Operation: 55-44=11 Exploring Operation: 66-27=39, Resulting Numbers: [44, 55, 39] Generated Node #0,1: 33:[44, 55, 39] Operation: 66-27=39 Exploring Operation: 66-44=22, Resulting Numbers: [55, 27, 22] Generated Node #0,2: 33:[55, 27, 22] Operation: 66-44=22 Exploring Operation: 66-55=11, Resulting Numbers: [44, 27, 11] Generated Node #0,3: 33:[44, 27, 11] Operation: 66-55=11 Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[44, 27, 11], Operations: ['66-55=11'] Exploring Operation: 27+11=38, Resulting Numbers: [44, 38] Generated Node #0,3,0: 33:[44, 38] Operation: 27+11=38 Exploring Operation: 44/11=4, Resulting Numbers: [27, 4] Generated Node #0,3,1: 33:[27, 4] Operation: 44/11=4 Exploring Operation: 44-27=17, Resulting Numbers: [11, 17] Generated Node #0,3,2: 33:[11, 17] Operation: 44-27=17 Exploring Operation: 44-11=33, Resulting Numbers: [27, 33] Generated Node #0,3,3: 33:[27, 33] Operation: 44-11=33 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 33:[11, 17], Operations: ['66-55=11', '44-27=17'] Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,33 unequal: No Solution No 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: 33:[27, 33], Operations: ['66-55=11', '44-11=33'] Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 27*33=891, Resulting Numbers: [891] 891,33 unequal: No Solution Exploring Operation: 27+33=60, Resulting Numbers: [60] 60,33 unequal: No Solution No 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: 33:[27, 4], Operations: ['66-55=11', '44/11=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,33 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,33 unequal: No Solution No 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: 33:[44, 38], Operations: ['66-55=11', '27+11=38'] Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 44+38=82, Resulting Numbers: [82] 82,33 unequal: No Solution Exploring Operation: 44*38=1672, Resulting Numbers: [1672] 1672,33 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: 33:[66, 27, 11], Operations: ['55-44=11'] Exploring Operation: 27+11=38, Resulting Numbers: [66, 38] Generated Node #0,0,0: 33:[66, 38] Operation: 27+11=38 Exploring Operation: 66/11=6, Resulting Numbers: [27, 6] Generated Node #0,0,1: 33:[27, 6] Operation: 66/11=6 Exploring Operation: 66-27=39, Resulting Numbers: [11, 39] Generated Node #0,0,2: 33:[11, 39] Operation: 66-27=39 Exploring Operation: 66-11=55, Resulting Numbers: [27, 55] Generated Node #0,0,3: 33:[27, 55] Operation: 66-11=55 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 33:[11, 39], Operations: ['55-44=11', '66-27=39'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 11*39=429, Resulting Numbers: [429] 429,33 unequal: No Solution Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,33 unequal: No Solution No 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: 33:[27, 6], Operations: ['55-44=11', '66/11=6'] Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,33 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[44, 66, 55, 27], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [66, 27, 11] Generated Node #0,0: 33:[66, 27, 11] Operation: 55-44=11 Moving to Node #0,0 Current State: 33:[66, 27, 11], Operations: ['55-44=11'] Exploring Operation: 66/11=6, Resulting Numbers: [27, 6] Generated Node #0,0,1: 33:[27, 6] Operation: 66/11=6 Moving to Node #0,0,1 Current State: 33:[27, 6], Operations: ['55-44=11', '66/11=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 14, 15, 8, 78 ]
85
[ "15-14=1", "8+78=86", "86-1=85" ]
Current State: 85:[14, 15, 8, 78], Operations: [] Exploring Operation: 15-14=1, Resulting Numbers: [8, 78, 1] Generated Node #2: [8, 78, 1] from Operation: 15-14=1 Current State: 85:[8, 78, 1], Operations: ['15-14=1'] Exploring Operation: 8+78=86, Resulting Numbers: [1, 86] Generated Node #3: [1, 86] from Operation: 8+78=86 Current State: 85:[1, 86], Operations: ['15-14=1', '8+78=86'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[14, 15, 8, 78], Operations: [] Exploring Operation: 15-8=7, Resulting Numbers: [14, 78, 7] Generated Node #0,0: 85:[14, 78, 7] Operation: 15-8=7 Exploring Operation: 14-8=6, Resulting Numbers: [15, 78, 6] Generated Node #0,1: 85:[15, 78, 6] Operation: 14-8=6 Exploring Operation: 8+78=86, Resulting Numbers: [14, 15, 86] Generated Node #0,2: 85:[14, 15, 86] Operation: 8+78=86 Exploring Operation: 14+78=92, Resulting Numbers: [15, 8, 92] Generated Node #0,3: 85:[15, 8, 92] Operation: 14+78=92 Moving to Node #0,2 Current State: 85:[14, 15, 86], Operations: ['8+78=86'] Exploring Operation: 86-14=72, Resulting Numbers: [15, 72] Generated Node #0,2,0: 85:[15, 72] Operation: 86-14=72 Exploring Operation: 15-14=1, Resulting Numbers: [86, 1] Generated Node #0,2,1: 85:[86, 1] Operation: 15-14=1 Exploring Operation: 14+86=100, Resulting Numbers: [15, 100] Generated Node #0,2,2: 85:[15, 100] Operation: 14+86=100 Exploring Operation: 14+15=29, Resulting Numbers: [86, 29] Generated Node #0,2,3: 85:[86, 29] Operation: 14+15=29 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 85:[86, 1], Operations: ['8+78=86', '15-14=1'] Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,85 unequal: No Solution Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[14, 15, 8, 78], Operations: [] Exploring Operation: 8+78=86, Resulting Numbers: [14, 15, 86] Generated Node #0,2: 85:[14, 15, 86] Operation: 8+78=86 Moving to Node #0,2 Current State: 85:[14, 15, 86], Operations: ['8+78=86'] Exploring Operation: 15-14=1, Resulting Numbers: [86, 1] Generated Node #0,2,1: 85:[86, 1] Operation: 15-14=1 Moving to Node #0,2,1 Current State: 85:[86, 1], Operations: ['8+78=86', '15-14=1'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 13, 31, 13, 15 ]
47
[ "13/13=1", "31+15=46", "1+46=47" ]
Current State: 47:[13, 31, 13, 15], Operations: [] Exploring Operation: 13/13=1, Resulting Numbers: [31, 15, 1] Generated Node #2: [31, 15, 1] from Operation: 13/13=1 Current State: 47:[31, 15, 1], Operations: ['13/13=1'] Exploring Operation: 31+15=46, Resulting Numbers: [1, 46] Generated Node #3: [1, 46] from Operation: 31+15=46 Current State: 47:[1, 46], Operations: ['13/13=1', '31+15=46'] Exploring Operation: 1+46=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[13, 31, 13, 15], Operations: [] Exploring Operation: 13+13=26, Resulting Numbers: [31, 15, 26] Generated Node #0,0: 47:[31, 15, 26] Operation: 13+13=26 Exploring Operation: 31+15=46, Resulting Numbers: [13, 13, 46] Generated Node #0,1: 47:[13, 13, 46] Operation: 31+15=46 Exploring Operation: 13+15=28, Resulting Numbers: [31, 13, 28] Generated Node #0,2: 47:[31, 13, 28] Operation: 13+15=28 Exploring Operation: 31+13=44, Resulting Numbers: [13, 15, 44] Generated Node #0,3: 47:[13, 15, 44] Operation: 31+13=44 Exploring Operation: 13+31=44, Resulting Numbers: [13, 15, 44] Generated Node #0,4: 47:[13, 15, 44] Operation: 13+31=44 Moving to Node #0,0 Current State: 47:[31, 15, 26], Operations: ['13+13=26'] Exploring Operation: 31-15=16, Resulting Numbers: [26, 16] Generated Node #0,0,0: 47:[26, 16] Operation: 31-15=16 Exploring Operation: 26-15=11, Resulting Numbers: [31, 11] Generated Node #0,0,1: 47:[31, 11] Operation: 26-15=11 Exploring Operation: 31+15=46, Resulting Numbers: [26, 46] Generated Node #0,0,2: 47:[26, 46] Operation: 31+15=46 Exploring Operation: 31+26=57, Resulting Numbers: [15, 57] Generated Node #0,0,3: 47:[15, 57] Operation: 31+26=57 Exploring Operation: 15+26=41, Resulting Numbers: [31, 41] Generated Node #0,0,4: 47:[31, 41] Operation: 15+26=41 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[26, 46], Operations: ['13+13=26', '31+15=46'] Exploring Operation: 26*46=1196, Resulting Numbers: [1196] 1196,47 unequal: No Solution Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 26+46=72, Resulting Numbers: [72] 72,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 47:[31, 41], Operations: ['13+13=26', '15+26=41'] Exploring Operation: 31*41=1271, Resulting Numbers: [1271] 1271,47 unequal: No Solution Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 31+41=72, Resulting Numbers: [72] 72,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[15, 57], Operations: ['13+13=26', '31+26=57'] Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 15*57=855, Resulting Numbers: [855] 855,47 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[26, 16], Operations: ['13+13=26', '31-15=16'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 26*16=416, Resulting Numbers: [416] 416,47 unequal: No Solution Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[31, 11], Operations: ['13+13=26', '26-15=11'] Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,47 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,47 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: 47:[31, 13, 28], Operations: ['13+15=28'] Exploring Operation: 13+28=41, Resulting Numbers: [31, 41] Generated Node #0,2,0: 47:[31, 41] Operation: 13+28=41 Exploring Operation: 31-13=18, Resulting Numbers: [28, 18] Generated Node #0,2,1: 47:[28, 18] Operation: 31-13=18 Exploring Operation: 28-13=15, Resulting Numbers: [31, 15] Generated Node #0,2,2: 47:[31, 15] Operation: 28-13=15 Exploring Operation: 31+13=44, Resulting Numbers: [28, 44] Generated Node #0,2,3: 47:[28, 44] Operation: 31+13=44 Exploring Operation: 31+28=59, Resulting Numbers: [13, 59] Generated Node #0,2,4: 47:[13, 59] Operation: 31+28=59 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[31, 41], Operations: ['13+15=28', '13+28=41'] Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 31*41=1271, Resulting Numbers: [1271] 1271,47 unequal: No Solution Exploring Operation: 31+41=72, Resulting Numbers: [72] 72,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 47:[28, 44], Operations: ['13+15=28', '31+13=44'] Exploring Operation: 28*44=1232, Resulting Numbers: [1232] 1232,47 unequal: No Solution Exploring Operation: 28+44=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 47:[13, 59], Operations: ['13+15=28', '31+28=59'] Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,47 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[28, 18], Operations: ['13+15=28', '31-13=18'] Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[31, 15], Operations: ['13+15=28', '28-13=15'] Exploring Operation: 31*15=465, Resulting Numbers: [465] 465,47 unequal: No Solution Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,47 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: 47:[13, 15, 44], Operations: ['13+31=44'] Exploring Operation: 15-13=2, Resulting Numbers: [44, 2] Generated Node #0,4,0: 47:[44, 2] Operation: 15-13=2 Exploring Operation: 15+44=59, Resulting Numbers: [13, 59] Generated Node #0,4,1: 47:[13, 59] Operation: 15+44=59 Exploring Operation: 13+44=57, Resulting Numbers: [15, 57] Generated Node #0,4,2: 47:[15, 57] Operation: 13+44=57 Exploring Operation: 13+15=28, Resulting Numbers: [44, 28] Generated Node #0,4,3: 47:[44, 28] Operation: 13+15=28 Exploring Operation: 44-13=31, Resulting Numbers: [15, 31] Generated Node #0,4,4: 47:[15, 31] Operation: 44-13=31 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 47:[44, 28], Operations: ['13+31=44', '13+15=28'] Exploring Operation: 44*28=1232, Resulting Numbers: [1232] 1232,47 unequal: No Solution Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,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:[15, 57], Operations: ['13+31=44', '13+44=57'] Exploring Operation: 15*57=855, Resulting Numbers: [855] 855,47 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,47 unequal: No Solution Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,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:[13, 59], Operations: ['13+31=44', '15+44=59'] Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,47 unequal: No Solution Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,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,0 Current State: 47:[44, 2], Operations: ['13+31=44', '15-13=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,47 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,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:[15, 31], Operations: ['13+31=44', '44-13=31'] Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,47 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 47:[13, 13, 46], Operations: ['31+15=46'] Exploring Operation: 13+46=59, Resulting Numbers: [13, 59] Generated Node #0,1,0: 47:[13, 59] Operation: 13+46=59 Exploring Operation: 13/13=1, Resulting Numbers: [46, 1] Generated Node #0,1,1: 47:[46, 1] Operation: 13/13=1 Exploring Operation: 13+46=59, Resulting Numbers: [13, 59] Generated Node #0,1,2: 47:[13, 59] Operation: 13+46=59 Exploring Operation: 13-13=0, Resulting Numbers: [46, 0] Generated Node #0,1,3: 47:[46, 0] Operation: 13-13=0 Exploring Operation: 13+13=26, Resulting Numbers: [46, 26] Generated Node #0,1,4: 47:[46, 26] Operation: 13+13=26 Moving to Node #0,3 Current State: 47:[13, 15, 44], Operations: ['31+13=44'] Exploring Operation: 15-13=2, Resulting Numbers: [44, 2] Generated Node #0,3,0: 47:[44, 2] Operation: 15-13=2 Exploring Operation: 15+44=59, Resulting Numbers: [13, 59] Generated Node #0,3,1: 47:[13, 59] Operation: 15+44=59 Exploring Operation: 13+15=28, Resulting Numbers: [44, 28] Generated Node #0,3,2: 47:[44, 28] Operation: 13+15=28 Exploring Operation: 13+44=57, Resulting Numbers: [15, 57] Generated Node #0,3,3: 47:[15, 57] Operation: 13+44=57 Exploring Operation: 44-13=31, Resulting Numbers: [15, 31] Generated Node #0,3,4: 47:[15, 31] Operation: 44-13=31 Moving to Node #0,1,4 Current State: 47:[46, 26], Operations: ['31+15=46', '13+13=26'] Exploring Operation: 46-26=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 46+26=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 46*26=1196, Resulting Numbers: [1196] 1196,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[44, 28], Operations: ['31+13=44', '13+15=28'] Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 44*28=1232, Resulting Numbers: [1232] 1232,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[15, 57], Operations: ['31+13=44', '13+44=57'] Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,47 unequal: No Solution Exploring Operation: 15*57=855, Resulting Numbers: [855] 855,47 unequal: No Solution Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[13, 59], Operations: ['31+15=46', '13+46=59'] Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[13, 59], Operations: ['31+15=46', '13+46=59'] Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[13, 59], Operations: ['31+13=44', '15+44=59'] Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,47 unequal: No Solution Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[46, 1], Operations: ['31+15=46', '13/13=1'] Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[13, 31, 13, 15], Operations: [] Exploring Operation: 31+15=46, Resulting Numbers: [13, 13, 46] Generated Node #0,1: 47:[13, 13, 46] Operation: 31+15=46 Moving to Node #0,1 Current State: 47:[13, 13, 46], Operations: ['31+15=46'] Exploring Operation: 13/13=1, Resulting Numbers: [46, 1] Generated Node #0,1,1: 47:[46, 1] Operation: 13/13=1 Moving to Node #0,1,1 Current State: 47:[46, 1], Operations: ['31+15=46', '13/13=1'] Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
0.914063
hs_5
mult_heuristic
[ 45, 73, 26, 38 ]
92
[ "73-45=28", "26+38=64", "28+64=92" ]
Current State: 92:[45, 73, 26, 38], Operations: [] Exploring Operation: 73-45=28, Resulting Numbers: [26, 38, 28] Generated Node #2: [26, 38, 28] from Operation: 73-45=28 Current State: 92:[26, 38, 28], Operations: ['73-45=28'] Exploring Operation: 26+38=64, Resulting Numbers: [28, 64] Generated Node #3: [28, 64] from Operation: 26+38=64 Current State: 92:[28, 64], Operations: ['73-45=28', '26+38=64'] Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[45, 73, 26, 38], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [45, 26, 35] Generated Node #0,0: 92:[45, 26, 35] Operation: 73-38=35 Exploring Operation: 73-26=47, Resulting Numbers: [45, 38, 47] Generated Node #0,1: 92:[45, 38, 47] Operation: 73-26=47 Moving to Node #0,1 Current State: 92:[45, 38, 47], Operations: ['73-26=47'] Exploring Operation: 45-38=7, Resulting Numbers: [47, 7] Generated Node #0,1,0: 92:[47, 7] Operation: 45-38=7 Exploring Operation: 47-38=9, Resulting Numbers: [45, 9] Generated Node #0,1,1: 92:[45, 9] Operation: 47-38=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[47, 7], Operations: ['73-26=47', '45-38=7'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,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,1 Current State: 92:[45, 9], Operations: ['73-26=47', '47-38=9'] Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,92 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: 92:[45, 26, 35], Operations: ['73-38=35'] Exploring Operation: 45-35=10, Resulting Numbers: [26, 10] Generated Node #0,0,0: 92:[26, 10] Operation: 45-35=10 Exploring Operation: 35-26=9, Resulting Numbers: [45, 9] Generated Node #0,0,1: 92:[45, 9] Operation: 35-26=9 Moving to Node #0,0,1 Current State: 92:[45, 9], Operations: ['73-38=35', '35-26=9'] Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,92 unequal: No Solution Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[26, 10], Operations: ['73-38=35', '45-35=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,92 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,92 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 61, 96, 99, 26 ]
90
[ "96-61=35", "99+26=125", "125-35=90" ]
Current State: 90:[61, 96, 99, 26], Operations: [] Exploring Operation: 96-61=35, Resulting Numbers: [99, 26, 35] Generated Node #2: [99, 26, 35] from Operation: 96-61=35 Current State: 90:[99, 26, 35], Operations: ['96-61=35'] Exploring Operation: 99+26=125, Resulting Numbers: [35, 125] Generated Node #3: [35, 125] from Operation: 99+26=125 Current State: 90:[35, 125], Operations: ['96-61=35', '99+26=125'] Exploring Operation: 125-35=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[61, 96, 99, 26], Operations: [] Exploring Operation: 99-61=38, Resulting Numbers: [96, 26, 38] Generated Node #0,0: 90:[96, 26, 38] Operation: 99-61=38 Exploring Operation: 61+26=87, Resulting Numbers: [96, 99, 87] Generated Node #0,1: 90:[96, 99, 87] Operation: 61+26=87 Exploring Operation: 96-61=35, Resulting Numbers: [99, 26, 35] Generated Node #0,2: 90:[99, 26, 35] Operation: 96-61=35 Exploring Operation: 61-26=35, Resulting Numbers: [96, 99, 35] Generated Node #0,3: 90:[96, 99, 35] Operation: 61-26=35 Moving to Node #0,0 Current State: 90:[96, 26, 38], Operations: ['99-61=38'] Exploring Operation: 38-26=12, Resulting Numbers: [96, 12] Generated Node #0,0,0: 90:[96, 12] Operation: 38-26=12 Exploring Operation: 96-26=70, Resulting Numbers: [38, 70] Generated Node #0,0,1: 90:[38, 70] Operation: 96-26=70 Exploring Operation: 96-38=58, Resulting Numbers: [26, 58] Generated Node #0,0,2: 90:[26, 58] Operation: 96-38=58 Exploring Operation: 26+38=64, Resulting Numbers: [96, 64] Generated Node #0,0,3: 90:[96, 64] Operation: 26+38=64 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[96, 12], Operations: ['99-61=38', '38-26=12'] Exploring Operation: 96+12=108, Resulting Numbers: [108] 108,90 unequal: No Solution Exploring Operation: 96*12=1152, Resulting Numbers: [1152] 1152,90 unequal: No Solution Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[26, 58], Operations: ['99-61=38', '96-38=58'] Exploring Operation: 26*58=1508, Resulting Numbers: [1508] 1508,90 unequal: No Solution Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,90 unequal: No Solution Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 90:[96, 64], Operations: ['99-61=38', '26+38=64'] Exploring Operation: 96+64=160, Resulting Numbers: [160] 160,90 unequal: No Solution Exploring Operation: 96*64=6144, Resulting Numbers: [6144] 6144,90 unequal: No Solution Exploring Operation: 96-64=32, Resulting Numbers: [32] 32,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[38, 70], Operations: ['99-61=38', '96-26=70'] Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,90 unequal: No Solution Exploring Operation: 38+70=108, Resulting Numbers: [108] 108,90 unequal: No Solution Exploring Operation: 38*70=2660, Resulting Numbers: [2660] 2660,90 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: 90:[99, 26, 35], Operations: ['96-61=35'] Exploring Operation: 99-35=64, Resulting Numbers: [26, 64] Generated Node #0,2,0: 90:[26, 64] Operation: 99-35=64 Exploring Operation: 99-26=73, Resulting Numbers: [35, 73] Generated Node #0,2,1: 90:[35, 73] Operation: 99-26=73 Exploring Operation: 26+35=61, Resulting Numbers: [99, 61] Generated Node #0,2,2: 90:[99, 61] Operation: 26+35=61 Exploring Operation: 35-26=9, Resulting Numbers: [99, 9] Generated Node #0,2,3: 90:[99, 9] Operation: 35-26=9 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 90:[99, 9], Operations: ['96-61=35', '35-26=9'] Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 99+9=108, Resulting Numbers: [108] 108,90 unequal: No Solution Exploring Operation: 99-9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[61, 96, 99, 26], Operations: [] Exploring Operation: 96-61=35, Resulting Numbers: [99, 26, 35] Generated Node #0,2: 90:[99, 26, 35] Operation: 96-61=35 Moving to Node #0,2 Current State: 90:[99, 26, 35], Operations: ['96-61=35'] Exploring Operation: 35-26=9, Resulting Numbers: [99, 9] Generated Node #0,2,3: 90:[99, 9] Operation: 35-26=9 Moving to Node #0,2,3 Current State: 90:[99, 9], Operations: ['96-61=35', '35-26=9'] Exploring Operation: 99-9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 4, 14, 92, 92 ]
83
[ "92/4=23", "14+92=106", "106-23=83" ]
Current State: 83:[4, 14, 92, 92], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [14, 23] Generated Node #2: [14, 23] from Operation: 92/4=23 Current State: 83:[14, 23], Operations: ['92/4=23'] Exploring Operation: 14+92=106, Resulting Numbers: [23, 106] Generated Node #3: [23, 106] from Operation: 14+92=106 Current State: 83:[23, 106], Operations: ['92/4=23', '14+92=106'] Exploring Operation: 106-23=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[4, 14, 92, 92], Operations: [] Exploring Operation: 4+14=18, Resulting Numbers: [92, 92, 18] Generated Node #0,0: 83:[92, 92, 18] Operation: 4+14=18 Exploring Operation: 4*14=56, Resulting Numbers: [92, 92, 56] Generated Node #0,1: 83:[92, 92, 56] Operation: 4*14=56 Exploring Operation: 92-4=88, Resulting Numbers: [14, 92, 88] Generated Node #0,2: 83:[14, 92, 88] Operation: 92-4=88 Moving to Node #0,1 Current State: 83:[92, 92, 56], Operations: ['4*14=56'] Exploring Operation: 92+56=148, Resulting Numbers: [92, 148] Generated Node #0,1,0: 83:[92, 148] Operation: 92+56=148 Exploring Operation: 92-56=36, Resulting Numbers: [92, 36] Generated Node #0,1,1: 83:[92, 36] Operation: 92-56=36 Exploring Operation: 92-56=36, Resulting Numbers: [92, 36] Generated Node #0,1,2: 83:[92, 36] Operation: 92-56=36 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[92, 36], Operations: ['4*14=56', '92-56=36'] Exploring Operation: 92*36=3312, Resulting Numbers: [3312] 3312,83 unequal: No Solution Exploring Operation: 92+36=128, Resulting Numbers: [128] 128,83 unequal: No Solution Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[92, 36], Operations: ['4*14=56', '92-56=36'] Exploring Operation: 92+36=128, Resulting Numbers: [128] 128,83 unequal: No Solution Exploring Operation: 92-36=56, Resulting Numbers: [56] 56,83 unequal: No Solution Exploring Operation: 92*36=3312, Resulting Numbers: [3312] 3312,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[92, 148], Operations: ['4*14=56', '92+56=148'] Exploring Operation: 92+148=240, Resulting Numbers: [240] 240,83 unequal: No Solution Exploring Operation: 92*148=13616, Resulting Numbers: [13616] 13616,83 unequal: No Solution Exploring Operation: 148-92=56, Resulting Numbers: [56] 56,83 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: 83:[92, 92, 18], Operations: ['4+14=18'] Exploring Operation: 92-18=74, Resulting Numbers: [92, 74] Generated Node #0,0,0: 83:[92, 74] Operation: 92-18=74 Exploring Operation: 92+18=110, Resulting Numbers: [92, 110] Generated Node #0,0,1: 83:[92, 110] Operation: 92+18=110 Exploring Operation: 92-18=74, Resulting Numbers: [92, 74] Generated Node #0,0,2: 83:[92, 74] Operation: 92-18=74 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[92, 74], Operations: ['4+14=18', '92-18=74'] Exploring Operation: 92-74=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 92*74=6808, Resulting Numbers: [6808] 6808,83 unequal: No Solution Exploring Operation: 92+74=166, Resulting Numbers: [166] 166,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[92, 74], Operations: ['4+14=18', '92-18=74'] Exploring Operation: 92+74=166, Resulting Numbers: [166] 166,83 unequal: No Solution Exploring Operation: 92-74=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 92*74=6808, Resulting Numbers: [6808] 6808,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[92, 110], Operations: ['4+14=18', '92+18=110'] Exploring Operation: 92*110=10120, Resulting Numbers: [10120] 10120,83 unequal: No Solution Exploring Operation: 110-92=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 92+110=202, Resulting Numbers: [202] 202,83 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: 83:[14, 92, 88], Operations: ['92-4=88'] Exploring Operation: 88-14=74, Resulting Numbers: [92, 74] Generated Node #0,2,0: 83:[92, 74] Operation: 88-14=74 Exploring Operation: 14+92=106, Resulting Numbers: [88, 106] Generated Node #0,2,1: 83:[88, 106] Operation: 14+92=106 Exploring Operation: 92-14=78, Resulting Numbers: [88, 78] Generated Node #0,2,2: 83:[88, 78] Operation: 92-14=78 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[88, 78], Operations: ['92-4=88', '92-14=78'] Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 88*78=6864, Resulting Numbers: [6864] 6864,83 unequal: No Solution Exploring Operation: 88+78=166, Resulting Numbers: [166] 166,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[92, 74], Operations: ['92-4=88', '88-14=74'] Exploring Operation: 92+74=166, Resulting Numbers: [166] 166,83 unequal: No Solution Exploring Operation: 92*74=6808, Resulting Numbers: [6808] 6808,83 unequal: No Solution Exploring Operation: 92-74=18, Resulting Numbers: [18] 18,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[88, 106], Operations: ['92-4=88', '14+92=106'] Exploring Operation: 88*106=9328, Resulting Numbers: [9328] 9328,83 unequal: No Solution Exploring Operation: 88+106=194, Resulting Numbers: [194] 194,83 unequal: No Solution Exploring Operation: 106-88=18, Resulting Numbers: [18] 18,83 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
[ 3, 57, 33, 58 ]
88
[ "57+33=90", "90/3=30", "58+30=88" ]
Current State: 88:[3, 57, 33, 58], Operations: [] Exploring Operation: 57+33=90, Resulting Numbers: [3, 58, 90] Generated Node #2: [3, 58, 90] from Operation: 57+33=90 Current State: 88:[3, 58, 90], Operations: ['57+33=90'] Exploring Operation: 90/3=30, Resulting Numbers: [58, 30] Generated Node #3: [58, 30] from Operation: 90/3=30 Current State: 88:[58, 30], Operations: ['57+33=90', '90/3=30'] Exploring Operation: 58+30=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[3, 57, 33, 58], Operations: [] Exploring Operation: 58-57=1, Resulting Numbers: [3, 33, 1] Generated Node #0,0: 88:[3, 33, 1] Operation: 58-57=1 Moving to Node #0,0 Current State: 88:[3, 33, 1], Operations: ['58-57=1'] Exploring Operation: 33/3=11, Resulting Numbers: [1, 11] Generated Node #0,0,0: 88:[1, 11] Operation: 33/3=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[1, 11], Operations: ['58-57=1', '33/3=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 27, 92, 15, 11 ]
34
[ "92-15=77", "77/11=7", "27+7=34" ]
Current State: 34:[27, 92, 15, 11], Operations: [] Exploring Operation: 92-15=77, Resulting Numbers: [27, 11, 77] Generated Node #2: [27, 11, 77] from Operation: 92-15=77 Current State: 34:[27, 11, 77], Operations: ['92-15=77'] Exploring Operation: 77/11=7, Resulting Numbers: [27, 7] Generated Node #3: [27, 7] from Operation: 77/11=7 Current State: 34:[27, 7], Operations: ['92-15=77', '77/11=7'] Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[27, 92, 15, 11], Operations: [] Exploring Operation: 92-15=77, Resulting Numbers: [27, 11, 77] Generated Node #0,0: 34:[27, 11, 77] Operation: 92-15=77 Exploring Operation: 92-11=81, Resulting Numbers: [27, 15, 81] Generated Node #0,1: 34:[27, 15, 81] Operation: 92-11=81 Exploring Operation: 27+11=38, Resulting Numbers: [92, 15, 38] Generated Node #0,2: 34:[92, 15, 38] Operation: 27+11=38 Exploring Operation: 92-27=65, Resulting Numbers: [15, 11, 65] Generated Node #0,3: 34:[15, 11, 65] Operation: 92-27=65 Exploring Operation: 27-11=16, Resulting Numbers: [92, 15, 16] Generated Node #0,4: 34:[92, 15, 16] Operation: 27-11=16 Moving to Node #0,3 Current State: 34:[15, 11, 65], Operations: ['92-27=65'] Exploring Operation: 11+65=76, Resulting Numbers: [15, 76] Generated Node #0,3,0: 34:[15, 76] Operation: 11+65=76 Exploring Operation: 15-11=4, Resulting Numbers: [65, 4] Generated Node #0,3,1: 34:[65, 4] Operation: 15-11=4 Exploring Operation: 65-11=54, Resulting Numbers: [15, 54] Generated Node #0,3,2: 34:[15, 54] Operation: 65-11=54 Exploring Operation: 65-15=50, Resulting Numbers: [11, 50] Generated Node #0,3,3: 34:[11, 50] Operation: 65-15=50 Exploring Operation: 15+11=26, Resulting Numbers: [65, 26] Generated Node #0,3,4: 34:[65, 26] Operation: 15+11=26 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 34:[15, 54], Operations: ['92-27=65', '65-11=54'] Exploring Operation: 15*54=810, Resulting Numbers: [810] 810,34 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 15+54=69, Resulting Numbers: [69] 69,34 unequal: No Solution No 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: 34:[11, 50], Operations: ['92-27=65', '65-15=50'] Exploring Operation: 11*50=550, Resulting Numbers: [550] 550,34 unequal: No Solution Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 11+50=61, Resulting Numbers: [61] 61,34 unequal: No Solution No 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: 34:[65, 4], Operations: ['92-27=65', '15-11=4'] Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 65+4=69, Resulting Numbers: [69] 69,34 unequal: No Solution Exploring Operation: 65*4=260, Resulting Numbers: [260] 260,34 unequal: No Solution No 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: 34:[65, 26], Operations: ['92-27=65', '15+11=26'] Exploring Operation: 65*26=1690, Resulting Numbers: [1690] 1690,34 unequal: No Solution Exploring Operation: 65+26=91, Resulting Numbers: [91] 91,34 unequal: No Solution Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,34 unequal: No Solution No 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: 34:[15, 76], Operations: ['92-27=65', '11+65=76'] Exploring Operation: 15+76=91, Resulting Numbers: [91] 91,34 unequal: No Solution Exploring Operation: 15*76=1140, Resulting Numbers: [1140] 1140,34 unequal: No Solution Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,34 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: 34:[27, 15, 81], Operations: ['92-11=81'] Exploring Operation: 81-15=66, Resulting Numbers: [27, 66] Generated Node #0,1,0: 34:[27, 66] Operation: 81-15=66 Exploring Operation: 81/27=3, Resulting Numbers: [15, 3] Generated Node #0,1,1: 34:[15, 3] Operation: 81/27=3 Exploring Operation: 27-15=12, Resulting Numbers: [81, 12] Generated Node #0,1,2: 34:[81, 12] Operation: 27-15=12 Exploring Operation: 27+15=42, Resulting Numbers: [81, 42] Generated Node #0,1,3: 34:[81, 42] Operation: 27+15=42 Exploring Operation: 81-27=54, Resulting Numbers: [15, 54] Generated Node #0,1,4: 34:[15, 54] Operation: 81-27=54 Moving to Node #0,0 Current State: 34:[27, 11, 77], Operations: ['92-15=77'] Exploring Operation: 27+11=38, Resulting Numbers: [77, 38] Generated Node #0,0,0: 34:[77, 38] Operation: 27+11=38 Exploring Operation: 77/11=7, Resulting Numbers: [27, 7] Generated Node #0,0,1: 34:[27, 7] Operation: 77/11=7 Exploring Operation: 27-11=16, Resulting Numbers: [77, 16] Generated Node #0,0,2: 34:[77, 16] Operation: 27-11=16 Exploring Operation: 77-27=50, Resulting Numbers: [11, 50] Generated Node #0,0,3: 34:[11, 50] Operation: 77-27=50 Exploring Operation: 77-11=66, Resulting Numbers: [27, 66] Generated Node #0,0,4: 34:[27, 66] Operation: 77-11=66 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[27, 7], Operations: ['92-15=77', '77/11=7'] Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[27, 92, 15, 11], Operations: [] Exploring Operation: 92-15=77, Resulting Numbers: [27, 11, 77] Generated Node #0,0: 34:[27, 11, 77] Operation: 92-15=77 Moving to Node #0,0 Current State: 34:[27, 11, 77], Operations: ['92-15=77'] Exploring Operation: 77/11=7, Resulting Numbers: [27, 7] Generated Node #0,0,1: 34:[27, 7] Operation: 77/11=7 Moving to Node #0,0,1 Current State: 34:[27, 7], Operations: ['92-15=77', '77/11=7'] Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 21, 44, 71, 86 ]
92
[ "21+44=65", "71+86=157", "157-65=92" ]
Current State: 92:[21, 44, 71, 86], Operations: [] Exploring Operation: 21+44=65, Resulting Numbers: [71, 86, 65] Generated Node #2: [71, 86, 65] from Operation: 21+44=65 Current State: 92:[71, 86, 65], Operations: ['21+44=65'] Exploring Operation: 71+86=157, Resulting Numbers: [65, 157] Generated Node #3: [65, 157] from Operation: 71+86=157 Current State: 92:[65, 157], Operations: ['21+44=65', '71+86=157'] Exploring Operation: 157-65=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[21, 44, 71, 86], Operations: [] Exploring Operation: 71-21=50, Resulting Numbers: [44, 86, 50] Generated Node #0,0: 92:[44, 86, 50] Operation: 71-21=50 Exploring Operation: 71-44=27, Resulting Numbers: [21, 86, 27] Generated Node #0,1: 92:[21, 86, 27] Operation: 71-44=27 Exploring Operation: 21+71=92, Resulting Numbers: [44, 86, 92] Generated Node #0,2: 92:[44, 86, 92] Operation: 21+71=92 Moving to Node #0,2 Current State: 92:[44, 86, 92], Operations: ['21+71=92'] Exploring Operation: 92-86=6, Resulting Numbers: [44, 6] Generated Node #0,2,0: 92:[44, 6] Operation: 92-86=6 Exploring Operation: 86-44=42, Resulting Numbers: [92, 42] Generated Node #0,2,1: 92:[92, 42] Operation: 86-44=42 Exploring Operation: 92-44=48, Resulting Numbers: [86, 48] Generated Node #0,2,2: 92:[86, 48] Operation: 92-44=48 Moving to Node #0,0 Current State: 92:[44, 86, 50], Operations: ['71-21=50'] Exploring Operation: 86-44=42, Resulting Numbers: [50, 42] Generated Node #0,0,0: 92:[50, 42] Operation: 86-44=42 Exploring Operation: 44+50=94, Resulting Numbers: [86, 94] Generated Node #0,0,1: 92:[86, 94] Operation: 44+50=94 Exploring Operation: 50-44=6, Resulting Numbers: [86, 6] Generated Node #0,0,2: 92:[86, 6] Operation: 50-44=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[50, 42], Operations: ['71-21=50', '86-44=42'] Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,92 unequal: No Solution Exploring Operation: 50+42=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[21, 44, 71, 86], Operations: [] Exploring Operation: 71-21=50, Resulting Numbers: [44, 86, 50] Generated Node #0,0: 92:[44, 86, 50] Operation: 71-21=50 Moving to Node #0,0 Current State: 92:[44, 86, 50], Operations: ['71-21=50'] Exploring Operation: 86-44=42, Resulting Numbers: [50, 42] Generated Node #0,0,0: 92:[50, 42] Operation: 86-44=42 Moving to Node #0,0,0 Current State: 92:[50, 42], Operations: ['71-21=50', '86-44=42'] Exploring Operation: 50+42=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 7, 70, 48, 67 ]
27
[ "70-67=3", "7*3=21", "48-21=27" ]
Current State: 27:[7, 70, 48, 67], Operations: [] Exploring Operation: 70-67=3, Resulting Numbers: [7, 48, 3] Generated Node #2: [7, 48, 3] from Operation: 70-67=3 Current State: 27:[7, 48, 3], Operations: ['70-67=3'] Exploring Operation: 7*3=21, Resulting Numbers: [48, 21] Generated Node #3: [48, 21] from Operation: 7*3=21 Current State: 27:[48, 21], Operations: ['70-67=3', '7*3=21'] Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[7, 70, 48, 67], Operations: [] Exploring Operation: 70-48=22, Resulting Numbers: [7, 67, 22] Generated Node #0,0: 27:[7, 67, 22] Operation: 70-48=22 Exploring Operation: 70-67=3, Resulting Numbers: [7, 48, 3] Generated Node #0,1: 27:[7, 48, 3] Operation: 70-67=3 Moving to Node #0,1 Current State: 27:[7, 48, 3], Operations: ['70-67=3'] Exploring Operation: 48/3=16, Resulting Numbers: [7, 16] Generated Node #0,1,0: 27:[7, 16] Operation: 48/3=16 Exploring Operation: 48-7=41, Resulting Numbers: [3, 41] Generated Node #0,1,1: 27:[3, 41] Operation: 48-7=41 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[7, 16], Operations: ['70-67=3', '48/3=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,27 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,27 unequal: No Solution No 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: 27:[3, 41], Operations: ['70-67=3', '48-7=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,27 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: 27:[7, 67, 22], Operations: ['70-48=22'] Exploring Operation: 67-7=60, Resulting Numbers: [22, 60] Generated Node #0,0,0: 27:[22, 60] Operation: 67-7=60 Exploring Operation: 67-22=45, Resulting Numbers: [7, 45] Generated Node #0,0,1: 27:[7, 45] Operation: 67-22=45 Moving to Node #0,0,1 Current State: 27:[7, 45], Operations: ['70-48=22', '67-22=45'] Exploring Operation: 7+45=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[22, 60], Operations: ['70-48=22', '67-7=60'] Exploring Operation: 22+60=82, Resulting Numbers: [82] 82,27 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,27 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 74, 25, 37, 81 ]
31
[ "74*25=1850", "1850/37=50", "81-50=31" ]
Current State: 31:[74, 25, 37, 81], Operations: [] Exploring Operation: 74*25=1850, Resulting Numbers: [37, 81, 1850] Generated Node #2: [37, 81, 1850] from Operation: 74*25=1850 Current State: 31:[37, 81, 1850], Operations: ['74*25=1850'] Exploring Operation: 1850/37=50, Resulting Numbers: [81, 50] Generated Node #3: [81, 50] from Operation: 1850/37=50 Current State: 31:[81, 50], Operations: ['74*25=1850', '1850/37=50'] Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[74, 25, 37, 81], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [25, 37, 7] Generated Node #0,0: 31:[25, 37, 7] Operation: 81-74=7 Exploring Operation: 74-37=37, Resulting Numbers: [25, 81, 37] Generated Node #0,1: 31:[25, 81, 37] Operation: 74-37=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[25, 37, 7], Operations: ['81-74=7'] Exploring Operation: 25+7=32, Resulting Numbers: [37, 32] Generated Node #0,0,0: 31:[37, 32] Operation: 25+7=32 Exploring Operation: 37-7=30, Resulting Numbers: [25, 30] Generated Node #0,0,1: 31:[25, 30] Operation: 37-7=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[37, 32], Operations: ['81-74=7', '25+7=32'] Exploring Operation: 37+32=69, Resulting Numbers: [69] 69,31 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[25, 30], Operations: ['81-74=7', '37-7=30'] Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,31 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[25, 81, 37], Operations: ['74-37=37'] Exploring Operation: 81-25=56, Resulting Numbers: [37, 56] Generated Node #0,1,0: 31:[37, 56] Operation: 81-25=56 Exploring Operation: 81-37=44, Resulting Numbers: [25, 44] Generated Node #0,1,1: 31:[25, 44] Operation: 81-37=44 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[25, 44], Operations: ['74-37=37', '81-37=44'] Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,31 unequal: No Solution Exploring Operation: 25+44=69, Resulting Numbers: [69] 69,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[37, 56], Operations: ['74-37=37', '81-25=56'] Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,31 unequal: No Solution Exploring Operation: 37+56=93, Resulting Numbers: [93] 93,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 72, 40, 75, 47 ]
88
[ "72*75=5400", "5400/40=135", "135-47=88" ]
Current State: 88:[72, 40, 75, 47], Operations: [] Exploring Operation: 72*75=5400, Resulting Numbers: [40, 47, 5400] Generated Node #2: [40, 47, 5400] from Operation: 72*75=5400 Current State: 88:[40, 47, 5400], Operations: ['72*75=5400'] Exploring Operation: 5400/40=135, Resulting Numbers: [47, 135] Generated Node #3: [47, 135] from Operation: 5400/40=135 Current State: 88:[47, 135], Operations: ['72*75=5400', '5400/40=135'] Exploring Operation: 135-47=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[72, 40, 75, 47], Operations: [] Exploring Operation: 75-72=3, Resulting Numbers: [40, 47, 3] Generated Node #0,0: 88:[40, 47, 3] Operation: 75-72=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[40, 47, 3], Operations: ['75-72=3'] Exploring Operation: 40+47=87, Resulting Numbers: [3, 87] Generated Node #0,0,0: 88:[3, 87] Operation: 40+47=87 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[3, 87], Operations: ['75-72=3', '40+47=87'] Exploring Operation: 3+87=90, Resulting Numbers: [90] 90,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 22, 99, 24, 44 ]
57
[ "99-22=77", "44-24=20", "77-20=57" ]
Current State: 57:[22, 99, 24, 44], Operations: [] Exploring Operation: 99-22=77, Resulting Numbers: [24, 44, 77] Generated Node #2: [24, 44, 77] from Operation: 99-22=77 Current State: 57:[24, 44, 77], Operations: ['99-22=77'] Exploring Operation: 44-24=20, Resulting Numbers: [77, 20] Generated Node #3: [77, 20] from Operation: 44-24=20 Current State: 57:[77, 20], Operations: ['99-22=77', '44-24=20'] Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[22, 99, 24, 44], Operations: [] Exploring Operation: 99-22=77, Resulting Numbers: [24, 44, 77] Generated Node #0,0: 57:[24, 44, 77] Operation: 99-22=77 Exploring Operation: 99-24=75, Resulting Numbers: [22, 44, 75] Generated Node #0,1: 57:[22, 44, 75] Operation: 99-24=75 Exploring Operation: 44-24=20, Resulting Numbers: [22, 99, 20] Generated Node #0,2: 57:[22, 99, 20] Operation: 44-24=20 Exploring Operation: 44/22=2, Resulting Numbers: [99, 24, 2] Generated Node #0,3: 57:[99, 24, 2] Operation: 44/22=2 Exploring Operation: 99-44=55, Resulting Numbers: [22, 24, 55] Generated Node #0,4: 57:[22, 24, 55] Operation: 99-44=55 Start Sub Search at level 1: Moving to Node #0,4 Current State: 57:[22, 24, 55], Operations: ['99-44=55'] Exploring Operation: 55-24=31, Resulting Numbers: [22, 31] Generated Node #0,4,0: 57:[22, 31] Operation: 55-24=31 Exploring Operation: 22+24=46, Resulting Numbers: [55, 46] Generated Node #0,4,1: 57:[55, 46] Operation: 22+24=46 Exploring Operation: 55-22=33, Resulting Numbers: [24, 33] Generated Node #0,4,2: 57:[24, 33] Operation: 55-22=33 Exploring Operation: 24-22=2, Resulting Numbers: [55, 2] Generated Node #0,4,3: 57:[55, 2] Operation: 24-22=2 Exploring Operation: 22+55=77, Resulting Numbers: [24, 77] Generated Node #0,4,4: 57:[24, 77] Operation: 22+55=77 Moving to Node #0,4,3 Current State: 57:[55, 2], Operations: ['99-44=55', '24-22=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[22, 99, 24, 44], Operations: [] Exploring Operation: 99-44=55, Resulting Numbers: [22, 24, 55] Generated Node #0,4: 57:[22, 24, 55] Operation: 99-44=55 Moving to Node #0,4 Current State: 57:[22, 24, 55], Operations: ['99-44=55'] Exploring Operation: 24-22=2, Resulting Numbers: [55, 2] Generated Node #0,4,3: 57:[55, 2] Operation: 24-22=2 Moving to Node #0,4,3 Current State: 57:[55, 2], Operations: ['99-44=55', '24-22=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 72, 39, 91, 26 ]
79
[ "39-26=13", "91/13=7", "72+7=79" ]
Current State: 79:[72, 39, 91, 26], Operations: [] Exploring Operation: 39-26=13, Resulting Numbers: [72, 91, 13] Generated Node #2: [72, 91, 13] from Operation: 39-26=13 Current State: 79:[72, 91, 13], Operations: ['39-26=13'] Exploring Operation: 91/13=7, Resulting Numbers: [72, 7] Generated Node #3: [72, 7] from Operation: 91/13=7 Current State: 79:[72, 7], Operations: ['39-26=13', '91/13=7'] Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[72, 39, 91, 26], Operations: [] Exploring Operation: 91-26=65, Resulting Numbers: [72, 39, 65] Generated Node #0,0: 79:[72, 39, 65] Operation: 91-26=65 Exploring Operation: 72+26=98, Resulting Numbers: [39, 91, 98] Generated Node #0,1: 79:[39, 91, 98] Operation: 72+26=98 Exploring Operation: 39+26=65, Resulting Numbers: [72, 91, 65] Generated Node #0,2: 79:[72, 91, 65] Operation: 39+26=65 Moving to Node #0,2 Current State: 79:[72, 91, 65], Operations: ['39+26=65'] Exploring Operation: 91-72=19, Resulting Numbers: [65, 19] Generated Node #0,2,0: 79:[65, 19] Operation: 91-72=19 Exploring Operation: 72+65=137, Resulting Numbers: [91, 137] Generated Node #0,2,1: 79:[91, 137] Operation: 72+65=137 Exploring Operation: 91-65=26, Resulting Numbers: [72, 26] Generated Node #0,2,2: 79:[72, 26] Operation: 91-65=26 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[72, 26], Operations: ['39+26=65', '91-65=26'] Exploring Operation: 72+26=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,79 unequal: No Solution Exploring Operation: 72*26=1872, Resulting Numbers: [1872] 1872,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,2,1 Current State: 79:[91, 137], Operations: ['39+26=65', '72+65=137'] Exploring Operation: 137-91=46, Resulting Numbers: [46] 46,79 unequal: No Solution Exploring Operation: 91+137=228, Resulting Numbers: [228] 228,79 unequal: No Solution Exploring Operation: 91*137=12467, Resulting Numbers: [12467] 12467,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,2,0 Current State: 79:[65, 19], Operations: ['39+26=65', '91-72=19'] Exploring Operation: 65+19=84, Resulting Numbers: [84] 84,79 unequal: No Solution Exploring Operation: 65*19=1235, Resulting Numbers: [1235] 1235,79 unequal: No Solution Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,79 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: 79:[72, 39, 65], Operations: ['91-26=65'] Exploring Operation: 39+65=104, Resulting Numbers: [72, 104] Generated Node #0,0,0: 79:[72, 104] Operation: 39+65=104 Exploring Operation: 72+39=111, Resulting Numbers: [65, 111] Generated Node #0,0,1: 79:[65, 111] Operation: 72+39=111 Exploring Operation: 72-39=33, Resulting Numbers: [65, 33] Generated Node #0,0,2: 79:[65, 33] Operation: 72-39=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[72, 104], Operations: ['91-26=65', '39+65=104'] Exploring Operation: 72*104=7488, Resulting Numbers: [7488] 7488,79 unequal: No Solution Exploring Operation: 104-72=32, Resulting Numbers: [32] 32,79 unequal: No Solution Exploring Operation: 72+104=176, Resulting Numbers: [176] 176,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:[65, 111], Operations: ['91-26=65', '72+39=111'] Exploring Operation: 65+111=176, Resulting Numbers: [176] 176,79 unequal: No Solution Exploring Operation: 111-65=46, Resulting Numbers: [46] 46,79 unequal: No Solution Exploring Operation: 65*111=7215, Resulting Numbers: [7215] 7215,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:[65, 33], Operations: ['91-26=65', '72-39=33'] Exploring Operation: 65+33=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 65*33=2145, Resulting Numbers: [2145] 2145,79 unequal: No Solution Exploring Operation: 65-33=32, Resulting Numbers: [32] 32,79 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: 79:[39, 91, 98], Operations: ['72+26=98'] Exploring Operation: 39+91=130, Resulting Numbers: [98, 130] Generated Node #0,1,0: 79:[98, 130] Operation: 39+91=130 Exploring Operation: 98-39=59, Resulting Numbers: [91, 59] Generated Node #0,1,1: 79:[91, 59] Operation: 98-39=59 Exploring Operation: 91-39=52, Resulting Numbers: [98, 52] Generated Node #0,1,2: 79:[98, 52] Operation: 91-39=52 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 79:[91, 59], Operations: ['72+26=98', '98-39=59'] Exploring Operation: 91*59=5369, Resulting Numbers: [5369] 5369,79 unequal: No Solution Exploring Operation: 91-59=32, Resulting Numbers: [32] 32,79 unequal: No Solution Exploring Operation: 91+59=150, Resulting Numbers: [150] 150,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,2 Current State: 79:[98, 52], Operations: ['72+26=98', '91-39=52'] Exploring Operation: 98*52=5096, Resulting Numbers: [5096] 5096,79 unequal: No Solution Exploring Operation: 98+52=150, Resulting Numbers: [150] 150,79 unequal: No Solution Exploring Operation: 98-52=46, Resulting Numbers: [46] 46,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:[98, 130], Operations: ['72+26=98', '39+91=130'] Exploring Operation: 98+130=228, Resulting Numbers: [228] 228,79 unequal: No Solution Exploring Operation: 130-98=32, Resulting Numbers: [32] 32,79 unequal: No Solution Exploring Operation: 98*130=12740, Resulting Numbers: [12740] 12740,79 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
[ 13, 85, 83, 28 ]
30
[ "28-13=15", "85-83=2", "15*2=30" ]
Current State: 30:[13, 85, 83, 28], Operations: [] Exploring Operation: 28-13=15, Resulting Numbers: [85, 83, 15] Generated Node #2: [85, 83, 15] from Operation: 28-13=15 Current State: 30:[85, 83, 15], Operations: ['28-13=15'] Exploring Operation: 85-83=2, Resulting Numbers: [15, 2] Generated Node #3: [15, 2] from Operation: 85-83=2 Current State: 30:[15, 2], Operations: ['28-13=15', '85-83=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[13, 85, 83, 28], Operations: [] Exploring Operation: 85-28=57, Resulting Numbers: [13, 83, 57] Generated Node #0,0: 30:[13, 83, 57] Operation: 85-28=57 Exploring Operation: 83-28=55, Resulting Numbers: [13, 85, 55] Generated Node #0,1: 30:[13, 85, 55] Operation: 83-28=55 Exploring Operation: 85-83=2, Resulting Numbers: [13, 28, 2] Generated Node #0,2: 30:[13, 28, 2] Operation: 85-83=2 Moving to Node #0,2 Current State: 30:[13, 28, 2], Operations: ['85-83=2'] Exploring Operation: 28+2=30, Resulting Numbers: [13, 30] Generated Node #0,2,0: 30:[13, 30] Operation: 28+2=30 Exploring Operation: 13+2=15, Resulting Numbers: [28, 15] Generated Node #0,2,1: 30:[28, 15] Operation: 13+2=15 Exploring Operation: 28-13=15, Resulting Numbers: [2, 15] Generated Node #0,2,2: 30:[2, 15] Operation: 28-13=15 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[2, 15], Operations: ['85-83=2', '28-13=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,30 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,30 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[13, 85, 83, 28], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [13, 28, 2] Generated Node #0,2: 30:[13, 28, 2] Operation: 85-83=2 Moving to Node #0,2 Current State: 30:[13, 28, 2], Operations: ['85-83=2'] Exploring Operation: 28-13=15, Resulting Numbers: [2, 15] Generated Node #0,2,2: 30:[2, 15] Operation: 28-13=15 Moving to Node #0,2,2 Current State: 30:[2, 15], Operations: ['85-83=2', '28-13=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 47, 45, 68, 24 ]
94
[ "47-45=2", "68+24=92", "2+92=94" ]
Current State: 94:[47, 45, 68, 24], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [68, 24, 2] Generated Node #2: [68, 24, 2] from Operation: 47-45=2 Current State: 94:[68, 24, 2], Operations: ['47-45=2'] Exploring Operation: 68+24=92, Resulting Numbers: [2, 92] Generated Node #3: [2, 92] from Operation: 68+24=92 Current State: 94:[2, 92], Operations: ['47-45=2', '68+24=92'] Exploring Operation: 2+92=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[47, 45, 68, 24], Operations: [] Exploring Operation: 68+24=92, Resulting Numbers: [47, 45, 92] Generated Node #0,0: 94:[47, 45, 92] Operation: 68+24=92 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[47, 45, 92], Operations: ['68+24=92'] Exploring Operation: 92-45=47, Resulting Numbers: [47, 47] Generated Node #0,0,0: 94:[47, 47] Operation: 92-45=47 Moving to Node #0,0,0 Current State: 94:[47, 47], Operations: ['68+24=92', '92-45=47'] Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[47, 45, 68, 24], Operations: [] Exploring Operation: 68+24=92, Resulting Numbers: [47, 45, 92] Generated Node #0,0: 94:[47, 45, 92] Operation: 68+24=92 Moving to Node #0,0 Current State: 94:[47, 45, 92], Operations: ['68+24=92'] Exploring Operation: 92-45=47, Resulting Numbers: [47, 47] Generated Node #0,0,0: 94:[47, 47] Operation: 92-45=47 Moving to Node #0,0,0 Current State: 94:[47, 47], Operations: ['68+24=92', '92-45=47'] Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 67, 61, 77, 90 ]
52
[ "77-67=10", "90/10=9", "61-9=52" ]
Current State: 52:[67, 61, 77, 90], Operations: [] Exploring Operation: 77-67=10, Resulting Numbers: [61, 90, 10] Generated Node #2: [61, 90, 10] from Operation: 77-67=10 Current State: 52:[61, 90, 10], Operations: ['77-67=10'] Exploring Operation: 90/10=9, Resulting Numbers: [61, 9] Generated Node #3: [61, 9] from Operation: 90/10=9 Current State: 52:[61, 9], Operations: ['77-67=10', '90/10=9'] Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[67, 61, 77, 90], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [61, 77, 23] Generated Node #0,0: 52:[61, 77, 23] Operation: 90-67=23 Exploring Operation: 90-61=29, Resulting Numbers: [67, 77, 29] Generated Node #0,1: 52:[67, 77, 29] Operation: 90-61=29 Exploring Operation: 90-77=13, Resulting Numbers: [67, 61, 13] Generated Node #0,2: 52:[67, 61, 13] Operation: 90-77=13 Exploring Operation: 77-67=10, Resulting Numbers: [61, 90, 10] Generated Node #0,3: 52:[61, 90, 10] Operation: 77-67=10 Moving to Node #0,2 Current State: 52:[67, 61, 13], Operations: ['90-77=13'] Exploring Operation: 61-13=48, Resulting Numbers: [67, 48] Generated Node #0,2,0: 52:[67, 48] Operation: 61-13=48 Exploring Operation: 67-13=54, Resulting Numbers: [61, 54] Generated Node #0,2,1: 52:[61, 54] Operation: 67-13=54 Exploring Operation: 67+13=80, Resulting Numbers: [61, 80] Generated Node #0,2,2: 52:[61, 80] Operation: 67+13=80 Exploring Operation: 67-61=6, Resulting Numbers: [13, 6] Generated Node #0,2,3: 52:[13, 6] Operation: 67-61=6 Moving to Node #0,0 Current State: 52:[61, 77, 23], Operations: ['90-67=23'] Exploring Operation: 77-23=54, Resulting Numbers: [61, 54] Generated Node #0,0,0: 52:[61, 54] Operation: 77-23=54 Exploring Operation: 61+23=84, Resulting Numbers: [77, 84] Generated Node #0,0,1: 52:[77, 84] Operation: 61+23=84 Exploring Operation: 77-61=16, Resulting Numbers: [23, 16] Generated Node #0,0,2: 52:[23, 16] Operation: 77-61=16 Exploring Operation: 61-23=38, Resulting Numbers: [77, 38] Generated Node #0,0,3: 52:[77, 38] Operation: 61-23=38 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 52:[23, 16], Operations: ['90-67=23', '77-61=16'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[61, 54], Operations: ['90-67=23', '77-23=54'] Exploring Operation: 61*54=3294, Resulting Numbers: [3294] 3294,52 unequal: No Solution Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 61+54=115, Resulting Numbers: [115] 115,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 52:[77, 38], Operations: ['90-67=23', '61-23=38'] Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,52 unequal: No Solution Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,52 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[77, 84], Operations: ['90-67=23', '61+23=84'] Exploring Operation: 77+84=161, Resulting Numbers: [161] 161,52 unequal: No Solution Exploring Operation: 77*84=6468, Resulting Numbers: [6468] 6468,52 unequal: No Solution Exploring Operation: 84-77=7, Resulting Numbers: [7] 7,52 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: 52:[67, 77, 29], Operations: ['90-61=29'] Exploring Operation: 67+29=96, Resulting Numbers: [77, 96] Generated Node #0,1,0: 52:[77, 96] Operation: 67+29=96 Exploring Operation: 77-67=10, Resulting Numbers: [29, 10] Generated Node #0,1,1: 52:[29, 10] Operation: 77-67=10 Exploring Operation: 77-29=48, Resulting Numbers: [67, 48] Generated Node #0,1,2: 52:[67, 48] Operation: 77-29=48 Exploring Operation: 67-29=38, Resulting Numbers: [77, 38] Generated Node #0,1,3: 52:[77, 38] Operation: 67-29=38 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[29, 10], Operations: ['90-61=29', '77-67=10'] Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 29*10=290, Resulting Numbers: [290] 290,52 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 52:[67, 48], Operations: ['90-61=29', '77-29=48'] Exploring Operation: 67*48=3216, Resulting Numbers: [3216] 3216,52 unequal: No Solution Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,52 unequal: No Solution Exploring Operation: 67+48=115, Resulting Numbers: [115] 115,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 52:[77, 38], Operations: ['90-61=29', '67-29=38'] Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,52 unequal: No Solution Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[77, 96], Operations: ['90-61=29', '67+29=96'] Exploring Operation: 77*96=7392, Resulting Numbers: [7392] 7392,52 unequal: No Solution Exploring Operation: 96-77=19, Resulting Numbers: [19] 19,52 unequal: No Solution Exploring Operation: 77+96=173, Resulting Numbers: [173] 173,52 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: 52:[61, 90, 10], Operations: ['77-67=10'] Exploring Operation: 90-10=80, Resulting Numbers: [61, 80] Generated Node #0,3,0: 52:[61, 80] Operation: 90-10=80 Exploring Operation: 90-61=29, Resulting Numbers: [10, 29] Generated Node #0,3,1: 52:[10, 29] Operation: 90-61=29 Exploring Operation: 90/10=9, Resulting Numbers: [61, 9] Generated Node #0,3,2: 52:[61, 9] Operation: 90/10=9 Exploring Operation: 61-10=51, Resulting Numbers: [90, 51] Generated Node #0,3,3: 52:[90, 51] Operation: 61-10=51 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 52:[10, 29], Operations: ['77-67=10', '90-61=29'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,52 unequal: No Solution Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,52 unequal: No Solution Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 52:[61, 9], Operations: ['77-67=10', '90/10=9'] Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[67, 61, 77, 90], Operations: [] Exploring Operation: 77-67=10, Resulting Numbers: [61, 90, 10] Generated Node #0,3: 52:[61, 90, 10] Operation: 77-67=10 Moving to Node #0,3 Current State: 52:[61, 90, 10], Operations: ['77-67=10'] Exploring Operation: 90/10=9, Resulting Numbers: [61, 9] Generated Node #0,3,2: 52:[61, 9] Operation: 90/10=9 Moving to Node #0,3,2 Current State: 52:[61, 9], Operations: ['77-67=10', '90/10=9'] Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_4
mult_heuristic
[ 75, 44, 3, 24 ]
10
[ "75-44=31", "24-3=21", "31-21=10" ]
Current State: 10:[75, 44, 3, 24], Operations: [] Exploring Operation: 75-44=31, Resulting Numbers: [3, 24, 31] Generated Node #2: [3, 24, 31] from Operation: 75-44=31 Current State: 10:[3, 24, 31], Operations: ['75-44=31'] Exploring Operation: 24-3=21, Resulting Numbers: [31, 21] Generated Node #3: [31, 21] from Operation: 24-3=21 Current State: 10:[31, 21], Operations: ['75-44=31', '24-3=21'] Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[75, 44, 3, 24], Operations: [] Exploring Operation: 75-44=31, Resulting Numbers: [3, 24, 31] Generated Node #0,0: 10:[3, 24, 31] Operation: 75-44=31 Exploring Operation: 75/3=25, Resulting Numbers: [44, 24, 25] Generated Node #0,1: 10:[44, 24, 25] Operation: 75/3=25 Moving to Node #0,0 Current State: 10:[3, 24, 31], Operations: ['75-44=31'] Exploring Operation: 31-24=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 10:[3, 7] Operation: 31-24=7 Exploring Operation: 24/3=8, Resulting Numbers: [31, 8] Generated Node #0,0,1: 10:[31, 8] Operation: 24/3=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[3, 7], Operations: ['75-44=31', '31-24=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[75, 44, 3, 24], Operations: [] Exploring Operation: 75-44=31, Resulting Numbers: [3, 24, 31] Generated Node #0,0: 10:[3, 24, 31] Operation: 75-44=31 Moving to Node #0,0 Current State: 10:[3, 24, 31], Operations: ['75-44=31'] Exploring Operation: 31-24=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 10:[3, 7] Operation: 31-24=7 Moving to Node #0,0,0 Current State: 10:[3, 7], Operations: ['75-44=31', '31-24=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 62, 5, 50, 23 ]
67
[ "62+23=85", "85/5=17", "50+17=67" ]
Current State: 67:[62, 5, 50, 23], Operations: [] Exploring Operation: 62+23=85, Resulting Numbers: [5, 50, 85] Generated Node #2: [5, 50, 85] from Operation: 62+23=85 Current State: 67:[5, 50, 85], Operations: ['62+23=85'] Exploring Operation: 85/5=17, Resulting Numbers: [50, 17] Generated Node #3: [50, 17] from Operation: 85/5=17 Current State: 67:[50, 17], Operations: ['62+23=85', '85/5=17'] Exploring Operation: 50+17=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[62, 5, 50, 23], Operations: [] Exploring Operation: 62+5=67, Resulting Numbers: [50, 23, 67] Generated Node #0,0: 67:[50, 23, 67] Operation: 62+5=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[50, 23, 67], Operations: ['62+5=67'] Exploring Operation: 50+23=73, Resulting Numbers: [67, 73] Generated Node #0,0,0: 67:[67, 73] Operation: 50+23=73 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[67, 73], Operations: ['62+5=67', '50+23=73'] Exploring Operation: 73-67=6, Resulting Numbers: [6] 6,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 7, 81, 4, 95 ]
17
[ "81-7=74", "95-4=91", "91-74=17" ]
Current State: 17:[7, 81, 4, 95], Operations: [] Exploring Operation: 81-7=74, Resulting Numbers: [4, 95, 74] Generated Node #2: [4, 95, 74] from Operation: 81-7=74 Current State: 17:[4, 95, 74], Operations: ['81-7=74'] Exploring Operation: 95-4=91, Resulting Numbers: [74, 91] Generated Node #3: [74, 91] from Operation: 95-4=91 Current State: 17:[74, 91], Operations: ['81-7=74', '95-4=91'] Exploring Operation: 91-74=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[7, 81, 4, 95], Operations: [] Exploring Operation: 81-7=74, Resulting Numbers: [4, 95, 74] Generated Node #0,0: 17:[4, 95, 74] Operation: 81-7=74 Exploring Operation: 7+4=11, Resulting Numbers: [81, 95, 11] Generated Node #0,1: 17:[81, 95, 11] Operation: 7+4=11 Exploring Operation: 81-4=77, Resulting Numbers: [7, 95, 77] Generated Node #0,2: 17:[7, 95, 77] Operation: 81-4=77 Exploring Operation: 95-7=88, Resulting Numbers: [81, 4, 88] Generated Node #0,3: 17:[81, 4, 88] Operation: 95-7=88 Exploring Operation: 95-81=14, Resulting Numbers: [7, 4, 14] Generated Node #0,4: 17:[7, 4, 14] Operation: 95-81=14 Start Sub Search at level 1: Moving to Node #0,4 Current State: 17:[7, 4, 14], Operations: ['95-81=14'] Exploring Operation: 7*4=28, Resulting Numbers: [14, 28] Generated Node #0,4,0: 17:[14, 28] Operation: 7*4=28 Exploring Operation: 4+14=18, Resulting Numbers: [7, 18] Generated Node #0,4,1: 17:[7, 18] Operation: 4+14=18 Exploring Operation: 7-4=3, Resulting Numbers: [14, 3] Generated Node #0,4,2: 17:[14, 3] Operation: 7-4=3 Exploring Operation: 7+4=11, Resulting Numbers: [14, 11] Generated Node #0,4,3: 17:[14, 11] Operation: 7+4=11 Exploring Operation: 7+14=21, Resulting Numbers: [4, 21] Generated Node #0,4,4: 17:[4, 21] Operation: 7+14=21 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 17:[14, 11], Operations: ['95-81=14', '7+4=11'] Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 17:[7, 18], Operations: ['95-81=14', '4+14=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,17 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,17 unequal: No Solution No 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: 17:[14, 28], Operations: ['95-81=14', '7*4=28'] Exploring Operation: 14*28=392, Resulting Numbers: [392] 392,17 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,17 unequal: No Solution No 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: 17:[14, 3], Operations: ['95-81=14', '7-4=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[7, 81, 4, 95], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [7, 4, 14] Generated Node #0,4: 17:[7, 4, 14] Operation: 95-81=14 Moving to Node #0,4 Current State: 17:[7, 4, 14], Operations: ['95-81=14'] Exploring Operation: 7-4=3, Resulting Numbers: [14, 3] Generated Node #0,4,2: 17:[14, 3] Operation: 7-4=3 Moving to Node #0,4,2 Current State: 17:[14, 3], Operations: ['95-81=14', '7-4=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 58, 7, 77, 72 ]
25
[ "72-58=14", "77/7=11", "14+11=25" ]
Current State: 25:[58, 7, 77, 72], Operations: [] Exploring Operation: 72-58=14, Resulting Numbers: [7, 77, 14] Generated Node #2: [7, 77, 14] from Operation: 72-58=14 Current State: 25:[7, 77, 14], Operations: ['72-58=14'] Exploring Operation: 77/7=11, Resulting Numbers: [14, 11] Generated Node #3: [14, 11] from Operation: 77/7=11 Current State: 25:[14, 11], Operations: ['72-58=14', '77/7=11'] Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[58, 7, 77, 72], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [58, 7, 5] Generated Node #0,0: 25:[58, 7, 5] Operation: 77-72=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[58, 7, 5], Operations: ['77-72=5'] Exploring Operation: 58-7=51, Resulting Numbers: [5, 51] Generated Node #0,0,0: 25:[5, 51] Operation: 58-7=51 Moving to Node #0,0,0 Current State: 25:[5, 51], Operations: ['77-72=5', '58-7=51'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,25 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
[ 62, 87, 98, 65 ]
33
[ "65-62=3", "98-87=11", "3*11=33" ]
Current State: 33:[62, 87, 98, 65], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [87, 98, 3] Generated Node #2: [87, 98, 3] from Operation: 65-62=3 Current State: 33:[87, 98, 3], Operations: ['65-62=3'] Exploring Operation: 98-87=11, Resulting Numbers: [3, 11] Generated Node #3: [3, 11] from Operation: 98-87=11 Current State: 33:[3, 11], Operations: ['65-62=3', '98-87=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[62, 87, 98, 65], Operations: [] Exploring Operation: 98-62=36, Resulting Numbers: [87, 65, 36] Generated Node #0,0: 33:[87, 65, 36] Operation: 98-62=36 Exploring Operation: 87-65=22, Resulting Numbers: [62, 98, 22] Generated Node #0,1: 33:[62, 98, 22] Operation: 87-65=22 Exploring Operation: 98-87=11, Resulting Numbers: [62, 65, 11] Generated Node #0,2: 33:[62, 65, 11] Operation: 98-87=11 Exploring Operation: 87-62=25, Resulting Numbers: [98, 65, 25] Generated Node #0,3: 33:[98, 65, 25] Operation: 87-62=25 Exploring Operation: 98-65=33, Resulting Numbers: [62, 87, 33] Generated Node #0,4: 33:[62, 87, 33] Operation: 98-65=33 Moving to Node #0,2 Current State: 33:[62, 65, 11], Operations: ['98-87=11'] Exploring Operation: 65+11=76, Resulting Numbers: [62, 76] Generated Node #0,2,0: 33:[62, 76] Operation: 65+11=76 Exploring Operation: 65-62=3, Resulting Numbers: [11, 3] Generated Node #0,2,1: 33:[11, 3] Operation: 65-62=3 Exploring Operation: 62+11=73, Resulting Numbers: [65, 73] Generated Node #0,2,2: 33:[65, 73] Operation: 62+11=73 Exploring Operation: 62-11=51, Resulting Numbers: [65, 51] Generated Node #0,2,3: 33:[65, 51] Operation: 62-11=51 Exploring Operation: 65-11=54, Resulting Numbers: [62, 54] Generated Node #0,2,4: 33:[62, 54] Operation: 65-11=54 Moving to Node #0,4 Current State: 33:[62, 87, 33], Operations: ['98-65=33'] Exploring Operation: 87-33=54, Resulting Numbers: [62, 54] Generated Node #0,4,0: 33:[62, 54] Operation: 87-33=54 Exploring Operation: 62-33=29, Resulting Numbers: [87, 29] Generated Node #0,4,1: 33:[87, 29] Operation: 62-33=29 Exploring Operation: 87-62=25, Resulting Numbers: [33, 25] Generated Node #0,4,2: 33:[33, 25] Operation: 87-62=25 Exploring Operation: 62+33=95, Resulting Numbers: [87, 95] Generated Node #0,4,3: 33:[87, 95] Operation: 62+33=95 Exploring Operation: 62+87=149, Resulting Numbers: [33, 149] Generated Node #0,4,4: 33:[33, 149] Operation: 62+87=149 Moving to Node #0,0 Current State: 33:[87, 65, 36], Operations: ['98-62=36'] Exploring Operation: 65-36=29, Resulting Numbers: [87, 29] Generated Node #0,0,0: 33:[87, 29] Operation: 65-36=29 Exploring Operation: 87-65=22, Resulting Numbers: [36, 22] Generated Node #0,0,1: 33:[36, 22] Operation: 87-65=22 Exploring Operation: 87-36=51, Resulting Numbers: [65, 51] Generated Node #0,0,2: 33:[65, 51] Operation: 87-36=51 Exploring Operation: 87+65=152, Resulting Numbers: [36, 152] Generated Node #0,0,3: 33:[36, 152] Operation: 87+65=152 Exploring Operation: 87+36=123, Resulting Numbers: [65, 123] Generated Node #0,0,4: 33:[65, 123] Operation: 87+36=123 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[36, 22], Operations: ['98-62=36', '87-65=22'] Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 36*22=792, Resulting Numbers: [792] 792,33 unequal: No Solution Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,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,0,2 Current State: 33:[65, 51], Operations: ['98-62=36', '87-36=51'] Exploring Operation: 65-51=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 65+51=116, Resulting Numbers: [116] 116,33 unequal: No Solution Exploring Operation: 65*51=3315, Resulting Numbers: [3315] 3315,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,0,0 Current State: 33:[87, 29], Operations: ['98-62=36', '65-36=29'] Exploring Operation: 87/29=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 87*29=2523, Resulting Numbers: [2523] 2523,33 unequal: No Solution Exploring Operation: 87-29=58, Resulting Numbers: [58] 58,33 unequal: No Solution Exploring Operation: 87+29=116, Resulting Numbers: [116] 116,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,0,3 Current State: 33:[36, 152], Operations: ['98-62=36', '87+65=152'] Exploring Operation: 36+152=188, Resulting Numbers: [188] 188,33 unequal: No Solution Exploring Operation: 36*152=5472, Resulting Numbers: [5472] 5472,33 unequal: No Solution Exploring Operation: 152-36=116, Resulting Numbers: [116] 116,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,0,4 Current State: 33:[65, 123], Operations: ['98-62=36', '87+36=123'] Exploring Operation: 65+123=188, Resulting Numbers: [188] 188,33 unequal: No Solution Exploring Operation: 65*123=7995, Resulting Numbers: [7995] 7995,33 unequal: No Solution Exploring Operation: 123-65=58, Resulting Numbers: [58] 58,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:[62, 98, 22], Operations: ['87-65=22'] Exploring Operation: 62-22=40, Resulting Numbers: [98, 40] Generated Node #0,1,0: 33:[98, 40] Operation: 62-22=40 Exploring Operation: 98-62=36, Resulting Numbers: [22, 36] Generated Node #0,1,1: 33:[22, 36] Operation: 98-62=36 Exploring Operation: 62+22=84, Resulting Numbers: [98, 84] Generated Node #0,1,2: 33:[98, 84] Operation: 62+22=84 Exploring Operation: 98-22=76, Resulting Numbers: [62, 76] Generated Node #0,1,3: 33:[62, 76] Operation: 98-22=76 Exploring Operation: 98+22=120, Resulting Numbers: [62, 120] Generated Node #0,1,4: 33:[62, 120] Operation: 98+22=120 Moving to Node #0,3 Current State: 33:[98, 65, 25], Operations: ['87-62=25'] Exploring Operation: 65+25=90, Resulting Numbers: [98, 90] Generated Node #0,3,0: 33:[98, 90] Operation: 65+25=90 Exploring Operation: 65-25=40, Resulting Numbers: [98, 40] Generated Node #0,3,1: 33:[98, 40] Operation: 65-25=40 Exploring Operation: 98+25=123, Resulting Numbers: [65, 123] Generated Node #0,3,2: 33:[65, 123] Operation: 98+25=123 Exploring Operation: 98-65=33, Resulting Numbers: [25, 33] Generated Node #0,3,3: 33:[25, 33] Operation: 98-65=33 Exploring Operation: 98-25=73, Resulting Numbers: [65, 73] Generated Node #0,3,4: 33:[65, 73] Operation: 98-25=73 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 33:[25, 33], Operations: ['87-62=25', '98-65=33'] Exploring Operation: 25*33=825, Resulting Numbers: [825] 825,33 unequal: No Solution Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,33 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,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:[98, 40], Operations: ['87-62=25', '65-25=40'] Exploring Operation: 98-40=58, Resulting Numbers: [58] 58,33 unequal: No Solution Exploring Operation: 98+40=138, Resulting Numbers: [138] 138,33 unequal: No Solution Exploring Operation: 98*40=3920, Resulting Numbers: [3920] 3920,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,4 Current State: 33:[65, 73], Operations: ['87-62=25', '98-25=73'] Exploring Operation: 65*73=4745, Resulting Numbers: [4745] 4745,33 unequal: No Solution Exploring Operation: 65+73=138, Resulting Numbers: [138] 138,33 unequal: No Solution Exploring Operation: 73-65=8, Resulting Numbers: [8] 8,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,0 Current State: 33:[98, 90], Operations: ['87-62=25', '65+25=90'] Exploring Operation: 98*90=8820, Resulting Numbers: [8820] 8820,33 unequal: No Solution Exploring Operation: 98+90=188, Resulting Numbers: [188] 188,33 unequal: No Solution Exploring Operation: 98-90=8, Resulting Numbers: [8] 8,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:[65, 123], Operations: ['87-62=25', '98+25=123'] Exploring Operation: 123-65=58, Resulting Numbers: [58] 58,33 unequal: No Solution Exploring Operation: 65*123=7995, Resulting Numbers: [7995] 7995,33 unequal: No Solution Exploring Operation: 65+123=188, Resulting Numbers: [188] 188,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 33:[11, 3], Operations: ['98-87=11', '65-62=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[62, 87, 98, 65], Operations: [] Exploring Operation: 98-87=11, Resulting Numbers: [62, 65, 11] Generated Node #0,2: 33:[62, 65, 11] Operation: 98-87=11 Moving to Node #0,2 Current State: 33:[62, 65, 11], Operations: ['98-87=11'] Exploring Operation: 65-62=3, Resulting Numbers: [11, 3] Generated Node #0,2,1: 33:[11, 3] Operation: 65-62=3 Moving to Node #0,2,1 Current State: 33:[11, 3], Operations: ['98-87=11', '65-62=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.94184
hs_5
mult_heuristic
[ 61, 25, 65, 57 ]
44
[ "61-25=36", "65-57=8", "36+8=44" ]
Current State: 44:[61, 25, 65, 57], Operations: [] Exploring Operation: 61-25=36, Resulting Numbers: [65, 57, 36] Generated Node #2: [65, 57, 36] from Operation: 61-25=36 Current State: 44:[65, 57, 36], Operations: ['61-25=36'] Exploring Operation: 65-57=8, Resulting Numbers: [36, 8] Generated Node #3: [36, 8] from Operation: 65-57=8 Current State: 44:[36, 8], Operations: ['61-25=36', '65-57=8'] Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[61, 25, 65, 57], Operations: [] Exploring Operation: 65-25=40, Resulting Numbers: [61, 57, 40] Generated Node #0,0: 44:[61, 57, 40] Operation: 65-25=40 Exploring Operation: 65-61=4, Resulting Numbers: [25, 57, 4] Generated Node #0,1: 44:[25, 57, 4] Operation: 65-61=4 Exploring Operation: 61-57=4, Resulting Numbers: [25, 65, 4] Generated Node #0,2: 44:[25, 65, 4] Operation: 61-57=4 Exploring Operation: 65-57=8, Resulting Numbers: [61, 25, 8] Generated Node #0,3: 44:[61, 25, 8] Operation: 65-57=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[25, 57, 4], Operations: ['65-61=4'] Exploring Operation: 57-4=53, Resulting Numbers: [25, 53] Generated Node #0,1,0: 44:[25, 53] Operation: 57-4=53 Exploring Operation: 25+4=29, Resulting Numbers: [57, 29] Generated Node #0,1,1: 44:[57, 29] Operation: 25+4=29 Exploring Operation: 25-4=21, Resulting Numbers: [57, 21] Generated Node #0,1,2: 44:[57, 21] Operation: 25-4=21 Exploring Operation: 57-25=32, Resulting Numbers: [4, 32] Generated Node #0,1,3: 44:[4, 32] Operation: 57-25=32 Moving to Node #0,1,3 Current State: 44:[4, 32], Operations: ['65-61=4', '57-25=32'] Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,44 unequal: No Solution Exploring Operation: 4*32=128, Resulting Numbers: [128] 128,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[25, 53], Operations: ['65-61=4', '57-4=53'] Exploring Operation: 25*53=1325, Resulting Numbers: [1325] 1325,44 unequal: No Solution Exploring Operation: 25+53=78, Resulting Numbers: [78] 78,44 unequal: No Solution Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[57, 21], Operations: ['65-61=4', '25-4=21'] Exploring Operation: 57*21=1197, Resulting Numbers: [1197] 1197,44 unequal: No Solution Exploring Operation: 57+21=78, Resulting Numbers: [78] 78,44 unequal: No Solution Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[57, 29], Operations: ['65-61=4', '25+4=29'] Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,44 unequal: No Solution Exploring Operation: 57*29=1653, Resulting Numbers: [1653] 1653,44 unequal: No Solution Exploring Operation: 57+29=86, Resulting Numbers: [86] 86,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[61, 25, 8], Operations: ['65-57=8'] Exploring Operation: 61-25=36, Resulting Numbers: [8, 36] Generated Node #0,3,0: 44:[8, 36] Operation: 61-25=36 Exploring Operation: 61-8=53, Resulting Numbers: [25, 53] Generated Node #0,3,1: 44:[25, 53] Operation: 61-8=53 Exploring Operation: 61+8=69, Resulting Numbers: [25, 69] Generated Node #0,3,2: 44:[25, 69] Operation: 61+8=69 Exploring Operation: 25-8=17, Resulting Numbers: [61, 17] Generated Node #0,3,3: 44:[61, 17] Operation: 25-8=17 Moving to Node #0,3,0 Current State: 44:[8, 36], Operations: ['65-57=8', '61-25=36'] Exploring Operation: 8+36=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[61, 25, 65, 57], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [61, 25, 8] Generated Node #0,3: 44:[61, 25, 8] Operation: 65-57=8 Moving to Node #0,3 Current State: 44:[61, 25, 8], Operations: ['65-57=8'] Exploring Operation: 61-25=36, Resulting Numbers: [8, 36] Generated Node #0,3,0: 44:[8, 36] Operation: 61-25=36 Moving to Node #0,3,0 Current State: 44:[8, 36], Operations: ['65-57=8', '61-25=36'] Exploring Operation: 8+36=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 10, 11, 68, 36 ]
31
[ "11-10=1", "68-36=32", "32-1=31" ]
Current State: 31:[10, 11, 68, 36], Operations: [] Exploring Operation: 11-10=1, Resulting Numbers: [68, 36, 1] Generated Node #2: [68, 36, 1] from Operation: 11-10=1 Current State: 31:[68, 36, 1], Operations: ['11-10=1'] Exploring Operation: 68-36=32, Resulting Numbers: [1, 32] Generated Node #3: [1, 32] from Operation: 68-36=32 Current State: 31:[1, 32], Operations: ['11-10=1', '68-36=32'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[10, 11, 68, 36], Operations: [] Exploring Operation: 68-36=32, Resulting Numbers: [10, 11, 32] Generated Node #0,0: 31:[10, 11, 32] Operation: 68-36=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[10, 11, 32], Operations: ['68-36=32'] Exploring Operation: 10+11=21, Resulting Numbers: [32, 21] Generated Node #0,0,0: 31:[32, 21] Operation: 10+11=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[32, 21], Operations: ['68-36=32', '10+11=21'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 29, 69, 2, 28 ]
16
[ "69-29=40", "2*28=56", "56-40=16" ]
Current State: 16:[29, 69, 2, 28], Operations: [] Exploring Operation: 69-29=40, Resulting Numbers: [2, 28, 40] Generated Node #2: [2, 28, 40] from Operation: 69-29=40 Current State: 16:[2, 28, 40], Operations: ['69-29=40'] Exploring Operation: 2*28=56, Resulting Numbers: [40, 56] Generated Node #3: [40, 56] from Operation: 2*28=56 Current State: 16:[40, 56], Operations: ['69-29=40', '2*28=56'] Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[29, 69, 2, 28], Operations: [] Exploring Operation: 29-28=1, Resulting Numbers: [69, 2, 1] Generated Node #0,0: 16:[69, 2, 1] Operation: 29-28=1 Exploring Operation: 69-29=40, Resulting Numbers: [2, 28, 40] Generated Node #0,1: 16:[2, 28, 40] Operation: 69-29=40 Exploring Operation: 28/2=14, Resulting Numbers: [29, 69, 14] Generated Node #0,2: 16:[29, 69, 14] Operation: 28/2=14 Exploring Operation: 69-28=41, Resulting Numbers: [29, 2, 41] Generated Node #0,3: 16:[29, 2, 41] Operation: 69-28=41 Moving to Node #0,1 Current State: 16:[2, 28, 40], Operations: ['69-29=40'] Exploring Operation: 40/2=20, Resulting Numbers: [28, 20] Generated Node #0,1,0: 16:[28, 20] Operation: 40/2=20 Exploring Operation: 28/2=14, Resulting Numbers: [40, 14] Generated Node #0,1,1: 16:[40, 14] Operation: 28/2=14 Exploring Operation: 40-28=12, Resulting Numbers: [2, 12] Generated Node #0,1,2: 16:[2, 12] Operation: 40-28=12 Exploring Operation: 28-2=26, Resulting Numbers: [40, 26] Generated Node #0,1,3: 16:[40, 26] Operation: 28-2=26 Moving to Node #0,3 Current State: 16:[29, 2, 41], Operations: ['69-28=41'] Exploring Operation: 29-2=27, Resulting Numbers: [41, 27] Generated Node #0,3,0: 16:[41, 27] Operation: 29-2=27 Exploring Operation: 41-2=39, Resulting Numbers: [29, 39] Generated Node #0,3,1: 16:[29, 39] Operation: 41-2=39 Exploring Operation: 41-29=12, Resulting Numbers: [2, 12] Generated Node #0,3,2: 16:[2, 12] Operation: 41-29=12 Exploring Operation: 29+2=31, Resulting Numbers: [41, 31] Generated Node #0,3,3: 16:[41, 31] Operation: 29+2=31 Moving to Node #0,0 Current State: 16:[69, 2, 1], Operations: ['29-28=1'] Exploring Operation: 69-2=67, Resulting Numbers: [1, 67] Generated Node #0,0,0: 16:[1, 67] Operation: 69-2=67 Exploring Operation: 69-1=68, Resulting Numbers: [2, 68] Generated Node #0,0,1: 16:[2, 68] Operation: 69-1=68 Exploring Operation: 69/1=69, Resulting Numbers: [2, 69] Generated Node #0,0,2: 16:[2, 69] Operation: 69/1=69 Exploring Operation: 69*1=69, Resulting Numbers: [2, 69] Generated Node #0,0,3: 16:[2, 69] Operation: 69*1=69 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[1, 67], Operations: ['29-28=1', '69-2=67'] Exploring Operation: 1+67=68, Resulting Numbers: [68] 68,16 unequal: No Solution Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,16 unequal: No Solution Exploring Operation: 1*67=67, Resulting Numbers: [67] 67,16 unequal: No Solution Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,16 unequal: No Solution No 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: 16:[2, 68], Operations: ['29-28=1', '69-1=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,16 unequal: No Solution Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,16 unequal: No Solution Exploring Operation: 2*68=136, Resulting Numbers: [136] 136,16 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,16 unequal: No Solution No 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: 16:[2, 69], Operations: ['29-28=1', '69/1=69'] Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,16 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,16 unequal: No Solution No 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: 16:[2, 69], Operations: ['29-28=1', '69*1=69'] Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,16 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,16 unequal: No Solution Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,16 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: 16:[29, 69, 14], Operations: ['28/2=14'] Exploring Operation: 69-29=40, Resulting Numbers: [14, 40] Generated Node #0,2,0: 16:[14, 40] Operation: 69-29=40 Exploring Operation: 29-14=15, Resulting Numbers: [69, 15] Generated Node #0,2,1: 16:[69, 15] Operation: 29-14=15 Exploring Operation: 29+14=43, Resulting Numbers: [69, 43] Generated Node #0,2,2: 16:[69, 43] Operation: 29+14=43 Exploring Operation: 69-14=55, Resulting Numbers: [29, 55] Generated Node #0,2,3: 16:[29, 55] Operation: 69-14=55 Moving to Node #0,1,2 Current State: 16:[2, 12], Operations: ['69-29=40', '40-28=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,16 unequal: No Solution Moving to Node #0,3,2 Current State: 16:[2, 12], Operations: ['69-28=41', '41-29=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[28, 20], Operations: ['69-29=40', '40/2=20'] Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,16 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[40, 14], Operations: ['69-29=40', '28/2=14'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,16 unequal: No Solution Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[14, 40], Operations: ['28/2=14', '69-29=40'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,16 unequal: No Solution Exploring Operation: 14*40=560, Resulting Numbers: [560] 560,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[40, 26], Operations: ['69-29=40', '28-2=26'] Exploring Operation: 40+26=66, Resulting Numbers: [66] 66,16 unequal: No Solution Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 40*26=1040, Resulting Numbers: [1040] 1040,16 unequal: No Solution Moving to Node #0,3,1 Current State: 16:[29, 39], Operations: ['69-28=41', '41-2=39'] Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 29+39=68, Resulting Numbers: [68] 68,16 unequal: No Solution Exploring Operation: 29*39=1131, Resulting Numbers: [1131] 1131,16 unequal: No Solution Moving to Node #0,3,0 Current State: 16:[41, 27], Operations: ['69-28=41', '29-2=27'] Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 41*27=1107, Resulting Numbers: [1107] 1107,16 unequal: No Solution Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[41, 31], Operations: ['69-28=41', '29+2=31'] Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 41*31=1271, Resulting Numbers: [1271] 1271,16 unequal: No Solution Exploring Operation: 41+31=72, Resulting Numbers: [72] 72,16 unequal: No Solution Moving to Node #0,2,3 Current State: 16:[29, 55], Operations: ['28/2=14', '69-14=55'] Exploring Operation: 55-29=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 29+55=84, Resulting Numbers: [84] 84,16 unequal: No Solution Exploring Operation: 29*55=1595, Resulting Numbers: [1595] 1595,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[69, 15], Operations: ['28/2=14', '29-14=15'] Exploring Operation: 69-15=54, Resulting Numbers: [54] 54,16 unequal: No Solution Exploring Operation: 69+15=84, Resulting Numbers: [84] 84,16 unequal: No Solution Exploring Operation: 69*15=1035, Resulting Numbers: [1035] 1035,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[69, 43], Operations: ['28/2=14', '29+14=43'] Exploring Operation: 69*43=2967, Resulting Numbers: [2967] 2967,16 unequal: No Solution Exploring Operation: 69+43=112, Resulting Numbers: [112] 112,16 unequal: No Solution Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,16 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 8, 61, 67, 64 ]
10
[ "61+67=128", "128/64=2", "8+2=10" ]
Current State: 10:[8, 61, 67, 64], Operations: [] Exploring Operation: 61+67=128, Resulting Numbers: [8, 64, 128] Generated Node #2: [8, 64, 128] from Operation: 61+67=128 Current State: 10:[8, 64, 128], Operations: ['61+67=128'] Exploring Operation: 128/64=2, Resulting Numbers: [8, 2] Generated Node #3: [8, 2] from Operation: 128/64=2 Current State: 10:[8, 2], Operations: ['61+67=128', '128/64=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[8, 61, 67, 64], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [8, 67, 3] Generated Node #0,0: 10:[8, 67, 3] Operation: 64-61=3 Exploring Operation: 64/8=8, Resulting Numbers: [61, 67, 8] Generated Node #0,1: 10:[61, 67, 8] Operation: 64/8=8 Exploring Operation: 67-61=6, Resulting Numbers: [8, 64, 6] Generated Node #0,2: 10:[8, 64, 6] Operation: 67-61=6 Exploring Operation: 67-64=3, Resulting Numbers: [8, 61, 3] Generated Node #0,3: 10:[8, 61, 3] Operation: 67-64=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[8, 61, 3], Operations: ['67-64=3'] Exploring Operation: 8-3=5, Resulting Numbers: [61, 5] Generated Node #0,3,0: 10:[61, 5] Operation: 8-3=5 Exploring Operation: 61-8=53, Resulting Numbers: [3, 53] Generated Node #0,3,1: 10:[3, 53] Operation: 61-8=53 Exploring Operation: 61-3=58, Resulting Numbers: [8, 58] Generated Node #0,3,2: 10:[8, 58] Operation: 61-3=58 Exploring Operation: 8+3=11, Resulting Numbers: [61, 11] Generated Node #0,3,3: 10:[61, 11] Operation: 8+3=11 Moving to Node #0,3,1 Current State: 10:[3, 53], Operations: ['67-64=3', '61-8=53'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,10 unequal: No Solution Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 3*53=159, Resulting Numbers: [159] 159,10 unequal: No Solution Moving to Node #0,3,2 Current State: 10:[8, 58], Operations: ['67-64=3', '61-3=58'] Exploring Operation: 8*58=464, Resulting Numbers: [464] 464,10 unequal: No Solution Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,10 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,10 unequal: No Solution Moving to Node #0,3,0 Current State: 10:[61, 5], Operations: ['67-64=3', '8-3=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,10 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 61*5=305, Resulting Numbers: [305] 305,10 unequal: No Solution Moving to Node #0,3,3 Current State: 10:[61, 11], Operations: ['67-64=3', '8+3=11'] Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,10 unequal: No Solution Exploring Operation: 61+11=72, Resulting Numbers: [72] 72,10 unequal: No Solution Exploring Operation: 61*11=671, Resulting Numbers: [671] 671,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[8, 64, 6], Operations: ['67-61=6'] Exploring Operation: 64-6=58, Resulting Numbers: [8, 58] Generated Node #0,2,0: 10:[8, 58] Operation: 64-6=58 Exploring Operation: 64/8=8, Resulting Numbers: [6, 8] Generated Node #0,2,1: 10:[6, 8] Operation: 64/8=8 Exploring Operation: 8-6=2, Resulting Numbers: [64, 2] Generated Node #0,2,2: 10:[64, 2] Operation: 8-6=2 Exploring Operation: 64-8=56, Resulting Numbers: [6, 56] Generated Node #0,2,3: 10:[6, 56] Operation: 64-8=56 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 10:[6, 8], Operations: ['67-61=6', '64/8=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,10 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 10:[6, 56], Operations: ['67-61=6', '64-8=56'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,10 unequal: No Solution Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,10 unequal: No Solution Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 10:[8, 58], Operations: ['67-61=6', '64-6=58'] Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,10 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,10 unequal: No Solution Exploring Operation: 8*58=464, Resulting Numbers: [464] 464,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[64, 2], Operations: ['67-61=6', '8-6=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,10 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,10 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,10 unequal: No Solution Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[8, 67, 3], Operations: ['64-61=3'] Exploring Operation: 8-3=5, Resulting Numbers: [67, 5] Generated Node #0,0,0: 10:[67, 5] Operation: 8-3=5 Exploring Operation: 67-3=64, Resulting Numbers: [8, 64] Generated Node #0,0,1: 10:[8, 64] Operation: 67-3=64 Exploring Operation: 67-8=59, Resulting Numbers: [3, 59] Generated Node #0,0,2: 10:[3, 59] Operation: 67-8=59 Exploring Operation: 8+3=11, Resulting Numbers: [67, 11] Generated Node #0,0,3: 10:[67, 11] Operation: 8+3=11 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 10:[3, 59], Operations: ['64-61=3', '67-8=59'] Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,10 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,10 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[8, 64], Operations: ['64-61=3', '67-3=64'] Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 8+64=72, Resulting Numbers: [72] 72,10 unequal: No Solution Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 8*64=512, Resulting Numbers: [512] 512,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[67, 5], Operations: ['64-61=3', '8-3=5'] Exploring Operation: 67+5=72, Resulting Numbers: [72] 72,10 unequal: No Solution Exploring Operation: 67*5=335, Resulting Numbers: [335] 335,10 unequal: No Solution Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 10:[67, 11], Operations: ['64-61=3', '8+3=11'] Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 67*11=737, Resulting Numbers: [737] 737,10 unequal: No Solution Exploring Operation: 67+11=78, Resulting Numbers: [78] 78,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[61, 67, 8], Operations: ['64/8=8'] Exploring Operation: 61+8=69, Resulting Numbers: [67, 69] Generated Node #0,1,0: 10:[67, 69] Operation: 61+8=69 Exploring Operation: 61-8=53, Resulting Numbers: [67, 53] Generated Node #0,1,1: 10:[67, 53] Operation: 61-8=53 Exploring Operation: 67-8=59, Resulting Numbers: [61, 59] Generated Node #0,1,2: 10:[61, 59] Operation: 67-8=59 Exploring Operation: 67-61=6, Resulting Numbers: [8, 6] Generated Node #0,1,3: 10:[8, 6] Operation: 67-61=6 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 10:[8, 6], Operations: ['64/8=8', '67-61=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,10 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[67, 53], Operations: ['64/8=8', '61-8=53'] Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,10 unequal: No Solution Exploring Operation: 67*53=3551, Resulting Numbers: [3551] 3551,10 unequal: No Solution Exploring Operation: 67+53=120, Resulting Numbers: [120] 120,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 10:[61, 59], Operations: ['64/8=8', '67-8=59'] Exploring Operation: 61+59=120, Resulting Numbers: [120] 120,10 unequal: No Solution Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 61*59=3599, Resulting Numbers: [3599] 3599,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 10:[67, 69], Operations: ['64/8=8', '61+8=69'] Exploring Operation: 69-67=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 67+69=136, Resulting Numbers: [136] 136,10 unequal: No Solution Exploring Operation: 67*69=4623, Resulting Numbers: [4623] 4623,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_4
mult_heuristic
[ 6, 32, 80, 52 ]
67
[ "6*80=480", "480/32=15", "52+15=67" ]
Current State: 67:[6, 32, 80, 52], Operations: [] Exploring Operation: 6*80=480, Resulting Numbers: [32, 52, 480] Generated Node #2: [32, 52, 480] from Operation: 6*80=480 Current State: 67:[32, 52, 480], Operations: ['6*80=480'] Exploring Operation: 480/32=15, Resulting Numbers: [52, 15] Generated Node #3: [52, 15] from Operation: 480/32=15 Current State: 67:[52, 15], Operations: ['6*80=480', '480/32=15'] Exploring Operation: 52+15=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[6, 32, 80, 52], Operations: [] Exploring Operation: 80-6=74, Resulting Numbers: [32, 52, 74] Generated Node #0,0: 67:[32, 52, 74] Operation: 80-6=74 Exploring Operation: 6+52=58, Resulting Numbers: [32, 80, 58] Generated Node #0,1: 67:[32, 80, 58] Operation: 6+52=58 Exploring Operation: 6+32=38, Resulting Numbers: [80, 52, 38] Generated Node #0,2: 67:[80, 52, 38] Operation: 6+32=38 Moving to Node #0,0 Current State: 67:[32, 52, 74], Operations: ['80-6=74'] Exploring Operation: 74-32=42, Resulting Numbers: [52, 42] Generated Node #0,0,0: 67:[52, 42] Operation: 74-32=42 Exploring Operation: 52-32=20, Resulting Numbers: [74, 20] Generated Node #0,0,1: 67:[74, 20] Operation: 52-32=20 Exploring Operation: 32+52=84, Resulting Numbers: [74, 84] Generated Node #0,0,2: 67:[74, 84] Operation: 32+52=84 Moving to Node #0,1 Current State: 67:[32, 80, 58], Operations: ['6+52=58'] Exploring Operation: 32+80=112, Resulting Numbers: [58, 112] Generated Node #0,1,0: 67:[58, 112] Operation: 32+80=112 Exploring Operation: 80-32=48, Resulting Numbers: [58, 48] Generated Node #0,1,1: 67:[58, 48] Operation: 80-32=48 Exploring Operation: 32+58=90, Resulting Numbers: [80, 90] Generated Node #0,1,2: 67:[80, 90] Operation: 32+58=90 Moving to Node #0,2 Current State: 67:[80, 52, 38], Operations: ['6+32=38'] Exploring Operation: 52+38=90, Resulting Numbers: [80, 90] Generated Node #0,2,0: 67:[80, 90] Operation: 52+38=90 Exploring Operation: 80-38=42, Resulting Numbers: [52, 42] Generated Node #0,2,1: 67:[52, 42] Operation: 80-38=42 Exploring Operation: 80+38=118, Resulting Numbers: [52, 118] Generated Node #0,2,2: 67:[52, 118] Operation: 80+38=118 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[80, 90], Operations: ['6+32=38', '52+38=90'] Exploring Operation: 90-80=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 80+90=170, Resulting Numbers: [170] 170,67 unequal: No Solution Exploring Operation: 80*90=7200, Resulting Numbers: [7200] 7200,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:[52, 42], Operations: ['6+32=38', '80-38=42'] Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,67 unequal: No Solution Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,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,2 Current State: 67:[52, 118], Operations: ['6+32=38', '80+38=118'] Exploring Operation: 118-52=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 52*118=6136, Resulting Numbers: [6136] 6136,67 unequal: No Solution Exploring Operation: 52+118=170, Resulting Numbers: [170] 170,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 67:[74, 84], Operations: ['80-6=74', '32+52=84'] Exploring Operation: 74*84=6216, Resulting Numbers: [6216] 6216,67 unequal: No Solution Exploring Operation: 84-74=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 74+84=158, Resulting Numbers: [158] 158,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[58, 48], Operations: ['6+52=58', '80-32=48'] Exploring Operation: 58*48=2784, Resulting Numbers: [2784] 2784,67 unequal: No Solution Exploring Operation: 58+48=106, Resulting Numbers: [106] 106,67 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[80, 90], Operations: ['6+52=58', '32+58=90'] Exploring Operation: 80*90=7200, Resulting Numbers: [7200] 7200,67 unequal: No Solution Exploring Operation: 90-80=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 80+90=170, Resulting Numbers: [170] 170,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[52, 42], Operations: ['80-6=74', '74-32=42'] Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,67 unequal: No Solution Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,67 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[58, 112], Operations: ['6+52=58', '32+80=112'] Exploring Operation: 58+112=170, Resulting Numbers: [170] 170,67 unequal: No Solution Exploring Operation: 112-58=54, Resulting Numbers: [54] 54,67 unequal: No Solution Exploring Operation: 58*112=6496, Resulting Numbers: [6496] 6496,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[74, 20], Operations: ['80-6=74', '52-32=20'] Exploring Operation: 74*20=1480, Resulting Numbers: [1480] 1480,67 unequal: No Solution Exploring Operation: 74+20=94, Resulting Numbers: [94] 94,67 unequal: No Solution Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,67 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 38, 11, 75, 2 ]
59
[ "75-38=37", "11*2=22", "37+22=59" ]
Current State: 59:[38, 11, 75, 2], Operations: [] Exploring Operation: 75-38=37, Resulting Numbers: [11, 2, 37] Generated Node #2: [11, 2, 37] from Operation: 75-38=37 Current State: 59:[11, 2, 37], Operations: ['75-38=37'] Exploring Operation: 11*2=22, Resulting Numbers: [37, 22] Generated Node #3: [37, 22] from Operation: 11*2=22 Current State: 59:[37, 22], Operations: ['75-38=37', '11*2=22'] Exploring Operation: 37+22=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[38, 11, 75, 2], Operations: [] Exploring Operation: 38+2=40, Resulting Numbers: [11, 75, 40] Generated Node #0,0: 59:[11, 75, 40] Operation: 38+2=40 Exploring Operation: 11*2=22, Resulting Numbers: [38, 75, 22] Generated Node #0,1: 59:[38, 75, 22] Operation: 11*2=22 Exploring Operation: 75-11=64, Resulting Numbers: [38, 2, 64] Generated Node #0,2: 59:[38, 2, 64] Operation: 75-11=64 Exploring Operation: 38+11=49, Resulting Numbers: [75, 2, 49] Generated Node #0,3: 59:[75, 2, 49] Operation: 38+11=49 Exploring Operation: 38*2=76, Resulting Numbers: [11, 75, 76] Generated Node #0,4: 59:[11, 75, 76] Operation: 38*2=76 Moving to Node #0,1 Current State: 59:[38, 75, 22], Operations: ['11*2=22'] Exploring Operation: 38-22=16, Resulting Numbers: [75, 16] Generated Node #0,1,0: 59:[75, 16] Operation: 38-22=16 Exploring Operation: 75-22=53, Resulting Numbers: [38, 53] Generated Node #0,1,1: 59:[38, 53] Operation: 75-22=53 Exploring Operation: 75-38=37, Resulting Numbers: [22, 37] Generated Node #0,1,2: 59:[22, 37] Operation: 75-38=37 Exploring Operation: 75+22=97, Resulting Numbers: [38, 97] Generated Node #0,1,3: 59:[38, 97] Operation: 75+22=97 Exploring Operation: 38+22=60, Resulting Numbers: [75, 60] Generated Node #0,1,4: 59:[75, 60] Operation: 38+22=60 Moving to Node #0,4 Current State: 59:[11, 75, 76], Operations: ['38*2=76'] Exploring Operation: 76-75=1, Resulting Numbers: [11, 1] Generated Node #0,4,0: 59:[11, 1] Operation: 76-75=1 Exploring Operation: 76-11=65, Resulting Numbers: [75, 65] Generated Node #0,4,1: 59:[75, 65] Operation: 76-11=65 Exploring Operation: 11+75=86, Resulting Numbers: [76, 86] Generated Node #0,4,2: 59:[76, 86] Operation: 11+75=86 Exploring Operation: 75-11=64, Resulting Numbers: [76, 64] Generated Node #0,4,3: 59:[76, 64] Operation: 75-11=64 Exploring Operation: 11+76=87, Resulting Numbers: [75, 87] Generated Node #0,4,4: 59:[75, 87] Operation: 11+76=87 Moving to Node #0,0 Current State: 59:[11, 75, 40], Operations: ['38+2=40'] Exploring Operation: 75-11=64, Resulting Numbers: [40, 64] Generated Node #0,0,0: 59:[40, 64] Operation: 75-11=64 Exploring Operation: 40-11=29, Resulting Numbers: [75, 29] Generated Node #0,0,1: 59:[75, 29] Operation: 40-11=29 Exploring Operation: 11+75=86, Resulting Numbers: [40, 86] Generated Node #0,0,2: 59:[40, 86] Operation: 11+75=86 Exploring Operation: 11+40=51, Resulting Numbers: [75, 51] Generated Node #0,0,3: 59:[75, 51] Operation: 11+40=51 Exploring Operation: 75-40=35, Resulting Numbers: [11, 35] Generated Node #0,0,4: 59:[11, 35] Operation: 75-40=35 Moving to Node #0,2 Current State: 59:[38, 2, 64], Operations: ['75-11=64'] Exploring Operation: 38-2=36, Resulting Numbers: [64, 36] Generated Node #0,2,0: 59:[64, 36] Operation: 38-2=36 Exploring Operation: 2+64=66, Resulting Numbers: [38, 66] Generated Node #0,2,1: 59:[38, 66] Operation: 2+64=66 Exploring Operation: 38*2=76, Resulting Numbers: [64, 76] Generated Node #0,2,2: 59:[64, 76] Operation: 38*2=76 Exploring Operation: 38+2=40, Resulting Numbers: [64, 40] Generated Node #0,2,3: 59:[64, 40] Operation: 38+2=40 Exploring Operation: 64-2=62, Resulting Numbers: [38, 62] Generated Node #0,2,4: 59:[38, 62] Operation: 64-2=62 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[64, 76], Operations: ['75-11=64', '38*2=76'] Exploring Operation: 76-64=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 64+76=140, Resulting Numbers: [140] 140,59 unequal: No Solution Exploring Operation: 64*76=4864, Resulting Numbers: [4864] 4864,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,3 Current State: 59:[64, 40], Operations: ['75-11=64', '38+2=40'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 64+40=104, Resulting Numbers: [104] 104,59 unequal: No Solution Exploring Operation: 64*40=2560, Resulting Numbers: [2560] 2560,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,4 Current State: 59:[38, 62], Operations: ['75-11=64', '64-2=62'] Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,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,0 Current State: 59:[64, 36], Operations: ['75-11=64', '38-2=36'] Exploring Operation: 64*36=2304, Resulting Numbers: [2304] 2304,59 unequal: No Solution Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 64+36=100, Resulting Numbers: [100] 100,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,1 Current State: 59:[38, 66], Operations: ['75-11=64', '2+64=66'] Exploring Operation: 38+66=104, Resulting Numbers: [104] 104,59 unequal: No Solution Exploring Operation: 66-38=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 38*66=2508, Resulting Numbers: [2508] 2508,59 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: 59:[75, 2, 49], Operations: ['38+11=49'] Exploring Operation: 49-2=47, Resulting Numbers: [75, 47] Generated Node #0,3,0: 59:[75, 47] Operation: 49-2=47 Exploring Operation: 75-2=73, Resulting Numbers: [49, 73] Generated Node #0,3,1: 59:[49, 73] Operation: 75-2=73 Exploring Operation: 75+2=77, Resulting Numbers: [49, 77] Generated Node #0,3,2: 59:[49, 77] Operation: 75+2=77 Exploring Operation: 2*49=98, Resulting Numbers: [75, 98] Generated Node #0,3,3: 59:[75, 98] Operation: 2*49=98 Exploring Operation: 2+49=51, Resulting Numbers: [75, 51] Generated Node #0,3,4: 59:[75, 51] Operation: 2+49=51 Moving to Node #0,1,4 Current State: 59:[75, 60], Operations: ['11*2=22', '38+22=60'] Exploring Operation: 75-60=15, Resulting Numbers: [15] 15,59 unequal: No Solution Exploring Operation: 75*60=4500, Resulting Numbers: [4500] 4500,59 unequal: No Solution Exploring Operation: 75+60=135, Resulting Numbers: [135] 135,59 unequal: No Solution Moving to Node #0,4,1 Current State: 59:[75, 65], Operations: ['38*2=76', '76-11=65'] Exploring Operation: 75+65=140, Resulting Numbers: [140] 140,59 unequal: No Solution Exploring Operation: 75-65=10, Resulting Numbers: [10] 10,59 unequal: No Solution Exploring Operation: 75*65=4875, Resulting Numbers: [4875] 4875,59 unequal: No Solution Moving to Node #0,4,3 Current State: 59:[76, 64], Operations: ['38*2=76', '75-11=64'] Exploring Operation: 76+64=140, Resulting Numbers: [140] 140,59 unequal: No Solution Exploring Operation: 76-64=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 76*64=4864, Resulting Numbers: [4864] 4864,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[75, 51], Operations: ['38+2=40', '11+40=51'] Exploring Operation: 75*51=3825, Resulting Numbers: [3825] 3825,59 unequal: No Solution Exploring Operation: 75-51=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 75+51=126, Resulting Numbers: [126] 126,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[40, 64], Operations: ['38+2=40', '75-11=64'] Exploring Operation: 40+64=104, Resulting Numbers: [104] 104,59 unequal: No Solution Exploring Operation: 40*64=2560, Resulting Numbers: [2560] 2560,59 unequal: No Solution Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[49, 73], Operations: ['38+11=49', '75-2=73'] Exploring Operation: 49*73=3577, Resulting Numbers: [3577] 3577,59 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 49+73=122, Resulting Numbers: [122] 122,59 unequal: No Solution Moving to Node #0,3,4 Current State: 59:[75, 51], Operations: ['38+11=49', '2+49=51'] Exploring Operation: 75-51=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 75+51=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 75*51=3825, Resulting Numbers: [3825] 3825,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[38, 53], Operations: ['11*2=22', '75-22=53'] Exploring Operation: 38*53=2014, Resulting Numbers: [2014] 2014,59 unequal: No Solution Exploring Operation: 38+53=91, Resulting Numbers: [91] 91,59 unequal: No Solution Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[49, 77], Operations: ['38+11=49', '75+2=77'] Exploring Operation: 77-49=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 49*77=3773, Resulting Numbers: [3773] 3773,59 unequal: No Solution Exploring Operation: 49+77=126, Resulting Numbers: [126] 126,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[75, 47], Operations: ['38+11=49', '49-2=47'] Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 75*47=3525, Resulting Numbers: [3525] 3525,59 unequal: No Solution Exploring Operation: 75+47=122, Resulting Numbers: [122] 122,59 unequal: No Solution Moving to Node #0,4,4 Current State: 59:[75, 87], Operations: ['38*2=76', '11+76=87'] Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 75+87=162, Resulting Numbers: [162] 162,59 unequal: No Solution Exploring Operation: 75*87=6525, Resulting Numbers: [6525] 6525,59 unequal: No Solution Moving to Node #0,4,2 Current State: 59:[76, 86], Operations: ['38*2=76', '11+75=86'] Exploring Operation: 86-76=10, Resulting Numbers: [10] 10,59 unequal: No Solution Exploring Operation: 76*86=6536, Resulting Numbers: [6536] 6536,59 unequal: No Solution Exploring Operation: 76+86=162, Resulting Numbers: [162] 162,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[40, 86], Operations: ['38+2=40', '11+75=86'] Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 40+86=126, Resulting Numbers: [126] 126,59 unequal: No Solution Exploring Operation: 40*86=3440, Resulting Numbers: [3440] 3440,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[75, 29], Operations: ['38+2=40', '40-11=29'] Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 75*29=2175, Resulting Numbers: [2175] 2175,59 unequal: No Solution Exploring Operation: 75+29=104, Resulting Numbers: [104] 104,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[75, 98], Operations: ['38+11=49', '2*49=98'] Exploring Operation: 98-75=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 75*98=7350, Resulting Numbers: [7350] 7350,59 unequal: No Solution Exploring Operation: 75+98=173, Resulting Numbers: [173] 173,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[38, 97], Operations: ['11*2=22', '75+22=97'] Exploring Operation: 38*97=3686, Resulting Numbers: [3686] 3686,59 unequal: No Solution Exploring Operation: 38+97=135, Resulting Numbers: [135] 135,59 unequal: No Solution Exploring Operation: 97-38=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[38, 11, 75, 2], Operations: [] Exploring Operation: 11*2=22, Resulting Numbers: [38, 75, 22] Generated Node #0,1: 59:[38, 75, 22] Operation: 11*2=22 Moving to Node #0,1 Current State: 59:[38, 75, 22], Operations: ['11*2=22'] Exploring Operation: 75+22=97, Resulting Numbers: [38, 97] Generated Node #0,1,3: 59:[38, 97] Operation: 75+22=97 Moving to Node #0,1,3 Current State: 59:[38, 97], Operations: ['11*2=22', '75+22=97'] Exploring Operation: 97-38=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.915799
hs_5
mult_heuristic
[ 21, 22, 9, 55 ]
63
[ "22-21=1", "9+55=64", "64-1=63" ]
Current State: 63:[21, 22, 9, 55], Operations: [] Exploring Operation: 22-21=1, Resulting Numbers: [9, 55, 1] Generated Node #2: [9, 55, 1] from Operation: 22-21=1 Current State: 63:[9, 55, 1], Operations: ['22-21=1'] Exploring Operation: 9+55=64, Resulting Numbers: [1, 64] Generated Node #3: [1, 64] from Operation: 9+55=64 Current State: 63:[1, 64], Operations: ['22-21=1', '9+55=64'] Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[21, 22, 9, 55], Operations: [] Exploring Operation: 55-22=33, Resulting Numbers: [21, 9, 33] Generated Node #0,0: 63:[21, 9, 33] Operation: 55-22=33 Exploring Operation: 21-9=12, Resulting Numbers: [22, 55, 12] Generated Node #0,1: 63:[22, 55, 12] Operation: 21-9=12 Exploring Operation: 22-9=13, Resulting Numbers: [21, 55, 13] Generated Node #0,2: 63:[21, 55, 13] Operation: 22-9=13 Exploring Operation: 22-21=1, Resulting Numbers: [9, 55, 1] Generated Node #0,3: 63:[9, 55, 1] Operation: 22-21=1 Exploring Operation: 9+55=64, Resulting Numbers: [21, 22, 64] Generated Node #0,4: 63:[21, 22, 64] Operation: 9+55=64 Start Sub Search at level 1: Moving to Node #0,4 Current State: 63:[21, 22, 64], Operations: ['9+55=64'] Exploring Operation: 22-21=1, Resulting Numbers: [64, 1] Generated Node #0,4,0: 63:[64, 1] Operation: 22-21=1 Exploring Operation: 64-21=43, Resulting Numbers: [22, 43] Generated Node #0,4,1: 63:[22, 43] Operation: 64-21=43 Exploring Operation: 21+64=85, Resulting Numbers: [22, 85] Generated Node #0,4,2: 63:[22, 85] Operation: 21+64=85 Exploring Operation: 64-22=42, Resulting Numbers: [21, 42] Generated Node #0,4,3: 63:[21, 42] Operation: 64-22=42 Exploring Operation: 21+22=43, Resulting Numbers: [64, 43] Generated Node #0,4,4: 63:[64, 43] Operation: 21+22=43 Moving to Node #0,4,0 Current State: 63:[64, 1], Operations: ['9+55=64', '22-21=1'] Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[21, 22, 9, 55], Operations: [] Exploring Operation: 9+55=64, Resulting Numbers: [21, 22, 64] Generated Node #0,4: 63:[21, 22, 64] Operation: 9+55=64 Moving to Node #0,4 Current State: 63:[21, 22, 64], Operations: ['9+55=64'] Exploring Operation: 22-21=1, Resulting Numbers: [64, 1] Generated Node #0,4,0: 63:[64, 1] Operation: 22-21=1 Moving to Node #0,4,0 Current State: 63:[64, 1], Operations: ['9+55=64', '22-21=1'] Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 49, 4, 59, 9 ]
36
[ "49+59=108", "108/4=27", "9+27=36" ]
Current State: 36:[49, 4, 59, 9], Operations: [] Exploring Operation: 49+59=108, Resulting Numbers: [4, 9, 108] Generated Node #2: [4, 9, 108] from Operation: 49+59=108 Current State: 36:[4, 9, 108], Operations: ['49+59=108'] Exploring Operation: 108/4=27, Resulting Numbers: [9, 27] Generated Node #3: [9, 27] from Operation: 108/4=27 Current State: 36:[9, 27], Operations: ['49+59=108', '108/4=27'] Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[49, 4, 59, 9], Operations: [] Exploring Operation: 49-9=40, Resulting Numbers: [4, 59, 40] Generated Node #0,0: 36:[4, 59, 40] Operation: 49-9=40 Exploring Operation: 59-49=10, Resulting Numbers: [4, 9, 10] Generated Node #0,1: 36:[4, 9, 10] Operation: 59-49=10 Exploring Operation: 59-9=50, Resulting Numbers: [49, 4, 50] Generated Node #0,2: 36:[49, 4, 50] Operation: 59-9=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[4, 9, 10], Operations: ['59-49=10'] Exploring Operation: 9+10=19, Resulting Numbers: [4, 19] Generated Node #0,1,0: 36:[4, 19] Operation: 9+10=19 Exploring Operation: 10-4=6, Resulting Numbers: [9, 6] Generated Node #0,1,1: 36:[9, 6] Operation: 10-4=6 Exploring Operation: 4*9=36, Resulting Numbers: [10, 36] Generated Node #0,1,2: 36:[10, 36] Operation: 4*9=36 Moving to Node #0,1,1 Current State: 36:[9, 6], Operations: ['59-49=10', '10-4=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[4, 19], Operations: ['59-49=10', '9+10=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,36 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,36 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[10, 36], Operations: ['59-49=10', '4*9=36'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,36 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,36 unequal: No Solution No 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: 36:[4, 59, 40], Operations: ['49-9=40'] Exploring Operation: 40-4=36, Resulting Numbers: [59, 36] Generated Node #0,0,0: 36:[59, 36] Operation: 40-4=36 Exploring Operation: 59-4=55, Resulting Numbers: [40, 55] Generated Node #0,0,1: 36:[40, 55] Operation: 59-4=55 Exploring Operation: 59-40=19, Resulting Numbers: [4, 19] Generated Node #0,0,2: 36:[4, 19] Operation: 59-40=19 Moving to Node #0,0,2 Current State: 36:[4, 19], Operations: ['49-9=40', '59-40=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,36 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[59, 36], Operations: ['49-9=40', '40-4=36'] Exploring Operation: 59+36=95, Resulting Numbers: [95] 95,36 unequal: No Solution Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 59*36=2124, Resulting Numbers: [2124] 2124,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[40, 55], Operations: ['49-9=40', '59-4=55'] Exploring Operation: 40+55=95, Resulting Numbers: [95] 95,36 unequal: No Solution Exploring Operation: 40*55=2200, Resulting Numbers: [2200] 2200,36 unequal: No Solution Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,36 unequal: No Solution No 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: 36:[49, 4, 50], Operations: ['59-9=50'] Exploring Operation: 50-4=46, Resulting Numbers: [49, 46] Generated Node #0,2,0: 36:[49, 46] Operation: 50-4=46 Exploring Operation: 50-49=1, Resulting Numbers: [4, 1] Generated Node #0,2,1: 36:[4, 1] Operation: 50-49=1 Exploring Operation: 49-4=45, Resulting Numbers: [50, 45] Generated Node #0,2,2: 36:[50, 45] Operation: 49-4=45 Moving to Node #0,2,1 Current State: 36:[4, 1], Operations: ['59-9=50', '50-49=1'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[49, 46], Operations: ['59-9=50', '50-4=46'] Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,36 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[50, 45], Operations: ['59-9=50', '49-4=45'] Exploring Operation: 50*45=2250, Resulting Numbers: [2250] 2250,36 unequal: No Solution Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 50+45=95, Resulting Numbers: [95] 95,36 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
[ 13, 21, 12, 69 ]
90
[ "13-12=1", "21+69=90", "1*90=90" ]
Current State: 90:[13, 21, 12, 69], Operations: [] Exploring Operation: 13-12=1, Resulting Numbers: [21, 69, 1] Generated Node #2: [21, 69, 1] from Operation: 13-12=1 Current State: 90:[21, 69, 1], Operations: ['13-12=1'] Exploring Operation: 21+69=90, Resulting Numbers: [1, 90] Generated Node #3: [1, 90] from Operation: 21+69=90 Current State: 90:[1, 90], Operations: ['13-12=1', '21+69=90'] Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[13, 21, 12, 69], Operations: [] Exploring Operation: 13+69=82, Resulting Numbers: [21, 12, 82] Generated Node #0,0: 90:[21, 12, 82] Operation: 13+69=82 Exploring Operation: 21+69=90, Resulting Numbers: [13, 12, 90] Generated Node #0,1: 90:[13, 12, 90] Operation: 21+69=90 Exploring Operation: 69-21=48, Resulting Numbers: [13, 12, 48] Generated Node #0,2: 90:[13, 12, 48] Operation: 69-21=48 Exploring Operation: 12+69=81, Resulting Numbers: [13, 21, 81] Generated Node #0,3: 90:[13, 21, 81] Operation: 12+69=81 Exploring Operation: 69-13=56, Resulting Numbers: [21, 12, 56] Generated Node #0,4: 90:[21, 12, 56] Operation: 69-13=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[13, 12, 90], Operations: ['21+69=90'] Exploring Operation: 12+90=102, Resulting Numbers: [13, 102] Generated Node #0,1,0: 90:[13, 102] Operation: 12+90=102 Exploring Operation: 90-12=78, Resulting Numbers: [13, 78] Generated Node #0,1,1: 90:[13, 78] Operation: 90-12=78 Exploring Operation: 13+90=103, Resulting Numbers: [12, 103] Generated Node #0,1,2: 90:[12, 103] Operation: 13+90=103 Exploring Operation: 13+12=25, Resulting Numbers: [90, 25] Generated Node #0,1,3: 90:[90, 25] Operation: 13+12=25 Exploring Operation: 13-12=1, Resulting Numbers: [90, 1] Generated Node #0,1,4: 90:[90, 1] Operation: 13-12=1 Moving to Node #0,1,4 Current State: 90:[90, 1], Operations: ['21+69=90', '13-12=1'] Exploring Operation: 90*1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[13, 21, 12, 69], Operations: [] Exploring Operation: 21+69=90, Resulting Numbers: [13, 12, 90] Generated Node #0,1: 90:[13, 12, 90] Operation: 21+69=90 Moving to Node #0,1 Current State: 90:[13, 12, 90], Operations: ['21+69=90'] Exploring Operation: 13-12=1, Resulting Numbers: [90, 1] Generated Node #0,1,4: 90:[90, 1] Operation: 13-12=1 Moving to Node #0,1,4 Current State: 90:[90, 1], Operations: ['21+69=90', '13-12=1'] Exploring Operation: 90*1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 73, 76, 71, 38 ]
43
[ "76-73=3", "38*3=114", "114-71=43" ]
Current State: 43:[73, 76, 71, 38], Operations: [] Exploring Operation: 76-73=3, Resulting Numbers: [71, 38, 3] Generated Node #2: [71, 38, 3] from Operation: 76-73=3 Current State: 43:[71, 38, 3], Operations: ['76-73=3'] Exploring Operation: 38*3=114, Resulting Numbers: [71, 114] Generated Node #3: [71, 114] from Operation: 38*3=114 Current State: 43:[71, 114], Operations: ['76-73=3', '38*3=114'] Exploring Operation: 114-71=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[73, 76, 71, 38], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [76, 71, 35] Generated Node #0,0: 43:[76, 71, 35] Operation: 73-38=35 Exploring Operation: 76-38=38, Resulting Numbers: [73, 71, 38] Generated Node #0,1: 43:[73, 71, 38] Operation: 76-38=38 Exploring Operation: 76-73=3, Resulting Numbers: [71, 38, 3] Generated Node #0,2: 43:[71, 38, 3] Operation: 76-73=3 Moving to Node #0,1 Current State: 43:[73, 71, 38], Operations: ['76-38=38'] Exploring Operation: 73-71=2, Resulting Numbers: [38, 2] Generated Node #0,1,0: 43:[38, 2] Operation: 73-71=2 Exploring Operation: 71-38=33, Resulting Numbers: [73, 33] Generated Node #0,1,1: 43:[73, 33] Operation: 71-38=33 Exploring Operation: 73-38=35, Resulting Numbers: [71, 35] Generated Node #0,1,2: 43:[71, 35] Operation: 73-38=35 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 43:[71, 35], Operations: ['76-38=38', '73-38=35'] Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,43 unequal: No Solution Exploring Operation: 71*35=2485, Resulting Numbers: [2485] 2485,43 unequal: No Solution Exploring Operation: 71+35=106, Resulting Numbers: [106] 106,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:[73, 33], Operations: ['76-38=38', '71-38=33'] Exploring Operation: 73+33=106, Resulting Numbers: [106] 106,43 unequal: No Solution Exploring Operation: 73*33=2409, Resulting Numbers: [2409] 2409,43 unequal: No Solution Exploring Operation: 73-33=40, Resulting Numbers: [40] 40,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:[38, 2], Operations: ['76-38=38', '73-71=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,43 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,43 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,43 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: 43:[76, 71, 35], Operations: ['73-38=35'] Exploring Operation: 76-71=5, Resulting Numbers: [35, 5] Generated Node #0,0,0: 43:[35, 5] Operation: 76-71=5 Exploring Operation: 71-35=36, Resulting Numbers: [76, 36] Generated Node #0,0,1: 43:[76, 36] Operation: 71-35=36 Exploring Operation: 76-35=41, Resulting Numbers: [71, 41] Generated Node #0,0,2: 43:[71, 41] Operation: 76-35=41 Moving to Node #0,2 Current State: 43:[71, 38, 3], Operations: ['76-73=3'] Exploring Operation: 38+3=41, Resulting Numbers: [71, 41] Generated Node #0,2,0: 43:[71, 41] Operation: 38+3=41 Exploring Operation: 71+3=74, Resulting Numbers: [38, 74] Generated Node #0,2,1: 43:[38, 74] Operation: 71+3=74 Exploring Operation: 71-3=68, Resulting Numbers: [38, 68] Generated Node #0,2,2: 43:[38, 68] Operation: 71-3=68 Moving to Node #0,0,2 Current State: 43:[71, 41], Operations: ['73-38=35', '76-35=41'] Exploring Operation: 71*41=2911, Resulting Numbers: [2911] 2911,43 unequal: No Solution Exploring Operation: 71+41=112, Resulting Numbers: [112] 112,43 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[71, 41], Operations: ['76-73=3', '38+3=41'] Exploring Operation: 71*41=2911, Resulting Numbers: [2911] 2911,43 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,43 unequal: No Solution Exploring Operation: 71+41=112, Resulting Numbers: [112] 112,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[38, 68], Operations: ['76-73=3', '71-3=68'] Exploring Operation: 38*68=2584, Resulting Numbers: [2584] 2584,43 unequal: No Solution Exploring Operation: 38+68=106, Resulting Numbers: [106] 106,43 unequal: No Solution Exploring Operation: 68-38=30, Resulting Numbers: [30] 30,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[38, 74], Operations: ['76-73=3', '71+3=74'] Exploring Operation: 38+74=112, Resulting Numbers: [112] 112,43 unequal: No Solution Exploring Operation: 38*74=2812, Resulting Numbers: [2812] 2812,43 unequal: No Solution Exploring Operation: 74-38=36, Resulting Numbers: [36] 36,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[76, 36], Operations: ['73-38=35', '71-35=36'] Exploring Operation: 76-36=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 76*36=2736, Resulting Numbers: [2736] 2736,43 unequal: No Solution Exploring Operation: 76+36=112, Resulting Numbers: [112] 112,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[35, 5], Operations: ['73-38=35', '76-71=5'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,43 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,43 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,43 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 13, 21, 25, 2 ]
21
[ "21-13=8", "8/2=4", "25-4=21" ]
Current State: 21:[13, 21, 25, 2], Operations: [] Exploring Operation: 21-13=8, Resulting Numbers: [25, 2, 8] Generated Node #2: [25, 2, 8] from Operation: 21-13=8 Current State: 21:[25, 2, 8], Operations: ['21-13=8'] Exploring Operation: 8/2=4, Resulting Numbers: [25, 4] Generated Node #3: [25, 4] from Operation: 8/2=4 Current State: 21:[25, 4], Operations: ['21-13=8', '8/2=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[13, 21, 25, 2], Operations: [] Exploring Operation: 25-21=4, Resulting Numbers: [13, 2, 4] Generated Node #0,0: 21:[13, 2, 4] Operation: 25-21=4 Exploring Operation: 21-13=8, Resulting Numbers: [25, 2, 8] Generated Node #0,1: 21:[25, 2, 8] Operation: 21-13=8 Exploring Operation: 25-13=12, Resulting Numbers: [21, 2, 12] Generated Node #0,2: 21:[21, 2, 12] Operation: 25-13=12 Exploring Operation: 25-2=23, Resulting Numbers: [13, 21, 23] Generated Node #0,3: 21:[13, 21, 23] Operation: 25-2=23 Exploring Operation: 13-2=11, Resulting Numbers: [21, 25, 11] Generated Node #0,4: 21:[21, 25, 11] Operation: 13-2=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[25, 2, 8], Operations: ['21-13=8'] Exploring Operation: 25-8=17, Resulting Numbers: [2, 17] Generated Node #0,1,0: 21:[2, 17] Operation: 25-8=17 Exploring Operation: 25+2=27, Resulting Numbers: [8, 27] Generated Node #0,1,1: 21:[8, 27] Operation: 25+2=27 Exploring Operation: 8-2=6, Resulting Numbers: [25, 6] Generated Node #0,1,2: 21:[25, 6] Operation: 8-2=6 Exploring Operation: 8/2=4, Resulting Numbers: [25, 4] Generated Node #0,1,3: 21:[25, 4] Operation: 8/2=4 Exploring Operation: 25-2=23, Resulting Numbers: [8, 23] Generated Node #0,1,4: 21:[8, 23] Operation: 25-2=23 Moving to Node #0,1,4 Current State: 21:[8, 23], Operations: ['21-13=8', '25-2=23'] Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,21 unequal: No Solution Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,21 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[25, 6], Operations: ['21-13=8', '8-2=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,21 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[2, 17], Operations: ['21-13=8', '25-8=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[25, 4], Operations: ['21-13=8', '8/2=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[13, 21, 25, 2], Operations: [] Exploring Operation: 21-13=8, Resulting Numbers: [25, 2, 8] Generated Node #0,1: 21:[25, 2, 8] Operation: 21-13=8 Moving to Node #0,1 Current State: 21:[25, 2, 8], Operations: ['21-13=8'] Exploring Operation: 8/2=4, Resulting Numbers: [25, 4] Generated Node #0,1,3: 21:[25, 4] Operation: 8/2=4 Moving to Node #0,1,3 Current State: 21:[25, 4], Operations: ['21-13=8', '8/2=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 15, 13, 83, 22 ]
91
[ "83+22=105", "105/15=7", "13*7=91" ]
Current State: 91:[15, 13, 83, 22], Operations: [] Exploring Operation: 83+22=105, Resulting Numbers: [15, 13, 105] Generated Node #2: [15, 13, 105] from Operation: 83+22=105 Current State: 91:[15, 13, 105], Operations: ['83+22=105'] Exploring Operation: 105/15=7, Resulting Numbers: [13, 7] Generated Node #3: [13, 7] from Operation: 105/15=7 Current State: 91:[13, 7], Operations: ['83+22=105', '105/15=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[15, 13, 83, 22], Operations: [] Exploring Operation: 83+22=105, Resulting Numbers: [15, 13, 105] Generated Node #0,0: 91:[15, 13, 105] Operation: 83+22=105 Exploring Operation: 22-13=9, Resulting Numbers: [15, 83, 9] Generated Node #0,1: 91:[15, 83, 9] Operation: 22-13=9 Exploring Operation: 13+83=96, Resulting Numbers: [15, 22, 96] Generated Node #0,2: 91:[15, 22, 96] Operation: 13+83=96 Exploring Operation: 15+83=98, Resulting Numbers: [13, 22, 98] Generated Node #0,3: 91:[13, 22, 98] Operation: 15+83=98 Exploring Operation: 22-15=7, Resulting Numbers: [13, 83, 7] Generated Node #0,4: 91:[13, 83, 7] Operation: 22-15=7 Moving to Node #0,4 Current State: 91:[13, 83, 7], Operations: ['22-15=7'] Exploring Operation: 13+7=20, Resulting Numbers: [83, 20] Generated Node #0,4,0: 91:[83, 20] Operation: 13+7=20 Exploring Operation: 13+83=96, Resulting Numbers: [7, 96] Generated Node #0,4,1: 91:[7, 96] Operation: 13+83=96 Exploring Operation: 13*7=91, Resulting Numbers: [83, 91] Generated Node #0,4,2: 91:[83, 91] Operation: 13*7=91 Exploring Operation: 83+7=90, Resulting Numbers: [13, 90] Generated Node #0,4,3: 91:[13, 90] Operation: 83+7=90 Exploring Operation: 13-7=6, Resulting Numbers: [83, 6] Generated Node #0,4,4: 91:[83, 6] Operation: 13-7=6 Moving to Node #0,1 Current State: 91:[15, 83, 9], Operations: ['22-13=9'] Exploring Operation: 15+83=98, Resulting Numbers: [9, 98] Generated Node #0,1,0: 91:[9, 98] Operation: 15+83=98 Exploring Operation: 83+9=92, Resulting Numbers: [15, 92] Generated Node #0,1,1: 91:[15, 92] Operation: 83+9=92 Exploring Operation: 15+9=24, Resulting Numbers: [83, 24] Generated Node #0,1,2: 91:[83, 24] Operation: 15+9=24 Exploring Operation: 15-9=6, Resulting Numbers: [83, 6] Generated Node #0,1,3: 91:[83, 6] Operation: 15-9=6 Exploring Operation: 83-9=74, Resulting Numbers: [15, 74] Generated Node #0,1,4: 91:[15, 74] Operation: 83-9=74 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[15, 92], Operations: ['22-13=9', '83+9=92'] Exploring Operation: 92-15=77, Resulting Numbers: [77] 77,91 unequal: No Solution Exploring Operation: 15*92=1380, Resulting Numbers: [1380] 1380,91 unequal: No Solution Exploring Operation: 15+92=107, Resulting Numbers: [107] 107,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[9, 98], Operations: ['22-13=9', '15+83=98'] Exploring Operation: 9*98=882, Resulting Numbers: [882] 882,91 unequal: No Solution Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 9+98=107, Resulting Numbers: [107] 107,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 91:[83, 6], Operations: ['22-13=9', '15-9=6'] Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,91 unequal: No Solution Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 83*6=498, Resulting Numbers: [498] 498,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[83, 24], Operations: ['22-13=9', '15+9=24'] Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,91 unequal: No Solution Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,91 unequal: No Solution Exploring Operation: 83*24=1992, Resulting Numbers: [1992] 1992,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 91:[15, 74], Operations: ['22-13=9', '83-9=74'] Exploring Operation: 15*74=1110, Resulting Numbers: [1110] 1110,91 unequal: No Solution Exploring Operation: 15+74=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,91 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: 91:[15, 13, 105], Operations: ['83+22=105'] Exploring Operation: 105/15=7, Resulting Numbers: [13, 7] Generated Node #0,0,0: 91:[13, 7] Operation: 105/15=7 Exploring Operation: 105-13=92, Resulting Numbers: [15, 92] Generated Node #0,0,1: 91:[15, 92] Operation: 105-13=92 Exploring Operation: 15-13=2, Resulting Numbers: [105, 2] Generated Node #0,0,2: 91:[105, 2] Operation: 15-13=2 Exploring Operation: 15+13=28, Resulting Numbers: [105, 28] Generated Node #0,0,3: 91:[105, 28] Operation: 15+13=28 Exploring Operation: 105-15=90, Resulting Numbers: [13, 90] Generated Node #0,0,4: 91:[13, 90] Operation: 105-15=90 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[13, 7], Operations: ['83+22=105', '105/15=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[15, 13, 83, 22], Operations: [] Exploring Operation: 83+22=105, Resulting Numbers: [15, 13, 105] Generated Node #0,0: 91:[15, 13, 105] Operation: 83+22=105 Moving to Node #0,0 Current State: 91:[15, 13, 105], Operations: ['83+22=105'] Exploring Operation: 105/15=7, Resulting Numbers: [13, 7] Generated Node #0,0,0: 91:[13, 7] Operation: 105/15=7 Moving to Node #0,0,0 Current State: 91:[13, 7], Operations: ['83+22=105', '105/15=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 20, 29, 60, 25 ]
41
[ "25-20=5", "60/5=12", "29+12=41" ]
Current State: 41:[20, 29, 60, 25], Operations: [] Exploring Operation: 25-20=5, Resulting Numbers: [29, 60, 5] Generated Node #2: [29, 60, 5] from Operation: 25-20=5 Current State: 41:[29, 60, 5], Operations: ['25-20=5'] Exploring Operation: 60/5=12, Resulting Numbers: [29, 12] Generated Node #3: [29, 12] from Operation: 60/5=12 Current State: 41:[29, 12], Operations: ['25-20=5', '60/5=12'] Exploring Operation: 29+12=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[20, 29, 60, 25], Operations: [] Exploring Operation: 60-20=40, Resulting Numbers: [29, 25, 40] Generated Node #0,0: 41:[29, 25, 40] Operation: 60-20=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[29, 25, 40], Operations: ['60-20=40'] Exploring Operation: 29+25=54, Resulting Numbers: [40, 54] Generated Node #0,0,0: 41:[40, 54] Operation: 29+25=54 Moving to Node #0,0,0 Current State: 41:[40, 54], Operations: ['60-20=40', '29+25=54'] Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,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
[ 50, 8, 7, 63 ]
67
[ "50+8=58", "63/7=9", "58+9=67" ]
Current State: 67:[50, 8, 7, 63], Operations: [] Exploring Operation: 50+8=58, Resulting Numbers: [7, 63, 58] Generated Node #2: [7, 63, 58] from Operation: 50+8=58 Current State: 67:[7, 63, 58], Operations: ['50+8=58'] Exploring Operation: 63/7=9, Resulting Numbers: [58, 9] Generated Node #3: [58, 9] from Operation: 63/7=9 Current State: 67:[58, 9], Operations: ['50+8=58', '63/7=9'] Exploring Operation: 58+9=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[50, 8, 7, 63], Operations: [] Exploring Operation: 8*7=56, Resulting Numbers: [50, 63, 56] Generated Node #0,0: 67:[50, 63, 56] Operation: 8*7=56 Exploring Operation: 50+8=58, Resulting Numbers: [7, 63, 58] Generated Node #0,1: 67:[7, 63, 58] Operation: 50+8=58 Exploring Operation: 50+7=57, Resulting Numbers: [8, 63, 57] Generated Node #0,2: 67:[8, 63, 57] Operation: 50+7=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[50, 63, 56], Operations: ['8*7=56'] Exploring Operation: 63-50=13, Resulting Numbers: [56, 13] Generated Node #0,0,0: 67:[56, 13] Operation: 63-50=13 Exploring Operation: 50+63=113, Resulting Numbers: [56, 113] Generated Node #0,0,1: 67:[56, 113] Operation: 50+63=113 Exploring Operation: 50+56=106, Resulting Numbers: [63, 106] Generated Node #0,0,2: 67:[63, 106] Operation: 50+56=106 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[63, 106], Operations: ['8*7=56', '50+56=106'] Exploring Operation: 106-63=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 63*106=6678, Resulting Numbers: [6678] 6678,67 unequal: No Solution Exploring Operation: 63+106=169, Resulting Numbers: [169] 169,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[56, 113], Operations: ['8*7=56', '50+63=113'] Exploring Operation: 113-56=57, Resulting Numbers: [57] 57,67 unequal: No Solution Exploring Operation: 56*113=6328, Resulting Numbers: [6328] 6328,67 unequal: No Solution Exploring Operation: 56+113=169, Resulting Numbers: [169] 169,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[56, 13], Operations: ['8*7=56', '63-50=13'] Exploring Operation: 56*13=728, Resulting Numbers: [728] 728,67 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[7, 63, 58], Operations: ['50+8=58'] Exploring Operation: 63-7=56, Resulting Numbers: [58, 56] Generated Node #0,1,0: 67:[58, 56] Operation: 63-7=56 Exploring Operation: 7+58=65, Resulting Numbers: [63, 65] Generated Node #0,1,1: 67:[63, 65] Operation: 7+58=65 Exploring Operation: 7+63=70, Resulting Numbers: [58, 70] Generated Node #0,1,2: 67:[58, 70] Operation: 7+63=70 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[63, 65], Operations: ['50+8=58', '7+58=65'] Exploring Operation: 65-63=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 63+65=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 63*65=4095, Resulting Numbers: [4095] 4095,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[58, 70], Operations: ['50+8=58', '7+63=70'] Exploring Operation: 58*70=4060, Resulting Numbers: [4060] 4060,67 unequal: No Solution Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,67 unequal: No Solution Exploring Operation: 58+70=128, Resulting Numbers: [128] 128,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[58, 56], Operations: ['50+8=58', '63-7=56'] Exploring Operation: 58-56=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 58*56=3248, Resulting Numbers: [3248] 3248,67 unequal: No Solution Exploring Operation: 58+56=114, Resulting Numbers: [114] 114,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[8, 63, 57], Operations: ['50+7=57'] Exploring Operation: 8+57=65, Resulting Numbers: [63, 65] Generated Node #0,2,0: 67:[63, 65] Operation: 8+57=65 Exploring Operation: 8+63=71, Resulting Numbers: [57, 71] Generated Node #0,2,1: 67:[57, 71] Operation: 8+63=71 Exploring Operation: 63-8=55, Resulting Numbers: [57, 55] Generated Node #0,2,2: 67:[57, 55] Operation: 63-8=55 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[63, 65], Operations: ['50+7=57', '8+57=65'] Exploring Operation: 63*65=4095, Resulting Numbers: [4095] 4095,67 unequal: No Solution Exploring Operation: 63+65=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 65-63=2, Resulting Numbers: [2] 2,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[57, 71], Operations: ['50+7=57', '8+63=71'] Exploring Operation: 57*71=4047, Resulting Numbers: [4047] 4047,67 unequal: No Solution Exploring Operation: 57+71=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 71-57=14, Resulting Numbers: [14] 14,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[57, 55], Operations: ['50+7=57', '63-8=55'] Exploring Operation: 57*55=3135, Resulting Numbers: [3135] 3135,67 unequal: No Solution Exploring Operation: 57+55=112, Resulting Numbers: [112] 112,67 unequal: No Solution Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 4, 23, 40, 98 ]
65
[ "40/4=10", "98-23=75", "75-10=65" ]
Current State: 65:[4, 23, 40, 98], Operations: [] Exploring Operation: 40/4=10, Resulting Numbers: [23, 98, 10] Generated Node #2: [23, 98, 10] from Operation: 40/4=10 Current State: 65:[23, 98, 10], Operations: ['40/4=10'] Exploring Operation: 98-23=75, Resulting Numbers: [10, 75] Generated Node #3: [10, 75] from Operation: 98-23=75 Current State: 65:[10, 75], Operations: ['40/4=10', '98-23=75'] Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[4, 23, 40, 98], Operations: [] Exploring Operation: 98-23=75, Resulting Numbers: [4, 40, 75] Generated Node #0,0: 65:[4, 40, 75] Operation: 98-23=75 Exploring Operation: 98-40=58, Resulting Numbers: [4, 23, 58] Generated Node #0,1: 65:[4, 23, 58] Operation: 98-40=58 Exploring Operation: 23+40=63, Resulting Numbers: [4, 98, 63] Generated Node #0,2: 65:[4, 98, 63] Operation: 23+40=63 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[4, 23, 58], Operations: ['98-40=58'] Exploring Operation: 23+58=81, Resulting Numbers: [4, 81] Generated Node #0,1,0: 65:[4, 81] Operation: 23+58=81 Exploring Operation: 4+58=62, Resulting Numbers: [23, 62] Generated Node #0,1,1: 65:[23, 62] Operation: 4+58=62 Exploring Operation: 23-4=19, Resulting Numbers: [58, 19] Generated Node #0,1,2: 65:[58, 19] Operation: 23-4=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[23, 62], Operations: ['98-40=58', '4+58=62'] Exploring Operation: 23*62=1426, Resulting Numbers: [1426] 1426,65 unequal: No Solution Exploring Operation: 23+62=85, Resulting Numbers: [85] 85,65 unequal: No Solution Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 65:[58, 19], Operations: ['98-40=58', '23-4=19'] Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,65 unequal: No Solution Exploring Operation: 58*19=1102, Resulting Numbers: [1102] 1102,65 unequal: No Solution Exploring Operation: 58+19=77, Resulting Numbers: [77] 77,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[4, 81], Operations: ['98-40=58', '23+58=81'] Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,65 unequal: No Solution Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 4*81=324, Resulting Numbers: [324] 324,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[4, 40, 75], Operations: ['98-23=75'] Exploring Operation: 4+40=44, Resulting Numbers: [75, 44] Generated Node #0,0,0: 65:[75, 44] Operation: 4+40=44 Exploring Operation: 75-40=35, Resulting Numbers: [4, 35] Generated Node #0,0,1: 65:[4, 35] Operation: 75-40=35 Exploring Operation: 40/4=10, Resulting Numbers: [75, 10] Generated Node #0,0,2: 65:[75, 10] Operation: 40/4=10 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 65:[75, 10], Operations: ['98-23=75', '40/4=10'] Exploring Operation: 75+10=85, Resulting Numbers: [85] 85,65 unequal: No Solution Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[4, 23, 40, 98], Operations: [] Exploring Operation: 98-23=75, Resulting Numbers: [4, 40, 75] Generated Node #0,0: 65:[4, 40, 75] Operation: 98-23=75 Moving to Node #0,0 Current State: 65:[4, 40, 75], Operations: ['98-23=75'] Exploring Operation: 40/4=10, Resulting Numbers: [75, 10] Generated Node #0,0,2: 65:[75, 10] Operation: 40/4=10 Moving to Node #0,0,2 Current State: 65:[75, 10], Operations: ['98-23=75', '40/4=10'] Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 74, 70, 21, 37 ]
28
[ "74*21=1554", "1554/37=42", "70-42=28" ]
Current State: 28:[74, 70, 21, 37], Operations: [] Exploring Operation: 74*21=1554, Resulting Numbers: [70, 37, 1554] Generated Node #2: [70, 37, 1554] from Operation: 74*21=1554 Current State: 28:[70, 37, 1554], Operations: ['74*21=1554'] Exploring Operation: 1554/37=42, Resulting Numbers: [70, 42] Generated Node #3: [70, 42] from Operation: 1554/37=42 Current State: 28:[70, 42], Operations: ['74*21=1554', '1554/37=42'] Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[74, 70, 21, 37], Operations: [] Exploring Operation: 74-37=37, Resulting Numbers: [70, 21, 37] Generated Node #0,0: 28:[70, 21, 37] Operation: 74-37=37 Exploring Operation: 74-70=4, Resulting Numbers: [21, 37, 4] Generated Node #0,1: 28:[21, 37, 4] Operation: 74-70=4 Exploring Operation: 70-37=33, Resulting Numbers: [74, 21, 33] Generated Node #0,2: 28:[74, 21, 33] Operation: 70-37=33 Exploring Operation: 74/37=2, Resulting Numbers: [70, 21, 2] Generated Node #0,3: 28:[70, 21, 2] Operation: 74/37=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[21, 37, 4], Operations: ['74-70=4'] Exploring Operation: 21-4=17, Resulting Numbers: [37, 17] Generated Node #0,1,0: 28:[37, 17] Operation: 21-4=17 Exploring Operation: 21+4=25, Resulting Numbers: [37, 25] Generated Node #0,1,1: 28:[37, 25] Operation: 21+4=25 Exploring Operation: 37-4=33, Resulting Numbers: [21, 33] Generated Node #0,1,2: 28:[21, 33] Operation: 37-4=33 Exploring Operation: 37-21=16, Resulting Numbers: [4, 16] Generated Node #0,1,3: 28:[4, 16] Operation: 37-21=16 Moving to Node #0,1,3 Current State: 28:[4, 16], Operations: ['74-70=4', '37-21=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,28 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[37, 25], Operations: ['74-70=4', '21+4=25'] Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 37*25=925, Resulting Numbers: [925] 925,28 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[37, 17], Operations: ['74-70=4', '21-4=17'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[21, 33], Operations: ['74-70=4', '37-4=33'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 21*33=693, Resulting Numbers: [693] 693,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 28:[70, 21, 2], Operations: ['74/37=2'] Exploring Operation: 21+2=23, Resulting Numbers: [70, 23] Generated Node #0,3,0: 28:[70, 23] Operation: 21+2=23 Exploring Operation: 70-21=49, Resulting Numbers: [2, 49] Generated Node #0,3,1: 28:[2, 49] Operation: 70-21=49 Exploring Operation: 70/2=35, Resulting Numbers: [21, 35] Generated Node #0,3,2: 28:[21, 35] Operation: 70/2=35 Exploring Operation: 70-2=68, Resulting Numbers: [21, 68] Generated Node #0,3,3: 28:[21, 68] Operation: 70-2=68 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 28:[21, 35], Operations: ['74/37=2', '70/2=35'] Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,28 unequal: No Solution Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 28:[2, 49], Operations: ['74/37=2', '70-21=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,28 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,28 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 28:[70, 23], Operations: ['74/37=2', '21+2=23'] Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,28 unequal: No Solution Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,28 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 28:[21, 68], Operations: ['74/37=2', '70-2=68'] Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,28 unequal: No Solution Exploring Operation: 21+68=89, Resulting Numbers: [89] 89,28 unequal: No Solution Exploring Operation: 21*68=1428, Resulting Numbers: [1428] 1428,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[70, 21, 37], Operations: ['74-37=37'] Exploring Operation: 37-21=16, Resulting Numbers: [70, 16] Generated Node #0,0,0: 28:[70, 16] Operation: 37-21=16 Exploring Operation: 70-21=49, Resulting Numbers: [37, 49] Generated Node #0,0,1: 28:[37, 49] Operation: 70-21=49 Exploring Operation: 70-37=33, Resulting Numbers: [21, 33] Generated Node #0,0,2: 28:[21, 33] Operation: 70-37=33 Exploring Operation: 70+21=91, Resulting Numbers: [37, 91] Generated Node #0,0,3: 28:[37, 91] Operation: 70+21=91 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 28:[21, 33], Operations: ['74-37=37', '70-37=33'] Exploring Operation: 21*33=693, Resulting Numbers: [693] 693,28 unequal: No Solution Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[37, 49], Operations: ['74-37=37', '70-21=49'] Exploring Operation: 37+49=86, Resulting Numbers: [86] 86,28 unequal: No Solution Exploring Operation: 37*49=1813, Resulting Numbers: [1813] 1813,28 unequal: No Solution Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[70, 16], Operations: ['74-37=37', '37-21=16'] Exploring Operation: 70*16=1120, Resulting Numbers: [1120] 1120,28 unequal: No Solution Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 70+16=86, Resulting Numbers: [86] 86,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 28:[37, 91], Operations: ['74-37=37', '70+21=91'] Exploring Operation: 37+91=128, Resulting Numbers: [128] 128,28 unequal: No Solution Exploring Operation: 37*91=3367, Resulting Numbers: [3367] 3367,28 unequal: No Solution Exploring Operation: 91-37=54, Resulting Numbers: [54] 54,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[74, 21, 33], Operations: ['70-37=33'] Exploring Operation: 74-21=53, Resulting Numbers: [33, 53] Generated Node #0,2,0: 28:[33, 53] Operation: 74-21=53 Exploring Operation: 74-33=41, Resulting Numbers: [21, 41] Generated Node #0,2,1: 28:[21, 41] Operation: 74-33=41 Exploring Operation: 33-21=12, Resulting Numbers: [74, 12] Generated Node #0,2,2: 28:[74, 12] Operation: 33-21=12 Exploring Operation: 74+21=95, Resulting Numbers: [33, 95] Generated Node #0,2,3: 28:[33, 95] Operation: 74+21=95 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 28:[21, 41], Operations: ['70-37=33', '74-33=41'] Exploring Operation: 21*41=861, Resulting Numbers: [861] 861,28 unequal: No Solution Exploring Operation: 21+41=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[33, 53], Operations: ['70-37=33', '74-21=53'] Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,28 unequal: No Solution Exploring Operation: 33*53=1749, Resulting Numbers: [1749] 1749,28 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 28:[74, 12], Operations: ['70-37=33', '33-21=12'] Exploring Operation: 74-12=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 74*12=888, Resulting Numbers: [888] 888,28 unequal: No Solution Exploring Operation: 74+12=86, Resulting Numbers: [86] 86,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 28:[33, 95], Operations: ['70-37=33', '74+21=95'] Exploring Operation: 33+95=128, Resulting Numbers: [128] 128,28 unequal: No Solution Exploring Operation: 95-33=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 33*95=3135, Resulting Numbers: [3135] 3135,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 36, 87, 20, 12 ]
19
[ "87-36=51", "20+12=32", "51-32=19" ]
Current State: 19:[36, 87, 20, 12], Operations: [] Exploring Operation: 87-36=51, Resulting Numbers: [20, 12, 51] Generated Node #2: [20, 12, 51] from Operation: 87-36=51 Current State: 19:[20, 12, 51], Operations: ['87-36=51'] Exploring Operation: 20+12=32, Resulting Numbers: [51, 32] Generated Node #3: [51, 32] from Operation: 20+12=32 Current State: 19:[51, 32], Operations: ['87-36=51', '20+12=32'] Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[36, 87, 20, 12], Operations: [] Exploring Operation: 36-12=24, Resulting Numbers: [87, 20, 24] Generated Node #0,0: 19:[87, 20, 24] Operation: 36-12=24 Exploring Operation: 87-12=75, Resulting Numbers: [36, 20, 75] Generated Node #0,1: 19:[36, 20, 75] Operation: 87-12=75 Exploring Operation: 87-20=67, Resulting Numbers: [36, 12, 67] Generated Node #0,2: 19:[36, 12, 67] Operation: 87-20=67 Exploring Operation: 87-36=51, Resulting Numbers: [20, 12, 51] Generated Node #0,3: 19:[20, 12, 51] Operation: 87-36=51 Exploring Operation: 36-20=16, Resulting Numbers: [87, 12, 16] Generated Node #0,4: 19:[87, 12, 16] Operation: 36-20=16 Moving to Node #0,3 Current State: 19:[20, 12, 51], Operations: ['87-36=51'] Exploring Operation: 20+12=32, Resulting Numbers: [51, 32] Generated Node #0,3,0: 19:[51, 32] Operation: 20+12=32 Exploring Operation: 12+51=63, Resulting Numbers: [20, 63] Generated Node #0,3,1: 19:[20, 63] Operation: 12+51=63 Exploring Operation: 51-20=31, Resulting Numbers: [12, 31] Generated Node #0,3,2: 19:[12, 31] Operation: 51-20=31 Exploring Operation: 20-12=8, Resulting Numbers: [51, 8] Generated Node #0,3,3: 19:[51, 8] Operation: 20-12=8 Exploring Operation: 51-12=39, Resulting Numbers: [20, 39] Generated Node #0,3,4: 19:[20, 39] Operation: 51-12=39 Moving to Node #0,2 Current State: 19:[36, 12, 67], Operations: ['87-20=67'] Exploring Operation: 36-12=24, Resulting Numbers: [67, 24] Generated Node #0,2,0: 19:[67, 24] Operation: 36-12=24 Exploring Operation: 36+12=48, Resulting Numbers: [67, 48] Generated Node #0,2,1: 19:[67, 48] Operation: 36+12=48 Exploring Operation: 67-12=55, Resulting Numbers: [36, 55] Generated Node #0,2,2: 19:[36, 55] Operation: 67-12=55 Exploring Operation: 67-36=31, Resulting Numbers: [12, 31] Generated Node #0,2,3: 19:[12, 31] Operation: 67-36=31 Exploring Operation: 36/12=3, Resulting Numbers: [67, 3] Generated Node #0,2,4: 19:[67, 3] Operation: 36/12=3 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 19:[12, 31], Operations: ['87-20=67', '67-36=31'] Exploring Operation: 12*31=372, Resulting Numbers: [372] 372,19 unequal: No Solution Exploring Operation: 12+31=43, Resulting Numbers: [43] 43,19 unequal: No Solution Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[36, 87, 20, 12], Operations: [] Exploring Operation: 87-20=67, Resulting Numbers: [36, 12, 67] Generated Node #0,2: 19:[36, 12, 67] Operation: 87-20=67 Moving to Node #0,2 Current State: 19:[36, 12, 67], Operations: ['87-20=67'] Exploring Operation: 67-36=31, Resulting Numbers: [12, 31] Generated Node #0,2,3: 19:[12, 31] Operation: 67-36=31 Moving to Node #0,2,3 Current State: 19:[12, 31], Operations: ['87-20=67', '67-36=31'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 31, 39, 38, 57 ]
57
[ "57-31=26", "39*38=1482", "1482/26=57" ]
Current State: 57:[31, 39, 38, 57], Operations: [] Exploring Operation: 57-31=26, Resulting Numbers: [39, 38, 26] Generated Node #2: [39, 38, 26] from Operation: 57-31=26 Current State: 57:[39, 38, 26], Operations: ['57-31=26'] Exploring Operation: 39*38=1482, Resulting Numbers: [26, 1482] Generated Node #3: [26, 1482] from Operation: 39*38=1482 Current State: 57:[26, 1482], Operations: ['57-31=26', '39*38=1482'] Exploring Operation: 1482/26=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[31, 39, 38, 57], Operations: [] Exploring Operation: 39-38=1, Resulting Numbers: [31, 57, 1] Generated Node #0,0: 57:[31, 57, 1] Operation: 39-38=1 Exploring Operation: 38-31=7, Resulting Numbers: [39, 57, 7] Generated Node #0,1: 57:[39, 57, 7] Operation: 38-31=7 Moving to Node #0,0 Current State: 57:[31, 57, 1], Operations: ['39-38=1'] Exploring Operation: 31-1=30, Resulting Numbers: [57, 30] Generated Node #0,0,0: 57:[57, 30] Operation: 31-1=30 Exploring Operation: 57-31=26, Resulting Numbers: [1, 26] Generated Node #0,0,1: 57:[1, 26] Operation: 57-31=26 Moving to Node #0,1 Current State: 57:[39, 57, 7], Operations: ['38-31=7'] Exploring Operation: 39+7=46, Resulting Numbers: [57, 46] Generated Node #0,1,0: 57:[57, 46] Operation: 39+7=46 Exploring Operation: 57-39=18, Resulting Numbers: [7, 18] Generated Node #0,1,1: 57:[7, 18] Operation: 57-39=18 Moving to Node #0,1,1 Current State: 57:[7, 18], Operations: ['38-31=7', '57-39=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,57 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[1, 26], Operations: ['39-38=1', '57-31=26'] Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,57 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[57, 30], Operations: ['39-38=1', '31-1=30'] Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,57 unequal: No Solution Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[57, 46], Operations: ['38-31=7', '39+7=46'] Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,57 unequal: No Solution Exploring Operation: 57+46=103, Resulting Numbers: [103] 103,57 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 29, 11, 29, 31 ]
43
[ "29/29=1", "11+31=42", "1+42=43" ]
Current State: 43:[29, 11, 29, 31], Operations: [] Exploring Operation: 29/29=1, Resulting Numbers: [11, 31, 1] Generated Node #2: [11, 31, 1] from Operation: 29/29=1 Current State: 43:[11, 31, 1], Operations: ['29/29=1'] Exploring Operation: 11+31=42, Resulting Numbers: [1, 42] Generated Node #3: [1, 42] from Operation: 11+31=42 Current State: 43:[1, 42], Operations: ['29/29=1', '11+31=42'] Exploring Operation: 1+42=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[29, 11, 29, 31], Operations: [] Exploring Operation: 11+31=42, Resulting Numbers: [29, 29, 42] Generated Node #0,0: 43:[29, 29, 42] Operation: 11+31=42 Exploring Operation: 29+11=40, Resulting Numbers: [29, 31, 40] Generated Node #0,1: 43:[29, 31, 40] Operation: 29+11=40 Exploring Operation: 11+29=40, Resulting Numbers: [29, 31, 40] Generated Node #0,2: 43:[29, 31, 40] Operation: 11+29=40 Moving to Node #0,0 Current State: 43:[29, 29, 42], Operations: ['11+31=42'] Exploring Operation: 29+29=58, Resulting Numbers: [42, 58] Generated Node #0,0,0: 43:[42, 58] Operation: 29+29=58 Exploring Operation: 29+42=71, Resulting Numbers: [29, 71] Generated Node #0,0,1: 43:[29, 71] Operation: 29+42=71 Exploring Operation: 29+42=71, Resulting Numbers: [29, 71] Generated Node #0,0,2: 43:[29, 71] Operation: 29+42=71 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[42, 58], Operations: ['11+31=42', '29+29=58'] Exploring Operation: 42*58=2436, Resulting Numbers: [2436] 2436,43 unequal: No Solution Exploring Operation: 42+58=100, Resulting Numbers: [100] 100,43 unequal: No Solution Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,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:[29, 71], Operations: ['11+31=42', '29+42=71'] Exploring Operation: 29*71=2059, Resulting Numbers: [2059] 2059,43 unequal: No Solution Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 29+71=100, Resulting Numbers: [100] 100,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:[29, 71], Operations: ['11+31=42', '29+42=71'] Exploring Operation: 29*71=2059, Resulting Numbers: [2059] 2059,43 unequal: No Solution Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,43 unequal: No Solution Exploring Operation: 29+71=100, Resulting Numbers: [100] 100,43 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: 43:[29, 31, 40], Operations: ['29+11=40'] Exploring Operation: 31+40=71, Resulting Numbers: [29, 71] Generated Node #0,1,0: 43:[29, 71] Operation: 31+40=71 Exploring Operation: 29+40=69, Resulting Numbers: [31, 69] Generated Node #0,1,1: 43:[31, 69] Operation: 29+40=69 Exploring Operation: 29+31=60, Resulting Numbers: [40, 60] Generated Node #0,1,2: 43:[40, 60] Operation: 29+31=60 Moving to Node #0,2 Current State: 43:[29, 31, 40], Operations: ['11+29=40'] Exploring Operation: 29+40=69, Resulting Numbers: [31, 69] Generated Node #0,2,0: 43:[31, 69] Operation: 29+40=69 Exploring Operation: 29+31=60, Resulting Numbers: [40, 60] Generated Node #0,2,1: 43:[40, 60] Operation: 29+31=60 Exploring Operation: 31+40=71, Resulting Numbers: [29, 71] Generated Node #0,2,2: 43:[29, 71] Operation: 31+40=71 Moving to Node #0,1,2 Current State: 43:[40, 60], Operations: ['29+11=40', '29+31=60'] Exploring Operation: 40*60=2400, Resulting Numbers: [2400] 2400,43 unequal: No Solution Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,43 unequal: No Solution Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[40, 60], Operations: ['11+29=40', '29+31=60'] Exploring Operation: 40*60=2400, Resulting Numbers: [2400] 2400,43 unequal: No Solution Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,43 unequal: No Solution Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[31, 69], Operations: ['11+29=40', '29+40=69'] Exploring Operation: 31+69=100, Resulting Numbers: [100] 100,43 unequal: No Solution Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 31*69=2139, Resulting Numbers: [2139] 2139,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[31, 69], Operations: ['29+11=40', '29+40=69'] Exploring Operation: 31*69=2139, Resulting Numbers: [2139] 2139,43 unequal: No Solution Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 31+69=100, Resulting Numbers: [100] 100,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[29, 71], Operations: ['11+29=40', '31+40=71'] Exploring Operation: 29+71=100, Resulting Numbers: [100] 100,43 unequal: No Solution Exploring Operation: 29*71=2059, Resulting Numbers: [2059] 2059,43 unequal: No Solution Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[29, 71], Operations: ['29+11=40', '31+40=71'] Exploring Operation: 29*71=2059, Resulting Numbers: [2059] 2059,43 unequal: No Solution Exploring Operation: 29+71=100, Resulting Numbers: [100] 100,43 unequal: No Solution Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,43 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 2, 80, 60, 7 ]
40
[ "80+60=140", "2*140=280", "280/7=40" ]
Current State: 40:[2, 80, 60, 7], Operations: [] Exploring Operation: 80+60=140, Resulting Numbers: [2, 7, 140] Generated Node #2: [2, 7, 140] from Operation: 80+60=140 Current State: 40:[2, 7, 140], Operations: ['80+60=140'] Exploring Operation: 2*140=280, Resulting Numbers: [7, 280] Generated Node #3: [7, 280] from Operation: 2*140=280 Current State: 40:[7, 280], Operations: ['80+60=140', '2*140=280'] Exploring Operation: 280/7=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[2, 80, 60, 7], Operations: [] Exploring Operation: 60-7=53, Resulting Numbers: [2, 80, 53] Generated Node #0,0: 40:[2, 80, 53] Operation: 60-7=53 Exploring Operation: 80/2=40, Resulting Numbers: [60, 7, 40] Generated Node #0,1: 40:[60, 7, 40] Operation: 80/2=40 Exploring Operation: 80-7=73, Resulting Numbers: [2, 60, 73] Generated Node #0,2: 40:[2, 60, 73] Operation: 80-7=73 Exploring Operation: 60/2=30, Resulting Numbers: [80, 7, 30] Generated Node #0,3: 40:[80, 7, 30] Operation: 60/2=30 Exploring Operation: 80-60=20, Resulting Numbers: [2, 7, 20] Generated Node #0,4: 40:[2, 7, 20] Operation: 80-60=20 Moving to Node #0,4 Current State: 40:[2, 7, 20], Operations: ['80-60=20'] Exploring Operation: 7-2=5, Resulting Numbers: [20, 5] Generated Node #0,4,0: 40:[20, 5] Operation: 7-2=5 Exploring Operation: 2+7=9, Resulting Numbers: [20, 9] Generated Node #0,4,1: 40:[20, 9] Operation: 2+7=9 Exploring Operation: 20/2=10, Resulting Numbers: [7, 10] Generated Node #0,4,2: 40:[7, 10] Operation: 20/2=10 Exploring Operation: 2+20=22, Resulting Numbers: [7, 22] Generated Node #0,4,3: 40:[7, 22] Operation: 2+20=22 Exploring Operation: 2*20=40, Resulting Numbers: [7, 40] Generated Node #0,4,4: 40:[7, 40] Operation: 2*20=40 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 40:[20, 5], Operations: ['80-60=20', '7-2=5'] Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,40 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,40 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 40:[20, 9], Operations: ['80-60=20', '2+7=9'] Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,40 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 40:[7, 10], Operations: ['80-60=20', '20/2=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,40 unequal: No Solution Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 40:[7, 40], Operations: ['80-60=20', '2*20=40'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,40 unequal: No Solution Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,40 unequal: No Solution Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 40:[7, 22], Operations: ['80-60=20', '2+20=22'] Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,40 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,40 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: 40:[60, 7, 40], Operations: ['80/2=40'] Exploring Operation: 60-40=20, Resulting Numbers: [7, 20] Generated Node #0,1,0: 40:[7, 20] Operation: 60-40=20 Exploring Operation: 7+40=47, Resulting Numbers: [60, 47] Generated Node #0,1,1: 40:[60, 47] Operation: 7+40=47 Exploring Operation: 60+7=67, Resulting Numbers: [40, 67] Generated Node #0,1,2: 40:[40, 67] Operation: 60+7=67 Exploring Operation: 40-7=33, Resulting Numbers: [60, 33] Generated Node #0,1,3: 40:[60, 33] Operation: 40-7=33 Exploring Operation: 60-7=53, Resulting Numbers: [40, 53] Generated Node #0,1,4: 40:[40, 53] Operation: 60-7=53 Moving to Node #0,3 Current State: 40:[80, 7, 30], Operations: ['60/2=30'] Exploring Operation: 80-30=50, Resulting Numbers: [7, 50] Generated Node #0,3,0: 40:[7, 50] Operation: 80-30=50 Exploring Operation: 7+30=37, Resulting Numbers: [80, 37] Generated Node #0,3,1: 40:[80, 37] Operation: 7+30=37 Exploring Operation: 80+7=87, Resulting Numbers: [30, 87] Generated Node #0,3,2: 40:[30, 87] Operation: 80+7=87 Exploring Operation: 80-7=73, Resulting Numbers: [30, 73] Generated Node #0,3,3: 40:[30, 73] Operation: 80-7=73 Exploring Operation: 30-7=23, Resulting Numbers: [80, 23] Generated Node #0,3,4: 40:[80, 23] Operation: 30-7=23 Moving to Node #0,0 Current State: 40:[2, 80, 53], Operations: ['60-7=53'] Exploring Operation: 80-53=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 40:[2, 27] Operation: 80-53=27 Exploring Operation: 2+80=82, Resulting Numbers: [53, 82] Generated Node #0,0,1: 40:[53, 82] Operation: 2+80=82 Exploring Operation: 53-2=51, Resulting Numbers: [80, 51] Generated Node #0,0,2: 40:[80, 51] Operation: 53-2=51 Exploring Operation: 80/2=40, Resulting Numbers: [53, 40] Generated Node #0,0,3: 40:[53, 40] Operation: 80/2=40 Exploring Operation: 80-2=78, Resulting Numbers: [53, 78] Generated Node #0,0,4: 40:[53, 78] Operation: 80-2=78 Moving to Node #0,2 Current State: 40:[2, 60, 73], Operations: ['80-7=73'] Exploring Operation: 73-60=13, Resulting Numbers: [2, 13] Generated Node #0,2,0: 40:[2, 13] Operation: 73-60=13 Exploring Operation: 73-2=71, Resulting Numbers: [60, 71] Generated Node #0,2,1: 40:[60, 71] Operation: 73-2=71 Exploring Operation: 2+60=62, Resulting Numbers: [73, 62] Generated Node #0,2,2: 40:[73, 62] Operation: 2+60=62 Exploring Operation: 60-2=58, Resulting Numbers: [73, 58] Generated Node #0,2,3: 40:[73, 58] Operation: 60-2=58 Exploring Operation: 60/2=30, Resulting Numbers: [73, 30] Generated Node #0,2,4: 40:[73, 30] Operation: 60/2=30 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 40:[2, 13], Operations: ['80-7=73', '73-60=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 40:[73, 30], Operations: ['80-7=73', '60/2=30'] Exploring Operation: 73+30=103, Resulting Numbers: [103] 103,40 unequal: No Solution Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,40 unequal: No Solution Exploring Operation: 73*30=2190, Resulting Numbers: [2190] 2190,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 40:[60, 71], Operations: ['80-7=73', '73-2=71'] Exploring Operation: 60+71=131, Resulting Numbers: [131] 131,40 unequal: No Solution Exploring Operation: 60*71=4260, Resulting Numbers: [4260] 4260,40 unequal: No Solution Exploring Operation: 71-60=11, Resulting Numbers: [11] 11,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 40:[73, 58], Operations: ['80-7=73', '60-2=58'] Exploring Operation: 73+58=131, Resulting Numbers: [131] 131,40 unequal: No Solution Exploring Operation: 73*58=4234, Resulting Numbers: [4234] 4234,40 unequal: No Solution Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 40:[73, 62], Operations: ['80-7=73', '2+60=62'] Exploring Operation: 73*62=4526, Resulting Numbers: [4526] 4526,40 unequal: No Solution Exploring Operation: 73+62=135, Resulting Numbers: [135] 135,40 unequal: No Solution Exploring Operation: 73-62=11, Resulting Numbers: [11] 11,40 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: 40:[7, 20], Operations: ['80/2=40', '60-40=20'] Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,40 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[2, 27], Operations: ['60-7=53', '80-53=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,40 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,40 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,40 unequal: No Solution Moving to Node #0,3,0 Current State: 40:[7, 50], Operations: ['60/2=30', '80-30=50'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,40 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,40 unequal: No Solution Moving to Node #0,0,3 Current State: 40:[53, 40], Operations: ['60-7=53', '80/2=40'] Exploring Operation: 53+40=93, Resulting Numbers: [93] 93,40 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 53*40=2120, Resulting Numbers: [2120] 2120,40 unequal: No Solution Moving to Node #0,1,4 Current State: 40:[40, 53], Operations: ['80/2=40', '60-7=53'] Exploring Operation: 40+53=93, Resulting Numbers: [93] 93,40 unequal: No Solution Exploring Operation: 40*53=2120, Resulting Numbers: [2120] 2120,40 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[60, 47], Operations: ['80/2=40', '7+40=47'] Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 60+47=107, Resulting Numbers: [107] 107,40 unequal: No Solution Exploring Operation: 60*47=2820, Resulting Numbers: [2820] 2820,40 unequal: No Solution Moving to Node #0,1,3 Current State: 40:[60, 33], Operations: ['80/2=40', '40-7=33'] Exploring Operation: 60+33=93, Resulting Numbers: [93] 93,40 unequal: No Solution Exploring Operation: 60*33=1980, Resulting Numbers: [1980] 1980,40 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[40, 67], Operations: ['80/2=40', '60+7=67'] Exploring Operation: 40*67=2680, Resulting Numbers: [2680] 2680,40 unequal: No Solution Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,40 unequal: No Solution Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,40 unequal: No Solution Moving to Node #0,3,1 Current State: 40:[80, 37], Operations: ['60/2=30', '7+30=37'] Exploring Operation: 80*37=2960, Resulting Numbers: [2960] 2960,40 unequal: No Solution Exploring Operation: 80+37=117, Resulting Numbers: [117] 117,40 unequal: No Solution Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,40 unequal: No Solution Moving to Node #0,3,4 Current State: 40:[80, 23], Operations: ['60/2=30', '30-7=23'] Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 80+23=103, Resulting Numbers: [103] 103,40 unequal: No Solution Exploring Operation: 80*23=1840, Resulting Numbers: [1840] 1840,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[30, 73], Operations: ['60/2=30', '80-7=73'] Exploring Operation: 30+73=103, Resulting Numbers: [103] 103,40 unequal: No Solution Exploring Operation: 30*73=2190, Resulting Numbers: [2190] 2190,40 unequal: No Solution Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,40 unequal: No Solution Moving to Node #0,0,4 Current State: 40:[53, 78], Operations: ['60-7=53', '80-2=78'] Exploring Operation: 78-53=25, Resulting Numbers: [25] 25,40 unequal: No Solution Exploring Operation: 53*78=4134, Resulting Numbers: [4134] 4134,40 unequal: No Solution Exploring Operation: 53+78=131, Resulting Numbers: [131] 131,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[80, 51], Operations: ['60-7=53', '53-2=51'] Exploring Operation: 80+51=131, Resulting Numbers: [131] 131,40 unequal: No Solution Exploring Operation: 80*51=4080, Resulting Numbers: [4080] 4080,40 unequal: No Solution Exploring Operation: 80-51=29, Resulting Numbers: [29] 29,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[53, 82], Operations: ['60-7=53', '2+80=82'] Exploring Operation: 53+82=135, Resulting Numbers: [135] 135,40 unequal: No Solution Exploring Operation: 53*82=4346, Resulting Numbers: [4346] 4346,40 unequal: No Solution Exploring Operation: 82-53=29, Resulting Numbers: [29] 29,40 unequal: No Solution Moving to Node #0,3,2 Current State: 40:[30, 87], Operations: ['60/2=30', '80+7=87'] Exploring Operation: 30+87=117, Resulting Numbers: [117] 117,40 unequal: No Solution Exploring Operation: 30*87=2610, Resulting Numbers: [2610] 2610,40 unequal: No Solution Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,40 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 74, 18, 55, 26 ]
27
[ "74-18=56", "55-26=29", "56-29=27" ]
Current State: 27:[74, 18, 55, 26], Operations: [] Exploring Operation: 74-18=56, Resulting Numbers: [55, 26, 56] Generated Node #2: [55, 26, 56] from Operation: 74-18=56 Current State: 27:[55, 26, 56], Operations: ['74-18=56'] Exploring Operation: 55-26=29, Resulting Numbers: [56, 29] Generated Node #3: [56, 29] from Operation: 55-26=29 Current State: 27:[56, 29], Operations: ['74-18=56', '55-26=29'] Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[74, 18, 55, 26], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [18, 26, 19] Generated Node #0,0: 27:[18, 26, 19] Operation: 74-55=19 Exploring Operation: 55-18=37, Resulting Numbers: [74, 26, 37] Generated Node #0,1: 27:[74, 26, 37] Operation: 55-18=37 Exploring Operation: 74-26=48, Resulting Numbers: [18, 55, 48] Generated Node #0,2: 27:[18, 55, 48] Operation: 74-26=48 Exploring Operation: 74-18=56, Resulting Numbers: [55, 26, 56] Generated Node #0,3: 27:[55, 26, 56] Operation: 74-18=56 Exploring Operation: 55-26=29, Resulting Numbers: [74, 18, 29] Generated Node #0,4: 27:[74, 18, 29] Operation: 55-26=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[18, 26, 19], Operations: ['74-55=19'] Exploring Operation: 26-19=7, Resulting Numbers: [18, 7] Generated Node #0,0,0: 27:[18, 7] Operation: 26-19=7 Exploring Operation: 18+19=37, Resulting Numbers: [26, 37] Generated Node #0,0,1: 27:[26, 37] Operation: 18+19=37 Exploring Operation: 18+26=44, Resulting Numbers: [19, 44] Generated Node #0,0,2: 27:[19, 44] Operation: 18+26=44 Exploring Operation: 19-18=1, Resulting Numbers: [26, 1] Generated Node #0,0,3: 27:[26, 1] Operation: 19-18=1 Exploring Operation: 26-18=8, Resulting Numbers: [19, 8] Generated Node #0,0,4: 27:[19, 8] Operation: 26-18=8 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 27:[26, 1], Operations: ['74-55=19', '19-18=1'] Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[74, 18, 55, 26], Operations: [] Exploring Operation: 74-55=19, Resulting Numbers: [18, 26, 19] Generated Node #0,0: 27:[18, 26, 19] Operation: 74-55=19 Moving to Node #0,0 Current State: 27:[18, 26, 19], Operations: ['74-55=19'] Exploring Operation: 19-18=1, Resulting Numbers: [26, 1] Generated Node #0,0,3: 27:[26, 1] Operation: 19-18=1 Moving to Node #0,0,3 Current State: 27:[26, 1], Operations: ['74-55=19', '19-18=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 31, 86, 90, 69 ]
55
[ "90-86=4", "31*4=124", "124-69=55" ]
Current State: 55:[31, 86, 90, 69], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [31, 69, 4] Generated Node #2: [31, 69, 4] from Operation: 90-86=4 Current State: 55:[31, 69, 4], Operations: ['90-86=4'] Exploring Operation: 31*4=124, Resulting Numbers: [69, 124] Generated Node #3: [69, 124] from Operation: 31*4=124 Current State: 55:[69, 124], Operations: ['90-86=4', '31*4=124'] Exploring Operation: 124-69=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[31, 86, 90, 69], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [31, 69, 4] Generated Node #0,0: 55:[31, 69, 4] Operation: 90-86=4 Exploring Operation: 86-31=55, Resulting Numbers: [90, 69, 55] Generated Node #0,1: 55:[90, 69, 55] Operation: 86-31=55 Exploring Operation: 90-31=59, Resulting Numbers: [86, 69, 59] Generated Node #0,2: 55:[86, 69, 59] Operation: 90-31=59 Exploring Operation: 90-69=21, Resulting Numbers: [31, 86, 21] Generated Node #0,3: 55:[31, 86, 21] Operation: 90-69=21 Exploring Operation: 86-69=17, Resulting Numbers: [31, 90, 17] Generated Node #0,4: 55:[31, 90, 17] Operation: 86-69=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[31, 69, 4], Operations: ['90-86=4'] Exploring Operation: 69+4=73, Resulting Numbers: [31, 73] Generated Node #0,0,0: 55:[31, 73] Operation: 69+4=73 Exploring Operation: 69-31=38, Resulting Numbers: [4, 38] Generated Node #0,0,1: 55:[4, 38] Operation: 69-31=38 Exploring Operation: 31-4=27, Resulting Numbers: [69, 27] Generated Node #0,0,2: 55:[69, 27] Operation: 31-4=27 Exploring Operation: 69-4=65, Resulting Numbers: [31, 65] Generated Node #0,0,3: 55:[31, 65] Operation: 69-4=65 Exploring Operation: 31+4=35, Resulting Numbers: [69, 35] Generated Node #0,0,4: 55:[69, 35] Operation: 31+4=35 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[4, 38], Operations: ['90-86=4', '69-31=38'] Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,55 unequal: No Solution No 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: 55:[69, 27], Operations: ['90-86=4', '31-4=27'] Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,55 unequal: No Solution No 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: 55:[31, 65], Operations: ['90-86=4', '69-4=65'] Exploring Operation: 31+65=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 31*65=2015, Resulting Numbers: [2015] 2015,55 unequal: No Solution No 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: 55:[69, 35], Operations: ['90-86=4', '31+4=35'] Exploring Operation: 69+35=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 69*35=2415, Resulting Numbers: [2415] 2415,55 unequal: No Solution No 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: 55:[31, 73], Operations: ['90-86=4', '69+4=73'] Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 31*73=2263, Resulting Numbers: [2263] 2263,55 unequal: No Solution Exploring Operation: 31+73=104, Resulting Numbers: [104] 104,55 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: 55:[90, 69, 55], Operations: ['86-31=55'] Exploring Operation: 69-55=14, Resulting Numbers: [90, 14] Generated Node #0,1,0: 55:[90, 14] Operation: 69-55=14 Exploring Operation: 90-69=21, Resulting Numbers: [55, 21] Generated Node #0,1,1: 55:[55, 21] Operation: 90-69=21 Exploring Operation: 90-55=35, Resulting Numbers: [69, 35] Generated Node #0,1,2: 55:[69, 35] Operation: 90-55=35 Exploring Operation: 90+69=159, Resulting Numbers: [55, 159] Generated Node #0,1,3: 55:[55, 159] Operation: 90+69=159 Exploring Operation: 90+55=145, Resulting Numbers: [69, 145] Generated Node #0,1,4: 55:[69, 145] Operation: 90+55=145 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 55:[55, 21], Operations: ['86-31=55', '90-69=21'] Exploring Operation: 55+21=76, Resulting Numbers: [76] 76,55 unequal: No Solution Exploring Operation: 55*21=1155, Resulting Numbers: [1155] 1155,55 unequal: No Solution Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,55 unequal: No Solution No 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: 55:[69, 35], Operations: ['86-31=55', '90-55=35'] Exploring Operation: 69+35=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 69*35=2415, Resulting Numbers: [2415] 2415,55 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,55 unequal: No Solution No 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: 55:[90, 14], Operations: ['86-31=55', '69-55=14'] Exploring Operation: 90*14=1260, Resulting Numbers: [1260] 1260,55 unequal: No Solution Exploring Operation: 90-14=76, Resulting Numbers: [76] 76,55 unequal: No Solution Exploring Operation: 90+14=104, Resulting Numbers: [104] 104,55 unequal: No Solution No 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: 55:[55, 159], Operations: ['86-31=55', '90+69=159'] Exploring Operation: 55+159=214, Resulting Numbers: [214] 214,55 unequal: No Solution Exploring Operation: 159-55=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 55*159=8745, Resulting Numbers: [8745] 8745,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 55:[69, 145], Operations: ['86-31=55', '90+55=145'] Exploring Operation: 69*145=10005, Resulting Numbers: [10005] 10005,55 unequal: No Solution Exploring Operation: 145-69=76, Resulting Numbers: [76] 76,55 unequal: No Solution Exploring Operation: 69+145=214, Resulting Numbers: [214] 214,55 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: 55:[86, 69, 59], Operations: ['90-31=59'] Exploring Operation: 86-59=27, Resulting Numbers: [69, 27] Generated Node #0,2,0: 55:[69, 27] Operation: 86-59=27 Exploring Operation: 86+59=145, Resulting Numbers: [69, 145] Generated Node #0,2,1: 55:[69, 145] Operation: 86+59=145 Exploring Operation: 69-59=10, Resulting Numbers: [86, 10] Generated Node #0,2,2: 55:[86, 10] Operation: 69-59=10 Exploring Operation: 86+69=155, Resulting Numbers: [59, 155] Generated Node #0,2,3: 55:[59, 155] Operation: 86+69=155 Exploring Operation: 86-69=17, Resulting Numbers: [59, 17] Generated Node #0,2,4: 55:[59, 17] Operation: 86-69=17 Moving to Node #0,2,4 Current State: 55:[59, 17], Operations: ['90-31=59', '86-69=17'] Exploring Operation: 59+17=76, Resulting Numbers: [76] 76,55 unequal: No Solution Exploring Operation: 59-17=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 59*17=1003, Resulting Numbers: [1003] 1003,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[69, 27], Operations: ['90-31=59', '86-59=27'] Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,55 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[86, 10], Operations: ['90-31=59', '69-59=10'] Exploring Operation: 86*10=860, Resulting Numbers: [860] 860,55 unequal: No Solution Exploring Operation: 86+10=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[69, 145], Operations: ['90-31=59', '86+59=145'] Exploring Operation: 69*145=10005, Resulting Numbers: [10005] 10005,55 unequal: No Solution Exploring Operation: 69+145=214, Resulting Numbers: [214] 214,55 unequal: No Solution Exploring Operation: 145-69=76, Resulting Numbers: [76] 76,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[59, 155], Operations: ['90-31=59', '86+69=155'] Exploring Operation: 59*155=9145, Resulting Numbers: [9145] 9145,55 unequal: No Solution Exploring Operation: 59+155=214, Resulting Numbers: [214] 214,55 unequal: No Solution Exploring Operation: 155-59=96, Resulting Numbers: [96] 96,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[31, 86, 21], Operations: ['90-69=21'] Exploring Operation: 86-31=55, Resulting Numbers: [21, 55] Generated Node #0,3,0: 55:[21, 55] Operation: 86-31=55 Exploring Operation: 31+21=52, Resulting Numbers: [86, 52] Generated Node #0,3,1: 55:[86, 52] Operation: 31+21=52 Exploring Operation: 31-21=10, Resulting Numbers: [86, 10] Generated Node #0,3,2: 55:[86, 10] Operation: 31-21=10 Exploring Operation: 86-21=65, Resulting Numbers: [31, 65] Generated Node #0,3,3: 55:[31, 65] Operation: 86-21=65 Exploring Operation: 31+86=117, Resulting Numbers: [21, 117] Generated Node #0,3,4: 55:[21, 117] Operation: 31+86=117 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 55:[21, 55], Operations: ['90-69=21', '86-31=55'] Exploring Operation: 21*55=1155, Resulting Numbers: [1155] 1155,55 unequal: No Solution Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 21+55=76, Resulting Numbers: [76] 76,55 unequal: No Solution No 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: 55:[31, 65], Operations: ['90-69=21', '86-21=65'] Exploring Operation: 31+65=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 31*65=2015, Resulting Numbers: [2015] 2015,55 unequal: No Solution No 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: 55:[86, 10], Operations: ['90-69=21', '31-21=10'] Exploring Operation: 86*10=860, Resulting Numbers: [860] 860,55 unequal: No Solution Exploring Operation: 86+10=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,55 unequal: No Solution No 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: 55:[86, 52], Operations: ['90-69=21', '31+21=52'] Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 86+52=138, Resulting Numbers: [138] 138,55 unequal: No Solution Exploring Operation: 86*52=4472, Resulting Numbers: [4472] 4472,55 unequal: No Solution No 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: 55:[21, 117], Operations: ['90-69=21', '31+86=117'] Exploring Operation: 117-21=96, Resulting Numbers: [96] 96,55 unequal: No Solution Exploring Operation: 21+117=138, Resulting Numbers: [138] 138,55 unequal: No Solution Exploring Operation: 21*117=2457, Resulting Numbers: [2457] 2457,55 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: 55:[31, 90, 17], Operations: ['86-69=17'] Exploring Operation: 31+90=121, Resulting Numbers: [17, 121] Generated Node #0,4,0: 55:[17, 121] Operation: 31+90=121 Exploring Operation: 90-31=59, Resulting Numbers: [17, 59] Generated Node #0,4,1: 55:[17, 59] Operation: 90-31=59 Exploring Operation: 31+17=48, Resulting Numbers: [90, 48] Generated Node #0,4,2: 55:[90, 48] Operation: 31+17=48 Exploring Operation: 90-17=73, Resulting Numbers: [31, 73] Generated Node #0,4,3: 55:[31, 73] Operation: 90-17=73 Exploring Operation: 31-17=14, Resulting Numbers: [90, 14] Generated Node #0,4,4: 55:[90, 14] Operation: 31-17=14 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 55:[17, 59], Operations: ['86-69=17', '90-31=59'] Exploring Operation: 17*59=1003, Resulting Numbers: [1003] 1003,55 unequal: No Solution Exploring Operation: 59-17=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 17+59=76, Resulting Numbers: [76] 76,55 unequal: No Solution No 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: 55:[31, 73], Operations: ['86-69=17', '90-17=73'] Exploring Operation: 31*73=2263, Resulting Numbers: [2263] 2263,55 unequal: No Solution Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 31+73=104, Resulting Numbers: [104] 104,55 unequal: No Solution No 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: 55:[90, 14], Operations: ['86-69=17', '31-17=14'] Exploring Operation: 90+14=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 90*14=1260, Resulting Numbers: [1260] 1260,55 unequal: No Solution Exploring Operation: 90-14=76, Resulting Numbers: [76] 76,55 unequal: No Solution No 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: 55:[90, 48], Operations: ['86-69=17', '31+17=48'] Exploring Operation: 90*48=4320, Resulting Numbers: [4320] 4320,55 unequal: No Solution Exploring Operation: 90+48=138, Resulting Numbers: [138] 138,55 unequal: No Solution Exploring Operation: 90-48=42, Resulting Numbers: [42] 42,55 unequal: No Solution No 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: 55:[17, 121], Operations: ['86-69=17', '31+90=121'] Exploring Operation: 17+121=138, Resulting Numbers: [138] 138,55 unequal: No Solution Exploring Operation: 121-17=104, Resulting Numbers: [104] 104,55 unequal: No Solution Exploring Operation: 17*121=2057, Resulting Numbers: [2057] 2057,55 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
sum_heuristic
[ 66, 44, 90, 39 ]
99
[ "44*90=3960", "3960/66=60", "39+60=99" ]
Current State: 99:[66, 44, 90, 39], Operations: [] Exploring Operation: 44*90=3960, Resulting Numbers: [66, 39, 3960] Generated Node #2: [66, 39, 3960] from Operation: 44*90=3960 Current State: 99:[66, 39, 3960], Operations: ['44*90=3960'] Exploring Operation: 3960/66=60, Resulting Numbers: [39, 60] Generated Node #3: [39, 60] from Operation: 3960/66=60 Current State: 99:[39, 60], Operations: ['44*90=3960', '3960/66=60'] Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[66, 44, 90, 39], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [44, 39, 24] Generated Node #0,0: 99:[44, 39, 24] Operation: 90-66=24 Exploring Operation: 66+39=105, Resulting Numbers: [44, 90, 105] Generated Node #0,1: 99:[44, 90, 105] Operation: 66+39=105 Exploring Operation: 66-39=27, Resulting Numbers: [44, 90, 27] Generated Node #0,2: 99:[44, 90, 27] Operation: 66-39=27 Exploring Operation: 66+44=110, Resulting Numbers: [90, 39, 110] Generated Node #0,3: 99:[90, 39, 110] Operation: 66+44=110 Exploring Operation: 66-44=22, Resulting Numbers: [90, 39, 22] Generated Node #0,4: 99:[90, 39, 22] Operation: 66-44=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[44, 39, 24], Operations: ['90-66=24'] Exploring Operation: 44+24=68, Resulting Numbers: [39, 68] Generated Node #0,0,0: 99:[39, 68] Operation: 44+24=68 Exploring Operation: 39-24=15, Resulting Numbers: [44, 15] Generated Node #0,0,1: 99:[44, 15] Operation: 39-24=15 Exploring Operation: 44-39=5, Resulting Numbers: [24, 5] Generated Node #0,0,2: 99:[24, 5] Operation: 44-39=5 Exploring Operation: 44-24=20, Resulting Numbers: [39, 20] Generated Node #0,0,3: 99:[39, 20] Operation: 44-24=20 Exploring Operation: 44+39=83, Resulting Numbers: [24, 83] Generated Node #0,0,4: 99:[24, 83] Operation: 44+39=83 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 99:[24, 5], Operations: ['90-66=24', '44-39=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,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,0,1 Current State: 99:[44, 15], Operations: ['90-66=24', '39-24=15'] Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 44*15=660, Resulting Numbers: [660] 660,99 unequal: No Solution Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,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,0,3 Current State: 99:[39, 20], Operations: ['90-66=24', '44-24=20'] Exploring Operation: 39*20=780, Resulting Numbers: [780] 780,99 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,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,0,4 Current State: 99:[24, 83], Operations: ['90-66=24', '44+39=83'] Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 24+83=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 24*83=1992, Resulting Numbers: [1992] 1992,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,0,0 Current State: 99:[39, 68], Operations: ['90-66=24', '44+24=68'] Exploring Operation: 39+68=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 39*68=2652, Resulting Numbers: [2652] 2652,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,1 Current State: 99:[44, 90, 105], Operations: ['66+39=105'] Exploring Operation: 90-44=46, Resulting Numbers: [105, 46] Generated Node #0,1,0: 99:[105, 46] Operation: 90-44=46 Exploring Operation: 105-90=15, Resulting Numbers: [44, 15] Generated Node #0,1,1: 99:[44, 15] Operation: 105-90=15 Exploring Operation: 44+105=149, Resulting Numbers: [90, 149] Generated Node #0,1,2: 99:[90, 149] Operation: 44+105=149 Exploring Operation: 44+90=134, Resulting Numbers: [105, 134] Generated Node #0,1,3: 99:[105, 134] Operation: 44+90=134 Exploring Operation: 105-44=61, Resulting Numbers: [90, 61] Generated Node #0,1,4: 99:[90, 61] Operation: 105-44=61 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[44, 15], Operations: ['66+39=105', '105-90=15'] Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 44*15=660, Resulting Numbers: [660] 660,99 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,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,1,0 Current State: 99:[105, 46], Operations: ['66+39=105', '90-44=46'] Exploring Operation: 105*46=4830, Resulting Numbers: [4830] 4830,99 unequal: No Solution Exploring Operation: 105+46=151, Resulting Numbers: [151] 151,99 unequal: No Solution Exploring Operation: 105-46=59, Resulting Numbers: [59] 59,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,1,4 Current State: 99:[90, 61], Operations: ['66+39=105', '105-44=61'] Exploring Operation: 90*61=5490, Resulting Numbers: [5490] 5490,99 unequal: No Solution Exploring Operation: 90+61=151, Resulting Numbers: [151] 151,99 unequal: No Solution Exploring Operation: 90-61=29, Resulting Numbers: [29] 29,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,1,3 Current State: 99:[105, 134], Operations: ['66+39=105', '44+90=134'] Exploring Operation: 134-105=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 105+134=239, Resulting Numbers: [239] 239,99 unequal: No Solution Exploring Operation: 105*134=14070, Resulting Numbers: [14070] 14070,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,1,2 Current State: 99:[90, 149], Operations: ['66+39=105', '44+105=149'] Exploring Operation: 149-90=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 90+149=239, Resulting Numbers: [239] 239,99 unequal: No Solution Exploring Operation: 90*149=13410, Resulting Numbers: [13410] 13410,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,2 Current State: 99:[44, 90, 27], Operations: ['66-39=27'] Exploring Operation: 90-44=46, Resulting Numbers: [27, 46] Generated Node #0,2,0: 99:[27, 46] Operation: 90-44=46 Exploring Operation: 44+90=134, Resulting Numbers: [27, 134] Generated Node #0,2,1: 99:[27, 134] Operation: 44+90=134 Exploring Operation: 90+27=117, Resulting Numbers: [44, 117] Generated Node #0,2,2: 99:[44, 117] Operation: 90+27=117 Exploring Operation: 44-27=17, Resulting Numbers: [90, 17] Generated Node #0,2,3: 99:[90, 17] Operation: 44-27=17 Exploring Operation: 44+27=71, Resulting Numbers: [90, 71] Generated Node #0,2,4: 99:[90, 71] Operation: 44+27=71 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 99:[90, 17], Operations: ['66-39=27', '44-27=17'] Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 90+17=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 90*17=1530, Resulting Numbers: [1530] 1530,99 unequal: No Solution No 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:[27, 46], Operations: ['66-39=27', '90-44=46'] Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 27+46=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 27*46=1242, Resulting Numbers: [1242] 1242,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:[44, 117], Operations: ['66-39=27', '90+27=117'] Exploring Operation: 117-44=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 44+117=161, Resulting Numbers: [161] 161,99 unequal: No Solution Exploring Operation: 44*117=5148, Resulting Numbers: [5148] 5148,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,4 Current State: 99:[90, 71], Operations: ['66-39=27', '44+27=71'] Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 90+71=161, Resulting Numbers: [161] 161,99 unequal: No Solution Exploring Operation: 90*71=6390, Resulting Numbers: [6390] 6390,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:[27, 134], Operations: ['66-39=27', '44+90=134'] Exploring Operation: 27*134=3618, Resulting Numbers: [3618] 3618,99 unequal: No Solution Exploring Operation: 27+134=161, Resulting Numbers: [161] 161,99 unequal: No Solution Exploring Operation: 134-27=107, Resulting Numbers: [107] 107,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:[90, 39, 110], Operations: ['66+44=110'] Exploring Operation: 110-39=71, Resulting Numbers: [90, 71] Generated Node #0,3,0: 99:[90, 71] Operation: 110-39=71 Exploring Operation: 90-39=51, Resulting Numbers: [110, 51] Generated Node #0,3,1: 99:[110, 51] Operation: 90-39=51 Exploring Operation: 90+39=129, Resulting Numbers: [110, 129] Generated Node #0,3,2: 99:[110, 129] Operation: 90+39=129 Exploring Operation: 110-90=20, Resulting Numbers: [39, 20] Generated Node #0,3,3: 99:[39, 20] Operation: 110-90=20 Exploring Operation: 39+110=149, Resulting Numbers: [90, 149] Generated Node #0,3,4: 99:[90, 149] Operation: 39+110=149 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 99:[39, 20], Operations: ['66+44=110', '110-90=20'] Exploring Operation: 39*20=780, Resulting Numbers: [780] 780,99 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,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:[110, 51], Operations: ['66+44=110', '90-39=51'] Exploring Operation: 110-51=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 110*51=5610, Resulting Numbers: [5610] 5610,99 unequal: No Solution Exploring Operation: 110+51=161, Resulting Numbers: [161] 161,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,0 Current State: 99:[90, 71], Operations: ['66+44=110', '110-39=71'] Exploring Operation: 90+71=161, Resulting Numbers: [161] 161,99 unequal: No Solution Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 90*71=6390, Resulting Numbers: [6390] 6390,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:[110, 129], Operations: ['66+44=110', '90+39=129'] Exploring Operation: 129-110=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 110+129=239, Resulting Numbers: [239] 239,99 unequal: No Solution Exploring Operation: 110*129=14190, Resulting Numbers: [14190] 14190,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,4 Current State: 99:[90, 149], Operations: ['66+44=110', '39+110=149'] Exploring Operation: 149-90=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 90+149=239, Resulting Numbers: [239] 239,99 unequal: No Solution Exploring Operation: 90*149=13410, Resulting Numbers: [13410] 13410,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,4 Current State: 99:[90, 39, 22], Operations: ['66-44=22'] Exploring Operation: 39+22=61, Resulting Numbers: [90, 61] Generated Node #0,4,0: 99:[90, 61] Operation: 39+22=61 Exploring Operation: 90-22=68, Resulting Numbers: [39, 68] Generated Node #0,4,1: 99:[39, 68] Operation: 90-22=68 Exploring Operation: 90+22=112, Resulting Numbers: [39, 112] Generated Node #0,4,2: 99:[39, 112] Operation: 90+22=112 Exploring Operation: 90-39=51, Resulting Numbers: [22, 51] Generated Node #0,4,3: 99:[22, 51] Operation: 90-39=51 Exploring Operation: 39-22=17, Resulting Numbers: [90, 17] Generated Node #0,4,4: 99:[90, 17] Operation: 39-22=17 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 99:[90, 17], Operations: ['66-44=22', '39-22=17'] Exploring Operation: 90+17=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 90*17=1530, Resulting Numbers: [1530] 1530,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,4,2 Current State: 99:[39, 112], Operations: ['66-44=22', '90+22=112'] Exploring Operation: 39*112=4368, Resulting Numbers: [4368] 4368,99 unequal: No Solution Exploring Operation: 112-39=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 39+112=151, Resulting Numbers: [151] 151,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,4,3 Current State: 99:[22, 51], Operations: ['66-44=22', '90-39=51'] Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 22*51=1122, Resulting Numbers: [1122] 1122,99 unequal: No Solution Exploring Operation: 22+51=73, Resulting Numbers: [73] 73,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,4,0 Current State: 99:[90, 61], Operations: ['66-44=22', '39+22=61'] Exploring Operation: 90+61=151, Resulting Numbers: [151] 151,99 unequal: No Solution Exploring Operation: 90*61=5490, Resulting Numbers: [5490] 5490,99 unequal: No Solution Exploring Operation: 90-61=29, Resulting Numbers: [29] 29,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,4,1 Current State: 99:[39, 68], Operations: ['66-44=22', '90-22=68'] Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,99 unequal: No Solution Exploring Operation: 39+68=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 39*68=2652, Resulting Numbers: [2652] 2652,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 No solution found.
0
hs_5
sum_heuristic
[ 68, 79, 93, 7 ]
96
[ "93-68=25", "7*25=175", "175-79=96" ]
Current State: 96:[68, 79, 93, 7], Operations: [] Exploring Operation: 93-68=25, Resulting Numbers: [79, 7, 25] Generated Node #2: [79, 7, 25] from Operation: 93-68=25 Current State: 96:[79, 7, 25], Operations: ['93-68=25'] Exploring Operation: 7*25=175, Resulting Numbers: [79, 175] Generated Node #3: [79, 175] from Operation: 7*25=175 Current State: 96:[79, 175], Operations: ['93-68=25', '7*25=175'] Exploring Operation: 175-79=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[68, 79, 93, 7], Operations: [] Exploring Operation: 93-68=25, Resulting Numbers: [79, 7, 25] Generated Node #0,0: 96:[79, 7, 25] Operation: 93-68=25 Exploring Operation: 79-68=11, Resulting Numbers: [93, 7, 11] Generated Node #0,1: 96:[93, 7, 11] Operation: 79-68=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[93, 7, 11], Operations: ['79-68=11'] Exploring Operation: 93+7=100, Resulting Numbers: [11, 100] Generated Node #0,1,0: 96:[11, 100] Operation: 93+7=100 Exploring Operation: 11-7=4, Resulting Numbers: [93, 4] Generated Node #0,1,1: 96:[93, 4] Operation: 11-7=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[93, 4], Operations: ['79-68=11', '11-7=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[11, 100], Operations: ['79-68=11', '93+7=100'] Exploring Operation: 11+100=111, Resulting Numbers: [111] 111,96 unequal: No Solution Exploring Operation: 100-11=89, Resulting Numbers: [89] 89,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[79, 7, 25], Operations: ['93-68=25'] Exploring Operation: 79-25=54, Resulting Numbers: [7, 54] Generated Node #0,0,0: 96:[7, 54] Operation: 79-25=54 Exploring Operation: 79+25=104, Resulting Numbers: [7, 104] Generated Node #0,0,1: 96:[7, 104] Operation: 79+25=104 Moving to Node #0,0,0 Current State: 96:[7, 54], Operations: ['93-68=25', '79-25=54'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 7+54=61, Resulting Numbers: [61] 61,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[7, 104], Operations: ['93-68=25', '79+25=104'] Exploring Operation: 104-7=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 7+104=111, Resulting Numbers: [111] 111,96 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
[ 49, 86, 45, 34 ]
48
[ "86-49=37", "45-34=11", "37+11=48" ]
Current State: 48:[49, 86, 45, 34], Operations: [] Exploring Operation: 86-49=37, Resulting Numbers: [45, 34, 37] Generated Node #2: [45, 34, 37] from Operation: 86-49=37 Current State: 48:[45, 34, 37], Operations: ['86-49=37'] Exploring Operation: 45-34=11, Resulting Numbers: [37, 11] Generated Node #3: [37, 11] from Operation: 45-34=11 Current State: 48:[37, 11], Operations: ['86-49=37', '45-34=11'] Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[49, 86, 45, 34], Operations: [] Exploring Operation: 86-45=41, Resulting Numbers: [49, 34, 41] Generated Node #0,0: 48:[49, 34, 41] Operation: 86-45=41 Exploring Operation: 86-34=52, Resulting Numbers: [49, 45, 52] Generated Node #0,1: 48:[49, 45, 52] Operation: 86-34=52 Exploring Operation: 86-49=37, Resulting Numbers: [45, 34, 37] Generated Node #0,2: 48:[45, 34, 37] Operation: 86-49=37 Moving to Node #0,1 Current State: 48:[49, 45, 52], Operations: ['86-34=52'] Exploring Operation: 52-49=3, Resulting Numbers: [45, 3] Generated Node #0,1,0: 48:[45, 3] Operation: 52-49=3 Exploring Operation: 52-45=7, Resulting Numbers: [49, 7] Generated Node #0,1,1: 48:[49, 7] Operation: 52-45=7 Exploring Operation: 49-45=4, Resulting Numbers: [52, 4] Generated Node #0,1,2: 48:[52, 4] Operation: 49-45=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[49, 7], Operations: ['86-34=52', '52-45=7'] Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[45, 3], Operations: ['86-34=52', '52-49=3'] Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[49, 86, 45, 34], Operations: [] Exploring Operation: 86-34=52, Resulting Numbers: [49, 45, 52] Generated Node #0,1: 48:[49, 45, 52] Operation: 86-34=52 Moving to Node #0,1 Current State: 48:[49, 45, 52], Operations: ['86-34=52'] Exploring Operation: 52-49=3, Resulting Numbers: [45, 3] Generated Node #0,1,0: 48:[45, 3] Operation: 52-49=3 Moving to Node #0,1,0 Current State: 48:[45, 3], Operations: ['86-34=52', '52-49=3'] Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 92, 83, 64, 37 ]
36
[ "92-83=9", "64-37=27", "9+27=36" ]
Current State: 36:[92, 83, 64, 37], Operations: [] Exploring Operation: 92-83=9, Resulting Numbers: [64, 37, 9] Generated Node #2: [64, 37, 9] from Operation: 92-83=9 Current State: 36:[64, 37, 9], Operations: ['92-83=9'] Exploring Operation: 64-37=27, Resulting Numbers: [9, 27] Generated Node #3: [9, 27] from Operation: 64-37=27 Current State: 36:[9, 27], Operations: ['92-83=9', '64-37=27'] Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[92, 83, 64, 37], Operations: [] Exploring Operation: 92-64=28, Resulting Numbers: [83, 37, 28] Generated Node #0,0: 36:[83, 37, 28] Operation: 92-64=28 Exploring Operation: 92-37=55, Resulting Numbers: [83, 64, 55] Generated Node #0,1: 36:[83, 64, 55] Operation: 92-37=55 Exploring Operation: 92-83=9, Resulting Numbers: [64, 37, 9] Generated Node #0,2: 36:[64, 37, 9] Operation: 92-83=9 Exploring Operation: 83-64=19, Resulting Numbers: [92, 37, 19] Generated Node #0,3: 36:[92, 37, 19] Operation: 83-64=19 Moving to Node #0,2 Current State: 36:[64, 37, 9], Operations: ['92-83=9'] Exploring Operation: 37-9=28, Resulting Numbers: [64, 28] Generated Node #0,2,0: 36:[64, 28] Operation: 37-9=28 Exploring Operation: 64-9=55, Resulting Numbers: [37, 55] Generated Node #0,2,1: 36:[37, 55] Operation: 64-9=55 Exploring Operation: 64+9=73, Resulting Numbers: [37, 73] Generated Node #0,2,2: 36:[37, 73] Operation: 64+9=73 Exploring Operation: 64-37=27, Resulting Numbers: [9, 27] Generated Node #0,2,3: 36:[9, 27] Operation: 64-37=27 Moving to Node #0,0 Current State: 36:[83, 37, 28], Operations: ['92-64=28'] Exploring Operation: 83-37=46, Resulting Numbers: [28, 46] Generated Node #0,0,0: 36:[28, 46] Operation: 83-37=46 Exploring Operation: 83+28=111, Resulting Numbers: [37, 111] Generated Node #0,0,1: 36:[37, 111] Operation: 83+28=111 Exploring Operation: 83-28=55, Resulting Numbers: [37, 55] Generated Node #0,0,2: 36:[37, 55] Operation: 83-28=55 Exploring Operation: 37-28=9, Resulting Numbers: [83, 9] Generated Node #0,0,3: 36:[83, 9] Operation: 37-28=9 Moving to Node #0,3 Current State: 36:[92, 37, 19], Operations: ['83-64=19'] Exploring Operation: 92-37=55, Resulting Numbers: [19, 55] Generated Node #0,3,0: 36:[19, 55] Operation: 92-37=55 Exploring Operation: 37-19=18, Resulting Numbers: [92, 18] Generated Node #0,3,1: 36:[92, 18] Operation: 37-19=18 Exploring Operation: 92-19=73, Resulting Numbers: [37, 73] Generated Node #0,3,2: 36:[37, 73] Operation: 92-19=73 Exploring Operation: 92+19=111, Resulting Numbers: [37, 111] Generated Node #0,3,3: 36:[37, 111] Operation: 92+19=111 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 36:[19, 55], Operations: ['83-64=19', '92-37=55'] Exploring Operation: 19*55=1045, Resulting Numbers: [1045] 1045,36 unequal: No Solution Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[92, 83, 64, 37], Operations: [] Exploring Operation: 83-64=19, Resulting Numbers: [92, 37, 19] Generated Node #0,3: 36:[92, 37, 19] Operation: 83-64=19 Moving to Node #0,3 Current State: 36:[92, 37, 19], Operations: ['83-64=19'] Exploring Operation: 92-37=55, Resulting Numbers: [19, 55] Generated Node #0,3,0: 36:[19, 55] Operation: 92-37=55 Moving to Node #0,3,0 Current State: 36:[19, 55], Operations: ['83-64=19', '92-37=55'] Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 83, 79, 57, 38 ]
99
[ "83-79=4", "57+38=95", "4+95=99" ]
Current State: 99:[83, 79, 57, 38], Operations: [] Exploring Operation: 83-79=4, Resulting Numbers: [57, 38, 4] Generated Node #2: [57, 38, 4] from Operation: 83-79=4 Current State: 99:[57, 38, 4], Operations: ['83-79=4'] Exploring Operation: 57+38=95, Resulting Numbers: [4, 95] Generated Node #3: [4, 95] from Operation: 57+38=95 Current State: 99:[4, 95], Operations: ['83-79=4', '57+38=95'] Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[83, 79, 57, 38], Operations: [] Exploring Operation: 83-79=4, Resulting Numbers: [57, 38, 4] Generated Node #0,0: 99:[57, 38, 4] Operation: 83-79=4 Exploring Operation: 83-57=26, Resulting Numbers: [79, 38, 26] Generated Node #0,1: 99:[79, 38, 26] Operation: 83-57=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[57, 38, 4], Operations: ['83-79=4'] Exploring Operation: 57+38=95, Resulting Numbers: [4, 95] Generated Node #0,0,0: 99:[4, 95] Operation: 57+38=95 Exploring Operation: 57-38=19, Resulting Numbers: [4, 19] Generated Node #0,0,1: 99:[4, 19] Operation: 57-38=19 Moving to Node #0,0,0 Current State: 99:[4, 95], Operations: ['83-79=4', '57+38=95'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,99 unequal: No Solution Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[83, 79, 57, 38], Operations: [] Exploring Operation: 83-79=4, Resulting Numbers: [57, 38, 4] Generated Node #0,0: 99:[57, 38, 4] Operation: 83-79=4 Moving to Node #0,0 Current State: 99:[57, 38, 4], Operations: ['83-79=4'] Exploring Operation: 57+38=95, Resulting Numbers: [4, 95] Generated Node #0,0,0: 99:[4, 95] Operation: 57+38=95 Moving to Node #0,0,0 Current State: 99:[4, 95], Operations: ['83-79=4', '57+38=95'] Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 51, 99, 44, 35 ]
39
[ "99-51=48", "44-35=9", "48-9=39" ]
Current State: 39:[51, 99, 44, 35], Operations: [] Exploring Operation: 99-51=48, Resulting Numbers: [44, 35, 48] Generated Node #2: [44, 35, 48] from Operation: 99-51=48 Current State: 39:[44, 35, 48], Operations: ['99-51=48'] Exploring Operation: 44-35=9, Resulting Numbers: [48, 9] Generated Node #3: [48, 9] from Operation: 44-35=9 Current State: 39:[48, 9], Operations: ['99-51=48', '44-35=9'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[51, 99, 44, 35], Operations: [] Exploring Operation: 99-44=55, Resulting Numbers: [51, 35, 55] Generated Node #0,0: 39:[51, 35, 55] Operation: 99-44=55 Exploring Operation: 99-35=64, Resulting Numbers: [51, 44, 64] Generated Node #0,1: 39:[51, 44, 64] Operation: 99-35=64 Exploring Operation: 51-35=16, Resulting Numbers: [99, 44, 16] Generated Node #0,2: 39:[99, 44, 16] Operation: 51-35=16 Exploring Operation: 51-44=7, Resulting Numbers: [99, 35, 7] Generated Node #0,3: 39:[99, 35, 7] Operation: 51-44=7 Exploring Operation: 99-51=48, Resulting Numbers: [44, 35, 48] Generated Node #0,4: 39:[44, 35, 48] Operation: 99-51=48 Moving to Node #0,4 Current State: 39:[44, 35, 48], Operations: ['99-51=48'] Exploring Operation: 44+35=79, Resulting Numbers: [48, 79] Generated Node #0,4,0: 39:[48, 79] Operation: 44+35=79 Exploring Operation: 35+48=83, Resulting Numbers: [44, 83] Generated Node #0,4,1: 39:[44, 83] Operation: 35+48=83 Exploring Operation: 44-35=9, Resulting Numbers: [48, 9] Generated Node #0,4,2: 39:[48, 9] Operation: 44-35=9 Exploring Operation: 48-35=13, Resulting Numbers: [44, 13] Generated Node #0,4,3: 39:[44, 13] Operation: 48-35=13 Exploring Operation: 48-44=4, Resulting Numbers: [35, 4] Generated Node #0,4,4: 39:[35, 4] Operation: 48-44=4 Moving to Node #0,0 Current State: 39:[51, 35, 55], Operations: ['99-44=55'] Exploring Operation: 51-35=16, Resulting Numbers: [55, 16] Generated Node #0,0,0: 39:[55, 16] Operation: 51-35=16 Exploring Operation: 35+55=90, Resulting Numbers: [51, 90] Generated Node #0,0,1: 39:[51, 90] Operation: 35+55=90 Exploring Operation: 51+35=86, Resulting Numbers: [55, 86] Generated Node #0,0,2: 39:[55, 86] Operation: 51+35=86 Exploring Operation: 55-51=4, Resulting Numbers: [35, 4] Generated Node #0,0,3: 39:[35, 4] Operation: 55-51=4 Exploring Operation: 55-35=20, Resulting Numbers: [51, 20] Generated Node #0,0,4: 39:[51, 20] Operation: 55-35=20 Moving to Node #0,1 Current State: 39:[51, 44, 64], Operations: ['99-35=64'] Exploring Operation: 51+64=115, Resulting Numbers: [44, 115] Generated Node #0,1,0: 39:[44, 115] Operation: 51+64=115 Exploring Operation: 64-44=20, Resulting Numbers: [51, 20] Generated Node #0,1,1: 39:[51, 20] Operation: 64-44=20 Exploring Operation: 64-51=13, Resulting Numbers: [44, 13] Generated Node #0,1,2: 39:[44, 13] Operation: 64-51=13 Exploring Operation: 51-44=7, Resulting Numbers: [64, 7] Generated Node #0,1,3: 39:[64, 7] Operation: 51-44=7 Exploring Operation: 51+44=95, Resulting Numbers: [64, 95] Generated Node #0,1,4: 39:[64, 95] Operation: 51+44=95 Moving to Node #0,2 Current State: 39:[99, 44, 16], Operations: ['51-35=16'] Exploring Operation: 99-44=55, Resulting Numbers: [16, 55] Generated Node #0,2,0: 39:[16, 55] Operation: 99-44=55 Exploring Operation: 44+16=60, Resulting Numbers: [99, 60] Generated Node #0,2,1: 39:[99, 60] Operation: 44+16=60 Exploring Operation: 44-16=28, Resulting Numbers: [99, 28] Generated Node #0,2,2: 39:[99, 28] Operation: 44-16=28 Exploring Operation: 99-16=83, Resulting Numbers: [44, 83] Generated Node #0,2,3: 39:[44, 83] Operation: 99-16=83 Exploring Operation: 99+16=115, Resulting Numbers: [44, 115] Generated Node #0,2,4: 39:[44, 115] Operation: 99+16=115 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 39:[16, 55], Operations: ['51-35=16', '99-44=55'] Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[51, 99, 44, 35], Operations: [] Exploring Operation: 51-35=16, Resulting Numbers: [99, 44, 16] Generated Node #0,2: 39:[99, 44, 16] Operation: 51-35=16 Moving to Node #0,2 Current State: 39:[99, 44, 16], Operations: ['51-35=16'] Exploring Operation: 99-44=55, Resulting Numbers: [16, 55] Generated Node #0,2,0: 39:[16, 55] Operation: 99-44=55 Moving to Node #0,2,0 Current State: 39:[16, 55], Operations: ['51-35=16', '99-44=55'] Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_5
sum_heuristic
[ 93, 86, 55, 46 ]
49
[ "86-55=31", "93/31=3", "46+3=49" ]
Current State: 49:[93, 86, 55, 46], Operations: [] Exploring Operation: 86-55=31, Resulting Numbers: [93, 46, 31] Generated Node #2: [93, 46, 31] from Operation: 86-55=31 Current State: 49:[93, 46, 31], Operations: ['86-55=31'] Exploring Operation: 93/31=3, Resulting Numbers: [46, 3] Generated Node #3: [46, 3] from Operation: 93/31=3 Current State: 49:[46, 3], Operations: ['86-55=31', '93/31=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[93, 86, 55, 46], Operations: [] Exploring Operation: 93-86=7, Resulting Numbers: [55, 46, 7] Generated Node #0,0: 49:[55, 46, 7] Operation: 93-86=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[55, 46, 7], Operations: ['93-86=7'] Exploring Operation: 55-46=9, Resulting Numbers: [7, 9] Generated Node #0,0,0: 49:[7, 9] Operation: 55-46=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[7, 9], Operations: ['93-86=7', '55-46=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 3, 39, 23, 82 ]
95
[ "39-3=36", "82-23=59", "36+59=95" ]
Current State: 95:[3, 39, 23, 82], Operations: [] Exploring Operation: 39-3=36, Resulting Numbers: [23, 82, 36] Generated Node #2: [23, 82, 36] from Operation: 39-3=36 Current State: 95:[23, 82, 36], Operations: ['39-3=36'] Exploring Operation: 82-23=59, Resulting Numbers: [36, 59] Generated Node #3: [36, 59] from Operation: 82-23=59 Current State: 95:[36, 59], Operations: ['39-3=36', '82-23=59'] Exploring Operation: 36+59=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[3, 39, 23, 82], Operations: [] Exploring Operation: 39/3=13, Resulting Numbers: [23, 82, 13] Generated Node #0,0: 95:[23, 82, 13] Operation: 39/3=13 Exploring Operation: 39-23=16, Resulting Numbers: [3, 82, 16] Generated Node #0,1: 95:[3, 82, 16] Operation: 39-23=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[3, 82, 16], Operations: ['39-23=16'] Exploring Operation: 3+82=85, Resulting Numbers: [16, 85] Generated Node #0,1,0: 95:[16, 85] Operation: 3+82=85 Exploring Operation: 82+16=98, Resulting Numbers: [3, 98] Generated Node #0,1,1: 95:[3, 98] Operation: 82+16=98 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[3, 98], Operations: ['39-23=16', '82+16=98'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[3, 39, 23, 82], Operations: [] Exploring Operation: 39-23=16, Resulting Numbers: [3, 82, 16] Generated Node #0,1: 95:[3, 82, 16] Operation: 39-23=16 Moving to Node #0,1 Current State: 95:[3, 82, 16], Operations: ['39-23=16'] Exploring Operation: 82+16=98, Resulting Numbers: [3, 98] Generated Node #0,1,1: 95:[3, 98] Operation: 82+16=98 Moving to Node #0,1,1 Current State: 95:[3, 98], Operations: ['39-23=16', '82+16=98'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 31, 41, 96, 6 ]
100
[ "41-31=10", "96-6=90", "10+90=100" ]
Current State: 100:[31, 41, 96, 6], Operations: [] Exploring Operation: 41-31=10, Resulting Numbers: [96, 6, 10] Generated Node #2: [96, 6, 10] from Operation: 41-31=10 Current State: 100:[96, 6, 10], Operations: ['41-31=10'] Exploring Operation: 96-6=90, Resulting Numbers: [10, 90] Generated Node #3: [10, 90] from Operation: 96-6=90 Current State: 100:[10, 90], Operations: ['41-31=10', '96-6=90'] Exploring Operation: 10+90=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[31, 41, 96, 6], Operations: [] Exploring Operation: 41-31=10, Resulting Numbers: [96, 6, 10] Generated Node #0,0: 100:[96, 6, 10] Operation: 41-31=10 Exploring Operation: 96-41=55, Resulting Numbers: [31, 6, 55] Generated Node #0,1: 100:[31, 6, 55] Operation: 96-41=55 Exploring Operation: 96+6=102, Resulting Numbers: [31, 41, 102] Generated Node #0,2: 100:[31, 41, 102] Operation: 96+6=102 Exploring Operation: 31-6=25, Resulting Numbers: [41, 96, 25] Generated Node #0,3: 100:[41, 96, 25] Operation: 31-6=25 Exploring Operation: 41+6=47, Resulting Numbers: [31, 96, 47] Generated Node #0,4: 100:[31, 96, 47] Operation: 41+6=47 Moving to Node #0,0 Current State: 100:[96, 6, 10], Operations: ['41-31=10'] Exploring Operation: 96/6=16, Resulting Numbers: [10, 16] Generated Node #0,0,0: 100:[10, 16] Operation: 96/6=16 Exploring Operation: 96+10=106, Resulting Numbers: [6, 106] Generated Node #0,0,1: 100:[6, 106] Operation: 96+10=106 Exploring Operation: 96+6=102, Resulting Numbers: [10, 102] Generated Node #0,0,2: 100:[10, 102] Operation: 96+6=102 Exploring Operation: 6+10=16, Resulting Numbers: [96, 16] Generated Node #0,0,3: 100:[96, 16] Operation: 6+10=16 Exploring Operation: 10-6=4, Resulting Numbers: [96, 4] Generated Node #0,0,4: 100:[96, 4] Operation: 10-6=4 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 100:[10, 102], Operations: ['41-31=10', '96+6=102'] Exploring Operation: 102-10=92, Resulting Numbers: [92] 92,100 unequal: No Solution Exploring Operation: 10*102=1020, Resulting Numbers: [1020] 1020,100 unequal: No Solution Exploring Operation: 10+102=112, Resulting Numbers: [112] 112,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[10, 16], Operations: ['41-31=10', '96/6=16'] Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,100 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 100:[96, 4], Operations: ['41-31=10', '10-6=4'] Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[31, 41, 96, 6], Operations: [] Exploring Operation: 41-31=10, Resulting Numbers: [96, 6, 10] Generated Node #0,0: 100:[96, 6, 10] Operation: 41-31=10 Moving to Node #0,0 Current State: 100:[96, 6, 10], Operations: ['41-31=10'] Exploring Operation: 10-6=4, Resulting Numbers: [96, 4] Generated Node #0,0,4: 100:[96, 4] Operation: 10-6=4 Moving to Node #0,0,4 Current State: 100:[96, 4], Operations: ['41-31=10', '10-6=4'] Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 86, 33, 27, 36 ]
92
[ "33-27=6", "36/6=6", "86+6=92" ]
Current State: 92:[86, 33, 27, 36], Operations: [] Exploring Operation: 33-27=6, Resulting Numbers: [86, 36, 6] Generated Node #2: [86, 36, 6] from Operation: 33-27=6 Current State: 92:[86, 36, 6], Operations: ['33-27=6'] Exploring Operation: 36/6=6, Resulting Numbers: [86, 6] Generated Node #3: [86, 6] from Operation: 36/6=6 Current State: 92:[86, 6], Operations: ['33-27=6', '36/6=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[86, 33, 27, 36], Operations: [] Exploring Operation: 86-33=53, Resulting Numbers: [27, 36, 53] Generated Node #0,0: 92:[27, 36, 53] Operation: 86-33=53 Exploring Operation: 36-27=9, Resulting Numbers: [86, 33, 9] Generated Node #0,1: 92:[86, 33, 9] Operation: 36-27=9 Exploring Operation: 33-27=6, Resulting Numbers: [86, 36, 6] Generated Node #0,2: 92:[86, 36, 6] Operation: 33-27=6 Exploring Operation: 86-36=50, Resulting Numbers: [33, 27, 50] Generated Node #0,3: 92:[33, 27, 50] Operation: 86-36=50 Exploring Operation: 36-33=3, Resulting Numbers: [86, 27, 3] Generated Node #0,4: 92:[86, 27, 3] Operation: 36-33=3 Moving to Node #0,4 Current State: 92:[86, 27, 3], Operations: ['36-33=3'] Exploring Operation: 86-3=83, Resulting Numbers: [27, 83] Generated Node #0,4,0: 92:[27, 83] Operation: 86-3=83 Exploring Operation: 86+3=89, Resulting Numbers: [27, 89] Generated Node #0,4,1: 92:[27, 89] Operation: 86+3=89 Exploring Operation: 27+3=30, Resulting Numbers: [86, 30] Generated Node #0,4,2: 92:[86, 30] Operation: 27+3=30 Exploring Operation: 27/3=9, Resulting Numbers: [86, 9] Generated Node #0,4,3: 92:[86, 9] Operation: 27/3=9 Exploring Operation: 27-3=24, Resulting Numbers: [86, 24] Generated Node #0,4,4: 92:[86, 24] Operation: 27-3=24 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 92:[27, 89], Operations: ['36-33=3', '86+3=89'] Exploring Operation: 27*89=2403, Resulting Numbers: [2403] 2403,92 unequal: No Solution Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 27+89=116, Resulting Numbers: [116] 116,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,4,4 Current State: 92:[86, 24], Operations: ['36-33=3', '27-3=24'] Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 86+24=110, Resulting Numbers: [110] 110,92 unequal: No Solution Exploring Operation: 86*24=2064, Resulting Numbers: [2064] 2064,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,4,3 Current State: 92:[86, 9], Operations: ['36-33=3', '27/3=9'] Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,92 unequal: No Solution Exploring Operation: 86*9=774, Resulting Numbers: [774] 774,92 unequal: No Solution Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,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,4,0 Current State: 92:[27, 83], Operations: ['36-33=3', '86-3=83'] Exploring Operation: 27+83=110, Resulting Numbers: [110] 110,92 unequal: No Solution Exploring Operation: 27*83=2241, Resulting Numbers: [2241] 2241,92 unequal: No Solution Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,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,4,2 Current State: 92:[86, 30], Operations: ['36-33=3', '27+3=30'] Exploring Operation: 86+30=116, Resulting Numbers: [116] 116,92 unequal: No Solution Exploring Operation: 86*30=2580, Resulting Numbers: [2580] 2580,92 unequal: No Solution Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,92 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: 92:[33, 27, 50], Operations: ['86-36=50'] Exploring Operation: 33-27=6, Resulting Numbers: [50, 6] Generated Node #0,3,0: 92:[50, 6] Operation: 33-27=6 Exploring Operation: 33+27=60, Resulting Numbers: [50, 60] Generated Node #0,3,1: 92:[50, 60] Operation: 33+27=60 Exploring Operation: 50-33=17, Resulting Numbers: [27, 17] Generated Node #0,3,2: 92:[27, 17] Operation: 50-33=17 Exploring Operation: 50-27=23, Resulting Numbers: [33, 23] Generated Node #0,3,3: 92:[33, 23] Operation: 50-27=23 Exploring Operation: 33+50=83, Resulting Numbers: [27, 83] Generated Node #0,3,4: 92:[27, 83] Operation: 33+50=83 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 92:[50, 6], Operations: ['86-36=50', '33-27=6'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,92 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,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,3,2 Current State: 92:[27, 17], Operations: ['86-36=50', '50-33=17'] Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,92 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,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,3,3 Current State: 92:[33, 23], Operations: ['86-36=50', '50-27=23'] Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 33*23=759, Resulting Numbers: [759] 759,92 unequal: No Solution Exploring Operation: 33+23=56, Resulting Numbers: [56] 56,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,3,4 Current State: 92:[27, 83], Operations: ['86-36=50', '33+50=83'] Exploring Operation: 27*83=2241, Resulting Numbers: [2241] 2241,92 unequal: No Solution Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 27+83=110, Resulting Numbers: [110] 110,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,3,1 Current State: 92:[50, 60], Operations: ['86-36=50', '33+27=60'] Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 50+60=110, Resulting Numbers: [110] 110,92 unequal: No Solution Exploring Operation: 50*60=3000, Resulting Numbers: [3000] 3000,92 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: 92:[86, 36, 6], Operations: ['33-27=6'] Exploring Operation: 36+6=42, Resulting Numbers: [86, 42] Generated Node #0,2,0: 92:[86, 42] Operation: 36+6=42 Exploring Operation: 86-36=50, Resulting Numbers: [6, 50] Generated Node #0,2,1: 92:[6, 50] Operation: 86-36=50 Exploring Operation: 36/6=6, Resulting Numbers: [86, 6] Generated Node #0,2,2: 92:[86, 6] Operation: 36/6=6 Exploring Operation: 86+6=92, Resulting Numbers: [36, 92] Generated Node #0,2,3: 92:[36, 92] Operation: 86+6=92 Exploring Operation: 36-6=30, Resulting Numbers: [86, 30] Generated Node #0,2,4: 92:[86, 30] Operation: 36-6=30 Moving to Node #0,0 Current State: 92:[27, 36, 53], Operations: ['86-33=53'] Exploring Operation: 36-27=9, Resulting Numbers: [53, 9] Generated Node #0,0,0: 92:[53, 9] Operation: 36-27=9 Exploring Operation: 53-36=17, Resulting Numbers: [27, 17] Generated Node #0,0,1: 92:[27, 17] Operation: 53-36=17 Exploring Operation: 36+53=89, Resulting Numbers: [27, 89] Generated Node #0,0,2: 92:[27, 89] Operation: 36+53=89 Exploring Operation: 53-27=26, Resulting Numbers: [36, 26] Generated Node #0,0,3: 92:[36, 26] Operation: 53-27=26 Exploring Operation: 27+53=80, Resulting Numbers: [36, 80] Generated Node #0,0,4: 92:[36, 80] Operation: 27+53=80 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 92:[27, 89], Operations: ['86-33=53', '36+53=89'] Exploring Operation: 27+89=116, Resulting Numbers: [116] 116,92 unequal: No Solution Exploring Operation: 27*89=2403, Resulting Numbers: [2403] 2403,92 unequal: No Solution Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[27, 17], Operations: ['86-33=53', '53-36=17'] Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[53, 9], Operations: ['86-33=53', '36-27=9'] Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 53*9=477, Resulting Numbers: [477] 477,92 unequal: No Solution Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 92:[36, 26], Operations: ['86-33=53', '53-27=26'] Exploring Operation: 36+26=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 36*26=936, Resulting Numbers: [936] 936,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 92:[36, 80], Operations: ['86-33=53', '27+53=80'] Exploring Operation: 36+80=116, Resulting Numbers: [116] 116,92 unequal: No Solution Exploring Operation: 36*80=2880, Resulting Numbers: [2880] 2880,92 unequal: No Solution Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,92 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: 92:[86, 33, 9], Operations: ['36-27=9'] Exploring Operation: 86+9=95, Resulting Numbers: [33, 95] Generated Node #0,1,0: 92:[33, 95] Operation: 86+9=95 Exploring Operation: 33+9=42, Resulting Numbers: [86, 42] Generated Node #0,1,1: 92:[86, 42] Operation: 33+9=42 Exploring Operation: 86-33=53, Resulting Numbers: [9, 53] Generated Node #0,1,2: 92:[9, 53] Operation: 86-33=53 Exploring Operation: 86-9=77, Resulting Numbers: [33, 77] Generated Node #0,1,3: 92:[33, 77] Operation: 86-9=77 Exploring Operation: 33-9=24, Resulting Numbers: [86, 24] Generated Node #0,1,4: 92:[86, 24] Operation: 33-9=24 Moving to Node #0,2,1 Current State: 92:[6, 50], Operations: ['33-27=6', '86-36=50'] Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,92 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,92 unequal: No Solution Moving to Node #0,1,4 Current State: 92:[86, 24], Operations: ['36-27=9', '33-9=24'] Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 86*24=2064, Resulting Numbers: [2064] 2064,92 unequal: No Solution Exploring Operation: 86+24=110, Resulting Numbers: [110] 110,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[86, 6], Operations: ['33-27=6', '36/6=6'] Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,92 unequal: No Solution Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[86, 33, 27, 36], Operations: [] Exploring Operation: 33-27=6, Resulting Numbers: [86, 36, 6] Generated Node #0,2: 92:[86, 36, 6] Operation: 33-27=6 Moving to Node #0,2 Current State: 92:[86, 36, 6], Operations: ['33-27=6'] Exploring Operation: 36/6=6, Resulting Numbers: [86, 6] Generated Node #0,2,2: 92:[86, 6] Operation: 36/6=6 Moving to Node #0,2,2 Current State: 92:[86, 6], Operations: ['33-27=6', '36/6=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.924479
hs_5
mult_heuristic
[ 10, 41, 71, 69 ]
21
[ "71-69=2", "10*2=20", "41-20=21" ]
Current State: 21:[10, 41, 71, 69], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [10, 41, 2] Generated Node #2: [10, 41, 2] from Operation: 71-69=2 Current State: 21:[10, 41, 2], Operations: ['71-69=2'] Exploring Operation: 10*2=20, Resulting Numbers: [41, 20] Generated Node #3: [41, 20] from Operation: 10*2=20 Current State: 21:[41, 20], Operations: ['71-69=2', '10*2=20'] Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[10, 41, 71, 69], Operations: [] Exploring Operation: 71-41=30, Resulting Numbers: [10, 69, 30] Generated Node #0,0: 21:[10, 69, 30] Operation: 71-41=30 Exploring Operation: 71-69=2, Resulting Numbers: [10, 41, 2] Generated Node #0,1: 21:[10, 41, 2] Operation: 71-69=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[10, 41, 2], Operations: ['71-69=2'] Exploring Operation: 41-10=31, Resulting Numbers: [2, 31] Generated Node #0,1,0: 21:[2, 31] Operation: 41-10=31 Exploring Operation: 10*2=20, Resulting Numbers: [41, 20] Generated Node #0,1,1: 21:[41, 20] Operation: 10*2=20 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 21:[2, 31], Operations: ['71-69=2', '41-10=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,21 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,21 unequal: No Solution No 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: 21:[41, 20], Operations: ['71-69=2', '10*2=20'] Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,21 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[10, 41, 71, 69], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [10, 41, 2] Generated Node #0,1: 21:[10, 41, 2] Operation: 71-69=2 Moving to Node #0,1 Current State: 21:[10, 41, 2], Operations: ['71-69=2'] Exploring Operation: 10*2=20, Resulting Numbers: [41, 20] Generated Node #0,1,1: 21:[41, 20] Operation: 10*2=20 Moving to Node #0,1,1 Current State: 21:[41, 20], Operations: ['71-69=2', '10*2=20'] Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 42, 10, 24, 23 ]
33
[ "42-10=32", "24-23=1", "32+1=33" ]
Current State: 33:[42, 10, 24, 23], Operations: [] Exploring Operation: 42-10=32, Resulting Numbers: [24, 23, 32] Generated Node #2: [24, 23, 32] from Operation: 42-10=32 Current State: 33:[24, 23, 32], Operations: ['42-10=32'] Exploring Operation: 24-23=1, Resulting Numbers: [32, 1] Generated Node #3: [32, 1] from Operation: 24-23=1 Current State: 33:[32, 1], Operations: ['42-10=32', '24-23=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[42, 10, 24, 23], Operations: [] Exploring Operation: 42-24=18, Resulting Numbers: [10, 23, 18] Generated Node #0,0: 33:[10, 23, 18] Operation: 42-24=18 Exploring Operation: 24-23=1, Resulting Numbers: [42, 10, 1] Generated Node #0,1: 33:[42, 10, 1] Operation: 24-23=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[42, 10, 1], Operations: ['24-23=1'] Exploring Operation: 42-1=41, Resulting Numbers: [10, 41] Generated Node #0,1,0: 33:[10, 41] Operation: 42-1=41 Exploring Operation: 42-10=32, Resulting Numbers: [1, 32] Generated Node #0,1,1: 33:[1, 32] Operation: 42-10=32 Moving to Node #0,1,1 Current State: 33:[1, 32], Operations: ['24-23=1', '42-10=32'] Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[42, 10, 24, 23], Operations: [] Exploring Operation: 24-23=1, Resulting Numbers: [42, 10, 1] Generated Node #0,1: 33:[42, 10, 1] Operation: 24-23=1 Moving to Node #0,1 Current State: 33:[42, 10, 1], Operations: ['24-23=1'] Exploring Operation: 42-10=32, Resulting Numbers: [1, 32] Generated Node #0,1,1: 33:[1, 32] Operation: 42-10=32 Moving to Node #0,1,1 Current State: 33:[1, 32], Operations: ['24-23=1', '42-10=32'] Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 34, 7, 91, 3 ]
47
[ "34+7=41", "91-3=88", "88-41=47" ]
Current State: 47:[34, 7, 91, 3], Operations: [] Exploring Operation: 34+7=41, Resulting Numbers: [91, 3, 41] Generated Node #2: [91, 3, 41] from Operation: 34+7=41 Current State: 47:[91, 3, 41], Operations: ['34+7=41'] Exploring Operation: 91-3=88, Resulting Numbers: [41, 88] Generated Node #3: [41, 88] from Operation: 91-3=88 Current State: 47:[41, 88], Operations: ['34+7=41', '91-3=88'] Exploring Operation: 88-41=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[34, 7, 91, 3], Operations: [] Exploring Operation: 7*3=21, Resulting Numbers: [34, 91, 21] Generated Node #0,0: 47:[34, 91, 21] Operation: 7*3=21 Exploring Operation: 91-34=57, Resulting Numbers: [7, 3, 57] Generated Node #0,1: 47:[7, 3, 57] Operation: 91-34=57 Exploring Operation: 91/7=13, Resulting Numbers: [34, 3, 13] Generated Node #0,2: 47:[34, 3, 13] Operation: 91/7=13 Exploring Operation: 34+7=41, Resulting Numbers: [91, 3, 41] Generated Node #0,3: 47:[91, 3, 41] Operation: 34+7=41 Moving to Node #0,0 Current State: 47:[34, 91, 21], Operations: ['7*3=21'] Exploring Operation: 34-21=13, Resulting Numbers: [91, 13] Generated Node #0,0,0: 47:[91, 13] Operation: 34-21=13 Exploring Operation: 91-21=70, Resulting Numbers: [34, 70] Generated Node #0,0,1: 47:[34, 70] Operation: 91-21=70 Exploring Operation: 34+21=55, Resulting Numbers: [91, 55] Generated Node #0,0,2: 47:[91, 55] Operation: 34+21=55 Exploring Operation: 91-34=57, Resulting Numbers: [21, 57] Generated Node #0,0,3: 47:[21, 57] Operation: 91-34=57 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[34, 70], Operations: ['7*3=21', '91-21=70'] Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,47 unequal: No Solution Exploring Operation: 34*70=2380, Resulting Numbers: [2380] 2380,47 unequal: No Solution Exploring Operation: 34+70=104, Resulting Numbers: [104] 104,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[21, 57], Operations: ['7*3=21', '91-34=57'] Exploring Operation: 21+57=78, Resulting Numbers: [78] 78,47 unequal: No Solution Exploring Operation: 21*57=1197, Resulting Numbers: [1197] 1197,47 unequal: No Solution Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[91, 55], Operations: ['7*3=21', '34+21=55'] Exploring Operation: 91+55=146, Resulting Numbers: [146] 146,47 unequal: No Solution Exploring Operation: 91*55=5005, Resulting Numbers: [5005] 5005,47 unequal: No Solution Exploring Operation: 91-55=36, Resulting Numbers: [36] 36,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[91, 13], Operations: ['7*3=21', '34-21=13'] Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,47 unequal: No Solution Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,47 unequal: No Solution Exploring Operation: 91*13=1183, Resulting Numbers: [1183] 1183,47 unequal: No Solution Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,47 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: 47:[34, 3, 13], Operations: ['91/7=13'] Exploring Operation: 3+13=16, Resulting Numbers: [34, 16] Generated Node #0,2,0: 47:[34, 16] Operation: 3+13=16 Exploring Operation: 3*13=39, Resulting Numbers: [34, 39] Generated Node #0,2,1: 47:[34, 39] Operation: 3*13=39 Exploring Operation: 34+3=37, Resulting Numbers: [13, 37] Generated Node #0,2,2: 47:[13, 37] Operation: 34+3=37 Exploring Operation: 34+13=47, Resulting Numbers: [3, 47] Generated Node #0,2,3: 47:[3, 47] Operation: 34+13=47 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[34, 39], Operations: ['91/7=13', '3*13=39'] Exploring Operation: 34*39=1326, Resulting Numbers: [1326] 1326,47 unequal: No Solution Exploring Operation: 34+39=73, Resulting Numbers: [73] 73,47 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[34, 16], Operations: ['91/7=13', '3+13=16'] Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,47 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[13, 37], Operations: ['91/7=13', '34+3=37'] Exploring Operation: 13*37=481, Resulting Numbers: [481] 481,47 unequal: No Solution Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 47:[3, 47], Operations: ['91/7=13', '34+13=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,47 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,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:[91, 3, 41], Operations: ['34+7=41'] Exploring Operation: 3+41=44, Resulting Numbers: [91, 44] Generated Node #0,3,0: 47:[91, 44] Operation: 3+41=44 Exploring Operation: 91-3=88, Resulting Numbers: [41, 88] Generated Node #0,3,1: 47:[41, 88] Operation: 91-3=88 Exploring Operation: 91+3=94, Resulting Numbers: [41, 94] Generated Node #0,3,2: 47:[41, 94] Operation: 91+3=94 Exploring Operation: 91-41=50, Resulting Numbers: [3, 50] Generated Node #0,3,3: 47:[3, 50] Operation: 91-41=50 Moving to Node #0,1 Current State: 47:[7, 3, 57], Operations: ['91-34=57'] Exploring Operation: 7*3=21, Resulting Numbers: [57, 21] Generated Node #0,1,0: 47:[57, 21] Operation: 7*3=21 Exploring Operation: 57-7=50, Resulting Numbers: [3, 50] Generated Node #0,1,1: 47:[3, 50] Operation: 57-7=50 Exploring Operation: 57-3=54, Resulting Numbers: [7, 54] Generated Node #0,1,2: 47:[7, 54] Operation: 57-3=54 Exploring Operation: 7+3=10, Resulting Numbers: [57, 10] Generated Node #0,1,3: 47:[57, 10] Operation: 7+3=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[57, 21], Operations: ['91-34=57', '7*3=21'] Exploring Operation: 57*21=1197, Resulting Numbers: [1197] 1197,47 unequal: No Solution Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,47 unequal: No Solution Exploring Operation: 57+21=78, Resulting Numbers: [78] 78,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[3, 50], Operations: ['91-34=57', '57-7=50'] Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,47 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[34, 7, 91, 3], Operations: [] Exploring Operation: 91-34=57, Resulting Numbers: [7, 3, 57] Generated Node #0,1: 47:[7, 3, 57] Operation: 91-34=57 Moving to Node #0,1 Current State: 47:[7, 3, 57], Operations: ['91-34=57'] Exploring Operation: 57-7=50, Resulting Numbers: [3, 50] Generated Node #0,1,1: 47:[3, 50] Operation: 57-7=50 Moving to Node #0,1,1 Current State: 47:[3, 50], Operations: ['91-34=57', '57-7=50'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.953125
hs_4
sum_heuristic
[ 21, 53, 62, 49 ]
21
[ "62-53=9", "49*9=441", "441/21=21" ]
Current State: 21:[21, 53, 62, 49], Operations: [] Exploring Operation: 62-53=9, Resulting Numbers: [21, 49, 9] Generated Node #2: [21, 49, 9] from Operation: 62-53=9 Current State: 21:[21, 49, 9], Operations: ['62-53=9'] Exploring Operation: 49*9=441, Resulting Numbers: [21, 441] Generated Node #3: [21, 441] from Operation: 49*9=441 Current State: 21:[21, 441], Operations: ['62-53=9', '49*9=441'] Exploring Operation: 441/21=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[21, 53, 62, 49], Operations: [] Exploring Operation: 62-53=9, Resulting Numbers: [21, 49, 9] Generated Node #0,0: 21:[21, 49, 9] Operation: 62-53=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[21, 49, 9], Operations: ['62-53=9'] Exploring Operation: 49-21=28, Resulting Numbers: [9, 28] Generated Node #0,0,0: 21:[9, 28] Operation: 49-21=28 Moving to Node #0,0,0 Current State: 21:[9, 28], Operations: ['62-53=9', '49-21=28'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,21 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
[ 67, 26, 92, 81 ]
82
[ "67+26=93", "92-81=11", "93-11=82" ]
Current State: 82:[67, 26, 92, 81], Operations: [] Exploring Operation: 67+26=93, Resulting Numbers: [92, 81, 93] Generated Node #2: [92, 81, 93] from Operation: 67+26=93 Current State: 82:[92, 81, 93], Operations: ['67+26=93'] Exploring Operation: 92-81=11, Resulting Numbers: [93, 11] Generated Node #3: [93, 11] from Operation: 92-81=11 Current State: 82:[93, 11], Operations: ['67+26=93', '92-81=11'] Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[67, 26, 92, 81], Operations: [] Exploring Operation: 67-26=41, Resulting Numbers: [92, 81, 41] Generated Node #0,0: 82:[92, 81, 41] Operation: 67-26=41 Exploring Operation: 67+26=93, Resulting Numbers: [92, 81, 93] Generated Node #0,1: 82:[92, 81, 93] Operation: 67+26=93 Moving to Node #0,0 Current State: 82:[92, 81, 41], Operations: ['67-26=41'] Exploring Operation: 92-81=11, Resulting Numbers: [41, 11] Generated Node #0,0,0: 82:[41, 11] Operation: 92-81=11 Exploring Operation: 92-41=51, Resulting Numbers: [81, 51] Generated Node #0,0,1: 82:[81, 51] Operation: 92-41=51 Moving to Node #0,1 Current State: 82:[92, 81, 93], Operations: ['67+26=93'] Exploring Operation: 93-92=1, Resulting Numbers: [81, 1] Generated Node #0,1,0: 82:[81, 1] Operation: 93-92=1 Exploring Operation: 92-81=11, Resulting Numbers: [93, 11] Generated Node #0,1,1: 82:[93, 11] Operation: 92-81=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[81, 1], Operations: ['67+26=93', '93-92=1'] Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[67, 26, 92, 81], Operations: [] Exploring Operation: 67+26=93, Resulting Numbers: [92, 81, 93] Generated Node #0,1: 82:[92, 81, 93] Operation: 67+26=93 Moving to Node #0,1 Current State: 82:[92, 81, 93], Operations: ['67+26=93'] Exploring Operation: 93-92=1, Resulting Numbers: [81, 1] Generated Node #0,1,0: 82:[81, 1] Operation: 93-92=1 Moving to Node #0,1,0 Current State: 82:[81, 1], Operations: ['67+26=93', '93-92=1'] Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 60, 7, 41, 96 ]
30
[ "7+41=48", "60*48=2880", "2880/96=30" ]
Current State: 30:[60, 7, 41, 96], Operations: [] Exploring Operation: 7+41=48, Resulting Numbers: [60, 96, 48] Generated Node #2: [60, 96, 48] from Operation: 7+41=48 Current State: 30:[60, 96, 48], Operations: ['7+41=48'] Exploring Operation: 60*48=2880, Resulting Numbers: [96, 2880] Generated Node #3: [96, 2880] from Operation: 60*48=2880 Current State: 30:[96, 2880], Operations: ['7+41=48', '60*48=2880'] Exploring Operation: 2880/96=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[60, 7, 41, 96], Operations: [] Exploring Operation: 96-41=55, Resulting Numbers: [60, 7, 55] Generated Node #0,0: 30:[60, 7, 55] Operation: 96-41=55 Exploring Operation: 60-7=53, Resulting Numbers: [41, 96, 53] Generated Node #0,1: 30:[41, 96, 53] Operation: 60-7=53 Exploring Operation: 60-41=19, Resulting Numbers: [7, 96, 19] Generated Node #0,2: 30:[7, 96, 19] Operation: 60-41=19 Exploring Operation: 96-60=36, Resulting Numbers: [7, 41, 36] Generated Node #0,3: 30:[7, 41, 36] Operation: 96-60=36 Moving to Node #0,3 Current State: 30:[7, 41, 36], Operations: ['96-60=36'] Exploring Operation: 41-36=5, Resulting Numbers: [7, 5] Generated Node #0,3,0: 30:[7, 5] Operation: 41-36=5 Exploring Operation: 7+41=48, Resulting Numbers: [36, 48] Generated Node #0,3,1: 30:[36, 48] Operation: 7+41=48 Exploring Operation: 36-7=29, Resulting Numbers: [41, 29] Generated Node #0,3,2: 30:[41, 29] Operation: 36-7=29 Exploring Operation: 41-7=34, Resulting Numbers: [36, 34] Generated Node #0,3,3: 30:[36, 34] Operation: 41-7=34 Moving to Node #0,0 Current State: 30:[60, 7, 55], Operations: ['96-41=55'] Exploring Operation: 60+7=67, Resulting Numbers: [55, 67] Generated Node #0,0,0: 30:[55, 67] Operation: 60+7=67 Exploring Operation: 60-55=5, Resulting Numbers: [7, 5] Generated Node #0,0,1: 30:[7, 5] Operation: 60-55=5 Exploring Operation: 55-7=48, Resulting Numbers: [60, 48] Generated Node #0,0,2: 30:[60, 48] Operation: 55-7=48 Exploring Operation: 60-7=53, Resulting Numbers: [55, 53] Generated Node #0,0,3: 30:[55, 53] Operation: 60-7=53 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[7, 5], Operations: ['96-41=55', '60-55=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,30 unequal: No Solution No 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: 30:[60, 48], Operations: ['96-41=55', '55-7=48'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 60+48=108, Resulting Numbers: [108] 108,30 unequal: No Solution Exploring Operation: 60*48=2880, Resulting Numbers: [2880] 2880,30 unequal: No Solution No 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: 30:[55, 53], Operations: ['96-41=55', '60-7=53'] Exploring Operation: 55+53=108, Resulting Numbers: [108] 108,30 unequal: No Solution Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 55*53=2915, Resulting Numbers: [2915] 2915,30 unequal: No Solution No 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: 30:[55, 67], Operations: ['96-41=55', '60+7=67'] Exploring Operation: 55*67=3685, Resulting Numbers: [3685] 3685,30 unequal: No Solution Exploring Operation: 67-55=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 55+67=122, Resulting Numbers: [122] 122,30 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: 30:[7, 96, 19], Operations: ['60-41=19'] Exploring Operation: 19-7=12, Resulting Numbers: [96, 12] Generated Node #0,2,0: 30:[96, 12] Operation: 19-7=12 Exploring Operation: 96-7=89, Resulting Numbers: [19, 89] Generated Node #0,2,1: 30:[19, 89] Operation: 96-7=89 Exploring Operation: 96-19=77, Resulting Numbers: [7, 77] Generated Node #0,2,2: 30:[7, 77] Operation: 96-19=77 Exploring Operation: 7+19=26, Resulting Numbers: [96, 26] Generated Node #0,2,3: 30:[96, 26] Operation: 7+19=26 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[7, 77], Operations: ['60-41=19', '96-19=77'] Exploring Operation: 7+77=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,30 unequal: No Solution Exploring Operation: 7*77=539, Resulting Numbers: [539] 539,30 unequal: No Solution No 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: 30:[19, 89], Operations: ['60-41=19', '96-7=89'] Exploring Operation: 19+89=108, Resulting Numbers: [108] 108,30 unequal: No Solution Exploring Operation: 19*89=1691, Resulting Numbers: [1691] 1691,30 unequal: No Solution Exploring Operation: 89-19=70, Resulting Numbers: [70] 70,30 unequal: No Solution No 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: 30:[96, 12], Operations: ['60-41=19', '19-7=12'] Exploring Operation: 96+12=108, Resulting Numbers: [108] 108,30 unequal: No Solution Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,30 unequal: No Solution Exploring Operation: 96*12=1152, Resulting Numbers: [1152] 1152,30 unequal: No Solution No 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: 30:[96, 26], Operations: ['60-41=19', '7+19=26'] Exploring Operation: 96-26=70, Resulting Numbers: [70] 70,30 unequal: No Solution Exploring Operation: 96*26=2496, Resulting Numbers: [2496] 2496,30 unequal: No Solution Exploring Operation: 96+26=122, Resulting Numbers: [122] 122,30 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: 30:[41, 96, 53], Operations: ['60-7=53'] Exploring Operation: 53-41=12, Resulting Numbers: [96, 12] Generated Node #0,1,0: 30:[96, 12] Operation: 53-41=12 Exploring Operation: 96-41=55, Resulting Numbers: [53, 55] Generated Node #0,1,1: 30:[53, 55] Operation: 96-41=55 Exploring Operation: 96-53=43, Resulting Numbers: [41, 43] Generated Node #0,1,2: 30:[41, 43] Operation: 96-53=43 Exploring Operation: 41+96=137, Resulting Numbers: [53, 137] Generated Node #0,1,3: 30:[53, 137] Operation: 41+96=137 Moving to Node #0,3,0 Current State: 30:[7, 5], Operations: ['96-60=36', '41-36=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[36, 34], Operations: ['96-60=36', '41-7=34'] Exploring Operation: 36*34=1224, Resulting Numbers: [1224] 1224,30 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[41, 29], Operations: ['96-60=36', '36-7=29'] Exploring Operation: 41+29=70, Resulting Numbers: [70] 70,30 unequal: No Solution Exploring Operation: 41*29=1189, Resulting Numbers: [1189] 1189,30 unequal: No Solution Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[41, 43], Operations: ['60-7=53', '96-53=43'] Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 41+43=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 41*43=1763, Resulting Numbers: [1763] 1763,30 unequal: No Solution Moving to Node #0,3,1 Current State: 30:[36, 48], Operations: ['96-60=36', '7+41=48'] Exploring Operation: 36+48=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,30 unequal: No Solution Exploring Operation: 36*48=1728, Resulting Numbers: [1728] 1728,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[53, 55], Operations: ['60-7=53', '96-41=55'] Exploring Operation: 53+55=108, Resulting Numbers: [108] 108,30 unequal: No Solution Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 53*55=2915, Resulting Numbers: [2915] 2915,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[96, 12], Operations: ['60-7=53', '53-41=12'] Exploring Operation: 96+12=108, Resulting Numbers: [108] 108,30 unequal: No Solution Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,30 unequal: No Solution Exploring Operation: 96*12=1152, Resulting Numbers: [1152] 1152,30 unequal: No Solution Moving to Node #0,1,3 Current State: 30:[53, 137], Operations: ['60-7=53', '41+96=137'] Exploring Operation: 137-53=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 53+137=190, Resulting Numbers: [190] 190,30 unequal: No Solution Exploring Operation: 53*137=7261, Resulting Numbers: [7261] 7261,30 unequal: No Solution No solution found.
0
hs_4
mult_heuristic