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
[ 39, 1, 93, 59 ]
72
[ "39-1=38", "93-59=34", "38+34=72" ]
Current State: 72:[39, 1, 93, 59], Operations: [] Exploring Operation: 39-1=38, Resulting Numbers: [93, 59, 38] Generated Node #2: [93, 59, 38] from Operation: 39-1=38 Current State: 72:[93, 59, 38], Operations: ['39-1=38'] Exploring Operation: 93-59=34, Resulting Numbers: [38, 34] Generated Node #3: [38, 34] from Operation: 93-59=34 Current State: 72:[38, 34], Operations: ['39-1=38', '93-59=34'] Exploring Operation: 38+34=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[39, 1, 93, 59], Operations: [] Exploring Operation: 93-39=54, Resulting Numbers: [1, 59, 54] Generated Node #0,0: 72:[1, 59, 54] Operation: 93-39=54 Exploring Operation: 93-59=34, Resulting Numbers: [39, 1, 34] Generated Node #0,1: 72:[39, 1, 34] Operation: 93-59=34 Exploring Operation: 59-39=20, Resulting Numbers: [1, 93, 20] Generated Node #0,2: 72:[1, 93, 20] Operation: 59-39=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[39, 1, 34], Operations: ['93-59=34'] Exploring Operation: 39-1=38, Resulting Numbers: [34, 38] Generated Node #0,1,0: 72:[34, 38] Operation: 39-1=38 Exploring Operation: 39+34=73, Resulting Numbers: [1, 73] Generated Node #0,1,1: 72:[1, 73] Operation: 39+34=73 Exploring Operation: 39-34=5, Resulting Numbers: [1, 5] Generated Node #0,1,2: 72:[1, 5] Operation: 39-34=5 Moving to Node #0,1,1 Current State: 72:[1, 73], Operations: ['93-59=34', '39+34=73'] Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 1*73=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[39, 1, 93, 59], Operations: [] Exploring Operation: 93-59=34, Resulting Numbers: [39, 1, 34] Generated Node #0,1: 72:[39, 1, 34] Operation: 93-59=34 Moving to Node #0,1 Current State: 72:[39, 1, 34], Operations: ['93-59=34'] Exploring Operation: 39+34=73, Resulting Numbers: [1, 73] Generated Node #0,1,1: 72:[1, 73] Operation: 39+34=73 Moving to Node #0,1,1 Current State: 72:[1, 73], Operations: ['93-59=34', '39+34=73'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 31, 8, 2, 2 ]
68
[ "31*2=62", "8-2=6", "62+6=68" ]
Current State: 68:[31, 8, 2, 2], Operations: [] Exploring Operation: 31*2=62, Resulting Numbers: [8, 62] Generated Node #2: [8, 62] from Operation: 31*2=62 Current State: 68:[8, 62], Operations: ['31*2=62'] Exploring Operation: 8-2=6, Resulting Numbers: [62, 6] Generated Node #3: [62, 6] from Operation: 8-2=6 Current State: 68:[62, 6], Operations: ['31*2=62', '8-2=6'] Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[31, 8, 2, 2], Operations: [] Exploring Operation: 8*2=16, Resulting Numbers: [31, 2, 16] Generated Node #0,0: 68:[31, 2, 16] Operation: 8*2=16 Exploring Operation: 8/2=4, Resulting Numbers: [31, 2, 4] Generated Node #0,1: 68:[31, 2, 4] Operation: 8/2=4 Exploring Operation: 8/2=4, Resulting Numbers: [31, 2, 4] Generated Node #0,2: 68:[31, 2, 4] Operation: 8/2=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[31, 2, 4], Operations: ['8/2=4'] Exploring Operation: 31+2=33, Resulting Numbers: [4, 33] Generated Node #0,1,0: 68:[4, 33] Operation: 31+2=33 Exploring Operation: 4-2=2, Resulting Numbers: [31, 2] Generated Node #0,1,1: 68:[31, 2] Operation: 4-2=2 Exploring Operation: 31+4=35, Resulting Numbers: [2, 35] Generated Node #0,1,2: 68:[2, 35] Operation: 31+4=35 Moving to Node #0,1,0 Current State: 68:[4, 33], Operations: ['8/2=4', '31+2=33'] Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,68 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[2, 35], Operations: ['8/2=4', '31+4=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,68 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[31, 2], Operations: ['8/2=4', '4-2=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[31, 2, 4], Operations: ['8/2=4'] Exploring Operation: 4-2=2, Resulting Numbers: [31, 2] Generated Node #0,2,0: 68:[31, 2] Operation: 4-2=2 Exploring Operation: 31+2=33, Resulting Numbers: [4, 33] Generated Node #0,2,1: 68:[4, 33] Operation: 31+2=33 Exploring Operation: 31+4=35, Resulting Numbers: [2, 35] Generated Node #0,2,2: 68:[2, 35] Operation: 31+4=35 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 68:[4, 33], Operations: ['8/2=4', '31+2=33'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 68:[2, 35], Operations: ['8/2=4', '31+4=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,68 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 68:[31, 2], Operations: ['8/2=4', '4-2=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[31, 2, 16], Operations: ['8*2=16'] Exploring Operation: 31+2=33, Resulting Numbers: [16, 33] Generated Node #0,0,0: 68:[16, 33] Operation: 31+2=33 Exploring Operation: 2+16=18, Resulting Numbers: [31, 18] Generated Node #0,0,1: 68:[31, 18] Operation: 2+16=18 Exploring Operation: 31-16=15, Resulting Numbers: [2, 15] Generated Node #0,0,2: 68:[2, 15] Operation: 31-16=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[16, 33], Operations: ['8*2=16', '31+2=33'] Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,68 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,68 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[2, 15], Operations: ['8*2=16', '31-16=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[31, 18], Operations: ['8*2=16', '2+16=18'] Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,68 unequal: No Solution Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,68 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 97, 13, 57, 29 ]
56
[ "97-13=84", "57-29=28", "84-28=56" ]
Current State: 56:[97, 13, 57, 29], Operations: [] Exploring Operation: 97-13=84, Resulting Numbers: [57, 29, 84] Generated Node #2: [57, 29, 84] from Operation: 97-13=84 Current State: 56:[57, 29, 84], Operations: ['97-13=84'] Exploring Operation: 57-29=28, Resulting Numbers: [84, 28] Generated Node #3: [84, 28] from Operation: 57-29=28 Current State: 56:[84, 28], Operations: ['97-13=84', '57-29=28'] Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[97, 13, 57, 29], Operations: [] Exploring Operation: 97-29=68, Resulting Numbers: [13, 57, 68] Generated Node #0,0: 56:[13, 57, 68] Operation: 97-29=68 Exploring Operation: 97-57=40, Resulting Numbers: [13, 29, 40] Generated Node #0,1: 56:[13, 29, 40] Operation: 97-57=40 Moving to Node #0,0 Current State: 56:[13, 57, 68], Operations: ['97-29=68'] Exploring Operation: 68-57=11, Resulting Numbers: [13, 11] Generated Node #0,0,0: 56:[13, 11] Operation: 68-57=11 Exploring Operation: 68-13=55, Resulting Numbers: [57, 55] Generated Node #0,0,1: 56:[57, 55] Operation: 68-13=55 Moving to Node #0,1 Current State: 56:[13, 29, 40], Operations: ['97-57=40'] Exploring Operation: 40-13=27, Resulting Numbers: [29, 27] Generated Node #0,1,0: 56:[29, 27] Operation: 40-13=27 Exploring Operation: 13+40=53, Resulting Numbers: [29, 53] Generated Node #0,1,1: 56:[29, 53] Operation: 13+40=53 Moving to Node #0,0,1 Current State: 56:[57, 55], Operations: ['97-29=68', '68-13=55'] Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 57+55=112, Resulting Numbers: [112] 112,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[29, 27], Operations: ['97-57=40', '40-13=27'] Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 29+27=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[97, 13, 57, 29], Operations: [] Exploring Operation: 97-57=40, Resulting Numbers: [13, 29, 40] Generated Node #0,1: 56:[13, 29, 40] Operation: 97-57=40 Moving to Node #0,1 Current State: 56:[13, 29, 40], Operations: ['97-57=40'] Exploring Operation: 40-13=27, Resulting Numbers: [29, 27] Generated Node #0,1,0: 56:[29, 27] Operation: 40-13=27 Moving to Node #0,1,0 Current State: 56:[29, 27], Operations: ['97-57=40', '40-13=27'] Exploring Operation: 29+27=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.987847
hs_2
mult_heuristic
[ 44, 40, 99, 3 ]
100
[ "44-40=4", "99-3=96", "4+96=100" ]
Current State: 100:[44, 40, 99, 3], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [99, 3, 4] Generated Node #2: [99, 3, 4] from Operation: 44-40=4 Current State: 100:[99, 3, 4], Operations: ['44-40=4'] Exploring Operation: 99-3=96, Resulting Numbers: [4, 96] Generated Node #3: [4, 96] from Operation: 99-3=96 Current State: 100:[4, 96], Operations: ['44-40=4', '99-3=96'] Exploring Operation: 4+96=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[44, 40, 99, 3], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [99, 3, 4] Generated Node #0,0: 100:[99, 3, 4] Operation: 44-40=4 Exploring Operation: 44+3=47, Resulting Numbers: [40, 99, 47] Generated Node #0,1: 100:[40, 99, 47] Operation: 44+3=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[99, 3, 4], Operations: ['44-40=4'] Exploring Operation: 4-3=1, Resulting Numbers: [99, 1] Generated Node #0,0,0: 100:[99, 1] Operation: 4-3=1 Exploring Operation: 99+3=102, Resulting Numbers: [4, 102] Generated Node #0,0,1: 100:[4, 102] Operation: 99+3=102 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[99, 1], Operations: ['44-40=4', '4-3=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[44, 40, 99, 3], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [99, 3, 4] Generated Node #0,0: 100:[99, 3, 4] Operation: 44-40=4 Moving to Node #0,0 Current State: 100:[99, 3, 4], Operations: ['44-40=4'] Exploring Operation: 4-3=1, Resulting Numbers: [99, 1] Generated Node #0,0,0: 100:[99, 1] Operation: 4-3=1 Moving to Node #0,0,0 Current State: 100:[99, 1], Operations: ['44-40=4', '4-3=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 36, 11, 4, 26 ]
28
[ "36/4=9", "11+26=37", "37-9=28" ]
Current State: 28:[36, 11, 4, 26], Operations: [] Exploring Operation: 36/4=9, Resulting Numbers: [11, 26, 9] Generated Node #2: [11, 26, 9] from Operation: 36/4=9 Current State: 28:[11, 26, 9], Operations: ['36/4=9'] Exploring Operation: 11+26=37, Resulting Numbers: [9, 37] Generated Node #3: [9, 37] from Operation: 11+26=37 Current State: 28:[9, 37], Operations: ['36/4=9', '11+26=37'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[36, 11, 4, 26], Operations: [] Exploring Operation: 36-26=10, Resulting Numbers: [11, 4, 10] Generated Node #0,0: 28:[11, 4, 10] Operation: 36-26=10 Exploring Operation: 36-11=25, Resulting Numbers: [4, 26, 25] Generated Node #0,1: 28:[4, 26, 25] Operation: 36-11=25 Moving to Node #0,1 Current State: 28:[4, 26, 25], Operations: ['36-11=25'] Exploring Operation: 4+25=29, Resulting Numbers: [26, 29] Generated Node #0,1,0: 28:[26, 29] Operation: 4+25=29 Exploring Operation: 26-25=1, Resulting Numbers: [4, 1] Generated Node #0,1,1: 28:[4, 1] Operation: 26-25=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[4, 1], Operations: ['36-11=25', '26-25=1'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[26, 29], Operations: ['36-11=25', '4+25=29'] Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,28 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 28:[11, 4, 10], Operations: ['36-26=10'] Exploring Operation: 11-4=7, Resulting Numbers: [10, 7] Generated Node #0,0,0: 28:[10, 7] Operation: 11-4=7 Exploring Operation: 11-10=1, Resulting Numbers: [4, 1] Generated Node #0,0,1: 28:[4, 1] Operation: 11-10=1 Moving to Node #0,0,1 Current State: 28:[4, 1], Operations: ['36-26=10', '11-10=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[10, 7], Operations: ['36-26=10', '11-4=7'] Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,28 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 17, 15, 7, 19 ]
37
[ "19-17=2", "15*2=30", "7+30=37" ]
Current State: 37:[17, 15, 7, 19], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [15, 7, 2] Generated Node #2: [15, 7, 2] from Operation: 19-17=2 Current State: 37:[15, 7, 2], Operations: ['19-17=2'] Exploring Operation: 15*2=30, Resulting Numbers: [7, 30] Generated Node #3: [7, 30] from Operation: 15*2=30 Current State: 37:[7, 30], Operations: ['19-17=2', '15*2=30'] Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[17, 15, 7, 19], Operations: [] Exploring Operation: 17+7=24, Resulting Numbers: [15, 19, 24] Generated Node #0,0: 37:[15, 19, 24] Operation: 17+7=24 Exploring Operation: 17+15=32, Resulting Numbers: [7, 19, 32] Generated Node #0,1: 37:[7, 19, 32] Operation: 17+15=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[15, 19, 24], Operations: ['17+7=24'] Exploring Operation: 15+24=39, Resulting Numbers: [19, 39] Generated Node #0,0,0: 37:[19, 39] Operation: 15+24=39 Exploring Operation: 15+19=34, Resulting Numbers: [24, 34] Generated Node #0,0,1: 37:[24, 34] Operation: 15+19=34 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[24, 34], Operations: ['17+7=24', '15+19=34'] Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,37 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[19, 39], Operations: ['17+7=24', '15+24=39'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,37 unequal: No Solution Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[7, 19, 32], Operations: ['17+15=32'] Exploring Operation: 7+19=26, Resulting Numbers: [32, 26] Generated Node #0,1,0: 37:[32, 26] Operation: 7+19=26 Exploring Operation: 7+32=39, Resulting Numbers: [19, 39] Generated Node #0,1,1: 37:[19, 39] Operation: 7+32=39 Moving to Node #0,1,0 Current State: 37:[32, 26], Operations: ['17+15=32', '7+19=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,37 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[19, 39], Operations: ['17+15=32', '7+32=39'] Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,37 unequal: No Solution Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 25, 9, 2, 79 ]
43
[ "25+9=34", "79-2=77", "77-34=43" ]
Current State: 43:[25, 9, 2, 79], Operations: [] Exploring Operation: 25+9=34, Resulting Numbers: [2, 79, 34] Generated Node #2: [2, 79, 34] from Operation: 25+9=34 Current State: 43:[2, 79, 34], Operations: ['25+9=34'] Exploring Operation: 79-2=77, Resulting Numbers: [34, 77] Generated Node #3: [34, 77] from Operation: 79-2=77 Current State: 43:[34, 77], Operations: ['25+9=34', '79-2=77'] Exploring Operation: 77-34=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[25, 9, 2, 79], Operations: [] Exploring Operation: 25*2=50, Resulting Numbers: [9, 79, 50] Generated Node #0,0: 43:[9, 79, 50] Operation: 25*2=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[9, 79, 50], Operations: ['25*2=50'] Exploring Operation: 79-9=70, Resulting Numbers: [50, 70] Generated Node #0,0,0: 43:[50, 70] Operation: 79-9=70 Moving to Node #0,0,0 Current State: 43:[50, 70], Operations: ['25*2=50', '79-9=70'] Exploring Operation: 70-50=20, Resulting Numbers: [20] 20,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 20, 52, 10, 23 ]
82
[ "23-20=3", "10*3=30", "52+30=82" ]
Current State: 82:[20, 52, 10, 23], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [52, 10, 3] Generated Node #2: [52, 10, 3] from Operation: 23-20=3 Current State: 82:[52, 10, 3], Operations: ['23-20=3'] Exploring Operation: 10*3=30, Resulting Numbers: [52, 30] Generated Node #3: [52, 30] from Operation: 10*3=30 Current State: 82:[52, 30], Operations: ['23-20=3', '10*3=30'] Exploring Operation: 52+30=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[20, 52, 10, 23], Operations: [] Exploring Operation: 20/10=2, Resulting Numbers: [52, 23, 2] Generated Node #0,0: 82:[52, 23, 2] Operation: 20/10=2 Exploring Operation: 20+23=43, Resulting Numbers: [52, 10, 43] Generated Node #0,1: 82:[52, 10, 43] Operation: 20+23=43 Exploring Operation: 23-20=3, Resulting Numbers: [52, 10, 3] Generated Node #0,2: 82:[52, 10, 3] Operation: 23-20=3 Moving to Node #0,2 Current State: 82:[52, 10, 3], Operations: ['23-20=3'] Exploring Operation: 52-3=49, Resulting Numbers: [10, 49] Generated Node #0,2,0: 82:[10, 49] Operation: 52-3=49 Exploring Operation: 10-3=7, Resulting Numbers: [52, 7] Generated Node #0,2,1: 82:[52, 7] Operation: 10-3=7 Exploring Operation: 52-10=42, Resulting Numbers: [3, 42] Generated Node #0,2,2: 82:[3, 42] Operation: 52-10=42 Moving to Node #0,1 Current State: 82:[52, 10, 43], Operations: ['20+23=43'] Exploring Operation: 43-10=33, Resulting Numbers: [52, 33] Generated Node #0,1,0: 82:[52, 33] Operation: 43-10=33 Exploring Operation: 52-10=42, Resulting Numbers: [43, 42] Generated Node #0,1,1: 82:[43, 42] Operation: 52-10=42 Exploring Operation: 52-43=9, Resulting Numbers: [10, 9] Generated Node #0,1,2: 82:[10, 9] Operation: 52-43=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[43, 42], Operations: ['20+23=43', '52-10=42'] Exploring Operation: 43*42=1806, Resulting Numbers: [1806] 1806,82 unequal: No Solution Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 43+42=85, Resulting Numbers: [85] 85,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,2 Current State: 82:[10, 9], Operations: ['20+23=43', '52-43=9'] Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,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,0 Current State: 82:[52, 33], Operations: ['20+23=43', '43-10=33'] Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,82 unequal: No Solution Exploring Operation: 52*33=1716, Resulting Numbers: [1716] 1716,82 unequal: No Solution Exploring Operation: 52+33=85, Resulting Numbers: [85] 85,82 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: 82:[52, 23, 2], Operations: ['20/10=2'] Exploring Operation: 52-23=29, Resulting Numbers: [2, 29] Generated Node #0,0,0: 82:[2, 29] Operation: 52-23=29 Exploring Operation: 52+23=75, Resulting Numbers: [2, 75] Generated Node #0,0,1: 82:[2, 75] Operation: 52+23=75 Exploring Operation: 23*2=46, Resulting Numbers: [52, 46] Generated Node #0,0,2: 82:[52, 46] Operation: 23*2=46 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[2, 75], Operations: ['20/10=2', '52+23=75'] Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,82 unequal: No Solution Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,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,0 Current State: 82:[2, 29], Operations: ['20/10=2', '52-23=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,82 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,82 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,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,2 Current State: 82:[52, 46], Operations: ['20/10=2', '23*2=46'] Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 52*46=2392, Resulting Numbers: [2392] 2392,82 unequal: No Solution Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 82:[3, 42], Operations: ['23-20=3', '52-10=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[10, 49], Operations: ['23-20=3', '52-3=49'] Exploring Operation: 10*49=490, Resulting Numbers: [490] 490,82 unequal: No Solution Exploring Operation: 10+49=59, Resulting Numbers: [59] 59,82 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[52, 7], Operations: ['23-20=3', '10-3=7'] Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,82 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 52*7=364, Resulting Numbers: [364] 364,82 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 63, 17, 28, 1 ]
51
[ "63+17=80", "28+1=29", "80-29=51" ]
Current State: 51:[63, 17, 28, 1], Operations: [] Exploring Operation: 63+17=80, Resulting Numbers: [28, 1, 80] Generated Node #2: [28, 1, 80] from Operation: 63+17=80 Current State: 51:[28, 1, 80], Operations: ['63+17=80'] Exploring Operation: 28+1=29, Resulting Numbers: [80, 29] Generated Node #3: [80, 29] from Operation: 28+1=29 Current State: 51:[80, 29], Operations: ['63+17=80', '28+1=29'] Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[63, 17, 28, 1], Operations: [] Exploring Operation: 63-28=35, Resulting Numbers: [17, 1, 35] Generated Node #0,0: 51:[17, 1, 35] Operation: 63-28=35 Exploring Operation: 17+28=45, Resulting Numbers: [63, 1, 45] Generated Node #0,1: 51:[63, 1, 45] Operation: 17+28=45 Exploring Operation: 28-17=11, Resulting Numbers: [63, 1, 11] Generated Node #0,2: 51:[63, 1, 11] Operation: 28-17=11 Exploring Operation: 63-17=46, Resulting Numbers: [28, 1, 46] Generated Node #0,3: 51:[28, 1, 46] Operation: 63-17=46 Exploring Operation: 63-1=62, Resulting Numbers: [17, 28, 62] Generated Node #0,4: 51:[17, 28, 62] Operation: 63-1=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[17, 1, 35], Operations: ['63-28=35'] Exploring Operation: 17*1=17, Resulting Numbers: [35, 17] Generated Node #0,0,0: 51:[35, 17] Operation: 17*1=17 Exploring Operation: 35-17=18, Resulting Numbers: [1, 18] Generated Node #0,0,1: 51:[1, 18] Operation: 35-17=18 Exploring Operation: 17+35=52, Resulting Numbers: [1, 52] Generated Node #0,0,2: 51:[1, 52] Operation: 17+35=52 Exploring Operation: 1+35=36, Resulting Numbers: [17, 36] Generated Node #0,0,3: 51:[17, 36] Operation: 1+35=36 Exploring Operation: 17/1=17, Resulting Numbers: [35, 17] Generated Node #0,0,4: 51:[35, 17] Operation: 17/1=17 Moving to Node #0,0,1 Current State: 51:[1, 18], Operations: ['63-28=35', '35-17=18'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[1, 52], Operations: ['63-28=35', '17+35=52'] Exploring Operation: 1+52=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[63, 17, 28, 1], Operations: [] Exploring Operation: 63-28=35, Resulting Numbers: [17, 1, 35] Generated Node #0,0: 51:[17, 1, 35] Operation: 63-28=35 Moving to Node #0,0 Current State: 51:[17, 1, 35], Operations: ['63-28=35'] Exploring Operation: 17+35=52, Resulting Numbers: [1, 52] Generated Node #0,0,2: 51:[1, 52] Operation: 17+35=52 Moving to Node #0,0,2 Current State: 51:[1, 52], Operations: ['63-28=35', '17+35=52'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 89, 84, 10, 90 ]
29
[ "90-84=6", "10*6=60", "89-60=29" ]
Current State: 29:[89, 84, 10, 90], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [89, 10, 6] Generated Node #2: [89, 10, 6] from Operation: 90-84=6 Current State: 29:[89, 10, 6], Operations: ['90-84=6'] Exploring Operation: 10*6=60, Resulting Numbers: [89, 60] Generated Node #3: [89, 60] from Operation: 10*6=60 Current State: 29:[89, 60], Operations: ['90-84=6', '10*6=60'] Exploring Operation: 89-60=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[89, 84, 10, 90], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [84, 10, 1] Generated Node #0,0: 29:[84, 10, 1] Operation: 90-89=1 Moving to Node #0,0 Current State: 29:[84, 10, 1], Operations: ['90-89=1'] Exploring Operation: 84-10=74, Resulting Numbers: [1, 74] Generated Node #0,0,0: 29:[1, 74] Operation: 84-10=74 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[1, 74], Operations: ['90-89=1', '84-10=74'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,29 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
[ 36, 28, 43, 76 ]
72
[ "43-36=7", "28/7=4", "76-4=72" ]
Current State: 72:[36, 28, 43, 76], Operations: [] Exploring Operation: 43-36=7, Resulting Numbers: [28, 76, 7] Generated Node #2: [28, 76, 7] from Operation: 43-36=7 Current State: 72:[28, 76, 7], Operations: ['43-36=7'] Exploring Operation: 28/7=4, Resulting Numbers: [76, 4] Generated Node #3: [76, 4] from Operation: 28/7=4 Current State: 72:[76, 4], Operations: ['43-36=7', '28/7=4'] Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[36, 28, 43, 76], Operations: [] Exploring Operation: 28+43=71, Resulting Numbers: [36, 76, 71] Generated Node #0,0: 72:[36, 76, 71] Operation: 28+43=71 Exploring Operation: 43-28=15, Resulting Numbers: [36, 76, 15] Generated Node #0,1: 72:[36, 76, 15] Operation: 43-28=15 Exploring Operation: 76-43=33, Resulting Numbers: [36, 28, 33] Generated Node #0,2: 72:[36, 28, 33] Operation: 76-43=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[36, 76, 71], Operations: ['28+43=71'] Exploring Operation: 76-71=5, Resulting Numbers: [36, 5] Generated Node #0,0,0: 72:[36, 5] Operation: 76-71=5 Exploring Operation: 76-36=40, Resulting Numbers: [71, 40] Generated Node #0,0,1: 72:[71, 40] Operation: 76-36=40 Exploring Operation: 71-36=35, Resulting Numbers: [76, 35] Generated Node #0,0,2: 72:[76, 35] Operation: 71-36=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[36, 5], Operations: ['28+43=71', '76-71=5'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,72 unequal: No Solution Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,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,0,1 Current State: 72:[71, 40], Operations: ['28+43=71', '76-36=40'] Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,72 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,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,0,2 Current State: 72:[76, 35], Operations: ['28+43=71', '71-36=35'] Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,72 unequal: No Solution Exploring Operation: 76+35=111, Resulting Numbers: [111] 111,72 unequal: No Solution Exploring Operation: 76*35=2660, Resulting Numbers: [2660] 2660,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,1 Current State: 72:[36, 76, 15], Operations: ['43-28=15'] Exploring Operation: 76-15=61, Resulting Numbers: [36, 61] Generated Node #0,1,0: 72:[36, 61] Operation: 76-15=61 Exploring Operation: 76-36=40, Resulting Numbers: [15, 40] Generated Node #0,1,1: 72:[15, 40] Operation: 76-36=40 Exploring Operation: 36-15=21, Resulting Numbers: [76, 21] Generated Node #0,1,2: 72:[76, 21] Operation: 36-15=21 Moving to Node #0,1,1 Current State: 72:[15, 40], Operations: ['43-28=15', '76-36=40'] Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 15*40=600, Resulting Numbers: [600] 600,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[76, 21], Operations: ['43-28=15', '36-15=21'] Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 76*21=1596, Resulting Numbers: [1596] 1596,72 unequal: No Solution Exploring Operation: 76+21=97, Resulting Numbers: [97] 97,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[36, 61], Operations: ['43-28=15', '76-15=61'] Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,72 unequal: No Solution Exploring Operation: 36*61=2196, Resulting Numbers: [2196] 2196,72 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[36, 28, 33], Operations: ['76-43=33'] Exploring Operation: 36-33=3, Resulting Numbers: [28, 3] Generated Node #0,2,0: 72:[28, 3] Operation: 36-33=3 Exploring Operation: 33-28=5, Resulting Numbers: [36, 5] Generated Node #0,2,1: 72:[36, 5] Operation: 33-28=5 Exploring Operation: 36-28=8, Resulting Numbers: [33, 8] Generated Node #0,2,2: 72:[33, 8] Operation: 36-28=8 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 72:[36, 5], Operations: ['76-43=33', '33-28=5'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,72 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,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,2,2 Current State: 72:[33, 8], Operations: ['76-43=33', '36-28=8'] Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,72 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,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,2,0 Current State: 72:[28, 3], Operations: ['76-43=33', '36-33=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,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 No solution found.
0
hs_3
sum_heuristic
[ 26, 3, 25, 62 ]
31
[ "26-3=23", "25-23=2", "62/2=31" ]
Current State: 31:[26, 3, 25, 62], Operations: [] Exploring Operation: 26-3=23, Resulting Numbers: [25, 62, 23] Generated Node #2: [25, 62, 23] from Operation: 26-3=23 Current State: 31:[25, 62, 23], Operations: ['26-3=23'] Exploring Operation: 25-23=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 25-23=2 Current State: 31:[62, 2], Operations: ['26-3=23', '25-23=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[26, 3, 25, 62], Operations: [] Exploring Operation: 62-3=59, Resulting Numbers: [26, 25, 59] Generated Node #0,0: 31:[26, 25, 59] Operation: 62-3=59 Exploring Operation: 62-26=36, Resulting Numbers: [3, 25, 36] Generated Node #0,1: 31:[3, 25, 36] Operation: 62-26=36 Exploring Operation: 62-25=37, Resulting Numbers: [26, 3, 37] Generated Node #0,2: 31:[26, 3, 37] Operation: 62-25=37 Exploring Operation: 3+25=28, Resulting Numbers: [26, 62, 28] Generated Node #0,3: 31:[26, 62, 28] Operation: 3+25=28 Exploring Operation: 26+3=29, Resulting Numbers: [25, 62, 29] Generated Node #0,4: 31:[25, 62, 29] Operation: 26+3=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[26, 25, 59], Operations: ['62-3=59'] Exploring Operation: 59-26=33, Resulting Numbers: [25, 33] Generated Node #0,0,0: 31:[25, 33] Operation: 59-26=33 Exploring Operation: 59-25=34, Resulting Numbers: [26, 34] Generated Node #0,0,1: 31:[26, 34] Operation: 59-25=34 Exploring Operation: 26+25=51, Resulting Numbers: [59, 51] Generated Node #0,0,2: 31:[59, 51] Operation: 26+25=51 Exploring Operation: 26-25=1, Resulting Numbers: [59, 1] Generated Node #0,0,3: 31:[59, 1] Operation: 26-25=1 Exploring Operation: 25+59=84, Resulting Numbers: [26, 84] Generated Node #0,0,4: 31:[26, 84] Operation: 25+59=84 Moving to Node #0,0,0 Current State: 31:[25, 33], Operations: ['62-3=59', '59-26=33'] Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,31 unequal: No Solution Exploring Operation: 25*33=825, Resulting Numbers: [825] 825,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[26, 34], Operations: ['62-3=59', '59-25=34'] Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 26*34=884, Resulting Numbers: [884] 884,31 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[59, 51], Operations: ['62-3=59', '26+25=51'] Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 59+51=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 59*51=3009, Resulting Numbers: [3009] 3009,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[59, 1], Operations: ['62-3=59', '26-25=1'] Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,31 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,31 unequal: No Solution Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[26, 84], Operations: ['62-3=59', '25+59=84'] Exploring Operation: 26+84=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,31 unequal: No Solution Exploring Operation: 26*84=2184, Resulting Numbers: [2184] 2184,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[3, 25, 36], Operations: ['62-26=36'] Exploring Operation: 36-3=33, Resulting Numbers: [25, 33] Generated Node #0,1,0: 31:[25, 33] Operation: 36-3=33 Exploring Operation: 36/3=12, Resulting Numbers: [25, 12] Generated Node #0,1,1: 31:[25, 12] Operation: 36/3=12 Exploring Operation: 3+25=28, Resulting Numbers: [36, 28] Generated Node #0,1,2: 31:[36, 28] Operation: 3+25=28 Exploring Operation: 3+36=39, Resulting Numbers: [25, 39] Generated Node #0,1,3: 31:[25, 39] Operation: 3+36=39 Exploring Operation: 25-3=22, Resulting Numbers: [36, 22] Generated Node #0,1,4: 31:[36, 22] Operation: 25-3=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[25, 33], Operations: ['62-26=36', '36-3=33'] Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 25*33=825, Resulting Numbers: [825] 825,31 unequal: No Solution Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[36, 28], Operations: ['62-26=36', '3+25=28'] Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 36*28=1008, Resulting Numbers: [1008] 1008,31 unequal: No Solution Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 31:[25, 39], Operations: ['62-26=36', '3+36=39'] Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,31 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 31:[36, 22], Operations: ['62-26=36', '25-3=22'] Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,31 unequal: No Solution Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 36*22=792, Resulting Numbers: [792] 792,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[25, 12], Operations: ['62-26=36', '36/3=12'] Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,31 unequal: No Solution Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,31 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[26, 3, 37], Operations: ['62-25=37'] Exploring Operation: 3+37=40, Resulting Numbers: [26, 40] Generated Node #0,2,0: 31:[26, 40] Operation: 3+37=40 Exploring Operation: 26-3=23, Resulting Numbers: [37, 23] Generated Node #0,2,1: 31:[37, 23] Operation: 26-3=23 Exploring Operation: 37-3=34, Resulting Numbers: [26, 34] Generated Node #0,2,2: 31:[26, 34] Operation: 37-3=34 Exploring Operation: 26+3=29, Resulting Numbers: [37, 29] Generated Node #0,2,3: 31:[37, 29] Operation: 26+3=29 Exploring Operation: 37-26=11, Resulting Numbers: [3, 11] Generated Node #0,2,4: 31:[3, 11] Operation: 37-26=11 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 31:[26, 34], Operations: ['62-25=37', '37-3=34'] Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 26*34=884, Resulting Numbers: [884] 884,31 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,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,2,3 Current State: 31:[37, 29], Operations: ['62-25=37', '26+3=29'] Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,31 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,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,2,0 Current State: 31:[26, 40], Operations: ['62-25=37', '3+37=40'] Exploring Operation: 26*40=1040, Resulting Numbers: [1040] 1040,31 unequal: No Solution Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 26+40=66, Resulting Numbers: [66] 66,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,2,1 Current State: 31:[37, 23], Operations: ['62-25=37', '26-3=23'] Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,31 unequal: No Solution Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,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,2,4 Current State: 31:[3, 11], Operations: ['62-25=37', '37-26=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,31 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[26, 62, 28], Operations: ['3+25=28'] Exploring Operation: 28-26=2, Resulting Numbers: [62, 2] Generated Node #0,3,0: 31:[62, 2] Operation: 28-26=2 Exploring Operation: 26+28=54, Resulting Numbers: [62, 54] Generated Node #0,3,1: 31:[62, 54] Operation: 26+28=54 Exploring Operation: 26+62=88, Resulting Numbers: [28, 88] Generated Node #0,3,2: 31:[28, 88] Operation: 26+62=88 Exploring Operation: 62-28=34, Resulting Numbers: [26, 34] Generated Node #0,3,3: 31:[26, 34] Operation: 62-28=34 Exploring Operation: 62-26=36, Resulting Numbers: [28, 36] Generated Node #0,3,4: 31:[28, 36] Operation: 62-26=36 Moving to Node #0,3,3 Current State: 31:[26, 34], Operations: ['3+25=28', '62-28=34'] Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 26*34=884, Resulting Numbers: [884] 884,31 unequal: No Solution Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,31 unequal: No Solution Moving to Node #0,3,4 Current State: 31:[28, 36], Operations: ['3+25=28', '62-26=36'] Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,31 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[62, 54], Operations: ['3+25=28', '26+28=54'] Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 62+54=116, Resulting Numbers: [116] 116,31 unequal: No Solution Exploring Operation: 62*54=3348, Resulting Numbers: [3348] 3348,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[62, 2], Operations: ['3+25=28', '28-26=2'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 62*2=124, Resulting Numbers: [124] 124,31 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[26, 3, 25, 62], Operations: [] Exploring Operation: 3+25=28, Resulting Numbers: [26, 62, 28] Generated Node #0,3: 31:[26, 62, 28] Operation: 3+25=28 Moving to Node #0,3 Current State: 31:[26, 62, 28], Operations: ['3+25=28'] Exploring Operation: 28-26=2, Resulting Numbers: [62, 2] Generated Node #0,3,0: 31:[62, 2] Operation: 28-26=2 Moving to Node #0,3,0 Current State: 31:[62, 2], Operations: ['3+25=28', '28-26=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.923611
hs_5
mult_heuristic
[ 67, 50, 4, 3 ]
63
[ "67-50=17", "4+17=21", "3*21=63" ]
Current State: 63:[67, 50, 4, 3], Operations: [] Exploring Operation: 67-50=17, Resulting Numbers: [4, 3, 17] Generated Node #2: [4, 3, 17] from Operation: 67-50=17 Current State: 63:[4, 3, 17], Operations: ['67-50=17'] Exploring Operation: 4+17=21, Resulting Numbers: [3, 21] Generated Node #3: [3, 21] from Operation: 4+17=21 Current State: 63:[3, 21], Operations: ['67-50=17', '4+17=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[67, 50, 4, 3], Operations: [] Exploring Operation: 67-50=17, Resulting Numbers: [4, 3, 17] Generated Node #0,0: 63:[4, 3, 17] Operation: 67-50=17 Moving to Node #0,0 Current State: 63:[4, 3, 17], Operations: ['67-50=17'] Exploring Operation: 4+17=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 63:[3, 21] Operation: 4+17=21 Moving to Node #0,0,0 Current State: 63:[3, 21], Operations: ['67-50=17', '4+17=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[67, 50, 4, 3], Operations: [] Exploring Operation: 67-50=17, Resulting Numbers: [4, 3, 17] Generated Node #0,0: 63:[4, 3, 17] Operation: 67-50=17 Moving to Node #0,0 Current State: 63:[4, 3, 17], Operations: ['67-50=17'] Exploring Operation: 4+17=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 63:[3, 21] Operation: 4+17=21 Moving to Node #0,0,0 Current State: 63:[3, 21], Operations: ['67-50=17', '4+17=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 36, 37, 30, 61 ]
90
[ "37-36=1", "30+61=91", "91-1=90" ]
Current State: 90:[36, 37, 30, 61], Operations: [] Exploring Operation: 37-36=1, Resulting Numbers: [30, 61, 1] Generated Node #2: [30, 61, 1] from Operation: 37-36=1 Current State: 90:[30, 61, 1], Operations: ['37-36=1'] Exploring Operation: 30+61=91, Resulting Numbers: [1, 91] Generated Node #3: [1, 91] from Operation: 30+61=91 Current State: 90:[1, 91], Operations: ['37-36=1', '30+61=91'] Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[36, 37, 30, 61], Operations: [] Exploring Operation: 61-37=24, Resulting Numbers: [36, 30, 24] Generated Node #0,0: 90:[36, 30, 24] Operation: 61-37=24 Exploring Operation: 61-36=25, Resulting Numbers: [37, 30, 25] Generated Node #0,1: 90:[37, 30, 25] Operation: 61-36=25 Exploring Operation: 36+61=97, Resulting Numbers: [37, 30, 97] Generated Node #0,2: 90:[37, 30, 97] Operation: 36+61=97 Moving to Node #0,0 Current State: 90:[36, 30, 24], Operations: ['61-37=24'] Exploring Operation: 30-24=6, Resulting Numbers: [36, 6] Generated Node #0,0,0: 90:[36, 6] Operation: 30-24=6 Exploring Operation: 36-30=6, Resulting Numbers: [24, 6] Generated Node #0,0,1: 90:[24, 6] Operation: 36-30=6 Exploring Operation: 36-24=12, Resulting Numbers: [30, 12] Generated Node #0,0,2: 90:[30, 12] Operation: 36-24=12 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[30, 12], Operations: ['61-37=24', '36-24=12'] Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,90 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[36, 6], Operations: ['61-37=24', '30-24=6'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[24, 6], Operations: ['61-37=24', '36-30=6'] Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 90:[37, 30, 25], Operations: ['61-36=25'] Exploring Operation: 37-30=7, Resulting Numbers: [25, 7] Generated Node #0,1,0: 90:[25, 7] Operation: 37-30=7 Exploring Operation: 30-25=5, Resulting Numbers: [37, 5] Generated Node #0,1,1: 90:[37, 5] Operation: 30-25=5 Exploring Operation: 37-25=12, Resulting Numbers: [30, 12] Generated Node #0,1,2: 90:[30, 12] Operation: 37-25=12 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 90:[30, 12], Operations: ['61-36=25', '37-25=12'] Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,90 unequal: No Solution Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[25, 7], Operations: ['61-36=25', '37-30=7'] Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,90 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,90 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[37, 5], Operations: ['61-36=25', '30-25=5'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,90 unequal: No Solution Exploring Operation: 37*5=185, Resulting Numbers: [185] 185,90 unequal: No Solution Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 90:[37, 30, 97], Operations: ['36+61=97'] Exploring Operation: 37-30=7, Resulting Numbers: [97, 7] Generated Node #0,2,0: 90:[97, 7] Operation: 37-30=7 Exploring Operation: 37+30=67, Resulting Numbers: [97, 67] Generated Node #0,2,1: 90:[97, 67] Operation: 37+30=67 Exploring Operation: 97-37=60, Resulting Numbers: [30, 60] Generated Node #0,2,2: 90:[30, 60] Operation: 97-37=60 Moving to Node #0,2,0 Current State: 90:[97, 7], Operations: ['36+61=97', '37-30=7'] Exploring Operation: 97-7=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[36, 37, 30, 61], Operations: [] Exploring Operation: 36+61=97, Resulting Numbers: [37, 30, 97] Generated Node #0,2: 90:[37, 30, 97] Operation: 36+61=97 Moving to Node #0,2 Current State: 90:[37, 30, 97], Operations: ['36+61=97'] Exploring Operation: 37-30=7, Resulting Numbers: [97, 7] Generated Node #0,2,0: 90:[97, 7] Operation: 37-30=7 Moving to Node #0,2,0 Current State: 90:[97, 7], Operations: ['36+61=97', '37-30=7'] Exploring Operation: 97-7=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.969618
hs_3
mult_heuristic
[ 2, 63, 13, 58 ]
96
[ "63+13=76", "76/2=38", "58+38=96" ]
Current State: 96:[2, 63, 13, 58], Operations: [] Exploring Operation: 63+13=76, Resulting Numbers: [2, 58, 76] Generated Node #2: [2, 58, 76] from Operation: 63+13=76 Current State: 96:[2, 58, 76], Operations: ['63+13=76'] Exploring Operation: 76/2=38, Resulting Numbers: [58, 38] Generated Node #3: [58, 38] from Operation: 76/2=38 Current State: 96:[58, 38], Operations: ['63+13=76', '76/2=38'] Exploring Operation: 58+38=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[2, 63, 13, 58], Operations: [] Exploring Operation: 63-58=5, Resulting Numbers: [2, 13, 5] Generated Node #0,0: 96:[2, 13, 5] Operation: 63-58=5 Exploring Operation: 63-13=50, Resulting Numbers: [2, 58, 50] Generated Node #0,1: 96:[2, 58, 50] Operation: 63-13=50 Exploring Operation: 58-13=45, Resulting Numbers: [2, 63, 45] Generated Node #0,2: 96:[2, 63, 45] Operation: 58-13=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[2, 13, 5], Operations: ['63-58=5'] Exploring Operation: 13-5=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 96:[2, 8] Operation: 13-5=8 Exploring Operation: 5-2=3, Resulting Numbers: [13, 3] Generated Node #0,0,1: 96:[13, 3] Operation: 5-2=3 Exploring Operation: 2+13=15, Resulting Numbers: [5, 15] Generated Node #0,0,2: 96:[5, 15] Operation: 2+13=15 Moving to Node #0,0,0 Current State: 96:[2, 8], Operations: ['63-58=5', '13-5=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,96 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[13, 3], Operations: ['63-58=5', '5-2=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,96 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[5, 15], Operations: ['63-58=5', '2+13=15'] Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,96 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[2, 58, 50], Operations: ['63-13=50'] Exploring Operation: 58-50=8, Resulting Numbers: [2, 8] Generated Node #0,1,0: 96:[2, 8] Operation: 58-50=8 Exploring Operation: 58-2=56, Resulting Numbers: [50, 56] Generated Node #0,1,1: 96:[50, 56] Operation: 58-2=56 Exploring Operation: 58/2=29, Resulting Numbers: [50, 29] Generated Node #0,1,2: 96:[50, 29] Operation: 58/2=29 Moving to Node #0,1,0 Current State: 96:[2, 8], Operations: ['63-13=50', '58-50=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,96 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[50, 29], Operations: ['63-13=50', '58/2=29'] Exploring Operation: 50*29=1450, Resulting Numbers: [1450] 1450,96 unequal: No Solution Exploring Operation: 50-29=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 50+29=79, Resulting Numbers: [79] 79,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[50, 56], Operations: ['63-13=50', '58-2=56'] Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 50*56=2800, Resulting Numbers: [2800] 2800,96 unequal: No Solution Exploring Operation: 50+56=106, Resulting Numbers: [106] 106,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[2, 63, 45], Operations: ['58-13=45'] Exploring Operation: 63-2=61, Resulting Numbers: [45, 61] Generated Node #0,2,0: 96:[45, 61] Operation: 63-2=61 Exploring Operation: 63+45=108, Resulting Numbers: [2, 108] Generated Node #0,2,1: 96:[2, 108] Operation: 63+45=108 Exploring Operation: 63-45=18, Resulting Numbers: [2, 18] Generated Node #0,2,2: 96:[2, 18] Operation: 63-45=18 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 96:[2, 18], Operations: ['58-13=45', '63-45=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,96 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 96:[2, 108], Operations: ['58-13=45', '63+45=108'] Exploring Operation: 108-2=106, Resulting Numbers: [106] 106,96 unequal: No Solution Exploring Operation: 108/2=54, Resulting Numbers: [54] 54,96 unequal: No Solution Exploring Operation: 2+108=110, Resulting Numbers: [110] 110,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 96:[45, 61], Operations: ['58-13=45', '63-2=61'] Exploring Operation: 45*61=2745, Resulting Numbers: [2745] 2745,96 unequal: No Solution Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,96 unequal: No Solution Exploring Operation: 45+61=106, Resulting Numbers: [106] 106,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 15, 50, 95, 96 ]
93
[ "95-50=45", "45/15=3", "96-3=93" ]
Current State: 93:[15, 50, 95, 96], Operations: [] Exploring Operation: 95-50=45, Resulting Numbers: [15, 96, 45] Generated Node #2: [15, 96, 45] from Operation: 95-50=45 Current State: 93:[15, 96, 45], Operations: ['95-50=45'] Exploring Operation: 45/15=3, Resulting Numbers: [96, 3] Generated Node #3: [96, 3] from Operation: 45/15=3 Current State: 93:[96, 3], Operations: ['95-50=45', '45/15=3'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[15, 50, 95, 96], Operations: [] Exploring Operation: 96-50=46, Resulting Numbers: [15, 95, 46] Generated Node #0,0: 93:[15, 95, 46] Operation: 96-50=46 Exploring Operation: 50-15=35, Resulting Numbers: [95, 96, 35] Generated Node #0,1: 93:[95, 96, 35] Operation: 50-15=35 Exploring Operation: 15+50=65, Resulting Numbers: [95, 96, 65] Generated Node #0,2: 93:[95, 96, 65] Operation: 15+50=65 Exploring Operation: 95-50=45, Resulting Numbers: [15, 96, 45] Generated Node #0,3: 93:[15, 96, 45] Operation: 95-50=45 Exploring Operation: 96-15=81, Resulting Numbers: [50, 95, 81] Generated Node #0,4: 93:[50, 95, 81] Operation: 96-15=81 Moving to Node #0,1 Current State: 93:[95, 96, 35], Operations: ['50-15=35'] Exploring Operation: 95-35=60, Resulting Numbers: [96, 60] Generated Node #0,1,0: 93:[96, 60] Operation: 95-35=60 Exploring Operation: 96-35=61, Resulting Numbers: [95, 61] Generated Node #0,1,1: 93:[95, 61] Operation: 96-35=61 Exploring Operation: 95+35=130, Resulting Numbers: [96, 130] Generated Node #0,1,2: 93:[96, 130] Operation: 95+35=130 Exploring Operation: 96+35=131, Resulting Numbers: [95, 131] Generated Node #0,1,3: 93:[95, 131] Operation: 96+35=131 Exploring Operation: 96-95=1, Resulting Numbers: [35, 1] Generated Node #0,1,4: 93:[35, 1] Operation: 96-95=1 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 93:[35, 1], Operations: ['50-15=35', '96-95=1'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,93 unequal: No Solution No 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: 93:[96, 60], Operations: ['50-15=35', '95-35=60'] Exploring Operation: 96+60=156, Resulting Numbers: [156] 156,93 unequal: No Solution Exploring Operation: 96*60=5760, Resulting Numbers: [5760] 5760,93 unequal: No Solution Exploring Operation: 96-60=36, Resulting Numbers: [36] 36,93 unequal: No Solution No 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: 93:[95, 61], Operations: ['50-15=35', '96-35=61'] Exploring Operation: 95-61=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 95+61=156, Resulting Numbers: [156] 156,93 unequal: No Solution Exploring Operation: 95*61=5795, Resulting Numbers: [5795] 5795,93 unequal: No Solution No 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: 93:[96, 130], Operations: ['50-15=35', '95+35=130'] Exploring Operation: 130-96=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 96+130=226, Resulting Numbers: [226] 226,93 unequal: No Solution Exploring Operation: 96*130=12480, Resulting Numbers: [12480] 12480,93 unequal: No Solution No 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: 93:[95, 131], Operations: ['50-15=35', '96+35=131'] Exploring Operation: 95*131=12445, Resulting Numbers: [12445] 12445,93 unequal: No Solution Exploring Operation: 95+131=226, Resulting Numbers: [226] 226,93 unequal: No Solution Exploring Operation: 131-95=36, Resulting Numbers: [36] 36,93 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: 93:[15, 96, 45], Operations: ['95-50=45'] Exploring Operation: 96-15=81, Resulting Numbers: [45, 81] Generated Node #0,3,0: 93:[45, 81] Operation: 96-15=81 Exploring Operation: 45-15=30, Resulting Numbers: [96, 30] Generated Node #0,3,1: 93:[96, 30] Operation: 45-15=30 Exploring Operation: 45/15=3, Resulting Numbers: [96, 3] Generated Node #0,3,2: 93:[96, 3] Operation: 45/15=3 Exploring Operation: 15+96=111, Resulting Numbers: [45, 111] Generated Node #0,3,3: 93:[45, 111] Operation: 15+96=111 Exploring Operation: 15+45=60, Resulting Numbers: [96, 60] Generated Node #0,3,4: 93:[96, 60] Operation: 15+45=60 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 93:[96, 3], Operations: ['95-50=45', '45/15=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 96*3=288, Resulting Numbers: [288] 288,93 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[15, 50, 95, 96], Operations: [] Exploring Operation: 95-50=45, Resulting Numbers: [15, 96, 45] Generated Node #0,3: 93:[15, 96, 45] Operation: 95-50=45 Moving to Node #0,3 Current State: 93:[15, 96, 45], Operations: ['95-50=45'] Exploring Operation: 45/15=3, Resulting Numbers: [96, 3] Generated Node #0,3,2: 93:[96, 3] Operation: 45/15=3 Moving to Node #0,3,2 Current State: 93:[96, 3], Operations: ['95-50=45', '45/15=3'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 89, 25, 32, 62 ]
31
[ "89-25=64", "32*62=1984", "1984/64=31" ]
Current State: 31:[89, 25, 32, 62], Operations: [] Exploring Operation: 89-25=64, Resulting Numbers: [32, 62, 64] Generated Node #2: [32, 62, 64] from Operation: 89-25=64 Current State: 31:[32, 62, 64], Operations: ['89-25=64'] Exploring Operation: 32*62=1984, Resulting Numbers: [64, 1984] Generated Node #3: [64, 1984] from Operation: 32*62=1984 Current State: 31:[64, 1984], Operations: ['89-25=64', '32*62=1984'] Exploring Operation: 1984/64=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[89, 25, 32, 62], Operations: [] Exploring Operation: 89-62=27, Resulting Numbers: [25, 32, 27] Generated Node #0,0: 31:[25, 32, 27] Operation: 89-62=27 Moving to Node #0,0 Current State: 31:[25, 32, 27], Operations: ['89-62=27'] Exploring Operation: 25+27=52, Resulting Numbers: [32, 52] Generated Node #0,0,0: 31:[32, 52] Operation: 25+27=52 Moving to Node #0,0,0 Current State: 31:[32, 52], Operations: ['89-62=27', '25+27=52'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,31 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 79, 92, 82, 39 ]
85
[ "92-79=13", "39/13=3", "82+3=85" ]
Current State: 85:[79, 92, 82, 39], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [82, 39, 13] Generated Node #2: [82, 39, 13] from Operation: 92-79=13 Current State: 85:[82, 39, 13], Operations: ['92-79=13'] Exploring Operation: 39/13=3, Resulting Numbers: [82, 3] Generated Node #3: [82, 3] from Operation: 39/13=3 Current State: 85:[82, 3], Operations: ['92-79=13', '39/13=3'] Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[79, 92, 82, 39], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [82, 39, 13] Generated Node #0,0: 85:[82, 39, 13] Operation: 92-79=13 Exploring Operation: 82-79=3, Resulting Numbers: [92, 39, 3] Generated Node #0,1: 85:[92, 39, 3] Operation: 82-79=3 Exploring Operation: 79-39=40, Resulting Numbers: [92, 82, 40] Generated Node #0,2: 85:[92, 82, 40] Operation: 79-39=40 Moving to Node #0,0 Current State: 85:[82, 39, 13], Operations: ['92-79=13'] Exploring Operation: 39/13=3, Resulting Numbers: [82, 3] Generated Node #0,0,0: 85:[82, 3] Operation: 39/13=3 Exploring Operation: 82-39=43, Resulting Numbers: [13, 43] Generated Node #0,0,1: 85:[13, 43] Operation: 82-39=43 Exploring Operation: 39-13=26, Resulting Numbers: [82, 26] Generated Node #0,0,2: 85:[82, 26] Operation: 39-13=26 Moving to Node #0,1 Current State: 85:[92, 39, 3], Operations: ['82-79=3'] Exploring Operation: 39-3=36, Resulting Numbers: [92, 36] Generated Node #0,1,0: 85:[92, 36] Operation: 39-3=36 Exploring Operation: 92-3=89, Resulting Numbers: [39, 89] Generated Node #0,1,1: 85:[39, 89] Operation: 92-3=89 Exploring Operation: 39/3=13, Resulting Numbers: [92, 13] Generated Node #0,1,2: 85:[92, 13] Operation: 39/3=13 Moving to Node #0,2 Current State: 85:[92, 82, 40], Operations: ['79-39=40'] Exploring Operation: 82-40=42, Resulting Numbers: [92, 42] Generated Node #0,2,0: 85:[92, 42] Operation: 82-40=42 Exploring Operation: 92-82=10, Resulting Numbers: [40, 10] Generated Node #0,2,1: 85:[40, 10] Operation: 92-82=10 Exploring Operation: 92-40=52, Resulting Numbers: [82, 52] Generated Node #0,2,2: 85:[82, 52] Operation: 92-40=52 Moving to Node #0,0,0 Current State: 85:[82, 3], Operations: ['92-79=13', '39/13=3'] Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,85 unequal: No Solution Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[79, 92, 82, 39], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [82, 39, 13] Generated Node #0,0: 85:[82, 39, 13] Operation: 92-79=13 Moving to Node #0,0 Current State: 85:[82, 39, 13], Operations: ['92-79=13'] Exploring Operation: 39/13=3, Resulting Numbers: [82, 3] Generated Node #0,0,0: 85:[82, 3] Operation: 39/13=3 Moving to Node #0,0,0 Current State: 85:[82, 3], Operations: ['92-79=13', '39/13=3'] Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
0.984375
hs_3
sum_heuristic
[ 21, 79, 3, 18 ]
64
[ "79-21=58", "18/3=6", "58+6=64" ]
Current State: 64:[21, 79, 3, 18], Operations: [] Exploring Operation: 79-21=58, Resulting Numbers: [3, 18, 58] Generated Node #2: [3, 18, 58] from Operation: 79-21=58 Current State: 64:[3, 18, 58], Operations: ['79-21=58'] Exploring Operation: 18/3=6, Resulting Numbers: [58, 6] Generated Node #3: [58, 6] from Operation: 18/3=6 Current State: 64:[58, 6], Operations: ['79-21=58', '18/3=6'] Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[21, 79, 3, 18], Operations: [] Exploring Operation: 21*3=63, Resulting Numbers: [79, 18, 63] Generated Node #0,0: 64:[79, 18, 63] Operation: 21*3=63 Exploring Operation: 79-21=58, Resulting Numbers: [3, 18, 58] Generated Node #0,1: 64:[3, 18, 58] Operation: 79-21=58 Exploring Operation: 21-18=3, Resulting Numbers: [79, 3, 3] Generated Node #0,2: 64:[79, 3, 3] Operation: 21-18=3 Exploring Operation: 79-18=61, Resulting Numbers: [21, 3, 61] Generated Node #0,3: 64:[21, 3, 61] Operation: 79-18=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[3, 18, 58], Operations: ['79-21=58'] Exploring Operation: 58-18=40, Resulting Numbers: [3, 40] Generated Node #0,1,0: 64:[3, 40] Operation: 58-18=40 Exploring Operation: 18/3=6, Resulting Numbers: [58, 6] Generated Node #0,1,1: 64:[58, 6] Operation: 18/3=6 Exploring Operation: 3+58=61, Resulting Numbers: [18, 61] Generated Node #0,1,2: 64:[18, 61] Operation: 3+58=61 Exploring Operation: 18-3=15, Resulting Numbers: [58, 15] Generated Node #0,1,3: 64:[58, 15] Operation: 18-3=15 Moving to Node #0,1,2 Current State: 64:[18, 61], Operations: ['79-21=58', '3+58=61'] Exploring Operation: 18+61=79, Resulting Numbers: [79] 79,64 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 18*61=1098, Resulting Numbers: [1098] 1098,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[58, 15], Operations: ['79-21=58', '18-3=15'] Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,64 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[58, 6], Operations: ['79-21=58', '18/3=6'] Exploring Operation: 58*6=348, Resulting Numbers: [348] 348,64 unequal: No Solution Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[21, 79, 3, 18], Operations: [] Exploring Operation: 79-21=58, Resulting Numbers: [3, 18, 58] Generated Node #0,1: 64:[3, 18, 58] Operation: 79-21=58 Moving to Node #0,1 Current State: 64:[3, 18, 58], Operations: ['79-21=58'] Exploring Operation: 18/3=6, Resulting Numbers: [58, 6] Generated Node #0,1,1: 64:[58, 6] Operation: 18/3=6 Moving to Node #0,1,1 Current State: 64:[58, 6], Operations: ['79-21=58', '18/3=6'] Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 83, 15, 32, 51 ]
14
[ "83-32=51", "51/51=1", "15-1=14" ]
Current State: 14:[83, 15, 32, 51], Operations: [] Exploring Operation: 83-32=51, Resulting Numbers: [15, 51, 51] Generated Node #2: [15, 51, 51] from Operation: 83-32=51 Current State: 14:[15, 51, 51], Operations: ['83-32=51'] Exploring Operation: 51/51=1, Resulting Numbers: [15, 1] Generated Node #3: [15, 1] from Operation: 51/51=1 Current State: 14:[15, 1], Operations: ['83-32=51', '51/51=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[83, 15, 32, 51], Operations: [] Exploring Operation: 83-51=32, Resulting Numbers: [15, 32, 32] Generated Node #0,0: 14:[15, 32, 32] Operation: 83-51=32 Moving to Node #0,0 Current State: 14:[15, 32, 32], Operations: ['83-51=32'] Exploring Operation: 32/32=1, Resulting Numbers: [15, 1] Generated Node #0,0,0: 14:[15, 1] Operation: 32/32=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[15, 1], Operations: ['83-51=32', '32/32=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[83, 15, 32, 51], Operations: [] Exploring Operation: 83-51=32, Resulting Numbers: [15, 32, 32] Generated Node #0,0: 14:[15, 32, 32] Operation: 83-51=32 Moving to Node #0,0 Current State: 14:[15, 32, 32], Operations: ['83-51=32'] Exploring Operation: 32/32=1, Resulting Numbers: [15, 1] Generated Node #0,0,0: 14:[15, 1] Operation: 32/32=1 Moving to Node #0,0,0 Current State: 14:[15, 1], Operations: ['83-51=32', '32/32=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 18, 53, 34, 65 ]
51
[ "18*34=612", "65-53=12", "612/12=51" ]
Current State: 51:[18, 53, 34, 65], Operations: [] Exploring Operation: 18*34=612, Resulting Numbers: [53, 65, 612] Generated Node #2: [53, 65, 612] from Operation: 18*34=612 Current State: 51:[53, 65, 612], Operations: ['18*34=612'] Exploring Operation: 65-53=12, Resulting Numbers: [612, 12] Generated Node #3: [612, 12] from Operation: 65-53=12 Current State: 51:[612, 12], Operations: ['18*34=612', '65-53=12'] Exploring Operation: 612/12=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[18, 53, 34, 65], Operations: [] Exploring Operation: 65-34=31, Resulting Numbers: [18, 53, 31] Generated Node #0,0: 51:[18, 53, 31] Operation: 65-34=31 Exploring Operation: 53-34=19, Resulting Numbers: [18, 65, 19] Generated Node #0,1: 51:[18, 65, 19] Operation: 53-34=19 Exploring Operation: 18+34=52, Resulting Numbers: [53, 65, 52] Generated Node #0,2: 51:[53, 65, 52] Operation: 18+34=52 Exploring Operation: 34-18=16, Resulting Numbers: [53, 65, 16] Generated Node #0,3: 51:[53, 65, 16] Operation: 34-18=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[18, 53, 31], Operations: ['65-34=31'] Exploring Operation: 18+31=49, Resulting Numbers: [53, 49] Generated Node #0,0,0: 51:[53, 49] Operation: 18+31=49 Exploring Operation: 53-18=35, Resulting Numbers: [31, 35] Generated Node #0,0,1: 51:[31, 35] Operation: 53-18=35 Exploring Operation: 31-18=13, Resulting Numbers: [53, 13] Generated Node #0,0,2: 51:[53, 13] Operation: 31-18=13 Exploring Operation: 53-31=22, Resulting Numbers: [18, 22] Generated Node #0,0,3: 51:[18, 22] Operation: 53-31=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[53, 49], Operations: ['65-34=31', '18+31=49'] Exploring Operation: 53*49=2597, Resulting Numbers: [2597] 2597,51 unequal: No Solution Exploring Operation: 53-49=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 53+49=102, Resulting Numbers: [102] 102,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[53, 13], Operations: ['65-34=31', '31-18=13'] Exploring Operation: 53*13=689, Resulting Numbers: [689] 689,51 unequal: No Solution Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,51 unequal: No Solution Exploring Operation: 53+13=66, Resulting Numbers: [66] 66,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 51:[18, 22], Operations: ['65-34=31', '53-31=22'] Exploring Operation: 18*22=396, Resulting Numbers: [396] 396,51 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[31, 35], Operations: ['65-34=31', '53-18=35'] Exploring Operation: 31*35=1085, Resulting Numbers: [1085] 1085,51 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 31+35=66, Resulting Numbers: [66] 66,51 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: 51:[18, 65, 19], Operations: ['53-34=19'] Exploring Operation: 19-18=1, Resulting Numbers: [65, 1] Generated Node #0,1,0: 51:[65, 1] Operation: 19-18=1 Exploring Operation: 65-19=46, Resulting Numbers: [18, 46] Generated Node #0,1,1: 51:[18, 46] Operation: 65-19=46 Exploring Operation: 18+19=37, Resulting Numbers: [65, 37] Generated Node #0,1,2: 51:[65, 37] Operation: 18+19=37 Exploring Operation: 65-18=47, Resulting Numbers: [19, 47] Generated Node #0,1,3: 51:[19, 47] Operation: 65-18=47 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[18, 46], Operations: ['53-34=19', '65-19=46'] Exploring Operation: 18*46=828, Resulting Numbers: [828] 828,51 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,51 unequal: No Solution Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 51:[19, 47], Operations: ['53-34=19', '65-18=47'] Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,51 unequal: No Solution Exploring Operation: 19*47=893, Resulting Numbers: [893] 893,51 unequal: No Solution Exploring Operation: 19+47=66, Resulting Numbers: [66] 66,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[65, 1], Operations: ['53-34=19', '19-18=1'] Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,51 unequal: No Solution Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,51 unequal: No Solution Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 51:[65, 37], Operations: ['53-34=19', '18+19=37'] Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,51 unequal: No Solution Exploring Operation: 65+37=102, Resulting Numbers: [102] 102,51 unequal: No Solution Exploring Operation: 65*37=2405, Resulting Numbers: [2405] 2405,51 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: 51:[53, 65, 52], Operations: ['18+34=52'] Exploring Operation: 53-52=1, Resulting Numbers: [65, 1] Generated Node #0,2,0: 51:[65, 1] Operation: 53-52=1 Exploring Operation: 65-53=12, Resulting Numbers: [52, 12] Generated Node #0,2,1: 51:[52, 12] Operation: 65-53=12 Exploring Operation: 65-52=13, Resulting Numbers: [53, 13] Generated Node #0,2,2: 51:[53, 13] Operation: 65-52=13 Exploring Operation: 53+65=118, Resulting Numbers: [52, 118] Generated Node #0,2,3: 51:[52, 118] Operation: 53+65=118 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[52, 12], Operations: ['18+34=52', '65-53=12'] Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,51 unequal: No Solution Exploring Operation: 52*12=624, Resulting Numbers: [624] 624,51 unequal: No Solution Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[53, 13], Operations: ['18+34=52', '65-52=13'] Exploring Operation: 53+13=66, Resulting Numbers: [66] 66,51 unequal: No Solution Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,51 unequal: No Solution Exploring Operation: 53*13=689, Resulting Numbers: [689] 689,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[65, 1], Operations: ['18+34=52', '53-52=1'] Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,51 unequal: No Solution Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,51 unequal: No Solution Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 51:[52, 118], Operations: ['18+34=52', '53+65=118'] Exploring Operation: 118-52=66, Resulting Numbers: [66] 66,51 unequal: No Solution Exploring Operation: 52*118=6136, Resulting Numbers: [6136] 6136,51 unequal: No Solution Exploring Operation: 52+118=170, Resulting Numbers: [170] 170,51 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: 51:[53, 65, 16], Operations: ['34-18=16'] Exploring Operation: 65-53=12, Resulting Numbers: [16, 12] Generated Node #0,3,0: 51:[16, 12] Operation: 65-53=12 Exploring Operation: 65-16=49, Resulting Numbers: [53, 49] Generated Node #0,3,1: 51:[53, 49] Operation: 65-16=49 Exploring Operation: 53+16=69, Resulting Numbers: [65, 69] Generated Node #0,3,2: 51:[65, 69] Operation: 53+16=69 Exploring Operation: 53-16=37, Resulting Numbers: [65, 37] Generated Node #0,3,3: 51:[65, 37] Operation: 53-16=37 Moving to Node #0,3,1 Current State: 51:[53, 49], Operations: ['34-18=16', '65-16=49'] Exploring Operation: 53*49=2597, Resulting Numbers: [2597] 2597,51 unequal: No Solution Exploring Operation: 53-49=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 53+49=102, Resulting Numbers: [102] 102,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[16, 12], Operations: ['34-18=16', '65-53=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,51 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[65, 37], Operations: ['34-18=16', '53-16=37'] Exploring Operation: 65+37=102, Resulting Numbers: [102] 102,51 unequal: No Solution Exploring Operation: 65*37=2405, Resulting Numbers: [2405] 2405,51 unequal: No Solution Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,51 unequal: No Solution Moving to Node #0,3,2 Current State: 51:[65, 69], Operations: ['34-18=16', '53+16=69'] Exploring Operation: 69-65=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 65+69=134, Resulting Numbers: [134] 134,51 unequal: No Solution Exploring Operation: 65*69=4485, Resulting Numbers: [4485] 4485,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 90, 51, 78, 74 ]
72
[ "90-51=39", "78/39=2", "74-2=72" ]
Current State: 72:[90, 51, 78, 74], Operations: [] Exploring Operation: 90-51=39, Resulting Numbers: [78, 74, 39] Generated Node #2: [78, 74, 39] from Operation: 90-51=39 Current State: 72:[78, 74, 39], Operations: ['90-51=39'] Exploring Operation: 78/39=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 78/39=2 Current State: 72:[74, 2], Operations: ['90-51=39', '78/39=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[90, 51, 78, 74], Operations: [] Exploring Operation: 90-51=39, Resulting Numbers: [78, 74, 39] Generated Node #0,0: 72:[78, 74, 39] Operation: 90-51=39 Exploring Operation: 90-78=12, Resulting Numbers: [51, 74, 12] Generated Node #0,1: 72:[51, 74, 12] Operation: 90-78=12 Moving to Node #0,0 Current State: 72:[78, 74, 39], Operations: ['90-51=39'] Exploring Operation: 78-74=4, Resulting Numbers: [39, 4] Generated Node #0,0,0: 72:[39, 4] Operation: 78-74=4 Exploring Operation: 78/39=2, Resulting Numbers: [74, 2] Generated Node #0,0,1: 72:[74, 2] Operation: 78/39=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[74, 2], Operations: ['90-51=39', '78/39=2'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[90, 51, 78, 74], Operations: [] Exploring Operation: 90-51=39, Resulting Numbers: [78, 74, 39] Generated Node #0,0: 72:[78, 74, 39] Operation: 90-51=39 Moving to Node #0,0 Current State: 72:[78, 74, 39], Operations: ['90-51=39'] Exploring Operation: 78/39=2, Resulting Numbers: [74, 2] Generated Node #0,0,1: 72:[74, 2] Operation: 78/39=2 Moving to Node #0,0,1 Current State: 72:[74, 2], Operations: ['90-51=39', '78/39=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 27, 28, 46, 18 ]
26
[ "46-28=18", "18/18=1", "27-1=26" ]
Current State: 26:[27, 28, 46, 18], Operations: [] Exploring Operation: 46-28=18, Resulting Numbers: [27, 18, 18] Generated Node #2: [27, 18, 18] from Operation: 46-28=18 Current State: 26:[27, 18, 18], Operations: ['46-28=18'] Exploring Operation: 18/18=1, Resulting Numbers: [27, 1] Generated Node #3: [27, 1] from Operation: 18/18=1 Current State: 26:[27, 1], Operations: ['46-28=18', '18/18=1'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[27, 28, 46, 18], Operations: [] Exploring Operation: 46-18=28, Resulting Numbers: [27, 28, 28] Generated Node #0,0: 26:[27, 28, 28] Operation: 46-18=28 Exploring Operation: 28-27=1, Resulting Numbers: [46, 18, 1] Generated Node #0,1: 26:[46, 18, 1] Operation: 28-27=1 Exploring Operation: 28-18=10, Resulting Numbers: [27, 46, 10] Generated Node #0,2: 26:[27, 46, 10] Operation: 28-18=10 Exploring Operation: 46-28=18, Resulting Numbers: [27, 18, 18] Generated Node #0,3: 26:[27, 18, 18] Operation: 46-28=18 Exploring Operation: 46-27=19, Resulting Numbers: [28, 18, 19] Generated Node #0,4: 26:[28, 18, 19] Operation: 46-27=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[27, 28, 28], Operations: ['46-18=28'] Exploring Operation: 28-27=1, Resulting Numbers: [28, 1] Generated Node #0,0,0: 26:[28, 1] Operation: 28-27=1 Exploring Operation: 27+28=55, Resulting Numbers: [28, 55] Generated Node #0,0,1: 26:[28, 55] Operation: 27+28=55 Exploring Operation: 28-28=0, Resulting Numbers: [27, 0] Generated Node #0,0,2: 26:[27, 0] Operation: 28-28=0 Exploring Operation: 28/28=1, Resulting Numbers: [27, 1] Generated Node #0,0,3: 26:[27, 1] Operation: 28/28=1 Exploring Operation: 28-27=1, Resulting Numbers: [28, 1] Generated Node #0,0,4: 26:[28, 1] Operation: 28-27=1 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 26:[27, 1], Operations: ['46-18=28', '28/28=1'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[27, 28, 46, 18], Operations: [] Exploring Operation: 46-18=28, Resulting Numbers: [27, 28, 28] Generated Node #0,0: 26:[27, 28, 28] Operation: 46-18=28 Moving to Node #0,0 Current State: 26:[27, 28, 28], Operations: ['46-18=28'] Exploring Operation: 28/28=1, Resulting Numbers: [27, 1] Generated Node #0,0,3: 26:[27, 1] Operation: 28/28=1 Moving to Node #0,0,3 Current State: 26:[27, 1], Operations: ['46-18=28', '28/28=1'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 45, 31, 55, 38 ]
70
[ "55-45=10", "38-31=7", "10*7=70" ]
Current State: 70:[45, 31, 55, 38], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [31, 38, 10] Generated Node #2: [31, 38, 10] from Operation: 55-45=10 Current State: 70:[31, 38, 10], Operations: ['55-45=10'] Exploring Operation: 38-31=7, Resulting Numbers: [10, 7] Generated Node #3: [10, 7] from Operation: 38-31=7 Current State: 70:[10, 7], Operations: ['55-45=10', '38-31=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[45, 31, 55, 38], Operations: [] Exploring Operation: 55-38=17, Resulting Numbers: [45, 31, 17] Generated Node #0,0: 70:[45, 31, 17] Operation: 55-38=17 Exploring Operation: 55-45=10, Resulting Numbers: [31, 38, 10] Generated Node #0,1: 70:[31, 38, 10] Operation: 55-45=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[31, 38, 10], Operations: ['55-45=10'] Exploring Operation: 38-31=7, Resulting Numbers: [10, 7] Generated Node #0,1,0: 70:[10, 7] Operation: 38-31=7 Exploring Operation: 31+38=69, Resulting Numbers: [10, 69] Generated Node #0,1,1: 70:[10, 69] Operation: 31+38=69 Moving to Node #0,1,0 Current State: 70:[10, 7], Operations: ['55-45=10', '38-31=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[45, 31, 55, 38], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [31, 38, 10] Generated Node #0,1: 70:[31, 38, 10] Operation: 55-45=10 Moving to Node #0,1 Current State: 70:[31, 38, 10], Operations: ['55-45=10'] Exploring Operation: 38-31=7, Resulting Numbers: [10, 7] Generated Node #0,1,0: 70:[10, 7] Operation: 38-31=7 Moving to Node #0,1,0 Current State: 70:[10, 7], Operations: ['55-45=10', '38-31=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 88, 5, 42, 40 ]
85
[ "88-5=83", "42-40=2", "83+2=85" ]
Current State: 85:[88, 5, 42, 40], Operations: [] Exploring Operation: 88-5=83, Resulting Numbers: [42, 40, 83] Generated Node #2: [42, 40, 83] from Operation: 88-5=83 Current State: 85:[42, 40, 83], Operations: ['88-5=83'] Exploring Operation: 42-40=2, Resulting Numbers: [83, 2] Generated Node #3: [83, 2] from Operation: 42-40=2 Current State: 85:[83, 2], Operations: ['88-5=83', '42-40=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[88, 5, 42, 40], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [88, 5, 2] Generated Node #0,0: 85:[88, 5, 2] Operation: 42-40=2 Exploring Operation: 42+40=82, Resulting Numbers: [88, 5, 82] Generated Node #0,1: 85:[88, 5, 82] Operation: 42+40=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[88, 5, 2], Operations: ['42-40=2'] Exploring Operation: 88-2=86, Resulting Numbers: [5, 86] Generated Node #0,0,0: 85:[5, 86] Operation: 88-2=86 Exploring Operation: 88-5=83, Resulting Numbers: [2, 83] Generated Node #0,0,1: 85:[2, 83] Operation: 88-5=83 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[5, 86], Operations: ['42-40=2', '88-2=86'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,85 unequal: No Solution No 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: 85:[2, 83], Operations: ['42-40=2', '88-5=83'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[88, 5, 42, 40], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [88, 5, 2] Generated Node #0,0: 85:[88, 5, 2] Operation: 42-40=2 Moving to Node #0,0 Current State: 85:[88, 5, 2], Operations: ['42-40=2'] Exploring Operation: 88-5=83, Resulting Numbers: [2, 83] Generated Node #0,0,1: 85:[2, 83] Operation: 88-5=83 Moving to Node #0,0,1 Current State: 85:[2, 83], Operations: ['42-40=2', '88-5=83'] Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 43, 83, 70, 39 ]
17
[ "43+83=126", "70+39=109", "126-109=17" ]
Current State: 17:[43, 83, 70, 39], Operations: [] Exploring Operation: 43+83=126, Resulting Numbers: [70, 39, 126] Generated Node #2: [70, 39, 126] from Operation: 43+83=126 Current State: 17:[70, 39, 126], Operations: ['43+83=126'] Exploring Operation: 70+39=109, Resulting Numbers: [126, 109] Generated Node #3: [126, 109] from Operation: 70+39=109 Current State: 17:[126, 109], Operations: ['43+83=126', '70+39=109'] Exploring Operation: 126-109=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[43, 83, 70, 39], Operations: [] Exploring Operation: 70-43=27, Resulting Numbers: [83, 39, 27] Generated Node #0,0: 17:[83, 39, 27] Operation: 70-43=27 Exploring Operation: 83-70=13, Resulting Numbers: [43, 39, 13] Generated Node #0,1: 17:[43, 39, 13] Operation: 83-70=13 Exploring Operation: 83-43=40, Resulting Numbers: [70, 39, 40] Generated Node #0,2: 17:[70, 39, 40] Operation: 83-43=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[43, 39, 13], Operations: ['83-70=13'] Exploring Operation: 43-39=4, Resulting Numbers: [13, 4] Generated Node #0,1,0: 17:[13, 4] Operation: 43-39=4 Exploring Operation: 39-13=26, Resulting Numbers: [43, 26] Generated Node #0,1,1: 17:[43, 26] Operation: 39-13=26 Exploring Operation: 43-13=30, Resulting Numbers: [39, 30] Generated Node #0,1,2: 17:[39, 30] Operation: 43-13=30 Moving to Node #0,1,0 Current State: 17:[13, 4], Operations: ['83-70=13', '43-39=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[43, 83, 70, 39], Operations: [] Exploring Operation: 83-70=13, Resulting Numbers: [43, 39, 13] Generated Node #0,1: 17:[43, 39, 13] Operation: 83-70=13 Moving to Node #0,1 Current State: 17:[43, 39, 13], Operations: ['83-70=13'] Exploring Operation: 43-39=4, Resulting Numbers: [13, 4] Generated Node #0,1,0: 17:[13, 4] Operation: 43-39=4 Moving to Node #0,1,0 Current State: 17:[13, 4], Operations: ['83-70=13', '43-39=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 8, 32, 45, 79 ]
10
[ "32-8=24", "79-45=34", "34-24=10" ]
Current State: 10:[8, 32, 45, 79], Operations: [] Exploring Operation: 32-8=24, Resulting Numbers: [45, 79, 24] Generated Node #2: [45, 79, 24] from Operation: 32-8=24 Current State: 10:[45, 79, 24], Operations: ['32-8=24'] Exploring Operation: 79-45=34, Resulting Numbers: [24, 34] Generated Node #3: [24, 34] from Operation: 79-45=34 Current State: 10:[24, 34], Operations: ['32-8=24', '79-45=34'] Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[8, 32, 45, 79], Operations: [] Exploring Operation: 79-45=34, Resulting Numbers: [8, 32, 34] Generated Node #0,0: 10:[8, 32, 34] Operation: 79-45=34 Exploring Operation: 79-32=47, Resulting Numbers: [8, 45, 47] Generated Node #0,1: 10:[8, 45, 47] Operation: 79-32=47 Exploring Operation: 45-32=13, Resulting Numbers: [8, 79, 13] Generated Node #0,2: 10:[8, 79, 13] Operation: 45-32=13 Exploring Operation: 32/8=4, Resulting Numbers: [45, 79, 4] Generated Node #0,3: 10:[45, 79, 4] Operation: 32/8=4 Moving to Node #0,0 Current State: 10:[8, 32, 34], Operations: ['79-45=34'] Exploring Operation: 32-8=24, Resulting Numbers: [34, 24] Generated Node #0,0,0: 10:[34, 24] Operation: 32-8=24 Exploring Operation: 32/8=4, Resulting Numbers: [34, 4] Generated Node #0,0,1: 10:[34, 4] Operation: 32/8=4 Exploring Operation: 34-8=26, Resulting Numbers: [32, 26] Generated Node #0,0,2: 10:[32, 26] Operation: 34-8=26 Exploring Operation: 34-32=2, Resulting Numbers: [8, 2] Generated Node #0,0,3: 10:[8, 2] Operation: 34-32=2 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 10:[8, 2], Operations: ['79-45=34', '34-32=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[8, 32, 45, 79], Operations: [] Exploring Operation: 79-45=34, Resulting Numbers: [8, 32, 34] Generated Node #0,0: 10:[8, 32, 34] Operation: 79-45=34 Moving to Node #0,0 Current State: 10:[8, 32, 34], Operations: ['79-45=34'] Exploring Operation: 34-32=2, Resulting Numbers: [8, 2] Generated Node #0,0,3: 10:[8, 2] Operation: 34-32=2 Moving to Node #0,0,3 Current State: 10:[8, 2], Operations: ['79-45=34', '34-32=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 79, 38, 66, 33 ]
39
[ "79-38=41", "66/33=2", "41-2=39" ]
Current State: 39:[79, 38, 66, 33], Operations: [] Exploring Operation: 79-38=41, Resulting Numbers: [66, 33, 41] Generated Node #2: [66, 33, 41] from Operation: 79-38=41 Current State: 39:[66, 33, 41], Operations: ['79-38=41'] Exploring Operation: 66/33=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 66/33=2 Current State: 39:[41, 2], Operations: ['79-38=41', '66/33=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[79, 38, 66, 33], Operations: [] Exploring Operation: 79-38=41, Resulting Numbers: [66, 33, 41] Generated Node #0,0: 39:[66, 33, 41] Operation: 79-38=41 Exploring Operation: 79-66=13, Resulting Numbers: [38, 33, 13] Generated Node #0,1: 39:[38, 33, 13] Operation: 79-66=13 Moving to Node #0,1 Current State: 39:[38, 33, 13], Operations: ['79-66=13'] Exploring Operation: 33+13=46, Resulting Numbers: [38, 46] Generated Node #0,1,0: 39:[38, 46] Operation: 33+13=46 Exploring Operation: 38-33=5, Resulting Numbers: [13, 5] Generated Node #0,1,1: 39:[13, 5] Operation: 38-33=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[13, 5], Operations: ['79-66=13', '38-33=5'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[38, 46], Operations: ['79-66=13', '33+13=46'] Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,39 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: 39:[66, 33, 41], Operations: ['79-38=41'] Exploring Operation: 66/33=2, Resulting Numbers: [41, 2] Generated Node #0,0,0: 39:[41, 2] Operation: 66/33=2 Exploring Operation: 66-33=33, Resulting Numbers: [41, 33] Generated Node #0,0,1: 39:[41, 33] Operation: 66-33=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[41, 2], Operations: ['79-38=41', '66/33=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,39 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[79, 38, 66, 33], Operations: [] Exploring Operation: 79-38=41, Resulting Numbers: [66, 33, 41] Generated Node #0,0: 39:[66, 33, 41] Operation: 79-38=41 Moving to Node #0,0 Current State: 39:[66, 33, 41], Operations: ['79-38=41'] Exploring Operation: 66/33=2, Resulting Numbers: [41, 2] Generated Node #0,0,0: 39:[41, 2] Operation: 66/33=2 Moving to Node #0,0,0 Current State: 39:[41, 2], Operations: ['79-38=41', '66/33=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 92, 10, 88, 36 ]
30
[ "92-10=82", "88-36=52", "82-52=30" ]
Current State: 30:[92, 10, 88, 36], Operations: [] Exploring Operation: 92-10=82, Resulting Numbers: [88, 36, 82] Generated Node #2: [88, 36, 82] from Operation: 92-10=82 Current State: 30:[88, 36, 82], Operations: ['92-10=82'] Exploring Operation: 88-36=52, Resulting Numbers: [82, 52] Generated Node #3: [82, 52] from Operation: 88-36=52 Current State: 30:[82, 52], Operations: ['92-10=82', '88-36=52'] Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[92, 10, 88, 36], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [10, 36, 4] Generated Node #0,0: 30:[10, 36, 4] Operation: 92-88=4 Moving to Node #0,0 Current State: 30:[10, 36, 4], Operations: ['92-88=4'] Exploring Operation: 36/4=9, Resulting Numbers: [10, 9] Generated Node #0,0,0: 30:[10, 9] Operation: 36/4=9 Moving to Node #0,0,0 Current State: 30:[10, 9], Operations: ['92-88=4', '36/4=9'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,30 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 36, 64, 67, 88 ]
100
[ "67-64=3", "36/3=12", "88+12=100" ]
Current State: 100:[36, 64, 67, 88], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [36, 88, 3] Generated Node #2: [36, 88, 3] from Operation: 67-64=3 Current State: 100:[36, 88, 3], Operations: ['67-64=3'] Exploring Operation: 36/3=12, Resulting Numbers: [88, 12] Generated Node #3: [88, 12] from Operation: 36/3=12 Current State: 100:[88, 12], Operations: ['67-64=3', '36/3=12'] Exploring Operation: 88+12=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[36, 64, 67, 88], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [36, 88, 3] Generated Node #0,0: 100:[36, 88, 3] Operation: 67-64=3 Exploring Operation: 88-67=21, Resulting Numbers: [36, 64, 21] Generated Node #0,1: 100:[36, 64, 21] Operation: 88-67=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[36, 88, 3], Operations: ['67-64=3'] Exploring Operation: 36/3=12, Resulting Numbers: [88, 12] Generated Node #0,0,0: 100:[88, 12] Operation: 36/3=12 Exploring Operation: 88-36=52, Resulting Numbers: [3, 52] Generated Node #0,0,1: 100:[3, 52] Operation: 88-36=52 Moving to Node #0,0,1 Current State: 100:[3, 52], Operations: ['67-64=3', '88-36=52'] Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[88, 12], Operations: ['67-64=3', '36/3=12'] Exploring Operation: 88+12=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[36, 64, 67, 88], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [36, 88, 3] Generated Node #0,0: 100:[36, 88, 3] Operation: 67-64=3 Moving to Node #0,0 Current State: 100:[36, 88, 3], Operations: ['67-64=3'] Exploring Operation: 36/3=12, Resulting Numbers: [88, 12] Generated Node #0,0,0: 100:[88, 12] Operation: 36/3=12 Moving to Node #0,0,0 Current State: 100:[88, 12], Operations: ['67-64=3', '36/3=12'] Exploring Operation: 88+12=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 51, 17, 47, 6 ]
27
[ "51+17=68", "47-6=41", "68-41=27" ]
Current State: 27:[51, 17, 47, 6], Operations: [] Exploring Operation: 51+17=68, Resulting Numbers: [47, 6, 68] Generated Node #2: [47, 6, 68] from Operation: 51+17=68 Current State: 27:[47, 6, 68], Operations: ['51+17=68'] Exploring Operation: 47-6=41, Resulting Numbers: [68, 41] Generated Node #3: [68, 41] from Operation: 47-6=41 Current State: 27:[68, 41], Operations: ['51+17=68', '47-6=41'] Exploring Operation: 68-41=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[51, 17, 47, 6], Operations: [] Exploring Operation: 47-17=30, Resulting Numbers: [51, 6, 30] Generated Node #0,0: 27:[51, 6, 30] Operation: 47-17=30 Exploring Operation: 51-6=45, Resulting Numbers: [17, 47, 45] Generated Node #0,1: 27:[17, 47, 45] Operation: 51-6=45 Exploring Operation: 51-47=4, Resulting Numbers: [17, 6, 4] Generated Node #0,2: 27:[17, 6, 4] Operation: 51-47=4 Exploring Operation: 51-17=34, Resulting Numbers: [47, 6, 34] Generated Node #0,3: 27:[47, 6, 34] Operation: 51-17=34 Exploring Operation: 51/17=3, Resulting Numbers: [47, 6, 3] Generated Node #0,4: 27:[47, 6, 3] Operation: 51/17=3 Moving to Node #0,2 Current State: 27:[17, 6, 4], Operations: ['51-47=4'] Exploring Operation: 17-4=13, Resulting Numbers: [6, 13] Generated Node #0,2,0: 27:[6, 13] Operation: 17-4=13 Exploring Operation: 17+4=21, Resulting Numbers: [6, 21] Generated Node #0,2,1: 27:[6, 21] Operation: 17+4=21 Exploring Operation: 6+4=10, Resulting Numbers: [17, 10] Generated Node #0,2,2: 27:[17, 10] Operation: 6+4=10 Exploring Operation: 17-6=11, Resulting Numbers: [4, 11] Generated Node #0,2,3: 27:[4, 11] Operation: 17-6=11 Exploring Operation: 17+6=23, Resulting Numbers: [4, 23] Generated Node #0,2,4: 27:[4, 23] Operation: 17+6=23 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 27:[4, 11], Operations: ['51-47=4', '17-6=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,27 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 27:[4, 23], Operations: ['51-47=4', '17+6=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,27 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[51, 17, 47, 6], Operations: [] Exploring Operation: 51-47=4, Resulting Numbers: [17, 6, 4] Generated Node #0,2: 27:[17, 6, 4] Operation: 51-47=4 Moving to Node #0,2 Current State: 27:[17, 6, 4], Operations: ['51-47=4'] Exploring Operation: 17+6=23, Resulting Numbers: [4, 23] Generated Node #0,2,4: 27:[4, 23] Operation: 17+6=23 Moving to Node #0,2,4 Current State: 27:[4, 23], Operations: ['51-47=4', '17+6=23'] Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 79, 14, 81, 1 ]
12
[ "79+14=93", "81*1=81", "93-81=12" ]
Current State: 12:[79, 14, 81, 1], Operations: [] Exploring Operation: 79+14=93, Resulting Numbers: [81, 1, 93] Generated Node #2: [81, 1, 93] from Operation: 79+14=93 Current State: 12:[81, 1, 93], Operations: ['79+14=93'] Exploring Operation: 81*1=81, Resulting Numbers: [93, 81] Generated Node #3: [93, 81] from Operation: 81*1=81 Current State: 12:[93, 81], Operations: ['79+14=93', '81*1=81'] Exploring Operation: 93-81=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[79, 14, 81, 1], Operations: [] Exploring Operation: 79-14=65, Resulting Numbers: [81, 1, 65] Generated Node #0,0: 12:[81, 1, 65] Operation: 79-14=65 Exploring Operation: 81-79=2, Resulting Numbers: [14, 1, 2] Generated Node #0,1: 12:[14, 1, 2] Operation: 81-79=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[14, 1, 2], Operations: ['81-79=2'] Exploring Operation: 14-1=13, Resulting Numbers: [2, 13] Generated Node #0,1,0: 12:[2, 13] Operation: 14-1=13 Exploring Operation: 14-2=12, Resulting Numbers: [1, 12] Generated Node #0,1,1: 12:[1, 12] Operation: 14-2=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[2, 13], Operations: ['81-79=2', '14-1=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[1, 12], Operations: ['81-79=2', '14-2=12'] Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[79, 14, 81, 1], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [14, 1, 2] Generated Node #0,1: 12:[14, 1, 2] Operation: 81-79=2 Moving to Node #0,1 Current State: 12:[14, 1, 2], Operations: ['81-79=2'] Exploring Operation: 14-2=12, Resulting Numbers: [1, 12] Generated Node #0,1,1: 12:[1, 12] Operation: 14-2=12 Moving to Node #0,1,1 Current State: 12:[1, 12], Operations: ['81-79=2', '14-2=12'] Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 41, 38, 62, 62 ]
80
[ "41+38=79", "62/62=1", "79+1=80" ]
Current State: 80:[41, 38, 62, 62], Operations: [] Exploring Operation: 41+38=79, Resulting Numbers: [62, 62, 79] Generated Node #2: [62, 62, 79] from Operation: 41+38=79 Current State: 80:[62, 62, 79], Operations: ['41+38=79'] Exploring Operation: 62/62=1, Resulting Numbers: [79, 1] Generated Node #3: [79, 1] from Operation: 62/62=1 Current State: 80:[79, 1], Operations: ['41+38=79', '62/62=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[41, 38, 62, 62], Operations: [] Exploring Operation: 62-38=24, Resulting Numbers: [41, 62, 24] Generated Node #0,0: 80:[41, 62, 24] Operation: 62-38=24 Exploring Operation: 62/62=1, Resulting Numbers: [41, 38, 1] Generated Node #0,1: 80:[41, 38, 1] Operation: 62/62=1 Exploring Operation: 62-62=0, Resulting Numbers: [41, 38, 0] Generated Node #0,2: 80:[41, 38, 0] Operation: 62-62=0 Exploring Operation: 62-41=21, Resulting Numbers: [38, 62, 21] Generated Node #0,3: 80:[38, 62, 21] Operation: 62-41=21 Exploring Operation: 62-41=21, Resulting Numbers: [38, 62, 21] Generated Node #0,4: 80:[38, 62, 21] Operation: 62-41=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[41, 38, 1], Operations: ['62/62=1'] Exploring Operation: 41*1=41, Resulting Numbers: [38, 41] Generated Node #0,1,0: 80:[38, 41] Operation: 41*1=41 Exploring Operation: 41+38=79, Resulting Numbers: [1, 79] Generated Node #0,1,1: 80:[1, 79] Operation: 41+38=79 Exploring Operation: 38+1=39, Resulting Numbers: [41, 39] Generated Node #0,1,2: 80:[41, 39] Operation: 38+1=39 Exploring Operation: 41-1=40, Resulting Numbers: [38, 40] Generated Node #0,1,3: 80:[38, 40] Operation: 41-1=40 Exploring Operation: 41-38=3, Resulting Numbers: [1, 3] Generated Node #0,1,4: 80:[1, 3] Operation: 41-38=3 Moving to Node #0,1,1 Current State: 80:[1, 79], Operations: ['62/62=1', '41+38=79'] Exploring Operation: 1*79=79, Resulting Numbers: [79] 79,80 unequal: No Solution Exploring Operation: 1+79=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[41, 38, 62, 62], Operations: [] Exploring Operation: 62/62=1, Resulting Numbers: [41, 38, 1] Generated Node #0,1: 80:[41, 38, 1] Operation: 62/62=1 Moving to Node #0,1 Current State: 80:[41, 38, 1], Operations: ['62/62=1'] Exploring Operation: 41+38=79, Resulting Numbers: [1, 79] Generated Node #0,1,1: 80:[1, 79] Operation: 41+38=79 Moving to Node #0,1,1 Current State: 80:[1, 79], Operations: ['62/62=1', '41+38=79'] Exploring Operation: 1+79=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 3, 3, 40, 55 ]
42
[ "55-40=15", "3*15=45", "45-3=42" ]
Current State: 42:[3, 3, 40, 55], Operations: [] Exploring Operation: 55-40=15, Resulting Numbers: [3, 3, 15] Generated Node #2: [3, 3, 15] from Operation: 55-40=15 Current State: 42:[3, 3, 15], Operations: ['55-40=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,42 equal: Goal Reached Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[3, 3, 40, 55], Operations: [] Exploring Operation: 3+40=43, Resulting Numbers: [3, 55, 43] Generated Node #0,0: 42:[3, 55, 43] Operation: 3+40=43 Exploring Operation: 55-3=52, Resulting Numbers: [3, 40, 52] Generated Node #0,1: 42:[3, 40, 52] Operation: 55-3=52 Exploring Operation: 55-3=52, Resulting Numbers: [3, 40, 52] Generated Node #0,2: 42:[3, 40, 52] Operation: 55-3=52 Exploring Operation: 55-40=15, Resulting Numbers: [3, 3, 15] Generated Node #0,3: 42:[3, 3, 15] Operation: 55-40=15 Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[3, 3, 15], Operations: ['55-40=15'] Exploring Operation: 15/3=5, Resulting Numbers: [3, 5] Generated Node #0,3,0: 42:[3, 5] Operation: 15/3=5 Exploring Operation: 15/3=5, Resulting Numbers: [3, 5] Generated Node #0,3,1: 42:[3, 5] Operation: 15/3=5 Exploring Operation: 3+3=6, Resulting Numbers: [15, 6] Generated Node #0,3,2: 42:[15, 6] Operation: 3+3=6 Exploring Operation: 3/3=1, Resulting Numbers: [15, 1] Generated Node #0,3,3: 42:[15, 1] Operation: 3/3=1 Moving to Node #0,3,0 Current State: 42:[3, 5], Operations: ['55-40=15', '15/3=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[15, 6], Operations: ['55-40=15', '3+3=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[3, 5], Operations: ['55-40=15', '15/3=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[15, 1], Operations: ['55-40=15', '3/3=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,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,1 Current State: 42:[3, 40, 52], Operations: ['55-3=52'] Exploring Operation: 52-40=12, Resulting Numbers: [3, 12] Generated Node #0,1,0: 42:[3, 12] Operation: 52-40=12 Exploring Operation: 40-3=37, Resulting Numbers: [52, 37] Generated Node #0,1,1: 42:[52, 37] Operation: 40-3=37 Exploring Operation: 3+40=43, Resulting Numbers: [52, 43] Generated Node #0,1,2: 42:[52, 43] Operation: 3+40=43 Exploring Operation: 52-3=49, Resulting Numbers: [40, 49] Generated Node #0,1,3: 42:[40, 49] Operation: 52-3=49 Moving to Node #0,1,0 Current State: 42:[3, 12], Operations: ['55-3=52', '52-40=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[40, 49], Operations: ['55-3=52', '52-3=49'] Exploring Operation: 40*49=1960, Resulting Numbers: [1960] 1960,42 unequal: No Solution Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 40+49=89, Resulting Numbers: [89] 89,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[52, 43], Operations: ['55-3=52', '3+40=43'] Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 52+43=95, Resulting Numbers: [95] 95,42 unequal: No Solution Exploring Operation: 52*43=2236, Resulting Numbers: [2236] 2236,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[52, 37], Operations: ['55-3=52', '40-3=37'] Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,42 unequal: No Solution Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,42 unequal: No Solution Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,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,2 Current State: 42:[3, 40, 52], Operations: ['55-3=52'] Exploring Operation: 3+40=43, Resulting Numbers: [52, 43] Generated Node #0,2,0: 42:[52, 43] Operation: 3+40=43 Exploring Operation: 40-3=37, Resulting Numbers: [52, 37] Generated Node #0,2,1: 42:[52, 37] Operation: 40-3=37 Exploring Operation: 52-40=12, Resulting Numbers: [3, 12] Generated Node #0,2,2: 42:[3, 12] Operation: 52-40=12 Exploring Operation: 52-3=49, Resulting Numbers: [40, 49] Generated Node #0,2,3: 42:[40, 49] Operation: 52-3=49 Moving to Node #0,2,2 Current State: 42:[3, 12], Operations: ['55-3=52', '52-40=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[40, 49], Operations: ['55-3=52', '52-3=49'] Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 40*49=1960, Resulting Numbers: [1960] 1960,42 unequal: No Solution Exploring Operation: 40+49=89, Resulting Numbers: [89] 89,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[52, 43], Operations: ['55-3=52', '3+40=43'] Exploring Operation: 52+43=95, Resulting Numbers: [95] 95,42 unequal: No Solution Exploring Operation: 52*43=2236, Resulting Numbers: [2236] 2236,42 unequal: No Solution Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[52, 37], Operations: ['55-3=52', '40-3=37'] Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,42 unequal: No Solution Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,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,0 Current State: 42:[3, 55, 43], Operations: ['3+40=43'] Exploring Operation: 55-3=52, Resulting Numbers: [43, 52] Generated Node #0,0,0: 42:[43, 52] Operation: 55-3=52 Exploring Operation: 3+55=58, Resulting Numbers: [43, 58] Generated Node #0,0,1: 42:[43, 58] Operation: 3+55=58 Exploring Operation: 43-3=40, Resulting Numbers: [55, 40] Generated Node #0,0,2: 42:[55, 40] Operation: 43-3=40 Exploring Operation: 55-43=12, Resulting Numbers: [3, 12] Generated Node #0,0,3: 42:[3, 12] Operation: 55-43=12 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 42:[3, 12], Operations: ['3+40=43', '55-43=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[43, 52], Operations: ['3+40=43', '55-3=52'] Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 43+52=95, Resulting Numbers: [95] 95,42 unequal: No Solution Exploring Operation: 43*52=2236, Resulting Numbers: [2236] 2236,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[55, 40], Operations: ['3+40=43', '43-3=40'] Exploring Operation: 55+40=95, Resulting Numbers: [95] 95,42 unequal: No Solution Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 55*40=2200, Resulting Numbers: [2200] 2200,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[43, 58], Operations: ['3+40=43', '3+55=58'] Exploring Operation: 43+58=101, Resulting Numbers: [101] 101,42 unequal: No Solution Exploring Operation: 43*58=2494, Resulting Numbers: [2494] 2494,42 unequal: No Solution Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 41, 76, 36, 17 ]
64
[ "41+76=117", "36+17=53", "117-53=64" ]
Current State: 64:[41, 76, 36, 17], Operations: [] Exploring Operation: 41+76=117, Resulting Numbers: [36, 17, 117] Generated Node #2: [36, 17, 117] from Operation: 41+76=117 Current State: 64:[36, 17, 117], Operations: ['41+76=117'] Exploring Operation: 36+17=53, Resulting Numbers: [117, 53] Generated Node #3: [117, 53] from Operation: 36+17=53 Current State: 64:[117, 53], Operations: ['41+76=117', '36+17=53'] Exploring Operation: 117-53=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[41, 76, 36, 17], Operations: [] Exploring Operation: 76-17=59, Resulting Numbers: [41, 36, 59] Generated Node #0,0: 64:[41, 36, 59] Operation: 76-17=59 Exploring Operation: 76-41=35, Resulting Numbers: [36, 17, 35] Generated Node #0,1: 64:[36, 17, 35] Operation: 76-41=35 Exploring Operation: 76-36=40, Resulting Numbers: [41, 17, 40] Generated Node #0,2: 64:[41, 17, 40] Operation: 76-36=40 Exploring Operation: 41-36=5, Resulting Numbers: [76, 17, 5] Generated Node #0,3: 64:[76, 17, 5] Operation: 41-36=5 Moving to Node #0,1 Current State: 64:[36, 17, 35], Operations: ['76-41=35'] Exploring Operation: 36-35=1, Resulting Numbers: [17, 1] Generated Node #0,1,0: 64:[17, 1] Operation: 36-35=1 Exploring Operation: 36+35=71, Resulting Numbers: [17, 71] Generated Node #0,1,1: 64:[17, 71] Operation: 36+35=71 Exploring Operation: 36-17=19, Resulting Numbers: [35, 19] Generated Node #0,1,2: 64:[35, 19] Operation: 36-17=19 Exploring Operation: 35-17=18, Resulting Numbers: [36, 18] Generated Node #0,1,3: 64:[36, 18] Operation: 35-17=18 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[17, 1], Operations: ['76-41=35', '36-35=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[35, 19], Operations: ['76-41=35', '36-17=19'] Exploring Operation: 35*19=665, Resulting Numbers: [665] 665,64 unequal: No Solution Exploring Operation: 35+19=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,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,3 Current State: 64:[36, 18], Operations: ['76-41=35', '35-17=18'] Exploring Operation: 36+18=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 36*18=648, Resulting Numbers: [648] 648,64 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,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,1 Current State: 64:[17, 71], Operations: ['76-41=35', '36+35=71'] Exploring Operation: 17+71=88, Resulting Numbers: [88] 88,64 unequal: No Solution Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 17*71=1207, Resulting Numbers: [1207] 1207,64 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: 64:[76, 17, 5], Operations: ['41-36=5'] Exploring Operation: 76+5=81, Resulting Numbers: [17, 81] Generated Node #0,3,0: 64:[17, 81] Operation: 76+5=81 Exploring Operation: 76-5=71, Resulting Numbers: [17, 71] Generated Node #0,3,1: 64:[17, 71] Operation: 76-5=71 Exploring Operation: 17-5=12, Resulting Numbers: [76, 12] Generated Node #0,3,2: 64:[76, 12] Operation: 17-5=12 Exploring Operation: 76-17=59, Resulting Numbers: [5, 59] Generated Node #0,3,3: 64:[5, 59] Operation: 76-17=59 Moving to Node #0,2 Current State: 64:[41, 17, 40], Operations: ['76-36=40'] Exploring Operation: 41-17=24, Resulting Numbers: [40, 24] Generated Node #0,2,0: 64:[40, 24] Operation: 41-17=24 Exploring Operation: 41+17=58, Resulting Numbers: [40, 58] Generated Node #0,2,1: 64:[40, 58] Operation: 41+17=58 Exploring Operation: 17+40=57, Resulting Numbers: [41, 57] Generated Node #0,2,2: 64:[41, 57] Operation: 17+40=57 Exploring Operation: 41-40=1, Resulting Numbers: [17, 1] Generated Node #0,2,3: 64:[17, 1] Operation: 41-40=1 Moving to Node #0,0 Current State: 64:[41, 36, 59], Operations: ['76-17=59'] Exploring Operation: 59-36=23, Resulting Numbers: [41, 23] Generated Node #0,0,0: 64:[41, 23] Operation: 59-36=23 Exploring Operation: 59-41=18, Resulting Numbers: [36, 18] Generated Node #0,0,1: 64:[36, 18] Operation: 59-41=18 Exploring Operation: 41-36=5, Resulting Numbers: [59, 5] Generated Node #0,0,2: 64:[59, 5] Operation: 41-36=5 Exploring Operation: 41+36=77, Resulting Numbers: [59, 77] Generated Node #0,0,3: 64:[59, 77] Operation: 41+36=77 Moving to Node #0,2,3 Current State: 64:[17, 1], Operations: ['76-36=40', '41-40=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,64 unequal: No Solution Moving to Node #0,3,3 Current State: 64:[5, 59], Operations: ['41-36=5', '76-17=59'] Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[41, 76, 36, 17], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [76, 17, 5] Generated Node #0,3: 64:[76, 17, 5] Operation: 41-36=5 Moving to Node #0,3 Current State: 64:[76, 17, 5], Operations: ['41-36=5'] Exploring Operation: 76-17=59, Resulting Numbers: [5, 59] Generated Node #0,3,3: 64:[5, 59] Operation: 76-17=59 Moving to Node #0,3,3 Current State: 64:[5, 59], Operations: ['41-36=5', '76-17=59'] Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.962674
hs_4
mult_heuristic
[ 64, 2, 19, 61 ]
13
[ "64-61=3", "2*3=6", "19-6=13" ]
Current State: 13:[64, 2, 19, 61], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [2, 19, 3] Generated Node #2: [2, 19, 3] from Operation: 64-61=3 Current State: 13:[2, 19, 3], Operations: ['64-61=3'] Exploring Operation: 2*3=6, Resulting Numbers: [19, 6] Generated Node #3: [19, 6] from Operation: 2*3=6 Current State: 13:[19, 6], Operations: ['64-61=3', '2*3=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[64, 2, 19, 61], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [2, 19, 3] Generated Node #0,0: 13:[2, 19, 3] Operation: 64-61=3 Moving to Node #0,0 Current State: 13:[2, 19, 3], Operations: ['64-61=3'] Exploring Operation: 2*3=6, Resulting Numbers: [19, 6] Generated Node #0,0,0: 13:[19, 6] Operation: 2*3=6 Moving to Node #0,0,0 Current State: 13:[19, 6], Operations: ['64-61=3', '2*3=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[64, 2, 19, 61], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [2, 19, 3] Generated Node #0,0: 13:[2, 19, 3] Operation: 64-61=3 Moving to Node #0,0 Current State: 13:[2, 19, 3], Operations: ['64-61=3'] Exploring Operation: 2*3=6, Resulting Numbers: [19, 6] Generated Node #0,0,0: 13:[19, 6] Operation: 2*3=6 Moving to Node #0,0,0 Current State: 13:[19, 6], Operations: ['64-61=3', '2*3=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 97, 51, 27, 58 ]
10
[ "97-27=70", "58-51=7", "70/7=10" ]
Current State: 10:[97, 51, 27, 58], Operations: [] Exploring Operation: 97-27=70, Resulting Numbers: [51, 58, 70] Generated Node #2: [51, 58, 70] from Operation: 97-27=70 Current State: 10:[51, 58, 70], Operations: ['97-27=70'] Exploring Operation: 58-51=7, Resulting Numbers: [70, 7] Generated Node #3: [70, 7] from Operation: 58-51=7 Current State: 10:[70, 7], Operations: ['97-27=70', '58-51=7'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[97, 51, 27, 58], Operations: [] Exploring Operation: 97-27=70, Resulting Numbers: [51, 58, 70] Generated Node #0,0: 10:[51, 58, 70] Operation: 97-27=70 Exploring Operation: 97-51=46, Resulting Numbers: [27, 58, 46] Generated Node #0,1: 10:[27, 58, 46] Operation: 97-51=46 Exploring Operation: 58-51=7, Resulting Numbers: [97, 27, 7] Generated Node #0,2: 10:[97, 27, 7] Operation: 58-51=7 Exploring Operation: 97-58=39, Resulting Numbers: [51, 27, 39] Generated Node #0,3: 10:[51, 27, 39] Operation: 97-58=39 Moving to Node #0,3 Current State: 10:[51, 27, 39], Operations: ['97-58=39'] Exploring Operation: 51-39=12, Resulting Numbers: [27, 12] Generated Node #0,3,0: 10:[27, 12] Operation: 51-39=12 Exploring Operation: 51-27=24, Resulting Numbers: [39, 24] Generated Node #0,3,1: 10:[39, 24] Operation: 51-27=24 Exploring Operation: 39-27=12, Resulting Numbers: [51, 12] Generated Node #0,3,2: 10:[51, 12] Operation: 39-27=12 Exploring Operation: 51+27=78, Resulting Numbers: [39, 78] Generated Node #0,3,3: 10:[39, 78] Operation: 51+27=78 Moving to Node #0,1 Current State: 10:[27, 58, 46], Operations: ['97-51=46'] Exploring Operation: 46-27=19, Resulting Numbers: [58, 19] Generated Node #0,1,0: 10:[58, 19] Operation: 46-27=19 Exploring Operation: 58-27=31, Resulting Numbers: [46, 31] Generated Node #0,1,1: 10:[46, 31] Operation: 58-27=31 Exploring Operation: 27+58=85, Resulting Numbers: [46, 85] Generated Node #0,1,2: 10:[46, 85] Operation: 27+58=85 Exploring Operation: 58-46=12, Resulting Numbers: [27, 12] Generated Node #0,1,3: 10:[27, 12] Operation: 58-46=12 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 10:[27, 12], Operations: ['97-51=46', '58-46=12'] Exploring Operation: 27*12=324, Resulting Numbers: [324] 324,10 unequal: No Solution Exploring Operation: 27+12=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[58, 19], Operations: ['97-51=46', '46-27=19'] Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 58+19=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 58*19=1102, Resulting Numbers: [1102] 1102,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[46, 31], Operations: ['97-51=46', '58-27=31'] Exploring Operation: 46*31=1426, Resulting Numbers: [1426] 1426,10 unequal: No Solution Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,10 unequal: No Solution Exploring Operation: 46+31=77, Resulting Numbers: [77] 77,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[46, 85], Operations: ['97-51=46', '27+58=85'] Exploring Operation: 46*85=3910, Resulting Numbers: [3910] 3910,10 unequal: No Solution Exploring Operation: 46+85=131, Resulting Numbers: [131] 131,10 unequal: No Solution Exploring Operation: 85-46=39, Resulting Numbers: [39] 39,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 10:[97, 27, 7], Operations: ['58-51=7'] Exploring Operation: 97+7=104, Resulting Numbers: [27, 104] Generated Node #0,2,0: 10:[27, 104] Operation: 97+7=104 Exploring Operation: 97-7=90, Resulting Numbers: [27, 90] Generated Node #0,2,1: 10:[27, 90] Operation: 97-7=90 Exploring Operation: 97-27=70, Resulting Numbers: [7, 70] Generated Node #0,2,2: 10:[7, 70] Operation: 97-27=70 Exploring Operation: 27-7=20, Resulting Numbers: [97, 20] Generated Node #0,2,3: 10:[97, 20] Operation: 27-7=20 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[7, 70], Operations: ['58-51=7', '97-27=70'] Exploring Operation: 7+70=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 7*70=490, Resulting Numbers: [490] 490,10 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[97, 51, 27, 58], Operations: [] Exploring Operation: 58-51=7, Resulting Numbers: [97, 27, 7] Generated Node #0,2: 10:[97, 27, 7] Operation: 58-51=7 Moving to Node #0,2 Current State: 10:[97, 27, 7], Operations: ['58-51=7'] Exploring Operation: 97-27=70, Resulting Numbers: [7, 70] Generated Node #0,2,2: 10:[7, 70] Operation: 97-27=70 Moving to Node #0,2,2 Current State: 10:[7, 70], Operations: ['58-51=7', '97-27=70'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 1, 25, 63, 77 ]
40
[ "1+25=26", "77-63=14", "26+14=40" ]
Current State: 40:[1, 25, 63, 77], Operations: [] Exploring Operation: 1+25=26, Resulting Numbers: [63, 77, 26] Generated Node #2: [63, 77, 26] from Operation: 1+25=26 Current State: 40:[63, 77, 26], Operations: ['1+25=26'] Exploring Operation: 77-63=14, Resulting Numbers: [26, 14] Generated Node #3: [26, 14] from Operation: 77-63=14 Current State: 40:[26, 14], Operations: ['1+25=26', '77-63=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[1, 25, 63, 77], Operations: [] Exploring Operation: 25-1=24, Resulting Numbers: [63, 77, 24] Generated Node #0,0: 40:[63, 77, 24] Operation: 25-1=24 Exploring Operation: 77-25=52, Resulting Numbers: [1, 63, 52] Generated Node #0,1: 40:[1, 63, 52] Operation: 77-25=52 Exploring Operation: 63-1=62, Resulting Numbers: [25, 77, 62] Generated Node #0,2: 40:[25, 77, 62] Operation: 63-1=62 Exploring Operation: 63-25=38, Resulting Numbers: [1, 77, 38] Generated Node #0,3: 40:[1, 77, 38] Operation: 63-25=38 Exploring Operation: 77-63=14, Resulting Numbers: [1, 25, 14] Generated Node #0,4: 40:[1, 25, 14] Operation: 77-63=14 Start Sub Search at level 1: Moving to Node #0,4 Current State: 40:[1, 25, 14], Operations: ['77-63=14'] Exploring Operation: 25-1=24, Resulting Numbers: [14, 24] Generated Node #0,4,0: 40:[14, 24] Operation: 25-1=24 Exploring Operation: 25-14=11, Resulting Numbers: [1, 11] Generated Node #0,4,1: 40:[1, 11] Operation: 25-14=11 Exploring Operation: 1*25=25, Resulting Numbers: [14, 25] Generated Node #0,4,2: 40:[14, 25] Operation: 1*25=25 Exploring Operation: 14-1=13, Resulting Numbers: [25, 13] Generated Node #0,4,3: 40:[25, 13] Operation: 14-1=13 Exploring Operation: 25+14=39, Resulting Numbers: [1, 39] Generated Node #0,4,4: 40:[1, 39] Operation: 25+14=39 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 40:[1, 11], Operations: ['77-63=14', '25-14=11'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,40 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 40:[1, 39], Operations: ['77-63=14', '25+14=39'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,40 unequal: No Solution Exploring Operation: 1+39=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[1, 25, 63, 77], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [1, 25, 14] Generated Node #0,4: 40:[1, 25, 14] Operation: 77-63=14 Moving to Node #0,4 Current State: 40:[1, 25, 14], Operations: ['77-63=14'] Exploring Operation: 25+14=39, Resulting Numbers: [1, 39] Generated Node #0,4,4: 40:[1, 39] Operation: 25+14=39 Moving to Node #0,4,4 Current State: 40:[1, 39], Operations: ['77-63=14', '25+14=39'] Exploring Operation: 1+39=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 34, 55, 42, 54 ]
77
[ "34+55=89", "54-42=12", "89-12=77" ]
Current State: 77:[34, 55, 42, 54], Operations: [] Exploring Operation: 34+55=89, Resulting Numbers: [42, 54, 89] Generated Node #2: [42, 54, 89] from Operation: 34+55=89 Current State: 77:[42, 54, 89], Operations: ['34+55=89'] Exploring Operation: 54-42=12, Resulting Numbers: [89, 12] Generated Node #3: [89, 12] from Operation: 54-42=12 Current State: 77:[89, 12], Operations: ['34+55=89', '54-42=12'] Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[34, 55, 42, 54], Operations: [] Exploring Operation: 34+42=76, Resulting Numbers: [55, 54, 76] Generated Node #0,0: 77:[55, 54, 76] Operation: 34+42=76 Exploring Operation: 42-34=8, Resulting Numbers: [55, 54, 8] Generated Node #0,1: 77:[55, 54, 8] Operation: 42-34=8 Moving to Node #0,0 Current State: 77:[55, 54, 76], Operations: ['34+42=76'] Exploring Operation: 55-54=1, Resulting Numbers: [76, 1] Generated Node #0,0,0: 77:[76, 1] Operation: 55-54=1 Exploring Operation: 55+54=109, Resulting Numbers: [76, 109] Generated Node #0,0,1: 77:[76, 109] Operation: 55+54=109 Moving to Node #0,1 Current State: 77:[55, 54, 8], Operations: ['42-34=8'] Exploring Operation: 55+54=109, Resulting Numbers: [8, 109] Generated Node #0,1,0: 77:[8, 109] Operation: 55+54=109 Exploring Operation: 55-54=1, Resulting Numbers: [8, 1] Generated Node #0,1,1: 77:[8, 1] Operation: 55-54=1 Moving to Node #0,0,0 Current State: 77:[76, 1], Operations: ['34+42=76', '55-54=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,77 unequal: No Solution Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[34, 55, 42, 54], Operations: [] Exploring Operation: 34+42=76, Resulting Numbers: [55, 54, 76] Generated Node #0,0: 77:[55, 54, 76] Operation: 34+42=76 Moving to Node #0,0 Current State: 77:[55, 54, 76], Operations: ['34+42=76'] Exploring Operation: 55-54=1, Resulting Numbers: [76, 1] Generated Node #0,0,0: 77:[76, 1] Operation: 55-54=1 Moving to Node #0,0,0 Current State: 77:[76, 1], Operations: ['34+42=76', '55-54=1'] Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 86, 67, 10, 7 ]
51
[ "86+67=153", "10-7=3", "153/3=51" ]
Current State: 51:[86, 67, 10, 7], Operations: [] Exploring Operation: 86+67=153, Resulting Numbers: [10, 7, 153] Generated Node #2: [10, 7, 153] from Operation: 86+67=153 Current State: 51:[10, 7, 153], Operations: ['86+67=153'] Exploring Operation: 10-7=3, Resulting Numbers: [153, 3] Generated Node #3: [153, 3] from Operation: 10-7=3 Current State: 51:[153, 3], Operations: ['86+67=153', '10-7=3'] Exploring Operation: 153/3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[86, 67, 10, 7], Operations: [] Exploring Operation: 86-10=76, Resulting Numbers: [67, 7, 76] Generated Node #0,0: 51:[67, 7, 76] Operation: 86-10=76 Exploring Operation: 86-67=19, Resulting Numbers: [10, 7, 19] Generated Node #0,1: 51:[10, 7, 19] Operation: 86-67=19 Moving to Node #0,1 Current State: 51:[10, 7, 19], Operations: ['86-67=19'] Exploring Operation: 10+7=17, Resulting Numbers: [19, 17] Generated Node #0,1,0: 51:[19, 17] Operation: 10+7=17 Exploring Operation: 10-7=3, Resulting Numbers: [19, 3] Generated Node #0,1,1: 51:[19, 3] Operation: 10-7=3 Moving to Node #0,0 Current State: 51:[67, 7, 76], Operations: ['86-10=76'] Exploring Operation: 76-67=9, Resulting Numbers: [7, 9] Generated Node #0,0,0: 51:[7, 9] Operation: 76-67=9 Exploring Operation: 67-7=60, Resulting Numbers: [76, 60] Generated Node #0,0,1: 51:[76, 60] Operation: 67-7=60 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[7, 9], Operations: ['86-10=76', '76-67=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[76, 60], Operations: ['86-10=76', '67-7=60'] Exploring Operation: 76-60=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 76+60=136, Resulting Numbers: [136] 136,51 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: 51:[19, 17], Operations: ['86-67=19', '10+7=17'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[19, 3], Operations: ['86-67=19', '10-7=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,51 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,51 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 79, 10, 8, 38 ]
73
[ "10+38=48", "48/8=6", "79-6=73" ]
Current State: 73:[79, 10, 8, 38], Operations: [] Exploring Operation: 10+38=48, Resulting Numbers: [79, 8, 48] Generated Node #2: [79, 8, 48] from Operation: 10+38=48 Current State: 73:[79, 8, 48], Operations: ['10+38=48'] Exploring Operation: 48/8=6, Resulting Numbers: [79, 6] Generated Node #3: [79, 6] from Operation: 48/8=6 Current State: 73:[79, 6], Operations: ['10+38=48', '48/8=6'] Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[79, 10, 8, 38], Operations: [] Exploring Operation: 10*8=80, Resulting Numbers: [79, 38, 80] Generated Node #0,0: 73:[79, 38, 80] Operation: 10*8=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[79, 38, 80], Operations: ['10*8=80'] Exploring Operation: 80-38=42, Resulting Numbers: [79, 42] Generated Node #0,0,0: 73:[79, 42] Operation: 80-38=42 Moving to Node #0,0,0 Current State: 73:[79, 42], Operations: ['10*8=80', '80-38=42'] Exploring Operation: 79-42=37, Resulting Numbers: [37] 37,73 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
[ 49, 57, 96, 75 ]
87
[ "57-49=8", "96/8=12", "75+12=87" ]
Current State: 87:[49, 57, 96, 75], Operations: [] Exploring Operation: 57-49=8, Resulting Numbers: [96, 75, 8] Generated Node #2: [96, 75, 8] from Operation: 57-49=8 Current State: 87:[96, 75, 8], Operations: ['57-49=8'] Exploring Operation: 96/8=12, Resulting Numbers: [75, 12] Generated Node #3: [75, 12] from Operation: 96/8=12 Current State: 87:[75, 12], Operations: ['57-49=8', '96/8=12'] Exploring Operation: 75+12=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[49, 57, 96, 75], Operations: [] Exploring Operation: 57-49=8, Resulting Numbers: [96, 75, 8] Generated Node #0,0: 87:[96, 75, 8] Operation: 57-49=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[96, 75, 8], Operations: ['57-49=8'] Exploring Operation: 96-75=21, Resulting Numbers: [8, 21] Generated Node #0,0,0: 87:[8, 21] Operation: 96-75=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[8, 21], Operations: ['57-49=8', '96-75=21'] Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 9, 26, 54, 2 ]
88
[ "26-9=17", "2*17=34", "54+34=88" ]
Current State: 88:[9, 26, 54, 2], Operations: [] Exploring Operation: 26-9=17, Resulting Numbers: [54, 2, 17] Generated Node #2: [54, 2, 17] from Operation: 26-9=17 Current State: 88:[54, 2, 17], Operations: ['26-9=17'] Exploring Operation: 2*17=34, Resulting Numbers: [54, 34] Generated Node #3: [54, 34] from Operation: 2*17=34 Current State: 88:[54, 34], Operations: ['26-9=17', '2*17=34'] Exploring Operation: 54+34=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[9, 26, 54, 2], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [26, 2, 6] Generated Node #0,0: 88:[26, 2, 6] Operation: 54/9=6 Exploring Operation: 54/2=27, Resulting Numbers: [9, 26, 27] Generated Node #0,1: 88:[9, 26, 27] Operation: 54/2=27 Exploring Operation: 54-26=28, Resulting Numbers: [9, 2, 28] Generated Node #0,2: 88:[9, 2, 28] Operation: 54-26=28 Exploring Operation: 54-9=45, Resulting Numbers: [26, 2, 45] Generated Node #0,3: 88:[26, 2, 45] Operation: 54-9=45 Exploring Operation: 26+54=80, Resulting Numbers: [9, 2, 80] Generated Node #0,4: 88:[9, 2, 80] Operation: 26+54=80 Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[26, 2, 45], Operations: ['54-9=45'] Exploring Operation: 2*45=90, Resulting Numbers: [26, 90] Generated Node #0,3,0: 88:[26, 90] Operation: 2*45=90 Exploring Operation: 26-2=24, Resulting Numbers: [45, 24] Generated Node #0,3,1: 88:[45, 24] Operation: 26-2=24 Exploring Operation: 45-2=43, Resulting Numbers: [26, 43] Generated Node #0,3,2: 88:[26, 43] Operation: 45-2=43 Exploring Operation: 45-26=19, Resulting Numbers: [2, 19] Generated Node #0,3,3: 88:[2, 19] Operation: 45-26=19 Exploring Operation: 26/2=13, Resulting Numbers: [45, 13] Generated Node #0,3,4: 88:[45, 13] Operation: 26/2=13 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 88:[45, 24], Operations: ['54-9=45', '26-2=24'] Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,88 unequal: No Solution Exploring Operation: 45*24=1080, Resulting Numbers: [1080] 1080,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 88:[2, 19], Operations: ['54-9=45', '45-26=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 88:[45, 13], Operations: ['54-9=45', '26/2=13'] Exploring Operation: 45*13=585, Resulting Numbers: [585] 585,88 unequal: No Solution Exploring Operation: 45+13=58, Resulting Numbers: [58] 58,88 unequal: No Solution Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 88:[26, 43], Operations: ['54-9=45', '45-2=43'] Exploring Operation: 26+43=69, Resulting Numbers: [69] 69,88 unequal: No Solution Exploring Operation: 26*43=1118, Resulting Numbers: [1118] 1118,88 unequal: No Solution Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 88:[26, 90], Operations: ['54-9=45', '2*45=90'] Exploring Operation: 26*90=2340, Resulting Numbers: [2340] 2340,88 unequal: No Solution Exploring Operation: 26+90=116, Resulting Numbers: [116] 116,88 unequal: No Solution Exploring Operation: 90-26=64, Resulting Numbers: [64] 64,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[26, 2, 6], Operations: ['54/9=6'] Exploring Operation: 26-6=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 88:[2, 20] Operation: 26-6=20 Exploring Operation: 26-2=24, Resulting Numbers: [6, 24] Generated Node #0,0,1: 88:[6, 24] Operation: 26-2=24 Exploring Operation: 6-2=4, Resulting Numbers: [26, 4] Generated Node #0,0,2: 88:[26, 4] Operation: 6-2=4 Exploring Operation: 26/2=13, Resulting Numbers: [6, 13] Generated Node #0,0,3: 88:[6, 13] Operation: 26/2=13 Exploring Operation: 2+6=8, Resulting Numbers: [26, 8] Generated Node #0,0,4: 88:[26, 8] Operation: 2+6=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[2, 20], Operations: ['54/9=6', '26-6=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[6, 24], Operations: ['54/9=6', '26-2=24'] Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,88 unequal: No Solution Exploring Operation: 6*24=144, Resulting Numbers: [144] 144,88 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[26, 4], Operations: ['54/9=6', '6-2=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,88 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 88:[6, 13], Operations: ['54/9=6', '26/2=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,88 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 88:[26, 8], Operations: ['54/9=6', '2+6=8'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[9, 2, 28], Operations: ['54-26=28'] Exploring Operation: 28-2=26, Resulting Numbers: [9, 26] Generated Node #0,2,0: 88:[9, 26] Operation: 28-2=26 Exploring Operation: 9-2=7, Resulting Numbers: [28, 7] Generated Node #0,2,1: 88:[28, 7] Operation: 9-2=7 Exploring Operation: 28/2=14, Resulting Numbers: [9, 14] Generated Node #0,2,2: 88:[9, 14] Operation: 28/2=14 Exploring Operation: 9+2=11, Resulting Numbers: [28, 11] Generated Node #0,2,3: 88:[28, 11] Operation: 9+2=11 Exploring Operation: 28-9=19, Resulting Numbers: [2, 19] Generated Node #0,2,4: 88:[2, 19] Operation: 28-9=19 Moving to Node #0,2,4 Current State: 88:[2, 19], Operations: ['54-26=28', '28-9=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[9, 14], Operations: ['54-26=28', '28/2=14'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[9, 26], Operations: ['54-26=28', '28-2=26'] Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,88 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[28, 11], Operations: ['54-26=28', '9+2=11'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 28*11=308, Resulting Numbers: [308] 308,88 unequal: No Solution Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[28, 7], Operations: ['54-26=28', '9-2=7'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 88:[9, 2, 80], Operations: ['26+54=80'] Exploring Operation: 9+2=11, Resulting Numbers: [80, 11] Generated Node #0,4,0: 88:[80, 11] Operation: 9+2=11 Exploring Operation: 9+80=89, Resulting Numbers: [2, 89] Generated Node #0,4,1: 88:[2, 89] Operation: 9+80=89 Exploring Operation: 9-2=7, Resulting Numbers: [80, 7] Generated Node #0,4,2: 88:[80, 7] Operation: 9-2=7 Exploring Operation: 2+80=82, Resulting Numbers: [9, 82] Generated Node #0,4,3: 88:[9, 82] Operation: 2+80=82 Exploring Operation: 80/2=40, Resulting Numbers: [9, 40] Generated Node #0,4,4: 88:[9, 40] Operation: 80/2=40 Moving to Node #0,4,1 Current State: 88:[2, 89], Operations: ['26+54=80', '9+80=89'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 2*89=178, Resulting Numbers: [178] 178,88 unequal: No Solution Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,88 unequal: No Solution Moving to Node #0,4,4 Current State: 88:[9, 40], Operations: ['26+54=80', '80/2=40'] Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,88 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,88 unequal: No Solution Moving to Node #0,4,3 Current State: 88:[9, 82], Operations: ['26+54=80', '2+80=82'] Exploring Operation: 9*82=738, Resulting Numbers: [738] 738,88 unequal: No Solution Exploring Operation: 9+82=91, Resulting Numbers: [91] 91,88 unequal: No Solution Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,88 unequal: No Solution Moving to Node #0,4,0 Current State: 88:[80, 11], Operations: ['26+54=80', '9+2=11'] Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,88 unequal: No Solution Exploring Operation: 80*11=880, Resulting Numbers: [880] 880,88 unequal: No Solution Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,88 unequal: No Solution Moving to Node #0,4,2 Current State: 88:[80, 7], Operations: ['26+54=80', '9-2=7'] Exploring Operation: 80*7=560, Resulting Numbers: [560] 560,88 unequal: No Solution Exploring Operation: 80+7=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[9, 26, 27], Operations: ['54/2=27'] Exploring Operation: 27-9=18, Resulting Numbers: [26, 18] Generated Node #0,1,0: 88:[26, 18] Operation: 27-9=18 Exploring Operation: 27-26=1, Resulting Numbers: [9, 1] Generated Node #0,1,1: 88:[9, 1] Operation: 27-26=1 Exploring Operation: 27/9=3, Resulting Numbers: [26, 3] Generated Node #0,1,2: 88:[26, 3] Operation: 27/9=3 Exploring Operation: 26-9=17, Resulting Numbers: [27, 17] Generated Node #0,1,3: 88:[27, 17] Operation: 26-9=17 Exploring Operation: 26+27=53, Resulting Numbers: [9, 53] Generated Node #0,1,4: 88:[9, 53] Operation: 26+27=53 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[9, 1], Operations: ['54/2=27', '27-26=1'] Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 88:[26, 3], Operations: ['54/2=27', '27/9=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 88:[26, 18], Operations: ['54/2=27', '27-9=18'] Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 26*18=468, Resulting Numbers: [468] 468,88 unequal: No Solution Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 88:[27, 17], Operations: ['54/2=27', '26-9=17'] Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,88 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 88:[9, 53], Operations: ['54/2=27', '26+27=53'] Exploring Operation: 9+53=62, Resulting Numbers: [62] 62,88 unequal: No Solution Exploring Operation: 9*53=477, Resulting Numbers: [477] 477,88 unequal: No Solution Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 84, 70, 46, 56 ]
88
[ "84-70=14", "46+56=102", "102-14=88" ]
Current State: 88:[84, 70, 46, 56], Operations: [] Exploring Operation: 84-70=14, Resulting Numbers: [46, 56, 14] Generated Node #2: [46, 56, 14] from Operation: 84-70=14 Current State: 88:[46, 56, 14], Operations: ['84-70=14'] Exploring Operation: 46+56=102, Resulting Numbers: [14, 102] Generated Node #3: [14, 102] from Operation: 46+56=102 Current State: 88:[14, 102], Operations: ['84-70=14', '46+56=102'] Exploring Operation: 102-14=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[84, 70, 46, 56], Operations: [] Exploring Operation: 70-56=14, Resulting Numbers: [84, 46, 14] Generated Node #0,0: 88:[84, 46, 14] Operation: 70-56=14 Exploring Operation: 70-46=24, Resulting Numbers: [84, 56, 24] Generated Node #0,1: 88:[84, 56, 24] Operation: 70-46=24 Exploring Operation: 84-70=14, Resulting Numbers: [46, 56, 14] Generated Node #0,2: 88:[46, 56, 14] Operation: 84-70=14 Exploring Operation: 56-46=10, Resulting Numbers: [84, 70, 10] Generated Node #0,3: 88:[84, 70, 10] Operation: 56-46=10 Moving to Node #0,0 Current State: 88:[84, 46, 14], Operations: ['70-56=14'] Exploring Operation: 46-14=32, Resulting Numbers: [84, 32] Generated Node #0,0,0: 88:[84, 32] Operation: 46-14=32 Exploring Operation: 84-46=38, Resulting Numbers: [14, 38] Generated Node #0,0,1: 88:[14, 38] Operation: 84-46=38 Exploring Operation: 84+14=98, Resulting Numbers: [46, 98] Generated Node #0,0,2: 88:[46, 98] Operation: 84+14=98 Exploring Operation: 84/14=6, Resulting Numbers: [46, 6] Generated Node #0,0,3: 88:[46, 6] Operation: 84/14=6 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 88:[46, 6], Operations: ['70-56=14', '84/14=6'] Exploring Operation: 46+6=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 46*6=276, Resulting Numbers: [276] 276,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[14, 38], Operations: ['70-56=14', '84-46=38'] Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[46, 98], Operations: ['70-56=14', '84+14=98'] Exploring Operation: 46+98=144, Resulting Numbers: [144] 144,88 unequal: No Solution Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 46*98=4508, Resulting Numbers: [4508] 4508,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[84, 32], Operations: ['70-56=14', '46-14=32'] Exploring Operation: 84+32=116, Resulting Numbers: [116] 116,88 unequal: No Solution Exploring Operation: 84-32=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 84*32=2688, Resulting Numbers: [2688] 2688,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 88:[46, 56, 14], Operations: ['84-70=14'] Exploring Operation: 56/14=4, Resulting Numbers: [46, 4] Generated Node #0,2,0: 88:[46, 4] Operation: 56/14=4 Exploring Operation: 46+56=102, Resulting Numbers: [14, 102] Generated Node #0,2,1: 88:[14, 102] Operation: 46+56=102 Exploring Operation: 56-14=42, Resulting Numbers: [46, 42] Generated Node #0,2,2: 88:[46, 42] Operation: 56-14=42 Exploring Operation: 56-46=10, Resulting Numbers: [14, 10] Generated Node #0,2,3: 88:[14, 10] Operation: 56-46=10 Moving to Node #0,1 Current State: 88:[84, 56, 24], Operations: ['70-46=24'] Exploring Operation: 84-24=60, Resulting Numbers: [56, 60] Generated Node #0,1,0: 88:[56, 60] Operation: 84-24=60 Exploring Operation: 84-56=28, Resulting Numbers: [24, 28] Generated Node #0,1,1: 88:[24, 28] Operation: 84-56=28 Exploring Operation: 56+24=80, Resulting Numbers: [84, 80] Generated Node #0,1,2: 88:[84, 80] Operation: 56+24=80 Exploring Operation: 56-24=32, Resulting Numbers: [84, 32] Generated Node #0,1,3: 88:[84, 32] Operation: 56-24=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[24, 28], Operations: ['70-46=24', '84-56=28'] Exploring Operation: 24+28=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 24*28=672, Resulting Numbers: [672] 672,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[84, 80], Operations: ['70-46=24', '56+24=80'] Exploring Operation: 84+80=164, Resulting Numbers: [164] 164,88 unequal: No Solution Exploring Operation: 84*80=6720, Resulting Numbers: [6720] 6720,88 unequal: No Solution Exploring Operation: 84-80=4, Resulting Numbers: [4] 4,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[84, 32], Operations: ['70-46=24', '56-24=32'] Exploring Operation: 84+32=116, Resulting Numbers: [116] 116,88 unequal: No Solution Exploring Operation: 84-32=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 84*32=2688, Resulting Numbers: [2688] 2688,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[56, 60], Operations: ['70-46=24', '84-24=60'] Exploring Operation: 56*60=3360, Resulting Numbers: [3360] 3360,88 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 56+60=116, Resulting Numbers: [116] 116,88 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: 88:[84, 70, 10], Operations: ['56-46=10'] Exploring Operation: 70-10=60, Resulting Numbers: [84, 60] Generated Node #0,3,0: 88:[84, 60] Operation: 70-10=60 Exploring Operation: 70/10=7, Resulting Numbers: [84, 7] Generated Node #0,3,1: 88:[84, 7] Operation: 70/10=7 Exploring Operation: 84-70=14, Resulting Numbers: [10, 14] Generated Node #0,3,2: 88:[10, 14] Operation: 84-70=14 Exploring Operation: 70+10=80, Resulting Numbers: [84, 80] Generated Node #0,3,3: 88:[84, 80] Operation: 70+10=80 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 88:[10, 14], Operations: ['56-46=10', '84-70=14'] Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,88 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 88:[84, 7], Operations: ['56-46=10', '70/10=7'] Exploring Operation: 84*7=588, Resulting Numbers: [588] 588,88 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,88 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 88:[84, 80], Operations: ['56-46=10', '70+10=80'] Exploring Operation: 84-80=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 84*80=6720, Resulting Numbers: [6720] 6720,88 unequal: No Solution Exploring Operation: 84+80=164, Resulting Numbers: [164] 164,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 88:[84, 60], Operations: ['56-46=10', '70-10=60'] Exploring Operation: 84+60=144, Resulting Numbers: [144] 144,88 unequal: No Solution Exploring Operation: 84-60=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 84*60=5040, Resulting Numbers: [5040] 5040,88 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: 88:[46, 4], Operations: ['84-70=14', '56/14=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,88 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,88 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[14, 10], Operations: ['84-70=14', '56-46=10'] Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,88 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[46, 42], Operations: ['84-70=14', '56-14=42'] Exploring Operation: 46*42=1932, Resulting Numbers: [1932] 1932,88 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[84, 70, 46, 56], Operations: [] Exploring Operation: 84-70=14, Resulting Numbers: [46, 56, 14] Generated Node #0,2: 88:[46, 56, 14] Operation: 84-70=14 Moving to Node #0,2 Current State: 88:[46, 56, 14], Operations: ['84-70=14'] Exploring Operation: 56-14=42, Resulting Numbers: [46, 42] Generated Node #0,2,2: 88:[46, 42] Operation: 56-14=42 Moving to Node #0,2,2 Current State: 88:[46, 42], Operations: ['84-70=14', '56-14=42'] Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.939236
hs_4
sum_heuristic
[ 11, 29, 41, 35 ]
34
[ "11+29=40", "41-35=6", "40-6=34" ]
Current State: 34:[11, 29, 41, 35], Operations: [] Exploring Operation: 11+29=40, Resulting Numbers: [41, 35, 40] Generated Node #2: [41, 35, 40] from Operation: 11+29=40 Current State: 34:[41, 35, 40], Operations: ['11+29=40'] Exploring Operation: 41-35=6, Resulting Numbers: [40, 6] Generated Node #3: [40, 6] from Operation: 41-35=6 Current State: 34:[40, 6], Operations: ['11+29=40', '41-35=6'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[11, 29, 41, 35], Operations: [] Exploring Operation: 41-11=30, Resulting Numbers: [29, 35, 30] Generated Node #0,0: 34:[29, 35, 30] Operation: 41-11=30 Exploring Operation: 11+29=40, Resulting Numbers: [41, 35, 40] Generated Node #0,1: 34:[41, 35, 40] Operation: 11+29=40 Exploring Operation: 41-35=6, Resulting Numbers: [11, 29, 6] Generated Node #0,2: 34:[11, 29, 6] Operation: 41-35=6 Exploring Operation: 41-29=12, Resulting Numbers: [11, 35, 12] Generated Node #0,3: 34:[11, 35, 12] Operation: 41-29=12 Exploring Operation: 29-11=18, Resulting Numbers: [41, 35, 18] Generated Node #0,4: 34:[41, 35, 18] Operation: 29-11=18 Start Sub Search at level 1: Moving to Node #0,4 Current State: 34:[41, 35, 18], Operations: ['29-11=18'] Exploring Operation: 35+18=53, Resulting Numbers: [41, 53] Generated Node #0,4,0: 34:[41, 53] Operation: 35+18=53 Exploring Operation: 41-18=23, Resulting Numbers: [35, 23] Generated Node #0,4,1: 34:[35, 23] Operation: 41-18=23 Exploring Operation: 35-18=17, Resulting Numbers: [41, 17] Generated Node #0,4,2: 34:[41, 17] Operation: 35-18=17 Exploring Operation: 41-35=6, Resulting Numbers: [18, 6] Generated Node #0,4,3: 34:[18, 6] Operation: 41-35=6 Exploring Operation: 41+18=59, Resulting Numbers: [35, 59] Generated Node #0,4,4: 34:[35, 59] Operation: 41+18=59 Moving to Node #0,4,3 Current State: 34:[18, 6], Operations: ['29-11=18', '41-35=6'] Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 18*6=108, Resulting Numbers: [108] 108,34 unequal: No Solution Moving to Node #0,4,2 Current State: 34:[41, 17], Operations: ['29-11=18', '35-18=17'] Exploring Operation: 41*17=697, Resulting Numbers: [697] 697,34 unequal: No Solution Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,34 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,34 unequal: No Solution Moving to Node #0,4,1 Current State: 34:[35, 23], Operations: ['29-11=18', '41-18=23'] Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 35+23=58, Resulting Numbers: [58] 58,34 unequal: No Solution Exploring Operation: 35*23=805, Resulting Numbers: [805] 805,34 unequal: No Solution Moving to Node #0,4,0 Current State: 34:[41, 53], Operations: ['29-11=18', '35+18=53'] Exploring Operation: 41+53=94, Resulting Numbers: [94] 94,34 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 41*53=2173, Resulting Numbers: [2173] 2173,34 unequal: No Solution Moving to Node #0,4,4 Current State: 34:[35, 59], Operations: ['29-11=18', '41+18=59'] Exploring Operation: 35*59=2065, Resulting Numbers: [2065] 2065,34 unequal: No Solution Exploring Operation: 35+59=94, Resulting Numbers: [94] 94,34 unequal: No Solution Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[29, 35, 30], Operations: ['41-11=30'] Exploring Operation: 29+35=64, Resulting Numbers: [30, 64] Generated Node #0,0,0: 34:[30, 64] Operation: 29+35=64 Exploring Operation: 29+30=59, Resulting Numbers: [35, 59] Generated Node #0,0,1: 34:[35, 59] Operation: 29+30=59 Exploring Operation: 30-29=1, Resulting Numbers: [35, 1] Generated Node #0,0,2: 34:[35, 1] Operation: 30-29=1 Exploring Operation: 35-29=6, Resulting Numbers: [30, 6] Generated Node #0,0,3: 34:[30, 6] Operation: 35-29=6 Exploring Operation: 35-30=5, Resulting Numbers: [29, 5] Generated Node #0,0,4: 34:[29, 5] Operation: 35-30=5 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 34:[35, 1], Operations: ['41-11=30', '30-29=1'] Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[11, 29, 41, 35], Operations: [] Exploring Operation: 41-11=30, Resulting Numbers: [29, 35, 30] Generated Node #0,0: 34:[29, 35, 30] Operation: 41-11=30 Moving to Node #0,0 Current State: 34:[29, 35, 30], Operations: ['41-11=30'] Exploring Operation: 30-29=1, Resulting Numbers: [35, 1] Generated Node #0,0,2: 34:[35, 1] Operation: 30-29=1 Moving to Node #0,0,2 Current State: 34:[35, 1], Operations: ['41-11=30', '30-29=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 90, 42, 14, 2 ]
97
[ "90-14=76", "42/2=21", "76+21=97" ]
Current State: 97:[90, 42, 14, 2], Operations: [] Exploring Operation: 90-14=76, Resulting Numbers: [42, 2, 76] Generated Node #2: [42, 2, 76] from Operation: 90-14=76 Current State: 97:[42, 2, 76], Operations: ['90-14=76'] Exploring Operation: 42/2=21, Resulting Numbers: [76, 21] Generated Node #3: [76, 21] from Operation: 42/2=21 Current State: 97:[76, 21], Operations: ['90-14=76', '42/2=21'] Exploring Operation: 76+21=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[90, 42, 14, 2], Operations: [] Exploring Operation: 42*2=84, Resulting Numbers: [90, 14, 84] Generated Node #0,0: 97:[90, 14, 84] Operation: 42*2=84 Moving to Node #0,0 Current State: 97:[90, 14, 84], Operations: ['42*2=84'] Exploring Operation: 14+84=98, Resulting Numbers: [90, 98] Generated Node #0,0,0: 97:[90, 98] Operation: 14+84=98 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[90, 98], Operations: ['42*2=84', '14+84=98'] Exploring Operation: 98-90=8, Resulting Numbers: [8] 8,97 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
[ 35, 81, 8, 3 ]
32
[ "35*3=105", "81-8=73", "105-73=32" ]
Current State: 32:[35, 81, 8, 3], Operations: [] Exploring Operation: 35*3=105, Resulting Numbers: [81, 8, 105] Generated Node #2: [81, 8, 105] from Operation: 35*3=105 Current State: 32:[81, 8, 105], Operations: ['35*3=105'] Exploring Operation: 81-8=73, Resulting Numbers: [105, 73] Generated Node #3: [105, 73] from Operation: 81-8=73 Current State: 32:[105, 73], Operations: ['35*3=105', '81-8=73'] Exploring Operation: 105-73=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[35, 81, 8, 3], Operations: [] Exploring Operation: 81/3=27, Resulting Numbers: [35, 8, 27] Generated Node #0,0: 32:[35, 8, 27] Operation: 81/3=27 Exploring Operation: 81-35=46, Resulting Numbers: [8, 3, 46] Generated Node #0,1: 32:[8, 3, 46] Operation: 81-35=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[35, 8, 27], Operations: ['81/3=27'] Exploring Operation: 35-27=8, Resulting Numbers: [8, 8] Generated Node #0,0,0: 32:[8, 8] Operation: 35-27=8 Exploring Operation: 8+27=35, Resulting Numbers: [35, 35] Generated Node #0,0,1: 32:[35, 35] Operation: 8+27=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[8, 8], Operations: ['81/3=27', '35-27=8'] Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[35, 35], Operations: ['81/3=27', '8+27=35'] Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,32 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[8, 3, 46], Operations: ['81-35=46'] Exploring Operation: 46-8=38, Resulting Numbers: [3, 38] Generated Node #0,1,0: 32:[3, 38] Operation: 46-8=38 Exploring Operation: 46-3=43, Resulting Numbers: [8, 43] Generated Node #0,1,1: 32:[8, 43] Operation: 46-3=43 Moving to Node #0,1,0 Current State: 32:[3, 38], Operations: ['81-35=46', '46-8=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[8, 43], Operations: ['81-35=46', '46-3=43'] Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,32 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
[ 9, 93, 18, 81 ]
66
[ "81/9=9", "93-18=75", "75-9=66" ]
Current State: 66:[9, 93, 18, 81], Operations: [] Exploring Operation: 81/9=9, Resulting Numbers: [93, 18, 9] Generated Node #2: [93, 18, 9] from Operation: 81/9=9 Current State: 66:[93, 18, 9], Operations: ['81/9=9'] Exploring Operation: 93-18=75, Resulting Numbers: [9, 75] Generated Node #3: [9, 75] from Operation: 93-18=75 Current State: 66:[9, 75], Operations: ['81/9=9', '93-18=75'] Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[9, 93, 18, 81], Operations: [] Exploring Operation: 81-18=63, Resulting Numbers: [9, 93, 63] Generated Node #0,0: 66:[9, 93, 63] Operation: 81-18=63 Exploring Operation: 93-81=12, Resulting Numbers: [9, 18, 12] Generated Node #0,1: 66:[9, 18, 12] Operation: 93-81=12 Exploring Operation: 93-18=75, Resulting Numbers: [9, 81, 75] Generated Node #0,2: 66:[9, 81, 75] Operation: 93-18=75 Exploring Operation: 93-9=84, Resulting Numbers: [18, 81, 84] Generated Node #0,3: 66:[18, 81, 84] Operation: 93-9=84 Exploring Operation: 81/9=9, Resulting Numbers: [93, 18, 9] Generated Node #0,4: 66:[93, 18, 9] Operation: 81/9=9 Moving to Node #0,1 Current State: 66:[9, 18, 12], Operations: ['93-81=12'] Exploring Operation: 9+12=21, Resulting Numbers: [18, 21] Generated Node #0,1,0: 66:[18, 21] Operation: 9+12=21 Exploring Operation: 18-12=6, Resulting Numbers: [9, 6] Generated Node #0,1,1: 66:[9, 6] Operation: 18-12=6 Exploring Operation: 18/9=2, Resulting Numbers: [12, 2] Generated Node #0,1,2: 66:[12, 2] Operation: 18/9=2 Exploring Operation: 12-9=3, Resulting Numbers: [18, 3] Generated Node #0,1,3: 66:[18, 3] Operation: 12-9=3 Exploring Operation: 18-9=9, Resulting Numbers: [12, 9] Generated Node #0,1,4: 66:[12, 9] Operation: 18-9=9 Moving to Node #0,2 Current State: 66:[9, 81, 75], Operations: ['93-18=75'] Exploring Operation: 81-9=72, Resulting Numbers: [75, 72] Generated Node #0,2,0: 66:[75, 72] Operation: 81-9=72 Exploring Operation: 9+81=90, Resulting Numbers: [75, 90] Generated Node #0,2,1: 66:[75, 90] Operation: 9+81=90 Exploring Operation: 75-9=66, Resulting Numbers: [81, 66] Generated Node #0,2,2: 66:[81, 66] Operation: 75-9=66 Exploring Operation: 81-75=6, Resulting Numbers: [9, 6] Generated Node #0,2,3: 66:[9, 6] Operation: 81-75=6 Exploring Operation: 81/9=9, Resulting Numbers: [75, 9] Generated Node #0,2,4: 66:[75, 9] Operation: 81/9=9 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 66:[9, 6], Operations: ['93-18=75', '81-75=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 66:[75, 9], Operations: ['93-18=75', '81/9=9'] Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[9, 93, 18, 81], Operations: [] Exploring Operation: 93-18=75, Resulting Numbers: [9, 81, 75] Generated Node #0,2: 66:[9, 81, 75] Operation: 93-18=75 Moving to Node #0,2 Current State: 66:[9, 81, 75], Operations: ['93-18=75'] Exploring Operation: 81/9=9, Resulting Numbers: [75, 9] Generated Node #0,2,4: 66:[75, 9] Operation: 81/9=9 Moving to Node #0,2,4 Current State: 66:[75, 9], Operations: ['93-18=75', '81/9=9'] Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 58, 34, 16, 91 ]
16
[ "58+34=92", "92-91=1", "16*1=16" ]
Current State: 16:[58, 34, 16, 91], Operations: [] Exploring Operation: 58+34=92, Resulting Numbers: [16, 91, 92] Generated Node #2: [16, 91, 92] from Operation: 58+34=92 Current State: 16:[16, 91, 92], Operations: ['58+34=92'] Exploring Operation: 92-91=1, Resulting Numbers: [16, 1] Generated Node #3: [16, 1] from Operation: 92-91=1 Current State: 16:[16, 1], Operations: ['58+34=92', '92-91=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[58, 34, 16, 91], Operations: [] Exploring Operation: 91-58=33, Resulting Numbers: [34, 16, 33] Generated Node #0,0: 16:[34, 16, 33] Operation: 91-58=33 Exploring Operation: 58-34=24, Resulting Numbers: [16, 91, 24] Generated Node #0,1: 16:[16, 91, 24] Operation: 58-34=24 Exploring Operation: 91-34=57, Resulting Numbers: [58, 16, 57] Generated Node #0,2: 16:[58, 16, 57] Operation: 91-34=57 Exploring Operation: 58-16=42, Resulting Numbers: [34, 91, 42] Generated Node #0,3: 16:[34, 91, 42] Operation: 58-16=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[34, 16, 33], Operations: ['91-58=33'] Exploring Operation: 33-16=17, Resulting Numbers: [34, 17] Generated Node #0,0,0: 16:[34, 17] Operation: 33-16=17 Exploring Operation: 34-33=1, Resulting Numbers: [16, 1] Generated Node #0,0,1: 16:[16, 1] Operation: 34-33=1 Exploring Operation: 34-16=18, Resulting Numbers: [33, 18] Generated Node #0,0,2: 16:[33, 18] Operation: 34-16=18 Exploring Operation: 34+16=50, Resulting Numbers: [33, 50] Generated Node #0,0,3: 16:[33, 50] Operation: 34+16=50 Moving to Node #0,0,1 Current State: 16:[16, 1], Operations: ['91-58=33', '34-33=1'] Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[58, 34, 16, 91], Operations: [] Exploring Operation: 91-58=33, Resulting Numbers: [34, 16, 33] Generated Node #0,0: 16:[34, 16, 33] Operation: 91-58=33 Moving to Node #0,0 Current State: 16:[34, 16, 33], Operations: ['91-58=33'] Exploring Operation: 34-33=1, Resulting Numbers: [16, 1] Generated Node #0,0,1: 16:[16, 1] Operation: 34-33=1 Moving to Node #0,0,1 Current State: 16:[16, 1], Operations: ['91-58=33', '34-33=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 11, 56, 47, 72 ]
88
[ "11*72=792", "56-47=9", "792/9=88" ]
Current State: 88:[11, 56, 47, 72], Operations: [] Exploring Operation: 11*72=792, Resulting Numbers: [56, 47, 792] Generated Node #2: [56, 47, 792] from Operation: 11*72=792 Current State: 88:[56, 47, 792], Operations: ['11*72=792'] Exploring Operation: 56-47=9, Resulting Numbers: [792, 9] Generated Node #3: [792, 9] from Operation: 56-47=9 Current State: 88:[792, 9], Operations: ['11*72=792', '56-47=9'] Exploring Operation: 792/9=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[11, 56, 47, 72], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [11, 72, 9] Generated Node #0,0: 88:[11, 72, 9] Operation: 56-47=9 Exploring Operation: 56-11=45, Resulting Numbers: [47, 72, 45] Generated Node #0,1: 88:[47, 72, 45] Operation: 56-11=45 Exploring Operation: 72-56=16, Resulting Numbers: [11, 47, 16] Generated Node #0,2: 88:[11, 47, 16] Operation: 72-56=16 Exploring Operation: 72-47=25, Resulting Numbers: [11, 56, 25] Generated Node #0,3: 88:[11, 56, 25] Operation: 72-47=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[11, 47, 16], Operations: ['72-56=16'] Exploring Operation: 47-16=31, Resulting Numbers: [11, 31] Generated Node #0,2,0: 88:[11, 31] Operation: 47-16=31 Exploring Operation: 16-11=5, Resulting Numbers: [47, 5] Generated Node #0,2,1: 88:[47, 5] Operation: 16-11=5 Exploring Operation: 11+16=27, Resulting Numbers: [47, 27] Generated Node #0,2,2: 88:[47, 27] Operation: 11+16=27 Exploring Operation: 47-11=36, Resulting Numbers: [16, 36] Generated Node #0,2,3: 88:[16, 36] Operation: 47-11=36 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 88:[47, 5], Operations: ['72-56=16', '16-11=5'] Exploring Operation: 47*5=235, Resulting Numbers: [235] 235,88 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,88 unequal: No Solution Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 88:[47, 27], Operations: ['72-56=16', '11+16=27'] Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,88 unequal: No Solution Exploring Operation: 47*27=1269, Resulting Numbers: [1269] 1269,88 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 88:[11, 31], Operations: ['72-56=16', '47-16=31'] Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,88 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 11*31=341, Resulting Numbers: [341] 341,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 88:[16, 36], Operations: ['72-56=16', '47-11=36'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,88 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[11, 56, 25], Operations: ['72-47=25'] Exploring Operation: 25-11=14, Resulting Numbers: [56, 14] Generated Node #0,3,0: 88:[56, 14] Operation: 25-11=14 Exploring Operation: 56-11=45, Resulting Numbers: [25, 45] Generated Node #0,3,1: 88:[25, 45] Operation: 56-11=45 Exploring Operation: 56-25=31, Resulting Numbers: [11, 31] Generated Node #0,3,2: 88:[11, 31] Operation: 56-25=31 Exploring Operation: 56+25=81, Resulting Numbers: [11, 81] Generated Node #0,3,3: 88:[11, 81] Operation: 56+25=81 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 88:[25, 45], Operations: ['72-47=25', '56-11=45'] Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,88 unequal: No Solution Exploring Operation: 25*45=1125, Resulting Numbers: [1125] 1125,88 unequal: No Solution Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 88:[11, 81], Operations: ['72-47=25', '56+25=81'] Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,88 unequal: No Solution Exploring Operation: 11+81=92, Resulting Numbers: [92] 92,88 unequal: No Solution Exploring Operation: 11*81=891, Resulting Numbers: [891] 891,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 88:[11, 31], Operations: ['72-47=25', '56-25=31'] Exploring Operation: 11*31=341, Resulting Numbers: [341] 341,88 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 88:[56, 14], Operations: ['72-47=25', '25-11=14'] Exploring Operation: 56+14=70, Resulting Numbers: [70] 70,88 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,88 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 56*14=784, Resulting Numbers: [784] 784,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[11, 72, 9], Operations: ['56-47=9'] Exploring Operation: 11+72=83, Resulting Numbers: [9, 83] Generated Node #0,0,0: 88:[9, 83] Operation: 11+72=83 Exploring Operation: 11-9=2, Resulting Numbers: [72, 2] Generated Node #0,0,1: 88:[72, 2] Operation: 11-9=2 Exploring Operation: 72/9=8, Resulting Numbers: [11, 8] Generated Node #0,0,2: 88:[11, 8] Operation: 72/9=8 Exploring Operation: 72+9=81, Resulting Numbers: [11, 81] Generated Node #0,0,3: 88:[11, 81] Operation: 72+9=81 Moving to Node #0,0,2 Current State: 88:[11, 8], Operations: ['56-47=9', '72/9=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[11, 56, 47, 72], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [11, 72, 9] Generated Node #0,0: 88:[11, 72, 9] Operation: 56-47=9 Moving to Node #0,0 Current State: 88:[11, 72, 9], Operations: ['56-47=9'] Exploring Operation: 72/9=8, Resulting Numbers: [11, 8] Generated Node #0,0,2: 88:[11, 8] Operation: 72/9=8 Moving to Node #0,0,2 Current State: 88:[11, 8], Operations: ['56-47=9', '72/9=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.958333
hs_4
mult_heuristic
[ 43, 33, 9, 85 ]
66
[ "43-33=10", "85-9=76", "76-10=66" ]
Current State: 66:[43, 33, 9, 85], Operations: [] Exploring Operation: 43-33=10, Resulting Numbers: [9, 85, 10] Generated Node #2: [9, 85, 10] from Operation: 43-33=10 Current State: 66:[9, 85, 10], Operations: ['43-33=10'] Exploring Operation: 85-9=76, Resulting Numbers: [10, 76] Generated Node #3: [10, 76] from Operation: 85-9=76 Current State: 66:[10, 76], Operations: ['43-33=10', '85-9=76'] Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[43, 33, 9, 85], Operations: [] Exploring Operation: 43-9=34, Resulting Numbers: [33, 85, 34] Generated Node #0,0: 66:[33, 85, 34] Operation: 43-9=34 Exploring Operation: 85-33=52, Resulting Numbers: [43, 9, 52] Generated Node #0,1: 66:[43, 9, 52] Operation: 85-33=52 Exploring Operation: 43-33=10, Resulting Numbers: [9, 85, 10] Generated Node #0,2: 66:[9, 85, 10] Operation: 43-33=10 Exploring Operation: 85-9=76, Resulting Numbers: [43, 33, 76] Generated Node #0,3: 66:[43, 33, 76] Operation: 85-9=76 Exploring Operation: 85-43=42, Resulting Numbers: [33, 9, 42] Generated Node #0,4: 66:[33, 9, 42] Operation: 85-43=42 Start Sub Search at level 1: Moving to Node #0,4 Current State: 66:[33, 9, 42], Operations: ['85-43=42'] Exploring Operation: 42-9=33, Resulting Numbers: [33, 33] Generated Node #0,4,0: 66:[33, 33] Operation: 42-9=33 Exploring Operation: 33-9=24, Resulting Numbers: [42, 24] Generated Node #0,4,1: 66:[42, 24] Operation: 33-9=24 Exploring Operation: 9+42=51, Resulting Numbers: [33, 51] Generated Node #0,4,2: 66:[33, 51] Operation: 9+42=51 Exploring Operation: 42-33=9, Resulting Numbers: [9, 9] Generated Node #0,4,3: 66:[9, 9] Operation: 42-33=9 Exploring Operation: 33+42=75, Resulting Numbers: [9, 75] Generated Node #0,4,4: 66:[9, 75] Operation: 33+42=75 Moving to Node #0,4,0 Current State: 66:[33, 33], Operations: ['85-43=42', '42-9=33'] Exploring Operation: 33*33=1089, Resulting Numbers: [1089] 1089,66 unequal: No Solution Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[43, 33, 9, 85], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [33, 9, 42] Generated Node #0,4: 66:[33, 9, 42] Operation: 85-43=42 Moving to Node #0,4 Current State: 66:[33, 9, 42], Operations: ['85-43=42'] Exploring Operation: 42-9=33, Resulting Numbers: [33, 33] Generated Node #0,4,0: 66:[33, 33] Operation: 42-9=33 Moving to Node #0,4,0 Current State: 66:[33, 33], Operations: ['85-43=42', '42-9=33'] Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 43, 84, 72, 22 ]
91
[ "84-43=41", "72-22=50", "41+50=91" ]
Current State: 91:[43, 84, 72, 22], Operations: [] Exploring Operation: 84-43=41, Resulting Numbers: [72, 22, 41] Generated Node #2: [72, 22, 41] from Operation: 84-43=41 Current State: 91:[72, 22, 41], Operations: ['84-43=41'] Exploring Operation: 72-22=50, Resulting Numbers: [41, 50] Generated Node #3: [41, 50] from Operation: 72-22=50 Current State: 91:[41, 50], Operations: ['84-43=41', '72-22=50'] Exploring Operation: 41+50=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[43, 84, 72, 22], Operations: [] Exploring Operation: 84-72=12, Resulting Numbers: [43, 22, 12] Generated Node #0,0: 91:[43, 22, 12] Operation: 84-72=12 Exploring Operation: 72-43=29, Resulting Numbers: [84, 22, 29] Generated Node #0,1: 91:[84, 22, 29] Operation: 72-43=29 Exploring Operation: 43-22=21, Resulting Numbers: [84, 72, 21] Generated Node #0,2: 91:[84, 72, 21] Operation: 43-22=21 Exploring Operation: 43+72=115, Resulting Numbers: [84, 22, 115] Generated Node #0,3: 91:[84, 22, 115] Operation: 43+72=115 Moving to Node #0,1 Current State: 91:[84, 22, 29], Operations: ['72-43=29'] Exploring Operation: 84+22=106, Resulting Numbers: [29, 106] Generated Node #0,1,0: 91:[29, 106] Operation: 84+22=106 Exploring Operation: 84-22=62, Resulting Numbers: [29, 62] Generated Node #0,1,1: 91:[29, 62] Operation: 84-22=62 Exploring Operation: 29-22=7, Resulting Numbers: [84, 7] Generated Node #0,1,2: 91:[84, 7] Operation: 29-22=7 Exploring Operation: 84+29=113, Resulting Numbers: [22, 113] Generated Node #0,1,3: 91:[22, 113] Operation: 84+29=113 Moving to Node #0,2 Current State: 91:[84, 72, 21], Operations: ['43-22=21'] Exploring Operation: 84+21=105, Resulting Numbers: [72, 105] Generated Node #0,2,0: 91:[72, 105] Operation: 84+21=105 Exploring Operation: 84/21=4, Resulting Numbers: [72, 4] Generated Node #0,2,1: 91:[72, 4] Operation: 84/21=4 Exploring Operation: 72+21=93, Resulting Numbers: [84, 93] Generated Node #0,2,2: 91:[84, 93] Operation: 72+21=93 Exploring Operation: 84-72=12, Resulting Numbers: [21, 12] Generated Node #0,2,3: 91:[21, 12] Operation: 84-72=12 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[84, 93], Operations: ['43-22=21', '72+21=93'] Exploring Operation: 84*93=7812, Resulting Numbers: [7812] 7812,91 unequal: No Solution Exploring Operation: 93-84=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 84+93=177, Resulting Numbers: [177] 177,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,3 Current State: 91:[21, 12], Operations: ['43-22=21', '84-72=12'] Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,91 unequal: No Solution Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,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:[72, 4], Operations: ['43-22=21', '84/21=4'] Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,91 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,91 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 72*4=288, Resulting Numbers: [288] 288,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,0 Current State: 91:[72, 105], Operations: ['43-22=21', '84+21=105'] Exploring Operation: 72+105=177, Resulting Numbers: [177] 177,91 unequal: No Solution Exploring Operation: 105-72=33, Resulting Numbers: [33] 33,91 unequal: No Solution Exploring Operation: 72*105=7560, Resulting Numbers: [7560] 7560,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:[84, 22, 115], Operations: ['43+72=115'] Exploring Operation: 115-84=31, Resulting Numbers: [22, 31] Generated Node #0,3,0: 91:[22, 31] Operation: 115-84=31 Exploring Operation: 84-22=62, Resulting Numbers: [115, 62] Generated Node #0,3,1: 91:[115, 62] Operation: 84-22=62 Exploring Operation: 115-22=93, Resulting Numbers: [84, 93] Generated Node #0,3,2: 91:[84, 93] Operation: 115-22=93 Exploring Operation: 84+22=106, Resulting Numbers: [115, 106] Generated Node #0,3,3: 91:[115, 106] Operation: 84+22=106 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 91:[84, 93], Operations: ['43+72=115', '115-22=93'] Exploring Operation: 93-84=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 84*93=7812, Resulting Numbers: [7812] 7812,91 unequal: No Solution Exploring Operation: 84+93=177, Resulting Numbers: [177] 177,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 91:[22, 31], Operations: ['43+72=115', '115-84=31'] Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,91 unequal: No Solution Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,91 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 91:[115, 106], Operations: ['43+72=115', '84+22=106'] Exploring Operation: 115-106=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 115*106=12190, Resulting Numbers: [12190] 12190,91 unequal: No Solution Exploring Operation: 115+106=221, Resulting Numbers: [221] 221,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 91:[115, 62], Operations: ['43+72=115', '84-22=62'] Exploring Operation: 115*62=7130, Resulting Numbers: [7130] 7130,91 unequal: No Solution Exploring Operation: 115-62=53, Resulting Numbers: [53] 53,91 unequal: No Solution Exploring Operation: 115+62=177, Resulting Numbers: [177] 177,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 91:[43, 22, 12], Operations: ['84-72=12'] Exploring Operation: 43-12=31, Resulting Numbers: [22, 31] Generated Node #0,0,0: 91:[22, 31] Operation: 43-12=31 Exploring Operation: 43+22=65, Resulting Numbers: [12, 65] Generated Node #0,0,1: 91:[12, 65] Operation: 43+22=65 Exploring Operation: 22-12=10, Resulting Numbers: [43, 10] Generated Node #0,0,2: 91:[43, 10] Operation: 22-12=10 Exploring Operation: 43-22=21, Resulting Numbers: [12, 21] Generated Node #0,0,3: 91:[12, 21] Operation: 43-22=21 Moving to Node #0,1,2 Current State: 91:[84, 7], Operations: ['72-43=29', '29-22=7'] Exploring Operation: 84*7=588, Resulting Numbers: [588] 588,91 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,91 unequal: No Solution Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[43, 84, 72, 22], Operations: [] Exploring Operation: 72-43=29, Resulting Numbers: [84, 22, 29] Generated Node #0,1: 91:[84, 22, 29] Operation: 72-43=29 Moving to Node #0,1 Current State: 91:[84, 22, 29], Operations: ['72-43=29'] Exploring Operation: 29-22=7, Resulting Numbers: [84, 7] Generated Node #0,1,2: 91:[84, 7] Operation: 29-22=7 Moving to Node #0,1,2 Current State: 91:[84, 7], Operations: ['72-43=29', '29-22=7'] Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.954861
hs_4
sum_heuristic
[ 24, 50, 88, 16 ]
46
[ "50-24=26", "88-16=72", "72-26=46" ]
Current State: 46:[24, 50, 88, 16], Operations: [] Exploring Operation: 50-24=26, Resulting Numbers: [88, 16, 26] Generated Node #2: [88, 16, 26] from Operation: 50-24=26 Current State: 46:[88, 16, 26], Operations: ['50-24=26'] Exploring Operation: 88-16=72, Resulting Numbers: [26, 72] Generated Node #3: [26, 72] from Operation: 88-16=72 Current State: 46:[26, 72], Operations: ['50-24=26', '88-16=72'] Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[24, 50, 88, 16], Operations: [] Exploring Operation: 88-50=38, Resulting Numbers: [24, 16, 38] Generated Node #0,0: 46:[24, 16, 38] Operation: 88-50=38 Moving to Node #0,0 Current State: 46:[24, 16, 38], Operations: ['88-50=38'] Exploring Operation: 38-16=22, Resulting Numbers: [24, 22] Generated Node #0,0,0: 46:[24, 22] Operation: 38-16=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[24, 22], Operations: ['88-50=38', '38-16=22'] Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[24, 50, 88, 16], Operations: [] Exploring Operation: 88-50=38, Resulting Numbers: [24, 16, 38] Generated Node #0,0: 46:[24, 16, 38] Operation: 88-50=38 Moving to Node #0,0 Current State: 46:[24, 16, 38], Operations: ['88-50=38'] Exploring Operation: 38-16=22, Resulting Numbers: [24, 22] Generated Node #0,0,0: 46:[24, 22] Operation: 38-16=22 Moving to Node #0,0,0 Current State: 46:[24, 22], Operations: ['88-50=38', '38-16=22'] Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 80, 8, 52, 9 ]
52
[ "80/8=10", "10-9=1", "52*1=52" ]
Current State: 52:[80, 8, 52, 9], Operations: [] Exploring Operation: 80/8=10, Resulting Numbers: [52, 9, 10] Generated Node #2: [52, 9, 10] from Operation: 80/8=10 Current State: 52:[52, 9, 10], Operations: ['80/8=10'] Exploring Operation: 10-9=1, Resulting Numbers: [52, 1] Generated Node #3: [52, 1] from Operation: 10-9=1 Current State: 52:[52, 1], Operations: ['80/8=10', '10-9=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[80, 8, 52, 9], Operations: [] Exploring Operation: 80/8=10, Resulting Numbers: [52, 9, 10] Generated Node #0,0: 52:[52, 9, 10] Operation: 80/8=10 Exploring Operation: 80-52=28, Resulting Numbers: [8, 9, 28] Generated Node #0,1: 52:[8, 9, 28] Operation: 80-52=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[52, 9, 10], Operations: ['80/8=10'] Exploring Operation: 9+10=19, Resulting Numbers: [52, 19] Generated Node #0,0,0: 52:[52, 19] Operation: 9+10=19 Exploring Operation: 10-9=1, Resulting Numbers: [52, 1] Generated Node #0,0,1: 52:[52, 1] Operation: 10-9=1 Moving to Node #0,0,1 Current State: 52:[52, 1], Operations: ['80/8=10', '10-9=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[80, 8, 52, 9], Operations: [] Exploring Operation: 80/8=10, Resulting Numbers: [52, 9, 10] Generated Node #0,0: 52:[52, 9, 10] Operation: 80/8=10 Moving to Node #0,0 Current State: 52:[52, 9, 10], Operations: ['80/8=10'] Exploring Operation: 10-9=1, Resulting Numbers: [52, 1] Generated Node #0,0,1: 52:[52, 1] Operation: 10-9=1 Moving to Node #0,0,1 Current State: 52:[52, 1], Operations: ['80/8=10', '10-9=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 94, 26, 8, 7 ]
16
[ "94+26=120", "120-8=112", "112/7=16" ]
Current State: 16:[94, 26, 8, 7], Operations: [] Exploring Operation: 94+26=120, Resulting Numbers: [8, 7, 120] Generated Node #2: [8, 7, 120] from Operation: 94+26=120 Current State: 16:[8, 7, 120], Operations: ['94+26=120'] Exploring Operation: 120-8=112, Resulting Numbers: [7, 112] Generated Node #3: [7, 112] from Operation: 120-8=112 Current State: 16:[7, 112], Operations: ['94+26=120', '120-8=112'] Exploring Operation: 112/7=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[94, 26, 8, 7], Operations: [] Exploring Operation: 26-8=18, Resulting Numbers: [94, 7, 18] Generated Node #0,0: 16:[94, 7, 18] Operation: 26-8=18 Exploring Operation: 94-7=87, Resulting Numbers: [26, 8, 87] Generated Node #0,1: 16:[26, 8, 87] Operation: 94-7=87 Exploring Operation: 26-7=19, Resulting Numbers: [94, 8, 19] Generated Node #0,2: 16:[94, 8, 19] Operation: 26-7=19 Exploring Operation: 94-8=86, Resulting Numbers: [26, 7, 86] Generated Node #0,3: 16:[26, 7, 86] Operation: 94-8=86 Exploring Operation: 94-26=68, Resulting Numbers: [8, 7, 68] Generated Node #0,4: 16:[8, 7, 68] Operation: 94-26=68 Moving to Node #0,4 Current State: 16:[8, 7, 68], Operations: ['94-26=68'] Exploring Operation: 68-8=60, Resulting Numbers: [7, 60] Generated Node #0,4,0: 16:[7, 60] Operation: 68-8=60 Exploring Operation: 8-7=1, Resulting Numbers: [68, 1] Generated Node #0,4,1: 16:[68, 1] Operation: 8-7=1 Exploring Operation: 68-7=61, Resulting Numbers: [8, 61] Generated Node #0,4,2: 16:[8, 61] Operation: 68-7=61 Exploring Operation: 8+7=15, Resulting Numbers: [68, 15] Generated Node #0,4,3: 16:[68, 15] Operation: 8+7=15 Exploring Operation: 7+68=75, Resulting Numbers: [8, 75] Generated Node #0,4,4: 16:[8, 75] Operation: 7+68=75 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 16:[7, 60], Operations: ['94-26=68', '68-8=60'] Exploring Operation: 7*60=420, Resulting Numbers: [420] 420,16 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 16:[8, 61], Operations: ['94-26=68', '68-7=61'] Exploring Operation: 8+61=69, Resulting Numbers: [69] 69,16 unequal: No Solution Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 8*61=488, Resulting Numbers: [488] 488,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,4,1 Current State: 16:[68, 1], Operations: ['94-26=68', '8-7=1'] Exploring Operation: 68+1=69, Resulting Numbers: [69] 69,16 unequal: No Solution Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,16 unequal: No Solution Exploring Operation: 68*1=68, Resulting Numbers: [68] 68,16 unequal: No Solution Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,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,4,3 Current State: 16:[68, 15], Operations: ['94-26=68', '8+7=15'] Exploring Operation: 68*15=1020, Resulting Numbers: [1020] 1020,16 unequal: No Solution Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 68+15=83, Resulting Numbers: [83] 83,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,4,4 Current State: 16:[8, 75], Operations: ['94-26=68', '7+68=75'] Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,16 unequal: No Solution Exploring Operation: 8+75=83, Resulting Numbers: [83] 83,16 unequal: No Solution Exploring Operation: 8*75=600, Resulting Numbers: [600] 600,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:[26, 8, 87], Operations: ['94-7=87'] Exploring Operation: 8+87=95, Resulting Numbers: [26, 95] Generated Node #0,1,0: 16:[26, 95] Operation: 8+87=95 Exploring Operation: 26+8=34, Resulting Numbers: [87, 34] Generated Node #0,1,1: 16:[87, 34] Operation: 26+8=34 Exploring Operation: 87-26=61, Resulting Numbers: [8, 61] Generated Node #0,1,2: 16:[8, 61] Operation: 87-26=61 Exploring Operation: 26-8=18, Resulting Numbers: [87, 18] Generated Node #0,1,3: 16:[87, 18] Operation: 26-8=18 Exploring Operation: 87-8=79, Resulting Numbers: [26, 79] Generated Node #0,1,4: 16:[26, 79] Operation: 87-8=79 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 16:[8, 61], Operations: ['94-7=87', '87-26=61'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 8+61=69, Resulting Numbers: [69] 69,16 unequal: No Solution Exploring Operation: 8*61=488, Resulting Numbers: [488] 488,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,1,3 Current State: 16:[87, 18], Operations: ['94-7=87', '26-8=18'] Exploring Operation: 87*18=1566, Resulting Numbers: [1566] 1566,16 unequal: No Solution Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,16 unequal: No Solution Exploring Operation: 87+18=105, Resulting Numbers: [105] 105,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,1,4 Current State: 16:[26, 79], Operations: ['94-7=87', '87-8=79'] Exploring Operation: 26*79=2054, Resulting Numbers: [2054] 2054,16 unequal: No Solution Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 26+79=105, Resulting Numbers: [105] 105,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,1,0 Current State: 16:[26, 95], Operations: ['94-7=87', '8+87=95'] Exploring Operation: 26+95=121, Resulting Numbers: [121] 121,16 unequal: No Solution Exploring Operation: 26*95=2470, Resulting Numbers: [2470] 2470,16 unequal: No Solution Exploring Operation: 95-26=69, Resulting Numbers: [69] 69,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,1,1 Current State: 16:[87, 34], Operations: ['94-7=87', '26+8=34'] Exploring Operation: 87*34=2958, Resulting Numbers: [2958] 2958,16 unequal: No Solution Exploring Operation: 87-34=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 87+34=121, Resulting Numbers: [121] 121,16 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: 16:[26, 7, 86], Operations: ['94-8=86'] Exploring Operation: 86-7=79, Resulting Numbers: [26, 79] Generated Node #0,3,0: 16:[26, 79] Operation: 86-7=79 Exploring Operation: 26-7=19, Resulting Numbers: [86, 19] Generated Node #0,3,1: 16:[86, 19] Operation: 26-7=19 Exploring Operation: 86-26=60, Resulting Numbers: [7, 60] Generated Node #0,3,2: 16:[7, 60] Operation: 86-26=60 Exploring Operation: 7+86=93, Resulting Numbers: [26, 93] Generated Node #0,3,3: 16:[26, 93] Operation: 7+86=93 Exploring Operation: 26+7=33, Resulting Numbers: [86, 33] Generated Node #0,3,4: 16:[86, 33] Operation: 26+7=33 Moving to Node #0,0 Current State: 16:[94, 7, 18], Operations: ['26-8=18'] Exploring Operation: 94-7=87, Resulting Numbers: [18, 87] Generated Node #0,0,0: 16:[18, 87] Operation: 94-7=87 Exploring Operation: 94+7=101, Resulting Numbers: [18, 101] Generated Node #0,0,1: 16:[18, 101] Operation: 94+7=101 Exploring Operation: 18-7=11, Resulting Numbers: [94, 11] Generated Node #0,0,2: 16:[94, 11] Operation: 18-7=11 Exploring Operation: 7+18=25, Resulting Numbers: [94, 25] Generated Node #0,0,3: 16:[94, 25] Operation: 7+18=25 Exploring Operation: 94-18=76, Resulting Numbers: [7, 76] Generated Node #0,0,4: 16:[7, 76] Operation: 94-18=76 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 16:[7, 76], Operations: ['26-8=18', '94-18=76'] Exploring Operation: 7+76=83, Resulting Numbers: [83] 83,16 unequal: No Solution Exploring Operation: 7*76=532, Resulting Numbers: [532] 532,16 unequal: No Solution Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,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:[18, 87], Operations: ['26-8=18', '94-7=87'] Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,16 unequal: No Solution Exploring Operation: 18+87=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 18*87=1566, Resulting Numbers: [1566] 1566,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:[94, 11], Operations: ['26-8=18', '18-7=11'] Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,16 unequal: No Solution Exploring Operation: 94*11=1034, Resulting Numbers: [1034] 1034,16 unequal: No Solution Exploring Operation: 94+11=105, Resulting Numbers: [105] 105,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[18, 101], Operations: ['26-8=18', '94+7=101'] Exploring Operation: 101-18=83, Resulting Numbers: [83] 83,16 unequal: No Solution Exploring Operation: 18*101=1818, Resulting Numbers: [1818] 1818,16 unequal: No Solution Exploring Operation: 18+101=119, Resulting Numbers: [119] 119,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 16:[94, 25], Operations: ['26-8=18', '7+18=25'] Exploring Operation: 94*25=2350, Resulting Numbers: [2350] 2350,16 unequal: No Solution Exploring Operation: 94+25=119, Resulting Numbers: [119] 119,16 unequal: No Solution Exploring Operation: 94-25=69, Resulting Numbers: [69] 69,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 16:[94, 8, 19], Operations: ['26-7=19'] Exploring Operation: 94+8=102, Resulting Numbers: [19, 102] Generated Node #0,2,0: 16:[19, 102] Operation: 94+8=102 Exploring Operation: 94-19=75, Resulting Numbers: [8, 75] Generated Node #0,2,1: 16:[8, 75] Operation: 94-19=75 Exploring Operation: 94-8=86, Resulting Numbers: [19, 86] Generated Node #0,2,2: 16:[19, 86] Operation: 94-8=86 Exploring Operation: 19-8=11, Resulting Numbers: [94, 11] Generated Node #0,2,3: 16:[94, 11] Operation: 19-8=11 Exploring Operation: 8+19=27, Resulting Numbers: [94, 27] Generated Node #0,2,4: 16:[94, 27] Operation: 8+19=27 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[8, 75], Operations: ['26-7=19', '94-19=75'] Exploring Operation: 8+75=83, Resulting Numbers: [83] 83,16 unequal: No Solution Exploring Operation: 8*75=600, Resulting Numbers: [600] 600,16 unequal: No Solution Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 16:[19, 86], Operations: ['26-7=19', '94-8=86'] Exploring Operation: 19*86=1634, Resulting Numbers: [1634] 1634,16 unequal: No Solution Exploring Operation: 19+86=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 16:[94, 11], Operations: ['26-7=19', '19-8=11'] Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,16 unequal: No Solution Exploring Operation: 94+11=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 94*11=1034, Resulting Numbers: [1034] 1034,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,0 Current State: 16:[19, 102], Operations: ['26-7=19', '94+8=102'] Exploring Operation: 102-19=83, Resulting Numbers: [83] 83,16 unequal: No Solution Exploring Operation: 19+102=121, Resulting Numbers: [121] 121,16 unequal: No Solution Exploring Operation: 19*102=1938, Resulting Numbers: [1938] 1938,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,4 Current State: 16:[94, 27], Operations: ['26-7=19', '8+19=27'] Exploring Operation: 94*27=2538, Resulting Numbers: [2538] 2538,16 unequal: No Solution Exploring Operation: 94-27=67, Resulting Numbers: [67] 67,16 unequal: No Solution Exploring Operation: 94+27=121, Resulting Numbers: [121] 121,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 16:[7, 60], Operations: ['94-8=86', '86-26=60'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,16 unequal: No Solution Exploring Operation: 7*60=420, Resulting Numbers: [420] 420,16 unequal: No Solution Moving to Node #0,3,1 Current State: 16:[86, 19], Operations: ['94-8=86', '26-7=19'] Exploring Operation: 86+19=105, Resulting Numbers: [105] 105,16 unequal: No Solution Exploring Operation: 86*19=1634, Resulting Numbers: [1634] 1634,16 unequal: No Solution Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,16 unequal: No Solution Moving to Node #0,3,0 Current State: 16:[26, 79], Operations: ['94-8=86', '86-7=79'] Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 26*79=2054, Resulting Numbers: [2054] 2054,16 unequal: No Solution Exploring Operation: 26+79=105, Resulting Numbers: [105] 105,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[26, 93], Operations: ['94-8=86', '7+86=93'] Exploring Operation: 26+93=119, Resulting Numbers: [119] 119,16 unequal: No Solution Exploring Operation: 26*93=2418, Resulting Numbers: [2418] 2418,16 unequal: No Solution Exploring Operation: 93-26=67, Resulting Numbers: [67] 67,16 unequal: No Solution Moving to Node #0,3,4 Current State: 16:[86, 33], Operations: ['94-8=86', '26+7=33'] Exploring Operation: 86-33=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 86+33=119, Resulting Numbers: [119] 119,16 unequal: No Solution Exploring Operation: 86*33=2838, Resulting Numbers: [2838] 2838,16 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 5, 97, 77, 46 ]
50
[ "97-77=20", "20/5=4", "46+4=50" ]
Current State: 50:[5, 97, 77, 46], Operations: [] Exploring Operation: 97-77=20, Resulting Numbers: [5, 46, 20] Generated Node #2: [5, 46, 20] from Operation: 97-77=20 Current State: 50:[5, 46, 20], Operations: ['97-77=20'] Exploring Operation: 20/5=4, Resulting Numbers: [46, 4] Generated Node #3: [46, 4] from Operation: 20/5=4 Current State: 50:[46, 4], Operations: ['97-77=20', '20/5=4'] Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[5, 97, 77, 46], Operations: [] Exploring Operation: 97-46=51, Resulting Numbers: [5, 77, 51] Generated Node #0,0: 50:[5, 77, 51] Operation: 97-46=51 Exploring Operation: 97-77=20, Resulting Numbers: [5, 46, 20] Generated Node #0,1: 50:[5, 46, 20] Operation: 97-77=20 Moving to Node #0,1 Current State: 50:[5, 46, 20], Operations: ['97-77=20'] Exploring Operation: 46-20=26, Resulting Numbers: [5, 26] Generated Node #0,1,0: 50:[5, 26] Operation: 46-20=26 Exploring Operation: 5+20=25, Resulting Numbers: [46, 25] Generated Node #0,1,1: 50:[46, 25] Operation: 5+20=25 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[5, 26], Operations: ['97-77=20', '46-20=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,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,1,1 Current State: 50:[46, 25], Operations: ['97-77=20', '5+20=25'] Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 46+25=71, Resulting Numbers: [71] 71,50 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: 50:[5, 77, 51], Operations: ['97-46=51'] Exploring Operation: 77-5=72, Resulting Numbers: [51, 72] Generated Node #0,0,0: 50:[51, 72] Operation: 77-5=72 Exploring Operation: 77-51=26, Resulting Numbers: [5, 26] Generated Node #0,0,1: 50:[5, 26] Operation: 77-51=26 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[5, 26], Operations: ['97-46=51', '77-51=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,50 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[51, 72], Operations: ['97-46=51', '77-5=72'] Exploring Operation: 51+72=123, Resulting Numbers: [123] 123,50 unequal: No Solution Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,50 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
[ 55, 15, 39, 22 ]
33
[ "55*15=825", "39*22=858", "858-825=33" ]
Current State: 33:[55, 15, 39, 22], Operations: [] Exploring Operation: 55*15=825, Resulting Numbers: [39, 22, 825] Generated Node #2: [39, 22, 825] from Operation: 55*15=825 Current State: 33:[39, 22, 825], Operations: ['55*15=825'] Exploring Operation: 39*22=858, Resulting Numbers: [825, 858] Generated Node #3: [825, 858] from Operation: 39*22=858 Current State: 33:[825, 858], Operations: ['55*15=825', '39*22=858'] Exploring Operation: 858-825=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[55, 15, 39, 22], Operations: [] Exploring Operation: 55-39=16, Resulting Numbers: [15, 22, 16] Generated Node #0,0: 33:[15, 22, 16] Operation: 55-39=16 Exploring Operation: 55-22=33, Resulting Numbers: [15, 39, 33] Generated Node #0,1: 33:[15, 39, 33] Operation: 55-22=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[15, 39, 33], Operations: ['55-22=33'] Exploring Operation: 39-33=6, Resulting Numbers: [15, 6] Generated Node #0,1,0: 33:[15, 6] Operation: 39-33=6 Exploring Operation: 39-15=24, Resulting Numbers: [33, 24] Generated Node #0,1,1: 33:[33, 24] Operation: 39-15=24 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[15, 6], Operations: ['55-22=33', '39-33=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,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,1 Current State: 33:[33, 24], Operations: ['55-22=33', '39-15=24'] Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[15, 22, 16], Operations: ['55-39=16'] Exploring Operation: 15+22=37, Resulting Numbers: [16, 37] Generated Node #0,0,0: 33:[16, 37] Operation: 15+22=37 Exploring Operation: 22-16=6, Resulting Numbers: [15, 6] Generated Node #0,0,1: 33:[15, 6] Operation: 22-16=6 Moving to Node #0,0,1 Current State: 33:[15, 6], Operations: ['55-39=16', '22-16=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[16, 37], Operations: ['55-39=16', '15+22=37'] Exploring Operation: 16+37=53, Resulting Numbers: [53] 53,33 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 49, 86, 25, 45 ]
17
[ "86-49=37", "45-25=20", "37-20=17" ]
Current State: 17:[49, 86, 25, 45], Operations: [] Exploring Operation: 86-49=37, Resulting Numbers: [25, 45, 37] Generated Node #2: [25, 45, 37] from Operation: 86-49=37 Current State: 17:[25, 45, 37], Operations: ['86-49=37'] Exploring Operation: 45-25=20, Resulting Numbers: [37, 20] Generated Node #3: [37, 20] from Operation: 45-25=20 Current State: 17:[37, 20], Operations: ['86-49=37', '45-25=20'] Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[49, 86, 25, 45], Operations: [] Exploring Operation: 86-45=41, Resulting Numbers: [49, 25, 41] Generated Node #0,0: 17:[49, 25, 41] Operation: 86-45=41 Exploring Operation: 86-49=37, Resulting Numbers: [25, 45, 37] Generated Node #0,1: 17:[25, 45, 37] Operation: 86-49=37 Exploring Operation: 49-45=4, Resulting Numbers: [86, 25, 4] Generated Node #0,2: 17:[86, 25, 4] Operation: 49-45=4 Moving to Node #0,1 Current State: 17:[25, 45, 37], Operations: ['86-49=37'] Exploring Operation: 45-37=8, Resulting Numbers: [25, 8] Generated Node #0,1,0: 17:[25, 8] Operation: 45-37=8 Exploring Operation: 37-25=12, Resulting Numbers: [45, 12] Generated Node #0,1,1: 17:[45, 12] Operation: 37-25=12 Exploring Operation: 45-25=20, Resulting Numbers: [37, 20] Generated Node #0,1,2: 17:[37, 20] Operation: 45-25=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[25, 8], Operations: ['86-49=37', '45-37=8'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[49, 86, 25, 45], Operations: [] Exploring Operation: 86-49=37, Resulting Numbers: [25, 45, 37] Generated Node #0,1: 17:[25, 45, 37] Operation: 86-49=37 Moving to Node #0,1 Current State: 17:[25, 45, 37], Operations: ['86-49=37'] Exploring Operation: 45-37=8, Resulting Numbers: [25, 8] Generated Node #0,1,0: 17:[25, 8] Operation: 45-37=8 Moving to Node #0,1,0 Current State: 17:[25, 8], Operations: ['86-49=37', '45-37=8'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 35, 19, 92, 3 ]
32
[ "35*3=105", "92-19=73", "105-73=32" ]
Current State: 32:[35, 19, 92, 3], Operations: [] Exploring Operation: 35*3=105, Resulting Numbers: [19, 92, 105] Generated Node #2: [19, 92, 105] from Operation: 35*3=105 Current State: 32:[19, 92, 105], Operations: ['35*3=105'] Exploring Operation: 92-19=73, Resulting Numbers: [105, 73] Generated Node #3: [105, 73] from Operation: 92-19=73 Current State: 32:[105, 73], Operations: ['35*3=105', '92-19=73'] Exploring Operation: 105-73=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[35, 19, 92, 3], Operations: [] Exploring Operation: 92-35=57, Resulting Numbers: [19, 3, 57] Generated Node #0,0: 32:[19, 3, 57] Operation: 92-35=57 Exploring Operation: 35-19=16, Resulting Numbers: [92, 3, 16] Generated Node #0,1: 32:[92, 3, 16] Operation: 35-19=16 Exploring Operation: 92-19=73, Resulting Numbers: [35, 3, 73] Generated Node #0,2: 32:[35, 3, 73] Operation: 92-19=73 Moving to Node #0,0 Current State: 32:[19, 3, 57], Operations: ['92-35=57'] Exploring Operation: 57/19=3, Resulting Numbers: [3, 3] Generated Node #0,0,0: 32:[3, 3] Operation: 57/19=3 Exploring Operation: 57/3=19, Resulting Numbers: [19, 19] Generated Node #0,0,1: 32:[19, 19] Operation: 57/3=19 Exploring Operation: 57-19=38, Resulting Numbers: [3, 38] Generated Node #0,0,2: 32:[3, 38] Operation: 57-19=38 Moving to Node #0,2 Current State: 32:[35, 3, 73], Operations: ['92-19=73'] Exploring Operation: 73-3=70, Resulting Numbers: [35, 70] Generated Node #0,2,0: 32:[35, 70] Operation: 73-3=70 Exploring Operation: 35-3=32, Resulting Numbers: [73, 32] Generated Node #0,2,1: 32:[73, 32] Operation: 35-3=32 Exploring Operation: 73-35=38, Resulting Numbers: [3, 38] Generated Node #0,2,2: 32:[3, 38] Operation: 73-35=38 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 32:[3, 38], Operations: ['92-19=73', '73-35=38'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,32 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[35, 70], Operations: ['92-19=73', '73-3=70'] Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 35+70=105, Resulting Numbers: [105] 105,32 unequal: No Solution Exploring Operation: 70-35=35, Resulting Numbers: [35] 35,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 32:[73, 32], Operations: ['92-19=73', '35-3=32'] Exploring Operation: 73*32=2336, Resulting Numbers: [2336] 2336,32 unequal: No Solution Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 73+32=105, Resulting Numbers: [105] 105,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 32:[92, 3, 16], Operations: ['35-19=16'] Exploring Operation: 92-3=89, Resulting Numbers: [16, 89] Generated Node #0,1,0: 32:[16, 89] Operation: 92-3=89 Exploring Operation: 92+3=95, Resulting Numbers: [16, 95] Generated Node #0,1,1: 32:[16, 95] Operation: 92+3=95 Exploring Operation: 92-16=76, Resulting Numbers: [3, 76] Generated Node #0,1,2: 32:[3, 76] Operation: 92-16=76 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 32:[3, 76], Operations: ['35-19=16', '92-16=76'] Exploring Operation: 3*76=228, Resulting Numbers: [228] 228,32 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,32 unequal: No Solution Exploring Operation: 3+76=79, Resulting Numbers: [79] 79,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 32:[16, 89], Operations: ['35-19=16', '92-3=89'] Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,32 unequal: No Solution Exploring Operation: 16+89=105, Resulting Numbers: [105] 105,32 unequal: No Solution Exploring Operation: 16*89=1424, Resulting Numbers: [1424] 1424,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 32:[16, 95], Operations: ['35-19=16', '92+3=95'] Exploring Operation: 95-16=79, Resulting Numbers: [79] 79,32 unequal: No Solution Exploring Operation: 16*95=1520, Resulting Numbers: [1520] 1520,32 unequal: No Solution Exploring Operation: 16+95=111, Resulting Numbers: [111] 111,32 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: 32:[3, 3], Operations: ['92-35=57', '57/19=3'] Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[19, 19], Operations: ['92-35=57', '57/3=19'] Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,32 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[3, 38], Operations: ['92-35=57', '57-19=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,32 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,32 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 6, 76, 9, 30 ]
90
[ "30/6=5", "76+9=85", "5+85=90" ]
Current State: 90:[6, 76, 9, 30], Operations: [] Exploring Operation: 30/6=5, Resulting Numbers: [76, 9, 5] Generated Node #2: [76, 9, 5] from Operation: 30/6=5 Current State: 90:[76, 9, 5], Operations: ['30/6=5'] Exploring Operation: 76+9=85, Resulting Numbers: [5, 85] Generated Node #3: [5, 85] from Operation: 76+9=85 Current State: 90:[5, 85], Operations: ['30/6=5', '76+9=85'] Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[6, 76, 9, 30], Operations: [] Exploring Operation: 76-30=46, Resulting Numbers: [6, 9, 46] Generated Node #0,0: 90:[6, 9, 46] Operation: 76-30=46 Exploring Operation: 76+9=85, Resulting Numbers: [6, 30, 85] Generated Node #0,1: 90:[6, 30, 85] Operation: 76+9=85 Exploring Operation: 6+9=15, Resulting Numbers: [76, 30, 15] Generated Node #0,2: 90:[76, 30, 15] Operation: 6+9=15 Exploring Operation: 9-6=3, Resulting Numbers: [76, 30, 3] Generated Node #0,3: 90:[76, 30, 3] Operation: 9-6=3 Exploring Operation: 6+76=82, Resulting Numbers: [9, 30, 82] Generated Node #0,4: 90:[9, 30, 82] Operation: 6+76=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[6, 9, 46], Operations: ['76-30=46'] Exploring Operation: 6+9=15, Resulting Numbers: [46, 15] Generated Node #0,0,0: 90:[46, 15] Operation: 6+9=15 Exploring Operation: 46-6=40, Resulting Numbers: [9, 40] Generated Node #0,0,1: 90:[9, 40] Operation: 46-6=40 Exploring Operation: 6+46=52, Resulting Numbers: [9, 52] Generated Node #0,0,2: 90:[9, 52] Operation: 6+46=52 Exploring Operation: 46-9=37, Resulting Numbers: [6, 37] Generated Node #0,0,3: 90:[6, 37] Operation: 46-9=37 Exploring Operation: 9-6=3, Resulting Numbers: [46, 3] Generated Node #0,0,4: 90:[46, 3] Operation: 9-6=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[46, 15], Operations: ['76-30=46', '6+9=15'] Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 46+15=61, Resulting Numbers: [61] 61,90 unequal: No Solution Exploring Operation: 46*15=690, Resulting Numbers: [690] 690,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 90:[46, 3], Operations: ['76-30=46', '9-6=3'] Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,90 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,90 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,90 unequal: No Solution No 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: 90:[9, 40], Operations: ['76-30=46', '46-6=40'] Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,90 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,90 unequal: No Solution No 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: 90:[9, 52], Operations: ['76-30=46', '6+46=52'] Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,90 unequal: No Solution Exploring Operation: 9*52=468, Resulting Numbers: [468] 468,90 unequal: No Solution Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,90 unequal: No Solution No 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: 90:[6, 37], Operations: ['76-30=46', '46-9=37'] Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,90 unequal: No Solution Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,90 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,90 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: 90:[6, 30, 85], Operations: ['76+9=85'] Exploring Operation: 6+85=91, Resulting Numbers: [30, 91] Generated Node #0,1,0: 90:[30, 91] Operation: 6+85=91 Exploring Operation: 30/6=5, Resulting Numbers: [85, 5] Generated Node #0,1,1: 90:[85, 5] Operation: 30/6=5 Exploring Operation: 6+30=36, Resulting Numbers: [85, 36] Generated Node #0,1,2: 90:[85, 36] Operation: 6+30=36 Exploring Operation: 85-30=55, Resulting Numbers: [6, 55] Generated Node #0,1,3: 90:[6, 55] Operation: 85-30=55 Exploring Operation: 30-6=24, Resulting Numbers: [85, 24] Generated Node #0,1,4: 90:[85, 24] Operation: 30-6=24 Moving to Node #0,1,0 Current State: 90:[30, 91], Operations: ['76+9=85', '6+85=91'] Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,90 unequal: No Solution Exploring Operation: 30*91=2730, Resulting Numbers: [2730] 2730,90 unequal: No Solution Exploring Operation: 30+91=121, Resulting Numbers: [121] 121,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[85, 5], Operations: ['76+9=85', '30/6=5'] Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[6, 76, 9, 30], Operations: [] Exploring Operation: 76+9=85, Resulting Numbers: [6, 30, 85] Generated Node #0,1: 90:[6, 30, 85] Operation: 76+9=85 Moving to Node #0,1 Current State: 90:[6, 30, 85], Operations: ['76+9=85'] Exploring Operation: 30/6=5, Resulting Numbers: [85, 5] Generated Node #0,1,1: 90:[85, 5] Operation: 30/6=5 Moving to Node #0,1,1 Current State: 90:[85, 5], Operations: ['76+9=85', '30/6=5'] Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 44, 57, 49, 54 ]
80
[ "54-44=10", "57-49=8", "10*8=80" ]
Current State: 80:[44, 57, 49, 54], Operations: [] Exploring Operation: 54-44=10, Resulting Numbers: [57, 49, 10] Generated Node #2: [57, 49, 10] from Operation: 54-44=10 Current State: 80:[57, 49, 10], Operations: ['54-44=10'] Exploring Operation: 57-49=8, Resulting Numbers: [10, 8] Generated Node #3: [10, 8] from Operation: 57-49=8 Current State: 80:[10, 8], Operations: ['54-44=10', '57-49=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[44, 57, 49, 54], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [44, 49, 3] Generated Node #0,0: 80:[44, 49, 3] Operation: 57-54=3 Moving to Node #0,0 Current State: 80:[44, 49, 3], Operations: ['57-54=3'] Exploring Operation: 49-44=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 80:[3, 5] Operation: 49-44=5 Moving to Node #0,0,0 Current State: 80:[3, 5], Operations: ['57-54=3', '49-44=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,80 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 29, 33, 44, 42 ]
27
[ "44*42=1848", "1848/33=56", "56-29=27" ]
Current State: 27:[29, 33, 44, 42], Operations: [] Exploring Operation: 44*42=1848, Resulting Numbers: [29, 33, 1848] Generated Node #2: [29, 33, 1848] from Operation: 44*42=1848 Current State: 27:[29, 33, 1848], Operations: ['44*42=1848'] Exploring Operation: 1848/33=56, Resulting Numbers: [29, 56] Generated Node #3: [29, 56] from Operation: 1848/33=56 Current State: 27:[29, 56], Operations: ['44*42=1848', '1848/33=56'] Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[29, 33, 44, 42], Operations: [] Exploring Operation: 42-33=9, Resulting Numbers: [29, 44, 9] Generated Node #0,0: 27:[29, 44, 9] Operation: 42-33=9 Exploring Operation: 44-33=11, Resulting Numbers: [29, 42, 11] Generated Node #0,1: 27:[29, 42, 11] Operation: 44-33=11 Exploring Operation: 44-42=2, Resulting Numbers: [29, 33, 2] Generated Node #0,2: 27:[29, 33, 2] Operation: 44-42=2 Moving to Node #0,2 Current State: 27:[29, 33, 2], Operations: ['44-42=2'] Exploring Operation: 33-2=31, Resulting Numbers: [29, 31] Generated Node #0,2,0: 27:[29, 31] Operation: 33-2=31 Exploring Operation: 29-2=27, Resulting Numbers: [33, 27] Generated Node #0,2,1: 27:[33, 27] Operation: 29-2=27 Exploring Operation: 33-29=4, Resulting Numbers: [2, 4] Generated Node #0,2,2: 27:[2, 4] Operation: 33-29=4 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[2, 4], Operations: ['44-42=2', '33-29=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[29, 31], Operations: ['44-42=2', '33-2=31'] Exploring Operation: 29+31=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 29*31=899, Resulting Numbers: [899] 899,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[33, 27], Operations: ['44-42=2', '29-2=27'] Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 33*27=891, Resulting Numbers: [891] 891,27 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 27:[29, 44, 9], Operations: ['42-33=9'] Exploring Operation: 44-29=15, Resulting Numbers: [9, 15] Generated Node #0,0,0: 27:[9, 15] Operation: 44-29=15 Exploring Operation: 29-9=20, Resulting Numbers: [44, 20] Generated Node #0,0,1: 27:[44, 20] Operation: 29-9=20 Exploring Operation: 44-9=35, Resulting Numbers: [29, 35] Generated Node #0,0,2: 27:[29, 35] Operation: 44-9=35 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[9, 15], Operations: ['42-33=9', '44-29=15'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 9*15=135, Resulting Numbers: [135] 135,27 unequal: No Solution Exploring Operation: 9+15=24, Resulting Numbers: [24] 24,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 27:[29, 35], Operations: ['42-33=9', '44-9=35'] Exploring Operation: 29+35=64, Resulting Numbers: [64] 64,27 unequal: No Solution Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 29*35=1015, Resulting Numbers: [1015] 1015,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[44, 20], Operations: ['42-33=9', '29-9=20'] Exploring Operation: 44*20=880, Resulting Numbers: [880] 880,27 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 44+20=64, Resulting Numbers: [64] 64,27 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: 27:[29, 42, 11], Operations: ['44-33=11'] Exploring Operation: 29-11=18, Resulting Numbers: [42, 18] Generated Node #0,1,0: 27:[42, 18] Operation: 29-11=18 Exploring Operation: 42-11=31, Resulting Numbers: [29, 31] Generated Node #0,1,1: 27:[29, 31] Operation: 42-11=31 Exploring Operation: 42-29=13, Resulting Numbers: [11, 13] Generated Node #0,1,2: 27:[11, 13] Operation: 42-29=13 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[29, 31], Operations: ['44-33=11', '42-11=31'] Exploring Operation: 29*31=899, Resulting Numbers: [899] 899,27 unequal: No Solution Exploring Operation: 29+31=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[11, 13], Operations: ['44-33=11', '42-29=13'] Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,27 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[42, 18], Operations: ['44-33=11', '29-11=18'] Exploring Operation: 42+18=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 42*18=756, Resulting Numbers: [756] 756,27 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
[ 47, 2, 22, 37 ]
20
[ "47+37=84", "84/2=42", "42-22=20" ]
Current State: 20:[47, 2, 22, 37], Operations: [] Exploring Operation: 47+37=84, Resulting Numbers: [2, 22, 84] Generated Node #2: [2, 22, 84] from Operation: 47+37=84 Current State: 20:[2, 22, 84], Operations: ['47+37=84'] Exploring Operation: 84/2=42, Resulting Numbers: [22, 42] Generated Node #3: [22, 42] from Operation: 84/2=42 Current State: 20:[22, 42], Operations: ['47+37=84', '84/2=42'] Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[47, 2, 22, 37], Operations: [] Exploring Operation: 47-37=10, Resulting Numbers: [2, 22, 10] Generated Node #0,0: 20:[2, 22, 10] Operation: 47-37=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[2, 22, 10], Operations: ['47-37=10'] Exploring Operation: 22-2=20, Resulting Numbers: [10, 20] Generated Node #0,0,0: 20:[10, 20] Operation: 22-2=20 Moving to Node #0,0,0 Current State: 20:[10, 20], Operations: ['47-37=10', '22-2=20'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,20 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
[ 80, 74, 64, 9 ]
99
[ "80+74=154", "64-9=55", "154-55=99" ]
Current State: 99:[80, 74, 64, 9], Operations: [] Exploring Operation: 80+74=154, Resulting Numbers: [64, 9, 154] Generated Node #2: [64, 9, 154] from Operation: 80+74=154 Current State: 99:[64, 9, 154], Operations: ['80+74=154'] Exploring Operation: 64-9=55, Resulting Numbers: [154, 55] Generated Node #3: [154, 55] from Operation: 64-9=55 Current State: 99:[154, 55], Operations: ['80+74=154', '64-9=55'] Exploring Operation: 154-55=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[80, 74, 64, 9], Operations: [] Exploring Operation: 74-64=10, Resulting Numbers: [80, 9, 10] Generated Node #0,0: 99:[80, 9, 10] Operation: 74-64=10 Moving to Node #0,0 Current State: 99:[80, 9, 10], Operations: ['74-64=10'] Exploring Operation: 80/10=8, Resulting Numbers: [9, 8] Generated Node #0,0,0: 99:[9, 8] Operation: 80/10=8 Moving to Node #0,0,0 Current State: 99:[9, 8], Operations: ['74-64=10', '80/10=8'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,99 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 22, 79, 77, 42 ]
43
[ "79-77=2", "42/2=21", "22+21=43" ]
Current State: 43:[22, 79, 77, 42], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [22, 42, 2] Generated Node #2: [22, 42, 2] from Operation: 79-77=2 Current State: 43:[22, 42, 2], Operations: ['79-77=2'] Exploring Operation: 42/2=21, Resulting Numbers: [22, 21] Generated Node #3: [22, 21] from Operation: 42/2=21 Current State: 43:[22, 21], Operations: ['79-77=2', '42/2=21'] Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[22, 79, 77, 42], Operations: [] Exploring Operation: 79-42=37, Resulting Numbers: [22, 77, 37] Generated Node #0,0: 43:[22, 77, 37] Operation: 79-42=37 Exploring Operation: 79-77=2, Resulting Numbers: [22, 42, 2] Generated Node #0,1: 43:[22, 42, 2] Operation: 79-77=2 Exploring Operation: 77-22=55, Resulting Numbers: [79, 42, 55] Generated Node #0,2: 43:[79, 42, 55] Operation: 77-22=55 Exploring Operation: 79-22=57, Resulting Numbers: [77, 42, 57] Generated Node #0,3: 43:[77, 42, 57] Operation: 79-22=57 Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[79, 42, 55], Operations: ['77-22=55'] Exploring Operation: 79+42=121, Resulting Numbers: [55, 121] Generated Node #0,2,0: 43:[55, 121] Operation: 79+42=121 Exploring Operation: 79-55=24, Resulting Numbers: [42, 24] Generated Node #0,2,1: 43:[42, 24] Operation: 79-55=24 Exploring Operation: 79-42=37, Resulting Numbers: [55, 37] Generated Node #0,2,2: 43:[55, 37] Operation: 79-42=37 Exploring Operation: 55-42=13, Resulting Numbers: [79, 13] Generated Node #0,2,3: 43:[79, 13] Operation: 55-42=13 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 43:[55, 37], Operations: ['77-22=55', '79-42=37'] Exploring Operation: 55-37=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 55+37=92, Resulting Numbers: [92] 92,43 unequal: No Solution Exploring Operation: 55*37=2035, Resulting Numbers: [2035] 2035,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 43:[42, 24], Operations: ['77-22=55', '79-55=24'] Exploring Operation: 42+24=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 42*24=1008, Resulting Numbers: [1008] 1008,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 43:[79, 13], Operations: ['77-22=55', '55-42=13'] Exploring Operation: 79*13=1027, Resulting Numbers: [1027] 1027,43 unequal: No Solution Exploring Operation: 79-13=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 79+13=92, Resulting Numbers: [92] 92,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 43:[55, 121], Operations: ['77-22=55', '79+42=121'] Exploring Operation: 55+121=176, Resulting Numbers: [176] 176,43 unequal: No Solution Exploring Operation: 121-55=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 55*121=6655, Resulting Numbers: [6655] 6655,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 43:[77, 42, 57], Operations: ['79-22=57'] Exploring Operation: 77-57=20, Resulting Numbers: [42, 20] Generated Node #0,3,0: 43:[42, 20] Operation: 77-57=20 Exploring Operation: 57-42=15, Resulting Numbers: [77, 15] Generated Node #0,3,1: 43:[77, 15] Operation: 57-42=15 Exploring Operation: 77+42=119, Resulting Numbers: [57, 119] Generated Node #0,3,2: 43:[57, 119] Operation: 77+42=119 Exploring Operation: 77-42=35, Resulting Numbers: [57, 35] Generated Node #0,3,3: 43:[57, 35] Operation: 77-42=35 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 43:[57, 35], Operations: ['79-22=57', '77-42=35'] Exploring Operation: 57+35=92, Resulting Numbers: [92] 92,43 unequal: No Solution Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 57*35=1995, Resulting Numbers: [1995] 1995,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 43:[42, 20], Operations: ['79-22=57', '77-57=20'] Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 42+20=62, Resulting Numbers: [62] 62,43 unequal: No Solution Exploring Operation: 42*20=840, Resulting Numbers: [840] 840,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 43:[77, 15], Operations: ['79-22=57', '57-42=15'] Exploring Operation: 77+15=92, Resulting Numbers: [92] 92,43 unequal: No Solution Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,43 unequal: No Solution Exploring Operation: 77*15=1155, Resulting Numbers: [1155] 1155,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 43:[57, 119], Operations: ['79-22=57', '77+42=119'] Exploring Operation: 57+119=176, Resulting Numbers: [176] 176,43 unequal: No Solution Exploring Operation: 57*119=6783, Resulting Numbers: [6783] 6783,43 unequal: No Solution Exploring Operation: 119-57=62, Resulting Numbers: [62] 62,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[22, 77, 37], Operations: ['79-42=37'] Exploring Operation: 77-37=40, Resulting Numbers: [22, 40] Generated Node #0,0,0: 43:[22, 40] Operation: 77-37=40 Exploring Operation: 77-22=55, Resulting Numbers: [37, 55] Generated Node #0,0,1: 43:[37, 55] Operation: 77-22=55 Exploring Operation: 22+77=99, Resulting Numbers: [37, 99] Generated Node #0,0,2: 43:[37, 99] Operation: 22+77=99 Exploring Operation: 22+37=59, Resulting Numbers: [77, 59] Generated Node #0,0,3: 43:[77, 59] Operation: 22+37=59 Moving to Node #0,0,1 Current State: 43:[37, 55], Operations: ['79-42=37', '77-22=55'] Exploring Operation: 37*55=2035, Resulting Numbers: [2035] 2035,43 unequal: No Solution Exploring Operation: 55-37=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 37+55=92, Resulting Numbers: [92] 92,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[22, 40], Operations: ['79-42=37', '77-37=40'] Exploring Operation: 22+40=62, Resulting Numbers: [62] 62,43 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 22*40=880, Resulting Numbers: [880] 880,43 unequal: No Solution Moving to Node #0,0,3 Current State: 43:[77, 59], Operations: ['79-42=37', '22+37=59'] Exploring Operation: 77-59=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 77+59=136, Resulting Numbers: [136] 136,43 unequal: No Solution Exploring Operation: 77*59=4543, Resulting Numbers: [4543] 4543,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[37, 99], Operations: ['79-42=37', '22+77=99'] Exploring Operation: 37*99=3663, Resulting Numbers: [3663] 3663,43 unequal: No Solution Exploring Operation: 37+99=136, Resulting Numbers: [136] 136,43 unequal: No Solution Exploring Operation: 99-37=62, Resulting Numbers: [62] 62,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[22, 42, 2], Operations: ['79-77=2'] Exploring Operation: 22*2=44, Resulting Numbers: [42, 44] Generated Node #0,1,0: 43:[42, 44] Operation: 22*2=44 Exploring Operation: 22+2=24, Resulting Numbers: [42, 24] Generated Node #0,1,1: 43:[42, 24] Operation: 22+2=24 Exploring Operation: 42+2=44, Resulting Numbers: [22, 44] Generated Node #0,1,2: 43:[22, 44] Operation: 42+2=44 Exploring Operation: 22-2=20, Resulting Numbers: [42, 20] Generated Node #0,1,3: 43:[42, 20] Operation: 22-2=20 Moving to Node #0,1,0 Current State: 43:[42, 44], Operations: ['79-77=2', '22*2=44'] Exploring Operation: 42*44=1848, Resulting Numbers: [1848] 1848,43 unequal: No Solution Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,43 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[42, 24], Operations: ['79-77=2', '22+2=24'] Exploring Operation: 42+24=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,43 unequal: No Solution Exploring Operation: 42*24=1008, Resulting Numbers: [1008] 1008,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[22, 44], Operations: ['79-77=2', '42+2=44'] Exploring Operation: 22*44=968, Resulting Numbers: [968] 968,43 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,43 unequal: No Solution Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 22+44=66, Resulting Numbers: [66] 66,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[42, 20], Operations: ['79-77=2', '22-2=20'] Exploring Operation: 42*20=840, Resulting Numbers: [840] 840,43 unequal: No Solution Exploring Operation: 42+20=62, Resulting Numbers: [62] 62,43 unequal: No Solution Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,43 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
[ 24, 91, 26, 76 ]
89
[ "76-24=52", "52/26=2", "91-2=89" ]
Current State: 89:[24, 91, 26, 76], Operations: [] Exploring Operation: 76-24=52, Resulting Numbers: [91, 26, 52] Generated Node #2: [91, 26, 52] from Operation: 76-24=52 Current State: 89:[91, 26, 52], Operations: ['76-24=52'] Exploring Operation: 52/26=2, Resulting Numbers: [91, 2] Generated Node #3: [91, 2] from Operation: 52/26=2 Current State: 89:[91, 2], Operations: ['76-24=52', '52/26=2'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[24, 91, 26, 76], Operations: [] Exploring Operation: 26+76=102, Resulting Numbers: [24, 91, 102] Generated Node #0,0: 89:[24, 91, 102] Operation: 26+76=102 Exploring Operation: 24+76=100, Resulting Numbers: [91, 26, 100] Generated Node #0,1: 89:[91, 26, 100] Operation: 24+76=100 Exploring Operation: 24+26=50, Resulting Numbers: [91, 76, 50] Generated Node #0,2: 89:[91, 76, 50] Operation: 24+26=50 Moving to Node #0,2 Current State: 89:[91, 76, 50], Operations: ['24+26=50'] Exploring Operation: 91-50=41, Resulting Numbers: [76, 41] Generated Node #0,2,0: 89:[76, 41] Operation: 91-50=41 Exploring Operation: 91+50=141, Resulting Numbers: [76, 141] Generated Node #0,2,1: 89:[76, 141] Operation: 91+50=141 Exploring Operation: 76+50=126, Resulting Numbers: [91, 126] Generated Node #0,2,2: 89:[91, 126] Operation: 76+50=126 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[91, 126], Operations: ['24+26=50', '76+50=126'] Exploring Operation: 91+126=217, Resulting Numbers: [217] 217,89 unequal: No Solution Exploring Operation: 126-91=35, Resulting Numbers: [35] 35,89 unequal: No Solution Exploring Operation: 91*126=11466, Resulting Numbers: [11466] 11466,89 unequal: No Solution No 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: 89:[76, 41], Operations: ['24+26=50', '91-50=41'] Exploring Operation: 76*41=3116, Resulting Numbers: [3116] 3116,89 unequal: No Solution Exploring Operation: 76+41=117, Resulting Numbers: [117] 117,89 unequal: No Solution Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,89 unequal: No Solution No 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: 89:[76, 141], Operations: ['24+26=50', '91+50=141'] Exploring Operation: 76*141=10716, Resulting Numbers: [10716] 10716,89 unequal: No Solution Exploring Operation: 76+141=217, Resulting Numbers: [217] 217,89 unequal: No Solution Exploring Operation: 141-76=65, Resulting Numbers: [65] 65,89 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: 89:[91, 26, 100], Operations: ['24+76=100'] Exploring Operation: 91-26=65, Resulting Numbers: [100, 65] Generated Node #0,1,0: 89:[100, 65] Operation: 91-26=65 Exploring Operation: 100-26=74, Resulting Numbers: [91, 74] Generated Node #0,1,1: 89:[91, 74] Operation: 100-26=74 Exploring Operation: 91+26=117, Resulting Numbers: [100, 117] Generated Node #0,1,2: 89:[100, 117] Operation: 91+26=117 Moving to Node #0,0 Current State: 89:[24, 91, 102], Operations: ['26+76=102'] Exploring Operation: 102-24=78, Resulting Numbers: [91, 78] Generated Node #0,0,0: 89:[91, 78] Operation: 102-24=78 Exploring Operation: 24+91=115, Resulting Numbers: [102, 115] Generated Node #0,0,1: 89:[102, 115] Operation: 24+91=115 Exploring Operation: 91-24=67, Resulting Numbers: [102, 67] Generated Node #0,0,2: 89:[102, 67] Operation: 91-24=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[91, 78], Operations: ['26+76=102', '102-24=78'] Exploring Operation: 91*78=7098, Resulting Numbers: [7098] 7098,89 unequal: No Solution Exploring Operation: 91-78=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 91+78=169, Resulting Numbers: [169] 169,89 unequal: No Solution No solution 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: 89:[102, 67], Operations: ['26+76=102', '91-24=67'] Exploring Operation: 102+67=169, Resulting Numbers: [169] 169,89 unequal: No Solution Exploring Operation: 102-67=35, Resulting Numbers: [35] 35,89 unequal: No Solution Exploring Operation: 102*67=6834, Resulting Numbers: [6834] 6834,89 unequal: No Solution No solution 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: 89:[102, 115], Operations: ['26+76=102', '24+91=115'] Exploring Operation: 102*115=11730, Resulting Numbers: [11730] 11730,89 unequal: No Solution Exploring Operation: 115-102=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 102+115=217, Resulting Numbers: [217] 217,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 89:[91, 74], Operations: ['24+76=100', '100-26=74'] Exploring Operation: 91*74=6734, Resulting Numbers: [6734] 6734,89 unequal: No Solution Exploring Operation: 91-74=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 91+74=165, Resulting Numbers: [165] 165,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[100, 65], Operations: ['24+76=100', '91-26=65'] Exploring Operation: 100-65=35, Resulting Numbers: [35] 35,89 unequal: No Solution Exploring Operation: 100*65=6500, Resulting Numbers: [6500] 6500,89 unequal: No Solution Exploring Operation: 100+65=165, Resulting Numbers: [165] 165,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[100, 117], Operations: ['24+76=100', '91+26=117'] Exploring Operation: 117-100=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 100*117=11700, Resulting Numbers: [11700] 11700,89 unequal: No Solution Exploring Operation: 100+117=217, Resulting Numbers: [217] 217,89 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 48, 3, 60, 83 ]
98
[ "48-3=45", "60+83=143", "143-45=98" ]
Current State: 98:[48, 3, 60, 83], Operations: [] Exploring Operation: 48-3=45, Resulting Numbers: [60, 83, 45] Generated Node #2: [60, 83, 45] from Operation: 48-3=45 Current State: 98:[60, 83, 45], Operations: ['48-3=45'] Exploring Operation: 60+83=143, Resulting Numbers: [45, 143] Generated Node #3: [45, 143] from Operation: 60+83=143 Current State: 98:[45, 143], Operations: ['48-3=45', '60+83=143'] Exploring Operation: 143-45=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[48, 3, 60, 83], Operations: [] Exploring Operation: 83-60=23, Resulting Numbers: [48, 3, 23] Generated Node #0,0: 98:[48, 3, 23] Operation: 83-60=23 Exploring Operation: 60-48=12, Resulting Numbers: [3, 83, 12] Generated Node #0,1: 98:[3, 83, 12] Operation: 60-48=12 Exploring Operation: 3+83=86, Resulting Numbers: [48, 60, 86] Generated Node #0,2: 98:[48, 60, 86] Operation: 3+83=86 Exploring Operation: 60-3=57, Resulting Numbers: [48, 83, 57] Generated Node #0,3: 98:[48, 83, 57] Operation: 60-3=57 Exploring Operation: 60/3=20, Resulting Numbers: [48, 83, 20] Generated Node #0,4: 98:[48, 83, 20] Operation: 60/3=20 Moving to Node #0,0 Current State: 98:[48, 3, 23], Operations: ['83-60=23'] Exploring Operation: 48/3=16, Resulting Numbers: [23, 16] Generated Node #0,0,0: 98:[23, 16] Operation: 48/3=16 Exploring Operation: 23-3=20, Resulting Numbers: [48, 20] Generated Node #0,0,1: 98:[48, 20] Operation: 23-3=20 Exploring Operation: 48+3=51, Resulting Numbers: [23, 51] Generated Node #0,0,2: 98:[23, 51] Operation: 48+3=51 Exploring Operation: 48-3=45, Resulting Numbers: [23, 45] Generated Node #0,0,3: 98:[23, 45] Operation: 48-3=45 Exploring Operation: 48-23=25, Resulting Numbers: [3, 25] Generated Node #0,0,4: 98:[3, 25] Operation: 48-23=25 Moving to Node #0,1 Current State: 98:[3, 83, 12], Operations: ['60-48=12'] Exploring Operation: 3+83=86, Resulting Numbers: [12, 86] Generated Node #0,1,0: 98:[12, 86] Operation: 3+83=86 Exploring Operation: 83+12=95, Resulting Numbers: [3, 95] Generated Node #0,1,1: 98:[3, 95] Operation: 83+12=95 Exploring Operation: 3+12=15, Resulting Numbers: [83, 15] Generated Node #0,1,2: 98:[83, 15] Operation: 3+12=15 Exploring Operation: 12/3=4, Resulting Numbers: [83, 4] Generated Node #0,1,3: 98:[83, 4] Operation: 12/3=4 Exploring Operation: 12-3=9, Resulting Numbers: [83, 9] Generated Node #0,1,4: 98:[83, 9] Operation: 12-3=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[3, 95], Operations: ['60-48=12', '83+12=95'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,98 unequal: No Solution Exploring Operation: 3*95=285, Resulting Numbers: [285] 285,98 unequal: No Solution Exploring Operation: 3+95=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[48, 3, 60, 83], Operations: [] Exploring Operation: 60-48=12, Resulting Numbers: [3, 83, 12] Generated Node #0,1: 98:[3, 83, 12] Operation: 60-48=12 Moving to Node #0,1 Current State: 98:[3, 83, 12], Operations: ['60-48=12'] Exploring Operation: 83+12=95, Resulting Numbers: [3, 95] Generated Node #0,1,1: 98:[3, 95] Operation: 83+12=95 Moving to Node #0,1,1 Current State: 98:[3, 95], Operations: ['60-48=12', '83+12=95'] Exploring Operation: 3+95=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 88, 17, 10, 20 ]
58
[ "20-17=3", "10*3=30", "88-30=58" ]
Current State: 58:[88, 17, 10, 20], Operations: [] Exploring Operation: 20-17=3, Resulting Numbers: [88, 10, 3] Generated Node #2: [88, 10, 3] from Operation: 20-17=3 Current State: 58:[88, 10, 3], Operations: ['20-17=3'] Exploring Operation: 10*3=30, Resulting Numbers: [88, 30] Generated Node #3: [88, 30] from Operation: 10*3=30 Current State: 58:[88, 30], Operations: ['20-17=3', '10*3=30'] Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[88, 17, 10, 20], Operations: [] Exploring Operation: 88-10=78, Resulting Numbers: [17, 20, 78] Generated Node #0,0: 58:[17, 20, 78] Operation: 88-10=78 Exploring Operation: 20-17=3, Resulting Numbers: [88, 10, 3] Generated Node #0,1: 58:[88, 10, 3] Operation: 20-17=3 Exploring Operation: 88-20=68, Resulting Numbers: [17, 10, 68] Generated Node #0,2: 58:[17, 10, 68] Operation: 88-20=68 Exploring Operation: 88-17=71, Resulting Numbers: [10, 20, 71] Generated Node #0,3: 58:[10, 20, 71] Operation: 88-17=71 Exploring Operation: 17+10=27, Resulting Numbers: [88, 20, 27] Generated Node #0,4: 58:[88, 20, 27] Operation: 17+10=27 Moving to Node #0,2 Current State: 58:[17, 10, 68], Operations: ['88-20=68'] Exploring Operation: 17-10=7, Resulting Numbers: [68, 7] Generated Node #0,2,0: 58:[68, 7] Operation: 17-10=7 Exploring Operation: 68-17=51, Resulting Numbers: [10, 51] Generated Node #0,2,1: 58:[10, 51] Operation: 68-17=51 Exploring Operation: 17+10=27, Resulting Numbers: [68, 27] Generated Node #0,2,2: 58:[68, 27] Operation: 17+10=27 Exploring Operation: 68-10=58, Resulting Numbers: [17, 58] Generated Node #0,2,3: 58:[17, 58] Operation: 68-10=58 Exploring Operation: 68/17=4, Resulting Numbers: [10, 4] Generated Node #0,2,4: 58:[10, 4] Operation: 68/17=4 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 58:[10, 4], Operations: ['88-20=68', '68/17=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,58 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[68, 27], Operations: ['88-20=68', '17+10=27'] Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,58 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 58:[17, 58], Operations: ['88-20=68', '68-10=58'] Exploring Operation: 17+58=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 17*58=986, Resulting Numbers: [986] 986,58 unequal: No Solution Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[68, 7], Operations: ['88-20=68', '17-10=7'] Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,58 unequal: No Solution Exploring Operation: 68+7=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 68*7=476, Resulting Numbers: [476] 476,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 58:[10, 51], Operations: ['88-20=68', '68-17=51'] Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 10+51=61, Resulting Numbers: [61] 61,58 unequal: No Solution Exploring Operation: 10*51=510, Resulting Numbers: [510] 510,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 58:[10, 20, 71], Operations: ['88-17=71'] Exploring Operation: 20-10=10, Resulting Numbers: [71, 10] Generated Node #0,3,0: 58:[71, 10] Operation: 20-10=10 Exploring Operation: 10+20=30, Resulting Numbers: [71, 30] Generated Node #0,3,1: 58:[71, 30] Operation: 10+20=30 Exploring Operation: 71-10=61, Resulting Numbers: [20, 61] Generated Node #0,3,2: 58:[20, 61] Operation: 71-10=61 Exploring Operation: 71-20=51, Resulting Numbers: [10, 51] Generated Node #0,3,3: 58:[10, 51] Operation: 71-20=51 Exploring Operation: 20/10=2, Resulting Numbers: [71, 2] Generated Node #0,3,4: 58:[71, 2] Operation: 20/10=2 Moving to Node #0,1 Current State: 58:[88, 10, 3], Operations: ['20-17=3'] Exploring Operation: 10-3=7, Resulting Numbers: [88, 7] Generated Node #0,1,0: 58:[88, 7] Operation: 10-3=7 Exploring Operation: 88-3=85, Resulting Numbers: [10, 85] Generated Node #0,1,1: 58:[10, 85] Operation: 88-3=85 Exploring Operation: 10*3=30, Resulting Numbers: [88, 30] Generated Node #0,1,2: 58:[88, 30] Operation: 10*3=30 Exploring Operation: 88+10=98, Resulting Numbers: [3, 98] Generated Node #0,1,3: 58:[3, 98] Operation: 88+10=98 Exploring Operation: 88-10=78, Resulting Numbers: [3, 78] Generated Node #0,1,4: 58:[3, 78] Operation: 88-10=78 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 58:[3, 78], Operations: ['20-17=3', '88-10=78'] Exploring Operation: 3*78=234, Resulting Numbers: [234] 234,58 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,58 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,58 unequal: No Solution Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 58:[88, 30], Operations: ['20-17=3', '10*3=30'] Exploring Operation: 88+30=118, Resulting Numbers: [118] 118,58 unequal: No Solution Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[88, 17, 10, 20], Operations: [] Exploring Operation: 20-17=3, Resulting Numbers: [88, 10, 3] Generated Node #0,1: 58:[88, 10, 3] Operation: 20-17=3 Moving to Node #0,1 Current State: 58:[88, 10, 3], Operations: ['20-17=3'] Exploring Operation: 10*3=30, Resulting Numbers: [88, 30] Generated Node #0,1,2: 58:[88, 30] Operation: 10*3=30 Moving to Node #0,1,2 Current State: 58:[88, 30], Operations: ['20-17=3', '10*3=30'] Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
mult_heuristic
[ 30, 60, 7, 79 ]
93
[ "60/30=2", "7*2=14", "79+14=93" ]
Current State: 93:[30, 60, 7, 79], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [7, 79, 2] Generated Node #2: [7, 79, 2] from Operation: 60/30=2 Current State: 93:[7, 79, 2], Operations: ['60/30=2'] Exploring Operation: 7*2=14, Resulting Numbers: [79, 14] Generated Node #3: [79, 14] from Operation: 7*2=14 Current State: 93:[79, 14], Operations: ['60/30=2', '7*2=14'] Exploring Operation: 79+14=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[30, 60, 7, 79], Operations: [] Exploring Operation: 79-60=19, Resulting Numbers: [30, 7, 19] Generated Node #0,0: 93:[30, 7, 19] Operation: 79-60=19 Exploring Operation: 60-30=30, Resulting Numbers: [7, 79, 30] Generated Node #0,1: 93:[7, 79, 30] Operation: 60-30=30 Exploring Operation: 60/30=2, Resulting Numbers: [7, 79, 2] Generated Node #0,2: 93:[7, 79, 2] Operation: 60/30=2 Exploring Operation: 30+60=90, Resulting Numbers: [7, 79, 90] Generated Node #0,3: 93:[7, 79, 90] Operation: 30+60=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[30, 7, 19], Operations: ['79-60=19'] Exploring Operation: 30-19=11, Resulting Numbers: [7, 11] Generated Node #0,0,0: 93:[7, 11] Operation: 30-19=11 Exploring Operation: 30+7=37, Resulting Numbers: [19, 37] Generated Node #0,0,1: 93:[19, 37] Operation: 30+7=37 Exploring Operation: 7+19=26, Resulting Numbers: [30, 26] Generated Node #0,0,2: 93:[30, 26] Operation: 7+19=26 Exploring Operation: 19-7=12, Resulting Numbers: [30, 12] Generated Node #0,0,3: 93:[30, 12] Operation: 19-7=12 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 93:[30, 26], Operations: ['79-60=19', '7+19=26'] Exploring Operation: 30+26=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 30*26=780, Resulting Numbers: [780] 780,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 93:[30, 12], Operations: ['79-60=19', '19-7=12'] Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,93 unequal: No Solution Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[7, 11], Operations: ['79-60=19', '30-19=11'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,93 unequal: No Solution Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[19, 37], Operations: ['79-60=19', '30+7=37'] Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,93 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,93 unequal: No Solution Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,93 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: 93:[7, 79, 30], Operations: ['60-30=30'] Exploring Operation: 79-7=72, Resulting Numbers: [30, 72] Generated Node #0,1,0: 93:[30, 72] Operation: 79-7=72 Exploring Operation: 7+30=37, Resulting Numbers: [79, 37] Generated Node #0,1,1: 93:[79, 37] Operation: 7+30=37 Exploring Operation: 7+79=86, Resulting Numbers: [30, 86] Generated Node #0,1,2: 93:[30, 86] Operation: 7+79=86 Exploring Operation: 79+30=109, Resulting Numbers: [7, 109] Generated Node #0,1,3: 93:[7, 109] Operation: 79+30=109 Moving to Node #0,1,2 Current State: 93:[30, 86], Operations: ['60-30=30', '7+79=86'] Exploring Operation: 30*86=2580, Resulting Numbers: [2580] 2580,93 unequal: No Solution Exploring Operation: 30+86=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[7, 109], Operations: ['60-30=30', '79+30=109'] Exploring Operation: 7+109=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 109-7=102, Resulting Numbers: [102] 102,93 unequal: No Solution Exploring Operation: 7*109=763, Resulting Numbers: [763] 763,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[79, 37], Operations: ['60-30=30', '7+30=37'] Exploring Operation: 79+37=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 79*37=2923, Resulting Numbers: [2923] 2923,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[30, 72], Operations: ['60-30=30', '79-7=72'] Exploring Operation: 72-30=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 30+72=102, Resulting Numbers: [102] 102,93 unequal: No Solution Exploring Operation: 30*72=2160, Resulting Numbers: [2160] 2160,93 unequal: No Solution No 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: 93:[7, 79, 2], Operations: ['60/30=2'] Exploring Operation: 7-2=5, Resulting Numbers: [79, 5] Generated Node #0,2,0: 93:[79, 5] Operation: 7-2=5 Exploring Operation: 7+79=86, Resulting Numbers: [2, 86] Generated Node #0,2,1: 93:[2, 86] Operation: 7+79=86 Exploring Operation: 79+2=81, Resulting Numbers: [7, 81] Generated Node #0,2,2: 93:[7, 81] Operation: 79+2=81 Exploring Operation: 7+2=9, Resulting Numbers: [79, 9] Generated Node #0,2,3: 93:[79, 9] Operation: 7+2=9 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[2, 86], Operations: ['60/30=2', '7+79=86'] Exploring Operation: 2+86=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 2*86=172, Resulting Numbers: [172] 172,93 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[79, 5], Operations: ['60/30=2', '7-2=5'] Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,93 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[7, 81], Operations: ['60/30=2', '79+2=81'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 7+81=88, Resulting Numbers: [88] 88,93 unequal: No Solution Exploring Operation: 7*81=567, Resulting Numbers: [567] 567,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 93:[79, 9], Operations: ['60/30=2', '7+2=9'] Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,93 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,93 unequal: No Solution Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,93 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: 93:[7, 79, 90], Operations: ['30+60=90'] Exploring Operation: 79-7=72, Resulting Numbers: [90, 72] Generated Node #0,3,0: 93:[90, 72] Operation: 79-7=72 Exploring Operation: 7+90=97, Resulting Numbers: [79, 97] Generated Node #0,3,1: 93:[79, 97] Operation: 7+90=97 Exploring Operation: 7+79=86, Resulting Numbers: [90, 86] Generated Node #0,3,2: 93:[90, 86] Operation: 7+79=86 Exploring Operation: 90-79=11, Resulting Numbers: [7, 11] Generated Node #0,3,3: 93:[7, 11] Operation: 90-79=11 Moving to Node #0,3,2 Current State: 93:[90, 86], Operations: ['30+60=90', '7+79=86'] Exploring Operation: 90*86=7740, Resulting Numbers: [7740] 7740,93 unequal: No Solution Exploring Operation: 90-86=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 90+86=176, Resulting Numbers: [176] 176,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[7, 11], Operations: ['30+60=90', '90-79=11'] Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,93 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[79, 97], Operations: ['30+60=90', '7+90=97'] Exploring Operation: 79+97=176, Resulting Numbers: [176] 176,93 unequal: No Solution Exploring Operation: 79*97=7663, Resulting Numbers: [7663] 7663,93 unequal: No Solution Exploring Operation: 97-79=18, Resulting Numbers: [18] 18,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[90, 72], Operations: ['30+60=90', '79-7=72'] Exploring Operation: 90*72=6480, Resulting Numbers: [6480] 6480,93 unequal: No Solution Exploring Operation: 90+72=162, Resulting Numbers: [162] 162,93 unequal: No Solution Exploring Operation: 90-72=18, Resulting Numbers: [18] 18,93 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
[ 31, 79, 98, 70 ]
58
[ "31+79=110", "98+70=168", "168-110=58" ]
Current State: 58:[31, 79, 98, 70], Operations: [] Exploring Operation: 31+79=110, Resulting Numbers: [98, 70, 110] Generated Node #2: [98, 70, 110] from Operation: 31+79=110 Current State: 58:[98, 70, 110], Operations: ['31+79=110'] Exploring Operation: 98+70=168, Resulting Numbers: [110, 168] Generated Node #3: [110, 168] from Operation: 98+70=168 Current State: 58:[110, 168], Operations: ['31+79=110', '98+70=168'] Exploring Operation: 168-110=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[31, 79, 98, 70], Operations: [] Exploring Operation: 79-31=48, Resulting Numbers: [98, 70, 48] Generated Node #0,0: 58:[98, 70, 48] Operation: 79-31=48 Exploring Operation: 98-70=28, Resulting Numbers: [31, 79, 28] Generated Node #0,1: 58:[31, 79, 28] Operation: 98-70=28 Exploring Operation: 98-79=19, Resulting Numbers: [31, 70, 19] Generated Node #0,2: 58:[31, 70, 19] Operation: 98-79=19 Exploring Operation: 98-31=67, Resulting Numbers: [79, 70, 67] Generated Node #0,3: 58:[79, 70, 67] Operation: 98-31=67 Exploring Operation: 79-70=9, Resulting Numbers: [31, 98, 9] Generated Node #0,4: 58:[31, 98, 9] Operation: 79-70=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[31, 79, 28], Operations: ['98-70=28'] Exploring Operation: 31+28=59, Resulting Numbers: [79, 59] Generated Node #0,1,0: 58:[79, 59] Operation: 31+28=59 Exploring Operation: 31-28=3, Resulting Numbers: [79, 3] Generated Node #0,1,1: 58:[79, 3] Operation: 31-28=3 Exploring Operation: 79+28=107, Resulting Numbers: [31, 107] Generated Node #0,1,2: 58:[31, 107] Operation: 79+28=107 Exploring Operation: 79-31=48, Resulting Numbers: [28, 48] Generated Node #0,1,3: 58:[28, 48] Operation: 79-31=48 Exploring Operation: 79-28=51, Resulting Numbers: [31, 51] Generated Node #0,1,4: 58:[31, 51] Operation: 79-28=51 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 58:[31, 51], Operations: ['98-70=28', '79-28=51'] Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 31*51=1581, Resulting Numbers: [1581] 1581,58 unequal: No Solution No 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: 58:[28, 48], Operations: ['98-70=28', '79-31=48'] Exploring Operation: 28+48=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 28*48=1344, Resulting Numbers: [1344] 1344,58 unequal: No Solution No 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: 58:[79, 59], Operations: ['98-70=28', '31+28=59'] Exploring Operation: 79-59=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 79*59=4661, Resulting Numbers: [4661] 4661,58 unequal: No Solution Exploring Operation: 79+59=138, Resulting Numbers: [138] 138,58 unequal: No Solution No 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: 58:[79, 3], Operations: ['98-70=28', '31-28=3'] Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 79*3=237, Resulting Numbers: [237] 237,58 unequal: No Solution No 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: 58:[31, 107], Operations: ['98-70=28', '79+28=107'] Exploring Operation: 31+107=138, Resulting Numbers: [138] 138,58 unequal: No Solution Exploring Operation: 107-31=76, Resulting Numbers: [76] 76,58 unequal: No Solution Exploring Operation: 31*107=3317, Resulting Numbers: [3317] 3317,58 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: 58:[31, 70, 19], Operations: ['98-79=19'] Exploring Operation: 70+19=89, Resulting Numbers: [31, 89] Generated Node #0,2,0: 58:[31, 89] Operation: 70+19=89 Exploring Operation: 31+19=50, Resulting Numbers: [70, 50] Generated Node #0,2,1: 58:[70, 50] Operation: 31+19=50 Exploring Operation: 70-19=51, Resulting Numbers: [31, 51] Generated Node #0,2,2: 58:[31, 51] Operation: 70-19=51 Exploring Operation: 31-19=12, Resulting Numbers: [70, 12] Generated Node #0,2,3: 58:[70, 12] Operation: 31-19=12 Exploring Operation: 70-31=39, Resulting Numbers: [19, 39] Generated Node #0,2,4: 58:[19, 39] Operation: 70-31=39 Moving to Node #0,2,2 Current State: 58:[31, 51], Operations: ['98-79=19', '70-19=51'] Exploring Operation: 31*51=1581, Resulting Numbers: [1581] 1581,58 unequal: No Solution Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,58 unequal: No Solution Moving to Node #0,2,4 Current State: 58:[19, 39], Operations: ['98-79=19', '70-31=39'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 19*39=741, Resulting Numbers: [741] 741,58 unequal: No Solution Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[31, 79, 98, 70], Operations: [] Exploring Operation: 98-79=19, Resulting Numbers: [31, 70, 19] Generated Node #0,2: 58:[31, 70, 19] Operation: 98-79=19 Moving to Node #0,2 Current State: 58:[31, 70, 19], Operations: ['98-79=19'] Exploring Operation: 70-31=39, Resulting Numbers: [19, 39] Generated Node #0,2,4: 58:[19, 39] Operation: 70-31=39 Moving to Node #0,2,4 Current State: 58:[19, 39], Operations: ['98-79=19', '70-31=39'] Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 24, 81, 93, 11 ]
46
[ "93*11=1023", "81+1023=1104", "1104/24=46" ]
Current State: 46:[24, 81, 93, 11], Operations: [] Exploring Operation: 93*11=1023, Resulting Numbers: [24, 81, 1023] Generated Node #2: [24, 81, 1023] from Operation: 93*11=1023 Current State: 46:[24, 81, 1023], Operations: ['93*11=1023'] Exploring Operation: 81+1023=1104, Resulting Numbers: [24, 1104] Generated Node #3: [24, 1104] from Operation: 81+1023=1104 Current State: 46:[24, 1104], Operations: ['93*11=1023', '81+1023=1104'] Exploring Operation: 1104/24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[24, 81, 93, 11], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [24, 11, 12] Generated Node #0,0: 46:[24, 11, 12] Operation: 93-81=12 Moving to Node #0,0 Current State: 46:[24, 11, 12], Operations: ['93-81=12'] Exploring Operation: 11+12=23, Resulting Numbers: [24, 23] Generated Node #0,0,0: 46:[24, 23] Operation: 11+12=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[24, 23], Operations: ['93-81=12', '11+12=23'] Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,46 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
[ 38, 33, 66, 5 ]
66
[ "38-33=5", "66+5=71", "71-5=66" ]
Current State: 66:[38, 33, 66, 5], Operations: [] Exploring Operation: 38-33=5, Resulting Numbers: [66, 5, 5] Generated Node #2: [66, 5, 5] from Operation: 38-33=5 Current State: 66:[66, 5, 5], Operations: ['38-33=5'] Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,66 equal: Goal Reached Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[38, 33, 66, 5], Operations: [] Exploring Operation: 38-33=5, Resulting Numbers: [66, 5, 5] Generated Node #0,0: 66:[66, 5, 5] Operation: 38-33=5 Exploring Operation: 38-5=33, Resulting Numbers: [33, 66, 33] Generated Node #0,1: 66:[33, 66, 33] Operation: 38-5=33 Exploring Operation: 66-38=28, Resulting Numbers: [33, 5, 28] Generated Node #0,2: 66:[33, 5, 28] Operation: 66-38=28 Exploring Operation: 38+33=71, Resulting Numbers: [66, 5, 71] Generated Node #0,3: 66:[66, 5, 71] Operation: 38+33=71 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[33, 66, 33], Operations: ['38-5=33'] Exploring Operation: 66-33=33, Resulting Numbers: [33, 33] Generated Node #0,1,0: 66:[33, 33] Operation: 66-33=33 Exploring Operation: 66-33=33, Resulting Numbers: [33, 33] Generated Node #0,1,1: 66:[33, 33] Operation: 66-33=33 Exploring Operation: 66/33=2, Resulting Numbers: [33, 2] Generated Node #0,1,2: 66:[33, 2] Operation: 66/33=2 Exploring Operation: 33+33=66, Resulting Numbers: [66, 66] Generated Node #0,1,3: 66:[66, 66] Operation: 33+33=66 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[33, 33], Operations: ['38-5=33', '66-33=33'] Exploring Operation: 33-33=0, Resulting Numbers: [0] 0,66 unequal: No Solution Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[38, 33, 66, 5], Operations: [] Exploring Operation: 38-5=33, Resulting Numbers: [33, 66, 33] Generated Node #0,1: 66:[33, 66, 33] Operation: 38-5=33 Moving to Node #0,1 Current State: 66:[33, 66, 33], Operations: ['38-5=33'] Exploring Operation: 66-33=33, Resulting Numbers: [33, 33] Generated Node #0,1,0: 66:[33, 33] Operation: 66-33=33 Moving to Node #0,1,0 Current State: 66:[33, 33], Operations: ['38-5=33', '66-33=33'] Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 26, 24, 31, 59 ]
56
[ "26-24=2", "59-31=28", "2*28=56" ]
Current State: 56:[26, 24, 31, 59], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [31, 59, 2] Generated Node #2: [31, 59, 2] from Operation: 26-24=2 Current State: 56:[31, 59, 2], Operations: ['26-24=2'] Exploring Operation: 59-31=28, Resulting Numbers: [2, 28] Generated Node #3: [2, 28] from Operation: 59-31=28 Current State: 56:[2, 28], Operations: ['26-24=2', '59-31=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[26, 24, 31, 59], Operations: [] Exploring Operation: 24+31=55, Resulting Numbers: [26, 59, 55] Generated Node #0,0: 56:[26, 59, 55] Operation: 24+31=55 Exploring Operation: 59-31=28, Resulting Numbers: [26, 24, 28] Generated Node #0,1: 56:[26, 24, 28] Operation: 59-31=28 Exploring Operation: 26+31=57, Resulting Numbers: [24, 59, 57] Generated Node #0,2: 56:[24, 59, 57] Operation: 26+31=57 Exploring Operation: 26-24=2, Resulting Numbers: [31, 59, 2] Generated Node #0,3: 56:[31, 59, 2] Operation: 26-24=2 Exploring Operation: 31-24=7, Resulting Numbers: [26, 59, 7] Generated Node #0,4: 56:[26, 59, 7] Operation: 31-24=7 Start Sub Search at level 1: Moving to Node #0,4 Current State: 56:[26, 59, 7], Operations: ['31-24=7'] Exploring Operation: 59-7=52, Resulting Numbers: [26, 52] Generated Node #0,4,0: 56:[26, 52] Operation: 59-7=52 Exploring Operation: 59-26=33, Resulting Numbers: [7, 33] Generated Node #0,4,1: 56:[7, 33] Operation: 59-26=33 Exploring Operation: 26-7=19, Resulting Numbers: [59, 19] Generated Node #0,4,2: 56:[59, 19] Operation: 26-7=19 Exploring Operation: 59+7=66, Resulting Numbers: [26, 66] Generated Node #0,4,3: 56:[26, 66] Operation: 59+7=66 Exploring Operation: 26+7=33, Resulting Numbers: [59, 33] Generated Node #0,4,4: 56:[59, 33] Operation: 26+7=33 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 56:[7, 33], Operations: ['31-24=7', '59-26=33'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,56 unequal: No Solution No 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: 56:[26, 52], Operations: ['31-24=7', '59-7=52'] Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,56 unequal: No Solution Exploring Operation: 26*52=1352, Resulting Numbers: [1352] 1352,56 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,56 unequal: No Solution No 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: 56:[59, 19], Operations: ['31-24=7', '26-7=19'] Exploring Operation: 59+19=78, Resulting Numbers: [78] 78,56 unequal: No Solution Exploring Operation: 59*19=1121, Resulting Numbers: [1121] 1121,56 unequal: No Solution Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,56 unequal: No Solution No 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: 56:[59, 33], Operations: ['31-24=7', '26+7=33'] Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 59*33=1947, Resulting Numbers: [1947] 1947,56 unequal: No Solution Exploring Operation: 59+33=92, Resulting Numbers: [92] 92,56 unequal: No Solution No 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: 56:[26, 66], Operations: ['31-24=7', '59+7=66'] Exploring Operation: 26*66=1716, Resulting Numbers: [1716] 1716,56 unequal: No Solution Exploring Operation: 66-26=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 26+66=92, Resulting Numbers: [92] 92,56 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: 56:[26, 59, 55], Operations: ['24+31=55'] Exploring Operation: 55-26=29, Resulting Numbers: [59, 29] Generated Node #0,0,0: 56:[59, 29] Operation: 55-26=29 Exploring Operation: 59-55=4, Resulting Numbers: [26, 4] Generated Node #0,0,1: 56:[26, 4] Operation: 59-55=4 Exploring Operation: 26+59=85, Resulting Numbers: [55, 85] Generated Node #0,0,2: 56:[55, 85] Operation: 26+59=85 Exploring Operation: 26+55=81, Resulting Numbers: [59, 81] Generated Node #0,0,3: 56:[59, 81] Operation: 26+55=81 Exploring Operation: 59-26=33, Resulting Numbers: [55, 33] Generated Node #0,0,4: 56:[55, 33] Operation: 59-26=33 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[26, 4], Operations: ['24+31=55', '59-55=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,56 unequal: No Solution No 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: 56:[59, 29], Operations: ['24+31=55', '55-26=29'] Exploring Operation: 59+29=88, Resulting Numbers: [88] 88,56 unequal: No Solution Exploring Operation: 59-29=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 59*29=1711, Resulting Numbers: [1711] 1711,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 56:[55, 33], Operations: ['24+31=55', '59-26=33'] Exploring Operation: 55*33=1815, Resulting Numbers: [1815] 1815,56 unequal: No Solution Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 55+33=88, Resulting Numbers: [88] 88,56 unequal: No Solution No 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: 56:[59, 81], Operations: ['24+31=55', '26+55=81'] Exploring Operation: 59*81=4779, Resulting Numbers: [4779] 4779,56 unequal: No Solution Exploring Operation: 59+81=140, Resulting Numbers: [140] 140,56 unequal: No Solution Exploring Operation: 81-59=22, Resulting Numbers: [22] 22,56 unequal: No Solution No 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: 56:[55, 85], Operations: ['24+31=55', '26+59=85'] Exploring Operation: 55*85=4675, Resulting Numbers: [4675] 4675,56 unequal: No Solution Exploring Operation: 55+85=140, Resulting Numbers: [140] 140,56 unequal: No Solution Exploring Operation: 85-55=30, Resulting Numbers: [30] 30,56 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: 56:[26, 24, 28], Operations: ['59-31=28'] Exploring Operation: 28-24=4, Resulting Numbers: [26, 4] Generated Node #0,1,0: 56:[26, 4] Operation: 28-24=4 Exploring Operation: 26+24=50, Resulting Numbers: [28, 50] Generated Node #0,1,1: 56:[28, 50] Operation: 26+24=50 Exploring Operation: 28-26=2, Resulting Numbers: [24, 2] Generated Node #0,1,2: 56:[24, 2] Operation: 28-26=2 Exploring Operation: 26-24=2, Resulting Numbers: [28, 2] Generated Node #0,1,3: 56:[28, 2] Operation: 26-24=2 Exploring Operation: 26+28=54, Resulting Numbers: [24, 54] Generated Node #0,1,4: 56:[24, 54] Operation: 26+28=54 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 56:[28, 2], Operations: ['59-31=28', '26-24=2'] Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[26, 24, 31, 59], Operations: [] Exploring Operation: 59-31=28, Resulting Numbers: [26, 24, 28] Generated Node #0,1: 56:[26, 24, 28] Operation: 59-31=28 Moving to Node #0,1 Current State: 56:[26, 24, 28], Operations: ['59-31=28'] Exploring Operation: 26-24=2, Resulting Numbers: [28, 2] Generated Node #0,1,3: 56:[28, 2] Operation: 26-24=2 Moving to Node #0,1,3 Current State: 56:[28, 2], Operations: ['59-31=28', '26-24=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.948785
hs_5
sum_heuristic
[ 90, 15, 34, 9 ]
81
[ "34-15=19", "9*19=171", "171-90=81" ]
Current State: 81:[90, 15, 34, 9], Operations: [] Exploring Operation: 34-15=19, Resulting Numbers: [90, 9, 19] Generated Node #2: [90, 9, 19] from Operation: 34-15=19 Current State: 81:[90, 9, 19], Operations: ['34-15=19'] Exploring Operation: 9*19=171, Resulting Numbers: [90, 171] Generated Node #3: [90, 171] from Operation: 9*19=171 Current State: 81:[90, 171], Operations: ['34-15=19', '9*19=171'] Exploring Operation: 171-90=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[90, 15, 34, 9], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [34, 9, 6] Generated Node #0,0: 81:[34, 9, 6] Operation: 90/15=6 Exploring Operation: 90-15=75, Resulting Numbers: [34, 9, 75] Generated Node #0,1: 81:[34, 9, 75] Operation: 90-15=75 Moving to Node #0,0 Current State: 81:[34, 9, 6], Operations: ['90/15=6'] Exploring Operation: 34-9=25, Resulting Numbers: [6, 25] Generated Node #0,0,0: 81:[6, 25] Operation: 34-9=25 Exploring Operation: 34-6=28, Resulting Numbers: [9, 28] Generated Node #0,0,1: 81:[9, 28] Operation: 34-6=28 Moving to Node #0,1 Current State: 81:[34, 9, 75], Operations: ['90-15=75'] Exploring Operation: 34-9=25, Resulting Numbers: [75, 25] Generated Node #0,1,0: 81:[75, 25] Operation: 34-9=25 Exploring Operation: 9+75=84, Resulting Numbers: [34, 84] Generated Node #0,1,1: 81:[34, 84] Operation: 9+75=84 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[75, 25], Operations: ['90-15=75', '34-9=25'] Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 75+25=100, Resulting Numbers: [100] 100,81 unequal: No Solution No 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: 81:[34, 84], Operations: ['90-15=75', '9+75=84'] Exploring Operation: 34+84=118, Resulting Numbers: [118] 118,81 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 81:[9, 28], Operations: ['90/15=6', '34-6=28'] Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[6, 25], Operations: ['90/15=6', '34-9=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,81 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,81 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 73, 3, 14, 51 ]
39
[ "73+3=76", "51-14=37", "76-37=39" ]
Current State: 39:[73, 3, 14, 51], Operations: [] Exploring Operation: 73+3=76, Resulting Numbers: [14, 51, 76] Generated Node #2: [14, 51, 76] from Operation: 73+3=76 Current State: 39:[14, 51, 76], Operations: ['73+3=76'] Exploring Operation: 51-14=37, Resulting Numbers: [76, 37] Generated Node #3: [76, 37] from Operation: 51-14=37 Current State: 39:[76, 37], Operations: ['73+3=76', '51-14=37'] Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[73, 3, 14, 51], Operations: [] Exploring Operation: 73-51=22, Resulting Numbers: [3, 14, 22] Generated Node #0,0: 39:[3, 14, 22] Operation: 73-51=22 Exploring Operation: 51-14=37, Resulting Numbers: [73, 3, 37] Generated Node #0,1: 39:[73, 3, 37] Operation: 51-14=37 Exploring Operation: 73-14=59, Resulting Numbers: [3, 51, 59] Generated Node #0,2: 39:[3, 51, 59] Operation: 73-14=59 Moving to Node #0,0 Current State: 39:[3, 14, 22], Operations: ['73-51=22'] Exploring Operation: 14+22=36, Resulting Numbers: [3, 36] Generated Node #0,0,0: 39:[3, 36] Operation: 14+22=36 Exploring Operation: 22-14=8, Resulting Numbers: [3, 8] Generated Node #0,0,1: 39:[3, 8] Operation: 22-14=8 Exploring Operation: 22-3=19, Resulting Numbers: [14, 19] Generated Node #0,0,2: 39:[14, 19] Operation: 22-3=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[3, 36], Operations: ['73-51=22', '14+22=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,39 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[73, 3, 14, 51], Operations: [] Exploring Operation: 73-51=22, Resulting Numbers: [3, 14, 22] Generated Node #0,0: 39:[3, 14, 22] Operation: 73-51=22 Moving to Node #0,0 Current State: 39:[3, 14, 22], Operations: ['73-51=22'] Exploring Operation: 14+22=36, Resulting Numbers: [3, 36] Generated Node #0,0,0: 39:[3, 36] Operation: 14+22=36 Moving to Node #0,0,0 Current State: 39:[3, 36], Operations: ['73-51=22', '14+22=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 53, 9, 27, 99 ]
64
[ "53+9=62", "27+99=126", "126-62=64" ]
Current State: 64:[53, 9, 27, 99], Operations: [] Exploring Operation: 53+9=62, Resulting Numbers: [27, 99, 62] Generated Node #2: [27, 99, 62] from Operation: 53+9=62 Current State: 64:[27, 99, 62], Operations: ['53+9=62'] Exploring Operation: 27+99=126, Resulting Numbers: [62, 126] Generated Node #3: [62, 126] from Operation: 27+99=126 Current State: 64:[62, 126], Operations: ['53+9=62', '27+99=126'] Exploring Operation: 126-62=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[53, 9, 27, 99], Operations: [] Exploring Operation: 99/9=11, Resulting Numbers: [53, 27, 11] Generated Node #0,0: 64:[53, 27, 11] Operation: 99/9=11 Exploring Operation: 99-53=46, Resulting Numbers: [9, 27, 46] Generated Node #0,1: 64:[9, 27, 46] Operation: 99-53=46 Exploring Operation: 53+9=62, Resulting Numbers: [27, 99, 62] Generated Node #0,2: 64:[27, 99, 62] Operation: 53+9=62 Exploring Operation: 99-27=72, Resulting Numbers: [53, 9, 72] Generated Node #0,3: 64:[53, 9, 72] Operation: 99-27=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[53, 27, 11], Operations: ['99/9=11'] Exploring Operation: 53-11=42, Resulting Numbers: [27, 42] Generated Node #0,0,0: 64:[27, 42] Operation: 53-11=42 Exploring Operation: 27-11=16, Resulting Numbers: [53, 16] Generated Node #0,0,1: 64:[53, 16] Operation: 27-11=16 Exploring Operation: 53+11=64, Resulting Numbers: [27, 64] Generated Node #0,0,2: 64:[27, 64] Operation: 53+11=64 Exploring Operation: 53-27=26, Resulting Numbers: [11, 26] Generated Node #0,0,3: 64:[11, 26] Operation: 53-27=26 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 64:[27, 64], Operations: ['99/9=11', '53+11=64'] Exploring Operation: 27*64=1728, Resulting Numbers: [1728] 1728,64 unequal: No Solution Exploring Operation: 27+64=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 64:[11, 26], Operations: ['99/9=11', '53-27=26'] Exploring Operation: 11*26=286, Resulting Numbers: [286] 286,64 unequal: No Solution Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[53, 16], Operations: ['99/9=11', '27-11=16'] Exploring Operation: 53+16=69, Resulting Numbers: [69] 69,64 unequal: No Solution Exploring Operation: 53*16=848, Resulting Numbers: [848] 848,64 unequal: No Solution Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[27, 42], Operations: ['99/9=11', '53-11=42'] Exploring Operation: 27+42=69, Resulting Numbers: [69] 69,64 unequal: No Solution Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 27*42=1134, Resulting Numbers: [1134] 1134,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[9, 27, 46], Operations: ['99-53=46'] Exploring Operation: 46-9=37, Resulting Numbers: [27, 37] Generated Node #0,1,0: 64:[27, 37] Operation: 46-9=37 Exploring Operation: 9+46=55, Resulting Numbers: [27, 55] Generated Node #0,1,1: 64:[27, 55] Operation: 9+46=55 Exploring Operation: 27+46=73, Resulting Numbers: [9, 73] Generated Node #0,1,2: 64:[9, 73] Operation: 27+46=73 Exploring Operation: 46-27=19, Resulting Numbers: [9, 19] Generated Node #0,1,3: 64:[9, 19] Operation: 46-27=19 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 64:[9, 19], Operations: ['99-53=46', '46-27=19'] Exploring Operation: 9*19=171, Resulting Numbers: [171] 171,64 unequal: No Solution Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[27, 37], Operations: ['99-53=46', '46-9=37'] Exploring Operation: 27+37=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[53, 9, 27, 99], Operations: [] Exploring Operation: 99-53=46, Resulting Numbers: [9, 27, 46] Generated Node #0,1: 64:[9, 27, 46] Operation: 99-53=46 Moving to Node #0,1 Current State: 64:[9, 27, 46], Operations: ['99-53=46'] Exploring Operation: 46-9=37, Resulting Numbers: [27, 37] Generated Node #0,1,0: 64:[27, 37] Operation: 46-9=37 Moving to Node #0,1,0 Current State: 64:[27, 37], Operations: ['99-53=46', '46-9=37'] Exploring Operation: 27+37=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 31, 13, 44, 25 ]
34
[ "31-25=6", "13*6=78", "78-44=34" ]
Current State: 34:[31, 13, 44, 25], Operations: [] Exploring Operation: 31-25=6, Resulting Numbers: [13, 44, 6] Generated Node #2: [13, 44, 6] from Operation: 31-25=6 Current State: 34:[13, 44, 6], Operations: ['31-25=6'] Exploring Operation: 13*6=78, Resulting Numbers: [44, 78] Generated Node #3: [44, 78] from Operation: 13*6=78 Current State: 34:[44, 78], Operations: ['31-25=6', '13*6=78'] Exploring Operation: 78-44=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[31, 13, 44, 25], Operations: [] Exploring Operation: 44-31=13, Resulting Numbers: [13, 25, 13] Generated Node #0,0: 34:[13, 25, 13] Operation: 44-31=13 Exploring Operation: 44-25=19, Resulting Numbers: [31, 13, 19] Generated Node #0,1: 34:[31, 13, 19] Operation: 44-25=19 Exploring Operation: 44-13=31, Resulting Numbers: [31, 25, 31] Generated Node #0,2: 34:[31, 25, 31] Operation: 44-13=31 Moving to Node #0,1 Current State: 34:[31, 13, 19], Operations: ['44-25=19'] Exploring Operation: 13+19=32, Resulting Numbers: [31, 32] Generated Node #0,1,0: 34:[31, 32] Operation: 13+19=32 Exploring Operation: 31-13=18, Resulting Numbers: [19, 18] Generated Node #0,1,1: 34:[19, 18] Operation: 31-13=18 Exploring Operation: 19-13=6, Resulting Numbers: [31, 6] Generated Node #0,1,2: 34:[31, 6] Operation: 19-13=6 Moving to Node #0,2 Current State: 34:[31, 25, 31], Operations: ['44-13=31'] Exploring Operation: 31-25=6, Resulting Numbers: [31, 6] Generated Node #0,2,0: 34:[31, 6] Operation: 31-25=6 Exploring Operation: 31-25=6, Resulting Numbers: [31, 6] Generated Node #0,2,1: 34:[31, 6] Operation: 31-25=6 Exploring Operation: 31/31=1, Resulting Numbers: [25, 1] Generated Node #0,2,2: 34:[25, 1] Operation: 31/31=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[31, 6], Operations: ['44-13=31', '31-25=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,34 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 34:[31, 6], Operations: ['44-13=31', '31-25=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 34:[25, 1], Operations: ['44-13=31', '31/31=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,34 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: 34:[13, 25, 13], Operations: ['44-31=13'] Exploring Operation: 25+13=38, Resulting Numbers: [13, 38] Generated Node #0,0,0: 34:[13, 38] Operation: 25+13=38 Exploring Operation: 13+25=38, Resulting Numbers: [13, 38] Generated Node #0,0,1: 34:[13, 38] Operation: 13+25=38 Exploring Operation: 25-13=12, Resulting Numbers: [13, 12] Generated Node #0,0,2: 34:[13, 12] Operation: 25-13=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[13, 38], Operations: ['44-31=13', '25+13=38'] Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,34 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[13, 38], Operations: ['44-31=13', '13+25=38'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,34 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[13, 12], Operations: ['44-31=13', '25-13=12'] Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,34 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 34:[19, 18], Operations: ['44-25=19', '31-13=18'] Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,34 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[31, 32], Operations: ['44-25=19', '13+19=32'] Exploring Operation: 31*32=992, Resulting Numbers: [992] 992,34 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[31, 6], Operations: ['44-25=19', '19-13=6'] Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,34 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,34 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,34 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 24, 81, 69, 44 ]
88
[ "24*44=1056", "81-69=12", "1056/12=88" ]
Current State: 88:[24, 81, 69, 44], Operations: [] Exploring Operation: 24*44=1056, Resulting Numbers: [81, 69, 1056] Generated Node #2: [81, 69, 1056] from Operation: 24*44=1056 Current State: 88:[81, 69, 1056], Operations: ['24*44=1056'] Exploring Operation: 81-69=12, Resulting Numbers: [1056, 12] Generated Node #3: [1056, 12] from Operation: 81-69=12 Current State: 88:[1056, 12], Operations: ['24*44=1056', '81-69=12'] Exploring Operation: 1056/12=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[24, 81, 69, 44], Operations: [] Exploring Operation: 69-24=45, Resulting Numbers: [81, 44, 45] Generated Node #0,0: 88:[81, 44, 45] Operation: 69-24=45 Exploring Operation: 81-69=12, Resulting Numbers: [24, 44, 12] Generated Node #0,1: 88:[24, 44, 12] Operation: 81-69=12 Moving to Node #0,1 Current State: 88:[24, 44, 12], Operations: ['81-69=12'] Exploring Operation: 24-12=12, Resulting Numbers: [44, 12] Generated Node #0,1,0: 88:[44, 12] Operation: 24-12=12 Exploring Operation: 24/12=2, Resulting Numbers: [44, 2] Generated Node #0,1,1: 88:[44, 2] Operation: 24/12=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[44, 2], Operations: ['81-69=12', '24/12=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[24, 81, 69, 44], Operations: [] Exploring Operation: 81-69=12, Resulting Numbers: [24, 44, 12] Generated Node #0,1: 88:[24, 44, 12] Operation: 81-69=12 Moving to Node #0,1 Current State: 88:[24, 44, 12], Operations: ['81-69=12'] Exploring Operation: 24/12=2, Resulting Numbers: [44, 2] Generated Node #0,1,1: 88:[44, 2] Operation: 24/12=2 Moving to Node #0,1,1 Current State: 88:[44, 2], Operations: ['81-69=12', '24/12=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 84, 11, 57, 33 ]
66
[ "84-57=27", "33-27=6", "11*6=66" ]
Current State: 66:[84, 11, 57, 33], Operations: [] Exploring Operation: 84-57=27, Resulting Numbers: [11, 33, 27] Generated Node #2: [11, 33, 27] from Operation: 84-57=27 Current State: 66:[11, 33, 27], Operations: ['84-57=27'] Exploring Operation: 33-27=6, Resulting Numbers: [11, 6] Generated Node #3: [11, 6] from Operation: 33-27=6 Current State: 66:[11, 6], Operations: ['84-57=27', '33-27=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[84, 11, 57, 33], Operations: [] Exploring Operation: 57-33=24, Resulting Numbers: [84, 11, 24] Generated Node #0,0: 66:[84, 11, 24] Operation: 57-33=24 Exploring Operation: 84-57=27, Resulting Numbers: [11, 33, 27] Generated Node #0,1: 66:[11, 33, 27] Operation: 84-57=27 Exploring Operation: 84-11=73, Resulting Numbers: [57, 33, 73] Generated Node #0,2: 66:[57, 33, 73] Operation: 84-11=73 Exploring Operation: 11+57=68, Resulting Numbers: [84, 33, 68] Generated Node #0,3: 66:[84, 33, 68] Operation: 11+57=68 Moving to Node #0,1 Current State: 66:[11, 33, 27], Operations: ['84-57=27'] Exploring Operation: 11+27=38, Resulting Numbers: [33, 38] Generated Node #0,1,0: 66:[33, 38] Operation: 11+27=38 Exploring Operation: 33-11=22, Resulting Numbers: [27, 22] Generated Node #0,1,1: 66:[27, 22] Operation: 33-11=22 Exploring Operation: 33/11=3, Resulting Numbers: [27, 3] Generated Node #0,1,2: 66:[27, 3] Operation: 33/11=3 Exploring Operation: 33-27=6, Resulting Numbers: [11, 6] Generated Node #0,1,3: 66:[11, 6] Operation: 33-27=6 Moving to Node #0,2 Current State: 66:[57, 33, 73], Operations: ['84-11=73'] Exploring Operation: 57+33=90, Resulting Numbers: [73, 90] Generated Node #0,2,0: 66:[73, 90] Operation: 57+33=90 Exploring Operation: 73-33=40, Resulting Numbers: [57, 40] Generated Node #0,2,1: 66:[57, 40] Operation: 73-33=40 Exploring Operation: 57-33=24, Resulting Numbers: [73, 24] Generated Node #0,2,2: 66:[73, 24] Operation: 57-33=24 Exploring Operation: 73-57=16, Resulting Numbers: [33, 16] Generated Node #0,2,3: 66:[33, 16] Operation: 73-57=16 Moving to Node #0,3 Current State: 66:[84, 33, 68], Operations: ['11+57=68'] Exploring Operation: 84+33=117, Resulting Numbers: [68, 117] Generated Node #0,3,0: 66:[68, 117] Operation: 84+33=117 Exploring Operation: 68-33=35, Resulting Numbers: [84, 35] Generated Node #0,3,1: 66:[84, 35] Operation: 68-33=35 Exploring Operation: 84-33=51, Resulting Numbers: [68, 51] Generated Node #0,3,2: 66:[68, 51] Operation: 84-33=51 Exploring Operation: 84-68=16, Resulting Numbers: [33, 16] Generated Node #0,3,3: 66:[33, 16] Operation: 84-68=16 Moving to Node #0,0 Current State: 66:[84, 11, 24], Operations: ['57-33=24'] Exploring Operation: 11+24=35, Resulting Numbers: [84, 35] Generated Node #0,0,0: 66:[84, 35] Operation: 11+24=35 Exploring Operation: 24-11=13, Resulting Numbers: [84, 13] Generated Node #0,0,1: 66:[84, 13] Operation: 24-11=13 Exploring Operation: 84-11=73, Resulting Numbers: [24, 73] Generated Node #0,0,2: 66:[24, 73] Operation: 84-11=73 Exploring Operation: 84-24=60, Resulting Numbers: [11, 60] Generated Node #0,0,3: 66:[11, 60] Operation: 84-24=60 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 66:[11, 60], Operations: ['57-33=24', '84-24=60'] Exploring Operation: 11+60=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,66 unequal: No Solution Exploring Operation: 11*60=660, Resulting Numbers: [660] 660,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[24, 73], Operations: ['57-33=24', '84-11=73'] Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,66 unequal: No Solution Exploring Operation: 24*73=1752, Resulting Numbers: [1752] 1752,66 unequal: No Solution Exploring Operation: 24+73=97, Resulting Numbers: [97] 97,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[84, 35], Operations: ['57-33=24', '11+24=35'] Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,66 unequal: No Solution Exploring Operation: 84*35=2940, Resulting Numbers: [2940] 2940,66 unequal: No Solution Exploring Operation: 84+35=119, Resulting Numbers: [119] 119,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[84, 13], Operations: ['57-33=24', '24-11=13'] Exploring Operation: 84+13=97, Resulting Numbers: [97] 97,66 unequal: No Solution Exploring Operation: 84*13=1092, Resulting Numbers: [1092] 1092,66 unequal: No Solution Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 66:[11, 6], Operations: ['84-57=27', '33-27=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[84, 11, 57, 33], Operations: [] Exploring Operation: 84-57=27, Resulting Numbers: [11, 33, 27] Generated Node #0,1: 66:[11, 33, 27] Operation: 84-57=27 Moving to Node #0,1 Current State: 66:[11, 33, 27], Operations: ['84-57=27'] Exploring Operation: 33-27=6, Resulting Numbers: [11, 6] Generated Node #0,1,3: 66:[11, 6] Operation: 33-27=6 Moving to Node #0,1,3 Current State: 66:[11, 6], Operations: ['84-57=27', '33-27=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.966146
hs_4
sum_heuristic
[ 28, 97, 80, 83 ]
63
[ "97+83=180", "28*180=5040", "5040/80=63" ]
Current State: 63:[28, 97, 80, 83], Operations: [] Exploring Operation: 97+83=180, Resulting Numbers: [28, 80, 180] Generated Node #2: [28, 80, 180] from Operation: 97+83=180 Current State: 63:[28, 80, 180], Operations: ['97+83=180'] Exploring Operation: 28*180=5040, Resulting Numbers: [80, 5040] Generated Node #3: [80, 5040] from Operation: 28*180=5040 Current State: 63:[80, 5040], Operations: ['97+83=180', '28*180=5040'] Exploring Operation: 5040/80=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[28, 97, 80, 83], Operations: [] Exploring Operation: 97-83=14, Resulting Numbers: [28, 80, 14] Generated Node #0,0: 63:[28, 80, 14] Operation: 97-83=14 Exploring Operation: 83-28=55, Resulting Numbers: [97, 80, 55] Generated Node #0,1: 63:[97, 80, 55] Operation: 83-28=55 Exploring Operation: 97-80=17, Resulting Numbers: [28, 83, 17] Generated Node #0,2: 63:[28, 83, 17] Operation: 97-80=17 Exploring Operation: 97-28=69, Resulting Numbers: [80, 83, 69] Generated Node #0,3: 63:[80, 83, 69] Operation: 97-28=69 Exploring Operation: 83-80=3, Resulting Numbers: [28, 97, 3] Generated Node #0,4: 63:[28, 97, 3] Operation: 83-80=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[28, 80, 14], Operations: ['97-83=14'] Exploring Operation: 28-14=14, Resulting Numbers: [80, 14] Generated Node #0,0,0: 63:[80, 14] Operation: 28-14=14 Exploring Operation: 80-14=66, Resulting Numbers: [28, 66] Generated Node #0,0,1: 63:[28, 66] Operation: 80-14=66 Exploring Operation: 80-28=52, Resulting Numbers: [14, 52] Generated Node #0,0,2: 63:[14, 52] Operation: 80-28=52 Exploring Operation: 28/14=2, Resulting Numbers: [80, 2] Generated Node #0,0,3: 63:[80, 2] Operation: 28/14=2 Exploring Operation: 28+14=42, Resulting Numbers: [80, 42] Generated Node #0,0,4: 63:[80, 42] Operation: 28+14=42 Moving to Node #0,0,1 Current State: 63:[28, 66], Operations: ['97-83=14', '80-14=66'] Exploring Operation: 28+66=94, Resulting Numbers: [94] 94,63 unequal: No Solution 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 Moving to Node #0,0,2 Current State: 63:[14, 52], Operations: ['97-83=14', '80-28=52'] Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 14*52=728, Resulting Numbers: [728] 728,63 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,63 unequal: No Solution Moving to Node #0,0,3 Current State: 63:[80, 2], Operations: ['97-83=14', '28/14=2'] Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,63 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,63 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[80, 14], Operations: ['97-83=14', '28-14=14'] Exploring Operation: 80*14=1120, Resulting Numbers: [1120] 1120,63 unequal: No Solution Exploring Operation: 80+14=94, Resulting Numbers: [94] 94,63 unequal: No Solution Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,63 unequal: No Solution Moving to Node #0,0,4 Current State: 63:[80, 42], Operations: ['97-83=14', '28+14=42'] Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,63 unequal: No Solution Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,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,2 Current State: 63:[28, 83, 17], Operations: ['97-80=17'] Exploring Operation: 83-28=55, Resulting Numbers: [17, 55] Generated Node #0,2,0: 63:[17, 55] Operation: 83-28=55 Exploring Operation: 28+17=45, Resulting Numbers: [83, 45] Generated Node #0,2,1: 63:[83, 45] Operation: 28+17=45 Exploring Operation: 83-17=66, Resulting Numbers: [28, 66] Generated Node #0,2,2: 63:[28, 66] Operation: 83-17=66 Exploring Operation: 28-17=11, Resulting Numbers: [83, 11] Generated Node #0,2,3: 63:[83, 11] Operation: 28-17=11 Exploring Operation: 83+17=100, Resulting Numbers: [28, 100] Generated Node #0,2,4: 63:[28, 100] Operation: 83+17=100 Moving to Node #0,2,2 Current State: 63:[28, 66], Operations: ['97-80=17', '83-17=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 Moving to Node #0,2,0 Current State: 63:[17, 55], Operations: ['97-80=17', '83-28=55'] Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 17*55=935, Resulting Numbers: [935] 935,63 unequal: No Solution Exploring Operation: 17+55=72, Resulting Numbers: [72] 72,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[83, 11], Operations: ['97-80=17', '28-17=11'] Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,63 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[83, 45], Operations: ['97-80=17', '28+17=45'] Exploring Operation: 83*45=3735, Resulting Numbers: [3735] 3735,63 unequal: No Solution Exploring Operation: 83+45=128, Resulting Numbers: [128] 128,63 unequal: No Solution Exploring Operation: 83-45=38, Resulting Numbers: [38] 38,63 unequal: No Solution Moving to Node #0,2,4 Current State: 63:[28, 100], Operations: ['97-80=17', '83+17=100'] Exploring Operation: 28+100=128, Resulting Numbers: [128] 128,63 unequal: No Solution Exploring Operation: 100-28=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 28*100=2800, Resulting Numbers: [2800] 2800,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,4 Current State: 63:[28, 97, 3], Operations: ['83-80=3'] Exploring Operation: 97-3=94, Resulting Numbers: [28, 94] Generated Node #0,4,0: 63:[28, 94] Operation: 97-3=94 Exploring Operation: 97-28=69, Resulting Numbers: [3, 69] Generated Node #0,4,1: 63:[3, 69] Operation: 97-28=69 Exploring Operation: 28-3=25, Resulting Numbers: [97, 25] Generated Node #0,4,2: 63:[97, 25] Operation: 28-3=25 Exploring Operation: 28+3=31, Resulting Numbers: [97, 31] Generated Node #0,4,3: 63:[97, 31] Operation: 28+3=31 Exploring Operation: 97+3=100, Resulting Numbers: [28, 100] Generated Node #0,4,4: 63:[28, 100] Operation: 97+3=100 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 63:[3, 69], Operations: ['83-80=3', '97-28=69'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 3*69=207, Resulting Numbers: [207] 207,63 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,63 unequal: No Solution Exploring Operation: 3+69=72, Resulting Numbers: [72] 72,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,4,0 Current State: 63:[28, 94], Operations: ['83-80=3', '97-3=94'] Exploring Operation: 28*94=2632, Resulting Numbers: [2632] 2632,63 unequal: No Solution Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 28+94=122, Resulting Numbers: [122] 122,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,4,2 Current State: 63:[97, 25], Operations: ['83-80=3', '28-3=25'] Exploring Operation: 97-25=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 97+25=122, Resulting Numbers: [122] 122,63 unequal: No Solution Exploring Operation: 97*25=2425, Resulting Numbers: [2425] 2425,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,4,3 Current State: 63:[97, 31], Operations: ['83-80=3', '28+3=31'] Exploring Operation: 97*31=3007, Resulting Numbers: [3007] 3007,63 unequal: No Solution Exploring Operation: 97-31=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 97+31=128, Resulting Numbers: [128] 128,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,4,4 Current State: 63:[28, 100], Operations: ['83-80=3', '97+3=100'] Exploring Operation: 100-28=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 28*100=2800, Resulting Numbers: [2800] 2800,63 unequal: No Solution Exploring Operation: 28+100=128, Resulting Numbers: [128] 128,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,3 Current State: 63:[80, 83, 69], Operations: ['97-28=69'] Exploring Operation: 80+83=163, Resulting Numbers: [69, 163] Generated Node #0,3,0: 63:[69, 163] Operation: 80+83=163 Exploring Operation: 80-69=11, Resulting Numbers: [83, 11] Generated Node #0,3,1: 63:[83, 11] Operation: 80-69=11 Exploring Operation: 83-69=14, Resulting Numbers: [80, 14] Generated Node #0,3,2: 63:[80, 14] Operation: 83-69=14 Exploring Operation: 80+69=149, Resulting Numbers: [83, 149] Generated Node #0,3,3: 63:[83, 149] Operation: 80+69=149 Exploring Operation: 83-80=3, Resulting Numbers: [69, 3] Generated Node #0,3,4: 63:[69, 3] Operation: 83-80=3 Moving to Node #0,3,4 Current State: 63:[69, 3], Operations: ['97-28=69', '83-80=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,63 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[80, 14], Operations: ['97-28=69', '83-69=14'] Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 80+14=94, Resulting Numbers: [94] 94,63 unequal: No Solution Exploring Operation: 80*14=1120, Resulting Numbers: [1120] 1120,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[83, 11], Operations: ['97-28=69', '80-69=11'] Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,63 unequal: No Solution Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,63 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[69, 163], Operations: ['97-28=69', '80+83=163'] Exploring Operation: 69*163=11247, Resulting Numbers: [11247] 11247,63 unequal: No Solution Exploring Operation: 69+163=232, Resulting Numbers: [232] 232,63 unequal: No Solution Exploring Operation: 163-69=94, Resulting Numbers: [94] 94,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[83, 149], Operations: ['97-28=69', '80+69=149'] Exploring Operation: 149-83=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 83*149=12367, Resulting Numbers: [12367] 12367,63 unequal: No Solution Exploring Operation: 83+149=232, Resulting Numbers: [232] 232,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:[97, 80, 55], Operations: ['83-28=55'] Exploring Operation: 97-55=42, Resulting Numbers: [80, 42] Generated Node #0,1,0: 63:[80, 42] Operation: 97-55=42 Exploring Operation: 80-55=25, Resulting Numbers: [97, 25] Generated Node #0,1,1: 63:[97, 25] Operation: 80-55=25 Exploring Operation: 80+55=135, Resulting Numbers: [97, 135] Generated Node #0,1,2: 63:[97, 135] Operation: 80+55=135 Exploring Operation: 97+55=152, Resulting Numbers: [80, 152] Generated Node #0,1,3: 63:[80, 152] Operation: 97+55=152 Exploring Operation: 97-80=17, Resulting Numbers: [55, 17] Generated Node #0,1,4: 63:[55, 17] Operation: 97-80=17 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 63:[55, 17], Operations: ['83-28=55', '97-80=17'] Exploring Operation: 55+17=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 55*17=935, Resulting Numbers: [935] 935,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,0 Current State: 63:[80, 42], Operations: ['83-28=55', '97-55=42'] Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,63 unequal: No Solution Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,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:[97, 25], Operations: ['83-28=55', '80-55=25'] Exploring Operation: 97-25=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 97+25=122, Resulting Numbers: [122] 122,63 unequal: No Solution Exploring Operation: 97*25=2425, Resulting Numbers: [2425] 2425,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:[97, 135], Operations: ['83-28=55', '80+55=135'] Exploring Operation: 97*135=13095, Resulting Numbers: [13095] 13095,63 unequal: No Solution Exploring Operation: 135-97=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 97+135=232, Resulting Numbers: [232] 232,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,3 Current State: 63:[80, 152], Operations: ['83-28=55', '97+55=152'] Exploring Operation: 80+152=232, Resulting Numbers: [232] 232,63 unequal: No Solution Exploring Operation: 80*152=12160, Resulting Numbers: [12160] 12160,63 unequal: No Solution Exploring Operation: 152-80=72, Resulting Numbers: [72] 72,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_5
mult_heuristic
[ 81, 93, 93, 3 ]
85
[ "81+3=84", "93/93=1", "84+1=85" ]
Current State: 85:[81, 93, 93, 3], Operations: [] Exploring Operation: 81+3=84, Resulting Numbers: [93, 93, 84] Generated Node #2: [93, 93, 84] from Operation: 81+3=84 Current State: 85:[93, 93, 84], Operations: ['81+3=84'] Exploring Operation: 93/93=1, Resulting Numbers: [84, 1] Generated Node #3: [84, 1] from Operation: 93/93=1 Current State: 85:[84, 1], Operations: ['81+3=84', '93/93=1'] Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[81, 93, 93, 3], Operations: [] Exploring Operation: 93/93=1, Resulting Numbers: [81, 3, 1] Generated Node #0,0: 85:[81, 3, 1] Operation: 93/93=1 Moving to Node #0,0 Current State: 85:[81, 3, 1], Operations: ['93/93=1'] Exploring Operation: 81+3=84, Resulting Numbers: [1, 84] Generated Node #0,0,0: 85:[1, 84] Operation: 81+3=84 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[1, 84], Operations: ['93/93=1', '81+3=84'] Exploring Operation: 1+84=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[81, 93, 93, 3], Operations: [] Exploring Operation: 93/93=1, Resulting Numbers: [81, 3, 1] Generated Node #0,0: 85:[81, 3, 1] Operation: 93/93=1 Moving to Node #0,0 Current State: 85:[81, 3, 1], Operations: ['93/93=1'] Exploring Operation: 81+3=84, Resulting Numbers: [1, 84] Generated Node #0,0,0: 85:[1, 84] Operation: 81+3=84 Moving to Node #0,0,0 Current State: 85:[1, 84], Operations: ['93/93=1', '81+3=84'] Exploring Operation: 1+84=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 44, 47, 1, 21 ]
84
[ "47-44=3", "1+3=4", "21*4=84" ]
Current State: 84:[44, 47, 1, 21], Operations: [] Exploring Operation: 47-44=3, Resulting Numbers: [1, 21, 3] Generated Node #2: [1, 21, 3] from Operation: 47-44=3 Current State: 84:[1, 21, 3], Operations: ['47-44=3'] Exploring Operation: 1+3=4, Resulting Numbers: [21, 4] Generated Node #3: [21, 4] from Operation: 1+3=4 Current State: 84:[21, 4], Operations: ['47-44=3', '1+3=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[44, 47, 1, 21], Operations: [] Exploring Operation: 47-21=26, Resulting Numbers: [44, 1, 26] Generated Node #0,0: 84:[44, 1, 26] Operation: 47-21=26 Exploring Operation: 44-1=43, Resulting Numbers: [47, 21, 43] Generated Node #0,1: 84:[47, 21, 43] Operation: 44-1=43 Exploring Operation: 47-44=3, Resulting Numbers: [1, 21, 3] Generated Node #0,2: 84:[1, 21, 3] Operation: 47-44=3 Moving to Node #0,2 Current State: 84:[1, 21, 3], Operations: ['47-44=3'] Exploring Operation: 1*21=21, Resulting Numbers: [3, 21] Generated Node #0,2,0: 84:[3, 21] Operation: 1*21=21 Exploring Operation: 1+3=4, Resulting Numbers: [21, 4] Generated Node #0,2,1: 84:[21, 4] Operation: 1+3=4 Exploring Operation: 21/1=21, Resulting Numbers: [3, 21] Generated Node #0,2,2: 84:[3, 21] Operation: 21/1=21 Moving to Node #0,0 Current State: 84:[44, 1, 26], Operations: ['47-21=26'] Exploring Operation: 44-1=43, Resulting Numbers: [26, 43] Generated Node #0,0,0: 84:[26, 43] Operation: 44-1=43 Exploring Operation: 1+26=27, Resulting Numbers: [44, 27] Generated Node #0,0,1: 84:[44, 27] Operation: 1+26=27 Exploring Operation: 44*1=44, Resulting Numbers: [26, 44] Generated Node #0,0,2: 84:[26, 44] Operation: 44*1=44 Moving to Node #0,1 Current State: 84:[47, 21, 43], Operations: ['44-1=43'] Exploring Operation: 47-21=26, Resulting Numbers: [43, 26] Generated Node #0,1,0: 84:[43, 26] Operation: 47-21=26 Exploring Operation: 47-43=4, Resulting Numbers: [21, 4] Generated Node #0,1,1: 84:[21, 4] Operation: 47-43=4 Exploring Operation: 47+43=90, Resulting Numbers: [21, 90] Generated Node #0,1,2: 84:[21, 90] Operation: 47+43=90 Moving to Node #0,2,0 Current State: 84:[3, 21], Operations: ['47-44=3', '1*21=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,84 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[3, 21], Operations: ['47-44=3', '21/1=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,84 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[21, 4], Operations: ['44-1=43', '47-43=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[44, 47, 1, 21], Operations: [] Exploring Operation: 44-1=43, Resulting Numbers: [47, 21, 43] Generated Node #0,1: 84:[47, 21, 43] Operation: 44-1=43 Moving to Node #0,1 Current State: 84:[47, 21, 43], Operations: ['44-1=43'] Exploring Operation: 47-43=4, Resulting Numbers: [21, 4] Generated Node #0,1,1: 84:[21, 4] Operation: 47-43=4 Moving to Node #0,1,1 Current State: 84:[21, 4], Operations: ['44-1=43', '47-43=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.980035
hs_3
mult_heuristic
[ 16, 23, 64, 89 ]
28
[ "64/16=4", "23+89=112", "112/4=28" ]
Current State: 28:[16, 23, 64, 89], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [23, 89, 4] Generated Node #2: [23, 89, 4] from Operation: 64/16=4 Current State: 28:[23, 89, 4], Operations: ['64/16=4'] Exploring Operation: 23+89=112, Resulting Numbers: [4, 112] Generated Node #3: [4, 112] from Operation: 23+89=112 Current State: 28:[4, 112], Operations: ['64/16=4', '23+89=112'] Exploring Operation: 112/4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[16, 23, 64, 89], Operations: [] Exploring Operation: 89-64=25, Resulting Numbers: [16, 23, 25] Generated Node #0,0: 28:[16, 23, 25] Operation: 89-64=25 Exploring Operation: 64/16=4, Resulting Numbers: [23, 89, 4] Generated Node #0,1: 28:[23, 89, 4] Operation: 64/16=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[16, 23, 25], Operations: ['89-64=25'] Exploring Operation: 23-16=7, Resulting Numbers: [25, 7] Generated Node #0,0,0: 28:[25, 7] Operation: 23-16=7 Exploring Operation: 25-23=2, Resulting Numbers: [16, 2] Generated Node #0,0,1: 28:[16, 2] Operation: 25-23=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[16, 2], Operations: ['89-64=25', '25-23=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[25, 7], Operations: ['89-64=25', '23-16=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,28 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[23, 89, 4], Operations: ['64/16=4'] Exploring Operation: 89-23=66, Resulting Numbers: [4, 66] Generated Node #0,1,0: 28:[4, 66] Operation: 89-23=66 Exploring Operation: 23+4=27, Resulting Numbers: [89, 27] Generated Node #0,1,1: 28:[89, 27] Operation: 23+4=27 Moving to Node #0,1,0 Current State: 28:[4, 66], Operations: ['64/16=4', '89-23=66'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[89, 27], Operations: ['64/16=4', '23+4=27'] Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 89+27=116, Resulting Numbers: [116] 116,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
mult_heuristic
[ 54, 64, 36, 62 ]
28
[ "62-54=8", "64/8=8", "36-8=28" ]
Current State: 28:[54, 64, 36, 62], Operations: [] Exploring Operation: 62-54=8, Resulting Numbers: [64, 36, 8] Generated Node #2: [64, 36, 8] from Operation: 62-54=8 Current State: 28:[64, 36, 8], Operations: ['62-54=8'] Exploring Operation: 64/8=8, Resulting Numbers: [36, 8] Generated Node #3: [36, 8] from Operation: 64/8=8 Current State: 28:[36, 8], Operations: ['62-54=8', '64/8=8'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[54, 64, 36, 62], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [54, 36, 2] Generated Node #0,0: 28:[54, 36, 2] Operation: 64-62=2 Exploring Operation: 64-54=10, Resulting Numbers: [36, 62, 10] Generated Node #0,1: 28:[36, 62, 10] Operation: 64-54=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[54, 36, 2], Operations: ['64-62=2'] Exploring Operation: 54-36=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 28:[2, 18] Operation: 54-36=18 Exploring Operation: 54/2=27, Resulting Numbers: [36, 27] Generated Node #0,0,1: 28:[36, 27] Operation: 54/2=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[2, 18], Operations: ['64-62=2', '54-36=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[36, 27], Operations: ['64-62=2', '54/2=27'] Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,28 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[36, 62, 10], Operations: ['64-54=10'] Exploring Operation: 62-36=26, Resulting Numbers: [10, 26] Generated Node #0,1,0: 28:[10, 26] Operation: 62-36=26 Exploring Operation: 62-10=52, Resulting Numbers: [36, 52] Generated Node #0,1,1: 28:[36, 52] Operation: 62-10=52 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[10, 26], Operations: ['64-54=10', '62-36=26'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[36, 52], Operations: ['64-54=10', '62-10=52'] Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 36+52=88, Resulting Numbers: [88] 88,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 50, 28, 26, 37 ]
33
[ "50-28=22", "37-26=11", "22+11=33" ]
Current State: 33:[50, 28, 26, 37], Operations: [] Exploring Operation: 50-28=22, Resulting Numbers: [26, 37, 22] Generated Node #2: [26, 37, 22] from Operation: 50-28=22 Current State: 33:[26, 37, 22], Operations: ['50-28=22'] Exploring Operation: 37-26=11, Resulting Numbers: [22, 11] Generated Node #3: [22, 11] from Operation: 37-26=11 Current State: 33:[22, 11], Operations: ['50-28=22', '37-26=11'] Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[50, 28, 26, 37], Operations: [] Exploring Operation: 50-37=13, Resulting Numbers: [28, 26, 13] Generated Node #0,0: 33:[28, 26, 13] Operation: 50-37=13 Exploring Operation: 50-28=22, Resulting Numbers: [26, 37, 22] Generated Node #0,1: 33:[26, 37, 22] Operation: 50-28=22 Exploring Operation: 28-26=2, Resulting Numbers: [50, 37, 2] Generated Node #0,2: 33:[50, 37, 2] Operation: 28-26=2 Exploring Operation: 50-26=24, Resulting Numbers: [28, 37, 24] Generated Node #0,3: 33:[28, 37, 24] Operation: 50-26=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[28, 26, 13], Operations: ['50-37=13'] Exploring Operation: 28-26=2, Resulting Numbers: [13, 2] Generated Node #0,0,0: 33:[13, 2] Operation: 28-26=2 Exploring Operation: 26-13=13, Resulting Numbers: [28, 13] Generated Node #0,0,1: 33:[28, 13] Operation: 26-13=13 Exploring Operation: 28-13=15, Resulting Numbers: [26, 15] Generated Node #0,0,2: 33:[26, 15] Operation: 28-13=15 Exploring Operation: 26/13=2, Resulting Numbers: [28, 2] Generated Node #0,0,3: 33:[28, 2] Operation: 26/13=2 Moving to Node #0,0,0 Current State: 33:[13, 2], Operations: ['50-37=13', '28-26=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[28, 2], Operations: ['50-37=13', '26/13=2'] Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,33 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[28, 13], Operations: ['50-37=13', '26-13=13'] Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,33 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[26, 15], Operations: ['50-37=13', '28-13=15'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,33 unequal: No Solution Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,33 unequal: No Solution Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,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:[28, 37, 24], Operations: ['50-26=24'] Exploring Operation: 37-28=9, Resulting Numbers: [24, 9] Generated Node #0,3,0: 33:[24, 9] Operation: 37-28=9 Exploring Operation: 37-24=13, Resulting Numbers: [28, 13] Generated Node #0,3,1: 33:[28, 13] Operation: 37-24=13 Exploring Operation: 28-24=4, Resulting Numbers: [37, 4] Generated Node #0,3,2: 33:[37, 4] Operation: 28-24=4 Exploring Operation: 28+24=52, Resulting Numbers: [37, 52] Generated Node #0,3,3: 33:[37, 52] Operation: 28+24=52 Moving to Node #0,3,2 Current State: 33:[37, 4], Operations: ['50-26=24', '28-24=4'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[50, 28, 26, 37], Operations: [] Exploring Operation: 50-26=24, Resulting Numbers: [28, 37, 24] Generated Node #0,3: 33:[28, 37, 24] Operation: 50-26=24 Moving to Node #0,3 Current State: 33:[28, 37, 24], Operations: ['50-26=24'] Exploring Operation: 28-24=4, Resulting Numbers: [37, 4] Generated Node #0,3,2: 33:[37, 4] Operation: 28-24=4 Moving to Node #0,3,2 Current State: 33:[37, 4], Operations: ['50-26=24', '28-24=4'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 93, 71, 94, 96 ]
49
[ "96-94=2", "71*2=142", "142-93=49" ]
Current State: 49:[93, 71, 94, 96], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [93, 71, 2] Generated Node #2: [93, 71, 2] from Operation: 96-94=2 Current State: 49:[93, 71, 2], Operations: ['96-94=2'] Exploring Operation: 71*2=142, Resulting Numbers: [93, 142] Generated Node #3: [93, 142] from Operation: 71*2=142 Current State: 49:[93, 142], Operations: ['96-94=2', '71*2=142'] Exploring Operation: 142-93=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[93, 71, 94, 96], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [71, 94, 3] Generated Node #0,0: 49:[71, 94, 3] Operation: 96-93=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[71, 94, 3], Operations: ['96-93=3'] Exploring Operation: 94-71=23, Resulting Numbers: [3, 23] Generated Node #0,0,0: 49:[3, 23] Operation: 94-71=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[3, 23], Operations: ['96-93=3', '94-71=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 30, 60, 22, 15 ]
26
[ "60/30=2", "22/2=11", "15+11=26" ]
Current State: 26:[30, 60, 22, 15], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [22, 15, 2] Generated Node #2: [22, 15, 2] from Operation: 60/30=2 Current State: 26:[22, 15, 2], Operations: ['60/30=2'] Exploring Operation: 22/2=11, Resulting Numbers: [15, 11] Generated Node #3: [15, 11] from Operation: 22/2=11 Current State: 26:[15, 11], Operations: ['60/30=2', '22/2=11'] Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[30, 60, 22, 15], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [22, 15, 2] Generated Node #0,0: 26:[22, 15, 2] Operation: 60/30=2 Exploring Operation: 60-30=30, Resulting Numbers: [22, 15, 30] Generated Node #0,1: 26:[22, 15, 30] Operation: 60-30=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[22, 15, 2], Operations: ['60/30=2'] Exploring Operation: 22/2=11, Resulting Numbers: [15, 11] Generated Node #0,0,0: 26:[15, 11] Operation: 22/2=11 Exploring Operation: 22+2=24, Resulting Numbers: [15, 24] Generated Node #0,0,1: 26:[15, 24] Operation: 22+2=24 Moving to Node #0,0,0 Current State: 26:[15, 11], Operations: ['60/30=2', '22/2=11'] Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[30, 60, 22, 15], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [22, 15, 2] Generated Node #0,0: 26:[22, 15, 2] Operation: 60/30=2 Moving to Node #0,0 Current State: 26:[22, 15, 2], Operations: ['60/30=2'] Exploring Operation: 22/2=11, Resulting Numbers: [15, 11] Generated Node #0,0,0: 26:[15, 11] Operation: 22/2=11 Moving to Node #0,0,0 Current State: 26:[15, 11], Operations: ['60/30=2', '22/2=11'] Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 63, 98, 14, 25 ]
10
[ "98-63=35", "14*25=350", "350/35=10" ]
Current State: 10:[63, 98, 14, 25], Operations: [] Exploring Operation: 98-63=35, Resulting Numbers: [14, 25, 35] Generated Node #2: [14, 25, 35] from Operation: 98-63=35 Current State: 10:[14, 25, 35], Operations: ['98-63=35'] Exploring Operation: 14*25=350, Resulting Numbers: [35, 350] Generated Node #3: [35, 350] from Operation: 14*25=350 Current State: 10:[35, 350], Operations: ['98-63=35', '14*25=350'] Exploring Operation: 350/35=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[63, 98, 14, 25], Operations: [] Exploring Operation: 98-25=73, Resulting Numbers: [63, 14, 73] Generated Node #0,0: 10:[63, 14, 73] Operation: 98-25=73 Exploring Operation: 63-25=38, Resulting Numbers: [98, 14, 38] Generated Node #0,1: 10:[98, 14, 38] Operation: 63-25=38 Exploring Operation: 98/14=7, Resulting Numbers: [63, 25, 7] Generated Node #0,2: 10:[63, 25, 7] Operation: 98/14=7 Exploring Operation: 98-63=35, Resulting Numbers: [14, 25, 35] Generated Node #0,3: 10:[14, 25, 35] Operation: 98-63=35 Exploring Operation: 63-14=49, Resulting Numbers: [98, 25, 49] Generated Node #0,4: 10:[98, 25, 49] Operation: 63-14=49 Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[14, 25, 35], Operations: ['98-63=35'] Exploring Operation: 14+25=39, Resulting Numbers: [35, 39] Generated Node #0,3,0: 10:[35, 39] Operation: 14+25=39 Exploring Operation: 35-25=10, Resulting Numbers: [14, 10] Generated Node #0,3,1: 10:[14, 10] Operation: 35-25=10 Exploring Operation: 25-14=11, Resulting Numbers: [35, 11] Generated Node #0,3,2: 10:[35, 11] Operation: 25-14=11 Exploring Operation: 14+35=49, Resulting Numbers: [25, 49] Generated Node #0,3,3: 10:[25, 49] Operation: 14+35=49 Exploring Operation: 35-14=21, Resulting Numbers: [25, 21] Generated Node #0,3,4: 10:[25, 21] Operation: 35-14=21 Moving to Node #0,3,1 Current State: 10:[14, 10], Operations: ['98-63=35', '35-25=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,10 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,10 unequal: No Solution Moving to Node #0,3,4 Current State: 10:[25, 21], Operations: ['98-63=35', '35-14=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,10 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,10 unequal: No Solution Moving to Node #0,3,2 Current State: 10:[35, 11], Operations: ['98-63=35', '25-14=11'] Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 35*11=385, Resulting Numbers: [385] 385,10 unequal: No Solution Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,10 unequal: No Solution Moving to Node #0,3,0 Current State: 10:[35, 39], Operations: ['98-63=35', '14+25=39'] Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 35*39=1365, Resulting Numbers: [1365] 1365,10 unequal: No Solution Moving to Node #0,3,3 Current State: 10:[25, 49], Operations: ['98-63=35', '14+35=49'] Exploring Operation: 25*49=1225, Resulting Numbers: [1225] 1225,10 unequal: No Solution Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[63, 25, 7], Operations: ['98/14=7'] Exploring Operation: 63-7=56, Resulting Numbers: [25, 56] Generated Node #0,2,0: 10:[25, 56] Operation: 63-7=56 Exploring Operation: 63-25=38, Resulting Numbers: [7, 38] Generated Node #0,2,1: 10:[7, 38] Operation: 63-25=38 Exploring Operation: 63/7=9, Resulting Numbers: [25, 9] Generated Node #0,2,2: 10:[25, 9] Operation: 63/7=9 Exploring Operation: 25-7=18, Resulting Numbers: [63, 18] Generated Node #0,2,3: 10:[63, 18] Operation: 25-7=18 Exploring Operation: 63+7=70, Resulting Numbers: [25, 70] Generated Node #0,2,4: 10:[25, 70] Operation: 63+7=70 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[25, 9], Operations: ['98/14=7', '63/7=9'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,10 unequal: No Solution Exploring Operation: 25*9=225, Resulting Numbers: [225] 225,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 10:[7, 38], Operations: ['98/14=7', '63-25=38'] Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,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:[25, 56], Operations: ['98/14=7', '63-7=56'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,10 unequal: No Solution Exploring Operation: 25+56=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 25*56=1400, Resulting Numbers: [1400] 1400,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:[63, 18], Operations: ['98/14=7', '25-7=18'] Exploring Operation: 63*18=1134, Resulting Numbers: [1134] 1134,10 unequal: No Solution Exploring Operation: 63+18=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,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:[25, 70], Operations: ['98/14=7', '63+7=70'] Exploring Operation: 25*70=1750, Resulting Numbers: [1750] 1750,10 unequal: No Solution Exploring Operation: 25+70=95, Resulting Numbers: [95] 95,10 unequal: No Solution Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,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:[63, 14, 73], Operations: ['98-25=73'] Exploring Operation: 73-14=59, Resulting Numbers: [63, 59] Generated Node #0,0,0: 10:[63, 59] Operation: 73-14=59 Exploring Operation: 63+14=77, Resulting Numbers: [73, 77] Generated Node #0,0,1: 10:[73, 77] Operation: 63+14=77 Exploring Operation: 63-14=49, Resulting Numbers: [73, 49] Generated Node #0,0,2: 10:[73, 49] Operation: 63-14=49 Exploring Operation: 63+73=136, Resulting Numbers: [14, 136] Generated Node #0,0,3: 10:[14, 136] Operation: 63+73=136 Exploring Operation: 73-63=10, Resulting Numbers: [14, 10] Generated Node #0,0,4: 10:[14, 10] Operation: 73-63=10 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 10:[14, 10], Operations: ['98-25=73', '73-63=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,10 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,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:[63, 59], Operations: ['98-25=73', '73-14=59'] Exploring Operation: 63-59=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 63*59=3717, Resulting Numbers: [3717] 3717,10 unequal: No Solution Exploring Operation: 63+59=122, Resulting Numbers: [122] 122,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,2 Current State: 10:[73, 49], Operations: ['98-25=73', '63-14=49'] Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 73+49=122, Resulting Numbers: [122] 122,10 unequal: No Solution Exploring Operation: 73*49=3577, Resulting Numbers: [3577] 3577,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[73, 77], Operations: ['98-25=73', '63+14=77'] Exploring Operation: 77-73=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 73+77=150, Resulting Numbers: [150] 150,10 unequal: No Solution Exploring Operation: 73*77=5621, Resulting Numbers: [5621] 5621,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 10:[14, 136], Operations: ['98-25=73', '63+73=136'] Exploring Operation: 14+136=150, Resulting Numbers: [150] 150,10 unequal: No Solution Exploring Operation: 136-14=122, Resulting Numbers: [122] 122,10 unequal: No Solution Exploring Operation: 14*136=1904, Resulting Numbers: [1904] 1904,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:[98, 14, 38], Operations: ['63-25=38'] Exploring Operation: 98+14=112, Resulting Numbers: [38, 112] Generated Node #0,1,0: 10:[38, 112] Operation: 98+14=112 Exploring Operation: 98/14=7, Resulting Numbers: [38, 7] Generated Node #0,1,1: 10:[38, 7] Operation: 98/14=7 Exploring Operation: 98-38=60, Resulting Numbers: [14, 60] Generated Node #0,1,2: 10:[14, 60] Operation: 98-38=60 Exploring Operation: 38-14=24, Resulting Numbers: [98, 24] Generated Node #0,1,3: 10:[98, 24] Operation: 38-14=24 Exploring Operation: 98-14=84, Resulting Numbers: [38, 84] Generated Node #0,1,4: 10:[38, 84] Operation: 98-14=84 Moving to Node #0,1,1 Current State: 10:[38, 7], Operations: ['63-25=38', '98/14=7'] Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,10 unequal: No Solution Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[14, 60], Operations: ['63-25=38', '98-38=60'] Exploring Operation: 14+60=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 14*60=840, Resulting Numbers: [840] 840,10 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,10 unequal: No Solution Moving to Node #0,1,3 Current State: 10:[98, 24], Operations: ['63-25=38', '38-14=24'] Exploring Operation: 98-24=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 98+24=122, Resulting Numbers: [122] 122,10 unequal: No Solution Exploring Operation: 98*24=2352, Resulting Numbers: [2352] 2352,10 unequal: No Solution Moving to Node #0,1,4 Current State: 10:[38, 84], Operations: ['63-25=38', '98-14=84'] Exploring Operation: 38+84=122, Resulting Numbers: [122] 122,10 unequal: No Solution Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,10 unequal: No Solution Exploring Operation: 38*84=3192, Resulting Numbers: [3192] 3192,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[38, 112], Operations: ['63-25=38', '98+14=112'] Exploring Operation: 38*112=4256, Resulting Numbers: [4256] 4256,10 unequal: No Solution Exploring Operation: 112-38=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 38+112=150, Resulting Numbers: [150] 150,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:[98, 25, 49], Operations: ['63-14=49'] Exploring Operation: 98/49=2, Resulting Numbers: [25, 2] Generated Node #0,4,0: 10:[25, 2] Operation: 98/49=2 Exploring Operation: 98+25=123, Resulting Numbers: [49, 123] Generated Node #0,4,1: 10:[49, 123] Operation: 98+25=123 Exploring Operation: 98-25=73, Resulting Numbers: [49, 73] Generated Node #0,4,2: 10:[49, 73] Operation: 98-25=73 Exploring Operation: 98-49=49, Resulting Numbers: [25, 49] Generated Node #0,4,3: 10:[25, 49] Operation: 98-49=49 Exploring Operation: 49-25=24, Resulting Numbers: [98, 24] Generated Node #0,4,4: 10:[98, 24] Operation: 49-25=24 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 10:[25, 2], Operations: ['63-14=49', '98/49=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,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,4,3 Current State: 10:[25, 49], Operations: ['63-14=49', '98-49=49'] Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 25*49=1225, Resulting Numbers: [1225] 1225,10 unequal: No Solution Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,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,4,2 Current State: 10:[49, 73], Operations: ['63-14=49', '98-25=73'] Exploring Operation: 49+73=122, Resulting Numbers: [122] 122,10 unequal: No Solution Exploring Operation: 49*73=3577, Resulting Numbers: [3577] 3577,10 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,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,4,4 Current State: 10:[98, 24], Operations: ['63-14=49', '49-25=24'] Exploring Operation: 98-24=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 98*24=2352, Resulting Numbers: [2352] 2352,10 unequal: No Solution Exploring Operation: 98+24=122, Resulting Numbers: [122] 122,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,4,1 Current State: 10:[49, 123], Operations: ['63-14=49', '98+25=123'] Exploring Operation: 123-49=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 49*123=6027, Resulting Numbers: [6027] 6027,10 unequal: No Solution Exploring Operation: 49+123=172, Resulting Numbers: [172] 172,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 57, 12, 66, 63 ]
64
[ "63-57=6", "12/6=2", "66-2=64" ]
Current State: 64:[57, 12, 66, 63], Operations: [] Exploring Operation: 63-57=6, Resulting Numbers: [12, 66, 6] Generated Node #2: [12, 66, 6] from Operation: 63-57=6 Current State: 64:[12, 66, 6], Operations: ['63-57=6'] Exploring Operation: 12/6=2, Resulting Numbers: [66, 2] Generated Node #3: [66, 2] from Operation: 12/6=2 Current State: 64:[66, 2], Operations: ['63-57=6', '12/6=2'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[57, 12, 66, 63], Operations: [] Exploring Operation: 57+12=69, Resulting Numbers: [66, 63, 69] Generated Node #0,0: 64:[66, 63, 69] Operation: 57+12=69 Exploring Operation: 66-57=9, Resulting Numbers: [12, 63, 9] Generated Node #0,1: 64:[12, 63, 9] Operation: 66-57=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[12, 63, 9], Operations: ['66-57=9'] Exploring Operation: 63/9=7, Resulting Numbers: [12, 7] Generated Node #0,1,0: 64:[12, 7] Operation: 63/9=7 Exploring Operation: 12-9=3, Resulting Numbers: [63, 3] Generated Node #0,1,1: 64:[63, 3] Operation: 12-9=3 Moving to Node #0,1,1 Current State: 64:[63, 3], Operations: ['66-57=9', '12-9=3'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,64 unequal: No Solution Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[12, 7], Operations: ['66-57=9', '63/9=7'] Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,64 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[66, 63, 69], Operations: ['57+12=69'] Exploring Operation: 69-63=6, Resulting Numbers: [66, 6] Generated Node #0,0,0: 64:[66, 6] Operation: 69-63=6 Exploring Operation: 69-66=3, Resulting Numbers: [63, 3] Generated Node #0,0,1: 64:[63, 3] Operation: 69-66=3 Moving to Node #0,0,1 Current State: 64:[63, 3], Operations: ['57+12=69', '69-66=3'] Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,64 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[66, 6], Operations: ['57+12=69', '69-63=6'] Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,64 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 97, 49, 92, 43 ]
97
[ "97+49=146", "92-43=49", "146-49=97" ]
Current State: 97:[97, 49, 92, 43], Operations: [] Exploring Operation: 97+49=146, Resulting Numbers: [92, 43, 146] Generated Node #2: [92, 43, 146] from Operation: 97+49=146 Current State: 97:[92, 43, 146], Operations: ['97+49=146'] Exploring Operation: 92-43=49, Resulting Numbers: [146, 49] Generated Node #3: [146, 49] from Operation: 92-43=49 Current State: 97:[146, 49], Operations: ['97+49=146', '92-43=49'] Exploring Operation: 146-49=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[97, 49, 92, 43], Operations: [] Exploring Operation: 97+43=140, Resulting Numbers: [49, 92, 140] Generated Node #0,0: 97:[49, 92, 140] Operation: 97+43=140 Exploring Operation: 49+43=92, Resulting Numbers: [97, 92, 92] Generated Node #0,1: 97:[97, 92, 92] Operation: 49+43=92 Exploring Operation: 92+43=135, Resulting Numbers: [97, 49, 135] Generated Node #0,2: 97:[97, 49, 135] Operation: 92+43=135 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[97, 92, 92], Operations: ['49+43=92'] Exploring Operation: 92/92=1, Resulting Numbers: [97, 1] Generated Node #0,1,0: 97:[97, 1] Operation: 92/92=1 Exploring Operation: 92+92=184, Resulting Numbers: [97, 184] Generated Node #0,1,1: 97:[97, 184] Operation: 92+92=184 Exploring Operation: 97+92=189, Resulting Numbers: [92, 189] Generated Node #0,1,2: 97:[92, 189] Operation: 97+92=189 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[97, 184], Operations: ['49+43=92', '92+92=184'] Exploring Operation: 97+184=281, Resulting Numbers: [281] 281,97 unequal: No Solution Exploring Operation: 97*184=17848, Resulting Numbers: [17848] 17848,97 unequal: No Solution Exploring Operation: 184-97=87, Resulting Numbers: [87] 87,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[97, 1], Operations: ['49+43=92', '92/92=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[97, 49, 92, 43], Operations: [] Exploring Operation: 49+43=92, Resulting Numbers: [97, 92, 92] Generated Node #0,1: 97:[97, 92, 92] Operation: 49+43=92 Moving to Node #0,1 Current State: 97:[97, 92, 92], Operations: ['49+43=92'] Exploring Operation: 92/92=1, Resulting Numbers: [97, 1] Generated Node #0,1,0: 97:[97, 1] Operation: 92/92=1 Moving to Node #0,1,0 Current State: 97:[97, 1], Operations: ['49+43=92', '92/92=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 57, 60, 89, 4 ]
77
[ "60-57=3", "4*3=12", "89-12=77" ]
Current State: 77:[57, 60, 89, 4], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [89, 4, 3] Generated Node #2: [89, 4, 3] from Operation: 60-57=3 Current State: 77:[89, 4, 3], Operations: ['60-57=3'] Exploring Operation: 4*3=12, Resulting Numbers: [89, 12] Generated Node #3: [89, 12] from Operation: 4*3=12 Current State: 77:[89, 12], Operations: ['60-57=3', '4*3=12'] Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[57, 60, 89, 4], Operations: [] Exploring Operation: 60/4=15, Resulting Numbers: [57, 89, 15] Generated Node #0,0: 77:[57, 89, 15] Operation: 60/4=15 Exploring Operation: 60-57=3, Resulting Numbers: [89, 4, 3] Generated Node #0,1: 77:[89, 4, 3] Operation: 60-57=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[89, 4, 3], Operations: ['60-57=3'] Exploring Operation: 89-3=86, Resulting Numbers: [4, 86] Generated Node #0,1,0: 77:[4, 86] Operation: 89-3=86 Exploring Operation: 89-4=85, Resulting Numbers: [3, 85] Generated Node #0,1,1: 77:[3, 85] Operation: 89-4=85 Moving to Node #0,1,0 Current State: 77:[4, 86], Operations: ['60-57=3', '89-3=86'] Exploring Operation: 4+86=90, Resulting Numbers: [90] 90,77 unequal: No Solution Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[3, 85], Operations: ['60-57=3', '89-4=85'] Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,77 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,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 Current State: 77:[57, 89, 15], Operations: ['60/4=15'] Exploring Operation: 89-15=74, Resulting Numbers: [57, 74] Generated Node #0,0,0: 77:[57, 74] Operation: 89-15=74 Exploring Operation: 57+15=72, Resulting Numbers: [89, 72] Generated Node #0,0,1: 77:[89, 72] Operation: 57+15=72 Moving to Node #0,0,1 Current State: 77:[89, 72], Operations: ['60/4=15', '57+15=72'] Exploring Operation: 89+72=161, Resulting Numbers: [161] 161,77 unequal: No Solution Exploring Operation: 89-72=17, Resulting Numbers: [17] 17,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[57, 74], Operations: ['60/4=15', '89-15=74'] Exploring Operation: 74-57=17, Resulting Numbers: [17] 17,77 unequal: No Solution Exploring Operation: 57+74=131, Resulting Numbers: [131] 131,77 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
[ 40, 27, 93, 6 ]
32
[ "40+27=67", "93+6=99", "99-67=32" ]
Current State: 32:[40, 27, 93, 6], Operations: [] Exploring Operation: 40+27=67, Resulting Numbers: [93, 6, 67] Generated Node #2: [93, 6, 67] from Operation: 40+27=67 Current State: 32:[93, 6, 67], Operations: ['40+27=67'] Exploring Operation: 93+6=99, Resulting Numbers: [67, 99] Generated Node #3: [67, 99] from Operation: 93+6=99 Current State: 32:[67, 99], Operations: ['40+27=67', '93+6=99'] Exploring Operation: 99-67=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[40, 27, 93, 6], Operations: [] Exploring Operation: 93-27=66, Resulting Numbers: [40, 6, 66] Generated Node #0,0: 32:[40, 6, 66] Operation: 93-27=66 Exploring Operation: 93-6=87, Resulting Numbers: [40, 27, 87] Generated Node #0,1: 32:[40, 27, 87] Operation: 93-6=87 Exploring Operation: 40-6=34, Resulting Numbers: [27, 93, 34] Generated Node #0,2: 32:[27, 93, 34] Operation: 40-6=34 Exploring Operation: 40-27=13, Resulting Numbers: [93, 6, 13] Generated Node #0,3: 32:[93, 6, 13] Operation: 40-27=13 Exploring Operation: 93-40=53, Resulting Numbers: [27, 6, 53] Generated Node #0,4: 32:[27, 6, 53] Operation: 93-40=53 Moving to Node #0,4 Current State: 32:[27, 6, 53], Operations: ['93-40=53'] Exploring Operation: 6+53=59, Resulting Numbers: [27, 59] Generated Node #0,4,0: 32:[27, 59] Operation: 6+53=59 Exploring Operation: 27+6=33, Resulting Numbers: [53, 33] Generated Node #0,4,1: 32:[53, 33] Operation: 27+6=33 Exploring Operation: 27-6=21, Resulting Numbers: [53, 21] Generated Node #0,4,2: 32:[53, 21] Operation: 27-6=21 Exploring Operation: 53-6=47, Resulting Numbers: [27, 47] Generated Node #0,4,3: 32:[27, 47] Operation: 53-6=47 Exploring Operation: 53-27=26, Resulting Numbers: [6, 26] Generated Node #0,4,4: 32:[6, 26] Operation: 53-27=26 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 32:[6, 26], Operations: ['93-40=53', '53-27=26'] Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,32 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[40, 27, 93, 6], Operations: [] Exploring Operation: 93-40=53, Resulting Numbers: [27, 6, 53] Generated Node #0,4: 32:[27, 6, 53] Operation: 93-40=53 Moving to Node #0,4 Current State: 32:[27, 6, 53], Operations: ['93-40=53'] Exploring Operation: 53-27=26, Resulting Numbers: [6, 26] Generated Node #0,4,4: 32:[6, 26] Operation: 53-27=26 Moving to Node #0,4,4 Current State: 32:[6, 26], Operations: ['93-40=53', '53-27=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 73, 47, 64, 43 ]
47
[ "73-47=26", "64-43=21", "26+21=47" ]
Current State: 47:[73, 47, 64, 43], Operations: [] Exploring Operation: 73-47=26, Resulting Numbers: [64, 43, 26] Generated Node #2: [64, 43, 26] from Operation: 73-47=26 Current State: 47:[64, 43, 26], Operations: ['73-47=26'] Exploring Operation: 64-43=21, Resulting Numbers: [26, 21] Generated Node #3: [26, 21] from Operation: 64-43=21 Current State: 47:[26, 21], Operations: ['73-47=26', '64-43=21'] Exploring Operation: 26+21=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[73, 47, 64, 43], Operations: [] Exploring Operation: 73-64=9, Resulting Numbers: [47, 43, 9] Generated Node #0,0: 47:[47, 43, 9] Operation: 73-64=9 Exploring Operation: 64-43=21, Resulting Numbers: [73, 47, 21] Generated Node #0,1: 47:[73, 47, 21] Operation: 64-43=21 Exploring Operation: 73-47=26, Resulting Numbers: [64, 43, 26] Generated Node #0,2: 47:[64, 43, 26] Operation: 73-47=26 Exploring Operation: 73-43=30, Resulting Numbers: [47, 64, 30] Generated Node #0,3: 47:[47, 64, 30] Operation: 73-43=30 Moving to Node #0,3 Current State: 47:[47, 64, 30], Operations: ['73-43=30'] Exploring Operation: 64-47=17, Resulting Numbers: [30, 17] Generated Node #0,3,0: 47:[30, 17] Operation: 64-47=17 Exploring Operation: 64-30=34, Resulting Numbers: [47, 34] Generated Node #0,3,1: 47:[47, 34] Operation: 64-30=34 Exploring Operation: 47+30=77, Resulting Numbers: [64, 77] Generated Node #0,3,2: 47:[64, 77] Operation: 47+30=77 Exploring Operation: 47-30=17, Resulting Numbers: [64, 17] Generated Node #0,3,3: 47:[64, 17] Operation: 47-30=17 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 47:[47, 34], Operations: ['73-43=30', '64-30=34'] Exploring Operation: 47*34=1598, Resulting Numbers: [1598] 1598,47 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 47+34=81, Resulting Numbers: [81] 81,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 47:[30, 17], Operations: ['73-43=30', '64-47=17'] Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[73, 47, 64, 43], Operations: [] Exploring Operation: 73-43=30, Resulting Numbers: [47, 64, 30] Generated Node #0,3: 47:[47, 64, 30] Operation: 73-43=30 Moving to Node #0,3 Current State: 47:[47, 64, 30], Operations: ['73-43=30'] Exploring Operation: 64-47=17, Resulting Numbers: [30, 17] Generated Node #0,3,0: 47:[30, 17] Operation: 64-47=17 Moving to Node #0,3,0 Current State: 47:[30, 17], Operations: ['73-43=30', '64-47=17'] Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 80, 49, 85, 90 ]
31
[ "85-80=5", "90/5=18", "49-18=31" ]
Current State: 31:[80, 49, 85, 90], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [49, 90, 5] Generated Node #2: [49, 90, 5] from Operation: 85-80=5 Current State: 31:[49, 90, 5], Operations: ['85-80=5'] Exploring Operation: 90/5=18, Resulting Numbers: [49, 18] Generated Node #3: [49, 18] from Operation: 90/5=18 Current State: 31:[49, 18], Operations: ['85-80=5', '90/5=18'] Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[80, 49, 85, 90], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [49, 90, 5] Generated Node #0,0: 31:[49, 90, 5] Operation: 85-80=5 Exploring Operation: 90-80=10, Resulting Numbers: [49, 85, 10] Generated Node #0,1: 31:[49, 85, 10] Operation: 90-80=10 Exploring Operation: 90-85=5, Resulting Numbers: [80, 49, 5] Generated Node #0,2: 31:[80, 49, 5] Operation: 90-85=5 Moving to Node #0,1 Current State: 31:[49, 85, 10], Operations: ['90-80=10'] Exploring Operation: 49-10=39, Resulting Numbers: [85, 39] Generated Node #0,1,0: 31:[85, 39] Operation: 49-10=39 Exploring Operation: 85-10=75, Resulting Numbers: [49, 75] Generated Node #0,1,1: 31:[49, 75] Operation: 85-10=75 Exploring Operation: 85-49=36, Resulting Numbers: [10, 36] Generated Node #0,1,2: 31:[10, 36] Operation: 85-49=36 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[10, 36], Operations: ['90-80=10', '85-49=36'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[85, 39], Operations: ['90-80=10', '49-10=39'] Exploring Operation: 85+39=124, Resulting Numbers: [124] 124,31 unequal: No Solution Exploring Operation: 85-39=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 85*39=3315, Resulting Numbers: [3315] 3315,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[49, 75], Operations: ['90-80=10', '85-10=75'] Exploring Operation: 75-49=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 49+75=124, Resulting Numbers: [124] 124,31 unequal: No Solution Exploring Operation: 49*75=3675, Resulting Numbers: [3675] 3675,31 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: 31:[80, 49, 5], Operations: ['90-85=5'] Exploring Operation: 80-49=31, Resulting Numbers: [5, 31] Generated Node #0,2,0: 31:[5, 31] Operation: 80-49=31 Exploring Operation: 80-5=75, Resulting Numbers: [49, 75] Generated Node #0,2,1: 31:[49, 75] Operation: 80-5=75 Exploring Operation: 80/5=16, Resulting Numbers: [49, 16] Generated Node #0,2,2: 31:[49, 16] Operation: 80/5=16 Moving to Node #0,0 Current State: 31:[49, 90, 5], Operations: ['85-80=5'] Exploring Operation: 90/5=18, Resulting Numbers: [49, 18] Generated Node #0,0,0: 31:[49, 18] Operation: 90/5=18 Exploring Operation: 90-49=41, Resulting Numbers: [5, 41] Generated Node #0,0,1: 31:[5, 41] Operation: 90-49=41 Exploring Operation: 49-5=44, Resulting Numbers: [90, 44] Generated Node #0,0,2: 31:[90, 44] Operation: 49-5=44 Moving to Node #0,2,0 Current State: 31:[5, 31], Operations: ['90-85=5', '80-49=31'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,31 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[49, 18], Operations: ['85-80=5', '90/5=18'] Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[80, 49, 85, 90], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [49, 90, 5] Generated Node #0,0: 31:[49, 90, 5] Operation: 85-80=5 Moving to Node #0,0 Current State: 31:[49, 90, 5], Operations: ['85-80=5'] Exploring Operation: 90/5=18, Resulting Numbers: [49, 18] Generated Node #0,0,0: 31:[49, 18] Operation: 90/5=18 Moving to Node #0,0,0 Current State: 31:[49, 18], Operations: ['85-80=5', '90/5=18'] Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.974826
hs_3
sum_heuristic
[ 84, 47, 2, 32 ]
74
[ "47+32=79", "2*79=158", "158-84=74" ]
Current State: 74:[84, 47, 2, 32], Operations: [] Exploring Operation: 47+32=79, Resulting Numbers: [84, 2, 79] Generated Node #2: [84, 2, 79] from Operation: 47+32=79 Current State: 74:[84, 2, 79], Operations: ['47+32=79'] Exploring Operation: 2*79=158, Resulting Numbers: [84, 158] Generated Node #3: [84, 158] from Operation: 2*79=158 Current State: 74:[84, 158], Operations: ['47+32=79', '2*79=158'] Exploring Operation: 158-84=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[84, 47, 2, 32], Operations: [] Exploring Operation: 84/2=42, Resulting Numbers: [47, 32, 42] Generated Node #0,0: 74:[47, 32, 42] Operation: 84/2=42 Exploring Operation: 84-47=37, Resulting Numbers: [2, 32, 37] Generated Node #0,1: 74:[2, 32, 37] Operation: 84-47=37 Exploring Operation: 47+32=79, Resulting Numbers: [84, 2, 79] Generated Node #0,2: 74:[84, 2, 79] Operation: 47+32=79 Exploring Operation: 84-2=82, Resulting Numbers: [47, 32, 82] Generated Node #0,3: 74:[47, 32, 82] Operation: 84-2=82 Moving to Node #0,1 Current State: 74:[2, 32, 37], Operations: ['84-47=37'] Exploring Operation: 2+32=34, Resulting Numbers: [37, 34] Generated Node #0,1,0: 74:[37, 34] Operation: 2+32=34 Exploring Operation: 2*37=74, Resulting Numbers: [32, 74] Generated Node #0,1,1: 74:[32, 74] Operation: 2*37=74 Exploring Operation: 37-32=5, Resulting Numbers: [2, 5] Generated Node #0,1,2: 74:[2, 5] Operation: 37-32=5 Exploring Operation: 32+37=69, Resulting Numbers: [2, 69] Generated Node #0,1,3: 74:[2, 69] Operation: 32+37=69 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[37, 34], Operations: ['84-47=37', '2+32=34'] Exploring Operation: 37*34=1258, Resulting Numbers: [1258] 1258,74 unequal: No Solution Exploring Operation: 37+34=71, Resulting Numbers: [71] 71,74 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,74 unequal: No Solution No 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: 74:[2, 5], Operations: ['84-47=37', '37-32=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,74 unequal: No Solution No 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: 74:[32, 74], Operations: ['84-47=37', '2*37=74'] Exploring Operation: 74-32=42, Resulting Numbers: [42] 42,74 unequal: No Solution Exploring Operation: 32+74=106, Resulting Numbers: [106] 106,74 unequal: No Solution Exploring Operation: 32*74=2368, Resulting Numbers: [2368] 2368,74 unequal: No Solution No 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: 74:[2, 69], Operations: ['84-47=37', '32+37=69'] Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,74 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,74 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,74 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: 74:[84, 2, 79], Operations: ['47+32=79'] Exploring Operation: 84-79=5, Resulting Numbers: [2, 5] Generated Node #0,2,0: 74:[2, 5] Operation: 84-79=5 Exploring Operation: 79-2=77, Resulting Numbers: [84, 77] Generated Node #0,2,1: 74:[84, 77] Operation: 79-2=77 Exploring Operation: 84-2=82, Resulting Numbers: [79, 82] Generated Node #0,2,2: 74:[79, 82] Operation: 84-2=82 Exploring Operation: 84/2=42, Resulting Numbers: [79, 42] Generated Node #0,2,3: 74:[79, 42] Operation: 84/2=42 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[2, 5], Operations: ['47+32=79', '84-79=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,74 unequal: No Solution No 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: 74:[79, 42], Operations: ['47+32=79', '84/2=42'] Exploring Operation: 79*42=3318, Resulting Numbers: [3318] 3318,74 unequal: No Solution Exploring Operation: 79+42=121, Resulting Numbers: [121] 121,74 unequal: No Solution Exploring Operation: 79-42=37, Resulting Numbers: [37] 37,74 unequal: No Solution No 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: 74:[84, 77], Operations: ['47+32=79', '79-2=77'] Exploring Operation: 84*77=6468, Resulting Numbers: [6468] 6468,74 unequal: No Solution Exploring Operation: 84-77=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 84+77=161, Resulting Numbers: [161] 161,74 unequal: No Solution No 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: 74:[79, 82], Operations: ['47+32=79', '84-2=82'] Exploring Operation: 79*82=6478, Resulting Numbers: [6478] 6478,74 unequal: No Solution Exploring Operation: 82-79=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 79+82=161, Resulting Numbers: [161] 161,74 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: 74:[47, 32, 42], Operations: ['84/2=42'] Exploring Operation: 47+32=79, Resulting Numbers: [42, 79] Generated Node #0,0,0: 74:[42, 79] Operation: 47+32=79 Exploring Operation: 47-42=5, Resulting Numbers: [32, 5] Generated Node #0,0,1: 74:[32, 5] Operation: 47-42=5 Exploring Operation: 47-32=15, Resulting Numbers: [42, 15] Generated Node #0,0,2: 74:[42, 15] Operation: 47-32=15 Exploring Operation: 32+42=74, Resulting Numbers: [47, 74] Generated Node #0,0,3: 74:[47, 74] Operation: 32+42=74 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[32, 5], Operations: ['84/2=42', '47-42=5'] Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,74 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,74 unequal: No Solution No solution 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: 74:[42, 79], Operations: ['84/2=42', '47+32=79'] Exploring Operation: 42+79=121, Resulting Numbers: [121] 121,74 unequal: No Solution Exploring Operation: 79-42=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 42*79=3318, Resulting Numbers: [3318] 3318,74 unequal: No Solution No solution 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: 74:[47, 74], Operations: ['84/2=42', '32+42=74'] Exploring Operation: 47*74=3478, Resulting Numbers: [3478] 3478,74 unequal: No Solution Exploring Operation: 47+74=121, Resulting Numbers: [121] 121,74 unequal: No Solution Exploring Operation: 74-47=27, Resulting Numbers: [27] 27,74 unequal: No Solution No solution 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: 74:[42, 15], Operations: ['84/2=42', '47-32=15'] Exploring Operation: 42*15=630, Resulting Numbers: [630] 630,74 unequal: No Solution Exploring Operation: 42+15=57, Resulting Numbers: [57] 57,74 unequal: No Solution Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,74 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: 74:[47, 32, 82], Operations: ['84-2=82'] Exploring Operation: 82-47=35, Resulting Numbers: [32, 35] Generated Node #0,3,0: 74:[32, 35] Operation: 82-47=35 Exploring Operation: 47+32=79, Resulting Numbers: [82, 79] Generated Node #0,3,1: 74:[82, 79] Operation: 47+32=79 Exploring Operation: 82-32=50, Resulting Numbers: [47, 50] Generated Node #0,3,2: 74:[47, 50] Operation: 82-32=50 Exploring Operation: 47-32=15, Resulting Numbers: [82, 15] Generated Node #0,3,3: 74:[82, 15] Operation: 47-32=15 Moving to Node #0,3,0 Current State: 74:[32, 35], Operations: ['84-2=82', '82-47=35'] Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,74 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[82, 79], Operations: ['84-2=82', '47+32=79'] Exploring Operation: 82-79=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 82*79=6478, Resulting Numbers: [6478] 6478,74 unequal: No Solution Exploring Operation: 82+79=161, Resulting Numbers: [161] 161,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[82, 15], Operations: ['84-2=82', '47-32=15'] Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,74 unequal: No Solution Exploring Operation: 82+15=97, Resulting Numbers: [97] 97,74 unequal: No Solution Exploring Operation: 82*15=1230, Resulting Numbers: [1230] 1230,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[47, 50], Operations: ['84-2=82', '82-32=50'] Exploring Operation: 47+50=97, Resulting Numbers: [97] 97,74 unequal: No Solution Exploring Operation: 47*50=2350, Resulting Numbers: [2350] 2350,74 unequal: No Solution Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,74 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 13, 1, 86, 11 ]
10
[ "13+86=99", "99/11=9", "1+9=10" ]
Current State: 10:[13, 1, 86, 11], Operations: [] Exploring Operation: 13+86=99, Resulting Numbers: [1, 11, 99] Generated Node #2: [1, 11, 99] from Operation: 13+86=99 Current State: 10:[1, 11, 99], Operations: ['13+86=99'] Exploring Operation: 99/11=9, Resulting Numbers: [1, 9] Generated Node #3: [1, 9] from Operation: 99/11=9 Current State: 10:[1, 9], Operations: ['13+86=99', '99/11=9'] Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[13, 1, 86, 11], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [1, 86, 2] Generated Node #0,0: 10:[1, 86, 2] Operation: 13-11=2 Exploring Operation: 86-13=73, Resulting Numbers: [1, 11, 73] Generated Node #0,1: 10:[1, 11, 73] Operation: 86-13=73 Exploring Operation: 86-11=75, Resulting Numbers: [13, 1, 75] Generated Node #0,2: 10:[13, 1, 75] Operation: 86-11=75 Moving to Node #0,1 Current State: 10:[1, 11, 73], Operations: ['86-13=73'] Exploring Operation: 73-1=72, Resulting Numbers: [11, 72] Generated Node #0,1,0: 10:[11, 72] Operation: 73-1=72 Exploring Operation: 11-1=10, Resulting Numbers: [73, 10] Generated Node #0,1,1: 10:[73, 10] Operation: 11-1=10 Exploring Operation: 73-11=62, Resulting Numbers: [1, 62] Generated Node #0,1,2: 10:[1, 62] Operation: 73-11=62 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[1, 62], Operations: ['86-13=73', '73-11=62'] Exploring Operation: 1*62=62, Resulting Numbers: [62] 62,10 unequal: No Solution Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[11, 72], Operations: ['86-13=73', '73-1=72'] Exploring Operation: 11*72=792, Resulting Numbers: [792] 792,10 unequal: No Solution Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 11+72=83, Resulting Numbers: [83] 83,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[73, 10], Operations: ['86-13=73', '11-1=10'] Exploring Operation: 73+10=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 73*10=730, Resulting Numbers: [730] 730,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 10:[13, 1, 75], Operations: ['86-11=75'] Exploring Operation: 13-1=12, Resulting Numbers: [75, 12] Generated Node #0,2,0: 10:[75, 12] Operation: 13-1=12 Exploring Operation: 75-13=62, Resulting Numbers: [1, 62] Generated Node #0,2,1: 10:[1, 62] Operation: 75-13=62 Exploring Operation: 75-1=74, Resulting Numbers: [13, 74] Generated Node #0,2,2: 10:[13, 74] Operation: 75-1=74 Moving to Node #0,0 Current State: 10:[1, 86, 2], Operations: ['13-11=2'] Exploring Operation: 86/2=43, Resulting Numbers: [1, 43] Generated Node #0,0,0: 10:[1, 43] Operation: 86/2=43 Exploring Operation: 86-1=85, Resulting Numbers: [2, 85] Generated Node #0,0,1: 10:[2, 85] Operation: 86-1=85 Exploring Operation: 86-2=84, Resulting Numbers: [1, 84] Generated Node #0,0,2: 10:[1, 84] Operation: 86-2=84 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[1, 43], Operations: ['13-11=2', '86/2=43'] Exploring Operation: 1*43=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,10 unequal: No Solution Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[2, 85], Operations: ['13-11=2', '86-1=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,10 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 10:[1, 84], Operations: ['13-11=2', '86-2=84'] Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,10 unequal: No Solution Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 1*84=84, Resulting Numbers: [84] 84,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 10:[1, 62], Operations: ['86-11=75', '75-13=62'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,10 unequal: No Solution Exploring Operation: 1*62=62, Resulting Numbers: [62] 62,10 unequal: No Solution Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[75, 12], Operations: ['86-11=75', '13-1=12'] Exploring Operation: 75+12=87, Resulting Numbers: [87] 87,10 unequal: No Solution Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 75*12=900, Resulting Numbers: [900] 900,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[13, 74], Operations: ['86-11=75', '75-1=74'] Exploring Operation: 13+74=87, Resulting Numbers: [87] 87,10 unequal: No Solution Exploring Operation: 13*74=962, Resulting Numbers: [962] 962,10 unequal: No Solution Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,10 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 41, 2, 8, 92 ]
72
[ "41*8=328", "328/2=164", "164-92=72" ]
Current State: 72:[41, 2, 8, 92], Operations: [] Exploring Operation: 41*8=328, Resulting Numbers: [2, 92, 328] Generated Node #2: [2, 92, 328] from Operation: 41*8=328 Current State: 72:[2, 92, 328], Operations: ['41*8=328'] Exploring Operation: 328/2=164, Resulting Numbers: [92, 164] Generated Node #3: [92, 164] from Operation: 328/2=164 Current State: 72:[92, 164], Operations: ['41*8=328', '328/2=164'] Exploring Operation: 164-92=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[41, 2, 8, 92], Operations: [] Exploring Operation: 92-41=51, Resulting Numbers: [2, 8, 51] Generated Node #0,0: 72:[2, 8, 51] Operation: 92-41=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[2, 8, 51], Operations: ['92-41=51'] Exploring Operation: 51-8=43, Resulting Numbers: [2, 43] Generated Node #0,0,0: 72:[2, 43] Operation: 51-8=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[2, 43], Operations: ['92-41=51', '51-8=43'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,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 No solution found.
0
hs_1
mult_heuristic
[ 54, 9, 11, 4 ]
21
[ "54/9=6", "11+4=15", "6+15=21" ]
Current State: 21:[54, 9, 11, 4], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [11, 4, 6] Generated Node #2: [11, 4, 6] from Operation: 54/9=6 Current State: 21:[11, 4, 6], Operations: ['54/9=6'] Exploring Operation: 11+4=15, Resulting Numbers: [6, 15] Generated Node #3: [6, 15] from Operation: 11+4=15 Current State: 21:[6, 15], Operations: ['54/9=6', '11+4=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[54, 9, 11, 4], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [11, 4, 6] Generated Node #0,0: 21:[11, 4, 6] Operation: 54/9=6 Exploring Operation: 54-11=43, Resulting Numbers: [9, 4, 43] Generated Node #0,1: 21:[9, 4, 43] Operation: 54-11=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[11, 4, 6], Operations: ['54/9=6'] Exploring Operation: 11-6=5, Resulting Numbers: [4, 5] Generated Node #0,0,0: 21:[4, 5] Operation: 11-6=5 Exploring Operation: 11-4=7, Resulting Numbers: [6, 7] Generated Node #0,0,1: 21:[6, 7] Operation: 11-4=7 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[6, 7], Operations: ['54/9=6', '11-4=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[4, 5], Operations: ['54/9=6', '11-6=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,21 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,21 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: 21:[9, 4, 43], Operations: ['54-11=43'] Exploring Operation: 43-4=39, Resulting Numbers: [9, 39] Generated Node #0,1,0: 21:[9, 39] Operation: 43-4=39 Exploring Operation: 43-9=34, Resulting Numbers: [4, 34] Generated Node #0,1,1: 21:[4, 34] Operation: 43-9=34 Moving to Node #0,1,1 Current State: 21:[4, 34], Operations: ['54-11=43', '43-9=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[9, 39], Operations: ['54-11=43', '43-4=39'] Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 22, 92, 50, 76 ]
56
[ "92-22=70", "50+76=126", "126-70=56" ]
Current State: 56:[22, 92, 50, 76], Operations: [] Exploring Operation: 92-22=70, Resulting Numbers: [50, 76, 70] Generated Node #2: [50, 76, 70] from Operation: 92-22=70 Current State: 56:[50, 76, 70], Operations: ['92-22=70'] Exploring Operation: 50+76=126, Resulting Numbers: [70, 126] Generated Node #3: [70, 126] from Operation: 50+76=126 Current State: 56:[70, 126], Operations: ['92-22=70', '50+76=126'] Exploring Operation: 126-70=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[22, 92, 50, 76], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [22, 50, 16] Generated Node #0,0: 56:[22, 50, 16] Operation: 92-76=16 Exploring Operation: 92-22=70, Resulting Numbers: [50, 76, 70] Generated Node #0,1: 56:[50, 76, 70] Operation: 92-22=70 Moving to Node #0,0 Current State: 56:[22, 50, 16], Operations: ['92-76=16'] Exploring Operation: 22-16=6, Resulting Numbers: [50, 6] Generated Node #0,0,0: 56:[50, 6] Operation: 22-16=6 Exploring Operation: 50-22=28, Resulting Numbers: [16, 28] Generated Node #0,0,1: 56:[16, 28] Operation: 50-22=28 Moving to Node #0,1 Current State: 56:[50, 76, 70], Operations: ['92-22=70'] Exploring Operation: 76-50=26, Resulting Numbers: [70, 26] Generated Node #0,1,0: 56:[70, 26] Operation: 76-50=26 Exploring Operation: 76-70=6, Resulting Numbers: [50, 6] Generated Node #0,1,1: 56:[50, 6] Operation: 76-70=6 Moving to Node #0,0,1 Current State: 56:[16, 28], Operations: ['92-76=16', '50-22=28'] Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[50, 6], Operations: ['92-22=70', '76-70=6'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,56 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[22, 92, 50, 76], Operations: [] Exploring Operation: 92-22=70, Resulting Numbers: [50, 76, 70] Generated Node #0,1: 56:[50, 76, 70] Operation: 92-22=70 Moving to Node #0,1 Current State: 56:[50, 76, 70], Operations: ['92-22=70'] Exploring Operation: 76-70=6, Resulting Numbers: [50, 6] Generated Node #0,1,1: 56:[50, 6] Operation: 76-70=6 Moving to Node #0,1,1 Current State: 56:[50, 6], Operations: ['92-22=70', '76-70=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.987847
hs_2
sum_heuristic
[ 53, 47, 97, 72 ]
85
[ "53-47=6", "72/6=12", "97-12=85" ]
Current State: 85:[53, 47, 97, 72], Operations: [] Exploring Operation: 53-47=6, Resulting Numbers: [97, 72, 6] Generated Node #2: [97, 72, 6] from Operation: 53-47=6 Current State: 85:[97, 72, 6], Operations: ['53-47=6'] Exploring Operation: 72/6=12, Resulting Numbers: [97, 12] Generated Node #3: [97, 12] from Operation: 72/6=12 Current State: 85:[97, 12], Operations: ['53-47=6', '72/6=12'] Exploring Operation: 97-12=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[53, 47, 97, 72], Operations: [] Exploring Operation: 72-53=19, Resulting Numbers: [47, 97, 19] Generated Node #0,0: 85:[47, 97, 19] Operation: 72-53=19 Exploring Operation: 53-47=6, Resulting Numbers: [97, 72, 6] Generated Node #0,1: 85:[97, 72, 6] Operation: 53-47=6 Exploring Operation: 72-47=25, Resulting Numbers: [53, 97, 25] Generated Node #0,2: 85:[53, 97, 25] Operation: 72-47=25 Exploring Operation: 53+47=100, Resulting Numbers: [97, 72, 100] Generated Node #0,3: 85:[97, 72, 100] Operation: 53+47=100 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[97, 72, 6], Operations: ['53-47=6'] Exploring Operation: 97-6=91, Resulting Numbers: [72, 91] Generated Node #0,1,0: 85:[72, 91] Operation: 97-6=91 Exploring Operation: 97-72=25, Resulting Numbers: [6, 25] Generated Node #0,1,1: 85:[6, 25] Operation: 97-72=25 Exploring Operation: 72/6=12, Resulting Numbers: [97, 12] Generated Node #0,1,2: 85:[97, 12] Operation: 72/6=12 Exploring Operation: 72+6=78, Resulting Numbers: [97, 78] Generated Node #0,1,3: 85:[97, 78] Operation: 72+6=78 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[6, 25], Operations: ['53-47=6', '97-72=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,85 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,85 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,85 unequal: No Solution No 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: 85:[97, 12], Operations: ['53-47=6', '72/6=12'] Exploring Operation: 97*12=1164, Resulting Numbers: [1164] 1164,85 unequal: No Solution Exploring Operation: 97+12=109, Resulting Numbers: [109] 109,85 unequal: No Solution Exploring Operation: 97-12=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[53, 47, 97, 72], Operations: [] Exploring Operation: 53-47=6, Resulting Numbers: [97, 72, 6] Generated Node #0,1: 85:[97, 72, 6] Operation: 53-47=6 Moving to Node #0,1 Current State: 85:[97, 72, 6], Operations: ['53-47=6'] Exploring Operation: 72/6=12, Resulting Numbers: [97, 12] Generated Node #0,1,2: 85:[97, 12] Operation: 72/6=12 Moving to Node #0,1,2 Current State: 85:[97, 12], Operations: ['53-47=6', '72/6=12'] Exploring Operation: 97-12=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic