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
[ 76, 51, 74, 21 ]
81
[ "76-74=2", "51*2=102", "102-21=81" ]
Current State: 81:[76, 51, 74, 21], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [51, 21, 2] Generated Node #2: [51, 21, 2] from Operation: 76-74=2 Current State: 81:[51, 21, 2], Operations: ['76-74=2'] Exploring Operation: 51*2=102, Resulting Numbers: [21, 102] Generated Node #3: [21, 102] from Operation: 51*2=102 Current State: 81:[21, 102], Operations: ['76-74=2', '51*2=102'] Exploring Operation: 102-21=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[76, 51, 74, 21], Operations: [] Exploring Operation: 51-21=30, Resulting Numbers: [76, 74, 30] Generated Node #0,0: 81:[76, 74, 30] Operation: 51-21=30 Exploring Operation: 76-51=25, Resulting Numbers: [74, 21, 25] Generated Node #0,1: 81:[74, 21, 25] Operation: 76-51=25 Exploring Operation: 74-51=23, Resulting Numbers: [76, 21, 23] Generated Node #0,2: 81:[76, 21, 23] Operation: 74-51=23 Exploring Operation: 51+21=72, Resulting Numbers: [76, 74, 72] Generated Node #0,3: 81:[76, 74, 72] Operation: 51+21=72 Moving to Node #0,0 Current State: 81:[76, 74, 30], Operations: ['51-21=30'] Exploring Operation: 74-30=44, Resulting Numbers: [76, 44] Generated Node #0,0,0: 81:[76, 44] Operation: 74-30=44 Exploring Operation: 76-30=46, Resulting Numbers: [74, 46] Generated Node #0,0,1: 81:[74, 46] Operation: 76-30=46 Exploring Operation: 76-74=2, Resulting Numbers: [30, 2] Generated Node #0,0,2: 81:[30, 2] Operation: 76-74=2 Exploring Operation: 74+30=104, Resulting Numbers: [76, 104] Generated Node #0,0,3: 81:[76, 104] Operation: 74+30=104 Moving to Node #0,2 Current State: 81:[76, 21, 23], Operations: ['74-51=23'] Exploring Operation: 76+23=99, Resulting Numbers: [21, 99] Generated Node #0,2,0: 81:[21, 99] Operation: 76+23=99 Exploring Operation: 21+23=44, Resulting Numbers: [76, 44] Generated Node #0,2,1: 81:[76, 44] Operation: 21+23=44 Exploring Operation: 76+21=97, Resulting Numbers: [23, 97] Generated Node #0,2,2: 81:[23, 97] Operation: 76+21=97 Exploring Operation: 23-21=2, Resulting Numbers: [76, 2] Generated Node #0,2,3: 81:[76, 2] Operation: 23-21=2 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 81:[76, 2], Operations: ['74-51=23', '23-21=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,81 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,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,2,2 Current State: 81:[23, 97], Operations: ['74-51=23', '76+21=97'] Exploring Operation: 23*97=2231, Resulting Numbers: [2231] 2231,81 unequal: No Solution Exploring Operation: 23+97=120, Resulting Numbers: [120] 120,81 unequal: No Solution Exploring Operation: 97-23=74, Resulting Numbers: [74] 74,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,2,1 Current State: 81:[76, 44], Operations: ['74-51=23', '21+23=44'] Exploring Operation: 76*44=3344, Resulting Numbers: [3344] 3344,81 unequal: No Solution Exploring Operation: 76+44=120, Resulting Numbers: [120] 120,81 unequal: No Solution Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,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,2,0 Current State: 81:[21, 99], Operations: ['74-51=23', '76+23=99'] Exploring Operation: 99-21=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 21+99=120, Resulting Numbers: [120] 120,81 unequal: No Solution Exploring Operation: 21*99=2079, Resulting Numbers: [2079] 2079,81 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: 81:[74, 21, 25], Operations: ['76-51=25'] Exploring Operation: 21+25=46, Resulting Numbers: [74, 46] Generated Node #0,1,0: 81:[74, 46] Operation: 21+25=46 Exploring Operation: 25-21=4, Resulting Numbers: [74, 4] Generated Node #0,1,1: 81:[74, 4] Operation: 25-21=4 Exploring Operation: 74+21=95, Resulting Numbers: [25, 95] Generated Node #0,1,2: 81:[25, 95] Operation: 74+21=95 Exploring Operation: 74+25=99, Resulting Numbers: [21, 99] Generated Node #0,1,3: 81:[21, 99] Operation: 74+25=99 Moving to Node #0,3 Current State: 81:[76, 74, 72], Operations: ['51+21=72'] Exploring Operation: 76-72=4, Resulting Numbers: [74, 4] Generated Node #0,3,0: 81:[74, 4] Operation: 76-72=4 Exploring Operation: 74+72=146, Resulting Numbers: [76, 146] Generated Node #0,3,1: 81:[76, 146] Operation: 74+72=146 Exploring Operation: 76-74=2, Resulting Numbers: [72, 2] Generated Node #0,3,2: 81:[72, 2] Operation: 76-74=2 Exploring Operation: 74-72=2, Resulting Numbers: [76, 2] Generated Node #0,3,3: 81:[76, 2] Operation: 74-72=2 Moving to Node #0,0,2 Current State: 81:[30, 2], Operations: ['51-21=30', '76-74=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,81 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,81 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,81 unequal: No Solution Moving to Node #0,3,3 Current State: 81:[76, 2], Operations: ['51+21=72', '74-72=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,81 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,81 unequal: No Solution Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,81 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,81 unequal: No Solution Moving to Node #0,3,0 Current State: 81:[74, 4], Operations: ['51+21=72', '76-72=4'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 74*4=296, Resulting Numbers: [296] 296,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[74, 4], Operations: ['76-51=25', '25-21=4'] Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 74*4=296, Resulting Numbers: [296] 296,81 unequal: No Solution Moving to Node #0,3,2 Current State: 81:[72, 2], Operations: ['51+21=72', '76-74=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,81 unequal: No Solution Exploring Operation: 72*2=144, Resulting Numbers: [144] 144,81 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[25, 95], Operations: ['76-51=25', '74+21=95'] Exploring Operation: 95-25=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 25*95=2375, Resulting Numbers: [2375] 2375,81 unequal: No Solution Exploring Operation: 25+95=120, Resulting Numbers: [120] 120,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[76, 44], Operations: ['51-21=30', '74-30=44'] Exploring Operation: 76*44=3344, Resulting Numbers: [3344] 3344,81 unequal: No Solution Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,81 unequal: No Solution Exploring Operation: 76+44=120, Resulting Numbers: [120] 120,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[21, 99], Operations: ['76-51=25', '74+25=99'] Exploring Operation: 99-21=78, Resulting Numbers: [78] 78,81 unequal: No Solution Exploring Operation: 21+99=120, Resulting Numbers: [120] 120,81 unequal: No Solution Exploring Operation: 21*99=2079, Resulting Numbers: [2079] 2079,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[74, 46], Operations: ['51-21=30', '76-30=46'] Exploring Operation: 74*46=3404, Resulting Numbers: [3404] 3404,81 unequal: No Solution Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 74+46=120, Resulting Numbers: [120] 120,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[74, 46], Operations: ['76-51=25', '21+25=46'] Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 74*46=3404, Resulting Numbers: [3404] 3404,81 unequal: No Solution Exploring Operation: 74+46=120, Resulting Numbers: [120] 120,81 unequal: No Solution Moving to Node #0,0,3 Current State: 81:[76, 104], Operations: ['51-21=30', '74+30=104'] Exploring Operation: 76*104=7904, Resulting Numbers: [7904] 7904,81 unequal: No Solution Exploring Operation: 104-76=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 76+104=180, Resulting Numbers: [180] 180,81 unequal: No Solution Moving to Node #0,3,1 Current State: 81:[76, 146], Operations: ['51+21=72', '74+72=146'] Exploring Operation: 76*146=11096, Resulting Numbers: [11096] 11096,81 unequal: No Solution Exploring Operation: 76+146=222, Resulting Numbers: [222] 222,81 unequal: No Solution Exploring Operation: 146-76=70, Resulting Numbers: [70] 70,81 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 2, 67, 66, 24 ]
25
[ "67-2=65", "66+24=90", "90-65=25" ]
Current State: 25:[2, 67, 66, 24], Operations: [] Exploring Operation: 67-2=65, Resulting Numbers: [66, 24, 65] Generated Node #2: [66, 24, 65] from Operation: 67-2=65 Current State: 25:[66, 24, 65], Operations: ['67-2=65'] Exploring Operation: 66+24=90, Resulting Numbers: [65, 90] Generated Node #3: [65, 90] from Operation: 66+24=90 Current State: 25:[65, 90], Operations: ['67-2=65', '66+24=90'] Exploring Operation: 90-65=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[2, 67, 66, 24], Operations: [] Exploring Operation: 66/2=33, Resulting Numbers: [67, 24, 33] Generated Node #0,0: 25:[67, 24, 33] Operation: 66/2=33 Exploring Operation: 67-66=1, Resulting Numbers: [2, 24, 1] Generated Node #0,1: 25:[2, 24, 1] Operation: 67-66=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[2, 24, 1], Operations: ['67-66=1'] Exploring Operation: 2+1=3, Resulting Numbers: [24, 3] Generated Node #0,1,0: 25:[24, 3] Operation: 2+1=3 Exploring Operation: 24+1=25, Resulting Numbers: [2, 25] Generated Node #0,1,1: 25:[2, 25] Operation: 24+1=25 Moving to Node #0,1,0 Current State: 25:[24, 3], Operations: ['67-66=1', '2+1=3'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[2, 25], Operations: ['67-66=1', '24+1=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[67, 24, 33], Operations: ['66/2=33'] Exploring Operation: 67-24=43, Resulting Numbers: [33, 43] Generated Node #0,0,0: 25:[33, 43] Operation: 67-24=43 Exploring Operation: 67-33=34, Resulting Numbers: [24, 34] Generated Node #0,0,1: 25:[24, 34] Operation: 67-33=34 Moving to Node #0,0,1 Current State: 25:[24, 34], Operations: ['66/2=33', '67-33=34'] Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[33, 43], Operations: ['66/2=33', '67-24=43'] Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 33+43=76, Resulting Numbers: [76] 76,25 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
[ 10, 93, 67, 37 ]
90
[ "67-37=30", "30/10=3", "93-3=90" ]
Current State: 90:[10, 93, 67, 37], Operations: [] Exploring Operation: 67-37=30, Resulting Numbers: [10, 93, 30] Generated Node #2: [10, 93, 30] from Operation: 67-37=30 Current State: 90:[10, 93, 30], Operations: ['67-37=30'] Exploring Operation: 30/10=3, Resulting Numbers: [93, 3] Generated Node #3: [93, 3] from Operation: 30/10=3 Current State: 90:[93, 3], Operations: ['67-37=30', '30/10=3'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[10, 93, 67, 37], Operations: [] Exploring Operation: 93-67=26, Resulting Numbers: [10, 37, 26] Generated Node #0,0: 90:[10, 37, 26] Operation: 93-67=26 Exploring Operation: 67-37=30, Resulting Numbers: [10, 93, 30] Generated Node #0,1: 90:[10, 93, 30] Operation: 67-37=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[10, 93, 30], Operations: ['67-37=30'] Exploring Operation: 30/10=3, Resulting Numbers: [93, 3] Generated Node #0,1,0: 90:[93, 3] Operation: 30/10=3 Exploring Operation: 30-10=20, Resulting Numbers: [93, 20] Generated Node #0,1,1: 90:[93, 20] Operation: 30-10=20 Moving to Node #0,1,0 Current State: 90:[93, 3], Operations: ['67-37=30', '30/10=3'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[10, 93, 67, 37], Operations: [] Exploring Operation: 67-37=30, Resulting Numbers: [10, 93, 30] Generated Node #0,1: 90:[10, 93, 30] Operation: 67-37=30 Moving to Node #0,1 Current State: 90:[10, 93, 30], Operations: ['67-37=30'] Exploring Operation: 30/10=3, Resulting Numbers: [93, 3] Generated Node #0,1,0: 90:[93, 3] Operation: 30/10=3 Moving to Node #0,1,0 Current State: 90:[93, 3], Operations: ['67-37=30', '30/10=3'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 13, 2, 92, 19 ]
89
[ "19-13=6", "6/2=3", "92-3=89" ]
Current State: 89:[13, 2, 92, 19], Operations: [] Exploring Operation: 19-13=6, Resulting Numbers: [2, 92, 6] Generated Node #2: [2, 92, 6] from Operation: 19-13=6 Current State: 89:[2, 92, 6], Operations: ['19-13=6'] Exploring Operation: 6/2=3, Resulting Numbers: [92, 3] Generated Node #3: [92, 3] from Operation: 6/2=3 Current State: 89:[92, 3], Operations: ['19-13=6', '6/2=3'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[13, 2, 92, 19], Operations: [] Exploring Operation: 2*19=38, Resulting Numbers: [13, 92, 38] Generated Node #0,0: 89:[13, 92, 38] Operation: 2*19=38 Exploring Operation: 13*2=26, Resulting Numbers: [92, 19, 26] Generated Node #0,1: 89:[92, 19, 26] Operation: 13*2=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[13, 92, 38], Operations: ['2*19=38'] Exploring Operation: 13+38=51, Resulting Numbers: [92, 51] Generated Node #0,0,0: 89:[92, 51] Operation: 13+38=51 Exploring Operation: 92-13=79, Resulting Numbers: [38, 79] Generated Node #0,0,1: 89:[38, 79] Operation: 92-13=79 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[92, 51], Operations: ['2*19=38', '13+38=51'] Exploring Operation: 92-51=41, Resulting Numbers: [41] 41,89 unequal: No Solution Exploring Operation: 92+51=143, Resulting Numbers: [143] 143,89 unequal: No Solution No 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: 89:[38, 79], Operations: ['2*19=38', '92-13=79'] Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,89 unequal: No Solution Exploring Operation: 38+79=117, Resulting Numbers: [117] 117,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[92, 19, 26], Operations: ['13*2=26'] Exploring Operation: 92-19=73, Resulting Numbers: [26, 73] Generated Node #0,1,0: 89:[26, 73] Operation: 92-19=73 Exploring Operation: 19+26=45, Resulting Numbers: [92, 45] Generated Node #0,1,1: 89:[92, 45] Operation: 19+26=45 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[92, 45], Operations: ['13*2=26', '19+26=45'] Exploring Operation: 92+45=137, Resulting Numbers: [137] 137,89 unequal: No Solution Exploring Operation: 92-45=47, Resulting Numbers: [47] 47,89 unequal: No Solution No 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: 89:[26, 73], Operations: ['13*2=26', '92-19=73'] Exploring Operation: 26+73=99, Resulting Numbers: [99] 99,89 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 10, 49, 99, 5 ]
65
[ "49-10=39", "99+5=104", "104-39=65" ]
Current State: 65:[10, 49, 99, 5], Operations: [] Exploring Operation: 49-10=39, Resulting Numbers: [99, 5, 39] Generated Node #2: [99, 5, 39] from Operation: 49-10=39 Current State: 65:[99, 5, 39], Operations: ['49-10=39'] Exploring Operation: 99+5=104, Resulting Numbers: [39, 104] Generated Node #3: [39, 104] from Operation: 99+5=104 Current State: 65:[39, 104], Operations: ['49-10=39', '99+5=104'] Exploring Operation: 104-39=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[10, 49, 99, 5], Operations: [] Exploring Operation: 99-10=89, Resulting Numbers: [49, 5, 89] Generated Node #0,0: 65:[49, 5, 89] Operation: 99-10=89 Exploring Operation: 99-49=50, Resulting Numbers: [10, 5, 50] Generated Node #0,1: 65:[10, 5, 50] Operation: 99-49=50 Exploring Operation: 49+5=54, Resulting Numbers: [10, 99, 54] Generated Node #0,2: 65:[10, 99, 54] Operation: 49+5=54 Exploring Operation: 10+49=59, Resulting Numbers: [99, 5, 59] Generated Node #0,3: 65:[99, 5, 59] Operation: 10+49=59 Moving to Node #0,1 Current State: 65:[10, 5, 50], Operations: ['99-49=50'] Exploring Operation: 5+50=55, Resulting Numbers: [10, 55] Generated Node #0,1,0: 65:[10, 55] Operation: 5+50=55 Exploring Operation: 50/5=10, Resulting Numbers: [10, 10] Generated Node #0,1,1: 65:[10, 10] Operation: 50/5=10 Exploring Operation: 10+50=60, Resulting Numbers: [5, 60] Generated Node #0,1,2: 65:[5, 60] Operation: 10+50=60 Exploring Operation: 50/10=5, Resulting Numbers: [5, 5] Generated Node #0,1,3: 65:[5, 5] Operation: 50/10=5 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 65:[5, 5], Operations: ['99-49=50', '50/10=5'] Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[5, 60], Operations: ['99-49=50', '10+50=60'] Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[10, 49, 99, 5], Operations: [] Exploring Operation: 99-49=50, Resulting Numbers: [10, 5, 50] Generated Node #0,1: 65:[10, 5, 50] Operation: 99-49=50 Moving to Node #0,1 Current State: 65:[10, 5, 50], Operations: ['99-49=50'] Exploring Operation: 10+50=60, Resulting Numbers: [5, 60] Generated Node #0,1,2: 65:[5, 60] Operation: 10+50=60 Moving to Node #0,1,2 Current State: 65:[5, 60], Operations: ['99-49=50', '10+50=60'] Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 58, 92, 44, 2 ]
39
[ "92-58=34", "44+34=78", "78/2=39" ]
Current State: 39:[58, 92, 44, 2], Operations: [] Exploring Operation: 92-58=34, Resulting Numbers: [44, 2, 34] Generated Node #2: [44, 2, 34] from Operation: 92-58=34 Current State: 39:[44, 2, 34], Operations: ['92-58=34'] Exploring Operation: 44+34=78, Resulting Numbers: [2, 78] Generated Node #3: [2, 78] from Operation: 44+34=78 Current State: 39:[2, 78], Operations: ['92-58=34', '44+34=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[58, 92, 44, 2], Operations: [] Exploring Operation: 92-44=48, Resulting Numbers: [58, 2, 48] Generated Node #0,0: 39:[58, 2, 48] Operation: 92-44=48 Exploring Operation: 58-44=14, Resulting Numbers: [92, 2, 14] Generated Node #0,1: 39:[92, 2, 14] Operation: 58-44=14 Exploring Operation: 92/2=46, Resulting Numbers: [58, 44, 46] Generated Node #0,2: 39:[58, 44, 46] Operation: 92/2=46 Exploring Operation: 92-58=34, Resulting Numbers: [44, 2, 34] Generated Node #0,3: 39:[44, 2, 34] Operation: 92-58=34 Start Sub Search at level 1: Moving to Node #0,3 Current State: 39:[44, 2, 34], Operations: ['92-58=34'] Exploring Operation: 34/2=17, Resulting Numbers: [44, 17] Generated Node #0,3,0: 39:[44, 17] Operation: 34/2=17 Exploring Operation: 2+34=36, Resulting Numbers: [44, 36] Generated Node #0,3,1: 39:[44, 36] Operation: 2+34=36 Exploring Operation: 44-2=42, Resulting Numbers: [34, 42] Generated Node #0,3,2: 39:[34, 42] Operation: 44-2=42 Exploring Operation: 44-34=10, Resulting Numbers: [2, 10] Generated Node #0,3,3: 39:[2, 10] Operation: 44-34=10 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 39:[2, 10], Operations: ['92-58=34', '44-34=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,39 unequal: No Solution No 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: 39:[44, 36], Operations: ['92-58=34', '2+34=36'] Exploring Operation: 44*36=1584, Resulting Numbers: [1584] 1584,39 unequal: No Solution Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 44+36=80, Resulting Numbers: [80] 80,39 unequal: No Solution No 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: 39:[34, 42], Operations: ['92-58=34', '44-2=42'] Exploring Operation: 34*42=1428, Resulting Numbers: [1428] 1428,39 unequal: No Solution Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,39 unequal: No Solution No 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: 39:[44, 17], Operations: ['92-58=34', '34/2=17'] Exploring Operation: 44+17=61, Resulting Numbers: [61] 61,39 unequal: No Solution Exploring Operation: 44*17=748, Resulting Numbers: [748] 748,39 unequal: No Solution Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,39 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: 39:[58, 2, 48], Operations: ['92-44=48'] Exploring Operation: 58/2=29, Resulting Numbers: [48, 29] Generated Node #0,0,0: 39:[48, 29] Operation: 58/2=29 Exploring Operation: 58-48=10, Resulting Numbers: [2, 10] Generated Node #0,0,1: 39:[2, 10] Operation: 58-48=10 Exploring Operation: 58-2=56, Resulting Numbers: [48, 56] Generated Node #0,0,2: 39:[48, 56] Operation: 58-2=56 Exploring Operation: 48-2=46, Resulting Numbers: [58, 46] Generated Node #0,0,3: 39:[58, 46] Operation: 48-2=46 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[2, 10], Operations: ['92-44=48', '58-48=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,39 unequal: No Solution No 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: 39:[48, 29], Operations: ['92-44=48', '58/2=29'] Exploring Operation: 48*29=1392, Resulting Numbers: [1392] 1392,39 unequal: No Solution Exploring Operation: 48-29=19, Resulting Numbers: [19] 19,39 unequal: No Solution Exploring Operation: 48+29=77, Resulting Numbers: [77] 77,39 unequal: No Solution No 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: 39:[48, 56], Operations: ['92-44=48', '58-2=56'] Exploring Operation: 48*56=2688, Resulting Numbers: [2688] 2688,39 unequal: No Solution Exploring Operation: 48+56=104, Resulting Numbers: [104] 104,39 unequal: No Solution Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,39 unequal: No Solution No 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: 39:[58, 46], Operations: ['92-44=48', '48-2=46'] Exploring Operation: 58*46=2668, Resulting Numbers: [2668] 2668,39 unequal: No Solution Exploring Operation: 58+46=104, Resulting Numbers: [104] 104,39 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,39 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: 39:[58, 44, 46], Operations: ['92/2=46'] Exploring Operation: 58-46=12, Resulting Numbers: [44, 12] Generated Node #0,2,0: 39:[44, 12] Operation: 58-46=12 Exploring Operation: 58-44=14, Resulting Numbers: [46, 14] Generated Node #0,2,1: 39:[46, 14] Operation: 58-44=14 Exploring Operation: 46-44=2, Resulting Numbers: [58, 2] Generated Node #0,2,2: 39:[58, 2] Operation: 46-44=2 Exploring Operation: 58+44=102, Resulting Numbers: [46, 102] Generated Node #0,2,3: 39:[46, 102] Operation: 58+44=102 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 39:[44, 12], Operations: ['92/2=46', '58-46=12'] Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 44+12=56, Resulting Numbers: [56] 56,39 unequal: No Solution Exploring Operation: 44*12=528, Resulting Numbers: [528] 528,39 unequal: No Solution No 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: 39:[46, 14], Operations: ['92/2=46', '58-44=14'] Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 46*14=644, Resulting Numbers: [644] 644,39 unequal: No Solution Exploring Operation: 46+14=60, Resulting Numbers: [60] 60,39 unequal: No Solution No 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: 39:[58, 2], Operations: ['92/2=46', '46-44=2'] Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,39 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,39 unequal: No Solution Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,39 unequal: No Solution No 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: 39:[46, 102], Operations: ['92/2=46', '58+44=102'] Exploring Operation: 46+102=148, Resulting Numbers: [148] 148,39 unequal: No Solution Exploring Operation: 102-46=56, Resulting Numbers: [56] 56,39 unequal: No Solution Exploring Operation: 46*102=4692, Resulting Numbers: [4692] 4692,39 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: 39:[92, 2, 14], Operations: ['58-44=14'] Exploring Operation: 92-14=78, Resulting Numbers: [2, 78] Generated Node #0,1,0: 39:[2, 78] Operation: 92-14=78 Exploring Operation: 92/2=46, Resulting Numbers: [14, 46] Generated Node #0,1,1: 39:[14, 46] Operation: 92/2=46 Exploring Operation: 14-2=12, Resulting Numbers: [92, 12] Generated Node #0,1,2: 39:[92, 12] Operation: 14-2=12 Exploring Operation: 92-2=90, Resulting Numbers: [14, 90] Generated Node #0,1,3: 39:[14, 90] Operation: 92-2=90 Moving to Node #0,1,1 Current State: 39:[14, 46], Operations: ['58-44=14', '92/2=46'] Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,39 unequal: No Solution Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[2, 78], Operations: ['58-44=14', '92-14=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[58, 92, 44, 2], Operations: [] Exploring Operation: 58-44=14, Resulting Numbers: [92, 2, 14] Generated Node #0,1: 39:[92, 2, 14] Operation: 58-44=14 Moving to Node #0,1 Current State: 39:[92, 2, 14], Operations: ['58-44=14'] Exploring Operation: 92-14=78, Resulting Numbers: [2, 78] Generated Node #0,1,0: 39:[2, 78] Operation: 92-14=78 Moving to Node #0,1,0 Current State: 39:[2, 78], Operations: ['58-44=14', '92-14=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_4
sum_heuristic
[ 8, 45, 39, 45 ]
39
[ "45-45=0", "8*0=0", "39+0=39" ]
Current State: 39:[8, 45, 39, 45], Operations: [] Exploring Operation: 45-45=0, Resulting Numbers: [8, 39, 0] Generated Node #2: [8, 39, 0] from Operation: 45-45=0 Current State: 39:[8, 39, 0], Operations: ['45-45=0'] Exploring Operation: 8*0=0, Resulting Numbers: [39, 0] Generated Node #3: [39, 0] from Operation: 8*0=0 Current State: 39:[39, 0], Operations: ['45-45=0', '8*0=0'] Exploring Operation: 39+0=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[8, 45, 39, 45], Operations: [] Exploring Operation: 45-8=37, Resulting Numbers: [45, 39, 37] Generated Node #0,0: 39:[45, 39, 37] Operation: 45-8=37 Exploring Operation: 45-45=0, Resulting Numbers: [8, 39, 0] Generated Node #0,1: 39:[8, 39, 0] Operation: 45-45=0 Exploring Operation: 45-39=6, Resulting Numbers: [8, 45, 6] Generated Node #0,2: 39:[8, 45, 6] Operation: 45-39=6 Exploring Operation: 45/45=1, Resulting Numbers: [8, 39, 1] Generated Node #0,3: 39:[8, 39, 1] Operation: 45/45=1 Exploring Operation: 45-8=37, Resulting Numbers: [39, 45, 37] Generated Node #0,4: 39:[39, 45, 37] Operation: 45-8=37 Moving to Node #0,3 Current State: 39:[8, 39, 1], Operations: ['45/45=1'] Exploring Operation: 8/1=8, Resulting Numbers: [39, 8] Generated Node #0,3,0: 39:[39, 8] Operation: 8/1=8 Exploring Operation: 8+1=9, Resulting Numbers: [39, 9] Generated Node #0,3,1: 39:[39, 9] Operation: 8+1=9 Exploring Operation: 8-1=7, Resulting Numbers: [39, 7] Generated Node #0,3,2: 39:[39, 7] Operation: 8-1=7 Exploring Operation: 8*1=8, Resulting Numbers: [39, 8] Generated Node #0,3,3: 39:[39, 8] Operation: 8*1=8 Exploring Operation: 39*1=39, Resulting Numbers: [8, 39] Generated Node #0,3,4: 39:[8, 39] Operation: 39*1=39 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 39:[39, 9], Operations: ['45/45=1', '8+1=9'] Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 39+9=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 39*9=351, Resulting Numbers: [351] 351,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,3,2 Current State: 39:[39, 7], Operations: ['45/45=1', '8-1=7'] Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,39 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,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,3,0 Current State: 39:[39, 8], Operations: ['45/45=1', '8/1=8'] Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,39 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,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,3,3 Current State: 39:[39, 8], Operations: ['45/45=1', '8*1=8'] Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,39 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,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,3,4 Current State: 39:[8, 39], Operations: ['45/45=1', '39*1=39'] Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,39 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,39 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: 39:[8, 39, 0], Operations: ['45-45=0'] Exploring Operation: 8*0=0, Resulting Numbers: [39, 0] Generated Node #0,1,0: 39:[39, 0] Operation: 8*0=0 Exploring Operation: 39-0=39, Resulting Numbers: [8, 39] Generated Node #0,1,1: 39:[8, 39] Operation: 39-0=39 Exploring Operation: 39+0=39, Resulting Numbers: [8, 39] Generated Node #0,1,2: 39:[8, 39] Operation: 39+0=39 Exploring Operation: 8-0=8, Resulting Numbers: [39, 8] Generated Node #0,1,3: 39:[39, 8] Operation: 8-0=8 Exploring Operation: 8+0=8, Resulting Numbers: [39, 8] Generated Node #0,1,4: 39:[39, 8] Operation: 8+0=8 Moving to Node #0,0 Current State: 39:[45, 39, 37], Operations: ['45-8=37'] Exploring Operation: 45-39=6, Resulting Numbers: [37, 6] Generated Node #0,0,0: 39:[37, 6] Operation: 45-39=6 Exploring Operation: 39-37=2, Resulting Numbers: [45, 2] Generated Node #0,0,1: 39:[45, 2] Operation: 39-37=2 Exploring Operation: 45-37=8, Resulting Numbers: [39, 8] Generated Node #0,0,2: 39:[39, 8] Operation: 45-37=8 Exploring Operation: 39+37=76, Resulting Numbers: [45, 76] Generated Node #0,0,3: 39:[45, 76] Operation: 39+37=76 Exploring Operation: 45+37=82, Resulting Numbers: [39, 82] Generated Node #0,0,4: 39:[39, 82] Operation: 45+37=82 Moving to Node #0,4 Current State: 39:[39, 45, 37], Operations: ['45-8=37'] Exploring Operation: 45-37=8, Resulting Numbers: [39, 8] Generated Node #0,4,0: 39:[39, 8] Operation: 45-37=8 Exploring Operation: 45+37=82, Resulting Numbers: [39, 82] Generated Node #0,4,1: 39:[39, 82] Operation: 45+37=82 Exploring Operation: 39+37=76, Resulting Numbers: [45, 76] Generated Node #0,4,2: 39:[45, 76] Operation: 39+37=76 Exploring Operation: 45-39=6, Resulting Numbers: [37, 6] Generated Node #0,4,3: 39:[37, 6] Operation: 45-39=6 Exploring Operation: 39-37=2, Resulting Numbers: [45, 2] Generated Node #0,4,4: 39:[45, 2] Operation: 39-37=2 Moving to Node #0,2 Current State: 39:[8, 45, 6], Operations: ['45-39=6'] Exploring Operation: 45-6=39, Resulting Numbers: [8, 39] Generated Node #0,2,0: 39:[8, 39] Operation: 45-6=39 Exploring Operation: 45-8=37, Resulting Numbers: [6, 37] Generated Node #0,2,1: 39:[6, 37] Operation: 45-8=37 Exploring Operation: 8+6=14, Resulting Numbers: [45, 14] Generated Node #0,2,2: 39:[45, 14] Operation: 8+6=14 Exploring Operation: 8-6=2, Resulting Numbers: [45, 2] Generated Node #0,2,3: 39:[45, 2] Operation: 8-6=2 Exploring Operation: 8*6=48, Resulting Numbers: [45, 48] Generated Node #0,2,4: 39:[45, 48] Operation: 8*6=48 Moving to Node #0,1,0 Current State: 39:[39, 0], Operations: ['45-45=0', '8*0=0'] Exploring Operation: 39-0=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[8, 45, 39, 45], Operations: [] Exploring Operation: 45-45=0, Resulting Numbers: [8, 39, 0] Generated Node #0,1: 39:[8, 39, 0] Operation: 45-45=0 Moving to Node #0,1 Current State: 39:[8, 39, 0], Operations: ['45-45=0'] Exploring Operation: 8*0=0, Resulting Numbers: [39, 0] Generated Node #0,1,0: 39:[39, 0] Operation: 8*0=0 Moving to Node #0,1,0 Current State: 39:[39, 0], Operations: ['45-45=0', '8*0=0'] Exploring Operation: 39-0=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.956597
hs_5
sum_heuristic
[ 50, 15, 13, 72 ]
28
[ "15-13=2", "50*2=100", "100-72=28" ]
Current State: 28:[50, 15, 13, 72], Operations: [] Exploring Operation: 15-13=2, Resulting Numbers: [50, 72, 2] Generated Node #2: [50, 72, 2] from Operation: 15-13=2 Current State: 28:[50, 72, 2], Operations: ['15-13=2'] Exploring Operation: 50*2=100, Resulting Numbers: [72, 100] Generated Node #3: [72, 100] from Operation: 50*2=100 Current State: 28:[72, 100], Operations: ['15-13=2', '50*2=100'] Exploring Operation: 100-72=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[50, 15, 13, 72], Operations: [] Exploring Operation: 50-15=35, Resulting Numbers: [13, 72, 35] Generated Node #0,0: 28:[13, 72, 35] Operation: 50-15=35 Exploring Operation: 72-50=22, Resulting Numbers: [15, 13, 22] Generated Node #0,1: 28:[15, 13, 22] Operation: 72-50=22 Moving to Node #0,1 Current State: 28:[15, 13, 22], Operations: ['72-50=22'] Exploring Operation: 22-15=7, Resulting Numbers: [13, 7] Generated Node #0,1,0: 28:[13, 7] Operation: 22-15=7 Exploring Operation: 22-13=9, Resulting Numbers: [15, 9] Generated Node #0,1,1: 28:[15, 9] Operation: 22-13=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[13, 7], Operations: ['72-50=22', '22-15=7'] Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[15, 9], Operations: ['72-50=22', '22-13=9'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,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:[13, 72, 35], Operations: ['50-15=35'] Exploring Operation: 72-35=37, Resulting Numbers: [13, 37] Generated Node #0,0,0: 28:[13, 37] Operation: 72-35=37 Exploring Operation: 72-13=59, Resulting Numbers: [35, 59] Generated Node #0,0,1: 28:[35, 59] Operation: 72-13=59 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[13, 37], Operations: ['50-15=35', '72-35=37'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[35, 59], Operations: ['50-15=35', '72-13=59'] Exploring Operation: 35+59=94, Resulting Numbers: [94] 94,28 unequal: No Solution Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 13, 49, 50, 62 ]
75
[ "13+62=75", "50-49=1", "75*1=75" ]
Current State: 75:[13, 49, 50, 62], Operations: [] Exploring Operation: 13+62=75, Resulting Numbers: [49, 50, 75] Generated Node #2: [49, 50, 75] from Operation: 13+62=75 Current State: 75:[49, 50, 75], Operations: ['13+62=75'] Exploring Operation: 50-49=1, Resulting Numbers: [75, 1] Generated Node #3: [75, 1] from Operation: 50-49=1 Current State: 75:[75, 1], Operations: ['13+62=75', '50-49=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[13, 49, 50, 62], Operations: [] Exploring Operation: 49+50=99, Resulting Numbers: [13, 62, 99] Generated Node #0,0: 75:[13, 62, 99] Operation: 49+50=99 Exploring Operation: 62-49=13, Resulting Numbers: [13, 50, 13] Generated Node #0,1: 75:[13, 50, 13] Operation: 62-49=13 Exploring Operation: 49-13=36, Resulting Numbers: [50, 62, 36] Generated Node #0,2: 75:[50, 62, 36] Operation: 49-13=36 Exploring Operation: 62-50=12, Resulting Numbers: [13, 49, 12] Generated Node #0,3: 75:[13, 49, 12] Operation: 62-50=12 Exploring Operation: 50-49=1, Resulting Numbers: [13, 62, 1] Generated Node #0,4: 75:[13, 62, 1] Operation: 50-49=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 75:[13, 62, 1], Operations: ['50-49=1'] Exploring Operation: 13+62=75, Resulting Numbers: [1, 75] Generated Node #0,4,0: 75:[1, 75] Operation: 13+62=75 Exploring Operation: 13+1=14, Resulting Numbers: [62, 14] Generated Node #0,4,1: 75:[62, 14] Operation: 13+1=14 Exploring Operation: 13/1=13, Resulting Numbers: [62, 13] Generated Node #0,4,2: 75:[62, 13] Operation: 13/1=13 Exploring Operation: 13*1=13, Resulting Numbers: [62, 13] Generated Node #0,4,3: 75:[62, 13] Operation: 13*1=13 Exploring Operation: 62+1=63, Resulting Numbers: [13, 63] Generated Node #0,4,4: 75:[13, 63] Operation: 62+1=63 Moving to Node #0,4,0 Current State: 75:[1, 75], Operations: ['50-49=1', '13+62=75'] Exploring Operation: 1+75=76, Resulting Numbers: [76] 76,75 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,75 unequal: No Solution Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[13, 49, 50, 62], Operations: [] Exploring Operation: 50-49=1, Resulting Numbers: [13, 62, 1] Generated Node #0,4: 75:[13, 62, 1] Operation: 50-49=1 Moving to Node #0,4 Current State: 75:[13, 62, 1], Operations: ['50-49=1'] Exploring Operation: 13+62=75, Resulting Numbers: [1, 75] Generated Node #0,4,0: 75:[1, 75] Operation: 13+62=75 Moving to Node #0,4,0 Current State: 75:[1, 75], Operations: ['50-49=1', '13+62=75'] Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 57, 22, 17, 19 ]
68
[ "19-17=2", "22/2=11", "57+11=68" ]
Current State: 68:[57, 22, 17, 19], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [57, 22, 2] Generated Node #2: [57, 22, 2] from Operation: 19-17=2 Current State: 68:[57, 22, 2], Operations: ['19-17=2'] Exploring Operation: 22/2=11, Resulting Numbers: [57, 11] Generated Node #3: [57, 11] from Operation: 22/2=11 Current State: 68:[57, 11], Operations: ['19-17=2', '22/2=11'] Exploring Operation: 57+11=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[57, 22, 17, 19], Operations: [] Exploring Operation: 57-19=38, Resulting Numbers: [22, 17, 38] Generated Node #0,0: 68:[22, 17, 38] Operation: 57-19=38 Exploring Operation: 22-19=3, Resulting Numbers: [57, 17, 3] Generated Node #0,1: 68:[57, 17, 3] Operation: 22-19=3 Exploring Operation: 57-22=35, Resulting Numbers: [17, 19, 35] Generated Node #0,2: 68:[17, 19, 35] Operation: 57-22=35 Exploring Operation: 57/19=3, Resulting Numbers: [22, 17, 3] Generated Node #0,3: 68:[22, 17, 3] Operation: 57/19=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[17, 19, 35], Operations: ['57-22=35'] Exploring Operation: 19-17=2, Resulting Numbers: [35, 2] Generated Node #0,2,0: 68:[35, 2] Operation: 19-17=2 Exploring Operation: 35-19=16, Resulting Numbers: [17, 16] Generated Node #0,2,1: 68:[17, 16] Operation: 35-19=16 Exploring Operation: 17+19=36, Resulting Numbers: [35, 36] Generated Node #0,2,2: 68:[35, 36] Operation: 17+19=36 Exploring Operation: 35-17=18, Resulting Numbers: [19, 18] Generated Node #0,2,3: 68:[19, 18] Operation: 35-17=18 Moving to Node #0,2,0 Current State: 68:[35, 2], Operations: ['57-22=35', '19-17=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[17, 16], Operations: ['57-22=35', '35-19=16'] Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,68 unequal: No Solution Moving to Node #0,2,3 Current State: 68:[19, 18], Operations: ['57-22=35', '35-17=18'] Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,68 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[35, 36], Operations: ['57-22=35', '17+19=36'] Exploring Operation: 35*36=1260, Resulting Numbers: [1260] 1260,68 unequal: No Solution Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,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,3 Current State: 68:[22, 17, 3], Operations: ['57/19=3'] Exploring Operation: 22-3=19, Resulting Numbers: [17, 19] Generated Node #0,3,0: 68:[17, 19] Operation: 22-3=19 Exploring Operation: 22-17=5, Resulting Numbers: [3, 5] Generated Node #0,3,1: 68:[3, 5] Operation: 22-17=5 Exploring Operation: 22*3=66, Resulting Numbers: [17, 66] Generated Node #0,3,2: 68:[17, 66] Operation: 22*3=66 Exploring Operation: 22+17=39, Resulting Numbers: [3, 39] Generated Node #0,3,3: 68:[3, 39] Operation: 22+17=39 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 68:[17, 19], Operations: ['57/19=3', '22-3=19'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 17*19=323, Resulting Numbers: [323] 323,68 unequal: No Solution Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,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,3,1 Current State: 68:[3, 5], Operations: ['57/19=3', '22-17=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,68 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,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,3,2 Current State: 68:[17, 66], Operations: ['57/19=3', '22*3=66'] Exploring Operation: 17*66=1122, Resulting Numbers: [1122] 1122,68 unequal: No Solution Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,68 unequal: No Solution Exploring Operation: 17+66=83, Resulting Numbers: [83] 83,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,3,3 Current State: 68:[3, 39], Operations: ['57/19=3', '22+17=39'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,68 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,68 unequal: No Solution Exploring Operation: 39/3=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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[22, 17, 38], Operations: ['57-19=38'] Exploring Operation: 22+38=60, Resulting Numbers: [17, 60] Generated Node #0,0,0: 68:[17, 60] Operation: 22+38=60 Exploring Operation: 38-22=16, Resulting Numbers: [17, 16] Generated Node #0,0,1: 68:[17, 16] Operation: 38-22=16 Exploring Operation: 22-17=5, Resulting Numbers: [38, 5] Generated Node #0,0,2: 68:[38, 5] Operation: 22-17=5 Exploring Operation: 22+17=39, Resulting Numbers: [38, 39] Generated Node #0,0,3: 68:[38, 39] Operation: 22+17=39 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[17, 16], Operations: ['57-19=38', '38-22=16'] Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,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:[38, 5], Operations: ['57-19=38', '22-17=5'] Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,68 unequal: No Solution Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[17, 60], Operations: ['57-19=38', '22+38=60'] Exploring Operation: 17*60=1020, Resulting Numbers: [1020] 1020,68 unequal: No Solution Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 17+60=77, Resulting Numbers: [77] 77,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,3 Current State: 68:[38, 39], Operations: ['57-19=38', '22+17=39'] Exploring Operation: 39-38=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 38+39=77, Resulting Numbers: [77] 77,68 unequal: No Solution Exploring Operation: 38*39=1482, Resulting Numbers: [1482] 1482,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[57, 17, 3], Operations: ['22-19=3'] Exploring Operation: 57+3=60, Resulting Numbers: [17, 60] Generated Node #0,1,0: 68:[17, 60] Operation: 57+3=60 Exploring Operation: 57-17=40, Resulting Numbers: [3, 40] Generated Node #0,1,1: 68:[3, 40] Operation: 57-17=40 Exploring Operation: 57+17=74, Resulting Numbers: [3, 74] Generated Node #0,1,2: 68:[3, 74] Operation: 57+17=74 Exploring Operation: 57/3=19, Resulting Numbers: [17, 19] Generated Node #0,1,3: 68:[17, 19] Operation: 57/3=19 Moving to Node #0,1,3 Current State: 68:[17, 19], Operations: ['22-19=3', '57/3=19'] Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 17*19=323, Resulting Numbers: [323] 323,68 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[3, 74], Operations: ['22-19=3', '57+17=74'] Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,68 unequal: No Solution Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,68 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[3, 40], Operations: ['22-19=3', '57-17=40'] Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,68 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[17, 60], Operations: ['22-19=3', '57+3=60'] Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 17*60=1020, Resulting Numbers: [1020] 1020,68 unequal: No Solution Exploring Operation: 17+60=77, Resulting Numbers: [77] 77,68 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
[ 19, 52, 93, 67 ]
89
[ "19+52=71", "93+67=160", "160-71=89" ]
Current State: 89:[19, 52, 93, 67], Operations: [] Exploring Operation: 19+52=71, Resulting Numbers: [93, 67, 71] Generated Node #2: [93, 67, 71] from Operation: 19+52=71 Current State: 89:[93, 67, 71], Operations: ['19+52=71'] Exploring Operation: 93+67=160, Resulting Numbers: [71, 160] Generated Node #3: [71, 160] from Operation: 93+67=160 Current State: 89:[71, 160], Operations: ['19+52=71', '93+67=160'] Exploring Operation: 160-71=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[19, 52, 93, 67], Operations: [] Exploring Operation: 19+67=86, Resulting Numbers: [52, 93, 86] Generated Node #0,0: 89:[52, 93, 86] Operation: 19+67=86 Exploring Operation: 19+52=71, Resulting Numbers: [93, 67, 71] Generated Node #0,1: 89:[93, 67, 71] Operation: 19+52=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[52, 93, 86], Operations: ['19+67=86'] Exploring Operation: 93-52=41, Resulting Numbers: [86, 41] Generated Node #0,0,0: 89:[86, 41] Operation: 93-52=41 Exploring Operation: 52+86=138, Resulting Numbers: [93, 138] Generated Node #0,0,1: 89:[93, 138] Operation: 52+86=138 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[86, 41], Operations: ['19+67=86', '93-52=41'] Exploring Operation: 86+41=127, Resulting Numbers: [127] 127,89 unequal: No Solution Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,89 unequal: No Solution No 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: 89:[93, 138], Operations: ['19+67=86', '52+86=138'] Exploring Operation: 93+138=231, Resulting Numbers: [231] 231,89 unequal: No Solution Exploring Operation: 138-93=45, Resulting Numbers: [45] 45,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[93, 67, 71], Operations: ['19+52=71'] Exploring Operation: 67+71=138, Resulting Numbers: [93, 138] Generated Node #0,1,0: 89:[93, 138] Operation: 67+71=138 Exploring Operation: 93-67=26, Resulting Numbers: [71, 26] Generated Node #0,1,1: 89:[71, 26] Operation: 93-67=26 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[93, 138], Operations: ['19+52=71', '67+71=138'] Exploring Operation: 93+138=231, Resulting Numbers: [231] 231,89 unequal: No Solution Exploring Operation: 138-93=45, Resulting Numbers: [45] 45,89 unequal: No Solution No 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: 89:[71, 26], Operations: ['19+52=71', '93-67=26'] Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,89 unequal: No Solution Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 44, 96, 48, 1 ]
32
[ "48-44=4", "4-1=3", "96/3=32" ]
Current State: 32:[44, 96, 48, 1], Operations: [] Exploring Operation: 48-44=4, Resulting Numbers: [96, 1, 4] Generated Node #2: [96, 1, 4] from Operation: 48-44=4 Current State: 32:[96, 1, 4], Operations: ['48-44=4'] Exploring Operation: 4-1=3, Resulting Numbers: [96, 3] Generated Node #3: [96, 3] from Operation: 4-1=3 Current State: 32:[96, 3], Operations: ['48-44=4', '4-1=3'] Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[44, 96, 48, 1], Operations: [] Exploring Operation: 96-44=52, Resulting Numbers: [48, 1, 52] Generated Node #0,0: 32:[48, 1, 52] Operation: 96-44=52 Exploring Operation: 48-44=4, Resulting Numbers: [96, 1, 4] Generated Node #0,1: 32:[96, 1, 4] Operation: 48-44=4 Exploring Operation: 44-1=43, Resulting Numbers: [96, 48, 43] Generated Node #0,2: 32:[96, 48, 43] Operation: 44-1=43 Exploring Operation: 96/48=2, Resulting Numbers: [44, 1, 2] Generated Node #0,3: 32:[44, 1, 2] Operation: 96/48=2 Exploring Operation: 96-48=48, Resulting Numbers: [44, 1, 48] Generated Node #0,4: 32:[44, 1, 48] Operation: 96-48=48 Moving to Node #0,3 Current State: 32:[44, 1, 2], Operations: ['96/48=2'] Exploring Operation: 44*1=44, Resulting Numbers: [2, 44] Generated Node #0,3,0: 32:[2, 44] Operation: 44*1=44 Exploring Operation: 44-2=42, Resulting Numbers: [1, 42] Generated Node #0,3,1: 32:[1, 42] Operation: 44-2=42 Exploring Operation: 44/1=44, Resulting Numbers: [2, 44] Generated Node #0,3,2: 32:[2, 44] Operation: 44/1=44 Exploring Operation: 44/2=22, Resulting Numbers: [1, 22] Generated Node #0,3,3: 32:[1, 22] Operation: 44/2=22 Exploring Operation: 44-1=43, Resulting Numbers: [2, 43] Generated Node #0,3,4: 32:[2, 43] Operation: 44-1=43 Moving to Node #0,4 Current State: 32:[44, 1, 48], Operations: ['96-48=48'] Exploring Operation: 44/1=44, Resulting Numbers: [48, 44] Generated Node #0,4,0: 32:[48, 44] Operation: 44/1=44 Exploring Operation: 48-1=47, Resulting Numbers: [44, 47] Generated Node #0,4,1: 32:[44, 47] Operation: 48-1=47 Exploring Operation: 44*1=44, Resulting Numbers: [48, 44] Generated Node #0,4,2: 32:[48, 44] Operation: 44*1=44 Exploring Operation: 48-44=4, Resulting Numbers: [1, 4] Generated Node #0,4,3: 32:[1, 4] Operation: 48-44=4 Exploring Operation: 44-1=43, Resulting Numbers: [48, 43] Generated Node #0,4,4: 32:[48, 43] Operation: 44-1=43 Moving to Node #0,0 Current State: 32:[48, 1, 52], Operations: ['96-44=52'] Exploring Operation: 48*1=48, Resulting Numbers: [52, 48] Generated Node #0,0,0: 32:[52, 48] Operation: 48*1=48 Exploring Operation: 48/1=48, Resulting Numbers: [52, 48] Generated Node #0,0,1: 32:[52, 48] Operation: 48/1=48 Exploring Operation: 52-48=4, Resulting Numbers: [1, 4] Generated Node #0,0,2: 32:[1, 4] Operation: 52-48=4 Exploring Operation: 48-1=47, Resulting Numbers: [52, 47] Generated Node #0,0,3: 32:[52, 47] Operation: 48-1=47 Exploring Operation: 52-1=51, Resulting Numbers: [48, 51] Generated Node #0,0,4: 32:[48, 51] Operation: 52-1=51 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[1, 4], Operations: ['96-44=52', '52-48=4'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 32:[52, 47], Operations: ['96-44=52', '48-1=47'] Exploring Operation: 52+47=99, Resulting Numbers: [99] 99,32 unequal: No Solution Exploring Operation: 52-47=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 52*47=2444, Resulting Numbers: [2444] 2444,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 32:[48, 51], Operations: ['96-44=52', '52-1=51'] Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,32 unequal: No Solution Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,32 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[52, 48], Operations: ['96-44=52', '48*1=48'] Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 52*48=2496, Resulting Numbers: [2496] 2496,32 unequal: No Solution Exploring Operation: 52+48=100, Resulting Numbers: [100] 100,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[52, 48], Operations: ['96-44=52', '48/1=48'] Exploring Operation: 52+48=100, Resulting Numbers: [100] 100,32 unequal: No Solution Exploring Operation: 52*48=2496, Resulting Numbers: [2496] 2496,32 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,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:[96, 1, 4], Operations: ['48-44=4'] Exploring Operation: 96*1=96, Resulting Numbers: [4, 96] Generated Node #0,1,0: 32:[4, 96] Operation: 96*1=96 Exploring Operation: 96/4=24, Resulting Numbers: [1, 24] Generated Node #0,1,1: 32:[1, 24] Operation: 96/4=24 Exploring Operation: 96-1=95, Resulting Numbers: [4, 95] Generated Node #0,1,2: 32:[4, 95] Operation: 96-1=95 Exploring Operation: 96/1=96, Resulting Numbers: [4, 96] Generated Node #0,1,3: 32:[4, 96] Operation: 96/1=96 Exploring Operation: 96-4=92, Resulting Numbers: [1, 92] Generated Node #0,1,4: 32:[1, 92] Operation: 96-4=92 Moving to Node #0,2 Current State: 32:[96, 48, 43], Operations: ['44-1=43'] Exploring Operation: 48-43=5, Resulting Numbers: [96, 5] Generated Node #0,2,0: 32:[96, 5] Operation: 48-43=5 Exploring Operation: 96-48=48, Resulting Numbers: [43, 48] Generated Node #0,2,1: 32:[43, 48] Operation: 96-48=48 Exploring Operation: 96/48=2, Resulting Numbers: [43, 2] Generated Node #0,2,2: 32:[43, 2] Operation: 96/48=2 Exploring Operation: 96-43=53, Resulting Numbers: [48, 53] Generated Node #0,2,3: 32:[48, 53] Operation: 96-43=53 Exploring Operation: 96+48=144, Resulting Numbers: [43, 144] Generated Node #0,2,4: 32:[43, 144] Operation: 96+48=144 Moving to Node #0,4,3 Current State: 32:[1, 4], Operations: ['96-48=48', '48-44=4'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[1, 22], Operations: ['96/48=2', '44/2=22'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,32 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,32 unequal: No Solution Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[1, 24], Operations: ['48-44=4', '96/4=24'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,32 unequal: No Solution Moving to Node #0,3,4 Current State: 32:[2, 43], Operations: ['96/48=2', '44-1=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,32 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,32 unequal: No Solution Moving to Node #0,3,1 Current State: 32:[1, 42], Operations: ['96/48=2', '44-2=42'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 1+42=43, Resulting Numbers: [43] 43,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[43, 2], Operations: ['44-1=43', '96/48=2'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,32 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,32 unequal: No Solution Moving to Node #0,3,2 Current State: 32:[2, 44], Operations: ['96/48=2', '44/1=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,32 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,32 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,32 unequal: No Solution Moving to Node #0,3,0 Current State: 32:[2, 44], Operations: ['96/48=2', '44*1=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,32 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,32 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,32 unequal: No Solution Moving to Node #0,4,1 Current State: 32:[44, 47], Operations: ['96-48=48', '48-1=47'] Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 44+47=91, Resulting Numbers: [91] 91,32 unequal: No Solution Exploring Operation: 44*47=2068, Resulting Numbers: [2068] 2068,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[43, 48], Operations: ['44-1=43', '96-48=48'] Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 43*48=2064, Resulting Numbers: [2064] 2064,32 unequal: No Solution Exploring Operation: 43+48=91, Resulting Numbers: [91] 91,32 unequal: No Solution Moving to Node #0,4,4 Current State: 32:[48, 43], Operations: ['96-48=48', '44-1=43'] Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,32 unequal: No Solution Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,32 unequal: No Solution Moving to Node #0,4,2 Current State: 32:[48, 44], Operations: ['96-48=48', '44*1=44'] Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 48+44=92, Resulting Numbers: [92] 92,32 unequal: No Solution Exploring Operation: 48*44=2112, Resulting Numbers: [2112] 2112,32 unequal: No Solution Moving to Node #0,4,0 Current State: 32:[48, 44], Operations: ['96-48=48', '44/1=44'] Exploring Operation: 48*44=2112, Resulting Numbers: [2112] 2112,32 unequal: No Solution Exploring Operation: 48+44=92, Resulting Numbers: [92] 92,32 unequal: No Solution Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,32 unequal: No Solution Moving to Node #0,2,3 Current State: 32:[48, 53], Operations: ['44-1=43', '96-43=53'] Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,32 unequal: No Solution Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,32 unequal: No Solution Moving to Node #0,1,4 Current State: 32:[1, 92], Operations: ['48-44=4', '96-4=92'] Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,32 unequal: No Solution Exploring Operation: 1+92=93, Resulting Numbers: [93] 93,32 unequal: No Solution Exploring Operation: 1*92=92, Resulting Numbers: [92] 92,32 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[4, 95], Operations: ['48-44=4', '96-1=95'] Exploring Operation: 4*95=380, Resulting Numbers: [380] 380,32 unequal: No Solution Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,32 unequal: No Solution Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[4, 96], Operations: ['48-44=4', '96*1=96'] Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 4*96=384, Resulting Numbers: [384] 384,32 unequal: No Solution Exploring Operation: 4+96=100, Resulting Numbers: [100] 100,32 unequal: No Solution Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[4, 96], Operations: ['48-44=4', '96/1=96'] Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,32 unequal: No Solution Exploring Operation: 4*96=384, Resulting Numbers: [384] 384,32 unequal: No Solution Exploring Operation: 4+96=100, Resulting Numbers: [100] 100,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[96, 5], Operations: ['44-1=43', '48-43=5'] Exploring Operation: 96+5=101, Resulting Numbers: [101] 101,32 unequal: No Solution Exploring Operation: 96*5=480, Resulting Numbers: [480] 480,32 unequal: No Solution Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,32 unequal: No Solution Moving to Node #0,2,4 Current State: 32:[43, 144], Operations: ['44-1=43', '96+48=144'] Exploring Operation: 43+144=187, Resulting Numbers: [187] 187,32 unequal: No Solution Exploring Operation: 43*144=6192, Resulting Numbers: [6192] 6192,32 unequal: No Solution Exploring Operation: 144-43=101, Resulting Numbers: [101] 101,32 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 62, 11, 50, 1 ]
67
[ "11-1=10", "50/10=5", "62+5=67" ]
Current State: 67:[62, 11, 50, 1], Operations: [] Exploring Operation: 11-1=10, Resulting Numbers: [62, 50, 10] Generated Node #2: [62, 50, 10] from Operation: 11-1=10 Current State: 67:[62, 50, 10], Operations: ['11-1=10'] Exploring Operation: 50/10=5, Resulting Numbers: [62, 5] Generated Node #3: [62, 5] from Operation: 50/10=5 Current State: 67:[62, 5], Operations: ['11-1=10', '50/10=5'] Exploring Operation: 62+5=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[62, 11, 50, 1], Operations: [] Exploring Operation: 62+1=63, Resulting Numbers: [11, 50, 63] Generated Node #0,0: 67:[11, 50, 63] Operation: 62+1=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[11, 50, 63], Operations: ['62+1=63'] Exploring Operation: 11+50=61, Resulting Numbers: [63, 61] Generated Node #0,0,0: 67:[63, 61] Operation: 11+50=61 Moving to Node #0,0,0 Current State: 67:[63, 61], Operations: ['62+1=63', '11+50=61'] Exploring Operation: 63+61=124, Resulting Numbers: [124] 124,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 28, 78, 26, 76 ]
37
[ "28-26=2", "78/2=39", "76-39=37" ]
Current State: 37:[28, 78, 26, 76], Operations: [] Exploring Operation: 28-26=2, Resulting Numbers: [78, 76, 2] Generated Node #2: [78, 76, 2] from Operation: 28-26=2 Current State: 37:[78, 76, 2], Operations: ['28-26=2'] Exploring Operation: 78/2=39, Resulting Numbers: [76, 39] Generated Node #3: [76, 39] from Operation: 78/2=39 Current State: 37:[76, 39], Operations: ['28-26=2', '78/2=39'] Exploring Operation: 76-39=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[28, 78, 26, 76], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [28, 26, 2] Generated Node #0,0: 37:[28, 26, 2] Operation: 78-76=2 Exploring Operation: 78-28=50, Resulting Numbers: [26, 76, 50] Generated Node #0,1: 37:[26, 76, 50] Operation: 78-28=50 Moving to Node #0,0 Current State: 37:[28, 26, 2], Operations: ['78-76=2'] Exploring Operation: 28+2=30, Resulting Numbers: [26, 30] Generated Node #0,0,0: 37:[26, 30] Operation: 28+2=30 Exploring Operation: 26+2=28, Resulting Numbers: [28, 28] Generated Node #0,0,1: 37:[28, 28] Operation: 26+2=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[26, 30], Operations: ['78-76=2', '28+2=30'] Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[28, 28], Operations: ['78-76=2', '26+2=28'] Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,37 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: 37:[26, 76, 50], Operations: ['78-28=50'] Exploring Operation: 76-50=26, Resulting Numbers: [26, 26] Generated Node #0,1,0: 37:[26, 26] Operation: 76-50=26 Exploring Operation: 76-26=50, Resulting Numbers: [50, 50] Generated Node #0,1,1: 37:[50, 50] Operation: 76-26=50 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[26, 26], Operations: ['78-28=50', '76-50=26'] Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[50, 50], Operations: ['78-28=50', '76-26=50'] Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,37 unequal: No Solution Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,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
[ 96, 84, 72, 48 ]
82
[ "96-72=24", "48/24=2", "84-2=82" ]
Current State: 82:[96, 84, 72, 48], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [84, 48, 24] Generated Node #2: [84, 48, 24] from Operation: 96-72=24 Current State: 82:[84, 48, 24], Operations: ['96-72=24'] Exploring Operation: 48/24=2, Resulting Numbers: [84, 2] Generated Node #3: [84, 2] from Operation: 48/24=2 Current State: 82:[84, 2], Operations: ['96-72=24', '48/24=2'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[96, 84, 72, 48], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [84, 72, 2] Generated Node #0,0: 82:[84, 72, 2] Operation: 96/48=2 Moving to Node #0,0 Current State: 82:[84, 72, 2], Operations: ['96/48=2'] Exploring Operation: 72/2=36, Resulting Numbers: [84, 36] Generated Node #0,0,0: 82:[84, 36] Operation: 72/2=36 Moving to Node #0,0,0 Current State: 82:[84, 36], Operations: ['96/48=2', '72/2=36'] Exploring Operation: 84-36=48, Resulting Numbers: [48] 48,82 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 30, 69, 45, 84 ]
78
[ "69-30=39", "84-45=39", "39+39=78" ]
Current State: 78:[30, 69, 45, 84], Operations: [] Exploring Operation: 69-30=39, Resulting Numbers: [45, 84, 39] Generated Node #2: [45, 84, 39] from Operation: 69-30=39 Current State: 78:[45, 84, 39], Operations: ['69-30=39'] Exploring Operation: 84-45=39, Resulting Numbers: [39, 39] Generated Node #3: [39, 39] from Operation: 84-45=39 Current State: 78:[39, 39], Operations: ['69-30=39', '84-45=39'] Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[30, 69, 45, 84], Operations: [] Exploring Operation: 69-30=39, Resulting Numbers: [45, 84, 39] Generated Node #0,0: 78:[45, 84, 39] Operation: 69-30=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[45, 84, 39], Operations: ['69-30=39'] Exploring Operation: 84-45=39, Resulting Numbers: [39, 39] Generated Node #0,0,0: 78:[39, 39] Operation: 84-45=39 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[39, 39], Operations: ['69-30=39', '84-45=39'] Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[30, 69, 45, 84], Operations: [] Exploring Operation: 69-30=39, Resulting Numbers: [45, 84, 39] Generated Node #0,0: 78:[45, 84, 39] Operation: 69-30=39 Moving to Node #0,0 Current State: 78:[45, 84, 39], Operations: ['69-30=39'] Exploring Operation: 84-45=39, Resulting Numbers: [39, 39] Generated Node #0,0,0: 78:[39, 39] Operation: 84-45=39 Moving to Node #0,0,0 Current State: 78:[39, 39], Operations: ['69-30=39', '84-45=39'] Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 41, 40, 48, 71 ]
23
[ "41-40=1", "71-48=23", "1*23=23" ]
Current State: 23:[41, 40, 48, 71], Operations: [] Exploring Operation: 41-40=1, Resulting Numbers: [48, 71, 1] Generated Node #2: [48, 71, 1] from Operation: 41-40=1 Current State: 23:[48, 71, 1], Operations: ['41-40=1'] Exploring Operation: 71-48=23, Resulting Numbers: [1, 23] Generated Node #3: [1, 23] from Operation: 71-48=23 Current State: 23:[1, 23], Operations: ['41-40=1', '71-48=23'] Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[41, 40, 48, 71], Operations: [] Exploring Operation: 48-41=7, Resulting Numbers: [40, 71, 7] Generated Node #0,0: 23:[40, 71, 7] Operation: 48-41=7 Exploring Operation: 71-48=23, Resulting Numbers: [41, 40, 23] Generated Node #0,1: 23:[41, 40, 23] Operation: 71-48=23 Exploring Operation: 71-40=31, Resulting Numbers: [41, 48, 31] Generated Node #0,2: 23:[41, 48, 31] Operation: 71-40=31 Exploring Operation: 71-41=30, Resulting Numbers: [40, 48, 30] Generated Node #0,3: 23:[40, 48, 30] Operation: 71-41=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[41, 40, 23], Operations: ['71-48=23'] Exploring Operation: 41-40=1, Resulting Numbers: [23, 1] Generated Node #0,1,0: 23:[23, 1] Operation: 41-40=1 Exploring Operation: 40-23=17, Resulting Numbers: [41, 17] Generated Node #0,1,1: 23:[41, 17] Operation: 40-23=17 Exploring Operation: 41+40=81, Resulting Numbers: [23, 81] Generated Node #0,1,2: 23:[23, 81] Operation: 41+40=81 Exploring Operation: 41-23=18, Resulting Numbers: [40, 18] Generated Node #0,1,3: 23:[40, 18] Operation: 41-23=18 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 23:[23, 1], Operations: ['71-48=23', '41-40=1'] Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[41, 40, 48, 71], Operations: [] Exploring Operation: 71-48=23, Resulting Numbers: [41, 40, 23] Generated Node #0,1: 23:[41, 40, 23] Operation: 71-48=23 Moving to Node #0,1 Current State: 23:[41, 40, 23], Operations: ['71-48=23'] Exploring Operation: 41-40=1, Resulting Numbers: [23, 1] Generated Node #0,1,0: 23:[23, 1] Operation: 41-40=1 Moving to Node #0,1,0 Current State: 23:[23, 1], Operations: ['71-48=23', '41-40=1'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 18, 86, 89, 69 ]
29
[ "18+69=87", "89-86=3", "87/3=29" ]
Current State: 29:[18, 86, 89, 69], Operations: [] Exploring Operation: 18+69=87, Resulting Numbers: [86, 89, 87] Generated Node #2: [86, 89, 87] from Operation: 18+69=87 Current State: 29:[86, 89, 87], Operations: ['18+69=87'] Exploring Operation: 89-86=3, Resulting Numbers: [87, 3] Generated Node #3: [87, 3] from Operation: 89-86=3 Current State: 29:[87, 3], Operations: ['18+69=87', '89-86=3'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[18, 86, 89, 69], Operations: [] Exploring Operation: 89-69=20, Resulting Numbers: [18, 86, 20] Generated Node #0,0: 29:[18, 86, 20] Operation: 89-69=20 Exploring Operation: 89-86=3, Resulting Numbers: [18, 69, 3] Generated Node #0,1: 29:[18, 69, 3] Operation: 89-86=3 Moving to Node #0,0 Current State: 29:[18, 86, 20], Operations: ['89-69=20'] Exploring Operation: 86-20=66, Resulting Numbers: [18, 66] Generated Node #0,0,0: 29:[18, 66] Operation: 86-20=66 Exploring Operation: 86-18=68, Resulting Numbers: [20, 68] Generated Node #0,0,1: 29:[20, 68] Operation: 86-18=68 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[18, 66], Operations: ['89-69=20', '86-20=66'] Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 18+66=84, Resulting Numbers: [84] 84,29 unequal: No Solution No 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: 29:[20, 68], Operations: ['89-69=20', '86-18=68'] Exploring Operation: 20+68=88, Resulting Numbers: [88] 88,29 unequal: No Solution Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,29 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: 29:[18, 69, 3], Operations: ['89-86=3'] Exploring Operation: 69/3=23, Resulting Numbers: [18, 23] Generated Node #0,1,0: 29:[18, 23] Operation: 69/3=23 Exploring Operation: 69-18=51, Resulting Numbers: [3, 51] Generated Node #0,1,1: 29:[3, 51] Operation: 69-18=51 Moving to Node #0,1,0 Current State: 29:[18, 23], Operations: ['89-86=3', '69/3=23'] Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 18+23=41, Resulting Numbers: [41] 41,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[3, 51], Operations: ['89-86=3', '69-18=51'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,29 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 16, 64, 4, 7 ]
51
[ "64-16=48", "7-4=3", "48+3=51" ]
Current State: 51:[16, 64, 4, 7], Operations: [] Exploring Operation: 64-16=48, Resulting Numbers: [4, 7, 48] Generated Node #2: [4, 7, 48] from Operation: 64-16=48 Current State: 51:[4, 7, 48], Operations: ['64-16=48'] Exploring Operation: 7-4=3, Resulting Numbers: [48, 3] Generated Node #3: [48, 3] from Operation: 7-4=3 Current State: 51:[48, 3], Operations: ['64-16=48', '7-4=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[16, 64, 4, 7], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [16, 7, 16] Generated Node #0,0: 51:[16, 7, 16] Operation: 64/4=16 Exploring Operation: 64/16=4, Resulting Numbers: [4, 7, 4] Generated Node #0,1: 51:[4, 7, 4] Operation: 64/16=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[16, 7, 16], Operations: ['64/4=16'] Exploring Operation: 16/16=1, Resulting Numbers: [7, 1] Generated Node #0,0,0: 51:[7, 1] Operation: 16/16=1 Exploring Operation: 16+7=23, Resulting Numbers: [16, 23] Generated Node #0,0,1: 51:[16, 23] Operation: 16+7=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[7, 1], Operations: ['64/4=16', '16/16=1'] Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,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:[16, 23], Operations: ['64/4=16', '16+7=23'] Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,51 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,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:[4, 7, 4], Operations: ['64/16=4'] Exploring Operation: 7-4=3, Resulting Numbers: [4, 3] Generated Node #0,1,0: 51:[4, 3] Operation: 7-4=3 Exploring Operation: 7-4=3, Resulting Numbers: [4, 3] Generated Node #0,1,1: 51:[4, 3] Operation: 7-4=3 Moving to Node #0,1,0 Current State: 51:[4, 3], Operations: ['64/16=4', '7-4=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[4, 3], Operations: ['64/16=4', '7-4=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,51 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
[ 16, 47, 73, 71 ]
79
[ "73-71=2", "16*2=32", "47+32=79" ]
Current State: 79:[16, 47, 73, 71], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [16, 47, 2] Generated Node #2: [16, 47, 2] from Operation: 73-71=2 Current State: 79:[16, 47, 2], Operations: ['73-71=2'] Exploring Operation: 16*2=32, Resulting Numbers: [47, 32] Generated Node #3: [47, 32] from Operation: 16*2=32 Current State: 79:[47, 32], Operations: ['73-71=2', '16*2=32'] Exploring Operation: 47+32=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[16, 47, 73, 71], Operations: [] Exploring Operation: 16+47=63, Resulting Numbers: [73, 71, 63] Generated Node #0,0: 79:[73, 71, 63] Operation: 16+47=63 Exploring Operation: 16+71=87, Resulting Numbers: [47, 73, 87] Generated Node #0,1: 79:[47, 73, 87] Operation: 16+71=87 Moving to Node #0,0 Current State: 79:[73, 71, 63], Operations: ['16+47=63'] Exploring Operation: 71+63=134, Resulting Numbers: [73, 134] Generated Node #0,0,0: 79:[73, 134] Operation: 71+63=134 Exploring Operation: 73+63=136, Resulting Numbers: [71, 136] Generated Node #0,0,1: 79:[71, 136] Operation: 73+63=136 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[73, 134], Operations: ['16+47=63', '71+63=134'] Exploring Operation: 73+134=207, Resulting Numbers: [207] 207,79 unequal: No Solution Exploring Operation: 134-73=61, Resulting Numbers: [61] 61,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[71, 136], Operations: ['16+47=63', '73+63=136'] Exploring Operation: 71+136=207, Resulting Numbers: [207] 207,79 unequal: No Solution Exploring Operation: 136-71=65, Resulting Numbers: [65] 65,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 79:[47, 73, 87], Operations: ['16+71=87'] Exploring Operation: 87-47=40, Resulting Numbers: [73, 40] Generated Node #0,1,0: 79:[73, 40] Operation: 87-47=40 Exploring Operation: 47+73=120, Resulting Numbers: [87, 120] Generated Node #0,1,1: 79:[87, 120] Operation: 47+73=120 Moving to Node #0,1,0 Current State: 79:[73, 40], Operations: ['16+71=87', '87-47=40'] Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,79 unequal: No Solution Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[87, 120], Operations: ['16+71=87', '47+73=120'] Exploring Operation: 87+120=207, Resulting Numbers: [207] 207,79 unequal: No Solution Exploring Operation: 120-87=33, Resulting Numbers: [33] 33,79 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 62, 62, 44, 54 ]
97
[ "62/62=1", "44+54=98", "98-1=97" ]
Current State: 97:[62, 62, 44, 54], Operations: [] Exploring Operation: 62/62=1, Resulting Numbers: [44, 54, 1] Generated Node #2: [44, 54, 1] from Operation: 62/62=1 Current State: 97:[44, 54, 1], Operations: ['62/62=1'] Exploring Operation: 44+54=98, Resulting Numbers: [1, 98] Generated Node #3: [1, 98] from Operation: 44+54=98 Current State: 97:[1, 98], Operations: ['62/62=1', '44+54=98'] Exploring Operation: 98-1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[62, 62, 44, 54], Operations: [] Exploring Operation: 44+54=98, Resulting Numbers: [62, 62, 98] Generated Node #0,0: 97:[62, 62, 98] Operation: 44+54=98 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[62, 62, 98], Operations: ['44+54=98'] Exploring Operation: 62+62=124, Resulting Numbers: [98, 124] Generated Node #0,0,0: 97:[98, 124] Operation: 62+62=124 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[98, 124], Operations: ['44+54=98', '62+62=124'] Exploring Operation: 124-98=26, Resulting Numbers: [26] 26,97 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
[ 16, 1, 4, 45 ]
65
[ "16*1=16", "4+45=49", "16+49=65" ]
Current State: 65:[16, 1, 4, 45], Operations: [] Exploring Operation: 16*1=16, Resulting Numbers: [4, 45, 16] Generated Node #2: [4, 45, 16] from Operation: 16*1=16 Current State: 65:[4, 45, 16], Operations: ['16*1=16'] Exploring Operation: 4+45=49, Resulting Numbers: [16, 49] Generated Node #3: [16, 49] from Operation: 4+45=49 Current State: 65:[16, 49], Operations: ['16*1=16', '4+45=49'] Exploring Operation: 16+49=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[16, 1, 4, 45], Operations: [] Exploring Operation: 45-16=29, Resulting Numbers: [1, 4, 29] Generated Node #0,0: 65:[1, 4, 29] Operation: 45-16=29 Exploring Operation: 16+45=61, Resulting Numbers: [1, 4, 61] Generated Node #0,1: 65:[1, 4, 61] Operation: 16+45=61 Exploring Operation: 1+4=5, Resulting Numbers: [16, 45, 5] Generated Node #0,2: 65:[16, 45, 5] Operation: 1+4=5 Exploring Operation: 1+45=46, Resulting Numbers: [16, 4, 46] Generated Node #0,3: 65:[16, 4, 46] Operation: 1+45=46 Exploring Operation: 16-1=15, Resulting Numbers: [4, 45, 15] Generated Node #0,4: 65:[4, 45, 15] Operation: 16-1=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[1, 4, 61], Operations: ['16+45=61'] Exploring Operation: 4+61=65, Resulting Numbers: [1, 65] Generated Node #0,1,0: 65:[1, 65] Operation: 4+61=65 Exploring Operation: 1*4=4, Resulting Numbers: [61, 4] Generated Node #0,1,1: 65:[61, 4] Operation: 1*4=4 Exploring Operation: 1+61=62, Resulting Numbers: [4, 62] Generated Node #0,1,2: 65:[4, 62] Operation: 1+61=62 Exploring Operation: 4/1=4, Resulting Numbers: [61, 4] Generated Node #0,1,3: 65:[61, 4] Operation: 4/1=4 Exploring Operation: 1+4=5, Resulting Numbers: [61, 5] Generated Node #0,1,4: 65:[61, 5] Operation: 1+4=5 Moving to Node #0,1,0 Current State: 65:[1, 65], Operations: ['16+45=61', '4+61=65'] Exploring Operation: 1*65=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[16, 1, 4, 45], Operations: [] Exploring Operation: 16+45=61, Resulting Numbers: [1, 4, 61] Generated Node #0,1: 65:[1, 4, 61] Operation: 16+45=61 Moving to Node #0,1 Current State: 65:[1, 4, 61], Operations: ['16+45=61'] Exploring Operation: 4+61=65, Resulting Numbers: [1, 65] Generated Node #0,1,0: 65:[1, 65] Operation: 4+61=65 Moving to Node #0,1,0 Current State: 65:[1, 65], Operations: ['16+45=61', '4+61=65'] Exploring Operation: 1*65=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 1, 78, 64, 62 ]
47
[ "1+78=79", "64+62=126", "126-79=47" ]
Current State: 47:[1, 78, 64, 62], Operations: [] Exploring Operation: 1+78=79, Resulting Numbers: [64, 62, 79] Generated Node #2: [64, 62, 79] from Operation: 1+78=79 Current State: 47:[64, 62, 79], Operations: ['1+78=79'] Exploring Operation: 64+62=126, Resulting Numbers: [79, 126] Generated Node #3: [79, 126] from Operation: 64+62=126 Current State: 47:[79, 126], Operations: ['1+78=79', '64+62=126'] Exploring Operation: 126-79=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[1, 78, 64, 62], Operations: [] Exploring Operation: 64-1=63, Resulting Numbers: [78, 62, 63] Generated Node #0,0: 47:[78, 62, 63] Operation: 64-1=63 Exploring Operation: 78-1=77, Resulting Numbers: [64, 62, 77] Generated Node #0,1: 47:[64, 62, 77] Operation: 78-1=77 Exploring Operation: 1*78=78, Resulting Numbers: [64, 62, 78] Generated Node #0,2: 47:[64, 62, 78] Operation: 1*78=78 Exploring Operation: 62-1=61, Resulting Numbers: [78, 64, 61] Generated Node #0,3: 47:[78, 64, 61] Operation: 62-1=61 Moving to Node #0,0 Current State: 47:[78, 62, 63], Operations: ['64-1=63'] Exploring Operation: 63-62=1, Resulting Numbers: [78, 1] Generated Node #0,0,0: 47:[78, 1] Operation: 63-62=1 Exploring Operation: 78+62=140, Resulting Numbers: [63, 140] Generated Node #0,0,1: 47:[63, 140] Operation: 78+62=140 Exploring Operation: 78-63=15, Resulting Numbers: [62, 15] Generated Node #0,0,2: 47:[62, 15] Operation: 78-63=15 Exploring Operation: 78-62=16, Resulting Numbers: [63, 16] Generated Node #0,0,3: 47:[63, 16] Operation: 78-62=16 Moving to Node #0,3 Current State: 47:[78, 64, 61], Operations: ['62-1=61'] Exploring Operation: 64-61=3, Resulting Numbers: [78, 3] Generated Node #0,3,0: 47:[78, 3] Operation: 64-61=3 Exploring Operation: 78+64=142, Resulting Numbers: [61, 142] Generated Node #0,3,1: 47:[61, 142] Operation: 78+64=142 Exploring Operation: 78-64=14, Resulting Numbers: [61, 14] Generated Node #0,3,2: 47:[61, 14] Operation: 78-64=14 Exploring Operation: 78-61=17, Resulting Numbers: [64, 17] Generated Node #0,3,3: 47:[64, 17] Operation: 78-61=17 Moving to Node #0,1 Current State: 47:[64, 62, 77], Operations: ['78-1=77'] Exploring Operation: 64+62=126, Resulting Numbers: [77, 126] Generated Node #0,1,0: 47:[77, 126] Operation: 64+62=126 Exploring Operation: 77-62=15, Resulting Numbers: [64, 15] Generated Node #0,1,1: 47:[64, 15] Operation: 77-62=15 Exploring Operation: 77-64=13, Resulting Numbers: [62, 13] Generated Node #0,1,2: 47:[62, 13] Operation: 77-64=13 Exploring Operation: 64-62=2, Resulting Numbers: [77, 2] Generated Node #0,1,3: 47:[77, 2] Operation: 64-62=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[64, 15], Operations: ['78-1=77', '77-62=15'] Exploring Operation: 64*15=960, Resulting Numbers: [960] 960,47 unequal: No Solution Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,47 unequal: No Solution Exploring Operation: 64+15=79, Resulting Numbers: [79] 79,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[62, 13], Operations: ['78-1=77', '77-64=13'] Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,47 unequal: No Solution Exploring Operation: 62+13=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 62*13=806, Resulting Numbers: [806] 806,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 47:[77, 2], Operations: ['78-1=77', '64-62=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,47 unequal: No Solution Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,47 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[77, 126], Operations: ['78-1=77', '64+62=126'] Exploring Operation: 126-77=49, Resulting Numbers: [49] 49,47 unequal: No Solution Exploring Operation: 77*126=9702, Resulting Numbers: [9702] 9702,47 unequal: No Solution Exploring Operation: 77+126=203, Resulting Numbers: [203] 203,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 47:[64, 62, 78], Operations: ['1*78=78'] Exploring Operation: 64-62=2, Resulting Numbers: [78, 2] Generated Node #0,2,0: 47:[78, 2] Operation: 64-62=2 Exploring Operation: 78-64=14, Resulting Numbers: [62, 14] Generated Node #0,2,1: 47:[62, 14] Operation: 78-64=14 Exploring Operation: 64+62=126, Resulting Numbers: [78, 126] Generated Node #0,2,2: 47:[78, 126] Operation: 64+62=126 Exploring Operation: 78-62=16, Resulting Numbers: [64, 16] Generated Node #0,2,3: 47:[64, 16] Operation: 78-62=16 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[62, 14], Operations: ['1*78=78', '78-64=14'] Exploring Operation: 62+14=76, Resulting Numbers: [76] 76,47 unequal: No Solution Exploring Operation: 62*14=868, Resulting Numbers: [868] 868,47 unequal: No Solution Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 47:[64, 16], Operations: ['1*78=78', '78-62=16'] Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 64*16=1024, Resulting Numbers: [1024] 1024,47 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 64+16=80, Resulting Numbers: [80] 80,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[78, 2], Operations: ['1*78=78', '64-62=2'] Exploring Operation: 78*2=156, Resulting Numbers: [156] 156,47 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,47 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,47 unequal: No Solution Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[78, 126], Operations: ['1*78=78', '64+62=126'] Exploring Operation: 78+126=204, Resulting Numbers: [204] 204,47 unequal: No Solution Exploring Operation: 126-78=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 78*126=9828, Resulting Numbers: [9828] 9828,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 47:[62, 15], Operations: ['64-1=63', '78-63=15'] Exploring Operation: 62+15=77, Resulting Numbers: [77] 77,47 unequal: No Solution Exploring Operation: 62*15=930, Resulting Numbers: [930] 930,47 unequal: No Solution Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[1, 78, 64, 62], Operations: [] Exploring Operation: 64-1=63, Resulting Numbers: [78, 62, 63] Generated Node #0,0: 47:[78, 62, 63] Operation: 64-1=63 Moving to Node #0,0 Current State: 47:[78, 62, 63], Operations: ['64-1=63'] Exploring Operation: 78-63=15, Resulting Numbers: [62, 15] Generated Node #0,0,2: 47:[62, 15] Operation: 78-63=15 Moving to Node #0,0,2 Current State: 47:[62, 15], Operations: ['64-1=63', '78-63=15'] Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
0.953993
hs_4
mult_heuristic
[ 72, 94, 78, 39 ]
83
[ "72+94=166", "78/39=2", "166/2=83" ]
Current State: 83:[72, 94, 78, 39], Operations: [] Exploring Operation: 72+94=166, Resulting Numbers: [78, 39, 166] Generated Node #2: [78, 39, 166] from Operation: 72+94=166 Current State: 83:[78, 39, 166], Operations: ['72+94=166'] Exploring Operation: 78/39=2, Resulting Numbers: [166, 2] Generated Node #3: [166, 2] from Operation: 78/39=2 Current State: 83:[166, 2], Operations: ['72+94=166', '78/39=2'] Exploring Operation: 166/2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[72, 94, 78, 39], Operations: [] Exploring Operation: 94-39=55, Resulting Numbers: [72, 78, 55] Generated Node #0,0: 83:[72, 78, 55] Operation: 94-39=55 Exploring Operation: 72+39=111, Resulting Numbers: [94, 78, 111] Generated Node #0,1: 83:[94, 78, 111] Operation: 72+39=111 Exploring Operation: 78+39=117, Resulting Numbers: [72, 94, 117] Generated Node #0,2: 83:[72, 94, 117] Operation: 78+39=117 Moving to Node #0,0 Current State: 83:[72, 78, 55], Operations: ['94-39=55'] Exploring Operation: 78+55=133, Resulting Numbers: [72, 133] Generated Node #0,0,0: 83:[72, 133] Operation: 78+55=133 Exploring Operation: 72-55=17, Resulting Numbers: [78, 17] Generated Node #0,0,1: 83:[78, 17] Operation: 72-55=17 Exploring Operation: 72+55=127, Resulting Numbers: [78, 127] Generated Node #0,0,2: 83:[78, 127] Operation: 72+55=127 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[78, 127], Operations: ['94-39=55', '72+55=127'] Exploring Operation: 127-78=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 78*127=9906, Resulting Numbers: [9906] 9906,83 unequal: No Solution Exploring Operation: 78+127=205, Resulting Numbers: [205] 205,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[72, 133], Operations: ['94-39=55', '78+55=133'] Exploring Operation: 133-72=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 72+133=205, Resulting Numbers: [205] 205,83 unequal: No Solution Exploring Operation: 72*133=9576, Resulting Numbers: [9576] 9576,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[78, 17], Operations: ['94-39=55', '72-55=17'] Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,83 unequal: No Solution Exploring Operation: 78*17=1326, Resulting Numbers: [1326] 1326,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 83:[94, 78, 111], Operations: ['72+39=111'] Exploring Operation: 111-94=17, Resulting Numbers: [78, 17] Generated Node #0,1,0: 83:[78, 17] Operation: 111-94=17 Exploring Operation: 94-78=16, Resulting Numbers: [111, 16] Generated Node #0,1,1: 83:[111, 16] Operation: 94-78=16 Exploring Operation: 111-78=33, Resulting Numbers: [94, 33] Generated Node #0,1,2: 83:[94, 33] Operation: 111-78=33 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[94, 33], Operations: ['72+39=111', '111-78=33'] Exploring Operation: 94-33=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 94+33=127, Resulting Numbers: [127] 127,83 unequal: No Solution Exploring Operation: 94*33=3102, Resulting Numbers: [3102] 3102,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[78, 17], Operations: ['72+39=111', '111-94=17'] Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,83 unequal: No Solution Exploring Operation: 78*17=1326, Resulting Numbers: [1326] 1326,83 unequal: No Solution Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[111, 16], Operations: ['72+39=111', '94-78=16'] Exploring Operation: 111-16=95, Resulting Numbers: [95] 95,83 unequal: No Solution Exploring Operation: 111*16=1776, Resulting Numbers: [1776] 1776,83 unequal: No Solution Exploring Operation: 111+16=127, Resulting Numbers: [127] 127,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 83:[72, 94, 117], Operations: ['78+39=117'] Exploring Operation: 94-72=22, Resulting Numbers: [117, 22] Generated Node #0,2,0: 83:[117, 22] Operation: 94-72=22 Exploring Operation: 117-72=45, Resulting Numbers: [94, 45] Generated Node #0,2,1: 83:[94, 45] Operation: 117-72=45 Exploring Operation: 117-94=23, Resulting Numbers: [72, 23] Generated Node #0,2,2: 83:[72, 23] Operation: 117-94=23 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[94, 45], Operations: ['78+39=117', '117-72=45'] Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 94*45=4230, Resulting Numbers: [4230] 4230,83 unequal: No Solution Exploring Operation: 94+45=139, Resulting Numbers: [139] 139,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[72, 23], Operations: ['78+39=117', '117-94=23'] Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 72+23=95, Resulting Numbers: [95] 95,83 unequal: No Solution Exploring Operation: 72*23=1656, Resulting Numbers: [1656] 1656,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[117, 22], Operations: ['78+39=117', '94-72=22'] Exploring Operation: 117+22=139, Resulting Numbers: [139] 139,83 unequal: No Solution Exploring Operation: 117-22=95, Resulting Numbers: [95] 95,83 unequal: No Solution Exploring Operation: 117*22=2574, Resulting Numbers: [2574] 2574,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 84, 64, 32, 96 ]
94
[ "84*96=8064", "8064/64=126", "126-32=94" ]
Current State: 94:[84, 64, 32, 96], Operations: [] Exploring Operation: 84*96=8064, Resulting Numbers: [64, 32, 8064] Generated Node #2: [64, 32, 8064] from Operation: 84*96=8064 Current State: 94:[64, 32, 8064], Operations: ['84*96=8064'] Exploring Operation: 8064/64=126, Resulting Numbers: [32, 126] Generated Node #3: [32, 126] from Operation: 8064/64=126 Current State: 94:[32, 126], Operations: ['84*96=8064', '8064/64=126'] Exploring Operation: 126-32=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[84, 64, 32, 96], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [84, 96, 2] Generated Node #0,0: 94:[84, 96, 2] Operation: 64/32=2 Exploring Operation: 84-32=52, Resulting Numbers: [64, 96, 52] Generated Node #0,1: 94:[64, 96, 52] Operation: 84-32=52 Exploring Operation: 96/32=3, Resulting Numbers: [84, 64, 3] Generated Node #0,2: 94:[84, 64, 3] Operation: 96/32=3 Exploring Operation: 64+32=96, Resulting Numbers: [84, 96, 96] Generated Node #0,3: 94:[84, 96, 96] Operation: 64+32=96 Exploring Operation: 64-32=32, Resulting Numbers: [84, 96, 32] Generated Node #0,4: 94:[84, 96, 32] Operation: 64-32=32 Moving to Node #0,0 Current State: 94:[84, 96, 2], Operations: ['64/32=2'] Exploring Operation: 96-2=94, Resulting Numbers: [84, 94] Generated Node #0,0,0: 94:[84, 94] Operation: 96-2=94 Exploring Operation: 96/2=48, Resulting Numbers: [84, 48] Generated Node #0,0,1: 94:[84, 48] Operation: 96/2=48 Exploring Operation: 84/2=42, Resulting Numbers: [96, 42] Generated Node #0,0,2: 94:[96, 42] Operation: 84/2=42 Exploring Operation: 96-84=12, Resulting Numbers: [2, 12] Generated Node #0,0,3: 94:[2, 12] Operation: 96-84=12 Exploring Operation: 84+2=86, Resulting Numbers: [96, 86] Generated Node #0,0,4: 94:[96, 86] Operation: 84+2=86 Moving to Node #0,3 Current State: 94:[84, 96, 96], Operations: ['64+32=96'] Exploring Operation: 96-96=0, Resulting Numbers: [84, 0] Generated Node #0,3,0: 94:[84, 0] Operation: 96-96=0 Exploring Operation: 96-84=12, Resulting Numbers: [96, 12] Generated Node #0,3,1: 94:[96, 12] Operation: 96-84=12 Exploring Operation: 96-84=12, Resulting Numbers: [96, 12] Generated Node #0,3,2: 94:[96, 12] Operation: 96-84=12 Exploring Operation: 84+96=180, Resulting Numbers: [96, 180] Generated Node #0,3,3: 94:[96, 180] Operation: 84+96=180 Exploring Operation: 96/96=1, Resulting Numbers: [84, 1] Generated Node #0,3,4: 94:[84, 1] Operation: 96/96=1 Moving to Node #0,1 Current State: 94:[64, 96, 52], Operations: ['84-32=52'] Exploring Operation: 64-52=12, Resulting Numbers: [96, 12] Generated Node #0,1,0: 94:[96, 12] Operation: 64-52=12 Exploring Operation: 96-52=44, Resulting Numbers: [64, 44] Generated Node #0,1,1: 94:[64, 44] Operation: 96-52=44 Exploring Operation: 96-64=32, Resulting Numbers: [52, 32] Generated Node #0,1,2: 94:[52, 32] Operation: 96-64=32 Exploring Operation: 64+52=116, Resulting Numbers: [96, 116] Generated Node #0,1,3: 94:[96, 116] Operation: 64+52=116 Exploring Operation: 64+96=160, Resulting Numbers: [52, 160] Generated Node #0,1,4: 94:[52, 160] Operation: 64+96=160 Moving to Node #0,4 Current State: 94:[84, 96, 32], Operations: ['64-32=32'] Exploring Operation: 96/32=3, Resulting Numbers: [84, 3] Generated Node #0,4,0: 94:[84, 3] Operation: 96/32=3 Exploring Operation: 84-32=52, Resulting Numbers: [96, 52] Generated Node #0,4,1: 94:[96, 52] Operation: 84-32=52 Exploring Operation: 96-84=12, Resulting Numbers: [32, 12] Generated Node #0,4,2: 94:[32, 12] Operation: 96-84=12 Exploring Operation: 96-32=64, Resulting Numbers: [84, 64] Generated Node #0,4,3: 94:[84, 64] Operation: 96-32=64 Exploring Operation: 84+32=116, Resulting Numbers: [96, 116] Generated Node #0,4,4: 94:[96, 116] Operation: 84+32=116 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 94:[96, 52], Operations: ['64-32=32', '84-32=52'] Exploring Operation: 96+52=148, Resulting Numbers: [148] 148,94 unequal: No Solution Exploring Operation: 96-52=44, Resulting Numbers: [44] 44,94 unequal: No Solution Exploring Operation: 96*52=4992, Resulting Numbers: [4992] 4992,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 94:[84, 3], Operations: ['64-32=32', '96/32=3'] Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,94 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 84*3=252, Resulting Numbers: [252] 252,94 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 94:[96, 116], Operations: ['64-32=32', '84+32=116'] Exploring Operation: 96*116=11136, Resulting Numbers: [11136] 11136,94 unequal: No Solution Exploring Operation: 116-96=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 96+116=212, Resulting Numbers: [212] 212,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 94:[32, 12], Operations: ['64-32=32', '96-84=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,94 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 94:[84, 64], Operations: ['64-32=32', '96-32=64'] Exploring Operation: 84+64=148, Resulting Numbers: [148] 148,94 unequal: No Solution Exploring Operation: 84-64=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 84*64=5376, Resulting Numbers: [5376] 5376,94 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: 94:[84, 64, 3], Operations: ['96/32=3'] Exploring Operation: 84-64=20, Resulting Numbers: [3, 20] Generated Node #0,2,0: 94:[3, 20] Operation: 84-64=20 Exploring Operation: 84+3=87, Resulting Numbers: [64, 87] Generated Node #0,2,1: 94:[64, 87] Operation: 84+3=87 Exploring Operation: 64-3=61, Resulting Numbers: [84, 61] Generated Node #0,2,2: 94:[84, 61] Operation: 64-3=61 Exploring Operation: 64+3=67, Resulting Numbers: [84, 67] Generated Node #0,2,3: 94:[84, 67] Operation: 64+3=67 Exploring Operation: 84-3=81, Resulting Numbers: [64, 81] Generated Node #0,2,4: 94:[64, 81] Operation: 84-3=81 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[3, 20], Operations: ['96/32=3', '84-64=20'] Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,94 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[64, 87], Operations: ['96/32=3', '84+3=87'] Exploring Operation: 64*87=5568, Resulting Numbers: [5568] 5568,94 unequal: No Solution Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 64+87=151, Resulting Numbers: [151] 151,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[84, 61], Operations: ['96/32=3', '64-3=61'] Exploring Operation: 84-61=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 84+61=145, Resulting Numbers: [145] 145,94 unequal: No Solution Exploring Operation: 84*61=5124, Resulting Numbers: [5124] 5124,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[84, 67], Operations: ['96/32=3', '64+3=67'] Exploring Operation: 84*67=5628, Resulting Numbers: [5628] 5628,94 unequal: No Solution Exploring Operation: 84-67=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 84+67=151, Resulting Numbers: [151] 151,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 94:[64, 81], Operations: ['96/32=3', '84-3=81'] Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,94 unequal: No Solution Exploring Operation: 64*81=5184, Resulting Numbers: [5184] 5184,94 unequal: No Solution Exploring Operation: 64+81=145, Resulting Numbers: [145] 145,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 94:[96, 42], Operations: ['64/32=2', '84/2=42'] Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 96+42=138, Resulting Numbers: [138] 138,94 unequal: No Solution Exploring Operation: 96*42=4032, Resulting Numbers: [4032] 4032,94 unequal: No Solution Moving to Node #0,0,3 Current State: 94:[2, 12], Operations: ['64/32=2', '96-84=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,94 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[84, 94], Operations: ['64/32=2', '96-2=94'] Exploring Operation: 94-84=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 84*94=7896, Resulting Numbers: [7896] 7896,94 unequal: No Solution Exploring Operation: 84+94=178, Resulting Numbers: [178] 178,94 unequal: No Solution Moving to Node #0,0,4 Current State: 94:[96, 86], Operations: ['64/32=2', '84+2=86'] Exploring Operation: 96-86=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 96*86=8256, Resulting Numbers: [8256] 8256,94 unequal: No Solution Exploring Operation: 96+86=182, Resulting Numbers: [182] 182,94 unequal: No Solution Moving to Node #0,3,4 Current State: 94:[84, 1], Operations: ['64+32=96', '96/96=1'] Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 84*1=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,94 unequal: No Solution Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[84, 48], Operations: ['64/32=2', '96/2=48'] Exploring Operation: 84*48=4032, Resulting Numbers: [4032] 4032,94 unequal: No Solution Exploring Operation: 84+48=132, Resulting Numbers: [132] 132,94 unequal: No Solution Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[84, 0], Operations: ['64+32=96', '96-96=0'] Exploring Operation: 84+0=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 84-0=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 84*0=0, Resulting Numbers: [0] 0,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[96, 12], Operations: ['84-32=52', '64-52=12'] Exploring Operation: 96+12=108, Resulting Numbers: [108] 108,94 unequal: No Solution Exploring Operation: 96*12=1152, Resulting Numbers: [1152] 1152,94 unequal: No Solution Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[96, 12], Operations: ['64+32=96', '96-84=12'] Exploring Operation: 96*12=1152, Resulting Numbers: [1152] 1152,94 unequal: No Solution Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 96+12=108, Resulting Numbers: [108] 108,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[96, 12], Operations: ['64+32=96', '96-84=12'] Exploring Operation: 96+12=108, Resulting Numbers: [108] 108,94 unequal: No Solution Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 96*12=1152, Resulting Numbers: [1152] 1152,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[64, 44], Operations: ['84-32=52', '96-52=44'] Exploring Operation: 64+44=108, Resulting Numbers: [108] 108,94 unequal: No Solution Exploring Operation: 64*44=2816, Resulting Numbers: [2816] 2816,94 unequal: No Solution Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[52, 32], Operations: ['84-32=52', '96-64=32'] Exploring Operation: 52*32=1664, Resulting Numbers: [1664] 1664,94 unequal: No Solution Exploring Operation: 52+32=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,94 unequal: No Solution Moving to Node #0,1,3 Current State: 94:[96, 116], Operations: ['84-32=52', '64+52=116'] Exploring Operation: 96*116=11136, Resulting Numbers: [11136] 11136,94 unequal: No Solution Exploring Operation: 96+116=212, Resulting Numbers: [212] 212,94 unequal: No Solution Exploring Operation: 116-96=20, Resulting Numbers: [20] 20,94 unequal: No Solution Moving to Node #0,1,4 Current State: 94:[52, 160], Operations: ['84-32=52', '64+96=160'] Exploring Operation: 52+160=212, Resulting Numbers: [212] 212,94 unequal: No Solution Exploring Operation: 52*160=8320, Resulting Numbers: [8320] 8320,94 unequal: No Solution Exploring Operation: 160-52=108, Resulting Numbers: [108] 108,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[96, 180], Operations: ['64+32=96', '84+96=180'] Exploring Operation: 96+180=276, Resulting Numbers: [276] 276,94 unequal: No Solution Exploring Operation: 96*180=17280, Resulting Numbers: [17280] 17280,94 unequal: No Solution Exploring Operation: 180-96=84, Resulting Numbers: [84] 84,94 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 98, 70, 25, 85 ]
94
[ "98*85=8330", "8330/70=119", "119-25=94" ]
Current State: 94:[98, 70, 25, 85], Operations: [] Exploring Operation: 98*85=8330, Resulting Numbers: [70, 25, 8330] Generated Node #2: [70, 25, 8330] from Operation: 98*85=8330 Current State: 94:[70, 25, 8330], Operations: ['98*85=8330'] Exploring Operation: 8330/70=119, Resulting Numbers: [25, 119] Generated Node #3: [25, 119] from Operation: 8330/70=119 Current State: 94:[25, 119], Operations: ['98*85=8330', '8330/70=119'] Exploring Operation: 119-25=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[98, 70, 25, 85], Operations: [] Exploring Operation: 70+25=95, Resulting Numbers: [98, 85, 95] Generated Node #0,0: 94:[98, 85, 95] Operation: 70+25=95 Exploring Operation: 70-25=45, Resulting Numbers: [98, 85, 45] Generated Node #0,1: 94:[98, 85, 45] Operation: 70-25=45 Moving to Node #0,0 Current State: 94:[98, 85, 95], Operations: ['70+25=95'] Exploring Operation: 98-95=3, Resulting Numbers: [85, 3] Generated Node #0,0,0: 94:[85, 3] Operation: 98-95=3 Exploring Operation: 98-85=13, Resulting Numbers: [95, 13] Generated Node #0,0,1: 94:[95, 13] Operation: 98-85=13 Moving to Node #0,1 Current State: 94:[98, 85, 45], Operations: ['70-25=45'] Exploring Operation: 85-45=40, Resulting Numbers: [98, 40] Generated Node #0,1,0: 94:[98, 40] Operation: 85-45=40 Exploring Operation: 98-85=13, Resulting Numbers: [45, 13] Generated Node #0,1,1: 94:[45, 13] Operation: 98-85=13 Moving to Node #0,0,0 Current State: 94:[85, 3], Operations: ['70+25=95', '98-95=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,94 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[98, 40], Operations: ['70-25=45', '85-45=40'] Exploring Operation: 98-40=58, Resulting Numbers: [58] 58,94 unequal: No Solution Exploring Operation: 98+40=138, Resulting Numbers: [138] 138,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[95, 13], Operations: ['70+25=95', '98-85=13'] Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,94 unequal: No Solution Exploring Operation: 95+13=108, Resulting Numbers: [108] 108,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[45, 13], Operations: ['70-25=45', '98-85=13'] Exploring Operation: 45+13=58, Resulting Numbers: [58] 58,94 unequal: No Solution Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,94 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 80, 24, 20, 27 ]
84
[ "80/20=4", "27*4=108", "108-24=84" ]
Current State: 84:[80, 24, 20, 27], Operations: [] Exploring Operation: 80/20=4, Resulting Numbers: [24, 27, 4] Generated Node #2: [24, 27, 4] from Operation: 80/20=4 Current State: 84:[24, 27, 4], Operations: ['80/20=4'] Exploring Operation: 27*4=108, Resulting Numbers: [24, 108] Generated Node #3: [24, 108] from Operation: 27*4=108 Current State: 84:[24, 108], Operations: ['80/20=4', '27*4=108'] Exploring Operation: 108-24=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[80, 24, 20, 27], Operations: [] Exploring Operation: 80/20=4, Resulting Numbers: [24, 27, 4] Generated Node #0,0: 84:[24, 27, 4] Operation: 80/20=4 Exploring Operation: 24-20=4, Resulting Numbers: [80, 27, 4] Generated Node #0,1: 84:[80, 27, 4] Operation: 24-20=4 Moving to Node #0,0 Current State: 84:[24, 27, 4], Operations: ['80/20=4'] Exploring Operation: 27-24=3, Resulting Numbers: [4, 3] Generated Node #0,0,0: 84:[4, 3] Operation: 27-24=3 Exploring Operation: 24+4=28, Resulting Numbers: [27, 28] Generated Node #0,0,1: 84:[27, 28] Operation: 24+4=28 Moving to Node #0,1 Current State: 84:[80, 27, 4], Operations: ['24-20=4'] Exploring Operation: 80/4=20, Resulting Numbers: [27, 20] Generated Node #0,1,0: 84:[27, 20] Operation: 80/4=20 Exploring Operation: 80+4=84, Resulting Numbers: [27, 84] Generated Node #0,1,1: 84:[27, 84] Operation: 80+4=84 Moving to Node #0,0,0 Current State: 84:[4, 3], Operations: ['80/20=4', '27-24=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[27, 84], Operations: ['24-20=4', '80+4=84'] Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 27+84=111, Resulting Numbers: [111] 111,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[27, 28], Operations: ['80/20=4', '24+4=28'] Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[27, 20], Operations: ['24-20=4', '80/4=20'] Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,84 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 59, 81, 79, 74 ]
89
[ "81-79=2", "74*2=148", "148-59=89" ]
Current State: 89:[59, 81, 79, 74], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [59, 74, 2] Generated Node #2: [59, 74, 2] from Operation: 81-79=2 Current State: 89:[59, 74, 2], Operations: ['81-79=2'] Exploring Operation: 74*2=148, Resulting Numbers: [59, 148] Generated Node #3: [59, 148] from Operation: 74*2=148 Current State: 89:[59, 148], Operations: ['81-79=2', '74*2=148'] Exploring Operation: 148-59=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[59, 81, 79, 74], Operations: [] Exploring Operation: 59+74=133, Resulting Numbers: [81, 79, 133] Generated Node #0,0: 89:[81, 79, 133] Operation: 59+74=133 Exploring Operation: 59+81=140, Resulting Numbers: [79, 74, 140] Generated Node #0,1: 89:[79, 74, 140] Operation: 59+81=140 Exploring Operation: 59+79=138, Resulting Numbers: [81, 74, 138] Generated Node #0,2: 89:[81, 74, 138] Operation: 59+79=138 Exploring Operation: 81-59=22, Resulting Numbers: [79, 74, 22] Generated Node #0,3: 89:[79, 74, 22] Operation: 81-59=22 Moving to Node #0,0 Current State: 89:[81, 79, 133], Operations: ['59+74=133'] Exploring Operation: 81-79=2, Resulting Numbers: [133, 2] Generated Node #0,0,0: 89:[133, 2] Operation: 81-79=2 Exploring Operation: 133-79=54, Resulting Numbers: [81, 54] Generated Node #0,0,1: 89:[81, 54] Operation: 133-79=54 Exploring Operation: 133-81=52, Resulting Numbers: [79, 52] Generated Node #0,0,2: 89:[79, 52] Operation: 133-81=52 Exploring Operation: 81+79=160, Resulting Numbers: [133, 160] Generated Node #0,0,3: 89:[133, 160] Operation: 81+79=160 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[81, 54], Operations: ['59+74=133', '133-79=54'] Exploring Operation: 81-54=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 81+54=135, Resulting Numbers: [135] 135,89 unequal: No Solution Exploring Operation: 81*54=4374, Resulting Numbers: [4374] 4374,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:[79, 52], Operations: ['59+74=133', '133-81=52'] Exploring Operation: 79+52=131, Resulting Numbers: [131] 131,89 unequal: No Solution Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 79*52=4108, Resulting Numbers: [4108] 4108,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,3 Current State: 89:[133, 160], Operations: ['59+74=133', '81+79=160'] Exploring Operation: 133*160=21280, Resulting Numbers: [21280] 21280,89 unequal: No Solution Exploring Operation: 160-133=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 133+160=293, Resulting Numbers: [293] 293,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,0 Current State: 89:[133, 2], Operations: ['59+74=133', '81-79=2'] Exploring Operation: 133*2=266, Resulting Numbers: [266] 266,89 unequal: No Solution Exploring Operation: 133+2=135, Resulting Numbers: [135] 135,89 unequal: No Solution Exploring Operation: 133-2=131, Resulting Numbers: [131] 131,89 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: 89:[81, 74, 138], Operations: ['59+79=138'] Exploring Operation: 81-74=7, Resulting Numbers: [138, 7] Generated Node #0,2,0: 89:[138, 7] Operation: 81-74=7 Exploring Operation: 81+74=155, Resulting Numbers: [138, 155] Generated Node #0,2,1: 89:[138, 155] Operation: 81+74=155 Exploring Operation: 138-74=64, Resulting Numbers: [81, 64] Generated Node #0,2,2: 89:[81, 64] Operation: 138-74=64 Exploring Operation: 138-81=57, Resulting Numbers: [74, 57] Generated Node #0,2,3: 89:[74, 57] Operation: 138-81=57 Moving to Node #0,1 Current State: 89:[79, 74, 140], Operations: ['59+81=140'] Exploring Operation: 79+74=153, Resulting Numbers: [140, 153] Generated Node #0,1,0: 89:[140, 153] Operation: 79+74=153 Exploring Operation: 79-74=5, Resulting Numbers: [140, 5] Generated Node #0,1,1: 89:[140, 5] Operation: 79-74=5 Exploring Operation: 140-74=66, Resulting Numbers: [79, 66] Generated Node #0,1,2: 89:[79, 66] Operation: 140-74=66 Exploring Operation: 140-79=61, Resulting Numbers: [74, 61] Generated Node #0,1,3: 89:[74, 61] Operation: 140-79=61 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[79, 66], Operations: ['59+81=140', '140-74=66'] Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 79+66=145, Resulting Numbers: [145] 145,89 unequal: No Solution Exploring Operation: 79*66=5214, Resulting Numbers: [5214] 5214,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,1,3 Current State: 89:[74, 61], Operations: ['59+81=140', '140-79=61'] Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 74*61=4514, Resulting Numbers: [4514] 4514,89 unequal: No Solution Exploring Operation: 74+61=135, Resulting Numbers: [135] 135,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,1,0 Current State: 89:[140, 153], Operations: ['59+81=140', '79+74=153'] Exploring Operation: 140*153=21420, Resulting Numbers: [21420] 21420,89 unequal: No Solution Exploring Operation: 140+153=293, Resulting Numbers: [293] 293,89 unequal: No Solution Exploring Operation: 153-140=13, Resulting Numbers: [13] 13,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,1,1 Current State: 89:[140, 5], Operations: ['59+81=140', '79-74=5'] Exploring Operation: 140*5=700, Resulting Numbers: [700] 700,89 unequal: No Solution Exploring Operation: 140+5=145, Resulting Numbers: [145] 145,89 unequal: No Solution Exploring Operation: 140/5=28, Resulting Numbers: [28] 28,89 unequal: No Solution Exploring Operation: 140-5=135, Resulting Numbers: [135] 135,89 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: 89:[79, 74, 22], Operations: ['81-59=22'] Exploring Operation: 79+22=101, Resulting Numbers: [74, 101] Generated Node #0,3,0: 89:[74, 101] Operation: 79+22=101 Exploring Operation: 74+22=96, Resulting Numbers: [79, 96] Generated Node #0,3,1: 89:[79, 96] Operation: 74+22=96 Exploring Operation: 74-22=52, Resulting Numbers: [79, 52] Generated Node #0,3,2: 89:[79, 52] Operation: 74-22=52 Exploring Operation: 79-22=57, Resulting Numbers: [74, 57] Generated Node #0,3,3: 89:[74, 57] Operation: 79-22=57 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 89:[79, 96], Operations: ['81-59=22', '74+22=96'] Exploring Operation: 79+96=175, Resulting Numbers: [175] 175,89 unequal: No Solution Exploring Operation: 96-79=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 79*96=7584, Resulting Numbers: [7584] 7584,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,3,0 Current State: 89:[74, 101], Operations: ['81-59=22', '79+22=101'] Exploring Operation: 101-74=27, Resulting Numbers: [27] 27,89 unequal: No Solution Exploring Operation: 74+101=175, Resulting Numbers: [175] 175,89 unequal: No Solution Exploring Operation: 74*101=7474, Resulting Numbers: [7474] 7474,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,3,2 Current State: 89:[79, 52], Operations: ['81-59=22', '74-22=52'] Exploring Operation: 79*52=4108, Resulting Numbers: [4108] 4108,89 unequal: No Solution Exploring Operation: 79+52=131, Resulting Numbers: [131] 131,89 unequal: No Solution Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,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,3,3 Current State: 89:[74, 57], Operations: ['81-59=22', '79-22=57'] Exploring Operation: 74*57=4218, Resulting Numbers: [4218] 4218,89 unequal: No Solution Exploring Operation: 74+57=131, Resulting Numbers: [131] 131,89 unequal: No Solution Exploring Operation: 74-57=17, Resulting Numbers: [17] 17,89 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: 89:[81, 64], Operations: ['59+79=138', '138-74=64'] Exploring Operation: 81*64=5184, Resulting Numbers: [5184] 5184,89 unequal: No Solution Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 81+64=145, Resulting Numbers: [145] 145,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[74, 57], Operations: ['59+79=138', '138-81=57'] Exploring Operation: 74-57=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 74+57=131, Resulting Numbers: [131] 131,89 unequal: No Solution Exploring Operation: 74*57=4218, Resulting Numbers: [4218] 4218,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[138, 155], Operations: ['59+79=138', '81+74=155'] Exploring Operation: 138*155=21390, Resulting Numbers: [21390] 21390,89 unequal: No Solution Exploring Operation: 138+155=293, Resulting Numbers: [293] 293,89 unequal: No Solution Exploring Operation: 155-138=17, Resulting Numbers: [17] 17,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[138, 7], Operations: ['59+79=138', '81-74=7'] Exploring Operation: 138-7=131, Resulting Numbers: [131] 131,89 unequal: No Solution Exploring Operation: 138+7=145, Resulting Numbers: [145] 145,89 unequal: No Solution Exploring Operation: 138*7=966, Resulting Numbers: [966] 966,89 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 63, 48, 17, 16 ]
18
[ "63-48=15", "17+16=33", "33-15=18" ]
Current State: 18:[63, 48, 17, 16], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [17, 16, 15] Generated Node #2: [17, 16, 15] from Operation: 63-48=15 Current State: 18:[17, 16, 15], Operations: ['63-48=15'] Exploring Operation: 17+16=33, Resulting Numbers: [15, 33] Generated Node #3: [15, 33] from Operation: 17+16=33 Current State: 18:[15, 33], Operations: ['63-48=15', '17+16=33'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[63, 48, 17, 16], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [17, 16, 15] Generated Node #0,0: 18:[17, 16, 15] Operation: 63-48=15 Exploring Operation: 48/16=3, Resulting Numbers: [63, 17, 3] Generated Node #0,1: 18:[63, 17, 3] Operation: 48/16=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[17, 16, 15], Operations: ['63-48=15'] Exploring Operation: 17-15=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 18:[16, 2] Operation: 17-15=2 Exploring Operation: 16-15=1, Resulting Numbers: [17, 1] Generated Node #0,0,1: 18:[17, 1] Operation: 16-15=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[16, 2], Operations: ['63-48=15', '17-15=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[63, 48, 17, 16], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [17, 16, 15] Generated Node #0,0: 18:[17, 16, 15] Operation: 63-48=15 Moving to Node #0,0 Current State: 18:[17, 16, 15], Operations: ['63-48=15'] Exploring Operation: 17-15=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 18:[16, 2] Operation: 17-15=2 Moving to Node #0,0,0 Current State: 18:[16, 2], Operations: ['63-48=15', '17-15=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 5, 41, 86, 44 ]
27
[ "86-5=81", "44-41=3", "81/3=27" ]
Current State: 27:[5, 41, 86, 44], Operations: [] Exploring Operation: 86-5=81, Resulting Numbers: [41, 44, 81] Generated Node #2: [41, 44, 81] from Operation: 86-5=81 Current State: 27:[41, 44, 81], Operations: ['86-5=81'] Exploring Operation: 44-41=3, Resulting Numbers: [81, 3] Generated Node #3: [81, 3] from Operation: 44-41=3 Current State: 27:[81, 3], Operations: ['86-5=81', '44-41=3'] Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[5, 41, 86, 44], Operations: [] Exploring Operation: 86-44=42, Resulting Numbers: [5, 41, 42] Generated Node #0,0: 27:[5, 41, 42] Operation: 86-44=42 Moving to Node #0,0 Current State: 27:[5, 41, 42], Operations: ['86-44=42'] Exploring Operation: 42-41=1, Resulting Numbers: [5, 1] Generated Node #0,0,0: 27:[5, 1] Operation: 42-41=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[5, 1], Operations: ['86-44=42', '42-41=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,27 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
[ 92, 80, 78, 76 ]
30
[ "80-78=2", "92/2=46", "76-46=30" ]
Current State: 30:[92, 80, 78, 76], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [92, 76, 2] Generated Node #2: [92, 76, 2] from Operation: 80-78=2 Current State: 30:[92, 76, 2], Operations: ['80-78=2'] Exploring Operation: 92/2=46, Resulting Numbers: [76, 46] Generated Node #3: [76, 46] from Operation: 92/2=46 Current State: 30:[76, 46], Operations: ['80-78=2', '92/2=46'] Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[92, 80, 78, 76], Operations: [] Exploring Operation: 92-78=14, Resulting Numbers: [80, 76, 14] Generated Node #0,0: 30:[80, 76, 14] Operation: 92-78=14 Exploring Operation: 92-80=12, Resulting Numbers: [78, 76, 12] Generated Node #0,1: 30:[78, 76, 12] Operation: 92-80=12 Exploring Operation: 92-76=16, Resulting Numbers: [80, 78, 16] Generated Node #0,2: 30:[80, 78, 16] Operation: 92-76=16 Moving to Node #0,1 Current State: 30:[78, 76, 12], Operations: ['92-80=12'] Exploring Operation: 76-12=64, Resulting Numbers: [78, 64] Generated Node #0,1,0: 30:[78, 64] Operation: 76-12=64 Exploring Operation: 78-76=2, Resulting Numbers: [12, 2] Generated Node #0,1,1: 30:[12, 2] Operation: 78-76=2 Exploring Operation: 78-12=66, Resulting Numbers: [76, 66] Generated Node #0,1,2: 30:[76, 66] Operation: 78-12=66 Moving to Node #0,0 Current State: 30:[80, 76, 14], Operations: ['92-78=14'] Exploring Operation: 80-76=4, Resulting Numbers: [14, 4] Generated Node #0,0,0: 30:[14, 4] Operation: 80-76=4 Exploring Operation: 80-14=66, Resulting Numbers: [76, 66] Generated Node #0,0,1: 30:[76, 66] Operation: 80-14=66 Exploring Operation: 76-14=62, Resulting Numbers: [80, 62] Generated Node #0,0,2: 30:[80, 62] Operation: 76-14=62 Moving to Node #0,2 Current State: 30:[80, 78, 16], Operations: ['92-76=16'] Exploring Operation: 80/16=5, Resulting Numbers: [78, 5] Generated Node #0,2,0: 30:[78, 5] Operation: 80/16=5 Exploring Operation: 80-78=2, Resulting Numbers: [16, 2] Generated Node #0,2,1: 30:[16, 2] Operation: 80-78=2 Exploring Operation: 80-16=64, Resulting Numbers: [78, 64] Generated Node #0,2,2: 30:[78, 64] Operation: 80-16=64 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[16, 2], Operations: ['92-76=16', '80-78=2'] Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,30 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,30 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[78, 5], Operations: ['92-76=16', '80/16=5'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,30 unequal: No Solution Exploring Operation: 78*5=390, Resulting Numbers: [390] 390,30 unequal: No Solution Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[78, 64], Operations: ['92-76=16', '80-16=64'] Exploring Operation: 78+64=142, Resulting Numbers: [142] 142,30 unequal: No Solution Exploring Operation: 78-64=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 78*64=4992, Resulting Numbers: [4992] 4992,30 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: 30:[12, 2], Operations: ['92-80=12', '78-76=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[14, 4], Operations: ['92-78=14', '80-76=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,30 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[76, 66], Operations: ['92-80=12', '78-12=66'] Exploring Operation: 76+66=142, Resulting Numbers: [142] 142,30 unequal: No Solution Exploring Operation: 76*66=5016, Resulting Numbers: [5016] 5016,30 unequal: No Solution Exploring Operation: 76-66=10, Resulting Numbers: [10] 10,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[80, 62], Operations: ['92-78=14', '76-14=62'] Exploring Operation: 80+62=142, Resulting Numbers: [142] 142,30 unequal: No Solution Exploring Operation: 80*62=4960, Resulting Numbers: [4960] 4960,30 unequal: No Solution Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[76, 66], Operations: ['92-78=14', '80-14=66'] Exploring Operation: 76*66=5016, Resulting Numbers: [5016] 5016,30 unequal: No Solution Exploring Operation: 76-66=10, Resulting Numbers: [10] 10,30 unequal: No Solution Exploring Operation: 76+66=142, Resulting Numbers: [142] 142,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[78, 64], Operations: ['92-80=12', '76-12=64'] Exploring Operation: 78+64=142, Resulting Numbers: [142] 142,30 unequal: No Solution Exploring Operation: 78*64=4992, Resulting Numbers: [4992] 4992,30 unequal: No Solution Exploring Operation: 78-64=14, Resulting Numbers: [14] 14,30 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 58, 76, 59, 18 ]
95
[ "76-58=18", "59+18=77", "18+77=95" ]
Current State: 95:[58, 76, 59, 18], Operations: [] Exploring Operation: 76-58=18, Resulting Numbers: [59, 18, 18] Generated Node #2: [59, 18, 18] from Operation: 76-58=18 Current State: 95:[59, 18, 18], Operations: ['76-58=18'] Exploring Operation: 59+18=77, Resulting Numbers: [77] 77,95 equal: Goal Reached Exploring Operation: 18+77=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[58, 76, 59, 18], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [76, 18, 1] Generated Node #0,0: 95:[76, 18, 1] Operation: 59-58=1 Moving to Node #0,0 Current State: 95:[76, 18, 1], Operations: ['59-58=1'] Exploring Operation: 76+18=94, Resulting Numbers: [1, 94] Generated Node #0,0,0: 95:[1, 94] Operation: 76+18=94 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[1, 94], Operations: ['59-58=1', '76+18=94'] Exploring Operation: 1+94=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[58, 76, 59, 18], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [76, 18, 1] Generated Node #0,0: 95:[76, 18, 1] Operation: 59-58=1 Moving to Node #0,0 Current State: 95:[76, 18, 1], Operations: ['59-58=1'] Exploring Operation: 76+18=94, Resulting Numbers: [1, 94] Generated Node #0,0,0: 95:[1, 94] Operation: 76+18=94 Moving to Node #0,0,0 Current State: 95:[1, 94], Operations: ['59-58=1', '76+18=94'] Exploring Operation: 1+94=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 34, 26, 38, 70 ]
42
[ "34+70=104", "104/26=4", "38+4=42" ]
Current State: 42:[34, 26, 38, 70], Operations: [] Exploring Operation: 34+70=104, Resulting Numbers: [26, 38, 104] Generated Node #2: [26, 38, 104] from Operation: 34+70=104 Current State: 42:[26, 38, 104], Operations: ['34+70=104'] Exploring Operation: 104/26=4, Resulting Numbers: [38, 4] Generated Node #3: [38, 4] from Operation: 104/26=4 Current State: 42:[38, 4], Operations: ['34+70=104', '104/26=4'] Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[34, 26, 38, 70], Operations: [] Exploring Operation: 70-26=44, Resulting Numbers: [34, 38, 44] Generated Node #0,0: 42:[34, 38, 44] Operation: 70-26=44 Exploring Operation: 70-38=32, Resulting Numbers: [34, 26, 32] Generated Node #0,1: 42:[34, 26, 32] Operation: 70-38=32 Exploring Operation: 38-34=4, Resulting Numbers: [26, 70, 4] Generated Node #0,2: 42:[26, 70, 4] Operation: 38-34=4 Exploring Operation: 70-34=36, Resulting Numbers: [26, 38, 36] Generated Node #0,3: 42:[26, 38, 36] Operation: 70-34=36 Exploring Operation: 34-26=8, Resulting Numbers: [38, 70, 8] Generated Node #0,4: 42:[38, 70, 8] Operation: 34-26=8 Moving to Node #0,0 Current State: 42:[34, 38, 44], Operations: ['70-26=44'] Exploring Operation: 44-38=6, Resulting Numbers: [34, 6] Generated Node #0,0,0: 42:[34, 6] Operation: 44-38=6 Exploring Operation: 38-34=4, Resulting Numbers: [44, 4] Generated Node #0,0,1: 42:[44, 4] Operation: 38-34=4 Exploring Operation: 34+38=72, Resulting Numbers: [44, 72] Generated Node #0,0,2: 42:[44, 72] Operation: 34+38=72 Exploring Operation: 34+44=78, Resulting Numbers: [38, 78] Generated Node #0,0,3: 42:[38, 78] Operation: 34+44=78 Exploring Operation: 44-34=10, Resulting Numbers: [38, 10] Generated Node #0,0,4: 42:[38, 10] Operation: 44-34=10 Moving to Node #0,3 Current State: 42:[26, 38, 36], Operations: ['70-34=36'] Exploring Operation: 38-26=12, Resulting Numbers: [36, 12] Generated Node #0,3,0: 42:[36, 12] Operation: 38-26=12 Exploring Operation: 38-36=2, Resulting Numbers: [26, 2] Generated Node #0,3,1: 42:[26, 2] Operation: 38-36=2 Exploring Operation: 36-26=10, Resulting Numbers: [38, 10] Generated Node #0,3,2: 42:[38, 10] Operation: 36-26=10 Exploring Operation: 26+36=62, Resulting Numbers: [38, 62] Generated Node #0,3,3: 42:[38, 62] Operation: 26+36=62 Exploring Operation: 26+38=64, Resulting Numbers: [36, 64] Generated Node #0,3,4: 42:[36, 64] Operation: 26+38=64 Moving to Node #0,1 Current State: 42:[34, 26, 32], Operations: ['70-38=32'] Exploring Operation: 32-26=6, Resulting Numbers: [34, 6] Generated Node #0,1,0: 42:[34, 6] Operation: 32-26=6 Exploring Operation: 34-32=2, Resulting Numbers: [26, 2] Generated Node #0,1,1: 42:[26, 2] Operation: 34-32=2 Exploring Operation: 34+26=60, Resulting Numbers: [32, 60] Generated Node #0,1,2: 42:[32, 60] Operation: 34+26=60 Exploring Operation: 26+32=58, Resulting Numbers: [34, 58] Generated Node #0,1,3: 42:[34, 58] Operation: 26+32=58 Exploring Operation: 34-26=8, Resulting Numbers: [32, 8] Generated Node #0,1,4: 42:[32, 8] Operation: 34-26=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[26, 2], Operations: ['70-38=32', '34-32=2'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,42 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,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,0 Current State: 42:[34, 6], Operations: ['70-38=32', '32-26=6'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,42 unequal: No Solution Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,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,4 Current State: 42:[32, 8], Operations: ['70-38=32', '34-26=8'] Exploring Operation: 32+8=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 32*8=256, Resulting Numbers: [256] 256,42 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,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,3 Current State: 42:[34, 58], Operations: ['70-38=32', '26+32=58'] Exploring Operation: 34+58=92, Resulting Numbers: [92] 92,42 unequal: No Solution Exploring Operation: 34*58=1972, Resulting Numbers: [1972] 1972,42 unequal: No Solution Exploring Operation: 58-34=24, Resulting Numbers: [24] 24,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,2 Current State: 42:[32, 60], Operations: ['70-38=32', '34+26=60'] Exploring Operation: 32+60=92, Resulting Numbers: [92] 92,42 unequal: No Solution Exploring Operation: 32*60=1920, Resulting Numbers: [1920] 1920,42 unequal: No Solution Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 42:[38, 70, 8], Operations: ['34-26=8'] Exploring Operation: 70-38=32, Resulting Numbers: [8, 32] Generated Node #0,4,0: 42:[8, 32] Operation: 70-38=32 Exploring Operation: 38-8=30, Resulting Numbers: [70, 30] Generated Node #0,4,1: 42:[70, 30] Operation: 38-8=30 Exploring Operation: 70-8=62, Resulting Numbers: [38, 62] Generated Node #0,4,2: 42:[38, 62] Operation: 70-8=62 Exploring Operation: 38+8=46, Resulting Numbers: [70, 46] Generated Node #0,4,3: 42:[70, 46] Operation: 38+8=46 Exploring Operation: 70+8=78, Resulting Numbers: [38, 78] Generated Node #0,4,4: 42:[38, 78] Operation: 70+8=78 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 42:[8, 32], Operations: ['34-26=8', '70-38=32'] Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 8*32=256, Resulting Numbers: [256] 256,42 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,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,4,2 Current State: 42:[38, 62], Operations: ['34-26=8', '70-8=62'] Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,42 unequal: No Solution Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,42 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,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,4,3 Current State: 42:[70, 46], Operations: ['34-26=8', '38+8=46'] Exploring Operation: 70*46=3220, Resulting Numbers: [3220] 3220,42 unequal: No Solution Exploring Operation: 70+46=116, Resulting Numbers: [116] 116,42 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,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,4,1 Current State: 42:[70, 30], Operations: ['34-26=8', '38-8=30'] Exploring Operation: 70*30=2100, Resulting Numbers: [2100] 2100,42 unequal: No Solution Exploring Operation: 70+30=100, Resulting Numbers: [100] 100,42 unequal: No Solution Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,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,4,4 Current State: 42:[38, 78], Operations: ['34-26=8', '70+8=78'] Exploring Operation: 38*78=2964, Resulting Numbers: [2964] 2964,42 unequal: No Solution Exploring Operation: 78-38=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 38+78=116, Resulting Numbers: [116] 116,42 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: 42:[26, 70, 4], Operations: ['38-34=4'] Exploring Operation: 26+4=30, Resulting Numbers: [70, 30] Generated Node #0,2,0: 42:[70, 30] Operation: 26+4=30 Exploring Operation: 70-4=66, Resulting Numbers: [26, 66] Generated Node #0,2,1: 42:[26, 66] Operation: 70-4=66 Exploring Operation: 70+4=74, Resulting Numbers: [26, 74] Generated Node #0,2,2: 42:[26, 74] Operation: 70+4=74 Exploring Operation: 70-26=44, Resulting Numbers: [4, 44] Generated Node #0,2,3: 42:[4, 44] Operation: 70-26=44 Exploring Operation: 26-4=22, Resulting Numbers: [70, 22] Generated Node #0,2,4: 42:[70, 22] Operation: 26-4=22 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 42:[4, 44], Operations: ['38-34=4', '70-26=44'] Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 4*44=176, Resulting Numbers: [176] 176,42 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,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,1 Current State: 42:[26, 66], Operations: ['38-34=4', '70-4=66'] Exploring Operation: 26*66=1716, Resulting Numbers: [1716] 1716,42 unequal: No Solution Exploring Operation: 26+66=92, Resulting Numbers: [92] 92,42 unequal: No Solution Exploring Operation: 66-26=40, Resulting Numbers: [40] 40,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,4 Current State: 42:[70, 22], Operations: ['38-34=4', '26-4=22'] Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,42 unequal: No Solution Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,42 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,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,0 Current State: 42:[70, 30], Operations: ['38-34=4', '26+4=30'] Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 70+30=100, Resulting Numbers: [100] 100,42 unequal: No Solution Exploring Operation: 70*30=2100, Resulting Numbers: [2100] 2100,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,2 Current State: 42:[26, 74], Operations: ['38-34=4', '70+4=74'] Exploring Operation: 26*74=1924, Resulting Numbers: [1924] 1924,42 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 26+74=100, Resulting Numbers: [100] 100,42 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: 42:[44, 4], Operations: ['70-26=44', '38-34=4'] Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,42 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[26, 2], Operations: ['70-34=36', '38-36=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,42 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[38, 10], Operations: ['70-34=36', '36-26=10'] Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,42 unequal: No Solution Moving to Node #0,0,4 Current State: 42:[38, 10], Operations: ['70-26=44', '44-34=10'] Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,42 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[34, 6], Operations: ['70-26=44', '44-38=6'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,42 unequal: No Solution Moving to Node #0,3,0 Current State: 42:[36, 12], Operations: ['70-34=36', '38-26=12'] Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 36+12=48, Resulting Numbers: [48] 48,42 unequal: No Solution Exploring Operation: 36*12=432, Resulting Numbers: [432] 432,42 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[38, 62], Operations: ['70-34=36', '26+36=62'] Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,42 unequal: No Solution Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,42 unequal: No Solution Moving to Node #0,3,4 Current State: 42:[36, 64], Operations: ['70-34=36', '26+38=64'] Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 36+64=100, Resulting Numbers: [100] 100,42 unequal: No Solution Exploring Operation: 36*64=2304, Resulting Numbers: [2304] 2304,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[44, 72], Operations: ['70-26=44', '34+38=72'] Exploring Operation: 44+72=116, Resulting Numbers: [116] 116,42 unequal: No Solution Exploring Operation: 44*72=3168, Resulting Numbers: [3168] 3168,42 unequal: No Solution Exploring Operation: 72-44=28, Resulting Numbers: [28] 28,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[38, 78], Operations: ['70-26=44', '34+44=78'] Exploring Operation: 38+78=116, Resulting Numbers: [116] 116,42 unequal: No Solution Exploring Operation: 78-38=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 38*78=2964, Resulting Numbers: [2964] 2964,42 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 81, 75, 3, 65 ]
67
[ "81-75=6", "6/3=2", "65+2=67" ]
Current State: 67:[81, 75, 3, 65], Operations: [] Exploring Operation: 81-75=6, Resulting Numbers: [3, 65, 6] Generated Node #2: [3, 65, 6] from Operation: 81-75=6 Current State: 67:[3, 65, 6], Operations: ['81-75=6'] Exploring Operation: 6/3=2, Resulting Numbers: [65, 2] Generated Node #3: [65, 2] from Operation: 6/3=2 Current State: 67:[65, 2], Operations: ['81-75=6', '6/3=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[81, 75, 3, 65], Operations: [] Exploring Operation: 81-3=78, Resulting Numbers: [75, 65, 78] Generated Node #0,0: 67:[75, 65, 78] Operation: 81-3=78 Exploring Operation: 75-3=72, Resulting Numbers: [81, 65, 72] Generated Node #0,1: 67:[81, 65, 72] Operation: 75-3=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[75, 65, 78], Operations: ['81-3=78'] Exploring Operation: 78-65=13, Resulting Numbers: [75, 13] Generated Node #0,0,0: 67:[75, 13] Operation: 78-65=13 Exploring Operation: 78-75=3, Resulting Numbers: [65, 3] Generated Node #0,0,1: 67:[65, 3] Operation: 78-75=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[75, 13], Operations: ['81-3=78', '78-65=13'] Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,67 unequal: No Solution Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[65, 3], Operations: ['81-3=78', '78-75=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,67 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[81, 65, 72], Operations: ['75-3=72'] Exploring Operation: 81-72=9, Resulting Numbers: [65, 9] Generated Node #0,1,0: 67:[65, 9] Operation: 81-72=9 Exploring Operation: 81-65=16, Resulting Numbers: [72, 16] Generated Node #0,1,1: 67:[72, 16] Operation: 81-65=16 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[72, 16], Operations: ['75-3=72', '81-65=16'] Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,67 unequal: No Solution Exploring Operation: 72+16=88, Resulting Numbers: [88] 88,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[65, 9], Operations: ['75-3=72', '81-72=9'] Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,67 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 40, 61, 42, 78 ]
65
[ "40+61=101", "78-42=36", "101-36=65" ]
Current State: 65:[40, 61, 42, 78], Operations: [] Exploring Operation: 40+61=101, Resulting Numbers: [42, 78, 101] Generated Node #2: [42, 78, 101] from Operation: 40+61=101 Current State: 65:[42, 78, 101], Operations: ['40+61=101'] Exploring Operation: 78-42=36, Resulting Numbers: [101, 36] Generated Node #3: [101, 36] from Operation: 78-42=36 Current State: 65:[101, 36], Operations: ['40+61=101', '78-42=36'] Exploring Operation: 101-36=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[40, 61, 42, 78], Operations: [] Exploring Operation: 40+42=82, Resulting Numbers: [61, 78, 82] Generated Node #0,0: 65:[61, 78, 82] Operation: 40+42=82 Exploring Operation: 42-40=2, Resulting Numbers: [61, 78, 2] Generated Node #0,1: 65:[61, 78, 2] Operation: 42-40=2 Exploring Operation: 61-40=21, Resulting Numbers: [42, 78, 21] Generated Node #0,2: 65:[42, 78, 21] Operation: 61-40=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[61, 78, 2], Operations: ['42-40=2'] Exploring Operation: 78-61=17, Resulting Numbers: [2, 17] Generated Node #0,1,0: 65:[2, 17] Operation: 78-61=17 Exploring Operation: 78-2=76, Resulting Numbers: [61, 76] Generated Node #0,1,1: 65:[61, 76] Operation: 78-2=76 Exploring Operation: 61+2=63, Resulting Numbers: [78, 63] Generated Node #0,1,2: 65:[78, 63] Operation: 61+2=63 Moving to Node #0,1,0 Current State: 65:[2, 17], Operations: ['42-40=2', '78-61=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,65 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[61, 76], Operations: ['42-40=2', '78-2=76'] Exploring Operation: 61+76=137, Resulting Numbers: [137] 137,65 unequal: No Solution Exploring Operation: 76-61=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 61*76=4636, Resulting Numbers: [4636] 4636,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[78, 63], Operations: ['42-40=2', '61+2=63'] Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 78*63=4914, Resulting Numbers: [4914] 4914,65 unequal: No Solution Exploring Operation: 78+63=141, Resulting Numbers: [141] 141,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[61, 78, 82], Operations: ['40+42=82'] Exploring Operation: 82-78=4, Resulting Numbers: [61, 4] Generated Node #0,0,0: 65:[61, 4] Operation: 82-78=4 Exploring Operation: 78-61=17, Resulting Numbers: [82, 17] Generated Node #0,0,1: 65:[82, 17] Operation: 78-61=17 Exploring Operation: 82-61=21, Resulting Numbers: [78, 21] Generated Node #0,0,2: 65:[78, 21] Operation: 82-61=21 Moving to Node #0,0,0 Current State: 65:[61, 4], Operations: ['40+42=82', '82-78=4'] Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,65 unequal: No Solution Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[40, 61, 42, 78], Operations: [] Exploring Operation: 40+42=82, Resulting Numbers: [61, 78, 82] Generated Node #0,0: 65:[61, 78, 82] Operation: 40+42=82 Moving to Node #0,0 Current State: 65:[61, 78, 82], Operations: ['40+42=82'] Exploring Operation: 82-78=4, Resulting Numbers: [61, 4] Generated Node #0,0,0: 65:[61, 4] Operation: 82-78=4 Moving to Node #0,0,0 Current State: 65:[61, 4], Operations: ['40+42=82', '82-78=4'] Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 34, 10, 57, 76 ]
33
[ "34+10=44", "57*44=2508", "2508/76=33" ]
Current State: 33:[34, 10, 57, 76], Operations: [] Exploring Operation: 34+10=44, Resulting Numbers: [57, 76, 44] Generated Node #2: [57, 76, 44] from Operation: 34+10=44 Current State: 33:[57, 76, 44], Operations: ['34+10=44'] Exploring Operation: 57*44=2508, Resulting Numbers: [76, 2508] Generated Node #3: [76, 2508] from Operation: 57*44=2508 Current State: 33:[76, 2508], Operations: ['34+10=44', '57*44=2508'] Exploring Operation: 2508/76=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[34, 10, 57, 76], Operations: [] Exploring Operation: 57-10=47, Resulting Numbers: [34, 76, 47] Generated Node #0,0: 33:[34, 76, 47] Operation: 57-10=47 Exploring Operation: 76-57=19, Resulting Numbers: [34, 10, 19] Generated Node #0,1: 33:[34, 10, 19] Operation: 76-57=19 Exploring Operation: 76-34=42, Resulting Numbers: [10, 57, 42] Generated Node #0,2: 33:[10, 57, 42] Operation: 76-34=42 Exploring Operation: 57-34=23, Resulting Numbers: [10, 76, 23] Generated Node #0,3: 33:[10, 76, 23] Operation: 57-34=23 Moving to Node #0,1 Current State: 33:[34, 10, 19], Operations: ['76-57=19'] Exploring Operation: 10+19=29, Resulting Numbers: [34, 29] Generated Node #0,1,0: 33:[34, 29] Operation: 10+19=29 Exploring Operation: 34-19=15, Resulting Numbers: [10, 15] Generated Node #0,1,1: 33:[10, 15] Operation: 34-19=15 Exploring Operation: 19-10=9, Resulting Numbers: [34, 9] Generated Node #0,1,2: 33:[34, 9] Operation: 19-10=9 Exploring Operation: 34-10=24, Resulting Numbers: [19, 24] Generated Node #0,1,3: 33:[19, 24] Operation: 34-10=24 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[34, 9], Operations: ['76-57=19', '19-10=9'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,33 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[34, 29], Operations: ['76-57=19', '10+19=29'] Exploring Operation: 34*29=986, Resulting Numbers: [986] 986,33 unequal: No Solution Exploring Operation: 34+29=63, Resulting Numbers: [63] 63,33 unequal: No Solution Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[10, 15], Operations: ['76-57=19', '34-19=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 33:[19, 24], Operations: ['76-57=19', '34-10=24'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 33:[10, 57, 42], Operations: ['76-34=42'] Exploring Operation: 57-42=15, Resulting Numbers: [10, 15] Generated Node #0,2,0: 33:[10, 15] Operation: 57-42=15 Exploring Operation: 10+57=67, Resulting Numbers: [42, 67] Generated Node #0,2,1: 33:[42, 67] Operation: 10+57=67 Exploring Operation: 42-10=32, Resulting Numbers: [57, 32] Generated Node #0,2,2: 33:[57, 32] Operation: 42-10=32 Exploring Operation: 57-10=47, Resulting Numbers: [42, 47] Generated Node #0,2,3: 33:[42, 47] Operation: 57-10=47 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[10, 15], Operations: ['76-34=42', '57-42=15'] Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,33 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 33:[42, 47], Operations: ['76-34=42', '57-10=47'] Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 42*47=1974, Resulting Numbers: [1974] 1974,33 unequal: No Solution Exploring Operation: 42+47=89, Resulting Numbers: [89] 89,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[57, 32], Operations: ['76-34=42', '42-10=32'] Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 57+32=89, Resulting Numbers: [89] 89,33 unequal: No Solution Exploring Operation: 57*32=1824, Resulting Numbers: [1824] 1824,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[42, 67], Operations: ['76-34=42', '10+57=67'] Exploring Operation: 42*67=2814, Resulting Numbers: [2814] 2814,33 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 42+67=109, Resulting Numbers: [109] 109,33 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: 33:[10, 76, 23], Operations: ['57-34=23'] Exploring Operation: 10+23=33, Resulting Numbers: [76, 33] Generated Node #0,3,0: 33:[76, 33] Operation: 10+23=33 Exploring Operation: 76-10=66, Resulting Numbers: [23, 66] Generated Node #0,3,1: 33:[23, 66] Operation: 76-10=66 Exploring Operation: 76-23=53, Resulting Numbers: [10, 53] Generated Node #0,3,2: 33:[10, 53] Operation: 76-23=53 Exploring Operation: 23-10=13, Resulting Numbers: [76, 13] Generated Node #0,3,3: 33:[76, 13] Operation: 23-10=13 Moving to Node #0,0 Current State: 33:[34, 76, 47], Operations: ['57-10=47'] Exploring Operation: 76-47=29, Resulting Numbers: [34, 29] Generated Node #0,0,0: 33:[34, 29] Operation: 76-47=29 Exploring Operation: 76-34=42, Resulting Numbers: [47, 42] Generated Node #0,0,1: 33:[47, 42] Operation: 76-34=42 Exploring Operation: 34+76=110, Resulting Numbers: [47, 110] Generated Node #0,0,2: 33:[47, 110] Operation: 34+76=110 Exploring Operation: 47-34=13, Resulting Numbers: [76, 13] Generated Node #0,0,3: 33:[76, 13] Operation: 47-34=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[34, 29], Operations: ['57-10=47', '76-47=29'] Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 34+29=63, Resulting Numbers: [63] 63,33 unequal: No Solution Exploring Operation: 34*29=986, Resulting Numbers: [986] 986,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[47, 42], Operations: ['57-10=47', '76-34=42'] Exploring Operation: 47*42=1974, Resulting Numbers: [1974] 1974,33 unequal: No Solution Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,33 unequal: No Solution Exploring Operation: 47+42=89, Resulting Numbers: [89] 89,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 33:[76, 13], Operations: ['57-10=47', '47-34=13'] Exploring Operation: 76*13=988, Resulting Numbers: [988] 988,33 unequal: No Solution Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,33 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 33:[47, 110], Operations: ['57-10=47', '34+76=110'] Exploring Operation: 110-47=63, Resulting Numbers: [63] 63,33 unequal: No Solution Exploring Operation: 47+110=157, Resulting Numbers: [157] 157,33 unequal: No Solution Exploring Operation: 47*110=5170, Resulting Numbers: [5170] 5170,33 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: 33:[10, 53], Operations: ['57-34=23', '76-23=53'] Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 10*53=530, Resulting Numbers: [530] 530,33 unequal: No Solution Exploring Operation: 10+53=63, Resulting Numbers: [63] 63,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[23, 66], Operations: ['57-34=23', '76-10=66'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 23*66=1518, Resulting Numbers: [1518] 1518,33 unequal: No Solution Exploring Operation: 23+66=89, Resulting Numbers: [89] 89,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[76, 33], Operations: ['57-34=23', '10+23=33'] Exploring Operation: 76*33=2508, Resulting Numbers: [2508] 2508,33 unequal: No Solution Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 76+33=109, Resulting Numbers: [109] 109,33 unequal: No Solution Moving to Node #0,3,3 Current State: 33:[76, 13], Operations: ['57-34=23', '23-10=13'] Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,33 unequal: No Solution Exploring Operation: 76*13=988, Resulting Numbers: [988] 988,33 unequal: No Solution Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,33 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 26, 15, 88, 30 ]
17
[ "26+15=41", "88-30=58", "58-41=17" ]
Current State: 17:[26, 15, 88, 30], Operations: [] Exploring Operation: 26+15=41, Resulting Numbers: [88, 30, 41] Generated Node #2: [88, 30, 41] from Operation: 26+15=41 Current State: 17:[88, 30, 41], Operations: ['26+15=41'] Exploring Operation: 88-30=58, Resulting Numbers: [41, 58] Generated Node #3: [41, 58] from Operation: 88-30=58 Current State: 17:[41, 58], Operations: ['26+15=41', '88-30=58'] Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[26, 15, 88, 30], Operations: [] Exploring Operation: 88-15=73, Resulting Numbers: [26, 30, 73] Generated Node #0,0: 17:[26, 30, 73] Operation: 88-15=73 Exploring Operation: 88-26=62, Resulting Numbers: [15, 30, 62] Generated Node #0,1: 17:[15, 30, 62] Operation: 88-26=62 Exploring Operation: 88-30=58, Resulting Numbers: [26, 15, 58] Generated Node #0,2: 17:[26, 15, 58] Operation: 88-30=58 Exploring Operation: 30-15=15, Resulting Numbers: [26, 88, 15] Generated Node #0,3: 17:[26, 88, 15] Operation: 30-15=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[26, 15, 58], Operations: ['88-30=58'] Exploring Operation: 58-15=43, Resulting Numbers: [26, 43] Generated Node #0,2,0: 17:[26, 43] Operation: 58-15=43 Exploring Operation: 26-15=11, Resulting Numbers: [58, 11] Generated Node #0,2,1: 17:[58, 11] Operation: 26-15=11 Exploring Operation: 26+15=41, Resulting Numbers: [58, 41] Generated Node #0,2,2: 17:[58, 41] Operation: 26+15=41 Exploring Operation: 58-26=32, Resulting Numbers: [15, 32] Generated Node #0,2,3: 17:[15, 32] Operation: 58-26=32 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 17:[15, 32], Operations: ['88-30=58', '58-26=32'] Exploring Operation: 15*32=480, Resulting Numbers: [480] 480,17 unequal: No Solution Exploring Operation: 15+32=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[26, 15, 88, 30], Operations: [] Exploring Operation: 88-30=58, Resulting Numbers: [26, 15, 58] Generated Node #0,2: 17:[26, 15, 58] Operation: 88-30=58 Moving to Node #0,2 Current State: 17:[26, 15, 58], Operations: ['88-30=58'] Exploring Operation: 58-26=32, Resulting Numbers: [15, 32] Generated Node #0,2,3: 17:[15, 32] Operation: 58-26=32 Moving to Node #0,2,3 Current State: 17:[15, 32], Operations: ['88-30=58', '58-26=32'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 58, 51, 91, 97 ]
55
[ "51*97=4947", "58+4947=5005", "5005/91=55" ]
Current State: 55:[58, 51, 91, 97], Operations: [] Exploring Operation: 51*97=4947, Resulting Numbers: [58, 91, 4947] Generated Node #2: [58, 91, 4947] from Operation: 51*97=4947 Current State: 55:[58, 91, 4947], Operations: ['51*97=4947'] Exploring Operation: 58+4947=5005, Resulting Numbers: [91, 5005] Generated Node #3: [91, 5005] from Operation: 58+4947=5005 Current State: 55:[91, 5005], Operations: ['51*97=4947', '58+4947=5005'] Exploring Operation: 5005/91=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[58, 51, 91, 97], Operations: [] Exploring Operation: 91-51=40, Resulting Numbers: [58, 97, 40] Generated Node #0,0: 55:[58, 97, 40] Operation: 91-51=40 Exploring Operation: 97-91=6, Resulting Numbers: [58, 51, 6] Generated Node #0,1: 55:[58, 51, 6] Operation: 97-91=6 Exploring Operation: 97-58=39, Resulting Numbers: [51, 91, 39] Generated Node #0,2: 55:[51, 91, 39] Operation: 97-58=39 Exploring Operation: 97-51=46, Resulting Numbers: [58, 91, 46] Generated Node #0,3: 55:[58, 91, 46] Operation: 97-51=46 Exploring Operation: 91-58=33, Resulting Numbers: [51, 97, 33] Generated Node #0,4: 55:[51, 97, 33] Operation: 91-58=33 Moving to Node #0,1 Current State: 55:[58, 51, 6], Operations: ['97-91=6'] Exploring Operation: 51+6=57, Resulting Numbers: [58, 57] Generated Node #0,1,0: 55:[58, 57] Operation: 51+6=57 Exploring Operation: 51-6=45, Resulting Numbers: [58, 45] Generated Node #0,1,1: 55:[58, 45] Operation: 51-6=45 Exploring Operation: 58-51=7, Resulting Numbers: [6, 7] Generated Node #0,1,2: 55:[6, 7] Operation: 58-51=7 Exploring Operation: 58+6=64, Resulting Numbers: [51, 64] Generated Node #0,1,3: 55:[51, 64] Operation: 58+6=64 Exploring Operation: 58-6=52, Resulting Numbers: [51, 52] Generated Node #0,1,4: 55:[51, 52] Operation: 58-6=52 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[6, 7], Operations: ['97-91=6', '58-51=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[58, 57], Operations: ['97-91=6', '51+6=57'] Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,55 unequal: No Solution Exploring Operation: 58*57=3306, Resulting Numbers: [3306] 3306,55 unequal: No Solution Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 55:[51, 52], Operations: ['97-91=6', '58-6=52'] Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 51+52=103, Resulting Numbers: [103] 103,55 unequal: No Solution Exploring Operation: 51*52=2652, Resulting Numbers: [2652] 2652,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[58, 45], Operations: ['97-91=6', '51-6=45'] Exploring Operation: 58+45=103, Resulting Numbers: [103] 103,55 unequal: No Solution Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 58*45=2610, Resulting Numbers: [2610] 2610,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 55:[51, 64], Operations: ['97-91=6', '58+6=64'] Exploring Operation: 51+64=115, Resulting Numbers: [115] 115,55 unequal: No Solution Exploring Operation: 51*64=3264, Resulting Numbers: [3264] 3264,55 unequal: No Solution Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,55 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: 55:[58, 91, 46], Operations: ['97-51=46'] Exploring Operation: 91+46=137, Resulting Numbers: [58, 137] Generated Node #0,3,0: 55:[58, 137] Operation: 91+46=137 Exploring Operation: 91-46=45, Resulting Numbers: [58, 45] Generated Node #0,3,1: 55:[58, 45] Operation: 91-46=45 Exploring Operation: 58+46=104, Resulting Numbers: [91, 104] Generated Node #0,3,2: 55:[91, 104] Operation: 58+46=104 Exploring Operation: 91-58=33, Resulting Numbers: [46, 33] Generated Node #0,3,3: 55:[46, 33] Operation: 91-58=33 Exploring Operation: 58-46=12, Resulting Numbers: [91, 12] Generated Node #0,3,4: 55:[91, 12] Operation: 58-46=12 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 55:[58, 45], Operations: ['97-51=46', '91-46=45'] Exploring Operation: 58*45=2610, Resulting Numbers: [2610] 2610,55 unequal: No Solution Exploring Operation: 58+45=103, Resulting Numbers: [103] 103,55 unequal: No Solution Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 55:[46, 33], Operations: ['97-51=46', '91-58=33'] Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 46*33=1518, Resulting Numbers: [1518] 1518,55 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 55:[91, 12], Operations: ['97-51=46', '58-46=12'] Exploring Operation: 91*12=1092, Resulting Numbers: [1092] 1092,55 unequal: No Solution Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 91+12=103, Resulting Numbers: [103] 103,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 55:[58, 137], Operations: ['97-51=46', '91+46=137'] Exploring Operation: 58*137=7946, Resulting Numbers: [7946] 7946,55 unequal: No Solution Exploring Operation: 137-58=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 58+137=195, Resulting Numbers: [195] 195,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 55:[91, 104], Operations: ['97-51=46', '58+46=104'] Exploring Operation: 91*104=9464, Resulting Numbers: [9464] 9464,55 unequal: No Solution Exploring Operation: 104-91=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 91+104=195, Resulting Numbers: [195] 195,55 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: 55:[51, 91, 39], Operations: ['97-58=39'] Exploring Operation: 91-39=52, Resulting Numbers: [51, 52] Generated Node #0,2,0: 55:[51, 52] Operation: 91-39=52 Exploring Operation: 51+39=90, Resulting Numbers: [91, 90] Generated Node #0,2,1: 55:[91, 90] Operation: 51+39=90 Exploring Operation: 51-39=12, Resulting Numbers: [91, 12] Generated Node #0,2,2: 55:[91, 12] Operation: 51-39=12 Exploring Operation: 91-51=40, Resulting Numbers: [39, 40] Generated Node #0,2,3: 55:[39, 40] Operation: 91-51=40 Exploring Operation: 91+39=130, Resulting Numbers: [51, 130] Generated Node #0,2,4: 55:[51, 130] Operation: 91+39=130 Moving to Node #0,0 Current State: 55:[58, 97, 40], Operations: ['91-51=40'] Exploring Operation: 97-40=57, Resulting Numbers: [58, 57] Generated Node #0,0,0: 55:[58, 57] Operation: 97-40=57 Exploring Operation: 97+40=137, Resulting Numbers: [58, 137] Generated Node #0,0,1: 55:[58, 137] Operation: 97+40=137 Exploring Operation: 97-58=39, Resulting Numbers: [40, 39] Generated Node #0,0,2: 55:[40, 39] Operation: 97-58=39 Exploring Operation: 58+40=98, Resulting Numbers: [97, 98] Generated Node #0,0,3: 55:[97, 98] Operation: 58+40=98 Exploring Operation: 58-40=18, Resulting Numbers: [97, 18] Generated Node #0,0,4: 55:[97, 18] Operation: 58-40=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[58, 57], Operations: ['91-51=40', '97-40=57'] Exploring Operation: 58+57=115, Resulting Numbers: [115] 115,55 unequal: No Solution Exploring Operation: 58*57=3306, Resulting Numbers: [3306] 3306,55 unequal: No Solution Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[40, 39], Operations: ['91-51=40', '97-58=39'] Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,55 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 55:[97, 18], Operations: ['91-51=40', '58-40=18'] Exploring Operation: 97*18=1746, Resulting Numbers: [1746] 1746,55 unequal: No Solution Exploring Operation: 97+18=115, Resulting Numbers: [115] 115,55 unequal: No Solution Exploring Operation: 97-18=79, Resulting Numbers: [79] 79,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[58, 137], Operations: ['91-51=40', '97+40=137'] Exploring Operation: 137-58=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 58+137=195, Resulting Numbers: [195] 195,55 unequal: No Solution Exploring Operation: 58*137=7946, Resulting Numbers: [7946] 7946,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 55:[97, 98], Operations: ['91-51=40', '58+40=98'] Exploring Operation: 98-97=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 97*98=9506, Resulting Numbers: [9506] 9506,55 unequal: No Solution Exploring Operation: 97+98=195, Resulting Numbers: [195] 195,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 55:[51, 97, 33], Operations: ['91-58=33'] Exploring Operation: 51+33=84, Resulting Numbers: [97, 84] Generated Node #0,4,0: 55:[97, 84] Operation: 51+33=84 Exploring Operation: 97+33=130, Resulting Numbers: [51, 130] Generated Node #0,4,1: 55:[51, 130] Operation: 97+33=130 Exploring Operation: 97-33=64, Resulting Numbers: [51, 64] Generated Node #0,4,2: 55:[51, 64] Operation: 97-33=64 Exploring Operation: 51-33=18, Resulting Numbers: [97, 18] Generated Node #0,4,3: 55:[97, 18] Operation: 51-33=18 Exploring Operation: 97-51=46, Resulting Numbers: [33, 46] Generated Node #0,4,4: 55:[33, 46] Operation: 97-51=46 Moving to Node #0,2,0 Current State: 55:[51, 52], Operations: ['97-58=39', '91-39=52'] Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 51*52=2652, Resulting Numbers: [2652] 2652,55 unequal: No Solution Exploring Operation: 51+52=103, Resulting Numbers: [103] 103,55 unequal: No Solution Moving to Node #0,4,2 Current State: 55:[51, 64], Operations: ['91-58=33', '97-33=64'] Exploring Operation: 51+64=115, Resulting Numbers: [115] 115,55 unequal: No Solution Exploring Operation: 51*64=3264, Resulting Numbers: [3264] 3264,55 unequal: No Solution Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,55 unequal: No Solution Moving to Node #0,4,4 Current State: 55:[33, 46], Operations: ['91-58=33', '97-51=46'] Exploring Operation: 33+46=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 33*46=1518, Resulting Numbers: [1518] 1518,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[39, 40], Operations: ['97-58=39', '91-51=40'] Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 39*40=1560, Resulting Numbers: [1560] 1560,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[91, 12], Operations: ['97-58=39', '51-39=12'] Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 91*12=1092, Resulting Numbers: [1092] 1092,55 unequal: No Solution Exploring Operation: 91+12=103, Resulting Numbers: [103] 103,55 unequal: No Solution Moving to Node #0,4,3 Current State: 55:[97, 18], Operations: ['91-58=33', '51-33=18'] Exploring Operation: 97+18=115, Resulting Numbers: [115] 115,55 unequal: No Solution Exploring Operation: 97-18=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 97*18=1746, Resulting Numbers: [1746] 1746,55 unequal: No Solution Moving to Node #0,4,0 Current State: 55:[97, 84], Operations: ['91-58=33', '51+33=84'] Exploring Operation: 97*84=8148, Resulting Numbers: [8148] 8148,55 unequal: No Solution Exploring Operation: 97-84=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 97+84=181, Resulting Numbers: [181] 181,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[91, 90], Operations: ['97-58=39', '51+39=90'] Exploring Operation: 91*90=8190, Resulting Numbers: [8190] 8190,55 unequal: No Solution Exploring Operation: 91-90=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 91+90=181, Resulting Numbers: [181] 181,55 unequal: No Solution Moving to Node #0,4,1 Current State: 55:[51, 130], Operations: ['91-58=33', '97+33=130'] Exploring Operation: 51+130=181, Resulting Numbers: [181] 181,55 unequal: No Solution Exploring Operation: 51*130=6630, Resulting Numbers: [6630] 6630,55 unequal: No Solution Exploring Operation: 130-51=79, Resulting Numbers: [79] 79,55 unequal: No Solution Moving to Node #0,2,4 Current State: 55:[51, 130], Operations: ['97-58=39', '91+39=130'] Exploring Operation: 51+130=181, Resulting Numbers: [181] 181,55 unequal: No Solution Exploring Operation: 130-51=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 51*130=6630, Resulting Numbers: [6630] 6630,55 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 52, 28, 54, 83 ]
85
[ "54-28=26", "52/26=2", "83+2=85" ]
Current State: 85:[52, 28, 54, 83], Operations: [] Exploring Operation: 54-28=26, Resulting Numbers: [52, 83, 26] Generated Node #2: [52, 83, 26] from Operation: 54-28=26 Current State: 85:[52, 83, 26], Operations: ['54-28=26'] Exploring Operation: 52/26=2, Resulting Numbers: [83, 2] Generated Node #3: [83, 2] from Operation: 52/26=2 Current State: 85:[83, 2], Operations: ['54-28=26', '52/26=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[52, 28, 54, 83], Operations: [] Exploring Operation: 52+28=80, Resulting Numbers: [54, 83, 80] Generated Node #0,0: 85:[54, 83, 80] Operation: 52+28=80 Exploring Operation: 28+54=82, Resulting Numbers: [52, 83, 82] Generated Node #0,1: 85:[52, 83, 82] Operation: 28+54=82 Exploring Operation: 54-52=2, Resulting Numbers: [28, 83, 2] Generated Node #0,2: 85:[28, 83, 2] Operation: 54-52=2 Exploring Operation: 52+54=106, Resulting Numbers: [28, 83, 106] Generated Node #0,3: 85:[28, 83, 106] Operation: 52+54=106 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[28, 83, 2], Operations: ['54-52=2'] Exploring Operation: 28+2=30, Resulting Numbers: [83, 30] Generated Node #0,2,0: 85:[83, 30] Operation: 28+2=30 Exploring Operation: 28/2=14, Resulting Numbers: [83, 14] Generated Node #0,2,1: 85:[83, 14] Operation: 28/2=14 Exploring Operation: 28-2=26, Resulting Numbers: [83, 26] Generated Node #0,2,2: 85:[83, 26] Operation: 28-2=26 Exploring Operation: 83+2=85, Resulting Numbers: [28, 85] Generated Node #0,2,3: 85:[28, 85] Operation: 83+2=85 Moving to Node #0,2,1 Current State: 85:[83, 14], Operations: ['54-52=2', '28/2=14'] Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,85 unequal: No Solution Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,85 unequal: No Solution Exploring Operation: 83*14=1162, Resulting Numbers: [1162] 1162,85 unequal: No Solution Moving to Node #0,2,3 Current State: 85:[28, 85], Operations: ['54-52=2', '83+2=85'] Exploring Operation: 28+85=113, Resulting Numbers: [113] 113,85 unequal: No Solution Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 28*85=2380, Resulting Numbers: [2380] 2380,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[83, 26], Operations: ['54-52=2', '28-2=26'] Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 83*26=2158, Resulting Numbers: [2158] 2158,85 unequal: No Solution Exploring Operation: 83+26=109, Resulting Numbers: [109] 109,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[83, 30], Operations: ['54-52=2', '28+2=30'] Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 83+30=113, Resulting Numbers: [113] 113,85 unequal: No Solution Exploring Operation: 83*30=2490, Resulting Numbers: [2490] 2490,85 unequal: No Solution No 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: 85:[28, 83, 106], Operations: ['52+54=106'] Exploring Operation: 106-28=78, Resulting Numbers: [83, 78] Generated Node #0,3,0: 85:[83, 78] Operation: 106-28=78 Exploring Operation: 106-83=23, Resulting Numbers: [28, 23] Generated Node #0,3,1: 85:[28, 23] Operation: 106-83=23 Exploring Operation: 28+83=111, Resulting Numbers: [106, 111] Generated Node #0,3,2: 85:[106, 111] Operation: 28+83=111 Exploring Operation: 83-28=55, Resulting Numbers: [106, 55] Generated Node #0,3,3: 85:[106, 55] Operation: 83-28=55 Moving to Node #0,3,0 Current State: 85:[83, 78], Operations: ['52+54=106', '106-28=78'] Exploring Operation: 83*78=6474, Resulting Numbers: [6474] 6474,85 unequal: No Solution Exploring Operation: 83+78=161, Resulting Numbers: [161] 161,85 unequal: No Solution Exploring Operation: 83-78=5, Resulting Numbers: [5] 5,85 unequal: No Solution Moving to Node #0,3,1 Current State: 85:[28, 23], Operations: ['52+54=106', '106-83=23'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,85 unequal: No Solution Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,85 unequal: No Solution Moving to Node #0,3,2 Current State: 85:[106, 111], Operations: ['52+54=106', '28+83=111'] Exploring Operation: 111-106=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 106*111=11766, Resulting Numbers: [11766] 11766,85 unequal: No Solution Exploring Operation: 106+111=217, Resulting Numbers: [217] 217,85 unequal: No Solution Moving to Node #0,3,3 Current State: 85:[106, 55], Operations: ['52+54=106', '83-28=55'] Exploring Operation: 106+55=161, Resulting Numbers: [161] 161,85 unequal: No Solution Exploring Operation: 106*55=5830, Resulting Numbers: [5830] 5830,85 unequal: No Solution Exploring Operation: 106-55=51, Resulting Numbers: [51] 51,85 unequal: No Solution No 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: 85:[54, 83, 80], Operations: ['52+28=80'] Exploring Operation: 80-54=26, Resulting Numbers: [83, 26] Generated Node #0,0,0: 85:[83, 26] Operation: 80-54=26 Exploring Operation: 83-54=29, Resulting Numbers: [80, 29] Generated Node #0,0,1: 85:[80, 29] Operation: 83-54=29 Exploring Operation: 83-80=3, Resulting Numbers: [54, 3] Generated Node #0,0,2: 85:[54, 3] Operation: 83-80=3 Exploring Operation: 54+80=134, Resulting Numbers: [83, 134] Generated Node #0,0,3: 85:[83, 134] Operation: 54+80=134 Moving to Node #0,0,0 Current State: 85:[83, 26], Operations: ['52+28=80', '80-54=26'] Exploring Operation: 83+26=109, Resulting Numbers: [109] 109,85 unequal: No Solution Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 83*26=2158, Resulting Numbers: [2158] 2158,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[80, 29], Operations: ['52+28=80', '83-54=29'] Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,85 unequal: No Solution Exploring Operation: 80+29=109, Resulting Numbers: [109] 109,85 unequal: No Solution Exploring Operation: 80*29=2320, Resulting Numbers: [2320] 2320,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[54, 3], Operations: ['52+28=80', '83-80=3'] Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,85 unequal: No Solution Exploring Operation: 54*3=162, Resulting Numbers: [162] 162,85 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,85 unequal: No Solution Moving to Node #0,0,3 Current State: 85:[83, 134], Operations: ['52+28=80', '54+80=134'] Exploring Operation: 83+134=217, Resulting Numbers: [217] 217,85 unequal: No Solution Exploring Operation: 83*134=11122, Resulting Numbers: [11122] 11122,85 unequal: No Solution Exploring Operation: 134-83=51, Resulting Numbers: [51] 51,85 unequal: No Solution No 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: 85:[52, 83, 82], Operations: ['28+54=82'] Exploring Operation: 82-52=30, Resulting Numbers: [83, 30] Generated Node #0,1,0: 85:[83, 30] Operation: 82-52=30 Exploring Operation: 52+82=134, Resulting Numbers: [83, 134] Generated Node #0,1,1: 85:[83, 134] Operation: 52+82=134 Exploring Operation: 83-82=1, Resulting Numbers: [52, 1] Generated Node #0,1,2: 85:[52, 1] Operation: 83-82=1 Exploring Operation: 83-52=31, Resulting Numbers: [82, 31] Generated Node #0,1,3: 85:[82, 31] Operation: 83-52=31 Moving to Node #0,1,0 Current State: 85:[83, 30], Operations: ['28+54=82', '82-52=30'] Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 83*30=2490, Resulting Numbers: [2490] 2490,85 unequal: No Solution Exploring Operation: 83+30=113, Resulting Numbers: [113] 113,85 unequal: No Solution Moving to Node #0,1,3 Current State: 85:[82, 31], Operations: ['28+54=82', '83-52=31'] Exploring Operation: 82*31=2542, Resulting Numbers: [2542] 2542,85 unequal: No Solution Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,85 unequal: No Solution Exploring Operation: 82+31=113, Resulting Numbers: [113] 113,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[52, 1], Operations: ['28+54=82', '83-82=1'] Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,85 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,85 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,85 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[83, 134], Operations: ['28+54=82', '52+82=134'] Exploring Operation: 134-83=51, Resulting Numbers: [51] 51,85 unequal: No Solution Exploring Operation: 83+134=217, Resulting Numbers: [217] 217,85 unequal: No Solution Exploring Operation: 83*134=11122, Resulting Numbers: [11122] 11122,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 90, 11, 29, 77 ]
72
[ "29-11=18", "90/18=5", "77-5=72" ]
Current State: 72:[90, 11, 29, 77], Operations: [] Exploring Operation: 29-11=18, Resulting Numbers: [90, 77, 18] Generated Node #2: [90, 77, 18] from Operation: 29-11=18 Current State: 72:[90, 77, 18], Operations: ['29-11=18'] Exploring Operation: 90/18=5, Resulting Numbers: [77, 5] Generated Node #3: [77, 5] from Operation: 90/18=5 Current State: 72:[77, 5], Operations: ['29-11=18', '90/18=5'] Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[90, 11, 29, 77], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [11, 29, 13] Generated Node #0,0: 72:[11, 29, 13] Operation: 90-77=13 Moving to Node #0,0 Current State: 72:[11, 29, 13], Operations: ['90-77=13'] Exploring Operation: 29-11=18, Resulting Numbers: [13, 18] Generated Node #0,0,0: 72:[13, 18] Operation: 29-11=18 Moving to Node #0,0,0 Current State: 72:[13, 18], Operations: ['90-77=13', '29-11=18'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,72 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 43, 98, 19, 3 ]
38
[ "98-3=95", "95/19=5", "43-5=38" ]
Current State: 38:[43, 98, 19, 3], Operations: [] Exploring Operation: 98-3=95, Resulting Numbers: [43, 19, 95] Generated Node #2: [43, 19, 95] from Operation: 98-3=95 Current State: 38:[43, 19, 95], Operations: ['98-3=95'] Exploring Operation: 95/19=5, Resulting Numbers: [43, 5] Generated Node #3: [43, 5] from Operation: 95/19=5 Current State: 38:[43, 5], Operations: ['98-3=95', '95/19=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[43, 98, 19, 3], Operations: [] Exploring Operation: 98-43=55, Resulting Numbers: [19, 3, 55] Generated Node #0,0: 38:[19, 3, 55] Operation: 98-43=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[19, 3, 55], Operations: ['98-43=55'] Exploring Operation: 55-19=36, Resulting Numbers: [3, 36] Generated Node #0,0,0: 38:[3, 36] Operation: 55-19=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[3, 36], Operations: ['98-43=55', '55-19=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,38 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
[ 81, 84, 3, 2 ]
11
[ "84-81=3", "3*3=9", "2+9=11" ]
Current State: 11:[81, 84, 3, 2], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [3, 2, 3] Generated Node #2: [3, 2, 3] from Operation: 84-81=3 Current State: 11:[3, 2, 3], Operations: ['84-81=3'] Exploring Operation: 3*3=9, Resulting Numbers: [2, 9] Generated Node #3: [2, 9] from Operation: 3*3=9 Current State: 11:[2, 9], Operations: ['84-81=3', '3*3=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[81, 84, 3, 2], Operations: [] Exploring Operation: 84/3=28, Resulting Numbers: [81, 2, 28] Generated Node #0,0: 11:[81, 2, 28] Operation: 84/3=28 Exploring Operation: 84/2=42, Resulting Numbers: [81, 3, 42] Generated Node #0,1: 11:[81, 3, 42] Operation: 84/2=42 Exploring Operation: 84-81=3, Resulting Numbers: [3, 2, 3] Generated Node #0,2: 11:[3, 2, 3] Operation: 84-81=3 Exploring Operation: 81/3=27, Resulting Numbers: [84, 2, 27] Generated Node #0,3: 11:[84, 2, 27] Operation: 81/3=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[3, 2, 3], Operations: ['84-81=3'] Exploring Operation: 3+2=5, Resulting Numbers: [3, 5] Generated Node #0,2,0: 11:[3, 5] Operation: 3+2=5 Exploring Operation: 3*2=6, Resulting Numbers: [3, 6] Generated Node #0,2,1: 11:[3, 6] Operation: 3*2=6 Exploring Operation: 3*3=9, Resulting Numbers: [2, 9] Generated Node #0,2,2: 11:[2, 9] Operation: 3*3=9 Exploring Operation: 2*3=6, Resulting Numbers: [3, 6] Generated Node #0,2,3: 11:[3, 6] Operation: 2*3=6 Moving to Node #0,2,2 Current State: 11:[2, 9], Operations: ['84-81=3', '3*3=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[81, 84, 3, 2], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [3, 2, 3] Generated Node #0,2: 11:[3, 2, 3] Operation: 84-81=3 Moving to Node #0,2 Current State: 11:[3, 2, 3], Operations: ['84-81=3'] Exploring Operation: 3*3=9, Resulting Numbers: [2, 9] Generated Node #0,2,2: 11:[2, 9] Operation: 3*3=9 Moving to Node #0,2,2 Current State: 11:[2, 9], Operations: ['84-81=3', '3*3=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 47, 64, 11, 78 ]
44
[ "47+64=111", "78-11=67", "111-67=44" ]
Current State: 44:[47, 64, 11, 78], Operations: [] Exploring Operation: 47+64=111, Resulting Numbers: [11, 78, 111] Generated Node #2: [11, 78, 111] from Operation: 47+64=111 Current State: 44:[11, 78, 111], Operations: ['47+64=111'] Exploring Operation: 78-11=67, Resulting Numbers: [111, 67] Generated Node #3: [111, 67] from Operation: 78-11=67 Current State: 44:[111, 67], Operations: ['47+64=111', '78-11=67'] Exploring Operation: 111-67=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[47, 64, 11, 78], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [47, 11, 14] Generated Node #0,0: 44:[47, 11, 14] Operation: 78-64=14 Exploring Operation: 78-47=31, Resulting Numbers: [64, 11, 31] Generated Node #0,1: 44:[64, 11, 31] Operation: 78-47=31 Exploring Operation: 78-11=67, Resulting Numbers: [47, 64, 67] Generated Node #0,2: 44:[47, 64, 67] Operation: 78-11=67 Exploring Operation: 64-47=17, Resulting Numbers: [11, 78, 17] Generated Node #0,3: 44:[11, 78, 17] Operation: 64-47=17 Exploring Operation: 64-11=53, Resulting Numbers: [47, 78, 53] Generated Node #0,4: 44:[47, 78, 53] Operation: 64-11=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[47, 11, 14], Operations: ['78-64=14'] Exploring Operation: 47+11=58, Resulting Numbers: [14, 58] Generated Node #0,0,0: 44:[14, 58] Operation: 47+11=58 Exploring Operation: 47-11=36, Resulting Numbers: [14, 36] Generated Node #0,0,1: 44:[14, 36] Operation: 47-11=36 Exploring Operation: 14-11=3, Resulting Numbers: [47, 3] Generated Node #0,0,2: 44:[47, 3] Operation: 14-11=3 Exploring Operation: 47-14=33, Resulting Numbers: [11, 33] Generated Node #0,0,3: 44:[11, 33] Operation: 47-14=33 Exploring Operation: 11+14=25, Resulting Numbers: [47, 25] Generated Node #0,0,4: 44:[47, 25] Operation: 11+14=25 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 44:[47, 3], Operations: ['78-64=14', '14-11=3'] Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,44 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[47, 64, 11, 78], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [47, 11, 14] Generated Node #0,0: 44:[47, 11, 14] Operation: 78-64=14 Moving to Node #0,0 Current State: 44:[47, 11, 14], Operations: ['78-64=14'] Exploring Operation: 14-11=3, Resulting Numbers: [47, 3] Generated Node #0,0,2: 44:[47, 3] Operation: 14-11=3 Moving to Node #0,0,2 Current State: 44:[47, 3], Operations: ['78-64=14', '14-11=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 25, 24, 8, 48 ]
76
[ "25+48=73", "24/8=3", "73+3=76" ]
Current State: 76:[25, 24, 8, 48], Operations: [] Exploring Operation: 25+48=73, Resulting Numbers: [24, 8, 73] Generated Node #2: [24, 8, 73] from Operation: 25+48=73 Current State: 76:[24, 8, 73], Operations: ['25+48=73'] Exploring Operation: 24/8=3, Resulting Numbers: [73, 3] Generated Node #3: [73, 3] from Operation: 24/8=3 Current State: 76:[73, 3], Operations: ['25+48=73', '24/8=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[25, 24, 8, 48], Operations: [] Exploring Operation: 25+48=73, Resulting Numbers: [24, 8, 73] Generated Node #0,0: 76:[24, 8, 73] Operation: 25+48=73 Exploring Operation: 48/24=2, Resulting Numbers: [25, 8, 2] Generated Node #0,1: 76:[25, 8, 2] Operation: 48/24=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[25, 8, 2], Operations: ['48/24=2'] Exploring Operation: 25+8=33, Resulting Numbers: [2, 33] Generated Node #0,1,0: 76:[2, 33] Operation: 25+8=33 Exploring Operation: 25-8=17, Resulting Numbers: [2, 17] Generated Node #0,1,1: 76:[2, 17] Operation: 25-8=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[2, 17], Operations: ['48/24=2', '25-8=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,76 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[2, 33], Operations: ['48/24=2', '25+8=33'] Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[24, 8, 73], Operations: ['25+48=73'] Exploring Operation: 24-8=16, Resulting Numbers: [73, 16] Generated Node #0,0,0: 76:[73, 16] Operation: 24-8=16 Exploring Operation: 24/8=3, Resulting Numbers: [73, 3] Generated Node #0,0,1: 76:[73, 3] Operation: 24/8=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[73, 3], Operations: ['25+48=73', '24/8=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[25, 24, 8, 48], Operations: [] Exploring Operation: 25+48=73, Resulting Numbers: [24, 8, 73] Generated Node #0,0: 76:[24, 8, 73] Operation: 25+48=73 Moving to Node #0,0 Current State: 76:[24, 8, 73], Operations: ['25+48=73'] Exploring Operation: 24/8=3, Resulting Numbers: [73, 3] Generated Node #0,0,1: 76:[73, 3] Operation: 24/8=3 Moving to Node #0,0,1 Current State: 76:[73, 3], Operations: ['25+48=73', '24/8=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 6, 11, 99, 83 ]
68
[ "83-6=77", "99/11=9", "77-9=68" ]
Current State: 68:[6, 11, 99, 83], Operations: [] Exploring Operation: 83-6=77, Resulting Numbers: [11, 99, 77] Generated Node #2: [11, 99, 77] from Operation: 83-6=77 Current State: 68:[11, 99, 77], Operations: ['83-6=77'] Exploring Operation: 99/11=9, Resulting Numbers: [77, 9] Generated Node #3: [77, 9] from Operation: 99/11=9 Current State: 68:[77, 9], Operations: ['83-6=77', '99/11=9'] Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[6, 11, 99, 83], Operations: [] Exploring Operation: 99-11=88, Resulting Numbers: [6, 83, 88] Generated Node #0,0: 68:[6, 83, 88] Operation: 99-11=88 Exploring Operation: 99/11=9, Resulting Numbers: [6, 83, 9] Generated Node #0,1: 68:[6, 83, 9] Operation: 99/11=9 Exploring Operation: 99-83=16, Resulting Numbers: [6, 11, 16] Generated Node #0,2: 68:[6, 11, 16] Operation: 99-83=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[6, 11, 16], Operations: ['99-83=16'] Exploring Operation: 11-6=5, Resulting Numbers: [16, 5] Generated Node #0,2,0: 68:[16, 5] Operation: 11-6=5 Exploring Operation: 6+11=17, Resulting Numbers: [16, 17] Generated Node #0,2,1: 68:[16, 17] Operation: 6+11=17 Exploring Operation: 6*11=66, Resulting Numbers: [16, 66] Generated Node #0,2,2: 68:[16, 66] Operation: 6*11=66 Moving to Node #0,2,1 Current State: 68:[16, 17], Operations: ['99-83=16', '6+11=17'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 16*17=272, Resulting Numbers: [272] 272,68 unequal: No Solution Exploring Operation: 16+17=33, Resulting Numbers: [33] 33,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[16, 5], Operations: ['99-83=16', '11-6=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,68 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[16, 66], Operations: ['99-83=16', '6*11=66'] Exploring Operation: 16+66=82, Resulting Numbers: [82] 82,68 unequal: No Solution Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 16*66=1056, Resulting Numbers: [1056] 1056,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[6, 83, 9], Operations: ['99/11=9'] Exploring Operation: 83-9=74, Resulting Numbers: [6, 74] Generated Node #0,1,0: 68:[6, 74] Operation: 83-9=74 Exploring Operation: 83-6=77, Resulting Numbers: [9, 77] Generated Node #0,1,1: 68:[9, 77] Operation: 83-6=77 Exploring Operation: 9-6=3, Resulting Numbers: [83, 3] Generated Node #0,1,2: 68:[83, 3] Operation: 9-6=3 Moving to Node #0,1,0 Current State: 68:[6, 74], Operations: ['99/11=9', '83-9=74'] Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[6, 11, 99, 83], Operations: [] Exploring Operation: 99/11=9, Resulting Numbers: [6, 83, 9] Generated Node #0,1: 68:[6, 83, 9] Operation: 99/11=9 Moving to Node #0,1 Current State: 68:[6, 83, 9], Operations: ['99/11=9'] Exploring Operation: 83-9=74, Resulting Numbers: [6, 74] Generated Node #0,1,0: 68:[6, 74] Operation: 83-9=74 Moving to Node #0,1,0 Current State: 68:[6, 74], Operations: ['99/11=9', '83-9=74'] Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 29, 81, 12, 83 ]
34
[ "29-12=17", "83-81=2", "17*2=34" ]
Current State: 34:[29, 81, 12, 83], Operations: [] Exploring Operation: 29-12=17, Resulting Numbers: [81, 83, 17] Generated Node #2: [81, 83, 17] from Operation: 29-12=17 Current State: 34:[81, 83, 17], Operations: ['29-12=17'] Exploring Operation: 83-81=2, Resulting Numbers: [17, 2] Generated Node #3: [17, 2] from Operation: 83-81=2 Current State: 34:[17, 2], Operations: ['29-12=17', '83-81=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[29, 81, 12, 83], Operations: [] Exploring Operation: 81-29=52, Resulting Numbers: [12, 83, 52] Generated Node #0,0: 34:[12, 83, 52] Operation: 81-29=52 Exploring Operation: 83-81=2, Resulting Numbers: [29, 12, 2] Generated Node #0,1: 34:[29, 12, 2] Operation: 83-81=2 Moving to Node #0,1 Current State: 34:[29, 12, 2], Operations: ['83-81=2'] Exploring Operation: 29+12=41, Resulting Numbers: [2, 41] Generated Node #0,1,0: 34:[2, 41] Operation: 29+12=41 Exploring Operation: 29-12=17, Resulting Numbers: [2, 17] Generated Node #0,1,1: 34:[2, 17] Operation: 29-12=17 Moving to Node #0,0 Current State: 34:[12, 83, 52], Operations: ['81-29=52'] Exploring Operation: 83-12=71, Resulting Numbers: [52, 71] Generated Node #0,0,0: 34:[52, 71] Operation: 83-12=71 Exploring Operation: 83-52=31, Resulting Numbers: [12, 31] Generated Node #0,0,1: 34:[12, 31] Operation: 83-52=31 Moving to Node #0,1,1 Current State: 34:[2, 17], Operations: ['83-81=2', '29-12=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[29, 81, 12, 83], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [29, 12, 2] Generated Node #0,1: 34:[29, 12, 2] Operation: 83-81=2 Moving to Node #0,1 Current State: 34:[29, 12, 2], Operations: ['83-81=2'] Exploring Operation: 29-12=17, Resulting Numbers: [2, 17] Generated Node #0,1,1: 34:[2, 17] Operation: 29-12=17 Moving to Node #0,1,1 Current State: 34:[2, 17], Operations: ['83-81=2', '29-12=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 22, 71, 59, 61 ]
71
[ "71-22=49", "59+61=120", "120-49=71" ]
Current State: 71:[22, 71, 59, 61], Operations: [] Exploring Operation: 71-22=49, Resulting Numbers: [59, 61, 49] Generated Node #2: [59, 61, 49] from Operation: 71-22=49 Current State: 71:[59, 61, 49], Operations: ['71-22=49'] Exploring Operation: 59+61=120, Resulting Numbers: [49, 120] Generated Node #3: [49, 120] from Operation: 59+61=120 Current State: 71:[49, 120], Operations: ['71-22=49', '59+61=120'] Exploring Operation: 120-49=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[22, 71, 59, 61], Operations: [] Exploring Operation: 71-22=49, Resulting Numbers: [59, 61, 49] Generated Node #0,0: 71:[59, 61, 49] Operation: 71-22=49 Exploring Operation: 22+71=93, Resulting Numbers: [59, 61, 93] Generated Node #0,1: 71:[59, 61, 93] Operation: 22+71=93 Exploring Operation: 22+61=83, Resulting Numbers: [71, 59, 83] Generated Node #0,2: 71:[71, 59, 83] Operation: 22+61=83 Exploring Operation: 22+59=81, Resulting Numbers: [71, 61, 81] Generated Node #0,3: 71:[71, 61, 81] Operation: 22+59=81 Moving to Node #0,3 Current State: 71:[71, 61, 81], Operations: ['22+59=81'] Exploring Operation: 81-61=20, Resulting Numbers: [71, 20] Generated Node #0,3,0: 71:[71, 20] Operation: 81-61=20 Exploring Operation: 81-71=10, Resulting Numbers: [61, 10] Generated Node #0,3,1: 71:[61, 10] Operation: 81-71=10 Exploring Operation: 71-61=10, Resulting Numbers: [81, 10] Generated Node #0,3,2: 71:[81, 10] Operation: 71-61=10 Exploring Operation: 71+61=132, Resulting Numbers: [81, 132] Generated Node #0,3,3: 71:[81, 132] Operation: 71+61=132 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 71:[71, 20], Operations: ['22+59=81', '81-61=20'] Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 71*20=1420, Resulting Numbers: [1420] 1420,71 unequal: No Solution Exploring Operation: 71+20=91, Resulting Numbers: [91] 91,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 71:[61, 10], Operations: ['22+59=81', '81-71=10'] Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 61*10=610, Resulting Numbers: [610] 610,71 unequal: No Solution Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[22, 71, 59, 61], Operations: [] Exploring Operation: 22+59=81, Resulting Numbers: [71, 61, 81] Generated Node #0,3: 71:[71, 61, 81] Operation: 22+59=81 Moving to Node #0,3 Current State: 71:[71, 61, 81], Operations: ['22+59=81'] Exploring Operation: 81-71=10, Resulting Numbers: [61, 10] Generated Node #0,3,1: 71:[61, 10] Operation: 81-71=10 Moving to Node #0,3,1 Current State: 71:[61, 10], Operations: ['22+59=81', '81-71=10'] Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 68, 65, 29, 22 ]
71
[ "65+22=87", "87/29=3", "68+3=71" ]
Current State: 71:[68, 65, 29, 22], Operations: [] Exploring Operation: 65+22=87, Resulting Numbers: [68, 29, 87] Generated Node #2: [68, 29, 87] from Operation: 65+22=87 Current State: 71:[68, 29, 87], Operations: ['65+22=87'] Exploring Operation: 87/29=3, Resulting Numbers: [68, 3] Generated Node #3: [68, 3] from Operation: 87/29=3 Current State: 71:[68, 3], Operations: ['65+22=87', '87/29=3'] Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[68, 65, 29, 22], Operations: [] Exploring Operation: 65+22=87, Resulting Numbers: [68, 29, 87] Generated Node #0,0: 71:[68, 29, 87] Operation: 65+22=87 Exploring Operation: 29+22=51, Resulting Numbers: [68, 65, 51] Generated Node #0,1: 71:[68, 65, 51] Operation: 29+22=51 Moving to Node #0,1 Current State: 71:[68, 65, 51], Operations: ['29+22=51'] Exploring Operation: 68+51=119, Resulting Numbers: [65, 119] Generated Node #0,1,0: 71:[65, 119] Operation: 68+51=119 Exploring Operation: 65+51=116, Resulting Numbers: [68, 116] Generated Node #0,1,1: 71:[68, 116] Operation: 65+51=116 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[68, 116], Operations: ['29+22=51', '65+51=116'] Exploring Operation: 116-68=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 68+116=184, Resulting Numbers: [184] 184,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[65, 119], Operations: ['29+22=51', '68+51=119'] Exploring Operation: 65+119=184, Resulting Numbers: [184] 184,71 unequal: No Solution Exploring Operation: 119-65=54, Resulting Numbers: [54] 54,71 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: 71:[68, 29, 87], Operations: ['65+22=87'] Exploring Operation: 87-29=58, Resulting Numbers: [68, 58] Generated Node #0,0,0: 71:[68, 58] Operation: 87-29=58 Exploring Operation: 68+29=97, Resulting Numbers: [87, 97] Generated Node #0,0,1: 71:[87, 97] Operation: 68+29=97 Moving to Node #0,0,0 Current State: 71:[68, 58], Operations: ['65+22=87', '87-29=58'] Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 68+58=126, Resulting Numbers: [126] 126,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[87, 97], Operations: ['65+22=87', '68+29=97'] Exploring Operation: 97-87=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 87+97=184, Resulting Numbers: [184] 184,71 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 6, 24, 10, 42 ]
28
[ "24/6=4", "42-10=32", "32-4=28" ]
Current State: 28:[6, 24, 10, 42], Operations: [] Exploring Operation: 24/6=4, Resulting Numbers: [10, 42, 4] Generated Node #2: [10, 42, 4] from Operation: 24/6=4 Current State: 28:[10, 42, 4], Operations: ['24/6=4'] Exploring Operation: 42-10=32, Resulting Numbers: [4, 32] Generated Node #3: [4, 32] from Operation: 42-10=32 Current State: 28:[4, 32], Operations: ['24/6=4', '42-10=32'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[6, 24, 10, 42], Operations: [] Exploring Operation: 42-24=18, Resulting Numbers: [6, 10, 18] Generated Node #0,0: 28:[6, 10, 18] Operation: 42-24=18 Exploring Operation: 42-6=36, Resulting Numbers: [24, 10, 36] Generated Node #0,1: 28:[24, 10, 36] Operation: 42-6=36 Exploring Operation: 42-10=32, Resulting Numbers: [6, 24, 32] Generated Node #0,2: 28:[6, 24, 32] Operation: 42-10=32 Exploring Operation: 42/6=7, Resulting Numbers: [24, 10, 7] Generated Node #0,3: 28:[24, 10, 7] Operation: 42/6=7 Exploring Operation: 24-10=14, Resulting Numbers: [6, 42, 14] Generated Node #0,4: 28:[6, 42, 14] Operation: 24-10=14 Moving to Node #0,3 Current State: 28:[24, 10, 7], Operations: ['42/6=7'] Exploring Operation: 10-7=3, Resulting Numbers: [24, 3] Generated Node #0,3,0: 28:[24, 3] Operation: 10-7=3 Exploring Operation: 24+10=34, Resulting Numbers: [7, 34] Generated Node #0,3,1: 28:[7, 34] Operation: 24+10=34 Exploring Operation: 24-10=14, Resulting Numbers: [7, 14] Generated Node #0,3,2: 28:[7, 14] Operation: 24-10=14 Exploring Operation: 24-7=17, Resulting Numbers: [10, 17] Generated Node #0,3,3: 28:[10, 17] Operation: 24-7=17 Exploring Operation: 24+7=31, Resulting Numbers: [10, 31] Generated Node #0,3,4: 28:[10, 31] Operation: 24+7=31 Moving to Node #0,0 Current State: 28:[6, 10, 18], Operations: ['42-24=18'] Exploring Operation: 18-6=12, Resulting Numbers: [10, 12] Generated Node #0,0,0: 28:[10, 12] Operation: 18-6=12 Exploring Operation: 18/6=3, Resulting Numbers: [10, 3] Generated Node #0,0,1: 28:[10, 3] Operation: 18/6=3 Exploring Operation: 10+18=28, Resulting Numbers: [6, 28] Generated Node #0,0,2: 28:[6, 28] Operation: 10+18=28 Exploring Operation: 10-6=4, Resulting Numbers: [18, 4] Generated Node #0,0,3: 28:[18, 4] Operation: 10-6=4 Exploring Operation: 18-10=8, Resulting Numbers: [6, 8] Generated Node #0,0,4: 28:[6, 8] Operation: 18-10=8 Moving to Node #0,2 Current State: 28:[6, 24, 32], Operations: ['42-10=32'] Exploring Operation: 32-6=26, Resulting Numbers: [24, 26] Generated Node #0,2,0: 28:[24, 26] Operation: 32-6=26 Exploring Operation: 32-24=8, Resulting Numbers: [6, 8] Generated Node #0,2,1: 28:[6, 8] Operation: 32-24=8 Exploring Operation: 24-6=18, Resulting Numbers: [32, 18] Generated Node #0,2,2: 28:[32, 18] Operation: 24-6=18 Exploring Operation: 6+24=30, Resulting Numbers: [32, 30] Generated Node #0,2,3: 28:[32, 30] Operation: 6+24=30 Exploring Operation: 24/6=4, Resulting Numbers: [32, 4] Generated Node #0,2,4: 28:[32, 4] Operation: 24/6=4 Moving to Node #0,1 Current State: 28:[24, 10, 36], Operations: ['42-6=36'] Exploring Operation: 36-10=26, Resulting Numbers: [24, 26] Generated Node #0,1,0: 28:[24, 26] Operation: 36-10=26 Exploring Operation: 24+10=34, Resulting Numbers: [36, 34] Generated Node #0,1,1: 28:[36, 34] Operation: 24+10=34 Exploring Operation: 10+36=46, Resulting Numbers: [24, 46] Generated Node #0,1,2: 28:[24, 46] Operation: 10+36=46 Exploring Operation: 36-24=12, Resulting Numbers: [10, 12] Generated Node #0,1,3: 28:[10, 12] Operation: 36-24=12 Exploring Operation: 24-10=14, Resulting Numbers: [36, 14] Generated Node #0,1,4: 28:[36, 14] Operation: 24-10=14 Moving to Node #0,4 Current State: 28:[6, 42, 14], Operations: ['24-10=14'] Exploring Operation: 42/14=3, Resulting Numbers: [6, 3] Generated Node #0,4,0: 28:[6, 3] Operation: 42/14=3 Exploring Operation: 14-6=8, Resulting Numbers: [42, 8] Generated Node #0,4,1: 28:[42, 8] Operation: 14-6=8 Exploring Operation: 42/6=7, Resulting Numbers: [14, 7] Generated Node #0,4,2: 28:[14, 7] Operation: 42/6=7 Exploring Operation: 42-6=36, Resulting Numbers: [14, 36] Generated Node #0,4,3: 28:[14, 36] Operation: 42-6=36 Exploring Operation: 42-14=28, Resulting Numbers: [6, 28] Generated Node #0,4,4: 28:[6, 28] Operation: 42-14=28 Moving to Node #0,3,2 Current State: 28:[7, 14], Operations: ['42/6=7', '24-10=14'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,28 unequal: No Solution Moving to Node #0,4,2 Current State: 28:[14, 7], Operations: ['24-10=14', '42/6=7'] Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 14*7=98, Resulting Numbers: [98] 98,28 unequal: No Solution Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,28 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[6, 28], Operations: ['42-24=18', '10+18=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,28 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,28 unequal: No Solution Moving to Node #0,4,4 Current State: 28:[6, 28], Operations: ['24-10=14', '42-14=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,28 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,28 unequal: No Solution Moving to Node #0,0,4 Current State: 28:[6, 8], Operations: ['42-24=18', '18-10=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[6, 8], Operations: ['42-10=32', '32-24=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,28 unequal: No Solution Moving to Node #0,4,0 Current State: 28:[6, 3], Operations: ['24-10=14', '42/14=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,28 unequal: No Solution Moving to Node #0,2,4 Current State: 28:[32, 4], Operations: ['42-10=32', '24/6=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[6, 24, 10, 42], Operations: [] Exploring Operation: 42-10=32, Resulting Numbers: [6, 24, 32] Generated Node #0,2: 28:[6, 24, 32] Operation: 42-10=32 Moving to Node #0,2 Current State: 28:[6, 24, 32], Operations: ['42-10=32'] Exploring Operation: 24/6=4, Resulting Numbers: [32, 4] Generated Node #0,2,4: 28:[32, 4] Operation: 24/6=4 Moving to Node #0,2,4 Current State: 28:[32, 4], Operations: ['42-10=32', '24/6=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.948785
hs_5
sum_heuristic
[ 8, 78, 75, 16 ]
80
[ "78-8=70", "75-70=5", "16*5=80" ]
Current State: 80:[8, 78, 75, 16], Operations: [] Exploring Operation: 78-8=70, Resulting Numbers: [75, 16, 70] Generated Node #2: [75, 16, 70] from Operation: 78-8=70 Current State: 80:[75, 16, 70], Operations: ['78-8=70'] Exploring Operation: 75-70=5, Resulting Numbers: [16, 5] Generated Node #3: [16, 5] from Operation: 75-70=5 Current State: 80:[16, 5], Operations: ['78-8=70', '75-70=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[8, 78, 75, 16], Operations: [] Exploring Operation: 8+75=83, Resulting Numbers: [78, 16, 83] Generated Node #0,0: 80:[78, 16, 83] Operation: 8+75=83 Exploring Operation: 78-75=3, Resulting Numbers: [8, 16, 3] Generated Node #0,1: 80:[8, 16, 3] Operation: 78-75=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[8, 16, 3], Operations: ['78-75=3'] Exploring Operation: 16-8=8, Resulting Numbers: [3, 8] Generated Node #0,1,0: 80:[3, 8] Operation: 16-8=8 Exploring Operation: 8-3=5, Resulting Numbers: [16, 5] Generated Node #0,1,1: 80:[16, 5] Operation: 8-3=5 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[16, 5], Operations: ['78-75=3', '8-3=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[8, 78, 75, 16], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [8, 16, 3] Generated Node #0,1: 80:[8, 16, 3] Operation: 78-75=3 Moving to Node #0,1 Current State: 80:[8, 16, 3], Operations: ['78-75=3'] Exploring Operation: 8-3=5, Resulting Numbers: [16, 5] Generated Node #0,1,1: 80:[16, 5] Operation: 8-3=5 Moving to Node #0,1,1 Current State: 80:[16, 5], Operations: ['78-75=3', '8-3=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 81, 96, 29, 4 ]
11
[ "96-81=15", "29+15=44", "44/4=11" ]
Current State: 11:[81, 96, 29, 4], Operations: [] Exploring Operation: 96-81=15, Resulting Numbers: [29, 4, 15] Generated Node #2: [29, 4, 15] from Operation: 96-81=15 Current State: 11:[29, 4, 15], Operations: ['96-81=15'] Exploring Operation: 29+15=44, Resulting Numbers: [4, 44] Generated Node #3: [4, 44] from Operation: 29+15=44 Current State: 11:[4, 44], Operations: ['96-81=15', '29+15=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[81, 96, 29, 4], Operations: [] Exploring Operation: 96-29=67, Resulting Numbers: [81, 4, 67] Generated Node #0,0: 11:[81, 4, 67] Operation: 96-29=67 Exploring Operation: 96-81=15, Resulting Numbers: [29, 4, 15] Generated Node #0,1: 11:[29, 4, 15] Operation: 96-81=15 Exploring Operation: 81-4=77, Resulting Numbers: [96, 29, 77] Generated Node #0,2: 11:[96, 29, 77] Operation: 81-4=77 Exploring Operation: 81-29=52, Resulting Numbers: [96, 4, 52] Generated Node #0,3: 11:[96, 4, 52] Operation: 81-29=52 Exploring Operation: 96/4=24, Resulting Numbers: [81, 29, 24] Generated Node #0,4: 11:[81, 29, 24] Operation: 96/4=24 Moving to Node #0,1 Current State: 11:[29, 4, 15], Operations: ['96-81=15'] Exploring Operation: 29-15=14, Resulting Numbers: [4, 14] Generated Node #0,1,0: 11:[4, 14] Operation: 29-15=14 Exploring Operation: 15-4=11, Resulting Numbers: [29, 11] Generated Node #0,1,1: 11:[29, 11] Operation: 15-4=11 Exploring Operation: 4+15=19, Resulting Numbers: [29, 19] Generated Node #0,1,2: 11:[29, 19] Operation: 4+15=19 Exploring Operation: 29+4=33, Resulting Numbers: [15, 33] Generated Node #0,1,3: 11:[15, 33] Operation: 29+4=33 Exploring Operation: 29-4=25, Resulting Numbers: [15, 25] Generated Node #0,1,4: 11:[15, 25] Operation: 29-4=25 Moving to Node #0,4 Current State: 11:[81, 29, 24], Operations: ['96/4=24'] Exploring Operation: 81+29=110, Resulting Numbers: [24, 110] Generated Node #0,4,0: 11:[24, 110] Operation: 81+29=110 Exploring Operation: 29-24=5, Resulting Numbers: [81, 5] Generated Node #0,4,1: 11:[81, 5] Operation: 29-24=5 Exploring Operation: 81+24=105, Resulting Numbers: [29, 105] Generated Node #0,4,2: 11:[29, 105] Operation: 81+24=105 Exploring Operation: 81-29=52, Resulting Numbers: [24, 52] Generated Node #0,4,3: 11:[24, 52] Operation: 81-29=52 Exploring Operation: 81-24=57, Resulting Numbers: [29, 57] Generated Node #0,4,4: 11:[29, 57] Operation: 81-24=57 Moving to Node #0,0 Current State: 11:[81, 4, 67], Operations: ['96-29=67'] Exploring Operation: 81+4=85, Resulting Numbers: [67, 85] Generated Node #0,0,0: 11:[67, 85] Operation: 81+4=85 Exploring Operation: 67-4=63, Resulting Numbers: [81, 63] Generated Node #0,0,1: 11:[81, 63] Operation: 67-4=63 Exploring Operation: 81-67=14, Resulting Numbers: [4, 14] Generated Node #0,0,2: 11:[4, 14] Operation: 81-67=14 Exploring Operation: 81-4=77, Resulting Numbers: [67, 77] Generated Node #0,0,3: 11:[67, 77] Operation: 81-4=77 Exploring Operation: 4+67=71, Resulting Numbers: [81, 71] Generated Node #0,0,4: 11:[81, 71] Operation: 4+67=71 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[4, 14], Operations: ['96-29=67', '81-67=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[81, 63], Operations: ['96-29=67', '67-4=63'] Exploring Operation: 81*63=5103, Resulting Numbers: [5103] 5103,11 unequal: No Solution Exploring Operation: 81+63=144, Resulting Numbers: [144] 144,11 unequal: No Solution Exploring Operation: 81-63=18, Resulting Numbers: [18] 18,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 11:[67, 77], Operations: ['96-29=67', '81-4=77'] Exploring Operation: 67+77=144, Resulting Numbers: [144] 144,11 unequal: No Solution Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 67*77=5159, Resulting Numbers: [5159] 5159,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[67, 85], Operations: ['96-29=67', '81+4=85'] Exploring Operation: 85-67=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 67+85=152, Resulting Numbers: [152] 152,11 unequal: No Solution Exploring Operation: 67*85=5695, Resulting Numbers: [5695] 5695,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 11:[81, 71], Operations: ['96-29=67', '4+67=71'] Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 81+71=152, Resulting Numbers: [152] 152,11 unequal: No Solution Exploring Operation: 81*71=5751, Resulting Numbers: [5751] 5751,11 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: 11:[96, 4, 52], Operations: ['81-29=52'] Exploring Operation: 96-4=92, Resulting Numbers: [52, 92] Generated Node #0,3,0: 11:[52, 92] Operation: 96-4=92 Exploring Operation: 52/4=13, Resulting Numbers: [96, 13] Generated Node #0,3,1: 11:[96, 13] Operation: 52/4=13 Exploring Operation: 52-4=48, Resulting Numbers: [96, 48] Generated Node #0,3,2: 11:[96, 48] Operation: 52-4=48 Exploring Operation: 96/4=24, Resulting Numbers: [52, 24] Generated Node #0,3,3: 11:[52, 24] Operation: 96/4=24 Exploring Operation: 96-52=44, Resulting Numbers: [4, 44] Generated Node #0,3,4: 11:[4, 44] Operation: 96-52=44 Moving to Node #0,2 Current State: 11:[96, 29, 77], Operations: ['81-4=77'] Exploring Operation: 96+77=173, Resulting Numbers: [29, 173] Generated Node #0,2,0: 11:[29, 173] Operation: 96+77=173 Exploring Operation: 77-29=48, Resulting Numbers: [96, 48] Generated Node #0,2,1: 11:[96, 48] Operation: 77-29=48 Exploring Operation: 96+29=125, Resulting Numbers: [77, 125] Generated Node #0,2,2: 11:[77, 125] Operation: 96+29=125 Exploring Operation: 96-77=19, Resulting Numbers: [29, 19] Generated Node #0,2,3: 11:[29, 19] Operation: 96-77=19 Exploring Operation: 96-29=67, Resulting Numbers: [77, 67] Generated Node #0,2,4: 11:[77, 67] Operation: 96-29=67 Moving to Node #0,1,0 Current State: 11:[4, 14], Operations: ['96-81=15', '29-15=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,11 unequal: No Solution Moving to Node #0,1,4 Current State: 11:[15, 25], Operations: ['96-81=15', '29-4=25'] Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 15*25=375, Resulting Numbers: [375] 375,11 unequal: No Solution Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[29, 11], Operations: ['96-81=15', '15-4=11'] Exploring Operation: 29*11=319, Resulting Numbers: [319] 319,11 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 29+11=40, Resulting Numbers: [40] 40,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[15, 33], Operations: ['96-81=15', '29+4=33'] Exploring Operation: 15*33=495, Resulting Numbers: [495] 495,11 unequal: No Solution Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[29, 19], Operations: ['96-81=15', '4+15=19'] Exploring Operation: 29*19=551, Resulting Numbers: [551] 551,11 unequal: No Solution Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 29+19=48, Resulting Numbers: [48] 48,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[29, 19], Operations: ['81-4=77', '96-77=19'] Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 29+19=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 29*19=551, Resulting Numbers: [551] 551,11 unequal: No Solution Moving to Node #0,3,4 Current State: 11:[4, 44], Operations: ['81-29=52', '96-52=44'] Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[81, 96, 29, 4], Operations: [] Exploring Operation: 81-29=52, Resulting Numbers: [96, 4, 52] Generated Node #0,3: 11:[96, 4, 52] Operation: 81-29=52 Moving to Node #0,3 Current State: 11:[96, 4, 52], Operations: ['81-29=52'] Exploring Operation: 96-52=44, Resulting Numbers: [4, 44] Generated Node #0,3,4: 11:[4, 44] Operation: 96-52=44 Moving to Node #0,3,4 Current State: 11:[4, 44], Operations: ['81-29=52', '96-52=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.940104
hs_5
mult_heuristic
[ 86, 13, 15, 51 ]
70
[ "86-51=35", "15-13=2", "35*2=70" ]
Current State: 70:[86, 13, 15, 51], Operations: [] Exploring Operation: 86-51=35, Resulting Numbers: [13, 15, 35] Generated Node #2: [13, 15, 35] from Operation: 86-51=35 Current State: 70:[13, 15, 35], Operations: ['86-51=35'] Exploring Operation: 15-13=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 15-13=2 Current State: 70:[35, 2], Operations: ['86-51=35', '15-13=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[86, 13, 15, 51], Operations: [] Exploring Operation: 51-15=36, Resulting Numbers: [86, 13, 36] Generated Node #0,0: 70:[86, 13, 36] Operation: 51-15=36 Exploring Operation: 86-13=73, Resulting Numbers: [15, 51, 73] Generated Node #0,1: 70:[15, 51, 73] Operation: 86-13=73 Exploring Operation: 86-15=71, Resulting Numbers: [13, 51, 71] Generated Node #0,2: 70:[13, 51, 71] Operation: 86-15=71 Exploring Operation: 86-51=35, Resulting Numbers: [13, 15, 35] Generated Node #0,3: 70:[13, 15, 35] Operation: 86-51=35 Moving to Node #0,3 Current State: 70:[13, 15, 35], Operations: ['86-51=35'] Exploring Operation: 13+15=28, Resulting Numbers: [35, 28] Generated Node #0,3,0: 70:[35, 28] Operation: 13+15=28 Exploring Operation: 35-13=22, Resulting Numbers: [15, 22] Generated Node #0,3,1: 70:[15, 22] Operation: 35-13=22 Exploring Operation: 15-13=2, Resulting Numbers: [35, 2] Generated Node #0,3,2: 70:[35, 2] Operation: 15-13=2 Exploring Operation: 35-15=20, Resulting Numbers: [13, 20] Generated Node #0,3,3: 70:[13, 20] Operation: 35-15=20 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[35, 2], Operations: ['86-51=35', '15-13=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[86, 13, 15, 51], Operations: [] Exploring Operation: 86-51=35, Resulting Numbers: [13, 15, 35] Generated Node #0,3: 70:[13, 15, 35] Operation: 86-51=35 Moving to Node #0,3 Current State: 70:[13, 15, 35], Operations: ['86-51=35'] Exploring Operation: 15-13=2, Resulting Numbers: [35, 2] Generated Node #0,3,2: 70:[35, 2] Operation: 15-13=2 Moving to Node #0,3,2 Current State: 70:[35, 2], Operations: ['86-51=35', '15-13=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 44, 69, 39, 60 ]
51
[ "44*60=2640", "69*39=2691", "2691-2640=51" ]
Current State: 51:[44, 69, 39, 60], Operations: [] Exploring Operation: 44*60=2640, Resulting Numbers: [69, 39, 2640] Generated Node #2: [69, 39, 2640] from Operation: 44*60=2640 Current State: 51:[69, 39, 2640], Operations: ['44*60=2640'] Exploring Operation: 69*39=2691, Resulting Numbers: [2640, 2691] Generated Node #3: [2640, 2691] from Operation: 69*39=2691 Current State: 51:[2640, 2691], Operations: ['44*60=2640', '69*39=2691'] Exploring Operation: 2691-2640=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[44, 69, 39, 60], Operations: [] Exploring Operation: 44-39=5, Resulting Numbers: [69, 60, 5] Generated Node #0,0: 51:[69, 60, 5] Operation: 44-39=5 Exploring Operation: 69-60=9, Resulting Numbers: [44, 39, 9] Generated Node #0,1: 51:[44, 39, 9] Operation: 69-60=9 Exploring Operation: 69-44=25, Resulting Numbers: [39, 60, 25] Generated Node #0,2: 51:[39, 60, 25] Operation: 69-44=25 Moving to Node #0,1 Current State: 51:[44, 39, 9], Operations: ['69-60=9'] Exploring Operation: 44-39=5, Resulting Numbers: [9, 5] Generated Node #0,1,0: 51:[9, 5] Operation: 44-39=5 Exploring Operation: 39+9=48, Resulting Numbers: [44, 48] Generated Node #0,1,1: 51:[44, 48] Operation: 39+9=48 Exploring Operation: 44+9=53, Resulting Numbers: [39, 53] Generated Node #0,1,2: 51:[39, 53] Operation: 44+9=53 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[9, 5], Operations: ['69-60=9', '44-39=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,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,1,1 Current State: 51:[44, 48], Operations: ['69-60=9', '39+9=48'] Exploring Operation: 44*48=2112, Resulting Numbers: [2112] 2112,51 unequal: No Solution Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 44+48=92, Resulting Numbers: [92] 92,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,1,2 Current State: 51:[39, 53], Operations: ['69-60=9', '44+9=53'] Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,51 unequal: No Solution Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,51 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: 51:[69, 60, 5], Operations: ['44-39=5'] Exploring Operation: 69-60=9, Resulting Numbers: [5, 9] Generated Node #0,0,0: 51:[5, 9] Operation: 69-60=9 Exploring Operation: 60-5=55, Resulting Numbers: [69, 55] Generated Node #0,0,1: 51:[69, 55] Operation: 60-5=55 Exploring Operation: 69-5=64, Resulting Numbers: [60, 64] Generated Node #0,0,2: 51:[60, 64] Operation: 69-5=64 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[5, 9], Operations: ['44-39=5', '69-60=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,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:[69, 55], Operations: ['44-39=5', '60-5=55'] Exploring Operation: 69*55=3795, Resulting Numbers: [3795] 3795,51 unequal: No Solution Exploring Operation: 69+55=124, Resulting Numbers: [124] 124,51 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,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,2 Current State: 51:[60, 64], Operations: ['44-39=5', '69-5=64'] Exploring Operation: 60+64=124, Resulting Numbers: [124] 124,51 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 60*64=3840, Resulting Numbers: [3840] 3840,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 51:[39, 60, 25], Operations: ['69-44=25'] Exploring Operation: 39+25=64, Resulting Numbers: [60, 64] Generated Node #0,2,0: 51:[60, 64] Operation: 39+25=64 Exploring Operation: 60-39=21, Resulting Numbers: [25, 21] Generated Node #0,2,1: 51:[25, 21] Operation: 60-39=21 Exploring Operation: 39-25=14, Resulting Numbers: [60, 14] Generated Node #0,2,2: 51:[60, 14] Operation: 39-25=14 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 51:[25, 21], Operations: ['69-44=25', '60-39=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,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,2,2 Current State: 51:[60, 14], Operations: ['69-44=25', '39-25=14'] Exploring Operation: 60*14=840, Resulting Numbers: [840] 840,51 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,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,2,0 Current State: 51:[60, 64], Operations: ['69-44=25', '39+25=64'] Exploring Operation: 60+64=124, Resulting Numbers: [124] 124,51 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 60*64=3840, Resulting Numbers: [3840] 3840,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 43, 7, 54, 5 ]
67
[ "7*54=378", "378-43=335", "335/5=67" ]
Current State: 67:[43, 7, 54, 5], Operations: [] Exploring Operation: 7*54=378, Resulting Numbers: [43, 5, 378] Generated Node #2: [43, 5, 378] from Operation: 7*54=378 Current State: 67:[43, 5, 378], Operations: ['7*54=378'] Exploring Operation: 378-43=335, Resulting Numbers: [5, 335] Generated Node #3: [5, 335] from Operation: 378-43=335 Current State: 67:[5, 335], Operations: ['7*54=378', '378-43=335'] Exploring Operation: 335/5=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[43, 7, 54, 5], Operations: [] Exploring Operation: 43+5=48, Resulting Numbers: [7, 54, 48] Generated Node #0,0: 67:[7, 54, 48] Operation: 43+5=48 Exploring Operation: 43+7=50, Resulting Numbers: [54, 5, 50] Generated Node #0,1: 67:[54, 5, 50] Operation: 43+7=50 Exploring Operation: 7*5=35, Resulting Numbers: [43, 54, 35] Generated Node #0,2: 67:[43, 54, 35] Operation: 7*5=35 Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[43, 54, 35], Operations: ['7*5=35'] Exploring Operation: 54+35=89, Resulting Numbers: [43, 89] Generated Node #0,2,0: 67:[43, 89] Operation: 54+35=89 Exploring Operation: 43+54=97, Resulting Numbers: [35, 97] Generated Node #0,2,1: 67:[35, 97] Operation: 43+54=97 Exploring Operation: 43+35=78, Resulting Numbers: [54, 78] Generated Node #0,2,2: 67:[54, 78] Operation: 43+35=78 Moving to Node #0,2,2 Current State: 67:[54, 78], Operations: ['7*5=35', '43+35=78'] Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 54+78=132, Resulting Numbers: [132] 132,67 unequal: No Solution Exploring Operation: 54*78=4212, Resulting Numbers: [4212] 4212,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[43, 89], Operations: ['7*5=35', '54+35=89'] Exploring Operation: 43*89=3827, Resulting Numbers: [3827] 3827,67 unequal: No Solution Exploring Operation: 43+89=132, Resulting Numbers: [132] 132,67 unequal: No Solution Exploring Operation: 89-43=46, Resulting Numbers: [46] 46,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[35, 97], Operations: ['7*5=35', '43+54=97'] Exploring Operation: 35*97=3395, Resulting Numbers: [3395] 3395,67 unequal: No Solution Exploring Operation: 35+97=132, Resulting Numbers: [132] 132,67 unequal: No Solution Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[7, 54, 48], Operations: ['43+5=48'] Exploring Operation: 7+54=61, Resulting Numbers: [48, 61] Generated Node #0,0,0: 67:[48, 61] Operation: 7+54=61 Exploring Operation: 7+48=55, Resulting Numbers: [54, 55] Generated Node #0,0,1: 67:[54, 55] Operation: 7+48=55 Exploring Operation: 54-7=47, Resulting Numbers: [48, 47] Generated Node #0,0,2: 67:[48, 47] Operation: 54-7=47 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[48, 61], Operations: ['43+5=48', '7+54=61'] Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,67 unequal: No Solution Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,67 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[54, 55], Operations: ['43+5=48', '7+48=55'] Exploring Operation: 54+55=109, Resulting Numbers: [109] 109,67 unequal: No Solution Exploring Operation: 54*55=2970, Resulting Numbers: [2970] 2970,67 unequal: No Solution Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[48, 47], Operations: ['43+5=48', '54-7=47'] Exploring Operation: 48*47=2256, Resulting Numbers: [2256] 2256,67 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 48+47=95, Resulting Numbers: [95] 95,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[54, 5, 50], Operations: ['43+7=50'] Exploring Operation: 5+50=55, Resulting Numbers: [54, 55] Generated Node #0,1,0: 67:[54, 55] Operation: 5+50=55 Exploring Operation: 54-5=49, Resulting Numbers: [50, 49] Generated Node #0,1,1: 67:[50, 49] Operation: 54-5=49 Exploring Operation: 54+5=59, Resulting Numbers: [50, 59] Generated Node #0,1,2: 67:[50, 59] Operation: 54+5=59 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[54, 55], Operations: ['43+7=50', '5+50=55'] Exploring Operation: 54+55=109, Resulting Numbers: [109] 109,67 unequal: No Solution Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 54*55=2970, Resulting Numbers: [2970] 2970,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[50, 59], Operations: ['43+7=50', '54+5=59'] Exploring Operation: 50*59=2950, Resulting Numbers: [2950] 2950,67 unequal: No Solution Exploring Operation: 50+59=109, Resulting Numbers: [109] 109,67 unequal: No Solution Exploring Operation: 59-50=9, Resulting Numbers: [9] 9,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[50, 49], Operations: ['43+7=50', '54-5=49'] Exploring Operation: 50*49=2450, Resulting Numbers: [2450] 2450,67 unequal: No Solution Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 50+49=99, Resulting Numbers: [99] 99,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 18, 17, 31, 90 ]
24
[ "18+17=35", "90-31=59", "59-35=24" ]
Current State: 24:[18, 17, 31, 90], Operations: [] Exploring Operation: 18+17=35, Resulting Numbers: [31, 90, 35] Generated Node #2: [31, 90, 35] from Operation: 18+17=35 Current State: 24:[31, 90, 35], Operations: ['18+17=35'] Exploring Operation: 90-31=59, Resulting Numbers: [35, 59] Generated Node #3: [35, 59] from Operation: 90-31=59 Current State: 24:[35, 59], Operations: ['18+17=35', '90-31=59'] Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[18, 17, 31, 90], Operations: [] Exploring Operation: 90/18=5, Resulting Numbers: [17, 31, 5] Generated Node #0,0: 24:[17, 31, 5] Operation: 90/18=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[17, 31, 5], Operations: ['90/18=5'] Exploring Operation: 31-17=14, Resulting Numbers: [5, 14] Generated Node #0,0,0: 24:[5, 14] Operation: 31-17=14 Moving to Node #0,0,0 Current State: 24:[5, 14], Operations: ['90/18=5', '31-17=14'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,24 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
[ 12, 86, 44, 5 ]
35
[ "86-12=74", "44-5=39", "74-39=35" ]
Current State: 35:[12, 86, 44, 5], Operations: [] Exploring Operation: 86-12=74, Resulting Numbers: [44, 5, 74] Generated Node #2: [44, 5, 74] from Operation: 86-12=74 Current State: 35:[44, 5, 74], Operations: ['86-12=74'] Exploring Operation: 44-5=39, Resulting Numbers: [74, 39] Generated Node #3: [74, 39] from Operation: 44-5=39 Current State: 35:[74, 39], Operations: ['86-12=74', '44-5=39'] Exploring Operation: 74-39=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[12, 86, 44, 5], Operations: [] Exploring Operation: 86-12=74, Resulting Numbers: [44, 5, 74] Generated Node #0,0: 35:[44, 5, 74] Operation: 86-12=74 Exploring Operation: 86-44=42, Resulting Numbers: [12, 5, 42] Generated Node #0,1: 35:[12, 5, 42] Operation: 86-44=42 Exploring Operation: 44-12=32, Resulting Numbers: [86, 5, 32] Generated Node #0,2: 35:[86, 5, 32] Operation: 44-12=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[12, 5, 42], Operations: ['86-44=42'] Exploring Operation: 42-5=37, Resulting Numbers: [12, 37] Generated Node #0,1,0: 35:[12, 37] Operation: 42-5=37 Exploring Operation: 42-12=30, Resulting Numbers: [5, 30] Generated Node #0,1,1: 35:[5, 30] Operation: 42-12=30 Exploring Operation: 12-5=7, Resulting Numbers: [42, 7] Generated Node #0,1,2: 35:[42, 7] Operation: 12-5=7 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[5, 30], Operations: ['86-44=42', '42-12=30'] Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,35 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[12, 86, 44, 5], Operations: [] Exploring Operation: 86-44=42, Resulting Numbers: [12, 5, 42] Generated Node #0,1: 35:[12, 5, 42] Operation: 86-44=42 Moving to Node #0,1 Current State: 35:[12, 5, 42], Operations: ['86-44=42'] Exploring Operation: 42-12=30, Resulting Numbers: [5, 30] Generated Node #0,1,1: 35:[5, 30] Operation: 42-12=30 Moving to Node #0,1,1 Current State: 35:[5, 30], Operations: ['86-44=42', '42-12=30'] Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 18, 47, 47, 60 ]
42
[ "18+47=65", "47+60=107", "107-65=42" ]
Current State: 42:[18, 47, 47, 60], Operations: [] Exploring Operation: 18+47=65, Resulting Numbers: [60, 65] Generated Node #2: [60, 65] from Operation: 18+47=65 Current State: 42:[60, 65], Operations: ['18+47=65'] Exploring Operation: 47+60=107, Resulting Numbers: [65, 107] Generated Node #3: [65, 107] from Operation: 47+60=107 Current State: 42:[65, 107], Operations: ['18+47=65', '47+60=107'] Exploring Operation: 107-65=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[18, 47, 47, 60], Operations: [] Exploring Operation: 60-18=42, Resulting Numbers: [47, 47, 42] Generated Node #0,0: 42:[47, 47, 42] Operation: 60-18=42 Exploring Operation: 60-47=13, Resulting Numbers: [18, 47, 13] Generated Node #0,1: 42:[18, 47, 13] Operation: 60-47=13 Exploring Operation: 60-47=13, Resulting Numbers: [18, 47, 13] Generated Node #0,2: 42:[18, 47, 13] Operation: 60-47=13 Exploring Operation: 47/47=1, Resulting Numbers: [18, 60, 1] Generated Node #0,3: 42:[18, 60, 1] Operation: 47/47=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[18, 47, 13], Operations: ['60-47=13'] Exploring Operation: 47-13=34, Resulting Numbers: [18, 34] Generated Node #0,1,0: 42:[18, 34] Operation: 47-13=34 Exploring Operation: 18-13=5, Resulting Numbers: [47, 5] Generated Node #0,1,1: 42:[47, 5] Operation: 18-13=5 Exploring Operation: 47-18=29, Resulting Numbers: [13, 29] Generated Node #0,1,2: 42:[13, 29] Operation: 47-18=29 Exploring Operation: 18+13=31, Resulting Numbers: [47, 31] Generated Node #0,1,3: 42:[47, 31] Operation: 18+13=31 Moving to Node #0,1,1 Current State: 42:[47, 5], Operations: ['60-47=13', '18-13=5'] Exploring Operation: 47*5=235, Resulting Numbers: [235] 235,42 unequal: No Solution Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,42 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[18, 47, 47, 60], Operations: [] Exploring Operation: 60-47=13, Resulting Numbers: [18, 47, 13] Generated Node #0,1: 42:[18, 47, 13] Operation: 60-47=13 Moving to Node #0,1 Current State: 42:[18, 47, 13], Operations: ['60-47=13'] Exploring Operation: 18-13=5, Resulting Numbers: [47, 5] Generated Node #0,1,1: 42:[47, 5] Operation: 18-13=5 Moving to Node #0,1,1 Current State: 42:[47, 5], Operations: ['60-47=13', '18-13=5'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 15, 86, 12, 33 ]
83
[ "12+33=45", "45/15=3", "86-3=83" ]
Current State: 83:[15, 86, 12, 33], Operations: [] Exploring Operation: 12+33=45, Resulting Numbers: [15, 86, 45] Generated Node #2: [15, 86, 45] from Operation: 12+33=45 Current State: 83:[15, 86, 45], Operations: ['12+33=45'] Exploring Operation: 45/15=3, Resulting Numbers: [86, 3] Generated Node #3: [86, 3] from Operation: 45/15=3 Current State: 83:[86, 3], Operations: ['12+33=45', '45/15=3'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[15, 86, 12, 33], Operations: [] Exploring Operation: 15+12=27, Resulting Numbers: [86, 33, 27] Generated Node #0,0: 83:[86, 33, 27] Operation: 15+12=27 Exploring Operation: 15+33=48, Resulting Numbers: [86, 12, 48] Generated Node #0,1: 83:[86, 12, 48] Operation: 15+33=48 Exploring Operation: 12+33=45, Resulting Numbers: [15, 86, 45] Generated Node #0,2: 83:[15, 86, 45] Operation: 12+33=45 Moving to Node #0,0 Current State: 83:[86, 33, 27], Operations: ['15+12=27'] Exploring Operation: 86-27=59, Resulting Numbers: [33, 59] Generated Node #0,0,0: 83:[33, 59] Operation: 86-27=59 Exploring Operation: 86+27=113, Resulting Numbers: [33, 113] Generated Node #0,0,1: 83:[33, 113] Operation: 86+27=113 Exploring Operation: 33+27=60, Resulting Numbers: [86, 60] Generated Node #0,0,2: 83:[86, 60] Operation: 33+27=60 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[86, 60], Operations: ['15+12=27', '33+27=60'] Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 86*60=5160, Resulting Numbers: [5160] 5160,83 unequal: No Solution Exploring Operation: 86+60=146, Resulting Numbers: [146] 146,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[33, 59], Operations: ['15+12=27', '86-27=59'] Exploring Operation: 33*59=1947, Resulting Numbers: [1947] 1947,83 unequal: No Solution Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 33+59=92, Resulting Numbers: [92] 92,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[33, 113], Operations: ['15+12=27', '86+27=113'] Exploring Operation: 33*113=3729, Resulting Numbers: [3729] 3729,83 unequal: No Solution Exploring Operation: 113-33=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 33+113=146, Resulting Numbers: [146] 146,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 83:[86, 12, 48], Operations: ['15+33=48'] Exploring Operation: 86-12=74, Resulting Numbers: [48, 74] Generated Node #0,1,0: 83:[48, 74] Operation: 86-12=74 Exploring Operation: 86+12=98, Resulting Numbers: [48, 98] Generated Node #0,1,1: 83:[48, 98] Operation: 86+12=98 Exploring Operation: 12+48=60, Resulting Numbers: [86, 60] Generated Node #0,1,2: 83:[86, 60] Operation: 12+48=60 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[86, 60], Operations: ['15+33=48', '12+48=60'] Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 86+60=146, Resulting Numbers: [146] 146,83 unequal: No Solution Exploring Operation: 86*60=5160, Resulting Numbers: [5160] 5160,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[48, 74], Operations: ['15+33=48', '86-12=74'] Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 48*74=3552, Resulting Numbers: [3552] 3552,83 unequal: No Solution Exploring Operation: 48+74=122, Resulting Numbers: [122] 122,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[48, 98], Operations: ['15+33=48', '86+12=98'] Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,83 unequal: No Solution Exploring Operation: 48+98=146, Resulting Numbers: [146] 146,83 unequal: No Solution Exploring Operation: 48*98=4704, Resulting Numbers: [4704] 4704,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 83:[15, 86, 45], Operations: ['12+33=45'] Exploring Operation: 15+45=60, Resulting Numbers: [86, 60] Generated Node #0,2,0: 83:[86, 60] Operation: 15+45=60 Exploring Operation: 15+86=101, Resulting Numbers: [45, 101] Generated Node #0,2,1: 83:[45, 101] Operation: 15+86=101 Exploring Operation: 86-15=71, Resulting Numbers: [45, 71] Generated Node #0,2,2: 83:[45, 71] Operation: 86-15=71 Moving to Node #0,2,0 Current State: 83:[86, 60], Operations: ['12+33=45', '15+45=60'] Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 86*60=5160, Resulting Numbers: [5160] 5160,83 unequal: No Solution Exploring Operation: 86+60=146, Resulting Numbers: [146] 146,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[45, 71], Operations: ['12+33=45', '86-15=71'] Exploring Operation: 45+71=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 45*71=3195, Resulting Numbers: [3195] 3195,83 unequal: No Solution Exploring Operation: 71-45=26, Resulting Numbers: [26] 26,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[45, 101], Operations: ['12+33=45', '15+86=101'] Exploring Operation: 45*101=4545, Resulting Numbers: [4545] 4545,83 unequal: No Solution Exploring Operation: 45+101=146, Resulting Numbers: [146] 146,83 unequal: No Solution Exploring Operation: 101-45=56, Resulting Numbers: [56] 56,83 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 32, 48, 3, 50 ]
94
[ "32*3=96", "50-48=2", "96-2=94" ]
Current State: 94:[32, 48, 3, 50], Operations: [] Exploring Operation: 32*3=96, Resulting Numbers: [48, 50, 96] Generated Node #2: [48, 50, 96] from Operation: 32*3=96 Current State: 94:[48, 50, 96], Operations: ['32*3=96'] Exploring Operation: 50-48=2, Resulting Numbers: [96, 2] Generated Node #3: [96, 2] from Operation: 50-48=2 Current State: 94:[96, 2], Operations: ['32*3=96', '50-48=2'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[32, 48, 3, 50], Operations: [] Exploring Operation: 32+3=35, Resulting Numbers: [48, 50, 35] Generated Node #0,0: 94:[48, 50, 35] Operation: 32+3=35 Exploring Operation: 32+50=82, Resulting Numbers: [48, 3, 82] Generated Node #0,1: 94:[48, 3, 82] Operation: 32+50=82 Exploring Operation: 32*3=96, Resulting Numbers: [48, 50, 96] Generated Node #0,2: 94:[48, 50, 96] Operation: 32*3=96 Moving to Node #0,2 Current State: 94:[48, 50, 96], Operations: ['32*3=96'] Exploring Operation: 96/48=2, Resulting Numbers: [50, 2] Generated Node #0,2,0: 94:[50, 2] Operation: 96/48=2 Exploring Operation: 50-48=2, Resulting Numbers: [96, 2] Generated Node #0,2,1: 94:[96, 2] Operation: 50-48=2 Exploring Operation: 96-50=46, Resulting Numbers: [48, 46] Generated Node #0,2,2: 94:[48, 46] Operation: 96-50=46 Moving to Node #0,1 Current State: 94:[48, 3, 82], Operations: ['32+50=82'] Exploring Operation: 3+82=85, Resulting Numbers: [48, 85] Generated Node #0,1,0: 94:[48, 85] Operation: 3+82=85 Exploring Operation: 48-3=45, Resulting Numbers: [82, 45] Generated Node #0,1,1: 94:[82, 45] Operation: 48-3=45 Exploring Operation: 82-48=34, Resulting Numbers: [3, 34] Generated Node #0,1,2: 94:[3, 34] Operation: 82-48=34 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[48, 85], Operations: ['32+50=82', '3+82=85'] Exploring Operation: 48+85=133, Resulting Numbers: [133] 133,94 unequal: No Solution Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,94 unequal: No Solution Exploring Operation: 48*85=4080, Resulting Numbers: [4080] 4080,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[82, 45], Operations: ['32+50=82', '48-3=45'] Exploring Operation: 82+45=127, Resulting Numbers: [127] 127,94 unequal: No Solution Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,94 unequal: No Solution Exploring Operation: 82*45=3690, Resulting Numbers: [3690] 3690,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[3, 34], Operations: ['32+50=82', '82-48=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,94 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,94 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,94 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: 94:[48, 50, 35], Operations: ['32+3=35'] Exploring Operation: 50+35=85, Resulting Numbers: [48, 85] Generated Node #0,0,0: 94:[48, 85] Operation: 50+35=85 Exploring Operation: 50-48=2, Resulting Numbers: [35, 2] Generated Node #0,0,1: 94:[35, 2] Operation: 50-48=2 Exploring Operation: 48+35=83, Resulting Numbers: [50, 83] Generated Node #0,0,2: 94:[50, 83] Operation: 48+35=83 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[48, 85], Operations: ['32+3=35', '50+35=85'] Exploring Operation: 48*85=4080, Resulting Numbers: [4080] 4080,94 unequal: No Solution Exploring Operation: 48+85=133, Resulting Numbers: [133] 133,94 unequal: No Solution Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[35, 2], Operations: ['32+3=35', '50-48=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,94 unequal: No Solution Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,94 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[50, 83], Operations: ['32+3=35', '48+35=83'] Exploring Operation: 83-50=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 50*83=4150, Resulting Numbers: [4150] 4150,94 unequal: No Solution Exploring Operation: 50+83=133, Resulting Numbers: [133] 133,94 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: 94:[96, 2], Operations: ['32*3=96', '50-48=2'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[32, 48, 3, 50], Operations: [] Exploring Operation: 32*3=96, Resulting Numbers: [48, 50, 96] Generated Node #0,2: 94:[48, 50, 96] Operation: 32*3=96 Moving to Node #0,2 Current State: 94:[48, 50, 96], Operations: ['32*3=96'] Exploring Operation: 50-48=2, Resulting Numbers: [96, 2] Generated Node #0,2,1: 94:[96, 2] Operation: 50-48=2 Moving to Node #0,2,1 Current State: 94:[96, 2], Operations: ['32*3=96', '50-48=2'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.969618
hs_3
mult_heuristic
[ 54, 29, 89, 20 ]
57
[ "89-29=60", "60/20=3", "54+3=57" ]
Current State: 57:[54, 29, 89, 20], Operations: [] Exploring Operation: 89-29=60, Resulting Numbers: [54, 20, 60] Generated Node #2: [54, 20, 60] from Operation: 89-29=60 Current State: 57:[54, 20, 60], Operations: ['89-29=60'] Exploring Operation: 60/20=3, Resulting Numbers: [54, 3] Generated Node #3: [54, 3] from Operation: 60/20=3 Current State: 57:[54, 3], Operations: ['89-29=60', '60/20=3'] Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[54, 29, 89, 20], Operations: [] Exploring Operation: 89-29=60, Resulting Numbers: [54, 20, 60] Generated Node #0,0: 57:[54, 20, 60] Operation: 89-29=60 Moving to Node #0,0 Current State: 57:[54, 20, 60], Operations: ['89-29=60'] Exploring Operation: 60/20=3, Resulting Numbers: [54, 3] Generated Node #0,0,0: 57:[54, 3] Operation: 60/20=3 Moving to Node #0,0,0 Current State: 57:[54, 3], Operations: ['89-29=60', '60/20=3'] Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[54, 29, 89, 20], Operations: [] Exploring Operation: 89-29=60, Resulting Numbers: [54, 20, 60] Generated Node #0,0: 57:[54, 20, 60] Operation: 89-29=60 Moving to Node #0,0 Current State: 57:[54, 20, 60], Operations: ['89-29=60'] Exploring Operation: 60/20=3, Resulting Numbers: [54, 3] Generated Node #0,0,0: 57:[54, 3] Operation: 60/20=3 Moving to Node #0,0,0 Current State: 57:[54, 3], Operations: ['89-29=60', '60/20=3'] Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 6, 37, 13, 14 ]
61
[ "13-6=7", "14*7=98", "98-37=61" ]
Current State: 61:[6, 37, 13, 14], Operations: [] Exploring Operation: 13-6=7, Resulting Numbers: [37, 14, 7] Generated Node #2: [37, 14, 7] from Operation: 13-6=7 Current State: 61:[37, 14, 7], Operations: ['13-6=7'] Exploring Operation: 14*7=98, Resulting Numbers: [37, 98] Generated Node #3: [37, 98] from Operation: 14*7=98 Current State: 61:[37, 98], Operations: ['13-6=7', '14*7=98'] Exploring Operation: 98-37=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[6, 37, 13, 14], Operations: [] Exploring Operation: 6+37=43, Resulting Numbers: [13, 14, 43] Generated Node #0,0: 61:[13, 14, 43] Operation: 6+37=43 Exploring Operation: 6*13=78, Resulting Numbers: [37, 14, 78] Generated Node #0,1: 61:[37, 14, 78] Operation: 6*13=78 Exploring Operation: 6+13=19, Resulting Numbers: [37, 14, 19] Generated Node #0,2: 61:[37, 14, 19] Operation: 6+13=19 Exploring Operation: 6*14=84, Resulting Numbers: [37, 13, 84] Generated Node #0,3: 61:[37, 13, 84] Operation: 6*14=84 Moving to Node #0,1 Current State: 61:[37, 14, 78], Operations: ['6*13=78'] Exploring Operation: 37-14=23, Resulting Numbers: [78, 23] Generated Node #0,1,0: 61:[78, 23] Operation: 37-14=23 Exploring Operation: 14+78=92, Resulting Numbers: [37, 92] Generated Node #0,1,1: 61:[37, 92] Operation: 14+78=92 Exploring Operation: 37+14=51, Resulting Numbers: [78, 51] Generated Node #0,1,2: 61:[78, 51] Operation: 37+14=51 Exploring Operation: 78-14=64, Resulting Numbers: [37, 64] Generated Node #0,1,3: 61:[37, 64] Operation: 78-14=64 Moving to Node #0,3 Current State: 61:[37, 13, 84], Operations: ['6*14=84'] Exploring Operation: 84-13=71, Resulting Numbers: [37, 71] Generated Node #0,3,0: 61:[37, 71] Operation: 84-13=71 Exploring Operation: 37-13=24, Resulting Numbers: [84, 24] Generated Node #0,3,1: 61:[84, 24] Operation: 37-13=24 Exploring Operation: 37+13=50, Resulting Numbers: [84, 50] Generated Node #0,3,2: 61:[84, 50] Operation: 37+13=50 Exploring Operation: 13+84=97, Resulting Numbers: [37, 97] Generated Node #0,3,3: 61:[37, 97] Operation: 13+84=97 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[37, 71], Operations: ['6*14=84', '84-13=71'] Exploring Operation: 37*71=2627, Resulting Numbers: [2627] 2627,61 unequal: No Solution Exploring Operation: 37+71=108, Resulting Numbers: [108] 108,61 unequal: No Solution Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[84, 50], Operations: ['6*14=84', '37+13=50'] Exploring Operation: 84+50=134, Resulting Numbers: [134] 134,61 unequal: No Solution Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 84*50=4200, Resulting Numbers: [4200] 4200,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[84, 24], Operations: ['6*14=84', '37-13=24'] Exploring Operation: 84+24=108, Resulting Numbers: [108] 108,61 unequal: No Solution Exploring Operation: 84*24=2016, Resulting Numbers: [2016] 2016,61 unequal: No Solution Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[37, 97], Operations: ['6*14=84', '13+84=97'] Exploring Operation: 97-37=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 37*97=3589, Resulting Numbers: [3589] 3589,61 unequal: No Solution Exploring Operation: 37+97=134, Resulting Numbers: [134] 134,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 61:[37, 14, 19], Operations: ['6+13=19'] Exploring Operation: 37+19=56, Resulting Numbers: [14, 56] Generated Node #0,2,0: 61:[14, 56] Operation: 37+19=56 Exploring Operation: 37+14=51, Resulting Numbers: [19, 51] Generated Node #0,2,1: 61:[19, 51] Operation: 37+14=51 Exploring Operation: 37-14=23, Resulting Numbers: [19, 23] Generated Node #0,2,2: 61:[19, 23] Operation: 37-14=23 Exploring Operation: 14+19=33, Resulting Numbers: [37, 33] Generated Node #0,2,3: 61:[37, 33] Operation: 14+19=33 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[14, 56], Operations: ['6+13=19', '37+19=56'] Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 14+56=70, Resulting Numbers: [70] 70,61 unequal: No Solution Exploring Operation: 14*56=784, Resulting Numbers: [784] 784,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[19, 51], Operations: ['6+13=19', '37+14=51'] Exploring Operation: 19*51=969, Resulting Numbers: [969] 969,61 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,61 unequal: No Solution Exploring Operation: 19+51=70, Resulting Numbers: [70] 70,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[37, 33], Operations: ['6+13=19', '14+19=33'] Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 37+33=70, Resulting Numbers: [70] 70,61 unequal: No Solution Exploring Operation: 37*33=1221, Resulting Numbers: [1221] 1221,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[19, 23], Operations: ['6+13=19', '37-14=23'] Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,61 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,61 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: 61:[13, 14, 43], Operations: ['6+37=43'] Exploring Operation: 14+43=57, Resulting Numbers: [13, 57] Generated Node #0,0,0: 61:[13, 57] Operation: 14+43=57 Exploring Operation: 13+43=56, Resulting Numbers: [14, 56] Generated Node #0,0,1: 61:[14, 56] Operation: 13+43=56 Exploring Operation: 13+14=27, Resulting Numbers: [43, 27] Generated Node #0,0,2: 61:[43, 27] Operation: 13+14=27 Exploring Operation: 14-13=1, Resulting Numbers: [43, 1] Generated Node #0,0,3: 61:[43, 1] Operation: 14-13=1 Moving to Node #0,1,2 Current State: 61:[78, 51], Operations: ['6*13=78', '37+14=51'] Exploring Operation: 78+51=129, Resulting Numbers: [129] 129,61 unequal: No Solution Exploring Operation: 78*51=3978, Resulting Numbers: [3978] 3978,61 unequal: No Solution Exploring Operation: 78-51=27, Resulting Numbers: [27] 27,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[37, 64], Operations: ['6*13=78', '78-14=64'] Exploring Operation: 37+64=101, Resulting Numbers: [101] 101,61 unequal: No Solution Exploring Operation: 64-37=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 37*64=2368, Resulting Numbers: [2368] 2368,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[14, 56], Operations: ['6+37=43', '13+43=56'] Exploring Operation: 14*56=784, Resulting Numbers: [784] 784,61 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,61 unequal: No Solution Exploring Operation: 14+56=70, Resulting Numbers: [70] 70,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[43, 27], Operations: ['6+37=43', '13+14=27'] Exploring Operation: 43*27=1161, Resulting Numbers: [1161] 1161,61 unequal: No Solution Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,61 unequal: No Solution Exploring Operation: 43+27=70, Resulting Numbers: [70] 70,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[13, 57], Operations: ['6+37=43', '14+43=57'] Exploring Operation: 13+57=70, Resulting Numbers: [70] 70,61 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 13*57=741, Resulting Numbers: [741] 741,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[78, 23], Operations: ['6*13=78', '37-14=23'] Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,61 unequal: No Solution Exploring Operation: 78*23=1794, Resulting Numbers: [1794] 1794,61 unequal: No Solution Exploring Operation: 78+23=101, Resulting Numbers: [101] 101,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[37, 92], Operations: ['6*13=78', '14+78=92'] Exploring Operation: 37+92=129, Resulting Numbers: [129] 129,61 unequal: No Solution Exploring Operation: 37*92=3404, Resulting Numbers: [3404] 3404,61 unequal: No Solution Exploring Operation: 92-37=55, Resulting Numbers: [55] 55,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[43, 1], Operations: ['6+37=43', '14-13=1'] Exploring Operation: 43+1=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,61 unequal: No Solution Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,61 unequal: No Solution Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,61 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 60, 20, 21, 12 ]
15
[ "60/20=3", "12*3=36", "36-21=15" ]
Current State: 15:[60, 20, 21, 12], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [21, 12, 3] Generated Node #2: [21, 12, 3] from Operation: 60/20=3 Current State: 15:[21, 12, 3], Operations: ['60/20=3'] Exploring Operation: 12*3=36, Resulting Numbers: [21, 36] Generated Node #3: [21, 36] from Operation: 12*3=36 Current State: 15:[21, 36], Operations: ['60/20=3', '12*3=36'] Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[60, 20, 21, 12], Operations: [] Exploring Operation: 60-20=40, Resulting Numbers: [21, 12, 40] Generated Node #0,0: 15:[21, 12, 40] Operation: 60-20=40 Exploring Operation: 60/20=3, Resulting Numbers: [21, 12, 3] Generated Node #0,1: 15:[21, 12, 3] Operation: 60/20=3 Exploring Operation: 60/12=5, Resulting Numbers: [20, 21, 5] Generated Node #0,2: 15:[20, 21, 5] Operation: 60/12=5 Exploring Operation: 60-21=39, Resulting Numbers: [20, 12, 39] Generated Node #0,3: 15:[20, 12, 39] Operation: 60-21=39 Moving to Node #0,1 Current State: 15:[21, 12, 3], Operations: ['60/20=3'] Exploring Operation: 21/3=7, Resulting Numbers: [12, 7] Generated Node #0,1,0: 15:[12, 7] Operation: 21/3=7 Exploring Operation: 21-3=18, Resulting Numbers: [12, 18] Generated Node #0,1,1: 15:[12, 18] Operation: 21-3=18 Exploring Operation: 21-12=9, Resulting Numbers: [3, 9] Generated Node #0,1,2: 15:[3, 9] Operation: 21-12=9 Exploring Operation: 12+3=15, Resulting Numbers: [21, 15] Generated Node #0,1,3: 15:[21, 15] Operation: 12+3=15 Moving to Node #0,2 Current State: 15:[20, 21, 5], Operations: ['60/12=5'] Exploring Operation: 21-20=1, Resulting Numbers: [5, 1] Generated Node #0,2,0: 15:[5, 1] Operation: 21-20=1 Exploring Operation: 20/5=4, Resulting Numbers: [21, 4] Generated Node #0,2,1: 15:[21, 4] Operation: 20/5=4 Exploring Operation: 20-5=15, Resulting Numbers: [21, 15] Generated Node #0,2,2: 15:[21, 15] Operation: 20-5=15 Exploring Operation: 21-5=16, Resulting Numbers: [20, 16] Generated Node #0,2,3: 15:[20, 16] Operation: 21-5=16 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[5, 1], Operations: ['60/12=5', '21-20=1'] Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[21, 15], Operations: ['60/12=5', '20-5=15'] Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 21*15=315, Resulting Numbers: [315] 315,15 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 15:[20, 16], Operations: ['60/12=5', '21-5=16'] Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,15 unequal: No Solution Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[21, 4], Operations: ['60/12=5', '20/5=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,15 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,15 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: 15:[20, 12, 39], Operations: ['60-21=39'] Exploring Operation: 39-20=19, Resulting Numbers: [12, 19] Generated Node #0,3,0: 15:[12, 19] Operation: 39-20=19 Exploring Operation: 20+12=32, Resulting Numbers: [39, 32] Generated Node #0,3,1: 15:[39, 32] Operation: 20+12=32 Exploring Operation: 39-12=27, Resulting Numbers: [20, 27] Generated Node #0,3,2: 15:[20, 27] Operation: 39-12=27 Exploring Operation: 20-12=8, Resulting Numbers: [39, 8] Generated Node #0,3,3: 15:[39, 8] Operation: 20-12=8 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 15:[12, 19], Operations: ['60-21=39', '39-20=19'] Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,15 unequal: No Solution Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 15:[20, 27], Operations: ['60-21=39', '39-12=27'] Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,15 unequal: No Solution Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 15:[39, 8], Operations: ['60-21=39', '20-12=8'] Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,15 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 15:[39, 32], Operations: ['60-21=39', '20+12=32'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,15 unequal: No Solution Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,15 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: 15:[21, 12, 40], Operations: ['60-20=40'] Exploring Operation: 21-12=9, Resulting Numbers: [40, 9] Generated Node #0,0,0: 15:[40, 9] Operation: 21-12=9 Exploring Operation: 21+12=33, Resulting Numbers: [40, 33] Generated Node #0,0,1: 15:[40, 33] Operation: 21+12=33 Exploring Operation: 40-21=19, Resulting Numbers: [12, 19] Generated Node #0,0,2: 15:[12, 19] Operation: 40-21=19 Exploring Operation: 40-12=28, Resulting Numbers: [21, 28] Generated Node #0,0,3: 15:[21, 28] Operation: 40-12=28 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[12, 19], Operations: ['60-20=40', '40-21=19'] Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,15 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 15:[21, 28], Operations: ['60-20=40', '40-12=28'] Exploring Operation: 21*28=588, Resulting Numbers: [588] 588,15 unequal: No Solution Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 21+28=49, Resulting Numbers: [49] 49,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[40, 9], Operations: ['60-20=40', '21-12=9'] Exploring Operation: 40+9=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 40*9=360, Resulting Numbers: [360] 360,15 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[40, 33], Operations: ['60-20=40', '21+12=33'] Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,15 unequal: No Solution Exploring Operation: 40*33=1320, Resulting Numbers: [1320] 1320,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 15:[3, 9], Operations: ['60/20=3', '21-12=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[12, 7], Operations: ['60/20=3', '21/3=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,15 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[21, 15], Operations: ['60/20=3', '12+3=15'] Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 21*15=315, Resulting Numbers: [315] 315,15 unequal: No Solution Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[12, 18], Operations: ['60/20=3', '21-3=18'] Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,15 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,15 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 16, 69, 75, 65 ]
95
[ "16+69=85", "75-65=10", "85+10=95" ]
Current State: 95:[16, 69, 75, 65], Operations: [] Exploring Operation: 16+69=85, Resulting Numbers: [75, 65, 85] Generated Node #2: [75, 65, 85] from Operation: 16+69=85 Current State: 95:[75, 65, 85], Operations: ['16+69=85'] Exploring Operation: 75-65=10, Resulting Numbers: [85, 10] Generated Node #3: [85, 10] from Operation: 75-65=10 Current State: 95:[85, 10], Operations: ['16+69=85', '75-65=10'] Exploring Operation: 85+10=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[16, 69, 75, 65], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [16, 65, 6] Generated Node #0,0: 95:[16, 65, 6] Operation: 75-69=6 Exploring Operation: 69-65=4, Resulting Numbers: [16, 75, 4] Generated Node #0,1: 95:[16, 75, 4] Operation: 69-65=4 Moving to Node #0,1 Current State: 95:[16, 75, 4], Operations: ['69-65=4'] Exploring Operation: 16+75=91, Resulting Numbers: [4, 91] Generated Node #0,1,0: 95:[4, 91] Operation: 16+75=91 Exploring Operation: 75+4=79, Resulting Numbers: [16, 79] Generated Node #0,1,1: 95:[16, 79] Operation: 75+4=79 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[4, 91], Operations: ['69-65=4', '16+75=91'] Exploring Operation: 4+91=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[16, 69, 75, 65], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [16, 75, 4] Generated Node #0,1: 95:[16, 75, 4] Operation: 69-65=4 Moving to Node #0,1 Current State: 95:[16, 75, 4], Operations: ['69-65=4'] Exploring Operation: 16+75=91, Resulting Numbers: [4, 91] Generated Node #0,1,0: 95:[4, 91] Operation: 16+75=91 Moving to Node #0,1,0 Current State: 95:[4, 91], Operations: ['69-65=4', '16+75=91'] Exploring Operation: 4+91=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 76, 27, 31, 56 ]
90
[ "31-27=4", "56/4=14", "76+14=90" ]
Current State: 90:[76, 27, 31, 56], Operations: [] Exploring Operation: 31-27=4, Resulting Numbers: [76, 56, 4] Generated Node #2: [76, 56, 4] from Operation: 31-27=4 Current State: 90:[76, 56, 4], Operations: ['31-27=4'] Exploring Operation: 56/4=14, Resulting Numbers: [76, 14] Generated Node #3: [76, 14] from Operation: 56/4=14 Current State: 90:[76, 14], Operations: ['31-27=4', '56/4=14'] Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[76, 27, 31, 56], Operations: [] Exploring Operation: 76-56=20, Resulting Numbers: [27, 31, 20] Generated Node #0,0: 90:[27, 31, 20] Operation: 76-56=20 Moving to Node #0,0 Current State: 90:[27, 31, 20], Operations: ['76-56=20'] Exploring Operation: 27-20=7, Resulting Numbers: [31, 7] Generated Node #0,0,0: 90:[31, 7] Operation: 27-20=7 Moving to Node #0,0,0 Current State: 90:[31, 7], Operations: ['76-56=20', '27-20=7'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,90 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 6, 78, 59, 3 ]
92
[ "6*59=354", "354-78=276", "276/3=92" ]
Current State: 92:[6, 78, 59, 3], Operations: [] Exploring Operation: 6*59=354, Resulting Numbers: [78, 3, 354] Generated Node #2: [78, 3, 354] from Operation: 6*59=354 Current State: 92:[78, 3, 354], Operations: ['6*59=354'] Exploring Operation: 354-78=276, Resulting Numbers: [3, 276] Generated Node #3: [3, 276] from Operation: 354-78=276 Current State: 92:[3, 276], Operations: ['6*59=354', '354-78=276'] Exploring Operation: 276/3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[6, 78, 59, 3], Operations: [] Exploring Operation: 78-59=19, Resulting Numbers: [6, 3, 19] Generated Node #0,0: 92:[6, 3, 19] Operation: 78-59=19 Exploring Operation: 78/3=26, Resulting Numbers: [6, 59, 26] Generated Node #0,1: 92:[6, 59, 26] Operation: 78/3=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[6, 3, 19], Operations: ['78-59=19'] Exploring Operation: 3+19=22, Resulting Numbers: [6, 22] Generated Node #0,0,0: 92:[6, 22] Operation: 3+19=22 Exploring Operation: 6+19=25, Resulting Numbers: [3, 25] Generated Node #0,0,1: 92:[3, 25] Operation: 6+19=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[6, 22], Operations: ['78-59=19', '3+19=22'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,92 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[3, 25], Operations: ['78-59=19', '6+19=25'] Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[6, 59, 26], Operations: ['78/3=26'] Exploring Operation: 59-6=53, Resulting Numbers: [26, 53] Generated Node #0,1,0: 92:[26, 53] Operation: 59-6=53 Exploring Operation: 59+26=85, Resulting Numbers: [6, 85] Generated Node #0,1,1: 92:[6, 85] Operation: 59+26=85 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 92:[6, 85], Operations: ['78/3=26', '59+26=85'] Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,92 unequal: No Solution Exploring Operation: 6+85=91, Resulting Numbers: [91] 91,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[26, 53], Operations: ['78/3=26', '59-6=53'] Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 26+53=79, Resulting Numbers: [79] 79,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 47, 21, 20, 18 ]
34
[ "47+21=68", "20-18=2", "68/2=34" ]
Current State: 34:[47, 21, 20, 18], Operations: [] Exploring Operation: 47+21=68, Resulting Numbers: [20, 18, 68] Generated Node #2: [20, 18, 68] from Operation: 47+21=68 Current State: 34:[20, 18, 68], Operations: ['47+21=68'] Exploring Operation: 20-18=2, Resulting Numbers: [68, 2] Generated Node #3: [68, 2] from Operation: 20-18=2 Current State: 34:[68, 2], Operations: ['47+21=68', '20-18=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[47, 21, 20, 18], Operations: [] Exploring Operation: 21-20=1, Resulting Numbers: [47, 18, 1] Generated Node #0,0: 34:[47, 18, 1] Operation: 21-20=1 Exploring Operation: 47-20=27, Resulting Numbers: [21, 18, 27] Generated Node #0,1: 34:[21, 18, 27] Operation: 47-20=27 Exploring Operation: 47-18=29, Resulting Numbers: [21, 20, 29] Generated Node #0,2: 34:[21, 20, 29] Operation: 47-18=29 Exploring Operation: 47-21=26, Resulting Numbers: [20, 18, 26] Generated Node #0,3: 34:[20, 18, 26] Operation: 47-21=26 Exploring Operation: 21-18=3, Resulting Numbers: [47, 20, 3] Generated Node #0,4: 34:[47, 20, 3] Operation: 21-18=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[21, 18, 27], Operations: ['47-20=27'] Exploring Operation: 21-18=3, Resulting Numbers: [27, 3] Generated Node #0,1,0: 34:[27, 3] Operation: 21-18=3 Exploring Operation: 21+18=39, Resulting Numbers: [27, 39] Generated Node #0,1,1: 34:[27, 39] Operation: 21+18=39 Exploring Operation: 27-18=9, Resulting Numbers: [21, 9] Generated Node #0,1,2: 34:[21, 9] Operation: 27-18=9 Exploring Operation: 21+27=48, Resulting Numbers: [18, 48] Generated Node #0,1,3: 34:[18, 48] Operation: 21+27=48 Exploring Operation: 27-21=6, Resulting Numbers: [18, 6] Generated Node #0,1,4: 34:[18, 6] Operation: 27-21=6 Moving to Node #0,1,4 Current State: 34:[18, 6], Operations: ['47-20=27', '27-21=6'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,34 unequal: No Solution 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=108, Resulting Numbers: [108] 108,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[27, 3], Operations: ['47-20=27', '21-18=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,34 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[21, 9], Operations: ['47-20=27', '27-18=9'] Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 21*9=189, Resulting Numbers: [189] 189,34 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[27, 39], Operations: ['47-20=27', '21+18=39'] Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 27*39=1053, Resulting Numbers: [1053] 1053,34 unequal: No Solution Exploring Operation: 27+39=66, Resulting Numbers: [66] 66,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[18, 48], Operations: ['47-20=27', '21+27=48'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,34 unequal: No Solution Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,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 Current State: 34:[21, 20, 29], Operations: ['47-18=29'] Exploring Operation: 21+29=50, Resulting Numbers: [20, 50] Generated Node #0,2,0: 34:[20, 50] Operation: 21+29=50 Exploring Operation: 21-20=1, Resulting Numbers: [29, 1] Generated Node #0,2,1: 34:[29, 1] Operation: 21-20=1 Exploring Operation: 29-21=8, Resulting Numbers: [20, 8] Generated Node #0,2,2: 34:[20, 8] Operation: 29-21=8 Exploring Operation: 29-20=9, Resulting Numbers: [21, 9] Generated Node #0,2,3: 34:[21, 9] Operation: 29-20=9 Exploring Operation: 21+20=41, Resulting Numbers: [29, 41] Generated Node #0,2,4: 34:[29, 41] Operation: 21+20=41 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 34:[29, 1], Operations: ['47-18=29', '21-20=1'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,34 unequal: No Solution Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,34 unequal: No Solution No 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: 34:[20, 8], Operations: ['47-18=29', '29-21=8'] Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,34 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,34 unequal: No Solution No 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: 34:[21, 9], Operations: ['47-18=29', '29-20=9'] Exploring Operation: 21*9=189, Resulting Numbers: [189] 189,34 unequal: No Solution Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,34 unequal: No Solution No 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: 34:[29, 41], Operations: ['47-18=29', '21+20=41'] Exploring Operation: 29*41=1189, Resulting Numbers: [1189] 1189,34 unequal: No Solution Exploring Operation: 29+41=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,34 unequal: No Solution No 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: 34:[20, 50], Operations: ['47-18=29', '21+29=50'] Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 20*50=1000, Resulting Numbers: [1000] 1000,34 unequal: No Solution Exploring Operation: 20+50=70, Resulting Numbers: [70] 70,34 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: 34:[20, 18, 26], Operations: ['47-21=26'] Exploring Operation: 20-18=2, Resulting Numbers: [26, 2] Generated Node #0,3,0: 34:[26, 2] Operation: 20-18=2 Exploring Operation: 26-20=6, Resulting Numbers: [18, 6] Generated Node #0,3,1: 34:[18, 6] Operation: 26-20=6 Exploring Operation: 20+18=38, Resulting Numbers: [26, 38] Generated Node #0,3,2: 34:[26, 38] Operation: 20+18=38 Exploring Operation: 26-18=8, Resulting Numbers: [20, 8] Generated Node #0,3,3: 34:[20, 8] Operation: 26-18=8 Exploring Operation: 20+26=46, Resulting Numbers: [18, 46] Generated Node #0,3,4: 34:[18, 46] Operation: 20+26=46 Moving to Node #0,3,1 Current State: 34:[18, 6], Operations: ['47-21=26', '26-20=6'] Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 18*6=108, Resulting Numbers: [108] 108,34 unequal: No Solution Moving to Node #0,3,0 Current State: 34:[26, 2], Operations: ['47-21=26', '20-18=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,34 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,34 unequal: No Solution Moving to Node #0,3,3 Current State: 34:[20, 8], Operations: ['47-21=26', '26-18=8'] Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[26, 38], Operations: ['47-21=26', '20+18=38'] Exploring Operation: 26+38=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 26*38=988, Resulting Numbers: [988] 988,34 unequal: No Solution Moving to Node #0,3,4 Current State: 34:[18, 46], Operations: ['47-21=26', '20+26=46'] Exploring Operation: 18*46=828, Resulting Numbers: [828] 828,34 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,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:[47, 18, 1], Operations: ['21-20=1'] Exploring Operation: 47*1=47, Resulting Numbers: [18, 47] Generated Node #0,0,0: 34:[18, 47] Operation: 47*1=47 Exploring Operation: 47-1=46, Resulting Numbers: [18, 46] Generated Node #0,0,1: 34:[18, 46] Operation: 47-1=46 Exploring Operation: 47-18=29, Resulting Numbers: [1, 29] Generated Node #0,0,2: 34:[1, 29] Operation: 47-18=29 Exploring Operation: 47/1=47, Resulting Numbers: [18, 47] Generated Node #0,0,3: 34:[18, 47] Operation: 47/1=47 Exploring Operation: 18-1=17, Resulting Numbers: [47, 17] Generated Node #0,0,4: 34:[47, 17] Operation: 18-1=17 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 34:[1, 29], Operations: ['21-20=1', '47-18=29'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,34 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,34 unequal: No Solution No 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: 34:[18, 46], Operations: ['21-20=1', '47-1=46'] Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 18*46=828, Resulting Numbers: [828] 828,34 unequal: No Solution Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,34 unequal: No Solution No 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: 34:[47, 17], Operations: ['21-20=1', '18-1=17'] Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,34 unequal: No Solution No 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: 34:[18, 47], Operations: ['21-20=1', '47*1=47'] Exploring Operation: 18+47=65, Resulting Numbers: [65] 65,34 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,34 unequal: No Solution Exploring Operation: 18*47=846, Resulting Numbers: [846] 846,34 unequal: No Solution No 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: 34:[18, 47], Operations: ['21-20=1', '47/1=47'] Exploring Operation: 18*47=846, Resulting Numbers: [846] 846,34 unequal: No Solution Exploring Operation: 18+47=65, Resulting Numbers: [65] 65,34 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 34:[47, 20, 3], Operations: ['21-18=3'] Exploring Operation: 20-3=17, Resulting Numbers: [47, 17] Generated Node #0,4,0: 34:[47, 17] Operation: 20-3=17 Exploring Operation: 47-20=27, Resulting Numbers: [3, 27] Generated Node #0,4,1: 34:[3, 27] Operation: 47-20=27 Exploring Operation: 47+3=50, Resulting Numbers: [20, 50] Generated Node #0,4,2: 34:[20, 50] Operation: 47+3=50 Exploring Operation: 20+3=23, Resulting Numbers: [47, 23] Generated Node #0,4,3: 34:[47, 23] Operation: 20+3=23 Exploring Operation: 47-3=44, Resulting Numbers: [20, 44] Generated Node #0,4,4: 34:[20, 44] Operation: 47-3=44 Moving to Node #0,4,1 Current State: 34:[3, 27], Operations: ['21-18=3', '47-20=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,34 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,34 unequal: No Solution Moving to Node #0,4,4 Current State: 34:[20, 44], Operations: ['21-18=3', '47-3=44'] Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,34 unequal: No Solution Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,34 unequal: No Solution Moving to Node #0,4,0 Current State: 34:[47, 17], Operations: ['21-18=3', '20-3=17'] Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,34 unequal: No Solution Moving to Node #0,4,2 Current State: 34:[20, 50], Operations: ['21-18=3', '47+3=50'] Exploring Operation: 20+50=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 20*50=1000, Resulting Numbers: [1000] 1000,34 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,34 unequal: No Solution Moving to Node #0,4,3 Current State: 34:[47, 23], Operations: ['21-18=3', '20+3=23'] Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 47*23=1081, Resulting Numbers: [1081] 1081,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 3, 48, 65, 2 ]
14
[ "3*48=144", "65*2=130", "144-130=14" ]
Current State: 14:[3, 48, 65, 2], Operations: [] Exploring Operation: 3*48=144, Resulting Numbers: [65, 2, 144] Generated Node #2: [65, 2, 144] from Operation: 3*48=144 Current State: 14:[65, 2, 144], Operations: ['3*48=144'] Exploring Operation: 65*2=130, Resulting Numbers: [144, 130] Generated Node #3: [144, 130] from Operation: 65*2=130 Current State: 14:[144, 130], Operations: ['3*48=144', '65*2=130'] Exploring Operation: 144-130=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[3, 48, 65, 2], Operations: [] Exploring Operation: 48/2=24, Resulting Numbers: [3, 65, 24] Generated Node #0,0: 14:[3, 65, 24] Operation: 48/2=24 Exploring Operation: 48/3=16, Resulting Numbers: [65, 2, 16] Generated Node #0,1: 14:[65, 2, 16] Operation: 48/3=16 Exploring Operation: 65-48=17, Resulting Numbers: [3, 2, 17] Generated Node #0,2: 14:[3, 2, 17] Operation: 65-48=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[3, 2, 17], Operations: ['65-48=17'] Exploring Operation: 3*2=6, Resulting Numbers: [17, 6] Generated Node #0,2,0: 14:[17, 6] Operation: 3*2=6 Exploring Operation: 17-3=14, Resulting Numbers: [2, 14] Generated Node #0,2,1: 14:[2, 14] Operation: 17-3=14 Exploring Operation: 17-2=15, Resulting Numbers: [3, 15] Generated Node #0,2,2: 14:[3, 15] Operation: 17-2=15 Moving to Node #0,2,1 Current State: 14:[2, 14], Operations: ['65-48=17', '17-3=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,14 unequal: No Solution Moving to Node #0,2,2 Current State: 14:[3, 15], Operations: ['65-48=17', '17-2=15'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[17, 6], Operations: ['65-48=17', '3*2=6'] Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,14 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,14 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[65, 2, 16], Operations: ['48/3=16'] Exploring Operation: 16-2=14, Resulting Numbers: [65, 14] Generated Node #0,1,0: 14:[65, 14] Operation: 16-2=14 Exploring Operation: 65-16=49, Resulting Numbers: [2, 49] Generated Node #0,1,1: 14:[2, 49] Operation: 65-16=49 Exploring Operation: 65-2=63, Resulting Numbers: [16, 63] Generated Node #0,1,2: 14:[16, 63] Operation: 65-2=63 Moving to Node #0,1,1 Current State: 14:[2, 49], Operations: ['48/3=16', '65-16=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[65, 14], Operations: ['48/3=16', '16-2=14'] Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,14 unequal: No Solution Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,14 unequal: No Solution Exploring Operation: 65*14=910, Resulting Numbers: [910] 910,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[16, 63], Operations: ['48/3=16', '65-2=63'] Exploring Operation: 16*63=1008, Resulting Numbers: [1008] 1008,14 unequal: No Solution Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 16+63=79, Resulting Numbers: [79] 79,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[3, 65, 24], Operations: ['48/2=24'] Exploring Operation: 65-3=62, Resulting Numbers: [24, 62] Generated Node #0,0,0: 14:[24, 62] Operation: 65-3=62 Exploring Operation: 24/3=8, Resulting Numbers: [65, 8] Generated Node #0,0,1: 14:[65, 8] Operation: 24/3=8 Exploring Operation: 65-24=41, Resulting Numbers: [3, 41] Generated Node #0,0,2: 14:[3, 41] Operation: 65-24=41 Moving to Node #0,0,2 Current State: 14:[3, 41], Operations: ['48/2=24', '65-24=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,14 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,14 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[65, 8], Operations: ['48/2=24', '24/3=8'] Exploring Operation: 65+8=73, Resulting Numbers: [73] 73,14 unequal: No Solution Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 65*8=520, Resulting Numbers: [520] 520,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[24, 62], Operations: ['48/2=24', '65-3=62'] Exploring Operation: 24+62=86, Resulting Numbers: [86] 86,14 unequal: No Solution Exploring Operation: 62-24=38, Resulting Numbers: [38] 38,14 unequal: No Solution Exploring Operation: 24*62=1488, Resulting Numbers: [1488] 1488,14 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
[ 16, 17, 52, 69 ]
47
[ "16+69=85", "85/17=5", "52-5=47" ]
Current State: 47:[16, 17, 52, 69], Operations: [] Exploring Operation: 16+69=85, Resulting Numbers: [17, 52, 85] Generated Node #2: [17, 52, 85] from Operation: 16+69=85 Current State: 47:[17, 52, 85], Operations: ['16+69=85'] Exploring Operation: 85/17=5, Resulting Numbers: [52, 5] Generated Node #3: [52, 5] from Operation: 85/17=5 Current State: 47:[52, 5], Operations: ['16+69=85', '85/17=5'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[16, 17, 52, 69], Operations: [] Exploring Operation: 52-16=36, Resulting Numbers: [17, 69, 36] Generated Node #0,0: 47:[17, 69, 36] Operation: 52-16=36 Exploring Operation: 16+17=33, Resulting Numbers: [52, 69, 33] Generated Node #0,1: 47:[52, 69, 33] Operation: 16+17=33 Exploring Operation: 69-17=52, Resulting Numbers: [16, 52, 52] Generated Node #0,2: 47:[16, 52, 52] Operation: 69-17=52 Exploring Operation: 69-16=53, Resulting Numbers: [17, 52, 53] Generated Node #0,3: 47:[17, 52, 53] Operation: 69-16=53 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[52, 69, 33], Operations: ['16+17=33'] Exploring Operation: 69-52=17, Resulting Numbers: [33, 17] Generated Node #0,1,0: 47:[33, 17] Operation: 69-52=17 Exploring Operation: 69-33=36, Resulting Numbers: [52, 36] Generated Node #0,1,1: 47:[52, 36] Operation: 69-33=36 Exploring Operation: 52+33=85, Resulting Numbers: [69, 85] Generated Node #0,1,2: 47:[69, 85] Operation: 52+33=85 Exploring Operation: 52-33=19, Resulting Numbers: [69, 19] Generated Node #0,1,3: 47:[69, 19] Operation: 52-33=19 Moving to Node #0,1,1 Current State: 47:[52, 36], Operations: ['16+17=33', '69-33=36'] Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 52*36=1872, Resulting Numbers: [1872] 1872,47 unequal: No Solution Exploring Operation: 52+36=88, Resulting Numbers: [88] 88,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[33, 17], Operations: ['16+17=33', '69-52=17'] Exploring Operation: 33*17=561, Resulting Numbers: [561] 561,47 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 33+17=50, Resulting Numbers: [50] 50,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[69, 19], Operations: ['16+17=33', '52-33=19'] Exploring Operation: 69+19=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 69*19=1311, Resulting Numbers: [1311] 1311,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[69, 85], Operations: ['16+17=33', '52+33=85'] Exploring Operation: 69+85=154, Resulting Numbers: [154] 154,47 unequal: No Solution Exploring Operation: 85-69=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 69*85=5865, Resulting Numbers: [5865] 5865,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[16, 52, 52], Operations: ['69-17=52'] Exploring Operation: 52-16=36, Resulting Numbers: [52, 36] Generated Node #0,2,0: 47:[52, 36] Operation: 52-16=36 Exploring Operation: 16+52=68, Resulting Numbers: [52, 68] Generated Node #0,2,1: 47:[52, 68] Operation: 16+52=68 Exploring Operation: 16+52=68, Resulting Numbers: [52, 68] Generated Node #0,2,2: 47:[52, 68] Operation: 16+52=68 Exploring Operation: 52-16=36, Resulting Numbers: [52, 36] Generated Node #0,2,3: 47:[52, 36] Operation: 52-16=36 Moving to Node #0,2,0 Current State: 47:[52, 36], Operations: ['69-17=52', '52-16=36'] Exploring Operation: 52*36=1872, Resulting Numbers: [1872] 1872,47 unequal: No Solution Exploring Operation: 52+36=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[52, 36], Operations: ['69-17=52', '52-16=36'] Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 52+36=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 52*36=1872, Resulting Numbers: [1872] 1872,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[52, 68], Operations: ['69-17=52', '16+52=68'] Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 52*68=3536, Resulting Numbers: [3536] 3536,47 unequal: No Solution Exploring Operation: 52+68=120, Resulting Numbers: [120] 120,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[52, 68], Operations: ['69-17=52', '16+52=68'] Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 52*68=3536, Resulting Numbers: [3536] 3536,47 unequal: No Solution Exploring Operation: 52+68=120, Resulting Numbers: [120] 120,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 Current State: 47:[17, 52, 53], Operations: ['69-16=53'] Exploring Operation: 17+52=69, Resulting Numbers: [53, 69] Generated Node #0,3,0: 47:[53, 69] Operation: 17+52=69 Exploring Operation: 53-17=36, Resulting Numbers: [52, 36] Generated Node #0,3,1: 47:[52, 36] Operation: 53-17=36 Exploring Operation: 17+53=70, Resulting Numbers: [52, 70] Generated Node #0,3,2: 47:[52, 70] Operation: 17+53=70 Exploring Operation: 52-17=35, Resulting Numbers: [53, 35] Generated Node #0,3,3: 47:[53, 35] Operation: 52-17=35 Moving to Node #0,3,1 Current State: 47:[52, 36], Operations: ['69-16=53', '53-17=36'] Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 52+36=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 52*36=1872, Resulting Numbers: [1872] 1872,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[53, 35], Operations: ['69-16=53', '52-17=35'] Exploring Operation: 53+35=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 53*35=1855, Resulting Numbers: [1855] 1855,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[52, 70], Operations: ['69-16=53', '17+53=70'] Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 52+70=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 52*70=3640, Resulting Numbers: [3640] 3640,47 unequal: No Solution Moving to Node #0,3,0 Current State: 47:[53, 69], Operations: ['69-16=53', '17+52=69'] Exploring Operation: 53*69=3657, Resulting Numbers: [3657] 3657,47 unequal: No Solution Exploring Operation: 69-53=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 53+69=122, Resulting Numbers: [122] 122,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[17, 69, 36], Operations: ['52-16=36'] Exploring Operation: 17+69=86, Resulting Numbers: [36, 86] Generated Node #0,0,0: 47:[36, 86] Operation: 17+69=86 Exploring Operation: 17+36=53, Resulting Numbers: [69, 53] Generated Node #0,0,1: 47:[69, 53] Operation: 17+36=53 Exploring Operation: 69-36=33, Resulting Numbers: [17, 33] Generated Node #0,0,2: 47:[17, 33] Operation: 69-36=33 Exploring Operation: 69-17=52, Resulting Numbers: [36, 52] Generated Node #0,0,3: 47:[36, 52] Operation: 69-17=52 Moving to Node #0,0,3 Current State: 47:[36, 52], Operations: ['52-16=36', '69-17=52'] Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 36+52=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 36*52=1872, Resulting Numbers: [1872] 1872,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[69, 53], Operations: ['52-16=36', '17+36=53'] Exploring Operation: 69-53=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 69*53=3657, Resulting Numbers: [3657] 3657,47 unequal: No Solution Exploring Operation: 69+53=122, Resulting Numbers: [122] 122,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[17, 33], Operations: ['52-16=36', '69-36=33'] Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 17*33=561, Resulting Numbers: [561] 561,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[36, 86], Operations: ['52-16=36', '17+69=86'] Exploring Operation: 36*86=3096, Resulting Numbers: [3096] 3096,47 unequal: No Solution Exploring Operation: 36+86=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,47 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
[ 37, 37, 28, 12 ]
12
[ "37-37=0", "28*0=0", "12+0=12" ]
Current State: 12:[37, 37, 28, 12], Operations: [] Exploring Operation: 37-37=0, Resulting Numbers: [28, 12, 0] Generated Node #2: [28, 12, 0] from Operation: 37-37=0 Current State: 12:[28, 12, 0], Operations: ['37-37=0'] Exploring Operation: 28*0=0, Resulting Numbers: [12, 0] Generated Node #3: [12, 0] from Operation: 28*0=0 Current State: 12:[12, 0], Operations: ['37-37=0', '28*0=0'] Exploring Operation: 12+0=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[37, 37, 28, 12], Operations: [] Exploring Operation: 37-28=9, Resulting Numbers: [37, 12, 9] Generated Node #0,0: 12:[37, 12, 9] Operation: 37-28=9 Exploring Operation: 37-37=0, Resulting Numbers: [28, 12, 0] Generated Node #0,1: 12:[28, 12, 0] Operation: 37-37=0 Exploring Operation: 37/37=1, Resulting Numbers: [28, 12, 1] Generated Node #0,2: 12:[28, 12, 1] Operation: 37/37=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[28, 12, 1], Operations: ['37/37=1'] Exploring Operation: 28-1=27, Resulting Numbers: [12, 27] Generated Node #0,2,0: 12:[12, 27] Operation: 28-1=27 Exploring Operation: 28*1=28, Resulting Numbers: [12, 28] Generated Node #0,2,1: 12:[12, 28] Operation: 28*1=28 Exploring Operation: 28-12=16, Resulting Numbers: [1, 16] Generated Node #0,2,2: 12:[1, 16] Operation: 28-12=16 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[1, 16], Operations: ['37/37=1', '28-12=16'] Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 16-1=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,2,0 Current State: 12:[12, 27], Operations: ['37/37=1', '28-1=27'] Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,12 unequal: No Solution Exploring Operation: 27-12=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,2,1 Current State: 12:[12, 28], Operations: ['37/37=1', '28*1=28'] Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 12+28=40, Resulting Numbers: [40] 40,12 unequal: No Solution Exploring Operation: 12*28=336, Resulting Numbers: [336] 336,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[28, 12, 0], Operations: ['37-37=0'] Exploring Operation: 28-12=16, Resulting Numbers: [0, 16] Generated Node #0,1,0: 12:[0, 16] Operation: 28-12=16 Exploring Operation: 28+0=28, Resulting Numbers: [12, 28] Generated Node #0,1,1: 12:[12, 28] Operation: 28+0=28 Exploring Operation: 28*0=0, Resulting Numbers: [12, 0] Generated Node #0,1,2: 12:[12, 0] Operation: 28*0=0 Moving to Node #0,1,2 Current State: 12:[12, 0], Operations: ['37-37=0', '28*0=0'] Exploring Operation: 12*0=0, Resulting Numbers: [0] 0,12 unequal: No Solution Exploring Operation: 12+0=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[37, 37, 28, 12], Operations: [] Exploring Operation: 37-37=0, Resulting Numbers: [28, 12, 0] Generated Node #0,1: 12:[28, 12, 0] Operation: 37-37=0 Moving to Node #0,1 Current State: 12:[28, 12, 0], Operations: ['37-37=0'] Exploring Operation: 28*0=0, Resulting Numbers: [12, 0] Generated Node #0,1,2: 12:[12, 0] Operation: 28*0=0 Moving to Node #0,1,2 Current State: 12:[12, 0], Operations: ['37-37=0', '28*0=0'] Exploring Operation: 12+0=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 95, 34, 30, 60 ]
91
[ "95-34=61", "60-30=30", "61+30=91" ]
Current State: 91:[95, 34, 30, 60], Operations: [] Exploring Operation: 95-34=61, Resulting Numbers: [30, 60, 61] Generated Node #2: [30, 60, 61] from Operation: 95-34=61 Current State: 91:[30, 60, 61], Operations: ['95-34=61'] Exploring Operation: 60-30=30, Resulting Numbers: [61, 30] Generated Node #3: [61, 30] from Operation: 60-30=30 Current State: 91:[61, 30], Operations: ['95-34=61', '60-30=30'] Exploring Operation: 61+30=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[95, 34, 30, 60], Operations: [] Exploring Operation: 30+60=90, Resulting Numbers: [95, 34, 90] Generated Node #0,0: 91:[95, 34, 90] Operation: 30+60=90 Exploring Operation: 60/30=2, Resulting Numbers: [95, 34, 2] Generated Node #0,1: 91:[95, 34, 2] Operation: 60/30=2 Exploring Operation: 34-30=4, Resulting Numbers: [95, 60, 4] Generated Node #0,2: 91:[95, 60, 4] Operation: 34-30=4 Exploring Operation: 60-34=26, Resulting Numbers: [95, 30, 26] Generated Node #0,3: 91:[95, 30, 26] Operation: 60-34=26 Exploring Operation: 34+60=94, Resulting Numbers: [95, 30, 94] Generated Node #0,4: 91:[95, 30, 94] Operation: 34+60=94 Moving to Node #0,4 Current State: 91:[95, 30, 94], Operations: ['34+60=94'] Exploring Operation: 30+94=124, Resulting Numbers: [95, 124] Generated Node #0,4,0: 91:[95, 124] Operation: 30+94=124 Exploring Operation: 94-30=64, Resulting Numbers: [95, 64] Generated Node #0,4,1: 91:[95, 64] Operation: 94-30=64 Exploring Operation: 95-30=65, Resulting Numbers: [94, 65] Generated Node #0,4,2: 91:[94, 65] Operation: 95-30=65 Exploring Operation: 95-94=1, Resulting Numbers: [30, 1] Generated Node #0,4,3: 91:[30, 1] Operation: 95-94=1 Exploring Operation: 95+30=125, Resulting Numbers: [94, 125] Generated Node #0,4,4: 91:[94, 125] Operation: 95+30=125 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 91:[30, 1], Operations: ['34+60=94', '95-94=1'] Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,91 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,91 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 91:[94, 65], Operations: ['34+60=94', '95-30=65'] Exploring Operation: 94+65=159, Resulting Numbers: [159] 159,91 unequal: No Solution Exploring Operation: 94-65=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 94*65=6110, Resulting Numbers: [6110] 6110,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 91:[95, 64], Operations: ['34+60=94', '94-30=64'] Exploring Operation: 95-64=31, Resulting Numbers: [31] 31,91 unequal: No Solution Exploring Operation: 95*64=6080, Resulting Numbers: [6080] 6080,91 unequal: No Solution Exploring Operation: 95+64=159, Resulting Numbers: [159] 159,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 91:[95, 124], Operations: ['34+60=94', '30+94=124'] Exploring Operation: 124-95=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 95+124=219, Resulting Numbers: [219] 219,91 unequal: No Solution Exploring Operation: 95*124=11780, Resulting Numbers: [11780] 11780,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 91:[94, 125], Operations: ['34+60=94', '95+30=125'] Exploring Operation: 125-94=31, Resulting Numbers: [31] 31,91 unequal: No Solution Exploring Operation: 94*125=11750, Resulting Numbers: [11750] 11750,91 unequal: No Solution Exploring Operation: 94+125=219, Resulting Numbers: [219] 219,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:[95, 34, 90], Operations: ['30+60=90'] Exploring Operation: 34+90=124, Resulting Numbers: [95, 124] Generated Node #0,0,0: 91:[95, 124] Operation: 34+90=124 Exploring Operation: 95-34=61, Resulting Numbers: [90, 61] Generated Node #0,0,1: 91:[90, 61] Operation: 95-34=61 Exploring Operation: 90-34=56, Resulting Numbers: [95, 56] Generated Node #0,0,2: 91:[95, 56] Operation: 90-34=56 Exploring Operation: 95-90=5, Resulting Numbers: [34, 5] Generated Node #0,0,3: 91:[34, 5] Operation: 95-90=5 Exploring Operation: 95+34=129, Resulting Numbers: [90, 129] Generated Node #0,0,4: 91:[90, 129] Operation: 95+34=129 Moving to Node #0,1 Current State: 91:[95, 34, 2], Operations: ['60/30=2'] Exploring Operation: 34-2=32, Resulting Numbers: [95, 32] Generated Node #0,1,0: 91:[95, 32] Operation: 34-2=32 Exploring Operation: 95+2=97, Resulting Numbers: [34, 97] Generated Node #0,1,1: 91:[34, 97] Operation: 95+2=97 Exploring Operation: 34/2=17, Resulting Numbers: [95, 17] Generated Node #0,1,2: 91:[95, 17] Operation: 34/2=17 Exploring Operation: 95-2=93, Resulting Numbers: [34, 93] Generated Node #0,1,3: 91:[34, 93] Operation: 95-2=93 Exploring Operation: 34+2=36, Resulting Numbers: [95, 36] Generated Node #0,1,4: 91:[95, 36] Operation: 34+2=36 Moving to Node #0,3 Current State: 91:[95, 30, 26], Operations: ['60-34=26'] Exploring Operation: 95-26=69, Resulting Numbers: [30, 69] Generated Node #0,3,0: 91:[30, 69] Operation: 95-26=69 Exploring Operation: 30+26=56, Resulting Numbers: [95, 56] Generated Node #0,3,1: 91:[95, 56] Operation: 30+26=56 Exploring Operation: 95-30=65, Resulting Numbers: [26, 65] Generated Node #0,3,2: 91:[26, 65] Operation: 95-30=65 Exploring Operation: 30-26=4, Resulting Numbers: [95, 4] Generated Node #0,3,3: 91:[95, 4] Operation: 30-26=4 Exploring Operation: 95+30=125, Resulting Numbers: [26, 125] Generated Node #0,3,4: 91:[26, 125] Operation: 95+30=125 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 91:[95, 4], Operations: ['60-34=26', '30-26=4'] Exploring Operation: 95*4=380, Resulting Numbers: [380] 380,91 unequal: No Solution Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[95, 34, 30, 60], Operations: [] Exploring Operation: 60-34=26, Resulting Numbers: [95, 30, 26] Generated Node #0,3: 91:[95, 30, 26] Operation: 60-34=26 Moving to Node #0,3 Current State: 91:[95, 30, 26], Operations: ['60-34=26'] Exploring Operation: 30-26=4, Resulting Numbers: [95, 4] Generated Node #0,3,3: 91:[95, 4] Operation: 30-26=4 Moving to Node #0,3,3 Current State: 91:[95, 4], Operations: ['60-34=26', '30-26=4'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
sum_heuristic
[ 84, 33, 2, 96 ]
69
[ "84+33=117", "96/2=48", "117-48=69" ]
Current State: 69:[84, 33, 2, 96], Operations: [] Exploring Operation: 84+33=117, Resulting Numbers: [2, 96, 117] Generated Node #2: [2, 96, 117] from Operation: 84+33=117 Current State: 69:[2, 96, 117], Operations: ['84+33=117'] Exploring Operation: 96/2=48, Resulting Numbers: [117, 48] Generated Node #3: [117, 48] from Operation: 96/2=48 Current State: 69:[117, 48], Operations: ['84+33=117', '96/2=48'] Exploring Operation: 117-48=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[84, 33, 2, 96], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [33, 2, 12] Generated Node #0,0: 69:[33, 2, 12] Operation: 96-84=12 Exploring Operation: 96-33=63, Resulting Numbers: [84, 2, 63] Generated Node #0,1: 69:[84, 2, 63] Operation: 96-33=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[33, 2, 12], Operations: ['96-84=12'] Exploring Operation: 33-12=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 69:[2, 21] Operation: 33-12=21 Exploring Operation: 2*12=24, Resulting Numbers: [33, 24] Generated Node #0,0,1: 69:[33, 24] Operation: 2*12=24 Moving to Node #0,0,0 Current State: 69:[2, 21], Operations: ['96-84=12', '33-12=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[33, 24], Operations: ['96-84=12', '2*12=24'] Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,69 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[84, 2, 63], Operations: ['96-33=63'] Exploring Operation: 84-2=82, Resulting Numbers: [63, 82] Generated Node #0,1,0: 69:[63, 82] Operation: 84-2=82 Exploring Operation: 84-63=21, Resulting Numbers: [2, 21] Generated Node #0,1,1: 69:[2, 21] Operation: 84-63=21 Moving to Node #0,1,1 Current State: 69:[2, 21], Operations: ['96-33=63', '84-63=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[63, 82], Operations: ['96-33=63', '84-2=82'] Exploring Operation: 63+82=145, Resulting Numbers: [145] 145,69 unequal: No Solution Exploring Operation: 82-63=19, Resulting Numbers: [19] 19,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 5, 73, 85, 8 ]
56
[ "5+73=78", "85-78=7", "8*7=56" ]
Current State: 56:[5, 73, 85, 8], Operations: [] Exploring Operation: 5+73=78, Resulting Numbers: [85, 8, 78] Generated Node #2: [85, 8, 78] from Operation: 5+73=78 Current State: 56:[85, 8, 78], Operations: ['5+73=78'] Exploring Operation: 85-78=7, Resulting Numbers: [8, 7] Generated Node #3: [8, 7] from Operation: 85-78=7 Current State: 56:[8, 7], Operations: ['5+73=78', '85-78=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[5, 73, 85, 8], Operations: [] Exploring Operation: 85/5=17, Resulting Numbers: [73, 8, 17] Generated Node #0,0: 56:[73, 8, 17] Operation: 85/5=17 Exploring Operation: 85-73=12, Resulting Numbers: [5, 8, 12] Generated Node #0,1: 56:[5, 8, 12] Operation: 85-73=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[5, 8, 12], Operations: ['85-73=12'] Exploring Operation: 12-8=4, Resulting Numbers: [5, 4] Generated Node #0,1,0: 56:[5, 4] Operation: 12-8=4 Exploring Operation: 12-5=7, Resulting Numbers: [8, 7] Generated Node #0,1,1: 56:[8, 7] Operation: 12-5=7 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[8, 7], Operations: ['85-73=12', '12-5=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[5, 73, 85, 8], Operations: [] Exploring Operation: 85-73=12, Resulting Numbers: [5, 8, 12] Generated Node #0,1: 56:[5, 8, 12] Operation: 85-73=12 Moving to Node #0,1 Current State: 56:[5, 8, 12], Operations: ['85-73=12'] Exploring Operation: 12-5=7, Resulting Numbers: [8, 7] Generated Node #0,1,1: 56:[8, 7] Operation: 12-5=7 Moving to Node #0,1,1 Current State: 56:[8, 7], Operations: ['85-73=12', '12-5=7'] Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 80, 55, 15, 94 ]
54
[ "80-55=25", "94-15=79", "79-25=54" ]
Current State: 54:[80, 55, 15, 94], Operations: [] Exploring Operation: 80-55=25, Resulting Numbers: [15, 94, 25] Generated Node #2: [15, 94, 25] from Operation: 80-55=25 Current State: 54:[15, 94, 25], Operations: ['80-55=25'] Exploring Operation: 94-15=79, Resulting Numbers: [25, 79] Generated Node #3: [25, 79] from Operation: 94-15=79 Current State: 54:[25, 79], Operations: ['80-55=25', '94-15=79'] Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[80, 55, 15, 94], Operations: [] Exploring Operation: 80-55=25, Resulting Numbers: [15, 94, 25] Generated Node #0,0: 54:[15, 94, 25] Operation: 80-55=25 Exploring Operation: 80-15=65, Resulting Numbers: [55, 94, 65] Generated Node #0,1: 54:[55, 94, 65] Operation: 80-15=65 Exploring Operation: 94-55=39, Resulting Numbers: [80, 15, 39] Generated Node #0,2: 54:[80, 15, 39] Operation: 94-55=39 Exploring Operation: 94-80=14, Resulting Numbers: [55, 15, 14] Generated Node #0,3: 54:[55, 15, 14] Operation: 94-80=14 Moving to Node #0,3 Current State: 54:[55, 15, 14], Operations: ['94-80=14'] Exploring Operation: 15-14=1, Resulting Numbers: [55, 1] Generated Node #0,3,0: 54:[55, 1] Operation: 15-14=1 Exploring Operation: 55-15=40, Resulting Numbers: [14, 40] Generated Node #0,3,1: 54:[14, 40] Operation: 55-15=40 Exploring Operation: 15+14=29, Resulting Numbers: [55, 29] Generated Node #0,3,2: 54:[55, 29] Operation: 15+14=29 Exploring Operation: 55-14=41, Resulting Numbers: [15, 41] Generated Node #0,3,3: 54:[15, 41] Operation: 55-14=41 Moving to Node #0,2 Current State: 54:[80, 15, 39], Operations: ['94-55=39'] Exploring Operation: 15+39=54, Resulting Numbers: [80, 54] Generated Node #0,2,0: 54:[80, 54] Operation: 15+39=54 Exploring Operation: 80-39=41, Resulting Numbers: [15, 41] Generated Node #0,2,1: 54:[15, 41] Operation: 80-39=41 Exploring Operation: 39-15=24, Resulting Numbers: [80, 24] Generated Node #0,2,2: 54:[80, 24] Operation: 39-15=24 Exploring Operation: 80-15=65, Resulting Numbers: [39, 65] Generated Node #0,2,3: 54:[39, 65] Operation: 80-15=65 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[15, 41], Operations: ['94-55=39', '80-39=41'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,54 unequal: No Solution Exploring Operation: 15*41=615, Resulting Numbers: [615] 615,54 unequal: No Solution Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 54:[39, 65], Operations: ['94-55=39', '80-15=65'] Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,54 unequal: No Solution Exploring Operation: 39*65=2535, Resulting Numbers: [2535] 2535,54 unequal: No Solution Exploring Operation: 39+65=104, Resulting Numbers: [104] 104,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 54:[80, 54], Operations: ['94-55=39', '15+39=54'] Exploring Operation: 80*54=4320, Resulting Numbers: [4320] 4320,54 unequal: No Solution Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,54 unequal: No Solution Exploring Operation: 80+54=134, Resulting Numbers: [134] 134,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[80, 24], Operations: ['94-55=39', '39-15=24'] Exploring Operation: 80*24=1920, Resulting Numbers: [1920] 1920,54 unequal: No Solution Exploring Operation: 80+24=104, Resulting Numbers: [104] 104,54 unequal: No Solution Exploring Operation: 80-24=56, Resulting Numbers: [56] 56,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 54:[15, 94, 25], Operations: ['80-55=25'] Exploring Operation: 94-25=69, Resulting Numbers: [15, 69] Generated Node #0,0,0: 54:[15, 69] Operation: 94-25=69 Exploring Operation: 25-15=10, Resulting Numbers: [94, 10] Generated Node #0,0,1: 54:[94, 10] Operation: 25-15=10 Exploring Operation: 15+25=40, Resulting Numbers: [94, 40] Generated Node #0,0,2: 54:[94, 40] Operation: 15+25=40 Exploring Operation: 94-15=79, Resulting Numbers: [25, 79] Generated Node #0,0,3: 54:[25, 79] Operation: 94-15=79 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[15, 69], Operations: ['80-55=25', '94-25=69'] Exploring Operation: 15+69=84, Resulting Numbers: [84] 84,54 unequal: No Solution Exploring Operation: 15*69=1035, Resulting Numbers: [1035] 1035,54 unequal: No Solution Exploring Operation: 69-15=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[80, 55, 15, 94], Operations: [] Exploring Operation: 80-55=25, Resulting Numbers: [15, 94, 25] Generated Node #0,0: 54:[15, 94, 25] Operation: 80-55=25 Moving to Node #0,0 Current State: 54:[15, 94, 25], Operations: ['80-55=25'] Exploring Operation: 94-25=69, Resulting Numbers: [15, 69] Generated Node #0,0,0: 54:[15, 69] Operation: 94-25=69 Moving to Node #0,0,0 Current State: 54:[15, 69], Operations: ['80-55=25', '94-25=69'] Exploring Operation: 69-15=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 62, 50, 1, 58 ]
46
[ "62-50=12", "1*58=58", "58-12=46" ]
Current State: 46:[62, 50, 1, 58], Operations: [] Exploring Operation: 62-50=12, Resulting Numbers: [1, 58, 12] Generated Node #2: [1, 58, 12] from Operation: 62-50=12 Current State: 46:[1, 58, 12], Operations: ['62-50=12'] Exploring Operation: 1*58=58, Resulting Numbers: [12, 58] Generated Node #3: [12, 58] from Operation: 1*58=58 Current State: 46:[12, 58], Operations: ['62-50=12', '1*58=58'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[62, 50, 1, 58], Operations: [] Exploring Operation: 62-50=12, Resulting Numbers: [1, 58, 12] Generated Node #0,0: 46:[1, 58, 12] Operation: 62-50=12 Exploring Operation: 50-1=49, Resulting Numbers: [62, 58, 49] Generated Node #0,1: 46:[62, 58, 49] Operation: 50-1=49 Exploring Operation: 58-50=8, Resulting Numbers: [62, 1, 8] Generated Node #0,2: 46:[62, 1, 8] Operation: 58-50=8 Exploring Operation: 62-1=61, Resulting Numbers: [50, 58, 61] Generated Node #0,3: 46:[50, 58, 61] Operation: 62-1=61 Exploring Operation: 62-58=4, Resulting Numbers: [50, 1, 4] Generated Node #0,4: 46:[50, 1, 4] Operation: 62-58=4 Start Sub Search at level 1: Moving to Node #0,4 Current State: 46:[50, 1, 4], Operations: ['62-58=4'] Exploring Operation: 50*1=50, Resulting Numbers: [4, 50] Generated Node #0,4,0: 46:[4, 50] Operation: 50*1=50 Exploring Operation: 4-1=3, Resulting Numbers: [50, 3] Generated Node #0,4,1: 46:[50, 3] Operation: 4-1=3 Exploring Operation: 50/1=50, Resulting Numbers: [4, 50] Generated Node #0,4,2: 46:[4, 50] Operation: 50/1=50 Exploring Operation: 50-1=49, Resulting Numbers: [4, 49] Generated Node #0,4,3: 46:[4, 49] Operation: 50-1=49 Exploring Operation: 50-4=46, Resulting Numbers: [1, 46] Generated Node #0,4,4: 46:[1, 46] Operation: 50-4=46 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 46:[1, 46], Operations: ['62-58=4', '50-4=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[62, 50, 1, 58], Operations: [] Exploring Operation: 62-58=4, Resulting Numbers: [50, 1, 4] Generated Node #0,4: 46:[50, 1, 4] Operation: 62-58=4 Moving to Node #0,4 Current State: 46:[50, 1, 4], Operations: ['62-58=4'] Exploring Operation: 50-4=46, Resulting Numbers: [1, 46] Generated Node #0,4,4: 46:[1, 46] Operation: 50-4=46 Moving to Node #0,4,4 Current State: 46:[1, 46], Operations: ['62-58=4', '50-4=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 35, 83, 81, 30 ]
50
[ "83-81=2", "30/2=15", "35+15=50" ]
Current State: 50:[35, 83, 81, 30], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [35, 30, 2] Generated Node #2: [35, 30, 2] from Operation: 83-81=2 Current State: 50:[35, 30, 2], Operations: ['83-81=2'] Exploring Operation: 30/2=15, Resulting Numbers: [35, 15] Generated Node #3: [35, 15] from Operation: 30/2=15 Current State: 50:[35, 15], Operations: ['83-81=2', '30/2=15'] Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[35, 83, 81, 30], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [35, 30, 2] Generated Node #0,0: 50:[35, 30, 2] Operation: 83-81=2 Exploring Operation: 83-35=48, Resulting Numbers: [81, 30, 48] Generated Node #0,1: 50:[81, 30, 48] Operation: 83-35=48 Exploring Operation: 83-30=53, Resulting Numbers: [35, 81, 53] Generated Node #0,2: 50:[35, 81, 53] Operation: 83-30=53 Exploring Operation: 81-30=51, Resulting Numbers: [35, 83, 51] Generated Node #0,3: 50:[35, 83, 51] Operation: 81-30=51 Exploring Operation: 81-35=46, Resulting Numbers: [83, 30, 46] Generated Node #0,4: 50:[83, 30, 46] Operation: 81-35=46 Moving to Node #0,0 Current State: 50:[35, 30, 2], Operations: ['83-81=2'] Exploring Operation: 35-2=33, Resulting Numbers: [30, 33] Generated Node #0,0,0: 50:[30, 33] Operation: 35-2=33 Exploring Operation: 30/2=15, Resulting Numbers: [35, 15] Generated Node #0,0,1: 50:[35, 15] Operation: 30/2=15 Exploring Operation: 30-2=28, Resulting Numbers: [35, 28] Generated Node #0,0,2: 50:[35, 28] Operation: 30-2=28 Exploring Operation: 35+30=65, Resulting Numbers: [2, 65] Generated Node #0,0,3: 50:[2, 65] Operation: 35+30=65 Exploring Operation: 35-30=5, Resulting Numbers: [2, 5] Generated Node #0,0,4: 50:[2, 5] Operation: 35-30=5 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 50:[2, 5], Operations: ['83-81=2', '35-30=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,50 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,50 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,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:[30, 33], Operations: ['83-81=2', '35-2=33'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,50 unequal: No Solution Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,50 unequal: No Solution Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[35, 28], Operations: ['83-81=2', '30-2=28'] Exploring Operation: 35*28=980, Resulting Numbers: [980] 980,50 unequal: No Solution Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,50 unequal: No Solution Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[35, 15], Operations: ['83-81=2', '30/2=15'] Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[35, 83, 81, 30], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [35, 30, 2] Generated Node #0,0: 50:[35, 30, 2] Operation: 83-81=2 Moving to Node #0,0 Current State: 50:[35, 30, 2], Operations: ['83-81=2'] Exploring Operation: 30/2=15, Resulting Numbers: [35, 15] Generated Node #0,0,1: 50:[35, 15] Operation: 30/2=15 Moving to Node #0,0,1 Current State: 50:[35, 15], Operations: ['83-81=2', '30/2=15'] Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 52, 66, 21, 74 ]
63
[ "74-52=22", "66*21=1386", "1386/22=63" ]
Current State: 63:[52, 66, 21, 74], Operations: [] Exploring Operation: 74-52=22, Resulting Numbers: [66, 21, 22] Generated Node #2: [66, 21, 22] from Operation: 74-52=22 Current State: 63:[66, 21, 22], Operations: ['74-52=22'] Exploring Operation: 66*21=1386, Resulting Numbers: [22, 1386] Generated Node #3: [22, 1386] from Operation: 66*21=1386 Current State: 63:[22, 1386], Operations: ['74-52=22', '66*21=1386'] Exploring Operation: 1386/22=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[52, 66, 21, 74], Operations: [] Exploring Operation: 66-52=14, Resulting Numbers: [21, 74, 14] Generated Node #0,0: 63:[21, 74, 14] Operation: 66-52=14 Exploring Operation: 74-52=22, Resulting Numbers: [66, 21, 22] Generated Node #0,1: 63:[66, 21, 22] Operation: 74-52=22 Exploring Operation: 74-66=8, Resulting Numbers: [52, 21, 8] Generated Node #0,2: 63:[52, 21, 8] Operation: 74-66=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[66, 21, 22], Operations: ['74-52=22'] Exploring Operation: 66-21=45, Resulting Numbers: [22, 45] Generated Node #0,1,0: 63:[22, 45] Operation: 66-21=45 Exploring Operation: 22-21=1, Resulting Numbers: [66, 1] Generated Node #0,1,1: 63:[66, 1] Operation: 22-21=1 Exploring Operation: 66/22=3, Resulting Numbers: [21, 3] Generated Node #0,1,2: 63:[21, 3] Operation: 66/22=3 Moving to Node #0,1,2 Current State: 63:[21, 3], Operations: ['74-52=22', '66/22=3'] Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[52, 66, 21, 74], Operations: [] Exploring Operation: 74-52=22, Resulting Numbers: [66, 21, 22] Generated Node #0,1: 63:[66, 21, 22] Operation: 74-52=22 Moving to Node #0,1 Current State: 63:[66, 21, 22], Operations: ['74-52=22'] Exploring Operation: 66/22=3, Resulting Numbers: [21, 3] Generated Node #0,1,2: 63:[21, 3] Operation: 66/22=3 Moving to Node #0,1,2 Current State: 63:[21, 3], Operations: ['74-52=22', '66/22=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 44, 3, 28, 77 ]
19
[ "44*28=1232", "1232/77=16", "3+16=19" ]
Current State: 19:[44, 3, 28, 77], Operations: [] Exploring Operation: 44*28=1232, Resulting Numbers: [3, 77, 1232] Generated Node #2: [3, 77, 1232] from Operation: 44*28=1232 Current State: 19:[3, 77, 1232], Operations: ['44*28=1232'] Exploring Operation: 1232/77=16, Resulting Numbers: [3, 16] Generated Node #3: [3, 16] from Operation: 1232/77=16 Current State: 19:[3, 16], Operations: ['44*28=1232', '1232/77=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[44, 3, 28, 77], Operations: [] Exploring Operation: 77-28=49, Resulting Numbers: [44, 3, 49] Generated Node #0,0: 19:[44, 3, 49] Operation: 77-28=49 Exploring Operation: 77-44=33, Resulting Numbers: [3, 28, 33] Generated Node #0,1: 19:[3, 28, 33] Operation: 77-44=33 Exploring Operation: 44-3=41, Resulting Numbers: [28, 77, 41] Generated Node #0,2: 19:[28, 77, 41] Operation: 44-3=41 Exploring Operation: 44-28=16, Resulting Numbers: [3, 77, 16] Generated Node #0,3: 19:[3, 77, 16] Operation: 44-28=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[3, 28, 33], Operations: ['77-44=33'] Exploring Operation: 33-3=30, Resulting Numbers: [28, 30] Generated Node #0,1,0: 19:[28, 30] Operation: 33-3=30 Exploring Operation: 28-3=25, Resulting Numbers: [33, 25] Generated Node #0,1,1: 19:[33, 25] Operation: 28-3=25 Exploring Operation: 33/3=11, Resulting Numbers: [28, 11] Generated Node #0,1,2: 19:[28, 11] Operation: 33/3=11 Exploring Operation: 3+28=31, Resulting Numbers: [33, 31] Generated Node #0,1,3: 19:[33, 31] Operation: 3+28=31 Moving to Node #0,1,2 Current State: 19:[28, 11], Operations: ['77-44=33', '33/3=11'] Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,19 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,19 unequal: No Solution Exploring Operation: 28*11=308, Resulting Numbers: [308] 308,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[33, 25], Operations: ['77-44=33', '28-3=25'] Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,19 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[28, 30], Operations: ['77-44=33', '33-3=30'] Exploring Operation: 28*30=840, Resulting Numbers: [840] 840,19 unequal: No Solution Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,19 unequal: No Solution Moving to Node #0,1,3 Current State: 19:[33, 31], Operations: ['77-44=33', '3+28=31'] Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 33+31=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 33*31=1023, Resulting Numbers: [1023] 1023,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[44, 3, 49], Operations: ['77-28=49'] Exploring Operation: 44-3=41, Resulting Numbers: [49, 41] Generated Node #0,0,0: 19:[49, 41] Operation: 44-3=41 Exploring Operation: 49-44=5, Resulting Numbers: [3, 5] Generated Node #0,0,1: 19:[3, 5] Operation: 49-44=5 Exploring Operation: 44+3=47, Resulting Numbers: [49, 47] Generated Node #0,0,2: 19:[49, 47] Operation: 44+3=47 Exploring Operation: 49-3=46, Resulting Numbers: [44, 46] Generated Node #0,0,3: 19:[44, 46] Operation: 49-3=46 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[3, 5], Operations: ['77-28=49', '49-44=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[49, 41], Operations: ['77-28=49', '44-3=41'] Exploring Operation: 49*41=2009, Resulting Numbers: [2009] 2009,19 unequal: No Solution Exploring Operation: 49+41=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 19:[44, 46], Operations: ['77-28=49', '49-3=46'] Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 44*46=2024, Resulting Numbers: [2024] 2024,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 19:[49, 47], Operations: ['77-28=49', '44+3=47'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 49*47=2303, Resulting Numbers: [2303] 2303,19 unequal: No Solution Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 19:[3, 77, 16], Operations: ['44-28=16'] Exploring Operation: 77-16=61, Resulting Numbers: [3, 61] Generated Node #0,3,0: 19:[3, 61] Operation: 77-16=61 Exploring Operation: 77-3=74, Resulting Numbers: [16, 74] Generated Node #0,3,1: 19:[16, 74] Operation: 77-3=74 Exploring Operation: 3+16=19, Resulting Numbers: [77, 19] Generated Node #0,3,2: 19:[77, 19] Operation: 3+16=19 Exploring Operation: 3+77=80, Resulting Numbers: [16, 80] Generated Node #0,3,3: 19:[16, 80] Operation: 3+77=80 Moving to Node #0,3,0 Current State: 19:[3, 61], Operations: ['44-28=16', '77-16=61'] Exploring Operation: 3*61=183, Resulting Numbers: [183] 183,19 unequal: No Solution Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[77, 19], Operations: ['44-28=16', '3+16=19'] Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 77+19=96, Resulting Numbers: [96] 96,19 unequal: No Solution Exploring Operation: 77*19=1463, Resulting Numbers: [1463] 1463,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[16, 74], Operations: ['44-28=16', '77-3=74'] Exploring Operation: 16+74=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 16*74=1184, Resulting Numbers: [1184] 1184,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[16, 80], Operations: ['44-28=16', '3+77=80'] Exploring Operation: 16*80=1280, Resulting Numbers: [1280] 1280,19 unequal: No Solution Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 16+80=96, Resulting Numbers: [96] 96,19 unequal: No Solution Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[28, 77, 41], Operations: ['44-3=41'] Exploring Operation: 77-41=36, Resulting Numbers: [28, 36] Generated Node #0,2,0: 19:[28, 36] Operation: 77-41=36 Exploring Operation: 41-28=13, Resulting Numbers: [77, 13] Generated Node #0,2,1: 19:[77, 13] Operation: 41-28=13 Exploring Operation: 28+77=105, Resulting Numbers: [41, 105] Generated Node #0,2,2: 19:[41, 105] Operation: 28+77=105 Exploring Operation: 77-28=49, Resulting Numbers: [41, 49] Generated Node #0,2,3: 19:[41, 49] Operation: 77-28=49 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 19:[28, 36], Operations: ['44-3=41', '77-41=36'] Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,19 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 19:[41, 49], Operations: ['44-3=41', '77-28=49'] Exploring Operation: 41*49=2009, Resulting Numbers: [2009] 2009,19 unequal: No Solution Exploring Operation: 41+49=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 19:[77, 13], Operations: ['44-3=41', '41-28=13'] Exploring Operation: 77+13=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,19 unequal: No Solution Exploring Operation: 77*13=1001, Resulting Numbers: [1001] 1001,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 19:[41, 105], Operations: ['44-3=41', '28+77=105'] Exploring Operation: 41+105=146, Resulting Numbers: [146] 146,19 unequal: No Solution Exploring Operation: 41*105=4305, Resulting Numbers: [4305] 4305,19 unequal: No Solution Exploring Operation: 105-41=64, Resulting Numbers: [64] 64,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 26, 23, 39, 3 ]
56
[ "39-26=13", "23*3=69", "69-13=56" ]
Current State: 56:[26, 23, 39, 3], Operations: [] Exploring Operation: 39-26=13, Resulting Numbers: [23, 3, 13] Generated Node #2: [23, 3, 13] from Operation: 39-26=13 Current State: 56:[23, 3, 13], Operations: ['39-26=13'] Exploring Operation: 23*3=69, Resulting Numbers: [13, 69] Generated Node #3: [13, 69] from Operation: 23*3=69 Current State: 56:[13, 69], Operations: ['39-26=13', '23*3=69'] Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[26, 23, 39, 3], Operations: [] Exploring Operation: 39-26=13, Resulting Numbers: [23, 3, 13] Generated Node #0,0: 56:[23, 3, 13] Operation: 39-26=13 Exploring Operation: 39-23=16, Resulting Numbers: [26, 3, 16] Generated Node #0,1: 56:[26, 3, 16] Operation: 39-23=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[26, 3, 16], Operations: ['39-23=16'] Exploring Operation: 26+3=29, Resulting Numbers: [16, 29] Generated Node #0,1,0: 56:[16, 29] Operation: 26+3=29 Exploring Operation: 26-16=10, Resulting Numbers: [3, 10] Generated Node #0,1,1: 56:[3, 10] Operation: 26-16=10 Moving to Node #0,1,0 Current State: 56:[16, 29], Operations: ['39-23=16', '26+3=29'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[3, 10], Operations: ['39-23=16', '26-16=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[23, 3, 13], Operations: ['39-26=13'] Exploring Operation: 23+3=26, Resulting Numbers: [13, 26] Generated Node #0,0,0: 56:[13, 26] Operation: 23+3=26 Exploring Operation: 23-13=10, Resulting Numbers: [3, 10] Generated Node #0,0,1: 56:[3, 10] Operation: 23-13=10 Moving to Node #0,0,0 Current State: 56:[13, 26], Operations: ['39-26=13', '23+3=26'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[3, 10], Operations: ['39-26=13', '23-13=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,56 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
[ 73, 38, 5, 31 ]
13
[ "73*5=365", "38+365=403", "403/31=13" ]
Current State: 13:[73, 38, 5, 31], Operations: [] Exploring Operation: 73*5=365, Resulting Numbers: [38, 31, 365] Generated Node #2: [38, 31, 365] from Operation: 73*5=365 Current State: 13:[38, 31, 365], Operations: ['73*5=365'] Exploring Operation: 38+365=403, Resulting Numbers: [31, 403] Generated Node #3: [31, 403] from Operation: 38+365=403 Current State: 13:[31, 403], Operations: ['73*5=365', '38+365=403'] Exploring Operation: 403/31=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[73, 38, 5, 31], Operations: [] Exploring Operation: 73-31=42, Resulting Numbers: [38, 5, 42] Generated Node #0,0: 13:[38, 5, 42] Operation: 73-31=42 Exploring Operation: 73-38=35, Resulting Numbers: [5, 31, 35] Generated Node #0,1: 13:[5, 31, 35] Operation: 73-38=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[5, 31, 35], Operations: ['73-38=35'] Exploring Operation: 35/5=7, Resulting Numbers: [31, 7] Generated Node #0,1,0: 13:[31, 7] Operation: 35/5=7 Exploring Operation: 35-31=4, Resulting Numbers: [5, 4] Generated Node #0,1,1: 13:[5, 4] Operation: 35-31=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 13:[5, 4], Operations: ['73-38=35', '35-31=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,13 unequal: No Solution No 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: 13:[31, 7], Operations: ['73-38=35', '35/5=7'] Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,13 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: 13:[38, 5, 42], Operations: ['73-31=42'] Exploring Operation: 42-38=4, Resulting Numbers: [5, 4] Generated Node #0,0,0: 13:[5, 4] Operation: 42-38=4 Exploring Operation: 38-5=33, Resulting Numbers: [42, 33] Generated Node #0,0,1: 13:[42, 33] Operation: 38-5=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[5, 4], Operations: ['73-31=42', '42-38=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,13 unequal: No Solution No 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: 13:[42, 33], Operations: ['73-31=42', '38-5=33'] Exploring Operation: 42+33=75, Resulting Numbers: [75] 75,13 unequal: No Solution Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,13 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
[ 70, 66, 42, 22 ]
72
[ "70+66=136", "42+22=64", "136-64=72" ]
Current State: 72:[70, 66, 42, 22], Operations: [] Exploring Operation: 70+66=136, Resulting Numbers: [42, 22, 136] Generated Node #2: [42, 22, 136] from Operation: 70+66=136 Current State: 72:[42, 22, 136], Operations: ['70+66=136'] Exploring Operation: 42+22=64, Resulting Numbers: [136, 64] Generated Node #3: [136, 64] from Operation: 42+22=64 Current State: 72:[136, 64], Operations: ['70+66=136', '42+22=64'] Exploring Operation: 136-64=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[70, 66, 42, 22], Operations: [] Exploring Operation: 66-42=24, Resulting Numbers: [70, 22, 24] Generated Node #0,0: 72:[70, 22, 24] Operation: 66-42=24 Moving to Node #0,0 Current State: 72:[70, 22, 24], Operations: ['66-42=24'] Exploring Operation: 24-22=2, Resulting Numbers: [70, 2] Generated Node #0,0,0: 72:[70, 2] Operation: 24-22=2 Moving to Node #0,0,0 Current State: 72:[70, 2], Operations: ['66-42=24', '24-22=2'] Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[70, 66, 42, 22], Operations: [] Exploring Operation: 66-42=24, Resulting Numbers: [70, 22, 24] Generated Node #0,0: 72:[70, 22, 24] Operation: 66-42=24 Moving to Node #0,0 Current State: 72:[70, 22, 24], Operations: ['66-42=24'] Exploring Operation: 24-22=2, Resulting Numbers: [70, 2] Generated Node #0,0,0: 72:[70, 2] Operation: 24-22=2 Moving to Node #0,0,0 Current State: 72:[70, 2], Operations: ['66-42=24', '24-22=2'] Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 88, 86, 14, 76 ]
22
[ "86-14=72", "76-72=4", "88/4=22" ]
Current State: 22:[88, 86, 14, 76], Operations: [] Exploring Operation: 86-14=72, Resulting Numbers: [88, 76, 72] Generated Node #2: [88, 76, 72] from Operation: 86-14=72 Current State: 22:[88, 76, 72], Operations: ['86-14=72'] Exploring Operation: 76-72=4, Resulting Numbers: [88, 4] Generated Node #3: [88, 4] from Operation: 76-72=4 Current State: 22:[88, 4], Operations: ['86-14=72', '76-72=4'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[88, 86, 14, 76], Operations: [] Exploring Operation: 88-76=12, Resulting Numbers: [86, 14, 12] Generated Node #0,0: 22:[86, 14, 12] Operation: 88-76=12 Exploring Operation: 88-86=2, Resulting Numbers: [14, 76, 2] Generated Node #0,1: 22:[14, 76, 2] Operation: 88-86=2 Moving to Node #0,1 Current State: 22:[14, 76, 2], Operations: ['88-86=2'] Exploring Operation: 76/2=38, Resulting Numbers: [14, 38] Generated Node #0,1,0: 22:[14, 38] Operation: 76/2=38 Exploring Operation: 76-14=62, Resulting Numbers: [2, 62] Generated Node #0,1,1: 22:[2, 62] Operation: 76-14=62 Moving to Node #0,0 Current State: 22:[86, 14, 12], Operations: ['88-76=12'] Exploring Operation: 86-12=74, Resulting Numbers: [14, 74] Generated Node #0,0,0: 22:[14, 74] Operation: 86-12=74 Exploring Operation: 86-14=72, Resulting Numbers: [12, 72] Generated Node #0,0,1: 22:[12, 72] Operation: 86-14=72 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[12, 72], Operations: ['88-76=12', '86-14=72'] Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,22 unequal: No Solution Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[14, 74], Operations: ['88-76=12', '86-12=74'] Exploring Operation: 14+74=88, Resulting Numbers: [88] 88,22 unequal: No Solution Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,22 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: 22:[14, 38], Operations: ['88-86=2', '76/2=38'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,22 unequal: No Solution Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[2, 62], Operations: ['88-86=2', '76-14=62'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,22 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,22 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 55, 36, 33, 72 ]
86
[ "55-36=19", "33+72=105", "105-19=86" ]
Current State: 86:[55, 36, 33, 72], Operations: [] Exploring Operation: 55-36=19, Resulting Numbers: [33, 72, 19] Generated Node #2: [33, 72, 19] from Operation: 55-36=19 Current State: 86:[33, 72, 19], Operations: ['55-36=19'] Exploring Operation: 33+72=105, Resulting Numbers: [19, 105] Generated Node #3: [19, 105] from Operation: 33+72=105 Current State: 86:[19, 105], Operations: ['55-36=19', '33+72=105'] Exploring Operation: 105-19=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[55, 36, 33, 72], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [55, 33, 2] Generated Node #0,0: 86:[55, 33, 2] Operation: 72/36=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[55, 33, 2], Operations: ['72/36=2'] Exploring Operation: 55+33=88, Resulting Numbers: [2, 88] Generated Node #0,0,0: 86:[2, 88] Operation: 55+33=88 Moving to Node #0,0,0 Current State: 86:[2, 88], Operations: ['72/36=2', '55+33=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[55, 36, 33, 72], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [55, 33, 2] Generated Node #0,0: 86:[55, 33, 2] Operation: 72/36=2 Moving to Node #0,0 Current State: 86:[55, 33, 2], Operations: ['72/36=2'] Exploring Operation: 55+33=88, Resulting Numbers: [2, 88] Generated Node #0,0,0: 86:[2, 88] Operation: 55+33=88 Moving to Node #0,0,0 Current State: 86:[2, 88], Operations: ['72/36=2', '55+33=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 38, 35, 24, 7 ]
65
[ "38-35=3", "24*3=72", "72-7=65" ]
Current State: 65:[38, 35, 24, 7], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [24, 7, 3] Generated Node #2: [24, 7, 3] from Operation: 38-35=3 Current State: 65:[24, 7, 3], Operations: ['38-35=3'] Exploring Operation: 24*3=72, Resulting Numbers: [7, 72] Generated Node #3: [7, 72] from Operation: 24*3=72 Current State: 65:[7, 72], Operations: ['38-35=3', '24*3=72'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[38, 35, 24, 7], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [24, 7, 3] Generated Node #0,0: 65:[24, 7, 3] Operation: 38-35=3 Exploring Operation: 38+35=73, Resulting Numbers: [24, 7, 73] Generated Node #0,1: 65:[24, 7, 73] Operation: 38+35=73 Exploring Operation: 38-24=14, Resulting Numbers: [35, 7, 14] Generated Node #0,2: 65:[35, 7, 14] Operation: 38-24=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[24, 7, 3], Operations: ['38-35=3'] Exploring Operation: 24*3=72, Resulting Numbers: [7, 72] Generated Node #0,0,0: 65:[7, 72] Operation: 24*3=72 Exploring Operation: 24-7=17, Resulting Numbers: [3, 17] Generated Node #0,0,1: 65:[3, 17] Operation: 24-7=17 Exploring Operation: 24/3=8, Resulting Numbers: [7, 8] Generated Node #0,0,2: 65:[7, 8] Operation: 24/3=8 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 65:[7, 8], Operations: ['38-35=3', '24/3=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 65:[3, 17], Operations: ['38-35=3', '24-7=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,65 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[7, 72], Operations: ['38-35=3', '24*3=72'] Exploring Operation: 7*72=504, Resulting Numbers: [504] 504,65 unequal: No Solution Exploring Operation: 7+72=79, Resulting Numbers: [79] 79,65 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[38, 35, 24, 7], Operations: [] Exploring Operation: 38-35=3, Resulting Numbers: [24, 7, 3] Generated Node #0,0: 65:[24, 7, 3] Operation: 38-35=3 Moving to Node #0,0 Current State: 65:[24, 7, 3], Operations: ['38-35=3'] Exploring Operation: 24*3=72, Resulting Numbers: [7, 72] Generated Node #0,0,0: 65:[7, 72] Operation: 24*3=72 Moving to Node #0,0,0 Current State: 65:[7, 72], Operations: ['38-35=3', '24*3=72'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 59, 71, 11, 11 ]
34
[ "71-59=12", "11+11=22", "12+22=34" ]
Current State: 34:[59, 71, 11, 11], Operations: [] Exploring Operation: 71-59=12, Resulting Numbers: [11, 11, 12] Generated Node #2: [11, 11, 12] from Operation: 71-59=12 Current State: 34:[11, 11, 12], Operations: ['71-59=12'] Exploring Operation: 11+11=22, Resulting Numbers: [12, 22] Generated Node #3: [12, 22] from Operation: 11+11=22 Current State: 34:[12, 22], Operations: ['71-59=12', '11+11=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[59, 71, 11, 11], Operations: [] Exploring Operation: 71-59=12, Resulting Numbers: [11, 11, 12] Generated Node #0,0: 34:[11, 11, 12] Operation: 71-59=12 Exploring Operation: 59-11=48, Resulting Numbers: [71, 11, 48] Generated Node #0,1: 34:[71, 11, 48] Operation: 59-11=48 Exploring Operation: 71-11=60, Resulting Numbers: [59, 11, 60] Generated Node #0,2: 34:[59, 11, 60] Operation: 71-11=60 Exploring Operation: 59-11=48, Resulting Numbers: [71, 11, 48] Generated Node #0,3: 34:[71, 11, 48] Operation: 59-11=48 Moving to Node #0,0 Current State: 34:[11, 11, 12], Operations: ['71-59=12'] Exploring Operation: 11-11=0, Resulting Numbers: [12, 0] Generated Node #0,0,0: 34:[12, 0] Operation: 11-11=0 Exploring Operation: 12-11=1, Resulting Numbers: [11, 1] Generated Node #0,0,1: 34:[11, 1] Operation: 12-11=1 Exploring Operation: 12-11=1, Resulting Numbers: [11, 1] Generated Node #0,0,2: 34:[11, 1] Operation: 12-11=1 Exploring Operation: 11/11=1, Resulting Numbers: [12, 1] Generated Node #0,0,3: 34:[12, 1] Operation: 11/11=1 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 34:[12, 1], Operations: ['71-59=12', '11/11=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,34 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,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,0 Current State: 34:[12, 0], Operations: ['71-59=12', '11-11=0'] Exploring Operation: 12*0=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 12-0=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 12+0=12, Resulting Numbers: [12] 12,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:[11, 1], Operations: ['71-59=12', '12-11=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,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:[11, 1], Operations: ['71-59=12', '12-11=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,34 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: 34:[59, 11, 60], Operations: ['71-11=60'] Exploring Operation: 59+11=70, Resulting Numbers: [60, 70] Generated Node #0,2,0: 34:[60, 70] Operation: 59+11=70 Exploring Operation: 59-11=48, Resulting Numbers: [60, 48] Generated Node #0,2,1: 34:[60, 48] Operation: 59-11=48 Exploring Operation: 60-11=49, Resulting Numbers: [59, 49] Generated Node #0,2,2: 34:[59, 49] Operation: 60-11=49 Exploring Operation: 60-59=1, Resulting Numbers: [11, 1] Generated Node #0,2,3: 34:[11, 1] Operation: 60-59=1 Moving to Node #0,1 Current State: 34:[71, 11, 48], Operations: ['59-11=48'] Exploring Operation: 71-48=23, Resulting Numbers: [11, 23] Generated Node #0,1,0: 34:[11, 23] Operation: 71-48=23 Exploring Operation: 71+11=82, Resulting Numbers: [48, 82] Generated Node #0,1,1: 34:[48, 82] Operation: 71+11=82 Exploring Operation: 48-11=37, Resulting Numbers: [71, 37] Generated Node #0,1,2: 34:[71, 37] Operation: 48-11=37 Exploring Operation: 71-11=60, Resulting Numbers: [48, 60] Generated Node #0,1,3: 34:[48, 60] Operation: 71-11=60 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[11, 23], Operations: ['59-11=48', '71-48=23'] Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,34 unequal: No Solution Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[59, 71, 11, 11], Operations: [] Exploring Operation: 59-11=48, Resulting Numbers: [71, 11, 48] Generated Node #0,1: 34:[71, 11, 48] Operation: 59-11=48 Moving to Node #0,1 Current State: 34:[71, 11, 48], Operations: ['59-11=48'] Exploring Operation: 71-48=23, Resulting Numbers: [11, 23] Generated Node #0,1,0: 34:[11, 23] Operation: 71-48=23 Moving to Node #0,1,0 Current State: 34:[11, 23], Operations: ['59-11=48', '71-48=23'] Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 38, 13, 54, 10 ]
30
[ "38+13=51", "54-51=3", "10*3=30" ]
Current State: 30:[38, 13, 54, 10], Operations: [] Exploring Operation: 38+13=51, Resulting Numbers: [54, 10, 51] Generated Node #2: [54, 10, 51] from Operation: 38+13=51 Current State: 30:[54, 10, 51], Operations: ['38+13=51'] Exploring Operation: 54-51=3, Resulting Numbers: [10, 3] Generated Node #3: [10, 3] from Operation: 54-51=3 Current State: 30:[10, 3], Operations: ['38+13=51', '54-51=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[38, 13, 54, 10], Operations: [] Exploring Operation: 54-13=41, Resulting Numbers: [38, 10, 41] Generated Node #0,0: 30:[38, 10, 41] Operation: 54-13=41 Exploring Operation: 54-38=16, Resulting Numbers: [13, 10, 16] Generated Node #0,1: 30:[13, 10, 16] Operation: 54-38=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[13, 10, 16], Operations: ['54-38=16'] Exploring Operation: 16-13=3, Resulting Numbers: [10, 3] Generated Node #0,1,0: 30:[10, 3] Operation: 16-13=3 Exploring Operation: 13-10=3, Resulting Numbers: [16, 3] Generated Node #0,1,1: 30:[16, 3] Operation: 13-10=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[10, 3], Operations: ['54-38=16', '16-13=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[38, 13, 54, 10], Operations: [] Exploring Operation: 54-38=16, Resulting Numbers: [13, 10, 16] Generated Node #0,1: 30:[13, 10, 16] Operation: 54-38=16 Moving to Node #0,1 Current State: 30:[13, 10, 16], Operations: ['54-38=16'] Exploring Operation: 16-13=3, Resulting Numbers: [10, 3] Generated Node #0,1,0: 30:[10, 3] Operation: 16-13=3 Moving to Node #0,1,0 Current State: 30:[10, 3], Operations: ['54-38=16', '16-13=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 6, 21, 64, 55 ]
72
[ "64-21=43", "55-43=12", "6*12=72" ]
Current State: 72:[6, 21, 64, 55], Operations: [] Exploring Operation: 64-21=43, Resulting Numbers: [6, 55, 43] Generated Node #2: [6, 55, 43] from Operation: 64-21=43 Current State: 72:[6, 55, 43], Operations: ['64-21=43'] Exploring Operation: 55-43=12, Resulting Numbers: [6, 12] Generated Node #3: [6, 12] from Operation: 55-43=12 Current State: 72:[6, 12], Operations: ['64-21=43', '55-43=12'] Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[6, 21, 64, 55], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [6, 21, 9] Generated Node #0,0: 72:[6, 21, 9] Operation: 64-55=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[6, 21, 9], Operations: ['64-55=9'] Exploring Operation: 21-9=12, Resulting Numbers: [6, 12] Generated Node #0,0,0: 72:[6, 12] Operation: 21-9=12 Moving to Node #0,0,0 Current State: 72:[6, 12], Operations: ['64-55=9', '21-9=12'] Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 68, 43, 42, 1 ]
67
[ "68-43=25", "42*1=42", "25+42=67" ]
Current State: 67:[68, 43, 42, 1], Operations: [] Exploring Operation: 68-43=25, Resulting Numbers: [42, 1, 25] Generated Node #2: [42, 1, 25] from Operation: 68-43=25 Current State: 67:[42, 1, 25], Operations: ['68-43=25'] Exploring Operation: 42*1=42, Resulting Numbers: [25, 42] Generated Node #3: [25, 42] from Operation: 42*1=42 Current State: 67:[25, 42], Operations: ['68-43=25', '42*1=42'] Exploring Operation: 25+42=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[68, 43, 42, 1], Operations: [] Exploring Operation: 42+1=43, Resulting Numbers: [68, 43, 43] Generated Node #0,0: 67:[68, 43, 43] Operation: 42+1=43 Exploring Operation: 68-1=67, Resulting Numbers: [43, 42, 67] Generated Node #0,1: 67:[43, 42, 67] Operation: 68-1=67 Exploring Operation: 43+1=44, Resulting Numbers: [68, 42, 44] Generated Node #0,2: 67:[68, 42, 44] Operation: 43+1=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[68, 43, 43], Operations: ['42+1=43'] Exploring Operation: 68-43=25, Resulting Numbers: [43, 25] Generated Node #0,0,0: 67:[43, 25] Operation: 68-43=25 Exploring Operation: 43+43=86, Resulting Numbers: [68, 86] Generated Node #0,0,1: 67:[68, 86] Operation: 43+43=86 Exploring Operation: 68-43=25, Resulting Numbers: [43, 25] Generated Node #0,0,2: 67:[43, 25] Operation: 68-43=25 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[68, 86], Operations: ['42+1=43', '43+43=86'] Exploring Operation: 68*86=5848, Resulting Numbers: [5848] 5848,67 unequal: No Solution Exploring Operation: 68+86=154, Resulting Numbers: [154] 154,67 unequal: No Solution Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[43, 25], Operations: ['42+1=43', '68-43=25'] Exploring Operation: 43*25=1075, Resulting Numbers: [1075] 1075,67 unequal: No Solution Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 43+25=68, Resulting Numbers: [68] 68,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[43, 25], Operations: ['42+1=43', '68-43=25'] Exploring Operation: 43*25=1075, Resulting Numbers: [1075] 1075,67 unequal: No Solution Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 43+25=68, Resulting Numbers: [68] 68,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[43, 42, 67], Operations: ['68-1=67'] Exploring Operation: 42+67=109, Resulting Numbers: [43, 109] Generated Node #0,1,0: 67:[43, 109] Operation: 42+67=109 Exploring Operation: 43+42=85, Resulting Numbers: [67, 85] Generated Node #0,1,1: 67:[67, 85] Operation: 43+42=85 Exploring Operation: 43-42=1, Resulting Numbers: [67, 1] Generated Node #0,1,2: 67:[67, 1] Operation: 43-42=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[67, 85], Operations: ['68-1=67', '43+42=85'] Exploring Operation: 85-67=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 67*85=5695, Resulting Numbers: [5695] 5695,67 unequal: No Solution Exploring Operation: 67+85=152, Resulting Numbers: [152] 152,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[43, 109], Operations: ['68-1=67', '42+67=109'] Exploring Operation: 109-43=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 43+109=152, Resulting Numbers: [152] 152,67 unequal: No Solution Exploring Operation: 43*109=4687, Resulting Numbers: [4687] 4687,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[67, 1], Operations: ['68-1=67', '43-42=1'] Exploring Operation: 67+1=68, Resulting Numbers: [68] 68,67 unequal: No Solution Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[68, 43, 42, 1], Operations: [] Exploring Operation: 68-1=67, Resulting Numbers: [43, 42, 67] Generated Node #0,1: 67:[43, 42, 67] Operation: 68-1=67 Moving to Node #0,1 Current State: 67:[43, 42, 67], Operations: ['68-1=67'] Exploring Operation: 43-42=1, Resulting Numbers: [67, 1] Generated Node #0,1,2: 67:[67, 1] Operation: 43-42=1 Moving to Node #0,1,2 Current State: 67:[67, 1], Operations: ['68-1=67', '43-42=1'] Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_3
sum_heuristic
[ 54, 46, 41, 7 ]
56
[ "54-46=8", "41+7=48", "8+48=56" ]
Current State: 56:[54, 46, 41, 7], Operations: [] Exploring Operation: 54-46=8, Resulting Numbers: [41, 7, 8] Generated Node #2: [41, 7, 8] from Operation: 54-46=8 Current State: 56:[41, 7, 8], Operations: ['54-46=8'] Exploring Operation: 41+7=48, Resulting Numbers: [8, 48] Generated Node #3: [8, 48] from Operation: 41+7=48 Current State: 56:[8, 48], Operations: ['54-46=8', '41+7=48'] Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[54, 46, 41, 7], Operations: [] Exploring Operation: 54-41=13, Resulting Numbers: [46, 7, 13] Generated Node #0,0: 56:[46, 7, 13] Operation: 54-41=13 Exploring Operation: 46-41=5, Resulting Numbers: [54, 7, 5] Generated Node #0,1: 56:[54, 7, 5] Operation: 46-41=5 Exploring Operation: 54-46=8, Resulting Numbers: [41, 7, 8] Generated Node #0,2: 56:[41, 7, 8] Operation: 54-46=8 Moving to Node #0,1 Current State: 56:[54, 7, 5], Operations: ['46-41=5'] Exploring Operation: 7+5=12, Resulting Numbers: [54, 12] Generated Node #0,1,0: 56:[54, 12] Operation: 7+5=12 Exploring Operation: 54+5=59, Resulting Numbers: [7, 59] Generated Node #0,1,1: 56:[7, 59] Operation: 54+5=59 Exploring Operation: 7-5=2, Resulting Numbers: [54, 2] Generated Node #0,1,2: 56:[54, 2] Operation: 7-5=2 Moving to Node #0,0 Current State: 56:[46, 7, 13], Operations: ['54-41=13'] Exploring Operation: 46-13=33, Resulting Numbers: [7, 33] Generated Node #0,0,0: 56:[7, 33] Operation: 46-13=33 Exploring Operation: 46+7=53, Resulting Numbers: [13, 53] Generated Node #0,0,1: 56:[13, 53] Operation: 46+7=53 Exploring Operation: 46+13=59, Resulting Numbers: [7, 59] Generated Node #0,0,2: 56:[7, 59] Operation: 46+13=59 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[7, 59], Operations: ['54-41=13', '46+13=59'] Exploring Operation: 7*59=413, Resulting Numbers: [413] 413,56 unequal: No Solution Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 7+59=66, Resulting Numbers: [66] 66,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[13, 53], Operations: ['54-41=13', '46+7=53'] Exploring Operation: 13*53=689, Resulting Numbers: [689] 689,56 unequal: No Solution Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 13+53=66, Resulting Numbers: [66] 66,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[7, 33], Operations: ['54-41=13', '46-13=33'] Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,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 1 No solution found in sub search Moving to Node #0,2 Current State: 56:[41, 7, 8], Operations: ['54-46=8'] Exploring Operation: 41-7=34, Resulting Numbers: [8, 34] Generated Node #0,2,0: 56:[8, 34] Operation: 41-7=34 Exploring Operation: 41+8=49, Resulting Numbers: [7, 49] Generated Node #0,2,1: 56:[7, 49] Operation: 41+8=49 Exploring Operation: 41-8=33, Resulting Numbers: [7, 33] Generated Node #0,2,2: 56:[7, 33] Operation: 41-8=33 Moving to Node #0,1,2 Current State: 56:[54, 2], Operations: ['46-41=5', '7-5=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[54, 46, 41, 7], Operations: [] Exploring Operation: 46-41=5, Resulting Numbers: [54, 7, 5] Generated Node #0,1: 56:[54, 7, 5] Operation: 46-41=5 Moving to Node #0,1 Current State: 56:[54, 7, 5], Operations: ['46-41=5'] Exploring Operation: 7-5=2, Resulting Numbers: [54, 2] Generated Node #0,1,2: 56:[54, 2] Operation: 7-5=2 Moving to Node #0,1,2 Current State: 56:[54, 2], Operations: ['46-41=5', '7-5=2'] Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 9, 28, 68, 94 ]
18
[ "28+68=96", "96-94=2", "9*2=18" ]
Current State: 18:[9, 28, 68, 94], Operations: [] Exploring Operation: 28+68=96, Resulting Numbers: [9, 94, 96] Generated Node #2: [9, 94, 96] from Operation: 28+68=96 Current State: 18:[9, 94, 96], Operations: ['28+68=96'] Exploring Operation: 96-94=2, Resulting Numbers: [9, 2] Generated Node #3: [9, 2] from Operation: 96-94=2 Current State: 18:[9, 2], Operations: ['28+68=96', '96-94=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[9, 28, 68, 94], Operations: [] Exploring Operation: 94-28=66, Resulting Numbers: [9, 68, 66] Generated Node #0,0: 18:[9, 68, 66] Operation: 94-28=66 Exploring Operation: 68-28=40, Resulting Numbers: [9, 94, 40] Generated Node #0,1: 18:[9, 94, 40] Operation: 68-28=40 Exploring Operation: 94-68=26, Resulting Numbers: [9, 28, 26] Generated Node #0,2: 18:[9, 28, 26] Operation: 94-68=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[9, 28, 26], Operations: ['94-68=26'] Exploring Operation: 26-9=17, Resulting Numbers: [28, 17] Generated Node #0,2,0: 18:[28, 17] Operation: 26-9=17 Exploring Operation: 28-26=2, Resulting Numbers: [9, 2] Generated Node #0,2,1: 18:[9, 2] Operation: 28-26=2 Exploring Operation: 28-9=19, Resulting Numbers: [26, 19] Generated Node #0,2,2: 18:[26, 19] Operation: 28-9=19 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 18:[9, 2], Operations: ['94-68=26', '28-26=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[9, 28, 68, 94], Operations: [] Exploring Operation: 94-68=26, Resulting Numbers: [9, 28, 26] Generated Node #0,2: 18:[9, 28, 26] Operation: 94-68=26 Moving to Node #0,2 Current State: 18:[9, 28, 26], Operations: ['94-68=26'] Exploring Operation: 28-26=2, Resulting Numbers: [9, 2] Generated Node #0,2,1: 18:[9, 2] Operation: 28-26=2 Moving to Node #0,2,1 Current State: 18:[9, 2], Operations: ['94-68=26', '28-26=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 1, 59, 69, 54 ]
75
[ "1+59=60", "69-54=15", "60+15=75" ]
Current State: 75:[1, 59, 69, 54], Operations: [] Exploring Operation: 1+59=60, Resulting Numbers: [69, 54, 60] Generated Node #2: [69, 54, 60] from Operation: 1+59=60 Current State: 75:[69, 54, 60], Operations: ['1+59=60'] Exploring Operation: 69-54=15, Resulting Numbers: [60, 15] Generated Node #3: [60, 15] from Operation: 69-54=15 Current State: 75:[60, 15], Operations: ['1+59=60', '69-54=15'] Exploring Operation: 60+15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[1, 59, 69, 54], Operations: [] Exploring Operation: 1+69=70, Resulting Numbers: [59, 54, 70] Generated Node #0,0: 75:[59, 54, 70] Operation: 1+69=70 Exploring Operation: 59-54=5, Resulting Numbers: [1, 69, 5] Generated Node #0,1: 75:[1, 69, 5] Operation: 59-54=5 Exploring Operation: 69-54=15, Resulting Numbers: [1, 59, 15] Generated Node #0,2: 75:[1, 59, 15] Operation: 69-54=15 Exploring Operation: 1+59=60, Resulting Numbers: [69, 54, 60] Generated Node #0,3: 75:[69, 54, 60] Operation: 1+59=60 Exploring Operation: 69-59=10, Resulting Numbers: [1, 54, 10] Generated Node #0,4: 75:[1, 54, 10] Operation: 69-59=10 Moving to Node #0,1 Current State: 75:[1, 69, 5], Operations: ['59-54=5'] Exploring Operation: 69+5=74, Resulting Numbers: [1, 74] Generated Node #0,1,0: 75:[1, 74] Operation: 69+5=74 Exploring Operation: 69/1=69, Resulting Numbers: [5, 69] Generated Node #0,1,1: 75:[5, 69] Operation: 69/1=69 Exploring Operation: 1*69=69, Resulting Numbers: [5, 69] Generated Node #0,1,2: 75:[5, 69] Operation: 1*69=69 Exploring Operation: 1*5=5, Resulting Numbers: [69, 5] Generated Node #0,1,3: 75:[69, 5] Operation: 1*5=5 Exploring Operation: 1+69=70, Resulting Numbers: [5, 70] Generated Node #0,1,4: 75:[5, 70] Operation: 1+69=70 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[1, 74], Operations: ['59-54=5', '69+5=74'] Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[1, 59, 69, 54], Operations: [] Exploring Operation: 59-54=5, Resulting Numbers: [1, 69, 5] Generated Node #0,1: 75:[1, 69, 5] Operation: 59-54=5 Moving to Node #0,1 Current State: 75:[1, 69, 5], Operations: ['59-54=5'] Exploring Operation: 69+5=74, Resulting Numbers: [1, 74] Generated Node #0,1,0: 75:[1, 74] Operation: 69+5=74 Moving to Node #0,1,0 Current State: 75:[1, 74], Operations: ['59-54=5', '69+5=74'] Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 74, 33, 46, 8 ]
13
[ "74-33=41", "46+8=54", "54-41=13" ]
Current State: 13:[74, 33, 46, 8], Operations: [] Exploring Operation: 74-33=41, Resulting Numbers: [46, 8, 41] Generated Node #2: [46, 8, 41] from Operation: 74-33=41 Current State: 13:[46, 8, 41], Operations: ['74-33=41'] Exploring Operation: 46+8=54, Resulting Numbers: [41, 54] Generated Node #3: [41, 54] from Operation: 46+8=54 Current State: 13:[41, 54], Operations: ['74-33=41', '46+8=54'] Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[74, 33, 46, 8], Operations: [] Exploring Operation: 46-33=13, Resulting Numbers: [74, 8, 13] Generated Node #0,0: 13:[74, 8, 13] Operation: 46-33=13 Exploring Operation: 74-46=28, Resulting Numbers: [33, 8, 28] Generated Node #0,1: 13:[33, 8, 28] Operation: 74-46=28 Exploring Operation: 74-33=41, Resulting Numbers: [46, 8, 41] Generated Node #0,2: 13:[46, 8, 41] Operation: 74-33=41 Exploring Operation: 74-8=66, Resulting Numbers: [33, 46, 66] Generated Node #0,3: 13:[33, 46, 66] Operation: 74-8=66 Exploring Operation: 33-8=25, Resulting Numbers: [74, 46, 25] Generated Node #0,4: 13:[74, 46, 25] Operation: 33-8=25 Moving to Node #0,1 Current State: 13:[33, 8, 28], Operations: ['74-46=28'] Exploring Operation: 8+28=36, Resulting Numbers: [33, 36] Generated Node #0,1,0: 13:[33, 36] Operation: 8+28=36 Exploring Operation: 33-8=25, Resulting Numbers: [28, 25] Generated Node #0,1,1: 13:[28, 25] Operation: 33-8=25 Exploring Operation: 28-8=20, Resulting Numbers: [33, 20] Generated Node #0,1,2: 13:[33, 20] Operation: 28-8=20 Exploring Operation: 33-28=5, Resulting Numbers: [8, 5] Generated Node #0,1,3: 13:[8, 5] Operation: 33-28=5 Exploring Operation: 33+8=41, Resulting Numbers: [28, 41] Generated Node #0,1,4: 13:[28, 41] Operation: 33+8=41 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 13:[8, 5], Operations: ['74-46=28', '33-28=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,13 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[74, 33, 46, 8], Operations: [] Exploring Operation: 74-46=28, Resulting Numbers: [33, 8, 28] Generated Node #0,1: 13:[33, 8, 28] Operation: 74-46=28 Moving to Node #0,1 Current State: 13:[33, 8, 28], Operations: ['74-46=28'] Exploring Operation: 33-28=5, Resulting Numbers: [8, 5] Generated Node #0,1,3: 13:[8, 5] Operation: 33-28=5 Moving to Node #0,1,3 Current State: 13:[8, 5], Operations: ['74-46=28', '33-28=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 3, 5, 68, 78 ]
18
[ "3+5=8", "78-68=10", "8+10=18" ]
Current State: 18:[3, 5, 68, 78], Operations: [] Exploring Operation: 3+5=8, Resulting Numbers: [68, 78, 8] Generated Node #2: [68, 78, 8] from Operation: 3+5=8 Current State: 18:[68, 78, 8], Operations: ['3+5=8'] Exploring Operation: 78-68=10, Resulting Numbers: [8, 10] Generated Node #3: [8, 10] from Operation: 78-68=10 Current State: 18:[8, 10], Operations: ['3+5=8', '78-68=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[3, 5, 68, 78], Operations: [] Exploring Operation: 78-68=10, Resulting Numbers: [3, 5, 10] Generated Node #0,0: 18:[3, 5, 10] Operation: 78-68=10 Exploring Operation: 78/3=26, Resulting Numbers: [5, 68, 26] Generated Node #0,1: 18:[5, 68, 26] Operation: 78/3=26 Moving to Node #0,0 Current State: 18:[3, 5, 10], Operations: ['78-68=10'] Exploring Operation: 5-3=2, Resulting Numbers: [10, 2] Generated Node #0,0,0: 18:[10, 2] Operation: 5-3=2 Exploring Operation: 10/5=2, Resulting Numbers: [3, 2] Generated Node #0,0,1: 18:[3, 2] Operation: 10/5=2 Moving to Node #0,1 Current State: 18:[5, 68, 26], Operations: ['78/3=26'] Exploring Operation: 68-26=42, Resulting Numbers: [5, 42] Generated Node #0,1,0: 18:[5, 42] Operation: 68-26=42 Exploring Operation: 68-5=63, Resulting Numbers: [26, 63] Generated Node #0,1,1: 18:[26, 63] Operation: 68-5=63 Moving to Node #0,0,1 Current State: 18:[3, 2], Operations: ['78-68=10', '10/5=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[10, 2], Operations: ['78-68=10', '5-3=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[5, 42], Operations: ['78/3=26', '68-26=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,18 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[26, 63], Operations: ['78/3=26', '68-5=63'] Exploring Operation: 26+63=89, Resulting Numbers: [89] 89,18 unequal: No Solution Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,18 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 72, 29, 3, 58 ]
66
[ "58/29=2", "3*2=6", "72-6=66" ]
Current State: 66:[72, 29, 3, 58], Operations: [] Exploring Operation: 58/29=2, Resulting Numbers: [72, 3, 2] Generated Node #2: [72, 3, 2] from Operation: 58/29=2 Current State: 66:[72, 3, 2], Operations: ['58/29=2'] Exploring Operation: 3*2=6, Resulting Numbers: [72, 6] Generated Node #3: [72, 6] from Operation: 3*2=6 Current State: 66:[72, 6], Operations: ['58/29=2', '3*2=6'] Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[72, 29, 3, 58], Operations: [] Exploring Operation: 58-29=29, Resulting Numbers: [72, 3, 29] Generated Node #0,0: 66:[72, 3, 29] Operation: 58-29=29 Exploring Operation: 72/3=24, Resulting Numbers: [29, 58, 24] Generated Node #0,1: 66:[29, 58, 24] Operation: 72/3=24 Exploring Operation: 58/29=2, Resulting Numbers: [72, 3, 2] Generated Node #0,2: 66:[72, 3, 2] Operation: 58/29=2 Exploring Operation: 72-58=14, Resulting Numbers: [29, 3, 14] Generated Node #0,3: 66:[29, 3, 14] Operation: 72-58=14 Moving to Node #0,2 Current State: 66:[72, 3, 2], Operations: ['58/29=2'] Exploring Operation: 72-3=69, Resulting Numbers: [2, 69] Generated Node #0,2,0: 66:[2, 69] Operation: 72-3=69 Exploring Operation: 72/2=36, Resulting Numbers: [3, 36] Generated Node #0,2,1: 66:[3, 36] Operation: 72/2=36 Exploring Operation: 72-2=70, Resulting Numbers: [3, 70] Generated Node #0,2,2: 66:[3, 70] Operation: 72-2=70 Exploring Operation: 72/3=24, Resulting Numbers: [2, 24] Generated Node #0,2,3: 66:[2, 24] Operation: 72/3=24 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 66:[2, 24], Operations: ['58/29=2', '72/3=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,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,0 Current State: 66:[2, 69], Operations: ['58/29=2', '72-3=69'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,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,1 Current State: 66:[3, 36], Operations: ['58/29=2', '72/2=36'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,66 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,66 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,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,2 Current State: 66:[3, 70], Operations: ['58/29=2', '72-2=70'] Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,66 unequal: No Solution Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,66 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,66 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: 66:[29, 3, 14], Operations: ['72-58=14'] Exploring Operation: 29-14=15, Resulting Numbers: [3, 15] Generated Node #0,3,0: 66:[3, 15] Operation: 29-14=15 Exploring Operation: 29-3=26, Resulting Numbers: [14, 26] Generated Node #0,3,1: 66:[14, 26] Operation: 29-3=26 Exploring Operation: 14-3=11, Resulting Numbers: [29, 11] Generated Node #0,3,2: 66:[29, 11] Operation: 14-3=11 Exploring Operation: 29+3=32, Resulting Numbers: [14, 32] Generated Node #0,3,3: 66:[14, 32] Operation: 29+3=32 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 66:[3, 15], Operations: ['72-58=14', '29-14=15'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,66 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,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,3,2 Current State: 66:[29, 11], Operations: ['72-58=14', '14-3=11'] Exploring Operation: 29+11=40, Resulting Numbers: [40] 40,66 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 29*11=319, Resulting Numbers: [319] 319,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,3,3 Current State: 66:[14, 32], Operations: ['72-58=14', '29+3=32'] Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,66 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,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,3,1 Current State: 66:[14, 26], Operations: ['72-58=14', '29-3=26'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 14*26=364, Resulting Numbers: [364] 364,66 unequal: No Solution Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,66 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: 66:[72, 3, 29], Operations: ['58-29=29'] Exploring Operation: 72-3=69, Resulting Numbers: [29, 69] Generated Node #0,0,0: 66:[29, 69] Operation: 72-3=69 Exploring Operation: 72-29=43, Resulting Numbers: [3, 43] Generated Node #0,0,1: 66:[3, 43] Operation: 72-29=43 Exploring Operation: 3+29=32, Resulting Numbers: [72, 32] Generated Node #0,0,2: 66:[72, 32] Operation: 3+29=32 Exploring Operation: 72/3=24, Resulting Numbers: [29, 24] Generated Node #0,0,3: 66:[29, 24] Operation: 72/3=24 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 66:[29, 24], Operations: ['58-29=29', '72/3=24'] Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,66 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,66 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,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:[29, 69], Operations: ['58-29=29', '72-3=69'] Exploring Operation: 29+69=98, Resulting Numbers: [98] 98,66 unequal: No Solution Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,66 unequal: No Solution Exploring Operation: 29*69=2001, Resulting Numbers: [2001] 2001,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:[72, 32], Operations: ['58-29=29', '3+29=32'] Exploring Operation: 72*32=2304, Resulting Numbers: [2304] 2304,66 unequal: No Solution Exploring Operation: 72-32=40, Resulting Numbers: [40] 40,66 unequal: No Solution Exploring Operation: 72+32=104, Resulting Numbers: [104] 104,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:[3, 43], Operations: ['58-29=29', '72-29=43'] Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,66 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,66 unequal: No Solution Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 66:[29, 58, 24], Operations: ['72/3=24'] Exploring Operation: 58-29=29, Resulting Numbers: [24, 29] Generated Node #0,1,0: 66:[24, 29] Operation: 58-29=29 Exploring Operation: 29-24=5, Resulting Numbers: [58, 5] Generated Node #0,1,1: 66:[58, 5] Operation: 29-24=5 Exploring Operation: 58/29=2, Resulting Numbers: [24, 2] Generated Node #0,1,2: 66:[24, 2] Operation: 58/29=2 Exploring Operation: 58-24=34, Resulting Numbers: [29, 34] Generated Node #0,1,3: 66:[29, 34] Operation: 58-24=34 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 66:[24, 2], Operations: ['72/3=24', '58/29=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,66 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,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,1,3 Current State: 66:[29, 34], Operations: ['72/3=24', '58-24=34'] Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 29+34=63, Resulting Numbers: [63] 63,66 unequal: No Solution Exploring Operation: 29*34=986, Resulting Numbers: [986] 986,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,1,0 Current State: 66:[24, 29], Operations: ['72/3=24', '58-29=29'] Exploring Operation: 24*29=696, Resulting Numbers: [696] 696,66 unequal: No Solution Exploring Operation: 24+29=53, Resulting Numbers: [53] 53,66 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,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,1,1 Current State: 66:[58, 5], Operations: ['72/3=24', '29-24=5'] Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,66 unequal: No Solution Exploring Operation: 58*5=290, Resulting Numbers: [290] 290,66 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,66 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
[ 89, 92, 44, 86 ]
51
[ "89+92=181", "44+86=130", "181-130=51" ]
Current State: 51:[89, 92, 44, 86], Operations: [] Exploring Operation: 89+92=181, Resulting Numbers: [44, 86, 181] Generated Node #2: [44, 86, 181] from Operation: 89+92=181 Current State: 51:[44, 86, 181], Operations: ['89+92=181'] Exploring Operation: 44+86=130, Resulting Numbers: [181, 130] Generated Node #3: [181, 130] from Operation: 44+86=130 Current State: 51:[181, 130], Operations: ['89+92=181', '44+86=130'] Exploring Operation: 181-130=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[89, 92, 44, 86], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [44, 86, 3] Generated Node #0,0: 51:[44, 86, 3] Operation: 92-89=3 Exploring Operation: 89-86=3, Resulting Numbers: [92, 44, 3] Generated Node #0,1: 51:[92, 44, 3] Operation: 89-86=3 Moving to Node #0,0 Current State: 51:[44, 86, 3], Operations: ['92-89=3'] Exploring Operation: 44+3=47, Resulting Numbers: [86, 47] Generated Node #0,0,0: 51:[86, 47] Operation: 44+3=47 Exploring Operation: 86-44=42, Resulting Numbers: [3, 42] Generated Node #0,0,1: 51:[3, 42] Operation: 86-44=42 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[3, 42], Operations: ['92-89=3', '86-44=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[86, 47], Operations: ['92-89=3', '44+3=47'] Exploring Operation: 86-47=39, Resulting Numbers: [39] 39,51 unequal: No Solution Exploring Operation: 86+47=133, Resulting Numbers: [133] 133,51 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: 51:[92, 44, 3], Operations: ['89-86=3'] Exploring Operation: 92-3=89, Resulting Numbers: [44, 89] Generated Node #0,1,0: 51:[44, 89] Operation: 92-3=89 Exploring Operation: 92-44=48, Resulting Numbers: [3, 48] Generated Node #0,1,1: 51:[3, 48] Operation: 92-44=48 Moving to Node #0,1,1 Current State: 51:[3, 48], Operations: ['89-86=3', '92-44=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[89, 92, 44, 86], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [92, 44, 3] Generated Node #0,1: 51:[92, 44, 3] Operation: 89-86=3 Moving to Node #0,1 Current State: 51:[92, 44, 3], Operations: ['89-86=3'] Exploring Operation: 92-44=48, Resulting Numbers: [3, 48] Generated Node #0,1,1: 51:[3, 48] Operation: 92-44=48 Moving to Node #0,1,1 Current State: 51:[3, 48], Operations: ['89-86=3', '92-44=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 82, 59, 20, 41 ]
99
[ "82*20=1640", "1640/41=40", "59+40=99" ]
Current State: 99:[82, 59, 20, 41], Operations: [] Exploring Operation: 82*20=1640, Resulting Numbers: [59, 41, 1640] Generated Node #2: [59, 41, 1640] from Operation: 82*20=1640 Current State: 99:[59, 41, 1640], Operations: ['82*20=1640'] Exploring Operation: 1640/41=40, Resulting Numbers: [59, 40] Generated Node #3: [59, 40] from Operation: 1640/41=40 Current State: 99:[59, 40], Operations: ['82*20=1640', '1640/41=40'] Exploring Operation: 59+40=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[82, 59, 20, 41], Operations: [] Exploring Operation: 59-20=39, Resulting Numbers: [82, 41, 39] Generated Node #0,0: 99:[82, 41, 39] Operation: 59-20=39 Exploring Operation: 59+41=100, Resulting Numbers: [82, 20, 100] Generated Node #0,1: 99:[82, 20, 100] Operation: 59+41=100 Exploring Operation: 59-41=18, Resulting Numbers: [82, 20, 18] Generated Node #0,2: 99:[82, 20, 18] Operation: 59-41=18 Exploring Operation: 82-59=23, Resulting Numbers: [20, 41, 23] Generated Node #0,3: 99:[20, 41, 23] Operation: 82-59=23 Moving to Node #0,1 Current State: 99:[82, 20, 100], Operations: ['59+41=100'] Exploring Operation: 82+20=102, Resulting Numbers: [100, 102] Generated Node #0,1,0: 99:[100, 102] Operation: 82+20=102 Exploring Operation: 82-20=62, Resulting Numbers: [100, 62] Generated Node #0,1,1: 99:[100, 62] Operation: 82-20=62 Exploring Operation: 100-82=18, Resulting Numbers: [20, 18] Generated Node #0,1,2: 99:[20, 18] Operation: 100-82=18 Exploring Operation: 100/20=5, Resulting Numbers: [82, 5] Generated Node #0,1,3: 99:[82, 5] Operation: 100/20=5 Moving to Node #0,3 Current State: 99:[20, 41, 23], Operations: ['82-59=23'] Exploring Operation: 23-20=3, Resulting Numbers: [41, 3] Generated Node #0,3,0: 99:[41, 3] Operation: 23-20=3 Exploring Operation: 41-23=18, Resulting Numbers: [20, 18] Generated Node #0,3,1: 99:[20, 18] Operation: 41-23=18 Exploring Operation: 41-20=21, Resulting Numbers: [23, 21] Generated Node #0,3,2: 99:[23, 21] Operation: 41-20=21 Exploring Operation: 20+23=43, Resulting Numbers: [41, 43] Generated Node #0,3,3: 99:[41, 43] Operation: 20+23=43 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 99:[41, 3], Operations: ['82-59=23', '23-20=3'] Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,99 unequal: No Solution Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 99:[20, 18], Operations: ['82-59=23', '41-23=18'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,99 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 99:[41, 43], Operations: ['82-59=23', '20+23=43'] Exploring Operation: 41*43=1763, Resulting Numbers: [1763] 1763,99 unequal: No Solution Exploring Operation: 41+43=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 99:[23, 21], Operations: ['82-59=23', '41-20=21'] Exploring Operation: 23*21=483, Resulting Numbers: [483] 483,99 unequal: No Solution Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 99:[82, 41, 39], Operations: ['59-20=39'] Exploring Operation: 82-39=43, Resulting Numbers: [41, 43] Generated Node #0,0,0: 99:[41, 43] Operation: 82-39=43 Exploring Operation: 41-39=2, Resulting Numbers: [82, 2] Generated Node #0,0,1: 99:[82, 2] Operation: 41-39=2 Exploring Operation: 82/41=2, Resulting Numbers: [39, 2] Generated Node #0,0,2: 99:[39, 2] Operation: 82/41=2 Exploring Operation: 82-41=41, Resulting Numbers: [39, 41] Generated Node #0,0,3: 99:[39, 41] Operation: 82-41=41 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 99:[39, 2], Operations: ['59-20=39', '82/41=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,99 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 99:[39, 41], Operations: ['59-20=39', '82-41=41'] Exploring Operation: 39*41=1599, Resulting Numbers: [1599] 1599,99 unequal: No Solution Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[41, 43], Operations: ['59-20=39', '82-39=43'] Exploring Operation: 41*43=1763, Resulting Numbers: [1763] 1763,99 unequal: No Solution Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 41+43=84, Resulting Numbers: [84] 84,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[82, 2], Operations: ['59-20=39', '41-39=2'] Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 82*2=164, Resulting Numbers: [164] 164,99 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 99:[82, 20, 18], Operations: ['59-41=18'] Exploring Operation: 20+18=38, Resulting Numbers: [82, 38] Generated Node #0,2,0: 99:[82, 38] Operation: 20+18=38 Exploring Operation: 20-18=2, Resulting Numbers: [82, 2] Generated Node #0,2,1: 99:[82, 2] Operation: 20-18=2 Exploring Operation: 82+18=100, Resulting Numbers: [20, 100] Generated Node #0,2,2: 99:[20, 100] Operation: 82+18=100 Exploring Operation: 82+20=102, Resulting Numbers: [18, 102] Generated Node #0,2,3: 99:[18, 102] Operation: 82+20=102 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 99:[20, 100], Operations: ['59-41=18', '82+18=100'] Exploring Operation: 100/20=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 20*100=2000, Resulting Numbers: [2000] 2000,99 unequal: No Solution Exploring Operation: 100-20=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 20+100=120, Resulting Numbers: [120] 120,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 99:[18, 102], Operations: ['59-41=18', '82+20=102'] Exploring Operation: 102-18=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 18+102=120, Resulting Numbers: [120] 120,99 unequal: No Solution Exploring Operation: 18*102=1836, Resulting Numbers: [1836] 1836,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 99:[82, 2], Operations: ['59-41=18', '20-18=2'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 82*2=164, Resulting Numbers: [164] 164,99 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[82, 38], Operations: ['59-41=18', '20+18=38'] Exploring Operation: 82-38=44, Resulting Numbers: [44] 44,99 unequal: No Solution Exploring Operation: 82*38=3116, Resulting Numbers: [3116] 3116,99 unequal: No Solution Exploring Operation: 82+38=120, Resulting Numbers: [120] 120,99 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: 99:[100, 102], Operations: ['59+41=100', '82+20=102'] Exploring Operation: 102-100=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 100*102=10200, Resulting Numbers: [10200] 10200,99 unequal: No Solution Exploring Operation: 100+102=202, Resulting Numbers: [202] 202,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[20, 18], Operations: ['59+41=100', '100-82=18'] Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,99 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[82, 5], Operations: ['59+41=100', '100/20=5'] Exploring Operation: 82*5=410, Resulting Numbers: [410] 410,99 unequal: No Solution Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,99 unequal: No Solution Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[100, 62], Operations: ['59+41=100', '82-20=62'] Exploring Operation: 100*62=6200, Resulting Numbers: [6200] 6200,99 unequal: No Solution Exploring Operation: 100-62=38, Resulting Numbers: [38] 38,99 unequal: No Solution Exploring Operation: 100+62=162, Resulting Numbers: [162] 162,99 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 60, 84, 61, 19 ]
66
[ "84-60=24", "61-19=42", "24+42=66" ]
Current State: 66:[60, 84, 61, 19], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [61, 19, 24] Generated Node #2: [61, 19, 24] from Operation: 84-60=24 Current State: 66:[61, 19, 24], Operations: ['84-60=24'] Exploring Operation: 61-19=42, Resulting Numbers: [24, 42] Generated Node #3: [24, 42] from Operation: 61-19=42 Current State: 66:[24, 42], Operations: ['84-60=24', '61-19=42'] Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[60, 84, 61, 19], Operations: [] Exploring Operation: 84-61=23, Resulting Numbers: [60, 19, 23] Generated Node #0,0: 66:[60, 19, 23] Operation: 84-61=23 Exploring Operation: 84-60=24, Resulting Numbers: [61, 19, 24] Generated Node #0,1: 66:[61, 19, 24] Operation: 84-60=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[60, 19, 23], Operations: ['84-61=23'] Exploring Operation: 60-23=37, Resulting Numbers: [19, 37] Generated Node #0,0,0: 66:[19, 37] Operation: 60-23=37 Exploring Operation: 23-19=4, Resulting Numbers: [60, 4] Generated Node #0,0,1: 66:[60, 4] Operation: 23-19=4 Moving to Node #0,0,0 Current State: 66:[19, 37], Operations: ['84-61=23', '60-23=37'] Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[60, 4], Operations: ['84-61=23', '23-19=4'] Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,66 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,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,1 Current State: 66:[61, 19, 24], Operations: ['84-60=24'] Exploring Operation: 24-19=5, Resulting Numbers: [61, 5] Generated Node #0,1,0: 66:[61, 5] Operation: 24-19=5 Exploring Operation: 61-24=37, Resulting Numbers: [19, 37] Generated Node #0,1,1: 66:[19, 37] Operation: 61-24=37 Moving to Node #0,1,0 Current State: 66:[61, 5], Operations: ['84-60=24', '24-19=5'] Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[60, 84, 61, 19], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [61, 19, 24] Generated Node #0,1: 66:[61, 19, 24] Operation: 84-60=24 Moving to Node #0,1 Current State: 66:[61, 19, 24], Operations: ['84-60=24'] Exploring Operation: 24-19=5, Resulting Numbers: [61, 5] Generated Node #0,1,0: 66:[61, 5] Operation: 24-19=5 Moving to Node #0,1,0 Current State: 66:[61, 5], Operations: ['84-60=24', '24-19=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 17, 5, 2, 51 ]
61
[ "17-5=12", "51-2=49", "12+49=61" ]
Current State: 61:[17, 5, 2, 51], Operations: [] Exploring Operation: 17-5=12, Resulting Numbers: [2, 51, 12] Generated Node #2: [2, 51, 12] from Operation: 17-5=12 Current State: 61:[2, 51, 12], Operations: ['17-5=12'] Exploring Operation: 51-2=49, Resulting Numbers: [12, 49] Generated Node #3: [12, 49] from Operation: 51-2=49 Current State: 61:[12, 49], Operations: ['17-5=12', '51-2=49'] Exploring Operation: 12+49=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[17, 5, 2, 51], Operations: [] Exploring Operation: 17*2=34, Resulting Numbers: [5, 51, 34] Generated Node #0,0: 61:[5, 51, 34] Operation: 17*2=34 Exploring Operation: 17+5=22, Resulting Numbers: [2, 51, 22] Generated Node #0,1: 61:[2, 51, 22] Operation: 17+5=22 Exploring Operation: 17*5=85, Resulting Numbers: [2, 51, 85] Generated Node #0,2: 61:[2, 51, 85] Operation: 17*5=85 Exploring Operation: 5*2=10, Resulting Numbers: [17, 51, 10] Generated Node #0,3: 61:[17, 51, 10] Operation: 5*2=10 Moving to Node #0,0 Current State: 61:[5, 51, 34], Operations: ['17*2=34'] Exploring Operation: 5+34=39, Resulting Numbers: [51, 39] Generated Node #0,0,0: 61:[51, 39] Operation: 5+34=39 Exploring Operation: 51-5=46, Resulting Numbers: [34, 46] Generated Node #0,0,1: 61:[34, 46] Operation: 51-5=46 Exploring Operation: 34-5=29, Resulting Numbers: [51, 29] Generated Node #0,0,2: 61:[51, 29] Operation: 34-5=29 Exploring Operation: 5+51=56, Resulting Numbers: [34, 56] Generated Node #0,0,3: 61:[34, 56] Operation: 5+51=56 Moving to Node #0,2 Current State: 61:[2, 51, 85], Operations: ['17*5=85'] Exploring Operation: 85-2=83, Resulting Numbers: [51, 83] Generated Node #0,2,0: 61:[51, 83] Operation: 85-2=83 Exploring Operation: 2+85=87, Resulting Numbers: [51, 87] Generated Node #0,2,1: 61:[51, 87] Operation: 2+85=87 Exploring Operation: 2+51=53, Resulting Numbers: [85, 53] Generated Node #0,2,2: 61:[85, 53] Operation: 2+51=53 Exploring Operation: 51-2=49, Resulting Numbers: [85, 49] Generated Node #0,2,3: 61:[85, 49] Operation: 51-2=49 Moving to Node #0,3 Current State: 61:[17, 51, 10], Operations: ['5*2=10'] Exploring Operation: 17+51=68, Resulting Numbers: [10, 68] Generated Node #0,3,0: 61:[10, 68] Operation: 17+51=68 Exploring Operation: 51+10=61, Resulting Numbers: [17, 61] Generated Node #0,3,1: 61:[17, 61] Operation: 51+10=61 Exploring Operation: 17+10=27, Resulting Numbers: [51, 27] Generated Node #0,3,2: 61:[51, 27] Operation: 17+10=27 Exploring Operation: 17-10=7, Resulting Numbers: [51, 7] Generated Node #0,3,3: 61:[51, 7] Operation: 17-10=7 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[17, 61], Operations: ['5*2=10', '51+10=61'] Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 17*61=1037, Resulting Numbers: [1037] 1037,61 unequal: No Solution Exploring Operation: 17+61=78, Resulting Numbers: [78] 78,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[51, 27], Operations: ['5*2=10', '17+10=27'] Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,61 unequal: No Solution Exploring Operation: 51+27=78, Resulting Numbers: [78] 78,61 unequal: No Solution Exploring Operation: 51*27=1377, Resulting Numbers: [1377] 1377,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[10, 68], Operations: ['5*2=10', '17+51=68'] Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 10*68=680, Resulting Numbers: [680] 680,61 unequal: No Solution Exploring Operation: 10+68=78, Resulting Numbers: [78] 78,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[51, 7], Operations: ['5*2=10', '17-10=7'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 51*7=357, Resulting Numbers: [357] 357,61 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: 61:[2, 51, 22], Operations: ['17+5=22'] Exploring Operation: 2+22=24, Resulting Numbers: [51, 24] Generated Node #0,1,0: 61:[51, 24] Operation: 2+22=24 Exploring Operation: 2*22=44, Resulting Numbers: [51, 44] Generated Node #0,1,1: 61:[51, 44] Operation: 2*22=44 Exploring Operation: 2+51=53, Resulting Numbers: [22, 53] Generated Node #0,1,2: 61:[22, 53] Operation: 2+51=53 Exploring Operation: 51-2=49, Resulting Numbers: [22, 49] Generated Node #0,1,3: 61:[22, 49] Operation: 51-2=49 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[51, 44], Operations: ['17+5=22', '2*22=44'] Exploring Operation: 51+44=95, Resulting Numbers: [95] 95,61 unequal: No Solution Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 51*44=2244, Resulting Numbers: [2244] 2244,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[51, 24], Operations: ['17+5=22', '2+22=24'] Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,61 unequal: No Solution Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[22, 53], Operations: ['17+5=22', '2+51=53'] Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,61 unequal: No Solution Exploring Operation: 22*53=1166, Resulting Numbers: [1166] 1166,61 unequal: No Solution Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 61:[22, 49], Operations: ['17+5=22', '51-2=49'] Exploring Operation: 22+49=71, Resulting Numbers: [71] 71,61 unequal: No Solution Exploring Operation: 22*49=1078, Resulting Numbers: [1078] 1078,61 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 61:[51, 39], Operations: ['17*2=34', '5+34=39'] Exploring Operation: 51*39=1989, Resulting Numbers: [1989] 1989,61 unequal: No Solution Exploring Operation: 51+39=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[85, 53], Operations: ['17*5=85', '2+51=53'] Exploring Operation: 85-53=32, Resulting Numbers: [32] 32,61 unequal: No Solution Exploring Operation: 85+53=138, Resulting Numbers: [138] 138,61 unequal: No Solution Exploring Operation: 85*53=4505, Resulting Numbers: [4505] 4505,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[34, 56], Operations: ['17*2=34', '5+51=56'] Exploring Operation: 34+56=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 34*56=1904, Resulting Numbers: [1904] 1904,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[51, 83], Operations: ['17*5=85', '85-2=83'] Exploring Operation: 51*83=4233, Resulting Numbers: [4233] 4233,61 unequal: No Solution Exploring Operation: 51+83=134, Resulting Numbers: [134] 134,61 unequal: No Solution Exploring Operation: 83-51=32, Resulting Numbers: [32] 32,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[51, 87], Operations: ['17*5=85', '2+85=87'] Exploring Operation: 51*87=4437, Resulting Numbers: [4437] 4437,61 unequal: No Solution Exploring Operation: 51+87=138, Resulting Numbers: [138] 138,61 unequal: No Solution Exploring Operation: 87-51=36, Resulting Numbers: [36] 36,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[85, 49], Operations: ['17*5=85', '51-2=49'] Exploring Operation: 85+49=134, Resulting Numbers: [134] 134,61 unequal: No Solution Exploring Operation: 85*49=4165, Resulting Numbers: [4165] 4165,61 unequal: No Solution Exploring Operation: 85-49=36, Resulting Numbers: [36] 36,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[34, 46], Operations: ['17*2=34', '51-5=46'] Exploring Operation: 34*46=1564, Resulting Numbers: [1564] 1564,61 unequal: No Solution Exploring Operation: 34+46=80, Resulting Numbers: [80] 80,61 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[51, 29], Operations: ['17*2=34', '34-5=29'] Exploring Operation: 51*29=1479, Resulting Numbers: [1479] 1479,61 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 51+29=80, Resulting Numbers: [80] 80,61 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 32, 85, 85, 40 ]
32
[ "85-85=0", "40*0=0", "32+0=32" ]
Current State: 32:[32, 85, 85, 40], Operations: [] Exploring Operation: 85-85=0, Resulting Numbers: [32, 40, 0] Generated Node #2: [32, 40, 0] from Operation: 85-85=0 Current State: 32:[32, 40, 0], Operations: ['85-85=0'] Exploring Operation: 40*0=0, Resulting Numbers: [32, 0] Generated Node #3: [32, 0] from Operation: 40*0=0 Current State: 32:[32, 0], Operations: ['85-85=0', '40*0=0'] Exploring Operation: 32+0=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[32, 85, 85, 40], Operations: [] Exploring Operation: 85-85=0, Resulting Numbers: [32, 40, 0] Generated Node #0,0: 32:[32, 40, 0] Operation: 85-85=0 Exploring Operation: 85/85=1, Resulting Numbers: [32, 40, 1] Generated Node #0,1: 32:[32, 40, 1] Operation: 85/85=1 Exploring Operation: 85-40=45, Resulting Numbers: [32, 85, 45] Generated Node #0,2: 32:[32, 85, 45] Operation: 85-40=45 Exploring Operation: 85-40=45, Resulting Numbers: [32, 85, 45] Generated Node #0,3: 32:[32, 85, 45] Operation: 85-40=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[32, 40, 1], Operations: ['85/85=1'] Exploring Operation: 40-1=39, Resulting Numbers: [32, 39] Generated Node #0,1,0: 32:[32, 39] Operation: 40-1=39 Exploring Operation: 40-32=8, Resulting Numbers: [1, 8] Generated Node #0,1,1: 32:[1, 8] Operation: 40-32=8 Exploring Operation: 32*1=32, Resulting Numbers: [40, 32] Generated Node #0,1,2: 32:[40, 32] Operation: 32*1=32 Exploring Operation: 32/1=32, Resulting Numbers: [40, 32] Generated Node #0,1,3: 32:[40, 32] Operation: 32/1=32 Moving to Node #0,1,1 Current State: 32:[1, 8], Operations: ['85/85=1', '40-32=8'] Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[32, 39], Operations: ['85/85=1', '40-1=39'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 32+39=71, Resulting Numbers: [71] 71,32 unequal: No Solution Exploring Operation: 32*39=1248, Resulting Numbers: [1248] 1248,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[40, 32], Operations: ['85/85=1', '32/1=32'] Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,32 unequal: No Solution Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[40, 32], Operations: ['85/85=1', '32*1=32'] Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,32 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[32, 40, 0], Operations: ['85-85=0'] Exploring Operation: 40*0=0, Resulting Numbers: [32, 0] Generated Node #0,0,0: 32:[32, 0] Operation: 40*0=0 Exploring Operation: 32-0=32, Resulting Numbers: [40, 32] Generated Node #0,0,1: 32:[40, 32] Operation: 32-0=32 Exploring Operation: 40-32=8, Resulting Numbers: [0, 8] Generated Node #0,0,2: 32:[0, 8] Operation: 40-32=8 Exploring Operation: 32+0=32, Resulting Numbers: [40, 32] Generated Node #0,0,3: 32:[40, 32] Operation: 32+0=32 Moving to Node #0,0,0 Current State: 32:[32, 0], Operations: ['85-85=0', '40*0=0'] Exploring Operation: 32-0=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[32, 85, 85, 40], Operations: [] Exploring Operation: 85-85=0, Resulting Numbers: [32, 40, 0] Generated Node #0,0: 32:[32, 40, 0] Operation: 85-85=0 Moving to Node #0,0 Current State: 32:[32, 40, 0], Operations: ['85-85=0'] Exploring Operation: 40*0=0, Resulting Numbers: [32, 0] Generated Node #0,0,0: 32:[32, 0] Operation: 40*0=0 Moving to Node #0,0,0 Current State: 32:[32, 0], Operations: ['85-85=0', '40*0=0'] Exploring Operation: 32-0=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 16, 20, 42, 8 ]
44
[ "20-16=4", "8/4=2", "42+2=44" ]
Current State: 44:[16, 20, 42, 8], Operations: [] Exploring Operation: 20-16=4, Resulting Numbers: [42, 8, 4] Generated Node #2: [42, 8, 4] from Operation: 20-16=4 Current State: 44:[42, 8, 4], Operations: ['20-16=4'] Exploring Operation: 8/4=2, Resulting Numbers: [42, 2] Generated Node #3: [42, 2] from Operation: 8/4=2 Current State: 44:[42, 2], Operations: ['20-16=4', '8/4=2'] Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[16, 20, 42, 8], Operations: [] Exploring Operation: 16+8=24, Resulting Numbers: [20, 42, 24] Generated Node #0,0: 44:[20, 42, 24] Operation: 16+8=24 Exploring Operation: 20-16=4, Resulting Numbers: [42, 8, 4] Generated Node #0,1: 44:[42, 8, 4] Operation: 20-16=4 Exploring Operation: 16-8=8, Resulting Numbers: [20, 42, 8] Generated Node #0,2: 44:[20, 42, 8] Operation: 16-8=8 Exploring Operation: 42-20=22, Resulting Numbers: [16, 8, 22] Generated Node #0,3: 44:[16, 8, 22] Operation: 42-20=22 Exploring Operation: 16/8=2, Resulting Numbers: [20, 42, 2] Generated Node #0,4: 44:[20, 42, 2] Operation: 16/8=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 44:[20, 42, 2], Operations: ['16/8=2'] Exploring Operation: 42+2=44, Resulting Numbers: [20, 44] Generated Node #0,4,0: 44:[20, 44] Operation: 42+2=44 Exploring Operation: 42/2=21, Resulting Numbers: [20, 21] Generated Node #0,4,1: 44:[20, 21] Operation: 42/2=21 Exploring Operation: 42-20=22, Resulting Numbers: [2, 22] Generated Node #0,4,2: 44:[2, 22] Operation: 42-20=22 Exploring Operation: 20/2=10, Resulting Numbers: [42, 10] Generated Node #0,4,3: 44:[42, 10] Operation: 20/2=10 Exploring Operation: 20+2=22, Resulting Numbers: [42, 22] Generated Node #0,4,4: 44:[42, 22] Operation: 20+2=22 Moving to Node #0,4,2 Current State: 44:[2, 22], Operations: ['16/8=2', '42-20=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[16, 20, 42, 8], Operations: [] Exploring Operation: 16/8=2, Resulting Numbers: [20, 42, 2] Generated Node #0,4: 44:[20, 42, 2] Operation: 16/8=2 Moving to Node #0,4 Current State: 44:[20, 42, 2], Operations: ['16/8=2'] Exploring Operation: 42-20=22, Resulting Numbers: [2, 22] Generated Node #0,4,2: 44:[2, 22] Operation: 42-20=22 Moving to Node #0,4,2 Current State: 44:[2, 22], Operations: ['16/8=2', '42-20=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 47, 15, 15, 4 ]
12
[ "15/15=1", "47+1=48", "48/4=12" ]
Current State: 12:[47, 15, 15, 4], Operations: [] Exploring Operation: 15/15=1, Resulting Numbers: [47, 4, 1] Generated Node #2: [47, 4, 1] from Operation: 15/15=1 Current State: 12:[47, 4, 1], Operations: ['15/15=1'] Exploring Operation: 47+1=48, Resulting Numbers: [4, 48] Generated Node #3: [4, 48] from Operation: 47+1=48 Current State: 12:[4, 48], Operations: ['15/15=1', '47+1=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[47, 15, 15, 4], Operations: [] Exploring Operation: 47-15=32, Resulting Numbers: [15, 4, 32] Generated Node #0,0: 12:[15, 4, 32] Operation: 47-15=32 Exploring Operation: 15/15=1, Resulting Numbers: [47, 4, 1] Generated Node #0,1: 12:[47, 4, 1] Operation: 15/15=1 Exploring Operation: 47-15=32, Resulting Numbers: [15, 4, 32] Generated Node #0,2: 12:[15, 4, 32] Operation: 47-15=32 Exploring Operation: 15-15=0, Resulting Numbers: [47, 4, 0] Generated Node #0,3: 12:[47, 4, 0] Operation: 15-15=0 Exploring Operation: 47-4=43, Resulting Numbers: [15, 15, 43] Generated Node #0,4: 12:[15, 15, 43] Operation: 47-4=43 Moving to Node #0,0 Current State: 12:[15, 4, 32], Operations: ['47-15=32'] Exploring Operation: 32-15=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 12:[4, 17] Operation: 32-15=17 Exploring Operation: 32-4=28, Resulting Numbers: [15, 28] Generated Node #0,0,1: 12:[15, 28] Operation: 32-4=28 Exploring Operation: 15+4=19, Resulting Numbers: [32, 19] Generated Node #0,0,2: 12:[32, 19] Operation: 15+4=19 Exploring Operation: 15-4=11, Resulting Numbers: [32, 11] Generated Node #0,0,3: 12:[32, 11] Operation: 15-4=11 Exploring Operation: 32/4=8, Resulting Numbers: [15, 8] Generated Node #0,0,4: 12:[15, 8] Operation: 32/4=8 Moving to Node #0,2 Current State: 12:[15, 4, 32], Operations: ['47-15=32'] Exploring Operation: 32-15=17, Resulting Numbers: [4, 17] Generated Node #0,2,0: 12:[4, 17] Operation: 32-15=17 Exploring Operation: 32-4=28, Resulting Numbers: [15, 28] Generated Node #0,2,1: 12:[15, 28] Operation: 32-4=28 Exploring Operation: 15-4=11, Resulting Numbers: [32, 11] Generated Node #0,2,2: 12:[32, 11] Operation: 15-4=11 Exploring Operation: 15+4=19, Resulting Numbers: [32, 19] Generated Node #0,2,3: 12:[32, 19] Operation: 15+4=19 Exploring Operation: 32/4=8, Resulting Numbers: [15, 8] Generated Node #0,2,4: 12:[15, 8] Operation: 32/4=8 Moving to Node #0,1 Current State: 12:[47, 4, 1], Operations: ['15/15=1'] Exploring Operation: 47-1=46, Resulting Numbers: [4, 46] Generated Node #0,1,0: 12:[4, 46] Operation: 47-1=46 Exploring Operation: 47*1=47, Resulting Numbers: [4, 47] Generated Node #0,1,1: 12:[4, 47] Operation: 47*1=47 Exploring Operation: 4*1=4, Resulting Numbers: [47, 4] Generated Node #0,1,2: 12:[47, 4] Operation: 4*1=4 Exploring Operation: 47/1=47, Resulting Numbers: [4, 47] Generated Node #0,1,3: 12:[4, 47] Operation: 47/1=47 Exploring Operation: 47-4=43, Resulting Numbers: [1, 43] Generated Node #0,1,4: 12:[1, 43] Operation: 47-4=43 Moving to Node #0,3 Current State: 12:[47, 4, 0], Operations: ['15-15=0'] Exploring Operation: 47+0=47, Resulting Numbers: [4, 47] Generated Node #0,3,0: 12:[4, 47] Operation: 47+0=47 Exploring Operation: 47*0=0, Resulting Numbers: [4, 0] Generated Node #0,3,1: 12:[4, 0] Operation: 47*0=0 Exploring Operation: 4+0=4, Resulting Numbers: [47, 4] Generated Node #0,3,2: 12:[47, 4] Operation: 4+0=4 Exploring Operation: 47-4=43, Resulting Numbers: [0, 43] Generated Node #0,3,3: 12:[0, 43] Operation: 47-4=43 Exploring Operation: 47-0=47, Resulting Numbers: [4, 47] Generated Node #0,3,4: 12:[4, 47] Operation: 47-0=47 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 12:[4, 0], Operations: ['15-15=0', '47*0=0'] Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,12 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 12:[0, 43], Operations: ['15-15=0', '47-4=43'] Exploring Operation: 0*43=0, Resulting Numbers: [0] 0,12 unequal: No Solution Exploring Operation: 43-0=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 0+43=43, Resulting Numbers: [43] 43,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 12:[4, 47], Operations: ['15-15=0', '47+0=47'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,12 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 12:[47, 4], Operations: ['15-15=0', '4+0=4'] Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 12:[4, 47], Operations: ['15-15=0', '47-0=47'] Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 12:[15, 15, 43], Operations: ['47-4=43'] Exploring Operation: 15+15=30, Resulting Numbers: [43, 30] Generated Node #0,4,0: 12:[43, 30] Operation: 15+15=30 Exploring Operation: 15/15=1, Resulting Numbers: [43, 1] Generated Node #0,4,1: 12:[43, 1] Operation: 15/15=1 Exploring Operation: 15-15=0, Resulting Numbers: [43, 0] Generated Node #0,4,2: 12:[43, 0] Operation: 15-15=0 Exploring Operation: 43-15=28, Resulting Numbers: [15, 28] Generated Node #0,4,3: 12:[15, 28] Operation: 43-15=28 Exploring Operation: 43-15=28, Resulting Numbers: [15, 28] Generated Node #0,4,4: 12:[15, 28] Operation: 43-15=28 Moving to Node #0,0,0 Current State: 12:[4, 17], Operations: ['47-15=32', '32-15=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,12 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[4, 17], Operations: ['47-15=32', '32-15=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,12 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,12 unequal: No Solution Moving to Node #0,2,4 Current State: 12:[15, 8], Operations: ['47-15=32', '32/4=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,12 unequal: No Solution Moving to Node #0,0,4 Current State: 12:[15, 8], Operations: ['47-15=32', '32/4=8'] Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,12 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[15, 28], Operations: ['47-15=32', '32-4=28'] Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,12 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[15, 28], Operations: ['47-15=32', '32-4=28'] Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,12 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,12 unequal: No Solution Moving to Node #0,4,3 Current State: 12:[15, 28], Operations: ['47-4=43', '43-15=28'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,12 unequal: No Solution Moving to Node #0,4,4 Current State: 12:[15, 28], Operations: ['47-4=43', '43-15=28'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[32, 11], Operations: ['47-15=32', '15-4=11'] Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[32, 11], Operations: ['47-15=32', '15-4=11'] Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,12 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[32, 19], Operations: ['47-15=32', '15+4=19'] Exploring Operation: 32*19=608, Resulting Numbers: [608] 608,12 unequal: No Solution Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,12 unequal: No Solution Moving to Node #0,2,3 Current State: 12:[32, 19], Operations: ['47-15=32', '15+4=19'] Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 32*19=608, Resulting Numbers: [608] 608,12 unequal: No Solution Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,12 unequal: No Solution Moving to Node #0,4,1 Current State: 12:[43, 1], Operations: ['47-4=43', '15/15=1'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 43+1=44, Resulting Numbers: [44] 44,12 unequal: No Solution Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,12 unequal: No Solution Moving to Node #0,1,4 Current State: 12:[1, 43], Operations: ['15/15=1', '47-4=43'] Exploring Operation: 1+43=44, Resulting Numbers: [44] 44,12 unequal: No Solution Exploring Operation: 1*43=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,12 unequal: No Solution Moving to Node #0,4,2 Current State: 12:[43, 0], Operations: ['47-4=43', '15-15=0'] Exploring Operation: 43+0=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 43-0=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 43*0=0, Resulting Numbers: [0] 0,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[4, 46], Operations: ['15/15=1', '47-1=46'] Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,12 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,12 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,12 unequal: No Solution Moving to Node #0,1,3 Current State: 12:[4, 47], Operations: ['15/15=1', '47/1=47'] Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,12 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[4, 47], Operations: ['15/15=1', '47*1=47'] Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,12 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[47, 4], Operations: ['15/15=1', '4*1=4'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,12 unequal: No Solution Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,12 unequal: No Solution Moving to Node #0,4,0 Current State: 12:[43, 30], Operations: ['47-4=43', '15+15=30'] Exploring Operation: 43*30=1290, Resulting Numbers: [1290] 1290,12 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,12 unequal: No Solution No solution found.
0
hs_5
sum_heuristic