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
[ 8, 4, 6, 80 ]
76
[ "8/4=2", "80-6=74", "2+74=76" ]
Current State: 76:[8, 4, 6, 80], Operations: [] Exploring Operation: 8/4=2, Resulting Numbers: [6, 80, 2] Generated Node #2: [6, 80, 2] from Operation: 8/4=2 Current State: 76:[6, 80, 2], Operations: ['8/4=2'] Exploring Operation: 80-6=74, Resulting Numbers: [2, 74] Generated Node #3: [2, 74] from Operation: 80-6=74 Current State: 76:[2, 74], Operations: ['8/4=2', '80-6=74'] Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[8, 4, 6, 80], Operations: [] Exploring Operation: 8-6=2, Resulting Numbers: [4, 80, 2] Generated Node #0,0: 76:[4, 80, 2] Operation: 8-6=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[4, 80, 2], Operations: ['8-6=2'] Exploring Operation: 80-4=76, Resulting Numbers: [2, 76] Generated Node #0,0,0: 76:[2, 76] Operation: 80-4=76 Moving to Node #0,0,0 Current State: 76:[2, 76], Operations: ['8-6=2', '80-4=76'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,76 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
[ 7, 72, 96, 24 ]
25
[ "7*72=504", "96+504=600", "600/24=25" ]
Current State: 25:[7, 72, 96, 24], Operations: [] Exploring Operation: 7*72=504, Resulting Numbers: [96, 24, 504] Generated Node #2: [96, 24, 504] from Operation: 7*72=504 Current State: 25:[96, 24, 504], Operations: ['7*72=504'] Exploring Operation: 96+504=600, Resulting Numbers: [24, 600] Generated Node #3: [24, 600] from Operation: 96+504=600 Current State: 25:[24, 600], Operations: ['7*72=504', '96+504=600'] Exploring Operation: 600/24=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[7, 72, 96, 24], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [7, 72, 4] Generated Node #0,0: 25:[7, 72, 4] Operation: 96/24=4 Exploring Operation: 96-72=24, Resulting Numbers: [7, 24, 24] Generated Node #0,1: 25:[7, 24, 24] Operation: 96-72=24 Exploring Operation: 72-24=48, Resulting Numbers: [7, 96, 48] Generated Node #0,2: 25:[7, 96, 48] Operation: 72-24=48 Exploring Operation: 72/24=3, Resulting Numbers: [7, 96, 3] Generated Node #0,3: 25:[7, 96, 3] Operation: 72/24=3 Moving to Node #0,1 Current State: 25:[7, 24, 24], Operations: ['96-72=24'] Exploring Operation: 24-24=0, Resulting Numbers: [7, 0] Generated Node #0,1,0: 25:[7, 0] Operation: 24-24=0 Exploring Operation: 7+24=31, Resulting Numbers: [24, 31] Generated Node #0,1,1: 25:[24, 31] Operation: 7+24=31 Exploring Operation: 24/24=1, Resulting Numbers: [7, 1] Generated Node #0,1,2: 25:[7, 1] Operation: 24/24=1 Exploring Operation: 7+24=31, Resulting Numbers: [24, 31] Generated Node #0,1,3: 25:[24, 31] Operation: 7+24=31 Moving to Node #0,0 Current State: 25:[7, 72, 4], Operations: ['96/24=4'] Exploring Operation: 7-4=3, Resulting Numbers: [72, 3] Generated Node #0,0,0: 25:[72, 3] Operation: 7-4=3 Exploring Operation: 72-7=65, Resulting Numbers: [4, 65] Generated Node #0,0,1: 25:[4, 65] Operation: 72-7=65 Exploring Operation: 72-4=68, Resulting Numbers: [7, 68] Generated Node #0,0,2: 25:[7, 68] Operation: 72-4=68 Exploring Operation: 72/4=18, Resulting Numbers: [7, 18] Generated Node #0,0,3: 25:[7, 18] Operation: 72/4=18 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[7, 18], Operations: ['96/24=4', '72/4=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[7, 72, 96, 24], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [7, 72, 4] Generated Node #0,0: 25:[7, 72, 4] Operation: 96/24=4 Moving to Node #0,0 Current State: 25:[7, 72, 4], Operations: ['96/24=4'] Exploring Operation: 72/4=18, Resulting Numbers: [7, 18] Generated Node #0,0,3: 25:[7, 18] Operation: 72/4=18 Moving to Node #0,0,3 Current State: 25:[7, 18], Operations: ['96/24=4', '72/4=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 32, 44, 22, 19 ]
49
[ "32+19=51", "44/22=2", "51-2=49" ]
Current State: 49:[32, 44, 22, 19], Operations: [] Exploring Operation: 32+19=51, Resulting Numbers: [44, 22, 51] Generated Node #2: [44, 22, 51] from Operation: 32+19=51 Current State: 49:[44, 22, 51], Operations: ['32+19=51'] Exploring Operation: 44/22=2, Resulting Numbers: [51, 2] Generated Node #3: [51, 2] from Operation: 44/22=2 Current State: 49:[51, 2], Operations: ['32+19=51', '44/22=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[32, 44, 22, 19], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [44, 19, 10] Generated Node #0,0: 49:[44, 19, 10] Operation: 32-22=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[44, 19, 10], Operations: ['32-22=10'] Exploring Operation: 19-10=9, Resulting Numbers: [44, 9] Generated Node #0,0,0: 49:[44, 9] Operation: 19-10=9 Moving to Node #0,0,0 Current State: 49:[44, 9], Operations: ['32-22=10', '19-10=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,49 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
[ 72, 33, 57, 61 ]
43
[ "72-33=39", "61-57=4", "39+4=43" ]
Current State: 43:[72, 33, 57, 61], Operations: [] Exploring Operation: 72-33=39, Resulting Numbers: [57, 61, 39] Generated Node #2: [57, 61, 39] from Operation: 72-33=39 Current State: 43:[57, 61, 39], Operations: ['72-33=39'] Exploring Operation: 61-57=4, Resulting Numbers: [39, 4] Generated Node #3: [39, 4] from Operation: 61-57=4 Current State: 43:[39, 4], Operations: ['72-33=39', '61-57=4'] Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[72, 33, 57, 61], Operations: [] Exploring Operation: 72-33=39, Resulting Numbers: [57, 61, 39] Generated Node #0,0: 43:[57, 61, 39] Operation: 72-33=39 Exploring Operation: 72-57=15, Resulting Numbers: [33, 61, 15] Generated Node #0,1: 43:[33, 61, 15] Operation: 72-57=15 Moving to Node #0,0 Current State: 43:[57, 61, 39], Operations: ['72-33=39'] Exploring Operation: 61-39=22, Resulting Numbers: [57, 22] Generated Node #0,0,0: 43:[57, 22] Operation: 61-39=22 Exploring Operation: 61-57=4, Resulting Numbers: [39, 4] Generated Node #0,0,1: 43:[39, 4] Operation: 61-57=4 Moving to Node #0,1 Current State: 43:[33, 61, 15], Operations: ['72-57=15'] Exploring Operation: 61-15=46, Resulting Numbers: [33, 46] Generated Node #0,1,0: 43:[33, 46] Operation: 61-15=46 Exploring Operation: 33+15=48, Resulting Numbers: [61, 48] Generated Node #0,1,1: 43:[61, 48] Operation: 33+15=48 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[33, 46], Operations: ['72-57=15', '61-15=46'] Exploring Operation: 33+46=79, Resulting Numbers: [79] 79,43 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[61, 48], Operations: ['72-57=15', '33+15=48'] Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,43 unequal: No Solution Exploring Operation: 61+48=109, Resulting Numbers: [109] 109,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 43:[57, 22], Operations: ['72-33=39', '61-39=22'] Exploring Operation: 57+22=79, Resulting Numbers: [79] 79,43 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[39, 4], Operations: ['72-33=39', '61-57=4'] Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[72, 33, 57, 61], Operations: [] Exploring Operation: 72-33=39, Resulting Numbers: [57, 61, 39] Generated Node #0,0: 43:[57, 61, 39] Operation: 72-33=39 Moving to Node #0,0 Current State: 43:[57, 61, 39], Operations: ['72-33=39'] Exploring Operation: 61-57=4, Resulting Numbers: [39, 4] Generated Node #0,0,1: 43:[39, 4] Operation: 61-57=4 Moving to Node #0,0,1 Current State: 43:[39, 4], Operations: ['72-33=39', '61-57=4'] Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
0.985243
hs_2
sum_heuristic
[ 21, 56, 76, 54 ]
53
[ "21+56=77", "76+54=130", "130-77=53" ]
Current State: 53:[21, 56, 76, 54], Operations: [] Exploring Operation: 21+56=77, Resulting Numbers: [76, 54, 77] Generated Node #2: [76, 54, 77] from Operation: 21+56=77 Current State: 53:[76, 54, 77], Operations: ['21+56=77'] Exploring Operation: 76+54=130, Resulting Numbers: [77, 130] Generated Node #3: [77, 130] from Operation: 76+54=130 Current State: 53:[77, 130], Operations: ['21+56=77', '76+54=130'] Exploring Operation: 130-77=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[21, 56, 76, 54], Operations: [] Exploring Operation: 54-21=33, Resulting Numbers: [56, 76, 33] Generated Node #0,0: 53:[56, 76, 33] Operation: 54-21=33 Exploring Operation: 56-21=35, Resulting Numbers: [76, 54, 35] Generated Node #0,1: 53:[76, 54, 35] Operation: 56-21=35 Exploring Operation: 76-21=55, Resulting Numbers: [56, 54, 55] Generated Node #0,2: 53:[56, 54, 55] Operation: 76-21=55 Moving to Node #0,2 Current State: 53:[56, 54, 55], Operations: ['76-21=55'] Exploring Operation: 56-55=1, Resulting Numbers: [54, 1] Generated Node #0,2,0: 53:[54, 1] Operation: 56-55=1 Exploring Operation: 55-54=1, Resulting Numbers: [56, 1] Generated Node #0,2,1: 53:[56, 1] Operation: 55-54=1 Exploring Operation: 56-54=2, Resulting Numbers: [55, 2] Generated Node #0,2,2: 53:[55, 2] Operation: 56-54=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[54, 1], Operations: ['76-21=55', '56-55=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[21, 56, 76, 54], Operations: [] Exploring Operation: 76-21=55, Resulting Numbers: [56, 54, 55] Generated Node #0,2: 53:[56, 54, 55] Operation: 76-21=55 Moving to Node #0,2 Current State: 53:[56, 54, 55], Operations: ['76-21=55'] Exploring Operation: 56-55=1, Resulting Numbers: [54, 1] Generated Node #0,2,0: 53:[54, 1] Operation: 56-55=1 Moving to Node #0,2,0 Current State: 53:[54, 1], Operations: ['76-21=55', '56-55=1'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 4, 18, 24, 79 ]
29
[ "24/4=6", "18*6=108", "108-79=29" ]
Current State: 29:[4, 18, 24, 79], Operations: [] Exploring Operation: 24/4=6, Resulting Numbers: [18, 79, 6] Generated Node #2: [18, 79, 6] from Operation: 24/4=6 Current State: 29:[18, 79, 6], Operations: ['24/4=6'] Exploring Operation: 18*6=108, Resulting Numbers: [79, 108] Generated Node #3: [79, 108] from Operation: 18*6=108 Current State: 29:[79, 108], Operations: ['24/4=6', '18*6=108'] Exploring Operation: 108-79=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[4, 18, 24, 79], Operations: [] Exploring Operation: 4+18=22, Resulting Numbers: [24, 79, 22] Generated Node #0,0: 29:[24, 79, 22] Operation: 4+18=22 Exploring Operation: 4+24=28, Resulting Numbers: [18, 79, 28] Generated Node #0,1: 29:[18, 79, 28] Operation: 4+24=28 Moving to Node #0,0 Current State: 29:[24, 79, 22], Operations: ['4+18=22'] Exploring Operation: 79-22=57, Resulting Numbers: [24, 57] Generated Node #0,0,0: 29:[24, 57] Operation: 79-22=57 Exploring Operation: 79-24=55, Resulting Numbers: [22, 55] Generated Node #0,0,1: 29:[22, 55] Operation: 79-24=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[24, 57], Operations: ['4+18=22', '79-22=57'] Exploring Operation: 24+57=81, Resulting Numbers: [81] 81,29 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,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:[22, 55], Operations: ['4+18=22', '79-24=55'] Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,29 unequal: No Solution Exploring Operation: 22+55=77, Resulting Numbers: [77] 77,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, 79, 28], Operations: ['4+24=28'] Exploring Operation: 79-28=51, Resulting Numbers: [18, 51] Generated Node #0,1,0: 29:[18, 51] Operation: 79-28=51 Exploring Operation: 79-18=61, Resulting Numbers: [28, 61] Generated Node #0,1,1: 29:[28, 61] Operation: 79-18=61 Moving to Node #0,1,0 Current State: 29:[18, 51], Operations: ['4+24=28', '79-28=51'] Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,29 unequal: No Solution Exploring Operation: 18+51=69, Resulting Numbers: [69] 69,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[28, 61], Operations: ['4+24=28', '79-18=61'] Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,29 unequal: No Solution Exploring Operation: 28+61=89, Resulting Numbers: [89] 89,29 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 82, 83, 84, 58 ]
27
[ "83-82=1", "84-58=26", "1+26=27" ]
Current State: 27:[82, 83, 84, 58], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [84, 58, 1] Generated Node #2: [84, 58, 1] from Operation: 83-82=1 Current State: 27:[84, 58, 1], Operations: ['83-82=1'] Exploring Operation: 84-58=26, Resulting Numbers: [1, 26] Generated Node #3: [1, 26] from Operation: 84-58=26 Current State: 27:[1, 26], Operations: ['83-82=1', '84-58=26'] Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[82, 83, 84, 58], Operations: [] Exploring Operation: 84-58=26, Resulting Numbers: [82, 83, 26] Generated Node #0,0: 27:[82, 83, 26] Operation: 84-58=26 Exploring Operation: 83-82=1, Resulting Numbers: [84, 58, 1] Generated Node #0,1: 27:[84, 58, 1] Operation: 83-82=1 Exploring Operation: 84-83=1, Resulting Numbers: [82, 58, 1] Generated Node #0,2: 27:[82, 58, 1] Operation: 84-83=1 Exploring Operation: 84-82=2, Resulting Numbers: [83, 58, 2] Generated Node #0,3: 27:[83, 58, 2] Operation: 84-82=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[82, 58, 1], Operations: ['84-83=1'] Exploring Operation: 82-1=81, Resulting Numbers: [58, 81] Generated Node #0,2,0: 27:[58, 81] Operation: 82-1=81 Exploring Operation: 58-1=57, Resulting Numbers: [82, 57] Generated Node #0,2,1: 27:[82, 57] Operation: 58-1=57 Exploring Operation: 82*1=82, Resulting Numbers: [58, 82] Generated Node #0,2,2: 27:[58, 82] Operation: 82*1=82 Exploring Operation: 82-58=24, Resulting Numbers: [1, 24] Generated Node #0,2,3: 27:[1, 24] Operation: 82-58=24 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 27:[1, 24], Operations: ['84-83=1', '82-58=24'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,27 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,27 unequal: No Solution No 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: 27:[58, 81], Operations: ['84-83=1', '82-1=81'] Exploring Operation: 58*81=4698, Resulting Numbers: [4698] 4698,27 unequal: No Solution Exploring Operation: 58+81=139, Resulting Numbers: [139] 139,27 unequal: No Solution Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,27 unequal: No Solution No 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: 27:[82, 57], Operations: ['84-83=1', '58-1=57'] Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 82+57=139, Resulting Numbers: [139] 139,27 unequal: No Solution Exploring Operation: 82*57=4674, Resulting Numbers: [4674] 4674,27 unequal: No Solution No 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: 27:[58, 82], Operations: ['84-83=1', '82*1=82'] Exploring Operation: 58+82=140, Resulting Numbers: [140] 140,27 unequal: No Solution Exploring Operation: 82-58=24, Resulting Numbers: [24] 24,27 unequal: No Solution Exploring Operation: 58*82=4756, Resulting Numbers: [4756] 4756,27 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: 27:[83, 58, 2], Operations: ['84-82=2'] Exploring Operation: 58/2=29, Resulting Numbers: [83, 29] Generated Node #0,3,0: 27:[83, 29] Operation: 58/2=29 Exploring Operation: 83-2=81, Resulting Numbers: [58, 81] Generated Node #0,3,1: 27:[58, 81] Operation: 83-2=81 Exploring Operation: 83-58=25, Resulting Numbers: [2, 25] Generated Node #0,3,2: 27:[2, 25] Operation: 83-58=25 Exploring Operation: 58-2=56, Resulting Numbers: [83, 56] Generated Node #0,3,3: 27:[83, 56] Operation: 58-2=56 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 27:[2, 25], Operations: ['84-82=2', '83-58=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,27 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[82, 83, 84, 58], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [83, 58, 2] Generated Node #0,3: 27:[83, 58, 2] Operation: 84-82=2 Moving to Node #0,3 Current State: 27:[83, 58, 2], Operations: ['84-82=2'] Exploring Operation: 83-58=25, Resulting Numbers: [2, 25] Generated Node #0,3,2: 27:[2, 25] Operation: 83-58=25 Moving to Node #0,3,2 Current State: 27:[2, 25], Operations: ['84-82=2', '83-58=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 64, 57, 77, 25 ]
75
[ "57-25=32", "64/32=2", "77-2=75" ]
Current State: 75:[64, 57, 77, 25], Operations: [] Exploring Operation: 57-25=32, Resulting Numbers: [64, 77, 32] Generated Node #2: [64, 77, 32] from Operation: 57-25=32 Current State: 75:[64, 77, 32], Operations: ['57-25=32'] Exploring Operation: 64/32=2, Resulting Numbers: [77, 2] Generated Node #3: [77, 2] from Operation: 64/32=2 Current State: 75:[77, 2], Operations: ['57-25=32', '64/32=2'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[64, 57, 77, 25], Operations: [] Exploring Operation: 64-57=7, Resulting Numbers: [77, 25, 7] Generated Node #0,0: 75:[77, 25, 7] Operation: 64-57=7 Exploring Operation: 77-57=20, Resulting Numbers: [64, 25, 20] Generated Node #0,1: 75:[64, 25, 20] Operation: 77-57=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[77, 25, 7], Operations: ['64-57=7'] Exploring Operation: 77-7=70, Resulting Numbers: [25, 70] Generated Node #0,0,0: 75:[25, 70] Operation: 77-7=70 Exploring Operation: 77/7=11, Resulting Numbers: [25, 11] Generated Node #0,0,1: 75:[25, 11] Operation: 77/7=11 Moving to Node #0,0,1 Current State: 75:[25, 11], Operations: ['64-57=7', '77/7=11'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,75 unequal: No Solution Exploring Operation: 25+11=36, Resulting Numbers: [36] 36,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[25, 70], Operations: ['64-57=7', '77-7=70'] Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,75 unequal: No Solution Exploring Operation: 25+70=95, Resulting Numbers: [95] 95,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[64, 25, 20], Operations: ['77-57=20'] Exploring Operation: 64+20=84, Resulting Numbers: [25, 84] Generated Node #0,1,0: 75:[25, 84] Operation: 64+20=84 Exploring Operation: 25-20=5, Resulting Numbers: [64, 5] Generated Node #0,1,1: 75:[64, 5] Operation: 25-20=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[25, 84], Operations: ['77-57=20', '64+20=84'] Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 25+84=109, Resulting Numbers: [109] 109,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[64, 5], Operations: ['77-57=20', '25-20=5'] Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,75 unequal: No Solution Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 84, 26, 28, 64 ]
41
[ "84/28=3", "64-26=38", "3+38=41" ]
Current State: 41:[84, 26, 28, 64], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [26, 64, 3] Generated Node #2: [26, 64, 3] from Operation: 84/28=3 Current State: 41:[26, 64, 3], Operations: ['84/28=3'] Exploring Operation: 64-26=38, Resulting Numbers: [3, 38] Generated Node #3: [3, 38] from Operation: 64-26=38 Current State: 41:[3, 38], Operations: ['84/28=3', '64-26=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[84, 26, 28, 64], Operations: [] Exploring Operation: 84-26=58, Resulting Numbers: [28, 64, 58] Generated Node #0,0: 41:[28, 64, 58] Operation: 84-26=58 Exploring Operation: 64-26=38, Resulting Numbers: [84, 28, 38] Generated Node #0,1: 41:[84, 28, 38] Operation: 64-26=38 Exploring Operation: 84-64=20, Resulting Numbers: [26, 28, 20] Generated Node #0,2: 41:[26, 28, 20] Operation: 84-64=20 Exploring Operation: 64-28=36, Resulting Numbers: [84, 26, 36] Generated Node #0,3: 41:[84, 26, 36] Operation: 64-28=36 Exploring Operation: 84-28=56, Resulting Numbers: [26, 64, 56] Generated Node #0,4: 41:[26, 64, 56] Operation: 84-28=56 Moving to Node #0,2 Current State: 41:[26, 28, 20], Operations: ['84-64=20'] Exploring Operation: 26+20=46, Resulting Numbers: [28, 46] Generated Node #0,2,0: 41:[28, 46] Operation: 26+20=46 Exploring Operation: 28+20=48, Resulting Numbers: [26, 48] Generated Node #0,2,1: 41:[26, 48] Operation: 28+20=48 Exploring Operation: 26-20=6, Resulting Numbers: [28, 6] Generated Node #0,2,2: 41:[28, 6] Operation: 26-20=6 Exploring Operation: 26+28=54, Resulting Numbers: [20, 54] Generated Node #0,2,3: 41:[20, 54] Operation: 26+28=54 Exploring Operation: 28-20=8, Resulting Numbers: [26, 8] Generated Node #0,2,4: 41:[26, 8] Operation: 28-20=8 Moving to Node #0,4 Current State: 41:[26, 64, 56], Operations: ['84-28=56'] Exploring Operation: 26+56=82, Resulting Numbers: [64, 82] Generated Node #0,4,0: 41:[64, 82] Operation: 26+56=82 Exploring Operation: 26+64=90, Resulting Numbers: [56, 90] Generated Node #0,4,1: 41:[56, 90] Operation: 26+64=90 Exploring Operation: 64-26=38, Resulting Numbers: [56, 38] Generated Node #0,4,2: 41:[56, 38] Operation: 64-26=38 Exploring Operation: 56-26=30, Resulting Numbers: [64, 30] Generated Node #0,4,3: 41:[64, 30] Operation: 56-26=30 Exploring Operation: 64-56=8, Resulting Numbers: [26, 8] Generated Node #0,4,4: 41:[26, 8] Operation: 64-56=8 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 41:[56, 38], Operations: ['84-28=56', '64-26=38'] Exploring Operation: 56*38=2128, Resulting Numbers: [2128] 2128,41 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 56+38=94, Resulting Numbers: [94] 94,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 41:[64, 30], Operations: ['84-28=56', '56-26=30'] Exploring Operation: 64*30=1920, Resulting Numbers: [1920] 1920,41 unequal: No Solution Exploring Operation: 64+30=94, Resulting Numbers: [94] 94,41 unequal: No Solution Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 41:[26, 8], Operations: ['84-28=56', '64-56=8'] Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,41 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 41:[64, 82], Operations: ['84-28=56', '26+56=82'] Exploring Operation: 64+82=146, Resulting Numbers: [146] 146,41 unequal: No Solution Exploring Operation: 64*82=5248, Resulting Numbers: [5248] 5248,41 unequal: No Solution Exploring Operation: 82-64=18, Resulting Numbers: [18] 18,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 41:[56, 90], Operations: ['84-28=56', '26+64=90'] Exploring Operation: 56*90=5040, Resulting Numbers: [5040] 5040,41 unequal: No Solution Exploring Operation: 56+90=146, Resulting Numbers: [146] 146,41 unequal: No Solution Exploring Operation: 90-56=34, Resulting Numbers: [34] 34,41 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: 41:[28, 64, 58], Operations: ['84-26=58'] Exploring Operation: 28+64=92, Resulting Numbers: [58, 92] Generated Node #0,0,0: 41:[58, 92] Operation: 28+64=92 Exploring Operation: 28+58=86, Resulting Numbers: [64, 86] Generated Node #0,0,1: 41:[64, 86] Operation: 28+58=86 Exploring Operation: 58-28=30, Resulting Numbers: [64, 30] Generated Node #0,0,2: 41:[64, 30] Operation: 58-28=30 Exploring Operation: 64-58=6, Resulting Numbers: [28, 6] Generated Node #0,0,3: 41:[28, 6] Operation: 64-58=6 Exploring Operation: 64-28=36, Resulting Numbers: [58, 36] Generated Node #0,0,4: 41:[58, 36] Operation: 64-28=36 Moving to Node #0,1 Current State: 41:[84, 28, 38], Operations: ['64-26=38'] Exploring Operation: 84-28=56, Resulting Numbers: [38, 56] Generated Node #0,1,0: 41:[38, 56] Operation: 84-28=56 Exploring Operation: 84-38=46, Resulting Numbers: [28, 46] Generated Node #0,1,1: 41:[28, 46] Operation: 84-38=46 Exploring Operation: 28+38=66, Resulting Numbers: [84, 66] Generated Node #0,1,2: 41:[84, 66] Operation: 28+38=66 Exploring Operation: 84+28=112, Resulting Numbers: [38, 112] Generated Node #0,1,3: 41:[38, 112] Operation: 84+28=112 Exploring Operation: 84/28=3, Resulting Numbers: [38, 3] Generated Node #0,1,4: 41:[38, 3] Operation: 84/28=3 Moving to Node #0,3 Current State: 41:[84, 26, 36], Operations: ['64-28=36'] Exploring Operation: 26+36=62, Resulting Numbers: [84, 62] Generated Node #0,3,0: 41:[84, 62] Operation: 26+36=62 Exploring Operation: 84-36=48, Resulting Numbers: [26, 48] Generated Node #0,3,1: 41:[26, 48] Operation: 84-36=48 Exploring Operation: 84-26=58, Resulting Numbers: [36, 58] Generated Node #0,3,2: 41:[36, 58] Operation: 84-26=58 Exploring Operation: 36-26=10, Resulting Numbers: [84, 10] Generated Node #0,3,3: 41:[84, 10] Operation: 36-26=10 Exploring Operation: 84+26=110, Resulting Numbers: [36, 110] Generated Node #0,3,4: 41:[36, 110] Operation: 84+26=110 Moving to Node #0,2,0 Current State: 41:[28, 46], Operations: ['84-64=20', '26+20=46'] Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 28+46=74, Resulting Numbers: [74] 74,41 unequal: No Solution Exploring Operation: 28*46=1288, Resulting Numbers: [1288] 1288,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[28, 46], Operations: ['64-26=38', '84-38=46'] Exploring Operation: 28*46=1288, Resulting Numbers: [1288] 1288,41 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 28+46=74, Resulting Numbers: [74] 74,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[38, 56], Operations: ['64-26=38', '84-28=56'] Exploring Operation: 38*56=2128, Resulting Numbers: [2128] 2128,41 unequal: No Solution Exploring Operation: 38+56=94, Resulting Numbers: [94] 94,41 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,41 unequal: No Solution Moving to Node #0,0,4 Current State: 41:[58, 36], Operations: ['84-26=58', '64-28=36'] Exploring Operation: 58*36=2088, Resulting Numbers: [2088] 2088,41 unequal: No Solution Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 58+36=94, Resulting Numbers: [94] 94,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[26, 48], Operations: ['84-64=20', '28+20=48'] Exploring Operation: 26+48=74, Resulting Numbers: [74] 74,41 unequal: No Solution Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 26*48=1248, Resulting Numbers: [1248] 1248,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[26, 48], Operations: ['64-28=36', '84-36=48'] Exploring Operation: 26*48=1248, Resulting Numbers: [1248] 1248,41 unequal: No Solution Exploring Operation: 26+48=74, Resulting Numbers: [74] 74,41 unequal: No Solution Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[36, 58], Operations: ['64-28=36', '84-26=58'] Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 36*58=2088, Resulting Numbers: [2088] 2088,41 unequal: No Solution Exploring Operation: 36+58=94, Resulting Numbers: [94] 94,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[64, 30], Operations: ['84-26=58', '58-28=30'] Exploring Operation: 64*30=1920, Resulting Numbers: [1920] 1920,41 unequal: No Solution Exploring Operation: 64+30=94, Resulting Numbers: [94] 94,41 unequal: No Solution Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[20, 54], Operations: ['84-64=20', '26+28=54'] Exploring Operation: 20*54=1080, Resulting Numbers: [1080] 1080,41 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 20+54=74, Resulting Numbers: [74] 74,41 unequal: No Solution Moving to Node #0,1,4 Current State: 41:[38, 3], Operations: ['64-26=38', '84/28=3'] Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[84, 26, 28, 64], Operations: [] Exploring Operation: 64-26=38, Resulting Numbers: [84, 28, 38] Generated Node #0,1: 41:[84, 28, 38] Operation: 64-26=38 Moving to Node #0,1 Current State: 41:[84, 28, 38], Operations: ['64-26=38'] Exploring Operation: 84/28=3, Resulting Numbers: [38, 3] Generated Node #0,1,4: 41:[38, 3] Operation: 84/28=3 Moving to Node #0,1,4 Current State: 41:[38, 3], Operations: ['64-26=38', '84/28=3'] Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.93316
hs_5
sum_heuristic
[ 45, 28, 56, 7 ]
72
[ "45*56=2520", "28+7=35", "2520/35=72" ]
Current State: 72:[45, 28, 56, 7], Operations: [] Exploring Operation: 45*56=2520, Resulting Numbers: [28, 7, 2520] Generated Node #2: [28, 7, 2520] from Operation: 45*56=2520 Current State: 72:[28, 7, 2520], Operations: ['45*56=2520'] Exploring Operation: 28+7=35, Resulting Numbers: [2520, 35] Generated Node #3: [2520, 35] from Operation: 28+7=35 Current State: 72:[2520, 35], Operations: ['45*56=2520', '28+7=35'] Exploring Operation: 2520/35=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[45, 28, 56, 7], Operations: [] Exploring Operation: 56-45=11, Resulting Numbers: [28, 7, 11] Generated Node #0,0: 72:[28, 7, 11] Operation: 56-45=11 Exploring Operation: 56/28=2, Resulting Numbers: [45, 7, 2] Generated Node #0,1: 72:[45, 7, 2] Operation: 56/28=2 Moving to Node #0,0 Current State: 72:[28, 7, 11], Operations: ['56-45=11'] Exploring Operation: 28+7=35, Resulting Numbers: [11, 35] Generated Node #0,0,0: 72:[11, 35] Operation: 28+7=35 Exploring Operation: 28/7=4, Resulting Numbers: [11, 4] Generated Node #0,0,1: 72:[11, 4] Operation: 28/7=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[11, 4], Operations: ['56-45=11', '28/7=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[11, 35], Operations: ['56-45=11', '28+7=35'] Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,72 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,72 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: 72:[45, 7, 2], Operations: ['56/28=2'] Exploring Operation: 45-7=38, Resulting Numbers: [2, 38] Generated Node #0,1,0: 72:[2, 38] Operation: 45-7=38 Exploring Operation: 45-2=43, Resulting Numbers: [7, 43] Generated Node #0,1,1: 72:[7, 43] Operation: 45-2=43 Moving to Node #0,1,0 Current State: 72:[2, 38], Operations: ['56/28=2', '45-7=38'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[7, 43], Operations: ['56/28=2', '45-2=43'] Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,72 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 98, 42, 56, 12 ]
96
[ "98+42=140", "56-12=44", "140-44=96" ]
Current State: 96:[98, 42, 56, 12], Operations: [] Exploring Operation: 98+42=140, Resulting Numbers: [56, 12, 140] Generated Node #2: [56, 12, 140] from Operation: 98+42=140 Current State: 96:[56, 12, 140], Operations: ['98+42=140'] Exploring Operation: 56-12=44, Resulting Numbers: [140, 44] Generated Node #3: [140, 44] from Operation: 56-12=44 Current State: 96:[140, 44], Operations: ['98+42=140', '56-12=44'] Exploring Operation: 140-44=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[98, 42, 56, 12], Operations: [] Exploring Operation: 42+56=98, Resulting Numbers: [98, 12, 98] Generated Node #0,0: 96:[98, 12, 98] Operation: 42+56=98 Moving to Node #0,0 Current State: 96:[98, 12, 98], Operations: ['42+56=98'] Exploring Operation: 98/98=1, Resulting Numbers: [12, 1] Generated Node #0,0,0: 96:[12, 1] Operation: 98/98=1 Moving to Node #0,0,0 Current State: 96:[12, 1], Operations: ['42+56=98', '98/98=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,96 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 37, 75, 19, 77 ]
54
[ "37+75=112", "77-19=58", "112-58=54" ]
Current State: 54:[37, 75, 19, 77], Operations: [] Exploring Operation: 37+75=112, Resulting Numbers: [19, 77, 112] Generated Node #2: [19, 77, 112] from Operation: 37+75=112 Current State: 54:[19, 77, 112], Operations: ['37+75=112'] Exploring Operation: 77-19=58, Resulting Numbers: [112, 58] Generated Node #3: [112, 58] from Operation: 77-19=58 Current State: 54:[112, 58], Operations: ['37+75=112', '77-19=58'] Exploring Operation: 112-58=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[37, 75, 19, 77], Operations: [] Exploring Operation: 75-37=38, Resulting Numbers: [19, 77, 38] Generated Node #0,0: 54:[19, 77, 38] Operation: 75-37=38 Exploring Operation: 77-75=2, Resulting Numbers: [37, 19, 2] Generated Node #0,1: 54:[37, 19, 2] Operation: 77-75=2 Exploring Operation: 77-37=40, Resulting Numbers: [75, 19, 40] Generated Node #0,2: 54:[75, 19, 40] Operation: 77-37=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[37, 19, 2], Operations: ['77-75=2'] Exploring Operation: 37-2=35, Resulting Numbers: [19, 35] Generated Node #0,1,0: 54:[19, 35] Operation: 37-2=35 Exploring Operation: 37+19=56, Resulting Numbers: [2, 56] Generated Node #0,1,1: 54:[2, 56] Operation: 37+19=56 Exploring Operation: 37-19=18, Resulting Numbers: [2, 18] Generated Node #0,1,2: 54:[2, 18] Operation: 37-19=18 Moving to Node #0,1,2 Current State: 54:[2, 18], Operations: ['77-75=2', '37-19=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,54 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[2, 56], Operations: ['77-75=2', '37+19=56'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[37, 75, 19, 77], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [37, 19, 2] Generated Node #0,1: 54:[37, 19, 2] Operation: 77-75=2 Moving to Node #0,1 Current State: 54:[37, 19, 2], Operations: ['77-75=2'] Exploring Operation: 37+19=56, Resulting Numbers: [2, 56] Generated Node #0,1,1: 54:[2, 56] Operation: 37+19=56 Moving to Node #0,1,1 Current State: 54:[2, 56], Operations: ['77-75=2', '37+19=56'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 34, 21, 2, 84 ]
79
[ "84-34=50", "2*50=100", "100-21=79" ]
Current State: 79:[34, 21, 2, 84], Operations: [] Exploring Operation: 84-34=50, Resulting Numbers: [21, 2, 50] Generated Node #2: [21, 2, 50] from Operation: 84-34=50 Current State: 79:[21, 2, 50], Operations: ['84-34=50'] Exploring Operation: 2*50=100, Resulting Numbers: [21, 100] Generated Node #3: [21, 100] from Operation: 2*50=100 Current State: 79:[21, 100], Operations: ['84-34=50', '2*50=100'] Exploring Operation: 100-21=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[34, 21, 2, 84], Operations: [] Exploring Operation: 21*2=42, Resulting Numbers: [34, 84, 42] Generated Node #0,0: 79:[34, 84, 42] Operation: 21*2=42 Exploring Operation: 34+21=55, Resulting Numbers: [2, 84, 55] Generated Node #0,1: 79:[2, 84, 55] Operation: 34+21=55 Exploring Operation: 34*2=68, Resulting Numbers: [21, 84, 68] Generated Node #0,2: 79:[21, 84, 68] Operation: 34*2=68 Exploring Operation: 34+2=36, Resulting Numbers: [21, 84, 36] Generated Node #0,3: 79:[21, 84, 36] Operation: 34+2=36 Moving to Node #0,2 Current State: 79:[21, 84, 68], Operations: ['34*2=68'] Exploring Operation: 84-21=63, Resulting Numbers: [68, 63] Generated Node #0,2,0: 79:[68, 63] Operation: 84-21=63 Exploring Operation: 68-21=47, Resulting Numbers: [84, 47] Generated Node #0,2,1: 79:[84, 47] Operation: 68-21=47 Exploring Operation: 21+84=105, Resulting Numbers: [68, 105] Generated Node #0,2,2: 79:[68, 105] Operation: 21+84=105 Exploring Operation: 21+68=89, Resulting Numbers: [84, 89] Generated Node #0,2,3: 79:[84, 89] Operation: 21+68=89 Moving to Node #0,0 Current State: 79:[34, 84, 42], Operations: ['21*2=42'] Exploring Operation: 34+84=118, Resulting Numbers: [42, 118] Generated Node #0,0,0: 79:[42, 118] Operation: 34+84=118 Exploring Operation: 84-34=50, Resulting Numbers: [42, 50] Generated Node #0,0,1: 79:[42, 50] Operation: 84-34=50 Exploring Operation: 42-34=8, Resulting Numbers: [84, 8] Generated Node #0,0,2: 79:[84, 8] Operation: 42-34=8 Exploring Operation: 34+42=76, Resulting Numbers: [84, 76] Generated Node #0,0,3: 79:[84, 76] Operation: 34+42=76 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 79:[84, 76], Operations: ['21*2=42', '34+42=76'] Exploring Operation: 84-76=8, Resulting Numbers: [8] 8,79 unequal: No Solution Exploring Operation: 84+76=160, Resulting Numbers: [160] 160,79 unequal: No Solution Exploring Operation: 84*76=6384, Resulting Numbers: [6384] 6384,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:[42, 50], Operations: ['21*2=42', '84-34=50'] Exploring Operation: 42*50=2100, Resulting Numbers: [2100] 2100,79 unequal: No Solution Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,79 unequal: No Solution Exploring Operation: 42+50=92, Resulting Numbers: [92] 92,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,0 Current State: 79:[42, 118], Operations: ['21*2=42', '34+84=118'] Exploring Operation: 42+118=160, Resulting Numbers: [160] 160,79 unequal: No Solution Exploring Operation: 42*118=4956, Resulting Numbers: [4956] 4956,79 unequal: No Solution Exploring Operation: 118-42=76, Resulting Numbers: [76] 76,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[84, 8], Operations: ['21*2=42', '42-34=8'] Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,79 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,79 unequal: No Solution Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 79:[21, 84, 36], Operations: ['34+2=36'] Exploring Operation: 36-21=15, Resulting Numbers: [84, 15] Generated Node #0,3,0: 79:[84, 15] Operation: 36-21=15 Exploring Operation: 21+84=105, Resulting Numbers: [36, 105] Generated Node #0,3,1: 79:[36, 105] Operation: 21+84=105 Exploring Operation: 21+36=57, Resulting Numbers: [84, 57] Generated Node #0,3,2: 79:[84, 57] Operation: 21+36=57 Exploring Operation: 84-21=63, Resulting Numbers: [36, 63] Generated Node #0,3,3: 79:[36, 63] Operation: 84-21=63 Moving to Node #0,1 Current State: 79:[2, 84, 55], Operations: ['34+21=55'] Exploring Operation: 2+84=86, Resulting Numbers: [55, 86] Generated Node #0,1,0: 79:[55, 86] Operation: 2+84=86 Exploring Operation: 2+55=57, Resulting Numbers: [84, 57] Generated Node #0,1,1: 79:[84, 57] Operation: 2+55=57 Exploring Operation: 84-2=82, Resulting Numbers: [55, 82] Generated Node #0,1,2: 79:[55, 82] Operation: 84-2=82 Exploring Operation: 55-2=53, Resulting Numbers: [84, 53] Generated Node #0,1,3: 79:[84, 53] Operation: 55-2=53 Moving to Node #0,2,3 Current State: 79:[84, 89], Operations: ['34*2=68', '21+68=89'] Exploring Operation: 84*89=7476, Resulting Numbers: [7476] 7476,79 unequal: No Solution Exploring Operation: 84+89=173, Resulting Numbers: [173] 173,79 unequal: No Solution Exploring Operation: 89-84=5, Resulting Numbers: [5] 5,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[68, 63], Operations: ['34*2=68', '84-21=63'] Exploring Operation: 68+63=131, Resulting Numbers: [131] 131,79 unequal: No Solution Exploring Operation: 68-63=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 68*63=4284, Resulting Numbers: [4284] 4284,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[84, 57], Operations: ['34+2=36', '21+36=57'] Exploring Operation: 84*57=4788, Resulting Numbers: [4788] 4788,79 unequal: No Solution Exploring Operation: 84+57=141, Resulting Numbers: [141] 141,79 unequal: No Solution Exploring Operation: 84-57=27, Resulting Numbers: [27] 27,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[55, 82], Operations: ['34+21=55', '84-2=82'] Exploring Operation: 82-55=27, Resulting Numbers: [27] 27,79 unequal: No Solution Exploring Operation: 55+82=137, Resulting Numbers: [137] 137,79 unequal: No Solution Exploring Operation: 55*82=4510, Resulting Numbers: [4510] 4510,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[84, 57], Operations: ['34+21=55', '2+55=57'] Exploring Operation: 84-57=27, Resulting Numbers: [27] 27,79 unequal: No Solution Exploring Operation: 84+57=141, Resulting Numbers: [141] 141,79 unequal: No Solution Exploring Operation: 84*57=4788, Resulting Numbers: [4788] 4788,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[84, 53], Operations: ['34+21=55', '55-2=53'] Exploring Operation: 84+53=137, Resulting Numbers: [137] 137,79 unequal: No Solution Exploring Operation: 84*53=4452, Resulting Numbers: [4452] 4452,79 unequal: No Solution Exploring Operation: 84-53=31, Resulting Numbers: [31] 31,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[55, 86], Operations: ['34+21=55', '2+84=86'] Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 55*86=4730, Resulting Numbers: [4730] 4730,79 unequal: No Solution Exploring Operation: 55+86=141, Resulting Numbers: [141] 141,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[84, 47], Operations: ['34*2=68', '68-21=47'] Exploring Operation: 84-47=37, Resulting Numbers: [37] 37,79 unequal: No Solution Exploring Operation: 84+47=131, Resulting Numbers: [131] 131,79 unequal: No Solution Exploring Operation: 84*47=3948, Resulting Numbers: [3948] 3948,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[68, 105], Operations: ['34*2=68', '21+84=105'] Exploring Operation: 68*105=7140, Resulting Numbers: [7140] 7140,79 unequal: No Solution Exploring Operation: 68+105=173, Resulting Numbers: [173] 173,79 unequal: No Solution Exploring Operation: 105-68=37, Resulting Numbers: [37] 37,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[36, 63], Operations: ['34+2=36', '84-21=63'] Exploring Operation: 36*63=2268, Resulting Numbers: [2268] 2268,79 unequal: No Solution Exploring Operation: 36+63=99, Resulting Numbers: [99] 99,79 unequal: No Solution Exploring Operation: 63-36=27, Resulting Numbers: [27] 27,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[84, 15], Operations: ['34+2=36', '36-21=15'] Exploring Operation: 84*15=1260, Resulting Numbers: [1260] 1260,79 unequal: No Solution Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,79 unequal: No Solution Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[36, 105], Operations: ['34+2=36', '21+84=105'] Exploring Operation: 105-36=69, Resulting Numbers: [69] 69,79 unequal: No Solution Exploring Operation: 36+105=141, Resulting Numbers: [141] 141,79 unequal: No Solution Exploring Operation: 36*105=3780, Resulting Numbers: [3780] 3780,79 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 78, 86, 54, 15 ]
47
[ "86-78=8", "54-15=39", "8+39=47" ]
Current State: 47:[78, 86, 54, 15], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [54, 15, 8] Generated Node #2: [54, 15, 8] from Operation: 86-78=8 Current State: 47:[54, 15, 8], Operations: ['86-78=8'] Exploring Operation: 54-15=39, Resulting Numbers: [8, 39] Generated Node #3: [8, 39] from Operation: 54-15=39 Current State: 47:[8, 39], Operations: ['86-78=8', '54-15=39'] Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[78, 86, 54, 15], Operations: [] Exploring Operation: 86-54=32, Resulting Numbers: [78, 15, 32] Generated Node #0,0: 47:[78, 15, 32] Operation: 86-54=32 Exploring Operation: 86-78=8, Resulting Numbers: [54, 15, 8] Generated Node #0,1: 47:[54, 15, 8] Operation: 86-78=8 Exploring Operation: 78-15=63, Resulting Numbers: [86, 54, 63] Generated Node #0,2: 47:[86, 54, 63] Operation: 78-15=63 Exploring Operation: 86-15=71, Resulting Numbers: [78, 54, 71] Generated Node #0,3: 47:[78, 54, 71] Operation: 86-15=71 Moving to Node #0,2 Current State: 47:[86, 54, 63], Operations: ['78-15=63'] Exploring Operation: 86-54=32, Resulting Numbers: [63, 32] Generated Node #0,2,0: 47:[63, 32] Operation: 86-54=32 Exploring Operation: 86-63=23, Resulting Numbers: [54, 23] Generated Node #0,2,1: 47:[54, 23] Operation: 86-63=23 Exploring Operation: 63-54=9, Resulting Numbers: [86, 9] Generated Node #0,2,2: 47:[86, 9] Operation: 63-54=9 Exploring Operation: 86+54=140, Resulting Numbers: [63, 140] Generated Node #0,2,3: 47:[63, 140] Operation: 86+54=140 Moving to Node #0,3 Current State: 47:[78, 54, 71], Operations: ['86-15=71'] Exploring Operation: 71-54=17, Resulting Numbers: [78, 17] Generated Node #0,3,0: 47:[78, 17] Operation: 71-54=17 Exploring Operation: 78+54=132, Resulting Numbers: [71, 132] Generated Node #0,3,1: 47:[71, 132] Operation: 78+54=132 Exploring Operation: 78-54=24, Resulting Numbers: [71, 24] Generated Node #0,3,2: 47:[71, 24] Operation: 78-54=24 Exploring Operation: 78-71=7, Resulting Numbers: [54, 7] Generated Node #0,3,3: 47:[54, 7] Operation: 78-71=7 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 47:[71, 24], Operations: ['86-15=71', '78-54=24'] Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[78, 86, 54, 15], Operations: [] Exploring Operation: 86-15=71, Resulting Numbers: [78, 54, 71] Generated Node #0,3: 47:[78, 54, 71] Operation: 86-15=71 Moving to Node #0,3 Current State: 47:[78, 54, 71], Operations: ['86-15=71'] Exploring Operation: 78-54=24, Resulting Numbers: [71, 24] Generated Node #0,3,2: 47:[71, 24] Operation: 78-54=24 Moving to Node #0,3,2 Current State: 47:[71, 24], Operations: ['86-15=71', '78-54=24'] Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 30, 10, 60, 9 ]
87
[ "30/10=3", "9*3=27", "60+27=87" ]
Current State: 87:[30, 10, 60, 9], Operations: [] Exploring Operation: 30/10=3, Resulting Numbers: [60, 9, 3] Generated Node #2: [60, 9, 3] from Operation: 30/10=3 Current State: 87:[60, 9, 3], Operations: ['30/10=3'] Exploring Operation: 9*3=27, Resulting Numbers: [60, 27] Generated Node #3: [60, 27] from Operation: 9*3=27 Current State: 87:[60, 27], Operations: ['30/10=3', '9*3=27'] Exploring Operation: 60+27=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[30, 10, 60, 9], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [10, 9, 2] Generated Node #0,0: 87:[10, 9, 2] Operation: 60/30=2 Exploring Operation: 30+60=90, Resulting Numbers: [10, 9, 90] Generated Node #0,1: 87:[10, 9, 90] Operation: 30+60=90 Exploring Operation: 60/10=6, Resulting Numbers: [30, 9, 6] Generated Node #0,2: 87:[30, 9, 6] Operation: 60/10=6 Exploring Operation: 60-30=30, Resulting Numbers: [10, 9, 30] Generated Node #0,3: 87:[10, 9, 30] Operation: 60-30=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[30, 9, 6], Operations: ['60/10=6'] Exploring Operation: 30-9=21, Resulting Numbers: [6, 21] Generated Node #0,2,0: 87:[6, 21] Operation: 30-9=21 Exploring Operation: 30/6=5, Resulting Numbers: [9, 5] Generated Node #0,2,1: 87:[9, 5] Operation: 30/6=5 Exploring Operation: 9-6=3, Resulting Numbers: [30, 3] Generated Node #0,2,2: 87:[30, 3] Operation: 9-6=3 Exploring Operation: 30-6=24, Resulting Numbers: [9, 24] Generated Node #0,2,3: 87:[9, 24] Operation: 30-6=24 Moving to Node #0,2,2 Current State: 87:[30, 3], Operations: ['60/10=6', '9-6=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,87 unequal: No Solution Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,87 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[9, 5], Operations: ['60/10=6', '30/6=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,87 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,87 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,87 unequal: No Solution Moving to Node #0,2,3 Current State: 87:[9, 24], Operations: ['60/10=6', '30-6=24'] Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,87 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,87 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,87 unequal: No Solution Moving to Node #0,2,0 Current State: 87:[6, 21], Operations: ['60/10=6', '30-9=21'] Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,87 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,87 unequal: No Solution Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[10, 9, 2], Operations: ['60/30=2'] Exploring Operation: 10+9=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 87:[2, 19] Operation: 10+9=19 Exploring Operation: 10-9=1, Resulting Numbers: [2, 1] Generated Node #0,0,1: 87:[2, 1] Operation: 10-9=1 Exploring Operation: 10*9=90, Resulting Numbers: [2, 90] Generated Node #0,0,2: 87:[2, 90] Operation: 10*9=90 Exploring Operation: 10/2=5, Resulting Numbers: [9, 5] Generated Node #0,0,3: 87:[9, 5] Operation: 10/2=5 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[2, 1], Operations: ['60/30=2', '10-9=1'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,87 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[2, 90], Operations: ['60/30=2', '10*9=90'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,87 unequal: No Solution Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,87 unequal: No Solution Exploring Operation: 2*90=180, Resulting Numbers: [180] 180,87 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 87:[9, 5], Operations: ['60/30=2', '10/2=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,87 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[2, 19], Operations: ['60/30=2', '10+9=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[10, 9, 30], Operations: ['60-30=30'] Exploring Operation: 10+9=19, Resulting Numbers: [30, 19] Generated Node #0,3,0: 87:[30, 19] Operation: 10+9=19 Exploring Operation: 10-9=1, Resulting Numbers: [30, 1] Generated Node #0,3,1: 87:[30, 1] Operation: 10-9=1 Exploring Operation: 10*9=90, Resulting Numbers: [30, 90] Generated Node #0,3,2: 87:[30, 90] Operation: 10*9=90 Exploring Operation: 30/10=3, Resulting Numbers: [9, 3] Generated Node #0,3,3: 87:[9, 3] Operation: 30/10=3 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 87:[30, 1], Operations: ['60-30=30', '10-9=1'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,87 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 87:[30, 90], Operations: ['60-30=30', '10*9=90'] Exploring Operation: 90-30=60, Resulting Numbers: [60] 60,87 unequal: No Solution Exploring Operation: 30*90=2700, Resulting Numbers: [2700] 2700,87 unequal: No Solution Exploring Operation: 30+90=120, Resulting Numbers: [120] 120,87 unequal: No Solution Exploring Operation: 90/30=3, Resulting Numbers: [3] 3,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 87:[9, 3], Operations: ['60-30=30', '30/10=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 87:[30, 19], Operations: ['60-30=30', '10+9=19'] Exploring Operation: 30+19=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 30*19=570, Resulting Numbers: [570] 570,87 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[10, 9, 90], Operations: ['30+60=90'] Exploring Operation: 90/10=9, Resulting Numbers: [9, 9] Generated Node #0,1,0: 87:[9, 9] Operation: 90/10=9 Exploring Operation: 10+9=19, Resulting Numbers: [90, 19] Generated Node #0,1,1: 87:[90, 19] Operation: 10+9=19 Exploring Operation: 10-9=1, Resulting Numbers: [90, 1] Generated Node #0,1,2: 87:[90, 1] Operation: 10-9=1 Exploring Operation: 10*9=90, Resulting Numbers: [90, 90] Generated Node #0,1,3: 87:[90, 90] Operation: 10*9=90 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 87:[90, 1], Operations: ['30+60=90', '10-9=1'] Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,87 unequal: No Solution Exploring Operation: 90/1=90, Resulting Numbers: [90] 90,87 unequal: No Solution Exploring Operation: 90+1=91, Resulting Numbers: [91] 91,87 unequal: No Solution Exploring Operation: 90*1=90, Resulting Numbers: [90] 90,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 87:[90, 90], Operations: ['30+60=90', '10*9=90'] Exploring Operation: 90*90=8100, Resulting Numbers: [8100] 8100,87 unequal: No Solution Exploring Operation: 90+90=180, Resulting Numbers: [180] 180,87 unequal: No Solution Exploring Operation: 90/90=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 90-90=0, Resulting Numbers: [0] 0,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[9, 9], Operations: ['30+60=90', '90/10=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,87 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[90, 19], Operations: ['30+60=90', '10+9=19'] Exploring Operation: 90*19=1710, Resulting Numbers: [1710] 1710,87 unequal: No Solution Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,87 unequal: No Solution Exploring Operation: 90+19=109, Resulting Numbers: [109] 109,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 43, 35, 77, 90 ]
65
[ "43+35=78", "90-77=13", "78-13=65" ]
Current State: 65:[43, 35, 77, 90], Operations: [] Exploring Operation: 43+35=78, Resulting Numbers: [77, 90, 78] Generated Node #2: [77, 90, 78] from Operation: 43+35=78 Current State: 65:[77, 90, 78], Operations: ['43+35=78'] Exploring Operation: 90-77=13, Resulting Numbers: [78, 13] Generated Node #3: [78, 13] from Operation: 90-77=13 Current State: 65:[78, 13], Operations: ['43+35=78', '90-77=13'] Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[43, 35, 77, 90], Operations: [] Exploring Operation: 43+35=78, Resulting Numbers: [77, 90, 78] Generated Node #0,0: 65:[77, 90, 78] Operation: 43+35=78 Exploring Operation: 90-77=13, Resulting Numbers: [43, 35, 13] Generated Node #0,1: 65:[43, 35, 13] Operation: 90-77=13 Exploring Operation: 90-35=55, Resulting Numbers: [43, 77, 55] Generated Node #0,2: 65:[43, 77, 55] Operation: 90-35=55 Exploring Operation: 43-35=8, Resulting Numbers: [77, 90, 8] Generated Node #0,3: 65:[77, 90, 8] Operation: 43-35=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[77, 90, 8], Operations: ['43-35=8'] Exploring Operation: 77+8=85, Resulting Numbers: [90, 85] Generated Node #0,3,0: 65:[90, 85] Operation: 77+8=85 Exploring Operation: 90-77=13, Resulting Numbers: [8, 13] Generated Node #0,3,1: 65:[8, 13] Operation: 90-77=13 Exploring Operation: 90-8=82, Resulting Numbers: [77, 82] Generated Node #0,3,2: 65:[77, 82] Operation: 90-8=82 Exploring Operation: 77-8=69, Resulting Numbers: [90, 69] Generated Node #0,3,3: 65:[90, 69] Operation: 77-8=69 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 65:[8, 13], Operations: ['43-35=8', '90-77=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,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,3,2 Current State: 65:[77, 82], Operations: ['43-35=8', '90-8=82'] Exploring Operation: 77*82=6314, Resulting Numbers: [6314] 6314,65 unequal: No Solution Exploring Operation: 77+82=159, Resulting Numbers: [159] 159,65 unequal: No Solution Exploring Operation: 82-77=5, Resulting Numbers: [5] 5,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,3,3 Current State: 65:[90, 69], Operations: ['43-35=8', '77-8=69'] Exploring Operation: 90-69=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 90*69=6210, Resulting Numbers: [6210] 6210,65 unequal: No Solution Exploring Operation: 90+69=159, Resulting Numbers: [159] 159,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,3,0 Current State: 65:[90, 85], Operations: ['43-35=8', '77+8=85'] Exploring Operation: 90+85=175, Resulting Numbers: [175] 175,65 unequal: No Solution Exploring Operation: 90*85=7650, Resulting Numbers: [7650] 7650,65 unequal: No Solution Exploring Operation: 90-85=5, Resulting Numbers: [5] 5,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[43, 35, 13], Operations: ['90-77=13'] Exploring Operation: 43-35=8, Resulting Numbers: [13, 8] Generated Node #0,1,0: 65:[13, 8] Operation: 43-35=8 Exploring Operation: 43+13=56, Resulting Numbers: [35, 56] Generated Node #0,1,1: 65:[35, 56] Operation: 43+13=56 Exploring Operation: 43+35=78, Resulting Numbers: [13, 78] Generated Node #0,1,2: 65:[13, 78] Operation: 43+35=78 Exploring Operation: 35-13=22, Resulting Numbers: [43, 22] Generated Node #0,1,3: 65:[43, 22] Operation: 35-13=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[13, 8], Operations: ['90-77=13', '43-35=8'] Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 65:[13, 78], Operations: ['90-77=13', '43+35=78'] Exploring Operation: 13*78=1014, Resulting Numbers: [1014] 1014,65 unequal: No Solution Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[43, 35, 77, 90], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [43, 35, 13] Generated Node #0,1: 65:[43, 35, 13] Operation: 90-77=13 Moving to Node #0,1 Current State: 65:[43, 35, 13], Operations: ['90-77=13'] Exploring Operation: 43+35=78, Resulting Numbers: [13, 78] Generated Node #0,1,2: 65:[13, 78] Operation: 43+35=78 Moving to Node #0,1,2 Current State: 65:[13, 78], Operations: ['90-77=13', '43+35=78'] Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 28, 34, 78, 35 ]
31
[ "34+78=112", "112/28=4", "35-4=31" ]
Current State: 31:[28, 34, 78, 35], Operations: [] Exploring Operation: 34+78=112, Resulting Numbers: [28, 35, 112] Generated Node #2: [28, 35, 112] from Operation: 34+78=112 Current State: 31:[28, 35, 112], Operations: ['34+78=112'] Exploring Operation: 112/28=4, Resulting Numbers: [35, 4] Generated Node #3: [35, 4] from Operation: 112/28=4 Current State: 31:[35, 4], Operations: ['34+78=112', '112/28=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[28, 34, 78, 35], Operations: [] Exploring Operation: 78-35=43, Resulting Numbers: [28, 34, 43] Generated Node #0,0: 31:[28, 34, 43] Operation: 78-35=43 Moving to Node #0,0 Current State: 31:[28, 34, 43], Operations: ['78-35=43'] Exploring Operation: 43-28=15, Resulting Numbers: [34, 15] Generated Node #0,0,0: 31:[34, 15] Operation: 43-28=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[34, 15], Operations: ['78-35=43', '43-28=15'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,31 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
[ 93, 30, 12, 78 ]
96
[ "12+78=90", "90/30=3", "93+3=96" ]
Current State: 96:[93, 30, 12, 78], Operations: [] Exploring Operation: 12+78=90, Resulting Numbers: [93, 30, 90] Generated Node #2: [93, 30, 90] from Operation: 12+78=90 Current State: 96:[93, 30, 90], Operations: ['12+78=90'] Exploring Operation: 90/30=3, Resulting Numbers: [93, 3] Generated Node #3: [93, 3] from Operation: 90/30=3 Current State: 96:[93, 3], Operations: ['12+78=90', '90/30=3'] Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[93, 30, 12, 78], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [30, 12, 15] Generated Node #0,0: 96:[30, 12, 15] Operation: 93-78=15 Exploring Operation: 78-30=48, Resulting Numbers: [93, 12, 48] Generated Node #0,1: 96:[93, 12, 48] Operation: 78-30=48 Moving to Node #0,0 Current State: 96:[30, 12, 15], Operations: ['93-78=15'] Exploring Operation: 30-15=15, Resulting Numbers: [12, 15] Generated Node #0,0,0: 96:[12, 15] Operation: 30-15=15 Exploring Operation: 30/15=2, Resulting Numbers: [12, 2] Generated Node #0,0,1: 96:[12, 2] Operation: 30/15=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[12, 2], Operations: ['93-78=15', '30/15=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[12, 15], Operations: ['93-78=15', '30-15=15'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,96 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: 96:[93, 12, 48], Operations: ['78-30=48'] Exploring Operation: 48/12=4, Resulting Numbers: [93, 4] Generated Node #0,1,0: 96:[93, 4] Operation: 48/12=4 Exploring Operation: 93-48=45, Resulting Numbers: [12, 45] Generated Node #0,1,1: 96:[12, 45] Operation: 93-48=45 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[93, 4], Operations: ['78-30=48', '48/12=4'] Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[12, 45], Operations: ['78-30=48', '93-48=45'] Exploring Operation: 12+45=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 37, 2, 10, 10 ]
73
[ "37*2=74", "10/10=1", "74-1=73" ]
Current State: 73:[37, 2, 10, 10], Operations: [] Exploring Operation: 37*2=74, Resulting Numbers: [10, 10, 74] Generated Node #2: [10, 10, 74] from Operation: 37*2=74 Current State: 73:[10, 10, 74], Operations: ['37*2=74'] Exploring Operation: 10/10=1, Resulting Numbers: [74, 1] Generated Node #3: [74, 1] from Operation: 10/10=1 Current State: 73:[74, 1], Operations: ['37*2=74', '10/10=1'] Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[37, 2, 10, 10], Operations: [] Exploring Operation: 37*2=74, Resulting Numbers: [10, 10, 74] Generated Node #0,0: 73:[10, 10, 74] Operation: 37*2=74 Moving to Node #0,0 Current State: 73:[10, 10, 74], Operations: ['37*2=74'] Exploring Operation: 10*10=100, Resulting Numbers: [74, 100] Generated Node #0,0,0: 73:[74, 100] Operation: 10*10=100 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[74, 100], Operations: ['37*2=74', '10*10=100'] Exploring Operation: 100-74=26, Resulting Numbers: [26] 26,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 59, 34, 57, 15 ]
47
[ "59-34=25", "57+15=72", "72-25=47" ]
Current State: 47:[59, 34, 57, 15], Operations: [] Exploring Operation: 59-34=25, Resulting Numbers: [57, 15, 25] Generated Node #2: [57, 15, 25] from Operation: 59-34=25 Current State: 47:[57, 15, 25], Operations: ['59-34=25'] Exploring Operation: 57+15=72, Resulting Numbers: [25, 72] Generated Node #3: [25, 72] from Operation: 57+15=72 Current State: 47:[25, 72], Operations: ['59-34=25', '57+15=72'] Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[59, 34, 57, 15], Operations: [] Exploring Operation: 34+15=49, Resulting Numbers: [59, 57, 49] Generated Node #0,0: 47:[59, 57, 49] Operation: 34+15=49 Moving to Node #0,0 Current State: 47:[59, 57, 49], Operations: ['34+15=49'] Exploring Operation: 59-57=2, Resulting Numbers: [49, 2] Generated Node #0,0,0: 47:[49, 2] Operation: 59-57=2 Moving to Node #0,0,0 Current State: 47:[49, 2], Operations: ['34+15=49', '59-57=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[59, 34, 57, 15], Operations: [] Exploring Operation: 34+15=49, Resulting Numbers: [59, 57, 49] Generated Node #0,0: 47:[59, 57, 49] Operation: 34+15=49 Moving to Node #0,0 Current State: 47:[59, 57, 49], Operations: ['34+15=49'] Exploring Operation: 59-57=2, Resulting Numbers: [49, 2] Generated Node #0,0,0: 47:[49, 2] Operation: 59-57=2 Moving to Node #0,0,0 Current State: 47:[49, 2], Operations: ['34+15=49', '59-57=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 62, 46, 77, 20 ]
22
[ "77-46=31", "62/31=2", "20+2=22" ]
Current State: 22:[62, 46, 77, 20], Operations: [] Exploring Operation: 77-46=31, Resulting Numbers: [62, 20, 31] Generated Node #2: [62, 20, 31] from Operation: 77-46=31 Current State: 22:[62, 20, 31], Operations: ['77-46=31'] Exploring Operation: 62/31=2, Resulting Numbers: [20, 2] Generated Node #3: [20, 2] from Operation: 62/31=2 Current State: 22:[20, 2], Operations: ['77-46=31', '62/31=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[62, 46, 77, 20], Operations: [] Exploring Operation: 77-62=15, Resulting Numbers: [46, 20, 15] Generated Node #0,0: 22:[46, 20, 15] Operation: 77-62=15 Exploring Operation: 77-46=31, Resulting Numbers: [62, 20, 31] Generated Node #0,1: 22:[62, 20, 31] Operation: 77-46=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[46, 20, 15], Operations: ['77-62=15'] Exploring Operation: 46-15=31, Resulting Numbers: [20, 31] Generated Node #0,0,0: 22:[20, 31] Operation: 46-15=31 Exploring Operation: 46-20=26, Resulting Numbers: [15, 26] Generated Node #0,0,1: 22:[15, 26] Operation: 46-20=26 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[15, 26], Operations: ['77-62=15', '46-20=26'] Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,22 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[20, 31], Operations: ['77-62=15', '46-15=31'] Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[62, 20, 31], Operations: ['77-46=31'] Exploring Operation: 62-31=31, Resulting Numbers: [20, 31] Generated Node #0,1,0: 22:[20, 31] Operation: 62-31=31 Exploring Operation: 62/31=2, Resulting Numbers: [20, 2] Generated Node #0,1,1: 22:[20, 2] Operation: 62/31=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[20, 2], Operations: ['77-46=31', '62/31=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[62, 46, 77, 20], Operations: [] Exploring Operation: 77-46=31, Resulting Numbers: [62, 20, 31] Generated Node #0,1: 22:[62, 20, 31] Operation: 77-46=31 Moving to Node #0,1 Current State: 22:[62, 20, 31], Operations: ['77-46=31'] Exploring Operation: 62/31=2, Resulting Numbers: [20, 2] Generated Node #0,1,1: 22:[20, 2] Operation: 62/31=2 Moving to Node #0,1,1 Current State: 22:[20, 2], Operations: ['77-46=31', '62/31=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 62, 4, 58, 35 ]
50
[ "62-35=27", "4*27=108", "108-58=50" ]
Current State: 50:[62, 4, 58, 35], Operations: [] Exploring Operation: 62-35=27, Resulting Numbers: [4, 58, 27] Generated Node #2: [4, 58, 27] from Operation: 62-35=27 Current State: 50:[4, 58, 27], Operations: ['62-35=27'] Exploring Operation: 4*27=108, Resulting Numbers: [58, 108] Generated Node #3: [58, 108] from Operation: 4*27=108 Current State: 50:[58, 108], Operations: ['62-35=27', '4*27=108'] Exploring Operation: 108-58=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[62, 4, 58, 35], Operations: [] Exploring Operation: 62-35=27, Resulting Numbers: [4, 58, 27] Generated Node #0,0: 50:[4, 58, 27] Operation: 62-35=27 Exploring Operation: 58-35=23, Resulting Numbers: [62, 4, 23] Generated Node #0,1: 50:[62, 4, 23] Operation: 58-35=23 Exploring Operation: 62-58=4, Resulting Numbers: [4, 35, 4] Generated Node #0,2: 50:[4, 35, 4] Operation: 62-58=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[4, 58, 27], Operations: ['62-35=27'] Exploring Operation: 58-27=31, Resulting Numbers: [4, 31] Generated Node #0,0,0: 50:[4, 31] Operation: 58-27=31 Exploring Operation: 58-4=54, Resulting Numbers: [27, 54] Generated Node #0,0,1: 50:[27, 54] Operation: 58-4=54 Exploring Operation: 27-4=23, Resulting Numbers: [58, 23] Generated Node #0,0,2: 50:[58, 23] Operation: 27-4=23 Moving to Node #0,0,1 Current State: 50:[27, 54], Operations: ['62-35=27', '58-4=54'] Exploring Operation: 27+54=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[4, 31], Operations: ['62-35=27', '58-27=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[58, 23], Operations: ['62-35=27', '27-4=23'] Exploring Operation: 58+23=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 58*23=1334, Resulting Numbers: [1334] 1334,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,2 Current State: 50:[4, 35, 4], Operations: ['62-58=4'] Exploring Operation: 4/4=1, Resulting Numbers: [35, 1] Generated Node #0,2,0: 50:[35, 1] Operation: 4/4=1 Exploring Operation: 35-4=31, Resulting Numbers: [4, 31] Generated Node #0,2,1: 50:[4, 31] Operation: 35-4=31 Exploring Operation: 35-4=31, Resulting Numbers: [4, 31] Generated Node #0,2,2: 50:[4, 31] Operation: 35-4=31 Moving to Node #0,2,1 Current State: 50:[4, 31], Operations: ['62-58=4', '35-4=31'] Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,50 unequal: No Solution Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[4, 31], Operations: ['62-58=4', '35-4=31'] Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,50 unequal: No Solution Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[35, 1], Operations: ['62-58=4', '4/4=1'] Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[62, 4, 23], Operations: ['58-35=23'] Exploring Operation: 4+23=27, Resulting Numbers: [62, 27] Generated Node #0,1,0: 50:[62, 27] Operation: 4+23=27 Exploring Operation: 62-23=39, Resulting Numbers: [4, 39] Generated Node #0,1,1: 50:[4, 39] Operation: 62-23=39 Exploring Operation: 62-4=58, Resulting Numbers: [23, 58] Generated Node #0,1,2: 50:[23, 58] Operation: 62-4=58 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 50:[23, 58], Operations: ['58-35=23', '62-4=58'] Exploring Operation: 23+58=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 23*58=1334, Resulting Numbers: [1334] 1334,50 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,50 unequal: No Solution No 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: 50:[4, 39], Operations: ['58-35=23', '62-23=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,50 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,50 unequal: No Solution No 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: 50:[62, 27], Operations: ['58-35=23', '4+23=27'] Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 62*27=1674, Resulting Numbers: [1674] 1674,50 unequal: No Solution Exploring Operation: 62+27=89, Resulting Numbers: [89] 89,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 39, 45, 78, 48 ]
13
[ "78-39=39", "48-45=3", "39/3=13" ]
Current State: 13:[39, 45, 78, 48], Operations: [] Exploring Operation: 78-39=39, Resulting Numbers: [45, 48, 39] Generated Node #2: [45, 48, 39] from Operation: 78-39=39 Current State: 13:[45, 48, 39], Operations: ['78-39=39'] Exploring Operation: 48-45=3, Resulting Numbers: [39, 3] Generated Node #3: [39, 3] from Operation: 48-45=3 Current State: 13:[39, 3], Operations: ['78-39=39', '48-45=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[39, 45, 78, 48], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [45, 48, 2] Generated Node #0,0: 13:[45, 48, 2] Operation: 78/39=2 Exploring Operation: 78-45=33, Resulting Numbers: [39, 48, 33] Generated Node #0,1: 13:[39, 48, 33] Operation: 78-45=33 Exploring Operation: 78-48=30, Resulting Numbers: [39, 45, 30] Generated Node #0,2: 13:[39, 45, 30] Operation: 78-48=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[39, 45, 30], Operations: ['78-48=30'] Exploring Operation: 45-30=15, Resulting Numbers: [39, 15] Generated Node #0,2,0: 13:[39, 15] Operation: 45-30=15 Exploring Operation: 39-30=9, Resulting Numbers: [45, 9] Generated Node #0,2,1: 13:[45, 9] Operation: 39-30=9 Exploring Operation: 45-39=6, Resulting Numbers: [30, 6] Generated Node #0,2,2: 13:[30, 6] Operation: 45-39=6 Moving to Node #0,2,2 Current State: 13:[30, 6], Operations: ['78-48=30', '45-39=6'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[39, 15], Operations: ['78-48=30', '45-30=15'] Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 39+15=54, Resulting Numbers: [54] 54,13 unequal: No Solution Exploring Operation: 39*15=585, Resulting Numbers: [585] 585,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[45, 9], Operations: ['78-48=30', '39-30=9'] Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,13 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,13 unequal: No Solution No 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:[45, 48, 2], Operations: ['78/39=2'] Exploring Operation: 45-2=43, Resulting Numbers: [48, 43] Generated Node #0,0,0: 13:[48, 43] Operation: 45-2=43 Exploring Operation: 48-45=3, Resulting Numbers: [2, 3] Generated Node #0,0,1: 13:[2, 3] Operation: 48-45=3 Exploring Operation: 48/2=24, Resulting Numbers: [45, 24] Generated Node #0,0,2: 13:[45, 24] Operation: 48/2=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[2, 3], Operations: ['78/39=2', '48-45=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,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,2 Current State: 13:[45, 24], Operations: ['78/39=2', '48/2=24'] Exploring Operation: 45*24=1080, Resulting Numbers: [1080] 1080,13 unequal: No Solution Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,13 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,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,0 Current State: 13:[48, 43], Operations: ['78/39=2', '45-2=43'] Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,13 unequal: No Solution Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,13 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,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,1 Current State: 13:[39, 48, 33], Operations: ['78-45=33'] Exploring Operation: 48-39=9, Resulting Numbers: [33, 9] Generated Node #0,1,0: 13:[33, 9] Operation: 48-39=9 Exploring Operation: 39-33=6, Resulting Numbers: [48, 6] Generated Node #0,1,1: 13:[48, 6] Operation: 39-33=6 Exploring Operation: 48-33=15, Resulting Numbers: [39, 15] Generated Node #0,1,2: 13:[39, 15] Operation: 48-33=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 13:[33, 9], Operations: ['78-45=33', '48-39=9'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,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,2 Current State: 13:[39, 15], Operations: ['78-45=33', '48-33=15'] Exploring Operation: 39+15=54, Resulting Numbers: [54] 54,13 unequal: No Solution Exploring Operation: 39*15=585, Resulting Numbers: [585] 585,13 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,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,1 Current State: 13:[48, 6], Operations: ['78-45=33', '39-33=6'] Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,13 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,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_3
sum_heuristic
[ 82, 34, 73, 59 ]
39
[ "82*34=2788", "59+2788=2847", "2847/73=39" ]
Current State: 39:[82, 34, 73, 59], Operations: [] Exploring Operation: 82*34=2788, Resulting Numbers: [73, 59, 2788] Generated Node #2: [73, 59, 2788] from Operation: 82*34=2788 Current State: 39:[73, 59, 2788], Operations: ['82*34=2788'] Exploring Operation: 59+2788=2847, Resulting Numbers: [73, 2847] Generated Node #3: [73, 2847] from Operation: 59+2788=2847 Current State: 39:[73, 2847], Operations: ['82*34=2788', '59+2788=2847'] Exploring Operation: 2847/73=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[82, 34, 73, 59], Operations: [] Exploring Operation: 82-34=48, Resulting Numbers: [73, 59, 48] Generated Node #0,0: 39:[73, 59, 48] Operation: 82-34=48 Exploring Operation: 82-73=9, Resulting Numbers: [34, 59, 9] Generated Node #0,1: 39:[34, 59, 9] Operation: 82-73=9 Exploring Operation: 82-59=23, Resulting Numbers: [34, 73, 23] Generated Node #0,2: 39:[34, 73, 23] Operation: 82-59=23 Exploring Operation: 73-59=14, Resulting Numbers: [82, 34, 14] Generated Node #0,3: 39:[82, 34, 14] Operation: 73-59=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[34, 59, 9], Operations: ['82-73=9'] Exploring Operation: 59-9=50, Resulting Numbers: [34, 50] Generated Node #0,1,0: 39:[34, 50] Operation: 59-9=50 Exploring Operation: 34+9=43, Resulting Numbers: [59, 43] Generated Node #0,1,1: 39:[59, 43] Operation: 34+9=43 Exploring Operation: 59-34=25, Resulting Numbers: [9, 25] Generated Node #0,1,2: 39:[9, 25] Operation: 59-34=25 Exploring Operation: 34-9=25, Resulting Numbers: [59, 25] Generated Node #0,1,3: 39:[59, 25] Operation: 34-9=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[34, 50], Operations: ['82-73=9', '59-9=50'] Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,39 unequal: No Solution Exploring Operation: 34*50=1700, Resulting Numbers: [1700] 1700,39 unequal: No Solution Exploring Operation: 34+50=84, Resulting Numbers: [84] 84,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,1,2 Current State: 39:[9, 25], Operations: ['82-73=9', '59-34=25'] Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,39 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,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,1,1 Current State: 39:[59, 43], Operations: ['82-73=9', '34+9=43'] Exploring Operation: 59-43=16, Resulting Numbers: [16] 16,39 unequal: No Solution Exploring Operation: 59+43=102, Resulting Numbers: [102] 102,39 unequal: No Solution Exploring Operation: 59*43=2537, Resulting Numbers: [2537] 2537,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,1,3 Current State: 39:[59, 25], Operations: ['82-73=9', '34-9=25'] Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 59+25=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 59*25=1475, Resulting Numbers: [1475] 1475,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:[34, 73, 23], Operations: ['82-59=23'] Exploring Operation: 73-23=50, Resulting Numbers: [34, 50] Generated Node #0,2,0: 39:[34, 50] Operation: 73-23=50 Exploring Operation: 34+23=57, Resulting Numbers: [73, 57] Generated Node #0,2,1: 39:[73, 57] Operation: 34+23=57 Exploring Operation: 73-34=39, Resulting Numbers: [23, 39] Generated Node #0,2,2: 39:[23, 39] Operation: 73-34=39 Exploring Operation: 34-23=11, Resulting Numbers: [73, 11] Generated Node #0,2,3: 39:[73, 11] Operation: 34-23=11 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 39:[23, 39], Operations: ['82-59=23', '73-34=39'] Exploring Operation: 23*39=897, Resulting Numbers: [897] 897,39 unequal: No Solution Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,39 unequal: No Solution Exploring Operation: 23+39=62, Resulting Numbers: [62] 62,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,0 Current State: 39:[34, 50], Operations: ['82-59=23', '73-23=50'] Exploring Operation: 34+50=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 34*50=1700, Resulting Numbers: [1700] 1700,39 unequal: No Solution Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,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:[73, 11], Operations: ['82-59=23', '34-23=11'] Exploring Operation: 73*11=803, Resulting Numbers: [803] 803,39 unequal: No Solution Exploring Operation: 73+11=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,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:[73, 57], Operations: ['82-59=23', '34+23=57'] Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,39 unequal: No Solution Exploring Operation: 73*57=4161, Resulting Numbers: [4161] 4161,39 unequal: No Solution Exploring Operation: 73+57=130, Resulting Numbers: [130] 130,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,3 Current State: 39:[82, 34, 14], Operations: ['73-59=14'] Exploring Operation: 82-34=48, Resulting Numbers: [14, 48] Generated Node #0,3,0: 39:[14, 48] Operation: 82-34=48 Exploring Operation: 34+14=48, Resulting Numbers: [82, 48] Generated Node #0,3,1: 39:[82, 48] Operation: 34+14=48 Exploring Operation: 34-14=20, Resulting Numbers: [82, 20] Generated Node #0,3,2: 39:[82, 20] Operation: 34-14=20 Exploring Operation: 82-14=68, Resulting Numbers: [34, 68] Generated Node #0,3,3: 39:[34, 68] Operation: 82-14=68 Moving to Node #0,3,0 Current State: 39:[14, 48], Operations: ['73-59=14', '82-34=48'] Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,39 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 14*48=672, Resulting Numbers: [672] 672,39 unequal: No Solution Moving to Node #0,3,3 Current State: 39:[34, 68], Operations: ['73-59=14', '82-14=68'] Exploring Operation: 34+68=102, Resulting Numbers: [102] 102,39 unequal: No Solution Exploring Operation: 68-34=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 34*68=2312, Resulting Numbers: [2312] 2312,39 unequal: No Solution Exploring Operation: 68/34=2, Resulting Numbers: [2] 2,39 unequal: No Solution Moving to Node #0,3,2 Current State: 39:[82, 20], Operations: ['73-59=14', '34-14=20'] Exploring Operation: 82*20=1640, Resulting Numbers: [1640] 1640,39 unequal: No Solution Exploring Operation: 82+20=102, Resulting Numbers: [102] 102,39 unequal: No Solution Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,39 unequal: No Solution Moving to Node #0,3,1 Current State: 39:[82, 48], Operations: ['73-59=14', '34+14=48'] Exploring Operation: 82*48=3936, Resulting Numbers: [3936] 3936,39 unequal: No Solution Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 82+48=130, Resulting Numbers: [130] 130,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,0 Current State: 39:[73, 59, 48], Operations: ['82-34=48'] Exploring Operation: 73+59=132, Resulting Numbers: [48, 132] Generated Node #0,0,0: 39:[48, 132] Operation: 73+59=132 Exploring Operation: 73-48=25, Resulting Numbers: [59, 25] Generated Node #0,0,1: 39:[59, 25] Operation: 73-48=25 Exploring Operation: 59-48=11, Resulting Numbers: [73, 11] Generated Node #0,0,2: 39:[73, 11] Operation: 59-48=11 Exploring Operation: 73-59=14, Resulting Numbers: [48, 14] Generated Node #0,0,3: 39:[48, 14] Operation: 73-59=14 Moving to Node #0,0,3 Current State: 39:[48, 14], Operations: ['82-34=48', '73-59=14'] Exploring Operation: 48+14=62, Resulting Numbers: [62] 62,39 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 48*14=672, Resulting Numbers: [672] 672,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[59, 25], Operations: ['82-34=48', '73-48=25'] Exploring Operation: 59*25=1475, Resulting Numbers: [1475] 1475,39 unequal: No Solution Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 59+25=84, Resulting Numbers: [84] 84,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[73, 11], Operations: ['82-34=48', '59-48=11'] Exploring Operation: 73+11=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,39 unequal: No Solution Exploring Operation: 73*11=803, Resulting Numbers: [803] 803,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[48, 132], Operations: ['82-34=48', '73+59=132'] Exploring Operation: 48*132=6336, Resulting Numbers: [6336] 6336,39 unequal: No Solution Exploring Operation: 48+132=180, Resulting Numbers: [180] 180,39 unequal: No Solution Exploring Operation: 132-48=84, Resulting Numbers: [84] 84,39 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
[ 14, 3, 76, 83 ]
10
[ "14+3=17", "83-76=7", "17-7=10" ]
Current State: 10:[14, 3, 76, 83], Operations: [] Exploring Operation: 14+3=17, Resulting Numbers: [76, 83, 17] Generated Node #2: [76, 83, 17] from Operation: 14+3=17 Current State: 10:[76, 83, 17], Operations: ['14+3=17'] Exploring Operation: 83-76=7, Resulting Numbers: [17, 7] Generated Node #3: [17, 7] from Operation: 83-76=7 Current State: 10:[17, 7], Operations: ['14+3=17', '83-76=7'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[14, 3, 76, 83], Operations: [] Exploring Operation: 83-76=7, Resulting Numbers: [14, 3, 7] Generated Node #0,0: 10:[14, 3, 7] Operation: 83-76=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[14, 3, 7], Operations: ['83-76=7'] Exploring Operation: 14/7=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 10:[3, 2] Operation: 14/7=2 Moving to Node #0,0,0 Current State: 10:[3, 2], Operations: ['83-76=7', '14/7=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 68, 79, 40, 2 ]
68
[ "40*2=80", "80-79=1", "68*1=68" ]
Current State: 68:[68, 79, 40, 2], Operations: [] Exploring Operation: 40*2=80, Resulting Numbers: [68, 79, 80] Generated Node #2: [68, 79, 80] from Operation: 40*2=80 Current State: 68:[68, 79, 80], Operations: ['40*2=80'] Exploring Operation: 80-79=1, Resulting Numbers: [68, 1] Generated Node #3: [68, 1] from Operation: 80-79=1 Current State: 68:[68, 1], Operations: ['40*2=80', '80-79=1'] Exploring Operation: 68*1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[68, 79, 40, 2], Operations: [] Exploring Operation: 79-40=39, Resulting Numbers: [68, 2, 39] Generated Node #0,0: 68:[68, 2, 39] Operation: 79-40=39 Exploring Operation: 79-68=11, Resulting Numbers: [40, 2, 11] Generated Node #0,1: 68:[40, 2, 11] Operation: 79-68=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[68, 2, 39], Operations: ['79-40=39'] Exploring Operation: 68/2=34, Resulting Numbers: [39, 34] Generated Node #0,0,0: 68:[39, 34] Operation: 68/2=34 Exploring Operation: 39-2=37, Resulting Numbers: [68, 37] Generated Node #0,0,1: 68:[68, 37] Operation: 39-2=37 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[68, 37], Operations: ['79-40=39', '39-2=37'] Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,68 unequal: No Solution Exploring Operation: 68+37=105, Resulting Numbers: [105] 105,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:[39, 34], Operations: ['79-40=39', '68/2=34'] Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,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:[40, 2, 11], Operations: ['79-68=11'] Exploring Operation: 40/2=20, Resulting Numbers: [11, 20] Generated Node #0,1,0: 68:[11, 20] Operation: 40/2=20 Exploring Operation: 40-11=29, Resulting Numbers: [2, 29] Generated Node #0,1,1: 68:[2, 29] Operation: 40-11=29 Moving to Node #0,1,1 Current State: 68:[2, 29], Operations: ['79-68=11', '40-11=29'] Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,68 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[11, 20], Operations: ['79-68=11', '40/2=20'] Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,68 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,68 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
[ 55, 34, 20, 42 ]
67
[ "55+34=89", "42-20=22", "89-22=67" ]
Current State: 67:[55, 34, 20, 42], Operations: [] Exploring Operation: 55+34=89, Resulting Numbers: [20, 42, 89] Generated Node #2: [20, 42, 89] from Operation: 55+34=89 Current State: 67:[20, 42, 89], Operations: ['55+34=89'] Exploring Operation: 42-20=22, Resulting Numbers: [89, 22] Generated Node #3: [89, 22] from Operation: 42-20=22 Current State: 67:[89, 22], Operations: ['55+34=89', '42-20=22'] Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[55, 34, 20, 42], Operations: [] Exploring Operation: 34+20=54, Resulting Numbers: [55, 42, 54] Generated Node #0,0: 67:[55, 42, 54] Operation: 34+20=54 Exploring Operation: 34+42=76, Resulting Numbers: [55, 20, 76] Generated Node #0,1: 67:[55, 20, 76] Operation: 34+42=76 Exploring Operation: 20+42=62, Resulting Numbers: [55, 34, 62] Generated Node #0,2: 67:[55, 34, 62] Operation: 20+42=62 Exploring Operation: 55+20=75, Resulting Numbers: [34, 42, 75] Generated Node #0,3: 67:[34, 42, 75] Operation: 55+20=75 Moving to Node #0,0 Current State: 67:[55, 42, 54], Operations: ['34+20=54'] Exploring Operation: 55+54=109, Resulting Numbers: [42, 109] Generated Node #0,0,0: 67:[42, 109] Operation: 55+54=109 Exploring Operation: 42+54=96, Resulting Numbers: [55, 96] Generated Node #0,0,1: 67:[55, 96] Operation: 42+54=96 Exploring Operation: 55+42=97, Resulting Numbers: [54, 97] Generated Node #0,0,2: 67:[54, 97] Operation: 55+42=97 Exploring Operation: 55-42=13, Resulting Numbers: [54, 13] Generated Node #0,0,3: 67:[54, 13] Operation: 55-42=13 Moving to Node #0,2 Current State: 67:[55, 34, 62], Operations: ['20+42=62'] Exploring Operation: 62-34=28, Resulting Numbers: [55, 28] Generated Node #0,2,0: 67:[55, 28] Operation: 62-34=28 Exploring Operation: 55-34=21, Resulting Numbers: [62, 21] Generated Node #0,2,1: 67:[62, 21] Operation: 55-34=21 Exploring Operation: 34+62=96, Resulting Numbers: [55, 96] Generated Node #0,2,2: 67:[55, 96] Operation: 34+62=96 Exploring Operation: 55+34=89, Resulting Numbers: [62, 89] Generated Node #0,2,3: 67:[62, 89] Operation: 55+34=89 Moving to Node #0,3 Current State: 67:[34, 42, 75], Operations: ['55+20=75'] Exploring Operation: 34+75=109, Resulting Numbers: [42, 109] Generated Node #0,3,0: 67:[42, 109] Operation: 34+75=109 Exploring Operation: 75-34=41, Resulting Numbers: [42, 41] Generated Node #0,3,1: 67:[42, 41] Operation: 75-34=41 Exploring Operation: 34+42=76, Resulting Numbers: [75, 76] Generated Node #0,3,2: 67:[75, 76] Operation: 34+42=76 Exploring Operation: 42-34=8, Resulting Numbers: [75, 8] Generated Node #0,3,3: 67:[75, 8] Operation: 42-34=8 Moving to Node #0,1 Current State: 67:[55, 20, 76], Operations: ['34+42=76'] Exploring Operation: 55-20=35, Resulting Numbers: [76, 35] Generated Node #0,1,0: 67:[76, 35] Operation: 55-20=35 Exploring Operation: 76-20=56, Resulting Numbers: [55, 56] Generated Node #0,1,1: 67:[55, 56] Operation: 76-20=56 Exploring Operation: 55+20=75, Resulting Numbers: [76, 75] Generated Node #0,1,2: 67:[76, 75] Operation: 55+20=75 Exploring Operation: 20+76=96, Resulting Numbers: [55, 96] Generated Node #0,1,3: 67:[55, 96] Operation: 20+76=96 Moving to Node #0,3,2 Current State: 67:[75, 76], Operations: ['55+20=75', '34+42=76'] Exploring Operation: 75*76=5700, Resulting Numbers: [5700] 5700,67 unequal: No Solution Exploring Operation: 75+76=151, Resulting Numbers: [151] 151,67 unequal: No Solution Exploring Operation: 76-75=1, Resulting Numbers: [1] 1,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[76, 75], Operations: ['34+42=76', '55+20=75'] Exploring Operation: 76-75=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 76*75=5700, Resulting Numbers: [5700] 5700,67 unequal: No Solution Exploring Operation: 76+75=151, Resulting Numbers: [151] 151,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[55, 56], Operations: ['34+42=76', '76-20=56'] Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 55*56=3080, Resulting Numbers: [3080] 3080,67 unequal: No Solution Exploring Operation: 55+56=111, Resulting Numbers: [111] 111,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[62, 89], Operations: ['20+42=62', '55+34=89'] Exploring Operation: 62*89=5518, Resulting Numbers: [5518] 5518,67 unequal: No Solution Exploring Operation: 62+89=151, Resulting Numbers: [151] 151,67 unequal: No Solution Exploring Operation: 89-62=27, Resulting Numbers: [27] 27,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[76, 35], Operations: ['34+42=76', '55-20=35'] Exploring Operation: 76*35=2660, Resulting Numbers: [2660] 2660,67 unequal: No Solution Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 76+35=111, Resulting Numbers: [111] 111,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[55, 96], Operations: ['20+42=62', '34+62=96'] Exploring Operation: 55+96=151, Resulting Numbers: [151] 151,67 unequal: No Solution Exploring Operation: 96-55=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 55*96=5280, Resulting Numbers: [5280] 5280,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[55, 96], Operations: ['34+20=54', '42+54=96'] Exploring Operation: 96-55=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 55+96=151, Resulting Numbers: [151] 151,67 unequal: No Solution Exploring Operation: 55*96=5280, Resulting Numbers: [5280] 5280,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[55, 96], Operations: ['34+42=76', '20+76=96'] Exploring Operation: 96-55=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 55*96=5280, Resulting Numbers: [5280] 5280,67 unequal: No Solution Exploring Operation: 55+96=151, Resulting Numbers: [151] 151,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[54, 97], Operations: ['34+20=54', '55+42=97'] Exploring Operation: 97-54=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 54*97=5238, Resulting Numbers: [5238] 5238,67 unequal: No Solution Exploring Operation: 54+97=151, Resulting Numbers: [151] 151,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[55, 28], Operations: ['20+42=62', '62-34=28'] Exploring Operation: 55*28=1540, Resulting Numbers: [1540] 1540,67 unequal: No Solution Exploring Operation: 55+28=83, Resulting Numbers: [83] 83,67 unequal: No Solution Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[42, 41], Operations: ['55+20=75', '75-34=41'] Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 42*41=1722, Resulting Numbers: [1722] 1722,67 unequal: No Solution Exploring Operation: 42+41=83, Resulting Numbers: [83] 83,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[62, 21], Operations: ['20+42=62', '55-34=21'] Exploring Operation: 62+21=83, Resulting Numbers: [83] 83,67 unequal: No Solution Exploring Operation: 62*21=1302, Resulting Numbers: [1302] 1302,67 unequal: No Solution Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[42, 109], Operations: ['34+20=54', '55+54=109'] Exploring Operation: 42+109=151, Resulting Numbers: [151] 151,67 unequal: No Solution Exploring Operation: 42*109=4578, Resulting Numbers: [4578] 4578,67 unequal: No Solution Exploring Operation: 109-42=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[55, 34, 20, 42], Operations: [] Exploring Operation: 34+20=54, Resulting Numbers: [55, 42, 54] Generated Node #0,0: 67:[55, 42, 54] Operation: 34+20=54 Moving to Node #0,0 Current State: 67:[55, 42, 54], Operations: ['34+20=54'] Exploring Operation: 55+54=109, Resulting Numbers: [42, 109] Generated Node #0,0,0: 67:[42, 109] Operation: 55+54=109 Moving to Node #0,0,0 Current State: 67:[42, 109], Operations: ['34+20=54', '55+54=109'] Exploring Operation: 109-42=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
0.945313
hs_4
sum_heuristic
[ 53, 78, 45, 36 ]
50
[ "53+78=131", "45+36=81", "131-81=50" ]
Current State: 50:[53, 78, 45, 36], Operations: [] Exploring Operation: 53+78=131, Resulting Numbers: [45, 36, 131] Generated Node #2: [45, 36, 131] from Operation: 53+78=131 Current State: 50:[45, 36, 131], Operations: ['53+78=131'] Exploring Operation: 45+36=81, Resulting Numbers: [131, 81] Generated Node #3: [131, 81] from Operation: 45+36=81 Current State: 50:[131, 81], Operations: ['53+78=131', '45+36=81'] Exploring Operation: 131-81=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[53, 78, 45, 36], Operations: [] Exploring Operation: 78-45=33, Resulting Numbers: [53, 36, 33] Generated Node #0,0: 50:[53, 36, 33] Operation: 78-45=33 Exploring Operation: 78-53=25, Resulting Numbers: [45, 36, 25] Generated Node #0,1: 50:[45, 36, 25] Operation: 78-53=25 Exploring Operation: 78-36=42, Resulting Numbers: [53, 45, 42] Generated Node #0,2: 50:[53, 45, 42] Operation: 78-36=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[45, 36, 25], Operations: ['78-53=25'] Exploring Operation: 45-25=20, Resulting Numbers: [36, 20] Generated Node #0,1,0: 50:[36, 20] Operation: 45-25=20 Exploring Operation: 36-25=11, Resulting Numbers: [45, 11] Generated Node #0,1,1: 50:[45, 11] Operation: 36-25=11 Exploring Operation: 45-36=9, Resulting Numbers: [25, 9] Generated Node #0,1,2: 50:[25, 9] Operation: 45-36=9 Moving to Node #0,1,2 Current State: 50:[25, 9], Operations: ['78-53=25', '45-36=9'] Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,50 unequal: No Solution Exploring Operation: 25*9=225, Resulting Numbers: [225] 225,50 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[45, 11], Operations: ['78-53=25', '36-25=11'] Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,50 unequal: No Solution Exploring Operation: 45*11=495, Resulting Numbers: [495] 495,50 unequal: No Solution Exploring Operation: 45+11=56, Resulting Numbers: [56] 56,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[36, 20], Operations: ['78-53=25', '45-25=20'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 36*20=720, Resulting Numbers: [720] 720,50 unequal: No Solution Exploring Operation: 36+20=56, Resulting Numbers: [56] 56,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,2 Current State: 50:[53, 45, 42], Operations: ['78-36=42'] Exploring Operation: 45-42=3, Resulting Numbers: [53, 3] Generated Node #0,2,0: 50:[53, 3] Operation: 45-42=3 Exploring Operation: 53-42=11, Resulting Numbers: [45, 11] Generated Node #0,2,1: 50:[45, 11] Operation: 53-42=11 Exploring Operation: 53-45=8, Resulting Numbers: [42, 8] Generated Node #0,2,2: 50:[42, 8] Operation: 53-45=8 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 50:[53, 3], Operations: ['78-36=42', '45-42=3'] Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,50 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,50 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[53, 78, 45, 36], Operations: [] Exploring Operation: 78-36=42, Resulting Numbers: [53, 45, 42] Generated Node #0,2: 50:[53, 45, 42] Operation: 78-36=42 Moving to Node #0,2 Current State: 50:[53, 45, 42], Operations: ['78-36=42'] Exploring Operation: 45-42=3, Resulting Numbers: [53, 3] Generated Node #0,2,0: 50:[53, 3] Operation: 45-42=3 Moving to Node #0,2,0 Current State: 50:[53, 3], Operations: ['78-36=42', '45-42=3'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 21, 2, 41, 4 ]
56
[ "21-2=19", "41-4=37", "19+37=56" ]
Current State: 56:[21, 2, 41, 4], Operations: [] Exploring Operation: 21-2=19, Resulting Numbers: [41, 4, 19] Generated Node #2: [41, 4, 19] from Operation: 21-2=19 Current State: 56:[41, 4, 19], Operations: ['21-2=19'] Exploring Operation: 41-4=37, Resulting Numbers: [19, 37] Generated Node #3: [19, 37] from Operation: 41-4=37 Current State: 56:[19, 37], Operations: ['21-2=19', '41-4=37'] Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[21, 2, 41, 4], Operations: [] Exploring Operation: 41-21=20, Resulting Numbers: [2, 4, 20] Generated Node #0,0: 56:[2, 4, 20] Operation: 41-21=20 Exploring Operation: 21+41=62, Resulting Numbers: [2, 4, 62] Generated Node #0,1: 56:[2, 4, 62] Operation: 21+41=62 Exploring Operation: 41-4=37, Resulting Numbers: [21, 2, 37] Generated Node #0,2: 56:[21, 2, 37] Operation: 41-4=37 Exploring Operation: 21-4=17, Resulting Numbers: [2, 41, 17] Generated Node #0,3: 56:[2, 41, 17] Operation: 21-4=17 Exploring Operation: 21+4=25, Resulting Numbers: [2, 41, 25] Generated Node #0,4: 56:[2, 41, 25] Operation: 21+4=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[2, 4, 20], Operations: ['41-21=20'] Exploring Operation: 4+20=24, Resulting Numbers: [2, 24] Generated Node #0,0,0: 56:[2, 24] Operation: 4+20=24 Exploring Operation: 20/2=10, Resulting Numbers: [4, 10] Generated Node #0,0,1: 56:[4, 10] Operation: 20/2=10 Exploring Operation: 20-4=16, Resulting Numbers: [2, 16] Generated Node #0,0,2: 56:[2, 16] Operation: 20-4=16 Exploring Operation: 20-2=18, Resulting Numbers: [4, 18] Generated Node #0,0,3: 56:[4, 18] Operation: 20-2=18 Exploring Operation: 20/4=5, Resulting Numbers: [2, 5] Generated Node #0,0,4: 56:[2, 5] Operation: 20/4=5 Moving to Node #0,0,4 Current State: 56:[2, 5], Operations: ['41-21=20', '20/4=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[2, 16], Operations: ['41-21=20', '20-4=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,56 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[4, 10], Operations: ['41-21=20', '20/2=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[2, 24], Operations: ['41-21=20', '4+20=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[4, 18], Operations: ['41-21=20', '20-2=18'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,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,1 Current State: 56:[2, 4, 62], Operations: ['21+41=62'] Exploring Operation: 62-2=60, Resulting Numbers: [4, 60] Generated Node #0,1,0: 56:[4, 60] Operation: 62-2=60 Exploring Operation: 2*4=8, Resulting Numbers: [62, 8] Generated Node #0,1,1: 56:[62, 8] Operation: 2*4=8 Exploring Operation: 62/2=31, Resulting Numbers: [4, 31] Generated Node #0,1,2: 56:[4, 31] Operation: 62/2=31 Exploring Operation: 4-2=2, Resulting Numbers: [62, 2] Generated Node #0,1,3: 56:[62, 2] Operation: 4-2=2 Exploring Operation: 62-4=58, Resulting Numbers: [2, 58] Generated Node #0,1,4: 56:[2, 58] Operation: 62-4=58 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 56:[2, 58], Operations: ['21+41=62', '62-4=58'] Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,56 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[21, 2, 41, 4], Operations: [] Exploring Operation: 21+41=62, Resulting Numbers: [2, 4, 62] Generated Node #0,1: 56:[2, 4, 62] Operation: 21+41=62 Moving to Node #0,1 Current State: 56:[2, 4, 62], Operations: ['21+41=62'] Exploring Operation: 62-4=58, Resulting Numbers: [2, 58] Generated Node #0,1,4: 56:[2, 58] Operation: 62-4=58 Moving to Node #0,1,4 Current State: 56:[2, 58], Operations: ['21+41=62', '62-4=58'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 20, 27, 70, 34 ]
11
[ "20+27=47", "70-34=36", "47-36=11" ]
Current State: 11:[20, 27, 70, 34], Operations: [] Exploring Operation: 20+27=47, Resulting Numbers: [70, 34, 47] Generated Node #2: [70, 34, 47] from Operation: 20+27=47 Current State: 11:[70, 34, 47], Operations: ['20+27=47'] Exploring Operation: 70-34=36, Resulting Numbers: [47, 36] Generated Node #3: [47, 36] from Operation: 70-34=36 Current State: 11:[47, 36], Operations: ['20+27=47', '70-34=36'] Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[20, 27, 70, 34], Operations: [] Exploring Operation: 70-27=43, Resulting Numbers: [20, 34, 43] Generated Node #0,0: 11:[20, 34, 43] Operation: 70-27=43 Exploring Operation: 34-27=7, Resulting Numbers: [20, 70, 7] Generated Node #0,1: 11:[20, 70, 7] Operation: 34-27=7 Exploring Operation: 34-20=14, Resulting Numbers: [27, 70, 14] Generated Node #0,2: 11:[27, 70, 14] Operation: 34-20=14 Exploring Operation: 70-20=50, Resulting Numbers: [27, 34, 50] Generated Node #0,3: 11:[27, 34, 50] Operation: 70-20=50 Exploring Operation: 70-34=36, Resulting Numbers: [20, 27, 36] Generated Node #0,4: 11:[20, 27, 36] Operation: 70-34=36 Start Sub Search at level 1: Moving to Node #0,4 Current State: 11:[20, 27, 36], Operations: ['70-34=36'] Exploring Operation: 27-20=7, Resulting Numbers: [36, 7] Generated Node #0,4,0: 11:[36, 7] Operation: 27-20=7 Exploring Operation: 36-20=16, Resulting Numbers: [27, 16] Generated Node #0,4,1: 11:[27, 16] Operation: 36-20=16 Exploring Operation: 20+27=47, Resulting Numbers: [36, 47] Generated Node #0,4,2: 11:[36, 47] Operation: 20+27=47 Exploring Operation: 36-27=9, Resulting Numbers: [20, 9] Generated Node #0,4,3: 11:[20, 9] Operation: 36-27=9 Exploring Operation: 20+36=56, Resulting Numbers: [27, 56] Generated Node #0,4,4: 11:[27, 56] Operation: 20+36=56 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 11:[20, 9], Operations: ['70-34=36', '36-27=9'] Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,11 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[20, 27, 70, 34], Operations: [] Exploring Operation: 70-34=36, Resulting Numbers: [20, 27, 36] Generated Node #0,4: 11:[20, 27, 36] Operation: 70-34=36 Moving to Node #0,4 Current State: 11:[20, 27, 36], Operations: ['70-34=36'] Exploring Operation: 36-27=9, Resulting Numbers: [20, 9] Generated Node #0,4,3: 11:[20, 9] Operation: 36-27=9 Moving to Node #0,4,3 Current State: 11:[20, 9], Operations: ['70-34=36', '36-27=9'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 84, 29, 65, 51 ]
35
[ "65-51=14", "84/14=6", "29+6=35" ]
Current State: 35:[84, 29, 65, 51], Operations: [] Exploring Operation: 65-51=14, Resulting Numbers: [84, 29, 14] Generated Node #2: [84, 29, 14] from Operation: 65-51=14 Current State: 35:[84, 29, 14], Operations: ['65-51=14'] Exploring Operation: 84/14=6, Resulting Numbers: [29, 6] Generated Node #3: [29, 6] from Operation: 84/14=6 Current State: 35:[29, 6], Operations: ['65-51=14', '84/14=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[84, 29, 65, 51], Operations: [] Exploring Operation: 84-29=55, Resulting Numbers: [65, 51, 55] Generated Node #0,0: 35:[65, 51, 55] Operation: 84-29=55 Exploring Operation: 84-51=33, Resulting Numbers: [29, 65, 33] Generated Node #0,1: 35:[29, 65, 33] Operation: 84-51=33 Exploring Operation: 84-65=19, Resulting Numbers: [29, 51, 19] Generated Node #0,2: 35:[29, 51, 19] Operation: 84-65=19 Exploring Operation: 65-51=14, Resulting Numbers: [84, 29, 14] Generated Node #0,3: 35:[84, 29, 14] Operation: 65-51=14 Moving to Node #0,2 Current State: 35:[29, 51, 19], Operations: ['84-65=19'] Exploring Operation: 29-19=10, Resulting Numbers: [51, 10] Generated Node #0,2,0: 35:[51, 10] Operation: 29-19=10 Exploring Operation: 51-19=32, Resulting Numbers: [29, 32] Generated Node #0,2,1: 35:[29, 32] Operation: 51-19=32 Exploring Operation: 29+19=48, Resulting Numbers: [51, 48] Generated Node #0,2,2: 35:[51, 48] Operation: 29+19=48 Exploring Operation: 51-29=22, Resulting Numbers: [19, 22] Generated Node #0,2,3: 35:[19, 22] Operation: 51-29=22 Moving to Node #0,1 Current State: 35:[29, 65, 33], Operations: ['84-51=33'] Exploring Operation: 65-33=32, Resulting Numbers: [29, 32] Generated Node #0,1,0: 35:[29, 32] Operation: 65-33=32 Exploring Operation: 33-29=4, Resulting Numbers: [65, 4] Generated Node #0,1,1: 35:[65, 4] Operation: 33-29=4 Exploring Operation: 29+33=62, Resulting Numbers: [65, 62] Generated Node #0,1,2: 35:[65, 62] Operation: 29+33=62 Exploring Operation: 65-29=36, Resulting Numbers: [33, 36] Generated Node #0,1,3: 35:[33, 36] Operation: 65-29=36 Moving to Node #0,3 Current State: 35:[84, 29, 14], Operations: ['65-51=14'] Exploring Operation: 84-29=55, Resulting Numbers: [14, 55] Generated Node #0,3,0: 35:[14, 55] Operation: 84-29=55 Exploring Operation: 84-14=70, Resulting Numbers: [29, 70] Generated Node #0,3,1: 35:[29, 70] Operation: 84-14=70 Exploring Operation: 29+14=43, Resulting Numbers: [84, 43] Generated Node #0,3,2: 35:[84, 43] Operation: 29+14=43 Exploring Operation: 84/14=6, Resulting Numbers: [29, 6] Generated Node #0,3,3: 35:[29, 6] Operation: 84/14=6 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 35:[29, 6], Operations: ['65-51=14', '84/14=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[84, 29, 65, 51], Operations: [] Exploring Operation: 65-51=14, Resulting Numbers: [84, 29, 14] Generated Node #0,3: 35:[84, 29, 14] Operation: 65-51=14 Moving to Node #0,3 Current State: 35:[84, 29, 14], Operations: ['65-51=14'] Exploring Operation: 84/14=6, Resulting Numbers: [29, 6] Generated Node #0,3,3: 35:[29, 6] Operation: 84/14=6 Moving to Node #0,3,3 Current State: 35:[29, 6], Operations: ['65-51=14', '84/14=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 66, 19, 15, 6 ]
18
[ "66+6=72", "19-15=4", "72/4=18" ]
Current State: 18:[66, 19, 15, 6], Operations: [] Exploring Operation: 66+6=72, Resulting Numbers: [19, 15, 72] Generated Node #2: [19, 15, 72] from Operation: 66+6=72 Current State: 18:[19, 15, 72], Operations: ['66+6=72'] Exploring Operation: 19-15=4, Resulting Numbers: [72, 4] Generated Node #3: [72, 4] from Operation: 19-15=4 Current State: 18:[72, 4], Operations: ['66+6=72', '19-15=4'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[66, 19, 15, 6], Operations: [] Exploring Operation: 66/6=11, Resulting Numbers: [19, 15, 11] Generated Node #0,0: 18:[19, 15, 11] Operation: 66/6=11 Moving to Node #0,0 Current State: 18:[19, 15, 11], Operations: ['66/6=11'] Exploring Operation: 15-11=4, Resulting Numbers: [19, 4] Generated Node #0,0,0: 18:[19, 4] Operation: 15-11=4 Moving to Node #0,0,0 Current State: 18:[19, 4], Operations: ['66/6=11', '15-11=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,18 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 75, 46, 6, 43 ]
78
[ "75-46=29", "6+43=49", "29+49=78" ]
Current State: 78:[75, 46, 6, 43], Operations: [] Exploring Operation: 75-46=29, Resulting Numbers: [6, 43, 29] Generated Node #2: [6, 43, 29] from Operation: 75-46=29 Current State: 78:[6, 43, 29], Operations: ['75-46=29'] Exploring Operation: 6+43=49, Resulting Numbers: [29, 49] Generated Node #3: [29, 49] from Operation: 6+43=49 Current State: 78:[29, 49], Operations: ['75-46=29', '6+43=49'] Exploring Operation: 29+49=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[75, 46, 6, 43], Operations: [] Exploring Operation: 46-43=3, Resulting Numbers: [75, 6, 3] Generated Node #0,0: 78:[75, 6, 3] Operation: 46-43=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[75, 6, 3], Operations: ['46-43=3'] Exploring Operation: 75+3=78, Resulting Numbers: [6, 78] Generated Node #0,0,0: 78:[6, 78] Operation: 75+3=78 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[6, 78], Operations: ['46-43=3', '75+3=78'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,78 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
[ 68, 3, 79, 13 ]
86
[ "68-13=55", "3*55=165", "165-79=86" ]
Current State: 86:[68, 3, 79, 13], Operations: [] Exploring Operation: 68-13=55, Resulting Numbers: [3, 79, 55] Generated Node #2: [3, 79, 55] from Operation: 68-13=55 Current State: 86:[3, 79, 55], Operations: ['68-13=55'] Exploring Operation: 3*55=165, Resulting Numbers: [79, 165] Generated Node #3: [79, 165] from Operation: 3*55=165 Current State: 86:[79, 165], Operations: ['68-13=55', '3*55=165'] Exploring Operation: 165-79=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[68, 3, 79, 13], Operations: [] Exploring Operation: 68-13=55, Resulting Numbers: [3, 79, 55] Generated Node #0,0: 86:[3, 79, 55] Operation: 68-13=55 Exploring Operation: 68+13=81, Resulting Numbers: [3, 79, 81] Generated Node #0,1: 86:[3, 79, 81] Operation: 68+13=81 Exploring Operation: 79-68=11, Resulting Numbers: [3, 13, 11] Generated Node #0,2: 86:[3, 13, 11] Operation: 79-68=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[3, 79, 81], Operations: ['68+13=81'] Exploring Operation: 81-79=2, Resulting Numbers: [3, 2] Generated Node #0,1,0: 86:[3, 2] Operation: 81-79=2 Exploring Operation: 3+79=82, Resulting Numbers: [81, 82] Generated Node #0,1,1: 86:[81, 82] Operation: 3+79=82 Exploring Operation: 3+81=84, Resulting Numbers: [79, 84] Generated Node #0,1,2: 86:[79, 84] Operation: 3+81=84 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[3, 2], Operations: ['68+13=81', '81-79=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,86 unequal: No Solution No 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: 86:[81, 82], Operations: ['68+13=81', '3+79=82'] Exploring Operation: 81*82=6642, Resulting Numbers: [6642] 6642,86 unequal: No Solution Exploring Operation: 81+82=163, Resulting Numbers: [163] 163,86 unequal: No Solution Exploring Operation: 82-81=1, Resulting Numbers: [1] 1,86 unequal: No Solution No 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: 86:[79, 84], Operations: ['68+13=81', '3+81=84'] Exploring Operation: 79+84=163, Resulting Numbers: [163] 163,86 unequal: No Solution Exploring Operation: 79*84=6636, Resulting Numbers: [6636] 6636,86 unequal: No Solution Exploring Operation: 84-79=5, Resulting Numbers: [5] 5,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[3, 79, 55], Operations: ['68-13=55'] Exploring Operation: 79-55=24, Resulting Numbers: [3, 24] Generated Node #0,0,0: 86:[3, 24] Operation: 79-55=24 Exploring Operation: 55-3=52, Resulting Numbers: [79, 52] Generated Node #0,0,1: 86:[79, 52] Operation: 55-3=52 Exploring Operation: 3+79=82, Resulting Numbers: [55, 82] Generated Node #0,0,2: 86:[55, 82] Operation: 3+79=82 Moving to Node #0,0,1 Current State: 86:[79, 52], Operations: ['68-13=55', '55-3=52'] Exploring Operation: 79*52=4108, Resulting Numbers: [4108] 4108,86 unequal: No Solution Exploring Operation: 79+52=131, Resulting Numbers: [131] 131,86 unequal: No Solution Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[55, 82], Operations: ['68-13=55', '3+79=82'] Exploring Operation: 55+82=137, Resulting Numbers: [137] 137,86 unequal: No Solution Exploring Operation: 55*82=4510, Resulting Numbers: [4510] 4510,86 unequal: No Solution Exploring Operation: 82-55=27, Resulting Numbers: [27] 27,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[3, 24], Operations: ['68-13=55', '79-55=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,86 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[3, 13, 11], Operations: ['79-68=11'] Exploring Operation: 13-3=10, Resulting Numbers: [11, 10] Generated Node #0,2,0: 86:[11, 10] Operation: 13-3=10 Exploring Operation: 13-11=2, Resulting Numbers: [3, 2] Generated Node #0,2,1: 86:[3, 2] Operation: 13-11=2 Exploring Operation: 3*13=39, Resulting Numbers: [11, 39] Generated Node #0,2,2: 86:[11, 39] Operation: 3*13=39 Moving to Node #0,2,1 Current State: 86:[3, 2], Operations: ['79-68=11', '13-11=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[11, 39], Operations: ['79-68=11', '3*13=39'] Exploring Operation: 11+39=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 11*39=429, Resulting Numbers: [429] 429,86 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[11, 10], Operations: ['79-68=11', '13-3=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,86 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
[ 32, 28, 45, 6 ]
47
[ "32-28=4", "45+6=51", "51-4=47" ]
Current State: 47:[32, 28, 45, 6], Operations: [] Exploring Operation: 32-28=4, Resulting Numbers: [45, 6, 4] Generated Node #2: [45, 6, 4] from Operation: 32-28=4 Current State: 47:[45, 6, 4], Operations: ['32-28=4'] Exploring Operation: 45+6=51, Resulting Numbers: [4, 51] Generated Node #3: [4, 51] from Operation: 45+6=51 Current State: 47:[4, 51], Operations: ['32-28=4', '45+6=51'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[32, 28, 45, 6], Operations: [] Exploring Operation: 28+6=34, Resulting Numbers: [32, 45, 34] Generated Node #0,0: 47:[32, 45, 34] Operation: 28+6=34 Exploring Operation: 45+6=51, Resulting Numbers: [32, 28, 51] Generated Node #0,1: 47:[32, 28, 51] Operation: 45+6=51 Exploring Operation: 32-6=26, Resulting Numbers: [28, 45, 26] Generated Node #0,2: 47:[28, 45, 26] Operation: 32-6=26 Exploring Operation: 28-6=22, Resulting Numbers: [32, 45, 22] Generated Node #0,3: 47:[32, 45, 22] Operation: 28-6=22 Exploring Operation: 32+6=38, Resulting Numbers: [28, 45, 38] Generated Node #0,4: 47:[28, 45, 38] Operation: 32+6=38 Moving to Node #0,0 Current State: 47:[32, 45, 34], Operations: ['28+6=34'] Exploring Operation: 34-32=2, Resulting Numbers: [45, 2] Generated Node #0,0,0: 47:[45, 2] Operation: 34-32=2 Exploring Operation: 32+45=77, Resulting Numbers: [34, 77] Generated Node #0,0,1: 47:[34, 77] Operation: 32+45=77 Exploring Operation: 45-32=13, Resulting Numbers: [34, 13] Generated Node #0,0,2: 47:[34, 13] Operation: 45-32=13 Exploring Operation: 45+34=79, Resulting Numbers: [32, 79] Generated Node #0,0,3: 47:[32, 79] Operation: 45+34=79 Exploring Operation: 32+34=66, Resulting Numbers: [45, 66] Generated Node #0,0,4: 47:[45, 66] Operation: 32+34=66 Moving to Node #0,4 Current State: 47:[28, 45, 38], Operations: ['32+6=38'] Exploring Operation: 45+38=83, Resulting Numbers: [28, 83] Generated Node #0,4,0: 47:[28, 83] Operation: 45+38=83 Exploring Operation: 28+38=66, Resulting Numbers: [45, 66] Generated Node #0,4,1: 47:[45, 66] Operation: 28+38=66 Exploring Operation: 38-28=10, Resulting Numbers: [45, 10] Generated Node #0,4,2: 47:[45, 10] Operation: 38-28=10 Exploring Operation: 45-28=17, Resulting Numbers: [38, 17] Generated Node #0,4,3: 47:[38, 17] Operation: 45-28=17 Exploring Operation: 28+45=73, Resulting Numbers: [38, 73] Generated Node #0,4,4: 47:[38, 73] Operation: 28+45=73 Moving to Node #0,1 Current State: 47:[32, 28, 51], Operations: ['45+6=51'] Exploring Operation: 28+51=79, Resulting Numbers: [32, 79] Generated Node #0,1,0: 47:[32, 79] Operation: 28+51=79 Exploring Operation: 32+28=60, Resulting Numbers: [51, 60] Generated Node #0,1,1: 47:[51, 60] Operation: 32+28=60 Exploring Operation: 51-28=23, Resulting Numbers: [32, 23] Generated Node #0,1,2: 47:[32, 23] Operation: 51-28=23 Exploring Operation: 32-28=4, Resulting Numbers: [51, 4] Generated Node #0,1,3: 47:[51, 4] Operation: 32-28=4 Exploring Operation: 51-32=19, Resulting Numbers: [28, 19] Generated Node #0,1,4: 47:[28, 19] Operation: 51-32=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[51, 60], Operations: ['45+6=51', '32+28=60'] Exploring Operation: 51*60=3060, Resulting Numbers: [3060] 3060,47 unequal: No Solution Exploring Operation: 51+60=111, Resulting Numbers: [111] 111,47 unequal: No Solution Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,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:[32, 23], Operations: ['45+6=51', '51-28=23'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 32*23=736, Resulting Numbers: [736] 736,47 unequal: No Solution Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,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:[32, 79], Operations: ['45+6=51', '28+51=79'] Exploring Operation: 32+79=111, Resulting Numbers: [111] 111,47 unequal: No Solution Exploring Operation: 32*79=2528, Resulting Numbers: [2528] 2528,47 unequal: No Solution Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[32, 28, 45, 6], Operations: [] Exploring Operation: 45+6=51, Resulting Numbers: [32, 28, 51] Generated Node #0,1: 47:[32, 28, 51] Operation: 45+6=51 Moving to Node #0,1 Current State: 47:[32, 28, 51], Operations: ['45+6=51'] Exploring Operation: 28+51=79, Resulting Numbers: [32, 79] Generated Node #0,1,0: 47:[32, 79] Operation: 28+51=79 Moving to Node #0,1,0 Current State: 47:[32, 79], Operations: ['45+6=51', '28+51=79'] Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_5
sum_heuristic
[ 74, 36, 19, 38 ]
92
[ "36*19=684", "684/38=18", "74+18=92" ]
Current State: 92:[74, 36, 19, 38], Operations: [] Exploring Operation: 36*19=684, Resulting Numbers: [74, 38, 684] Generated Node #2: [74, 38, 684] from Operation: 36*19=684 Current State: 92:[74, 38, 684], Operations: ['36*19=684'] Exploring Operation: 684/38=18, Resulting Numbers: [74, 18] Generated Node #3: [74, 18] from Operation: 684/38=18 Current State: 92:[74, 18], Operations: ['36*19=684', '684/38=18'] Exploring Operation: 74+18=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[74, 36, 19, 38], Operations: [] Exploring Operation: 74+19=93, Resulting Numbers: [36, 38, 93] Generated Node #0,0: 92:[36, 38, 93] Operation: 74+19=93 Exploring Operation: 74-36=38, Resulting Numbers: [19, 38, 38] Generated Node #0,1: 92:[19, 38, 38] Operation: 74-36=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[36, 38, 93], Operations: ['74+19=93'] Exploring Operation: 38-36=2, Resulting Numbers: [93, 2] Generated Node #0,0,0: 92:[93, 2] Operation: 38-36=2 Exploring Operation: 36+38=74, Resulting Numbers: [93, 74] Generated Node #0,0,1: 92:[93, 74] Operation: 36+38=74 Moving to Node #0,0,0 Current State: 92:[93, 2], Operations: ['74+19=93', '38-36=2'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,92 unequal: No Solution Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[93, 74], Operations: ['74+19=93', '36+38=74'] Exploring Operation: 93+74=167, Resulting Numbers: [167] 167,92 unequal: No Solution Exploring Operation: 93-74=19, Resulting Numbers: [19] 19,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[19, 38, 38], Operations: ['74-36=38'] Exploring Operation: 38-38=0, Resulting Numbers: [19, 0] Generated Node #0,1,0: 92:[19, 0] Operation: 38-38=0 Exploring Operation: 38/38=1, Resulting Numbers: [19, 1] Generated Node #0,1,1: 92:[19, 1] Operation: 38/38=1 Moving to Node #0,1,1 Current State: 92:[19, 1], Operations: ['74-36=38', '38/38=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[19, 0], Operations: ['74-36=38', '38-38=0'] Exploring Operation: 19*0=0, Resulting Numbers: [0] 0,92 unequal: No Solution Exploring Operation: 19+0=19, Resulting Numbers: [19] 19,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 38, 27, 10, 4 ]
17
[ "38-27=11", "10-4=6", "11+6=17" ]
Current State: 17:[38, 27, 10, 4], Operations: [] Exploring Operation: 38-27=11, Resulting Numbers: [10, 4, 11] Generated Node #2: [10, 4, 11] from Operation: 38-27=11 Current State: 17:[10, 4, 11], Operations: ['38-27=11'] Exploring Operation: 10-4=6, Resulting Numbers: [11, 6] Generated Node #3: [11, 6] from Operation: 10-4=6 Current State: 17:[11, 6], Operations: ['38-27=11', '10-4=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[38, 27, 10, 4], Operations: [] Exploring Operation: 38-10=28, Resulting Numbers: [27, 4, 28] Generated Node #0,0: 17:[27, 4, 28] Operation: 38-10=28 Exploring Operation: 38-4=34, Resulting Numbers: [27, 10, 34] Generated Node #0,1: 17:[27, 10, 34] Operation: 38-4=34 Exploring Operation: 38-27=11, Resulting Numbers: [10, 4, 11] Generated Node #0,2: 17:[10, 4, 11] Operation: 38-27=11 Exploring Operation: 27-4=23, Resulting Numbers: [38, 10, 23] Generated Node #0,3: 17:[38, 10, 23] Operation: 27-4=23 Exploring Operation: 27-10=17, Resulting Numbers: [38, 4, 17] Generated Node #0,4: 17:[38, 4, 17] Operation: 27-10=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[10, 4, 11], Operations: ['38-27=11'] Exploring Operation: 10-4=6, Resulting Numbers: [11, 6] Generated Node #0,2,0: 17:[11, 6] Operation: 10-4=6 Exploring Operation: 11-4=7, Resulting Numbers: [10, 7] Generated Node #0,2,1: 17:[10, 7] Operation: 11-4=7 Exploring Operation: 4+11=15, Resulting Numbers: [10, 15] Generated Node #0,2,2: 17:[10, 15] Operation: 4+11=15 Exploring Operation: 10+11=21, Resulting Numbers: [4, 21] Generated Node #0,2,3: 17:[4, 21] Operation: 10+11=21 Exploring Operation: 10+4=14, Resulting Numbers: [11, 14] Generated Node #0,2,4: 17:[11, 14] Operation: 10+4=14 Moving to Node #0,2,2 Current State: 17:[10, 15], Operations: ['38-27=11', '4+11=15'] Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,17 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,17 unequal: No Solution Moving to Node #0,2,4 Current State: 17:[11, 14], Operations: ['38-27=11', '10+4=14'] Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,17 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[11, 6], Operations: ['38-27=11', '10-4=6'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[38, 27, 10, 4], Operations: [] Exploring Operation: 38-27=11, Resulting Numbers: [10, 4, 11] Generated Node #0,2: 17:[10, 4, 11] Operation: 38-27=11 Moving to Node #0,2 Current State: 17:[10, 4, 11], Operations: ['38-27=11'] Exploring Operation: 10-4=6, Resulting Numbers: [11, 6] Generated Node #0,2,0: 17:[11, 6] Operation: 10-4=6 Moving to Node #0,2,0 Current State: 17:[11, 6], Operations: ['38-27=11', '10-4=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 11, 22, 35, 41 ]
12
[ "22/11=2", "41-35=6", "2*6=12" ]
Current State: 12:[11, 22, 35, 41], Operations: [] Exploring Operation: 22/11=2, Resulting Numbers: [35, 41, 2] Generated Node #2: [35, 41, 2] from Operation: 22/11=2 Current State: 12:[35, 41, 2], Operations: ['22/11=2'] Exploring Operation: 41-35=6, Resulting Numbers: [2, 6] Generated Node #3: [2, 6] from Operation: 41-35=6 Current State: 12:[2, 6], Operations: ['22/11=2', '41-35=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[11, 22, 35, 41], Operations: [] Exploring Operation: 35-22=13, Resulting Numbers: [11, 41, 13] Generated Node #0,0: 12:[11, 41, 13] Operation: 35-22=13 Exploring Operation: 41-35=6, Resulting Numbers: [11, 22, 6] Generated Node #0,1: 12:[11, 22, 6] Operation: 41-35=6 Exploring Operation: 41-22=19, Resulting Numbers: [11, 35, 19] Generated Node #0,2: 12:[11, 35, 19] Operation: 41-22=19 Exploring Operation: 35-11=24, Resulting Numbers: [22, 41, 24] Generated Node #0,3: 12:[22, 41, 24] Operation: 35-11=24 Moving to Node #0,1 Current State: 12:[11, 22, 6], Operations: ['41-35=6'] Exploring Operation: 11-6=5, Resulting Numbers: [22, 5] Generated Node #0,1,0: 12:[22, 5] Operation: 11-6=5 Exploring Operation: 22-11=11, Resulting Numbers: [6, 11] Generated Node #0,1,1: 12:[6, 11] Operation: 22-11=11 Exploring Operation: 22/11=2, Resulting Numbers: [6, 2] Generated Node #0,1,2: 12:[6, 2] Operation: 22/11=2 Exploring Operation: 22-6=16, Resulting Numbers: [11, 16] Generated Node #0,1,3: 12:[11, 16] Operation: 22-6=16 Moving to Node #0,2 Current State: 12:[11, 35, 19], Operations: ['41-22=19'] Exploring Operation: 35-11=24, Resulting Numbers: [19, 24] Generated Node #0,2,0: 12:[19, 24] Operation: 35-11=24 Exploring Operation: 19-11=8, Resulting Numbers: [35, 8] Generated Node #0,2,1: 12:[35, 8] Operation: 19-11=8 Exploring Operation: 35-19=16, Resulting Numbers: [11, 16] Generated Node #0,2,2: 12:[11, 16] Operation: 35-19=16 Exploring Operation: 11+35=46, Resulting Numbers: [19, 46] Generated Node #0,2,3: 12:[19, 46] Operation: 11+35=46 Moving to Node #0,0 Current State: 12:[11, 41, 13], Operations: ['35-22=13'] Exploring Operation: 41-11=30, Resulting Numbers: [13, 30] Generated Node #0,0,0: 12:[13, 30] Operation: 41-11=30 Exploring Operation: 11+41=52, Resulting Numbers: [13, 52] Generated Node #0,0,1: 12:[13, 52] Operation: 11+41=52 Exploring Operation: 13-11=2, Resulting Numbers: [41, 2] Generated Node #0,0,2: 12:[41, 2] Operation: 13-11=2 Exploring Operation: 41-13=28, Resulting Numbers: [11, 28] Generated Node #0,0,3: 12:[11, 28] Operation: 41-13=28 Moving to Node #0,3 Current State: 12:[22, 41, 24], Operations: ['35-11=24'] Exploring Operation: 41-22=19, Resulting Numbers: [24, 19] Generated Node #0,3,0: 12:[24, 19] Operation: 41-22=19 Exploring Operation: 24-22=2, Resulting Numbers: [41, 2] Generated Node #0,3,1: 12:[41, 2] Operation: 24-22=2 Exploring Operation: 41-24=17, Resulting Numbers: [22, 17] Generated Node #0,3,2: 12:[22, 17] Operation: 41-24=17 Exploring Operation: 22+41=63, Resulting Numbers: [24, 63] Generated Node #0,3,3: 12:[24, 63] Operation: 22+41=63 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 12:[22, 17], Operations: ['35-11=24', '41-24=17'] Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,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:[24, 19], Operations: ['35-11=24', '41-22=19'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,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,1 Current State: 12:[41, 2], Operations: ['35-11=24', '24-22=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,12 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 41+2=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,3 Current State: 12:[24, 63], Operations: ['35-11=24', '22+41=63'] Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 24+63=87, Resulting Numbers: [87] 87,12 unequal: No Solution Exploring Operation: 24*63=1512, Resulting Numbers: [1512] 1512,12 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: 12:[6, 2], Operations: ['41-35=6', '22/11=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[11, 22, 35, 41], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [11, 22, 6] Generated Node #0,1: 12:[11, 22, 6] Operation: 41-35=6 Moving to Node #0,1 Current State: 12:[11, 22, 6], Operations: ['41-35=6'] Exploring Operation: 22/11=2, Resulting Numbers: [6, 2] Generated Node #0,1,2: 12:[6, 2] Operation: 22/11=2 Moving to Node #0,1,2 Current State: 12:[6, 2], Operations: ['41-35=6', '22/11=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.966146
hs_4
mult_heuristic
[ 11, 40, 6, 60 ]
80
[ "11*40=440", "6*60=360", "440-360=80" ]
Current State: 80:[11, 40, 6, 60], Operations: [] Exploring Operation: 11*40=440, Resulting Numbers: [6, 60, 440] Generated Node #2: [6, 60, 440] from Operation: 11*40=440 Current State: 80:[6, 60, 440], Operations: ['11*40=440'] Exploring Operation: 6*60=360, Resulting Numbers: [440, 360] Generated Node #3: [440, 360] from Operation: 6*60=360 Current State: 80:[440, 360], Operations: ['11*40=440', '6*60=360'] Exploring Operation: 440-360=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[11, 40, 6, 60], Operations: [] Exploring Operation: 11+60=71, Resulting Numbers: [40, 6, 71] Generated Node #0,0: 80:[40, 6, 71] Operation: 11+60=71 Exploring Operation: 60-11=49, Resulting Numbers: [40, 6, 49] Generated Node #0,1: 80:[40, 6, 49] Operation: 60-11=49 Exploring Operation: 60-40=20, Resulting Numbers: [11, 6, 20] Generated Node #0,2: 80:[11, 6, 20] Operation: 60-40=20 Exploring Operation: 60/6=10, Resulting Numbers: [11, 40, 10] Generated Node #0,3: 80:[11, 40, 10] Operation: 60/6=10 Exploring Operation: 6+60=66, Resulting Numbers: [11, 40, 66] Generated Node #0,4: 80:[11, 40, 66] Operation: 6+60=66 Moving to Node #0,3 Current State: 80:[11, 40, 10], Operations: ['60/6=10'] Exploring Operation: 11+10=21, Resulting Numbers: [40, 21] Generated Node #0,3,0: 80:[40, 21] Operation: 11+10=21 Exploring Operation: 11-10=1, Resulting Numbers: [40, 1] Generated Node #0,3,1: 80:[40, 1] Operation: 11-10=1 Exploring Operation: 40/10=4, Resulting Numbers: [11, 4] Generated Node #0,3,2: 80:[11, 4] Operation: 40/10=4 Exploring Operation: 11+40=51, Resulting Numbers: [10, 51] Generated Node #0,3,3: 80:[10, 51] Operation: 11+40=51 Exploring Operation: 40-11=29, Resulting Numbers: [10, 29] Generated Node #0,3,4: 80:[10, 29] Operation: 40-11=29 Moving to Node #0,2 Current State: 80:[11, 6, 20], Operations: ['60-40=20'] Exploring Operation: 20-11=9, Resulting Numbers: [6, 9] Generated Node #0,2,0: 80:[6, 9] Operation: 20-11=9 Exploring Operation: 11+6=17, Resulting Numbers: [20, 17] Generated Node #0,2,1: 80:[20, 17] Operation: 11+6=17 Exploring Operation: 6+20=26, Resulting Numbers: [11, 26] Generated Node #0,2,2: 80:[11, 26] Operation: 6+20=26 Exploring Operation: 20-6=14, Resulting Numbers: [11, 14] Generated Node #0,2,3: 80:[11, 14] Operation: 20-6=14 Exploring Operation: 11-6=5, Resulting Numbers: [20, 5] Generated Node #0,2,4: 80:[20, 5] Operation: 11-6=5 Moving to Node #0,0 Current State: 80:[40, 6, 71], Operations: ['11+60=71'] Exploring Operation: 71-40=31, Resulting Numbers: [6, 31] Generated Node #0,0,0: 80:[6, 31] Operation: 71-40=31 Exploring Operation: 71-6=65, Resulting Numbers: [40, 65] Generated Node #0,0,1: 80:[40, 65] Operation: 71-6=65 Exploring Operation: 40-6=34, Resulting Numbers: [71, 34] Generated Node #0,0,2: 80:[71, 34] Operation: 40-6=34 Exploring Operation: 40+6=46, Resulting Numbers: [71, 46] Generated Node #0,0,3: 80:[71, 46] Operation: 40+6=46 Exploring Operation: 6+71=77, Resulting Numbers: [40, 77] Generated Node #0,0,4: 80:[40, 77] Operation: 6+71=77 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 80:[40, 77], Operations: ['11+60=71', '6+71=77'] Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,80 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 40*77=3080, Resulting Numbers: [3080] 3080,80 unequal: No Solution No 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: 80:[6, 31], Operations: ['11+60=71', '71-40=31'] Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,80 unequal: No Solution Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,80 unequal: No Solution No 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: 80:[40, 65], Operations: ['11+60=71', '71-6=65'] Exploring Operation: 40+65=105, Resulting Numbers: [105] 105,80 unequal: No Solution Exploring Operation: 40*65=2600, Resulting Numbers: [2600] 2600,80 unequal: No Solution Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,80 unequal: No Solution No 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: 80:[71, 34], Operations: ['11+60=71', '40-6=34'] Exploring Operation: 71+34=105, Resulting Numbers: [105] 105,80 unequal: No Solution Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 71*34=2414, Resulting Numbers: [2414] 2414,80 unequal: No Solution No 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: 80:[71, 46], Operations: ['11+60=71', '40+6=46'] Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 71*46=3266, Resulting Numbers: [3266] 3266,80 unequal: No Solution Exploring Operation: 71+46=117, Resulting Numbers: [117] 117,80 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: 80:[40, 6, 49], Operations: ['60-11=49'] Exploring Operation: 40-6=34, Resulting Numbers: [49, 34] Generated Node #0,1,0: 80:[49, 34] Operation: 40-6=34 Exploring Operation: 49-6=43, Resulting Numbers: [40, 43] Generated Node #0,1,1: 80:[40, 43] Operation: 49-6=43 Exploring Operation: 40+6=46, Resulting Numbers: [49, 46] Generated Node #0,1,2: 80:[49, 46] Operation: 40+6=46 Exploring Operation: 49-40=9, Resulting Numbers: [6, 9] Generated Node #0,1,3: 80:[6, 9] Operation: 49-40=9 Exploring Operation: 40+49=89, Resulting Numbers: [6, 89] Generated Node #0,1,4: 80:[6, 89] Operation: 40+49=89 Moving to Node #0,4 Current State: 80:[11, 40, 66], Operations: ['6+60=66'] Exploring Operation: 40-11=29, Resulting Numbers: [66, 29] Generated Node #0,4,0: 80:[66, 29] Operation: 40-11=29 Exploring Operation: 66-40=26, Resulting Numbers: [11, 26] Generated Node #0,4,1: 80:[11, 26] Operation: 66-40=26 Exploring Operation: 66/11=6, Resulting Numbers: [40, 6] Generated Node #0,4,2: 80:[40, 6] Operation: 66/11=6 Exploring Operation: 11+66=77, Resulting Numbers: [40, 77] Generated Node #0,4,3: 80:[40, 77] Operation: 11+66=77 Exploring Operation: 66-11=55, Resulting Numbers: [40, 55] Generated Node #0,4,4: 80:[40, 55] Operation: 66-11=55 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 80:[40, 6], Operations: ['6+60=66', '66/11=6'] Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,80 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,80 unequal: No Solution No 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: 80:[40, 77], Operations: ['6+60=66', '11+66=77'] Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,80 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 40*77=3080, Resulting Numbers: [3080] 3080,80 unequal: No Solution No 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: 80:[11, 26], Operations: ['6+60=66', '66-40=26'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 11*26=286, Resulting Numbers: [286] 286,80 unequal: No Solution Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,80 unequal: No Solution No 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: 80:[40, 55], Operations: ['6+60=66', '66-11=55'] Exploring Operation: 40+55=95, Resulting Numbers: [95] 95,80 unequal: No Solution Exploring Operation: 40*55=2200, Resulting Numbers: [2200] 2200,80 unequal: No Solution Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,80 unequal: No Solution No 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: 80:[66, 29], Operations: ['6+60=66', '40-11=29'] Exploring Operation: 66*29=1914, Resulting Numbers: [1914] 1914,80 unequal: No Solution Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,80 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 80:[20, 5], Operations: ['60-40=20', '11-6=5'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[40, 21], Operations: ['60/6=10', '11+10=21'] Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,80 unequal: No Solution Exploring Operation: 40*21=840, Resulting Numbers: [840] 840,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[20, 17], Operations: ['60-40=20', '11+6=17'] Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,80 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[11, 4], Operations: ['60/6=10', '40/10=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[40, 1], Operations: ['60/6=10', '11-10=1'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,80 unequal: No Solution Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[6, 9], Operations: ['60-11=49', '49-40=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[6, 9], Operations: ['60-40=20', '20-11=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[40, 43], Operations: ['60-11=49', '49-6=43'] Exploring Operation: 40+43=83, Resulting Numbers: [83] 83,80 unequal: No Solution Exploring Operation: 40*43=1720, Resulting Numbers: [1720] 1720,80 unequal: No Solution Exploring Operation: 43-40=3, Resulting Numbers: [3] 3,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[11, 14], Operations: ['60-40=20', '20-6=14'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[11, 26], Operations: ['60-40=20', '6+20=26'] Exploring Operation: 11*26=286, Resulting Numbers: [286] 286,80 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,80 unequal: No Solution Moving to Node #0,3,4 Current State: 80:[10, 29], Operations: ['60/6=10', '40-11=29'] Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,80 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,80 unequal: No Solution Moving to Node #0,1,4 Current State: 80:[6, 89], Operations: ['60-11=49', '40+49=89'] Exploring Operation: 6*89=534, Resulting Numbers: [534] 534,80 unequal: No Solution Exploring Operation: 6+89=95, Resulting Numbers: [95] 95,80 unequal: No Solution Exploring Operation: 89-6=83, Resulting Numbers: [83] 83,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[10, 51], Operations: ['60/6=10', '11+40=51'] Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 10*51=510, Resulting Numbers: [510] 510,80 unequal: No Solution Exploring Operation: 10+51=61, Resulting Numbers: [61] 61,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[49, 34], Operations: ['60-11=49', '40-6=34'] Exploring Operation: 49+34=83, Resulting Numbers: [83] 83,80 unequal: No Solution Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 49*34=1666, Resulting Numbers: [1666] 1666,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[49, 46], Operations: ['60-11=49', '40+6=46'] Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,80 unequal: No Solution Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,80 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,80 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 16, 41, 5, 60 ]
37
[ "41-16=25", "60/5=12", "25+12=37" ]
Current State: 37:[16, 41, 5, 60], Operations: [] Exploring Operation: 41-16=25, Resulting Numbers: [5, 60, 25] Generated Node #2: [5, 60, 25] from Operation: 41-16=25 Current State: 37:[5, 60, 25], Operations: ['41-16=25'] Exploring Operation: 60/5=12, Resulting Numbers: [25, 12] Generated Node #3: [25, 12] from Operation: 60/5=12 Current State: 37:[25, 12], Operations: ['41-16=25', '60/5=12'] Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[16, 41, 5, 60], Operations: [] Exploring Operation: 16+5=21, Resulting Numbers: [41, 60, 21] Generated Node #0,0: 37:[41, 60, 21] Operation: 16+5=21 Exploring Operation: 60-16=44, Resulting Numbers: [41, 5, 44] Generated Node #0,1: 37:[41, 5, 44] Operation: 60-16=44 Exploring Operation: 60-5=55, Resulting Numbers: [16, 41, 55] Generated Node #0,2: 37:[16, 41, 55] Operation: 60-5=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[41, 60, 21], Operations: ['16+5=21'] Exploring Operation: 41-21=20, Resulting Numbers: [60, 20] Generated Node #0,0,0: 37:[60, 20] Operation: 41-21=20 Exploring Operation: 60-21=39, Resulting Numbers: [41, 39] Generated Node #0,0,1: 37:[41, 39] Operation: 60-21=39 Exploring Operation: 60-41=19, Resulting Numbers: [21, 19] Generated Node #0,0,2: 37:[21, 19] Operation: 60-41=19 Moving to Node #0,0,1 Current State: 37:[41, 39], Operations: ['16+5=21', '60-21=39'] Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,37 unequal: No Solution Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[21, 19], Operations: ['16+5=21', '60-41=19'] Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,37 unequal: No Solution Exploring Operation: 21*19=399, Resulting Numbers: [399] 399,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[60, 20], Operations: ['16+5=21', '41-21=20'] Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,37 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 60+20=80, Resulting Numbers: [80] 80,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 Current State: 37:[41, 5, 44], Operations: ['60-16=44'] Exploring Operation: 41+5=46, Resulting Numbers: [44, 46] Generated Node #0,1,0: 37:[44, 46] Operation: 41+5=46 Exploring Operation: 44-5=39, Resulting Numbers: [41, 39] Generated Node #0,1,1: 37:[41, 39] Operation: 44-5=39 Exploring Operation: 41-5=36, Resulting Numbers: [44, 36] Generated Node #0,1,2: 37:[44, 36] Operation: 41-5=36 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[41, 39], Operations: ['60-16=44', '44-5=39'] Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,37 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 37:[44, 36], Operations: ['60-16=44', '41-5=36'] Exploring Operation: 44*36=1584, Resulting Numbers: [1584] 1584,37 unequal: No Solution Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 44+36=80, Resulting Numbers: [80] 80,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[44, 46], Operations: ['60-16=44', '41+5=46'] Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,37 unequal: No Solution Exploring Operation: 44*46=2024, Resulting Numbers: [2024] 2024,37 unequal: No Solution Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[16, 41, 55], Operations: ['60-5=55'] Exploring Operation: 16+41=57, Resulting Numbers: [55, 57] Generated Node #0,2,0: 37:[55, 57] Operation: 16+41=57 Exploring Operation: 55-16=39, Resulting Numbers: [41, 39] Generated Node #0,2,1: 37:[41, 39] Operation: 55-16=39 Exploring Operation: 41-16=25, Resulting Numbers: [55, 25] Generated Node #0,2,2: 37:[55, 25] Operation: 41-16=25 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[41, 39], Operations: ['60-5=55', '55-16=39'] Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,37 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[55, 25], Operations: ['60-5=55', '41-16=25'] Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,37 unequal: No Solution Exploring Operation: 55*25=1375, Resulting Numbers: [1375] 1375,37 unequal: No Solution Exploring Operation: 55+25=80, Resulting Numbers: [80] 80,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[55, 57], Operations: ['60-5=55', '16+41=57'] Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 55*57=3135, Resulting Numbers: [3135] 3135,37 unequal: No Solution Exploring Operation: 55+57=112, Resulting Numbers: [112] 112,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 80, 6, 76, 59 ]
35
[ "80-76=4", "6*4=24", "59-24=35" ]
Current State: 35:[80, 6, 76, 59], Operations: [] Exploring Operation: 80-76=4, Resulting Numbers: [6, 59, 4] Generated Node #2: [6, 59, 4] from Operation: 80-76=4 Current State: 35:[6, 59, 4], Operations: ['80-76=4'] Exploring Operation: 6*4=24, Resulting Numbers: [59, 24] Generated Node #3: [59, 24] from Operation: 6*4=24 Current State: 35:[59, 24], Operations: ['80-76=4', '6*4=24'] Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[80, 6, 76, 59], Operations: [] Exploring Operation: 76-59=17, Resulting Numbers: [80, 6, 17] Generated Node #0,0: 35:[80, 6, 17] Operation: 76-59=17 Exploring Operation: 80-6=74, Resulting Numbers: [76, 59, 74] Generated Node #0,1: 35:[76, 59, 74] Operation: 80-6=74 Exploring Operation: 80-76=4, Resulting Numbers: [6, 59, 4] Generated Node #0,2: 35:[6, 59, 4] Operation: 80-76=4 Exploring Operation: 80-59=21, Resulting Numbers: [6, 76, 21] Generated Node #0,3: 35:[6, 76, 21] Operation: 80-59=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[6, 59, 4], Operations: ['80-76=4'] Exploring Operation: 6-4=2, Resulting Numbers: [59, 2] Generated Node #0,2,0: 35:[59, 2] Operation: 6-4=2 Exploring Operation: 59-4=55, Resulting Numbers: [6, 55] Generated Node #0,2,1: 35:[6, 55] Operation: 59-4=55 Exploring Operation: 6+4=10, Resulting Numbers: [59, 10] Generated Node #0,2,2: 35:[59, 10] Operation: 6+4=10 Exploring Operation: 59-6=53, Resulting Numbers: [4, 53] Generated Node #0,2,3: 35:[4, 53] Operation: 59-6=53 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 35:[4, 53], Operations: ['80-76=4', '59-6=53'] Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,35 unequal: No Solution Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,35 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 35:[6, 55], Operations: ['80-76=4', '59-4=55'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,35 unequal: No Solution Exploring Operation: 6*55=330, Resulting Numbers: [330] 330,35 unequal: No Solution Exploring Operation: 6+55=61, Resulting Numbers: [61] 61,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 35:[59, 2], Operations: ['80-76=4', '6-4=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,35 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,35 unequal: No Solution Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 35:[59, 10], Operations: ['80-76=4', '6+4=10'] Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,35 unequal: No Solution Exploring Operation: 59*10=590, Resulting Numbers: [590] 590,35 unequal: No Solution Exploring Operation: 59+10=69, Resulting Numbers: [69] 69,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[80, 6, 17], Operations: ['76-59=17'] Exploring Operation: 80-6=74, Resulting Numbers: [17, 74] Generated Node #0,0,0: 35:[17, 74] Operation: 80-6=74 Exploring Operation: 17-6=11, Resulting Numbers: [80, 11] Generated Node #0,0,1: 35:[80, 11] Operation: 17-6=11 Exploring Operation: 6+17=23, Resulting Numbers: [80, 23] Generated Node #0,0,2: 35:[80, 23] Operation: 6+17=23 Exploring Operation: 80-17=63, Resulting Numbers: [6, 63] Generated Node #0,0,3: 35:[6, 63] Operation: 80-17=63 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 35:[6, 63], Operations: ['76-59=17', '80-17=63'] Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,35 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,35 unequal: No Solution Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[17, 74], Operations: ['76-59=17', '80-6=74'] Exploring Operation: 17*74=1258, Resulting Numbers: [1258] 1258,35 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,35 unequal: No Solution Exploring Operation: 17+74=91, Resulting Numbers: [91] 91,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[80, 11], Operations: ['76-59=17', '17-6=11'] Exploring Operation: 80*11=880, Resulting Numbers: [880] 880,35 unequal: No Solution Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,35 unequal: No Solution Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 35:[80, 23], Operations: ['76-59=17', '6+17=23'] Exploring Operation: 80+23=103, Resulting Numbers: [103] 103,35 unequal: No Solution Exploring Operation: 80*23=1840, Resulting Numbers: [1840] 1840,35 unequal: No Solution Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[6, 76, 21], Operations: ['80-59=21'] Exploring Operation: 21-6=15, Resulting Numbers: [76, 15] Generated Node #0,3,0: 35:[76, 15] Operation: 21-6=15 Exploring Operation: 76-6=70, Resulting Numbers: [21, 70] Generated Node #0,3,1: 35:[21, 70] Operation: 76-6=70 Exploring Operation: 76-21=55, Resulting Numbers: [6, 55] Generated Node #0,3,2: 35:[6, 55] Operation: 76-21=55 Exploring Operation: 6+21=27, Resulting Numbers: [76, 27] Generated Node #0,3,3: 35:[76, 27] Operation: 6+21=27 Moving to Node #0,3,2 Current State: 35:[6, 55], Operations: ['80-59=21', '76-21=55'] Exploring Operation: 6*55=330, Resulting Numbers: [330] 330,35 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,35 unequal: No Solution Exploring Operation: 6+55=61, Resulting Numbers: [61] 61,35 unequal: No Solution Moving to Node #0,3,1 Current State: 35:[21, 70], Operations: ['80-59=21', '76-6=70'] Exploring Operation: 21+70=91, Resulting Numbers: [91] 91,35 unequal: No Solution Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,35 unequal: No Solution Exploring Operation: 21*70=1470, Resulting Numbers: [1470] 1470,35 unequal: No Solution Moving to Node #0,3,0 Current State: 35:[76, 15], Operations: ['80-59=21', '21-6=15'] Exploring Operation: 76+15=91, Resulting Numbers: [91] 91,35 unequal: No Solution Exploring Operation: 76*15=1140, Resulting Numbers: [1140] 1140,35 unequal: No Solution Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,35 unequal: No Solution Moving to Node #0,3,3 Current State: 35:[76, 27], Operations: ['80-59=21', '6+21=27'] Exploring Operation: 76+27=103, Resulting Numbers: [103] 103,35 unequal: No Solution Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,35 unequal: No Solution Exploring Operation: 76*27=2052, Resulting Numbers: [2052] 2052,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[76, 59, 74], Operations: ['80-6=74'] Exploring Operation: 76-74=2, Resulting Numbers: [59, 2] Generated Node #0,1,0: 35:[59, 2] Operation: 76-74=2 Exploring Operation: 76+59=135, Resulting Numbers: [74, 135] Generated Node #0,1,1: 35:[74, 135] Operation: 76+59=135 Exploring Operation: 74-59=15, Resulting Numbers: [76, 15] Generated Node #0,1,2: 35:[76, 15] Operation: 74-59=15 Exploring Operation: 76-59=17, Resulting Numbers: [74, 17] Generated Node #0,1,3: 35:[74, 17] Operation: 76-59=17 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[59, 2], Operations: ['80-6=74', '76-74=2'] Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,35 unequal: No Solution Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,35 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 35:[76, 15], Operations: ['80-6=74', '74-59=15'] Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,35 unequal: No Solution Exploring Operation: 76+15=91, Resulting Numbers: [91] 91,35 unequal: No Solution Exploring Operation: 76*15=1140, Resulting Numbers: [1140] 1140,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 35:[74, 17], Operations: ['80-6=74', '76-59=17'] Exploring Operation: 74*17=1258, Resulting Numbers: [1258] 1258,35 unequal: No Solution Exploring Operation: 74+17=91, Resulting Numbers: [91] 91,35 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[74, 135], Operations: ['80-6=74', '76+59=135'] Exploring Operation: 74*135=9990, Resulting Numbers: [9990] 9990,35 unequal: No Solution Exploring Operation: 74+135=209, Resulting Numbers: [209] 209,35 unequal: No Solution Exploring Operation: 135-74=61, Resulting Numbers: [61] 61,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 96, 44, 50, 32 ]
48
[ "50-44=6", "96/6=16", "32+16=48" ]
Current State: 48:[96, 44, 50, 32], Operations: [] Exploring Operation: 50-44=6, Resulting Numbers: [96, 32, 6] Generated Node #2: [96, 32, 6] from Operation: 50-44=6 Current State: 48:[96, 32, 6], Operations: ['50-44=6'] Exploring Operation: 96/6=16, Resulting Numbers: [32, 16] Generated Node #3: [32, 16] from Operation: 96/6=16 Current State: 48:[32, 16], Operations: ['50-44=6', '96/6=16'] Exploring Operation: 32+16=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[96, 44, 50, 32], Operations: [] Exploring Operation: 96-50=46, Resulting Numbers: [44, 32, 46] Generated Node #0,0: 48:[44, 32, 46] Operation: 96-50=46 Exploring Operation: 96/32=3, Resulting Numbers: [44, 50, 3] Generated Node #0,1: 48:[44, 50, 3] Operation: 96/32=3 Exploring Operation: 96-32=64, Resulting Numbers: [44, 50, 64] Generated Node #0,2: 48:[44, 50, 64] Operation: 96-32=64 Exploring Operation: 96-44=52, Resulting Numbers: [50, 32, 52] Generated Node #0,3: 48:[50, 32, 52] Operation: 96-44=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[44, 50, 3], Operations: ['96/32=3'] Exploring Operation: 44+3=47, Resulting Numbers: [50, 47] Generated Node #0,1,0: 48:[50, 47] Operation: 44+3=47 Exploring Operation: 50-44=6, Resulting Numbers: [3, 6] Generated Node #0,1,1: 48:[3, 6] Operation: 50-44=6 Exploring Operation: 50-3=47, Resulting Numbers: [44, 47] Generated Node #0,1,2: 48:[44, 47] Operation: 50-3=47 Exploring Operation: 44-3=41, Resulting Numbers: [50, 41] Generated Node #0,1,3: 48:[50, 41] Operation: 44-3=41 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 48:[3, 6], Operations: ['96/32=3', '50-44=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,48 unequal: No Solution No 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: 48:[50, 47], Operations: ['96/32=3', '44+3=47'] Exploring Operation: 50*47=2350, Resulting Numbers: [2350] 2350,48 unequal: No Solution Exploring Operation: 50+47=97, Resulting Numbers: [97] 97,48 unequal: No Solution Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,48 unequal: No Solution No 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: 48:[44, 47], Operations: ['96/32=3', '50-3=47'] Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 44+47=91, Resulting Numbers: [91] 91,48 unequal: No Solution Exploring Operation: 44*47=2068, Resulting Numbers: [2068] 2068,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 48:[50, 41], Operations: ['96/32=3', '44-3=41'] Exploring Operation: 50+41=91, Resulting Numbers: [91] 91,48 unequal: No Solution Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,48 unequal: No Solution Exploring Operation: 50*41=2050, Resulting Numbers: [2050] 2050,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[44, 32, 46], Operations: ['96-50=46'] Exploring Operation: 46-32=14, Resulting Numbers: [44, 14] Generated Node #0,0,0: 48:[44, 14] Operation: 46-32=14 Exploring Operation: 44-32=12, Resulting Numbers: [46, 12] Generated Node #0,0,1: 48:[46, 12] Operation: 44-32=12 Exploring Operation: 46-44=2, Resulting Numbers: [32, 2] Generated Node #0,0,2: 48:[32, 2] Operation: 46-44=2 Exploring Operation: 44+32=76, Resulting Numbers: [46, 76] Generated Node #0,0,3: 48:[46, 76] Operation: 44+32=76 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[46, 12], Operations: ['96-50=46', '44-32=12'] Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 46*12=552, Resulting Numbers: [552] 552,48 unequal: No Solution Exploring Operation: 46+12=58, Resulting Numbers: [58] 58,48 unequal: No Solution No 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: 48:[44, 14], Operations: ['96-50=46', '46-32=14'] Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 44*14=616, Resulting Numbers: [616] 616,48 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,48 unequal: No Solution No 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: 48:[32, 2], Operations: ['96-50=46', '46-44=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,48 unequal: No Solution No 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: 48:[46, 76], Operations: ['96-50=46', '44+32=76'] Exploring Operation: 46*76=3496, Resulting Numbers: [3496] 3496,48 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 46+76=122, Resulting Numbers: [122] 122,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[50, 32, 52], Operations: ['96-44=52'] Exploring Operation: 50-32=18, Resulting Numbers: [52, 18] Generated Node #0,3,0: 48:[52, 18] Operation: 50-32=18 Exploring Operation: 50+32=82, Resulting Numbers: [52, 82] Generated Node #0,3,1: 48:[52, 82] Operation: 50+32=82 Exploring Operation: 52-32=20, Resulting Numbers: [50, 20] Generated Node #0,3,2: 48:[50, 20] Operation: 52-32=20 Exploring Operation: 52-50=2, Resulting Numbers: [32, 2] Generated Node #0,3,3: 48:[32, 2] Operation: 52-50=2 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 48:[52, 18], Operations: ['96-44=52', '50-32=18'] Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,48 unequal: No Solution Exploring Operation: 52*18=936, Resulting Numbers: [936] 936,48 unequal: No Solution Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,48 unequal: No Solution No 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: 48:[50, 20], Operations: ['96-44=52', '52-32=20'] Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,48 unequal: No Solution Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,48 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,48 unequal: No Solution No 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: 48:[32, 2], Operations: ['96-44=52', '52-50=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,48 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,48 unequal: No Solution No 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: 48:[52, 82], Operations: ['96-44=52', '50+32=82'] Exploring Operation: 52+82=134, Resulting Numbers: [134] 134,48 unequal: No Solution Exploring Operation: 52*82=4264, Resulting Numbers: [4264] 4264,48 unequal: No Solution Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[44, 50, 64], Operations: ['96-32=64'] Exploring Operation: 64-50=14, Resulting Numbers: [44, 14] Generated Node #0,2,0: 48:[44, 14] Operation: 64-50=14 Exploring Operation: 64-44=20, Resulting Numbers: [50, 20] Generated Node #0,2,1: 48:[50, 20] Operation: 64-44=20 Exploring Operation: 44+50=94, Resulting Numbers: [64, 94] Generated Node #0,2,2: 48:[64, 94] Operation: 44+50=94 Exploring Operation: 50-44=6, Resulting Numbers: [64, 6] Generated Node #0,2,3: 48:[64, 6] Operation: 50-44=6 Moving to Node #0,2,0 Current State: 48:[44, 14], Operations: ['96-32=64', '64-50=14'] Exploring Operation: 44*14=616, Resulting Numbers: [616] 616,48 unequal: No Solution Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[50, 20], Operations: ['96-32=64', '64-44=20'] Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,48 unequal: No Solution Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,48 unequal: No Solution Moving to Node #0,2,3 Current State: 48:[64, 6], Operations: ['96-32=64', '50-44=6'] Exploring Operation: 64+6=70, Resulting Numbers: [70] 70,48 unequal: No Solution Exploring Operation: 64*6=384, Resulting Numbers: [384] 384,48 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[64, 94], Operations: ['96-32=64', '44+50=94'] Exploring Operation: 64+94=158, Resulting Numbers: [158] 158,48 unequal: No Solution Exploring Operation: 64*94=6016, Resulting Numbers: [6016] 6016,48 unequal: No Solution Exploring Operation: 94-64=30, Resulting Numbers: [30] 30,48 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
[ 48, 67, 35, 50 ]
55
[ "48*50=2400", "67*35=2345", "2400-2345=55" ]
Current State: 55:[48, 67, 35, 50], Operations: [] Exploring Operation: 48*50=2400, Resulting Numbers: [67, 35, 2400] Generated Node #2: [67, 35, 2400] from Operation: 48*50=2400 Current State: 55:[67, 35, 2400], Operations: ['48*50=2400'] Exploring Operation: 67*35=2345, Resulting Numbers: [2400, 2345] Generated Node #3: [2400, 2345] from Operation: 67*35=2345 Current State: 55:[2400, 2345], Operations: ['48*50=2400', '67*35=2345'] Exploring Operation: 2400-2345=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[48, 67, 35, 50], Operations: [] Exploring Operation: 48-35=13, Resulting Numbers: [67, 50, 13] Generated Node #0,0: 55:[67, 50, 13] Operation: 48-35=13 Moving to Node #0,0 Current State: 55:[67, 50, 13], Operations: ['48-35=13'] Exploring Operation: 67-13=54, Resulting Numbers: [50, 54] Generated Node #0,0,0: 55:[50, 54] Operation: 67-13=54 Moving to Node #0,0,0 Current State: 55:[50, 54], Operations: ['48-35=13', '67-13=54'] Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,55 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 51, 51, 99, 47 ]
12
[ "99-51=48", "51-47=4", "48/4=12" ]
Current State: 12:[51, 51, 99, 47], Operations: [] Exploring Operation: 99-51=48, Resulting Numbers: [47, 48] Generated Node #2: [47, 48] from Operation: 99-51=48 Current State: 12:[47, 48], Operations: ['99-51=48'] Exploring Operation: 51-47=4, Resulting Numbers: [48, 4] Generated Node #3: [48, 4] from Operation: 51-47=4 Current State: 12:[48, 4], Operations: ['99-51=48', '51-47=4'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[51, 51, 99, 47], Operations: [] Exploring Operation: 99-51=48, Resulting Numbers: [51, 47, 48] Generated Node #0,0: 12:[51, 47, 48] Operation: 99-51=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[51, 47, 48], Operations: ['99-51=48'] Exploring Operation: 51-48=3, Resulting Numbers: [47, 3] Generated Node #0,0,0: 12:[47, 3] Operation: 51-48=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[47, 3], Operations: ['99-51=48', '51-48=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,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 No solution found.
0
hs_1
sum_heuristic
[ 90, 6, 22, 82 ]
24
[ "90-6=84", "82-22=60", "84-60=24" ]
Current State: 24:[90, 6, 22, 82], Operations: [] Exploring Operation: 90-6=84, Resulting Numbers: [22, 82, 84] Generated Node #2: [22, 82, 84] from Operation: 90-6=84 Current State: 24:[22, 82, 84], Operations: ['90-6=84'] Exploring Operation: 82-22=60, Resulting Numbers: [84, 60] Generated Node #3: [84, 60] from Operation: 82-22=60 Current State: 24:[84, 60], Operations: ['90-6=84', '82-22=60'] Exploring Operation: 84-60=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[90, 6, 22, 82], Operations: [] Exploring Operation: 90-22=68, Resulting Numbers: [6, 82, 68] Generated Node #0,0: 24:[6, 82, 68] Operation: 90-22=68 Exploring Operation: 90/6=15, Resulting Numbers: [22, 82, 15] Generated Node #0,1: 24:[22, 82, 15] Operation: 90/6=15 Exploring Operation: 82-22=60, Resulting Numbers: [90, 6, 60] Generated Node #0,2: 24:[90, 6, 60] Operation: 82-22=60 Exploring Operation: 90-82=8, Resulting Numbers: [6, 22, 8] Generated Node #0,3: 24:[6, 22, 8] Operation: 90-82=8 Moving to Node #0,3 Current State: 24:[6, 22, 8], Operations: ['90-82=8'] Exploring Operation: 22-8=14, Resulting Numbers: [6, 14] Generated Node #0,3,0: 24:[6, 14] Operation: 22-8=14 Exploring Operation: 22-6=16, Resulting Numbers: [8, 16] Generated Node #0,3,1: 24:[8, 16] Operation: 22-6=16 Exploring Operation: 6+22=28, Resulting Numbers: [8, 28] Generated Node #0,3,2: 24:[8, 28] Operation: 6+22=28 Exploring Operation: 8-6=2, Resulting Numbers: [22, 2] Generated Node #0,3,3: 24:[22, 2] Operation: 8-6=2 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 24:[6, 14], Operations: ['90-82=8', '22-8=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,24 unequal: No Solution No 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: 24:[22, 2], Operations: ['90-82=8', '8-6=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,24 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[90, 6, 22, 82], Operations: [] Exploring Operation: 90-82=8, Resulting Numbers: [6, 22, 8] Generated Node #0,3: 24:[6, 22, 8] Operation: 90-82=8 Moving to Node #0,3 Current State: 24:[6, 22, 8], Operations: ['90-82=8'] Exploring Operation: 8-6=2, Resulting Numbers: [22, 2] Generated Node #0,3,3: 24:[22, 2] Operation: 8-6=2 Moving to Node #0,3,3 Current State: 24:[22, 2], Operations: ['90-82=8', '8-6=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 87, 91, 20, 53 ]
58
[ "91-87=4", "20/4=5", "53+5=58" ]
Current State: 58:[87, 91, 20, 53], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [20, 53, 4] Generated Node #2: [20, 53, 4] from Operation: 91-87=4 Current State: 58:[20, 53, 4], Operations: ['91-87=4'] Exploring Operation: 20/4=5, Resulting Numbers: [53, 5] Generated Node #3: [53, 5] from Operation: 20/4=5 Current State: 58:[53, 5], Operations: ['91-87=4', '20/4=5'] Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[87, 91, 20, 53], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [20, 53, 4] Generated Node #0,0: 58:[20, 53, 4] Operation: 91-87=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[20, 53, 4], Operations: ['91-87=4'] Exploring Operation: 53-20=33, Resulting Numbers: [4, 33] Generated Node #0,0,0: 58:[4, 33] Operation: 53-20=33 Moving to Node #0,0,0 Current State: 58:[4, 33], Operations: ['91-87=4', '53-20=33'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 24, 30, 61, 24 ]
30
[ "24-24=0", "61*0=0", "30+0=30" ]
Current State: 30:[24, 30, 61, 24], Operations: [] Exploring Operation: 24-24=0, Resulting Numbers: [30, 61, 0] Generated Node #2: [30, 61, 0] from Operation: 24-24=0 Current State: 30:[30, 61, 0], Operations: ['24-24=0'] Exploring Operation: 61*0=0, Resulting Numbers: [30, 0] Generated Node #3: [30, 0] from Operation: 61*0=0 Current State: 30:[30, 0], Operations: ['24-24=0', '61*0=0'] Exploring Operation: 30+0=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[24, 30, 61, 24], Operations: [] Exploring Operation: 61-24=37, Resulting Numbers: [30, 24, 37] Generated Node #0,0: 30:[30, 24, 37] Operation: 61-24=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[30, 24, 37], Operations: ['61-24=37'] Exploring Operation: 37-24=13, Resulting Numbers: [30, 13] Generated Node #0,0,0: 30:[30, 13] Operation: 37-24=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[30, 13], Operations: ['61-24=37', '37-24=13'] Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 41, 19, 2, 56 ]
76
[ "41-19=22", "56-2=54", "22+54=76" ]
Current State: 76:[41, 19, 2, 56], Operations: [] Exploring Operation: 41-19=22, Resulting Numbers: [2, 56, 22] Generated Node #2: [2, 56, 22] from Operation: 41-19=22 Current State: 76:[2, 56, 22], Operations: ['41-19=22'] Exploring Operation: 56-2=54, Resulting Numbers: [22, 54] Generated Node #3: [22, 54] from Operation: 56-2=54 Current State: 76:[22, 54], Operations: ['41-19=22', '56-2=54'] Exploring Operation: 22+54=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[41, 19, 2, 56], Operations: [] Exploring Operation: 56-41=15, Resulting Numbers: [19, 2, 15] Generated Node #0,0: 76:[19, 2, 15] Operation: 56-41=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[19, 2, 15], Operations: ['56-41=15'] Exploring Operation: 19-15=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 76:[2, 4] Operation: 19-15=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[2, 4], Operations: ['56-41=15', '19-15=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,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 No solution found.
0
hs_1
sum_heuristic
[ 2, 30, 84, 73 ]
92
[ "2*73=146", "84-30=54", "146-54=92" ]
Current State: 92:[2, 30, 84, 73], Operations: [] Exploring Operation: 2*73=146, Resulting Numbers: [30, 84, 146] Generated Node #2: [30, 84, 146] from Operation: 2*73=146 Current State: 92:[30, 84, 146], Operations: ['2*73=146'] Exploring Operation: 84-30=54, Resulting Numbers: [146, 54] Generated Node #3: [146, 54] from Operation: 84-30=54 Current State: 92:[146, 54], Operations: ['2*73=146', '84-30=54'] Exploring Operation: 146-54=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[2, 30, 84, 73], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [2, 30, 11] Generated Node #0,0: 92:[2, 30, 11] Operation: 84-73=11 Exploring Operation: 73-30=43, Resulting Numbers: [2, 84, 43] Generated Node #0,1: 92:[2, 84, 43] Operation: 73-30=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[2, 84, 43], Operations: ['73-30=43'] Exploring Operation: 84-43=41, Resulting Numbers: [2, 41] Generated Node #0,1,0: 92:[2, 41] Operation: 84-43=41 Exploring Operation: 84/2=42, Resulting Numbers: [43, 42] Generated Node #0,1,1: 92:[43, 42] Operation: 84/2=42 Moving to Node #0,1,0 Current State: 92:[2, 41], Operations: ['73-30=43', '84-43=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[43, 42], Operations: ['73-30=43', '84/2=42'] Exploring Operation: 43+42=85, Resulting Numbers: [85] 85,92 unequal: No Solution Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[2, 30, 11], Operations: ['84-73=11'] Exploring Operation: 30+11=41, Resulting Numbers: [2, 41] Generated Node #0,0,0: 92:[2, 41] Operation: 30+11=41 Exploring Operation: 30-11=19, Resulting Numbers: [2, 19] Generated Node #0,0,1: 92:[2, 19] Operation: 30-11=19 Moving to Node #0,0,1 Current State: 92:[2, 19], Operations: ['84-73=11', '30-11=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[2, 41], Operations: ['84-73=11', '30+11=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 63, 31, 38, 69 ]
62
[ "31+38=69", "69/69=1", "63-1=62" ]
Current State: 62:[63, 31, 38, 69], Operations: [] Exploring Operation: 31+38=69, Resulting Numbers: [63, 69, 69] Generated Node #2: [63, 69, 69] from Operation: 31+38=69 Current State: 62:[63, 69, 69], Operations: ['31+38=69'] Exploring Operation: 69/69=1, Resulting Numbers: [63, 1] Generated Node #3: [63, 1] from Operation: 69/69=1 Current State: 62:[63, 1], Operations: ['31+38=69', '69/69=1'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[63, 31, 38, 69], Operations: [] Exploring Operation: 69-38=31, Resulting Numbers: [63, 31, 31] Generated Node #0,0: 62:[63, 31, 31] Operation: 69-38=31 Exploring Operation: 69-63=6, Resulting Numbers: [31, 38, 6] Generated Node #0,1: 62:[31, 38, 6] Operation: 69-63=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[63, 31, 31], Operations: ['69-38=31'] Exploring Operation: 63-31=32, Resulting Numbers: [31, 32] Generated Node #0,0,0: 62:[31, 32] Operation: 63-31=32 Exploring Operation: 63-31=32, Resulting Numbers: [31, 32] Generated Node #0,0,1: 62:[31, 32] Operation: 63-31=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[31, 32], Operations: ['69-38=31', '63-31=32'] Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,62 unequal: No Solution No 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: 62:[31, 32], Operations: ['69-38=31', '63-31=32'] Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,62 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: 62:[31, 38, 6], Operations: ['69-63=6'] Exploring Operation: 38-6=32, Resulting Numbers: [31, 32] Generated Node #0,1,0: 62:[31, 32] Operation: 38-6=32 Exploring Operation: 38-31=7, Resulting Numbers: [6, 7] Generated Node #0,1,1: 62:[6, 7] Operation: 38-31=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[31, 32], Operations: ['69-63=6', '38-6=32'] Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,62 unequal: No Solution No 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: 62:[6, 7], Operations: ['69-63=6', '38-31=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,62 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,62 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
[ 38, 14, 84, 49 ]
14
[ "38-14=24", "49*24=1176", "1176/84=14" ]
Current State: 14:[38, 14, 84, 49], Operations: [] Exploring Operation: 38-14=24, Resulting Numbers: [84, 49, 24] Generated Node #2: [84, 49, 24] from Operation: 38-14=24 Current State: 14:[84, 49, 24], Operations: ['38-14=24'] Exploring Operation: 49*24=1176, Resulting Numbers: [84, 1176] Generated Node #3: [84, 1176] from Operation: 49*24=1176 Current State: 14:[84, 1176], Operations: ['38-14=24', '49*24=1176'] Exploring Operation: 1176/84=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[38, 14, 84, 49], Operations: [] Exploring Operation: 84-49=35, Resulting Numbers: [38, 14, 35] Generated Node #0,0: 14:[38, 14, 35] Operation: 84-49=35 Exploring Operation: 84/14=6, Resulting Numbers: [38, 49, 6] Generated Node #0,1: 14:[38, 49, 6] Operation: 84/14=6 Exploring Operation: 84-38=46, Resulting Numbers: [14, 49, 46] Generated Node #0,2: 14:[14, 49, 46] Operation: 84-38=46 Moving to Node #0,0 Current State: 14:[38, 14, 35], Operations: ['84-49=35'] Exploring Operation: 35-14=21, Resulting Numbers: [38, 21] Generated Node #0,0,0: 14:[38, 21] Operation: 35-14=21 Exploring Operation: 38-35=3, Resulting Numbers: [14, 3] Generated Node #0,0,1: 14:[14, 3] Operation: 38-35=3 Exploring Operation: 38-14=24, Resulting Numbers: [35, 24] Generated Node #0,0,2: 14:[35, 24] Operation: 38-14=24 Moving to Node #0,1 Current State: 14:[38, 49, 6], Operations: ['84/14=6'] Exploring Operation: 49-38=11, Resulting Numbers: [6, 11] Generated Node #0,1,0: 14:[6, 11] Operation: 49-38=11 Exploring Operation: 49-6=43, Resulting Numbers: [38, 43] Generated Node #0,1,1: 14:[38, 43] Operation: 49-6=43 Exploring Operation: 38-6=32, Resulting Numbers: [49, 32] Generated Node #0,1,2: 14:[49, 32] Operation: 38-6=32 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[6, 11], Operations: ['84/14=6', '49-38=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,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,1 Current State: 14:[38, 43], Operations: ['84/14=6', '49-6=43'] Exploring Operation: 38+43=81, Resulting Numbers: [81] 81,14 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 38*43=1634, Resulting Numbers: [1634] 1634,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,2 Current State: 14:[49, 32], Operations: ['84/14=6', '38-6=32'] Exploring Operation: 49*32=1568, Resulting Numbers: [1568] 1568,14 unequal: No Solution Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,14 unequal: No Solution Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,14 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: 14:[14, 49, 46], Operations: ['84-38=46'] Exploring Operation: 49-46=3, Resulting Numbers: [14, 3] Generated Node #0,2,0: 14:[14, 3] Operation: 49-46=3 Exploring Operation: 46-14=32, Resulting Numbers: [49, 32] Generated Node #0,2,1: 14:[49, 32] Operation: 46-14=32 Exploring Operation: 49-14=35, Resulting Numbers: [46, 35] Generated Node #0,2,2: 14:[46, 35] Operation: 49-14=35 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[14, 3], Operations: ['84-38=46', '49-46=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,14 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,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,2,1 Current State: 14:[49, 32], Operations: ['84-38=46', '46-14=32'] Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,14 unequal: No Solution Exploring Operation: 49*32=1568, Resulting Numbers: [1568] 1568,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,2,2 Current State: 14:[46, 35], Operations: ['84-38=46', '49-14=35'] Exploring Operation: 46+35=81, Resulting Numbers: [81] 81,14 unequal: No Solution Exploring Operation: 46*35=1610, Resulting Numbers: [1610] 1610,14 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,14 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: 14:[14, 3], Operations: ['84-49=35', '38-35=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,14 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[38, 21], Operations: ['84-49=35', '35-14=21'] Exploring Operation: 38*21=798, Resulting Numbers: [798] 798,14 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[35, 24], Operations: ['84-49=35', '38-14=24'] Exploring Operation: 35*24=840, Resulting Numbers: [840] 840,14 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,14 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 75, 96, 21, 63 ]
63
[ "96-75=21", "21+63=84", "84-21=63" ]
Current State: 63:[75, 96, 21, 63], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [21, 63, 21] Generated Node #2: [21, 63, 21] from Operation: 96-75=21 Current State: 63:[21, 63, 21], Operations: ['96-75=21'] Exploring Operation: 21+63=84, Resulting Numbers: [84] 84,63 equal: Goal Reached Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[75, 96, 21, 63], Operations: [] Exploring Operation: 96-21=75, Resulting Numbers: [75, 63, 75] Generated Node #0,0: 63:[75, 63, 75] Operation: 96-21=75 Exploring Operation: 75-21=54, Resulting Numbers: [96, 63, 54] Generated Node #0,1: 63:[96, 63, 54] Operation: 75-21=54 Exploring Operation: 75-63=12, Resulting Numbers: [96, 21, 12] Generated Node #0,2: 63:[96, 21, 12] Operation: 75-63=12 Exploring Operation: 96-63=33, Resulting Numbers: [75, 21, 33] Generated Node #0,3: 63:[75, 21, 33] Operation: 96-63=33 Exploring Operation: 96-75=21, Resulting Numbers: [21, 63, 21] Generated Node #0,4: 63:[21, 63, 21] Operation: 96-75=21 Start Sub Search at level 1: Moving to Node #0,4 Current State: 63:[21, 63, 21], Operations: ['96-75=21'] Exploring Operation: 63/21=3, Resulting Numbers: [21, 3] Generated Node #0,4,0: 63:[21, 3] Operation: 63/21=3 Exploring Operation: 63/21=3, Resulting Numbers: [21, 3] Generated Node #0,4,1: 63:[21, 3] Operation: 63/21=3 Exploring Operation: 21-21=0, Resulting Numbers: [63, 0] Generated Node #0,4,2: 63:[63, 0] Operation: 21-21=0 Exploring Operation: 21+63=84, Resulting Numbers: [21, 84] Generated Node #0,4,3: 63:[21, 84] Operation: 21+63=84 Exploring Operation: 21/21=1, Resulting Numbers: [63, 1] Generated Node #0,4,4: 63:[63, 1] Operation: 21/21=1 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 63:[21, 3], Operations: ['96-75=21', '63/21=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[75, 96, 21, 63], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [21, 63, 21] Generated Node #0,4: 63:[21, 63, 21] Operation: 96-75=21 Moving to Node #0,4 Current State: 63:[21, 63, 21], Operations: ['96-75=21'] Exploring Operation: 63/21=3, Resulting Numbers: [21, 3] Generated Node #0,4,0: 63:[21, 3] Operation: 63/21=3 Moving to Node #0,4,0 Current State: 63:[21, 3], Operations: ['96-75=21', '63/21=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 42, 3, 3, 1 ]
17
[ "42/3=14", "3*1=3", "14+3=17" ]
Current State: 17:[42, 3, 3, 1], Operations: [] Exploring Operation: 42/3=14, Resulting Numbers: [1, 14] Generated Node #2: [1, 14] from Operation: 42/3=14 Current State: 17:[1, 14], Operations: ['42/3=14'] Exploring Operation: 3*1=3, Resulting Numbers: [14, 3] Generated Node #3: [14, 3] from Operation: 3*1=3 Current State: 17:[14, 3], Operations: ['42/3=14', '3*1=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[42, 3, 3, 1], Operations: [] Exploring Operation: 42/3=14, Resulting Numbers: [3, 1, 14] Generated Node #0,0: 17:[3, 1, 14] Operation: 42/3=14 Exploring Operation: 42/3=14, Resulting Numbers: [3, 1, 14] Generated Node #0,1: 17:[3, 1, 14] Operation: 42/3=14 Exploring Operation: 3*3=9, Resulting Numbers: [42, 1, 9] Generated Node #0,2: 17:[42, 1, 9] Operation: 3*3=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[3, 1, 14], Operations: ['42/3=14'] Exploring Operation: 3+14=17, Resulting Numbers: [1, 17] Generated Node #0,0,0: 17:[1, 17] Operation: 3+14=17 Exploring Operation: 1+14=15, Resulting Numbers: [3, 15] Generated Node #0,0,1: 17:[3, 15] Operation: 1+14=15 Exploring Operation: 3+1=4, Resulting Numbers: [14, 4] Generated Node #0,0,2: 17:[14, 4] Operation: 3+1=4 Moving to Node #0,0,0 Current State: 17:[1, 17], Operations: ['42/3=14', '3+14=17'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[42, 3, 3, 1], Operations: [] Exploring Operation: 42/3=14, Resulting Numbers: [3, 1, 14] Generated Node #0,0: 17:[3, 1, 14] Operation: 42/3=14 Moving to Node #0,0 Current State: 17:[3, 1, 14], Operations: ['42/3=14'] Exploring Operation: 3+14=17, Resulting Numbers: [1, 17] Generated Node #0,0,0: 17:[1, 17] Operation: 3+14=17 Moving to Node #0,0,0 Current State: 17:[1, 17], Operations: ['42/3=14', '3+14=17'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 93, 61, 3, 95 ]
32
[ "95-93=2", "61+3=64", "64/2=32" ]
Current State: 32:[93, 61, 3, 95], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [61, 3, 2] Generated Node #2: [61, 3, 2] from Operation: 95-93=2 Current State: 32:[61, 3, 2], Operations: ['95-93=2'] Exploring Operation: 61+3=64, Resulting Numbers: [2, 64] Generated Node #3: [2, 64] from Operation: 61+3=64 Current State: 32:[2, 64], Operations: ['95-93=2', '61+3=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[93, 61, 3, 95], Operations: [] Exploring Operation: 93-61=32, Resulting Numbers: [3, 95, 32] Generated Node #0,0: 32:[3, 95, 32] Operation: 93-61=32 Exploring Operation: 95-61=34, Resulting Numbers: [93, 3, 34] Generated Node #0,1: 32:[93, 3, 34] Operation: 95-61=34 Exploring Operation: 95-93=2, Resulting Numbers: [61, 3, 2] Generated Node #0,2: 32:[61, 3, 2] Operation: 95-93=2 Exploring Operation: 93/3=31, Resulting Numbers: [61, 95, 31] Generated Node #0,3: 32:[61, 95, 31] Operation: 93/3=31 Exploring Operation: 93-3=90, Resulting Numbers: [61, 95, 90] Generated Node #0,4: 32:[61, 95, 90] Operation: 93-3=90 Moving to Node #0,2 Current State: 32:[61, 3, 2], Operations: ['95-93=2'] Exploring Operation: 3+2=5, Resulting Numbers: [61, 5] Generated Node #0,2,0: 32:[61, 5] Operation: 3+2=5 Exploring Operation: 3-2=1, Resulting Numbers: [61, 1] Generated Node #0,2,1: 32:[61, 1] Operation: 3-2=1 Exploring Operation: 61-2=59, Resulting Numbers: [3, 59] Generated Node #0,2,2: 32:[3, 59] Operation: 61-2=59 Exploring Operation: 3*2=6, Resulting Numbers: [61, 6] Generated Node #0,2,3: 32:[61, 6] Operation: 3*2=6 Exploring Operation: 61-3=58, Resulting Numbers: [2, 58] Generated Node #0,2,4: 32:[2, 58] Operation: 61-3=58 Moving to Node #0,1 Current State: 32:[93, 3, 34], Operations: ['95-61=34'] Exploring Operation: 93-3=90, Resulting Numbers: [34, 90] Generated Node #0,1,0: 32:[34, 90] Operation: 93-3=90 Exploring Operation: 34-3=31, Resulting Numbers: [93, 31] Generated Node #0,1,1: 32:[93, 31] Operation: 34-3=31 Exploring Operation: 93/3=31, Resulting Numbers: [34, 31] Generated Node #0,1,2: 32:[34, 31] Operation: 93/3=31 Exploring Operation: 93+3=96, Resulting Numbers: [34, 96] Generated Node #0,1,3: 32:[34, 96] Operation: 93+3=96 Exploring Operation: 93-34=59, Resulting Numbers: [3, 59] Generated Node #0,1,4: 32:[3, 59] Operation: 93-34=59 Moving to Node #0,0 Current State: 32:[3, 95, 32], Operations: ['93-61=32'] Exploring Operation: 95-32=63, Resulting Numbers: [3, 63] Generated Node #0,0,0: 32:[3, 63] Operation: 95-32=63 Exploring Operation: 32-3=29, Resulting Numbers: [95, 29] Generated Node #0,0,1: 32:[95, 29] Operation: 32-3=29 Exploring Operation: 3+95=98, Resulting Numbers: [32, 98] Generated Node #0,0,2: 32:[32, 98] Operation: 3+95=98 Exploring Operation: 95-3=92, Resulting Numbers: [32, 92] Generated Node #0,0,3: 32:[32, 92] Operation: 95-3=92 Exploring Operation: 3+32=35, Resulting Numbers: [95, 35] Generated Node #0,0,4: 32:[95, 35] Operation: 3+32=35 Moving to Node #0,3 Current State: 32:[61, 95, 31], Operations: ['93/3=31'] Exploring Operation: 61-31=30, Resulting Numbers: [95, 30] Generated Node #0,3,0: 32:[95, 30] Operation: 61-31=30 Exploring Operation: 95-31=64, Resulting Numbers: [61, 64] Generated Node #0,3,1: 32:[61, 64] Operation: 95-31=64 Exploring Operation: 95+31=126, Resulting Numbers: [61, 126] Generated Node #0,3,2: 32:[61, 126] Operation: 95+31=126 Exploring Operation: 95-61=34, Resulting Numbers: [31, 34] Generated Node #0,3,3: 32:[31, 34] Operation: 95-61=34 Exploring Operation: 61+31=92, Resulting Numbers: [95, 92] Generated Node #0,3,4: 32:[95, 92] Operation: 61+31=92 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 32:[31, 34], Operations: ['93/3=31', '95-61=34'] Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 31*34=1054, Resulting Numbers: [1054] 1054,32 unequal: No Solution Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,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,3,1 Current State: 32:[61, 64], Operations: ['93/3=31', '95-31=64'] Exploring Operation: 64-61=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 61+64=125, Resulting Numbers: [125] 125,32 unequal: No Solution Exploring Operation: 61*64=3904, Resulting Numbers: [3904] 3904,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,3,0 Current State: 32:[95, 30], Operations: ['93/3=31', '61-31=30'] Exploring Operation: 95+30=125, Resulting Numbers: [125] 125,32 unequal: No Solution Exploring Operation: 95*30=2850, Resulting Numbers: [2850] 2850,32 unequal: No Solution Exploring Operation: 95-30=65, Resulting Numbers: [65] 65,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,3,2 Current State: 32:[61, 126], Operations: ['93/3=31', '95+31=126'] Exploring Operation: 61*126=7686, Resulting Numbers: [7686] 7686,32 unequal: No Solution Exploring Operation: 61+126=187, Resulting Numbers: [187] 187,32 unequal: No Solution Exploring Operation: 126-61=65, Resulting Numbers: [65] 65,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,3,4 Current State: 32:[95, 92], Operations: ['93/3=31', '61+31=92'] Exploring Operation: 95*92=8740, Resulting Numbers: [8740] 8740,32 unequal: No Solution Exploring Operation: 95+92=187, Resulting Numbers: [187] 187,32 unequal: No Solution Exploring Operation: 95-92=3, Resulting Numbers: [3] 3,32 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: 32:[61, 95, 90], Operations: ['93-3=90'] Exploring Operation: 95-61=34, Resulting Numbers: [90, 34] Generated Node #0,4,0: 32:[90, 34] Operation: 95-61=34 Exploring Operation: 90-61=29, Resulting Numbers: [95, 29] Generated Node #0,4,1: 32:[95, 29] Operation: 90-61=29 Exploring Operation: 61+90=151, Resulting Numbers: [95, 151] Generated Node #0,4,2: 32:[95, 151] Operation: 61+90=151 Exploring Operation: 95-90=5, Resulting Numbers: [61, 5] Generated Node #0,4,3: 32:[61, 5] Operation: 95-90=5 Exploring Operation: 61+95=156, Resulting Numbers: [90, 156] Generated Node #0,4,4: 32:[90, 156] Operation: 61+95=156 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 32:[61, 5], Operations: ['93-3=90', '95-90=5'] Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 61*5=305, Resulting Numbers: [305] 305,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,4,0 Current State: 32:[90, 34], Operations: ['93-3=90', '95-61=34'] Exploring Operation: 90-34=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 90+34=124, Resulting Numbers: [124] 124,32 unequal: No Solution Exploring Operation: 90*34=3060, Resulting Numbers: [3060] 3060,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,4,1 Current State: 32:[95, 29], Operations: ['93-3=90', '90-61=29'] Exploring Operation: 95-29=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 95+29=124, Resulting Numbers: [124] 124,32 unequal: No Solution Exploring Operation: 95*29=2755, Resulting Numbers: [2755] 2755,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,4,2 Current State: 32:[95, 151], Operations: ['93-3=90', '61+90=151'] Exploring Operation: 151-95=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 95+151=246, Resulting Numbers: [246] 246,32 unequal: No Solution Exploring Operation: 95*151=14345, Resulting Numbers: [14345] 14345,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,4,4 Current State: 32:[90, 156], Operations: ['93-3=90', '61+95=156'] Exploring Operation: 156-90=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 90+156=246, Resulting Numbers: [246] 246,32 unequal: No Solution Exploring Operation: 90*156=14040, Resulting Numbers: [14040] 14040,32 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: 32:[34, 31], Operations: ['95-61=34', '93/3=31'] Exploring Operation: 34+31=65, Resulting Numbers: [65] 65,32 unequal: No Solution Exploring Operation: 34*31=1054, Resulting Numbers: [1054] 1054,32 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,32 unequal: No Solution Moving to Node #0,2,4 Current State: 32:[2, 58], Operations: ['95-93=2', '61-3=58'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,32 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,32 unequal: No Solution Moving to Node #0,1,4 Current State: 32:[3, 59], Operations: ['95-61=34', '93-34=59'] Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[3, 59], Operations: ['95-93=2', '61-2=59'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[61, 5], Operations: ['95-93=2', '3+2=5'] Exploring Operation: 61*5=305, Resulting Numbers: [305] 305,32 unequal: No Solution Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[61, 1], Operations: ['95-93=2', '3-2=1'] Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,32 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,32 unequal: No Solution Moving to Node #0,2,3 Current State: 32:[61, 6], Operations: ['95-93=2', '3*2=6'] Exploring Operation: 61+6=67, Resulting Numbers: [67] 67,32 unequal: No Solution Exploring Operation: 61*6=366, Resulting Numbers: [366] 366,32 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[3, 63], Operations: ['93-61=32', '95-32=63'] Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 3*63=189, Resulting Numbers: [189] 189,32 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[32, 92], Operations: ['93-61=32', '95-3=92'] Exploring Operation: 32*92=2944, Resulting Numbers: [2944] 2944,32 unequal: No Solution Exploring Operation: 32+92=124, Resulting Numbers: [124] 124,32 unequal: No Solution Exploring Operation: 92-32=60, Resulting Numbers: [60] 60,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[34, 90], Operations: ['95-61=34', '93-3=90'] Exploring Operation: 34*90=3060, Resulting Numbers: [3060] 3060,32 unequal: No Solution Exploring Operation: 90-34=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 34+90=124, Resulting Numbers: [124] 124,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[93, 31], Operations: ['95-61=34', '34-3=31'] Exploring Operation: 93*31=2883, Resulting Numbers: [2883] 2883,32 unequal: No Solution Exploring Operation: 93/31=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 93-31=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 93+31=124, Resulting Numbers: [124] 124,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[32, 98], Operations: ['93-61=32', '3+95=98'] Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 32*98=3136, Resulting Numbers: [3136] 3136,32 unequal: No Solution Exploring Operation: 32+98=130, Resulting Numbers: [130] 130,32 unequal: No Solution Moving to Node #0,0,4 Current State: 32:[95, 35], Operations: ['93-61=32', '3+32=35'] Exploring Operation: 95+35=130, Resulting Numbers: [130] 130,32 unequal: No Solution Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 95*35=3325, Resulting Numbers: [3325] 3325,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[34, 96], Operations: ['95-61=34', '93+3=96'] Exploring Operation: 34+96=130, Resulting Numbers: [130] 130,32 unequal: No Solution Exploring Operation: 34*96=3264, Resulting Numbers: [3264] 3264,32 unequal: No Solution Exploring Operation: 96-34=62, Resulting Numbers: [62] 62,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[95, 29], Operations: ['93-61=32', '32-3=29'] Exploring Operation: 95*29=2755, Resulting Numbers: [2755] 2755,32 unequal: No Solution Exploring Operation: 95-29=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 95+29=124, Resulting Numbers: [124] 124,32 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 29, 58, 12, 72 ]
58
[ "58/29=2", "72-12=60", "60-2=58" ]
Current State: 58:[29, 58, 12, 72], Operations: [] Exploring Operation: 58/29=2, Resulting Numbers: [12, 72, 2] Generated Node #2: [12, 72, 2] from Operation: 58/29=2 Current State: 58:[12, 72, 2], Operations: ['58/29=2'] Exploring Operation: 72-12=60, Resulting Numbers: [2, 60] Generated Node #3: [2, 60] from Operation: 72-12=60 Current State: 58:[2, 60], Operations: ['58/29=2', '72-12=60'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[29, 58, 12, 72], Operations: [] Exploring Operation: 72/12=6, Resulting Numbers: [29, 58, 6] Generated Node #0,0: 58:[29, 58, 6] Operation: 72/12=6 Exploring Operation: 72-12=60, Resulting Numbers: [29, 58, 60] Generated Node #0,1: 58:[29, 58, 60] Operation: 72-12=60 Moving to Node #0,1 Current State: 58:[29, 58, 60], Operations: ['72-12=60'] Exploring Operation: 58-29=29, Resulting Numbers: [60, 29] Generated Node #0,1,0: 58:[60, 29] Operation: 58-29=29 Exploring Operation: 60-58=2, Resulting Numbers: [29, 2] Generated Node #0,1,1: 58:[29, 2] Operation: 60-58=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[29, 2], Operations: ['72-12=60', '60-58=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[29, 58, 12, 72], Operations: [] Exploring Operation: 72-12=60, Resulting Numbers: [29, 58, 60] Generated Node #0,1: 58:[29, 58, 60] Operation: 72-12=60 Moving to Node #0,1 Current State: 58:[29, 58, 60], Operations: ['72-12=60'] Exploring Operation: 60-58=2, Resulting Numbers: [29, 2] Generated Node #0,1,1: 58:[29, 2] Operation: 60-58=2 Moving to Node #0,1,1 Current State: 58:[29, 2], Operations: ['72-12=60', '60-58=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 4, 46, 30, 25 ]
99
[ "4*30=120", "46-25=21", "120-21=99" ]
Current State: 99:[4, 46, 30, 25], Operations: [] Exploring Operation: 4*30=120, Resulting Numbers: [46, 25, 120] Generated Node #2: [46, 25, 120] from Operation: 4*30=120 Current State: 99:[46, 25, 120], Operations: ['4*30=120'] Exploring Operation: 46-25=21, Resulting Numbers: [120, 21] Generated Node #3: [120, 21] from Operation: 46-25=21 Current State: 99:[120, 21], Operations: ['4*30=120', '46-25=21'] Exploring Operation: 120-21=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[4, 46, 30, 25], Operations: [] Exploring Operation: 30-25=5, Resulting Numbers: [4, 46, 5] Generated Node #0,0: 99:[4, 46, 5] Operation: 30-25=5 Exploring Operation: 4*25=100, Resulting Numbers: [46, 30, 100] Generated Node #0,1: 99:[46, 30, 100] Operation: 4*25=100 Exploring Operation: 46-25=21, Resulting Numbers: [4, 30, 21] Generated Node #0,2: 99:[4, 30, 21] Operation: 46-25=21 Exploring Operation: 46-30=16, Resulting Numbers: [4, 25, 16] Generated Node #0,3: 99:[4, 25, 16] Operation: 46-30=16 Moving to Node #0,2 Current State: 99:[4, 30, 21], Operations: ['46-25=21'] Exploring Operation: 4+30=34, Resulting Numbers: [21, 34] Generated Node #0,2,0: 99:[21, 34] Operation: 4+30=34 Exploring Operation: 30-21=9, Resulting Numbers: [4, 9] Generated Node #0,2,1: 99:[4, 9] Operation: 30-21=9 Exploring Operation: 21-4=17, Resulting Numbers: [30, 17] Generated Node #0,2,2: 99:[30, 17] Operation: 21-4=17 Exploring Operation: 4+21=25, Resulting Numbers: [30, 25] Generated Node #0,2,3: 99:[30, 25] Operation: 4+21=25 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 99:[4, 9], Operations: ['46-25=21', '30-21=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,99 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,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,2 Current State: 99:[30, 17], Operations: ['46-25=21', '21-4=17'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,99 unequal: No Solution Exploring Operation: 30*17=510, Resulting Numbers: [510] 510,99 unequal: No Solution Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,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:[21, 34], Operations: ['46-25=21', '4+30=34'] Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,99 unequal: No Solution Exploring Operation: 21*34=714, Resulting Numbers: [714] 714,99 unequal: No Solution Exploring Operation: 21+34=55, Resulting Numbers: [55] 55,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 99:[30, 25], Operations: ['46-25=21', '4+21=25'] Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,99 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,99 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: 99:[4, 25, 16], Operations: ['46-30=16'] Exploring Operation: 25-16=9, Resulting Numbers: [4, 9] Generated Node #0,3,0: 99:[4, 9] Operation: 25-16=9 Exploring Operation: 16-4=12, Resulting Numbers: [25, 12] Generated Node #0,3,1: 99:[25, 12] Operation: 16-4=12 Exploring Operation: 4*25=100, Resulting Numbers: [16, 100] Generated Node #0,3,2: 99:[16, 100] Operation: 4*25=100 Exploring Operation: 4+25=29, Resulting Numbers: [16, 29] Generated Node #0,3,3: 99:[16, 29] Operation: 4+25=29 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 99:[4, 9], Operations: ['46-30=16', '25-16=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,99 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,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:[16, 100], Operations: ['46-30=16', '4*25=100'] Exploring Operation: 16*100=1600, Resulting Numbers: [1600] 1600,99 unequal: No Solution Exploring Operation: 100-16=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 16+100=116, Resulting Numbers: [116] 116,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:[25, 12], Operations: ['46-30=16', '16-4=12'] Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,99 unequal: No Solution Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,99 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,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:[16, 29], Operations: ['46-30=16', '4+25=29'] Exploring Operation: 16*29=464, Resulting Numbers: [464] 464,99 unequal: No Solution Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,99 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,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:[4, 46, 5], Operations: ['30-25=5'] Exploring Operation: 46-4=42, Resulting Numbers: [5, 42] Generated Node #0,0,0: 99:[5, 42] Operation: 46-4=42 Exploring Operation: 5-4=1, Resulting Numbers: [46, 1] Generated Node #0,0,1: 99:[46, 1] Operation: 5-4=1 Exploring Operation: 4+5=9, Resulting Numbers: [46, 9] Generated Node #0,0,2: 99:[46, 9] Operation: 4+5=9 Exploring Operation: 46-5=41, Resulting Numbers: [4, 41] Generated Node #0,0,3: 99:[4, 41] Operation: 46-5=41 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 99:[4, 41], Operations: ['30-25=5', '46-5=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,99 unequal: No Solution Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,99 unequal: No Solution Exploring Operation: 41-4=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,0 Current State: 99:[5, 42], Operations: ['30-25=5', '46-4=42'] Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,99 unequal: No Solution Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,99 unequal: No Solution Exploring Operation: 42-5=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,2 Current State: 99:[46, 9], Operations: ['30-25=5', '4+5=9'] Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,99 unequal: No Solution Exploring Operation: 46*9=414, Resulting Numbers: [414] 414,99 unequal: No Solution Exploring Operation: 46-9=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,1 Current State: 99:[46, 1], Operations: ['30-25=5', '5-4=1'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,99 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,99 unequal: No Solution Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 99:[46, 30, 100], Operations: ['4*25=100'] Exploring Operation: 100-30=70, Resulting Numbers: [46, 70] Generated Node #0,1,0: 99:[46, 70] Operation: 100-30=70 Exploring Operation: 46+30=76, Resulting Numbers: [100, 76] Generated Node #0,1,1: 99:[100, 76] Operation: 46+30=76 Exploring Operation: 100-46=54, Resulting Numbers: [30, 54] Generated Node #0,1,2: 99:[30, 54] Operation: 100-46=54 Exploring Operation: 46-30=16, Resulting Numbers: [100, 16] Generated Node #0,1,3: 99:[100, 16] Operation: 46-30=16 Moving to Node #0,1,3 Current State: 99:[100, 16], Operations: ['4*25=100', '46-30=16'] Exploring Operation: 100*16=1600, Resulting Numbers: [1600] 1600,99 unequal: No Solution Exploring Operation: 100+16=116, Resulting Numbers: [116] 116,99 unequal: No Solution Exploring Operation: 100-16=84, Resulting Numbers: [84] 84,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[30, 54], Operations: ['4*25=100', '100-46=54'] Exploring Operation: 30*54=1620, Resulting Numbers: [1620] 1620,99 unequal: No Solution Exploring Operation: 30+54=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[100, 76], Operations: ['4*25=100', '46+30=76'] Exploring Operation: 100-76=24, Resulting Numbers: [24] 24,99 unequal: No Solution Exploring Operation: 100+76=176, Resulting Numbers: [176] 176,99 unequal: No Solution Exploring Operation: 100*76=7600, Resulting Numbers: [7600] 7600,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[46, 70], Operations: ['4*25=100', '100-30=70'] Exploring Operation: 46+70=116, Resulting Numbers: [116] 116,99 unequal: No Solution Exploring Operation: 46*70=3220, Resulting Numbers: [3220] 3220,99 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,99 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 18, 78, 64, 8 ]
52
[ "18+78=96", "96/8=12", "64-12=52" ]
Current State: 52:[18, 78, 64, 8], Operations: [] Exploring Operation: 18+78=96, Resulting Numbers: [64, 8, 96] Generated Node #2: [64, 8, 96] from Operation: 18+78=96 Current State: 52:[64, 8, 96], Operations: ['18+78=96'] Exploring Operation: 96/8=12, Resulting Numbers: [64, 12] Generated Node #3: [64, 12] from Operation: 96/8=12 Current State: 52:[64, 12], Operations: ['18+78=96', '96/8=12'] Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[18, 78, 64, 8], Operations: [] Exploring Operation: 64/8=8, Resulting Numbers: [18, 78, 8] Generated Node #0,0: 52:[18, 78, 8] Operation: 64/8=8 Exploring Operation: 78-18=60, Resulting Numbers: [64, 8, 60] Generated Node #0,1: 52:[64, 8, 60] Operation: 78-18=60 Exploring Operation: 64-8=56, Resulting Numbers: [18, 78, 56] Generated Node #0,2: 52:[18, 78, 56] Operation: 64-8=56 Exploring Operation: 78-8=70, Resulting Numbers: [18, 64, 70] Generated Node #0,3: 52:[18, 64, 70] Operation: 78-8=70 Exploring Operation: 78-64=14, Resulting Numbers: [18, 8, 14] Generated Node #0,4: 52:[18, 8, 14] Operation: 78-64=14 Moving to Node #0,4 Current State: 52:[18, 8, 14], Operations: ['78-64=14'] Exploring Operation: 14-8=6, Resulting Numbers: [18, 6] Generated Node #0,4,0: 52:[18, 6] Operation: 14-8=6 Exploring Operation: 18-8=10, Resulting Numbers: [14, 10] Generated Node #0,4,1: 52:[14, 10] Operation: 18-8=10 Exploring Operation: 8+14=22, Resulting Numbers: [18, 22] Generated Node #0,4,2: 52:[18, 22] Operation: 8+14=22 Exploring Operation: 18+8=26, Resulting Numbers: [14, 26] Generated Node #0,4,3: 52:[14, 26] Operation: 18+8=26 Exploring Operation: 18-14=4, Resulting Numbers: [8, 4] Generated Node #0,4,4: 52:[8, 4] Operation: 18-14=4 Moving to Node #0,1 Current State: 52:[64, 8, 60], Operations: ['78-18=60'] Exploring Operation: 64-8=56, Resulting Numbers: [60, 56] Generated Node #0,1,0: 52:[60, 56] Operation: 64-8=56 Exploring Operation: 64+8=72, Resulting Numbers: [60, 72] Generated Node #0,1,1: 52:[60, 72] Operation: 64+8=72 Exploring Operation: 64-60=4, Resulting Numbers: [8, 4] Generated Node #0,1,2: 52:[8, 4] Operation: 64-60=4 Exploring Operation: 64/8=8, Resulting Numbers: [60, 8] Generated Node #0,1,3: 52:[60, 8] Operation: 64/8=8 Exploring Operation: 60-8=52, Resulting Numbers: [64, 52] Generated Node #0,1,4: 52:[64, 52] Operation: 60-8=52 Moving to Node #0,0 Current State: 52:[18, 78, 8], Operations: ['64/8=8'] Exploring Operation: 78-18=60, Resulting Numbers: [8, 60] Generated Node #0,0,0: 52:[8, 60] Operation: 78-18=60 Exploring Operation: 78-8=70, Resulting Numbers: [18, 70] Generated Node #0,0,1: 52:[18, 70] Operation: 78-8=70 Exploring Operation: 78+8=86, Resulting Numbers: [18, 86] Generated Node #0,0,2: 52:[18, 86] Operation: 78+8=86 Exploring Operation: 18+8=26, Resulting Numbers: [78, 26] Generated Node #0,0,3: 52:[78, 26] Operation: 18+8=26 Exploring Operation: 18-8=10, Resulting Numbers: [78, 10] Generated Node #0,0,4: 52:[78, 10] Operation: 18-8=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[8, 60], Operations: ['64/8=8', '78-18=60'] Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[18, 78, 64, 8], Operations: [] Exploring Operation: 64/8=8, Resulting Numbers: [18, 78, 8] Generated Node #0,0: 52:[18, 78, 8] Operation: 64/8=8 Moving to Node #0,0 Current State: 52:[18, 78, 8], Operations: ['64/8=8'] Exploring Operation: 78-18=60, Resulting Numbers: [8, 60] Generated Node #0,0,0: 52:[8, 60] Operation: 78-18=60 Moving to Node #0,0,0 Current State: 52:[8, 60], Operations: ['64/8=8', '78-18=60'] Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 17, 3, 7, 9 ]
95
[ "9-3=6", "17*6=102", "102-7=95" ]
Current State: 95:[17, 3, 7, 9], Operations: [] Exploring Operation: 9-3=6, Resulting Numbers: [17, 7, 6] Generated Node #2: [17, 7, 6] from Operation: 9-3=6 Current State: 95:[17, 7, 6], Operations: ['9-3=6'] Exploring Operation: 17*6=102, Resulting Numbers: [7, 102] Generated Node #3: [7, 102] from Operation: 17*6=102 Current State: 95:[7, 102], Operations: ['9-3=6', '17*6=102'] Exploring Operation: 102-7=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[17, 3, 7, 9], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [17, 7, 3] Generated Node #0,0: 95:[17, 7, 3] Operation: 9/3=3 Exploring Operation: 17+3=20, Resulting Numbers: [7, 9, 20] Generated Node #0,1: 95:[7, 9, 20] Operation: 17+3=20 Exploring Operation: 9-3=6, Resulting Numbers: [17, 7, 6] Generated Node #0,2: 95:[17, 7, 6] Operation: 9-3=6 Exploring Operation: 17-9=8, Resulting Numbers: [3, 7, 8] Generated Node #0,3: 95:[3, 7, 8] Operation: 17-9=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[17, 7, 6], Operations: ['9-3=6'] Exploring Operation: 17+7=24, Resulting Numbers: [6, 24] Generated Node #0,2,0: 95:[6, 24] Operation: 17+7=24 Exploring Operation: 7-6=1, Resulting Numbers: [17, 1] Generated Node #0,2,1: 95:[17, 1] Operation: 7-6=1 Exploring Operation: 17+6=23, Resulting Numbers: [7, 23] Generated Node #0,2,2: 95:[7, 23] Operation: 17+6=23 Exploring Operation: 17-7=10, Resulting Numbers: [6, 10] Generated Node #0,2,3: 95:[6, 10] Operation: 17-7=10 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 95:[6, 24], Operations: ['9-3=6', '17+7=24'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 6*24=144, Resulting Numbers: [144] 144,95 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,95 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,95 unequal: No Solution No 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: 95:[17, 1], Operations: ['9-3=6', '7-6=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,95 unequal: No Solution No 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: 95:[7, 23], Operations: ['9-3=6', '17+6=23'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,95 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,95 unequal: No Solution No 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: 95:[6, 10], Operations: ['9-3=6', '17-7=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,95 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,95 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: 95:[17, 7, 3], Operations: ['9/3=3'] Exploring Operation: 17+7=24, Resulting Numbers: [3, 24] Generated Node #0,0,0: 95:[3, 24] Operation: 17+7=24 Exploring Operation: 17+3=20, Resulting Numbers: [7, 20] Generated Node #0,0,1: 95:[7, 20] Operation: 17+3=20 Exploring Operation: 7*3=21, Resulting Numbers: [17, 21] Generated Node #0,0,2: 95:[17, 21] Operation: 7*3=21 Exploring Operation: 7-3=4, Resulting Numbers: [17, 4] Generated Node #0,0,3: 95:[17, 4] Operation: 7-3=4 Moving to Node #0,0,1 Current State: 95:[7, 20], Operations: ['9/3=3', '17+3=20'] Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,95 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[17, 4], Operations: ['9/3=3', '7-3=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[17, 21], Operations: ['9/3=3', '7*3=21'] Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,95 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,95 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[3, 24], Operations: ['9/3=3', '17+7=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[7, 9, 20], Operations: ['17+3=20'] Exploring Operation: 20-9=11, Resulting Numbers: [7, 11] Generated Node #0,1,0: 95:[7, 11] Operation: 20-9=11 Exploring Operation: 9-7=2, Resulting Numbers: [20, 2] Generated Node #0,1,1: 95:[20, 2] Operation: 9-7=2 Exploring Operation: 7+9=16, Resulting Numbers: [20, 16] Generated Node #0,1,2: 95:[20, 16] Operation: 7+9=16 Exploring Operation: 20-7=13, Resulting Numbers: [9, 13] Generated Node #0,1,3: 95:[9, 13] Operation: 20-7=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[20, 2], Operations: ['17+3=20', '9-7=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,95 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,95 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,95 unequal: No Solution No 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: 95:[20, 16], Operations: ['17+3=20', '7+9=16'] Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,95 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,95 unequal: No Solution No 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: 95:[7, 11], Operations: ['17+3=20', '20-9=11'] Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,95 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 95:[9, 13], Operations: ['17+3=20', '20-7=13'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,95 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,95 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: 95:[3, 7, 8], Operations: ['17-9=8'] Exploring Operation: 7+8=15, Resulting Numbers: [3, 15] Generated Node #0,3,0: 95:[3, 15] Operation: 7+8=15 Exploring Operation: 7-3=4, Resulting Numbers: [8, 4] Generated Node #0,3,1: 95:[8, 4] Operation: 7-3=4 Exploring Operation: 3*7=21, Resulting Numbers: [8, 21] Generated Node #0,3,2: 95:[8, 21] Operation: 3*7=21 Exploring Operation: 8-3=5, Resulting Numbers: [7, 5] Generated Node #0,3,3: 95:[7, 5] Operation: 8-3=5 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 95:[7, 5], Operations: ['17-9=8', '8-3=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,95 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,95 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,95 unequal: No Solution No 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: 95:[8, 4], Operations: ['17-9=8', '7-3=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,95 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,95 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,95 unequal: No Solution No 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: 95:[8, 21], Operations: ['17-9=8', '3*7=21'] Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,95 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,95 unequal: No Solution No 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: 95:[3, 15], Operations: ['17-9=8', '7+8=15'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,95 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,95 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 44, 88, 1, 8 ]
14
[ "88/44=2", "8-1=7", "2*7=14" ]
Current State: 14:[44, 88, 1, 8], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [1, 8, 2] Generated Node #2: [1, 8, 2] from Operation: 88/44=2 Current State: 14:[1, 8, 2], Operations: ['88/44=2'] Exploring Operation: 8-1=7, Resulting Numbers: [2, 7] Generated Node #3: [2, 7] from Operation: 8-1=7 Current State: 14:[2, 7], Operations: ['88/44=2', '8-1=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[44, 88, 1, 8], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [1, 8, 2] Generated Node #0,0: 14:[1, 8, 2] Operation: 88/44=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[1, 8, 2], Operations: ['88/44=2'] Exploring Operation: 8-1=7, Resulting Numbers: [2, 7] Generated Node #0,0,0: 14:[2, 7] Operation: 8-1=7 Moving to Node #0,0,0 Current State: 14:[2, 7], Operations: ['88/44=2', '8-1=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[44, 88, 1, 8], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [1, 8, 2] Generated Node #0,0: 14:[1, 8, 2] Operation: 88/44=2 Moving to Node #0,0 Current State: 14:[1, 8, 2], Operations: ['88/44=2'] Exploring Operation: 8-1=7, Resulting Numbers: [2, 7] Generated Node #0,0,0: 14:[2, 7] Operation: 8-1=7 Moving to Node #0,0,0 Current State: 14:[2, 7], Operations: ['88/44=2', '8-1=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 81, 40, 68, 67 ]
24
[ "81*40=3240", "68+67=135", "3240/135=24" ]
Current State: 24:[81, 40, 68, 67], Operations: [] Exploring Operation: 81*40=3240, Resulting Numbers: [68, 67, 3240] Generated Node #2: [68, 67, 3240] from Operation: 81*40=3240 Current State: 24:[68, 67, 3240], Operations: ['81*40=3240'] Exploring Operation: 68+67=135, Resulting Numbers: [3240, 135] Generated Node #3: [3240, 135] from Operation: 68+67=135 Current State: 24:[3240, 135], Operations: ['81*40=3240', '68+67=135'] Exploring Operation: 3240/135=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[81, 40, 68, 67], Operations: [] Exploring Operation: 81-67=14, Resulting Numbers: [40, 68, 14] Generated Node #0,0: 24:[40, 68, 14] Operation: 81-67=14 Exploring Operation: 81-68=13, Resulting Numbers: [40, 67, 13] Generated Node #0,1: 24:[40, 67, 13] Operation: 81-68=13 Exploring Operation: 81-40=41, Resulting Numbers: [68, 67, 41] Generated Node #0,2: 24:[68, 67, 41] Operation: 81-40=41 Exploring Operation: 68-40=28, Resulting Numbers: [81, 67, 28] Generated Node #0,3: 24:[81, 67, 28] Operation: 68-40=28 Exploring Operation: 68-67=1, Resulting Numbers: [81, 40, 1] Generated Node #0,4: 24:[81, 40, 1] Operation: 68-67=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[40, 67, 13], Operations: ['81-68=13'] Exploring Operation: 40+13=53, Resulting Numbers: [67, 53] Generated Node #0,1,0: 24:[67, 53] Operation: 40+13=53 Exploring Operation: 67-13=54, Resulting Numbers: [40, 54] Generated Node #0,1,1: 24:[40, 54] Operation: 67-13=54 Exploring Operation: 40-13=27, Resulting Numbers: [67, 27] Generated Node #0,1,2: 24:[67, 27] Operation: 40-13=27 Exploring Operation: 67+13=80, Resulting Numbers: [40, 80] Generated Node #0,1,3: 24:[40, 80] Operation: 67+13=80 Exploring Operation: 67-40=27, Resulting Numbers: [13, 27] Generated Node #0,1,4: 24:[13, 27] Operation: 67-40=27 Moving to Node #0,1,4 Current State: 24:[13, 27], Operations: ['81-68=13', '67-40=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,24 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 13*27=351, Resulting Numbers: [351] 351,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[67, 27], Operations: ['81-68=13', '40-13=27'] Exploring Operation: 67+27=94, Resulting Numbers: [94] 94,24 unequal: No Solution Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,24 unequal: No Solution Exploring Operation: 67*27=1809, Resulting Numbers: [1809] 1809,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[40, 54], Operations: ['81-68=13', '67-13=54'] Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,24 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[67, 53], Operations: ['81-68=13', '40+13=53'] Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 67*53=3551, Resulting Numbers: [3551] 3551,24 unequal: No Solution Exploring Operation: 67+53=120, Resulting Numbers: [120] 120,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[40, 80], Operations: ['81-68=13', '67+13=80'] Exploring Operation: 80-40=40, Resulting Numbers: [40] 40,24 unequal: No Solution Exploring Operation: 40*80=3200, Resulting Numbers: [3200] 3200,24 unequal: No Solution Exploring Operation: 40+80=120, Resulting Numbers: [120] 120,24 unequal: No Solution Exploring Operation: 80/40=2, Resulting Numbers: [2] 2,24 unequal: No Solution No 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: 24:[40, 68, 14], Operations: ['81-67=14'] Exploring Operation: 68-14=54, Resulting Numbers: [40, 54] Generated Node #0,0,0: 24:[40, 54] Operation: 68-14=54 Exploring Operation: 40-14=26, Resulting Numbers: [68, 26] Generated Node #0,0,1: 24:[68, 26] Operation: 40-14=26 Exploring Operation: 68-40=28, Resulting Numbers: [14, 28] Generated Node #0,0,2: 24:[14, 28] Operation: 68-40=28 Exploring Operation: 68+14=82, Resulting Numbers: [40, 82] Generated Node #0,0,3: 24:[40, 82] Operation: 68+14=82 Exploring Operation: 40+14=54, Resulting Numbers: [68, 54] Generated Node #0,0,4: 24:[68, 54] Operation: 40+14=54 Moving to Node #0,0,2 Current State: 24:[14, 28], Operations: ['81-67=14', '68-40=28'] Exploring Operation: 14*28=392, Resulting Numbers: [392] 392,24 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[68, 26], Operations: ['81-67=14', '40-14=26'] Exploring Operation: 68*26=1768, Resulting Numbers: [1768] 1768,24 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 68+26=94, Resulting Numbers: [94] 94,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[40, 54], Operations: ['81-67=14', '68-14=54'] Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,24 unequal: No Solution Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,24 unequal: No Solution Moving to Node #0,0,3 Current State: 24:[40, 82], Operations: ['81-67=14', '68+14=82'] Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 40+82=122, Resulting Numbers: [122] 122,24 unequal: No Solution Exploring Operation: 40*82=3280, Resulting Numbers: [3280] 3280,24 unequal: No Solution Moving to Node #0,0,4 Current State: 24:[68, 54], Operations: ['81-67=14', '40+14=54'] Exploring Operation: 68*54=3672, Resulting Numbers: [3672] 3672,24 unequal: No Solution Exploring Operation: 68+54=122, Resulting Numbers: [122] 122,24 unequal: No Solution Exploring Operation: 68-54=14, Resulting Numbers: [14] 14,24 unequal: No Solution No 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: 24:[81, 40, 1], Operations: ['68-67=1'] Exploring Operation: 81*1=81, Resulting Numbers: [40, 81] Generated Node #0,4,0: 24:[40, 81] Operation: 81*1=81 Exploring Operation: 40-1=39, Resulting Numbers: [81, 39] Generated Node #0,4,1: 24:[81, 39] Operation: 40-1=39 Exploring Operation: 81-1=80, Resulting Numbers: [40, 80] Generated Node #0,4,2: 24:[40, 80] Operation: 81-1=80 Exploring Operation: 81-40=41, Resulting Numbers: [1, 41] Generated Node #0,4,3: 24:[1, 41] Operation: 81-40=41 Exploring Operation: 81/1=81, Resulting Numbers: [40, 81] Generated Node #0,4,4: 24:[40, 81] Operation: 81/1=81 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 24:[1, 41], Operations: ['68-67=1', '81-40=41'] Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 1+41=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 24:[81, 39], Operations: ['68-67=1', '40-1=39'] Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,24 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 24:[40, 80], Operations: ['68-67=1', '81-1=80'] Exploring Operation: 40*80=3200, Resulting Numbers: [3200] 3200,24 unequal: No Solution Exploring Operation: 40+80=120, Resulting Numbers: [120] 120,24 unequal: No Solution Exploring Operation: 80-40=40, Resulting Numbers: [40] 40,24 unequal: No Solution Exploring Operation: 80/40=2, Resulting Numbers: [2] 2,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 24:[40, 81], Operations: ['68-67=1', '81*1=81'] Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 40*81=3240, Resulting Numbers: [3240] 3240,24 unequal: No Solution Exploring Operation: 40+81=121, Resulting Numbers: [121] 121,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 24:[40, 81], Operations: ['68-67=1', '81/1=81'] Exploring Operation: 40+81=121, Resulting Numbers: [121] 121,24 unequal: No Solution Exploring Operation: 40*81=3240, Resulting Numbers: [3240] 3240,24 unequal: No Solution Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,24 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: 24:[68, 67, 41], Operations: ['81-40=41'] Exploring Operation: 68-67=1, Resulting Numbers: [41, 1] Generated Node #0,2,0: 24:[41, 1] Operation: 68-67=1 Exploring Operation: 68-41=27, Resulting Numbers: [67, 27] Generated Node #0,2,1: 24:[67, 27] Operation: 68-41=27 Exploring Operation: 68+41=109, Resulting Numbers: [67, 109] Generated Node #0,2,2: 24:[67, 109] Operation: 68+41=109 Exploring Operation: 67-41=26, Resulting Numbers: [68, 26] Generated Node #0,2,3: 24:[68, 26] Operation: 67-41=26 Exploring Operation: 68+67=135, Resulting Numbers: [41, 135] Generated Node #0,2,4: 24:[41, 135] Operation: 68+67=135 Moving to Node #0,2,0 Current State: 24:[41, 1], Operations: ['81-40=41', '68-67=1'] Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,24 unequal: No Solution Exploring Operation: 41+1=42, Resulting Numbers: [42] 42,24 unequal: No Solution Moving to Node #0,2,3 Current State: 24:[68, 26], Operations: ['81-40=41', '67-41=26'] Exploring Operation: 68+26=94, Resulting Numbers: [94] 94,24 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 68*26=1768, Resulting Numbers: [1768] 1768,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[67, 27], Operations: ['81-40=41', '68-41=27'] Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,24 unequal: No Solution Exploring Operation: 67*27=1809, Resulting Numbers: [1809] 1809,24 unequal: No Solution Exploring Operation: 67+27=94, Resulting Numbers: [94] 94,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[67, 109], Operations: ['81-40=41', '68+41=109'] Exploring Operation: 67*109=7303, Resulting Numbers: [7303] 7303,24 unequal: No Solution Exploring Operation: 109-67=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 67+109=176, Resulting Numbers: [176] 176,24 unequal: No Solution Moving to Node #0,2,4 Current State: 24:[41, 135], Operations: ['81-40=41', '68+67=135'] Exploring Operation: 41+135=176, Resulting Numbers: [176] 176,24 unequal: No Solution Exploring Operation: 135-41=94, Resulting Numbers: [94] 94,24 unequal: No Solution Exploring Operation: 41*135=5535, Resulting Numbers: [5535] 5535,24 unequal: No Solution No 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: 24:[81, 67, 28], Operations: ['68-40=28'] Exploring Operation: 81+28=109, Resulting Numbers: [67, 109] Generated Node #0,3,0: 24:[67, 109] Operation: 81+28=109 Exploring Operation: 81+67=148, Resulting Numbers: [28, 148] Generated Node #0,3,1: 24:[28, 148] Operation: 81+67=148 Exploring Operation: 81-28=53, Resulting Numbers: [67, 53] Generated Node #0,3,2: 24:[67, 53] Operation: 81-28=53 Exploring Operation: 67-28=39, Resulting Numbers: [81, 39] Generated Node #0,3,3: 24:[81, 39] Operation: 67-28=39 Exploring Operation: 81-67=14, Resulting Numbers: [28, 14] Generated Node #0,3,4: 24:[28, 14] Operation: 81-67=14 Moving to Node #0,3,4 Current State: 24:[28, 14], Operations: ['68-40=28', '81-67=14'] Exploring Operation: 28*14=392, Resulting Numbers: [392] 392,24 unequal: No Solution Exploring Operation: 28+14=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[81, 39], Operations: ['68-40=28', '67-28=39'] Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,24 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,24 unequal: No Solution Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[67, 53], Operations: ['68-40=28', '81-28=53'] Exploring Operation: 67*53=3551, Resulting Numbers: [3551] 3551,24 unequal: No Solution Exploring Operation: 67-53=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 67+53=120, Resulting Numbers: [120] 120,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[67, 109], Operations: ['68-40=28', '81+28=109'] Exploring Operation: 67*109=7303, Resulting Numbers: [7303] 7303,24 unequal: No Solution Exploring Operation: 67+109=176, Resulting Numbers: [176] 176,24 unequal: No Solution Exploring Operation: 109-67=42, Resulting Numbers: [42] 42,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[28, 148], Operations: ['68-40=28', '81+67=148'] Exploring Operation: 148-28=120, Resulting Numbers: [120] 120,24 unequal: No Solution Exploring Operation: 28*148=4144, Resulting Numbers: [4144] 4144,24 unequal: No Solution Exploring Operation: 28+148=176, Resulting Numbers: [176] 176,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 92, 46, 70, 2 ]
35
[ "92+70=162", "162/2=81", "81-46=35" ]
Current State: 35:[92, 46, 70, 2], Operations: [] Exploring Operation: 92+70=162, Resulting Numbers: [46, 2, 162] Generated Node #2: [46, 2, 162] from Operation: 92+70=162 Current State: 35:[46, 2, 162], Operations: ['92+70=162'] Exploring Operation: 162/2=81, Resulting Numbers: [46, 81] Generated Node #3: [46, 81] from Operation: 162/2=81 Current State: 35:[46, 81], Operations: ['92+70=162', '162/2=81'] Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[92, 46, 70, 2], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [70, 2, 2] Generated Node #0,0: 35:[70, 2, 2] Operation: 92/46=2 Exploring Operation: 92-46=46, Resulting Numbers: [70, 2, 46] Generated Node #0,1: 35:[70, 2, 46] Operation: 92-46=46 Exploring Operation: 92-70=22, Resulting Numbers: [46, 2, 22] Generated Node #0,2: 35:[46, 2, 22] Operation: 92-70=22 Exploring Operation: 92/2=46, Resulting Numbers: [46, 70, 46] Generated Node #0,3: 35:[46, 70, 46] Operation: 92/2=46 Moving to Node #0,2 Current State: 35:[46, 2, 22], Operations: ['92-70=22'] Exploring Operation: 22/2=11, Resulting Numbers: [46, 11] Generated Node #0,2,0: 35:[46, 11] Operation: 22/2=11 Exploring Operation: 46-2=44, Resulting Numbers: [22, 44] Generated Node #0,2,1: 35:[22, 44] Operation: 46-2=44 Exploring Operation: 2*22=44, Resulting Numbers: [46, 44] Generated Node #0,2,2: 35:[46, 44] Operation: 2*22=44 Exploring Operation: 46-22=24, Resulting Numbers: [2, 24] Generated Node #0,2,3: 35:[2, 24] Operation: 46-22=24 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 35:[2, 24], Operations: ['92-70=22', '46-22=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,35 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,35 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,35 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 35:[46, 11], Operations: ['92-70=22', '22/2=11'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[92, 46, 70, 2], Operations: [] Exploring Operation: 92-70=22, Resulting Numbers: [46, 2, 22] Generated Node #0,2: 35:[46, 2, 22] Operation: 92-70=22 Moving to Node #0,2 Current State: 35:[46, 2, 22], Operations: ['92-70=22'] Exploring Operation: 22/2=11, Resulting Numbers: [46, 11] Generated Node #0,2,0: 35:[46, 11] Operation: 22/2=11 Moving to Node #0,2,0 Current State: 35:[46, 11], Operations: ['92-70=22', '22/2=11'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 44, 40, 51, 22 ]
89
[ "44/22=2", "40+51=91", "91-2=89" ]
Current State: 89:[44, 40, 51, 22], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [40, 51, 2] Generated Node #2: [40, 51, 2] from Operation: 44/22=2 Current State: 89:[40, 51, 2], Operations: ['44/22=2'] Exploring Operation: 40+51=91, Resulting Numbers: [2, 91] Generated Node #3: [2, 91] from Operation: 40+51=91 Current State: 89:[2, 91], Operations: ['44/22=2', '40+51=91'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[44, 40, 51, 22], Operations: [] Exploring Operation: 40+22=62, Resulting Numbers: [44, 51, 62] Generated Node #0,0: 89:[44, 51, 62] Operation: 40+22=62 Exploring Operation: 44+22=66, Resulting Numbers: [40, 51, 66] Generated Node #0,1: 89:[40, 51, 66] Operation: 44+22=66 Exploring Operation: 51+22=73, Resulting Numbers: [44, 40, 73] Generated Node #0,2: 89:[44, 40, 73] Operation: 51+22=73 Exploring Operation: 44+40=84, Resulting Numbers: [51, 22, 84] Generated Node #0,3: 89:[51, 22, 84] Operation: 44+40=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[44, 51, 62], Operations: ['40+22=62'] Exploring Operation: 51-44=7, Resulting Numbers: [62, 7] Generated Node #0,0,0: 89:[62, 7] Operation: 51-44=7 Exploring Operation: 44+62=106, Resulting Numbers: [51, 106] Generated Node #0,0,1: 89:[51, 106] Operation: 44+62=106 Exploring Operation: 44+51=95, Resulting Numbers: [62, 95] Generated Node #0,0,2: 89:[62, 95] Operation: 44+51=95 Exploring Operation: 51+62=113, Resulting Numbers: [44, 113] Generated Node #0,0,3: 89:[44, 113] Operation: 51+62=113 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 89:[62, 95], Operations: ['40+22=62', '44+51=95'] Exploring Operation: 95-62=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 62*95=5890, Resulting Numbers: [5890] 5890,89 unequal: No Solution Exploring Operation: 62+95=157, Resulting Numbers: [157] 157,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:[51, 106], Operations: ['40+22=62', '44+62=106'] Exploring Operation: 51*106=5406, Resulting Numbers: [5406] 5406,89 unequal: No Solution Exploring Operation: 106-51=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 51+106=157, Resulting Numbers: [157] 157,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,3 Current State: 89:[44, 113], Operations: ['40+22=62', '51+62=113'] Exploring Operation: 113-44=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 44+113=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 44*113=4972, Resulting Numbers: [4972] 4972,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,0 Current State: 89:[62, 7], Operations: ['40+22=62', '51-44=7'] Exploring Operation: 62*7=434, Resulting Numbers: [434] 434,89 unequal: No Solution Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,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:[40, 51, 66], Operations: ['44+22=66'] Exploring Operation: 51+66=117, Resulting Numbers: [40, 117] Generated Node #0,1,0: 89:[40, 117] Operation: 51+66=117 Exploring Operation: 40+51=91, Resulting Numbers: [66, 91] Generated Node #0,1,1: 89:[66, 91] Operation: 40+51=91 Exploring Operation: 40+66=106, Resulting Numbers: [51, 106] Generated Node #0,1,2: 89:[51, 106] Operation: 40+66=106 Exploring Operation: 51-40=11, Resulting Numbers: [66, 11] Generated Node #0,1,3: 89:[66, 11] Operation: 51-40=11 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[66, 91], Operations: ['44+22=66', '40+51=91'] Exploring Operation: 91-66=25, Resulting Numbers: [25] 25,89 unequal: No Solution Exploring Operation: 66*91=6006, Resulting Numbers: [6006] 6006,89 unequal: No Solution Exploring Operation: 66+91=157, Resulting Numbers: [157] 157,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,2 Current State: 89:[51, 106], Operations: ['44+22=66', '40+66=106'] Exploring Operation: 106-51=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 51+106=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 51*106=5406, Resulting Numbers: [5406] 5406,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:[40, 117], Operations: ['44+22=66', '51+66=117'] Exploring Operation: 117-40=77, Resulting Numbers: [77] 77,89 unequal: No Solution Exploring Operation: 40+117=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 40*117=4680, Resulting Numbers: [4680] 4680,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,3 Current State: 89:[66, 11], Operations: ['44+22=66', '51-40=11'] Exploring Operation: 66*11=726, Resulting Numbers: [726] 726,89 unequal: No Solution Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,89 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,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,2 Current State: 89:[44, 40, 73], Operations: ['51+22=73'] Exploring Operation: 44-40=4, Resulting Numbers: [73, 4] Generated Node #0,2,0: 89:[73, 4] Operation: 44-40=4 Exploring Operation: 40+73=113, Resulting Numbers: [44, 113] Generated Node #0,2,1: 89:[44, 113] Operation: 40+73=113 Exploring Operation: 44+73=117, Resulting Numbers: [40, 117] Generated Node #0,2,2: 89:[40, 117] Operation: 44+73=117 Exploring Operation: 44+40=84, Resulting Numbers: [73, 84] Generated Node #0,2,3: 89:[73, 84] Operation: 44+40=84 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 89:[73, 84], Operations: ['51+22=73', '44+40=84'] Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 73*84=6132, Resulting Numbers: [6132] 6132,89 unequal: No Solution Exploring Operation: 73+84=157, Resulting Numbers: [157] 157,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,2,1 Current State: 89:[44, 113], Operations: ['51+22=73', '40+73=113'] Exploring Operation: 44+113=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 113-44=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 44*113=4972, Resulting Numbers: [4972] 4972,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,2,2 Current State: 89:[40, 117], Operations: ['51+22=73', '44+73=117'] Exploring Operation: 40+117=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 40*117=4680, Resulting Numbers: [4680] 4680,89 unequal: No Solution Exploring Operation: 117-40=77, Resulting Numbers: [77] 77,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,2,0 Current State: 89:[73, 4], Operations: ['51+22=73', '44-40=4'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 73*4=292, Resulting Numbers: [292] 292,89 unequal: No Solution Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,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,3 Current State: 89:[51, 22, 84], Operations: ['44+40=84'] Exploring Operation: 84-22=62, Resulting Numbers: [51, 62] Generated Node #0,3,0: 89:[51, 62] Operation: 84-22=62 Exploring Operation: 51+22=73, Resulting Numbers: [84, 73] Generated Node #0,3,1: 89:[84, 73] Operation: 51+22=73 Exploring Operation: 22+84=106, Resulting Numbers: [51, 106] Generated Node #0,3,2: 89:[51, 106] Operation: 22+84=106 Exploring Operation: 51-22=29, Resulting Numbers: [84, 29] Generated Node #0,3,3: 89:[84, 29] Operation: 51-22=29 Moving to Node #0,3,1 Current State: 89:[84, 73], Operations: ['44+40=84', '51+22=73'] Exploring Operation: 84*73=6132, Resulting Numbers: [6132] 6132,89 unequal: No Solution Exploring Operation: 84+73=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[51, 106], Operations: ['44+40=84', '22+84=106'] Exploring Operation: 106-51=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 51+106=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 51*106=5406, Resulting Numbers: [5406] 5406,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[84, 29], Operations: ['44+40=84', '51-22=29'] Exploring Operation: 84-29=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 84*29=2436, Resulting Numbers: [2436] 2436,89 unequal: No Solution Exploring Operation: 84+29=113, Resulting Numbers: [113] 113,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[51, 62], Operations: ['44+40=84', '84-22=62'] Exploring Operation: 62-51=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 51*62=3162, Resulting Numbers: [3162] 3162,89 unequal: No Solution Exploring Operation: 51+62=113, Resulting Numbers: [113] 113,89 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
[ 67, 99, 39, 46 ]
64
[ "99+39=138", "138/46=3", "67-3=64" ]
Current State: 64:[67, 99, 39, 46], Operations: [] Exploring Operation: 99+39=138, Resulting Numbers: [67, 46, 138] Generated Node #2: [67, 46, 138] from Operation: 99+39=138 Current State: 64:[67, 46, 138], Operations: ['99+39=138'] Exploring Operation: 138/46=3, Resulting Numbers: [67, 3] Generated Node #3: [67, 3] from Operation: 138/46=3 Current State: 64:[67, 3], Operations: ['99+39=138', '138/46=3'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[67, 99, 39, 46], Operations: [] Exploring Operation: 99-67=32, Resulting Numbers: [39, 46, 32] Generated Node #0,0: 64:[39, 46, 32] Operation: 99-67=32 Exploring Operation: 99-39=60, Resulting Numbers: [67, 46, 60] Generated Node #0,1: 64:[67, 46, 60] Operation: 99-39=60 Exploring Operation: 46-39=7, Resulting Numbers: [67, 99, 7] Generated Node #0,2: 64:[67, 99, 7] Operation: 46-39=7 Exploring Operation: 99-46=53, Resulting Numbers: [67, 39, 53] Generated Node #0,3: 64:[67, 39, 53] Operation: 99-46=53 Moving to Node #0,0 Current State: 64:[39, 46, 32], Operations: ['99-67=32'] Exploring Operation: 39+46=85, Resulting Numbers: [32, 85] Generated Node #0,0,0: 64:[32, 85] Operation: 39+46=85 Exploring Operation: 39-32=7, Resulting Numbers: [46, 7] Generated Node #0,0,1: 64:[46, 7] Operation: 39-32=7 Exploring Operation: 46-39=7, Resulting Numbers: [32, 7] Generated Node #0,0,2: 64:[32, 7] Operation: 46-39=7 Exploring Operation: 46-32=14, Resulting Numbers: [39, 14] Generated Node #0,0,3: 64:[39, 14] Operation: 46-32=14 Moving to Node #0,3 Current State: 64:[67, 39, 53], Operations: ['99-46=53'] Exploring Operation: 53-39=14, Resulting Numbers: [67, 14] Generated Node #0,3,0: 64:[67, 14] Operation: 53-39=14 Exploring Operation: 39+53=92, Resulting Numbers: [67, 92] Generated Node #0,3,1: 64:[67, 92] Operation: 39+53=92 Exploring Operation: 67-39=28, Resulting Numbers: [53, 28] Generated Node #0,3,2: 64:[53, 28] Operation: 67-39=28 Exploring Operation: 67-53=14, Resulting Numbers: [39, 14] Generated Node #0,3,3: 64:[39, 14] Operation: 67-53=14 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[67, 14], Operations: ['99-46=53', '53-39=14'] Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,64 unequal: No Solution Exploring Operation: 67+14=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 67*14=938, Resulting Numbers: [938] 938,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 64:[39, 14], Operations: ['99-46=53', '67-53=14'] Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,64 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 64:[53, 28], Operations: ['99-46=53', '67-39=28'] Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,64 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[67, 92], Operations: ['99-46=53', '39+53=92'] Exploring Operation: 67*92=6164, Resulting Numbers: [6164] 6164,64 unequal: No Solution Exploring Operation: 67+92=159, Resulting Numbers: [159] 159,64 unequal: No Solution Exploring Operation: 92-67=25, Resulting Numbers: [25] 25,64 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: 64:[67, 46, 60], Operations: ['99-39=60'] Exploring Operation: 67-46=21, Resulting Numbers: [60, 21] Generated Node #0,1,0: 64:[60, 21] Operation: 67-46=21 Exploring Operation: 60-46=14, Resulting Numbers: [67, 14] Generated Node #0,1,1: 64:[67, 14] Operation: 60-46=14 Exploring Operation: 67-60=7, Resulting Numbers: [46, 7] Generated Node #0,1,2: 64:[46, 7] Operation: 67-60=7 Exploring Operation: 46+60=106, Resulting Numbers: [67, 106] Generated Node #0,1,3: 64:[67, 106] Operation: 46+60=106 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[67, 14], Operations: ['99-39=60', '60-46=14'] Exploring Operation: 67+14=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,64 unequal: No Solution Exploring Operation: 67*14=938, Resulting Numbers: [938] 938,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[60, 21], Operations: ['99-39=60', '67-46=21'] Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 60*21=1260, Resulting Numbers: [1260] 1260,64 unequal: No Solution Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[46, 7], Operations: ['99-39=60', '67-60=7'] Exploring Operation: 46*7=322, Resulting Numbers: [322] 322,64 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,64 unequal: No Solution Exploring Operation: 46+7=53, Resulting Numbers: [53] 53,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 64:[67, 106], Operations: ['99-39=60', '46+60=106'] Exploring Operation: 106-67=39, Resulting Numbers: [39] 39,64 unequal: No Solution Exploring Operation: 67*106=7102, Resulting Numbers: [7102] 7102,64 unequal: No Solution Exploring Operation: 67+106=173, Resulting Numbers: [173] 173,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 64:[67, 99, 7], Operations: ['46-39=7'] Exploring Operation: 67+7=74, Resulting Numbers: [99, 74] Generated Node #0,2,0: 64:[99, 74] Operation: 67+7=74 Exploring Operation: 67-7=60, Resulting Numbers: [99, 60] Generated Node #0,2,1: 64:[99, 60] Operation: 67-7=60 Exploring Operation: 99-7=92, Resulting Numbers: [67, 92] Generated Node #0,2,2: 64:[67, 92] Operation: 99-7=92 Exploring Operation: 99-67=32, Resulting Numbers: [7, 32] Generated Node #0,2,3: 64:[7, 32] Operation: 99-67=32 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 64:[7, 32], Operations: ['46-39=7', '99-67=32'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,64 unequal: No Solution Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[67, 92], Operations: ['46-39=7', '99-7=92'] Exploring Operation: 92-67=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 67*92=6164, Resulting Numbers: [6164] 6164,64 unequal: No Solution Exploring Operation: 67+92=159, Resulting Numbers: [159] 159,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 64:[99, 60], Operations: ['46-39=7', '67-7=60'] Exploring Operation: 99+60=159, Resulting Numbers: [159] 159,64 unequal: No Solution Exploring Operation: 99-60=39, Resulting Numbers: [39] 39,64 unequal: No Solution Exploring Operation: 99*60=5940, Resulting Numbers: [5940] 5940,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[99, 74], Operations: ['46-39=7', '67+7=74'] Exploring Operation: 99-74=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 99+74=173, Resulting Numbers: [173] 173,64 unequal: No Solution Exploring Operation: 99*74=7326, Resulting Numbers: [7326] 7326,64 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: 64:[32, 7], Operations: ['99-67=32', '46-39=7'] Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,64 unequal: No Solution Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,64 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,64 unequal: No Solution Moving to Node #0,0,3 Current State: 64:[39, 14], Operations: ['99-67=32', '46-32=14'] Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,64 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[46, 7], Operations: ['99-67=32', '39-32=7'] Exploring Operation: 46+7=53, Resulting Numbers: [53] 53,64 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,64 unequal: No Solution Exploring Operation: 46*7=322, Resulting Numbers: [322] 322,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[32, 85], Operations: ['99-67=32', '39+46=85'] Exploring Operation: 32*85=2720, Resulting Numbers: [2720] 2720,64 unequal: No Solution Exploring Operation: 32+85=117, Resulting Numbers: [117] 117,64 unequal: No Solution Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,64 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 3, 23, 28, 9 ]
22
[ "3*9=27", "28-23=5", "27-5=22" ]
Current State: 22:[3, 23, 28, 9], Operations: [] Exploring Operation: 3*9=27, Resulting Numbers: [23, 28, 27] Generated Node #2: [23, 28, 27] from Operation: 3*9=27 Current State: 22:[23, 28, 27], Operations: ['3*9=27'] Exploring Operation: 28-23=5, Resulting Numbers: [27, 5] Generated Node #3: [27, 5] from Operation: 28-23=5 Current State: 22:[27, 5], Operations: ['3*9=27', '28-23=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[3, 23, 28, 9], Operations: [] Exploring Operation: 28-9=19, Resulting Numbers: [3, 23, 19] Generated Node #0,0: 22:[3, 23, 19] Operation: 28-9=19 Moving to Node #0,0 Current State: 22:[3, 23, 19], Operations: ['28-9=19'] Exploring Operation: 3+19=22, Resulting Numbers: [23, 22] Generated Node #0,0,0: 22:[23, 22] Operation: 3+19=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[23, 22], Operations: ['28-9=19', '3+19=22'] Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,22 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
[ 37, 99, 77, 4 ]
51
[ "99-77=22", "4*22=88", "88-37=51" ]
Current State: 51:[37, 99, 77, 4], Operations: [] Exploring Operation: 99-77=22, Resulting Numbers: [37, 4, 22] Generated Node #2: [37, 4, 22] from Operation: 99-77=22 Current State: 51:[37, 4, 22], Operations: ['99-77=22'] Exploring Operation: 4*22=88, Resulting Numbers: [37, 88] Generated Node #3: [37, 88] from Operation: 4*22=88 Current State: 51:[37, 88], Operations: ['99-77=22', '4*22=88'] Exploring Operation: 88-37=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[37, 99, 77, 4], Operations: [] Exploring Operation: 99-37=62, Resulting Numbers: [77, 4, 62] Generated Node #0,0: 51:[77, 4, 62] Operation: 99-37=62 Exploring Operation: 99-77=22, Resulting Numbers: [37, 4, 22] Generated Node #0,1: 51:[37, 4, 22] Operation: 99-77=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[37, 4, 22], Operations: ['99-77=22'] Exploring Operation: 37+22=59, Resulting Numbers: [4, 59] Generated Node #0,1,0: 51:[4, 59] Operation: 37+22=59 Exploring Operation: 37-22=15, Resulting Numbers: [4, 15] Generated Node #0,1,1: 51:[4, 15] Operation: 37-22=15 Moving to Node #0,1,1 Current State: 51:[4, 15], Operations: ['99-77=22', '37-22=15'] Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[4, 59], Operations: ['99-77=22', '37+22=59'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,51 unequal: No Solution Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,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 Current State: 51:[77, 4, 62], Operations: ['99-37=62'] Exploring Operation: 77-4=73, Resulting Numbers: [62, 73] Generated Node #0,0,0: 51:[62, 73] Operation: 77-4=73 Exploring Operation: 77-62=15, Resulting Numbers: [4, 15] Generated Node #0,0,1: 51:[4, 15] Operation: 77-62=15 Moving to Node #0,0,1 Current State: 51:[4, 15], Operations: ['99-37=62', '77-62=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[62, 73], Operations: ['99-37=62', '77-4=73'] Exploring Operation: 73-62=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 62+73=135, Resulting Numbers: [135] 135,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
mult_heuristic
[ 66, 30, 75, 35 ]
45
[ "75-66=9", "35-30=5", "9*5=45" ]
Current State: 45:[66, 30, 75, 35], Operations: [] Exploring Operation: 75-66=9, Resulting Numbers: [30, 35, 9] Generated Node #2: [30, 35, 9] from Operation: 75-66=9 Current State: 45:[30, 35, 9], Operations: ['75-66=9'] Exploring Operation: 35-30=5, Resulting Numbers: [9, 5] Generated Node #3: [9, 5] from Operation: 35-30=5 Current State: 45:[9, 5], Operations: ['75-66=9', '35-30=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[66, 30, 75, 35], Operations: [] Exploring Operation: 75-66=9, Resulting Numbers: [30, 35, 9] Generated Node #0,0: 45:[30, 35, 9] Operation: 75-66=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[30, 35, 9], Operations: ['75-66=9'] Exploring Operation: 35-30=5, Resulting Numbers: [9, 5] Generated Node #0,0,0: 45:[9, 5] Operation: 35-30=5 Moving to Node #0,0,0 Current State: 45:[9, 5], Operations: ['75-66=9', '35-30=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[66, 30, 75, 35], Operations: [] Exploring Operation: 75-66=9, Resulting Numbers: [30, 35, 9] Generated Node #0,0: 45:[30, 35, 9] Operation: 75-66=9 Moving to Node #0,0 Current State: 45:[30, 35, 9], Operations: ['75-66=9'] Exploring Operation: 35-30=5, Resulting Numbers: [9, 5] Generated Node #0,0,0: 45:[9, 5] Operation: 35-30=5 Moving to Node #0,0,0 Current State: 45:[9, 5], Operations: ['75-66=9', '35-30=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 38, 80, 40, 64 ]
25
[ "38*40=1520", "80+1520=1600", "1600/64=25" ]
Current State: 25:[38, 80, 40, 64], Operations: [] Exploring Operation: 38*40=1520, Resulting Numbers: [80, 64, 1520] Generated Node #2: [80, 64, 1520] from Operation: 38*40=1520 Current State: 25:[80, 64, 1520], Operations: ['38*40=1520'] Exploring Operation: 80+1520=1600, Resulting Numbers: [64, 1600] Generated Node #3: [64, 1600] from Operation: 80+1520=1600 Current State: 25:[64, 1600], Operations: ['38*40=1520', '80+1520=1600'] Exploring Operation: 1600/64=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[38, 80, 40, 64], Operations: [] Exploring Operation: 64-40=24, Resulting Numbers: [38, 80, 24] Generated Node #0,0: 25:[38, 80, 24] Operation: 64-40=24 Exploring Operation: 80-40=40, Resulting Numbers: [38, 64, 40] Generated Node #0,1: 25:[38, 64, 40] Operation: 80-40=40 Exploring Operation: 80/40=2, Resulting Numbers: [38, 64, 2] Generated Node #0,2: 25:[38, 64, 2] Operation: 80/40=2 Exploring Operation: 80-64=16, Resulting Numbers: [38, 40, 16] Generated Node #0,3: 25:[38, 40, 16] Operation: 80-64=16 Moving to Node #0,3 Current State: 25:[38, 40, 16], Operations: ['80-64=16'] Exploring Operation: 38+16=54, Resulting Numbers: [40, 54] Generated Node #0,3,0: 25:[40, 54] Operation: 38+16=54 Exploring Operation: 40-38=2, Resulting Numbers: [16, 2] Generated Node #0,3,1: 25:[16, 2] Operation: 40-38=2 Exploring Operation: 40-16=24, Resulting Numbers: [38, 24] Generated Node #0,3,2: 25:[38, 24] Operation: 40-16=24 Exploring Operation: 38-16=22, Resulting Numbers: [40, 22] Generated Node #0,3,3: 25:[40, 22] Operation: 38-16=22 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[16, 2], Operations: ['80-64=16', '40-38=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,25 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,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,3,2 Current State: 25:[38, 24], Operations: ['80-64=16', '40-16=24'] Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,25 unequal: No Solution Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,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,3,3 Current State: 25:[40, 22], Operations: ['80-64=16', '38-16=22'] Exploring Operation: 40+22=62, Resulting Numbers: [62] 62,25 unequal: No Solution Exploring Operation: 40*22=880, Resulting Numbers: [880] 880,25 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,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,3,0 Current State: 25:[40, 54], Operations: ['80-64=16', '38+16=54'] Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 40+54=94, Resulting Numbers: [94] 94,25 unequal: No Solution Exploring Operation: 40*54=2160, Resulting Numbers: [2160] 2160,25 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: 25:[38, 64, 2], Operations: ['80/40=2'] Exploring Operation: 38-2=36, Resulting Numbers: [64, 36] Generated Node #0,2,0: 25:[64, 36] Operation: 38-2=36 Exploring Operation: 38/2=19, Resulting Numbers: [64, 19] Generated Node #0,2,1: 25:[64, 19] Operation: 38/2=19 Exploring Operation: 64-38=26, Resulting Numbers: [2, 26] Generated Node #0,2,2: 25:[2, 26] Operation: 64-38=26 Exploring Operation: 64/2=32, Resulting Numbers: [38, 32] Generated Node #0,2,3: 25:[38, 32] Operation: 64/2=32 Moving to Node #0,1 Current State: 25:[38, 64, 40], Operations: ['80-40=40'] Exploring Operation: 40-38=2, Resulting Numbers: [64, 2] Generated Node #0,1,0: 25:[64, 2] Operation: 40-38=2 Exploring Operation: 64-38=26, Resulting Numbers: [40, 26] Generated Node #0,1,1: 25:[40, 26] Operation: 64-38=26 Exploring Operation: 64-40=24, Resulting Numbers: [38, 24] Generated Node #0,1,2: 25:[38, 24] Operation: 64-40=24 Exploring Operation: 38+64=102, Resulting Numbers: [40, 102] Generated Node #0,1,3: 25:[40, 102] Operation: 38+64=102 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[38, 24], Operations: ['80-40=40', '64-40=24'] Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,25 unequal: No Solution Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,25 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[40, 26], Operations: ['80-40=40', '64-38=26'] Exploring Operation: 40*26=1040, Resulting Numbers: [1040] 1040,25 unequal: No Solution Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 40+26=66, Resulting Numbers: [66] 66,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[64, 2], Operations: ['80-40=40', '40-38=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,25 unequal: No Solution Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,25 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,25 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[40, 102], Operations: ['80-40=40', '38+64=102'] Exploring Operation: 40+102=142, Resulting Numbers: [142] 142,25 unequal: No Solution Exploring Operation: 40*102=4080, Resulting Numbers: [4080] 4080,25 unequal: No Solution Exploring Operation: 102-40=62, Resulting Numbers: [62] 62,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 25:[38, 80, 24], Operations: ['64-40=24'] Exploring Operation: 38-24=14, Resulting Numbers: [80, 14] Generated Node #0,0,0: 25:[80, 14] Operation: 38-24=14 Exploring Operation: 80-38=42, Resulting Numbers: [24, 42] Generated Node #0,0,1: 25:[24, 42] Operation: 80-38=42 Exploring Operation: 38+24=62, Resulting Numbers: [80, 62] Generated Node #0,0,2: 25:[80, 62] Operation: 38+24=62 Exploring Operation: 80-24=56, Resulting Numbers: [38, 56] Generated Node #0,0,3: 25:[38, 56] Operation: 80-24=56 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[24, 42], Operations: ['64-40=24', '80-38=42'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,25 unequal: No Solution Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,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,3 Current State: 25:[38, 56], Operations: ['64-40=24', '80-24=56'] Exploring Operation: 38*56=2128, Resulting Numbers: [2128] 2128,25 unequal: No Solution Exploring Operation: 38+56=94, Resulting Numbers: [94] 94,25 unequal: No Solution Exploring Operation: 56-38=18, Resulting Numbers: [18] 18,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,0 Current State: 25:[80, 14], Operations: ['64-40=24', '38-24=14'] Exploring Operation: 80*14=1120, Resulting Numbers: [1120] 1120,25 unequal: No Solution Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,25 unequal: No Solution Exploring Operation: 80+14=94, Resulting Numbers: [94] 94,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,2 Current State: 25:[80, 62], Operations: ['64-40=24', '38+24=62'] Exploring Operation: 80*62=4960, Resulting Numbers: [4960] 4960,25 unequal: No Solution Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 80+62=142, Resulting Numbers: [142] 142,25 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: 25:[2, 26], Operations: ['80/40=2', '64-38=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,25 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[38, 32], Operations: ['80/40=2', '64/2=32'] Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 38*32=1216, Resulting Numbers: [1216] 1216,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[64, 19], Operations: ['80/40=2', '38/2=19'] Exploring Operation: 64*19=1216, Resulting Numbers: [1216] 1216,25 unequal: No Solution Exploring Operation: 64+19=83, Resulting Numbers: [83] 83,25 unequal: No Solution Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[64, 36], Operations: ['80/40=2', '38-2=36'] Exploring Operation: 64+36=100, Resulting Numbers: [100] 100,25 unequal: No Solution Exploring Operation: 64*36=2304, Resulting Numbers: [2304] 2304,25 unequal: No Solution Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,25 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 89, 48, 44, 94 ]
91
[ "89-48=41", "94-44=50", "41+50=91" ]
Current State: 91:[89, 48, 44, 94], Operations: [] Exploring Operation: 89-48=41, Resulting Numbers: [44, 94, 41] Generated Node #2: [44, 94, 41] from Operation: 89-48=41 Current State: 91:[44, 94, 41], Operations: ['89-48=41'] Exploring Operation: 94-44=50, Resulting Numbers: [41, 50] Generated Node #3: [41, 50] from Operation: 94-44=50 Current State: 91:[41, 50], Operations: ['89-48=41', '94-44=50'] Exploring Operation: 41+50=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[89, 48, 44, 94], Operations: [] Exploring Operation: 89-48=41, Resulting Numbers: [44, 94, 41] Generated Node #0,0: 91:[44, 94, 41] Operation: 89-48=41 Exploring Operation: 48-44=4, Resulting Numbers: [89, 94, 4] Generated Node #0,1: 91:[89, 94, 4] Operation: 48-44=4 Exploring Operation: 48+44=92, Resulting Numbers: [89, 94, 92] Generated Node #0,2: 91:[89, 94, 92] Operation: 48+44=92 Exploring Operation: 94-48=46, Resulting Numbers: [89, 44, 46] Generated Node #0,3: 91:[89, 44, 46] Operation: 94-48=46 Moving to Node #0,2 Current State: 91:[89, 94, 92], Operations: ['48+44=92'] Exploring Operation: 92-89=3, Resulting Numbers: [94, 3] Generated Node #0,2,0: 91:[94, 3] Operation: 92-89=3 Exploring Operation: 94-89=5, Resulting Numbers: [92, 5] Generated Node #0,2,1: 91:[92, 5] Operation: 94-89=5 Exploring Operation: 94-92=2, Resulting Numbers: [89, 2] Generated Node #0,2,2: 91:[89, 2] Operation: 94-92=2 Exploring Operation: 89+94=183, Resulting Numbers: [92, 183] Generated Node #0,2,3: 91:[92, 183] Operation: 89+94=183 Moving to Node #0,1 Current State: 91:[89, 94, 4], Operations: ['48-44=4'] Exploring Operation: 89-4=85, Resulting Numbers: [94, 85] Generated Node #0,1,0: 91:[94, 85] Operation: 89-4=85 Exploring Operation: 94-4=90, Resulting Numbers: [89, 90] Generated Node #0,1,1: 91:[89, 90] Operation: 94-4=90 Exploring Operation: 94-89=5, Resulting Numbers: [4, 5] Generated Node #0,1,2: 91:[4, 5] Operation: 94-89=5 Exploring Operation: 89+4=93, Resulting Numbers: [94, 93] Generated Node #0,1,3: 91:[94, 93] Operation: 89+4=93 Moving to Node #0,0 Current State: 91:[44, 94, 41], Operations: ['89-48=41'] Exploring Operation: 44-41=3, Resulting Numbers: [94, 3] Generated Node #0,0,0: 91:[94, 3] Operation: 44-41=3 Exploring Operation: 94-41=53, Resulting Numbers: [44, 53] Generated Node #0,0,1: 91:[44, 53] Operation: 94-41=53 Exploring Operation: 94-44=50, Resulting Numbers: [41, 50] Generated Node #0,0,2: 91:[41, 50] Operation: 94-44=50 Exploring Operation: 44+41=85, Resulting Numbers: [94, 85] Generated Node #0,0,3: 91:[94, 85] Operation: 44+41=85 Moving to Node #0,3 Current State: 91:[89, 44, 46], Operations: ['94-48=46'] Exploring Operation: 89-44=45, Resulting Numbers: [46, 45] Generated Node #0,3,0: 91:[46, 45] Operation: 89-44=45 Exploring Operation: 46-44=2, Resulting Numbers: [89, 2] Generated Node #0,3,1: 91:[89, 2] Operation: 46-44=2 Exploring Operation: 89-46=43, Resulting Numbers: [44, 43] Generated Node #0,3,2: 91:[44, 43] Operation: 89-46=43 Exploring Operation: 44+46=90, Resulting Numbers: [89, 90] Generated Node #0,3,3: 91:[89, 90] Operation: 44+46=90 Moving to Node #0,2,1 Current State: 91:[92, 5], Operations: ['48+44=92', '94-89=5'] Exploring Operation: 92+5=97, Resulting Numbers: [97] 97,91 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,91 unequal: No Solution Exploring Operation: 92*5=460, Resulting Numbers: [460] 460,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[89, 90], Operations: ['94-48=46', '44+46=90'] Exploring Operation: 90-89=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 89*90=8010, Resulting Numbers: [8010] 8010,91 unequal: No Solution Exploring Operation: 89+90=179, Resulting Numbers: [179] 179,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[89, 90], Operations: ['48-44=4', '94-4=90'] Exploring Operation: 90-89=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 89*90=8010, Resulting Numbers: [8010] 8010,91 unequal: No Solution Exploring Operation: 89+90=179, Resulting Numbers: [179] 179,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[94, 93], Operations: ['48-44=4', '89+4=93'] Exploring Operation: 94+93=187, Resulting Numbers: [187] 187,91 unequal: No Solution Exploring Operation: 94*93=8742, Resulting Numbers: [8742] 8742,91 unequal: No Solution Exploring Operation: 94-93=1, Resulting Numbers: [1] 1,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[4, 5], Operations: ['48-44=4', '94-89=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[89, 2], Operations: ['94-48=46', '46-44=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[89, 48, 44, 94], Operations: [] Exploring Operation: 94-48=46, Resulting Numbers: [89, 44, 46] Generated Node #0,3: 91:[89, 44, 46] Operation: 94-48=46 Moving to Node #0,3 Current State: 91:[89, 44, 46], Operations: ['94-48=46'] Exploring Operation: 46-44=2, Resulting Numbers: [89, 2] Generated Node #0,3,1: 91:[89, 2] Operation: 46-44=2 Moving to Node #0,3,1 Current State: 91:[89, 2], Operations: ['94-48=46', '46-44=2'] Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.965278
hs_4
mult_heuristic
[ 9, 75, 34, 75 ]
34
[ "75-75=0", "9*0=0", "34+0=34" ]
Current State: 34:[9, 75, 34, 75], Operations: [] Exploring Operation: 75-75=0, Resulting Numbers: [9, 34, 0] Generated Node #2: [9, 34, 0] from Operation: 75-75=0 Current State: 34:[9, 34, 0], Operations: ['75-75=0'] Exploring Operation: 9*0=0, Resulting Numbers: [34, 0] Generated Node #3: [34, 0] from Operation: 9*0=0 Current State: 34:[34, 0], Operations: ['75-75=0', '9*0=0'] Exploring Operation: 34+0=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[9, 75, 34, 75], Operations: [] Exploring Operation: 75-75=0, Resulting Numbers: [9, 34, 0] Generated Node #0,0: 34:[9, 34, 0] Operation: 75-75=0 Exploring Operation: 75-9=66, Resulting Numbers: [34, 75, 66] Generated Node #0,1: 34:[34, 75, 66] Operation: 75-9=66 Exploring Operation: 75/75=1, Resulting Numbers: [9, 34, 1] Generated Node #0,2: 34:[9, 34, 1] Operation: 75/75=1 Exploring Operation: 75-34=41, Resulting Numbers: [9, 75, 41] Generated Node #0,3: 34:[9, 75, 41] Operation: 75-34=41 Exploring Operation: 75-34=41, Resulting Numbers: [9, 75, 41] Generated Node #0,4: 34:[9, 75, 41] Operation: 75-34=41 Moving to Node #0,2 Current State: 34:[9, 34, 1], Operations: ['75/75=1'] Exploring Operation: 9-1=8, Resulting Numbers: [34, 8] Generated Node #0,2,0: 34:[34, 8] Operation: 9-1=8 Exploring Operation: 9*1=9, Resulting Numbers: [34, 9] Generated Node #0,2,1: 34:[34, 9] Operation: 9*1=9 Exploring Operation: 9/1=9, Resulting Numbers: [34, 9] Generated Node #0,2,2: 34:[34, 9] Operation: 9/1=9 Exploring Operation: 9+1=10, Resulting Numbers: [34, 10] Generated Node #0,2,3: 34:[34, 10] Operation: 9+1=10 Exploring Operation: 34*1=34, Resulting Numbers: [9, 34] Generated Node #0,2,4: 34:[9, 34] Operation: 34*1=34 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[34, 8], Operations: ['75/75=1', '9-1=8'] Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,34 unequal: No Solution Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 34:[34, 9], Operations: ['75/75=1', '9*1=9'] Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,34 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 34:[34, 9], Operations: ['75/75=1', '9/1=9'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,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,3 Current State: 34:[34, 10], Operations: ['75/75=1', '9+1=10'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 34*10=340, Resulting Numbers: [340] 340,34 unequal: No Solution Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,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,4 Current State: 34:[9, 34], Operations: ['75/75=1', '34*1=34'] Exploring Operation: 9+34=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 9*34=306, Resulting Numbers: [306] 306,34 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 34:[9, 34, 0], Operations: ['75-75=0'] Exploring Operation: 9-0=9, Resulting Numbers: [34, 9] Generated Node #0,0,0: 34:[34, 9] Operation: 9-0=9 Exploring Operation: 34-0=34, Resulting Numbers: [9, 34] Generated Node #0,0,1: 34:[9, 34] Operation: 34-0=34 Exploring Operation: 34+0=34, Resulting Numbers: [9, 34] Generated Node #0,0,2: 34:[9, 34] Operation: 34+0=34 Exploring Operation: 9*0=0, Resulting Numbers: [34, 0] Generated Node #0,0,3: 34:[34, 0] Operation: 9*0=0 Exploring Operation: 9+0=9, Resulting Numbers: [34, 9] Generated Node #0,0,4: 34:[34, 9] Operation: 9+0=9 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 34:[34, 0], Operations: ['75-75=0', '9*0=0'] Exploring Operation: 34+0=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[9, 75, 34, 75], Operations: [] Exploring Operation: 75-75=0, Resulting Numbers: [9, 34, 0] Generated Node #0,0: 34:[9, 34, 0] Operation: 75-75=0 Moving to Node #0,0 Current State: 34:[9, 34, 0], Operations: ['75-75=0'] Exploring Operation: 9*0=0, Resulting Numbers: [34, 0] Generated Node #0,0,3: 34:[34, 0] Operation: 9*0=0 Moving to Node #0,0,3 Current State: 34:[34, 0], Operations: ['75-75=0', '9*0=0'] Exploring Operation: 34+0=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
sum_heuristic
[ 48, 74, 29, 36 ]
12
[ "74-48=26", "29-26=3", "36/3=12" ]
Current State: 12:[48, 74, 29, 36], Operations: [] Exploring Operation: 74-48=26, Resulting Numbers: [29, 36, 26] Generated Node #2: [29, 36, 26] from Operation: 74-48=26 Current State: 12:[29, 36, 26], Operations: ['74-48=26'] Exploring Operation: 29-26=3, Resulting Numbers: [36, 3] Generated Node #3: [36, 3] from Operation: 29-26=3 Current State: 12:[36, 3], Operations: ['74-48=26', '29-26=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[48, 74, 29, 36], Operations: [] Exploring Operation: 48-36=12, Resulting Numbers: [74, 29, 12] Generated Node #0,0: 12:[74, 29, 12] Operation: 48-36=12 Exploring Operation: 74-48=26, Resulting Numbers: [29, 36, 26] Generated Node #0,1: 12:[29, 36, 26] Operation: 74-48=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[29, 36, 26], Operations: ['74-48=26'] Exploring Operation: 36-29=7, Resulting Numbers: [26, 7] Generated Node #0,1,0: 12:[26, 7] Operation: 36-29=7 Exploring Operation: 36-26=10, Resulting Numbers: [29, 10] Generated Node #0,1,1: 12:[29, 10] Operation: 36-26=10 Moving to Node #0,1,0 Current State: 12:[26, 7], Operations: ['74-48=26', '36-29=7'] Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[29, 10], Operations: ['74-48=26', '36-26=10'] Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,12 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,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,0 Current State: 12:[74, 29, 12], Operations: ['48-36=12'] Exploring Operation: 74-12=62, Resulting Numbers: [29, 62] Generated Node #0,0,0: 12:[29, 62] Operation: 74-12=62 Exploring Operation: 74-29=45, Resulting Numbers: [12, 45] Generated Node #0,0,1: 12:[12, 45] Operation: 74-29=45 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[12, 45], Operations: ['48-36=12', '74-29=45'] Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,12 unequal: No Solution Exploring Operation: 12+45=57, Resulting Numbers: [57] 57,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,0,0 Current State: 12:[29, 62], Operations: ['48-36=12', '74-12=62'] Exploring Operation: 29+62=91, Resulting Numbers: [91] 91,12 unequal: No Solution Exploring Operation: 62-29=33, Resulting Numbers: [33] 33,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 No solution found.
0
hs_2
mult_heuristic
[ 20, 99, 25, 23 ]
77
[ "99-20=79", "25-23=2", "79-2=77" ]
Current State: 77:[20, 99, 25, 23], Operations: [] Exploring Operation: 99-20=79, Resulting Numbers: [25, 23, 79] Generated Node #2: [25, 23, 79] from Operation: 99-20=79 Current State: 77:[25, 23, 79], Operations: ['99-20=79'] Exploring Operation: 25-23=2, Resulting Numbers: [79, 2] Generated Node #3: [79, 2] from Operation: 25-23=2 Current State: 77:[79, 2], Operations: ['99-20=79', '25-23=2'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[20, 99, 25, 23], Operations: [] Exploring Operation: 99-25=74, Resulting Numbers: [20, 23, 74] Generated Node #0,0: 77:[20, 23, 74] Operation: 99-25=74 Exploring Operation: 99-23=76, Resulting Numbers: [20, 25, 76] Generated Node #0,1: 77:[20, 25, 76] Operation: 99-23=76 Exploring Operation: 25-23=2, Resulting Numbers: [20, 99, 2] Generated Node #0,2: 77:[20, 99, 2] Operation: 25-23=2 Exploring Operation: 25-20=5, Resulting Numbers: [99, 23, 5] Generated Node #0,3: 77:[99, 23, 5] Operation: 25-20=5 Exploring Operation: 99-20=79, Resulting Numbers: [25, 23, 79] Generated Node #0,4: 77:[25, 23, 79] Operation: 99-20=79 Moving to Node #0,0 Current State: 77:[20, 23, 74], Operations: ['99-25=74'] Exploring Operation: 74-20=54, Resulting Numbers: [23, 54] Generated Node #0,0,0: 77:[23, 54] Operation: 74-20=54 Exploring Operation: 20+74=94, Resulting Numbers: [23, 94] Generated Node #0,0,1: 77:[23, 94] Operation: 20+74=94 Exploring Operation: 20+23=43, Resulting Numbers: [74, 43] Generated Node #0,0,2: 77:[74, 43] Operation: 20+23=43 Exploring Operation: 23-20=3, Resulting Numbers: [74, 3] Generated Node #0,0,3: 77:[74, 3] Operation: 23-20=3 Exploring Operation: 23+74=97, Resulting Numbers: [20, 97] Generated Node #0,0,4: 77:[20, 97] Operation: 23+74=97 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[74, 3], Operations: ['99-25=74', '23-20=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[20, 99, 25, 23], Operations: [] Exploring Operation: 99-25=74, Resulting Numbers: [20, 23, 74] Generated Node #0,0: 77:[20, 23, 74] Operation: 99-25=74 Moving to Node #0,0 Current State: 77:[20, 23, 74], Operations: ['99-25=74'] Exploring Operation: 23-20=3, Resulting Numbers: [74, 3] Generated Node #0,0,3: 77:[74, 3] Operation: 23-20=3 Moving to Node #0,0,3 Current State: 77:[74, 3], Operations: ['99-25=74', '23-20=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 77, 98, 91, 12 ]
19
[ "91-77=14", "98/14=7", "12+7=19" ]
Current State: 19:[77, 98, 91, 12], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [98, 12, 14] Generated Node #2: [98, 12, 14] from Operation: 91-77=14 Current State: 19:[98, 12, 14], Operations: ['91-77=14'] Exploring Operation: 98/14=7, Resulting Numbers: [12, 7] Generated Node #3: [12, 7] from Operation: 98/14=7 Current State: 19:[12, 7], Operations: ['91-77=14', '98/14=7'] Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[77, 98, 91, 12], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [98, 12, 14] Generated Node #0,0: 19:[98, 12, 14] Operation: 91-77=14 Exploring Operation: 98-77=21, Resulting Numbers: [91, 12, 21] Generated Node #0,1: 19:[91, 12, 21] Operation: 98-77=21 Exploring Operation: 77-12=65, Resulting Numbers: [98, 91, 65] Generated Node #0,2: 19:[98, 91, 65] Operation: 77-12=65 Exploring Operation: 98-91=7, Resulting Numbers: [77, 12, 7] Generated Node #0,3: 19:[77, 12, 7] Operation: 98-91=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 19:[77, 12, 7], Operations: ['98-91=7'] Exploring Operation: 77-12=65, Resulting Numbers: [7, 65] Generated Node #0,3,0: 19:[7, 65] Operation: 77-12=65 Exploring Operation: 12+7=19, Resulting Numbers: [77, 19] Generated Node #0,3,1: 19:[77, 19] Operation: 12+7=19 Exploring Operation: 77-7=70, Resulting Numbers: [12, 70] Generated Node #0,3,2: 19:[12, 70] Operation: 77-7=70 Exploring Operation: 77/7=11, Resulting Numbers: [12, 11] Generated Node #0,3,3: 19:[12, 11] Operation: 77/7=11 Moving to Node #0,3,3 Current State: 19:[12, 11], Operations: ['98-91=7', '77/7=11'] Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,19 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[77, 19], Operations: ['98-91=7', '12+7=19'] 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 Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,19 unequal: No Solution Moving to Node #0,3,0 Current State: 19:[7, 65], Operations: ['98-91=7', '77-12=65'] Exploring Operation: 7+65=72, Resulting Numbers: [72] 72,19 unequal: No Solution Exploring Operation: 7*65=455, Resulting Numbers: [455] 455,19 unequal: No Solution Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[12, 70], Operations: ['98-91=7', '77-7=70'] Exploring Operation: 12*70=840, Resulting Numbers: [840] 840,19 unequal: No Solution Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 12+70=82, Resulting Numbers: [82] 82,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[91, 12, 21], Operations: ['98-77=21'] Exploring Operation: 91-21=70, Resulting Numbers: [12, 70] Generated Node #0,1,0: 19:[12, 70] Operation: 91-21=70 Exploring Operation: 91-12=79, Resulting Numbers: [21, 79] Generated Node #0,1,1: 19:[21, 79] Operation: 91-12=79 Exploring Operation: 21-12=9, Resulting Numbers: [91, 9] Generated Node #0,1,2: 19:[91, 9] Operation: 21-12=9 Exploring Operation: 91+12=103, Resulting Numbers: [21, 103] Generated Node #0,1,3: 19:[21, 103] Operation: 91+12=103 Moving to Node #0,1,0 Current State: 19:[12, 70], Operations: ['98-77=21', '91-21=70'] Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,19 unequal: No Solution Exploring Operation: 12*70=840, Resulting Numbers: [840] 840,19 unequal: No Solution Exploring Operation: 12+70=82, Resulting Numbers: [82] 82,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[21, 79], Operations: ['98-77=21', '91-12=79'] Exploring Operation: 21+79=100, Resulting Numbers: [100] 100,19 unequal: No Solution Exploring Operation: 21*79=1659, Resulting Numbers: [1659] 1659,19 unequal: No Solution Exploring Operation: 79-21=58, Resulting Numbers: [58] 58,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[91, 9], Operations: ['98-77=21', '21-12=9'] Exploring Operation: 91+9=100, Resulting Numbers: [100] 100,19 unequal: No Solution Exploring Operation: 91*9=819, Resulting Numbers: [819] 819,19 unequal: No Solution Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,19 unequal: No Solution Moving to Node #0,1,3 Current State: 19:[21, 103], Operations: ['98-77=21', '91+12=103'] Exploring Operation: 21*103=2163, Resulting Numbers: [2163] 2163,19 unequal: No Solution Exploring Operation: 21+103=124, Resulting Numbers: [124] 124,19 unequal: No Solution Exploring Operation: 103-21=82, Resulting Numbers: [82] 82,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:[98, 12, 14], Operations: ['91-77=14'] Exploring Operation: 98-14=84, Resulting Numbers: [12, 84] Generated Node #0,0,0: 19:[12, 84] Operation: 98-14=84 Exploring Operation: 12+14=26, Resulting Numbers: [98, 26] Generated Node #0,0,1: 19:[98, 26] Operation: 12+14=26 Exploring Operation: 98/14=7, Resulting Numbers: [12, 7] Generated Node #0,0,2: 19:[12, 7] Operation: 98/14=7 Exploring Operation: 98-12=86, Resulting Numbers: [14, 86] Generated Node #0,0,3: 19:[14, 86] Operation: 98-12=86 Moving to Node #0,0,2 Current State: 19:[12, 7], Operations: ['91-77=14', '98/14=7'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,19 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[77, 98, 91, 12], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [98, 12, 14] Generated Node #0,0: 19:[98, 12, 14] Operation: 91-77=14 Moving to Node #0,0 Current State: 19:[98, 12, 14], Operations: ['91-77=14'] Exploring Operation: 98/14=7, Resulting Numbers: [12, 7] Generated Node #0,0,2: 19:[12, 7] Operation: 98/14=7 Moving to Node #0,0,2 Current State: 19:[12, 7], Operations: ['91-77=14', '98/14=7'] Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_4
mult_heuristic
[ 88, 17, 87, 34 ]
86
[ "34/17=2", "87*2=174", "174-88=86" ]
Current State: 86:[88, 17, 87, 34], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [88, 87, 2] Generated Node #2: [88, 87, 2] from Operation: 34/17=2 Current State: 86:[88, 87, 2], Operations: ['34/17=2'] Exploring Operation: 87*2=174, Resulting Numbers: [88, 174] Generated Node #3: [88, 174] from Operation: 87*2=174 Current State: 86:[88, 174], Operations: ['34/17=2', '87*2=174'] Exploring Operation: 174-88=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[88, 17, 87, 34], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [88, 87, 2] Generated Node #0,0: 86:[88, 87, 2] Operation: 34/17=2 Exploring Operation: 17+34=51, Resulting Numbers: [88, 87, 51] Generated Node #0,1: 86:[88, 87, 51] Operation: 17+34=51 Moving to Node #0,0 Current State: 86:[88, 87, 2], Operations: ['34/17=2'] Exploring Operation: 88-87=1, Resulting Numbers: [2, 1] Generated Node #0,0,0: 86:[2, 1] Operation: 88-87=1 Exploring Operation: 88-2=86, Resulting Numbers: [87, 86] Generated Node #0,0,1: 86:[87, 86] Operation: 88-2=86 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[2, 1], Operations: ['34/17=2', '88-87=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[87, 86], Operations: ['34/17=2', '88-2=86'] Exploring Operation: 87+86=173, Resulting Numbers: [173] 173,86 unequal: No Solution Exploring Operation: 87-86=1, Resulting Numbers: [1] 1,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 86:[88, 87, 51], Operations: ['17+34=51'] Exploring Operation: 88-87=1, Resulting Numbers: [51, 1] Generated Node #0,1,0: 86:[51, 1] Operation: 88-87=1 Exploring Operation: 88-51=37, Resulting Numbers: [87, 37] Generated Node #0,1,1: 86:[87, 37] Operation: 88-51=37 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[87, 37], Operations: ['17+34=51', '88-51=37'] Exploring Operation: 87-37=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 87+37=124, Resulting Numbers: [124] 124,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[51, 1], Operations: ['17+34=51', '88-87=1'] Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,86 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
[ 84, 65, 52, 86 ]
53
[ "84-65=19", "86-52=34", "19+34=53" ]
Current State: 53:[84, 65, 52, 86], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [52, 86, 19] Generated Node #2: [52, 86, 19] from Operation: 84-65=19 Current State: 53:[52, 86, 19], Operations: ['84-65=19'] Exploring Operation: 86-52=34, Resulting Numbers: [19, 34] Generated Node #3: [19, 34] from Operation: 86-52=34 Current State: 53:[19, 34], Operations: ['84-65=19', '86-52=34'] Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[84, 65, 52, 86], Operations: [] Exploring Operation: 84-52=32, Resulting Numbers: [65, 86, 32] Generated Node #0,0: 53:[65, 86, 32] Operation: 84-52=32 Exploring Operation: 86-65=21, Resulting Numbers: [84, 52, 21] Generated Node #0,1: 53:[84, 52, 21] Operation: 86-65=21 Exploring Operation: 86-84=2, Resulting Numbers: [65, 52, 2] Generated Node #0,2: 53:[65, 52, 2] Operation: 86-84=2 Exploring Operation: 86-52=34, Resulting Numbers: [84, 65, 34] Generated Node #0,3: 53:[84, 65, 34] Operation: 86-52=34 Start Sub Search at level 1: Moving to Node #0,3 Current State: 53:[84, 65, 34], Operations: ['86-52=34'] Exploring Operation: 84-34=50, Resulting Numbers: [65, 50] Generated Node #0,3,0: 53:[65, 50] Operation: 84-34=50 Exploring Operation: 84+34=118, Resulting Numbers: [65, 118] Generated Node #0,3,1: 53:[65, 118] Operation: 84+34=118 Exploring Operation: 65-34=31, Resulting Numbers: [84, 31] Generated Node #0,3,2: 53:[84, 31] Operation: 65-34=31 Exploring Operation: 84-65=19, Resulting Numbers: [34, 19] Generated Node #0,3,3: 53:[34, 19] Operation: 84-65=19 Moving to Node #0,3,0 Current State: 53:[65, 50], Operations: ['86-52=34', '84-34=50'] Exploring Operation: 65+50=115, Resulting Numbers: [115] 115,53 unequal: No Solution Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 65*50=3250, Resulting Numbers: [3250] 3250,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[34, 19], Operations: ['86-52=34', '84-65=19'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[84, 65, 52, 86], Operations: [] Exploring Operation: 86-52=34, Resulting Numbers: [84, 65, 34] Generated Node #0,3: 53:[84, 65, 34] Operation: 86-52=34 Moving to Node #0,3 Current State: 53:[84, 65, 34], Operations: ['86-52=34'] Exploring Operation: 84-65=19, Resulting Numbers: [34, 19] Generated Node #0,3,3: 53:[34, 19] Operation: 84-65=19 Moving to Node #0,3,3 Current State: 53:[34, 19], Operations: ['86-52=34', '84-65=19'] Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 9, 20, 42, 27 ]
15
[ "27-20=7", "42/7=6", "9+6=15" ]
Current State: 15:[9, 20, 42, 27], Operations: [] Exploring Operation: 27-20=7, Resulting Numbers: [9, 42, 7] Generated Node #2: [9, 42, 7] from Operation: 27-20=7 Current State: 15:[9, 42, 7], Operations: ['27-20=7'] Exploring Operation: 42/7=6, Resulting Numbers: [9, 6] Generated Node #3: [9, 6] from Operation: 42/7=6 Current State: 15:[9, 6], Operations: ['27-20=7', '42/7=6'] Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[9, 20, 42, 27], Operations: [] Exploring Operation: 42-9=33, Resulting Numbers: [20, 27, 33] Generated Node #0,0: 15:[20, 27, 33] Operation: 42-9=33 Exploring Operation: 42-27=15, Resulting Numbers: [9, 20, 15] Generated Node #0,1: 15:[9, 20, 15] Operation: 42-27=15 Exploring Operation: 27/9=3, Resulting Numbers: [20, 42, 3] Generated Node #0,2: 15:[20, 42, 3] Operation: 27/9=3 Exploring Operation: 27-20=7, Resulting Numbers: [9, 42, 7] Generated Node #0,3: 15:[9, 42, 7] Operation: 27-20=7 Exploring Operation: 42-20=22, Resulting Numbers: [9, 27, 22] Generated Node #0,4: 15:[9, 27, 22] Operation: 42-20=22 Moving to Node #0,1 Current State: 15:[9, 20, 15], Operations: ['42-27=15'] Exploring Operation: 15-9=6, Resulting Numbers: [20, 6] Generated Node #0,1,0: 15:[20, 6] Operation: 15-9=6 Exploring Operation: 9+20=29, Resulting Numbers: [15, 29] Generated Node #0,1,1: 15:[15, 29] Operation: 9+20=29 Exploring Operation: 9+15=24, Resulting Numbers: [20, 24] Generated Node #0,1,2: 15:[20, 24] Operation: 9+15=24 Exploring Operation: 20-15=5, Resulting Numbers: [9, 5] Generated Node #0,1,3: 15:[9, 5] Operation: 20-15=5 Exploring Operation: 20-9=11, Resulting Numbers: [15, 11] Generated Node #0,1,4: 15:[15, 11] Operation: 20-9=11 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[9, 5], Operations: ['42-27=15', '20-15=5'] Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,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,1,4 Current State: 15:[15, 11], Operations: ['42-27=15', '20-9=11'] Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,15 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 15-11=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,1,0 Current State: 15:[20, 6], Operations: ['42-27=15', '15-9=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,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,1,1 Current State: 15:[15, 29], Operations: ['42-27=15', '9+20=29'] Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 15+29=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 15*29=435, Resulting Numbers: [435] 435,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,1,2 Current State: 15:[20, 24], Operations: ['42-27=15', '9+15=24'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,15 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,15 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: 15:[9, 27, 22], Operations: ['42-20=22'] Exploring Operation: 9+27=36, Resulting Numbers: [22, 36] Generated Node #0,4,0: 15:[22, 36] Operation: 9+27=36 Exploring Operation: 27/9=3, Resulting Numbers: [22, 3] Generated Node #0,4,1: 15:[22, 3] Operation: 27/9=3 Exploring Operation: 27-9=18, Resulting Numbers: [22, 18] Generated Node #0,4,2: 15:[22, 18] Operation: 27-9=18 Exploring Operation: 27-22=5, Resulting Numbers: [9, 5] Generated Node #0,4,3: 15:[9, 5] Operation: 27-22=5 Exploring Operation: 22-9=13, Resulting Numbers: [27, 13] Generated Node #0,4,4: 15:[27, 13] Operation: 22-9=13 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 15:[9, 5], Operations: ['42-20=22', '27-22=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,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,4,1 Current State: 15:[22, 3], Operations: ['42-20=22', '27/9=3'] Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,15 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,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,4,2 Current State: 15:[22, 18], Operations: ['42-20=22', '27-9=18'] Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,15 unequal: No Solution Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,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,4,4 Current State: 15:[27, 13], Operations: ['42-20=22', '22-9=13'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,15 unequal: No Solution Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,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,4,0 Current State: 15:[22, 36], Operations: ['42-20=22', '9+27=36'] Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 22+36=58, Resulting Numbers: [58] 58,15 unequal: No Solution Exploring Operation: 22*36=792, Resulting Numbers: [792] 792,15 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: 15:[20, 42, 3], Operations: ['27/9=3'] Exploring Operation: 20+3=23, Resulting Numbers: [42, 23] Generated Node #0,2,0: 15:[42, 23] Operation: 20+3=23 Exploring Operation: 42/3=14, Resulting Numbers: [20, 14] Generated Node #0,2,1: 15:[20, 14] Operation: 42/3=14 Exploring Operation: 20-3=17, Resulting Numbers: [42, 17] Generated Node #0,2,2: 15:[42, 17] Operation: 20-3=17 Exploring Operation: 42-3=39, Resulting Numbers: [20, 39] Generated Node #0,2,3: 15:[20, 39] Operation: 42-3=39 Exploring Operation: 42-20=22, Resulting Numbers: [3, 22] Generated Node #0,2,4: 15:[3, 22] Operation: 42-20=22 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[20, 14], Operations: ['27/9=3', '42/3=14'] Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,15 unequal: No Solution Exploring Operation: 20*14=280, Resulting Numbers: [280] 280,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,4 Current State: 15:[3, 22], Operations: ['27/9=3', '42-20=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,15 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,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:[42, 17], Operations: ['27/9=3', '20-3=17'] Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,15 unequal: No Solution Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,15 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,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, 39], Operations: ['27/9=3', '42-3=39'] Exploring Operation: 20*39=780, Resulting Numbers: [780] 780,15 unequal: No Solution Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,15 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,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,0 Current State: 15:[42, 23], Operations: ['27/9=3', '20+3=23'] Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 42+23=65, Resulting Numbers: [65] 65,15 unequal: No Solution Exploring Operation: 42*23=966, Resulting Numbers: [966] 966,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:[9, 42, 7], Operations: ['27-20=7'] Exploring Operation: 42/7=6, Resulting Numbers: [9, 6] Generated Node #0,3,0: 15:[9, 6] Operation: 42/7=6 Exploring Operation: 42-9=33, Resulting Numbers: [7, 33] Generated Node #0,3,1: 15:[7, 33] Operation: 42-9=33 Exploring Operation: 9-7=2, Resulting Numbers: [42, 2] Generated Node #0,3,2: 15:[42, 2] Operation: 9-7=2 Exploring Operation: 42-7=35, Resulting Numbers: [9, 35] Generated Node #0,3,3: 15:[9, 35] Operation: 42-7=35 Exploring Operation: 9+7=16, Resulting Numbers: [42, 16] Generated Node #0,3,4: 15:[42, 16] Operation: 9+7=16 Moving to Node #0,0 Current State: 15:[20, 27, 33], Operations: ['42-9=33'] Exploring Operation: 20+33=53, Resulting Numbers: [27, 53] Generated Node #0,0,0: 15:[27, 53] Operation: 20+33=53 Exploring Operation: 33-20=13, Resulting Numbers: [27, 13] Generated Node #0,0,1: 15:[27, 13] Operation: 33-20=13 Exploring Operation: 27-20=7, Resulting Numbers: [33, 7] Generated Node #0,0,2: 15:[33, 7] Operation: 27-20=7 Exploring Operation: 33-27=6, Resulting Numbers: [20, 6] Generated Node #0,0,3: 15:[20, 6] Operation: 33-27=6 Exploring Operation: 20+27=47, Resulting Numbers: [33, 47] Generated Node #0,0,4: 15:[33, 47] Operation: 20+27=47 Moving to Node #0,3,0 Current State: 15:[9, 6], Operations: ['27-20=7', '42/7=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[9, 20, 42, 27], Operations: [] Exploring Operation: 27-20=7, Resulting Numbers: [9, 42, 7] Generated Node #0,3: 15:[9, 42, 7] Operation: 27-20=7 Moving to Node #0,3 Current State: 15:[9, 42, 7], Operations: ['27-20=7'] Exploring Operation: 42/7=6, Resulting Numbers: [9, 6] Generated Node #0,3,0: 15:[9, 6] Operation: 42/7=6 Moving to Node #0,3,0 Current State: 15:[9, 6], Operations: ['27-20=7', '42/7=6'] Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.929688
hs_5
mult_heuristic
[ 82, 32, 82, 9 ]
24
[ "82/82=1", "32-9=23", "1+23=24" ]
Current State: 24:[82, 32, 82, 9], Operations: [] Exploring Operation: 82/82=1, Resulting Numbers: [32, 9, 1] Generated Node #2: [32, 9, 1] from Operation: 82/82=1 Current State: 24:[32, 9, 1], Operations: ['82/82=1'] Exploring Operation: 32-9=23, Resulting Numbers: [1, 23] Generated Node #3: [1, 23] from Operation: 32-9=23 Current State: 24:[1, 23], Operations: ['82/82=1', '32-9=23'] Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[82, 32, 82, 9], Operations: [] Exploring Operation: 82/82=1, Resulting Numbers: [32, 9, 1] Generated Node #0,0: 24:[32, 9, 1] Operation: 82/82=1 Exploring Operation: 82-32=50, Resulting Numbers: [82, 9, 50] Generated Node #0,1: 24:[82, 9, 50] Operation: 82-32=50 Exploring Operation: 82-82=0, Resulting Numbers: [32, 9, 0] Generated Node #0,2: 24:[32, 9, 0] Operation: 82-82=0 Exploring Operation: 82-32=50, Resulting Numbers: [82, 9, 50] Generated Node #0,3: 24:[82, 9, 50] Operation: 82-32=50 Moving to Node #0,0 Current State: 24:[32, 9, 1], Operations: ['82/82=1'] Exploring Operation: 32-9=23, Resulting Numbers: [1, 23] Generated Node #0,0,0: 24:[1, 23] Operation: 32-9=23 Exploring Operation: 32*1=32, Resulting Numbers: [9, 32] Generated Node #0,0,1: 24:[9, 32] Operation: 32*1=32 Exploring Operation: 32-1=31, Resulting Numbers: [9, 31] Generated Node #0,0,2: 24:[9, 31] Operation: 32-1=31 Exploring Operation: 9-1=8, Resulting Numbers: [32, 8] Generated Node #0,0,3: 24:[32, 8] Operation: 9-1=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[1, 23], Operations: ['82/82=1', '32-9=23'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[82, 32, 82, 9], Operations: [] Exploring Operation: 82/82=1, Resulting Numbers: [32, 9, 1] Generated Node #0,0: 24:[32, 9, 1] Operation: 82/82=1 Moving to Node #0,0 Current State: 24:[32, 9, 1], Operations: ['82/82=1'] Exploring Operation: 32-9=23, Resulting Numbers: [1, 23] Generated Node #0,0,0: 24:[1, 23] Operation: 32-9=23 Moving to Node #0,0,0 Current State: 24:[1, 23], Operations: ['82/82=1', '32-9=23'] Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 29, 9, 45, 18 ]
22
[ "45+18=63", "63/9=7", "29-7=22" ]
Current State: 22:[29, 9, 45, 18], Operations: [] Exploring Operation: 45+18=63, Resulting Numbers: [29, 9, 63] Generated Node #2: [29, 9, 63] from Operation: 45+18=63 Current State: 22:[29, 9, 63], Operations: ['45+18=63'] Exploring Operation: 63/9=7, Resulting Numbers: [29, 7] Generated Node #3: [29, 7] from Operation: 63/9=7 Current State: 22:[29, 7], Operations: ['45+18=63', '63/9=7'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[29, 9, 45, 18], Operations: [] Exploring Operation: 45/9=5, Resulting Numbers: [29, 18, 5] Generated Node #0,0: 22:[29, 18, 5] Operation: 45/9=5 Exploring Operation: 45-29=16, Resulting Numbers: [9, 18, 16] Generated Node #0,1: 22:[9, 18, 16] Operation: 45-29=16 Moving to Node #0,1 Current State: 22:[9, 18, 16], Operations: ['45-29=16'] Exploring Operation: 18-16=2, Resulting Numbers: [9, 2] Generated Node #0,1,0: 22:[9, 2] Operation: 18-16=2 Exploring Operation: 18/9=2, Resulting Numbers: [16, 2] Generated Node #0,1,1: 22:[16, 2] Operation: 18/9=2 Moving to Node #0,0 Current State: 22:[29, 18, 5], Operations: ['45/9=5'] Exploring Operation: 29-5=24, Resulting Numbers: [18, 24] Generated Node #0,0,0: 22:[18, 24] Operation: 29-5=24 Exploring Operation: 29-18=11, Resulting Numbers: [5, 11] Generated Node #0,0,1: 22:[5, 11] Operation: 29-18=11 Moving to Node #0,1,0 Current State: 22:[9, 2], Operations: ['45-29=16', '18-16=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,22 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[5, 11], Operations: ['45/9=5', '29-18=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[16, 2], Operations: ['45-29=16', '18/9=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,22 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[18, 24], Operations: ['45/9=5', '29-5=24'] Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,22 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,22 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 26, 12, 62, 59 ]
90
[ "62-59=3", "26*3=78", "12+78=90" ]
Current State: 90:[26, 12, 62, 59], Operations: [] Exploring Operation: 62-59=3, Resulting Numbers: [26, 12, 3] Generated Node #2: [26, 12, 3] from Operation: 62-59=3 Current State: 90:[26, 12, 3], Operations: ['62-59=3'] Exploring Operation: 26*3=78, Resulting Numbers: [12, 78] Generated Node #3: [12, 78] from Operation: 26*3=78 Current State: 90:[12, 78], Operations: ['62-59=3', '26*3=78'] Exploring Operation: 12+78=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[26, 12, 62, 59], Operations: [] Exploring Operation: 62-12=50, Resulting Numbers: [26, 59, 50] Generated Node #0,0: 90:[26, 59, 50] Operation: 62-12=50 Exploring Operation: 62-26=36, Resulting Numbers: [12, 59, 36] Generated Node #0,1: 90:[12, 59, 36] Operation: 62-26=36 Exploring Operation: 59-26=33, Resulting Numbers: [12, 62, 33] Generated Node #0,2: 90:[12, 62, 33] Operation: 59-26=33 Exploring Operation: 62-59=3, Resulting Numbers: [26, 12, 3] Generated Node #0,3: 90:[26, 12, 3] Operation: 62-59=3 Exploring Operation: 26+62=88, Resulting Numbers: [12, 59, 88] Generated Node #0,4: 90:[12, 59, 88] Operation: 26+62=88 Start Sub Search at level 1: Moving to Node #0,3 Current State: 90:[26, 12, 3], Operations: ['62-59=3'] Exploring Operation: 12+3=15, Resulting Numbers: [26, 15] Generated Node #0,3,0: 90:[26, 15] Operation: 12+3=15 Exploring Operation: 12-3=9, Resulting Numbers: [26, 9] Generated Node #0,3,1: 90:[26, 9] Operation: 12-3=9 Exploring Operation: 12/3=4, Resulting Numbers: [26, 4] Generated Node #0,3,2: 90:[26, 4] Operation: 12/3=4 Exploring Operation: 26+3=29, Resulting Numbers: [12, 29] Generated Node #0,3,3: 90:[12, 29] Operation: 26+3=29 Exploring Operation: 26-12=14, Resulting Numbers: [3, 14] Generated Node #0,3,4: 90:[3, 14] Operation: 26-12=14 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 90:[3, 14], Operations: ['62-59=3', '26-12=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 90:[12, 29], Operations: ['62-59=3', '26+3=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 90:[26, 15], Operations: ['62-59=3', '12+3=15'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 90:[26, 9], Operations: ['62-59=3', '12-3=9'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 26*9=234, Resulting Numbers: [234] 234,90 unequal: No Solution Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 90:[26, 4], Operations: ['62-59=3', '12/3=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 90:[12, 59, 88], Operations: ['26+62=88'] Exploring Operation: 12+59=71, Resulting Numbers: [88, 71] Generated Node #0,4,0: 90:[88, 71] Operation: 12+59=71 Exploring Operation: 88-59=29, Resulting Numbers: [12, 29] Generated Node #0,4,1: 90:[12, 29] Operation: 88-59=29 Exploring Operation: 88-12=76, Resulting Numbers: [59, 76] Generated Node #0,4,2: 90:[59, 76] Operation: 88-12=76 Exploring Operation: 12+88=100, Resulting Numbers: [59, 100] Generated Node #0,4,3: 90:[59, 100] Operation: 12+88=100 Exploring Operation: 59-12=47, Resulting Numbers: [88, 47] Generated Node #0,4,4: 90:[88, 47] Operation: 59-12=47 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 90:[12, 29], Operations: ['26+62=88', '88-59=29'] Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 90:[88, 47], Operations: ['26+62=88', '59-12=47'] Exploring Operation: 88+47=135, Resulting Numbers: [135] 135,90 unequal: No Solution Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 88*47=4136, Resulting Numbers: [4136] 4136,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 90:[88, 71], Operations: ['26+62=88', '12+59=71'] Exploring Operation: 88*71=6248, Resulting Numbers: [6248] 6248,90 unequal: No Solution Exploring Operation: 88+71=159, Resulting Numbers: [159] 159,90 unequal: No Solution Exploring Operation: 88-71=17, Resulting Numbers: [17] 17,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 90:[59, 100], Operations: ['26+62=88', '12+88=100'] Exploring Operation: 100-59=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 59*100=5900, Resulting Numbers: [5900] 5900,90 unequal: No Solution Exploring Operation: 59+100=159, Resulting Numbers: [159] 159,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 90:[59, 76], Operations: ['26+62=88', '88-12=76'] Exploring Operation: 76-59=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 59+76=135, Resulting Numbers: [135] 135,90 unequal: No Solution Exploring Operation: 59*76=4484, Resulting Numbers: [4484] 4484,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[12, 59, 36], Operations: ['62-26=36'] Exploring Operation: 36/12=3, Resulting Numbers: [59, 3] Generated Node #0,1,0: 90:[59, 3] Operation: 36/12=3 Exploring Operation: 59+36=95, Resulting Numbers: [12, 95] Generated Node #0,1,1: 90:[12, 95] Operation: 59+36=95 Exploring Operation: 59-36=23, Resulting Numbers: [12, 23] Generated Node #0,1,2: 90:[12, 23] Operation: 59-36=23 Exploring Operation: 59-12=47, Resulting Numbers: [36, 47] Generated Node #0,1,3: 90:[36, 47] Operation: 59-12=47 Exploring Operation: 12+36=48, Resulting Numbers: [59, 48] Generated Node #0,1,4: 90:[59, 48] Operation: 12+36=48 Moving to Node #0,1,1 Current State: 90:[12, 95], Operations: ['62-26=36', '59+36=95'] Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,90 unequal: No Solution Exploring Operation: 12+95=107, Resulting Numbers: [107] 107,90 unequal: No Solution Exploring Operation: 12*95=1140, Resulting Numbers: [1140] 1140,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[12, 23], Operations: ['62-26=36', '59-36=23'] Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,90 unequal: No Solution Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,90 unequal: No Solution Moving to Node #0,1,3 Current State: 90:[36, 47], Operations: ['62-26=36', '59-12=47'] Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 36+47=83, Resulting Numbers: [83] 83,90 unequal: No Solution Exploring Operation: 36*47=1692, Resulting Numbers: [1692] 1692,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[59, 3], Operations: ['62-26=36', '36/12=3'] Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,90 unequal: No Solution Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,90 unequal: No Solution Moving to Node #0,1,4 Current State: 90:[59, 48], Operations: ['62-26=36', '12+36=48'] Exploring Operation: 59*48=2832, Resulting Numbers: [2832] 2832,90 unequal: No Solution Exploring Operation: 59+48=107, Resulting Numbers: [107] 107,90 unequal: No Solution Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[12, 62, 33], Operations: ['59-26=33'] Exploring Operation: 12+33=45, Resulting Numbers: [62, 45] Generated Node #0,2,0: 90:[62, 45] Operation: 12+33=45 Exploring Operation: 12+62=74, Resulting Numbers: [33, 74] Generated Node #0,2,1: 90:[33, 74] Operation: 12+62=74 Exploring Operation: 62-33=29, Resulting Numbers: [12, 29] Generated Node #0,2,2: 90:[12, 29] Operation: 62-33=29 Exploring Operation: 62-12=50, Resulting Numbers: [33, 50] Generated Node #0,2,3: 90:[33, 50] Operation: 62-12=50 Exploring Operation: 62+33=95, Resulting Numbers: [12, 95] Generated Node #0,2,4: 90:[12, 95] Operation: 62+33=95 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 90:[12, 29], Operations: ['59-26=33', '62-33=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,90 unequal: No Solution Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 90:[12, 95], Operations: ['59-26=33', '62+33=95'] Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,90 unequal: No Solution Exploring Operation: 12*95=1140, Resulting Numbers: [1140] 1140,90 unequal: No Solution Exploring Operation: 12+95=107, Resulting Numbers: [107] 107,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 90:[33, 50], Operations: ['59-26=33', '62-12=50'] Exploring Operation: 33+50=83, Resulting Numbers: [83] 83,90 unequal: No Solution Exploring Operation: 33*50=1650, Resulting Numbers: [1650] 1650,90 unequal: No Solution Exploring Operation: 50-33=17, Resulting Numbers: [17] 17,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 90:[62, 45], Operations: ['59-26=33', '12+33=45'] Exploring Operation: 62*45=2790, Resulting Numbers: [2790] 2790,90 unequal: No Solution Exploring Operation: 62+45=107, Resulting Numbers: [107] 107,90 unequal: No Solution Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 90:[33, 74], Operations: ['59-26=33', '12+62=74'] Exploring Operation: 33*74=2442, Resulting Numbers: [2442] 2442,90 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 33+74=107, Resulting Numbers: [107] 107,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[26, 59, 50], Operations: ['62-12=50'] Exploring Operation: 59-50=9, Resulting Numbers: [26, 9] Generated Node #0,0,0: 90:[26, 9] Operation: 59-50=9 Exploring Operation: 59-26=33, Resulting Numbers: [50, 33] Generated Node #0,0,1: 90:[50, 33] Operation: 59-26=33 Exploring Operation: 26+59=85, Resulting Numbers: [50, 85] Generated Node #0,0,2: 90:[50, 85] Operation: 26+59=85 Exploring Operation: 59+50=109, Resulting Numbers: [26, 109] Generated Node #0,0,3: 90:[26, 109] Operation: 59+50=109 Exploring Operation: 50-26=24, Resulting Numbers: [59, 24] Generated Node #0,0,4: 90:[59, 24] Operation: 50-26=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[26, 9], Operations: ['62-12=50', '59-50=9'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 26*9=234, Resulting Numbers: [234] 234,90 unequal: No Solution Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 90:[50, 33], Operations: ['62-12=50', '59-26=33'] Exploring Operation: 50*33=1650, Resulting Numbers: [1650] 1650,90 unequal: No Solution Exploring Operation: 50-33=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 50+33=83, Resulting Numbers: [83] 83,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 90:[50, 85], Operations: ['62-12=50', '26+59=85'] Exploring Operation: 85-50=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 50*85=4250, Resulting Numbers: [4250] 4250,90 unequal: No Solution Exploring Operation: 50+85=135, Resulting Numbers: [135] 135,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 90:[59, 24], Operations: ['62-12=50', '50-26=24'] Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,90 unequal: No Solution Exploring Operation: 59*24=1416, Resulting Numbers: [1416] 1416,90 unequal: No Solution Exploring Operation: 59+24=83, Resulting Numbers: [83] 83,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 90:[26, 109], Operations: ['62-12=50', '59+50=109'] Exploring Operation: 26*109=2834, Resulting Numbers: [2834] 2834,90 unequal: No Solution Exploring Operation: 26+109=135, Resulting Numbers: [135] 135,90 unequal: No Solution Exploring Operation: 109-26=83, Resulting Numbers: [83] 83,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 61, 14, 61, 33 ]
46
[ "61/61=1", "14+33=47", "47-1=46" ]
Current State: 46:[61, 14, 61, 33], Operations: [] Exploring Operation: 61/61=1, Resulting Numbers: [14, 33, 1] Generated Node #2: [14, 33, 1] from Operation: 61/61=1 Current State: 46:[14, 33, 1], Operations: ['61/61=1'] Exploring Operation: 14+33=47, Resulting Numbers: [1, 47] Generated Node #3: [1, 47] from Operation: 14+33=47 Current State: 46:[1, 47], Operations: ['61/61=1', '14+33=47'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[61, 14, 61, 33], Operations: [] Exploring Operation: 61/61=1, Resulting Numbers: [14, 33, 1] Generated Node #0,0: 46:[14, 33, 1] Operation: 61/61=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[14, 33, 1], Operations: ['61/61=1'] Exploring Operation: 14+33=47, Resulting Numbers: [1, 47] Generated Node #0,0,0: 46:[1, 47] Operation: 14+33=47 Moving to Node #0,0,0 Current State: 46:[1, 47], Operations: ['61/61=1', '14+33=47'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[61, 14, 61, 33], Operations: [] Exploring Operation: 61/61=1, Resulting Numbers: [14, 33, 1] Generated Node #0,0: 46:[14, 33, 1] Operation: 61/61=1 Moving to Node #0,0 Current State: 46:[14, 33, 1], Operations: ['61/61=1'] Exploring Operation: 14+33=47, Resulting Numbers: [1, 47] Generated Node #0,0,0: 46:[1, 47] Operation: 14+33=47 Moving to Node #0,0,0 Current State: 46:[1, 47], Operations: ['61/61=1', '14+33=47'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 18, 66, 41, 40 ]
83
[ "18+66=84", "41-40=1", "84-1=83" ]
Current State: 83:[18, 66, 41, 40], Operations: [] Exploring Operation: 18+66=84, Resulting Numbers: [41, 40, 84] Generated Node #2: [41, 40, 84] from Operation: 18+66=84 Current State: 83:[41, 40, 84], Operations: ['18+66=84'] Exploring Operation: 41-40=1, Resulting Numbers: [84, 1] Generated Node #3: [84, 1] from Operation: 41-40=1 Current State: 83:[84, 1], Operations: ['18+66=84', '41-40=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[18, 66, 41, 40], Operations: [] Exploring Operation: 66-18=48, Resulting Numbers: [41, 40, 48] Generated Node #0,0: 83:[41, 40, 48] Operation: 66-18=48 Exploring Operation: 18+66=84, Resulting Numbers: [41, 40, 84] Generated Node #0,1: 83:[41, 40, 84] Operation: 18+66=84 Exploring Operation: 18+40=58, Resulting Numbers: [66, 41, 58] Generated Node #0,2: 83:[66, 41, 58] Operation: 18+40=58 Exploring Operation: 41+40=81, Resulting Numbers: [18, 66, 81] Generated Node #0,3: 83:[18, 66, 81] Operation: 41+40=81 Exploring Operation: 18+41=59, Resulting Numbers: [66, 40, 59] Generated Node #0,4: 83:[66, 40, 59] Operation: 18+41=59 Moving to Node #0,2 Current State: 83:[66, 41, 58], Operations: ['18+40=58'] Exploring Operation: 58-41=17, Resulting Numbers: [66, 17] Generated Node #0,2,0: 83:[66, 17] Operation: 58-41=17 Exploring Operation: 66-41=25, Resulting Numbers: [58, 25] Generated Node #0,2,1: 83:[58, 25] Operation: 66-41=25 Exploring Operation: 66+41=107, Resulting Numbers: [58, 107] Generated Node #0,2,2: 83:[58, 107] Operation: 66+41=107 Exploring Operation: 66+58=124, Resulting Numbers: [41, 124] Generated Node #0,2,3: 83:[41, 124] Operation: 66+58=124 Exploring Operation: 41+58=99, Resulting Numbers: [66, 99] Generated Node #0,2,4: 83:[66, 99] Operation: 41+58=99 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 83:[66, 99], Operations: ['18+40=58', '41+58=99'] Exploring Operation: 99-66=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 66*99=6534, Resulting Numbers: [6534] 6534,83 unequal: No Solution Exploring Operation: 66+99=165, Resulting Numbers: [165] 165,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:[58, 107], Operations: ['18+40=58', '66+41=107'] Exploring Operation: 58*107=6206, Resulting Numbers: [6206] 6206,83 unequal: No Solution Exploring Operation: 107-58=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 58+107=165, Resulting Numbers: [165] 165,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:[66, 17], Operations: ['18+40=58', '58-41=17'] Exploring Operation: 66+17=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[18, 66, 41, 40], Operations: [] Exploring Operation: 18+40=58, Resulting Numbers: [66, 41, 58] Generated Node #0,2: 83:[66, 41, 58] Operation: 18+40=58 Moving to Node #0,2 Current State: 83:[66, 41, 58], Operations: ['18+40=58'] Exploring Operation: 58-41=17, Resulting Numbers: [66, 17] Generated Node #0,2,0: 83:[66, 17] Operation: 58-41=17 Moving to Node #0,2,0 Current State: 83:[66, 17], Operations: ['18+40=58', '58-41=17'] Exploring Operation: 66+17=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 90, 8, 10, 18 ]
81
[ "10-8=2", "18/2=9", "90-9=81" ]
Current State: 81:[90, 8, 10, 18], Operations: [] Exploring Operation: 10-8=2, Resulting Numbers: [90, 18, 2] Generated Node #2: [90, 18, 2] from Operation: 10-8=2 Current State: 81:[90, 18, 2], Operations: ['10-8=2'] Exploring Operation: 18/2=9, Resulting Numbers: [90, 9] Generated Node #3: [90, 9] from Operation: 18/2=9 Current State: 81:[90, 9], Operations: ['10-8=2', '18/2=9'] Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[90, 8, 10, 18], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [8, 18, 9] Generated Node #0,0: 81:[8, 18, 9] Operation: 90/10=9 Exploring Operation: 90/18=5, Resulting Numbers: [8, 10, 5] Generated Node #0,1: 81:[8, 10, 5] Operation: 90/18=5 Exploring Operation: 90-8=82, Resulting Numbers: [10, 18, 82] Generated Node #0,2: 81:[10, 18, 82] Operation: 90-8=82 Moving to Node #0,1 Current State: 81:[8, 10, 5], Operations: ['90/18=5'] Exploring Operation: 8*10=80, Resulting Numbers: [5, 80] Generated Node #0,1,0: 81:[5, 80] Operation: 8*10=80 Exploring Operation: 10/5=2, Resulting Numbers: [8, 2] Generated Node #0,1,1: 81:[8, 2] Operation: 10/5=2 Exploring Operation: 8-5=3, Resulting Numbers: [10, 3] Generated Node #0,1,2: 81:[10, 3] Operation: 8-5=3 Moving to Node #0,0 Current State: 81:[8, 18, 9], Operations: ['90/10=9'] Exploring Operation: 8+18=26, Resulting Numbers: [9, 26] Generated Node #0,0,0: 81:[9, 26] Operation: 8+18=26 Exploring Operation: 18+9=27, Resulting Numbers: [8, 27] Generated Node #0,0,1: 81:[8, 27] Operation: 18+9=27 Exploring Operation: 18-8=10, Resulting Numbers: [9, 10] Generated Node #0,0,2: 81:[9, 10] Operation: 18-8=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[9, 26], Operations: ['90/10=9', '8+18=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,81 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,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,0,1 Current State: 81:[8, 27], Operations: ['90/10=9', '18+9=27'] Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,81 unequal: No Solution Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,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,0,2 Current State: 81:[9, 10], Operations: ['90/10=9', '18-8=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,81 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,81 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: 81:[10, 18, 82], Operations: ['90-8=82'] Exploring Operation: 18-10=8, Resulting Numbers: [82, 8] Generated Node #0,2,0: 81:[82, 8] Operation: 18-10=8 Exploring Operation: 82-10=72, Resulting Numbers: [18, 72] Generated Node #0,2,1: 81:[18, 72] Operation: 82-10=72 Exploring Operation: 10+18=28, Resulting Numbers: [82, 28] Generated Node #0,2,2: 81:[82, 28] Operation: 10+18=28 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 81:[82, 8], Operations: ['90-8=82', '18-10=8'] Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,81 unequal: No Solution Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,81 unequal: No Solution Exploring Operation: 82*8=656, Resulting Numbers: [656] 656,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:[82, 28], Operations: ['90-8=82', '10+18=28'] Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,81 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,81 unequal: No Solution Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,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:[18, 72], Operations: ['90-8=82', '82-10=72'] Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,81 unequal: No Solution Exploring Operation: 18+72=90, Resulting Numbers: [90] 90,81 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: 81:[10, 3], Operations: ['90/18=5', '8-5=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[8, 2], Operations: ['90/18=5', '10/5=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[5, 80], Operations: ['90/18=5', '8*10=80'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,81 unequal: No Solution Exploring Operation: 5+80=85, Resulting Numbers: [85] 85,81 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,81 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 65, 31, 65, 64 ]
32
[ "65/65=1", "64-31=33", "33-1=32" ]
Current State: 32:[65, 31, 65, 64], Operations: [] Exploring Operation: 65/65=1, Resulting Numbers: [31, 64, 1] Generated Node #2: [31, 64, 1] from Operation: 65/65=1 Current State: 32:[31, 64, 1], Operations: ['65/65=1'] Exploring Operation: 64-31=33, Resulting Numbers: [1, 33] Generated Node #3: [1, 33] from Operation: 64-31=33 Current State: 32:[1, 33], Operations: ['65/65=1', '64-31=33'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[65, 31, 65, 64], Operations: [] Exploring Operation: 65/65=1, Resulting Numbers: [31, 64, 1] Generated Node #0,0: 32:[31, 64, 1] Operation: 65/65=1 Exploring Operation: 65-65=0, Resulting Numbers: [31, 64, 0] Generated Node #0,1: 32:[31, 64, 0] Operation: 65-65=0 Moving to Node #0,0 Current State: 32:[31, 64, 1], Operations: ['65/65=1'] Exploring Operation: 31+1=32, Resulting Numbers: [64, 32] Generated Node #0,0,0: 32:[64, 32] Operation: 31+1=32 Exploring Operation: 64-31=33, Resulting Numbers: [1, 33] Generated Node #0,0,1: 32:[1, 33] Operation: 64-31=33 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[1, 33], Operations: ['65/65=1', '64-31=33'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[65, 31, 65, 64], Operations: [] Exploring Operation: 65/65=1, Resulting Numbers: [31, 64, 1] Generated Node #0,0: 32:[31, 64, 1] Operation: 65/65=1 Moving to Node #0,0 Current State: 32:[31, 64, 1], Operations: ['65/65=1'] Exploring Operation: 64-31=33, Resulting Numbers: [1, 33] Generated Node #0,0,1: 32:[1, 33] Operation: 64-31=33 Moving to Node #0,0,1 Current State: 32:[1, 33], Operations: ['65/65=1', '64-31=33'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 21, 28, 24, 64 ]
82
[ "21*24=504", "504/28=18", "64+18=82" ]
Current State: 82:[21, 28, 24, 64], Operations: [] Exploring Operation: 21*24=504, Resulting Numbers: [28, 64, 504] Generated Node #2: [28, 64, 504] from Operation: 21*24=504 Current State: 82:[28, 64, 504], Operations: ['21*24=504'] Exploring Operation: 504/28=18, Resulting Numbers: [64, 18] Generated Node #3: [64, 18] from Operation: 504/28=18 Current State: 82:[64, 18], Operations: ['21*24=504', '504/28=18'] Exploring Operation: 64+18=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[21, 28, 24, 64], Operations: [] Exploring Operation: 24-21=3, Resulting Numbers: [28, 64, 3] Generated Node #0,0: 82:[28, 64, 3] Operation: 24-21=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[28, 64, 3], Operations: ['24-21=3'] Exploring Operation: 64-28=36, Resulting Numbers: [3, 36] Generated Node #0,0,0: 82:[3, 36] Operation: 64-28=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[3, 36], Operations: ['24-21=3', '64-28=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 80, 50, 99, 55 ]
86
[ "80+50=130", "99-55=44", "130-44=86" ]
Current State: 86:[80, 50, 99, 55], Operations: [] Exploring Operation: 80+50=130, Resulting Numbers: [99, 55, 130] Generated Node #2: [99, 55, 130] from Operation: 80+50=130 Current State: 86:[99, 55, 130], Operations: ['80+50=130'] Exploring Operation: 99-55=44, Resulting Numbers: [130, 44] Generated Node #3: [130, 44] from Operation: 99-55=44 Current State: 86:[130, 44], Operations: ['80+50=130', '99-55=44'] Exploring Operation: 130-44=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[80, 50, 99, 55], Operations: [] Exploring Operation: 99-55=44, Resulting Numbers: [80, 50, 44] Generated Node #0,0: 86:[80, 50, 44] Operation: 99-55=44 Moving to Node #0,0 Current State: 86:[80, 50, 44], Operations: ['99-55=44'] Exploring Operation: 50-44=6, Resulting Numbers: [80, 6] Generated Node #0,0,0: 86:[80, 6] Operation: 50-44=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[80, 6], Operations: ['99-55=44', '50-44=6'] Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[80, 50, 99, 55], Operations: [] Exploring Operation: 99-55=44, Resulting Numbers: [80, 50, 44] Generated Node #0,0: 86:[80, 50, 44] Operation: 99-55=44 Moving to Node #0,0 Current State: 86:[80, 50, 44], Operations: ['99-55=44'] Exploring Operation: 50-44=6, Resulting Numbers: [80, 6] Generated Node #0,0,0: 86:[80, 6] Operation: 50-44=6 Moving to Node #0,0,0 Current State: 86:[80, 6], Operations: ['99-55=44', '50-44=6'] Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 84, 41, 43, 7 ]
96
[ "84/7=12", "41+43=84", "12+84=96" ]
Current State: 96:[84, 41, 43, 7], Operations: [] Exploring Operation: 84/7=12, Resulting Numbers: [41, 43, 12] Generated Node #2: [41, 43, 12] from Operation: 84/7=12 Current State: 96:[41, 43, 12], Operations: ['84/7=12'] Exploring Operation: 41+43=84, Resulting Numbers: [12, 84] Generated Node #3: [12, 84] from Operation: 41+43=84 Current State: 96:[12, 84], Operations: ['84/7=12', '41+43=84'] Exploring Operation: 12+84=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[84, 41, 43, 7], Operations: [] Exploring Operation: 84/7=12, Resulting Numbers: [41, 43, 12] Generated Node #0,0: 96:[41, 43, 12] Operation: 84/7=12 Exploring Operation: 84-41=43, Resulting Numbers: [43, 7, 43] Generated Node #0,1: 96:[43, 7, 43] Operation: 84-41=43 Moving to Node #0,1 Current State: 96:[43, 7, 43], Operations: ['84-41=43'] Exploring Operation: 43-43=0, Resulting Numbers: [7, 0] Generated Node #0,1,0: 96:[7, 0] Operation: 43-43=0 Exploring Operation: 43/43=1, Resulting Numbers: [7, 1] Generated Node #0,1,1: 96:[7, 1] Operation: 43/43=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[7, 1], Operations: ['84-41=43', '43/43=1'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[7, 0], Operations: ['84-41=43', '43-43=0'] Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,96 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,96 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: 96:[41, 43, 12], Operations: ['84/7=12'] Exploring Operation: 41-12=29, Resulting Numbers: [43, 29] Generated Node #0,0,0: 96:[43, 29] Operation: 41-12=29 Exploring Operation: 43-41=2, Resulting Numbers: [12, 2] Generated Node #0,0,1: 96:[12, 2] Operation: 43-41=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[12, 2], Operations: ['84/7=12', '43-41=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[43, 29], Operations: ['84/7=12', '41-12=29'] Exploring Operation: 43+29=72, Resulting Numbers: [72] 72,96 unequal: No Solution Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 64, 36, 65, 29 ]
63
[ "65-36=29", "29/29=1", "64-1=63" ]
Current State: 63:[64, 36, 65, 29], Operations: [] Exploring Operation: 65-36=29, Resulting Numbers: [64, 29, 29] Generated Node #2: [64, 29, 29] from Operation: 65-36=29 Current State: 63:[64, 29, 29], Operations: ['65-36=29'] Exploring Operation: 29/29=1, Resulting Numbers: [64, 1] Generated Node #3: [64, 1] from Operation: 29/29=1 Current State: 63:[64, 1], Operations: ['65-36=29', '29/29=1'] Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[64, 36, 65, 29], Operations: [] Exploring Operation: 36-29=7, Resulting Numbers: [64, 65, 7] Generated Node #0,0: 63:[64, 65, 7] Operation: 36-29=7 Exploring Operation: 36+29=65, Resulting Numbers: [64, 65, 65] Generated Node #0,1: 63:[64, 65, 65] Operation: 36+29=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[64, 65, 7], Operations: ['36-29=7'] Exploring Operation: 65-64=1, Resulting Numbers: [7, 1] Generated Node #0,0,0: 63:[7, 1] Operation: 65-64=1 Exploring Operation: 65-7=58, Resulting Numbers: [64, 58] Generated Node #0,0,1: 63:[64, 58] Operation: 65-7=58 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[7, 1], Operations: ['36-29=7', '65-64=1'] Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[64, 58], Operations: ['36-29=7', '65-7=58'] Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 64+58=122, Resulting Numbers: [122] 122,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[64, 65, 65], Operations: ['36+29=65'] Exploring Operation: 65/65=1, Resulting Numbers: [64, 1] Generated Node #0,1,0: 63:[64, 1] Operation: 65/65=1 Exploring Operation: 65-64=1, Resulting Numbers: [65, 1] Generated Node #0,1,1: 63:[65, 1] Operation: 65-64=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[64, 1], Operations: ['36+29=65', '65/65=1'] Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[64, 36, 65, 29], Operations: [] Exploring Operation: 36+29=65, Resulting Numbers: [64, 65, 65] Generated Node #0,1: 63:[64, 65, 65] Operation: 36+29=65 Moving to Node #0,1 Current State: 63:[64, 65, 65], Operations: ['36+29=65'] Exploring Operation: 65/65=1, Resulting Numbers: [64, 1] Generated Node #0,1,0: 63:[64, 1] Operation: 65/65=1 Moving to Node #0,1,0 Current State: 63:[64, 1], Operations: ['36+29=65', '65/65=1'] Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 9, 8, 27, 62 ]
72
[ "9+8=17", "27+62=89", "89-17=72" ]
Current State: 72:[9, 8, 27, 62], Operations: [] Exploring Operation: 9+8=17, Resulting Numbers: [27, 62, 17] Generated Node #2: [27, 62, 17] from Operation: 9+8=17 Current State: 72:[27, 62, 17], Operations: ['9+8=17'] Exploring Operation: 27+62=89, Resulting Numbers: [17, 89] Generated Node #3: [17, 89] from Operation: 27+62=89 Current State: 72:[17, 89], Operations: ['9+8=17', '27+62=89'] Exploring Operation: 89-17=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[9, 8, 27, 62], Operations: [] Exploring Operation: 9+62=71, Resulting Numbers: [8, 27, 71] Generated Node #0,0: 72:[8, 27, 71] Operation: 9+62=71 Exploring Operation: 62-27=35, Resulting Numbers: [9, 8, 35] Generated Node #0,1: 72:[9, 8, 35] Operation: 62-27=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[9, 8, 35], Operations: ['62-27=35'] Exploring Operation: 9+8=17, Resulting Numbers: [35, 17] Generated Node #0,1,0: 72:[35, 17] Operation: 9+8=17 Exploring Operation: 9*8=72, Resulting Numbers: [35, 72] Generated Node #0,1,1: 72:[35, 72] Operation: 9*8=72 Moving to Node #0,1,1 Current State: 72:[35, 72], Operations: ['62-27=35', '9*8=72'] Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 35+72=107, Resulting Numbers: [107] 107,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[35, 17], Operations: ['62-27=35', '9+8=17'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[8, 27, 71], Operations: ['9+62=71'] Exploring Operation: 8+27=35, Resulting Numbers: [71, 35] Generated Node #0,0,0: 72:[71, 35] Operation: 8+27=35 Exploring Operation: 27-8=19, Resulting Numbers: [71, 19] Generated Node #0,0,1: 72:[71, 19] Operation: 27-8=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[71, 35], Operations: ['9+62=71', '8+27=35'] Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 71+35=106, Resulting Numbers: [106] 106,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 72:[71, 19], Operations: ['9+62=71', '27-8=19'] Exploring Operation: 71+19=90, Resulting Numbers: [90] 90,72 unequal: No Solution Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 49, 64, 95, 91 ]
65
[ "95-91=4", "64/4=16", "49+16=65" ]
Current State: 65:[49, 64, 95, 91], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [49, 64, 4] Generated Node #2: [49, 64, 4] from Operation: 95-91=4 Current State: 65:[49, 64, 4], Operations: ['95-91=4'] Exploring Operation: 64/4=16, Resulting Numbers: [49, 16] Generated Node #3: [49, 16] from Operation: 64/4=16 Current State: 65:[49, 16], Operations: ['95-91=4', '64/4=16'] Exploring Operation: 49+16=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[49, 64, 95, 91], Operations: [] Exploring Operation: 91-49=42, Resulting Numbers: [64, 95, 42] Generated Node #0,0: 65:[64, 95, 42] Operation: 91-49=42 Exploring Operation: 64-49=15, Resulting Numbers: [95, 91, 15] Generated Node #0,1: 65:[95, 91, 15] Operation: 64-49=15 Exploring Operation: 95-64=31, Resulting Numbers: [49, 91, 31] Generated Node #0,2: 65:[49, 91, 31] Operation: 95-64=31 Exploring Operation: 95-91=4, Resulting Numbers: [49, 64, 4] Generated Node #0,3: 65:[49, 64, 4] Operation: 95-91=4 Exploring Operation: 95-49=46, Resulting Numbers: [64, 91, 46] Generated Node #0,4: 65:[64, 91, 46] Operation: 95-49=46 Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[49, 64, 4], Operations: ['95-91=4'] Exploring Operation: 64/4=16, Resulting Numbers: [49, 16] Generated Node #0,3,0: 65:[49, 16] Operation: 64/4=16 Exploring Operation: 49+4=53, Resulting Numbers: [64, 53] Generated Node #0,3,1: 65:[64, 53] Operation: 49+4=53 Exploring Operation: 49-4=45, Resulting Numbers: [64, 45] Generated Node #0,3,2: 65:[64, 45] Operation: 49-4=45 Exploring Operation: 64+4=68, Resulting Numbers: [49, 68] Generated Node #0,3,3: 65:[49, 68] Operation: 64+4=68 Exploring Operation: 64-49=15, Resulting Numbers: [4, 15] Generated Node #0,3,4: 65:[4, 15] Operation: 64-49=15 Moving to Node #0,3,4 Current State: 65:[4, 15], Operations: ['95-91=4', '64-49=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,65 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,65 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[64, 53], Operations: ['95-91=4', '49+4=53'] Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,65 unequal: No Solution Exploring Operation: 64*53=3392, Resulting Numbers: [3392] 3392,65 unequal: No Solution Exploring Operation: 64+53=117, Resulting Numbers: [117] 117,65 unequal: No Solution Moving to Node #0,3,0 Current State: 65:[49, 16], Operations: ['95-91=4', '64/4=16'] Exploring Operation: 49*16=784, Resulting Numbers: [784] 784,65 unequal: No Solution Exploring Operation: 49+16=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[49, 64, 95, 91], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [49, 64, 4] Generated Node #0,3: 65:[49, 64, 4] Operation: 95-91=4 Moving to Node #0,3 Current State: 65:[49, 64, 4], Operations: ['95-91=4'] Exploring Operation: 64/4=16, Resulting Numbers: [49, 16] Generated Node #0,3,0: 65:[49, 16] Operation: 64/4=16 Moving to Node #0,3,0 Current State: 65:[49, 16], Operations: ['95-91=4', '64/4=16'] Exploring Operation: 49+16=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 47, 51, 97, 31 ]
30
[ "47+51=98", "97+31=128", "128-98=30" ]
Current State: 30:[47, 51, 97, 31], Operations: [] Exploring Operation: 47+51=98, Resulting Numbers: [97, 31, 98] Generated Node #2: [97, 31, 98] from Operation: 47+51=98 Current State: 30:[97, 31, 98], Operations: ['47+51=98'] Exploring Operation: 97+31=128, Resulting Numbers: [98, 128] Generated Node #3: [98, 128] from Operation: 97+31=128 Current State: 30:[98, 128], Operations: ['47+51=98', '97+31=128'] Exploring Operation: 128-98=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[47, 51, 97, 31], Operations: [] Exploring Operation: 97-51=46, Resulting Numbers: [47, 31, 46] Generated Node #0,0: 30:[47, 31, 46] Operation: 97-51=46 Exploring Operation: 97-47=50, Resulting Numbers: [51, 31, 50] Generated Node #0,1: 30:[51, 31, 50] Operation: 97-47=50 Exploring Operation: 51-47=4, Resulting Numbers: [97, 31, 4] Generated Node #0,2: 30:[97, 31, 4] Operation: 51-47=4 Moving to Node #0,0 Current State: 30:[47, 31, 46], Operations: ['97-51=46'] Exploring Operation: 47-31=16, Resulting Numbers: [46, 16] Generated Node #0,0,0: 30:[46, 16] Operation: 47-31=16 Exploring Operation: 47-46=1, Resulting Numbers: [31, 1] Generated Node #0,0,1: 30:[31, 1] Operation: 47-46=1 Exploring Operation: 46-31=15, Resulting Numbers: [47, 15] Generated Node #0,0,2: 30:[47, 15] Operation: 46-31=15 Moving to Node #0,1 Current State: 30:[51, 31, 50], Operations: ['97-47=50'] Exploring Operation: 50-31=19, Resulting Numbers: [51, 19] Generated Node #0,1,0: 30:[51, 19] Operation: 50-31=19 Exploring Operation: 51-50=1, Resulting Numbers: [31, 1] Generated Node #0,1,1: 30:[31, 1] Operation: 51-50=1 Exploring Operation: 51-31=20, Resulting Numbers: [50, 20] Generated Node #0,1,2: 30:[50, 20] Operation: 51-31=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[31, 1], Operations: ['97-47=50', '51-50=1'] Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[47, 51, 97, 31], Operations: [] Exploring Operation: 97-47=50, Resulting Numbers: [51, 31, 50] Generated Node #0,1: 30:[51, 31, 50] Operation: 97-47=50 Moving to Node #0,1 Current State: 30:[51, 31, 50], Operations: ['97-47=50'] Exploring Operation: 51-50=1, Resulting Numbers: [31, 1] Generated Node #0,1,1: 30:[31, 1] Operation: 51-50=1 Moving to Node #0,1,1 Current State: 30:[31, 1], Operations: ['97-47=50', '51-50=1'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 21, 62, 10, 48 ]
32
[ "62+48=110", "110/10=11", "21+11=32" ]
Current State: 32:[21, 62, 10, 48], Operations: [] Exploring Operation: 62+48=110, Resulting Numbers: [21, 10, 110] Generated Node #2: [21, 10, 110] from Operation: 62+48=110 Current State: 32:[21, 10, 110], Operations: ['62+48=110'] Exploring Operation: 110/10=11, Resulting Numbers: [21, 11] Generated Node #3: [21, 11] from Operation: 110/10=11 Current State: 32:[21, 11], Operations: ['62+48=110', '110/10=11'] Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[21, 62, 10, 48], Operations: [] Exploring Operation: 62-48=14, Resulting Numbers: [21, 10, 14] Generated Node #0,0: 32:[21, 10, 14] Operation: 62-48=14 Moving to Node #0,0 Current State: 32:[21, 10, 14], Operations: ['62-48=14'] Exploring Operation: 21+10=31, Resulting Numbers: [14, 31] Generated Node #0,0,0: 32:[14, 31] Operation: 21+10=31 Moving to Node #0,0,0 Current State: 32:[14, 31], Operations: ['62-48=14', '21+10=31'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,32 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 89, 46, 31, 65 ]
77
[ "89-46=43", "65-31=34", "43+34=77" ]
Current State: 77:[89, 46, 31, 65], Operations: [] Exploring Operation: 89-46=43, Resulting Numbers: [31, 65, 43] Generated Node #2: [31, 65, 43] from Operation: 89-46=43 Current State: 77:[31, 65, 43], Operations: ['89-46=43'] Exploring Operation: 65-31=34, Resulting Numbers: [43, 34] Generated Node #3: [43, 34] from Operation: 65-31=34 Current State: 77:[43, 34], Operations: ['89-46=43', '65-31=34'] Exploring Operation: 43+34=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[89, 46, 31, 65], Operations: [] Exploring Operation: 65-46=19, Resulting Numbers: [89, 31, 19] Generated Node #0,0: 77:[89, 31, 19] Operation: 65-46=19 Exploring Operation: 46-31=15, Resulting Numbers: [89, 65, 15] Generated Node #0,1: 77:[89, 65, 15] Operation: 46-31=15 Exploring Operation: 89-31=58, Resulting Numbers: [46, 65, 58] Generated Node #0,2: 77:[46, 65, 58] Operation: 89-31=58 Exploring Operation: 46+31=77, Resulting Numbers: [89, 65, 77] Generated Node #0,3: 77:[89, 65, 77] Operation: 46+31=77 Exploring Operation: 31+65=96, Resulting Numbers: [89, 46, 96] Generated Node #0,4: 77:[89, 46, 96] Operation: 31+65=96 Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[89, 65, 77], Operations: ['46+31=77'] Exploring Operation: 89-65=24, Resulting Numbers: [77, 24] Generated Node #0,3,0: 77:[77, 24] Operation: 89-65=24 Exploring Operation: 89+65=154, Resulting Numbers: [77, 154] Generated Node #0,3,1: 77:[77, 154] Operation: 89+65=154 Exploring Operation: 89-77=12, Resulting Numbers: [65, 12] Generated Node #0,3,2: 77:[65, 12] Operation: 89-77=12 Exploring Operation: 77-65=12, Resulting Numbers: [89, 12] Generated Node #0,3,3: 77:[89, 12] Operation: 77-65=12 Exploring Operation: 65+77=142, Resulting Numbers: [89, 142] Generated Node #0,3,4: 77:[89, 142] Operation: 65+77=142 Moving to Node #0,3,0 Current State: 77:[77, 24], Operations: ['46+31=77', '89-65=24'] Exploring Operation: 77+24=101, Resulting Numbers: [101] 101,77 unequal: No Solution Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,77 unequal: No Solution Exploring Operation: 77*24=1848, Resulting Numbers: [1848] 1848,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[89, 12], Operations: ['46+31=77', '77-65=12'] Exploring Operation: 89*12=1068, Resulting Numbers: [1068] 1068,77 unequal: No Solution Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[89, 46, 31, 65], Operations: [] Exploring Operation: 46+31=77, Resulting Numbers: [89, 65, 77] Generated Node #0,3: 77:[89, 65, 77] Operation: 46+31=77 Moving to Node #0,3 Current State: 77:[89, 65, 77], Operations: ['46+31=77'] Exploring Operation: 77-65=12, Resulting Numbers: [89, 12] Generated Node #0,3,3: 77:[89, 12] Operation: 77-65=12 Moving to Node #0,3,3 Current State: 77:[89, 12], Operations: ['46+31=77', '77-65=12'] Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 28, 78, 42, 66 ]
58
[ "78-28=50", "42+66=108", "108-50=58" ]
Current State: 58:[28, 78, 42, 66], Operations: [] Exploring Operation: 78-28=50, Resulting Numbers: [42, 66, 50] Generated Node #2: [42, 66, 50] from Operation: 78-28=50 Current State: 58:[42, 66, 50], Operations: ['78-28=50'] Exploring Operation: 42+66=108, Resulting Numbers: [50, 108] Generated Node #3: [50, 108] from Operation: 42+66=108 Current State: 58:[50, 108], Operations: ['78-28=50', '42+66=108'] Exploring Operation: 108-50=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[28, 78, 42, 66], Operations: [] Exploring Operation: 78-66=12, Resulting Numbers: [28, 42, 12] Generated Node #0,0: 58:[28, 42, 12] Operation: 78-66=12 Exploring Operation: 66-42=24, Resulting Numbers: [28, 78, 24] Generated Node #0,1: 58:[28, 78, 24] Operation: 66-42=24 Exploring Operation: 78-42=36, Resulting Numbers: [28, 66, 36] Generated Node #0,2: 58:[28, 66, 36] Operation: 78-42=36 Exploring Operation: 78-28=50, Resulting Numbers: [42, 66, 50] Generated Node #0,3: 58:[42, 66, 50] Operation: 78-28=50 Moving to Node #0,2 Current State: 58:[28, 66, 36], Operations: ['78-42=36'] Exploring Operation: 66-36=30, Resulting Numbers: [28, 30] Generated Node #0,2,0: 58:[28, 30] Operation: 66-36=30 Exploring Operation: 66-28=38, Resulting Numbers: [36, 38] Generated Node #0,2,1: 58:[36, 38] Operation: 66-28=38 Exploring Operation: 28+36=64, Resulting Numbers: [66, 64] Generated Node #0,2,2: 58:[66, 64] Operation: 28+36=64 Exploring Operation: 36-28=8, Resulting Numbers: [66, 8] Generated Node #0,2,3: 58:[66, 8] Operation: 36-28=8 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[28, 30], Operations: ['78-42=36', '66-36=30'] Exploring Operation: 28*30=840, Resulting Numbers: [840] 840,58 unequal: No Solution Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[28, 78, 42, 66], Operations: [] Exploring Operation: 78-42=36, Resulting Numbers: [28, 66, 36] Generated Node #0,2: 58:[28, 66, 36] Operation: 78-42=36 Moving to Node #0,2 Current State: 58:[28, 66, 36], Operations: ['78-42=36'] Exploring Operation: 66-36=30, Resulting Numbers: [28, 30] Generated Node #0,2,0: 58:[28, 30] Operation: 66-36=30 Moving to Node #0,2,0 Current State: 58:[28, 30], Operations: ['78-42=36', '66-36=30'] Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 24, 78, 53, 92 ]
63
[ "24+78=102", "92-53=39", "102-39=63" ]
Current State: 63:[24, 78, 53, 92], Operations: [] Exploring Operation: 24+78=102, Resulting Numbers: [53, 92, 102] Generated Node #2: [53, 92, 102] from Operation: 24+78=102 Current State: 63:[53, 92, 102], Operations: ['24+78=102'] Exploring Operation: 92-53=39, Resulting Numbers: [102, 39] Generated Node #3: [102, 39] from Operation: 92-53=39 Current State: 63:[102, 39], Operations: ['24+78=102', '92-53=39'] Exploring Operation: 102-39=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[24, 78, 53, 92], Operations: [] Exploring Operation: 92-24=68, Resulting Numbers: [78, 53, 68] Generated Node #0,0: 63:[78, 53, 68] Operation: 92-24=68 Exploring Operation: 92-78=14, Resulting Numbers: [24, 53, 14] Generated Node #0,1: 63:[24, 53, 14] Operation: 92-78=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[24, 53, 14], Operations: ['92-78=14'] Exploring Operation: 24-14=10, Resulting Numbers: [53, 10] Generated Node #0,1,0: 63:[53, 10] Operation: 24-14=10 Exploring Operation: 53+14=67, Resulting Numbers: [24, 67] Generated Node #0,1,1: 63:[24, 67] Operation: 53+14=67 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[24, 67], Operations: ['92-78=14', '53+14=67'] Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,63 unequal: No Solution Exploring Operation: 24+67=91, Resulting Numbers: [91] 91,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[53, 10], Operations: ['92-78=14', '24-14=10'] Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,63 unequal: No Solution Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[24, 78, 53, 92], Operations: [] Exploring Operation: 92-78=14, Resulting Numbers: [24, 53, 14] Generated Node #0,1: 63:[24, 53, 14] Operation: 92-78=14 Moving to Node #0,1 Current State: 63:[24, 53, 14], Operations: ['92-78=14'] Exploring Operation: 24-14=10, Resulting Numbers: [53, 10] Generated Node #0,1,0: 63:[53, 10] Operation: 24-14=10 Moving to Node #0,1,0 Current State: 63:[53, 10], Operations: ['92-78=14', '24-14=10'] Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 76, 20, 2, 73 ]
59
[ "76*2=152", "20+73=93", "152-93=59" ]
Current State: 59:[76, 20, 2, 73], Operations: [] Exploring Operation: 76*2=152, Resulting Numbers: [20, 73, 152] Generated Node #2: [20, 73, 152] from Operation: 76*2=152 Current State: 59:[20, 73, 152], Operations: ['76*2=152'] Exploring Operation: 20+73=93, Resulting Numbers: [152, 93] Generated Node #3: [152, 93] from Operation: 20+73=93 Current State: 59:[152, 93], Operations: ['76*2=152', '20+73=93'] Exploring Operation: 152-93=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[76, 20, 2, 73], Operations: [] Exploring Operation: 76-2=74, Resulting Numbers: [20, 73, 74] Generated Node #0,0: 59:[20, 73, 74] Operation: 76-2=74 Exploring Operation: 20*2=40, Resulting Numbers: [76, 73, 40] Generated Node #0,1: 59:[76, 73, 40] Operation: 20*2=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[76, 73, 40], Operations: ['20*2=40'] Exploring Operation: 73-40=33, Resulting Numbers: [76, 33] Generated Node #0,1,0: 59:[76, 33] Operation: 73-40=33 Exploring Operation: 76-40=36, Resulting Numbers: [73, 36] Generated Node #0,1,1: 59:[73, 36] Operation: 76-40=36 Moving to Node #0,1,1 Current State: 59:[73, 36], Operations: ['20*2=40', '76-40=36'] Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,59 unequal: No Solution Exploring Operation: 73+36=109, Resulting Numbers: [109] 109,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[76, 33], Operations: ['20*2=40', '73-40=33'] Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,59 unequal: No Solution Exploring Operation: 76+33=109, Resulting Numbers: [109] 109,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[20, 73, 74], Operations: ['76-2=74'] Exploring Operation: 73-20=53, Resulting Numbers: [74, 53] Generated Node #0,0,0: 59:[74, 53] Operation: 73-20=53 Exploring Operation: 74-20=54, Resulting Numbers: [73, 54] Generated Node #0,0,1: 59:[73, 54] Operation: 74-20=54 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[73, 54], Operations: ['76-2=74', '74-20=54'] Exploring Operation: 73+54=127, Resulting Numbers: [127] 127,59 unequal: No Solution Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[74, 53], Operations: ['76-2=74', '73-20=53'] Exploring Operation: 74+53=127, Resulting Numbers: [127] 127,59 unequal: No Solution Exploring Operation: 74-53=21, Resulting Numbers: [21] 21,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 90, 11, 70, 16 ]
21
[ "90+70=160", "160/16=10", "11+10=21" ]
Current State: 21:[90, 11, 70, 16], Operations: [] Exploring Operation: 90+70=160, Resulting Numbers: [11, 16, 160] Generated Node #2: [11, 16, 160] from Operation: 90+70=160 Current State: 21:[11, 16, 160], Operations: ['90+70=160'] Exploring Operation: 160/16=10, Resulting Numbers: [11, 10] Generated Node #3: [11, 10] from Operation: 160/16=10 Current State: 21:[11, 10], Operations: ['90+70=160', '160/16=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[90, 11, 70, 16], Operations: [] Exploring Operation: 90-16=74, Resulting Numbers: [11, 70, 74] Generated Node #0,0: 21:[11, 70, 74] Operation: 90-16=74 Exploring Operation: 90-11=79, Resulting Numbers: [70, 16, 79] Generated Node #0,1: 21:[70, 16, 79] Operation: 90-11=79 Exploring Operation: 90-70=20, Resulting Numbers: [11, 16, 20] Generated Node #0,2: 21:[11, 16, 20] Operation: 90-70=20 Exploring Operation: 70-11=59, Resulting Numbers: [90, 16, 59] Generated Node #0,3: 21:[90, 16, 59] Operation: 70-11=59 Exploring Operation: 70-16=54, Resulting Numbers: [90, 11, 54] Generated Node #0,4: 21:[90, 11, 54] Operation: 70-16=54 Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[11, 16, 20], Operations: ['90-70=20'] Exploring Operation: 11+16=27, Resulting Numbers: [20, 27] Generated Node #0,2,0: 21:[20, 27] Operation: 11+16=27 Exploring Operation: 11+20=31, Resulting Numbers: [16, 31] Generated Node #0,2,1: 21:[16, 31] Operation: 11+20=31 Exploring Operation: 16-11=5, Resulting Numbers: [20, 5] Generated Node #0,2,2: 21:[20, 5] Operation: 16-11=5 Exploring Operation: 20-11=9, Resulting Numbers: [16, 9] Generated Node #0,2,3: 21:[16, 9] Operation: 20-11=9 Exploring Operation: 20-16=4, Resulting Numbers: [11, 4] Generated Node #0,2,4: 21:[11, 4] Operation: 20-16=4 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 21:[20, 5], Operations: ['90-70=20', '16-11=5'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 21:[11, 4], Operations: ['90-70=20', '20-16=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 21:[20, 27], Operations: ['90-70=20', '11+16=27'] Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,21 unequal: No Solution Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 21:[16, 9], Operations: ['90-70=20', '20-11=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 21:[16, 31], Operations: ['90-70=20', '11+20=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[11, 70, 74], Operations: ['90-16=74'] Exploring Operation: 74-11=63, Resulting Numbers: [70, 63] Generated Node #0,0,0: 21:[70, 63] Operation: 74-11=63 Exploring Operation: 70-11=59, Resulting Numbers: [74, 59] Generated Node #0,0,1: 21:[74, 59] Operation: 70-11=59 Exploring Operation: 74-70=4, Resulting Numbers: [11, 4] Generated Node #0,0,2: 21:[11, 4] Operation: 74-70=4 Exploring Operation: 11+70=81, Resulting Numbers: [74, 81] Generated Node #0,0,3: 21:[74, 81] Operation: 11+70=81 Exploring Operation: 11+74=85, Resulting Numbers: [70, 85] Generated Node #0,0,4: 21:[70, 85] Operation: 11+74=85 Moving to Node #0,0,2 Current State: 21:[11, 4], Operations: ['90-16=74', '74-70=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[74, 59], Operations: ['90-16=74', '70-11=59'] Exploring Operation: 74-59=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 74+59=133, Resulting Numbers: [133] 133,21 unequal: No Solution Exploring Operation: 74*59=4366, Resulting Numbers: [4366] 4366,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[70, 63], Operations: ['90-16=74', '74-11=63'] Exploring Operation: 70+63=133, Resulting Numbers: [133] 133,21 unequal: No Solution Exploring Operation: 70*63=4410, Resulting Numbers: [4410] 4410,21 unequal: No Solution Exploring Operation: 70-63=7, Resulting Numbers: [7] 7,21 unequal: No Solution Moving to Node #0,0,3 Current State: 21:[74, 81], Operations: ['90-16=74', '11+70=81'] Exploring Operation: 74+81=155, Resulting Numbers: [155] 155,21 unequal: No Solution Exploring Operation: 81-74=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 74*81=5994, Resulting Numbers: [5994] 5994,21 unequal: No Solution Moving to Node #0,0,4 Current State: 21:[70, 85], Operations: ['90-16=74', '11+74=85'] Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 70+85=155, Resulting Numbers: [155] 155,21 unequal: No Solution Exploring Operation: 70*85=5950, Resulting Numbers: [5950] 5950,21 unequal: No Solution No 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: 21:[90, 11, 54], Operations: ['70-16=54'] Exploring Operation: 90-11=79, Resulting Numbers: [54, 79] Generated Node #0,4,0: 21:[54, 79] Operation: 90-11=79 Exploring Operation: 54-11=43, Resulting Numbers: [90, 43] Generated Node #0,4,1: 21:[90, 43] Operation: 54-11=43 Exploring Operation: 90-54=36, Resulting Numbers: [11, 36] Generated Node #0,4,2: 21:[11, 36] Operation: 90-54=36 Exploring Operation: 11+54=65, Resulting Numbers: [90, 65] Generated Node #0,4,3: 21:[90, 65] Operation: 11+54=65 Exploring Operation: 90+11=101, Resulting Numbers: [54, 101] Generated Node #0,4,4: 21:[54, 101] Operation: 90+11=101 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 21:[11, 36], Operations: ['70-16=54', '90-54=36'] Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,21 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 21:[54, 79], Operations: ['70-16=54', '90-11=79'] Exploring Operation: 79-54=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 54+79=133, Resulting Numbers: [133] 133,21 unequal: No Solution Exploring Operation: 54*79=4266, Resulting Numbers: [4266] 4266,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 21:[90, 43], Operations: ['70-16=54', '54-11=43'] Exploring Operation: 90*43=3870, Resulting Numbers: [3870] 3870,21 unequal: No Solution Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 90+43=133, Resulting Numbers: [133] 133,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 21:[90, 65], Operations: ['70-16=54', '11+54=65'] Exploring Operation: 90-65=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 90+65=155, Resulting Numbers: [155] 155,21 unequal: No Solution Exploring Operation: 90*65=5850, Resulting Numbers: [5850] 5850,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 21:[54, 101], Operations: ['70-16=54', '90+11=101'] Exploring Operation: 101-54=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 54*101=5454, Resulting Numbers: [5454] 5454,21 unequal: No Solution Exploring Operation: 54+101=155, Resulting Numbers: [155] 155,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[70, 16, 79], Operations: ['90-11=79'] Exploring Operation: 79-70=9, Resulting Numbers: [16, 9] Generated Node #0,1,0: 21:[16, 9] Operation: 79-70=9 Exploring Operation: 16+79=95, Resulting Numbers: [70, 95] Generated Node #0,1,1: 21:[70, 95] Operation: 16+79=95 Exploring Operation: 70+16=86, Resulting Numbers: [79, 86] Generated Node #0,1,2: 21:[79, 86] Operation: 70+16=86 Exploring Operation: 79-16=63, Resulting Numbers: [70, 63] Generated Node #0,1,3: 21:[70, 63] Operation: 79-16=63 Exploring Operation: 70-16=54, Resulting Numbers: [79, 54] Generated Node #0,1,4: 21:[79, 54] Operation: 70-16=54 Moving to Node #0,1,0 Current State: 21:[16, 9], Operations: ['90-11=79', '79-70=9'] Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,21 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,21 unequal: No Solution Moving to Node #0,1,4 Current State: 21:[79, 54], Operations: ['90-11=79', '70-16=54'] Exploring Operation: 79+54=133, Resulting Numbers: [133] 133,21 unequal: No Solution Exploring Operation: 79-54=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 79*54=4266, Resulting Numbers: [4266] 4266,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[70, 63], Operations: ['90-11=79', '79-16=63'] Exploring Operation: 70+63=133, Resulting Numbers: [133] 133,21 unequal: No Solution Exploring Operation: 70*63=4410, Resulting Numbers: [4410] 4410,21 unequal: No Solution Exploring Operation: 70-63=7, Resulting Numbers: [7] 7,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[70, 95], Operations: ['90-11=79', '16+79=95'] Exploring Operation: 70+95=165, Resulting Numbers: [165] 165,21 unequal: No Solution Exploring Operation: 95-70=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 70*95=6650, Resulting Numbers: [6650] 6650,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[79, 86], Operations: ['90-11=79', '70+16=86'] Exploring Operation: 79*86=6794, Resulting Numbers: [6794] 6794,21 unequal: No Solution Exploring Operation: 79+86=165, Resulting Numbers: [165] 165,21 unequal: No Solution Exploring Operation: 86-79=7, Resulting Numbers: [7] 7,21 unequal: No Solution No 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: 21:[90, 16, 59], Operations: ['70-11=59'] Exploring Operation: 16+59=75, Resulting Numbers: [90, 75] Generated Node #0,3,0: 21:[90, 75] Operation: 16+59=75 Exploring Operation: 90-59=31, Resulting Numbers: [16, 31] Generated Node #0,3,1: 21:[16, 31] Operation: 90-59=31 Exploring Operation: 90-16=74, Resulting Numbers: [59, 74] Generated Node #0,3,2: 21:[59, 74] Operation: 90-16=74 Exploring Operation: 90+16=106, Resulting Numbers: [59, 106] Generated Node #0,3,3: 21:[59, 106] Operation: 90+16=106 Exploring Operation: 59-16=43, Resulting Numbers: [90, 43] Generated Node #0,3,4: 21:[90, 43] Operation: 59-16=43 Moving to Node #0,3,1 Current State: 21:[16, 31], Operations: ['70-11=59', '90-59=31'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,21 unequal: No Solution Moving to Node #0,3,4 Current State: 21:[90, 43], Operations: ['70-11=59', '59-16=43'] Exploring Operation: 90-43=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 90+43=133, Resulting Numbers: [133] 133,21 unequal: No Solution Exploring Operation: 90*43=3870, Resulting Numbers: [3870] 3870,21 unequal: No Solution Moving to Node #0,3,2 Current State: 21:[59, 74], Operations: ['70-11=59', '90-16=74'] Exploring Operation: 59+74=133, Resulting Numbers: [133] 133,21 unequal: No Solution Exploring Operation: 59*74=4366, Resulting Numbers: [4366] 4366,21 unequal: No Solution Exploring Operation: 74-59=15, Resulting Numbers: [15] 15,21 unequal: No Solution Moving to Node #0,3,0 Current State: 21:[90, 75], Operations: ['70-11=59', '16+59=75'] Exploring Operation: 90+75=165, Resulting Numbers: [165] 165,21 unequal: No Solution Exploring Operation: 90-75=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 90*75=6750, Resulting Numbers: [6750] 6750,21 unequal: No Solution Moving to Node #0,3,3 Current State: 21:[59, 106], Operations: ['70-11=59', '90+16=106'] Exploring Operation: 59*106=6254, Resulting Numbers: [6254] 6254,21 unequal: No Solution Exploring Operation: 59+106=165, Resulting Numbers: [165] 165,21 unequal: No Solution Exploring Operation: 106-59=47, Resulting Numbers: [47] 47,21 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
[ 79, 35, 32, 54 ]
42
[ "79-35=44", "32+54=86", "86-44=42" ]
Current State: 42:[79, 35, 32, 54], Operations: [] Exploring Operation: 79-35=44, Resulting Numbers: [32, 54, 44] Generated Node #2: [32, 54, 44] from Operation: 79-35=44 Current State: 42:[32, 54, 44], Operations: ['79-35=44'] Exploring Operation: 32+54=86, Resulting Numbers: [44, 86] Generated Node #3: [44, 86] from Operation: 32+54=86 Current State: 42:[44, 86], Operations: ['79-35=44', '32+54=86'] Exploring Operation: 86-44=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[79, 35, 32, 54], Operations: [] Exploring Operation: 79-35=44, Resulting Numbers: [32, 54, 44] Generated Node #0,0: 42:[32, 54, 44] Operation: 79-35=44 Exploring Operation: 54-32=22, Resulting Numbers: [79, 35, 22] Generated Node #0,1: 42:[79, 35, 22] Operation: 54-32=22 Exploring Operation: 79-54=25, Resulting Numbers: [35, 32, 25] Generated Node #0,2: 42:[35, 32, 25] Operation: 79-54=25 Exploring Operation: 79-32=47, Resulting Numbers: [35, 54, 47] Generated Node #0,3: 42:[35, 54, 47] Operation: 79-32=47 Exploring Operation: 35-32=3, Resulting Numbers: [79, 54, 3] Generated Node #0,4: 42:[79, 54, 3] Operation: 35-32=3 Moving to Node #0,2 Current State: 42:[35, 32, 25], Operations: ['79-54=25'] Exploring Operation: 35-32=3, Resulting Numbers: [25, 3] Generated Node #0,2,0: 42:[25, 3] Operation: 35-32=3 Exploring Operation: 32-25=7, Resulting Numbers: [35, 7] Generated Node #0,2,1: 42:[35, 7] Operation: 32-25=7 Exploring Operation: 35-25=10, Resulting Numbers: [32, 10] Generated Node #0,2,2: 42:[32, 10] Operation: 35-25=10 Exploring Operation: 32+25=57, Resulting Numbers: [35, 57] Generated Node #0,2,3: 42:[35, 57] Operation: 32+25=57 Exploring Operation: 35+25=60, Resulting Numbers: [32, 60] Generated Node #0,2,4: 42:[32, 60] Operation: 35+25=60 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[25, 3], Operations: ['79-54=25', '35-32=3'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,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:[35, 7], Operations: ['79-54=25', '32-25=7'] Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[79, 35, 32, 54], Operations: [] Exploring Operation: 79-54=25, Resulting Numbers: [35, 32, 25] Generated Node #0,2: 42:[35, 32, 25] Operation: 79-54=25 Moving to Node #0,2 Current State: 42:[35, 32, 25], Operations: ['79-54=25'] Exploring Operation: 32-25=7, Resulting Numbers: [35, 7] Generated Node #0,2,1: 42:[35, 7] Operation: 32-25=7 Moving to Node #0,2,1 Current State: 42:[35, 7], Operations: ['79-54=25', '32-25=7'] Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 2, 65, 59, 88 ]
76
[ "65-59=6", "2*6=12", "88-12=76" ]
Current State: 76:[2, 65, 59, 88], Operations: [] Exploring Operation: 65-59=6, Resulting Numbers: [2, 88, 6] Generated Node #2: [2, 88, 6] from Operation: 65-59=6 Current State: 76:[2, 88, 6], Operations: ['65-59=6'] Exploring Operation: 2*6=12, Resulting Numbers: [88, 12] Generated Node #3: [88, 12] from Operation: 2*6=12 Current State: 76:[88, 12], Operations: ['65-59=6', '2*6=12'] Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[2, 65, 59, 88], Operations: [] Exploring Operation: 65-59=6, Resulting Numbers: [2, 88, 6] Generated Node #0,0: 76:[2, 88, 6] Operation: 65-59=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[2, 88, 6], Operations: ['65-59=6'] Exploring Operation: 88-6=82, Resulting Numbers: [2, 82] Generated Node #0,0,0: 76:[2, 82] Operation: 88-6=82 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[2, 82], Operations: ['65-59=6', '88-6=82'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 2, 19, 5, 4 ]
66
[ "2*5=10", "19*4=76", "76-10=66" ]
Current State: 66:[2, 19, 5, 4], Operations: [] Exploring Operation: 2*5=10, Resulting Numbers: [19, 4, 10] Generated Node #2: [19, 4, 10] from Operation: 2*5=10 Current State: 66:[19, 4, 10], Operations: ['2*5=10'] Exploring Operation: 19*4=76, Resulting Numbers: [10, 76] Generated Node #3: [10, 76] from Operation: 19*4=76 Current State: 66:[10, 76], Operations: ['2*5=10', '19*4=76'] Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[2, 19, 5, 4], Operations: [] Exploring Operation: 19+5=24, Resulting Numbers: [2, 4, 24] Generated Node #0,0: 66:[2, 4, 24] Operation: 19+5=24 Exploring Operation: 19+4=23, Resulting Numbers: [2, 5, 23] Generated Node #0,1: 66:[2, 5, 23] Operation: 19+4=23 Exploring Operation: 5-2=3, Resulting Numbers: [19, 4, 3] Generated Node #0,2: 66:[19, 4, 3] Operation: 5-2=3 Exploring Operation: 2+19=21, Resulting Numbers: [5, 4, 21] Generated Node #0,3: 66:[5, 4, 21] Operation: 2+19=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[2, 5, 23], Operations: ['19+4=23'] Exploring Operation: 2*5=10, Resulting Numbers: [23, 10] Generated Node #0,1,0: 66:[23, 10] Operation: 2*5=10 Exploring Operation: 2+5=7, Resulting Numbers: [23, 7] Generated Node #0,1,1: 66:[23, 7] Operation: 2+5=7 Exploring Operation: 5-2=3, Resulting Numbers: [23, 3] Generated Node #0,1,2: 66:[23, 3] Operation: 5-2=3 Exploring Operation: 23-2=21, Resulting Numbers: [5, 21] Generated Node #0,1,3: 66:[5, 21] Operation: 23-2=21 Moving to Node #0,1,2 Current State: 66:[23, 3], Operations: ['19+4=23', '5-2=3'] Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[23, 7], Operations: ['19+4=23', '2+5=7'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 23*7=161, Resulting Numbers: [161] 161,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[23, 10], Operations: ['19+4=23', '2*5=10'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,66 unequal: No Solution Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,66 unequal: No Solution Moving to Node #0,1,3 Current State: 66:[5, 21], Operations: ['19+4=23', '23-2=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,66 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,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 Current State: 66:[2, 4, 24], Operations: ['19+5=24'] Exploring Operation: 24-2=22, Resulting Numbers: [4, 22] Generated Node #0,0,0: 66:[4, 22] Operation: 24-2=22 Exploring Operation: 24/4=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 66:[2, 6] Operation: 24/4=6 Exploring Operation: 2+4=6, Resulting Numbers: [24, 6] Generated Node #0,0,2: 66:[24, 6] Operation: 2+4=6 Exploring Operation: 4-2=2, Resulting Numbers: [24, 2] Generated Node #0,0,3: 66:[24, 2] Operation: 4-2=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 66:[2, 6], Operations: ['19+5=24', '24/4=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,66 unequal: No Solution No 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: 66:[4, 22], Operations: ['19+5=24', '24-2=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,66 unequal: No Solution No 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: 66:[24, 6], Operations: ['19+5=24', '2+4=6'] Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,66 unequal: No Solution No 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: 66:[24, 2], Operations: ['19+5=24', '4-2=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,66 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,66 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: 66:[5, 4, 21], Operations: ['2+19=21'] Exploring Operation: 5*4=20, Resulting Numbers: [21, 20] Generated Node #0,3,0: 66:[21, 20] Operation: 5*4=20 Exploring Operation: 5-4=1, Resulting Numbers: [21, 1] Generated Node #0,3,1: 66:[21, 1] Operation: 5-4=1 Exploring Operation: 5+4=9, Resulting Numbers: [21, 9] Generated Node #0,3,2: 66:[21, 9] Operation: 5+4=9 Exploring Operation: 4+21=25, Resulting Numbers: [5, 25] Generated Node #0,3,3: 66:[5, 25] Operation: 4+21=25 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 66:[21, 1], Operations: ['2+19=21', '5-4=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,66 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,66 unequal: No Solution No 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: 66:[21, 20], Operations: ['2+19=21', '5*4=20'] Exploring Operation: 21+20=41, Resulting Numbers: [41] 41,66 unequal: No Solution Exploring Operation: 21*20=420, Resulting Numbers: [420] 420,66 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,66 unequal: No Solution No 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: 66:[21, 9], Operations: ['2+19=21', '5+4=9'] Exploring Operation: 21+9=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 21*9=189, Resulting Numbers: [189] 189,66 unequal: No Solution No 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: 66:[5, 25], Operations: ['2+19=21', '4+21=25'] Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,66 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,66 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: 66:[19, 4, 3], Operations: ['5-2=3'] Exploring Operation: 4+3=7, Resulting Numbers: [19, 7] Generated Node #0,2,0: 66:[19, 7] Operation: 4+3=7 Exploring Operation: 19+4=23, Resulting Numbers: [3, 23] Generated Node #0,2,1: 66:[3, 23] Operation: 19+4=23 Exploring Operation: 19-4=15, Resulting Numbers: [3, 15] Generated Node #0,2,2: 66:[3, 15] Operation: 19-4=15 Exploring Operation: 19+3=22, Resulting Numbers: [4, 22] Generated Node #0,2,3: 66:[4, 22] Operation: 19+3=22 Moving to Node #0,2,1 Current State: 66:[3, 23], Operations: ['5-2=3', '19+4=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,66 unequal: No Solution Moving to Node #0,2,3 Current State: 66:[4, 22], Operations: ['5-2=3', '19+3=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,66 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[3, 15], Operations: ['5-2=3', '19-4=15'] 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: 15-3=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[19, 7], Operations: ['5-2=3', '4+3=7'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,66 unequal: No Solution Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,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
[ 80, 51, 60, 68 ]
56
[ "80-68=12", "60/12=5", "51+5=56" ]
Current State: 56:[80, 51, 60, 68], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [51, 60, 12] Generated Node #2: [51, 60, 12] from Operation: 80-68=12 Current State: 56:[51, 60, 12], Operations: ['80-68=12'] Exploring Operation: 60/12=5, Resulting Numbers: [51, 5] Generated Node #3: [51, 5] from Operation: 60/12=5 Current State: 56:[51, 5], Operations: ['80-68=12', '60/12=5'] Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[80, 51, 60, 68], Operations: [] Exploring Operation: 80-60=20, Resulting Numbers: [51, 68, 20] Generated Node #0,0: 56:[51, 68, 20] Operation: 80-60=20 Exploring Operation: 80-68=12, Resulting Numbers: [51, 60, 12] Generated Node #0,1: 56:[51, 60, 12] Operation: 80-68=12 Exploring Operation: 80-51=29, Resulting Numbers: [60, 68, 29] Generated Node #0,2: 56:[60, 68, 29] Operation: 80-51=29 Moving to Node #0,1 Current State: 56:[51, 60, 12], Operations: ['80-68=12'] Exploring Operation: 51+12=63, Resulting Numbers: [60, 63] Generated Node #0,1,0: 56:[60, 63] Operation: 51+12=63 Exploring Operation: 60-51=9, Resulting Numbers: [12, 9] Generated Node #0,1,1: 56:[12, 9] Operation: 60-51=9 Exploring Operation: 60/12=5, Resulting Numbers: [51, 5] Generated Node #0,1,2: 56:[51, 5] Operation: 60/12=5 Moving to Node #0,2 Current State: 56:[60, 68, 29], Operations: ['80-51=29'] Exploring Operation: 68-29=39, Resulting Numbers: [60, 39] Generated Node #0,2,0: 56:[60, 39] Operation: 68-29=39 Exploring Operation: 68-60=8, Resulting Numbers: [29, 8] Generated Node #0,2,1: 56:[29, 8] Operation: 68-60=8 Exploring Operation: 60-29=31, Resulting Numbers: [68, 31] Generated Node #0,2,2: 56:[68, 31] Operation: 60-29=31 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[29, 8], Operations: ['80-51=29', '68-60=8'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 29*8=232, Resulting Numbers: [232] 232,56 unequal: No Solution Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[60, 39], Operations: ['80-51=29', '68-29=39'] Exploring Operation: 60*39=2340, Resulting Numbers: [2340] 2340,56 unequal: No Solution Exploring Operation: 60+39=99, Resulting Numbers: [99] 99,56 unequal: No Solution Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[68, 31], Operations: ['80-51=29', '60-29=31'] Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,56 unequal: No Solution Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,56 unequal: No Solution Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 56:[51, 68, 20], Operations: ['80-60=20'] Exploring Operation: 51-20=31, Resulting Numbers: [68, 31] Generated Node #0,0,0: 56:[68, 31] Operation: 51-20=31 Exploring Operation: 68-51=17, Resulting Numbers: [20, 17] Generated Node #0,0,1: 56:[20, 17] Operation: 68-51=17 Exploring Operation: 68-20=48, Resulting Numbers: [51, 48] Generated Node #0,0,2: 56:[51, 48] Operation: 68-20=48 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[20, 17], Operations: ['80-60=20', '68-51=17'] Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,56 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[51, 48], Operations: ['80-60=20', '68-20=48'] Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,56 unequal: No Solution Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,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:[68, 31], Operations: ['80-60=20', '51-20=31'] Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,56 unequal: No Solution Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,56 unequal: No Solution Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,56 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: 56:[12, 9], Operations: ['80-68=12', '60-51=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,56 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[51, 5], Operations: ['80-68=12', '60/12=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,56 unequal: No Solution Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[80, 51, 60, 68], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [51, 60, 12] Generated Node #0,1: 56:[51, 60, 12] Operation: 80-68=12 Moving to Node #0,1 Current State: 56:[51, 60, 12], Operations: ['80-68=12'] Exploring Operation: 60/12=5, Resulting Numbers: [51, 5] Generated Node #0,1,2: 56:[51, 5] Operation: 60/12=5 Moving to Node #0,1,2 Current State: 56:[51, 5], Operations: ['80-68=12', '60/12=5'] Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.965278
hs_3
mult_heuristic
[ 45, 45, 88, 5 ]
84
[ "45/45=1", "88-5=83", "1+83=84" ]
Current State: 84:[45, 45, 88, 5], Operations: [] Exploring Operation: 45/45=1, Resulting Numbers: [88, 5, 1] Generated Node #2: [88, 5, 1] from Operation: 45/45=1 Current State: 84:[88, 5, 1], Operations: ['45/45=1'] Exploring Operation: 88-5=83, Resulting Numbers: [1, 83] Generated Node #3: [1, 83] from Operation: 88-5=83 Current State: 84:[1, 83], Operations: ['45/45=1', '88-5=83'] Exploring Operation: 1+83=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[45, 45, 88, 5], Operations: [] Exploring Operation: 88-45=43, Resulting Numbers: [45, 5, 43] Generated Node #0,0: 84:[45, 5, 43] Operation: 88-45=43 Exploring Operation: 45/45=1, Resulting Numbers: [88, 5, 1] Generated Node #0,1: 84:[88, 5, 1] Operation: 45/45=1 Exploring Operation: 45-45=0, Resulting Numbers: [88, 5, 0] Generated Node #0,2: 84:[88, 5, 0] Operation: 45-45=0 Exploring Operation: 88-45=43, Resulting Numbers: [45, 5, 43] Generated Node #0,3: 84:[45, 5, 43] Operation: 88-45=43 Moving to Node #0,0 Current State: 84:[45, 5, 43], Operations: ['88-45=43'] Exploring Operation: 45-43=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 84:[5, 2] Operation: 45-43=2 Exploring Operation: 45/5=9, Resulting Numbers: [43, 9] Generated Node #0,0,1: 84:[43, 9] Operation: 45/5=9 Exploring Operation: 45+43=88, Resulting Numbers: [5, 88] Generated Node #0,0,2: 84:[5, 88] Operation: 45+43=88 Exploring Operation: 45-5=40, Resulting Numbers: [43, 40] Generated Node #0,0,3: 84:[43, 40] Operation: 45-5=40 Moving to Node #0,3 Current State: 84:[45, 5, 43], Operations: ['88-45=43'] Exploring Operation: 45+43=88, Resulting Numbers: [5, 88] Generated Node #0,3,0: 84:[5, 88] Operation: 45+43=88 Exploring Operation: 45/5=9, Resulting Numbers: [43, 9] Generated Node #0,3,1: 84:[43, 9] Operation: 45/5=9 Exploring Operation: 45-43=2, Resulting Numbers: [5, 2] Generated Node #0,3,2: 84:[5, 2] Operation: 45-43=2 Exploring Operation: 45-5=40, Resulting Numbers: [43, 40] Generated Node #0,3,3: 84:[43, 40] Operation: 45-5=40 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 84:[5, 2], Operations: ['88-45=43', '45-43=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 84:[43, 9], Operations: ['88-45=43', '45/5=9'] Exploring Operation: 43*9=387, Resulting Numbers: [387] 387,84 unequal: No Solution Exploring Operation: 43+9=52, Resulting Numbers: [52] 52,84 unequal: No Solution Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 84:[43, 40], Operations: ['88-45=43', '45-5=40'] Exploring Operation: 43+40=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 43-40=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 43*40=1720, Resulting Numbers: [1720] 1720,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 84:[5, 88], Operations: ['88-45=43', '45+43=88'] Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,84 unequal: No Solution Exploring Operation: 5*88=440, Resulting Numbers: [440] 440,84 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: 84:[88, 5, 1], Operations: ['45/45=1'] Exploring Operation: 5-1=4, Resulting Numbers: [88, 4] Generated Node #0,1,0: 84:[88, 4] Operation: 5-1=4 Exploring Operation: 88-5=83, Resulting Numbers: [1, 83] Generated Node #0,1,1: 84:[1, 83] Operation: 88-5=83 Exploring Operation: 5+1=6, Resulting Numbers: [88, 6] Generated Node #0,1,2: 84:[88, 6] Operation: 5+1=6 Exploring Operation: 88-1=87, Resulting Numbers: [5, 87] Generated Node #0,1,3: 84:[5, 87] Operation: 88-1=87 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[1, 83], Operations: ['45/45=1', '88-5=83'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,84 unequal: No Solution Exploring Operation: 1+83=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[45, 45, 88, 5], Operations: [] Exploring Operation: 45/45=1, Resulting Numbers: [88, 5, 1] Generated Node #0,1: 84:[88, 5, 1] Operation: 45/45=1 Moving to Node #0,1 Current State: 84:[88, 5, 1], Operations: ['45/45=1'] Exploring Operation: 88-5=83, Resulting Numbers: [1, 83] Generated Node #0,1,1: 84:[1, 83] Operation: 88-5=83 Moving to Node #0,1,1 Current State: 84:[1, 83], Operations: ['45/45=1', '88-5=83'] Exploring Operation: 1+83=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic