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
[ 9, 97, 98, 2 ]
83
[ "9-2=7", "98/7=14", "97-14=83" ]
Current State: 83:[9, 97, 98, 2], Operations: [] Exploring Operation: 9-2=7, Resulting Numbers: [97, 98, 7] Generated Node #2: [97, 98, 7] from Operation: 9-2=7 Current State: 83:[97, 98, 7], Operations: ['9-2=7'] Exploring Operation: 98/7=14, Resulting Numbers: [97, 14] Generated Node #3: [97, 14] from Operation: 98/7=14 Current State: 83:[97, 14], Operations: ['9-2=7', '98/7=14'] Exploring Operation: 97-14=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[9, 97, 98, 2], Operations: [] Exploring Operation: 9+2=11, Resulting Numbers: [97, 98, 11] Generated Node #0,0: 83:[97, 98, 11] Operation: 9+2=11 Exploring Operation: 97-9=88, Resulting Numbers: [98, 2, 88] Generated Node #0,1: 83:[98, 2, 88] Operation: 97-9=88 Exploring Operation: 97-2=95, Resulting Numbers: [9, 98, 95] Generated Node #0,2: 83:[9, 98, 95] Operation: 97-2=95 Exploring Operation: 98-9=89, Resulting Numbers: [97, 2, 89] Generated Node #0,3: 83:[97, 2, 89] Operation: 98-9=89 Exploring Operation: 9*2=18, Resulting Numbers: [97, 98, 18] Generated Node #0,4: 83:[97, 98, 18] Operation: 9*2=18 Start Sub Search at level 1: Moving to Node #0,4 Current State: 83:[97, 98, 18], Operations: ['9*2=18'] Exploring Operation: 98-97=1, Resulting Numbers: [18, 1] Generated Node #0,4,0: 83:[18, 1] Operation: 98-97=1 Exploring Operation: 97-18=79, Resulting Numbers: [98, 79] Generated Node #0,4,1: 83:[98, 79] Operation: 97-18=79 Exploring Operation: 98-18=80, Resulting Numbers: [97, 80] Generated Node #0,4,2: 83:[97, 80] Operation: 98-18=80 Exploring Operation: 98+18=116, Resulting Numbers: [97, 116] Generated Node #0,4,3: 83:[97, 116] Operation: 98+18=116 Exploring Operation: 97+18=115, Resulting Numbers: [98, 115] Generated Node #0,4,4: 83:[98, 115] Operation: 97+18=115 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 83:[97, 80], Operations: ['9*2=18', '98-18=80'] Exploring Operation: 97*80=7760, Resulting Numbers: [7760] 7760,83 unequal: No Solution Exploring Operation: 97+80=177, Resulting Numbers: [177] 177,83 unequal: No Solution Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 83:[98, 79], Operations: ['9*2=18', '97-18=79'] Exploring Operation: 98-79=19, Resulting Numbers: [19] 19,83 unequal: No Solution Exploring Operation: 98+79=177, Resulting Numbers: [177] 177,83 unequal: No Solution Exploring Operation: 98*79=7742, Resulting Numbers: [7742] 7742,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 83:[97, 116], Operations: ['9*2=18', '98+18=116'] Exploring Operation: 116-97=19, Resulting Numbers: [19] 19,83 unequal: No Solution Exploring Operation: 97+116=213, Resulting Numbers: [213] 213,83 unequal: No Solution Exploring Operation: 97*116=11252, Resulting Numbers: [11252] 11252,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 83:[98, 115], Operations: ['9*2=18', '97+18=115'] Exploring Operation: 98+115=213, Resulting Numbers: [213] 213,83 unequal: No Solution Exploring Operation: 115-98=17, Resulting Numbers: [17] 17,83 unequal: No Solution Exploring Operation: 98*115=11270, Resulting Numbers: [11270] 11270,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 83:[18, 1], Operations: ['9*2=18', '98-97=1'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,83 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[97, 98, 11], Operations: ['9+2=11'] Exploring Operation: 98-97=1, Resulting Numbers: [11, 1] Generated Node #0,0,0: 83:[11, 1] Operation: 98-97=1 Exploring Operation: 97+11=108, Resulting Numbers: [98, 108] Generated Node #0,0,1: 83:[98, 108] Operation: 97+11=108 Exploring Operation: 97-11=86, Resulting Numbers: [98, 86] Generated Node #0,0,2: 83:[98, 86] Operation: 97-11=86 Exploring Operation: 98-11=87, Resulting Numbers: [97, 87] Generated Node #0,0,3: 83:[97, 87] Operation: 98-11=87 Exploring Operation: 98+11=109, Resulting Numbers: [97, 109] Generated Node #0,0,4: 83:[97, 109] Operation: 98+11=109 Moving to Node #0,0,2 Current State: 83:[98, 86], Operations: ['9+2=11', '97-11=86'] Exploring Operation: 98-86=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 98+86=184, Resulting Numbers: [184] 184,83 unequal: No Solution Exploring Operation: 98*86=8428, Resulting Numbers: [8428] 8428,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[97, 87], Operations: ['9+2=11', '98-11=87'] Exploring Operation: 97*87=8439, Resulting Numbers: [8439] 8439,83 unequal: No Solution Exploring Operation: 97+87=184, Resulting Numbers: [184] 184,83 unequal: No Solution Exploring Operation: 97-87=10, Resulting Numbers: [10] 10,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[98, 108], Operations: ['9+2=11', '97+11=108'] Exploring Operation: 98+108=206, Resulting Numbers: [206] 206,83 unequal: No Solution Exploring Operation: 108-98=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 98*108=10584, Resulting Numbers: [10584] 10584,83 unequal: No Solution Moving to Node #0,0,4 Current State: 83:[97, 109], Operations: ['9+2=11', '98+11=109'] Exploring Operation: 97*109=10573, Resulting Numbers: [10573] 10573,83 unequal: No Solution Exploring Operation: 97+109=206, Resulting Numbers: [206] 206,83 unequal: No Solution Exploring Operation: 109-97=12, Resulting Numbers: [12] 12,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[11, 1], Operations: ['9+2=11', '98-97=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[98, 2, 88], Operations: ['97-9=88'] Exploring Operation: 2+88=90, Resulting Numbers: [98, 90] Generated Node #0,1,0: 83:[98, 90] Operation: 2+88=90 Exploring Operation: 98/2=49, Resulting Numbers: [88, 49] Generated Node #0,1,1: 83:[88, 49] Operation: 98/2=49 Exploring Operation: 98+2=100, Resulting Numbers: [88, 100] Generated Node #0,1,2: 83:[88, 100] Operation: 98+2=100 Exploring Operation: 98-2=96, Resulting Numbers: [88, 96] Generated Node #0,1,3: 83:[88, 96] Operation: 98-2=96 Exploring Operation: 88-2=86, Resulting Numbers: [98, 86] Generated Node #0,1,4: 83:[98, 86] Operation: 88-2=86 Moving to Node #0,1,3 Current State: 83:[88, 96], Operations: ['97-9=88', '98-2=96'] Exploring Operation: 96-88=8, Resulting Numbers: [8] 8,83 unequal: No Solution Exploring Operation: 88*96=8448, Resulting Numbers: [8448] 8448,83 unequal: No Solution Exploring Operation: 88+96=184, Resulting Numbers: [184] 184,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[98, 86], Operations: ['97-9=88', '88-2=86'] Exploring Operation: 98+86=184, Resulting Numbers: [184] 184,83 unequal: No Solution Exploring Operation: 98-86=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 98*86=8428, Resulting Numbers: [8428] 8428,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[98, 90], Operations: ['97-9=88', '2+88=90'] Exploring Operation: 98*90=8820, Resulting Numbers: [8820] 8820,83 unequal: No Solution Exploring Operation: 98-90=8, Resulting Numbers: [8] 8,83 unequal: No Solution Exploring Operation: 98+90=188, Resulting Numbers: [188] 188,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[88, 100], Operations: ['97-9=88', '98+2=100'] Exploring Operation: 100-88=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 88+100=188, Resulting Numbers: [188] 188,83 unequal: No Solution Exploring Operation: 88*100=8800, Resulting Numbers: [8800] 8800,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[88, 49], Operations: ['97-9=88', '98/2=49'] Exploring Operation: 88*49=4312, Resulting Numbers: [4312] 4312,83 unequal: No Solution Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,83 unequal: No Solution Exploring Operation: 88+49=137, Resulting Numbers: [137] 137,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 Current State: 83:[9, 98, 95], Operations: ['97-2=95'] Exploring Operation: 98-95=3, Resulting Numbers: [9, 3] Generated Node #0,2,0: 83:[9, 3] Operation: 98-95=3 Exploring Operation: 9+95=104, Resulting Numbers: [98, 104] Generated Node #0,2,1: 83:[98, 104] Operation: 9+95=104 Exploring Operation: 95-9=86, Resulting Numbers: [98, 86] Generated Node #0,2,2: 83:[98, 86] Operation: 95-9=86 Exploring Operation: 98-9=89, Resulting Numbers: [95, 89] Generated Node #0,2,3: 83:[95, 89] Operation: 98-9=89 Exploring Operation: 9+98=107, Resulting Numbers: [95, 107] Generated Node #0,2,4: 83:[95, 107] Operation: 9+98=107 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 83:[98, 86], Operations: ['97-2=95', '95-9=86'] Exploring Operation: 98-86=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 98*86=8428, Resulting Numbers: [8428] 8428,83 unequal: No Solution Exploring Operation: 98+86=184, Resulting Numbers: [184] 184,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 83:[95, 89], Operations: ['97-2=95', '98-9=89'] Exploring Operation: 95+89=184, Resulting Numbers: [184] 184,83 unequal: No Solution Exploring Operation: 95*89=8455, Resulting Numbers: [8455] 8455,83 unequal: No Solution Exploring Operation: 95-89=6, Resulting Numbers: [6] 6,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 83:[98, 104], Operations: ['97-2=95', '9+95=104'] Exploring Operation: 98*104=10192, Resulting Numbers: [10192] 10192,83 unequal: No Solution Exploring Operation: 98+104=202, Resulting Numbers: [202] 202,83 unequal: No Solution Exploring Operation: 104-98=6, Resulting Numbers: [6] 6,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 83:[95, 107], Operations: ['97-2=95', '9+98=107'] Exploring Operation: 95*107=10165, Resulting Numbers: [10165] 10165,83 unequal: No Solution Exploring Operation: 107-95=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 95+107=202, Resulting Numbers: [202] 202,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 83:[9, 3], Operations: ['97-2=95', '98-95=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[97, 2, 89], Operations: ['98-9=89'] Exploring Operation: 2*89=178, Resulting Numbers: [97, 178] Generated Node #0,3,0: 83:[97, 178] Operation: 2*89=178 Exploring Operation: 97+2=99, Resulting Numbers: [89, 99] Generated Node #0,3,1: 83:[89, 99] Operation: 97+2=99 Exploring Operation: 2+89=91, Resulting Numbers: [97, 91] Generated Node #0,3,2: 83:[97, 91] Operation: 2+89=91 Exploring Operation: 89-2=87, Resulting Numbers: [97, 87] Generated Node #0,3,3: 83:[97, 87] Operation: 89-2=87 Exploring Operation: 97-2=95, Resulting Numbers: [89, 95] Generated Node #0,3,4: 83:[89, 95] Operation: 97-2=95 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 83:[97, 87], Operations: ['98-9=89', '89-2=87'] Exploring Operation: 97*87=8439, Resulting Numbers: [8439] 8439,83 unequal: No Solution Exploring Operation: 97-87=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 97+87=184, Resulting Numbers: [184] 184,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 83:[89, 95], Operations: ['98-9=89', '97-2=95'] Exploring Operation: 89+95=184, Resulting Numbers: [184] 184,83 unequal: No Solution Exploring Operation: 89*95=8455, Resulting Numbers: [8455] 8455,83 unequal: No Solution Exploring Operation: 95-89=6, Resulting Numbers: [6] 6,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 83:[89, 99], Operations: ['98-9=89', '97+2=99'] Exploring Operation: 89+99=188, Resulting Numbers: [188] 188,83 unequal: No Solution Exploring Operation: 89*99=8811, Resulting Numbers: [8811] 8811,83 unequal: No Solution Exploring Operation: 99-89=10, Resulting Numbers: [10] 10,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 83:[97, 91], Operations: ['98-9=89', '2+89=91'] Exploring Operation: 97*91=8827, Resulting Numbers: [8827] 8827,83 unequal: No Solution Exploring Operation: 97-91=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 97+91=188, Resulting Numbers: [188] 188,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 83:[97, 178], Operations: ['98-9=89', '2*89=178'] Exploring Operation: 97+178=275, Resulting Numbers: [275] 275,83 unequal: No Solution Exploring Operation: 178-97=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 97*178=17266, Resulting Numbers: [17266] 17266,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 45, 88, 40, 80 ]
40
[ "45-40=5", "88-80=8", "5*8=40" ]
Current State: 40:[45, 88, 40, 80], Operations: [] Exploring Operation: 45-40=5, Resulting Numbers: [88, 80, 5] Generated Node #2: [88, 80, 5] from Operation: 45-40=5 Current State: 40:[88, 80, 5], Operations: ['45-40=5'] Exploring Operation: 88-80=8, Resulting Numbers: [5, 8] Generated Node #3: [5, 8] from Operation: 88-80=8 Current State: 40:[5, 8], Operations: ['45-40=5', '88-80=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[45, 88, 40, 80], Operations: [] Exploring Operation: 88-40=48, Resulting Numbers: [45, 80, 48] Generated Node #0,0: 40:[45, 80, 48] Operation: 88-40=48 Exploring Operation: 88-80=8, Resulting Numbers: [45, 40, 8] Generated Node #0,1: 40:[45, 40, 8] Operation: 88-80=8 Exploring Operation: 88-45=43, Resulting Numbers: [40, 80, 43] Generated Node #0,2: 40:[40, 80, 43] Operation: 88-45=43 Exploring Operation: 80-45=35, Resulting Numbers: [88, 40, 35] Generated Node #0,3: 40:[88, 40, 35] Operation: 80-45=35 Moving to Node #0,1 Current State: 40:[45, 40, 8], Operations: ['88-80=8'] Exploring Operation: 45-40=5, Resulting Numbers: [8, 5] Generated Node #0,1,0: 40:[8, 5] Operation: 45-40=5 Exploring Operation: 45-8=37, Resulting Numbers: [40, 37] Generated Node #0,1,1: 40:[40, 37] Operation: 45-8=37 Exploring Operation: 40/8=5, Resulting Numbers: [45, 5] Generated Node #0,1,2: 40:[45, 5] Operation: 40/8=5 Exploring Operation: 45+8=53, Resulting Numbers: [40, 53] Generated Node #0,1,3: 40:[40, 53] Operation: 45+8=53 Moving to Node #0,2 Current State: 40:[40, 80, 43], Operations: ['88-45=43'] Exploring Operation: 80-43=37, Resulting Numbers: [40, 37] Generated Node #0,2,0: 40:[40, 37] Operation: 80-43=37 Exploring Operation: 43-40=3, Resulting Numbers: [80, 3] Generated Node #0,2,1: 40:[80, 3] Operation: 43-40=3 Exploring Operation: 80/40=2, Resulting Numbers: [43, 2] Generated Node #0,2,2: 40:[43, 2] Operation: 80/40=2 Exploring Operation: 80-40=40, Resulting Numbers: [43, 40] Generated Node #0,2,3: 40:[43, 40] Operation: 80-40=40 Moving to Node #0,3 Current State: 40:[88, 40, 35], Operations: ['80-45=35'] Exploring Operation: 88-35=53, Resulting Numbers: [40, 53] Generated Node #0,3,0: 40:[40, 53] Operation: 88-35=53 Exploring Operation: 88-40=48, Resulting Numbers: [35, 48] Generated Node #0,3,1: 40:[35, 48] Operation: 88-40=48 Exploring Operation: 40-35=5, Resulting Numbers: [88, 5] Generated Node #0,3,2: 40:[88, 5] Operation: 40-35=5 Exploring Operation: 88+35=123, Resulting Numbers: [40, 123] Generated Node #0,3,3: 40:[40, 123] Operation: 88+35=123 Moving to Node #0,0 Current State: 40:[45, 80, 48], Operations: ['88-40=48'] Exploring Operation: 48-45=3, Resulting Numbers: [80, 3] Generated Node #0,0,0: 40:[80, 3] Operation: 48-45=3 Exploring Operation: 80-48=32, Resulting Numbers: [45, 32] Generated Node #0,0,1: 40:[45, 32] Operation: 80-48=32 Exploring Operation: 80-45=35, Resulting Numbers: [48, 35] Generated Node #0,0,2: 40:[48, 35] Operation: 80-45=35 Exploring Operation: 45+80=125, Resulting Numbers: [48, 125] Generated Node #0,0,3: 40:[48, 125] Operation: 45+80=125 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[45, 32], Operations: ['88-40=48', '80-48=32'] Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 45*32=1440, Resulting Numbers: [1440] 1440,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,0,2 Current State: 40:[48, 35], Operations: ['88-40=48', '80-45=35'] Exploring Operation: 48-35=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 48+35=83, Resulting Numbers: [83] 83,40 unequal: No Solution Exploring Operation: 48*35=1680, Resulting Numbers: [1680] 1680,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,0,0 Current State: 40:[80, 3], Operations: ['88-40=48', '48-45=3'] Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,40 unequal: No Solution Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,40 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,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,0,3 Current State: 40:[48, 125], Operations: ['88-40=48', '45+80=125'] Exploring Operation: 48*125=6000, Resulting Numbers: [6000] 6000,40 unequal: No Solution Exploring Operation: 48+125=173, Resulting Numbers: [173] 173,40 unequal: No Solution Exploring Operation: 125-48=77, Resulting Numbers: [77] 77,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:[8, 5], Operations: ['88-80=8', '45-40=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[45, 88, 40, 80], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [45, 40, 8] Generated Node #0,1: 40:[45, 40, 8] Operation: 88-80=8 Moving to Node #0,1 Current State: 40:[45, 40, 8], Operations: ['88-80=8'] Exploring Operation: 45-40=5, Resulting Numbers: [8, 5] Generated Node #0,1,0: 40:[8, 5] Operation: 45-40=5 Moving to Node #0,1,0 Current State: 40:[8, 5], Operations: ['88-80=8', '45-40=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.966146
hs_4
sum_heuristic
[ 23, 24, 12, 34 ]
55
[ "23+34=57", "24/12=2", "57-2=55" ]
Current State: 55:[23, 24, 12, 34], Operations: [] Exploring Operation: 23+34=57, Resulting Numbers: [24, 12, 57] Generated Node #2: [24, 12, 57] from Operation: 23+34=57 Current State: 55:[24, 12, 57], Operations: ['23+34=57'] Exploring Operation: 24/12=2, Resulting Numbers: [57, 2] Generated Node #3: [57, 2] from Operation: 24/12=2 Current State: 55:[57, 2], Operations: ['23+34=57', '24/12=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[23, 24, 12, 34], Operations: [] Exploring Operation: 23+34=57, Resulting Numbers: [24, 12, 57] Generated Node #0,0: 55:[24, 12, 57] Operation: 23+34=57 Exploring Operation: 24+34=58, Resulting Numbers: [23, 12, 58] Generated Node #0,1: 55:[23, 12, 58] Operation: 24+34=58 Exploring Operation: 34-23=11, Resulting Numbers: [24, 12, 11] Generated Node #0,2: 55:[24, 12, 11] Operation: 34-23=11 Exploring Operation: 34-24=10, Resulting Numbers: [23, 12, 10] Generated Node #0,3: 55:[23, 12, 10] Operation: 34-24=10 Exploring Operation: 24-23=1, Resulting Numbers: [12, 34, 1] Generated Node #0,4: 55:[12, 34, 1] Operation: 24-23=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[24, 12, 11], Operations: ['34-23=11'] Exploring Operation: 24/12=2, Resulting Numbers: [11, 2] Generated Node #0,2,0: 55:[11, 2] Operation: 24/12=2 Exploring Operation: 12-11=1, Resulting Numbers: [24, 1] Generated Node #0,2,1: 55:[24, 1] Operation: 12-11=1 Exploring Operation: 24-11=13, Resulting Numbers: [12, 13] Generated Node #0,2,2: 55:[12, 13] Operation: 24-11=13 Exploring Operation: 24-12=12, Resulting Numbers: [11, 12] Generated Node #0,2,3: 55:[11, 12] Operation: 24-12=12 Exploring Operation: 24+12=36, Resulting Numbers: [11, 36] Generated Node #0,2,4: 55:[11, 36] Operation: 24+12=36 Moving to Node #0,2,3 Current State: 55:[11, 12], Operations: ['34-23=11', '24-12=12'] Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,55 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[12, 13], Operations: ['34-23=11', '24-11=13'] Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,55 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[11, 2], Operations: ['34-23=11', '24/12=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[24, 1], Operations: ['34-23=11', '12-11=1'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,55 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,55 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,55 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,55 unequal: No Solution Moving to Node #0,2,4 Current State: 55:[11, 36], Operations: ['34-23=11', '24+12=36'] Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,55 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,55 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,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:[23, 12, 10], Operations: ['34-24=10'] Exploring Operation: 12-10=2, Resulting Numbers: [23, 2] Generated Node #0,3,0: 55:[23, 2] Operation: 12-10=2 Exploring Operation: 23-10=13, Resulting Numbers: [12, 13] Generated Node #0,3,1: 55:[12, 13] Operation: 23-10=13 Exploring Operation: 23+12=35, Resulting Numbers: [10, 35] Generated Node #0,3,2: 55:[10, 35] Operation: 23+12=35 Exploring Operation: 23+10=33, Resulting Numbers: [12, 33] Generated Node #0,3,3: 55:[12, 33] Operation: 23+10=33 Exploring Operation: 23-12=11, Resulting Numbers: [10, 11] Generated Node #0,3,4: 55:[10, 11] Operation: 23-12=11 Moving to Node #0,3,4 Current State: 55:[10, 11], Operations: ['34-24=10', '23-12=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,55 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[12, 13], Operations: ['34-24=10', '23-10=13'] Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,55 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[23, 2], Operations: ['34-24=10', '12-10=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[10, 35], Operations: ['34-24=10', '23+12=35'] Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,55 unequal: No Solution Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[12, 33], Operations: ['34-24=10', '23+10=33'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[24, 12, 57], Operations: ['23+34=57'] Exploring Operation: 24-12=12, Resulting Numbers: [57, 12] Generated Node #0,0,0: 55:[57, 12] Operation: 24-12=12 Exploring Operation: 24+12=36, Resulting Numbers: [57, 36] Generated Node #0,0,1: 55:[57, 36] Operation: 24+12=36 Exploring Operation: 57-24=33, Resulting Numbers: [12, 33] Generated Node #0,0,2: 55:[12, 33] Operation: 57-24=33 Exploring Operation: 24/12=2, Resulting Numbers: [57, 2] Generated Node #0,0,3: 55:[57, 2] Operation: 24/12=2 Exploring Operation: 57-12=45, Resulting Numbers: [24, 45] Generated Node #0,0,4: 55:[24, 45] Operation: 57-12=45 Moving to Node #0,0,0 Current State: 55:[57, 12], Operations: ['23+34=57', '24-12=12'] Exploring Operation: 57+12=69, Resulting Numbers: [69] 69,55 unequal: No Solution Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 57*12=684, Resulting Numbers: [684] 684,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[57, 2], Operations: ['23+34=57', '24/12=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[23, 24, 12, 34], Operations: [] Exploring Operation: 23+34=57, Resulting Numbers: [24, 12, 57] Generated Node #0,0: 55:[24, 12, 57] Operation: 23+34=57 Moving to Node #0,0 Current State: 55:[24, 12, 57], Operations: ['23+34=57'] Exploring Operation: 24/12=2, Resulting Numbers: [57, 2] Generated Node #0,0,3: 55:[57, 2] Operation: 24/12=2 Moving to Node #0,0,3 Current State: 55:[57, 2], Operations: ['23+34=57', '24/12=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.948785
hs_5
mult_heuristic
[ 66, 31, 95, 91 ]
46
[ "31*95=2945", "91+2945=3036", "3036/66=46" ]
Current State: 46:[66, 31, 95, 91], Operations: [] Exploring Operation: 31*95=2945, Resulting Numbers: [66, 91, 2945] Generated Node #2: [66, 91, 2945] from Operation: 31*95=2945 Current State: 46:[66, 91, 2945], Operations: ['31*95=2945'] Exploring Operation: 91+2945=3036, Resulting Numbers: [66, 3036] Generated Node #3: [66, 3036] from Operation: 91+2945=3036 Current State: 46:[66, 3036], Operations: ['31*95=2945', '91+2945=3036'] Exploring Operation: 3036/66=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[66, 31, 95, 91], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [66, 31, 4] Generated Node #0,0: 46:[66, 31, 4] Operation: 95-91=4 Exploring Operation: 95-66=29, Resulting Numbers: [31, 91, 29] Generated Node #0,1: 46:[31, 91, 29] Operation: 95-66=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[66, 31, 4], Operations: ['95-91=4'] Exploring Operation: 66-31=35, Resulting Numbers: [4, 35] Generated Node #0,0,0: 46:[4, 35] Operation: 66-31=35 Exploring Operation: 66-4=62, Resulting Numbers: [31, 62] Generated Node #0,0,1: 46:[31, 62] Operation: 66-4=62 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[4, 35], Operations: ['95-91=4', '66-31=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 46:[31, 62], Operations: ['95-91=4', '66-4=62'] Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[31, 91, 29], Operations: ['95-66=29'] Exploring Operation: 91-29=62, Resulting Numbers: [31, 62] Generated Node #0,1,0: 46:[31, 62] Operation: 91-29=62 Exploring Operation: 91-31=60, Resulting Numbers: [29, 60] Generated Node #0,1,1: 46:[29, 60] Operation: 91-31=60 Moving to Node #0,1,1 Current State: 46:[29, 60], Operations: ['95-66=29', '91-31=60'] Exploring Operation: 29+60=89, Resulting Numbers: [89] 89,46 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[31, 62], Operations: ['95-66=29', '91-29=62'] Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,46 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
[ 28, 15, 74, 12 ]
10
[ "15-12=3", "28*3=84", "84-74=10" ]
Current State: 10:[28, 15, 74, 12], Operations: [] Exploring Operation: 15-12=3, Resulting Numbers: [28, 74, 3] Generated Node #2: [28, 74, 3] from Operation: 15-12=3 Current State: 10:[28, 74, 3], Operations: ['15-12=3'] Exploring Operation: 28*3=84, Resulting Numbers: [74, 84] Generated Node #3: [74, 84] from Operation: 28*3=84 Current State: 10:[74, 84], Operations: ['15-12=3', '28*3=84'] Exploring Operation: 84-74=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[28, 15, 74, 12], Operations: [] Exploring Operation: 74-12=62, Resulting Numbers: [28, 15, 62] Generated Node #0,0: 10:[28, 15, 62] Operation: 74-12=62 Exploring Operation: 28-15=13, Resulting Numbers: [74, 12, 13] Generated Node #0,1: 10:[74, 12, 13] Operation: 28-15=13 Exploring Operation: 74-28=46, Resulting Numbers: [15, 12, 46] Generated Node #0,2: 10:[15, 12, 46] Operation: 74-28=46 Exploring Operation: 74-15=59, Resulting Numbers: [28, 12, 59] Generated Node #0,3: 10:[28, 12, 59] Operation: 74-15=59 Exploring Operation: 28-12=16, Resulting Numbers: [15, 74, 16] Generated Node #0,4: 10:[15, 74, 16] Operation: 28-12=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[15, 12, 46], Operations: ['74-28=46'] Exploring Operation: 15+12=27, Resulting Numbers: [46, 27] Generated Node #0,2,0: 10:[46, 27] Operation: 15+12=27 Exploring Operation: 46-15=31, Resulting Numbers: [12, 31] Generated Node #0,2,1: 10:[12, 31] Operation: 46-15=31 Exploring Operation: 46-12=34, Resulting Numbers: [15, 34] Generated Node #0,2,2: 10:[15, 34] Operation: 46-12=34 Exploring Operation: 15+46=61, Resulting Numbers: [12, 61] Generated Node #0,2,3: 10:[12, 61] Operation: 15+46=61 Exploring Operation: 15-12=3, Resulting Numbers: [46, 3] Generated Node #0,2,4: 10:[46, 3] Operation: 15-12=3 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 10:[12, 31], Operations: ['74-28=46', '46-15=31'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 12*31=372, Resulting Numbers: [372] 372,10 unequal: No Solution Exploring Operation: 12+31=43, Resulting Numbers: [43] 43,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:[15, 34], Operations: ['74-28=46', '46-12=34'] Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 15*34=510, Resulting Numbers: [510] 510,10 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,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,4 Current State: 10:[46, 3], Operations: ['74-28=46', '15-12=3'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,10 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,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:[46, 27], Operations: ['74-28=46', '15+12=27'] Exploring Operation: 46*27=1242, Resulting Numbers: [1242] 1242,10 unequal: No Solution Exploring Operation: 46+27=73, Resulting Numbers: [73] 73,10 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,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:[12, 61], Operations: ['74-28=46', '15+46=61'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,10 unequal: No Solution Exploring Operation: 12*61=732, Resulting Numbers: [732] 732,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:[74, 12, 13], Operations: ['28-15=13'] Exploring Operation: 74+13=87, Resulting Numbers: [12, 87] Generated Node #0,1,0: 10:[12, 87] Operation: 74+13=87 Exploring Operation: 74+12=86, Resulting Numbers: [13, 86] Generated Node #0,1,1: 10:[13, 86] Operation: 74+12=86 Exploring Operation: 74-12=62, Resulting Numbers: [13, 62] Generated Node #0,1,2: 10:[13, 62] Operation: 74-12=62 Exploring Operation: 74-13=61, Resulting Numbers: [12, 61] Generated Node #0,1,3: 10:[12, 61] Operation: 74-13=61 Exploring Operation: 13-12=1, Resulting Numbers: [74, 1] Generated Node #0,1,4: 10:[74, 1] Operation: 13-12=1 Moving to Node #0,1,3 Current State: 10:[12, 61], Operations: ['28-15=13', '74-13=61'] Exploring Operation: 12*61=732, Resulting Numbers: [732] 732,10 unequal: No Solution Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,10 unequal: No Solution Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[13, 62], Operations: ['28-15=13', '74-12=62'] Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 13+62=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 13*62=806, Resulting Numbers: [806] 806,10 unequal: No Solution Moving to Node #0,1,4 Current State: 10:[74, 1], Operations: ['28-15=13', '13-12=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,10 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[12, 87], Operations: ['28-15=13', '74+13=87'] Exploring Operation: 12*87=1044, Resulting Numbers: [1044] 1044,10 unequal: No Solution Exploring Operation: 12+87=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 87-12=75, Resulting Numbers: [75] 75,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[13, 86], Operations: ['28-15=13', '74+12=86'] Exploring Operation: 13+86=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 13*86=1118, Resulting Numbers: [1118] 1118,10 unequal: No Solution Exploring Operation: 86-13=73, Resulting Numbers: [73] 73,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[28, 12, 59], Operations: ['74-15=59'] Exploring Operation: 28-12=16, Resulting Numbers: [59, 16] Generated Node #0,3,0: 10:[59, 16] Operation: 28-12=16 Exploring Operation: 59-28=31, Resulting Numbers: [12, 31] Generated Node #0,3,1: 10:[12, 31] Operation: 59-28=31 Exploring Operation: 28+12=40, Resulting Numbers: [59, 40] Generated Node #0,3,2: 10:[59, 40] Operation: 28+12=40 Exploring Operation: 59-12=47, Resulting Numbers: [28, 47] Generated Node #0,3,3: 10:[28, 47] Operation: 59-12=47 Exploring Operation: 28+59=87, Resulting Numbers: [12, 87] Generated Node #0,3,4: 10:[12, 87] Operation: 28+59=87 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 10:[12, 31], Operations: ['74-15=59', '59-28=31'] Exploring Operation: 12*31=372, Resulting Numbers: [372] 372,10 unequal: No Solution Exploring Operation: 12+31=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 10:[59, 16], Operations: ['74-15=59', '28-12=16'] Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,10 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 10:[28, 47], Operations: ['74-15=59', '59-12=47'] Exploring Operation: 28+47=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 28*47=1316, Resulting Numbers: [1316] 1316,10 unequal: No Solution Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 10:[59, 40], Operations: ['74-15=59', '28+12=40'] Exploring Operation: 59*40=2360, Resulting Numbers: [2360] 2360,10 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 10:[12, 87], Operations: ['74-15=59', '28+59=87'] Exploring Operation: 12*87=1044, Resulting Numbers: [1044] 1044,10 unequal: No Solution Exploring Operation: 87-12=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 12+87=99, Resulting Numbers: [99] 99,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:[28, 15, 62], Operations: ['74-12=62'] Exploring Operation: 28+15=43, Resulting Numbers: [62, 43] Generated Node #0,0,0: 10:[62, 43] Operation: 28+15=43 Exploring Operation: 62-28=34, Resulting Numbers: [15, 34] Generated Node #0,0,1: 10:[15, 34] Operation: 62-28=34 Exploring Operation: 28-15=13, Resulting Numbers: [62, 13] Generated Node #0,0,2: 10:[62, 13] Operation: 28-15=13 Exploring Operation: 28+62=90, Resulting Numbers: [15, 90] Generated Node #0,0,3: 10:[15, 90] Operation: 28+62=90 Exploring Operation: 62-15=47, Resulting Numbers: [28, 47] Generated Node #0,0,4: 10:[28, 47] Operation: 62-15=47 Moving to Node #0,0,1 Current State: 10:[15, 34], Operations: ['74-12=62', '62-28=34'] Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 15*34=510, Resulting Numbers: [510] 510,10 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,10 unequal: No Solution Moving to Node #0,0,4 Current State: 10:[28, 47], Operations: ['74-12=62', '62-15=47'] Exploring Operation: 28+47=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 28*47=1316, Resulting Numbers: [1316] 1316,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[62, 13], Operations: ['74-12=62', '28-15=13'] Exploring Operation: 62+13=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 62*13=806, Resulting Numbers: [806] 806,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[62, 43], Operations: ['74-12=62', '28+15=43'] Exploring Operation: 62*43=2666, Resulting Numbers: [2666] 2666,10 unequal: No Solution Exploring Operation: 62+43=105, Resulting Numbers: [105] 105,10 unequal: No Solution Exploring Operation: 62-43=19, Resulting Numbers: [19] 19,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[15, 90], Operations: ['74-12=62', '28+62=90'] Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 15*90=1350, Resulting Numbers: [1350] 1350,10 unequal: No Solution Exploring Operation: 15+90=105, Resulting Numbers: [105] 105,10 unequal: No Solution Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,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,4 Current State: 10:[15, 74, 16], Operations: ['28-12=16'] Exploring Operation: 74-15=59, Resulting Numbers: [16, 59] Generated Node #0,4,0: 10:[16, 59] Operation: 74-15=59 Exploring Operation: 15+16=31, Resulting Numbers: [74, 31] Generated Node #0,4,1: 10:[74, 31] Operation: 15+16=31 Exploring Operation: 74-16=58, Resulting Numbers: [15, 58] Generated Node #0,4,2: 10:[15, 58] Operation: 74-16=58 Exploring Operation: 16-15=1, Resulting Numbers: [74, 1] Generated Node #0,4,3: 10:[74, 1] Operation: 16-15=1 Exploring Operation: 15+74=89, Resulting Numbers: [16, 89] Generated Node #0,4,4: 10:[16, 89] Operation: 15+74=89 Moving to Node #0,4,2 Current State: 10:[15, 58], Operations: ['28-12=16', '74-16=58'] Exploring Operation: 15*58=870, Resulting Numbers: [870] 870,10 unequal: No Solution Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,10 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,10 unequal: No Solution Moving to Node #0,4,0 Current State: 10:[16, 59], Operations: ['28-12=16', '74-15=59'] Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,10 unequal: No Solution Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,10 unequal: No Solution Moving to Node #0,4,3 Current State: 10:[74, 1], Operations: ['28-12=16', '16-15=1'] Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,10 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,10 unequal: No Solution Moving to Node #0,4,1 Current State: 10:[74, 31], Operations: ['28-12=16', '15+16=31'] Exploring Operation: 74+31=105, Resulting Numbers: [105] 105,10 unequal: No Solution Exploring Operation: 74*31=2294, Resulting Numbers: [2294] 2294,10 unequal: No Solution Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,10 unequal: No Solution Moving to Node #0,4,4 Current State: 10:[16, 89], Operations: ['28-12=16', '15+74=89'] Exploring Operation: 16*89=1424, Resulting Numbers: [1424] 1424,10 unequal: No Solution Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,10 unequal: No Solution Exploring Operation: 16+89=105, Resulting Numbers: [105] 105,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 72, 67, 42, 16 ]
31
[ "72-67=5", "42-16=26", "5+26=31" ]
Current State: 31:[72, 67, 42, 16], Operations: [] Exploring Operation: 72-67=5, Resulting Numbers: [42, 16, 5] Generated Node #2: [42, 16, 5] from Operation: 72-67=5 Current State: 31:[42, 16, 5], Operations: ['72-67=5'] Exploring Operation: 42-16=26, Resulting Numbers: [5, 26] Generated Node #3: [5, 26] from Operation: 42-16=26 Current State: 31:[5, 26], Operations: ['72-67=5', '42-16=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[72, 67, 42, 16], Operations: [] Exploring Operation: 72-67=5, Resulting Numbers: [42, 16, 5] Generated Node #0,0: 31:[42, 16, 5] Operation: 72-67=5 Exploring Operation: 72-42=30, Resulting Numbers: [67, 16, 30] Generated Node #0,1: 31:[67, 16, 30] Operation: 72-42=30 Exploring Operation: 67-42=25, Resulting Numbers: [72, 16, 25] Generated Node #0,2: 31:[72, 16, 25] Operation: 67-42=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[42, 16, 5], Operations: ['72-67=5'] Exploring Operation: 42-16=26, Resulting Numbers: [5, 26] Generated Node #0,0,0: 31:[5, 26] Operation: 42-16=26 Exploring Operation: 42-5=37, Resulting Numbers: [16, 37] Generated Node #0,0,1: 31:[16, 37] Operation: 42-5=37 Exploring Operation: 16+5=21, Resulting Numbers: [42, 21] Generated Node #0,0,2: 31:[42, 21] Operation: 16+5=21 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[16, 37], Operations: ['72-67=5', '42-5=37'] Exploring Operation: 16+37=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 16*37=592, Resulting Numbers: [592] 592,31 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,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,2 Current State: 31:[42, 21], Operations: ['72-67=5', '16+5=21'] Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,31 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,31 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,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,0 Current State: 31:[5, 26], Operations: ['72-67=5', '42-16=26'] Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,31 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[72, 67, 42, 16], Operations: [] Exploring Operation: 72-67=5, Resulting Numbers: [42, 16, 5] Generated Node #0,0: 31:[42, 16, 5] Operation: 72-67=5 Moving to Node #0,0 Current State: 31:[42, 16, 5], Operations: ['72-67=5'] Exploring Operation: 42-16=26, Resulting Numbers: [5, 26] Generated Node #0,0,0: 31:[5, 26] Operation: 42-16=26 Moving to Node #0,0,0 Current State: 31:[5, 26], Operations: ['72-67=5', '42-16=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 44, 44, 6, 26 ]
64
[ "44-26=18", "6*18=108", "108-44=64" ]
Current State: 64:[44, 44, 6, 26], Operations: [] Exploring Operation: 44-26=18, Resulting Numbers: [6, 18] Generated Node #2: [6, 18] from Operation: 44-26=18 Current State: 64:[6, 18], Operations: ['44-26=18'] Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,64 equal: Goal Reached Exploring Operation: 108-44=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[44, 44, 6, 26], Operations: [] Exploring Operation: 44-26=18, Resulting Numbers: [44, 6, 18] Generated Node #0,0: 64:[44, 6, 18] Operation: 44-26=18 Exploring Operation: 44/44=1, Resulting Numbers: [6, 26, 1] Generated Node #0,1: 64:[6, 26, 1] Operation: 44/44=1 Exploring Operation: 44-44=0, Resulting Numbers: [6, 26, 0] Generated Node #0,2: 64:[6, 26, 0] Operation: 44-44=0 Moving to Node #0,1 Current State: 64:[6, 26, 1], Operations: ['44/44=1'] Exploring Operation: 26-6=20, Resulting Numbers: [1, 20] Generated Node #0,1,0: 64:[1, 20] Operation: 26-6=20 Exploring Operation: 6+1=7, Resulting Numbers: [26, 7] Generated Node #0,1,1: 64:[26, 7] Operation: 6+1=7 Exploring Operation: 6+26=32, Resulting Numbers: [1, 32] Generated Node #0,1,2: 64:[1, 32] Operation: 6+26=32 Moving to Node #0,2 Current State: 64:[6, 26, 0], Operations: ['44-44=0'] Exploring Operation: 6+26=32, Resulting Numbers: [0, 32] Generated Node #0,2,0: 64:[0, 32] Operation: 6+26=32 Exploring Operation: 26*0=0, Resulting Numbers: [6, 0] Generated Node #0,2,1: 64:[6, 0] Operation: 26*0=0 Exploring Operation: 26-6=20, Resulting Numbers: [0, 20] Generated Node #0,2,2: 64:[0, 20] Operation: 26-6=20 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[0, 32], Operations: ['44-44=0', '6+26=32'] Exploring Operation: 0+32=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 0*32=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 32-0=32, Resulting Numbers: [32] 32,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 64:[6, 0], Operations: ['44-44=0', '26*0=0'] Exploring Operation: 6+0=6, Resulting Numbers: [6] 6,64 unequal: No Solution Exploring Operation: 6-0=6, Resulting Numbers: [6] 6,64 unequal: No Solution Exploring Operation: 6*0=0, Resulting Numbers: [0] 0,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[0, 20], Operations: ['44-44=0', '26-6=20'] Exploring Operation: 0+20=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 0*20=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 20-0=20, Resulting Numbers: [20] 20,64 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: 64:[44, 6, 18], Operations: ['44-26=18'] Exploring Operation: 44-18=26, Resulting Numbers: [6, 26] Generated Node #0,0,0: 64:[6, 26] Operation: 44-18=26 Exploring Operation: 44+18=62, Resulting Numbers: [6, 62] Generated Node #0,0,1: 64:[6, 62] Operation: 44+18=62 Exploring Operation: 44-6=38, Resulting Numbers: [18, 38] Generated Node #0,0,2: 64:[18, 38] Operation: 44-6=38 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[6, 62], Operations: ['44-26=18', '44+18=62'] Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,64 unequal: No Solution Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,64 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[6, 26], Operations: ['44-26=18', '44-18=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[18, 38], Operations: ['44-26=18', '44-6=38'] Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,64 unequal: No Solution Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 64:[1, 32], Operations: ['44/44=1', '6+26=32'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 1*32=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[1, 20], Operations: ['44/44=1', '26-6=20'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,64 unequal: No Solution Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[26, 7], Operations: ['44/44=1', '6+1=7'] Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,64 unequal: No Solution Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,64 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,64 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 9, 92, 1, 1 ]
83
[ "92-9=83", "1*1=1", "83*1=83" ]
Current State: 83:[9, 92, 1, 1], Operations: [] Exploring Operation: 92-9=83, Resulting Numbers: [1, 1, 83] Generated Node #2: [1, 1, 83] from Operation: 92-9=83 Current State: 83:[1, 1, 83], Operations: ['92-9=83'] Exploring Operation: 1*1=1, Resulting Numbers: [83, 1] Generated Node #3: [83, 1] from Operation: 1*1=1 Current State: 83:[83, 1], Operations: ['92-9=83', '1*1=1'] Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[9, 92, 1, 1], Operations: [] Exploring Operation: 9+1=10, Resulting Numbers: [92, 1, 10] Generated Node #0,0: 83:[92, 1, 10] Operation: 9+1=10 Exploring Operation: 92-9=83, Resulting Numbers: [1, 1, 83] Generated Node #0,1: 83:[1, 1, 83] Operation: 92-9=83 Moving to Node #0,0 Current State: 83:[92, 1, 10], Operations: ['9+1=10'] Exploring Operation: 92-1=91, Resulting Numbers: [10, 91] Generated Node #0,0,0: 83:[10, 91] Operation: 92-1=91 Exploring Operation: 1+10=11, Resulting Numbers: [92, 11] Generated Node #0,0,1: 83:[92, 11] Operation: 1+10=11 Moving to Node #0,1 Current State: 83:[1, 1, 83], Operations: ['92-9=83'] Exploring Operation: 1*1=1, Resulting Numbers: [83, 1] Generated Node #0,1,0: 83:[83, 1] Operation: 1*1=1 Exploring Operation: 1+1=2, Resulting Numbers: [83, 2] Generated Node #0,1,1: 83:[83, 2] Operation: 1+1=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[83, 2], Operations: ['92-9=83', '1+1=2'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,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:[83, 1], Operations: ['92-9=83', '1*1=1'] Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[9, 92, 1, 1], Operations: [] Exploring Operation: 92-9=83, Resulting Numbers: [1, 1, 83] Generated Node #0,1: 83:[1, 1, 83] Operation: 92-9=83 Moving to Node #0,1 Current State: 83:[1, 1, 83], Operations: ['92-9=83'] Exploring Operation: 1*1=1, Resulting Numbers: [83, 1] Generated Node #0,1,0: 83:[83, 1] Operation: 1*1=1 Moving to Node #0,1,0 Current State: 83:[83, 1], Operations: ['92-9=83', '1*1=1'] Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
sum_heuristic
[ 82, 18, 21, 66 ]
90
[ "82*18=1476", "21*66=1386", "1476-1386=90" ]
Current State: 90:[82, 18, 21, 66], Operations: [] Exploring Operation: 82*18=1476, Resulting Numbers: [21, 66, 1476] Generated Node #2: [21, 66, 1476] from Operation: 82*18=1476 Current State: 90:[21, 66, 1476], Operations: ['82*18=1476'] Exploring Operation: 21*66=1386, Resulting Numbers: [1476, 1386] Generated Node #3: [1476, 1386] from Operation: 21*66=1386 Current State: 90:[1476, 1386], Operations: ['82*18=1476', '21*66=1386'] Exploring Operation: 1476-1386=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[82, 18, 21, 66], Operations: [] Exploring Operation: 82-66=16, Resulting Numbers: [18, 21, 16] Generated Node #0,0: 90:[18, 21, 16] Operation: 82-66=16 Exploring Operation: 66-21=45, Resulting Numbers: [82, 18, 45] Generated Node #0,1: 90:[82, 18, 45] Operation: 66-21=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[18, 21, 16], Operations: ['82-66=16'] Exploring Operation: 21-16=5, Resulting Numbers: [18, 5] Generated Node #0,0,0: 90:[18, 5] Operation: 21-16=5 Exploring Operation: 21-18=3, Resulting Numbers: [16, 3] Generated Node #0,0,1: 90:[16, 3] Operation: 21-18=3 Moving to Node #0,0,0 Current State: 90:[18, 5], Operations: ['82-66=16', '21-16=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[82, 18, 21, 66], Operations: [] Exploring Operation: 82-66=16, Resulting Numbers: [18, 21, 16] Generated Node #0,0: 90:[18, 21, 16] Operation: 82-66=16 Moving to Node #0,0 Current State: 90:[18, 21, 16], Operations: ['82-66=16'] Exploring Operation: 21-16=5, Resulting Numbers: [18, 5] Generated Node #0,0,0: 90:[18, 5] Operation: 21-16=5 Moving to Node #0,0,0 Current State: 90:[18, 5], Operations: ['82-66=16', '21-16=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 9, 52, 4, 36 ]
53
[ "9*4=36", "36/36=1", "52+1=53" ]
Current State: 53:[9, 52, 4, 36], Operations: [] Exploring Operation: 9*4=36, Resulting Numbers: [52, 36, 36] Generated Node #2: [52, 36, 36] from Operation: 9*4=36 Current State: 53:[52, 36, 36], Operations: ['9*4=36'] Exploring Operation: 36/36=1, Resulting Numbers: [52, 1] Generated Node #3: [52, 1] from Operation: 36/36=1 Current State: 53:[52, 1], Operations: ['9*4=36', '36/36=1'] Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[9, 52, 4, 36], Operations: [] Exploring Operation: 9*4=36, Resulting Numbers: [52, 36, 36] Generated Node #0,0: 53:[52, 36, 36] Operation: 9*4=36 Exploring Operation: 9+4=13, Resulting Numbers: [52, 36, 13] Generated Node #0,1: 53:[52, 36, 13] Operation: 9+4=13 Exploring Operation: 9+36=45, Resulting Numbers: [52, 4, 45] Generated Node #0,2: 53:[52, 4, 45] Operation: 9+36=45 Moving to Node #0,0 Current State: 53:[52, 36, 36], Operations: ['9*4=36'] Exploring Operation: 52+36=88, Resulting Numbers: [36, 88] Generated Node #0,0,0: 53:[36, 88] Operation: 52+36=88 Exploring Operation: 52+36=88, Resulting Numbers: [36, 88] Generated Node #0,0,1: 53:[36, 88] Operation: 52+36=88 Exploring Operation: 36+36=72, Resulting Numbers: [52, 72] Generated Node #0,0,2: 53:[52, 72] Operation: 36+36=72 Moving to Node #0,1 Current State: 53:[52, 36, 13], Operations: ['9+4=13'] Exploring Operation: 52-13=39, Resulting Numbers: [36, 39] Generated Node #0,1,0: 53:[36, 39] Operation: 52-13=39 Exploring Operation: 52+13=65, Resulting Numbers: [36, 65] Generated Node #0,1,1: 53:[36, 65] Operation: 52+13=65 Exploring Operation: 36+13=49, Resulting Numbers: [52, 49] Generated Node #0,1,2: 53:[52, 49] Operation: 36+13=49 Moving to Node #0,2 Current State: 53:[52, 4, 45], Operations: ['9+36=45'] Exploring Operation: 52-4=48, Resulting Numbers: [45, 48] Generated Node #0,2,0: 53:[45, 48] Operation: 52-4=48 Exploring Operation: 52+4=56, Resulting Numbers: [45, 56] Generated Node #0,2,1: 53:[45, 56] Operation: 52+4=56 Exploring Operation: 4+45=49, Resulting Numbers: [52, 49] Generated Node #0,2,2: 53:[52, 49] Operation: 4+45=49 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[52, 49], Operations: ['9+36=45', '4+45=49'] Exploring Operation: 52+49=101, Resulting Numbers: [101] 101,53 unequal: No Solution Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,53 unequal: No Solution Exploring Operation: 52*49=2548, Resulting Numbers: [2548] 2548,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[45, 56], Operations: ['9+36=45', '52+4=56'] Exploring Operation: 56-45=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 45+56=101, Resulting Numbers: [101] 101,53 unequal: No Solution Exploring Operation: 45*56=2520, Resulting Numbers: [2520] 2520,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[45, 48], Operations: ['9+36=45', '52-4=48'] Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,53 unequal: No Solution Exploring Operation: 45*48=2160, Resulting Numbers: [2160] 2160,53 unequal: No Solution Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 53:[52, 49], Operations: ['9+4=13', '36+13=49'] Exploring Operation: 52*49=2548, Resulting Numbers: [2548] 2548,53 unequal: No Solution Exploring Operation: 52+49=101, Resulting Numbers: [101] 101,53 unequal: No Solution Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[52, 72], Operations: ['9*4=36', '36+36=72'] Exploring Operation: 52*72=3744, Resulting Numbers: [3744] 3744,53 unequal: No Solution Exploring Operation: 52+72=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[36, 65], Operations: ['9+4=13', '52+13=65'] Exploring Operation: 36*65=2340, Resulting Numbers: [2340] 2340,53 unequal: No Solution Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 36+65=101, Resulting Numbers: [101] 101,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[36, 39], Operations: ['9+4=13', '52-13=39'] Exploring Operation: 36+39=75, Resulting Numbers: [75] 75,53 unequal: No Solution Exploring Operation: 36*39=1404, Resulting Numbers: [1404] 1404,53 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[36, 88], Operations: ['9*4=36', '52+36=88'] Exploring Operation: 36*88=3168, Resulting Numbers: [3168] 3168,53 unequal: No Solution Exploring Operation: 36+88=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[36, 88], Operations: ['9*4=36', '52+36=88'] Exploring Operation: 36+88=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 36*88=3168, Resulting Numbers: [3168] 3168,53 unequal: No Solution Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,53 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 16, 92, 23, 5 ]
69
[ "16*92=1472", "1472/23=64", "5+64=69" ]
Current State: 69:[16, 92, 23, 5], Operations: [] Exploring Operation: 16*92=1472, Resulting Numbers: [23, 5, 1472] Generated Node #2: [23, 5, 1472] from Operation: 16*92=1472 Current State: 69:[23, 5, 1472], Operations: ['16*92=1472'] Exploring Operation: 1472/23=64, Resulting Numbers: [5, 64] Generated Node #3: [5, 64] from Operation: 1472/23=64 Current State: 69:[5, 64], Operations: ['16*92=1472', '1472/23=64'] Exploring Operation: 5+64=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[16, 92, 23, 5], Operations: [] Exploring Operation: 92/23=4, Resulting Numbers: [16, 5, 4] Generated Node #0,0: 69:[16, 5, 4] Operation: 92/23=4 Exploring Operation: 92-23=69, Resulting Numbers: [16, 5, 69] Generated Node #0,1: 69:[16, 5, 69] Operation: 92-23=69 Exploring Operation: 92-16=76, Resulting Numbers: [23, 5, 76] Generated Node #0,2: 69:[23, 5, 76] Operation: 92-16=76 Moving to Node #0,1 Current State: 69:[16, 5, 69], Operations: ['92-23=69'] Exploring Operation: 16*5=80, Resulting Numbers: [69, 80] Generated Node #0,1,0: 69:[69, 80] Operation: 16*5=80 Exploring Operation: 16+5=21, Resulting Numbers: [69, 21] Generated Node #0,1,1: 69:[69, 21] Operation: 16+5=21 Exploring Operation: 16-5=11, Resulting Numbers: [69, 11] Generated Node #0,1,2: 69:[69, 11] Operation: 16-5=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 69:[69, 21], Operations: ['92-23=69', '16+5=21'] Exploring Operation: 69+21=90, Resulting Numbers: [90] 90,69 unequal: No Solution Exploring Operation: 69*21=1449, Resulting Numbers: [1449] 1449,69 unequal: No Solution Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 69:[69, 11], Operations: ['92-23=69', '16-5=11'] Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 69+11=80, Resulting Numbers: [80] 80,69 unequal: No Solution Exploring Operation: 69*11=759, Resulting Numbers: [759] 759,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[69, 80], Operations: ['92-23=69', '16*5=80'] Exploring Operation: 69*80=5520, Resulting Numbers: [5520] 5520,69 unequal: No Solution Exploring Operation: 69+80=149, Resulting Numbers: [149] 149,69 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 69:[23, 5, 76], Operations: ['92-16=76'] Exploring Operation: 76-5=71, Resulting Numbers: [23, 71] Generated Node #0,2,0: 69:[23, 71] Operation: 76-5=71 Exploring Operation: 23-5=18, Resulting Numbers: [76, 18] Generated Node #0,2,1: 69:[76, 18] Operation: 23-5=18 Exploring Operation: 23+5=28, Resulting Numbers: [76, 28] Generated Node #0,2,2: 69:[76, 28] Operation: 23+5=28 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[23, 71], Operations: ['92-16=76', '76-5=71'] Exploring Operation: 23+71=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 23*71=1633, Resulting Numbers: [1633] 1633,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 69:[76, 18], Operations: ['92-16=76', '23-5=18'] Exploring Operation: 76+18=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 76*18=1368, Resulting Numbers: [1368] 1368,69 unequal: No Solution Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 69:[76, 28], Operations: ['92-16=76', '23+5=28'] Exploring Operation: 76*28=2128, Resulting Numbers: [2128] 2128,69 unequal: No Solution Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 76+28=104, Resulting Numbers: [104] 104,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 69:[16, 5, 4], Operations: ['92/23=4'] Exploring Operation: 16/4=4, Resulting Numbers: [5, 4] Generated Node #0,0,0: 69:[5, 4] Operation: 16/4=4 Exploring Operation: 16+5=21, Resulting Numbers: [4, 21] Generated Node #0,0,1: 69:[4, 21] Operation: 16+5=21 Exploring Operation: 16+4=20, Resulting Numbers: [5, 20] Generated Node #0,0,2: 69:[5, 20] Operation: 16+4=20 Moving to Node #0,0,0 Current State: 69:[5, 4], Operations: ['92/23=4', '16/4=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[4, 21], Operations: ['92/23=4', '16+5=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,69 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[5, 20], Operations: ['92/23=4', '16+4=20'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,69 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 82, 77, 81, 72 ]
14
[ "82-77=5", "81-72=9", "5+9=14" ]
Current State: 14:[82, 77, 81, 72], Operations: [] Exploring Operation: 82-77=5, Resulting Numbers: [81, 72, 5] Generated Node #2: [81, 72, 5] from Operation: 82-77=5 Current State: 14:[81, 72, 5], Operations: ['82-77=5'] Exploring Operation: 81-72=9, Resulting Numbers: [5, 9] Generated Node #3: [5, 9] from Operation: 81-72=9 Current State: 14:[5, 9], Operations: ['82-77=5', '81-72=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[82, 77, 81, 72], Operations: [] Exploring Operation: 82-81=1, Resulting Numbers: [77, 72, 1] Generated Node #0,0: 14:[77, 72, 1] Operation: 82-81=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[77, 72, 1], Operations: ['82-81=1'] Exploring Operation: 77-72=5, Resulting Numbers: [1, 5] Generated Node #0,0,0: 14:[1, 5] Operation: 77-72=5 Moving to Node #0,0,0 Current State: 14:[1, 5], Operations: ['82-81=1', '77-72=5'] Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,14 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
[ 70, 56, 22, 98 ]
18
[ "70*56=3920", "3920/98=40", "40-22=18" ]
Current State: 18:[70, 56, 22, 98], Operations: [] Exploring Operation: 70*56=3920, Resulting Numbers: [22, 98, 3920] Generated Node #2: [22, 98, 3920] from Operation: 70*56=3920 Current State: 18:[22, 98, 3920], Operations: ['70*56=3920'] Exploring Operation: 3920/98=40, Resulting Numbers: [22, 40] Generated Node #3: [22, 40] from Operation: 3920/98=40 Current State: 18:[22, 40], Operations: ['70*56=3920', '3920/98=40'] Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[70, 56, 22, 98], Operations: [] Exploring Operation: 70-22=48, Resulting Numbers: [56, 98, 48] Generated Node #0,0: 18:[56, 98, 48] Operation: 70-22=48 Exploring Operation: 98-56=42, Resulting Numbers: [70, 22, 42] Generated Node #0,1: 18:[70, 22, 42] Operation: 98-56=42 Exploring Operation: 70-56=14, Resulting Numbers: [22, 98, 14] Generated Node #0,2: 18:[22, 98, 14] Operation: 70-56=14 Exploring Operation: 98-70=28, Resulting Numbers: [56, 22, 28] Generated Node #0,3: 18:[56, 22, 28] Operation: 98-70=28 Moving to Node #0,3 Current State: 18:[56, 22, 28], Operations: ['98-70=28'] Exploring Operation: 56/28=2, Resulting Numbers: [22, 2] Generated Node #0,3,0: 18:[22, 2] Operation: 56/28=2 Exploring Operation: 56-28=28, Resulting Numbers: [22, 28] Generated Node #0,3,1: 18:[22, 28] Operation: 56-28=28 Exploring Operation: 28-22=6, Resulting Numbers: [56, 6] Generated Node #0,3,2: 18:[56, 6] Operation: 28-22=6 Exploring Operation: 56-22=34, Resulting Numbers: [28, 34] Generated Node #0,3,3: 18:[28, 34] Operation: 56-22=34 Moving to Node #0,1 Current State: 18:[70, 22, 42], Operations: ['98-56=42'] Exploring Operation: 42-22=20, Resulting Numbers: [70, 20] Generated Node #0,1,0: 18:[70, 20] Operation: 42-22=20 Exploring Operation: 70+22=92, Resulting Numbers: [42, 92] Generated Node #0,1,1: 18:[42, 92] Operation: 70+22=92 Exploring Operation: 70-42=28, Resulting Numbers: [22, 28] Generated Node #0,1,2: 18:[22, 28] Operation: 70-42=28 Exploring Operation: 70-22=48, Resulting Numbers: [42, 48] Generated Node #0,1,3: 18:[42, 48] Operation: 70-22=48 Moving to Node #0,2 Current State: 18:[22, 98, 14], Operations: ['70-56=14'] Exploring Operation: 22-14=8, Resulting Numbers: [98, 8] Generated Node #0,2,0: 18:[98, 8] Operation: 22-14=8 Exploring Operation: 98-14=84, Resulting Numbers: [22, 84] Generated Node #0,2,1: 18:[22, 84] Operation: 98-14=84 Exploring Operation: 98-22=76, Resulting Numbers: [14, 76] Generated Node #0,2,2: 18:[14, 76] Operation: 98-22=76 Exploring Operation: 98/14=7, Resulting Numbers: [22, 7] Generated Node #0,2,3: 18:[22, 7] Operation: 98/14=7 Moving to Node #0,0 Current State: 18:[56, 98, 48], Operations: ['70-22=48'] Exploring Operation: 98-56=42, Resulting Numbers: [48, 42] Generated Node #0,0,0: 18:[48, 42] Operation: 98-56=42 Exploring Operation: 56-48=8, Resulting Numbers: [98, 8] Generated Node #0,0,1: 18:[98, 8] Operation: 56-48=8 Exploring Operation: 56+98=154, Resulting Numbers: [48, 154] Generated Node #0,0,2: 18:[48, 154] Operation: 56+98=154 Exploring Operation: 98-48=50, Resulting Numbers: [56, 50] Generated Node #0,0,3: 18:[56, 50] Operation: 98-48=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[48, 42], Operations: ['70-22=48', '98-56=42'] Exploring Operation: 48*42=2016, Resulting Numbers: [2016] 2016,18 unequal: No Solution Exploring Operation: 48+42=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,18 unequal: No Solution No 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: 18:[56, 50], Operations: ['70-22=48', '98-48=50'] Exploring Operation: 56*50=2800, Resulting Numbers: [2800] 2800,18 unequal: No Solution Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 56+50=106, Resulting Numbers: [106] 106,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[98, 8], Operations: ['70-22=48', '56-48=8'] Exploring Operation: 98+8=106, Resulting Numbers: [106] 106,18 unequal: No Solution Exploring Operation: 98-8=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 98*8=784, Resulting Numbers: [784] 784,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 18:[48, 154], Operations: ['70-22=48', '56+98=154'] Exploring Operation: 48+154=202, Resulting Numbers: [202] 202,18 unequal: No Solution Exploring Operation: 48*154=7392, Resulting Numbers: [7392] 7392,18 unequal: No Solution Exploring Operation: 154-48=106, Resulting Numbers: [106] 106,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 18:[22, 2], Operations: ['98-70=28', '56/28=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,18 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,18 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,18 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,18 unequal: No Solution Moving to Node #0,2,3 Current State: 18:[22, 7], Operations: ['70-56=14', '98/14=7'] Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,18 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,18 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[22, 28], Operations: ['98-56=42', '70-42=28'] Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,18 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,18 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[22, 28], Operations: ['98-70=28', '56-28=28'] Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,18 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[28, 34], Operations: ['98-70=28', '56-22=34'] Exploring Operation: 28+34=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 28*34=952, Resulting Numbers: [952] 952,18 unequal: No Solution Moving to Node #0,3,2 Current State: 18:[56, 6], Operations: ['98-70=28', '28-22=6'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,18 unequal: No Solution Exploring Operation: 56*6=336, Resulting Numbers: [336] 336,18 unequal: No Solution Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,18 unequal: No Solution Moving to Node #0,1,3 Current State: 18:[42, 48], Operations: ['98-56=42', '70-22=48'] Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 42*48=2016, Resulting Numbers: [2016] 2016,18 unequal: No Solution Exploring Operation: 42+48=90, Resulting Numbers: [90] 90,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[70, 20], Operations: ['98-56=42', '42-22=20'] Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,18 unequal: No Solution Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[14, 76], Operations: ['70-56=14', '98-22=76'] Exploring Operation: 14*76=1064, Resulting Numbers: [1064] 1064,18 unequal: No Solution Exploring Operation: 14+76=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,18 unequal: No Solution Moving to Node #0,2,1 Current State: 18:[22, 84], Operations: ['70-56=14', '98-14=84'] Exploring Operation: 84-22=62, Resulting Numbers: [62] 62,18 unequal: No Solution Exploring Operation: 22+84=106, Resulting Numbers: [106] 106,18 unequal: No Solution Exploring Operation: 22*84=1848, Resulting Numbers: [1848] 1848,18 unequal: No Solution Moving to Node #0,2,0 Current State: 18:[98, 8], Operations: ['70-56=14', '22-14=8'] Exploring Operation: 98*8=784, Resulting Numbers: [784] 784,18 unequal: No Solution Exploring Operation: 98+8=106, Resulting Numbers: [106] 106,18 unequal: No Solution Exploring Operation: 98-8=90, Resulting Numbers: [90] 90,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[42, 92], Operations: ['98-56=42', '70+22=92'] Exploring Operation: 92-42=50, Resulting Numbers: [50] 50,18 unequal: No Solution Exploring Operation: 42*92=3864, Resulting Numbers: [3864] 3864,18 unequal: No Solution Exploring Operation: 42+92=134, Resulting Numbers: [134] 134,18 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 47, 31, 87, 54 ]
28
[ "87+54=141", "141/47=3", "31-3=28" ]
Current State: 28:[47, 31, 87, 54], Operations: [] Exploring Operation: 87+54=141, Resulting Numbers: [47, 31, 141] Generated Node #2: [47, 31, 141] from Operation: 87+54=141 Current State: 28:[47, 31, 141], Operations: ['87+54=141'] Exploring Operation: 141/47=3, Resulting Numbers: [31, 3] Generated Node #3: [31, 3] from Operation: 141/47=3 Current State: 28:[31, 3], Operations: ['87+54=141', '141/47=3'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[47, 31, 87, 54], Operations: [] Exploring Operation: 87-54=33, Resulting Numbers: [47, 31, 33] Generated Node #0,0: 28:[47, 31, 33] Operation: 87-54=33 Exploring Operation: 87-47=40, Resulting Numbers: [31, 54, 40] Generated Node #0,1: 28:[31, 54, 40] Operation: 87-47=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[47, 31, 33], Operations: ['87-54=33'] Exploring Operation: 47-31=16, Resulting Numbers: [33, 16] Generated Node #0,0,0: 28:[33, 16] Operation: 47-31=16 Exploring Operation: 47-33=14, Resulting Numbers: [31, 14] Generated Node #0,0,1: 28:[31, 14] Operation: 47-33=14 Moving to Node #0,0,1 Current State: 28:[31, 14], Operations: ['87-54=33', '47-33=14'] Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[33, 16], Operations: ['87-54=33', '47-31=16'] Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,28 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[31, 54, 40], Operations: ['87-47=40'] Exploring Operation: 54-31=23, Resulting Numbers: [40, 23] Generated Node #0,1,0: 28:[40, 23] Operation: 54-31=23 Exploring Operation: 54-40=14, Resulting Numbers: [31, 14] Generated Node #0,1,1: 28:[31, 14] Operation: 54-40=14 Moving to Node #0,1,1 Current State: 28:[31, 14], Operations: ['87-47=40', '54-40=14'] Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,28 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[40, 23], Operations: ['87-47=40', '54-31=23'] Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,28 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
[ 68, 35, 5, 22 ]
53
[ "68+22=90", "90/5=18", "35+18=53" ]
Current State: 53:[68, 35, 5, 22], Operations: [] Exploring Operation: 68+22=90, Resulting Numbers: [35, 5, 90] Generated Node #2: [35, 5, 90] from Operation: 68+22=90 Current State: 53:[35, 5, 90], Operations: ['68+22=90'] Exploring Operation: 90/5=18, Resulting Numbers: [35, 18] Generated Node #3: [35, 18] from Operation: 90/5=18 Current State: 53:[35, 18], Operations: ['68+22=90', '90/5=18'] Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[68, 35, 5, 22], Operations: [] Exploring Operation: 35+22=57, Resulting Numbers: [68, 5, 57] Generated Node #0,0: 53:[68, 5, 57] Operation: 35+22=57 Exploring Operation: 68-5=63, Resulting Numbers: [35, 22, 63] Generated Node #0,1: 53:[35, 22, 63] Operation: 68-5=63 Exploring Operation: 5+22=27, Resulting Numbers: [68, 35, 27] Generated Node #0,2: 53:[68, 35, 27] Operation: 5+22=27 Exploring Operation: 35+5=40, Resulting Numbers: [68, 22, 40] Generated Node #0,3: 53:[68, 22, 40] Operation: 35+5=40 Exploring Operation: 68+5=73, Resulting Numbers: [35, 22, 73] Generated Node #0,4: 53:[35, 22, 73] Operation: 68+5=73 Moving to Node #0,1 Current State: 53:[35, 22, 63], Operations: ['68-5=63'] Exploring Operation: 63-35=28, Resulting Numbers: [22, 28] Generated Node #0,1,0: 53:[22, 28] Operation: 63-35=28 Exploring Operation: 63-22=41, Resulting Numbers: [35, 41] Generated Node #0,1,1: 53:[35, 41] Operation: 63-22=41 Exploring Operation: 35+22=57, Resulting Numbers: [63, 57] Generated Node #0,1,2: 53:[63, 57] Operation: 35+22=57 Exploring Operation: 35-22=13, Resulting Numbers: [63, 13] Generated Node #0,1,3: 53:[63, 13] Operation: 35-22=13 Exploring Operation: 22+63=85, Resulting Numbers: [35, 85] Generated Node #0,1,4: 53:[35, 85] Operation: 22+63=85 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[63, 57], Operations: ['68-5=63', '35+22=57'] Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 63*57=3591, Resulting Numbers: [3591] 3591,53 unequal: No Solution Exploring Operation: 63+57=120, Resulting Numbers: [120] 120,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[35, 41], Operations: ['68-5=63', '63-22=41'] Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,53 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 53:[63, 13], Operations: ['68-5=63', '35-22=13'] Exploring Operation: 63*13=819, Resulting Numbers: [819] 819,53 unequal: No Solution Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 63+13=76, Resulting Numbers: [76] 76,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 53:[35, 85], Operations: ['68-5=63', '22+63=85'] Exploring Operation: 35+85=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 35*85=2975, Resulting Numbers: [2975] 2975,53 unequal: No Solution Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[22, 28], Operations: ['68-5=63', '63-35=28'] Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,53 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: 53:[68, 22, 40], Operations: ['35+5=40'] Exploring Operation: 68+22=90, Resulting Numbers: [40, 90] Generated Node #0,3,0: 53:[40, 90] Operation: 68+22=90 Exploring Operation: 40-22=18, Resulting Numbers: [68, 18] Generated Node #0,3,1: 53:[68, 18] Operation: 40-22=18 Exploring Operation: 22+40=62, Resulting Numbers: [68, 62] Generated Node #0,3,2: 53:[68, 62] Operation: 22+40=62 Exploring Operation: 68-40=28, Resulting Numbers: [22, 28] Generated Node #0,3,3: 53:[22, 28] Operation: 68-40=28 Exploring Operation: 68-22=46, Resulting Numbers: [40, 46] Generated Node #0,3,4: 53:[40, 46] Operation: 68-22=46 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 53:[40, 46], Operations: ['35+5=40', '68-22=46'] Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 40*46=1840, Resulting Numbers: [1840] 1840,53 unequal: No Solution Exploring Operation: 40+46=86, Resulting Numbers: [86] 86,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 53:[68, 62], Operations: ['35+5=40', '22+40=62'] Exploring Operation: 68*62=4216, Resulting Numbers: [4216] 4216,53 unequal: No Solution Exploring Operation: 68+62=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 68-62=6, Resulting Numbers: [6] 6,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 53:[40, 90], Operations: ['35+5=40', '68+22=90'] Exploring Operation: 90-40=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 40+90=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 40*90=3600, Resulting Numbers: [3600] 3600,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 53:[68, 18], Operations: ['35+5=40', '40-22=18'] Exploring Operation: 68+18=86, Resulting Numbers: [86] 86,53 unequal: No Solution Exploring Operation: 68*18=1224, Resulting Numbers: [1224] 1224,53 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 53:[22, 28], Operations: ['35+5=40', '68-40=28'] Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,53 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,53 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: 53:[68, 35, 27], Operations: ['5+22=27'] Exploring Operation: 35+27=62, Resulting Numbers: [68, 62] Generated Node #0,2,0: 53:[68, 62] Operation: 35+27=62 Exploring Operation: 68-35=33, Resulting Numbers: [27, 33] Generated Node #0,2,1: 53:[27, 33] Operation: 68-35=33 Exploring Operation: 35-27=8, Resulting Numbers: [68, 8] Generated Node #0,2,2: 53:[68, 8] Operation: 35-27=8 Exploring Operation: 68-27=41, Resulting Numbers: [35, 41] Generated Node #0,2,3: 53:[35, 41] Operation: 68-27=41 Exploring Operation: 68+27=95, Resulting Numbers: [35, 95] Generated Node #0,2,4: 53:[35, 95] Operation: 68+27=95 Moving to Node #0,0 Current State: 53:[68, 5, 57], Operations: ['35+22=57'] Exploring Operation: 68-57=11, Resulting Numbers: [5, 11] Generated Node #0,0,0: 53:[5, 11] Operation: 68-57=11 Exploring Operation: 57-5=52, Resulting Numbers: [68, 52] Generated Node #0,0,1: 53:[68, 52] Operation: 57-5=52 Exploring Operation: 68-5=63, Resulting Numbers: [57, 63] Generated Node #0,0,2: 53:[57, 63] Operation: 68-5=63 Exploring Operation: 68+5=73, Resulting Numbers: [57, 73] Generated Node #0,0,3: 53:[57, 73] Operation: 68+5=73 Exploring Operation: 5+57=62, Resulting Numbers: [68, 62] Generated Node #0,0,4: 53:[68, 62] Operation: 5+57=62 Moving to Node #0,4 Current State: 53:[35, 22, 73], Operations: ['68+5=73'] Exploring Operation: 35-22=13, Resulting Numbers: [73, 13] Generated Node #0,4,0: 53:[73, 13] Operation: 35-22=13 Exploring Operation: 73-22=51, Resulting Numbers: [35, 51] Generated Node #0,4,1: 53:[35, 51] Operation: 73-22=51 Exploring Operation: 73-35=38, Resulting Numbers: [22, 38] Generated Node #0,4,2: 53:[22, 38] Operation: 73-35=38 Exploring Operation: 35+22=57, Resulting Numbers: [73, 57] Generated Node #0,4,3: 53:[73, 57] Operation: 35+22=57 Exploring Operation: 22+73=95, Resulting Numbers: [35, 95] Generated Node #0,4,4: 53:[35, 95] Operation: 22+73=95 Moving to Node #0,0,2 Current State: 53:[57, 63], Operations: ['35+22=57', '68-5=63'] Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,53 unequal: No Solution Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[68, 52], Operations: ['35+22=57', '57-5=52'] Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,53 unequal: No Solution Exploring Operation: 68+52=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 68*52=3536, Resulting Numbers: [3536] 3536,53 unequal: No Solution Moving to Node #0,4,1 Current State: 53:[35, 51], Operations: ['68+5=73', '73-22=51'] Exploring Operation: 35+51=86, Resulting Numbers: [86] 86,53 unequal: No Solution Exploring Operation: 51-35=16, Resulting Numbers: [16] 16,53 unequal: No Solution Exploring Operation: 35*51=1785, Resulting Numbers: [1785] 1785,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[68, 62], Operations: ['5+22=27', '35+27=62'] Exploring Operation: 68*62=4216, Resulting Numbers: [4216] 4216,53 unequal: No Solution Exploring Operation: 68+62=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 68-62=6, Resulting Numbers: [6] 6,53 unequal: No Solution Moving to Node #0,4,3 Current State: 53:[73, 57], Operations: ['68+5=73', '35+22=57'] Exploring Operation: 73*57=4161, Resulting Numbers: [4161] 4161,53 unequal: No Solution Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,53 unequal: No Solution Exploring Operation: 73+57=130, Resulting Numbers: [130] 130,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[57, 73], Operations: ['35+22=57', '68+5=73'] Exploring Operation: 57+73=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 57*73=4161, Resulting Numbers: [4161] 4161,53 unequal: No Solution Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[68, 62], Operations: ['35+22=57', '5+57=62'] Exploring Operation: 68*62=4216, Resulting Numbers: [4216] 4216,53 unequal: No Solution Exploring Operation: 68-62=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 68+62=130, Resulting Numbers: [130] 130,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[35, 41], Operations: ['5+22=27', '68-27=41'] Exploring Operation: 35+41=76, Resulting Numbers: [76] 76,53 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 35*41=1435, Resulting Numbers: [1435] 1435,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[27, 33], Operations: ['5+22=27', '68-35=33'] Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 27+33=60, Resulting Numbers: [60] 60,53 unequal: No Solution Exploring Operation: 27*33=891, Resulting Numbers: [891] 891,53 unequal: No Solution Moving to Node #0,4,2 Current State: 53:[22, 38], Operations: ['68+5=73', '73-35=38'] Exploring Operation: 22+38=60, Resulting Numbers: [60] 60,53 unequal: No Solution Exploring Operation: 22*38=836, Resulting Numbers: [836] 836,53 unequal: No Solution Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[68, 8], Operations: ['5+22=27', '35-27=8'] Exploring Operation: 68+8=76, Resulting Numbers: [76] 76,53 unequal: No Solution Exploring Operation: 68*8=544, Resulting Numbers: [544] 544,53 unequal: No Solution Exploring Operation: 68-8=60, Resulting Numbers: [60] 60,53 unequal: No Solution Moving to Node #0,4,0 Current State: 53:[73, 13], Operations: ['68+5=73', '35-22=13'] Exploring Operation: 73+13=86, Resulting Numbers: [86] 86,53 unequal: No Solution Exploring Operation: 73-13=60, Resulting Numbers: [60] 60,53 unequal: No Solution Exploring Operation: 73*13=949, Resulting Numbers: [949] 949,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[35, 95], Operations: ['5+22=27', '68+27=95'] Exploring Operation: 35+95=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 35*95=3325, Resulting Numbers: [3325] 3325,53 unequal: No Solution Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,53 unequal: No Solution Moving to Node #0,4,4 Current State: 53:[35, 95], Operations: ['68+5=73', '22+73=95'] Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,53 unequal: No Solution Exploring Operation: 35+95=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 35*95=3325, Resulting Numbers: [3325] 3325,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[5, 11], Operations: ['35+22=57', '68-57=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,53 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,53 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,53 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 66, 15, 65, 54 ]
90
[ "66*15=990", "65-54=11", "990/11=90" ]
Current State: 90:[66, 15, 65, 54], Operations: [] Exploring Operation: 66*15=990, Resulting Numbers: [65, 54, 990] Generated Node #2: [65, 54, 990] from Operation: 66*15=990 Current State: 90:[65, 54, 990], Operations: ['66*15=990'] Exploring Operation: 65-54=11, Resulting Numbers: [990, 11] Generated Node #3: [990, 11] from Operation: 65-54=11 Current State: 90:[990, 11], Operations: ['66*15=990', '65-54=11'] Exploring Operation: 990/11=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[66, 15, 65, 54], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [15, 54, 1] Generated Node #0,0: 90:[15, 54, 1] Operation: 66-65=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[15, 54, 1], Operations: ['66-65=1'] Exploring Operation: 54-15=39, Resulting Numbers: [1, 39] Generated Node #0,0,0: 90:[1, 39] Operation: 54-15=39 Moving to Node #0,0,0 Current State: 90:[1, 39], Operations: ['66-65=1', '54-15=39'] Exploring Operation: 1+39=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
sum_heuristic
[ 2, 70, 86, 92 ]
62
[ "70-2=68", "92-86=6", "68-6=62" ]
Current State: 62:[2, 70, 86, 92], Operations: [] Exploring Operation: 70-2=68, Resulting Numbers: [86, 92, 68] Generated Node #2: [86, 92, 68] from Operation: 70-2=68 Current State: 62:[86, 92, 68], Operations: ['70-2=68'] Exploring Operation: 92-86=6, Resulting Numbers: [68, 6] Generated Node #3: [68, 6] from Operation: 92-86=6 Current State: 62:[68, 6], Operations: ['70-2=68', '92-86=6'] Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[2, 70, 86, 92], Operations: [] Exploring Operation: 86-70=16, Resulting Numbers: [2, 92, 16] Generated Node #0,0: 62:[2, 92, 16] Operation: 86-70=16 Exploring Operation: 92-86=6, Resulting Numbers: [2, 70, 6] Generated Node #0,1: 62:[2, 70, 6] Operation: 92-86=6 Exploring Operation: 92-70=22, Resulting Numbers: [2, 86, 22] Generated Node #0,2: 62:[2, 86, 22] Operation: 92-70=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[2, 70, 6], Operations: ['92-86=6'] Exploring Operation: 70-6=64, Resulting Numbers: [2, 64] Generated Node #0,1,0: 62:[2, 64] Operation: 70-6=64 Exploring Operation: 70/2=35, Resulting Numbers: [6, 35] Generated Node #0,1,1: 62:[6, 35] Operation: 70/2=35 Exploring Operation: 6/2=3, Resulting Numbers: [70, 3] Generated Node #0,1,2: 62:[70, 3] Operation: 6/2=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[2, 64], Operations: ['92-86=6', '70-6=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,62 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[2, 70, 86, 92], Operations: [] Exploring Operation: 92-86=6, Resulting Numbers: [2, 70, 6] Generated Node #0,1: 62:[2, 70, 6] Operation: 92-86=6 Moving to Node #0,1 Current State: 62:[2, 70, 6], Operations: ['92-86=6'] Exploring Operation: 70-6=64, Resulting Numbers: [2, 64] Generated Node #0,1,0: 62:[2, 64] Operation: 70-6=64 Moving to Node #0,1,0 Current State: 62:[2, 64], Operations: ['92-86=6', '70-6=64'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 6, 31, 2, 40 ]
30
[ "31-6=25", "40-25=15", "2*15=30" ]
Current State: 30:[6, 31, 2, 40], Operations: [] Exploring Operation: 31-6=25, Resulting Numbers: [2, 40, 25] Generated Node #2: [2, 40, 25] from Operation: 31-6=25 Current State: 30:[2, 40, 25], Operations: ['31-6=25'] Exploring Operation: 40-25=15, Resulting Numbers: [2, 15] Generated Node #3: [2, 15] from Operation: 40-25=15 Current State: 30:[2, 15], Operations: ['31-6=25', '40-25=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[6, 31, 2, 40], Operations: [] Exploring Operation: 40-31=9, Resulting Numbers: [6, 2, 9] Generated Node #0,0: 30:[6, 2, 9] Operation: 40-31=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[6, 2, 9], Operations: ['40-31=9'] Exploring Operation: 6+9=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 30:[2, 15] Operation: 6+9=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[2, 15], Operations: ['40-31=9', '6+9=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[6, 31, 2, 40], Operations: [] Exploring Operation: 40-31=9, Resulting Numbers: [6, 2, 9] Generated Node #0,0: 30:[6, 2, 9] Operation: 40-31=9 Moving to Node #0,0 Current State: 30:[6, 2, 9], Operations: ['40-31=9'] Exploring Operation: 6+9=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 30:[2, 15] Operation: 6+9=15 Moving to Node #0,0,0 Current State: 30:[2, 15], Operations: ['40-31=9', '6+9=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 22, 13, 41, 18 ]
82
[ "22-13=9", "41*18=738", "738/9=82" ]
Current State: 82:[22, 13, 41, 18], Operations: [] Exploring Operation: 22-13=9, Resulting Numbers: [41, 18, 9] Generated Node #2: [41, 18, 9] from Operation: 22-13=9 Current State: 82:[41, 18, 9], Operations: ['22-13=9'] Exploring Operation: 41*18=738, Resulting Numbers: [9, 738] Generated Node #3: [9, 738] from Operation: 41*18=738 Current State: 82:[9, 738], Operations: ['22-13=9', '41*18=738'] Exploring Operation: 738/9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[22, 13, 41, 18], Operations: [] Exploring Operation: 18-13=5, Resulting Numbers: [22, 41, 5] Generated Node #0,0: 82:[22, 41, 5] Operation: 18-13=5 Exploring Operation: 22+13=35, Resulting Numbers: [41, 18, 35] Generated Node #0,1: 82:[41, 18, 35] Operation: 22+13=35 Exploring Operation: 22+18=40, Resulting Numbers: [13, 41, 40] Generated Node #0,2: 82:[13, 41, 40] Operation: 22+18=40 Exploring Operation: 22-13=9, Resulting Numbers: [41, 18, 9] Generated Node #0,3: 82:[41, 18, 9] Operation: 22-13=9 Exploring Operation: 22-18=4, Resulting Numbers: [13, 41, 4] Generated Node #0,4: 82:[13, 41, 4] Operation: 22-18=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[13, 41, 40], Operations: ['22+18=40'] Exploring Operation: 41-40=1, Resulting Numbers: [13, 1] Generated Node #0,2,0: 82:[13, 1] Operation: 41-40=1 Exploring Operation: 13+41=54, Resulting Numbers: [40, 54] Generated Node #0,2,1: 82:[40, 54] Operation: 13+41=54 Exploring Operation: 41+40=81, Resulting Numbers: [13, 81] Generated Node #0,2,2: 82:[13, 81] Operation: 41+40=81 Exploring Operation: 41-13=28, Resulting Numbers: [40, 28] Generated Node #0,2,3: 82:[40, 28] Operation: 41-13=28 Exploring Operation: 13+40=53, Resulting Numbers: [41, 53] Generated Node #0,2,4: 82:[41, 53] Operation: 13+40=53 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 82:[13, 1], Operations: ['22+18=40', '41-40=1'] Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,82 unequal: No Solution Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 82:[13, 81], Operations: ['22+18=40', '41+40=81'] Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,82 unequal: No Solution Exploring Operation: 13+81=94, Resulting Numbers: [94] 94,82 unequal: No Solution Exploring Operation: 13*81=1053, Resulting Numbers: [1053] 1053,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 82:[41, 53], Operations: ['22+18=40', '13+40=53'] Exploring Operation: 41*53=2173, Resulting Numbers: [2173] 2173,82 unequal: No Solution Exploring Operation: 41+53=94, Resulting Numbers: [94] 94,82 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 82:[40, 54], Operations: ['22+18=40', '13+41=54'] Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,82 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 82:[40, 28], Operations: ['22+18=40', '41-13=28'] Exploring Operation: 40*28=1120, Resulting Numbers: [1120] 1120,82 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,82 unequal: No Solution Exploring Operation: 40+28=68, Resulting Numbers: [68] 68,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 82:[13, 41, 4], Operations: ['22-18=4'] Exploring Operation: 13+41=54, Resulting Numbers: [4, 54] Generated Node #0,4,0: 82:[4, 54] Operation: 13+41=54 Exploring Operation: 13*4=52, Resulting Numbers: [41, 52] Generated Node #0,4,1: 82:[41, 52] Operation: 13*4=52 Exploring Operation: 41-13=28, Resulting Numbers: [4, 28] Generated Node #0,4,2: 82:[4, 28] Operation: 41-13=28 Exploring Operation: 13+4=17, Resulting Numbers: [41, 17] Generated Node #0,4,3: 82:[41, 17] Operation: 13+4=17 Exploring Operation: 13-4=9, Resulting Numbers: [41, 9] Generated Node #0,4,4: 82:[41, 9] Operation: 13-4=9 Moving to Node #0,4,4 Current State: 82:[41, 9], Operations: ['22-18=4', '13-4=9'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,82 unequal: No Solution Exploring Operation: 41*9=369, Resulting Numbers: [369] 369,82 unequal: No Solution Exploring Operation: 41+9=50, Resulting Numbers: [50] 50,82 unequal: No Solution Moving to Node #0,4,1 Current State: 82:[41, 52], Operations: ['22-18=4', '13*4=52'] Exploring Operation: 41*52=2132, Resulting Numbers: [2132] 2132,82 unequal: No Solution Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 41+52=93, Resulting Numbers: [93] 93,82 unequal: No Solution Moving to Node #0,4,0 Current State: 82:[4, 54], Operations: ['22-18=4', '13+41=54'] Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,82 unequal: No Solution Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,82 unequal: No Solution Moving to Node #0,4,2 Current State: 82:[4, 28], Operations: ['22-18=4', '41-13=28'] Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,82 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,82 unequal: No Solution Moving to Node #0,4,3 Current State: 82:[41, 17], Operations: ['22-18=4', '13+4=17'] Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 41*17=697, Resulting Numbers: [697] 697,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 Current State: 82:[22, 41, 5], Operations: ['18-13=5'] Exploring Operation: 22+41=63, Resulting Numbers: [5, 63] Generated Node #0,0,0: 82:[5, 63] Operation: 22+41=63 Exploring Operation: 41-22=19, Resulting Numbers: [5, 19] Generated Node #0,0,1: 82:[5, 19] Operation: 41-22=19 Exploring Operation: 22+5=27, Resulting Numbers: [41, 27] Generated Node #0,0,2: 82:[41, 27] Operation: 22+5=27 Exploring Operation: 41+5=46, Resulting Numbers: [22, 46] Generated Node #0,0,3: 82:[22, 46] Operation: 41+5=46 Exploring Operation: 22-5=17, Resulting Numbers: [41, 17] Generated Node #0,0,4: 82:[41, 17] Operation: 22-5=17 Moving to Node #0,0,2 Current State: 82:[41, 27], Operations: ['18-13=5', '22+5=27'] Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,82 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 41*27=1107, Resulting Numbers: [1107] 1107,82 unequal: No Solution Moving to Node #0,0,4 Current State: 82:[41, 17], Operations: ['18-13=5', '22-5=17'] Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 41*17=697, Resulting Numbers: [697] 697,82 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[5, 19], Operations: ['18-13=5', '41-22=19'] Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[5, 63], Operations: ['18-13=5', '22+41=63'] Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 5+63=68, Resulting Numbers: [68] 68,82 unequal: No Solution Exploring Operation: 5*63=315, Resulting Numbers: [315] 315,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[22, 46], Operations: ['18-13=5', '41+5=46'] Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 22*46=1012, Resulting Numbers: [1012] 1012,82 unequal: No Solution Exploring Operation: 22+46=68, Resulting Numbers: [68] 68,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,1 Current State: 82:[41, 18, 35], Operations: ['22+13=35'] Exploring Operation: 41-35=6, Resulting Numbers: [18, 6] Generated Node #0,1,0: 82:[18, 6] Operation: 41-35=6 Exploring Operation: 41+35=76, Resulting Numbers: [18, 76] Generated Node #0,1,1: 82:[18, 76] Operation: 41+35=76 Exploring Operation: 18+35=53, Resulting Numbers: [41, 53] Generated Node #0,1,2: 82:[41, 53] Operation: 18+35=53 Exploring Operation: 41+18=59, Resulting Numbers: [35, 59] Generated Node #0,1,3: 82:[35, 59] Operation: 41+18=59 Exploring Operation: 35-18=17, Resulting Numbers: [41, 17] Generated Node #0,1,4: 82:[41, 17] Operation: 35-18=17 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 82:[41, 53], Operations: ['22+13=35', '18+35=53'] Exploring Operation: 41+53=94, Resulting Numbers: [94] 94,82 unequal: No Solution Exploring Operation: 41*53=2173, Resulting Numbers: [2173] 2173,82 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 82:[41, 17], Operations: ['22+13=35', '35-18=17'] Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 41*17=697, Resulting Numbers: [697] 697,82 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[18, 6], Operations: ['22+13=35', '41-35=6'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,82 unequal: No Solution Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 18*6=108, Resulting Numbers: [108] 108,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[18, 76], Operations: ['22+13=35', '41+35=76'] Exploring Operation: 18+76=94, Resulting Numbers: [94] 94,82 unequal: No Solution Exploring Operation: 76-18=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 18*76=1368, Resulting Numbers: [1368] 1368,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 82:[35, 59], Operations: ['22+13=35', '41+18=59'] Exploring Operation: 35*59=2065, Resulting Numbers: [2065] 2065,82 unequal: No Solution Exploring Operation: 35+59=94, Resulting Numbers: [94] 94,82 unequal: No Solution Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[41, 18, 9], Operations: ['22-13=9'] Exploring Operation: 41-18=23, Resulting Numbers: [9, 23] Generated Node #0,3,0: 82:[9, 23] Operation: 41-18=23 Exploring Operation: 18-9=9, Resulting Numbers: [41, 9] Generated Node #0,3,1: 82:[41, 9] Operation: 18-9=9 Exploring Operation: 18/9=2, Resulting Numbers: [41, 2] Generated Node #0,3,2: 82:[41, 2] Operation: 18/9=2 Exploring Operation: 41+18=59, Resulting Numbers: [9, 59] Generated Node #0,3,3: 82:[9, 59] Operation: 41+18=59 Exploring Operation: 18+9=27, Resulting Numbers: [41, 27] Generated Node #0,3,4: 82:[41, 27] Operation: 18+9=27 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 82:[41, 2], Operations: ['22-13=9', '18/9=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,82 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[22, 13, 41, 18], Operations: [] Exploring Operation: 22-13=9, Resulting Numbers: [41, 18, 9] Generated Node #0,3: 82:[41, 18, 9] Operation: 22-13=9 Moving to Node #0,3 Current State: 82:[41, 18, 9], Operations: ['22-13=9'] Exploring Operation: 18/9=2, Resulting Numbers: [41, 2] Generated Node #0,3,2: 82:[41, 2] Operation: 18/9=2 Moving to Node #0,3,2 Current State: 82:[41, 2], Operations: ['22-13=9', '18/9=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.913194
hs_5
sum_heuristic
[ 2, 14, 23, 31 ]
71
[ "2*31=62", "23-14=9", "62+9=71" ]
Current State: 71:[2, 14, 23, 31], Operations: [] Exploring Operation: 2*31=62, Resulting Numbers: [14, 23, 62] Generated Node #2: [14, 23, 62] from Operation: 2*31=62 Current State: 71:[14, 23, 62], Operations: ['2*31=62'] Exploring Operation: 23-14=9, Resulting Numbers: [62, 9] Generated Node #3: [62, 9] from Operation: 23-14=9 Current State: 71:[62, 9], Operations: ['2*31=62', '23-14=9'] Exploring Operation: 62+9=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[2, 14, 23, 31], Operations: [] Exploring Operation: 2*14=28, Resulting Numbers: [23, 31, 28] Generated Node #0,0: 71:[23, 31, 28] Operation: 2*14=28 Exploring Operation: 2+14=16, Resulting Numbers: [23, 31, 16] Generated Node #0,1: 71:[23, 31, 16] Operation: 2+14=16 Exploring Operation: 2*31=62, Resulting Numbers: [14, 23, 62] Generated Node #0,2: 71:[14, 23, 62] Operation: 2*31=62 Exploring Operation: 2*23=46, Resulting Numbers: [14, 31, 46] Generated Node #0,3: 71:[14, 31, 46] Operation: 2*23=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[14, 23, 62], Operations: ['2*31=62'] Exploring Operation: 23-14=9, Resulting Numbers: [62, 9] Generated Node #0,2,0: 71:[62, 9] Operation: 23-14=9 Exploring Operation: 62-14=48, Resulting Numbers: [23, 48] Generated Node #0,2,1: 71:[23, 48] Operation: 62-14=48 Exploring Operation: 14+23=37, Resulting Numbers: [62, 37] Generated Node #0,2,2: 71:[62, 37] Operation: 14+23=37 Exploring Operation: 14+62=76, Resulting Numbers: [23, 76] Generated Node #0,2,3: 71:[23, 76] Operation: 14+62=76 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 71:[62, 37], Operations: ['2*31=62', '14+23=37'] Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 62+37=99, Resulting Numbers: [99] 99,71 unequal: No Solution Exploring Operation: 62*37=2294, Resulting Numbers: [2294] 2294,71 unequal: No Solution No 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: 71:[23, 76], Operations: ['2*31=62', '14+62=76'] Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,71 unequal: No Solution Exploring Operation: 23*76=1748, Resulting Numbers: [1748] 1748,71 unequal: No Solution Exploring Operation: 23+76=99, Resulting Numbers: [99] 99,71 unequal: No Solution No 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: 71:[62, 9], Operations: ['2*31=62', '23-14=9'] Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,71 unequal: No Solution Exploring Operation: 62+9=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[2, 14, 23, 31], Operations: [] Exploring Operation: 2*31=62, Resulting Numbers: [14, 23, 62] Generated Node #0,2: 71:[14, 23, 62] Operation: 2*31=62 Moving to Node #0,2 Current State: 71:[14, 23, 62], Operations: ['2*31=62'] Exploring Operation: 23-14=9, Resulting Numbers: [62, 9] Generated Node #0,2,0: 71:[62, 9] Operation: 23-14=9 Moving to Node #0,2,0 Current State: 71:[62, 9], Operations: ['2*31=62', '23-14=9'] Exploring Operation: 62+9=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 69, 48, 67, 16 ]
66
[ "69+48=117", "67-16=51", "117-51=66" ]
Current State: 66:[69, 48, 67, 16], Operations: [] Exploring Operation: 69+48=117, Resulting Numbers: [67, 16, 117] Generated Node #2: [67, 16, 117] from Operation: 69+48=117 Current State: 66:[67, 16, 117], Operations: ['69+48=117'] Exploring Operation: 67-16=51, Resulting Numbers: [117, 51] Generated Node #3: [117, 51] from Operation: 67-16=51 Current State: 66:[117, 51], Operations: ['69+48=117', '67-16=51'] Exploring Operation: 117-51=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[69, 48, 67, 16], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [69, 67, 3] Generated Node #0,0: 66:[69, 67, 3] Operation: 48/16=3 Moving to Node #0,0 Current State: 66:[69, 67, 3], Operations: ['48/16=3'] Exploring Operation: 69-67=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 66:[3, 2] Operation: 69-67=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[3, 2], Operations: ['48/16=3', '69-67=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,66 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
[ 25, 34, 72, 98 ]
34
[ "25+72=97", "98-97=1", "34*1=34" ]
Current State: 34:[25, 34, 72, 98], Operations: [] Exploring Operation: 25+72=97, Resulting Numbers: [34, 98, 97] Generated Node #2: [34, 98, 97] from Operation: 25+72=97 Current State: 34:[34, 98, 97], Operations: ['25+72=97'] Exploring Operation: 98-97=1, Resulting Numbers: [34, 1] Generated Node #3: [34, 1] from Operation: 98-97=1 Current State: 34:[34, 1], Operations: ['25+72=97', '98-97=1'] Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[25, 34, 72, 98], Operations: [] Exploring Operation: 98-34=64, Resulting Numbers: [25, 72, 64] Generated Node #0,0: 34:[25, 72, 64] Operation: 98-34=64 Exploring Operation: 72-34=38, Resulting Numbers: [25, 98, 38] Generated Node #0,1: 34:[25, 98, 38] Operation: 72-34=38 Exploring Operation: 98-72=26, Resulting Numbers: [25, 34, 26] Generated Node #0,2: 34:[25, 34, 26] Operation: 98-72=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[25, 34, 26], Operations: ['98-72=26'] Exploring Operation: 34-26=8, Resulting Numbers: [25, 8] Generated Node #0,2,0: 34:[25, 8] Operation: 34-26=8 Exploring Operation: 34-25=9, Resulting Numbers: [26, 9] Generated Node #0,2,1: 34:[26, 9] Operation: 34-25=9 Exploring Operation: 26-25=1, Resulting Numbers: [34, 1] Generated Node #0,2,2: 34:[34, 1] Operation: 26-25=1 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 34:[34, 1], Operations: ['98-72=26', '26-25=1'] Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[25, 34, 72, 98], Operations: [] Exploring Operation: 98-72=26, Resulting Numbers: [25, 34, 26] Generated Node #0,2: 34:[25, 34, 26] Operation: 98-72=26 Moving to Node #0,2 Current State: 34:[25, 34, 26], Operations: ['98-72=26'] Exploring Operation: 26-25=1, Resulting Numbers: [34, 1] Generated Node #0,2,2: 34:[34, 1] Operation: 26-25=1 Moving to Node #0,2,2 Current State: 34:[34, 1], Operations: ['98-72=26', '26-25=1'] Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 88, 19, 51, 53 ]
35
[ "88-19=69", "51+53=104", "104-69=35" ]
Current State: 35:[88, 19, 51, 53], Operations: [] Exploring Operation: 88-19=69, Resulting Numbers: [51, 53, 69] Generated Node #2: [51, 53, 69] from Operation: 88-19=69 Current State: 35:[51, 53, 69], Operations: ['88-19=69'] Exploring Operation: 51+53=104, Resulting Numbers: [69, 104] Generated Node #3: [69, 104] from Operation: 51+53=104 Current State: 35:[69, 104], Operations: ['88-19=69', '51+53=104'] Exploring Operation: 104-69=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[88, 19, 51, 53], Operations: [] Exploring Operation: 88-53=35, Resulting Numbers: [19, 51, 35] Generated Node #0,0: 35:[19, 51, 35] Operation: 88-53=35 Exploring Operation: 88-51=37, Resulting Numbers: [19, 53, 37] Generated Node #0,1: 35:[19, 53, 37] Operation: 88-51=37 Moving to Node #0,0 Current State: 35:[19, 51, 35], Operations: ['88-53=35'] Exploring Operation: 51-19=32, Resulting Numbers: [35, 32] Generated Node #0,0,0: 35:[35, 32] Operation: 51-19=32 Exploring Operation: 51-35=16, Resulting Numbers: [19, 16] Generated Node #0,0,1: 35:[19, 16] Operation: 51-35=16 Moving to Node #0,1 Current State: 35:[19, 53, 37], Operations: ['88-51=37'] Exploring Operation: 53-19=34, Resulting Numbers: [37, 34] Generated Node #0,1,0: 35:[37, 34] Operation: 53-19=34 Exploring Operation: 53-37=16, Resulting Numbers: [19, 16] Generated Node #0,1,1: 35:[19, 16] Operation: 53-37=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[37, 34], Operations: ['88-51=37', '53-19=34'] Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 37+34=71, Resulting Numbers: [71] 71,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 35:[19, 16], Operations: ['88-51=37', '53-37=16'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[88, 19, 51, 53], Operations: [] Exploring Operation: 88-51=37, Resulting Numbers: [19, 53, 37] Generated Node #0,1: 35:[19, 53, 37] Operation: 88-51=37 Moving to Node #0,1 Current State: 35:[19, 53, 37], Operations: ['88-51=37'] Exploring Operation: 53-37=16, Resulting Numbers: [19, 16] Generated Node #0,1,1: 35:[19, 16] Operation: 53-37=16 Moving to Node #0,1,1 Current State: 35:[19, 16], Operations: ['88-51=37', '53-37=16'] Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_2
mult_heuristic
[ 84, 64, 76, 27 ]
99
[ "84+64=148", "76-27=49", "148-49=99" ]
Current State: 99:[84, 64, 76, 27], Operations: [] Exploring Operation: 84+64=148, Resulting Numbers: [76, 27, 148] Generated Node #2: [76, 27, 148] from Operation: 84+64=148 Current State: 99:[76, 27, 148], Operations: ['84+64=148'] Exploring Operation: 76-27=49, Resulting Numbers: [148, 49] Generated Node #3: [148, 49] from Operation: 76-27=49 Current State: 99:[148, 49], Operations: ['84+64=148', '76-27=49'] Exploring Operation: 148-49=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[84, 64, 76, 27], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [84, 27, 12] Generated Node #0,0: 99:[84, 27, 12] Operation: 76-64=12 Exploring Operation: 84-64=20, Resulting Numbers: [76, 27, 20] Generated Node #0,1: 99:[76, 27, 20] Operation: 84-64=20 Moving to Node #0,0 Current State: 99:[84, 27, 12], Operations: ['76-64=12'] Exploring Operation: 84+12=96, Resulting Numbers: [27, 96] Generated Node #0,0,0: 99:[27, 96] Operation: 84+12=96 Exploring Operation: 84/12=7, Resulting Numbers: [27, 7] Generated Node #0,0,1: 99:[27, 7] Operation: 84/12=7 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[27, 7], Operations: ['76-64=12', '84/12=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[27, 96], Operations: ['76-64=12', '84+12=96'] Exploring Operation: 96-27=69, Resulting Numbers: [69] 69,99 unequal: No Solution Exploring Operation: 27+96=123, Resulting Numbers: [123] 123,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 99:[76, 27, 20], Operations: ['84-64=20'] Exploring Operation: 76+27=103, Resulting Numbers: [20, 103] Generated Node #0,1,0: 99:[20, 103] Operation: 76+27=103 Exploring Operation: 76+20=96, Resulting Numbers: [27, 96] Generated Node #0,1,1: 99:[27, 96] Operation: 76+20=96 Moving to Node #0,1,1 Current State: 99:[27, 96], Operations: ['84-64=20', '76+20=96'] Exploring Operation: 96-27=69, Resulting Numbers: [69] 69,99 unequal: No Solution Exploring Operation: 27+96=123, Resulting Numbers: [123] 123,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[20, 103], Operations: ['84-64=20', '76+27=103'] Exploring Operation: 103-20=83, Resulting Numbers: [83] 83,99 unequal: No Solution Exploring Operation: 20+103=123, Resulting Numbers: [123] 123,99 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 41, 8, 97, 70 ]
10
[ "97-41=56", "8*70=560", "560/56=10" ]
Current State: 10:[41, 8, 97, 70], Operations: [] Exploring Operation: 97-41=56, Resulting Numbers: [8, 70, 56] Generated Node #2: [8, 70, 56] from Operation: 97-41=56 Current State: 10:[8, 70, 56], Operations: ['97-41=56'] Exploring Operation: 8*70=560, Resulting Numbers: [56, 560] Generated Node #3: [56, 560] from Operation: 8*70=560 Current State: 10:[56, 560], Operations: ['97-41=56', '8*70=560'] Exploring Operation: 560/56=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[41, 8, 97, 70], Operations: [] Exploring Operation: 97-41=56, Resulting Numbers: [8, 70, 56] Generated Node #0,0: 10:[8, 70, 56] Operation: 97-41=56 Exploring Operation: 97-70=27, Resulting Numbers: [41, 8, 27] Generated Node #0,1: 10:[41, 8, 27] Operation: 97-70=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[41, 8, 27], Operations: ['97-70=27'] Exploring Operation: 41-27=14, Resulting Numbers: [8, 14] Generated Node #0,1,0: 10:[8, 14] Operation: 41-27=14 Exploring Operation: 41-8=33, Resulting Numbers: [27, 33] Generated Node #0,1,1: 10:[27, 33] Operation: 41-8=33 Moving to Node #0,1,0 Current State: 10:[8, 14], Operations: ['97-70=27', '41-27=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,10 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[27, 33], Operations: ['97-70=27', '41-8=33'] Exploring Operation: 27+33=60, Resulting Numbers: [60] 60,10 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[8, 70, 56], Operations: ['97-41=56'] Exploring Operation: 56/8=7, Resulting Numbers: [70, 7] Generated Node #0,0,0: 10:[70, 7] Operation: 56/8=7 Exploring Operation: 70-56=14, Resulting Numbers: [8, 14] Generated Node #0,0,1: 10:[8, 14] Operation: 70-56=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[8, 14], Operations: ['97-41=56', '70-56=14'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,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:[70, 7], Operations: ['97-41=56', '56/8=7'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[41, 8, 97, 70], Operations: [] Exploring Operation: 97-41=56, Resulting Numbers: [8, 70, 56] Generated Node #0,0: 10:[8, 70, 56] Operation: 97-41=56 Moving to Node #0,0 Current State: 10:[8, 70, 56], Operations: ['97-41=56'] Exploring Operation: 56/8=7, Resulting Numbers: [70, 7] Generated Node #0,0,0: 10:[70, 7] Operation: 56/8=7 Moving to Node #0,0,0 Current State: 10:[70, 7], Operations: ['97-41=56', '56/8=7'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 91, 65, 26, 25 ]
61
[ "91*25=2275", "2275/65=35", "26+35=61" ]
Current State: 61:[91, 65, 26, 25], Operations: [] Exploring Operation: 91*25=2275, Resulting Numbers: [65, 26, 2275] Generated Node #2: [65, 26, 2275] from Operation: 91*25=2275 Current State: 61:[65, 26, 2275], Operations: ['91*25=2275'] Exploring Operation: 2275/65=35, Resulting Numbers: [26, 35] Generated Node #3: [26, 35] from Operation: 2275/65=35 Current State: 61:[26, 35], Operations: ['91*25=2275', '2275/65=35'] Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[91, 65, 26, 25], Operations: [] Exploring Operation: 91-25=66, Resulting Numbers: [65, 26, 66] Generated Node #0,0: 61:[65, 26, 66] Operation: 91-25=66 Exploring Operation: 91-26=65, Resulting Numbers: [65, 25, 65] Generated Node #0,1: 61:[65, 25, 65] Operation: 91-26=65 Moving to Node #0,0 Current State: 61:[65, 26, 66], Operations: ['91-25=66'] Exploring Operation: 66-26=40, Resulting Numbers: [65, 40] Generated Node #0,0,0: 61:[65, 40] Operation: 66-26=40 Exploring Operation: 65-26=39, Resulting Numbers: [66, 39] Generated Node #0,0,1: 61:[66, 39] Operation: 65-26=39 Moving to Node #0,1 Current State: 61:[65, 25, 65], Operations: ['91-26=65'] Exploring Operation: 65-25=40, Resulting Numbers: [65, 40] Generated Node #0,1,0: 61:[65, 40] Operation: 65-25=40 Exploring Operation: 65-25=40, Resulting Numbers: [65, 40] Generated Node #0,1,1: 61:[65, 40] Operation: 65-25=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[65, 40], Operations: ['91-26=65', '65-25=40'] Exploring Operation: 65+40=105, Resulting Numbers: [105] 105,61 unequal: No Solution Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[65, 40], Operations: ['91-26=65', '65-25=40'] Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,61 unequal: No Solution Exploring Operation: 65+40=105, Resulting Numbers: [105] 105,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 61:[65, 40], Operations: ['91-25=66', '66-26=40'] Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,61 unequal: No Solution Exploring Operation: 65+40=105, Resulting Numbers: [105] 105,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[66, 39], Operations: ['91-25=66', '65-26=39'] Exploring Operation: 66-39=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 66+39=105, Resulting Numbers: [105] 105,61 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 62, 15, 4, 98 ]
55
[ "62-15=47", "4+98=102", "102-47=55" ]
Current State: 55:[62, 15, 4, 98], Operations: [] Exploring Operation: 62-15=47, Resulting Numbers: [4, 98, 47] Generated Node #2: [4, 98, 47] from Operation: 62-15=47 Current State: 55:[4, 98, 47], Operations: ['62-15=47'] Exploring Operation: 4+98=102, Resulting Numbers: [47, 102] Generated Node #3: [47, 102] from Operation: 4+98=102 Current State: 55:[47, 102], Operations: ['62-15=47', '4+98=102'] Exploring Operation: 102-47=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[62, 15, 4, 98], Operations: [] Exploring Operation: 98-62=36, Resulting Numbers: [15, 4, 36] Generated Node #0,0: 55:[15, 4, 36] Operation: 98-62=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[15, 4, 36], Operations: ['98-62=36'] Exploring Operation: 15+36=51, Resulting Numbers: [4, 51] Generated Node #0,0,0: 55:[4, 51] Operation: 15+36=51 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[4, 51], Operations: ['98-62=36', '15+36=51'] Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[62, 15, 4, 98], Operations: [] Exploring Operation: 98-62=36, Resulting Numbers: [15, 4, 36] Generated Node #0,0: 55:[15, 4, 36] Operation: 98-62=36 Moving to Node #0,0 Current State: 55:[15, 4, 36], Operations: ['98-62=36'] Exploring Operation: 15+36=51, Resulting Numbers: [4, 51] Generated Node #0,0,0: 55:[4, 51] Operation: 15+36=51 Moving to Node #0,0,0 Current State: 55:[4, 51], Operations: ['98-62=36', '15+36=51'] Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 91, 78, 54, 31 ]
98
[ "91-78=13", "54+31=85", "13+85=98" ]
Current State: 98:[91, 78, 54, 31], Operations: [] Exploring Operation: 91-78=13, Resulting Numbers: [54, 31, 13] Generated Node #2: [54, 31, 13] from Operation: 91-78=13 Current State: 98:[54, 31, 13], Operations: ['91-78=13'] Exploring Operation: 54+31=85, Resulting Numbers: [13, 85] Generated Node #3: [13, 85] from Operation: 54+31=85 Current State: 98:[13, 85], Operations: ['91-78=13', '54+31=85'] Exploring Operation: 13+85=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[91, 78, 54, 31], Operations: [] Exploring Operation: 78-54=24, Resulting Numbers: [91, 31, 24] Generated Node #0,0: 98:[91, 31, 24] Operation: 78-54=24 Exploring Operation: 78+31=109, Resulting Numbers: [91, 54, 109] Generated Node #0,1: 98:[91, 54, 109] Operation: 78+31=109 Exploring Operation: 91-78=13, Resulting Numbers: [54, 31, 13] Generated Node #0,2: 98:[54, 31, 13] Operation: 91-78=13 Exploring Operation: 78-31=47, Resulting Numbers: [91, 54, 47] Generated Node #0,3: 98:[91, 54, 47] Operation: 78-31=47 Moving to Node #0,3 Current State: 98:[91, 54, 47], Operations: ['78-31=47'] Exploring Operation: 91-47=44, Resulting Numbers: [54, 44] Generated Node #0,3,0: 98:[54, 44] Operation: 91-47=44 Exploring Operation: 54-47=7, Resulting Numbers: [91, 7] Generated Node #0,3,1: 98:[91, 7] Operation: 54-47=7 Exploring Operation: 91-54=37, Resulting Numbers: [47, 37] Generated Node #0,3,2: 98:[47, 37] Operation: 91-54=37 Exploring Operation: 54+47=101, Resulting Numbers: [91, 101] Generated Node #0,3,3: 98:[91, 101] Operation: 54+47=101 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 98:[91, 7], Operations: ['78-31=47', '54-47=7'] Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,98 unequal: No Solution Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[91, 78, 54, 31], Operations: [] Exploring Operation: 78-31=47, Resulting Numbers: [91, 54, 47] Generated Node #0,3: 98:[91, 54, 47] Operation: 78-31=47 Moving to Node #0,3 Current State: 98:[91, 54, 47], Operations: ['78-31=47'] Exploring Operation: 54-47=7, Resulting Numbers: [91, 7] Generated Node #0,3,1: 98:[91, 7] Operation: 54-47=7 Moving to Node #0,3,1 Current State: 98:[91, 7], Operations: ['78-31=47', '54-47=7'] Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 6, 61, 64, 67 ]
69
[ "64-61=3", "6/3=2", "67+2=69" ]
Current State: 69:[6, 61, 64, 67], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [6, 67, 3] Generated Node #2: [6, 67, 3] from Operation: 64-61=3 Current State: 69:[6, 67, 3], Operations: ['64-61=3'] Exploring Operation: 6/3=2, Resulting Numbers: [67, 2] Generated Node #3: [67, 2] from Operation: 6/3=2 Current State: 69:[67, 2], Operations: ['64-61=3', '6/3=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[6, 61, 64, 67], Operations: [] Exploring Operation: 6+61=67, Resulting Numbers: [64, 67, 67] Generated Node #0,0: 69:[64, 67, 67] Operation: 6+61=67 Exploring Operation: 64-61=3, Resulting Numbers: [6, 67, 3] Generated Node #0,1: 69:[6, 67, 3] Operation: 64-61=3 Exploring Operation: 6+64=70, Resulting Numbers: [61, 67, 70] Generated Node #0,2: 69:[61, 67, 70] Operation: 6+64=70 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[6, 67, 3], Operations: ['64-61=3'] Exploring Operation: 6-3=3, Resulting Numbers: [67, 3] Generated Node #0,1,0: 69:[67, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [67, 2] Generated Node #0,1,1: 69:[67, 2] Operation: 6/3=2 Exploring Operation: 6+67=73, Resulting Numbers: [3, 73] Generated Node #0,1,2: 69:[3, 73] Operation: 6+67=73 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[67, 3], Operations: ['64-61=3', '6-3=3'] Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,69 unequal: No Solution Exploring Operation: 67*3=201, Resulting Numbers: [201] 201,69 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 69:[67, 2], Operations: ['64-61=3', '6/3=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,69 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[6, 61, 64, 67], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [6, 67, 3] Generated Node #0,1: 69:[6, 67, 3] Operation: 64-61=3 Moving to Node #0,1 Current State: 69:[6, 67, 3], Operations: ['64-61=3'] Exploring Operation: 6/3=2, Resulting Numbers: [67, 2] Generated Node #0,1,1: 69:[67, 2] Operation: 6/3=2 Moving to Node #0,1,1 Current State: 69:[67, 2], Operations: ['64-61=3', '6/3=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 68, 87, 84, 42 ]
21
[ "87-68=19", "84/42=2", "19+2=21" ]
Current State: 21:[68, 87, 84, 42], Operations: [] Exploring Operation: 87-68=19, Resulting Numbers: [84, 42, 19] Generated Node #2: [84, 42, 19] from Operation: 87-68=19 Current State: 21:[84, 42, 19], Operations: ['87-68=19'] Exploring Operation: 84/42=2, Resulting Numbers: [19, 2] Generated Node #3: [19, 2] from Operation: 84/42=2 Current State: 21:[19, 2], Operations: ['87-68=19', '84/42=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[68, 87, 84, 42], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [68, 42, 3] Generated Node #0,0: 21:[68, 42, 3] Operation: 87-84=3 Exploring Operation: 87-68=19, Resulting Numbers: [84, 42, 19] Generated Node #0,1: 21:[84, 42, 19] Operation: 87-68=19 Moving to Node #0,0 Current State: 21:[68, 42, 3], Operations: ['87-84=3'] Exploring Operation: 68-42=26, Resulting Numbers: [3, 26] Generated Node #0,0,0: 21:[3, 26] Operation: 68-42=26 Exploring Operation: 42/3=14, Resulting Numbers: [68, 14] Generated Node #0,0,1: 21:[68, 14] Operation: 42/3=14 Moving to Node #0,1 Current State: 21:[84, 42, 19], Operations: ['87-68=19'] Exploring Operation: 84/42=2, Resulting Numbers: [19, 2] Generated Node #0,1,0: 21:[19, 2] Operation: 84/42=2 Exploring Operation: 84-42=42, Resulting Numbers: [19, 42] Generated Node #0,1,1: 21:[19, 42] Operation: 84-42=42 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[19, 2], Operations: ['87-68=19', '84/42=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[68, 87, 84, 42], Operations: [] Exploring Operation: 87-68=19, Resulting Numbers: [84, 42, 19] Generated Node #0,1: 21:[84, 42, 19] Operation: 87-68=19 Moving to Node #0,1 Current State: 21:[84, 42, 19], Operations: ['87-68=19'] Exploring Operation: 84/42=2, Resulting Numbers: [19, 2] Generated Node #0,1,0: 21:[19, 2] Operation: 84/42=2 Moving to Node #0,1,0 Current State: 21:[19, 2], Operations: ['87-68=19', '84/42=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 3, 33, 31, 72 ]
33
[ "3+33=36", "72/36=2", "31+2=33" ]
Current State: 33:[3, 33, 31, 72], Operations: [] Exploring Operation: 3+33=36, Resulting Numbers: [31, 72, 36] Generated Node #2: [31, 72, 36] from Operation: 3+33=36 Current State: 33:[31, 72, 36], Operations: ['3+33=36'] Exploring Operation: 72/36=2, Resulting Numbers: [31, 2] Generated Node #3: [31, 2] from Operation: 72/36=2 Current State: 33:[31, 2], Operations: ['3+33=36', '72/36=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[3, 33, 31, 72], Operations: [] Exploring Operation: 72-31=41, Resulting Numbers: [3, 33, 41] Generated Node #0,0: 33:[3, 33, 41] Operation: 72-31=41 Exploring Operation: 72-3=69, Resulting Numbers: [33, 31, 69] Generated Node #0,1: 33:[33, 31, 69] Operation: 72-3=69 Exploring Operation: 72-33=39, Resulting Numbers: [3, 31, 39] Generated Node #0,2: 33:[3, 31, 39] Operation: 72-33=39 Exploring Operation: 72/3=24, Resulting Numbers: [33, 31, 24] Generated Node #0,3: 33:[33, 31, 24] Operation: 72/3=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[3, 33, 41], Operations: ['72-31=41'] Exploring Operation: 3+33=36, Resulting Numbers: [41, 36] Generated Node #0,0,0: 33:[41, 36] Operation: 3+33=36 Exploring Operation: 41-3=38, Resulting Numbers: [33, 38] Generated Node #0,0,1: 33:[33, 38] Operation: 41-3=38 Exploring Operation: 33/3=11, Resulting Numbers: [41, 11] Generated Node #0,0,2: 33:[41, 11] Operation: 33/3=11 Exploring Operation: 41-33=8, Resulting Numbers: [3, 8] Generated Node #0,0,3: 33:[3, 8] Operation: 41-33=8 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 33:[3, 8], Operations: ['72-31=41', '41-33=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,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:[33, 38], Operations: ['72-31=41', '41-3=38'] Exploring Operation: 33+38=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 33*38=1254, Resulting Numbers: [1254] 1254,33 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,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,2 Current State: 33:[41, 11], Operations: ['72-31=41', '33/3=11'] Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,33 unequal: No Solution Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,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,0 Current State: 33:[41, 36], Operations: ['72-31=41', '3+33=36'] Exploring Operation: 41*36=1476, Resulting Numbers: [1476] 1476,33 unequal: No Solution Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 41+36=77, Resulting Numbers: [77] 77,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,2 Current State: 33:[3, 31, 39], Operations: ['72-33=39'] Exploring Operation: 3+31=34, Resulting Numbers: [39, 34] Generated Node #0,2,0: 33:[39, 34] Operation: 3+31=34 Exploring Operation: 39-3=36, Resulting Numbers: [31, 36] Generated Node #0,2,1: 33:[31, 36] Operation: 39-3=36 Exploring Operation: 39/3=13, Resulting Numbers: [31, 13] Generated Node #0,2,2: 33:[31, 13] Operation: 39/3=13 Exploring Operation: 39-31=8, Resulting Numbers: [3, 8] Generated Node #0,2,3: 33:[3, 8] Operation: 39-31=8 Moving to Node #0,2,3 Current State: 33:[3, 8], Operations: ['72-33=39', '39-31=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,33 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[31, 13], Operations: ['72-33=39', '39/3=13'] Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,33 unequal: No Solution Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,33 unequal: No Solution Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[31, 36], Operations: ['72-33=39', '39-3=36'] Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 31+36=67, Resulting Numbers: [67] 67,33 unequal: No Solution Exploring Operation: 31*36=1116, Resulting Numbers: [1116] 1116,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[39, 34], Operations: ['72-33=39', '3+31=34'] Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,33 unequal: No Solution Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,33 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,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 Current State: 33:[33, 31, 24], Operations: ['72/3=24'] Exploring Operation: 33-24=9, Resulting Numbers: [31, 9] Generated Node #0,3,0: 33:[31, 9] Operation: 33-24=9 Exploring Operation: 33-31=2, Resulting Numbers: [24, 2] Generated Node #0,3,1: 33:[24, 2] Operation: 33-31=2 Exploring Operation: 31-24=7, Resulting Numbers: [33, 7] Generated Node #0,3,2: 33:[33, 7] Operation: 31-24=7 Exploring Operation: 31+24=55, Resulting Numbers: [33, 55] Generated Node #0,3,3: 33:[33, 55] Operation: 31+24=55 Moving to Node #0,3,0 Current State: 33:[31, 9], Operations: ['72/3=24', '33-24=9'] Exploring Operation: 31*9=279, Resulting Numbers: [279] 279,33 unequal: No Solution Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 31+9=40, Resulting Numbers: [40] 40,33 unequal: No Solution Moving to Node #0,3,2 Current State: 33:[33, 7], Operations: ['72/3=24', '31-24=7'] Exploring Operation: 33*7=231, Resulting Numbers: [231] 231,33 unequal: No Solution Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[24, 2], Operations: ['72/3=24', '33-31=2'] Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,33 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,33 unequal: No Solution Moving to Node #0,3,3 Current State: 33:[33, 55], Operations: ['72/3=24', '31+24=55'] Exploring Operation: 33+55=88, Resulting Numbers: [88] 88,33 unequal: No Solution Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 33*55=1815, Resulting Numbers: [1815] 1815,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,1 Current State: 33:[33, 31, 69], Operations: ['72-3=69'] Exploring Operation: 69-31=38, Resulting Numbers: [33, 38] Generated Node #0,1,0: 33:[33, 38] Operation: 69-31=38 Exploring Operation: 69-33=36, Resulting Numbers: [31, 36] Generated Node #0,1,1: 33:[31, 36] Operation: 69-33=36 Exploring Operation: 33+31=64, Resulting Numbers: [69, 64] Generated Node #0,1,2: 33:[69, 64] Operation: 33+31=64 Exploring Operation: 33-31=2, Resulting Numbers: [69, 2] Generated Node #0,1,3: 33:[69, 2] Operation: 33-31=2 Moving to Node #0,1,0 Current State: 33:[33, 38], Operations: ['72-3=69', '69-31=38'] Exploring Operation: 33+38=71, Resulting Numbers: [71] 71,33 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 33*38=1254, Resulting Numbers: [1254] 1254,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[31, 36], Operations: ['72-3=69', '69-33=36'] Exploring Operation: 31*36=1116, Resulting Numbers: [1116] 1116,33 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 31+36=67, Resulting Numbers: [67] 67,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[69, 2], Operations: ['72-3=69', '33-31=2'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,33 unequal: No Solution Exploring Operation: 69*2=138, Resulting Numbers: [138] 138,33 unequal: No Solution Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[69, 64], Operations: ['72-3=69', '33+31=64'] Exploring Operation: 69*64=4416, Resulting Numbers: [4416] 4416,33 unequal: No Solution Exploring Operation: 69+64=133, Resulting Numbers: [133] 133,33 unequal: No Solution Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 90, 94, 53, 55 ]
43
[ "55-53=2", "94/2=47", "90-47=43" ]
Current State: 43:[90, 94, 53, 55], Operations: [] Exploring Operation: 55-53=2, Resulting Numbers: [90, 94, 2] Generated Node #2: [90, 94, 2] from Operation: 55-53=2 Current State: 43:[90, 94, 2], Operations: ['55-53=2'] Exploring Operation: 94/2=47, Resulting Numbers: [90, 47] Generated Node #3: [90, 47] from Operation: 94/2=47 Current State: 43:[90, 47], Operations: ['55-53=2', '94/2=47'] Exploring Operation: 90-47=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[90, 94, 53, 55], Operations: [] Exploring Operation: 94-90=4, Resulting Numbers: [53, 55, 4] Generated Node #0,0: 43:[53, 55, 4] Operation: 94-90=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[53, 55, 4], Operations: ['94-90=4'] Exploring Operation: 53-4=49, Resulting Numbers: [55, 49] Generated Node #0,0,0: 43:[55, 49] Operation: 53-4=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[55, 49], Operations: ['94-90=4', '53-4=49'] Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 48, 84, 52, 43 ]
64
[ "52-48=4", "84/4=21", "43+21=64" ]
Current State: 64:[48, 84, 52, 43], Operations: [] Exploring Operation: 52-48=4, Resulting Numbers: [84, 43, 4] Generated Node #2: [84, 43, 4] from Operation: 52-48=4 Current State: 64:[84, 43, 4], Operations: ['52-48=4'] Exploring Operation: 84/4=21, Resulting Numbers: [43, 21] Generated Node #3: [43, 21] from Operation: 84/4=21 Current State: 64:[43, 21], Operations: ['52-48=4', '84/4=21'] Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[48, 84, 52, 43], Operations: [] Exploring Operation: 84-52=32, Resulting Numbers: [48, 43, 32] Generated Node #0,0: 64:[48, 43, 32] Operation: 84-52=32 Exploring Operation: 52-48=4, Resulting Numbers: [84, 43, 4] Generated Node #0,1: 64:[84, 43, 4] Operation: 52-48=4 Exploring Operation: 84-48=36, Resulting Numbers: [52, 43, 36] Generated Node #0,2: 64:[52, 43, 36] Operation: 84-48=36 Moving to Node #0,0 Current State: 64:[48, 43, 32], Operations: ['84-52=32'] Exploring Operation: 48-43=5, Resulting Numbers: [32, 5] Generated Node #0,0,0: 64:[32, 5] Operation: 48-43=5 Exploring Operation: 43-32=11, Resulting Numbers: [48, 11] Generated Node #0,0,1: 64:[48, 11] Operation: 43-32=11 Exploring Operation: 48-32=16, Resulting Numbers: [43, 16] Generated Node #0,0,2: 64:[43, 16] Operation: 48-32=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[32, 5], Operations: ['84-52=32', '48-43=5'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,64 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[43, 16], Operations: ['84-52=32', '48-32=16'] Exploring Operation: 43*16=688, Resulting Numbers: [688] 688,64 unequal: No Solution Exploring Operation: 43+16=59, Resulting Numbers: [59] 59,64 unequal: No Solution Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[48, 11], Operations: ['84-52=32', '43-32=11'] Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,64 unequal: No Solution Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 48*11=528, Resulting Numbers: [528] 528,64 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: 64:[52, 43, 36], Operations: ['84-48=36'] Exploring Operation: 52-43=9, Resulting Numbers: [36, 9] Generated Node #0,2,0: 64:[36, 9] Operation: 52-43=9 Exploring Operation: 52-36=16, Resulting Numbers: [43, 16] Generated Node #0,2,1: 64:[43, 16] Operation: 52-36=16 Exploring Operation: 43-36=7, Resulting Numbers: [52, 7] Generated Node #0,2,2: 64:[52, 7] Operation: 43-36=7 Moving to Node #0,1 Current State: 64:[84, 43, 4], Operations: ['52-48=4'] Exploring Operation: 84-4=80, Resulting Numbers: [43, 80] Generated Node #0,1,0: 64:[43, 80] Operation: 84-4=80 Exploring Operation: 84-43=41, Resulting Numbers: [4, 41] Generated Node #0,1,1: 64:[4, 41] Operation: 84-43=41 Exploring Operation: 84/4=21, Resulting Numbers: [43, 21] Generated Node #0,1,2: 64:[43, 21] Operation: 84/4=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[4, 41], Operations: ['52-48=4', '84-43=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[43, 21], Operations: ['52-48=4', '84/4=21'] Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,64 unequal: No Solution Exploring Operation: 43*21=903, Resulting Numbers: [903] 903,64 unequal: No Solution Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[48, 84, 52, 43], Operations: [] Exploring Operation: 52-48=4, Resulting Numbers: [84, 43, 4] Generated Node #0,1: 64:[84, 43, 4] Operation: 52-48=4 Moving to Node #0,1 Current State: 64:[84, 43, 4], Operations: ['52-48=4'] Exploring Operation: 84/4=21, Resulting Numbers: [43, 21] Generated Node #0,1,2: 64:[43, 21] Operation: 84/4=21 Moving to Node #0,1,2 Current State: 64:[43, 21], Operations: ['52-48=4', '84/4=21'] Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
mult_heuristic
[ 13, 14, 24, 28 ]
69
[ "28-24=4", "14*4=56", "13+56=69" ]
Current State: 69:[13, 14, 24, 28], Operations: [] Exploring Operation: 28-24=4, Resulting Numbers: [13, 14, 4] Generated Node #2: [13, 14, 4] from Operation: 28-24=4 Current State: 69:[13, 14, 4], Operations: ['28-24=4'] Exploring Operation: 14*4=56, Resulting Numbers: [13, 56] Generated Node #3: [13, 56] from Operation: 14*4=56 Current State: 69:[13, 56], Operations: ['28-24=4', '14*4=56'] Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[13, 14, 24, 28], Operations: [] Exploring Operation: 28/14=2, Resulting Numbers: [13, 24, 2] Generated Node #0,0: 69:[13, 24, 2] Operation: 28/14=2 Exploring Operation: 14-13=1, Resulting Numbers: [24, 28, 1] Generated Node #0,1: 69:[24, 28, 1] Operation: 14-13=1 Exploring Operation: 28-14=14, Resulting Numbers: [13, 24, 14] Generated Node #0,2: 69:[13, 24, 14] Operation: 28-14=14 Exploring Operation: 13+14=27, Resulting Numbers: [24, 28, 27] Generated Node #0,3: 69:[24, 28, 27] Operation: 13+14=27 Exploring Operation: 28-13=15, Resulting Numbers: [14, 24, 15] Generated Node #0,4: 69:[14, 24, 15] Operation: 28-13=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[24, 28, 1], Operations: ['14-13=1'] Exploring Operation: 28-24=4, Resulting Numbers: [1, 4] Generated Node #0,1,0: 69:[1, 4] Operation: 28-24=4 Exploring Operation: 24-1=23, Resulting Numbers: [28, 23] Generated Node #0,1,1: 69:[28, 23] Operation: 24-1=23 Exploring Operation: 24/1=24, Resulting Numbers: [28, 24] Generated Node #0,1,2: 69:[28, 24] Operation: 24/1=24 Exploring Operation: 28-1=27, Resulting Numbers: [24, 27] Generated Node #0,1,3: 69:[24, 27] Operation: 28-1=27 Exploring Operation: 24*1=24, Resulting Numbers: [28, 24] Generated Node #0,1,4: 69:[28, 24] Operation: 24*1=24 Moving to Node #0,1,0 Current State: 69:[1, 4], Operations: ['14-13=1', '28-24=4'] Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[24, 27], Operations: ['14-13=1', '28-1=27'] Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,69 unequal: No Solution Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,69 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[28, 23], Operations: ['14-13=1', '24-1=23'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,69 unequal: No Solution Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[28, 24], Operations: ['14-13=1', '24/1=24'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,69 unequal: No Solution Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,69 unequal: No Solution Moving to Node #0,1,4 Current State: 69:[28, 24], Operations: ['14-13=1', '24*1=24'] Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,69 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,69 unequal: No Solution Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 69:[24, 28, 27], Operations: ['13+14=27'] Exploring Operation: 24+28=52, Resulting Numbers: [27, 52] Generated Node #0,3,0: 69:[27, 52] Operation: 24+28=52 Exploring Operation: 28-24=4, Resulting Numbers: [27, 4] Generated Node #0,3,1: 69:[27, 4] Operation: 28-24=4 Exploring Operation: 28-27=1, Resulting Numbers: [24, 1] Generated Node #0,3,2: 69:[24, 1] Operation: 28-27=1 Exploring Operation: 28+27=55, Resulting Numbers: [24, 55] Generated Node #0,3,3: 69:[24, 55] Operation: 28+27=55 Exploring Operation: 27-24=3, Resulting Numbers: [28, 3] Generated Node #0,3,4: 69:[28, 3] Operation: 27-24=3 Moving to Node #0,3,2 Current State: 69:[24, 1], Operations: ['13+14=27', '28-27=1'] Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,69 unequal: No Solution Moving to Node #0,3,4 Current State: 69:[28, 3], Operations: ['13+14=27', '27-24=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,69 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[27, 4], Operations: ['13+14=27', '28-24=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[24, 55], Operations: ['13+14=27', '28+27=55'] Exploring Operation: 24*55=1320, Resulting Numbers: [1320] 1320,69 unequal: No Solution Exploring Operation: 24+55=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,69 unequal: No Solution Moving to Node #0,3,0 Current State: 69:[27, 52], Operations: ['13+14=27', '24+28=52'] Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,69 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[13, 24, 2], Operations: ['28/14=2'] Exploring Operation: 13*2=26, Resulting Numbers: [24, 26] Generated Node #0,0,0: 69:[24, 26] Operation: 13*2=26 Exploring Operation: 24-2=22, Resulting Numbers: [13, 22] Generated Node #0,0,1: 69:[13, 22] Operation: 24-2=22 Exploring Operation: 24-13=11, Resulting Numbers: [2, 11] Generated Node #0,0,2: 69:[2, 11] Operation: 24-13=11 Exploring Operation: 13+2=15, Resulting Numbers: [24, 15] Generated Node #0,0,3: 69:[24, 15] Operation: 13+2=15 Exploring Operation: 13-2=11, Resulting Numbers: [24, 11] Generated Node #0,0,4: 69:[24, 11] Operation: 13-2=11 Moving to Node #0,0,0 Current State: 69:[24, 26], Operations: ['28/14=2', '13*2=26'] Exploring Operation: 24+26=50, Resulting Numbers: [50] 50,69 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 24*26=624, Resulting Numbers: [624] 624,69 unequal: No Solution Moving to Node #0,0,3 Current State: 69:[24, 15], Operations: ['28/14=2', '13+2=15'] Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,69 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[2, 11], Operations: ['28/14=2', '24-13=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,69 unequal: No Solution Moving to Node #0,0,4 Current State: 69:[24, 11], Operations: ['28/14=2', '13-2=11'] Exploring Operation: 24+11=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 24*11=264, Resulting Numbers: [264] 264,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[13, 22], Operations: ['28/14=2', '24-2=22'] Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,69 unequal: No Solution Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,69 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 69:[14, 24, 15], Operations: ['28-13=15'] Exploring Operation: 24-15=9, Resulting Numbers: [14, 9] Generated Node #0,4,0: 69:[14, 9] Operation: 24-15=9 Exploring Operation: 14+24=38, Resulting Numbers: [15, 38] Generated Node #0,4,1: 69:[15, 38] Operation: 14+24=38 Exploring Operation: 24-14=10, Resulting Numbers: [15, 10] Generated Node #0,4,2: 69:[15, 10] Operation: 24-14=10 Exploring Operation: 14+15=29, Resulting Numbers: [24, 29] Generated Node #0,4,3: 69:[24, 29] Operation: 14+15=29 Exploring Operation: 15-14=1, Resulting Numbers: [24, 1] Generated Node #0,4,4: 69:[24, 1] Operation: 15-14=1 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 69:[24, 1], Operations: ['28-13=15', '15-14=1'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 69:[24, 29], Operations: ['28-13=15', '14+15=29'] Exploring Operation: 24+29=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 24*29=696, Resulting Numbers: [696] 696,69 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 69:[14, 9], Operations: ['28-13=15', '24-15=9'] Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,69 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 69:[15, 10], Operations: ['28-13=15', '24-14=10'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,69 unequal: No Solution Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 69:[15, 38], Operations: ['28-13=15', '14+24=38'] Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 15*38=570, Resulting Numbers: [570] 570,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[13, 24, 14], Operations: ['28-14=14'] Exploring Operation: 24-14=10, Resulting Numbers: [13, 10] Generated Node #0,2,0: 69:[13, 10] Operation: 24-14=10 Exploring Operation: 24-13=11, Resulting Numbers: [14, 11] Generated Node #0,2,1: 69:[14, 11] Operation: 24-13=11 Exploring Operation: 13+24=37, Resulting Numbers: [14, 37] Generated Node #0,2,2: 69:[14, 37] Operation: 13+24=37 Exploring Operation: 14-13=1, Resulting Numbers: [24, 1] Generated Node #0,2,3: 69:[24, 1] Operation: 14-13=1 Exploring Operation: 13+14=27, Resulting Numbers: [24, 27] Generated Node #0,2,4: 69:[24, 27] Operation: 13+14=27 Moving to Node #0,2,3 Current State: 69:[24, 1], Operations: ['28-14=14', '14-13=1'] Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,69 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,69 unequal: No Solution Moving to Node #0,2,4 Current State: 69:[24, 27], Operations: ['28-14=14', '13+14=27'] Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,69 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[13, 10], Operations: ['28-14=14', '24-14=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[14, 11], Operations: ['28-14=14', '24-13=11'] Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,69 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[14, 37], Operations: ['28-14=14', '13+24=37'] Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,69 unequal: No Solution Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,69 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 7, 52, 18, 35 ]
28
[ "52-7=45", "35-18=17", "45-17=28" ]
Current State: 28:[7, 52, 18, 35], Operations: [] Exploring Operation: 52-7=45, Resulting Numbers: [18, 35, 45] Generated Node #2: [18, 35, 45] from Operation: 52-7=45 Current State: 28:[18, 35, 45], Operations: ['52-7=45'] Exploring Operation: 35-18=17, Resulting Numbers: [45, 17] Generated Node #3: [45, 17] from Operation: 35-18=17 Current State: 28:[45, 17], Operations: ['52-7=45', '35-18=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[7, 52, 18, 35], Operations: [] Exploring Operation: 52-18=34, Resulting Numbers: [7, 35, 34] Generated Node #0,0: 28:[7, 35, 34] Operation: 52-18=34 Exploring Operation: 52-7=45, Resulting Numbers: [18, 35, 45] Generated Node #0,1: 28:[18, 35, 45] Operation: 52-7=45 Exploring Operation: 35-18=17, Resulting Numbers: [7, 52, 17] Generated Node #0,2: 28:[7, 52, 17] Operation: 35-18=17 Exploring Operation: 52-35=17, Resulting Numbers: [7, 18, 17] Generated Node #0,3: 28:[7, 18, 17] Operation: 52-35=17 Moving to Node #0,3 Current State: 28:[7, 18, 17], Operations: ['52-35=17'] Exploring Operation: 18-17=1, Resulting Numbers: [7, 1] Generated Node #0,3,0: 28:[7, 1] Operation: 18-17=1 Exploring Operation: 17-7=10, Resulting Numbers: [18, 10] Generated Node #0,3,1: 28:[18, 10] Operation: 17-7=10 Exploring Operation: 7+18=25, Resulting Numbers: [17, 25] Generated Node #0,3,2: 28:[17, 25] Operation: 7+18=25 Exploring Operation: 18-7=11, Resulting Numbers: [17, 11] Generated Node #0,3,3: 28:[17, 11] Operation: 18-7=11 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 28:[7, 1], Operations: ['52-35=17', '18-17=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 28:[17, 25], Operations: ['52-35=17', '7+18=25'] Exploring Operation: 17+25=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 17*25=425, Resulting Numbers: [425] 425,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,3 Current State: 28:[17, 11], Operations: ['52-35=17', '18-7=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[7, 52, 18, 35], Operations: [] Exploring Operation: 52-35=17, Resulting Numbers: [7, 18, 17] Generated Node #0,3: 28:[7, 18, 17] Operation: 52-35=17 Moving to Node #0,3 Current State: 28:[7, 18, 17], Operations: ['52-35=17'] Exploring Operation: 18-7=11, Resulting Numbers: [17, 11] Generated Node #0,3,3: 28:[17, 11] Operation: 18-7=11 Moving to Node #0,3,3 Current State: 28:[17, 11], Operations: ['52-35=17', '18-7=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 50, 41, 67, 52 ]
54
[ "52-50=2", "41+67=108", "108/2=54" ]
Current State: 54:[50, 41, 67, 52], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [41, 67, 2] Generated Node #2: [41, 67, 2] from Operation: 52-50=2 Current State: 54:[41, 67, 2], Operations: ['52-50=2'] Exploring Operation: 41+67=108, Resulting Numbers: [2, 108] Generated Node #3: [2, 108] from Operation: 41+67=108 Current State: 54:[2, 108], Operations: ['52-50=2', '41+67=108'] Exploring Operation: 108/2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[50, 41, 67, 52], Operations: [] Exploring Operation: 67-50=17, Resulting Numbers: [41, 52, 17] Generated Node #0,0: 54:[41, 52, 17] Operation: 67-50=17 Exploring Operation: 50-41=9, Resulting Numbers: [67, 52, 9] Generated Node #0,1: 54:[67, 52, 9] Operation: 50-41=9 Exploring Operation: 67-41=26, Resulting Numbers: [50, 52, 26] Generated Node #0,2: 54:[50, 52, 26] Operation: 67-41=26 Moving to Node #0,2 Current State: 54:[50, 52, 26], Operations: ['67-41=26'] Exploring Operation: 52/26=2, Resulting Numbers: [50, 2] Generated Node #0,2,0: 54:[50, 2] Operation: 52/26=2 Exploring Operation: 52-50=2, Resulting Numbers: [26, 2] Generated Node #0,2,1: 54:[26, 2] Operation: 52-50=2 Exploring Operation: 50-26=24, Resulting Numbers: [52, 24] Generated Node #0,2,2: 54:[52, 24] Operation: 50-26=24 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[26, 2], Operations: ['67-41=26', '52-50=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,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:[50, 2], Operations: ['67-41=26', '52/26=2'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,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,2 Current State: 54:[52, 24], Operations: ['67-41=26', '50-26=24'] Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,54 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,54 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: 54:[67, 52, 9], Operations: ['50-41=9'] Exploring Operation: 67-9=58, Resulting Numbers: [52, 58] Generated Node #0,1,0: 54:[52, 58] Operation: 67-9=58 Exploring Operation: 52+9=61, Resulting Numbers: [67, 61] Generated Node #0,1,1: 54:[67, 61] Operation: 52+9=61 Exploring Operation: 67-52=15, Resulting Numbers: [9, 15] Generated Node #0,1,2: 54:[9, 15] Operation: 67-52=15 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 54:[9, 15], Operations: ['50-41=9', '67-52=15'] Exploring Operation: 9*15=135, Resulting Numbers: [135] 135,54 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 9+15=24, Resulting Numbers: [24] 24,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,1,0 Current State: 54:[52, 58], Operations: ['50-41=9', '67-9=58'] Exploring Operation: 52*58=3016, Resulting Numbers: [3016] 3016,54 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 52+58=110, Resulting Numbers: [110] 110,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,1,1 Current State: 54:[67, 61], Operations: ['50-41=9', '52+9=61'] Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 67*61=4087, Resulting Numbers: [4087] 4087,54 unequal: No Solution Exploring Operation: 67+61=128, Resulting Numbers: [128] 128,54 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: 54:[41, 52, 17], Operations: ['67-50=17'] Exploring Operation: 41-17=24, Resulting Numbers: [52, 24] Generated Node #0,0,0: 54:[52, 24] Operation: 41-17=24 Exploring Operation: 41+17=58, Resulting Numbers: [52, 58] Generated Node #0,0,1: 54:[52, 58] Operation: 41+17=58 Exploring Operation: 52-41=11, Resulting Numbers: [17, 11] Generated Node #0,0,2: 54:[17, 11] Operation: 52-41=11 Moving to Node #0,0,2 Current State: 54:[17, 11], Operations: ['67-50=17', '52-41=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,54 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[52, 24], Operations: ['67-50=17', '41-17=24'] Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,54 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[52, 58], Operations: ['67-50=17', '41+17=58'] Exploring Operation: 52+58=110, Resulting Numbers: [110] 110,54 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 52*58=3016, Resulting Numbers: [3016] 3016,54 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 92, 26, 16, 72 ]
33
[ "92*26=2392", "2392-16=2376", "2376/72=33" ]
Current State: 33:[92, 26, 16, 72], Operations: [] Exploring Operation: 92*26=2392, Resulting Numbers: [16, 72, 2392] Generated Node #2: [16, 72, 2392] from Operation: 92*26=2392 Current State: 33:[16, 72, 2392], Operations: ['92*26=2392'] Exploring Operation: 2392-16=2376, Resulting Numbers: [72, 2376] Generated Node #3: [72, 2376] from Operation: 2392-16=2376 Current State: 33:[72, 2376], Operations: ['92*26=2392', '2392-16=2376'] Exploring Operation: 2376/72=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[92, 26, 16, 72], Operations: [] Exploring Operation: 92-26=66, Resulting Numbers: [16, 72, 66] Generated Node #0,0: 33:[16, 72, 66] Operation: 92-26=66 Exploring Operation: 92-16=76, Resulting Numbers: [26, 72, 76] Generated Node #0,1: 33:[26, 72, 76] Operation: 92-16=76 Exploring Operation: 92-72=20, Resulting Numbers: [26, 16, 20] Generated Node #0,2: 33:[26, 16, 20] Operation: 92-72=20 Exploring Operation: 72-26=46, Resulting Numbers: [92, 16, 46] Generated Node #0,3: 33:[92, 16, 46] Operation: 72-26=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[26, 16, 20], Operations: ['92-72=20'] Exploring Operation: 26-20=6, Resulting Numbers: [16, 6] Generated Node #0,2,0: 33:[16, 6] Operation: 26-20=6 Exploring Operation: 20-16=4, Resulting Numbers: [26, 4] Generated Node #0,2,1: 33:[26, 4] Operation: 20-16=4 Exploring Operation: 16+20=36, Resulting Numbers: [26, 36] Generated Node #0,2,2: 33:[26, 36] Operation: 16+20=36 Exploring Operation: 26-16=10, Resulting Numbers: [20, 10] Generated Node #0,2,3: 33:[20, 10] Operation: 26-16=10 Moving to Node #0,2,0 Current State: 33:[16, 6], Operations: ['92-72=20', '26-20=6'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[26, 4], Operations: ['92-72=20', '20-16=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[20, 10], Operations: ['92-72=20', '26-16=10'] Exploring Operation: 20*10=200, Resulting Numbers: [200] 200,33 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[26, 36], Operations: ['92-72=20', '16+20=36'] Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,33 unequal: No Solution Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,33 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,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 Current State: 33:[16, 72, 66], Operations: ['92-26=66'] Exploring Operation: 66-16=50, Resulting Numbers: [72, 50] Generated Node #0,0,0: 33:[72, 50] Operation: 66-16=50 Exploring Operation: 16+72=88, Resulting Numbers: [66, 88] Generated Node #0,0,1: 33:[66, 88] Operation: 16+72=88 Exploring Operation: 72-16=56, Resulting Numbers: [66, 56] Generated Node #0,0,2: 33:[66, 56] Operation: 72-16=56 Exploring Operation: 72-66=6, Resulting Numbers: [16, 6] Generated Node #0,0,3: 33:[16, 6] Operation: 72-66=6 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 33:[16, 6], Operations: ['92-26=66', '72-66=6'] Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,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,0 Current State: 33:[72, 50], Operations: ['92-26=66', '66-16=50'] Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 72*50=3600, Resulting Numbers: [3600] 3600,33 unequal: No Solution Exploring Operation: 72+50=122, Resulting Numbers: [122] 122,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,2 Current State: 33:[66, 56], Operations: ['92-26=66', '72-16=56'] Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 66+56=122, Resulting Numbers: [122] 122,33 unequal: No Solution Exploring Operation: 66*56=3696, Resulting Numbers: [3696] 3696,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:[66, 88], Operations: ['92-26=66', '16+72=88'] Exploring Operation: 66*88=5808, Resulting Numbers: [5808] 5808,33 unequal: No Solution Exploring Operation: 66+88=154, Resulting Numbers: [154] 154,33 unequal: No Solution Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,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,3 Current State: 33:[92, 16, 46], Operations: ['72-26=46'] Exploring Operation: 92-16=76, Resulting Numbers: [46, 76] Generated Node #0,3,0: 33:[46, 76] Operation: 92-16=76 Exploring Operation: 92/46=2, Resulting Numbers: [16, 2] Generated Node #0,3,1: 33:[16, 2] Operation: 92/46=2 Exploring Operation: 46-16=30, Resulting Numbers: [92, 30] Generated Node #0,3,2: 33:[92, 30] Operation: 46-16=30 Exploring Operation: 92-46=46, Resulting Numbers: [16, 46] Generated Node #0,3,3: 33:[16, 46] Operation: 92-46=46 Moving to Node #0,3,1 Current State: 33:[16, 2], Operations: ['72-26=46', '92/46=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,33 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,33 unequal: No Solution Moving to Node #0,3,3 Current State: 33:[16, 46], Operations: ['72-26=46', '92-46=46'] Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,33 unequal: No Solution Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,33 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[46, 76], Operations: ['72-26=46', '92-16=76'] Exploring Operation: 46+76=122, Resulting Numbers: [122] 122,33 unequal: No Solution Exploring Operation: 46*76=3496, Resulting Numbers: [3496] 3496,33 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,33 unequal: No Solution Moving to Node #0,3,2 Current State: 33:[92, 30], Operations: ['72-26=46', '46-16=30'] Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,33 unequal: No Solution Exploring Operation: 92+30=122, Resulting Numbers: [122] 122,33 unequal: No Solution Exploring Operation: 92*30=2760, Resulting Numbers: [2760] 2760,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,1 Current State: 33:[26, 72, 76], Operations: ['92-16=76'] Exploring Operation: 76-26=50, Resulting Numbers: [72, 50] Generated Node #0,1,0: 33:[72, 50] Operation: 76-26=50 Exploring Operation: 76-72=4, Resulting Numbers: [26, 4] Generated Node #0,1,1: 33:[26, 4] Operation: 76-72=4 Exploring Operation: 26+72=98, Resulting Numbers: [76, 98] Generated Node #0,1,2: 33:[76, 98] Operation: 26+72=98 Exploring Operation: 72-26=46, Resulting Numbers: [76, 46] Generated Node #0,1,3: 33:[76, 46] Operation: 72-26=46 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[26, 4], Operations: ['92-16=76', '76-72=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,33 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,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,1,0 Current State: 33:[72, 50], Operations: ['92-16=76', '76-26=50'] Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 72+50=122, Resulting Numbers: [122] 122,33 unequal: No Solution Exploring Operation: 72*50=3600, Resulting Numbers: [3600] 3600,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,1,3 Current State: 33:[76, 46], Operations: ['92-16=76', '72-26=46'] Exploring Operation: 76*46=3496, Resulting Numbers: [3496] 3496,33 unequal: No Solution Exploring Operation: 76+46=122, Resulting Numbers: [122] 122,33 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,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,1,2 Current State: 33:[76, 98], Operations: ['92-16=76', '26+72=98'] Exploring Operation: 76+98=174, Resulting Numbers: [174] 174,33 unequal: No Solution Exploring Operation: 98-76=22, Resulting Numbers: [22] 22,33 unequal: No Solution Exploring Operation: 76*98=7448, Resulting Numbers: [7448] 7448,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 No solution found.
0
hs_4
mult_heuristic
[ 57, 77, 23, 43 ]
86
[ "77-57=20", "23+43=66", "20+66=86" ]
Current State: 86:[57, 77, 23, 43], Operations: [] Exploring Operation: 77-57=20, Resulting Numbers: [23, 43, 20] Generated Node #2: [23, 43, 20] from Operation: 77-57=20 Current State: 86:[23, 43, 20], Operations: ['77-57=20'] Exploring Operation: 23+43=66, Resulting Numbers: [20, 66] Generated Node #3: [20, 66] from Operation: 23+43=66 Current State: 86:[20, 66], Operations: ['77-57=20', '23+43=66'] Exploring Operation: 20+66=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[57, 77, 23, 43], Operations: [] Exploring Operation: 57+23=80, Resulting Numbers: [77, 43, 80] Generated Node #0,0: 86:[77, 43, 80] Operation: 57+23=80 Moving to Node #0,0 Current State: 86:[77, 43, 80], Operations: ['57+23=80'] Exploring Operation: 80-77=3, Resulting Numbers: [43, 3] Generated Node #0,0,0: 86:[43, 3] Operation: 80-77=3 Moving to Node #0,0,0 Current State: 86:[43, 3], Operations: ['57+23=80', '80-77=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,86 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 24, 36, 21, 12 ]
61
[ "36*21=756", "756-24=732", "732/12=61" ]
Current State: 61:[24, 36, 21, 12], Operations: [] Exploring Operation: 36*21=756, Resulting Numbers: [24, 12, 756] Generated Node #2: [24, 12, 756] from Operation: 36*21=756 Current State: 61:[24, 12, 756], Operations: ['36*21=756'] Exploring Operation: 756-24=732, Resulting Numbers: [12, 732] Generated Node #3: [12, 732] from Operation: 756-24=732 Current State: 61:[12, 732], Operations: ['36*21=756', '756-24=732'] Exploring Operation: 732/12=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[24, 36, 21, 12], Operations: [] Exploring Operation: 24+12=36, Resulting Numbers: [36, 21, 36] Generated Node #0,0: 61:[36, 21, 36] Operation: 24+12=36 Exploring Operation: 36+21=57, Resulting Numbers: [24, 12, 57] Generated Node #0,1: 61:[24, 12, 57] Operation: 36+21=57 Exploring Operation: 24+36=60, Resulting Numbers: [21, 12, 60] Generated Node #0,2: 61:[21, 12, 60] Operation: 24+36=60 Exploring Operation: 36+12=48, Resulting Numbers: [24, 21, 48] Generated Node #0,3: 61:[24, 21, 48] Operation: 36+12=48 Exploring Operation: 24+21=45, Resulting Numbers: [36, 12, 45] Generated Node #0,4: 61:[36, 12, 45] Operation: 24+21=45 Moving to Node #0,0 Current State: 61:[36, 21, 36], Operations: ['24+12=36'] Exploring Operation: 36+21=57, Resulting Numbers: [36, 57] Generated Node #0,0,0: 61:[36, 57] Operation: 36+21=57 Exploring Operation: 36-21=15, Resulting Numbers: [36, 15] Generated Node #0,0,1: 61:[36, 15] Operation: 36-21=15 Exploring Operation: 21+36=57, Resulting Numbers: [36, 57] Generated Node #0,0,2: 61:[36, 57] Operation: 21+36=57 Exploring Operation: 36-21=15, Resulting Numbers: [36, 15] Generated Node #0,0,3: 61:[36, 15] Operation: 36-21=15 Exploring Operation: 36+36=72, Resulting Numbers: [21, 72] Generated Node #0,0,4: 61:[21, 72] Operation: 36+36=72 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[36, 57], Operations: ['24+12=36', '36+21=57'] Exploring Operation: 36*57=2052, Resulting Numbers: [2052] 2052,61 unequal: No Solution Exploring Operation: 36+57=93, Resulting Numbers: [93] 93,61 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[36, 57], Operations: ['24+12=36', '21+36=57'] Exploring Operation: 36+57=93, Resulting Numbers: [93] 93,61 unequal: No Solution Exploring Operation: 36*57=2052, Resulting Numbers: [2052] 2052,61 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 61:[21, 72], Operations: ['24+12=36', '36+36=72'] Exploring Operation: 21*72=1512, Resulting Numbers: [1512] 1512,61 unequal: No Solution Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 21+72=93, Resulting Numbers: [93] 93,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[36, 15], Operations: ['24+12=36', '36-21=15'] Exploring Operation: 36*15=540, Resulting Numbers: [540] 540,61 unequal: No Solution Exploring Operation: 36+15=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 61:[36, 15], Operations: ['24+12=36', '36-21=15'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,61 unequal: No Solution Exploring Operation: 36+15=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 36*15=540, Resulting Numbers: [540] 540,61 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: 61:[21, 12, 60], Operations: ['24+36=60'] Exploring Operation: 60-12=48, Resulting Numbers: [21, 48] Generated Node #0,2,0: 61:[21, 48] Operation: 60-12=48 Exploring Operation: 21-12=9, Resulting Numbers: [60, 9] Generated Node #0,2,1: 61:[60, 9] Operation: 21-12=9 Exploring Operation: 21+60=81, Resulting Numbers: [12, 81] Generated Node #0,2,2: 61:[12, 81] Operation: 21+60=81 Exploring Operation: 21+12=33, Resulting Numbers: [60, 33] Generated Node #0,2,3: 61:[60, 33] Operation: 21+12=33 Exploring Operation: 12+60=72, Resulting Numbers: [21, 72] Generated Node #0,2,4: 61:[21, 72] Operation: 12+60=72 Moving to Node #0,4 Current State: 61:[36, 12, 45], Operations: ['24+21=45'] Exploring Operation: 36+12=48, Resulting Numbers: [45, 48] Generated Node #0,4,0: 61:[45, 48] Operation: 36+12=48 Exploring Operation: 45-12=33, Resulting Numbers: [36, 33] Generated Node #0,4,1: 61:[36, 33] Operation: 45-12=33 Exploring Operation: 36-12=24, Resulting Numbers: [45, 24] Generated Node #0,4,2: 61:[45, 24] Operation: 36-12=24 Exploring Operation: 36+45=81, Resulting Numbers: [12, 81] Generated Node #0,4,3: 61:[12, 81] Operation: 36+45=81 Exploring Operation: 12+45=57, Resulting Numbers: [36, 57] Generated Node #0,4,4: 61:[36, 57] Operation: 12+45=57 Moving to Node #0,1 Current State: 61:[24, 12, 57], Operations: ['36+21=57'] Exploring Operation: 24-12=12, Resulting Numbers: [57, 12] Generated Node #0,1,0: 61:[57, 12] Operation: 24-12=12 Exploring Operation: 24+12=36, Resulting Numbers: [57, 36] Generated Node #0,1,1: 61:[57, 36] Operation: 24+12=36 Exploring Operation: 57-12=45, Resulting Numbers: [24, 45] Generated Node #0,1,2: 61:[24, 45] Operation: 57-12=45 Exploring Operation: 24/12=2, Resulting Numbers: [57, 2] Generated Node #0,1,3: 61:[57, 2] Operation: 24/12=2 Exploring Operation: 12+57=69, Resulting Numbers: [24, 69] Generated Node #0,1,4: 61:[24, 69] Operation: 12+57=69 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[57, 36], Operations: ['36+21=57', '24+12=36'] Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,61 unequal: No Solution Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,61 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 61:[24, 69], Operations: ['36+21=57', '12+57=69'] Exploring Operation: 24*69=1656, Resulting Numbers: [1656] 1656,61 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,61 unequal: No Solution Exploring Operation: 24+69=93, Resulting Numbers: [93] 93,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[57, 12], Operations: ['36+21=57', '24-12=12'] Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,61 unequal: No Solution Exploring Operation: 57*12=684, Resulting Numbers: [684] 684,61 unequal: No Solution Exploring Operation: 57+12=69, Resulting Numbers: [69] 69,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[24, 45], Operations: ['36+21=57', '57-12=45'] Exploring Operation: 24*45=1080, Resulting Numbers: [1080] 1080,61 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,61 unequal: No Solution Exploring Operation: 24+45=69, Resulting Numbers: [69] 69,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 61:[57, 2], Operations: ['36+21=57', '24/12=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,61 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 61:[24, 21, 48], Operations: ['36+12=48'] Exploring Operation: 24+48=72, Resulting Numbers: [21, 72] Generated Node #0,3,0: 61:[21, 72] Operation: 24+48=72 Exploring Operation: 24-21=3, Resulting Numbers: [48, 3] Generated Node #0,3,1: 61:[48, 3] Operation: 24-21=3 Exploring Operation: 21+48=69, Resulting Numbers: [24, 69] Generated Node #0,3,2: 61:[24, 69] Operation: 21+48=69 Exploring Operation: 48-21=27, Resulting Numbers: [24, 27] Generated Node #0,3,3: 61:[24, 27] Operation: 48-21=27 Exploring Operation: 24+21=45, Resulting Numbers: [48, 45] Generated Node #0,3,4: 61:[48, 45] Operation: 24+21=45 Moving to Node #0,2,3 Current State: 61:[60, 33], Operations: ['24+36=60', '21+12=33'] Exploring Operation: 60+33=93, Resulting Numbers: [93] 93,61 unequal: No Solution Exploring Operation: 60*33=1980, Resulting Numbers: [1980] 1980,61 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,61 unequal: No Solution Moving to Node #0,4,0 Current State: 61:[45, 48], Operations: ['24+21=45', '36+12=48'] Exploring Operation: 45*48=2160, Resulting Numbers: [2160] 2160,61 unequal: No Solution Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,61 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,61 unequal: No Solution Moving to Node #0,4,4 Current State: 61:[36, 57], Operations: ['24+21=45', '12+45=57'] Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,61 unequal: No Solution Exploring Operation: 36*57=2052, Resulting Numbers: [2052] 2052,61 unequal: No Solution Exploring Operation: 36+57=93, Resulting Numbers: [93] 93,61 unequal: No Solution Moving to Node #0,3,4 Current State: 61:[48, 45], Operations: ['36+12=48', '24+21=45'] Exploring Operation: 48*45=2160, Resulting Numbers: [2160] 2160,61 unequal: No Solution Exploring Operation: 48+45=93, Resulting Numbers: [93] 93,61 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[24, 69], Operations: ['36+12=48', '21+48=69'] Exploring Operation: 24+69=93, Resulting Numbers: [93] 93,61 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,61 unequal: No Solution Exploring Operation: 24*69=1656, Resulting Numbers: [1656] 1656,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[21, 72], Operations: ['36+12=48', '24+48=72'] Exploring Operation: 21*72=1512, Resulting Numbers: [1512] 1512,61 unequal: No Solution Exploring Operation: 21+72=93, Resulting Numbers: [93] 93,61 unequal: No Solution Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,61 unequal: No Solution Moving to Node #0,2,4 Current State: 61:[21, 72], Operations: ['24+36=60', '12+60=72'] Exploring Operation: 21+72=93, Resulting Numbers: [93] 93,61 unequal: No Solution Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 21*72=1512, Resulting Numbers: [1512] 1512,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[21, 48], Operations: ['24+36=60', '60-12=48'] Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 21*48=1008, Resulting Numbers: [1008] 1008,61 unequal: No Solution Exploring Operation: 21+48=69, Resulting Numbers: [69] 69,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[60, 9], Operations: ['24+36=60', '21-12=9'] Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,61 unequal: No Solution Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 60*9=540, Resulting Numbers: [540] 540,61 unequal: No Solution Moving to Node #0,4,2 Current State: 61:[45, 24], Operations: ['24+21=45', '36-12=24'] Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,61 unequal: No Solution Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,61 unequal: No Solution Exploring Operation: 45*24=1080, Resulting Numbers: [1080] 1080,61 unequal: No Solution Moving to Node #0,4,1 Current State: 61:[36, 33], Operations: ['24+21=45', '45-12=33'] Exploring Operation: 36+33=69, Resulting Numbers: [69] 69,61 unequal: No Solution Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 36*33=1188, Resulting Numbers: [1188] 1188,61 unequal: No Solution Moving to Node #0,4,3 Current State: 61:[12, 81], Operations: ['24+21=45', '36+45=81'] Exploring Operation: 12*81=972, Resulting Numbers: [972] 972,61 unequal: No Solution Exploring Operation: 81-12=69, Resulting Numbers: [69] 69,61 unequal: No Solution Exploring Operation: 12+81=93, Resulting Numbers: [93] 93,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[12, 81], Operations: ['24+36=60', '21+60=81'] Exploring Operation: 81-12=69, Resulting Numbers: [69] 69,61 unequal: No Solution Exploring Operation: 12+81=93, Resulting Numbers: [93] 93,61 unequal: No Solution Exploring Operation: 12*81=972, Resulting Numbers: [972] 972,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[48, 3], Operations: ['36+12=48', '24-21=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,61 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,61 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[24, 27], Operations: ['36+12=48', '48-21=27'] Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,61 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 17, 13, 67, 11 ]
14
[ "17*13=221", "221-67=154", "154/11=14" ]
Current State: 14:[17, 13, 67, 11], Operations: [] Exploring Operation: 17*13=221, Resulting Numbers: [67, 11, 221] Generated Node #2: [67, 11, 221] from Operation: 17*13=221 Current State: 14:[67, 11, 221], Operations: ['17*13=221'] Exploring Operation: 221-67=154, Resulting Numbers: [11, 154] Generated Node #3: [11, 154] from Operation: 221-67=154 Current State: 14:[11, 154], Operations: ['17*13=221', '221-67=154'] Exploring Operation: 154/11=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[17, 13, 67, 11], Operations: [] Exploring Operation: 67-17=50, Resulting Numbers: [13, 11, 50] Generated Node #0,0: 14:[13, 11, 50] Operation: 67-17=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[13, 11, 50], Operations: ['67-17=50'] Exploring Operation: 50-13=37, Resulting Numbers: [11, 37] Generated Node #0,0,0: 14:[11, 37] Operation: 50-13=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[11, 37], Operations: ['67-17=50', '50-13=37'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,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
mult_heuristic
[ 36, 95, 16, 77 ]
70
[ "36+95=131", "77-16=61", "131-61=70" ]
Current State: 70:[36, 95, 16, 77], Operations: [] Exploring Operation: 36+95=131, Resulting Numbers: [16, 77, 131] Generated Node #2: [16, 77, 131] from Operation: 36+95=131 Current State: 70:[16, 77, 131], Operations: ['36+95=131'] Exploring Operation: 77-16=61, Resulting Numbers: [131, 61] Generated Node #3: [131, 61] from Operation: 77-16=61 Current State: 70:[131, 61], Operations: ['36+95=131', '77-16=61'] Exploring Operation: 131-61=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[36, 95, 16, 77], Operations: [] Exploring Operation: 95-36=59, Resulting Numbers: [16, 77, 59] Generated Node #0,0: 70:[16, 77, 59] Operation: 95-36=59 Exploring Operation: 95-77=18, Resulting Numbers: [36, 16, 18] Generated Node #0,1: 70:[36, 16, 18] Operation: 95-77=18 Exploring Operation: 95-16=79, Resulting Numbers: [36, 77, 79] Generated Node #0,2: 70:[36, 77, 79] Operation: 95-16=79 Moving to Node #0,1 Current State: 70:[36, 16, 18], Operations: ['95-77=18'] Exploring Operation: 36/18=2, Resulting Numbers: [16, 2] Generated Node #0,1,0: 70:[16, 2] Operation: 36/18=2 Exploring Operation: 16+18=34, Resulting Numbers: [36, 34] Generated Node #0,1,1: 70:[36, 34] Operation: 16+18=34 Exploring Operation: 18-16=2, Resulting Numbers: [36, 2] Generated Node #0,1,2: 70:[36, 2] Operation: 18-16=2 Moving to Node #0,2 Current State: 70:[36, 77, 79], Operations: ['95-16=79'] Exploring Operation: 79-77=2, Resulting Numbers: [36, 2] Generated Node #0,2,0: 70:[36, 2] Operation: 79-77=2 Exploring Operation: 79-36=43, Resulting Numbers: [77, 43] Generated Node #0,2,1: 70:[77, 43] Operation: 79-36=43 Exploring Operation: 77-36=41, Resulting Numbers: [79, 41] Generated Node #0,2,2: 70:[79, 41] Operation: 77-36=41 Moving to Node #0,0 Current State: 70:[16, 77, 59], Operations: ['95-36=59'] Exploring Operation: 59-16=43, Resulting Numbers: [77, 43] Generated Node #0,0,0: 70:[77, 43] Operation: 59-16=43 Exploring Operation: 16+59=75, Resulting Numbers: [77, 75] Generated Node #0,0,1: 70:[77, 75] Operation: 16+59=75 Exploring Operation: 77-59=18, Resulting Numbers: [16, 18] Generated Node #0,0,2: 70:[16, 18] Operation: 77-59=18 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[16, 18], Operations: ['95-36=59', '77-59=18'] Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,70 unequal: No Solution Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[77, 75], Operations: ['95-36=59', '16+59=75'] Exploring Operation: 77*75=5775, Resulting Numbers: [5775] 5775,70 unequal: No Solution Exploring Operation: 77+75=152, Resulting Numbers: [152] 152,70 unequal: No Solution Exploring Operation: 77-75=2, Resulting Numbers: [2] 2,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[77, 43], Operations: ['95-36=59', '59-16=43'] Exploring Operation: 77+43=120, Resulting Numbers: [120] 120,70 unequal: No Solution Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 77*43=3311, Resulting Numbers: [3311] 3311,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 70:[36, 2], Operations: ['95-77=18', '18-16=2'] Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,70 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[36, 2], Operations: ['95-16=79', '79-77=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[36, 34], Operations: ['95-77=18', '16+18=34'] Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[36, 95, 16, 77], Operations: [] Exploring Operation: 95-77=18, Resulting Numbers: [36, 16, 18] Generated Node #0,1: 70:[36, 16, 18] Operation: 95-77=18 Moving to Node #0,1 Current State: 70:[36, 16, 18], Operations: ['95-77=18'] Exploring Operation: 16+18=34, Resulting Numbers: [36, 34] Generated Node #0,1,1: 70:[36, 34] Operation: 16+18=34 Moving to Node #0,1,1 Current State: 70:[36, 34], Operations: ['95-77=18', '16+18=34'] Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.972222
hs_3
sum_heuristic
[ 3, 60, 45, 13 ]
95
[ "3+60=63", "45-13=32", "63+32=95" ]
Current State: 95:[3, 60, 45, 13], Operations: [] Exploring Operation: 3+60=63, Resulting Numbers: [45, 13, 63] Generated Node #2: [45, 13, 63] from Operation: 3+60=63 Current State: 95:[45, 13, 63], Operations: ['3+60=63'] Exploring Operation: 45-13=32, Resulting Numbers: [63, 32] Generated Node #3: [63, 32] from Operation: 45-13=32 Current State: 95:[63, 32], Operations: ['3+60=63', '45-13=32'] Exploring Operation: 63+32=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[3, 60, 45, 13], Operations: [] Exploring Operation: 60+45=105, Resulting Numbers: [3, 13, 105] Generated Node #0,0: 95:[3, 13, 105] Operation: 60+45=105 Exploring Operation: 60-45=15, Resulting Numbers: [3, 13, 15] Generated Node #0,1: 95:[3, 13, 15] Operation: 60-45=15 Exploring Operation: 60/3=20, Resulting Numbers: [45, 13, 20] Generated Node #0,2: 95:[45, 13, 20] Operation: 60/3=20 Exploring Operation: 45/3=15, Resulting Numbers: [60, 13, 15] Generated Node #0,3: 95:[60, 13, 15] Operation: 45/3=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[3, 13, 15], Operations: ['60-45=15'] Exploring Operation: 15-13=2, Resulting Numbers: [3, 2] Generated Node #0,1,0: 95:[3, 2] Operation: 15-13=2 Exploring Operation: 3+13=16, Resulting Numbers: [15, 16] Generated Node #0,1,1: 95:[15, 16] Operation: 3+13=16 Exploring Operation: 3+15=18, Resulting Numbers: [13, 18] Generated Node #0,1,2: 95:[13, 18] Operation: 3+15=18 Exploring Operation: 15/3=5, Resulting Numbers: [13, 5] Generated Node #0,1,3: 95:[13, 5] Operation: 15/3=5 Moving to Node #0,1,0 Current State: 95:[3, 2], Operations: ['60-45=15', '15-13=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,95 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[13, 5], Operations: ['60-45=15', '15/3=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,95 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[13, 18], Operations: ['60-45=15', '3+15=18'] Exploring Operation: 13*18=234, Resulting Numbers: [234] 234,95 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[15, 16], Operations: ['60-45=15', '3+13=16'] Exploring Operation: 15*16=240, Resulting Numbers: [240] 240,95 unequal: No Solution Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,95 unequal: No Solution No 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: 95:[3, 13, 105], Operations: ['60+45=105'] Exploring Operation: 3+13=16, Resulting Numbers: [105, 16] Generated Node #0,0,0: 95:[105, 16] Operation: 3+13=16 Exploring Operation: 13-3=10, Resulting Numbers: [105, 10] Generated Node #0,0,1: 95:[105, 10] Operation: 13-3=10 Exploring Operation: 105-13=92, Resulting Numbers: [3, 92] Generated Node #0,0,2: 95:[3, 92] Operation: 105-13=92 Exploring Operation: 105-3=102, Resulting Numbers: [13, 102] Generated Node #0,0,3: 95:[13, 102] Operation: 105-3=102 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 95:[3, 92], Operations: ['60+45=105', '105-13=92'] Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[3, 60, 45, 13], Operations: [] Exploring Operation: 60+45=105, Resulting Numbers: [3, 13, 105] Generated Node #0,0: 95:[3, 13, 105] Operation: 60+45=105 Moving to Node #0,0 Current State: 95:[3, 13, 105], Operations: ['60+45=105'] Exploring Operation: 105-13=92, Resulting Numbers: [3, 92] Generated Node #0,0,2: 95:[3, 92] Operation: 105-13=92 Moving to Node #0,0,2 Current State: 95:[3, 92], Operations: ['60+45=105', '105-13=92'] Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic
[ 99, 2, 48, 13 ]
57
[ "13-2=11", "99/11=9", "48+9=57" ]
Current State: 57:[99, 2, 48, 13], Operations: [] Exploring Operation: 13-2=11, Resulting Numbers: [99, 48, 11] Generated Node #2: [99, 48, 11] from Operation: 13-2=11 Current State: 57:[99, 48, 11], Operations: ['13-2=11'] Exploring Operation: 99/11=9, Resulting Numbers: [48, 9] Generated Node #3: [48, 9] from Operation: 99/11=9 Current State: 57:[48, 9], Operations: ['13-2=11', '99/11=9'] Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[99, 2, 48, 13], Operations: [] Exploring Operation: 99-48=51, Resulting Numbers: [2, 13, 51] Generated Node #0,0: 57:[2, 13, 51] Operation: 99-48=51 Exploring Operation: 99-13=86, Resulting Numbers: [2, 48, 86] Generated Node #0,1: 57:[2, 48, 86] Operation: 99-13=86 Moving to Node #0,0 Current State: 57:[2, 13, 51], Operations: ['99-48=51'] Exploring Operation: 13+51=64, Resulting Numbers: [2, 64] Generated Node #0,0,0: 57:[2, 64] Operation: 13+51=64 Exploring Operation: 2+13=15, Resulting Numbers: [51, 15] Generated Node #0,0,1: 57:[51, 15] Operation: 2+13=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[2, 64], Operations: ['99-48=51', '13+51=64'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,57 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[51, 15], Operations: ['99-48=51', '2+13=15'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,57 unequal: No Solution Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,57 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: 57:[2, 48, 86], Operations: ['99-13=86'] Exploring Operation: 86-48=38, Resulting Numbers: [2, 38] Generated Node #0,1,0: 57:[2, 38] Operation: 86-48=38 Exploring Operation: 86/2=43, Resulting Numbers: [48, 43] Generated Node #0,1,1: 57:[48, 43] Operation: 86/2=43 Moving to Node #0,1,0 Current State: 57:[2, 38], Operations: ['99-13=86', '86-48=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,57 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[48, 43], Operations: ['99-13=86', '86/2=43'] Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,57 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,57 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 34, 98, 39, 44 ]
72
[ "44-39=5", "34*5=170", "170-98=72" ]
Current State: 72:[34, 98, 39, 44], Operations: [] Exploring Operation: 44-39=5, Resulting Numbers: [34, 98, 5] Generated Node #2: [34, 98, 5] from Operation: 44-39=5 Current State: 72:[34, 98, 5], Operations: ['44-39=5'] Exploring Operation: 34*5=170, Resulting Numbers: [98, 170] Generated Node #3: [98, 170] from Operation: 34*5=170 Current State: 72:[98, 170], Operations: ['44-39=5', '34*5=170'] Exploring Operation: 170-98=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[34, 98, 39, 44], Operations: [] Exploring Operation: 98-39=59, Resulting Numbers: [34, 44, 59] Generated Node #0,0: 72:[34, 44, 59] Operation: 98-39=59 Exploring Operation: 98-34=64, Resulting Numbers: [39, 44, 64] Generated Node #0,1: 72:[39, 44, 64] Operation: 98-34=64 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[39, 44, 64], Operations: ['98-34=64'] Exploring Operation: 64-44=20, Resulting Numbers: [39, 20] Generated Node #0,1,0: 72:[39, 20] Operation: 64-44=20 Exploring Operation: 44-39=5, Resulting Numbers: [64, 5] Generated Node #0,1,1: 72:[64, 5] Operation: 44-39=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[39, 20], Operations: ['98-34=64', '64-44=20'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[64, 5], Operations: ['98-34=64', '44-39=5'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,72 unequal: No Solution Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[34, 44, 59], Operations: ['98-39=59'] Exploring Operation: 59-34=25, Resulting Numbers: [44, 25] Generated Node #0,0,0: 72:[44, 25] Operation: 59-34=25 Exploring Operation: 59-44=15, Resulting Numbers: [34, 15] Generated Node #0,0,1: 72:[34, 15] Operation: 59-44=15 Moving to Node #0,0,1 Current State: 72:[34, 15], Operations: ['98-39=59', '59-44=15'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 34+15=49, Resulting Numbers: [49] 49,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[44, 25], Operations: ['98-39=59', '59-34=25'] Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 44+25=69, Resulting Numbers: [69] 69,72 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
[ 42, 48, 57, 5 ]
16
[ "57-42=15", "48*5=240", "240/15=16" ]
Current State: 16:[42, 48, 57, 5], Operations: [] Exploring Operation: 57-42=15, Resulting Numbers: [48, 5, 15] Generated Node #2: [48, 5, 15] from Operation: 57-42=15 Current State: 16:[48, 5, 15], Operations: ['57-42=15'] Exploring Operation: 48*5=240, Resulting Numbers: [15, 240] Generated Node #3: [15, 240] from Operation: 48*5=240 Current State: 16:[15, 240], Operations: ['57-42=15', '48*5=240'] Exploring Operation: 240/15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[42, 48, 57, 5], Operations: [] Exploring Operation: 57-48=9, Resulting Numbers: [42, 5, 9] Generated Node #0,0: 16:[42, 5, 9] Operation: 57-48=9 Moving to Node #0,0 Current State: 16:[42, 5, 9], Operations: ['57-48=9'] Exploring Operation: 42-9=33, Resulting Numbers: [5, 33] Generated Node #0,0,0: 16:[5, 33] Operation: 42-9=33 Moving to Node #0,0,0 Current State: 16:[5, 33], Operations: ['57-48=9', '42-9=33'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,16 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 81, 9, 45, 64 ]
68
[ "81-45=36", "36/9=4", "64+4=68" ]
Current State: 68:[81, 9, 45, 64], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [9, 64, 36] Generated Node #2: [9, 64, 36] from Operation: 81-45=36 Current State: 68:[9, 64, 36], Operations: ['81-45=36'] Exploring Operation: 36/9=4, Resulting Numbers: [64, 4] Generated Node #3: [64, 4] from Operation: 36/9=4 Current State: 68:[64, 4], Operations: ['81-45=36', '36/9=4'] Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[81, 9, 45, 64], Operations: [] Exploring Operation: 45/9=5, Resulting Numbers: [81, 64, 5] Generated Node #0,0: 68:[81, 64, 5] Operation: 45/9=5 Exploring Operation: 81-45=36, Resulting Numbers: [9, 64, 36] Generated Node #0,1: 68:[9, 64, 36] Operation: 81-45=36 Exploring Operation: 81-64=17, Resulting Numbers: [9, 45, 17] Generated Node #0,2: 68:[9, 45, 17] Operation: 81-64=17 Moving to Node #0,1 Current State: 68:[9, 64, 36], Operations: ['81-45=36'] Exploring Operation: 36/9=4, Resulting Numbers: [64, 4] Generated Node #0,1,0: 68:[64, 4] Operation: 36/9=4 Exploring Operation: 9+64=73, Resulting Numbers: [36, 73] Generated Node #0,1,1: 68:[36, 73] Operation: 9+64=73 Exploring Operation: 36-9=27, Resulting Numbers: [64, 27] Generated Node #0,1,2: 68:[64, 27] Operation: 36-9=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[64, 4], Operations: ['81-45=36', '36/9=4'] Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,68 unequal: No Solution Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[81, 9, 45, 64], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [9, 64, 36] Generated Node #0,1: 68:[9, 64, 36] Operation: 81-45=36 Moving to Node #0,1 Current State: 68:[9, 64, 36], Operations: ['81-45=36'] Exploring Operation: 36/9=4, Resulting Numbers: [64, 4] Generated Node #0,1,0: 68:[64, 4] Operation: 36/9=4 Moving to Node #0,1,0 Current State: 68:[64, 4], Operations: ['81-45=36', '36/9=4'] Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 30, 31, 15, 3 ]
16
[ "30+31=61", "15*3=45", "61-45=16" ]
Current State: 16:[30, 31, 15, 3], Operations: [] Exploring Operation: 30+31=61, Resulting Numbers: [15, 3, 61] Generated Node #2: [15, 3, 61] from Operation: 30+31=61 Current State: 16:[15, 3, 61], Operations: ['30+31=61'] Exploring Operation: 15*3=45, Resulting Numbers: [61, 45] Generated Node #3: [61, 45] from Operation: 15*3=45 Current State: 16:[61, 45], Operations: ['30+31=61', '15*3=45'] Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[30, 31, 15, 3], Operations: [] Exploring Operation: 31-15=16, Resulting Numbers: [30, 3, 16] Generated Node #0,0: 16:[30, 3, 16] Operation: 31-15=16 Exploring Operation: 30/15=2, Resulting Numbers: [31, 3, 2] Generated Node #0,1: 16:[31, 3, 2] Operation: 30/15=2 Exploring Operation: 31-30=1, Resulting Numbers: [15, 3, 1] Generated Node #0,2: 16:[15, 3, 1] Operation: 31-30=1 Moving to Node #0,2 Current State: 16:[15, 3, 1], Operations: ['31-30=1'] Exploring Operation: 3-1=2, Resulting Numbers: [15, 2] Generated Node #0,2,0: 16:[15, 2] Operation: 3-1=2 Exploring Operation: 3+1=4, Resulting Numbers: [15, 4] Generated Node #0,2,1: 16:[15, 4] Operation: 3+1=4 Exploring Operation: 15+1=16, Resulting Numbers: [3, 16] Generated Node #0,2,2: 16:[3, 16] Operation: 15+1=16 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 16:[15, 2], Operations: ['31-30=1', '3-1=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,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,2,1 Current State: 16:[15, 4], Operations: ['31-30=1', '3+1=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,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,2,2 Current State: 16:[3, 16], Operations: ['31-30=1', '15+1=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,16 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: 16:[30, 3, 16], Operations: ['31-15=16'] Exploring Operation: 30-3=27, Resulting Numbers: [16, 27] Generated Node #0,0,0: 16:[16, 27] Operation: 30-3=27 Exploring Operation: 30/3=10, Resulting Numbers: [16, 10] Generated Node #0,0,1: 16:[16, 10] Operation: 30/3=10 Exploring Operation: 30-16=14, Resulting Numbers: [3, 14] Generated Node #0,0,2: 16:[3, 14] Operation: 30-16=14 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[16, 10], Operations: ['31-15=16', '30/3=10'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,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:[3, 14], Operations: ['31-15=16', '30-16=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,16 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,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,0 Current State: 16:[16, 27], Operations: ['31-15=16', '30-3=27'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 16*27=432, Resulting Numbers: [432] 432,16 unequal: No Solution Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,16 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: 16:[31, 3, 2], Operations: ['30/15=2'] Exploring Operation: 3+2=5, Resulting Numbers: [31, 5] Generated Node #0,1,0: 16:[31, 5] Operation: 3+2=5 Exploring Operation: 31-2=29, Resulting Numbers: [3, 29] Generated Node #0,1,1: 16:[3, 29] Operation: 31-2=29 Exploring Operation: 31-3=28, Resulting Numbers: [2, 28] Generated Node #0,1,2: 16:[2, 28] Operation: 31-3=28 Moving to Node #0,1,2 Current State: 16:[2, 28], Operations: ['30/15=2', '31-3=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,16 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[3, 29], Operations: ['30/15=2', '31-2=29'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,16 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[31, 5], Operations: ['30/15=2', '3+2=5'] Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,16 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,16 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 93, 69, 45, 31 ]
10
[ "93-69=24", "45-31=14", "24-14=10" ]
Current State: 10:[93, 69, 45, 31], Operations: [] Exploring Operation: 93-69=24, Resulting Numbers: [45, 31, 24] Generated Node #2: [45, 31, 24] from Operation: 93-69=24 Current State: 10:[45, 31, 24], Operations: ['93-69=24'] Exploring Operation: 45-31=14, Resulting Numbers: [24, 14] Generated Node #3: [24, 14] from Operation: 45-31=14 Current State: 10:[24, 14], Operations: ['93-69=24', '45-31=14'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[93, 69, 45, 31], Operations: [] Exploring Operation: 93-69=24, Resulting Numbers: [45, 31, 24] Generated Node #0,0: 10:[45, 31, 24] Operation: 93-69=24 Moving to Node #0,0 Current State: 10:[45, 31, 24], Operations: ['93-69=24'] Exploring Operation: 45-31=14, Resulting Numbers: [24, 14] Generated Node #0,0,0: 10:[24, 14] Operation: 45-31=14 Moving to Node #0,0,0 Current State: 10:[24, 14], Operations: ['93-69=24', '45-31=14'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[93, 69, 45, 31], Operations: [] Exploring Operation: 93-69=24, Resulting Numbers: [45, 31, 24] Generated Node #0,0: 10:[45, 31, 24] Operation: 93-69=24 Moving to Node #0,0 Current State: 10:[45, 31, 24], Operations: ['93-69=24'] Exploring Operation: 45-31=14, Resulting Numbers: [24, 14] Generated Node #0,0,0: 10:[24, 14] Operation: 45-31=14 Moving to Node #0,0,0 Current State: 10:[24, 14], Operations: ['93-69=24', '45-31=14'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 24, 47, 31, 45 ]
99
[ "47-24=23", "31+45=76", "23+76=99" ]
Current State: 99:[24, 47, 31, 45], Operations: [] Exploring Operation: 47-24=23, Resulting Numbers: [31, 45, 23] Generated Node #2: [31, 45, 23] from Operation: 47-24=23 Current State: 99:[31, 45, 23], Operations: ['47-24=23'] Exploring Operation: 31+45=76, Resulting Numbers: [23, 76] Generated Node #3: [23, 76] from Operation: 31+45=76 Current State: 99:[23, 76], Operations: ['47-24=23', '31+45=76'] Exploring Operation: 23+76=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[24, 47, 31, 45], Operations: [] Exploring Operation: 47+45=92, Resulting Numbers: [24, 31, 92] Generated Node #0,0: 99:[24, 31, 92] Operation: 47+45=92 Exploring Operation: 47-45=2, Resulting Numbers: [24, 31, 2] Generated Node #0,1: 99:[24, 31, 2] Operation: 47-45=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[24, 31, 2], Operations: ['47-45=2'] Exploring Operation: 31-24=7, Resulting Numbers: [2, 7] Generated Node #0,1,0: 99:[2, 7] Operation: 31-24=7 Exploring Operation: 24/2=12, Resulting Numbers: [31, 12] Generated Node #0,1,1: 99:[31, 12] Operation: 24/2=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[2, 7], Operations: ['47-45=2', '31-24=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,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,1 Current State: 99:[31, 12], Operations: ['47-45=2', '24/2=12'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[24, 31, 92], Operations: ['47+45=92'] Exploring Operation: 31-24=7, Resulting Numbers: [92, 7] Generated Node #0,0,0: 99:[92, 7] Operation: 31-24=7 Exploring Operation: 24+92=116, Resulting Numbers: [31, 116] Generated Node #0,0,1: 99:[31, 116] Operation: 24+92=116 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[92, 7], Operations: ['47+45=92', '31-24=7'] Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[24, 47, 31, 45], Operations: [] Exploring Operation: 47+45=92, Resulting Numbers: [24, 31, 92] Generated Node #0,0: 99:[24, 31, 92] Operation: 47+45=92 Moving to Node #0,0 Current State: 99:[24, 31, 92], Operations: ['47+45=92'] Exploring Operation: 31-24=7, Resulting Numbers: [92, 7] Generated Node #0,0,0: 99:[92, 7] Operation: 31-24=7 Moving to Node #0,0,0 Current State: 99:[92, 7], Operations: ['47+45=92', '31-24=7'] Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 85, 29, 10, 51 ]
65
[ "29+10=39", "85*39=3315", "3315/51=65" ]
Current State: 65:[85, 29, 10, 51], Operations: [] Exploring Operation: 29+10=39, Resulting Numbers: [85, 51, 39] Generated Node #2: [85, 51, 39] from Operation: 29+10=39 Current State: 65:[85, 51, 39], Operations: ['29+10=39'] Exploring Operation: 85*39=3315, Resulting Numbers: [51, 3315] Generated Node #3: [51, 3315] from Operation: 85*39=3315 Current State: 65:[51, 3315], Operations: ['29+10=39', '85*39=3315'] Exploring Operation: 3315/51=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[85, 29, 10, 51], Operations: [] Exploring Operation: 29+51=80, Resulting Numbers: [85, 10, 80] Generated Node #0,0: 65:[85, 10, 80] Operation: 29+51=80 Exploring Operation: 85-29=56, Resulting Numbers: [10, 51, 56] Generated Node #0,1: 65:[10, 51, 56] Operation: 85-29=56 Exploring Operation: 85-10=75, Resulting Numbers: [29, 51, 75] Generated Node #0,2: 65:[29, 51, 75] Operation: 85-10=75 Exploring Operation: 51-29=22, Resulting Numbers: [85, 10, 22] Generated Node #0,3: 65:[85, 10, 22] Operation: 51-29=22 Moving to Node #0,1 Current State: 65:[10, 51, 56], Operations: ['85-29=56'] Exploring Operation: 51-10=41, Resulting Numbers: [56, 41] Generated Node #0,1,0: 65:[56, 41] Operation: 51-10=41 Exploring Operation: 10+51=61, Resulting Numbers: [56, 61] Generated Node #0,1,1: 65:[56, 61] Operation: 10+51=61 Exploring Operation: 56-51=5, Resulting Numbers: [10, 5] Generated Node #0,1,2: 65:[10, 5] Operation: 56-51=5 Exploring Operation: 10+56=66, Resulting Numbers: [51, 66] Generated Node #0,1,3: 65:[51, 66] Operation: 10+56=66 Moving to Node #0,3 Current State: 65:[85, 10, 22], Operations: ['51-29=22'] Exploring Operation: 85-10=75, Resulting Numbers: [22, 75] Generated Node #0,3,0: 65:[22, 75] Operation: 85-10=75 Exploring Operation: 85+10=95, Resulting Numbers: [22, 95] Generated Node #0,3,1: 65:[22, 95] Operation: 85+10=95 Exploring Operation: 85-22=63, Resulting Numbers: [10, 63] Generated Node #0,3,2: 65:[10, 63] Operation: 85-22=63 Exploring Operation: 22-10=12, Resulting Numbers: [85, 12] Generated Node #0,3,3: 65:[85, 12] Operation: 22-10=12 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 65:[10, 63], Operations: ['51-29=22', '85-22=63'] Exploring Operation: 10*63=630, Resulting Numbers: [630] 630,65 unequal: No Solution Exploring Operation: 10+63=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,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:[22, 75], Operations: ['51-29=22', '85-10=75'] Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,65 unequal: No Solution Exploring Operation: 22*75=1650, Resulting Numbers: [1650] 1650,65 unequal: No Solution Exploring Operation: 22+75=97, Resulting Numbers: [97] 97,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:[85, 12], Operations: ['51-29=22', '22-10=12'] Exploring Operation: 85+12=97, Resulting Numbers: [97] 97,65 unequal: No Solution Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 85*12=1020, Resulting Numbers: [1020] 1020,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:[22, 95], Operations: ['51-29=22', '85+10=95'] Exploring Operation: 22*95=2090, Resulting Numbers: [2090] 2090,65 unequal: No Solution Exploring Operation: 22+95=117, Resulting Numbers: [117] 117,65 unequal: No Solution Exploring Operation: 95-22=73, Resulting Numbers: [73] 73,65 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: 65:[85, 10, 80], Operations: ['29+51=80'] Exploring Operation: 85-10=75, Resulting Numbers: [80, 75] Generated Node #0,0,0: 65:[80, 75] Operation: 85-10=75 Exploring Operation: 80/10=8, Resulting Numbers: [85, 8] Generated Node #0,0,1: 65:[85, 8] Operation: 80/10=8 Exploring Operation: 80-10=70, Resulting Numbers: [85, 70] Generated Node #0,0,2: 65:[85, 70] Operation: 80-10=70 Exploring Operation: 85-80=5, Resulting Numbers: [10, 5] Generated Node #0,0,3: 65:[10, 5] Operation: 85-80=5 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 65:[10, 5], Operations: ['29+51=80', '85-80=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,65 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,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:[85, 8], Operations: ['29+51=80', '80/10=8'] Exploring Operation: 85+8=93, Resulting Numbers: [93] 93,65 unequal: No Solution Exploring Operation: 85*8=680, Resulting Numbers: [680] 680,65 unequal: No Solution Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,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,0 Current State: 65:[80, 75], Operations: ['29+51=80', '85-10=75'] Exploring Operation: 80+75=155, Resulting Numbers: [155] 155,65 unequal: No Solution Exploring Operation: 80*75=6000, Resulting Numbers: [6000] 6000,65 unequal: No Solution Exploring Operation: 80-75=5, Resulting Numbers: [5] 5,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:[85, 70], Operations: ['29+51=80', '80-10=70'] Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 85*70=5950, Resulting Numbers: [5950] 5950,65 unequal: No Solution Exploring Operation: 85+70=155, Resulting Numbers: [155] 155,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:[29, 51, 75], Operations: ['85-10=75'] Exploring Operation: 51-29=22, Resulting Numbers: [75, 22] Generated Node #0,2,0: 65:[75, 22] Operation: 51-29=22 Exploring Operation: 75-51=24, Resulting Numbers: [29, 24] Generated Node #0,2,1: 65:[29, 24] Operation: 75-51=24 Exploring Operation: 29+51=80, Resulting Numbers: [75, 80] Generated Node #0,2,2: 65:[75, 80] Operation: 29+51=80 Exploring Operation: 75-29=46, Resulting Numbers: [51, 46] Generated Node #0,2,3: 65:[51, 46] Operation: 75-29=46 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 65:[75, 22], Operations: ['85-10=75', '51-29=22'] Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,65 unequal: No Solution Exploring Operation: 75*22=1650, Resulting Numbers: [1650] 1650,65 unequal: No Solution Exploring Operation: 75+22=97, Resulting Numbers: [97] 97,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:[75, 80], Operations: ['85-10=75', '29+51=80'] Exploring Operation: 75+80=155, Resulting Numbers: [155] 155,65 unequal: No Solution Exploring Operation: 80-75=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 75*80=6000, Resulting Numbers: [6000] 6000,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,1 Current State: 65:[29, 24], Operations: ['85-10=75', '75-51=24'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,65 unequal: No Solution Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,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:[51, 46], Operations: ['85-10=75', '75-29=46'] Exploring Operation: 51*46=2346, Resulting Numbers: [2346] 2346,65 unequal: No Solution Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 65:[10, 5], Operations: ['85-29=56', '56-51=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,65 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[56, 61], Operations: ['85-29=56', '10+51=61'] Exploring Operation: 56+61=117, Resulting Numbers: [117] 117,65 unequal: No Solution Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 56*61=3416, Resulting Numbers: [3416] 3416,65 unequal: No Solution Moving to Node #0,1,3 Current State: 65:[51, 66], Operations: ['85-29=56', '10+56=66'] Exploring Operation: 51+66=117, Resulting Numbers: [117] 117,65 unequal: No Solution Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 51*66=3366, Resulting Numbers: [3366] 3366,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[56, 41], Operations: ['85-29=56', '51-10=41'] Exploring Operation: 56*41=2296, Resulting Numbers: [2296] 2296,65 unequal: No Solution Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 56+41=97, Resulting Numbers: [97] 97,65 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 37, 29, 28, 58 ]
63
[ "37+28=65", "58/29=2", "65-2=63" ]
Current State: 63:[37, 29, 28, 58], Operations: [] Exploring Operation: 37+28=65, Resulting Numbers: [29, 58, 65] Generated Node #2: [29, 58, 65] from Operation: 37+28=65 Current State: 63:[29, 58, 65], Operations: ['37+28=65'] Exploring Operation: 58/29=2, Resulting Numbers: [65, 2] Generated Node #3: [65, 2] from Operation: 58/29=2 Current State: 63:[65, 2], Operations: ['37+28=65', '58/29=2'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[37, 29, 28, 58], Operations: [] Exploring Operation: 37-28=9, Resulting Numbers: [29, 58, 9] Generated Node #0,0: 63:[29, 58, 9] Operation: 37-28=9 Exploring Operation: 37-29=8, Resulting Numbers: [28, 58, 8] Generated Node #0,1: 63:[28, 58, 8] Operation: 37-29=8 Exploring Operation: 37+29=66, Resulting Numbers: [28, 58, 66] Generated Node #0,2: 63:[28, 58, 66] Operation: 37+29=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[29, 58, 9], Operations: ['37-28=9'] Exploring Operation: 29-9=20, Resulting Numbers: [58, 20] Generated Node #0,0,0: 63:[58, 20] Operation: 29-9=20 Exploring Operation: 58-29=29, Resulting Numbers: [9, 29] Generated Node #0,0,1: 63:[9, 29] Operation: 58-29=29 Exploring Operation: 58/29=2, Resulting Numbers: [9, 2] Generated Node #0,0,2: 63:[9, 2] Operation: 58/29=2 Moving to Node #0,0,2 Current State: 63:[9, 2], Operations: ['37-28=9', '58/29=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[58, 20], Operations: ['37-28=9', '29-9=20'] Exploring Operation: 58*20=1160, Resulting Numbers: [1160] 1160,63 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[9, 29], Operations: ['37-28=9', '58-29=29'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 9+29=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 9*29=261, Resulting Numbers: [261] 261,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[28, 58, 8], Operations: ['37-29=8'] Exploring Operation: 28-8=20, Resulting Numbers: [58, 20] Generated Node #0,1,0: 63:[58, 20] Operation: 28-8=20 Exploring Operation: 58+8=66, Resulting Numbers: [28, 66] Generated Node #0,1,1: 63:[28, 66] Operation: 58+8=66 Exploring Operation: 58-28=30, Resulting Numbers: [8, 30] Generated Node #0,1,2: 63:[8, 30] Operation: 58-28=30 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[58, 20], Operations: ['37-29=8', '28-8=20'] Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 58*20=1160, Resulting Numbers: [1160] 1160,63 unequal: No Solution Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,63 unequal: No Solution No 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: 63:[28, 66], Operations: ['37-29=8', '58+8=66'] Exploring Operation: 28*66=1848, Resulting Numbers: [1848] 1848,63 unequal: No Solution Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 28+66=94, Resulting Numbers: [94] 94,63 unequal: No Solution No 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: 63:[8, 30], Operations: ['37-29=8', '58-28=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,63 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,63 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: 63:[28, 58, 66], Operations: ['37+29=66'] Exploring Operation: 58-28=30, Resulting Numbers: [66, 30] Generated Node #0,2,0: 63:[66, 30] Operation: 58-28=30 Exploring Operation: 66-58=8, Resulting Numbers: [28, 8] Generated Node #0,2,1: 63:[28, 8] Operation: 66-58=8 Exploring Operation: 66-28=38, Resulting Numbers: [58, 38] Generated Node #0,2,2: 63:[58, 38] Operation: 66-28=38 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 63:[28, 8], Operations: ['37+29=66', '66-58=8'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 28*8=224, Resulting Numbers: [224] 224,63 unequal: No Solution Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,63 unequal: No Solution No 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: 63:[66, 30], Operations: ['37+29=66', '58-28=30'] Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,63 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 66*30=1980, Resulting Numbers: [1980] 1980,63 unequal: No Solution No 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: 63:[58, 38], Operations: ['37+29=66', '66-28=38'] Exploring Operation: 58+38=96, Resulting Numbers: [96] 96,63 unequal: No Solution Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 58*38=2204, Resulting Numbers: [2204] 2204,63 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
sum_heuristic
[ 52, 29, 49, 92 ]
45
[ "52-29=23", "92/23=4", "49-4=45" ]
Current State: 45:[52, 29, 49, 92], Operations: [] Exploring Operation: 52-29=23, Resulting Numbers: [49, 92, 23] Generated Node #2: [49, 92, 23] from Operation: 52-29=23 Current State: 45:[49, 92, 23], Operations: ['52-29=23'] Exploring Operation: 92/23=4, Resulting Numbers: [49, 4] Generated Node #3: [49, 4] from Operation: 92/23=4 Current State: 45:[49, 4], Operations: ['52-29=23', '92/23=4'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[52, 29, 49, 92], Operations: [] Exploring Operation: 92-49=43, Resulting Numbers: [52, 29, 43] Generated Node #0,0: 45:[52, 29, 43] Operation: 92-49=43 Exploring Operation: 92-52=40, Resulting Numbers: [29, 49, 40] Generated Node #0,1: 45:[29, 49, 40] Operation: 92-52=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[52, 29, 43], Operations: ['92-49=43'] Exploring Operation: 43-29=14, Resulting Numbers: [52, 14] Generated Node #0,0,0: 45:[52, 14] Operation: 43-29=14 Exploring Operation: 52-29=23, Resulting Numbers: [43, 23] Generated Node #0,0,1: 45:[43, 23] Operation: 52-29=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[52, 14], Operations: ['92-49=43', '43-29=14'] Exploring Operation: 52+14=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,45 unequal: No Solution No 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: 45:[43, 23], Operations: ['92-49=43', '52-29=23'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,45 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: 45:[29, 49, 40], Operations: ['92-52=40'] Exploring Operation: 49-29=20, Resulting Numbers: [40, 20] Generated Node #0,1,0: 45:[40, 20] Operation: 49-29=20 Exploring Operation: 40-29=11, Resulting Numbers: [49, 11] Generated Node #0,1,1: 45:[49, 11] Operation: 40-29=11 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[49, 11], Operations: ['92-52=40', '40-29=11'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,45 unequal: No Solution No 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: 45:[40, 20], Operations: ['92-52=40', '49-29=20'] Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,45 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
[ 14, 73, 7, 3 ]
25
[ "14/7=2", "73+2=75", "75/3=25" ]
Current State: 25:[14, 73, 7, 3], Operations: [] Exploring Operation: 14/7=2, Resulting Numbers: [73, 3, 2] Generated Node #2: [73, 3, 2] from Operation: 14/7=2 Current State: 25:[73, 3, 2], Operations: ['14/7=2'] Exploring Operation: 73+2=75, Resulting Numbers: [3, 75] Generated Node #3: [3, 75] from Operation: 73+2=75 Current State: 25:[3, 75], Operations: ['14/7=2', '73+2=75'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[14, 73, 7, 3], Operations: [] Exploring Operation: 14-7=7, Resulting Numbers: [73, 3, 7] Generated Node #0,0: 25:[73, 3, 7] Operation: 14-7=7 Exploring Operation: 73-7=66, Resulting Numbers: [14, 3, 66] Generated Node #0,1: 25:[14, 3, 66] Operation: 73-7=66 Exploring Operation: 14/7=2, Resulting Numbers: [73, 3, 2] Generated Node #0,2: 25:[73, 3, 2] Operation: 14/7=2 Exploring Operation: 73-14=59, Resulting Numbers: [7, 3, 59] Generated Node #0,3: 25:[7, 3, 59] Operation: 73-14=59 Moving to Node #0,3 Current State: 25:[7, 3, 59], Operations: ['73-14=59'] Exploring Operation: 59-7=52, Resulting Numbers: [3, 52] Generated Node #0,3,0: 25:[3, 52] Operation: 59-7=52 Exploring Operation: 7*3=21, Resulting Numbers: [59, 21] Generated Node #0,3,1: 25:[59, 21] Operation: 7*3=21 Exploring Operation: 7-3=4, Resulting Numbers: [59, 4] Generated Node #0,3,2: 25:[59, 4] Operation: 7-3=4 Exploring Operation: 59-3=56, Resulting Numbers: [7, 56] Generated Node #0,3,3: 25:[7, 56] Operation: 59-3=56 Moving to Node #0,1 Current State: 25:[14, 3, 66], Operations: ['73-7=66'] Exploring Operation: 66/3=22, Resulting Numbers: [14, 22] Generated Node #0,1,0: 25:[14, 22] Operation: 66/3=22 Exploring Operation: 14-3=11, Resulting Numbers: [66, 11] Generated Node #0,1,1: 25:[66, 11] Operation: 14-3=11 Exploring Operation: 66-14=52, Resulting Numbers: [3, 52] Generated Node #0,1,2: 25:[3, 52] Operation: 66-14=52 Exploring Operation: 66-3=63, Resulting Numbers: [14, 63] Generated Node #0,1,3: 25:[14, 63] Operation: 66-3=63 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[14, 22], Operations: ['73-7=66', '66/3=22'] Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,25 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,25 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[3, 52], Operations: ['73-7=66', '66-14=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,25 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[66, 11], Operations: ['73-7=66', '14-3=11'] Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,25 unequal: No Solution Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 66*11=726, Resulting Numbers: [726] 726,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[14, 63], Operations: ['73-7=66', '66-3=63'] Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,25 unequal: No Solution Exploring Operation: 14*63=882, Resulting Numbers: [882] 882,25 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,25 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: 25:[73, 3, 7], Operations: ['14-7=7'] Exploring Operation: 7-3=4, Resulting Numbers: [73, 4] Generated Node #0,0,0: 25:[73, 4] Operation: 7-3=4 Exploring Operation: 73-3=70, Resulting Numbers: [7, 70] Generated Node #0,0,1: 25:[7, 70] Operation: 73-3=70 Exploring Operation: 3*7=21, Resulting Numbers: [73, 21] Generated Node #0,0,2: 25:[73, 21] Operation: 3*7=21 Exploring Operation: 73-7=66, Resulting Numbers: [3, 66] Generated Node #0,0,3: 25:[3, 66] Operation: 73-7=66 Moving to Node #0,2 Current State: 25:[73, 3, 2], Operations: ['14/7=2'] Exploring Operation: 3+2=5, Resulting Numbers: [73, 5] Generated Node #0,2,0: 25:[73, 5] Operation: 3+2=5 Exploring Operation: 73-3=70, Resulting Numbers: [2, 70] Generated Node #0,2,1: 25:[2, 70] Operation: 73-3=70 Exploring Operation: 73-2=71, Resulting Numbers: [3, 71] Generated Node #0,2,2: 25:[3, 71] Operation: 73-2=71 Exploring Operation: 3*2=6, Resulting Numbers: [73, 6] Generated Node #0,2,3: 25:[73, 6] Operation: 3*2=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[73, 5], Operations: ['14/7=2', '3+2=5'] Exploring Operation: 73+5=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,25 unequal: No Solution Exploring Operation: 73*5=365, Resulting Numbers: [365] 365,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[2, 70], Operations: ['14/7=2', '73-3=70'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,25 unequal: No Solution Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,25 unequal: No Solution Exploring Operation: 2*70=140, Resulting Numbers: [140] 140,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[3, 71], Operations: ['14/7=2', '73-2=71'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,25 unequal: No Solution Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 3*71=213, Resulting Numbers: [213] 213,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 25:[73, 6], Operations: ['14/7=2', '3*2=6'] Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,25 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 25:[3, 52], Operations: ['73-14=59', '59-7=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[7, 56], Operations: ['73-14=59', '59-3=56'] Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,25 unequal: No Solution Exploring Operation: 7*56=392, Resulting Numbers: [392] 392,25 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[59, 4], Operations: ['73-14=59', '7-3=4'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,25 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[59, 21], Operations: ['73-14=59', '7*3=21'] Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,25 unequal: No Solution Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 59*21=1239, Resulting Numbers: [1239] 1239,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[3, 66], Operations: ['14-7=7', '73-7=66'] Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,25 unequal: No Solution Exploring Operation: 3*66=198, Resulting Numbers: [198] 198,25 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,25 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[7, 70], Operations: ['14-7=7', '73-3=70'] Exploring Operation: 7*70=490, Resulting Numbers: [490] 490,25 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,25 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 7+70=77, Resulting Numbers: [77] 77,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[73, 4], Operations: ['14-7=7', '7-3=4'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,25 unequal: No Solution Exploring Operation: 73*4=292, Resulting Numbers: [292] 292,25 unequal: No Solution Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[73, 21], Operations: ['14-7=7', '3*7=21'] Exploring Operation: 73+21=94, Resulting Numbers: [94] 94,25 unequal: No Solution Exploring Operation: 73*21=1533, Resulting Numbers: [1533] 1533,25 unequal: No Solution Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,25 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 6, 66, 58, 60 ]
37
[ "66+60=126", "126/6=21", "58-21=37" ]
Current State: 37:[6, 66, 58, 60], Operations: [] Exploring Operation: 66+60=126, Resulting Numbers: [6, 58, 126] Generated Node #2: [6, 58, 126] from Operation: 66+60=126 Current State: 37:[6, 58, 126], Operations: ['66+60=126'] Exploring Operation: 126/6=21, Resulting Numbers: [58, 21] Generated Node #3: [58, 21] from Operation: 126/6=21 Current State: 37:[58, 21], Operations: ['66+60=126', '126/6=21'] Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[6, 66, 58, 60], Operations: [] Exploring Operation: 58-6=52, Resulting Numbers: [66, 60, 52] Generated Node #0,0: 37:[66, 60, 52] Operation: 58-6=52 Exploring Operation: 66-6=60, Resulting Numbers: [58, 60, 60] Generated Node #0,1: 37:[58, 60, 60] Operation: 66-6=60 Moving to Node #0,0 Current State: 37:[66, 60, 52], Operations: ['58-6=52'] Exploring Operation: 66-52=14, Resulting Numbers: [60, 14] Generated Node #0,0,0: 37:[60, 14] Operation: 66-52=14 Exploring Operation: 66-60=6, Resulting Numbers: [52, 6] Generated Node #0,0,1: 37:[52, 6] Operation: 66-60=6 Moving to Node #0,1 Current State: 37:[58, 60, 60], Operations: ['66-6=60'] Exploring Operation: 60-58=2, Resulting Numbers: [60, 2] Generated Node #0,1,0: 37:[60, 2] Operation: 60-58=2 Exploring Operation: 60/60=1, Resulting Numbers: [58, 1] Generated Node #0,1,1: 37:[58, 1] Operation: 60/60=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[58, 1], Operations: ['66-6=60', '60/60=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,37 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[60, 2], Operations: ['66-6=60', '60-58=2'] Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,37 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 37:[60, 14], Operations: ['58-6=52', '66-52=14'] Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,37 unequal: No Solution Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[52, 6], Operations: ['58-6=52', '66-60=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,37 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,37 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 87, 11, 99, 72 ]
73
[ "87+11=98", "99+72=171", "171-98=73" ]
Current State: 73:[87, 11, 99, 72], Operations: [] Exploring Operation: 87+11=98, Resulting Numbers: [99, 72, 98] Generated Node #2: [99, 72, 98] from Operation: 87+11=98 Current State: 73:[99, 72, 98], Operations: ['87+11=98'] Exploring Operation: 99+72=171, Resulting Numbers: [98, 171] Generated Node #3: [98, 171] from Operation: 99+72=171 Current State: 73:[98, 171], Operations: ['87+11=98', '99+72=171'] Exploring Operation: 171-98=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[87, 11, 99, 72], Operations: [] Exploring Operation: 87-11=76, Resulting Numbers: [99, 72, 76] Generated Node #0,0: 73:[99, 72, 76] Operation: 87-11=76 Moving to Node #0,0 Current State: 73:[99, 72, 76], Operations: ['87-11=76'] Exploring Operation: 99-72=27, Resulting Numbers: [76, 27] Generated Node #0,0,0: 73:[76, 27] Operation: 99-72=27 Moving to Node #0,0,0 Current State: 73:[76, 27], Operations: ['87-11=76', '99-72=27'] Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,73 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 70, 55, 40, 60 ]
26
[ "60-55=5", "70/5=14", "40-14=26" ]
Current State: 26:[70, 55, 40, 60], Operations: [] Exploring Operation: 60-55=5, Resulting Numbers: [70, 40, 5] Generated Node #2: [70, 40, 5] from Operation: 60-55=5 Current State: 26:[70, 40, 5], Operations: ['60-55=5'] Exploring Operation: 70/5=14, Resulting Numbers: [40, 14] Generated Node #3: [40, 14] from Operation: 70/5=14 Current State: 26:[40, 14], Operations: ['60-55=5', '70/5=14'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[70, 55, 40, 60], Operations: [] Exploring Operation: 70-55=15, Resulting Numbers: [40, 60, 15] Generated Node #0,0: 26:[40, 60, 15] Operation: 70-55=15 Exploring Operation: 70-60=10, Resulting Numbers: [55, 40, 10] Generated Node #0,1: 26:[55, 40, 10] Operation: 70-60=10 Moving to Node #0,1 Current State: 26:[55, 40, 10], Operations: ['70-60=10'] Exploring Operation: 40/10=4, Resulting Numbers: [55, 4] Generated Node #0,1,0: 26:[55, 4] Operation: 40/10=4 Exploring Operation: 55-40=15, Resulting Numbers: [10, 15] Generated Node #0,1,1: 26:[10, 15] Operation: 55-40=15 Moving to Node #0,0 Current State: 26:[40, 60, 15], Operations: ['70-55=15'] Exploring Operation: 60-40=20, Resulting Numbers: [15, 20] Generated Node #0,0,0: 26:[15, 20] Operation: 60-40=20 Exploring Operation: 60/15=4, Resulting Numbers: [40, 4] Generated Node #0,0,1: 26:[40, 4] Operation: 60/15=4 Moving to Node #0,1,1 Current State: 26:[10, 15], Operations: ['70-60=10', '55-40=15'] Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[15, 20], Operations: ['70-55=15', '60-40=20'] Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[40, 4], Operations: ['70-55=15', '60/15=4'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,26 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[55, 4], Operations: ['70-60=10', '40/10=4'] Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,26 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,26 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 29, 69, 25, 92 ]
77
[ "69-29=40", "25+92=117", "117-40=77" ]
Current State: 77:[29, 69, 25, 92], Operations: [] Exploring Operation: 69-29=40, Resulting Numbers: [25, 92, 40] Generated Node #2: [25, 92, 40] from Operation: 69-29=40 Current State: 77:[25, 92, 40], Operations: ['69-29=40'] Exploring Operation: 25+92=117, Resulting Numbers: [40, 117] Generated Node #3: [40, 117] from Operation: 25+92=117 Current State: 77:[40, 117], Operations: ['69-29=40', '25+92=117'] Exploring Operation: 117-40=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[29, 69, 25, 92], Operations: [] Exploring Operation: 92-29=63, Resulting Numbers: [69, 25, 63] Generated Node #0,0: 77:[69, 25, 63] Operation: 92-29=63 Exploring Operation: 29-25=4, Resulting Numbers: [69, 92, 4] Generated Node #0,1: 77:[69, 92, 4] Operation: 29-25=4 Exploring Operation: 92-25=67, Resulting Numbers: [29, 69, 67] Generated Node #0,2: 77:[29, 69, 67] Operation: 92-25=67 Moving to Node #0,1 Current State: 77:[69, 92, 4], Operations: ['29-25=4'] Exploring Operation: 69+4=73, Resulting Numbers: [92, 73] Generated Node #0,1,0: 77:[92, 73] Operation: 69+4=73 Exploring Operation: 92-4=88, Resulting Numbers: [69, 88] Generated Node #0,1,1: 77:[69, 88] Operation: 92-4=88 Exploring Operation: 92-69=23, Resulting Numbers: [4, 23] Generated Node #0,1,2: 77:[4, 23] Operation: 92-69=23 Moving to Node #0,0 Current State: 77:[69, 25, 63], Operations: ['92-29=63'] Exploring Operation: 25+63=88, Resulting Numbers: [69, 88] Generated Node #0,0,0: 77:[69, 88] Operation: 25+63=88 Exploring Operation: 69-63=6, Resulting Numbers: [25, 6] Generated Node #0,0,1: 77:[25, 6] Operation: 69-63=6 Exploring Operation: 69+25=94, Resulting Numbers: [63, 94] Generated Node #0,0,2: 77:[63, 94] Operation: 69+25=94 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[25, 6], Operations: ['92-29=63', '69-63=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,77 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,77 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[69, 88], Operations: ['92-29=63', '25+63=88'] Exploring Operation: 69+88=157, Resulting Numbers: [157] 157,77 unequal: No Solution Exploring Operation: 88-69=19, Resulting Numbers: [19] 19,77 unequal: No Solution Exploring Operation: 69*88=6072, Resulting Numbers: [6072] 6072,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[63, 94], Operations: ['92-29=63', '69+25=94'] Exploring Operation: 63*94=5922, Resulting Numbers: [5922] 5922,77 unequal: No Solution Exploring Operation: 63+94=157, Resulting Numbers: [157] 157,77 unequal: No Solution Exploring Operation: 94-63=31, Resulting Numbers: [31] 31,77 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: 77:[29, 69, 67], Operations: ['92-25=67'] Exploring Operation: 29+69=98, Resulting Numbers: [67, 98] Generated Node #0,2,0: 77:[67, 98] Operation: 29+69=98 Exploring Operation: 69-67=2, Resulting Numbers: [29, 2] Generated Node #0,2,1: 77:[29, 2] Operation: 69-67=2 Exploring Operation: 29+67=96, Resulting Numbers: [69, 96] Generated Node #0,2,2: 77:[69, 96] Operation: 29+67=96 Moving to Node #0,1,2 Current State: 77:[4, 23], Operations: ['29-25=4', '92-69=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,77 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,77 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[69, 88], Operations: ['29-25=4', '92-4=88'] Exploring Operation: 88-69=19, Resulting Numbers: [19] 19,77 unequal: No Solution Exploring Operation: 69+88=157, Resulting Numbers: [157] 157,77 unequal: No Solution Exploring Operation: 69*88=6072, Resulting Numbers: [6072] 6072,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[92, 73], Operations: ['29-25=4', '69+4=73'] Exploring Operation: 92*73=6716, Resulting Numbers: [6716] 6716,77 unequal: No Solution Exploring Operation: 92+73=165, Resulting Numbers: [165] 165,77 unequal: No Solution Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[29, 2], Operations: ['92-25=67', '69-67=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,77 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[69, 96], Operations: ['92-25=67', '29+67=96'] Exploring Operation: 96-69=27, Resulting Numbers: [27] 27,77 unequal: No Solution Exploring Operation: 69*96=6624, Resulting Numbers: [6624] 6624,77 unequal: No Solution Exploring Operation: 69+96=165, Resulting Numbers: [165] 165,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[67, 98], Operations: ['92-25=67', '29+69=98'] Exploring Operation: 98-67=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 67*98=6566, Resulting Numbers: [6566] 6566,77 unequal: No Solution Exploring Operation: 67+98=165, Resulting Numbers: [165] 165,77 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 38, 72, 24, 52 ]
36
[ "38*72=2736", "24+52=76", "2736/76=36" ]
Current State: 36:[38, 72, 24, 52], Operations: [] Exploring Operation: 38*72=2736, Resulting Numbers: [24, 52, 2736] Generated Node #2: [24, 52, 2736] from Operation: 38*72=2736 Current State: 36:[24, 52, 2736], Operations: ['38*72=2736'] Exploring Operation: 24+52=76, Resulting Numbers: [2736, 76] Generated Node #3: [2736, 76] from Operation: 24+52=76 Current State: 36:[2736, 76], Operations: ['38*72=2736', '24+52=76'] Exploring Operation: 2736/76=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[38, 72, 24, 52], Operations: [] Exploring Operation: 72-52=20, Resulting Numbers: [38, 24, 20] Generated Node #0,0: 36:[38, 24, 20] Operation: 72-52=20 Moving to Node #0,0 Current State: 36:[38, 24, 20], Operations: ['72-52=20'] Exploring Operation: 24-20=4, Resulting Numbers: [38, 4] Generated Node #0,0,0: 36:[38, 4] Operation: 24-20=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[38, 4], Operations: ['72-52=20', '24-20=4'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,36 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
[ 59, 15, 82, 22 ]
92
[ "59*22=1298", "82+1298=1380", "1380/15=92" ]
Current State: 92:[59, 15, 82, 22], Operations: [] Exploring Operation: 59*22=1298, Resulting Numbers: [15, 82, 1298] Generated Node #2: [15, 82, 1298] from Operation: 59*22=1298 Current State: 92:[15, 82, 1298], Operations: ['59*22=1298'] Exploring Operation: 82+1298=1380, Resulting Numbers: [15, 1380] Generated Node #3: [15, 1380] from Operation: 82+1298=1380 Current State: 92:[15, 1380], Operations: ['59*22=1298', '82+1298=1380'] Exploring Operation: 1380/15=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[59, 15, 82, 22], Operations: [] Exploring Operation: 59-15=44, Resulting Numbers: [82, 22, 44] Generated Node #0,0: 92:[82, 22, 44] Operation: 59-15=44 Exploring Operation: 82-59=23, Resulting Numbers: [15, 22, 23] Generated Node #0,1: 92:[15, 22, 23] Operation: 82-59=23 Exploring Operation: 15+82=97, Resulting Numbers: [59, 22, 97] Generated Node #0,2: 92:[59, 22, 97] Operation: 15+82=97 Moving to Node #0,1 Current State: 92:[15, 22, 23], Operations: ['82-59=23'] Exploring Operation: 15+22=37, Resulting Numbers: [23, 37] Generated Node #0,1,0: 92:[23, 37] Operation: 15+22=37 Exploring Operation: 22-15=7, Resulting Numbers: [23, 7] Generated Node #0,1,1: 92:[23, 7] Operation: 22-15=7 Exploring Operation: 23-15=8, Resulting Numbers: [22, 8] Generated Node #0,1,2: 92:[22, 8] Operation: 23-15=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[23, 7], Operations: ['82-59=23', '22-15=7'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,92 unequal: No Solution Exploring Operation: 23*7=161, Resulting Numbers: [161] 161,92 unequal: No Solution Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,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,2 Current State: 92:[22, 8], Operations: ['82-59=23', '23-15=8'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,92 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,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,0 Current State: 92:[23, 37], Operations: ['82-59=23', '15+22=37'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 23+37=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 23*37=851, Resulting Numbers: [851] 851,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:[82, 22, 44], Operations: ['59-15=44'] Exploring Operation: 44/22=2, Resulting Numbers: [82, 2] Generated Node #0,0,0: 92:[82, 2] Operation: 44/22=2 Exploring Operation: 44-22=22, Resulting Numbers: [82, 22] Generated Node #0,0,1: 92:[82, 22] Operation: 44-22=22 Exploring Operation: 82-44=38, Resulting Numbers: [22, 38] Generated Node #0,0,2: 92:[22, 38] Operation: 82-44=38 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 92:[22, 38], Operations: ['59-15=44', '82-44=38'] Exploring Operation: 22*38=836, Resulting Numbers: [836] 836,92 unequal: No Solution Exploring Operation: 22+38=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,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:[82, 2], Operations: ['59-15=44', '44/22=2'] Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,92 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[82, 22], Operations: ['59-15=44', '44-22=22'] Exploring Operation: 82*22=1804, Resulting Numbers: [1804] 1804,92 unequal: No Solution Exploring Operation: 82+22=104, Resulting Numbers: [104] 104,92 unequal: No Solution Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,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:[59, 22, 97], Operations: ['15+82=97'] Exploring Operation: 59+22=81, Resulting Numbers: [97, 81] Generated Node #0,2,0: 92:[97, 81] Operation: 59+22=81 Exploring Operation: 59-22=37, Resulting Numbers: [97, 37] Generated Node #0,2,1: 92:[97, 37] Operation: 59-22=37 Exploring Operation: 97-59=38, Resulting Numbers: [22, 38] Generated Node #0,2,2: 92:[22, 38] Operation: 97-59=38 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[22, 38], Operations: ['15+82=97', '97-59=38'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,92 unequal: No Solution Exploring Operation: 22*38=836, Resulting Numbers: [836] 836,92 unequal: No Solution Exploring Operation: 22+38=60, Resulting Numbers: [60] 60,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,2,1 Current State: 92:[97, 37], Operations: ['15+82=97', '59-22=37'] Exploring Operation: 97*37=3589, Resulting Numbers: [3589] 3589,92 unequal: No Solution Exploring Operation: 97-37=60, Resulting Numbers: [60] 60,92 unequal: No Solution Exploring Operation: 97+37=134, Resulting Numbers: [134] 134,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,2,0 Current State: 92:[97, 81], Operations: ['15+82=97', '59+22=81'] Exploring Operation: 97+81=178, Resulting Numbers: [178] 178,92 unequal: No Solution Exploring Operation: 97*81=7857, Resulting Numbers: [7857] 7857,92 unequal: No Solution Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,92 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
[ 40, 45, 17, 58 ]
44
[ "40+45=85", "58-17=41", "85-41=44" ]
Current State: 44:[40, 45, 17, 58], Operations: [] Exploring Operation: 40+45=85, Resulting Numbers: [17, 58, 85] Generated Node #2: [17, 58, 85] from Operation: 40+45=85 Current State: 44:[17, 58, 85], Operations: ['40+45=85'] Exploring Operation: 58-17=41, Resulting Numbers: [85, 41] Generated Node #3: [85, 41] from Operation: 58-17=41 Current State: 44:[85, 41], Operations: ['40+45=85', '58-17=41'] Exploring Operation: 85-41=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[40, 45, 17, 58], Operations: [] Exploring Operation: 58-17=41, Resulting Numbers: [40, 45, 41] Generated Node #0,0: 44:[40, 45, 41] Operation: 58-17=41 Exploring Operation: 58-40=18, Resulting Numbers: [45, 17, 18] Generated Node #0,1: 44:[45, 17, 18] Operation: 58-40=18 Moving to Node #0,0 Current State: 44:[40, 45, 41], Operations: ['58-17=41'] Exploring Operation: 41-40=1, Resulting Numbers: [45, 1] Generated Node #0,0,0: 44:[45, 1] Operation: 41-40=1 Exploring Operation: 45-40=5, Resulting Numbers: [41, 5] Generated Node #0,0,1: 44:[41, 5] Operation: 45-40=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[45, 1], Operations: ['58-17=41', '41-40=1'] Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[40, 45, 17, 58], Operations: [] Exploring Operation: 58-17=41, Resulting Numbers: [40, 45, 41] Generated Node #0,0: 44:[40, 45, 41] Operation: 58-17=41 Moving to Node #0,0 Current State: 44:[40, 45, 41], Operations: ['58-17=41'] Exploring Operation: 41-40=1, Resulting Numbers: [45, 1] Generated Node #0,0,0: 44:[45, 1] Operation: 41-40=1 Moving to Node #0,0,0 Current State: 44:[45, 1], Operations: ['58-17=41', '41-40=1'] Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 74, 89, 5, 57 ]
54
[ "89-74=15", "15/5=3", "57-3=54" ]
Current State: 54:[74, 89, 5, 57], Operations: [] Exploring Operation: 89-74=15, Resulting Numbers: [5, 57, 15] Generated Node #2: [5, 57, 15] from Operation: 89-74=15 Current State: 54:[5, 57, 15], Operations: ['89-74=15'] Exploring Operation: 15/5=3, Resulting Numbers: [57, 3] Generated Node #3: [57, 3] from Operation: 15/5=3 Current State: 54:[57, 3], Operations: ['89-74=15', '15/5=3'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[74, 89, 5, 57], Operations: [] Exploring Operation: 89-74=15, Resulting Numbers: [5, 57, 15] Generated Node #0,0: 54:[5, 57, 15] Operation: 89-74=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[5, 57, 15], Operations: ['89-74=15'] Exploring Operation: 15/5=3, Resulting Numbers: [57, 3] Generated Node #0,0,0: 54:[57, 3] Operation: 15/5=3 Moving to Node #0,0,0 Current State: 54:[57, 3], Operations: ['89-74=15', '15/5=3'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[74, 89, 5, 57], Operations: [] Exploring Operation: 89-74=15, Resulting Numbers: [5, 57, 15] Generated Node #0,0: 54:[5, 57, 15] Operation: 89-74=15 Moving to Node #0,0 Current State: 54:[5, 57, 15], Operations: ['89-74=15'] Exploring Operation: 15/5=3, Resulting Numbers: [57, 3] Generated Node #0,0,0: 54:[57, 3] Operation: 15/5=3 Moving to Node #0,0,0 Current State: 54:[57, 3], Operations: ['89-74=15', '15/5=3'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 56, 21, 3, 7 ]
98
[ "56+21=77", "3*7=21", "77+21=98" ]
Current State: 98:[56, 21, 3, 7], Operations: [] Exploring Operation: 56+21=77, Resulting Numbers: [3, 7, 77] Generated Node #2: [3, 7, 77] from Operation: 56+21=77 Current State: 98:[3, 7, 77], Operations: ['56+21=77'] Exploring Operation: 3*7=21, Resulting Numbers: [77, 21] Generated Node #3: [77, 21] from Operation: 3*7=21 Current State: 98:[77, 21], Operations: ['56+21=77', '3*7=21'] Exploring Operation: 77+21=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[56, 21, 3, 7], Operations: [] Exploring Operation: 56-7=49, Resulting Numbers: [21, 3, 49] Generated Node #0,0: 98:[21, 3, 49] Operation: 56-7=49 Exploring Operation: 21-7=14, Resulting Numbers: [56, 3, 14] Generated Node #0,1: 98:[56, 3, 14] Operation: 21-7=14 Exploring Operation: 21/3=7, Resulting Numbers: [56, 7, 7] Generated Node #0,2: 98:[56, 7, 7] Operation: 21/3=7 Moving to Node #0,2 Current State: 98:[56, 7, 7], Operations: ['21/3=7'] Exploring Operation: 56-7=49, Resulting Numbers: [7, 49] Generated Node #0,2,0: 98:[7, 49] Operation: 56-7=49 Exploring Operation: 56/7=8, Resulting Numbers: [7, 8] Generated Node #0,2,1: 98:[7, 8] Operation: 56/7=8 Exploring Operation: 56-7=49, Resulting Numbers: [7, 49] Generated Node #0,2,2: 98:[7, 49] Operation: 56-7=49 Moving to Node #0,0 Current State: 98:[21, 3, 49], Operations: ['56-7=49'] Exploring Operation: 21+3=24, Resulting Numbers: [49, 24] Generated Node #0,0,0: 98:[49, 24] Operation: 21+3=24 Exploring Operation: 21-3=18, Resulting Numbers: [49, 18] Generated Node #0,0,1: 98:[49, 18] Operation: 21-3=18 Exploring Operation: 21/3=7, Resulting Numbers: [49, 7] Generated Node #0,0,2: 98:[49, 7] Operation: 21/3=7 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 98:[49, 7], Operations: ['56-7=49', '21/3=7'] Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 98:[49, 18], Operations: ['56-7=49', '21-3=18'] Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,98 unequal: No Solution Exploring Operation: 49*18=882, Resulting Numbers: [882] 882,98 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[49, 24], Operations: ['56-7=49', '21+3=24'] Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,98 unequal: No Solution Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,98 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,98 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: 98:[56, 3, 14], Operations: ['21-7=14'] Exploring Operation: 56/14=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 98:[3, 4] Operation: 56/14=4 Exploring Operation: 56-3=53, Resulting Numbers: [14, 53] Generated Node #0,1,1: 98:[14, 53] Operation: 56-3=53 Exploring Operation: 56-14=42, Resulting Numbers: [3, 42] Generated Node #0,1,2: 98:[3, 42] Operation: 56-14=42 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[3, 4], Operations: ['21-7=14', '56/14=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[14, 53], Operations: ['21-7=14', '56-3=53'] Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,98 unequal: No Solution Exploring Operation: 14*53=742, Resulting Numbers: [742] 742,98 unequal: No Solution Exploring Operation: 14+53=67, Resulting Numbers: [67] 67,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 98:[3, 42], Operations: ['21-7=14', '56-14=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,98 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,98 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 98:[7, 49], Operations: ['21/3=7', '56-7=49'] Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[7, 49], Operations: ['21/3=7', '56-7=49'] Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 7+49=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[7, 8], Operations: ['21/3=7', '56/7=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,98 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,98 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 16, 45, 96, 3 ]
64
[ "45-16=29", "96-3=93", "93-29=64" ]
Current State: 64:[16, 45, 96, 3], Operations: [] Exploring Operation: 45-16=29, Resulting Numbers: [96, 3, 29] Generated Node #2: [96, 3, 29] from Operation: 45-16=29 Current State: 64:[96, 3, 29], Operations: ['45-16=29'] Exploring Operation: 96-3=93, Resulting Numbers: [29, 93] Generated Node #3: [29, 93] from Operation: 96-3=93 Current State: 64:[29, 93], Operations: ['45-16=29', '96-3=93'] Exploring Operation: 93-29=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[16, 45, 96, 3], Operations: [] Exploring Operation: 96/3=32, Resulting Numbers: [16, 45, 32] Generated Node #0,0: 64:[16, 45, 32] Operation: 96/3=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[16, 45, 32], Operations: ['96/3=32'] Exploring Operation: 16+45=61, Resulting Numbers: [32, 61] Generated Node #0,0,0: 64:[32, 61] Operation: 16+45=61 Moving to Node #0,0,0 Current State: 64:[32, 61], Operations: ['96/3=32', '16+45=61'] Exploring Operation: 61-32=29, Resulting Numbers: [29] 29,64 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
[ 41, 39, 30, 95 ]
35
[ "41-39=2", "30*2=60", "95-60=35" ]
Current State: 35:[41, 39, 30, 95], Operations: [] Exploring Operation: 41-39=2, Resulting Numbers: [30, 95, 2] Generated Node #2: [30, 95, 2] from Operation: 41-39=2 Current State: 35:[30, 95, 2], Operations: ['41-39=2'] Exploring Operation: 30*2=60, Resulting Numbers: [95, 60] Generated Node #3: [95, 60] from Operation: 30*2=60 Current State: 35:[95, 60], Operations: ['41-39=2', '30*2=60'] Exploring Operation: 95-60=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[41, 39, 30, 95], Operations: [] Exploring Operation: 95-41=54, Resulting Numbers: [39, 30, 54] Generated Node #0,0: 35:[39, 30, 54] Operation: 95-41=54 Exploring Operation: 95-39=56, Resulting Numbers: [41, 30, 56] Generated Node #0,1: 35:[41, 30, 56] Operation: 95-39=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[39, 30, 54], Operations: ['95-41=54'] Exploring Operation: 54-30=24, Resulting Numbers: [39, 24] Generated Node #0,0,0: 35:[39, 24] Operation: 54-30=24 Exploring Operation: 54-39=15, Resulting Numbers: [30, 15] Generated Node #0,0,1: 35:[30, 15] Operation: 54-39=15 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[30, 15], Operations: ['95-41=54', '54-39=15'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,35 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,35 unequal: No Solution No 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: 35:[39, 24], Operations: ['95-41=54', '54-30=24'] Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,35 unequal: No Solution Exploring Operation: 39+24=63, Resulting Numbers: [63] 63,35 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: 35:[41, 30, 56], Operations: ['95-39=56'] Exploring Operation: 56-30=26, Resulting Numbers: [41, 26] Generated Node #0,1,0: 35:[41, 26] Operation: 56-30=26 Exploring Operation: 56-41=15, Resulting Numbers: [30, 15] Generated Node #0,1,1: 35:[30, 15] Operation: 56-41=15 Moving to Node #0,1,1 Current State: 35:[30, 15], Operations: ['95-39=56', '56-41=15'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,35 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[41, 26], Operations: ['95-39=56', '56-30=26'] Exploring Operation: 41+26=67, Resulting Numbers: [67] 67,35 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,35 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
[ 56, 51, 62, 74 ]
95
[ "56+51=107", "74-62=12", "107-12=95" ]
Current State: 95:[56, 51, 62, 74], Operations: [] Exploring Operation: 56+51=107, Resulting Numbers: [62, 74, 107] Generated Node #2: [62, 74, 107] from Operation: 56+51=107 Current State: 95:[62, 74, 107], Operations: ['56+51=107'] Exploring Operation: 74-62=12, Resulting Numbers: [107, 12] Generated Node #3: [107, 12] from Operation: 74-62=12 Current State: 95:[107, 12], Operations: ['56+51=107', '74-62=12'] Exploring Operation: 107-12=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[56, 51, 62, 74], Operations: [] Exploring Operation: 56-51=5, Resulting Numbers: [62, 74, 5] Generated Node #0,0: 95:[62, 74, 5] Operation: 56-51=5 Moving to Node #0,0 Current State: 95:[62, 74, 5], Operations: ['56-51=5'] Exploring Operation: 74-62=12, Resulting Numbers: [5, 12] Generated Node #0,0,0: 95:[5, 12] Operation: 74-62=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[5, 12], Operations: ['56-51=5', '74-62=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,95 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
[ 38, 17, 40, 54 ]
91
[ "40-38=2", "54*2=108", "108-17=91" ]
Current State: 91:[38, 17, 40, 54], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [17, 54, 2] Generated Node #2: [17, 54, 2] from Operation: 40-38=2 Current State: 91:[17, 54, 2], Operations: ['40-38=2'] Exploring Operation: 54*2=108, Resulting Numbers: [17, 108] Generated Node #3: [17, 108] from Operation: 54*2=108 Current State: 91:[17, 108], Operations: ['40-38=2', '54*2=108'] Exploring Operation: 108-17=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[38, 17, 40, 54], Operations: [] Exploring Operation: 54-38=16, Resulting Numbers: [17, 40, 16] Generated Node #0,0: 91:[17, 40, 16] Operation: 54-38=16 Exploring Operation: 40+54=94, Resulting Numbers: [38, 17, 94] Generated Node #0,1: 91:[38, 17, 94] Operation: 40+54=94 Exploring Operation: 40-38=2, Resulting Numbers: [17, 54, 2] Generated Node #0,2: 91:[17, 54, 2] Operation: 40-38=2 Exploring Operation: 38+54=92, Resulting Numbers: [17, 40, 92] Generated Node #0,3: 91:[17, 40, 92] Operation: 38+54=92 Exploring Operation: 54-40=14, Resulting Numbers: [38, 17, 14] Generated Node #0,4: 91:[38, 17, 14] Operation: 54-40=14 Moving to Node #0,4 Current State: 91:[38, 17, 14], Operations: ['54-40=14'] Exploring Operation: 38+17=55, Resulting Numbers: [14, 55] Generated Node #0,4,0: 91:[14, 55] Operation: 38+17=55 Exploring Operation: 38-14=24, Resulting Numbers: [17, 24] Generated Node #0,4,1: 91:[17, 24] Operation: 38-14=24 Exploring Operation: 17-14=3, Resulting Numbers: [38, 3] Generated Node #0,4,2: 91:[38, 3] Operation: 17-14=3 Exploring Operation: 38+14=52, Resulting Numbers: [17, 52] Generated Node #0,4,3: 91:[17, 52] Operation: 38+14=52 Exploring Operation: 38-17=21, Resulting Numbers: [14, 21] Generated Node #0,4,4: 91:[14, 21] Operation: 38-17=21 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 91:[14, 21], Operations: ['54-40=14', '38-17=21'] Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,91 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,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,4,1 Current State: 91:[17, 24], Operations: ['54-40=14', '38-14=24'] Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,91 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,91 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,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,4,2 Current State: 91:[38, 3], Operations: ['54-40=14', '17-14=3'] Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,91 unequal: No Solution Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,91 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,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,4,0 Current State: 91:[14, 55], Operations: ['54-40=14', '38+17=55'] Exploring Operation: 14+55=69, Resulting Numbers: [69] 69,91 unequal: No Solution Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,91 unequal: No Solution Exploring Operation: 14*55=770, Resulting Numbers: [770] 770,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,4,3 Current State: 91:[17, 52], Operations: ['54-40=14', '38+14=52'] Exploring Operation: 17+52=69, Resulting Numbers: [69] 69,91 unequal: No Solution Exploring Operation: 17*52=884, Resulting Numbers: [884] 884,91 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 91:[17, 40, 92], Operations: ['38+54=92'] Exploring Operation: 40-17=23, Resulting Numbers: [92, 23] Generated Node #0,3,0: 91:[92, 23] Operation: 40-17=23 Exploring Operation: 92-40=52, Resulting Numbers: [17, 52] Generated Node #0,3,1: 91:[17, 52] Operation: 92-40=52 Exploring Operation: 17+40=57, Resulting Numbers: [92, 57] Generated Node #0,3,2: 91:[92, 57] Operation: 17+40=57 Exploring Operation: 92-17=75, Resulting Numbers: [40, 75] Generated Node #0,3,3: 91:[40, 75] Operation: 92-17=75 Exploring Operation: 17+92=109, Resulting Numbers: [40, 109] Generated Node #0,3,4: 91:[40, 109] Operation: 17+92=109 Moving to Node #0,1 Current State: 91:[38, 17, 94], Operations: ['40+54=94'] Exploring Operation: 94-38=56, Resulting Numbers: [17, 56] Generated Node #0,1,0: 91:[17, 56] Operation: 94-38=56 Exploring Operation: 38-17=21, Resulting Numbers: [94, 21] Generated Node #0,1,1: 91:[94, 21] Operation: 38-17=21 Exploring Operation: 94-17=77, Resulting Numbers: [38, 77] Generated Node #0,1,2: 91:[38, 77] Operation: 94-17=77 Exploring Operation: 38+94=132, Resulting Numbers: [17, 132] Generated Node #0,1,3: 91:[17, 132] Operation: 38+94=132 Exploring Operation: 38+17=55, Resulting Numbers: [94, 55] Generated Node #0,1,4: 91:[94, 55] Operation: 38+17=55 Moving to Node #0,0 Current State: 91:[17, 40, 16], Operations: ['54-38=16'] Exploring Operation: 17+40=57, Resulting Numbers: [16, 57] Generated Node #0,0,0: 91:[16, 57] Operation: 17+40=57 Exploring Operation: 17-16=1, Resulting Numbers: [40, 1] Generated Node #0,0,1: 91:[40, 1] Operation: 17-16=1 Exploring Operation: 40-17=23, Resulting Numbers: [16, 23] Generated Node #0,0,2: 91:[16, 23] Operation: 40-17=23 Exploring Operation: 40+16=56, Resulting Numbers: [17, 56] Generated Node #0,0,3: 91:[17, 56] Operation: 40+16=56 Exploring Operation: 40-16=24, Resulting Numbers: [17, 24] Generated Node #0,0,4: 91:[17, 24] Operation: 40-16=24 Moving to Node #0,2 Current State: 91:[17, 54, 2], Operations: ['40-38=2'] Exploring Operation: 17-2=15, Resulting Numbers: [54, 15] Generated Node #0,2,0: 91:[54, 15] Operation: 17-2=15 Exploring Operation: 54*2=108, Resulting Numbers: [17, 108] Generated Node #0,2,1: 91:[17, 108] Operation: 54*2=108 Exploring Operation: 54/2=27, Resulting Numbers: [17, 27] Generated Node #0,2,2: 91:[17, 27] Operation: 54/2=27 Exploring Operation: 54-17=37, Resulting Numbers: [2, 37] Generated Node #0,2,3: 91:[2, 37] Operation: 54-17=37 Exploring Operation: 17+54=71, Resulting Numbers: [2, 71] Generated Node #0,2,4: 91:[2, 71] Operation: 17+54=71 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[17, 27], Operations: ['40-38=2', '54/2=27'] Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,91 unequal: No Solution Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[17, 108], Operations: ['40-38=2', '54*2=108'] Exploring Operation: 17+108=125, Resulting Numbers: [125] 125,91 unequal: No Solution Exploring Operation: 108-17=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[38, 17, 40, 54], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [17, 54, 2] Generated Node #0,2: 91:[17, 54, 2] Operation: 40-38=2 Moving to Node #0,2 Current State: 91:[17, 54, 2], Operations: ['40-38=2'] Exploring Operation: 54*2=108, Resulting Numbers: [17, 108] Generated Node #0,2,1: 91:[17, 108] Operation: 54*2=108 Moving to Node #0,2,1 Current State: 91:[17, 108], Operations: ['40-38=2', '54*2=108'] Exploring Operation: 108-17=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.953125
hs_5
mult_heuristic
[ 2, 2, 31, 9 ]
76
[ "31-2=29", "9+29=38", "2*38=76" ]
Current State: 76:[2, 2, 31, 9], Operations: [] Exploring Operation: 31-2=29, Resulting Numbers: [9, 29] Generated Node #2: [9, 29] from Operation: 31-2=29 Current State: 76:[9, 29], Operations: ['31-2=29'] Exploring Operation: 9+29=38, Resulting Numbers: [38] 38,76 equal: Goal Reached Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[2, 2, 31, 9], Operations: [] Exploring Operation: 2+31=33, Resulting Numbers: [2, 9, 33] Generated Node #0,0: 76:[2, 9, 33] Operation: 2+31=33 Exploring Operation: 2*9=18, Resulting Numbers: [2, 31, 18] Generated Node #0,1: 76:[2, 31, 18] Operation: 2*9=18 Exploring Operation: 31-9=22, Resulting Numbers: [2, 2, 22] Generated Node #0,2: 76:[2, 2, 22] Operation: 31-9=22 Exploring Operation: 31+9=40, Resulting Numbers: [2, 2, 40] Generated Node #0,3: 76:[2, 2, 40] Operation: 31+9=40 Exploring Operation: 2*9=18, Resulting Numbers: [2, 31, 18] Generated Node #0,4: 76:[2, 31, 18] Operation: 2*9=18 Moving to Node #0,3 Current State: 76:[2, 2, 40], Operations: ['31+9=40'] Exploring Operation: 40/2=20, Resulting Numbers: [2, 20] Generated Node #0,3,0: 76:[2, 20] Operation: 40/2=20 Exploring Operation: 40-2=38, Resulting Numbers: [2, 38] Generated Node #0,3,1: 76:[2, 38] Operation: 40-2=38 Exploring Operation: 2+2=4, Resulting Numbers: [40, 4] Generated Node #0,3,2: 76:[40, 4] Operation: 2+2=4 Exploring Operation: 40/2=20, Resulting Numbers: [2, 20] Generated Node #0,3,3: 76:[2, 20] Operation: 40/2=20 Exploring Operation: 40-2=38, Resulting Numbers: [2, 38] Generated Node #0,3,4: 76:[2, 38] Operation: 40-2=38 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 76:[2, 38], Operations: ['31+9=40', '40-2=38'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,76 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[2, 2, 31, 9], Operations: [] Exploring Operation: 31+9=40, Resulting Numbers: [2, 2, 40] Generated Node #0,3: 76:[2, 2, 40] Operation: 31+9=40 Moving to Node #0,3 Current State: 76:[2, 2, 40], Operations: ['31+9=40'] Exploring Operation: 40-2=38, Resulting Numbers: [2, 38] Generated Node #0,3,1: 76:[2, 38] Operation: 40-2=38 Moving to Node #0,3,1 Current State: 76:[2, 38], Operations: ['31+9=40', '40-2=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 81, 9, 53, 36 ]
99
[ "53-9=44", "81*44=3564", "3564/36=99" ]
Current State: 99:[81, 9, 53, 36], Operations: [] Exploring Operation: 53-9=44, Resulting Numbers: [81, 36, 44] Generated Node #2: [81, 36, 44] from Operation: 53-9=44 Current State: 99:[81, 36, 44], Operations: ['53-9=44'] Exploring Operation: 81*44=3564, Resulting Numbers: [36, 3564] Generated Node #3: [36, 3564] from Operation: 81*44=3564 Current State: 99:[36, 3564], Operations: ['53-9=44', '81*44=3564'] Exploring Operation: 3564/36=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[81, 9, 53, 36], Operations: [] Exploring Operation: 53-36=17, Resulting Numbers: [81, 9, 17] Generated Node #0,0: 99:[81, 9, 17] Operation: 53-36=17 Exploring Operation: 53+36=89, Resulting Numbers: [81, 9, 89] Generated Node #0,1: 99:[81, 9, 89] Operation: 53+36=89 Exploring Operation: 81-53=28, Resulting Numbers: [9, 36, 28] Generated Node #0,2: 99:[9, 36, 28] Operation: 81-53=28 Exploring Operation: 81/9=9, Resulting Numbers: [53, 36, 9] Generated Node #0,3: 99:[53, 36, 9] Operation: 81/9=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[9, 36, 28], Operations: ['81-53=28'] Exploring Operation: 36-28=8, Resulting Numbers: [9, 8] Generated Node #0,2,0: 99:[9, 8] Operation: 36-28=8 Exploring Operation: 36/9=4, Resulting Numbers: [28, 4] Generated Node #0,2,1: 99:[28, 4] Operation: 36/9=4 Exploring Operation: 9+28=37, Resulting Numbers: [36, 37] Generated Node #0,2,2: 99:[36, 37] Operation: 9+28=37 Exploring Operation: 36-9=27, Resulting Numbers: [28, 27] Generated Node #0,2,3: 99:[28, 27] Operation: 36-9=27 Moving to Node #0,2,0 Current State: 99:[9, 8], Operations: ['81-53=28', '36-28=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,99 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[28, 4], Operations: ['81-53=28', '36/9=4'] Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,99 unequal: No Solution Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,99 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[36, 37], Operations: ['81-53=28', '9+28=37'] Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 36+37=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 36*37=1332, Resulting Numbers: [1332] 1332,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[28, 27], Operations: ['81-53=28', '36-9=27'] Exploring Operation: 28*27=756, Resulting Numbers: [756] 756,99 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 99:[53, 36, 9], Operations: ['81/9=9'] Exploring Operation: 53-36=17, Resulting Numbers: [9, 17] Generated Node #0,3,0: 99:[9, 17] Operation: 53-36=17 Exploring Operation: 53+36=89, Resulting Numbers: [9, 89] Generated Node #0,3,1: 99:[9, 89] Operation: 53+36=89 Exploring Operation: 36/9=4, Resulting Numbers: [53, 4] Generated Node #0,3,2: 99:[53, 4] Operation: 36/9=4 Exploring Operation: 53-9=44, Resulting Numbers: [36, 44] Generated Node #0,3,3: 99:[36, 44] Operation: 53-9=44 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 99:[9, 17], Operations: ['81/9=9', '53-36=17'] Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,99 unequal: No Solution Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,99 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,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:[9, 89], Operations: ['81/9=9', '53+36=89'] Exploring Operation: 9*89=801, Resulting Numbers: [801] 801,99 unequal: No Solution Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 9+89=98, Resulting Numbers: [98] 98,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 99:[36, 44], Operations: ['81/9=9', '53-9=44'] Exploring Operation: 36*44=1584, Resulting Numbers: [1584] 1584,99 unequal: No Solution Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,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:[53, 4], Operations: ['81/9=9', '36/9=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,99 unequal: No Solution Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,99 unequal: No Solution Exploring Operation: 53*4=212, Resulting Numbers: [212] 212,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[81, 9, 17], Operations: ['53-36=17'] Exploring Operation: 81+17=98, Resulting Numbers: [9, 98] Generated Node #0,0,0: 99:[9, 98] Operation: 81+17=98 Exploring Operation: 17-9=8, Resulting Numbers: [81, 8] Generated Node #0,0,1: 99:[81, 8] Operation: 17-9=8 Exploring Operation: 81/9=9, Resulting Numbers: [17, 9] Generated Node #0,0,2: 99:[17, 9] Operation: 81/9=9 Exploring Operation: 81+9=90, Resulting Numbers: [17, 90] Generated Node #0,0,3: 99:[17, 90] Operation: 81+9=90 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[9, 98], Operations: ['53-36=17', '81+17=98'] Exploring Operation: 9*98=882, Resulting Numbers: [882] 882,99 unequal: No Solution Exploring Operation: 9+98=107, Resulting Numbers: [107] 107,99 unequal: No Solution Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,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,2 Current State: 99:[17, 9], Operations: ['53-36=17', '81/9=9'] Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,99 unequal: No Solution Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,99 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,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:[17, 90], Operations: ['53-36=17', '81+9=90'] Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 17*90=1530, Resulting Numbers: [1530] 1530,99 unequal: No Solution Exploring Operation: 17+90=107, Resulting Numbers: [107] 107,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:[81, 8], Operations: ['53-36=17', '17-9=8'] Exploring Operation: 81+8=89, Resulting Numbers: [89] 89,99 unequal: No Solution Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 81*8=648, Resulting Numbers: [648] 648,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:[81, 9, 89], Operations: ['53+36=89'] Exploring Operation: 89-81=8, Resulting Numbers: [9, 8] Generated Node #0,1,0: 99:[9, 8] Operation: 89-81=8 Exploring Operation: 81/9=9, Resulting Numbers: [89, 9] Generated Node #0,1,1: 99:[89, 9] Operation: 81/9=9 Exploring Operation: 9+89=98, Resulting Numbers: [81, 98] Generated Node #0,1,2: 99:[81, 98] Operation: 9+89=98 Exploring Operation: 81+9=90, Resulting Numbers: [89, 90] Generated Node #0,1,3: 99:[89, 90] Operation: 81+9=90 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[9, 8], Operations: ['53+36=89', '89-81=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,99 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,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,1 Current State: 99:[89, 9], Operations: ['53+36=89', '81/9=9'] Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 89*9=801, Resulting Numbers: [801] 801,99 unequal: No Solution Exploring Operation: 89+9=98, Resulting Numbers: [98] 98,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:[81, 98], Operations: ['53+36=89', '9+89=98'] Exploring Operation: 81+98=179, Resulting Numbers: [179] 179,99 unequal: No Solution Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,99 unequal: No Solution Exploring Operation: 81*98=7938, Resulting Numbers: [7938] 7938,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:[89, 90], Operations: ['53+36=89', '81+9=90'] Exploring Operation: 89*90=8010, Resulting Numbers: [8010] 8010,99 unequal: No Solution Exploring Operation: 89+90=179, Resulting Numbers: [179] 179,99 unequal: No Solution Exploring Operation: 90-89=1, Resulting Numbers: [1] 1,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_4
sum_heuristic
[ 7, 77, 39, 19 ]
50
[ "77-7=70", "39-19=20", "70-20=50" ]
Current State: 50:[7, 77, 39, 19], Operations: [] Exploring Operation: 77-7=70, Resulting Numbers: [39, 19, 70] Generated Node #2: [39, 19, 70] from Operation: 77-7=70 Current State: 50:[39, 19, 70], Operations: ['77-7=70'] Exploring Operation: 39-19=20, Resulting Numbers: [70, 20] Generated Node #3: [70, 20] from Operation: 39-19=20 Current State: 50:[70, 20], Operations: ['77-7=70', '39-19=20'] Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[7, 77, 39, 19], Operations: [] Exploring Operation: 77-39=38, Resulting Numbers: [7, 19, 38] Generated Node #0,0: 50:[7, 19, 38] Operation: 77-39=38 Exploring Operation: 39-19=20, Resulting Numbers: [7, 77, 20] Generated Node #0,1: 50:[7, 77, 20] Operation: 39-19=20 Exploring Operation: 77/7=11, Resulting Numbers: [39, 19, 11] Generated Node #0,2: 50:[39, 19, 11] Operation: 77/7=11 Exploring Operation: 77-19=58, Resulting Numbers: [7, 39, 58] Generated Node #0,3: 50:[7, 39, 58] Operation: 77-19=58 Moving to Node #0,2 Current State: 50:[39, 19, 11], Operations: ['77/7=11'] Exploring Operation: 39-19=20, Resulting Numbers: [11, 20] Generated Node #0,2,0: 50:[11, 20] Operation: 39-19=20 Exploring Operation: 39+11=50, Resulting Numbers: [19, 50] Generated Node #0,2,1: 50:[19, 50] Operation: 39+11=50 Exploring Operation: 39+19=58, Resulting Numbers: [11, 58] Generated Node #0,2,2: 50:[11, 58] Operation: 39+19=58 Exploring Operation: 39-11=28, Resulting Numbers: [19, 28] Generated Node #0,2,3: 50:[19, 28] Operation: 39-11=28 Moving to Node #0,0 Current State: 50:[7, 19, 38], Operations: ['77-39=38'] Exploring Operation: 38/19=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 50:[7, 2] Operation: 38/19=2 Exploring Operation: 19+38=57, Resulting Numbers: [7, 57] Generated Node #0,0,1: 50:[7, 57] Operation: 19+38=57 Exploring Operation: 7+38=45, Resulting Numbers: [19, 45] Generated Node #0,0,2: 50:[19, 45] Operation: 7+38=45 Exploring Operation: 38-19=19, Resulting Numbers: [7, 19] Generated Node #0,0,3: 50:[7, 19] Operation: 38-19=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[7, 2], Operations: ['77-39=38', '38/19=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 50:[7, 19], Operations: ['77-39=38', '38-19=19'] Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,50 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,50 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[7, 57], Operations: ['77-39=38', '19+38=57'] Exploring Operation: 7*57=399, Resulting Numbers: [399] 399,50 unequal: No Solution Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[7, 77, 39, 19], Operations: [] Exploring Operation: 77-39=38, Resulting Numbers: [7, 19, 38] Generated Node #0,0: 50:[7, 19, 38] Operation: 77-39=38 Moving to Node #0,0 Current State: 50:[7, 19, 38], Operations: ['77-39=38'] Exploring Operation: 19+38=57, Resulting Numbers: [7, 57] Generated Node #0,0,1: 50:[7, 57] Operation: 19+38=57 Moving to Node #0,0,1 Current State: 50:[7, 57], Operations: ['77-39=38', '19+38=57'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 88, 58, 8, 42 ]
89
[ "88/8=11", "58+42=100", "100-11=89" ]
Current State: 89:[88, 58, 8, 42], Operations: [] Exploring Operation: 88/8=11, Resulting Numbers: [58, 42, 11] Generated Node #2: [58, 42, 11] from Operation: 88/8=11 Current State: 89:[58, 42, 11], Operations: ['88/8=11'] Exploring Operation: 58+42=100, Resulting Numbers: [11, 100] Generated Node #3: [11, 100] from Operation: 58+42=100 Current State: 89:[11, 100], Operations: ['88/8=11', '58+42=100'] Exploring Operation: 100-11=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[88, 58, 8, 42], Operations: [] Exploring Operation: 58+8=66, Resulting Numbers: [88, 42, 66] Generated Node #0,0: 89:[88, 42, 66] Operation: 58+8=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[88, 42, 66], Operations: ['58+8=66'] Exploring Operation: 42+66=108, Resulting Numbers: [88, 108] Generated Node #0,0,0: 89:[88, 108] Operation: 42+66=108 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[88, 108], Operations: ['58+8=66', '42+66=108'] Exploring Operation: 108-88=20, Resulting Numbers: [20] 20,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 76, 48, 11, 64 ]
15
[ "76-64=12", "48/12=4", "11+4=15" ]
Current State: 15:[76, 48, 11, 64], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [48, 11, 12] Generated Node #2: [48, 11, 12] from Operation: 76-64=12 Current State: 15:[48, 11, 12], Operations: ['76-64=12'] Exploring Operation: 48/12=4, Resulting Numbers: [11, 4] Generated Node #3: [11, 4] from Operation: 48/12=4 Current State: 15:[11, 4], Operations: ['76-64=12', '48/12=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[76, 48, 11, 64], Operations: [] Exploring Operation: 76-48=28, Resulting Numbers: [11, 64, 28] Generated Node #0,0: 15:[11, 64, 28] Operation: 76-48=28 Exploring Operation: 64-48=16, Resulting Numbers: [76, 11, 16] Generated Node #0,1: 15:[76, 11, 16] Operation: 64-48=16 Exploring Operation: 76-64=12, Resulting Numbers: [48, 11, 12] Generated Node #0,2: 15:[48, 11, 12] Operation: 76-64=12 Exploring Operation: 76-11=65, Resulting Numbers: [48, 64, 65] Generated Node #0,3: 15:[48, 64, 65] Operation: 76-11=65 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[48, 11, 12], Operations: ['76-64=12'] Exploring Operation: 48-11=37, Resulting Numbers: [12, 37] Generated Node #0,2,0: 15:[12, 37] Operation: 48-11=37 Exploring Operation: 48-12=36, Resulting Numbers: [11, 36] Generated Node #0,2,1: 15:[11, 36] Operation: 48-12=36 Exploring Operation: 48/12=4, Resulting Numbers: [11, 4] Generated Node #0,2,2: 15:[11, 4] Operation: 48/12=4 Exploring Operation: 12-11=1, Resulting Numbers: [48, 1] Generated Node #0,2,3: 15:[48, 1] Operation: 12-11=1 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[11, 4], Operations: ['76-64=12', '48/12=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[76, 48, 11, 64], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [48, 11, 12] Generated Node #0,2: 15:[48, 11, 12] Operation: 76-64=12 Moving to Node #0,2 Current State: 15:[48, 11, 12], Operations: ['76-64=12'] Exploring Operation: 48/12=4, Resulting Numbers: [11, 4] Generated Node #0,2,2: 15:[11, 4] Operation: 48/12=4 Moving to Node #0,2,2 Current State: 15:[11, 4], Operations: ['76-64=12', '48/12=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 14, 23, 86, 6 ]
68
[ "14*23=322", "86+322=408", "408/6=68" ]
Current State: 68:[14, 23, 86, 6], Operations: [] Exploring Operation: 14*23=322, Resulting Numbers: [86, 6, 322] Generated Node #2: [86, 6, 322] from Operation: 14*23=322 Current State: 68:[86, 6, 322], Operations: ['14*23=322'] Exploring Operation: 86+322=408, Resulting Numbers: [6, 408] Generated Node #3: [6, 408] from Operation: 86+322=408 Current State: 68:[6, 408], Operations: ['14*23=322', '86+322=408'] Exploring Operation: 408/6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[14, 23, 86, 6], Operations: [] Exploring Operation: 86-23=63, Resulting Numbers: [14, 6, 63] Generated Node #0,0: 68:[14, 6, 63] Operation: 86-23=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[14, 6, 63], Operations: ['86-23=63'] Exploring Operation: 6+63=69, Resulting Numbers: [14, 69] Generated Node #0,0,0: 68:[14, 69] Operation: 6+63=69 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[14, 69], Operations: ['86-23=63', '6+63=69'] Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 9, 57, 88, 65 ]
99
[ "9*88=792", "65-57=8", "792/8=99" ]
Current State: 99:[9, 57, 88, 65], Operations: [] Exploring Operation: 9*88=792, Resulting Numbers: [57, 65, 792] Generated Node #2: [57, 65, 792] from Operation: 9*88=792 Current State: 99:[57, 65, 792], Operations: ['9*88=792'] Exploring Operation: 65-57=8, Resulting Numbers: [792, 8] Generated Node #3: [792, 8] from Operation: 65-57=8 Current State: 99:[792, 8], Operations: ['9*88=792', '65-57=8'] Exploring Operation: 792/8=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[9, 57, 88, 65], Operations: [] Exploring Operation: 88-57=31, Resulting Numbers: [9, 65, 31] Generated Node #0,0: 99:[9, 65, 31] Operation: 88-57=31 Exploring Operation: 65-57=8, Resulting Numbers: [9, 88, 8] Generated Node #0,1: 99:[9, 88, 8] Operation: 65-57=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[9, 88, 8], Operations: ['65-57=8'] Exploring Operation: 88/8=11, Resulting Numbers: [9, 11] Generated Node #0,1,0: 99:[9, 11] Operation: 88/8=11 Exploring Operation: 9+88=97, Resulting Numbers: [8, 97] Generated Node #0,1,1: 99:[8, 97] Operation: 9+88=97 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[9, 11], Operations: ['65-57=8', '88/8=11'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[9, 57, 88, 65], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [9, 88, 8] Generated Node #0,1: 99:[9, 88, 8] Operation: 65-57=8 Moving to Node #0,1 Current State: 99:[9, 88, 8], Operations: ['65-57=8'] Exploring Operation: 88/8=11, Resulting Numbers: [9, 11] Generated Node #0,1,0: 99:[9, 11] Operation: 88/8=11 Moving to Node #0,1,0 Current State: 99:[9, 11], Operations: ['65-57=8', '88/8=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 14, 36, 18, 27 ]
81
[ "36+27=63", "18*63=1134", "1134/14=81" ]
Current State: 81:[14, 36, 18, 27], Operations: [] Exploring Operation: 36+27=63, Resulting Numbers: [14, 18, 63] Generated Node #2: [14, 18, 63] from Operation: 36+27=63 Current State: 81:[14, 18, 63], Operations: ['36+27=63'] Exploring Operation: 18*63=1134, Resulting Numbers: [14, 1134] Generated Node #3: [14, 1134] from Operation: 18*63=1134 Current State: 81:[14, 1134], Operations: ['36+27=63', '18*63=1134'] Exploring Operation: 1134/14=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[14, 36, 18, 27], Operations: [] Exploring Operation: 36/18=2, Resulting Numbers: [14, 27, 2] Generated Node #0,0: 81:[14, 27, 2] Operation: 36/18=2 Exploring Operation: 18-14=4, Resulting Numbers: [36, 27, 4] Generated Node #0,1: 81:[36, 27, 4] Operation: 18-14=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[14, 27, 2], Operations: ['36/18=2'] Exploring Operation: 14/2=7, Resulting Numbers: [27, 7] Generated Node #0,0,0: 81:[27, 7] Operation: 14/2=7 Exploring Operation: 14*2=28, Resulting Numbers: [27, 28] Generated Node #0,0,1: 81:[27, 28] Operation: 14*2=28 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[27, 28], Operations: ['36/18=2', '14*2=28'] Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,81 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,81 unequal: No Solution No 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: 81:[27, 7], Operations: ['36/18=2', '14/2=7'] Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,81 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: 81:[36, 27, 4], Operations: ['18-14=4'] Exploring Operation: 36/4=9, Resulting Numbers: [27, 9] Generated Node #0,1,0: 81:[27, 9] Operation: 36/4=9 Exploring Operation: 36-27=9, Resulting Numbers: [4, 9] Generated Node #0,1,1: 81:[4, 9] Operation: 36-27=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 81:[27, 9], Operations: ['18-14=4', '36/4=9'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,81 unequal: No Solution No 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: 81:[4, 9], Operations: ['18-14=4', '36-27=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 48, 89, 12, 95 ]
42
[ "89-48=41", "95-12=83", "83-41=42" ]
Current State: 42:[48, 89, 12, 95], Operations: [] Exploring Operation: 89-48=41, Resulting Numbers: [12, 95, 41] Generated Node #2: [12, 95, 41] from Operation: 89-48=41 Current State: 42:[12, 95, 41], Operations: ['89-48=41'] Exploring Operation: 95-12=83, Resulting Numbers: [41, 83] Generated Node #3: [41, 83] from Operation: 95-12=83 Current State: 42:[41, 83], Operations: ['89-48=41', '95-12=83'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[48, 89, 12, 95], Operations: [] Exploring Operation: 95-89=6, Resulting Numbers: [48, 12, 6] Generated Node #0,0: 42:[48, 12, 6] Operation: 95-89=6 Exploring Operation: 89-48=41, Resulting Numbers: [12, 95, 41] Generated Node #0,1: 42:[12, 95, 41] Operation: 89-48=41 Exploring Operation: 89-12=77, Resulting Numbers: [48, 95, 77] Generated Node #0,2: 42:[48, 95, 77] Operation: 89-12=77 Exploring Operation: 95-48=47, Resulting Numbers: [89, 12, 47] Generated Node #0,3: 42:[89, 12, 47] Operation: 95-48=47 Exploring Operation: 95-12=83, Resulting Numbers: [48, 89, 83] Generated Node #0,4: 42:[48, 89, 83] Operation: 95-12=83 Moving to Node #0,0 Current State: 42:[48, 12, 6], Operations: ['95-89=6'] Exploring Operation: 12-6=6, Resulting Numbers: [48, 6] Generated Node #0,0,0: 42:[48, 6] Operation: 12-6=6 Exploring Operation: 48/12=4, Resulting Numbers: [6, 4] Generated Node #0,0,1: 42:[6, 4] Operation: 48/12=4 Exploring Operation: 48-12=36, Resulting Numbers: [6, 36] Generated Node #0,0,2: 42:[6, 36] Operation: 48-12=36 Exploring Operation: 48-6=42, Resulting Numbers: [12, 42] Generated Node #0,0,3: 42:[12, 42] Operation: 48-6=42 Exploring Operation: 48/6=8, Resulting Numbers: [12, 8] Generated Node #0,0,4: 42:[12, 8] Operation: 48/6=8 Moving to Node #0,3 Current State: 42:[89, 12, 47], Operations: ['95-48=47'] Exploring Operation: 89-47=42, Resulting Numbers: [12, 42] Generated Node #0,3,0: 42:[12, 42] Operation: 89-47=42 Exploring Operation: 47-12=35, Resulting Numbers: [89, 35] Generated Node #0,3,1: 42:[89, 35] Operation: 47-12=35 Exploring Operation: 89-12=77, Resulting Numbers: [47, 77] Generated Node #0,3,2: 42:[47, 77] Operation: 89-12=77 Exploring Operation: 12+47=59, Resulting Numbers: [89, 59] Generated Node #0,3,3: 42:[89, 59] Operation: 12+47=59 Exploring Operation: 89+12=101, Resulting Numbers: [47, 101] Generated Node #0,3,4: 42:[47, 101] Operation: 89+12=101 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 42:[12, 42], Operations: ['95-48=47', '89-47=42'] Exploring Operation: 12*42=504, Resulting Numbers: [504] 504,42 unequal: No Solution Exploring Operation: 12+42=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,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,2 Current State: 42:[47, 77], Operations: ['95-48=47', '89-12=77'] Exploring Operation: 47+77=124, Resulting Numbers: [124] 124,42 unequal: No Solution Exploring Operation: 47*77=3619, Resulting Numbers: [3619] 3619,42 unequal: No Solution Exploring Operation: 77-47=30, Resulting Numbers: [30] 30,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,1 Current State: 42:[89, 35], Operations: ['95-48=47', '47-12=35'] Exploring Operation: 89-35=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 89+35=124, Resulting Numbers: [124] 124,42 unequal: No Solution Exploring Operation: 89*35=3115, Resulting Numbers: [3115] 3115,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,3 Current State: 42:[89, 59], Operations: ['95-48=47', '12+47=59'] Exploring Operation: 89-59=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 89+59=148, Resulting Numbers: [148] 148,42 unequal: No Solution Exploring Operation: 89*59=5251, Resulting Numbers: [5251] 5251,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,4 Current State: 42:[47, 101], Operations: ['95-48=47', '89+12=101'] Exploring Operation: 101-47=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 47*101=4747, Resulting Numbers: [4747] 4747,42 unequal: No Solution Exploring Operation: 47+101=148, Resulting Numbers: [148] 148,42 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: 42:[12, 95, 41], Operations: ['89-48=41'] Exploring Operation: 12+41=53, Resulting Numbers: [95, 53] Generated Node #0,1,0: 42:[95, 53] Operation: 12+41=53 Exploring Operation: 95-41=54, Resulting Numbers: [12, 54] Generated Node #0,1,1: 42:[12, 54] Operation: 95-41=54 Exploring Operation: 41-12=29, Resulting Numbers: [95, 29] Generated Node #0,1,2: 42:[95, 29] Operation: 41-12=29 Exploring Operation: 95-12=83, Resulting Numbers: [41, 83] Generated Node #0,1,3: 42:[41, 83] Operation: 95-12=83 Exploring Operation: 12+95=107, Resulting Numbers: [41, 107] Generated Node #0,1,4: 42:[41, 107] Operation: 12+95=107 Moving to Node #0,2 Current State: 42:[48, 95, 77], Operations: ['89-12=77'] Exploring Operation: 95-77=18, Resulting Numbers: [48, 18] Generated Node #0,2,0: 42:[48, 18] Operation: 95-77=18 Exploring Operation: 95-48=47, Resulting Numbers: [77, 47] Generated Node #0,2,1: 42:[77, 47] Operation: 95-48=47 Exploring Operation: 48+77=125, Resulting Numbers: [95, 125] Generated Node #0,2,2: 42:[95, 125] Operation: 48+77=125 Exploring Operation: 77-48=29, Resulting Numbers: [95, 29] Generated Node #0,2,3: 42:[95, 29] Operation: 77-48=29 Exploring Operation: 48+95=143, Resulting Numbers: [77, 143] Generated Node #0,2,4: 42:[77, 143] Operation: 48+95=143 Moving to Node #0,4 Current State: 42:[48, 89, 83], Operations: ['95-12=83'] Exploring Operation: 89-48=41, Resulting Numbers: [83, 41] Generated Node #0,4,0: 42:[83, 41] Operation: 89-48=41 Exploring Operation: 89-83=6, Resulting Numbers: [48, 6] Generated Node #0,4,1: 42:[48, 6] Operation: 89-83=6 Exploring Operation: 48+83=131, Resulting Numbers: [89, 131] Generated Node #0,4,2: 42:[89, 131] Operation: 48+83=131 Exploring Operation: 83-48=35, Resulting Numbers: [89, 35] Generated Node #0,4,3: 42:[89, 35] Operation: 83-48=35 Exploring Operation: 48+89=137, Resulting Numbers: [83, 137] Generated Node #0,4,4: 42:[83, 137] Operation: 48+89=137 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 42:[48, 6], Operations: ['95-12=83', '89-83=6'] Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,42 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[48, 89, 12, 95], Operations: [] Exploring Operation: 95-12=83, Resulting Numbers: [48, 89, 83] Generated Node #0,4: 42:[48, 89, 83] Operation: 95-12=83 Moving to Node #0,4 Current State: 42:[48, 89, 83], Operations: ['95-12=83'] Exploring Operation: 89-83=6, Resulting Numbers: [48, 6] Generated Node #0,4,1: 42:[48, 6] Operation: 89-83=6 Moving to Node #0,4,1 Current State: 42:[48, 6], Operations: ['95-12=83', '89-83=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.953993
hs_5
sum_heuristic
[ 33, 79, 24, 5 ]
83
[ "33+79=112", "24+5=29", "112-29=83" ]
Current State: 83:[33, 79, 24, 5], Operations: [] Exploring Operation: 33+79=112, Resulting Numbers: [24, 5, 112] Generated Node #2: [24, 5, 112] from Operation: 33+79=112 Current State: 83:[24, 5, 112], Operations: ['33+79=112'] Exploring Operation: 24+5=29, Resulting Numbers: [112, 29] Generated Node #3: [112, 29] from Operation: 24+5=29 Current State: 83:[112, 29], Operations: ['33+79=112', '24+5=29'] Exploring Operation: 112-29=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[33, 79, 24, 5], Operations: [] Exploring Operation: 33+24=57, Resulting Numbers: [79, 5, 57] Generated Node #0,0: 83:[79, 5, 57] Operation: 33+24=57 Exploring Operation: 24*5=120, Resulting Numbers: [33, 79, 120] Generated Node #0,1: 83:[33, 79, 120] Operation: 24*5=120 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[33, 79, 120], Operations: ['24*5=120'] Exploring Operation: 120-33=87, Resulting Numbers: [79, 87] Generated Node #0,1,0: 83:[79, 87] Operation: 120-33=87 Exploring Operation: 33+79=112, Resulting Numbers: [120, 112] Generated Node #0,1,1: 83:[120, 112] Operation: 33+79=112 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[79, 87], Operations: ['24*5=120', '120-33=87'] Exploring Operation: 79+87=166, Resulting Numbers: [166] 166,83 unequal: No Solution Exploring Operation: 87-79=8, Resulting Numbers: [8] 8,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[120, 112], Operations: ['24*5=120', '33+79=112'] Exploring Operation: 120-112=8, Resulting Numbers: [8] 8,83 unequal: No Solution Exploring Operation: 120+112=232, Resulting Numbers: [232] 232,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[79, 5, 57], Operations: ['33+24=57'] Exploring Operation: 5+57=62, Resulting Numbers: [79, 62] Generated Node #0,0,0: 83:[79, 62] Operation: 5+57=62 Exploring Operation: 79+5=84, Resulting Numbers: [57, 84] Generated Node #0,0,1: 83:[57, 84] Operation: 79+5=84 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[79, 62], Operations: ['33+24=57', '5+57=62'] Exploring Operation: 79+62=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 79-62=17, Resulting Numbers: [17] 17,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[57, 84], Operations: ['33+24=57', '79+5=84'] Exploring Operation: 57+84=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 84-57=27, Resulting Numbers: [27] 27,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 50, 80, 31, 45 ]
41
[ "80*45=3600", "3600/50=72", "72-31=41" ]
Current State: 41:[50, 80, 31, 45], Operations: [] Exploring Operation: 80*45=3600, Resulting Numbers: [50, 31, 3600] Generated Node #2: [50, 31, 3600] from Operation: 80*45=3600 Current State: 41:[50, 31, 3600], Operations: ['80*45=3600'] Exploring Operation: 3600/50=72, Resulting Numbers: [31, 72] Generated Node #3: [31, 72] from Operation: 3600/50=72 Current State: 41:[31, 72], Operations: ['80*45=3600', '3600/50=72'] Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[50, 80, 31, 45], Operations: [] Exploring Operation: 80-31=49, Resulting Numbers: [50, 45, 49] Generated Node #0,0: 41:[50, 45, 49] Operation: 80-31=49 Moving to Node #0,0 Current State: 41:[50, 45, 49], Operations: ['80-31=49'] Exploring Operation: 50-45=5, Resulting Numbers: [49, 5] Generated Node #0,0,0: 41:[49, 5] Operation: 50-45=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[49, 5], Operations: ['80-31=49', '50-45=5'] Exploring Operation: 49-5=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_1
sum_heuristic
[ 50, 97, 47, 76 ]
76
[ "97-50=47", "47+76=123", "123-47=76" ]
Current State: 76:[50, 97, 47, 76], Operations: [] Exploring Operation: 97-50=47, Resulting Numbers: [47, 76, 47] Generated Node #2: [47, 76, 47] from Operation: 97-50=47 Current State: 76:[47, 76, 47], Operations: ['97-50=47'] Exploring Operation: 47+76=123, Resulting Numbers: [123] 123,76 equal: Goal Reached Exploring Operation: 123-47=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[50, 97, 47, 76], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [50, 47, 21] Generated Node #0,0: 76:[50, 47, 21] Operation: 97-76=21 Exploring Operation: 97-50=47, Resulting Numbers: [47, 76, 47] Generated Node #0,1: 76:[47, 76, 47] Operation: 97-50=47 Exploring Operation: 50-47=3, Resulting Numbers: [97, 76, 3] Generated Node #0,2: 76:[97, 76, 3] Operation: 50-47=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[47, 76, 47], Operations: ['97-50=47'] Exploring Operation: 47-47=0, Resulting Numbers: [76, 0] Generated Node #0,1,0: 76:[76, 0] Operation: 47-47=0 Exploring Operation: 47/47=1, Resulting Numbers: [76, 1] Generated Node #0,1,1: 76:[76, 1] Operation: 47/47=1 Exploring Operation: 76-47=29, Resulting Numbers: [47, 29] Generated Node #0,1,2: 76:[47, 29] Operation: 76-47=29 Moving to Node #0,1,1 Current State: 76:[76, 1], Operations: ['97-50=47', '47/47=1'] Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[50, 97, 47, 76], Operations: [] Exploring Operation: 97-50=47, Resulting Numbers: [47, 76, 47] Generated Node #0,1: 76:[47, 76, 47] Operation: 97-50=47 Moving to Node #0,1 Current State: 76:[47, 76, 47], Operations: ['97-50=47'] Exploring Operation: 47/47=1, Resulting Numbers: [76, 1] Generated Node #0,1,1: 76:[76, 1] Operation: 47/47=1 Moving to Node #0,1,1 Current State: 76:[76, 1], Operations: ['97-50=47', '47/47=1'] Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 7, 19, 5, 11 ]
49
[ "19-7=12", "5*12=60", "60-11=49" ]
Current State: 49:[7, 19, 5, 11], Operations: [] Exploring Operation: 19-7=12, Resulting Numbers: [5, 11, 12] Generated Node #2: [5, 11, 12] from Operation: 19-7=12 Current State: 49:[5, 11, 12], Operations: ['19-7=12'] Exploring Operation: 5*12=60, Resulting Numbers: [11, 60] Generated Node #3: [11, 60] from Operation: 5*12=60 Current State: 49:[11, 60], Operations: ['19-7=12', '5*12=60'] Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[7, 19, 5, 11], Operations: [] Exploring Operation: 11-5=6, Resulting Numbers: [7, 19, 6] Generated Node #0,0: 49:[7, 19, 6] Operation: 11-5=6 Exploring Operation: 19-7=12, Resulting Numbers: [5, 11, 12] Generated Node #0,1: 49:[5, 11, 12] Operation: 19-7=12 Exploring Operation: 19-11=8, Resulting Numbers: [7, 5, 8] Generated Node #0,2: 49:[7, 5, 8] Operation: 19-11=8 Exploring Operation: 19-5=14, Resulting Numbers: [7, 11, 14] Generated Node #0,3: 49:[7, 11, 14] Operation: 19-5=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[7, 5, 8], Operations: ['19-11=8'] Exploring Operation: 7+5=12, Resulting Numbers: [8, 12] Generated Node #0,2,0: 49:[8, 12] Operation: 7+5=12 Exploring Operation: 7-5=2, Resulting Numbers: [8, 2] Generated Node #0,2,1: 49:[8, 2] Operation: 7-5=2 Exploring Operation: 5+8=13, Resulting Numbers: [7, 13] Generated Node #0,2,2: 49:[7, 13] Operation: 5+8=13 Exploring Operation: 8-5=3, Resulting Numbers: [7, 3] Generated Node #0,2,3: 49:[7, 3] Operation: 8-5=3 Moving to Node #0,2,3 Current State: 49:[7, 3], Operations: ['19-11=8', '8-5=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[8, 2], Operations: ['19-11=8', '7-5=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[8, 12], Operations: ['19-11=8', '7+5=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[7, 13], Operations: ['19-11=8', '5+8=13'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[5, 11, 12], Operations: ['19-7=12'] Exploring Operation: 12-11=1, Resulting Numbers: [5, 1] Generated Node #0,1,0: 49:[5, 1] Operation: 12-11=1 Exploring Operation: 11-5=6, Resulting Numbers: [12, 6] Generated Node #0,1,1: 49:[12, 6] Operation: 11-5=6 Exploring Operation: 5*11=55, Resulting Numbers: [12, 55] Generated Node #0,1,2: 49:[12, 55] Operation: 5*11=55 Exploring Operation: 12-5=7, Resulting Numbers: [11, 7] Generated Node #0,1,3: 49:[11, 7] Operation: 12-5=7 Moving to Node #0,1,3 Current State: 49:[11, 7], Operations: ['19-7=12', '12-5=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[12, 6], Operations: ['19-7=12', '11-5=6'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[5, 1], Operations: ['19-7=12', '12-11=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[12, 55], Operations: ['19-7=12', '5*11=55'] Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 12+55=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 12*55=660, Resulting Numbers: [660] 660,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[7, 11, 14], Operations: ['19-5=14'] Exploring Operation: 14-7=7, Resulting Numbers: [11, 7] Generated Node #0,3,0: 49:[11, 7] Operation: 14-7=7 Exploring Operation: 14-11=3, Resulting Numbers: [7, 3] Generated Node #0,3,1: 49:[7, 3] Operation: 14-11=3 Exploring Operation: 11-7=4, Resulting Numbers: [14, 4] Generated Node #0,3,2: 49:[14, 4] Operation: 11-7=4 Exploring Operation: 14/7=2, Resulting Numbers: [11, 2] Generated Node #0,3,3: 49:[11, 2] Operation: 14/7=2 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 49:[11, 7], Operations: ['19-5=14', '14-7=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 49:[7, 3], Operations: ['19-5=14', '14-11=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 49:[11, 2], Operations: ['19-5=14', '14/7=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 49:[14, 4], Operations: ['19-5=14', '11-7=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,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:[7, 19, 6], Operations: ['11-5=6'] Exploring Operation: 7-6=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 49:[19, 1] Operation: 7-6=1 Exploring Operation: 19-6=13, Resulting Numbers: [7, 13] Generated Node #0,0,1: 49:[7, 13] Operation: 19-6=13 Exploring Operation: 19-7=12, Resulting Numbers: [6, 12] Generated Node #0,0,2: 49:[6, 12] Operation: 19-7=12 Exploring Operation: 7+6=13, Resulting Numbers: [19, 13] Generated Node #0,0,3: 49:[19, 13] Operation: 7+6=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[7, 13], Operations: ['11-5=6', '19-6=13'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,49 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,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:[6, 12], Operations: ['11-5=6', '19-7=12'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,49 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[19, 1], Operations: ['11-5=6', '7-6=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,49 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,49 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 49:[19, 13], Operations: ['11-5=6', '7+6=13'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,49 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,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_4
mult_heuristic
[ 93, 75, 4, 15 ]
48
[ "93+15=108", "108/4=27", "75-27=48" ]
Current State: 48:[93, 75, 4, 15], Operations: [] Exploring Operation: 93+15=108, Resulting Numbers: [75, 4, 108] Generated Node #2: [75, 4, 108] from Operation: 93+15=108 Current State: 48:[75, 4, 108], Operations: ['93+15=108'] Exploring Operation: 108/4=27, Resulting Numbers: [75, 27] Generated Node #3: [75, 27] from Operation: 108/4=27 Current State: 48:[75, 27], Operations: ['93+15=108', '108/4=27'] Exploring Operation: 75-27=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[93, 75, 4, 15], Operations: [] Exploring Operation: 93-75=18, Resulting Numbers: [4, 15, 18] Generated Node #0,0: 48:[4, 15, 18] Operation: 93-75=18 Exploring Operation: 93-15=78, Resulting Numbers: [75, 4, 78] Generated Node #0,1: 48:[75, 4, 78] Operation: 93-15=78 Exploring Operation: 75/15=5, Resulting Numbers: [93, 4, 5] Generated Node #0,2: 48:[93, 4, 5] Operation: 75/15=5 Moving to Node #0,0 Current State: 48:[4, 15, 18], Operations: ['93-75=18'] Exploring Operation: 15-4=11, Resulting Numbers: [18, 11] Generated Node #0,0,0: 48:[18, 11] Operation: 15-4=11 Exploring Operation: 4+18=22, Resulting Numbers: [15, 22] Generated Node #0,0,1: 48:[15, 22] Operation: 4+18=22 Exploring Operation: 18-15=3, Resulting Numbers: [4, 3] Generated Node #0,0,2: 48:[4, 3] Operation: 18-15=3 Moving to Node #0,2 Current State: 48:[93, 4, 5], Operations: ['75/15=5'] Exploring Operation: 93-4=89, Resulting Numbers: [5, 89] Generated Node #0,2,0: 48:[5, 89] Operation: 93-4=89 Exploring Operation: 93-5=88, Resulting Numbers: [4, 88] Generated Node #0,2,1: 48:[4, 88] Operation: 93-5=88 Exploring Operation: 4+5=9, Resulting Numbers: [93, 9] Generated Node #0,2,2: 48:[93, 9] Operation: 4+5=9 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[4, 88], Operations: ['75/15=5', '93-5=88'] Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,48 unequal: No Solution Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 4+88=92, Resulting Numbers: [92] 92,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[5, 89], Operations: ['75/15=5', '93-4=89'] Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,48 unequal: No Solution Exploring Operation: 5+89=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 5*89=445, Resulting Numbers: [445] 445,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[93, 9], Operations: ['75/15=5', '4+5=9'] Exploring Operation: 93*9=837, Resulting Numbers: [837] 837,48 unequal: No Solution Exploring Operation: 93+9=102, Resulting Numbers: [102] 102,48 unequal: No Solution Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 48:[75, 4, 78], Operations: ['93-15=78'] Exploring Operation: 78-75=3, Resulting Numbers: [4, 3] Generated Node #0,1,0: 48:[4, 3] Operation: 78-75=3 Exploring Operation: 78-4=74, Resulting Numbers: [75, 74] Generated Node #0,1,1: 48:[75, 74] Operation: 78-4=74 Exploring Operation: 75-4=71, Resulting Numbers: [78, 71] Generated Node #0,1,2: 48:[78, 71] Operation: 75-4=71 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[4, 3], Operations: ['93-15=78', '78-75=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[75, 74], Operations: ['93-15=78', '78-4=74'] Exploring Operation: 75-74=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 75+74=149, Resulting Numbers: [149] 149,48 unequal: No Solution Exploring Operation: 75*74=5550, Resulting Numbers: [5550] 5550,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[78, 71], Operations: ['93-15=78', '75-4=71'] Exploring Operation: 78*71=5538, Resulting Numbers: [5538] 5538,48 unequal: No Solution Exploring Operation: 78+71=149, Resulting Numbers: [149] 149,48 unequal: No Solution Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,48 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: 48:[4, 3], Operations: ['93-75=18', '18-15=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[18, 11], Operations: ['93-75=18', '15-4=11'] Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,48 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[15, 22], Operations: ['93-75=18', '4+18=22'] Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,48 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 83, 88, 90, 21 ]
74
[ "88-83=5", "90-21=69", "5+69=74" ]
Current State: 74:[83, 88, 90, 21], Operations: [] Exploring Operation: 88-83=5, Resulting Numbers: [90, 21, 5] Generated Node #2: [90, 21, 5] from Operation: 88-83=5 Current State: 74:[90, 21, 5], Operations: ['88-83=5'] Exploring Operation: 90-21=69, Resulting Numbers: [5, 69] Generated Node #3: [5, 69] from Operation: 90-21=69 Current State: 74:[5, 69], Operations: ['88-83=5', '90-21=69'] Exploring Operation: 5+69=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[83, 88, 90, 21], Operations: [] Exploring Operation: 90-21=69, Resulting Numbers: [83, 88, 69] Generated Node #0,0: 74:[83, 88, 69] Operation: 90-21=69 Exploring Operation: 90-88=2, Resulting Numbers: [83, 21, 2] Generated Node #0,1: 74:[83, 21, 2] Operation: 90-88=2 Exploring Operation: 88-21=67, Resulting Numbers: [83, 90, 67] Generated Node #0,2: 74:[83, 90, 67] Operation: 88-21=67 Exploring Operation: 88-83=5, Resulting Numbers: [90, 21, 5] Generated Node #0,3: 74:[90, 21, 5] Operation: 88-83=5 Exploring Operation: 90-83=7, Resulting Numbers: [88, 21, 7] Generated Node #0,4: 74:[88, 21, 7] Operation: 90-83=7 Moving to Node #0,1 Current State: 74:[83, 21, 2], Operations: ['90-88=2'] Exploring Operation: 83-21=62, Resulting Numbers: [2, 62] Generated Node #0,1,0: 74:[2, 62] Operation: 83-21=62 Exploring Operation: 21*2=42, Resulting Numbers: [83, 42] Generated Node #0,1,1: 74:[83, 42] Operation: 21*2=42 Exploring Operation: 21+2=23, Resulting Numbers: [83, 23] Generated Node #0,1,2: 74:[83, 23] Operation: 21+2=23 Exploring Operation: 21-2=19, Resulting Numbers: [83, 19] Generated Node #0,1,3: 74:[83, 19] Operation: 21-2=19 Exploring Operation: 83-2=81, Resulting Numbers: [21, 81] Generated Node #0,1,4: 74:[21, 81] Operation: 83-2=81 Moving to Node #0,0 Current State: 74:[83, 88, 69], Operations: ['90-21=69'] Exploring Operation: 88-83=5, Resulting Numbers: [69, 5] Generated Node #0,0,0: 74:[69, 5] Operation: 88-83=5 Exploring Operation: 88-69=19, Resulting Numbers: [83, 19] Generated Node #0,0,1: 74:[83, 19] Operation: 88-69=19 Exploring Operation: 88+69=157, Resulting Numbers: [83, 157] Generated Node #0,0,2: 74:[83, 157] Operation: 88+69=157 Exploring Operation: 83-69=14, Resulting Numbers: [88, 14] Generated Node #0,0,3: 74:[88, 14] Operation: 83-69=14 Exploring Operation: 83+69=152, Resulting Numbers: [88, 152] Generated Node #0,0,4: 74:[88, 152] Operation: 83+69=152 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[69, 5], Operations: ['90-21=69', '88-83=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,74 unequal: No Solution Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,74 unequal: No Solution Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[83, 88, 90, 21], Operations: [] Exploring Operation: 90-21=69, Resulting Numbers: [83, 88, 69] Generated Node #0,0: 74:[83, 88, 69] Operation: 90-21=69 Moving to Node #0,0 Current State: 74:[83, 88, 69], Operations: ['90-21=69'] Exploring Operation: 88-83=5, Resulting Numbers: [69, 5] Generated Node #0,0,0: 74:[69, 5] Operation: 88-83=5 Moving to Node #0,0,0 Current State: 74:[69, 5], Operations: ['90-21=69', '88-83=5'] Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 10, 79, 4, 43 ]
30
[ "79-10=69", "43-4=39", "69-39=30" ]
Current State: 30:[10, 79, 4, 43], Operations: [] Exploring Operation: 79-10=69, Resulting Numbers: [4, 43, 69] Generated Node #2: [4, 43, 69] from Operation: 79-10=69 Current State: 30:[4, 43, 69], Operations: ['79-10=69'] Exploring Operation: 43-4=39, Resulting Numbers: [69, 39] Generated Node #3: [69, 39] from Operation: 43-4=39 Current State: 30:[69, 39], Operations: ['79-10=69', '43-4=39'] Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[10, 79, 4, 43], Operations: [] Exploring Operation: 79-10=69, Resulting Numbers: [4, 43, 69] Generated Node #0,0: 30:[4, 43, 69] Operation: 79-10=69 Exploring Operation: 79-43=36, Resulting Numbers: [10, 4, 36] Generated Node #0,1: 30:[10, 4, 36] Operation: 79-43=36 Moving to Node #0,1 Current State: 30:[10, 4, 36], Operations: ['79-43=36'] Exploring Operation: 36/4=9, Resulting Numbers: [10, 9] Generated Node #0,1,0: 30:[10, 9] Operation: 36/4=9 Exploring Operation: 36-4=32, Resulting Numbers: [10, 32] Generated Node #0,1,1: 30:[10, 32] Operation: 36-4=32 Moving to Node #0,0 Current State: 30:[4, 43, 69], Operations: ['79-10=69'] Exploring Operation: 69-43=26, Resulting Numbers: [4, 26] Generated Node #0,0,0: 30:[4, 26] Operation: 69-43=26 Exploring Operation: 43-4=39, Resulting Numbers: [69, 39] Generated Node #0,0,1: 30:[69, 39] Operation: 43-4=39 Moving to Node #0,1,0 Current State: 30:[10, 9], Operations: ['79-43=36', '36/4=9'] Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[10, 32], Operations: ['79-43=36', '36-4=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[4, 26], Operations: ['79-10=69', '69-43=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[10, 79, 4, 43], Operations: [] Exploring Operation: 79-10=69, Resulting Numbers: [4, 43, 69] Generated Node #0,0: 30:[4, 43, 69] Operation: 79-10=69 Moving to Node #0,0 Current State: 30:[4, 43, 69], Operations: ['79-10=69'] Exploring Operation: 69-43=26, Resulting Numbers: [4, 26] Generated Node #0,0,0: 30:[4, 26] Operation: 69-43=26 Moving to Node #0,0,0 Current State: 30:[4, 26], Operations: ['79-10=69', '69-43=26'] Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 94, 18, 9, 11 ]
36
[ "94*9=846", "846/18=47", "47-11=36" ]
Current State: 36:[94, 18, 9, 11], Operations: [] Exploring Operation: 94*9=846, Resulting Numbers: [18, 11, 846] Generated Node #2: [18, 11, 846] from Operation: 94*9=846 Current State: 36:[18, 11, 846], Operations: ['94*9=846'] Exploring Operation: 846/18=47, Resulting Numbers: [11, 47] Generated Node #3: [11, 47] from Operation: 846/18=47 Current State: 36:[11, 47], Operations: ['94*9=846', '846/18=47'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[94, 18, 9, 11], Operations: [] Exploring Operation: 11-9=2, Resulting Numbers: [94, 18, 2] Generated Node #0,0: 36:[94, 18, 2] Operation: 11-9=2 Exploring Operation: 18-9=9, Resulting Numbers: [94, 11, 9] Generated Node #0,1: 36:[94, 11, 9] Operation: 18-9=9 Exploring Operation: 94-18=76, Resulting Numbers: [9, 11, 76] Generated Node #0,2: 36:[9, 11, 76] Operation: 94-18=76 Exploring Operation: 94-9=85, Resulting Numbers: [18, 11, 85] Generated Node #0,3: 36:[18, 11, 85] Operation: 94-9=85 Exploring Operation: 94-11=83, Resulting Numbers: [18, 9, 83] Generated Node #0,4: 36:[18, 9, 83] Operation: 94-11=83 Moving to Node #0,2 Current State: 36:[9, 11, 76], Operations: ['94-18=76'] Exploring Operation: 76-11=65, Resulting Numbers: [9, 65] Generated Node #0,2,0: 36:[9, 65] Operation: 76-11=65 Exploring Operation: 11-9=2, Resulting Numbers: [76, 2] Generated Node #0,2,1: 36:[76, 2] Operation: 11-9=2 Exploring Operation: 9+11=20, Resulting Numbers: [76, 20] Generated Node #0,2,2: 36:[76, 20] Operation: 9+11=20 Exploring Operation: 9+76=85, Resulting Numbers: [11, 85] Generated Node #0,2,3: 36:[11, 85] Operation: 9+76=85 Exploring Operation: 76-9=67, Resulting Numbers: [11, 67] Generated Node #0,2,4: 36:[11, 67] Operation: 76-9=67 Moving to Node #0,4 Current State: 36:[18, 9, 83], Operations: ['94-11=83'] Exploring Operation: 18+9=27, Resulting Numbers: [83, 27] Generated Node #0,4,0: 36:[83, 27] Operation: 18+9=27 Exploring Operation: 83-18=65, Resulting Numbers: [9, 65] Generated Node #0,4,1: 36:[9, 65] Operation: 83-18=65 Exploring Operation: 18/9=2, Resulting Numbers: [83, 2] Generated Node #0,4,2: 36:[83, 2] Operation: 18/9=2 Exploring Operation: 83-9=74, Resulting Numbers: [18, 74] Generated Node #0,4,3: 36:[18, 74] Operation: 83-9=74 Exploring Operation: 18-9=9, Resulting Numbers: [83, 9] Generated Node #0,4,4: 36:[83, 9] Operation: 18-9=9 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 36:[9, 65], Operations: ['94-11=83', '83-18=65'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 9+65=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 9*65=585, Resulting Numbers: [585] 585,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,4,3 Current State: 36:[18, 74], Operations: ['94-11=83', '83-9=74'] Exploring Operation: 18+74=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 18*74=1332, Resulting Numbers: [1332] 1332,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,4,2 Current State: 36:[83, 2], Operations: ['94-11=83', '18/9=2'] Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,36 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,36 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,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,4,4 Current State: 36:[83, 9], Operations: ['94-11=83', '18-9=9'] Exploring Operation: 83*9=747, Resulting Numbers: [747] 747,36 unequal: No Solution Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 83+9=92, Resulting Numbers: [92] 92,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,4,0 Current State: 36:[83, 27], Operations: ['94-11=83', '18+9=27'] Exploring Operation: 83*27=2241, Resulting Numbers: [2241] 2241,36 unequal: No Solution Exploring Operation: 83+27=110, Resulting Numbers: [110] 110,36 unequal: No Solution Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,36 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: 36:[18, 11, 85], Operations: ['94-9=85'] Exploring Operation: 11+85=96, Resulting Numbers: [18, 96] Generated Node #0,3,0: 36:[18, 96] Operation: 11+85=96 Exploring Operation: 18+11=29, Resulting Numbers: [85, 29] Generated Node #0,3,1: 36:[85, 29] Operation: 18+11=29 Exploring Operation: 18-11=7, Resulting Numbers: [85, 7] Generated Node #0,3,2: 36:[85, 7] Operation: 18-11=7 Exploring Operation: 85-18=67, Resulting Numbers: [11, 67] Generated Node #0,3,3: 36:[11, 67] Operation: 85-18=67 Exploring Operation: 85-11=74, Resulting Numbers: [18, 74] Generated Node #0,3,4: 36:[18, 74] Operation: 85-11=74 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 36:[11, 67], Operations: ['94-9=85', '85-18=67'] Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 11*67=737, Resulting Numbers: [737] 737,36 unequal: No Solution Exploring Operation: 11+67=78, Resulting Numbers: [78] 78,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,3,4 Current State: 36:[18, 74], Operations: ['94-9=85', '85-11=74'] Exploring Operation: 18*74=1332, Resulting Numbers: [1332] 1332,36 unequal: No Solution Exploring Operation: 18+74=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,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,3,2 Current State: 36:[85, 7], Operations: ['94-9=85', '18-11=7'] Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,36 unequal: No Solution Exploring Operation: 85+7=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 85*7=595, Resulting Numbers: [595] 595,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,3,1 Current State: 36:[85, 29], Operations: ['94-9=85', '18+11=29'] Exploring Operation: 85*29=2465, Resulting Numbers: [2465] 2465,36 unequal: No Solution Exploring Operation: 85-29=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 85+29=114, Resulting Numbers: [114] 114,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,3,0 Current State: 36:[18, 96], Operations: ['94-9=85', '11+85=96'] Exploring Operation: 18*96=1728, Resulting Numbers: [1728] 1728,36 unequal: No Solution Exploring Operation: 18+96=114, Resulting Numbers: [114] 114,36 unequal: No Solution Exploring Operation: 96-18=78, Resulting Numbers: [78] 78,36 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: 36:[94, 18, 2], Operations: ['11-9=2'] Exploring Operation: 94-18=76, Resulting Numbers: [2, 76] Generated Node #0,0,0: 36:[2, 76] Operation: 94-18=76 Exploring Operation: 18*2=36, Resulting Numbers: [94, 36] Generated Node #0,0,1: 36:[94, 36] Operation: 18*2=36 Exploring Operation: 94-2=92, Resulting Numbers: [18, 92] Generated Node #0,0,2: 36:[18, 92] Operation: 94-2=92 Exploring Operation: 18/2=9, Resulting Numbers: [94, 9] Generated Node #0,0,3: 36:[94, 9] Operation: 18/2=9 Exploring Operation: 94/2=47, Resulting Numbers: [18, 47] Generated Node #0,0,4: 36:[18, 47] Operation: 94/2=47 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 36:[18, 47], Operations: ['11-9=2', '94/2=47'] Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,36 unequal: No Solution Exploring Operation: 18*47=846, Resulting Numbers: [846] 846,36 unequal: No Solution Exploring Operation: 18+47=65, Resulting Numbers: [65] 65,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,0 Current State: 36:[2, 76], Operations: ['11-9=2', '94-18=76'] Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,36 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,36 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,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,2 Current State: 36:[18, 92], Operations: ['11-9=2', '94-2=92'] Exploring Operation: 92-18=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 18+92=110, Resulting Numbers: [110] 110,36 unequal: No Solution Exploring Operation: 18*92=1656, Resulting Numbers: [1656] 1656,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,1 Current State: 36:[94, 36], Operations: ['11-9=2', '18*2=36'] Exploring Operation: 94*36=3384, Resulting Numbers: [3384] 3384,36 unequal: No Solution Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,36 unequal: No Solution Exploring Operation: 94+36=130, Resulting Numbers: [130] 130,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,3 Current State: 36:[94, 9], Operations: ['11-9=2', '18/2=9'] Exploring Operation: 94+9=103, Resulting Numbers: [103] 103,36 unequal: No Solution Exploring Operation: 94*9=846, Resulting Numbers: [846] 846,36 unequal: No Solution Exploring Operation: 94-9=85, Resulting Numbers: [85] 85,36 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: 36:[94, 11, 9], Operations: ['18-9=9'] Exploring Operation: 94-11=83, Resulting Numbers: [9, 83] Generated Node #0,1,0: 36:[9, 83] Operation: 94-11=83 Exploring Operation: 94+9=103, Resulting Numbers: [11, 103] Generated Node #0,1,1: 36:[11, 103] Operation: 94+9=103 Exploring Operation: 11-9=2, Resulting Numbers: [94, 2] Generated Node #0,1,2: 36:[94, 2] Operation: 11-9=2 Exploring Operation: 94-9=85, Resulting Numbers: [11, 85] Generated Node #0,1,3: 36:[11, 85] Operation: 94-9=85 Exploring Operation: 11+9=20, Resulting Numbers: [94, 20] Generated Node #0,1,4: 36:[94, 20] Operation: 11+9=20 Moving to Node #0,2,0 Current State: 36:[9, 65], Operations: ['94-18=76', '76-11=65'] Exploring Operation: 9+65=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 9*65=585, Resulting Numbers: [585] 585,36 unequal: No Solution Moving to Node #0,2,4 Current State: 36:[11, 67], Operations: ['94-18=76', '76-9=67'] Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 11+67=78, Resulting Numbers: [78] 78,36 unequal: No Solution Exploring Operation: 11*67=737, Resulting Numbers: [737] 737,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[76, 2], Operations: ['94-18=76', '11-9=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,36 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,36 unequal: No Solution Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[76, 20], Operations: ['94-18=76', '9+11=20'] Exploring Operation: 76+20=96, Resulting Numbers: [96] 96,36 unequal: No Solution Exploring Operation: 76*20=1520, Resulting Numbers: [1520] 1520,36 unequal: No Solution Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[9, 83], Operations: ['18-9=9', '94-11=83'] Exploring Operation: 9+83=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 9*83=747, Resulting Numbers: [747] 747,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[11, 85], Operations: ['18-9=9', '94-9=85'] Exploring Operation: 11+85=96, Resulting Numbers: [96] 96,36 unequal: No Solution Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 11*85=935, Resulting Numbers: [935] 935,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[11, 85], Operations: ['94-18=76', '9+76=85'] Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 11*85=935, Resulting Numbers: [935] 935,36 unequal: No Solution Exploring Operation: 11+85=96, Resulting Numbers: [96] 96,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[94, 2], Operations: ['18-9=9', '11-9=2'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,36 unequal: No Solution Exploring Operation: 94*2=188, Resulting Numbers: [188] 188,36 unequal: No Solution Moving to Node #0,1,4 Current State: 36:[94, 20], Operations: ['18-9=9', '11+9=20'] Exploring Operation: 94+20=114, Resulting Numbers: [114] 114,36 unequal: No Solution Exploring Operation: 94-20=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 94*20=1880, Resulting Numbers: [1880] 1880,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[11, 103], Operations: ['18-9=9', '94+9=103'] Exploring Operation: 11*103=1133, Resulting Numbers: [1133] 1133,36 unequal: No Solution Exploring Operation: 11+103=114, Resulting Numbers: [114] 114,36 unequal: No Solution Exploring Operation: 103-11=92, Resulting Numbers: [92] 92,36 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 26, 79, 25, 18 ]
62
[ "26+79=105", "25+18=43", "105-43=62" ]
Current State: 62:[26, 79, 25, 18], Operations: [] Exploring Operation: 26+79=105, Resulting Numbers: [25, 18, 105] Generated Node #2: [25, 18, 105] from Operation: 26+79=105 Current State: 62:[25, 18, 105], Operations: ['26+79=105'] Exploring Operation: 25+18=43, Resulting Numbers: [105, 43] Generated Node #3: [105, 43] from Operation: 25+18=43 Current State: 62:[105, 43], Operations: ['26+79=105', '25+18=43'] Exploring Operation: 105-43=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[26, 79, 25, 18], Operations: [] Exploring Operation: 79-18=61, Resulting Numbers: [26, 25, 61] Generated Node #0,0: 62:[26, 25, 61] Operation: 79-18=61 Exploring Operation: 79-25=54, Resulting Numbers: [26, 18, 54] Generated Node #0,1: 62:[26, 18, 54] Operation: 79-25=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[26, 25, 61], Operations: ['79-18=61'] Exploring Operation: 61-26=35, Resulting Numbers: [25, 35] Generated Node #0,0,0: 62:[25, 35] Operation: 61-26=35 Exploring Operation: 26-25=1, Resulting Numbers: [61, 1] Generated Node #0,0,1: 62:[61, 1] Operation: 26-25=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[61, 1], Operations: ['79-18=61', '26-25=1'] Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[26, 79, 25, 18], Operations: [] Exploring Operation: 79-18=61, Resulting Numbers: [26, 25, 61] Generated Node #0,0: 62:[26, 25, 61] Operation: 79-18=61 Moving to Node #0,0 Current State: 62:[26, 25, 61], Operations: ['79-18=61'] Exploring Operation: 26-25=1, Resulting Numbers: [61, 1] Generated Node #0,0,1: 62:[61, 1] Operation: 26-25=1 Moving to Node #0,0,1 Current State: 62:[61, 1], Operations: ['79-18=61', '26-25=1'] Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 99, 41, 62, 98 ]
94
[ "99-41=58", "98-62=36", "58+36=94" ]
Current State: 94:[99, 41, 62, 98], Operations: [] Exploring Operation: 99-41=58, Resulting Numbers: [62, 98, 58] Generated Node #2: [62, 98, 58] from Operation: 99-41=58 Current State: 94:[62, 98, 58], Operations: ['99-41=58'] Exploring Operation: 98-62=36, Resulting Numbers: [58, 36] Generated Node #3: [58, 36] from Operation: 98-62=36 Current State: 94:[58, 36], Operations: ['99-41=58', '98-62=36'] Exploring Operation: 58+36=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[99, 41, 62, 98], Operations: [] Exploring Operation: 41+62=103, Resulting Numbers: [99, 98, 103] Generated Node #0,0: 94:[99, 98, 103] Operation: 41+62=103 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[99, 98, 103], Operations: ['41+62=103'] Exploring Operation: 103-99=4, Resulting Numbers: [98, 4] Generated Node #0,0,0: 94:[98, 4] Operation: 103-99=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[98, 4], Operations: ['41+62=103', '103-99=4'] Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[99, 41, 62, 98], Operations: [] Exploring Operation: 41+62=103, Resulting Numbers: [99, 98, 103] Generated Node #0,0: 94:[99, 98, 103] Operation: 41+62=103 Moving to Node #0,0 Current State: 94:[99, 98, 103], Operations: ['41+62=103'] Exploring Operation: 103-99=4, Resulting Numbers: [98, 4] Generated Node #0,0,0: 94:[98, 4] Operation: 103-99=4 Moving to Node #0,0,0 Current State: 94:[98, 4], Operations: ['41+62=103', '103-99=4'] Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 9, 70, 65, 63 ]
22
[ "70+65=135", "63+135=198", "198/9=22" ]
Current State: 22:[9, 70, 65, 63], Operations: [] Exploring Operation: 70+65=135, Resulting Numbers: [9, 63, 135] Generated Node #2: [9, 63, 135] from Operation: 70+65=135 Current State: 22:[9, 63, 135], Operations: ['70+65=135'] Exploring Operation: 63+135=198, Resulting Numbers: [9, 198] Generated Node #3: [9, 198] from Operation: 63+135=198 Current State: 22:[9, 198], Operations: ['70+65=135', '63+135=198'] Exploring Operation: 198/9=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[9, 70, 65, 63], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [9, 70, 2] Generated Node #0,0: 22:[9, 70, 2] Operation: 65-63=2 Exploring Operation: 70-65=5, Resulting Numbers: [9, 63, 5] Generated Node #0,1: 22:[9, 63, 5] Operation: 70-65=5 Exploring Operation: 70-9=61, Resulting Numbers: [65, 63, 61] Generated Node #0,2: 22:[65, 63, 61] Operation: 70-9=61 Exploring Operation: 70-63=7, Resulting Numbers: [9, 65, 7] Generated Node #0,3: 22:[9, 65, 7] Operation: 70-63=7 Exploring Operation: 63/9=7, Resulting Numbers: [70, 65, 7] Generated Node #0,4: 22:[70, 65, 7] Operation: 63/9=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[9, 63, 5], Operations: ['70-65=5'] Exploring Operation: 9-5=4, Resulting Numbers: [63, 4] Generated Node #0,1,0: 22:[63, 4] Operation: 9-5=4 Exploring Operation: 9+5=14, Resulting Numbers: [63, 14] Generated Node #0,1,1: 22:[63, 14] Operation: 9+5=14 Exploring Operation: 63/9=7, Resulting Numbers: [5, 7] Generated Node #0,1,2: 22:[5, 7] Operation: 63/9=7 Exploring Operation: 63-5=58, Resulting Numbers: [9, 58] Generated Node #0,1,3: 22:[9, 58] Operation: 63-5=58 Exploring Operation: 63-9=54, Resulting Numbers: [5, 54] Generated Node #0,1,4: 22:[5, 54] Operation: 63-9=54 Moving to Node #0,1,2 Current State: 22:[5, 7], Operations: ['70-65=5', '63/9=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,22 unequal: No Solution Moving to Node #0,1,4 Current State: 22:[5, 54], Operations: ['70-65=5', '63-9=54'] Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,22 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,22 unequal: No Solution Moving to Node #0,1,3 Current State: 22:[9, 58], Operations: ['70-65=5', '63-5=58'] Exploring Operation: 9+58=67, Resulting Numbers: [67] 67,22 unequal: No Solution Exploring Operation: 9*58=522, Resulting Numbers: [522] 522,22 unequal: No Solution Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[63, 4], Operations: ['70-65=5', '9-5=4'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,22 unequal: No Solution Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[63, 14], Operations: ['70-65=5', '9+5=14'] Exploring Operation: 63*14=882, Resulting Numbers: [882] 882,22 unequal: No Solution Exploring Operation: 63+14=77, Resulting Numbers: [77] 77,22 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 22:[9, 65, 7], Operations: ['70-63=7'] Exploring Operation: 65+7=72, Resulting Numbers: [9, 72] Generated Node #0,3,0: 22:[9, 72] Operation: 65+7=72 Exploring Operation: 9-7=2, Resulting Numbers: [65, 2] Generated Node #0,3,1: 22:[65, 2] Operation: 9-7=2 Exploring Operation: 65-9=56, Resulting Numbers: [7, 56] Generated Node #0,3,2: 22:[7, 56] Operation: 65-9=56 Exploring Operation: 65-7=58, Resulting Numbers: [9, 58] Generated Node #0,3,3: 22:[9, 58] Operation: 65-7=58 Exploring Operation: 9+7=16, Resulting Numbers: [65, 16] Generated Node #0,3,4: 22:[65, 16] Operation: 9+7=16 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 22:[7, 56], Operations: ['70-63=7', '65-9=56'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 7*56=392, Resulting Numbers: [392] 392,22 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 22:[9, 58], Operations: ['70-63=7', '65-7=58'] Exploring Operation: 9+58=67, Resulting Numbers: [67] 67,22 unequal: No Solution Exploring Operation: 9*58=522, Resulting Numbers: [522] 522,22 unequal: No Solution Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 22:[65, 2], Operations: ['70-63=7', '9-7=2'] Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,22 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 22:[65, 16], Operations: ['70-63=7', '9+7=16'] Exploring Operation: 65-16=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 65+16=81, Resulting Numbers: [81] 81,22 unequal: No Solution Exploring Operation: 65*16=1040, Resulting Numbers: [1040] 1040,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 22:[9, 72], Operations: ['70-63=7', '65+7=72'] Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 9+72=81, Resulting Numbers: [81] 81,22 unequal: No Solution Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 9*72=648, Resulting Numbers: [648] 648,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[9, 70, 2], Operations: ['65-63=2'] Exploring Operation: 70-2=68, Resulting Numbers: [9, 68] Generated Node #0,0,0: 22:[9, 68] Operation: 70-2=68 Exploring Operation: 70/2=35, Resulting Numbers: [9, 35] Generated Node #0,0,1: 22:[9, 35] Operation: 70/2=35 Exploring Operation: 70-9=61, Resulting Numbers: [2, 61] Generated Node #0,0,2: 22:[2, 61] Operation: 70-9=61 Exploring Operation: 9*2=18, Resulting Numbers: [70, 18] Generated Node #0,0,3: 22:[70, 18] Operation: 9*2=18 Exploring Operation: 9+2=11, Resulting Numbers: [70, 11] Generated Node #0,0,4: 22:[70, 11] Operation: 9+2=11 Moving to Node #0,0,1 Current State: 22:[9, 35], Operations: ['65-63=2', '70/2=35'] Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,22 unequal: No Solution Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,22 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[2, 61], Operations: ['65-63=2', '70-9=61'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,22 unequal: No Solution Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[9, 68], Operations: ['65-63=2', '70-2=68'] Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 9+68=77, Resulting Numbers: [77] 77,22 unequal: No Solution Exploring Operation: 9*68=612, Resulting Numbers: [612] 612,22 unequal: No Solution Moving to Node #0,0,4 Current State: 22:[70, 11], Operations: ['65-63=2', '9+2=11'] Exploring Operation: 70+11=81, Resulting Numbers: [81] 81,22 unequal: No Solution Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 70*11=770, Resulting Numbers: [770] 770,22 unequal: No Solution Moving to Node #0,0,3 Current State: 22:[70, 18], Operations: ['65-63=2', '9*2=18'] Exploring Operation: 70+18=88, Resulting Numbers: [88] 88,22 unequal: No Solution Exploring Operation: 70-18=52, Resulting Numbers: [52] 52,22 unequal: No Solution Exploring Operation: 70*18=1260, Resulting Numbers: [1260] 1260,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 22:[70, 65, 7], Operations: ['63/9=7'] Exploring Operation: 70+7=77, Resulting Numbers: [65, 77] Generated Node #0,4,0: 22:[65, 77] Operation: 70+7=77 Exploring Operation: 65-7=58, Resulting Numbers: [70, 58] Generated Node #0,4,1: 22:[70, 58] Operation: 65-7=58 Exploring Operation: 70/7=10, Resulting Numbers: [65, 10] Generated Node #0,4,2: 22:[65, 10] Operation: 70/7=10 Exploring Operation: 70-65=5, Resulting Numbers: [7, 5] Generated Node #0,4,3: 22:[7, 5] Operation: 70-65=5 Exploring Operation: 70-7=63, Resulting Numbers: [65, 63] Generated Node #0,4,4: 22:[65, 63] Operation: 70-7=63 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 22:[7, 5], Operations: ['63/9=7', '70-65=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 22:[65, 10], Operations: ['63/9=7', '70/7=10'] Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,22 unequal: No Solution Exploring Operation: 65+10=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 65*10=650, Resulting Numbers: [650] 650,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 22:[70, 58], Operations: ['63/9=7', '65-7=58'] Exploring Operation: 70+58=128, Resulting Numbers: [128] 128,22 unequal: No Solution Exploring Operation: 70*58=4060, Resulting Numbers: [4060] 4060,22 unequal: No Solution Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 22:[65, 63], Operations: ['63/9=7', '70-7=63'] Exploring Operation: 65-63=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 65*63=4095, Resulting Numbers: [4095] 4095,22 unequal: No Solution Exploring Operation: 65+63=128, Resulting Numbers: [128] 128,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 22:[65, 77], Operations: ['63/9=7', '70+7=77'] Exploring Operation: 65*77=5005, Resulting Numbers: [5005] 5005,22 unequal: No Solution Exploring Operation: 77-65=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 65+77=142, Resulting Numbers: [142] 142,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[65, 63, 61], Operations: ['70-9=61'] Exploring Operation: 65-63=2, Resulting Numbers: [61, 2] Generated Node #0,2,0: 22:[61, 2] Operation: 65-63=2 Exploring Operation: 65+63=128, Resulting Numbers: [61, 128] Generated Node #0,2,1: 22:[61, 128] Operation: 65+63=128 Exploring Operation: 65-61=4, Resulting Numbers: [63, 4] Generated Node #0,2,2: 22:[63, 4] Operation: 65-61=4 Exploring Operation: 63-61=2, Resulting Numbers: [65, 2] Generated Node #0,2,3: 22:[65, 2] Operation: 63-61=2 Exploring Operation: 65+61=126, Resulting Numbers: [63, 126] Generated Node #0,2,4: 22:[63, 126] Operation: 65+61=126 Moving to Node #0,2,0 Current State: 22:[61, 2], Operations: ['70-9=61', '65-63=2'] Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 61*2=122, Resulting Numbers: [122] 122,22 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,22 unequal: No Solution Moving to Node #0,2,3 Current State: 22:[65, 2], Operations: ['70-9=61', '63-61=2'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,22 unequal: No Solution Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[63, 4], Operations: ['70-9=61', '65-61=4'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,22 unequal: No Solution Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,22 unequal: No Solution Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[61, 128], Operations: ['70-9=61', '65+63=128'] Exploring Operation: 128-61=67, Resulting Numbers: [67] 67,22 unequal: No Solution Exploring Operation: 61*128=7808, Resulting Numbers: [7808] 7808,22 unequal: No Solution Exploring Operation: 61+128=189, Resulting Numbers: [189] 189,22 unequal: No Solution Moving to Node #0,2,4 Current State: 22:[63, 126], Operations: ['70-9=61', '65+61=126'] Exploring Operation: 63+126=189, Resulting Numbers: [189] 189,22 unequal: No Solution Exploring Operation: 126/63=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 63*126=7938, Resulting Numbers: [7938] 7938,22 unequal: No Solution Exploring Operation: 126-63=63, Resulting Numbers: [63] 63,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 2, 46, 72, 42 ]
62
[ "2*46=92", "72-42=30", "92-30=62" ]
Current State: 62:[2, 46, 72, 42], Operations: [] Exploring Operation: 2*46=92, Resulting Numbers: [72, 42, 92] Generated Node #2: [72, 42, 92] from Operation: 2*46=92 Current State: 62:[72, 42, 92], Operations: ['2*46=92'] Exploring Operation: 72-42=30, Resulting Numbers: [92, 30] Generated Node #3: [92, 30] from Operation: 72-42=30 Current State: 62:[92, 30], Operations: ['2*46=92', '72-42=30'] Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[2, 46, 72, 42], Operations: [] Exploring Operation: 46-42=4, Resulting Numbers: [2, 72, 4] Generated Node #0,0: 62:[2, 72, 4] Operation: 46-42=4 Moving to Node #0,0 Current State: 62:[2, 72, 4], Operations: ['46-42=4'] Exploring Operation: 72-4=68, Resulting Numbers: [2, 68] Generated Node #0,0,0: 62:[2, 68] Operation: 72-4=68 Moving to Node #0,0,0 Current State: 62:[2, 68], Operations: ['46-42=4', '72-4=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,62 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 7, 60, 2, 21 ]
44
[ "7+60=67", "2+21=23", "67-23=44" ]
Current State: 44:[7, 60, 2, 21], Operations: [] Exploring Operation: 7+60=67, Resulting Numbers: [2, 21, 67] Generated Node #2: [2, 21, 67] from Operation: 7+60=67 Current State: 44:[2, 21, 67], Operations: ['7+60=67'] Exploring Operation: 2+21=23, Resulting Numbers: [67, 23] Generated Node #3: [67, 23] from Operation: 2+21=23 Current State: 44:[67, 23], Operations: ['7+60=67', '2+21=23'] Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[7, 60, 2, 21], Operations: [] Exploring Operation: 60-7=53, Resulting Numbers: [2, 21, 53] Generated Node #0,0: 44:[2, 21, 53] Operation: 60-7=53 Exploring Operation: 60-21=39, Resulting Numbers: [7, 2, 39] Generated Node #0,1: 44:[7, 2, 39] Operation: 60-21=39 Exploring Operation: 60/2=30, Resulting Numbers: [7, 21, 30] Generated Node #0,2: 44:[7, 21, 30] Operation: 60/2=30 Moving to Node #0,1 Current State: 44:[7, 2, 39], Operations: ['60-21=39'] Exploring Operation: 7-2=5, Resulting Numbers: [39, 5] Generated Node #0,1,0: 44:[39, 5] Operation: 7-2=5 Exploring Operation: 7+39=46, Resulting Numbers: [2, 46] Generated Node #0,1,1: 44:[2, 46] Operation: 7+39=46 Exploring Operation: 2+39=41, Resulting Numbers: [7, 41] Generated Node #0,1,2: 44:[7, 41] Operation: 2+39=41 Moving to Node #0,0 Current State: 44:[2, 21, 53], Operations: ['60-7=53'] Exploring Operation: 53-2=51, Resulting Numbers: [21, 51] Generated Node #0,0,0: 44:[21, 51] Operation: 53-2=51 Exploring Operation: 2+21=23, Resulting Numbers: [53, 23] Generated Node #0,0,1: 44:[53, 23] Operation: 2+21=23 Exploring Operation: 53-21=32, Resulting Numbers: [2, 32] Generated Node #0,0,2: 44:[2, 32] Operation: 53-21=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[21, 51], Operations: ['60-7=53', '53-2=51'] Exploring Operation: 21*51=1071, Resulting Numbers: [1071] 1071,44 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 21+51=72, Resulting Numbers: [72] 72,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[53, 23], Operations: ['60-7=53', '2+21=23'] Exploring Operation: 53*23=1219, Resulting Numbers: [1219] 1219,44 unequal: No Solution Exploring Operation: 53+23=76, Resulting Numbers: [76] 76,44 unequal: No Solution Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[2, 32], Operations: ['60-7=53', '53-21=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,44 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: 44:[7, 21, 30], Operations: ['60/2=30'] Exploring Operation: 30-7=23, Resulting Numbers: [21, 23] Generated Node #0,2,0: 44:[21, 23] Operation: 30-7=23 Exploring Operation: 30-21=9, Resulting Numbers: [7, 9] Generated Node #0,2,1: 44:[7, 9] Operation: 30-21=9 Exploring Operation: 7+30=37, Resulting Numbers: [21, 37] Generated Node #0,2,2: 44:[21, 37] Operation: 7+30=37 Moving to Node #0,1,1 Current State: 44:[2, 46], Operations: ['60-21=39', '7+39=46'] Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[7, 60, 2, 21], Operations: [] Exploring Operation: 60-21=39, Resulting Numbers: [7, 2, 39] Generated Node #0,1: 44:[7, 2, 39] Operation: 60-21=39 Moving to Node #0,1 Current State: 44:[7, 2, 39], Operations: ['60-21=39'] Exploring Operation: 7+39=46, Resulting Numbers: [2, 46] Generated Node #0,1,1: 44:[2, 46] Operation: 7+39=46 Moving to Node #0,1,1 Current State: 44:[2, 46], Operations: ['60-21=39', '7+39=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.976563
hs_3
sum_heuristic
[ 1, 91, 58, 73 ]
76
[ "1*91=91", "73-58=15", "91-15=76" ]
Current State: 76:[1, 91, 58, 73], Operations: [] Exploring Operation: 1*91=91, Resulting Numbers: [58, 73, 91] Generated Node #2: [58, 73, 91] from Operation: 1*91=91 Current State: 76:[58, 73, 91], Operations: ['1*91=91'] Exploring Operation: 73-58=15, Resulting Numbers: [91, 15] Generated Node #3: [91, 15] from Operation: 73-58=15 Current State: 76:[91, 15], Operations: ['1*91=91', '73-58=15'] Exploring Operation: 91-15=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[1, 91, 58, 73], Operations: [] Exploring Operation: 73-58=15, Resulting Numbers: [1, 91, 15] Generated Node #0,0: 76:[1, 91, 15] Operation: 73-58=15 Exploring Operation: 91-58=33, Resulting Numbers: [1, 73, 33] Generated Node #0,1: 76:[1, 73, 33] Operation: 91-58=33 Exploring Operation: 91-73=18, Resulting Numbers: [1, 58, 18] Generated Node #0,2: 76:[1, 58, 18] Operation: 91-73=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[1, 73, 33], Operations: ['91-58=33'] Exploring Operation: 73-33=40, Resulting Numbers: [1, 40] Generated Node #0,1,0: 76:[1, 40] Operation: 73-33=40 Exploring Operation: 1+33=34, Resulting Numbers: [73, 34] Generated Node #0,1,1: 76:[73, 34] Operation: 1+33=34 Exploring Operation: 1+73=74, Resulting Numbers: [33, 74] Generated Node #0,1,2: 76:[33, 74] Operation: 1+73=74 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[1, 40], Operations: ['91-58=33', '73-33=40'] Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,76 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 1*40=40, Resulting Numbers: [40] 40,76 unequal: No Solution No 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: 76:[73, 34], Operations: ['91-58=33', '1+33=34'] Exploring Operation: 73*34=2482, Resulting Numbers: [2482] 2482,76 unequal: No Solution Exploring Operation: 73-34=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 73+34=107, Resulting Numbers: [107] 107,76 unequal: No Solution No 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: 76:[33, 74], Operations: ['91-58=33', '1+73=74'] Exploring Operation: 33+74=107, Resulting Numbers: [107] 107,76 unequal: No Solution Exploring Operation: 33*74=2442, Resulting Numbers: [2442] 2442,76 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,76 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: 76:[1, 91, 15], Operations: ['73-58=15'] Exploring Operation: 91-1=90, Resulting Numbers: [15, 90] Generated Node #0,0,0: 76:[15, 90] Operation: 91-1=90 Exploring Operation: 1+15=16, Resulting Numbers: [91, 16] Generated Node #0,0,1: 76:[91, 16] Operation: 1+15=16 Exploring Operation: 91-15=76, Resulting Numbers: [1, 76] Generated Node #0,0,2: 76:[1, 76] Operation: 91-15=76 Moving to Node #0,0,2 Current State: 76:[1, 76], Operations: ['73-58=15', '91-15=76'] Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[1, 91, 58, 73], Operations: [] Exploring Operation: 73-58=15, Resulting Numbers: [1, 91, 15] Generated Node #0,0: 76:[1, 91, 15] Operation: 73-58=15 Moving to Node #0,0 Current State: 76:[1, 91, 15], Operations: ['73-58=15'] Exploring Operation: 91-15=76, Resulting Numbers: [1, 76] Generated Node #0,0,2: 76:[1, 76] Operation: 91-15=76 Moving to Node #0,0,2 Current State: 76:[1, 76], Operations: ['73-58=15', '91-15=76'] Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 40, 91, 37, 85 ]
83
[ "40+91=131", "85-37=48", "131-48=83" ]
Current State: 83:[40, 91, 37, 85], Operations: [] Exploring Operation: 40+91=131, Resulting Numbers: [37, 85, 131] Generated Node #2: [37, 85, 131] from Operation: 40+91=131 Current State: 83:[37, 85, 131], Operations: ['40+91=131'] Exploring Operation: 85-37=48, Resulting Numbers: [131, 48] Generated Node #3: [131, 48] from Operation: 85-37=48 Current State: 83:[131, 48], Operations: ['40+91=131', '85-37=48'] Exploring Operation: 131-48=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[40, 91, 37, 85], Operations: [] Exploring Operation: 91-37=54, Resulting Numbers: [40, 85, 54] Generated Node #0,0: 83:[40, 85, 54] Operation: 91-37=54 Exploring Operation: 91-40=51, Resulting Numbers: [37, 85, 51] Generated Node #0,1: 83:[37, 85, 51] Operation: 91-40=51 Exploring Operation: 40+37=77, Resulting Numbers: [91, 85, 77] Generated Node #0,2: 83:[91, 85, 77] Operation: 40+37=77 Moving to Node #0,2 Current State: 83:[91, 85, 77], Operations: ['40+37=77'] Exploring Operation: 85-77=8, Resulting Numbers: [91, 8] Generated Node #0,2,0: 83:[91, 8] Operation: 85-77=8 Exploring Operation: 91-77=14, Resulting Numbers: [85, 14] Generated Node #0,2,1: 83:[85, 14] Operation: 91-77=14 Exploring Operation: 91-85=6, Resulting Numbers: [77, 6] Generated Node #0,2,2: 83:[77, 6] Operation: 91-85=6 Moving to Node #0,0 Current State: 83:[40, 85, 54], Operations: ['91-37=54'] Exploring Operation: 40+54=94, Resulting Numbers: [85, 94] Generated Node #0,0,0: 83:[85, 94] Operation: 40+54=94 Exploring Operation: 40+85=125, Resulting Numbers: [54, 125] Generated Node #0,0,1: 83:[54, 125] Operation: 40+85=125 Exploring Operation: 85-40=45, Resulting Numbers: [54, 45] Generated Node #0,0,2: 83:[54, 45] Operation: 85-40=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[85, 94], Operations: ['91-37=54', '40+54=94'] Exploring Operation: 85*94=7990, Resulting Numbers: [7990] 7990,83 unequal: No Solution Exploring Operation: 85+94=179, Resulting Numbers: [179] 179,83 unequal: No Solution Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,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:[54, 45], Operations: ['91-37=54', '85-40=45'] Exploring Operation: 54*45=2430, Resulting Numbers: [2430] 2430,83 unequal: No Solution Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 54+45=99, Resulting Numbers: [99] 99,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:[54, 125], Operations: ['91-37=54', '40+85=125'] Exploring Operation: 125-54=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 54+125=179, Resulting Numbers: [179] 179,83 unequal: No Solution Exploring Operation: 54*125=6750, Resulting Numbers: [6750] 6750,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 83:[37, 85, 51], Operations: ['91-40=51'] Exploring Operation: 85-37=48, Resulting Numbers: [51, 48] Generated Node #0,1,0: 83:[51, 48] Operation: 85-37=48 Exploring Operation: 37+85=122, Resulting Numbers: [51, 122] Generated Node #0,1,1: 83:[51, 122] Operation: 37+85=122 Exploring Operation: 37+51=88, Resulting Numbers: [85, 88] Generated Node #0,1,2: 83:[85, 88] Operation: 37+51=88 Moving to Node #0,1,2 Current State: 83:[85, 88], Operations: ['91-40=51', '37+51=88'] Exploring Operation: 85+88=173, Resulting Numbers: [173] 173,83 unequal: No Solution Exploring Operation: 85*88=7480, Resulting Numbers: [7480] 7480,83 unequal: No Solution Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[51, 48], Operations: ['91-40=51', '85-37=48'] Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,83 unequal: No Solution Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[51, 122], Operations: ['91-40=51', '37+85=122'] Exploring Operation: 51+122=173, Resulting Numbers: [173] 173,83 unequal: No Solution Exploring Operation: 51*122=6222, Resulting Numbers: [6222] 6222,83 unequal: No Solution Exploring Operation: 122-51=71, Resulting Numbers: [71] 71,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[85, 14], Operations: ['40+37=77', '91-77=14'] Exploring Operation: 85+14=99, Resulting Numbers: [99] 99,83 unequal: No Solution Exploring Operation: 85*14=1190, Resulting Numbers: [1190] 1190,83 unequal: No Solution Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[91, 8], Operations: ['40+37=77', '85-77=8'] Exploring Operation: 91+8=99, Resulting Numbers: [99] 99,83 unequal: No Solution Exploring Operation: 91*8=728, Resulting Numbers: [728] 728,83 unequal: No Solution Exploring Operation: 91-8=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[40, 91, 37, 85], Operations: [] Exploring Operation: 40+37=77, Resulting Numbers: [91, 85, 77] Generated Node #0,2: 83:[91, 85, 77] Operation: 40+37=77 Moving to Node #0,2 Current State: 83:[91, 85, 77], Operations: ['40+37=77'] Exploring Operation: 85-77=8, Resulting Numbers: [91, 8] Generated Node #0,2,0: 83:[91, 8] Operation: 85-77=8 Moving to Node #0,2,0 Current State: 83:[91, 8], Operations: ['40+37=77', '85-77=8'] Exploring Operation: 91-8=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.965278
hs_3
sum_heuristic
[ 98, 55, 97, 37 ]
17
[ "98-55=43", "97-37=60", "60-43=17" ]
Current State: 17:[98, 55, 97, 37], Operations: [] Exploring Operation: 98-55=43, Resulting Numbers: [97, 37, 43] Generated Node #2: [97, 37, 43] from Operation: 98-55=43 Current State: 17:[97, 37, 43], Operations: ['98-55=43'] Exploring Operation: 97-37=60, Resulting Numbers: [43, 60] Generated Node #3: [43, 60] from Operation: 97-37=60 Current State: 17:[43, 60], Operations: ['98-55=43', '97-37=60'] Exploring Operation: 60-43=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[98, 55, 97, 37], Operations: [] Exploring Operation: 55-37=18, Resulting Numbers: [98, 97, 18] Generated Node #0,0: 17:[98, 97, 18] Operation: 55-37=18 Exploring Operation: 98-97=1, Resulting Numbers: [55, 37, 1] Generated Node #0,1: 17:[55, 37, 1] Operation: 98-97=1 Exploring Operation: 98-55=43, Resulting Numbers: [97, 37, 43] Generated Node #0,2: 17:[97, 37, 43] Operation: 98-55=43 Exploring Operation: 98-37=61, Resulting Numbers: [55, 97, 61] Generated Node #0,3: 17:[55, 97, 61] Operation: 98-37=61 Exploring Operation: 97-55=42, Resulting Numbers: [98, 37, 42] Generated Node #0,4: 17:[98, 37, 42] Operation: 97-55=42 Moving to Node #0,1 Current State: 17:[55, 37, 1], Operations: ['98-97=1'] Exploring Operation: 55/1=55, Resulting Numbers: [37, 55] Generated Node #0,1,0: 17:[37, 55] Operation: 55/1=55 Exploring Operation: 55*1=55, Resulting Numbers: [37, 55] Generated Node #0,1,1: 17:[37, 55] Operation: 55*1=55 Exploring Operation: 55-37=18, Resulting Numbers: [1, 18] Generated Node #0,1,2: 17:[1, 18] Operation: 55-37=18 Exploring Operation: 37-1=36, Resulting Numbers: [55, 36] Generated Node #0,1,3: 17:[55, 36] Operation: 37-1=36 Exploring Operation: 55-1=54, Resulting Numbers: [37, 54] Generated Node #0,1,4: 17:[37, 54] Operation: 55-1=54 Moving to Node #0,4 Current State: 17:[98, 37, 42], Operations: ['97-55=42'] Exploring Operation: 98+37=135, Resulting Numbers: [42, 135] Generated Node #0,4,0: 17:[42, 135] Operation: 98+37=135 Exploring Operation: 42-37=5, Resulting Numbers: [98, 5] Generated Node #0,4,1: 17:[98, 5] Operation: 42-37=5 Exploring Operation: 98+42=140, Resulting Numbers: [37, 140] Generated Node #0,4,2: 17:[37, 140] Operation: 98+42=140 Exploring Operation: 98-37=61, Resulting Numbers: [42, 61] Generated Node #0,4,3: 17:[42, 61] Operation: 98-37=61 Exploring Operation: 98-42=56, Resulting Numbers: [37, 56] Generated Node #0,4,4: 17:[37, 56] Operation: 98-42=56 Moving to Node #0,2 Current State: 17:[97, 37, 43], Operations: ['98-55=43'] Exploring Operation: 97-37=60, Resulting Numbers: [43, 60] Generated Node #0,2,0: 17:[43, 60] Operation: 97-37=60 Exploring Operation: 97+37=134, Resulting Numbers: [43, 134] Generated Node #0,2,1: 17:[43, 134] Operation: 97+37=134 Exploring Operation: 43-37=6, Resulting Numbers: [97, 6] Generated Node #0,2,2: 17:[97, 6] Operation: 43-37=6 Exploring Operation: 97-43=54, Resulting Numbers: [37, 54] Generated Node #0,2,3: 17:[37, 54] Operation: 97-43=54 Exploring Operation: 97+43=140, Resulting Numbers: [37, 140] Generated Node #0,2,4: 17:[37, 140] Operation: 97+43=140 Moving to Node #0,0 Current State: 17:[98, 97, 18], Operations: ['55-37=18'] Exploring Operation: 98-97=1, Resulting Numbers: [18, 1] Generated Node #0,0,0: 17:[18, 1] Operation: 98-97=1 Exploring Operation: 98-18=80, Resulting Numbers: [97, 80] Generated Node #0,0,1: 17:[97, 80] Operation: 98-18=80 Exploring Operation: 98+97=195, Resulting Numbers: [18, 195] Generated Node #0,0,2: 17:[18, 195] Operation: 98+97=195 Exploring Operation: 98+18=116, Resulting Numbers: [97, 116] Generated Node #0,0,3: 17:[97, 116] Operation: 98+18=116 Exploring Operation: 97-18=79, Resulting Numbers: [98, 79] Generated Node #0,0,4: 17:[98, 79] Operation: 97-18=79 Moving to Node #0,3 Current State: 17:[55, 97, 61], Operations: ['98-37=61'] Exploring Operation: 55+61=116, Resulting Numbers: [97, 116] Generated Node #0,3,0: 17:[97, 116] Operation: 55+61=116 Exploring Operation: 97-55=42, Resulting Numbers: [61, 42] Generated Node #0,3,1: 17:[61, 42] Operation: 97-55=42 Exploring Operation: 55+97=152, Resulting Numbers: [61, 152] Generated Node #0,3,2: 17:[61, 152] Operation: 55+97=152 Exploring Operation: 97-61=36, Resulting Numbers: [55, 36] Generated Node #0,3,3: 17:[55, 36] Operation: 97-61=36 Exploring Operation: 61-55=6, Resulting Numbers: [97, 6] Generated Node #0,3,4: 17:[97, 6] Operation: 61-55=6 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[55, 36], Operations: ['98-37=61', '97-61=36'] Exploring Operation: 55+36=91, Resulting Numbers: [91] 91,17 unequal: No Solution Exploring Operation: 55*36=1980, Resulting Numbers: [1980] 1980,17 unequal: No Solution Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[61, 42], Operations: ['98-37=61', '97-55=42'] Exploring Operation: 61*42=2562, Resulting Numbers: [2562] 2562,17 unequal: No Solution Exploring Operation: 61-42=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 61+42=103, Resulting Numbers: [103] 103,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 17:[97, 6], Operations: ['98-37=61', '61-55=6'] Exploring Operation: 97*6=582, Resulting Numbers: [582] 582,17 unequal: No Solution Exploring Operation: 97+6=103, Resulting Numbers: [103] 103,17 unequal: No Solution Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[97, 116], Operations: ['98-37=61', '55+61=116'] Exploring Operation: 97*116=11252, Resulting Numbers: [11252] 11252,17 unequal: No Solution Exploring Operation: 97+116=213, Resulting Numbers: [213] 213,17 unequal: No Solution Exploring Operation: 116-97=19, Resulting Numbers: [19] 19,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 17:[61, 152], Operations: ['98-37=61', '55+97=152'] Exploring Operation: 152-61=91, Resulting Numbers: [91] 91,17 unequal: No Solution Exploring Operation: 61+152=213, Resulting Numbers: [213] 213,17 unequal: No Solution Exploring Operation: 61*152=9272, Resulting Numbers: [9272] 9272,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 17:[1, 18], Operations: ['98-97=1', '55-37=18'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[98, 55, 97, 37], Operations: [] Exploring Operation: 98-97=1, Resulting Numbers: [55, 37, 1] Generated Node #0,1: 17:[55, 37, 1] Operation: 98-97=1 Moving to Node #0,1 Current State: 17:[55, 37, 1], Operations: ['98-97=1'] Exploring Operation: 55-37=18, Resulting Numbers: [1, 18] Generated Node #0,1,2: 17:[1, 18] Operation: 55-37=18 Moving to Node #0,1,2 Current State: 17:[1, 18], Operations: ['98-97=1', '55-37=18'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.956597
hs_5
mult_heuristic
[ 32, 49, 48, 98 ]
32
[ "32*49=1568", "1568/98=16", "48-16=32" ]
Current State: 32:[32, 49, 48, 98], Operations: [] Exploring Operation: 32*49=1568, Resulting Numbers: [48, 98, 1568] Generated Node #2: [48, 98, 1568] from Operation: 32*49=1568 Current State: 32:[48, 98, 1568], Operations: ['32*49=1568'] Exploring Operation: 1568/98=16, Resulting Numbers: [48, 16] Generated Node #3: [48, 16] from Operation: 1568/98=16 Current State: 32:[48, 16], Operations: ['32*49=1568', '1568/98=16'] Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[32, 49, 48, 98], Operations: [] Exploring Operation: 98-49=49, Resulting Numbers: [32, 48, 49] Generated Node #0,0: 32:[32, 48, 49] Operation: 98-49=49 Exploring Operation: 98/49=2, Resulting Numbers: [32, 48, 2] Generated Node #0,1: 32:[32, 48, 2] Operation: 98/49=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[32, 48, 2], Operations: ['98/49=2'] Exploring Operation: 48/2=24, Resulting Numbers: [32, 24] Generated Node #0,1,0: 32:[32, 24] Operation: 48/2=24 Exploring Operation: 48-32=16, Resulting Numbers: [2, 16] Generated Node #0,1,1: 32:[2, 16] Operation: 48-32=16 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[2, 16], Operations: ['98/49=2', '48-32=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[32, 49, 48, 98], Operations: [] Exploring Operation: 98/49=2, Resulting Numbers: [32, 48, 2] Generated Node #0,1: 32:[32, 48, 2] Operation: 98/49=2 Moving to Node #0,1 Current State: 32:[32, 48, 2], Operations: ['98/49=2'] Exploring Operation: 48-32=16, Resulting Numbers: [2, 16] Generated Node #0,1,1: 32:[2, 16] Operation: 48-32=16 Moving to Node #0,1,1 Current State: 32:[2, 16], Operations: ['98/49=2', '48-32=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 38, 9, 94, 15 ]
79
[ "94-38=56", "9*15=135", "135-56=79" ]
Current State: 79:[38, 9, 94, 15], Operations: [] Exploring Operation: 94-38=56, Resulting Numbers: [9, 15, 56] Generated Node #2: [9, 15, 56] from Operation: 94-38=56 Current State: 79:[9, 15, 56], Operations: ['94-38=56'] Exploring Operation: 9*15=135, Resulting Numbers: [56, 135] Generated Node #3: [56, 135] from Operation: 9*15=135 Current State: 79:[56, 135], Operations: ['94-38=56', '9*15=135'] Exploring Operation: 135-56=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[38, 9, 94, 15], Operations: [] Exploring Operation: 38+9=47, Resulting Numbers: [94, 15, 47] Generated Node #0,0: 79:[94, 15, 47] Operation: 38+9=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[94, 15, 47], Operations: ['38+9=47'] Exploring Operation: 94-15=79, Resulting Numbers: [47, 79] Generated Node #0,0,0: 79:[47, 79] Operation: 94-15=79 Moving to Node #0,0,0 Current State: 79:[47, 79], Operations: ['38+9=47', '94-15=79'] Exploring Operation: 47+79=126, Resulting Numbers: [126] 126,79 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
[ 87, 50, 45, 27 ]
19
[ "87-50=37", "45-27=18", "37-18=19" ]
Current State: 19:[87, 50, 45, 27], Operations: [] Exploring Operation: 87-50=37, Resulting Numbers: [45, 27, 37] Generated Node #2: [45, 27, 37] from Operation: 87-50=37 Current State: 19:[45, 27, 37], Operations: ['87-50=37'] Exploring Operation: 45-27=18, Resulting Numbers: [37, 18] Generated Node #3: [37, 18] from Operation: 45-27=18 Current State: 19:[37, 18], Operations: ['87-50=37', '45-27=18'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[87, 50, 45, 27], Operations: [] Exploring Operation: 87-50=37, Resulting Numbers: [45, 27, 37] Generated Node #0,0: 19:[45, 27, 37] Operation: 87-50=37 Exploring Operation: 87-45=42, Resulting Numbers: [50, 27, 42] Generated Node #0,1: 19:[50, 27, 42] Operation: 87-45=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[45, 27, 37], Operations: ['87-50=37'] Exploring Operation: 45-27=18, Resulting Numbers: [37, 18] Generated Node #0,0,0: 19:[37, 18] Operation: 45-27=18 Exploring Operation: 45-37=8, Resulting Numbers: [27, 8] Generated Node #0,0,1: 19:[27, 8] Operation: 45-37=8 Moving to Node #0,0,0 Current State: 19:[37, 18], Operations: ['87-50=37', '45-27=18'] Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[87, 50, 45, 27], Operations: [] Exploring Operation: 87-50=37, Resulting Numbers: [45, 27, 37] Generated Node #0,0: 19:[45, 27, 37] Operation: 87-50=37 Moving to Node #0,0 Current State: 19:[45, 27, 37], Operations: ['87-50=37'] Exploring Operation: 45-27=18, Resulting Numbers: [37, 18] Generated Node #0,0,0: 19:[37, 18] Operation: 45-27=18 Moving to Node #0,0,0 Current State: 19:[37, 18], Operations: ['87-50=37', '45-27=18'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 27, 24, 6, 42 ]
58
[ "27+24=51", "42/6=7", "51+7=58" ]
Current State: 58:[27, 24, 6, 42], Operations: [] Exploring Operation: 27+24=51, Resulting Numbers: [6, 42, 51] Generated Node #2: [6, 42, 51] from Operation: 27+24=51 Current State: 58:[6, 42, 51], Operations: ['27+24=51'] Exploring Operation: 42/6=7, Resulting Numbers: [51, 7] Generated Node #3: [51, 7] from Operation: 42/6=7 Current State: 58:[51, 7], Operations: ['27+24=51', '42/6=7'] Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[27, 24, 6, 42], Operations: [] Exploring Operation: 24+42=66, Resulting Numbers: [27, 6, 66] Generated Node #0,0: 58:[27, 6, 66] Operation: 24+42=66 Exploring Operation: 42/6=7, Resulting Numbers: [27, 24, 7] Generated Node #0,1: 58:[27, 24, 7] Operation: 42/6=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[27, 24, 7], Operations: ['42/6=7'] Exploring Operation: 24+7=31, Resulting Numbers: [27, 31] Generated Node #0,1,0: 58:[27, 31] Operation: 24+7=31 Exploring Operation: 27-24=3, Resulting Numbers: [7, 3] Generated Node #0,1,1: 58:[7, 3] Operation: 27-24=3 Moving to Node #0,1,0 Current State: 58:[27, 31], Operations: ['42/6=7', '24+7=31'] Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,58 unequal: No Solution Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[27, 24, 6, 42], Operations: [] Exploring Operation: 42/6=7, Resulting Numbers: [27, 24, 7] Generated Node #0,1: 58:[27, 24, 7] Operation: 42/6=7 Moving to Node #0,1 Current State: 58:[27, 24, 7], Operations: ['42/6=7'] Exploring Operation: 24+7=31, Resulting Numbers: [27, 31] Generated Node #0,1,0: 58:[27, 31] Operation: 24+7=31 Moving to Node #0,1,0 Current State: 58:[27, 31], Operations: ['42/6=7', '24+7=31'] Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 41, 19, 1, 3 ]
20
[ "41+19=60", "1*3=3", "60/3=20" ]
Current State: 20:[41, 19, 1, 3], Operations: [] Exploring Operation: 41+19=60, Resulting Numbers: [1, 3, 60] Generated Node #2: [1, 3, 60] from Operation: 41+19=60 Current State: 20:[1, 3, 60], Operations: ['41+19=60'] Exploring Operation: 1*3=3, Resulting Numbers: [60, 3] Generated Node #3: [60, 3] from Operation: 1*3=3 Current State: 20:[60, 3], Operations: ['41+19=60', '1*3=3'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[41, 19, 1, 3], Operations: [] Exploring Operation: 41-1=40, Resulting Numbers: [19, 3, 40] Generated Node #0,0: 20:[19, 3, 40] Operation: 41-1=40 Exploring Operation: 19+1=20, Resulting Numbers: [41, 3, 20] Generated Node #0,1: 20:[41, 3, 20] Operation: 19+1=20 Exploring Operation: 41-3=38, Resulting Numbers: [19, 1, 38] Generated Node #0,2: 20:[19, 1, 38] Operation: 41-3=38 Exploring Operation: 41-19=22, Resulting Numbers: [1, 3, 22] Generated Node #0,3: 20:[1, 3, 22] Operation: 41-19=22 Moving to Node #0,3 Current State: 20:[1, 3, 22], Operations: ['41-19=22'] Exploring Operation: 22-1=21, Resulting Numbers: [3, 21] Generated Node #0,3,0: 20:[3, 21] Operation: 22-1=21 Exploring Operation: 22-3=19, Resulting Numbers: [1, 19] Generated Node #0,3,1: 20:[1, 19] Operation: 22-3=19 Exploring Operation: 1+3=4, Resulting Numbers: [22, 4] Generated Node #0,3,2: 20:[22, 4] Operation: 1+3=4 Exploring Operation: 3-1=2, Resulting Numbers: [22, 2] Generated Node #0,3,3: 20:[22, 2] Operation: 3-1=2 Moving to Node #0,2 Current State: 20:[19, 1, 38], Operations: ['41-3=38'] Exploring Operation: 38-19=19, Resulting Numbers: [1, 19] Generated Node #0,2,0: 20:[1, 19] Operation: 38-19=19 Exploring Operation: 38/19=2, Resulting Numbers: [1, 2] Generated Node #0,2,1: 20:[1, 2] Operation: 38/19=2 Exploring Operation: 38-1=37, Resulting Numbers: [19, 37] Generated Node #0,2,2: 20:[19, 37] Operation: 38-1=37 Exploring Operation: 19+1=20, Resulting Numbers: [38, 20] Generated Node #0,2,3: 20:[38, 20] Operation: 19+1=20 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 20:[1, 2], Operations: ['41-3=38', '38/19=2'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 20:[1, 19], Operations: ['41-3=38', '38-19=19'] Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[41, 19, 1, 3], Operations: [] Exploring Operation: 41-3=38, Resulting Numbers: [19, 1, 38] Generated Node #0,2: 20:[19, 1, 38] Operation: 41-3=38 Moving to Node #0,2 Current State: 20:[19, 1, 38], Operations: ['41-3=38'] Exploring Operation: 38-19=19, Resulting Numbers: [1, 19] Generated Node #0,2,0: 20:[1, 19] Operation: 38-19=19 Moving to Node #0,2,0 Current State: 20:[1, 19], Operations: ['41-3=38', '38-19=19'] Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 16, 3, 18, 33 ]
55
[ "16+33=49", "18/3=6", "49+6=55" ]
Current State: 55:[16, 3, 18, 33], Operations: [] Exploring Operation: 16+33=49, Resulting Numbers: [3, 18, 49] Generated Node #2: [3, 18, 49] from Operation: 16+33=49 Current State: 55:[3, 18, 49], Operations: ['16+33=49'] Exploring Operation: 18/3=6, Resulting Numbers: [49, 6] Generated Node #3: [49, 6] from Operation: 18/3=6 Current State: 55:[49, 6], Operations: ['16+33=49', '18/3=6'] Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[16, 3, 18, 33], Operations: [] Exploring Operation: 16+33=49, Resulting Numbers: [3, 18, 49] Generated Node #0,0: 55:[3, 18, 49] Operation: 16+33=49 Exploring Operation: 33/3=11, Resulting Numbers: [16, 18, 11] Generated Node #0,1: 55:[16, 18, 11] Operation: 33/3=11 Exploring Operation: 18+33=51, Resulting Numbers: [16, 3, 51] Generated Node #0,2: 55:[16, 3, 51] Operation: 18+33=51 Exploring Operation: 33-18=15, Resulting Numbers: [16, 3, 15] Generated Node #0,3: 55:[16, 3, 15] Operation: 33-18=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[16, 3, 51], Operations: ['18+33=51'] Exploring Operation: 16-3=13, Resulting Numbers: [51, 13] Generated Node #0,2,0: 55:[51, 13] Operation: 16-3=13 Exploring Operation: 16*3=48, Resulting Numbers: [51, 48] Generated Node #0,2,1: 55:[51, 48] Operation: 16*3=48 Exploring Operation: 3+51=54, Resulting Numbers: [16, 54] Generated Node #0,2,2: 55:[16, 54] Operation: 3+51=54 Exploring Operation: 51/3=17, Resulting Numbers: [16, 17] Generated Node #0,2,3: 55:[16, 17] Operation: 51/3=17 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 55:[51, 13], Operations: ['18+33=51', '16-3=13'] Exploring Operation: 51+13=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,55 unequal: No Solution Exploring Operation: 51*13=663, Resulting Numbers: [663] 663,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,2,2 Current State: 55:[16, 54], Operations: ['18+33=51', '3+51=54'] Exploring Operation: 16+54=70, Resulting Numbers: [70] 70,55 unequal: No Solution Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,55 unequal: No Solution Exploring Operation: 16*54=864, Resulting Numbers: [864] 864,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,2,1 Current State: 55:[51, 48], Operations: ['18+33=51', '16*3=48'] Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,55 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,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,2,3 Current State: 55:[16, 17], Operations: ['18+33=51', '51/3=17'] Exploring Operation: 16*17=272, Resulting Numbers: [272] 272,55 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 16+17=33, Resulting Numbers: [33] 33,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,3 Current State: 55:[16, 3, 15], Operations: ['33-18=15'] Exploring Operation: 15-3=12, Resulting Numbers: [16, 12] Generated Node #0,3,0: 55:[16, 12] Operation: 15-3=12 Exploring Operation: 16-3=13, Resulting Numbers: [15, 13] Generated Node #0,3,1: 55:[15, 13] Operation: 16-3=13 Exploring Operation: 15/3=5, Resulting Numbers: [16, 5] Generated Node #0,3,2: 55:[16, 5] Operation: 15/3=5 Exploring Operation: 16-15=1, Resulting Numbers: [3, 1] Generated Node #0,3,3: 55:[3, 1] Operation: 16-15=1 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 55:[16, 5], Operations: ['33-18=15', '15/3=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,55 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,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,0 Current State: 55:[16, 12], Operations: ['33-18=15', '15-3=12'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,55 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,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:[15, 13], Operations: ['33-18=15', '16-3=13'] Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,55 unequal: No Solution Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,55 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,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:[3, 1], Operations: ['33-18=15', '16-15=1'] Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,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:[16, 18, 11], Operations: ['33/3=11'] Exploring Operation: 18-11=7, Resulting Numbers: [16, 7] Generated Node #0,1,0: 55:[16, 7] Operation: 18-11=7 Exploring Operation: 16+18=34, Resulting Numbers: [11, 34] Generated Node #0,1,1: 55:[11, 34] Operation: 16+18=34 Exploring Operation: 18-16=2, Resulting Numbers: [11, 2] Generated Node #0,1,2: 55:[11, 2] Operation: 18-16=2 Exploring Operation: 16-11=5, Resulting Numbers: [18, 5] Generated Node #0,1,3: 55:[18, 5] Operation: 16-11=5 Moving to Node #0,1,2 Current State: 55:[11, 2], Operations: ['33/3=11', '18-16=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[18, 5], Operations: ['33/3=11', '16-11=5'] Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,55 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[16, 7], Operations: ['33/3=11', '18-11=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[11, 34], Operations: ['33/3=11', '16+18=34'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[3, 18, 49], Operations: ['16+33=49'] Exploring Operation: 3+49=52, Resulting Numbers: [18, 52] Generated Node #0,0,0: 55:[18, 52] Operation: 3+49=52 Exploring Operation: 18/3=6, Resulting Numbers: [49, 6] Generated Node #0,0,1: 55:[49, 6] Operation: 18/3=6 Exploring Operation: 3*18=54, Resulting Numbers: [49, 54] Generated Node #0,0,2: 55:[49, 54] Operation: 3*18=54 Exploring Operation: 18-3=15, Resulting Numbers: [49, 15] Generated Node #0,0,3: 55:[49, 15] Operation: 18-3=15 Moving to Node #0,0,1 Current State: 55:[49, 6], Operations: ['16+33=49', '18/3=6'] Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,55 unequal: No Solution Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[16, 3, 18, 33], Operations: [] Exploring Operation: 16+33=49, Resulting Numbers: [3, 18, 49] Generated Node #0,0: 55:[3, 18, 49] Operation: 16+33=49 Moving to Node #0,0 Current State: 55:[3, 18, 49], Operations: ['16+33=49'] Exploring Operation: 18/3=6, Resulting Numbers: [49, 6] Generated Node #0,0,1: 55:[49, 6] Operation: 18/3=6 Moving to Node #0,0,1 Current State: 55:[49, 6], Operations: ['16+33=49', '18/3=6'] Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_4
mult_heuristic
[ 57, 5, 4, 32 ]
20
[ "57-32=25", "25/5=5", "4*5=20" ]
Current State: 20:[57, 5, 4, 32], Operations: [] Exploring Operation: 57-32=25, Resulting Numbers: [5, 4, 25] Generated Node #2: [5, 4, 25] from Operation: 57-32=25 Current State: 20:[5, 4, 25], Operations: ['57-32=25'] Exploring Operation: 25/5=5, Resulting Numbers: [4, 5] Generated Node #3: [4, 5] from Operation: 25/5=5 Current State: 20:[4, 5], Operations: ['57-32=25', '25/5=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[57, 5, 4, 32], Operations: [] Exploring Operation: 57-32=25, Resulting Numbers: [5, 4, 25] Generated Node #0,0: 20:[5, 4, 25] Operation: 57-32=25 Exploring Operation: 32/4=8, Resulting Numbers: [57, 5, 8] Generated Node #0,1: 20:[57, 5, 8] Operation: 32/4=8 Exploring Operation: 57-4=53, Resulting Numbers: [5, 32, 53] Generated Node #0,2: 20:[5, 32, 53] Operation: 57-4=53 Exploring Operation: 57-5=52, Resulting Numbers: [4, 32, 52] Generated Node #0,3: 20:[4, 32, 52] Operation: 57-5=52 Exploring Operation: 32-5=27, Resulting Numbers: [57, 4, 27] Generated Node #0,4: 20:[57, 4, 27] Operation: 32-5=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[5, 4, 25], Operations: ['57-32=25'] Exploring Operation: 5*4=20, Resulting Numbers: [25, 20] Generated Node #0,0,0: 20:[25, 20] Operation: 5*4=20 Exploring Operation: 25-5=20, Resulting Numbers: [4, 20] Generated Node #0,0,1: 20:[4, 20] Operation: 25-5=20 Exploring Operation: 25/5=5, Resulting Numbers: [4, 5] Generated Node #0,0,2: 20:[4, 5] Operation: 25/5=5 Exploring Operation: 5+4=9, Resulting Numbers: [25, 9] Generated Node #0,0,3: 20:[25, 9] Operation: 5+4=9 Exploring Operation: 25-4=21, Resulting Numbers: [5, 21] Generated Node #0,0,4: 20:[5, 21] Operation: 25-4=21 Moving to Node #0,0,1 Current State: 20:[4, 20], Operations: ['57-32=25', '25-5=20'] Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,20 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[4, 5], Operations: ['57-32=25', '25/5=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[57, 5, 4, 32], Operations: [] Exploring Operation: 57-32=25, Resulting Numbers: [5, 4, 25] Generated Node #0,0: 20:[5, 4, 25] Operation: 57-32=25 Moving to Node #0,0 Current State: 20:[5, 4, 25], Operations: ['57-32=25'] Exploring Operation: 25/5=5, Resulting Numbers: [4, 5] Generated Node #0,0,2: 20:[4, 5] Operation: 25/5=5 Moving to Node #0,0,2 Current State: 20:[4, 5], Operations: ['57-32=25', '25/5=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 43, 19, 45, 69 ]
48
[ "43-19=24", "69-45=24", "24+24=48" ]
Current State: 48:[43, 19, 45, 69], Operations: [] Exploring Operation: 43-19=24, Resulting Numbers: [45, 69, 24] Generated Node #2: [45, 69, 24] from Operation: 43-19=24 Current State: 48:[45, 69, 24], Operations: ['43-19=24'] Exploring Operation: 69-45=24, Resulting Numbers: [24, 24] Generated Node #3: [24, 24] from Operation: 69-45=24 Current State: 48:[24, 24], Operations: ['43-19=24', '69-45=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[43, 19, 45, 69], Operations: [] Exploring Operation: 69-45=24, Resulting Numbers: [43, 19, 24] Generated Node #0,0: 48:[43, 19, 24] Operation: 69-45=24 Exploring Operation: 69-43=26, Resulting Numbers: [19, 45, 26] Generated Node #0,1: 48:[19, 45, 26] Operation: 69-43=26 Moving to Node #0,0 Current State: 48:[43, 19, 24], Operations: ['69-45=24'] Exploring Operation: 43-19=24, Resulting Numbers: [24, 24] Generated Node #0,0,0: 48:[24, 24] Operation: 43-19=24 Exploring Operation: 43-24=19, Resulting Numbers: [19, 19] Generated Node #0,0,1: 48:[19, 19] Operation: 43-24=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[24, 24], Operations: ['69-45=24', '43-19=24'] Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[43, 19, 45, 69], Operations: [] Exploring Operation: 69-45=24, Resulting Numbers: [43, 19, 24] Generated Node #0,0: 48:[43, 19, 24] Operation: 69-45=24 Moving to Node #0,0 Current State: 48:[43, 19, 24], Operations: ['69-45=24'] Exploring Operation: 43-19=24, Resulting Numbers: [24, 24] Generated Node #0,0,0: 48:[24, 24] Operation: 43-19=24 Moving to Node #0,0,0 Current State: 48:[24, 24], Operations: ['69-45=24', '43-19=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 32, 64, 22, 2 ]
48
[ "64/32=2", "22+2=24", "2*24=48" ]
Current State: 48:[32, 64, 22, 2], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [22, 2, 2] Generated Node #2: [22, 2, 2] from Operation: 64/32=2 Current State: 48:[22, 2, 2], Operations: ['64/32=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,48 equal: Goal Reached Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[32, 64, 22, 2], Operations: [] Exploring Operation: 64-32=32, Resulting Numbers: [22, 2, 32] Generated Node #0,0: 48:[22, 2, 32] Operation: 64-32=32 Exploring Operation: 32-22=10, Resulting Numbers: [64, 2, 10] Generated Node #0,1: 48:[64, 2, 10] Operation: 32-22=10 Exploring Operation: 64-22=42, Resulting Numbers: [32, 2, 42] Generated Node #0,2: 48:[32, 2, 42] Operation: 64-22=42 Exploring Operation: 64/32=2, Resulting Numbers: [22, 2, 2] Generated Node #0,3: 48:[22, 2, 2] Operation: 64/32=2 Exploring Operation: 32/2=16, Resulting Numbers: [64, 22, 16] Generated Node #0,4: 48:[64, 22, 16] Operation: 32/2=16 Moving to Node #0,3 Current State: 48:[22, 2, 2], Operations: ['64/32=2'] Exploring Operation: 22+2=24, Resulting Numbers: [2, 24] Generated Node #0,3,0: 48:[2, 24] Operation: 22+2=24 Exploring Operation: 2+2=4, Resulting Numbers: [22, 4] Generated Node #0,3,1: 48:[22, 4] Operation: 2+2=4 Exploring Operation: 22+2=24, Resulting Numbers: [2, 24] Generated Node #0,3,2: 48:[2, 24] Operation: 22+2=24 Exploring Operation: 22/2=11, Resulting Numbers: [2, 11] Generated Node #0,3,3: 48:[2, 11] Operation: 22/2=11 Exploring Operation: 22/2=11, Resulting Numbers: [2, 11] Generated Node #0,3,4: 48:[2, 11] Operation: 22/2=11 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 48:[2, 24], Operations: ['64/32=2', '22+2=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[32, 64, 22, 2], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [22, 2, 2] Generated Node #0,3: 48:[22, 2, 2] Operation: 64/32=2 Moving to Node #0,3 Current State: 48:[22, 2, 2], Operations: ['64/32=2'] Exploring Operation: 22+2=24, Resulting Numbers: [2, 24] Generated Node #0,3,0: 48:[2, 24] Operation: 22+2=24 Moving to Node #0,3,0 Current State: 48:[2, 24], Operations: ['64/32=2', '22+2=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic