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
[ 92, 19, 83, 83 ]
74
[ "92-19=73", "83/83=1", "73+1=74" ]
Current State: 74:[92, 19, 83, 83], Operations: [] Exploring Operation: 92-19=73, Resulting Numbers: [83, 83, 73] Generated Node #2: [83, 83, 73] from Operation: 92-19=73 Current State: 74:[83, 83, 73], Operations: ['92-19=73'] Exploring Operation: 83/83=1, Resulting Numbers: [73, 1] Generated Node #3: [73, 1] from Operation: 83/83=1 Current State: 74:[73, 1], Operations: ['92-19=73', '83/83=1'] Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[92, 19, 83, 83], Operations: [] Exploring Operation: 92-83=9, Resulting Numbers: [19, 83, 9] Generated Node #0,0: 74:[19, 83, 9] Operation: 92-83=9 Exploring Operation: 92-83=9, Resulting Numbers: [19, 83, 9] Generated Node #0,1: 74:[19, 83, 9] Operation: 92-83=9 Exploring Operation: 92-19=73, Resulting Numbers: [83, 83, 73] Generated Node #0,2: 74:[83, 83, 73] Operation: 92-19=73 Moving to Node #0,2 Current State: 74:[83, 83, 73], Operations: ['92-19=73'] Exploring Operation: 83-83=0, Resulting Numbers: [73, 0] Generated Node #0,2,0: 74:[73, 0] Operation: 83-83=0 Exploring Operation: 83-73=10, Resulting Numbers: [83, 10] Generated Node #0,2,1: 74:[83, 10] Operation: 83-73=10 Exploring Operation: 83/83=1, Resulting Numbers: [73, 1] Generated Node #0,2,2: 74:[73, 1] Operation: 83/83=1 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[73, 1], Operations: ['92-19=73', '83/83=1'] Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[92, 19, 83, 83], Operations: [] Exploring Operation: 92-19=73, Resulting Numbers: [83, 83, 73] Generated Node #0,2: 74:[83, 83, 73] Operation: 92-19=73 Moving to Node #0,2 Current State: 74:[83, 83, 73], Operations: ['92-19=73'] Exploring Operation: 83/83=1, Resulting Numbers: [73, 1] Generated Node #0,2,2: 74:[73, 1] Operation: 83/83=1 Moving to Node #0,2,2 Current State: 74:[73, 1], Operations: ['92-19=73', '83/83=1'] Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 70, 34, 26, 88 ]
22
[ "70+34=104", "26*88=2288", "2288/104=22" ]
Current State: 22:[70, 34, 26, 88], Operations: [] Exploring Operation: 70+34=104, Resulting Numbers: [26, 88, 104] Generated Node #2: [26, 88, 104] from Operation: 70+34=104 Current State: 22:[26, 88, 104], Operations: ['70+34=104'] Exploring Operation: 26*88=2288, Resulting Numbers: [104, 2288] Generated Node #3: [104, 2288] from Operation: 26*88=2288 Current State: 22:[104, 2288], Operations: ['70+34=104', '26*88=2288'] Exploring Operation: 2288/104=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[70, 34, 26, 88], Operations: [] Exploring Operation: 70-26=44, Resulting Numbers: [34, 88, 44] Generated Node #0,0: 22:[34, 88, 44] Operation: 70-26=44 Exploring Operation: 70-34=36, Resulting Numbers: [26, 88, 36] Generated Node #0,1: 22:[26, 88, 36] Operation: 70-34=36 Exploring Operation: 88-34=54, Resulting Numbers: [70, 26, 54] Generated Node #0,2: 22:[70, 26, 54] Operation: 88-34=54 Exploring Operation: 88-70=18, Resulting Numbers: [34, 26, 18] Generated Node #0,3: 22:[34, 26, 18] Operation: 88-70=18 Start Sub Search at level 1: Moving to Node #0,3 Current State: 22:[34, 26, 18], Operations: ['88-70=18'] Exploring Operation: 34-18=16, Resulting Numbers: [26, 16] Generated Node #0,3,0: 22:[26, 16] Operation: 34-18=16 Exploring Operation: 34+18=52, Resulting Numbers: [26, 52] Generated Node #0,3,1: 22:[26, 52] Operation: 34+18=52 Exploring Operation: 34-26=8, Resulting Numbers: [18, 8] Generated Node #0,3,2: 22:[18, 8] Operation: 34-26=8 Exploring Operation: 26-18=8, Resulting Numbers: [34, 8] Generated Node #0,3,3: 22:[34, 8] Operation: 26-18=8 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 22:[18, 8], Operations: ['88-70=18', '34-26=8'] Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,22 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,22 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 22:[26, 16], Operations: ['88-70=18', '34-18=16'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,22 unequal: No Solution Exploring Operation: 26*16=416, Resulting Numbers: [416] 416,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 22:[34, 8], Operations: ['88-70=18', '26-18=8'] Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,22 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,22 unequal: No Solution Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 22:[26, 52], Operations: ['88-70=18', '34+18=52'] Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,22 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,22 unequal: No Solution Exploring Operation: 26*52=1352, Resulting Numbers: [1352] 1352,22 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,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:[26, 88, 36], Operations: ['70-34=36'] Exploring Operation: 26+88=114, Resulting Numbers: [36, 114] Generated Node #0,1,0: 22:[36, 114] Operation: 26+88=114 Exploring Operation: 36-26=10, Resulting Numbers: [88, 10] Generated Node #0,1,1: 22:[88, 10] Operation: 36-26=10 Exploring Operation: 88-36=52, Resulting Numbers: [26, 52] Generated Node #0,1,2: 22:[26, 52] Operation: 88-36=52 Exploring Operation: 88-26=62, Resulting Numbers: [36, 62] Generated Node #0,1,3: 22:[36, 62] Operation: 88-26=62 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 22:[26, 52], Operations: ['70-34=36', '88-36=52'] Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,22 unequal: No Solution Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,22 unequal: No Solution Exploring Operation: 26*52=1352, Resulting Numbers: [1352] 1352,22 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,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,1,3 Current State: 22:[36, 62], Operations: ['70-34=36', '88-26=62'] Exploring Operation: 36*62=2232, Resulting Numbers: [2232] 2232,22 unequal: No Solution Exploring Operation: 36+62=98, Resulting Numbers: [98] 98,22 unequal: No Solution Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,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,1,1 Current State: 22:[88, 10], Operations: ['70-34=36', '36-26=10'] Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,22 unequal: No Solution Exploring Operation: 88*10=880, Resulting Numbers: [880] 880,22 unequal: No Solution Exploring Operation: 88+10=98, Resulting Numbers: [98] 98,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,1,0 Current State: 22:[36, 114], Operations: ['70-34=36', '26+88=114'] Exploring Operation: 36*114=4104, Resulting Numbers: [4104] 4104,22 unequal: No Solution Exploring Operation: 36+114=150, Resulting Numbers: [150] 150,22 unequal: No Solution Exploring Operation: 114-36=78, Resulting Numbers: [78] 78,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[70, 26, 54], Operations: ['88-34=54'] Exploring Operation: 70-54=16, Resulting Numbers: [26, 16] Generated Node #0,2,0: 22:[26, 16] Operation: 70-54=16 Exploring Operation: 70+26=96, Resulting Numbers: [54, 96] Generated Node #0,2,1: 22:[54, 96] Operation: 70+26=96 Exploring Operation: 54-26=28, Resulting Numbers: [70, 28] Generated Node #0,2,2: 22:[70, 28] Operation: 54-26=28 Exploring Operation: 70-26=44, Resulting Numbers: [54, 44] Generated Node #0,2,3: 22:[54, 44] Operation: 70-26=44 Moving to Node #0,2,0 Current State: 22:[26, 16], Operations: ['88-34=54', '70-54=16'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 26*16=416, Resulting Numbers: [416] 416,22 unequal: No Solution Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,22 unequal: No Solution Moving to Node #0,2,3 Current State: 22:[54, 44], Operations: ['88-34=54', '70-26=44'] Exploring Operation: 54*44=2376, Resulting Numbers: [2376] 2376,22 unequal: No Solution Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 54+44=98, Resulting Numbers: [98] 98,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[70, 28], Operations: ['88-34=54', '54-26=28'] Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,22 unequal: No Solution Exploring Operation: 70*28=1960, Resulting Numbers: [1960] 1960,22 unequal: No Solution Exploring Operation: 70+28=98, Resulting Numbers: [98] 98,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[54, 96], Operations: ['88-34=54', '70+26=96'] Exploring Operation: 96-54=42, Resulting Numbers: [42] 42,22 unequal: No Solution Exploring Operation: 54*96=5184, Resulting Numbers: [5184] 5184,22 unequal: No Solution Exploring Operation: 54+96=150, Resulting Numbers: [150] 150,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[34, 88, 44], Operations: ['70-26=44'] Exploring Operation: 88/44=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 22:[34, 2] Operation: 88/44=2 Exploring Operation: 88-44=44, Resulting Numbers: [34, 44] Generated Node #0,0,1: 22:[34, 44] Operation: 88-44=44 Exploring Operation: 44-34=10, Resulting Numbers: [88, 10] Generated Node #0,0,2: 22:[88, 10] Operation: 44-34=10 Exploring Operation: 88-34=54, Resulting Numbers: [44, 54] Generated Node #0,0,3: 22:[44, 54] Operation: 88-34=54 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[34, 2], Operations: ['70-26=44', '88/44=2'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,22 unequal: No Solution Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,22 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,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,1 Current State: 22:[34, 44], Operations: ['70-26=44', '88-44=44'] Exploring Operation: 34*44=1496, Resulting Numbers: [1496] 1496,22 unequal: No Solution Exploring Operation: 34+44=78, Resulting Numbers: [78] 78,22 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,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,3 Current State: 22:[44, 54], Operations: ['70-26=44', '88-34=54'] Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 44+54=98, Resulting Numbers: [98] 98,22 unequal: No Solution Exploring Operation: 44*54=2376, Resulting Numbers: [2376] 2376,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,2 Current State: 22:[88, 10], Operations: ['70-26=44', '44-34=10'] Exploring Operation: 88+10=98, Resulting Numbers: [98] 98,22 unequal: No Solution Exploring Operation: 88*10=880, Resulting Numbers: [880] 880,22 unequal: No Solution Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,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 No solution found.
0
hs_4
sum_heuristic
[ 58, 13, 11, 25 ]
57
[ "58+13=71", "25-11=14", "71-14=57" ]
Current State: 57:[58, 13, 11, 25], Operations: [] Exploring Operation: 58+13=71, Resulting Numbers: [11, 25, 71] Generated Node #2: [11, 25, 71] from Operation: 58+13=71 Current State: 57:[11, 25, 71], Operations: ['58+13=71'] Exploring Operation: 25-11=14, Resulting Numbers: [71, 14] Generated Node #3: [71, 14] from Operation: 25-11=14 Current State: 57:[71, 14], Operations: ['58+13=71', '25-11=14'] Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[58, 13, 11, 25], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [58, 25, 2] Generated Node #0,0: 57:[58, 25, 2] Operation: 13-11=2 Exploring Operation: 13+11=24, Resulting Numbers: [58, 25, 24] Generated Node #0,1: 57:[58, 25, 24] Operation: 13+11=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[58, 25, 2], Operations: ['13-11=2'] Exploring Operation: 25-2=23, Resulting Numbers: [58, 23] Generated Node #0,0,0: 57:[58, 23] Operation: 25-2=23 Exploring Operation: 58-2=56, Resulting Numbers: [25, 56] Generated Node #0,0,1: 57:[25, 56] Operation: 58-2=56 Moving to Node #0,0,0 Current State: 57:[58, 23], Operations: ['13-11=2', '25-2=23'] Exploring Operation: 58+23=81, Resulting Numbers: [81] 81,57 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[25, 56], Operations: ['13-11=2', '58-2=56'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,57 unequal: No Solution Exploring Operation: 25+56=81, Resulting Numbers: [81] 81,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[58, 25, 24], Operations: ['13+11=24'] Exploring Operation: 25-24=1, Resulting Numbers: [58, 1] Generated Node #0,1,0: 57:[58, 1] Operation: 25-24=1 Exploring Operation: 25+24=49, Resulting Numbers: [58, 49] Generated Node #0,1,1: 57:[58, 49] Operation: 25+24=49 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 57:[58, 1], Operations: ['13+11=24', '25-24=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,57 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[58, 13, 11, 25], Operations: [] Exploring Operation: 13+11=24, Resulting Numbers: [58, 25, 24] Generated Node #0,1: 57:[58, 25, 24] Operation: 13+11=24 Moving to Node #0,1 Current State: 57:[58, 25, 24], Operations: ['13+11=24'] Exploring Operation: 25-24=1, Resulting Numbers: [58, 1] Generated Node #0,1,0: 57:[58, 1] Operation: 25-24=1 Moving to Node #0,1,0 Current State: 57:[58, 1], Operations: ['13+11=24', '25-24=1'] Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 72, 35, 8, 48 ]
50
[ "72+48=120", "120/8=15", "35+15=50" ]
Current State: 50:[72, 35, 8, 48], Operations: [] Exploring Operation: 72+48=120, Resulting Numbers: [35, 8, 120] Generated Node #2: [35, 8, 120] from Operation: 72+48=120 Current State: 50:[35, 8, 120], Operations: ['72+48=120'] Exploring Operation: 120/8=15, Resulting Numbers: [35, 15] Generated Node #3: [35, 15] from Operation: 120/8=15 Current State: 50:[35, 15], Operations: ['72+48=120', '120/8=15'] Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[72, 35, 8, 48], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [35, 48, 9] Generated Node #0,0: 50:[35, 48, 9] Operation: 72/8=9 Exploring Operation: 72-35=37, Resulting Numbers: [8, 48, 37] Generated Node #0,1: 50:[8, 48, 37] Operation: 72-35=37 Exploring Operation: 72-48=24, Resulting Numbers: [35, 8, 24] Generated Node #0,2: 50:[35, 8, 24] Operation: 72-48=24 Moving to Node #0,0 Current State: 50:[35, 48, 9], Operations: ['72/8=9'] Exploring Operation: 48-35=13, Resulting Numbers: [9, 13] Generated Node #0,0,0: 50:[9, 13] Operation: 48-35=13 Exploring Operation: 35-9=26, Resulting Numbers: [48, 26] Generated Node #0,0,1: 50:[48, 26] Operation: 35-9=26 Exploring Operation: 35+9=44, Resulting Numbers: [48, 44] Generated Node #0,0,2: 50:[48, 44] Operation: 35+9=44 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[48, 26], Operations: ['72/8=9', '35-9=26'] Exploring Operation: 48*26=1248, Resulting Numbers: [1248] 1248,50 unequal: No Solution Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 48+26=74, Resulting Numbers: [74] 74,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[9, 13], Operations: ['72/8=9', '48-35=13'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,50 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[48, 44], Operations: ['72/8=9', '35+9=44'] Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 48+44=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 48*44=2112, Resulting Numbers: [2112] 2112,50 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: 50:[35, 8, 24], Operations: ['72-48=24'] Exploring Operation: 35+8=43, Resulting Numbers: [24, 43] Generated Node #0,2,0: 50:[24, 43] Operation: 35+8=43 Exploring Operation: 35-24=11, Resulting Numbers: [8, 11] Generated Node #0,2,1: 50:[8, 11] Operation: 35-24=11 Exploring Operation: 35-8=27, Resulting Numbers: [24, 27] Generated Node #0,2,2: 50:[24, 27] Operation: 35-8=27 Moving to Node #0,1 Current State: 50:[8, 48, 37], Operations: ['72-35=37'] Exploring Operation: 48-37=11, Resulting Numbers: [8, 11] Generated Node #0,1,0: 50:[8, 11] Operation: 48-37=11 Exploring Operation: 37-8=29, Resulting Numbers: [48, 29] Generated Node #0,1,1: 50:[48, 29] Operation: 37-8=29 Exploring Operation: 8+37=45, Resulting Numbers: [48, 45] Generated Node #0,1,2: 50:[48, 45] Operation: 8+37=45 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[8, 11], Operations: ['72-35=37', '48-37=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,50 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[48, 29], Operations: ['72-35=37', '37-8=29'] Exploring Operation: 48+29=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 48*29=1392, Resulting Numbers: [1392] 1392,50 unequal: No Solution Exploring Operation: 48-29=19, Resulting Numbers: [19] 19,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,2 Current State: 50:[48, 45], Operations: ['72-35=37', '8+37=45'] Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,50 unequal: No Solution Exploring Operation: 48+45=93, Resulting Numbers: [93] 93,50 unequal: No Solution Exploring Operation: 48*45=2160, Resulting Numbers: [2160] 2160,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 50:[8, 11], Operations: ['72-48=24', '35-24=11'] Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,50 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[24, 27], Operations: ['72-48=24', '35-8=27'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,50 unequal: No Solution Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,50 unequal: No Solution Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[24, 43], Operations: ['72-48=24', '35+8=43'] Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 24+43=67, Resulting Numbers: [67] 67,50 unequal: No Solution Exploring Operation: 24*43=1032, Resulting Numbers: [1032] 1032,50 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 72, 60, 76, 34 ]
18
[ "72*34=2448", "60+76=136", "2448/136=18" ]
Current State: 18:[72, 60, 76, 34], Operations: [] Exploring Operation: 72*34=2448, Resulting Numbers: [60, 76, 2448] Generated Node #2: [60, 76, 2448] from Operation: 72*34=2448 Current State: 18:[60, 76, 2448], Operations: ['72*34=2448'] Exploring Operation: 60+76=136, Resulting Numbers: [2448, 136] Generated Node #3: [2448, 136] from Operation: 60+76=136 Current State: 18:[2448, 136], Operations: ['72*34=2448', '60+76=136'] Exploring Operation: 2448/136=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[72, 60, 76, 34], Operations: [] Exploring Operation: 72-60=12, Resulting Numbers: [76, 34, 12] Generated Node #0,0: 18:[76, 34, 12] Operation: 72-60=12 Exploring Operation: 76-60=16, Resulting Numbers: [72, 34, 16] Generated Node #0,1: 18:[72, 34, 16] Operation: 76-60=16 Exploring Operation: 76-72=4, Resulting Numbers: [60, 34, 4] Generated Node #0,2: 18:[60, 34, 4] Operation: 76-72=4 Moving to Node #0,2 Current State: 18:[60, 34, 4], Operations: ['76-72=4'] Exploring Operation: 60-4=56, Resulting Numbers: [34, 56] Generated Node #0,2,0: 18:[34, 56] Operation: 60-4=56 Exploring Operation: 60/4=15, Resulting Numbers: [34, 15] Generated Node #0,2,1: 18:[34, 15] Operation: 60/4=15 Exploring Operation: 60-34=26, Resulting Numbers: [4, 26] Generated Node #0,2,2: 18:[4, 26] Operation: 60-34=26 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[4, 26], Operations: ['76-72=4', '60-34=26'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,18 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[34, 15], Operations: ['76-72=4', '60/4=15'] Exploring Operation: 34*15=510, Resulting Numbers: [510] 510,18 unequal: No Solution Exploring Operation: 34+15=49, Resulting Numbers: [49] 49,18 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[34, 56], Operations: ['76-72=4', '60-4=56'] Exploring Operation: 34*56=1904, Resulting Numbers: [1904] 1904,18 unequal: No Solution Exploring Operation: 34+56=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,18 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: 18:[72, 34, 16], Operations: ['76-60=16'] Exploring Operation: 72-16=56, Resulting Numbers: [34, 56] Generated Node #0,1,0: 18:[34, 56] Operation: 72-16=56 Exploring Operation: 72-34=38, Resulting Numbers: [16, 38] Generated Node #0,1,1: 18:[16, 38] Operation: 72-34=38 Exploring Operation: 34-16=18, Resulting Numbers: [72, 18] Generated Node #0,1,2: 18:[72, 18] Operation: 34-16=18 Moving to Node #0,0 Current State: 18:[76, 34, 12], Operations: ['72-60=12'] Exploring Operation: 34-12=22, Resulting Numbers: [76, 22] Generated Node #0,0,0: 18:[76, 22] Operation: 34-12=22 Exploring Operation: 76-12=64, Resulting Numbers: [34, 64] Generated Node #0,0,1: 18:[34, 64] Operation: 76-12=64 Exploring Operation: 76-34=42, Resulting Numbers: [12, 42] Generated Node #0,0,2: 18:[12, 42] Operation: 76-34=42 Moving to Node #0,1,1 Current State: 18:[16, 38], Operations: ['76-60=16', '72-34=38'] Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,18 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[12, 42], Operations: ['72-60=12', '76-34=42'] Exploring Operation: 12*42=504, Resulting Numbers: [504] 504,18 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,18 unequal: No Solution Exploring Operation: 12+42=54, Resulting Numbers: [54] 54,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[72, 18], Operations: ['76-60=16', '34-16=18'] Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,18 unequal: No Solution Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[34, 56], Operations: ['76-60=16', '72-16=56'] Exploring Operation: 34*56=1904, Resulting Numbers: [1904] 1904,18 unequal: No Solution Exploring Operation: 34+56=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[34, 64], Operations: ['72-60=12', '76-12=64'] Exploring Operation: 34+64=98, Resulting Numbers: [98] 98,18 unequal: No Solution Exploring Operation: 34*64=2176, Resulting Numbers: [2176] 2176,18 unequal: No Solution Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[76, 22], Operations: ['72-60=12', '34-12=22'] Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,18 unequal: No Solution Exploring Operation: 76+22=98, Resulting Numbers: [98] 98,18 unequal: No Solution Exploring Operation: 76*22=1672, Resulting Numbers: [1672] 1672,18 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 53, 26, 96, 32 ]
81
[ "53-26=27", "96/32=3", "27*3=81" ]
Current State: 81:[53, 26, 96, 32], Operations: [] Exploring Operation: 53-26=27, Resulting Numbers: [96, 32, 27] Generated Node #2: [96, 32, 27] from Operation: 53-26=27 Current State: 81:[96, 32, 27], Operations: ['53-26=27'] Exploring Operation: 96/32=3, Resulting Numbers: [27, 3] Generated Node #3: [27, 3] from Operation: 96/32=3 Current State: 81:[27, 3], Operations: ['53-26=27', '96/32=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[53, 26, 96, 32], Operations: [] Exploring Operation: 53+26=79, Resulting Numbers: [96, 32, 79] Generated Node #0,0: 81:[96, 32, 79] Operation: 53+26=79 Exploring Operation: 53+32=85, Resulting Numbers: [26, 96, 85] Generated Node #0,1: 81:[26, 96, 85] Operation: 53+32=85 Exploring Operation: 96-53=43, Resulting Numbers: [26, 32, 43] Generated Node #0,2: 81:[26, 32, 43] Operation: 96-53=43 Exploring Operation: 53-32=21, Resulting Numbers: [26, 96, 21] Generated Node #0,3: 81:[26, 96, 21] Operation: 53-32=21 Exploring Operation: 53-26=27, Resulting Numbers: [96, 32, 27] Generated Node #0,4: 81:[96, 32, 27] Operation: 53-26=27 Moving to Node #0,1 Current State: 81:[26, 96, 85], Operations: ['53+32=85'] Exploring Operation: 96-85=11, Resulting Numbers: [26, 11] Generated Node #0,1,0: 81:[26, 11] Operation: 96-85=11 Exploring Operation: 96-26=70, Resulting Numbers: [85, 70] Generated Node #0,1,1: 81:[85, 70] Operation: 96-26=70 Exploring Operation: 26+96=122, Resulting Numbers: [85, 122] Generated Node #0,1,2: 81:[85, 122] Operation: 26+96=122 Exploring Operation: 26+85=111, Resulting Numbers: [96, 111] Generated Node #0,1,3: 81:[96, 111] Operation: 26+85=111 Exploring Operation: 85-26=59, Resulting Numbers: [96, 59] Generated Node #0,1,4: 81:[96, 59] Operation: 85-26=59 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[26, 11], Operations: ['53+32=85', '96-85=11'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,81 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,81 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[85, 70], Operations: ['53+32=85', '96-26=70'] Exploring Operation: 85*70=5950, Resulting Numbers: [5950] 5950,81 unequal: No Solution Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,81 unequal: No Solution Exploring Operation: 85+70=155, Resulting Numbers: [155] 155,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 81:[96, 59], Operations: ['53+32=85', '85-26=59'] Exploring Operation: 96-59=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 96*59=5664, Resulting Numbers: [5664] 5664,81 unequal: No Solution Exploring Operation: 96+59=155, Resulting Numbers: [155] 155,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 81:[85, 122], Operations: ['53+32=85', '26+96=122'] Exploring Operation: 85+122=207, Resulting Numbers: [207] 207,81 unequal: No Solution Exploring Operation: 122-85=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 85*122=10370, Resulting Numbers: [10370] 10370,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 81:[96, 111], Operations: ['53+32=85', '26+85=111'] Exploring Operation: 96+111=207, Resulting Numbers: [207] 207,81 unequal: No Solution Exploring Operation: 96*111=10656, Resulting Numbers: [10656] 10656,81 unequal: No Solution Exploring Operation: 111-96=15, Resulting Numbers: [15] 15,81 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: 81:[96, 32, 27], Operations: ['53-26=27'] Exploring Operation: 96-27=69, Resulting Numbers: [32, 69] Generated Node #0,4,0: 81:[32, 69] Operation: 96-27=69 Exploring Operation: 32-27=5, Resulting Numbers: [96, 5] Generated Node #0,4,1: 81:[96, 5] Operation: 32-27=5 Exploring Operation: 32+27=59, Resulting Numbers: [96, 59] Generated Node #0,4,2: 81:[96, 59] Operation: 32+27=59 Exploring Operation: 96-32=64, Resulting Numbers: [27, 64] Generated Node #0,4,3: 81:[27, 64] Operation: 96-32=64 Exploring Operation: 96/32=3, Resulting Numbers: [27, 3] Generated Node #0,4,4: 81:[27, 3] Operation: 96/32=3 Moving to Node #0,0 Current State: 81:[96, 32, 79], Operations: ['53+26=79'] Exploring Operation: 96-79=17, Resulting Numbers: [32, 17] Generated Node #0,0,0: 81:[32, 17] Operation: 96-79=17 Exploring Operation: 96/32=3, Resulting Numbers: [79, 3] Generated Node #0,0,1: 81:[79, 3] Operation: 96/32=3 Exploring Operation: 32+79=111, Resulting Numbers: [96, 111] Generated Node #0,0,2: 81:[96, 111] Operation: 32+79=111 Exploring Operation: 96-32=64, Resulting Numbers: [79, 64] Generated Node #0,0,3: 81:[79, 64] Operation: 96-32=64 Exploring Operation: 79-32=47, Resulting Numbers: [96, 47] Generated Node #0,0,4: 81:[96, 47] Operation: 79-32=47 Moving to Node #0,2 Current State: 81:[26, 32, 43], Operations: ['96-53=43'] Exploring Operation: 43-32=11, Resulting Numbers: [26, 11] Generated Node #0,2,0: 81:[26, 11] Operation: 43-32=11 Exploring Operation: 32-26=6, Resulting Numbers: [43, 6] Generated Node #0,2,1: 81:[43, 6] Operation: 32-26=6 Exploring Operation: 43-26=17, Resulting Numbers: [32, 17] Generated Node #0,2,2: 81:[32, 17] Operation: 43-26=17 Exploring Operation: 26+43=69, Resulting Numbers: [32, 69] Generated Node #0,2,3: 81:[32, 69] Operation: 26+43=69 Exploring Operation: 32+43=75, Resulting Numbers: [26, 75] Generated Node #0,2,4: 81:[26, 75] Operation: 32+43=75 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 81:[26, 11], Operations: ['96-53=43', '43-32=11'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,81 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,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,4 Current State: 81:[26, 75], Operations: ['96-53=43', '32+43=75'] Exploring Operation: 26*75=1950, Resulting Numbers: [1950] 1950,81 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,81 unequal: No Solution Exploring Operation: 26+75=101, Resulting Numbers: [101] 101,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:[32, 17], Operations: ['96-53=43', '43-26=17'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,81 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,81 unequal: No Solution Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,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,3 Current State: 81:[32, 69], Operations: ['96-53=43', '26+43=69'] Exploring Operation: 32+69=101, Resulting Numbers: [101] 101,81 unequal: No Solution Exploring Operation: 32*69=2208, Resulting Numbers: [2208] 2208,81 unequal: No Solution Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,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:[43, 6], Operations: ['96-53=43', '32-26=6'] Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,81 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,81 unequal: No Solution Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,81 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: 81:[26, 96, 21], Operations: ['53-32=21'] Exploring Operation: 96-26=70, Resulting Numbers: [21, 70] Generated Node #0,3,0: 81:[21, 70] Operation: 96-26=70 Exploring Operation: 96+21=117, Resulting Numbers: [26, 117] Generated Node #0,3,1: 81:[26, 117] Operation: 96+21=117 Exploring Operation: 26+21=47, Resulting Numbers: [96, 47] Generated Node #0,3,2: 81:[96, 47] Operation: 26+21=47 Exploring Operation: 96-21=75, Resulting Numbers: [26, 75] Generated Node #0,3,3: 81:[26, 75] Operation: 96-21=75 Exploring Operation: 26-21=5, Resulting Numbers: [96, 5] Generated Node #0,3,4: 81:[96, 5] Operation: 26-21=5 Moving to Node #0,4,4 Current State: 81:[27, 3], Operations: ['53-26=27', '96/32=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[53, 26, 96, 32], Operations: [] Exploring Operation: 53-26=27, Resulting Numbers: [96, 32, 27] Generated Node #0,4: 81:[96, 32, 27] Operation: 53-26=27 Moving to Node #0,4 Current State: 81:[96, 32, 27], Operations: ['53-26=27'] Exploring Operation: 96/32=3, Resulting Numbers: [27, 3] Generated Node #0,4,4: 81:[27, 3] Operation: 96/32=3 Moving to Node #0,4,4 Current State: 81:[27, 3], Operations: ['53-26=27', '96/32=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.940972
hs_5
mult_heuristic
[ 87, 45, 20, 14 ]
22
[ "87+45=132", "20-14=6", "132/6=22" ]
Current State: 22:[87, 45, 20, 14], Operations: [] Exploring Operation: 87+45=132, Resulting Numbers: [20, 14, 132] Generated Node #2: [20, 14, 132] from Operation: 87+45=132 Current State: 22:[20, 14, 132], Operations: ['87+45=132'] Exploring Operation: 20-14=6, Resulting Numbers: [132, 6] Generated Node #3: [132, 6] from Operation: 20-14=6 Current State: 22:[132, 6], Operations: ['87+45=132', '20-14=6'] Exploring Operation: 132/6=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[87, 45, 20, 14], Operations: [] Exploring Operation: 87-20=67, Resulting Numbers: [45, 14, 67] Generated Node #0,0: 22:[45, 14, 67] Operation: 87-20=67 Exploring Operation: 87-45=42, Resulting Numbers: [20, 14, 42] Generated Node #0,1: 22:[20, 14, 42] Operation: 87-45=42 Moving to Node #0,1 Current State: 22:[20, 14, 42], Operations: ['87-45=42'] Exploring Operation: 42-20=22, Resulting Numbers: [14, 22] Generated Node #0,1,0: 22:[14, 22] Operation: 42-20=22 Exploring Operation: 42/14=3, Resulting Numbers: [20, 3] Generated Node #0,1,1: 22:[20, 3] Operation: 42/14=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[14, 22], Operations: ['87-45=42', '42-20=22'] Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[20, 3], Operations: ['87-45=42', '42/14=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,22 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,22 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: 22:[45, 14, 67], Operations: ['87-20=67'] Exploring Operation: 45-14=31, Resulting Numbers: [67, 31] Generated Node #0,0,0: 22:[67, 31] Operation: 45-14=31 Exploring Operation: 67-45=22, Resulting Numbers: [14, 22] Generated Node #0,0,1: 22:[14, 22] Operation: 67-45=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[14, 22], Operations: ['87-20=67', '67-45=22'] Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[67, 31], Operations: ['87-20=67', '45-14=31'] Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 67+31=98, Resulting Numbers: [98] 98,22 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
[ 79, 15, 67, 69 ]
23
[ "79-15=64", "67-64=3", "69/3=23" ]
Current State: 23:[79, 15, 67, 69], Operations: [] Exploring Operation: 79-15=64, Resulting Numbers: [67, 69, 64] Generated Node #2: [67, 69, 64] from Operation: 79-15=64 Current State: 23:[67, 69, 64], Operations: ['79-15=64'] Exploring Operation: 67-64=3, Resulting Numbers: [69, 3] Generated Node #3: [69, 3] from Operation: 67-64=3 Current State: 23:[69, 3], Operations: ['79-15=64', '67-64=3'] Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[79, 15, 67, 69], Operations: [] Exploring Operation: 79-67=12, Resulting Numbers: [15, 69, 12] Generated Node #0,0: 23:[15, 69, 12] Operation: 79-67=12 Exploring Operation: 79-69=10, Resulting Numbers: [15, 67, 10] Generated Node #0,1: 23:[15, 67, 10] Operation: 79-69=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[15, 69, 12], Operations: ['79-67=12'] Exploring Operation: 69-12=57, Resulting Numbers: [15, 57] Generated Node #0,0,0: 23:[15, 57] Operation: 69-12=57 Exploring Operation: 69-15=54, Resulting Numbers: [12, 54] Generated Node #0,0,1: 23:[12, 54] Operation: 69-15=54 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[15, 57], Operations: ['79-67=12', '69-12=57'] Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,23 unequal: No Solution Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 23:[12, 54], Operations: ['79-67=12', '69-15=54'] Exploring Operation: 12+54=66, Resulting Numbers: [66] 66,23 unequal: No Solution Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[15, 67, 10], Operations: ['79-69=10'] Exploring Operation: 67-15=52, Resulting Numbers: [10, 52] Generated Node #0,1,0: 23:[10, 52] Operation: 67-15=52 Exploring Operation: 67-10=57, Resulting Numbers: [15, 57] Generated Node #0,1,1: 23:[15, 57] Operation: 67-10=57 Moving to Node #0,1,0 Current State: 23:[10, 52], Operations: ['79-69=10', '67-15=52'] Exploring Operation: 10+52=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[15, 57], Operations: ['79-69=10', '67-10=57'] Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,23 unequal: No Solution Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,23 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
[ 91, 2, 61, 46 ]
53
[ "91+61=152", "152-46=106", "106/2=53" ]
Current State: 53:[91, 2, 61, 46], Operations: [] Exploring Operation: 91+61=152, Resulting Numbers: [2, 46, 152] Generated Node #2: [2, 46, 152] from Operation: 91+61=152 Current State: 53:[2, 46, 152], Operations: ['91+61=152'] Exploring Operation: 152-46=106, Resulting Numbers: [2, 106] Generated Node #3: [2, 106] from Operation: 152-46=106 Current State: 53:[2, 106], Operations: ['91+61=152', '152-46=106'] Exploring Operation: 106/2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[91, 2, 61, 46], Operations: [] Exploring Operation: 91-2=89, Resulting Numbers: [61, 46, 89] Generated Node #0,0: 53:[61, 46, 89] Operation: 91-2=89 Exploring Operation: 61-2=59, Resulting Numbers: [91, 46, 59] Generated Node #0,1: 53:[91, 46, 59] Operation: 61-2=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[61, 46, 89], Operations: ['91-2=89'] Exploring Operation: 89-46=43, Resulting Numbers: [61, 43] Generated Node #0,0,0: 53:[61, 43] Operation: 89-46=43 Exploring Operation: 89-61=28, Resulting Numbers: [46, 28] Generated Node #0,0,1: 53:[46, 28] Operation: 89-61=28 Moving to Node #0,0,0 Current State: 53:[61, 43], Operations: ['91-2=89', '89-46=43'] Exploring Operation: 61+43=104, Resulting Numbers: [104] 104,53 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[46, 28], Operations: ['91-2=89', '89-61=28'] Exploring Operation: 46+28=74, Resulting Numbers: [74] 74,53 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[91, 46, 59], Operations: ['61-2=59'] Exploring Operation: 91-46=45, Resulting Numbers: [59, 45] Generated Node #0,1,0: 53:[59, 45] Operation: 91-46=45 Exploring Operation: 91-59=32, Resulting Numbers: [46, 32] Generated Node #0,1,1: 53:[46, 32] Operation: 91-59=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[59, 45], Operations: ['61-2=59', '91-46=45'] Exploring Operation: 59-45=14, Resulting Numbers: [14] 14,53 unequal: No Solution Exploring Operation: 59+45=104, Resulting Numbers: [104] 104,53 unequal: No Solution No 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: 53:[46, 32], Operations: ['61-2=59', '91-59=32'] Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,53 unequal: No Solution Exploring Operation: 46+32=78, Resulting Numbers: [78] 78,53 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
[ 36, 24, 50, 8 ]
88
[ "50-36=14", "8*14=112", "112-24=88" ]
Current State: 88:[36, 24, 50, 8], Operations: [] Exploring Operation: 50-36=14, Resulting Numbers: [24, 8, 14] Generated Node #2: [24, 8, 14] from Operation: 50-36=14 Current State: 88:[24, 8, 14], Operations: ['50-36=14'] Exploring Operation: 8*14=112, Resulting Numbers: [24, 112] Generated Node #3: [24, 112] from Operation: 8*14=112 Current State: 88:[24, 112], Operations: ['50-36=14', '8*14=112'] Exploring Operation: 112-24=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[36, 24, 50, 8], Operations: [] Exploring Operation: 36+50=86, Resulting Numbers: [24, 8, 86] Generated Node #0,0: 88:[24, 8, 86] Operation: 36+50=86 Exploring Operation: 50-36=14, Resulting Numbers: [24, 8, 14] Generated Node #0,1: 88:[24, 8, 14] Operation: 50-36=14 Exploring Operation: 36-24=12, Resulting Numbers: [50, 8, 12] Generated Node #0,2: 88:[50, 8, 12] Operation: 36-24=12 Exploring Operation: 36+8=44, Resulting Numbers: [24, 50, 44] Generated Node #0,3: 88:[24, 50, 44] Operation: 36+8=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[24, 8, 86], Operations: ['36+50=86'] Exploring Operation: 8+86=94, Resulting Numbers: [24, 94] Generated Node #0,0,0: 88:[24, 94] Operation: 8+86=94 Exploring Operation: 24+8=32, Resulting Numbers: [86, 32] Generated Node #0,0,1: 88:[86, 32] Operation: 24+8=32 Exploring Operation: 24/8=3, Resulting Numbers: [86, 3] Generated Node #0,0,2: 88:[86, 3] Operation: 24/8=3 Exploring Operation: 24-8=16, Resulting Numbers: [86, 16] Generated Node #0,0,3: 88:[86, 16] Operation: 24-8=16 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[86, 3], Operations: ['36+50=86', '24/8=3'] Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,88 unequal: No Solution Exploring Operation: 86*3=258, Resulting Numbers: [258] 258,88 unequal: No Solution Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 88:[86, 16], Operations: ['36+50=86', '24-8=16'] Exploring Operation: 86*16=1376, Resulting Numbers: [1376] 1376,88 unequal: No Solution Exploring Operation: 86-16=70, Resulting Numbers: [70] 70,88 unequal: No Solution Exploring Operation: 86+16=102, Resulting Numbers: [102] 102,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[24, 94], Operations: ['36+50=86', '8+86=94'] Exploring Operation: 94-24=70, Resulting Numbers: [70] 70,88 unequal: No Solution Exploring Operation: 24+94=118, Resulting Numbers: [118] 118,88 unequal: No Solution Exploring Operation: 24*94=2256, Resulting Numbers: [2256] 2256,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[86, 32], Operations: ['36+50=86', '24+8=32'] Exploring Operation: 86*32=2752, Resulting Numbers: [2752] 2752,88 unequal: No Solution Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,88 unequal: No Solution Exploring Operation: 86+32=118, Resulting Numbers: [118] 118,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[24, 8, 14], Operations: ['50-36=14'] Exploring Operation: 24-14=10, Resulting Numbers: [8, 10] Generated Node #0,1,0: 88:[8, 10] Operation: 24-14=10 Exploring Operation: 24/8=3, Resulting Numbers: [14, 3] Generated Node #0,1,1: 88:[14, 3] Operation: 24/8=3 Exploring Operation: 14-8=6, Resulting Numbers: [24, 6] Generated Node #0,1,2: 88:[24, 6] Operation: 14-8=6 Exploring Operation: 8+14=22, Resulting Numbers: [24, 22] Generated Node #0,1,3: 88:[24, 22] Operation: 8+14=22 Moving to Node #0,1,0 Current State: 88:[8, 10], Operations: ['50-36=14', '24-14=10'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,88 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[24, 22], Operations: ['50-36=14', '8+14=22'] Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 24*22=528, Resulting Numbers: [528] 528,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[24, 6], Operations: ['50-36=14', '14-8=6'] Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,88 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,88 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[14, 3], Operations: ['50-36=14', '24/8=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,88 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[50, 8, 12], Operations: ['36-24=12'] Exploring Operation: 50-12=38, Resulting Numbers: [8, 38] Generated Node #0,2,0: 88:[8, 38] Operation: 50-12=38 Exploring Operation: 50-8=42, Resulting Numbers: [12, 42] Generated Node #0,2,1: 88:[12, 42] Operation: 50-8=42 Exploring Operation: 12-8=4, Resulting Numbers: [50, 4] Generated Node #0,2,2: 88:[50, 4] Operation: 12-8=4 Exploring Operation: 8+12=20, Resulting Numbers: [50, 20] Generated Node #0,2,3: 88:[50, 20] Operation: 8+12=20 Moving to Node #0,2,1 Current State: 88:[12, 42], Operations: ['36-24=12', '50-8=42'] Exploring Operation: 12+42=54, Resulting Numbers: [54] 54,88 unequal: No Solution Exploring Operation: 12*42=504, Resulting Numbers: [504] 504,88 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[50, 4], Operations: ['36-24=12', '12-8=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 50*4=200, Resulting Numbers: [200] 200,88 unequal: No Solution Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[8, 38], Operations: ['36-24=12', '50-12=38'] Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,88 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[50, 20], Operations: ['36-24=12', '8+12=20'] Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,88 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,88 unequal: No Solution Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[24, 50, 44], Operations: ['36+8=44'] Exploring Operation: 44-24=20, Resulting Numbers: [50, 20] Generated Node #0,3,0: 88:[50, 20] Operation: 44-24=20 Exploring Operation: 50-24=26, Resulting Numbers: [44, 26] Generated Node #0,3,1: 88:[44, 26] Operation: 50-24=26 Exploring Operation: 50-44=6, Resulting Numbers: [24, 6] Generated Node #0,3,2: 88:[24, 6] Operation: 50-44=6 Exploring Operation: 50+44=94, Resulting Numbers: [24, 94] Generated Node #0,3,3: 88:[24, 94] Operation: 50+44=94 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 88:[44, 26], Operations: ['36+8=44', '50-24=26'] Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,88 unequal: No Solution Exploring Operation: 44*26=1144, Resulting Numbers: [1144] 1144,88 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 88:[24, 6], Operations: ['36+8=44', '50-44=6'] Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,88 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,88 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 88:[50, 20], Operations: ['36+8=44', '44-24=20'] Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,88 unequal: No Solution Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,88 unequal: No Solution Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 88:[24, 94], Operations: ['36+8=44', '50+44=94'] Exploring Operation: 24+94=118, Resulting Numbers: [118] 118,88 unequal: No Solution Exploring Operation: 24*94=2256, Resulting Numbers: [2256] 2256,88 unequal: No Solution Exploring Operation: 94-24=70, Resulting Numbers: [70] 70,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 42, 25, 46, 40 ]
69
[ "42-25=17", "46+40=86", "86-17=69" ]
Current State: 69:[42, 25, 46, 40], Operations: [] Exploring Operation: 42-25=17, Resulting Numbers: [46, 40, 17] Generated Node #2: [46, 40, 17] from Operation: 42-25=17 Current State: 69:[46, 40, 17], Operations: ['42-25=17'] Exploring Operation: 46+40=86, Resulting Numbers: [17, 86] Generated Node #3: [17, 86] from Operation: 46+40=86 Current State: 69:[17, 86], Operations: ['42-25=17', '46+40=86'] Exploring Operation: 86-17=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[42, 25, 46, 40], Operations: [] Exploring Operation: 42+46=88, Resulting Numbers: [25, 40, 88] Generated Node #0,0: 69:[25, 40, 88] Operation: 42+46=88 Exploring Operation: 46-42=4, Resulting Numbers: [25, 40, 4] Generated Node #0,1: 69:[25, 40, 4] Operation: 46-42=4 Exploring Operation: 42-40=2, Resulting Numbers: [25, 46, 2] Generated Node #0,2: 69:[25, 46, 2] Operation: 42-40=2 Exploring Operation: 46-40=6, Resulting Numbers: [42, 25, 6] Generated Node #0,3: 69:[42, 25, 6] Operation: 46-40=6 Exploring Operation: 42+40=82, Resulting Numbers: [25, 46, 82] Generated Node #0,4: 69:[25, 46, 82] Operation: 42+40=82 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[25, 40, 4], Operations: ['46-42=4'] Exploring Operation: 40/4=10, Resulting Numbers: [25, 10] Generated Node #0,1,0: 69:[25, 10] Operation: 40/4=10 Exploring Operation: 40-4=36, Resulting Numbers: [25, 36] Generated Node #0,1,1: 69:[25, 36] Operation: 40-4=36 Exploring Operation: 25+40=65, Resulting Numbers: [4, 65] Generated Node #0,1,2: 69:[4, 65] Operation: 25+40=65 Exploring Operation: 40-25=15, Resulting Numbers: [4, 15] Generated Node #0,1,3: 69:[4, 15] Operation: 40-25=15 Exploring Operation: 25-4=21, Resulting Numbers: [40, 21] Generated Node #0,1,4: 69:[40, 21] Operation: 25-4=21 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 69:[4, 65], Operations: ['46-42=4', '25+40=65'] Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,69 unequal: No Solution Exploring Operation: 4*65=260, Resulting Numbers: [260] 260,69 unequal: No Solution Exploring Operation: 4+65=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[42, 25, 46, 40], Operations: [] Exploring Operation: 46-42=4, Resulting Numbers: [25, 40, 4] Generated Node #0,1: 69:[25, 40, 4] Operation: 46-42=4 Moving to Node #0,1 Current State: 69:[25, 40, 4], Operations: ['46-42=4'] Exploring Operation: 25+40=65, Resulting Numbers: [4, 65] Generated Node #0,1,2: 69:[4, 65] Operation: 25+40=65 Moving to Node #0,1,2 Current State: 69:[4, 65], Operations: ['46-42=4', '25+40=65'] Exploring Operation: 4+65=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 76, 94, 41, 89 ]
30
[ "94-76=18", "89-41=48", "48-18=30" ]
Current State: 30:[76, 94, 41, 89], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [41, 89, 18] Generated Node #2: [41, 89, 18] from Operation: 94-76=18 Current State: 30:[41, 89, 18], Operations: ['94-76=18'] Exploring Operation: 89-41=48, Resulting Numbers: [18, 48] Generated Node #3: [18, 48] from Operation: 89-41=48 Current State: 30:[18, 48], Operations: ['94-76=18', '89-41=48'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[76, 94, 41, 89], Operations: [] Exploring Operation: 94-89=5, Resulting Numbers: [76, 41, 5] Generated Node #0,0: 30:[76, 41, 5] Operation: 94-89=5 Exploring Operation: 94-76=18, Resulting Numbers: [41, 89, 18] Generated Node #0,1: 30:[41, 89, 18] Operation: 94-76=18 Moving to Node #0,0 Current State: 30:[76, 41, 5], Operations: ['94-89=5'] Exploring Operation: 76-41=35, Resulting Numbers: [5, 35] Generated Node #0,0,0: 30:[5, 35] Operation: 76-41=35 Exploring Operation: 76-5=71, Resulting Numbers: [41, 71] Generated Node #0,0,1: 30:[41, 71] Operation: 76-5=71 Moving to Node #0,1 Current State: 30:[41, 89, 18], Operations: ['94-76=18'] Exploring Operation: 89-18=71, Resulting Numbers: [41, 71] Generated Node #0,1,0: 30:[41, 71] Operation: 89-18=71 Exploring Operation: 89-41=48, Resulting Numbers: [18, 48] Generated Node #0,1,1: 30:[18, 48] Operation: 89-41=48 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[18, 48], Operations: ['94-76=18', '89-41=48'] Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,30 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[76, 94, 41, 89], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [41, 89, 18] Generated Node #0,1: 30:[41, 89, 18] Operation: 94-76=18 Moving to Node #0,1 Current State: 30:[41, 89, 18], Operations: ['94-76=18'] Exploring Operation: 89-41=48, Resulting Numbers: [18, 48] Generated Node #0,1,1: 30:[18, 48] Operation: 89-41=48 Moving to Node #0,1,1 Current State: 30:[18, 48], Operations: ['94-76=18', '89-41=48'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 13, 66, 58, 40 ]
18
[ "66-58=8", "40/8=5", "13+5=18" ]
Current State: 18:[13, 66, 58, 40], Operations: [] Exploring Operation: 66-58=8, Resulting Numbers: [13, 40, 8] Generated Node #2: [13, 40, 8] from Operation: 66-58=8 Current State: 18:[13, 40, 8], Operations: ['66-58=8'] Exploring Operation: 40/8=5, Resulting Numbers: [13, 5] Generated Node #3: [13, 5] from Operation: 40/8=5 Current State: 18:[13, 5], Operations: ['66-58=8', '40/8=5'] Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[13, 66, 58, 40], Operations: [] Exploring Operation: 66-58=8, Resulting Numbers: [13, 40, 8] Generated Node #0,0: 18:[13, 40, 8] Operation: 66-58=8 Exploring Operation: 58-40=18, Resulting Numbers: [13, 66, 18] Generated Node #0,1: 18:[13, 66, 18] Operation: 58-40=18 Exploring Operation: 66-40=26, Resulting Numbers: [13, 58, 26] Generated Node #0,2: 18:[13, 58, 26] Operation: 66-40=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[13, 40, 8], Operations: ['66-58=8'] Exploring Operation: 40-13=27, Resulting Numbers: [8, 27] Generated Node #0,0,0: 18:[8, 27] Operation: 40-13=27 Exploring Operation: 40/8=5, Resulting Numbers: [13, 5] Generated Node #0,0,1: 18:[13, 5] Operation: 40/8=5 Exploring Operation: 40-8=32, Resulting Numbers: [13, 32] Generated Node #0,0,2: 18:[13, 32] Operation: 40-8=32 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 18:[13, 5], Operations: ['66-58=8', '40/8=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,18 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[13, 66, 58, 40], Operations: [] Exploring Operation: 66-58=8, Resulting Numbers: [13, 40, 8] Generated Node #0,0: 18:[13, 40, 8] Operation: 66-58=8 Moving to Node #0,0 Current State: 18:[13, 40, 8], Operations: ['66-58=8'] Exploring Operation: 40/8=5, Resulting Numbers: [13, 5] Generated Node #0,0,1: 18:[13, 5] Operation: 40/8=5 Moving to Node #0,0,1 Current State: 18:[13, 5], Operations: ['66-58=8', '40/8=5'] Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 45, 68, 5, 43 ]
100
[ "68-45=23", "43-23=20", "5*20=100" ]
Current State: 100:[45, 68, 5, 43], Operations: [] Exploring Operation: 68-45=23, Resulting Numbers: [5, 43, 23] Generated Node #2: [5, 43, 23] from Operation: 68-45=23 Current State: 100:[5, 43, 23], Operations: ['68-45=23'] Exploring Operation: 43-23=20, Resulting Numbers: [5, 20] Generated Node #3: [5, 20] from Operation: 43-23=20 Current State: 100:[5, 20], Operations: ['68-45=23', '43-23=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[45, 68, 5, 43], Operations: [] Exploring Operation: 68-45=23, Resulting Numbers: [5, 43, 23] Generated Node #0,0: 100:[5, 43, 23] Operation: 68-45=23 Exploring Operation: 68-43=25, Resulting Numbers: [45, 5, 25] Generated Node #0,1: 100:[45, 5, 25] Operation: 68-43=25 Exploring Operation: 68+43=111, Resulting Numbers: [45, 5, 111] Generated Node #0,2: 100:[45, 5, 111] Operation: 68+43=111 Exploring Operation: 45-43=2, Resulting Numbers: [68, 5, 2] Generated Node #0,3: 100:[68, 5, 2] Operation: 45-43=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[45, 5, 25], Operations: ['68-43=25'] Exploring Operation: 45/5=9, Resulting Numbers: [25, 9] Generated Node #0,1,0: 100:[25, 9] Operation: 45/5=9 Exploring Operation: 45+5=50, Resulting Numbers: [25, 50] Generated Node #0,1,1: 100:[25, 50] Operation: 45+5=50 Exploring Operation: 45-25=20, Resulting Numbers: [5, 20] Generated Node #0,1,2: 100:[5, 20] Operation: 45-25=20 Exploring Operation: 25-5=20, Resulting Numbers: [45, 20] Generated Node #0,1,3: 100:[45, 20] Operation: 25-5=20 Moving to Node #0,1,1 Current State: 100:[25, 50], Operations: ['68-43=25', '45+5=50'] Exploring Operation: 25+50=75, Resulting Numbers: [75] 75,100 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 25*50=1250, Resulting Numbers: [1250] 1250,100 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[5, 20], Operations: ['68-43=25', '45-25=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[45, 68, 5, 43], Operations: [] Exploring Operation: 68-43=25, Resulting Numbers: [45, 5, 25] Generated Node #0,1: 100:[45, 5, 25] Operation: 68-43=25 Moving to Node #0,1 Current State: 100:[45, 5, 25], Operations: ['68-43=25'] Exploring Operation: 45-25=20, Resulting Numbers: [5, 20] Generated Node #0,1,2: 100:[5, 20] Operation: 45-25=20 Moving to Node #0,1,2 Current State: 100:[5, 20], Operations: ['68-43=25', '45-25=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 2, 81, 42, 72 ]
31
[ "2+81=83", "42+72=114", "114-83=31" ]
Current State: 31:[2, 81, 42, 72], Operations: [] Exploring Operation: 2+81=83, Resulting Numbers: [42, 72, 83] Generated Node #2: [42, 72, 83] from Operation: 2+81=83 Current State: 31:[42, 72, 83], Operations: ['2+81=83'] Exploring Operation: 42+72=114, Resulting Numbers: [83, 114] Generated Node #3: [83, 114] from Operation: 42+72=114 Current State: 31:[83, 114], Operations: ['2+81=83', '42+72=114'] Exploring Operation: 114-83=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[2, 81, 42, 72], Operations: [] Exploring Operation: 81-72=9, Resulting Numbers: [2, 42, 9] Generated Node #0,0: 31:[2, 42, 9] Operation: 81-72=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[2, 42, 9], Operations: ['81-72=9'] Exploring Operation: 2*9=18, Resulting Numbers: [42, 18] Generated Node #0,0,0: 31:[42, 18] Operation: 2*9=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[42, 18], Operations: ['81-72=9', '2*9=18'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 18, 67, 56, 95 ]
10
[ "67-18=49", "95-56=39", "49-39=10" ]
Current State: 10:[18, 67, 56, 95], Operations: [] Exploring Operation: 67-18=49, Resulting Numbers: [56, 95, 49] Generated Node #2: [56, 95, 49] from Operation: 67-18=49 Current State: 10:[56, 95, 49], Operations: ['67-18=49'] Exploring Operation: 95-56=39, Resulting Numbers: [49, 39] Generated Node #3: [49, 39] from Operation: 95-56=39 Current State: 10:[49, 39], Operations: ['67-18=49', '95-56=39'] Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[18, 67, 56, 95], Operations: [] Exploring Operation: 67-18=49, Resulting Numbers: [56, 95, 49] Generated Node #0,0: 10:[56, 95, 49] Operation: 67-18=49 Exploring Operation: 95-67=28, Resulting Numbers: [18, 56, 28] Generated Node #0,1: 10:[18, 56, 28] Operation: 95-67=28 Exploring Operation: 67-56=11, Resulting Numbers: [18, 95, 11] Generated Node #0,2: 10:[18, 95, 11] Operation: 67-56=11 Exploring Operation: 95-56=39, Resulting Numbers: [18, 67, 39] Generated Node #0,3: 10:[18, 67, 39] Operation: 95-56=39 Moving to Node #0,1 Current State: 10:[18, 56, 28], Operations: ['95-67=28'] Exploring Operation: 28-18=10, Resulting Numbers: [56, 10] Generated Node #0,1,0: 10:[56, 10] Operation: 28-18=10 Exploring Operation: 56/28=2, Resulting Numbers: [18, 2] Generated Node #0,1,1: 10:[18, 2] Operation: 56/28=2 Exploring Operation: 56-18=38, Resulting Numbers: [28, 38] Generated Node #0,1,2: 10:[28, 38] Operation: 56-18=38 Exploring Operation: 56-28=28, Resulting Numbers: [18, 28] Generated Node #0,1,3: 10:[18, 28] Operation: 56-28=28 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[18, 2], Operations: ['95-67=28', '56/28=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 10:[18, 28], Operations: ['95-67=28', '56-28=28'] Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,10 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,10 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[18, 67, 56, 95], Operations: [] Exploring Operation: 95-67=28, Resulting Numbers: [18, 56, 28] Generated Node #0,1: 10:[18, 56, 28] Operation: 95-67=28 Moving to Node #0,1 Current State: 10:[18, 56, 28], Operations: ['95-67=28'] Exploring Operation: 56-28=28, Resulting Numbers: [18, 28] Generated Node #0,1,3: 10:[18, 28] Operation: 56-28=28 Moving to Node #0,1,3 Current State: 10:[18, 28], Operations: ['95-67=28', '56-28=28'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 19, 57, 16, 57 ]
10
[ "57+57=114", "114/19=6", "16-6=10" ]
Current State: 10:[19, 57, 16, 57], Operations: [] Exploring Operation: 57+57=114, Resulting Numbers: [19, 16, 114] Generated Node #2: [19, 16, 114] from Operation: 57+57=114 Current State: 10:[19, 16, 114], Operations: ['57+57=114'] Exploring Operation: 114/19=6, Resulting Numbers: [16, 6] Generated Node #3: [16, 6] from Operation: 114/19=6 Current State: 10:[16, 6], Operations: ['57+57=114', '114/19=6'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[19, 57, 16, 57], Operations: [] Exploring Operation: 57/57=1, Resulting Numbers: [19, 16, 1] Generated Node #0,0: 10:[19, 16, 1] Operation: 57/57=1 Exploring Operation: 57-57=0, Resulting Numbers: [19, 16, 0] Generated Node #0,1: 10:[19, 16, 0] Operation: 57-57=0 Exploring Operation: 57/19=3, Resulting Numbers: [16, 57, 3] Generated Node #0,2: 10:[16, 57, 3] Operation: 57/19=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[19, 16, 1], Operations: ['57/57=1'] Exploring Operation: 16-1=15, Resulting Numbers: [19, 15] Generated Node #0,0,0: 10:[19, 15] Operation: 16-1=15 Exploring Operation: 19-16=3, Resulting Numbers: [1, 3] Generated Node #0,0,1: 10:[1, 3] Operation: 19-16=3 Exploring Operation: 19-1=18, Resulting Numbers: [16, 18] Generated Node #0,0,2: 10:[16, 18] Operation: 19-1=18 Moving to Node #0,0,1 Current State: 10:[1, 3], Operations: ['57/57=1', '19-16=3'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[19, 15], Operations: ['57/57=1', '16-1=15'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,10 unequal: No Solution Exploring Operation: 19*15=285, Resulting Numbers: [285] 285,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[16, 18], Operations: ['57/57=1', '19-1=18'] Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,10 unequal: No Solution Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[19, 16, 0], Operations: ['57-57=0'] Exploring Operation: 19*0=0, Resulting Numbers: [16, 0] Generated Node #0,1,0: 10:[16, 0] Operation: 19*0=0 Exploring Operation: 16*0=0, Resulting Numbers: [19, 0] Generated Node #0,1,1: 10:[19, 0] Operation: 16*0=0 Exploring Operation: 19-16=3, Resulting Numbers: [0, 3] Generated Node #0,1,2: 10:[0, 3] Operation: 19-16=3 Moving to Node #0,1,2 Current State: 10:[0, 3], Operations: ['57-57=0', '19-16=3'] Exploring Operation: 0+3=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 0*3=0, Resulting Numbers: [0] 0,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[16, 0], Operations: ['57-57=0', '19*0=0'] Exploring Operation: 16-0=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 16*0=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 16+0=16, Resulting Numbers: [16] 16,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[19, 0], Operations: ['57-57=0', '16*0=0'] Exploring Operation: 19*0=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 19-0=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 19+0=19, Resulting Numbers: [19] 19,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[16, 57, 3], Operations: ['57/19=3'] Exploring Operation: 57-16=41, Resulting Numbers: [3, 41] Generated Node #0,2,0: 10:[3, 41] Operation: 57-16=41 Exploring Operation: 16-3=13, Resulting Numbers: [57, 13] Generated Node #0,2,1: 10:[57, 13] Operation: 16-3=13 Exploring Operation: 57/3=19, Resulting Numbers: [16, 19] Generated Node #0,2,2: 10:[16, 19] Operation: 57/3=19 Moving to Node #0,2,2 Current State: 10:[16, 19], Operations: ['57/19=3', '57/3=19'] Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,10 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[3, 41], Operations: ['57/19=3', '57-16=41'] Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,10 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,10 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[57, 13], Operations: ['57/19=3', '16-3=13'] Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,10 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,10 unequal: No Solution Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,10 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
[ 21, 30, 69, 51 ]
10
[ "69-21=48", "51-48=3", "30/3=10" ]
Current State: 10:[21, 30, 69, 51], Operations: [] Exploring Operation: 69-21=48, Resulting Numbers: [30, 51, 48] Generated Node #2: [30, 51, 48] from Operation: 69-21=48 Current State: 10:[30, 51, 48], Operations: ['69-21=48'] Exploring Operation: 51-48=3, Resulting Numbers: [30, 3] Generated Node #3: [30, 3] from Operation: 51-48=3 Current State: 10:[30, 3], Operations: ['69-21=48', '51-48=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[21, 30, 69, 51], Operations: [] Exploring Operation: 69-30=39, Resulting Numbers: [21, 51, 39] Generated Node #0,0: 10:[21, 51, 39] Operation: 69-30=39 Exploring Operation: 51-30=21, Resulting Numbers: [21, 69, 21] Generated Node #0,1: 10:[21, 69, 21] Operation: 51-30=21 Exploring Operation: 69-51=18, Resulting Numbers: [21, 30, 18] Generated Node #0,2: 10:[21, 30, 18] Operation: 69-51=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[21, 30, 18], Operations: ['69-51=18'] Exploring Operation: 30-21=9, Resulting Numbers: [18, 9] Generated Node #0,2,0: 10:[18, 9] Operation: 30-21=9 Exploring Operation: 30-18=12, Resulting Numbers: [21, 12] Generated Node #0,2,1: 10:[21, 12] Operation: 30-18=12 Exploring Operation: 21-18=3, Resulting Numbers: [30, 3] Generated Node #0,2,2: 10:[30, 3] Operation: 21-18=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 10:[18, 9], Operations: ['69-51=18', '30-21=9'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 10:[21, 12], Operations: ['69-51=18', '30-18=12'] Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,10 unequal: No Solution Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[30, 3], Operations: ['69-51=18', '21-18=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[21, 30, 69, 51], Operations: [] Exploring Operation: 69-51=18, Resulting Numbers: [21, 30, 18] Generated Node #0,2: 10:[21, 30, 18] Operation: 69-51=18 Moving to Node #0,2 Current State: 10:[21, 30, 18], Operations: ['69-51=18'] Exploring Operation: 21-18=3, Resulting Numbers: [30, 3] Generated Node #0,2,2: 10:[30, 3] Operation: 21-18=3 Moving to Node #0,2,2 Current State: 10:[30, 3], Operations: ['69-51=18', '21-18=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 82, 80, 75, 13 ]
100
[ "82+80=162", "75-13=62", "162-62=100" ]
Current State: 100:[82, 80, 75, 13], Operations: [] Exploring Operation: 82+80=162, Resulting Numbers: [75, 13, 162] Generated Node #2: [75, 13, 162] from Operation: 82+80=162 Current State: 100:[75, 13, 162], Operations: ['82+80=162'] Exploring Operation: 75-13=62, Resulting Numbers: [162, 62] Generated Node #3: [162, 62] from Operation: 75-13=62 Current State: 100:[162, 62], Operations: ['82+80=162', '75-13=62'] Exploring Operation: 162-62=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[82, 80, 75, 13], Operations: [] Exploring Operation: 80-75=5, Resulting Numbers: [82, 13, 5] Generated Node #0,0: 100:[82, 13, 5] Operation: 80-75=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[82, 13, 5], Operations: ['80-75=5'] Exploring Operation: 82+13=95, Resulting Numbers: [5, 95] Generated Node #0,0,0: 100:[5, 95] Operation: 82+13=95 Moving to Node #0,0,0 Current State: 100:[5, 95], Operations: ['80-75=5', '82+13=95'] Exploring Operation: 5+95=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[82, 80, 75, 13], Operations: [] Exploring Operation: 80-75=5, Resulting Numbers: [82, 13, 5] Generated Node #0,0: 100:[82, 13, 5] Operation: 80-75=5 Moving to Node #0,0 Current State: 100:[82, 13, 5], Operations: ['80-75=5'] Exploring Operation: 82+13=95, Resulting Numbers: [5, 95] Generated Node #0,0,0: 100:[5, 95] Operation: 82+13=95 Moving to Node #0,0,0 Current State: 100:[5, 95], Operations: ['80-75=5', '82+13=95'] Exploring Operation: 5+95=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 59, 88, 26, 2 ]
77
[ "59-26=33", "88/2=44", "33+44=77" ]
Current State: 77:[59, 88, 26, 2], Operations: [] Exploring Operation: 59-26=33, Resulting Numbers: [88, 2, 33] Generated Node #2: [88, 2, 33] from Operation: 59-26=33 Current State: 77:[88, 2, 33], Operations: ['59-26=33'] Exploring Operation: 88/2=44, Resulting Numbers: [33, 44] Generated Node #3: [33, 44] from Operation: 88/2=44 Current State: 77:[33, 44], Operations: ['59-26=33', '88/2=44'] Exploring Operation: 33+44=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[59, 88, 26, 2], Operations: [] Exploring Operation: 59+26=85, Resulting Numbers: [88, 2, 85] Generated Node #0,0: 77:[88, 2, 85] Operation: 59+26=85 Exploring Operation: 26/2=13, Resulting Numbers: [59, 88, 13] Generated Node #0,1: 77:[59, 88, 13] Operation: 26/2=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[88, 2, 85], Operations: ['59+26=85'] Exploring Operation: 88-2=86, Resulting Numbers: [85, 86] Generated Node #0,0,0: 77:[85, 86] Operation: 88-2=86 Exploring Operation: 88-85=3, Resulting Numbers: [2, 3] Generated Node #0,0,1: 77:[2, 3] Operation: 88-85=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 77:[2, 3], Operations: ['59+26=85', '88-85=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,77 unequal: No Solution No 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: 77:[85, 86], Operations: ['59+26=85', '88-2=86'] Exploring Operation: 85+86=171, Resulting Numbers: [171] 171,77 unequal: No Solution Exploring Operation: 86-85=1, Resulting Numbers: [1] 1,77 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: 77:[59, 88, 13], Operations: ['26/2=13'] Exploring Operation: 88-59=29, Resulting Numbers: [13, 29] Generated Node #0,1,0: 77:[13, 29] Operation: 88-59=29 Exploring Operation: 59+13=72, Resulting Numbers: [88, 72] Generated Node #0,1,1: 77:[88, 72] Operation: 59+13=72 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 77:[88, 72], Operations: ['26/2=13', '59+13=72'] Exploring Operation: 88-72=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 88+72=160, Resulting Numbers: [160] 160,77 unequal: No Solution No 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: 77:[13, 29], Operations: ['26/2=13', '88-59=29'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 13+29=42, Resulting Numbers: [42] 42,77 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
[ 64, 61, 39, 11 ]
37
[ "61*39=2379", "2379-11=2368", "2368/64=37" ]
Current State: 37:[64, 61, 39, 11], Operations: [] Exploring Operation: 61*39=2379, Resulting Numbers: [64, 11, 2379] Generated Node #2: [64, 11, 2379] from Operation: 61*39=2379 Current State: 37:[64, 11, 2379], Operations: ['61*39=2379'] Exploring Operation: 2379-11=2368, Resulting Numbers: [64, 2368] Generated Node #3: [64, 2368] from Operation: 2379-11=2368 Current State: 37:[64, 2368], Operations: ['61*39=2379', '2379-11=2368'] Exploring Operation: 2368/64=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[64, 61, 39, 11], Operations: [] Exploring Operation: 39-11=28, Resulting Numbers: [64, 61, 28] Generated Node #0,0: 37:[64, 61, 28] Operation: 39-11=28 Exploring Operation: 64-11=53, Resulting Numbers: [61, 39, 53] Generated Node #0,1: 37:[61, 39, 53] Operation: 64-11=53 Exploring Operation: 61-11=50, Resulting Numbers: [64, 39, 50] Generated Node #0,2: 37:[64, 39, 50] Operation: 61-11=50 Moving to Node #0,1 Current State: 37:[61, 39, 53], Operations: ['64-11=53'] Exploring Operation: 61-39=22, Resulting Numbers: [53, 22] Generated Node #0,1,0: 37:[53, 22] Operation: 61-39=22 Exploring Operation: 53-39=14, Resulting Numbers: [61, 14] Generated Node #0,1,1: 37:[61, 14] Operation: 53-39=14 Exploring Operation: 61-53=8, Resulting Numbers: [39, 8] Generated Node #0,1,2: 37:[39, 8] Operation: 61-53=8 Moving to Node #0,2 Current State: 37:[64, 39, 50], Operations: ['61-11=50'] Exploring Operation: 50-39=11, Resulting Numbers: [64, 11] Generated Node #0,2,0: 37:[64, 11] Operation: 50-39=11 Exploring Operation: 64-39=25, Resulting Numbers: [50, 25] Generated Node #0,2,1: 37:[50, 25] Operation: 64-39=25 Exploring Operation: 64-50=14, Resulting Numbers: [39, 14] Generated Node #0,2,2: 37:[39, 14] Operation: 64-50=14 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[50, 25], Operations: ['61-11=50', '64-39=25'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,37 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,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,2,2 Current State: 37:[39, 14], Operations: ['61-11=50', '64-50=14'] Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,37 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,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,2,0 Current State: 37:[64, 11], Operations: ['61-11=50', '50-39=11'] Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 64*11=704, Resulting Numbers: [704] 704,37 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: 37:[64, 61, 28], Operations: ['39-11=28'] Exploring Operation: 64-61=3, Resulting Numbers: [28, 3] Generated Node #0,0,0: 37:[28, 3] Operation: 64-61=3 Exploring Operation: 61-28=33, Resulting Numbers: [64, 33] Generated Node #0,0,1: 37:[64, 33] Operation: 61-28=33 Exploring Operation: 64-28=36, Resulting Numbers: [61, 36] Generated Node #0,0,2: 37:[61, 36] Operation: 64-28=36 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[61, 36], Operations: ['39-11=28', '64-28=36'] Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,37 unequal: No Solution Exploring Operation: 61*36=2196, Resulting Numbers: [2196] 2196,37 unequal: No Solution Exploring Operation: 61+36=97, Resulting Numbers: [97] 97,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[64, 33], Operations: ['39-11=28', '61-28=33'] Exploring Operation: 64*33=2112, Resulting Numbers: [2112] 2112,37 unequal: No Solution Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,37 unequal: No Solution Exploring Operation: 64+33=97, Resulting Numbers: [97] 97,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[28, 3], Operations: ['39-11=28', '64-61=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,37 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,37 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 37:[53, 22], Operations: ['64-11=53', '61-39=22'] Exploring Operation: 53+22=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,37 unequal: No Solution Exploring Operation: 53*22=1166, Resulting Numbers: [1166] 1166,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[39, 8], Operations: ['64-11=53', '61-53=8'] Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,37 unequal: No Solution Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,37 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[61, 14], Operations: ['64-11=53', '53-39=14'] Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,37 unequal: No Solution Exploring Operation: 61+14=75, Resulting Numbers: [75] 75,37 unequal: No Solution Exploring Operation: 61*14=854, Resulting Numbers: [854] 854,37 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 29, 56, 75, 27 ]
74
[ "56-29=27", "27/27=1", "75-1=74" ]
Current State: 74:[29, 56, 75, 27], Operations: [] Exploring Operation: 56-29=27, Resulting Numbers: [75, 27, 27] Generated Node #2: [75, 27, 27] from Operation: 56-29=27 Current State: 74:[75, 27, 27], Operations: ['56-29=27'] Exploring Operation: 27/27=1, Resulting Numbers: [75, 1] Generated Node #3: [75, 1] from Operation: 27/27=1 Current State: 74:[75, 1], Operations: ['56-29=27', '27/27=1'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[29, 56, 75, 27], Operations: [] Exploring Operation: 56-29=27, Resulting Numbers: [75, 27, 27] Generated Node #0,0: 74:[75, 27, 27] Operation: 56-29=27 Exploring Operation: 29+56=85, Resulting Numbers: [75, 27, 85] Generated Node #0,1: 74:[75, 27, 85] Operation: 29+56=85 Exploring Operation: 29-27=2, Resulting Numbers: [56, 75, 2] Generated Node #0,2: 74:[56, 75, 2] Operation: 29-27=2 Exploring Operation: 56+27=83, Resulting Numbers: [29, 75, 83] Generated Node #0,3: 74:[29, 75, 83] Operation: 56+27=83 Exploring Operation: 56-27=29, Resulting Numbers: [29, 75, 29] Generated Node #0,4: 74:[29, 75, 29] Operation: 56-27=29 Moving to Node #0,4 Current State: 74:[29, 75, 29], Operations: ['56-27=29'] Exploring Operation: 29-29=0, Resulting Numbers: [75, 0] Generated Node #0,4,0: 74:[75, 0] Operation: 29-29=0 Exploring Operation: 75-29=46, Resulting Numbers: [29, 46] Generated Node #0,4,1: 74:[29, 46] Operation: 75-29=46 Exploring Operation: 29+29=58, Resulting Numbers: [75, 58] Generated Node #0,4,2: 74:[75, 58] Operation: 29+29=58 Exploring Operation: 29/29=1, Resulting Numbers: [75, 1] Generated Node #0,4,3: 74:[75, 1] Operation: 29/29=1 Exploring Operation: 75-29=46, Resulting Numbers: [29, 46] Generated Node #0,4,4: 74:[29, 46] Operation: 75-29=46 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 74:[75, 1], Operations: ['56-27=29', '29/29=1'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[29, 56, 75, 27], Operations: [] Exploring Operation: 56-27=29, Resulting Numbers: [29, 75, 29] Generated Node #0,4: 74:[29, 75, 29] Operation: 56-27=29 Moving to Node #0,4 Current State: 74:[29, 75, 29], Operations: ['56-27=29'] Exploring Operation: 29/29=1, Resulting Numbers: [75, 1] Generated Node #0,4,3: 74:[75, 1] Operation: 29/29=1 Moving to Node #0,4,3 Current State: 74:[75, 1], Operations: ['56-27=29', '29/29=1'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 79, 79, 4, 77 ]
82
[ "79/79=1", "4+77=81", "1+81=82" ]
Current State: 82:[79, 79, 4, 77], Operations: [] Exploring Operation: 79/79=1, Resulting Numbers: [4, 77, 1] Generated Node #2: [4, 77, 1] from Operation: 79/79=1 Current State: 82:[4, 77, 1], Operations: ['79/79=1'] Exploring Operation: 4+77=81, Resulting Numbers: [1, 81] Generated Node #3: [1, 81] from Operation: 4+77=81 Current State: 82:[1, 81], Operations: ['79/79=1', '4+77=81'] Exploring Operation: 1+81=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[79, 79, 4, 77], Operations: [] Exploring Operation: 4+77=81, Resulting Numbers: [79, 79, 81] Generated Node #0,0: 82:[79, 79, 81] Operation: 4+77=81 Exploring Operation: 79/79=1, Resulting Numbers: [4, 77, 1] Generated Node #0,1: 82:[4, 77, 1] Operation: 79/79=1 Exploring Operation: 79-77=2, Resulting Numbers: [79, 4, 2] Generated Node #0,2: 82:[79, 4, 2] Operation: 79-77=2 Exploring Operation: 79-77=2, Resulting Numbers: [79, 4, 2] Generated Node #0,3: 82:[79, 4, 2] Operation: 79-77=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[79, 4, 2], Operations: ['79-77=2'] Exploring Operation: 79+2=81, Resulting Numbers: [4, 81] Generated Node #0,2,0: 82:[4, 81] Operation: 79+2=81 Exploring Operation: 79+4=83, Resulting Numbers: [2, 83] Generated Node #0,2,1: 82:[2, 83] Operation: 79+4=83 Exploring Operation: 4-2=2, Resulting Numbers: [79, 2] Generated Node #0,2,2: 82:[79, 2] Operation: 4-2=2 Exploring Operation: 4/2=2, Resulting Numbers: [79, 2] Generated Node #0,2,3: 82:[79, 2] Operation: 4/2=2 Moving to Node #0,2,1 Current State: 82:[2, 83], Operations: ['79-77=2', '79+4=83'] Exploring Operation: 2*83=166, Resulting Numbers: [166] 166,82 unequal: No Solution Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,82 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[79, 2], Operations: ['79-77=2', '4-2=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[4, 81], Operations: ['79-77=2', '79+2=81'] Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,82 unequal: No Solution Exploring Operation: 4*81=324, Resulting Numbers: [324] 324,82 unequal: No Solution Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[79, 2], Operations: ['79-77=2', '4/2=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,82 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[79, 4, 2], Operations: ['79-77=2'] Exploring Operation: 4/2=2, Resulting Numbers: [79, 2] Generated Node #0,3,0: 82:[79, 2] Operation: 4/2=2 Exploring Operation: 79+4=83, Resulting Numbers: [2, 83] Generated Node #0,3,1: 82:[2, 83] Operation: 79+4=83 Exploring Operation: 4-2=2, Resulting Numbers: [79, 2] Generated Node #0,3,2: 82:[79, 2] Operation: 4-2=2 Exploring Operation: 79+2=81, Resulting Numbers: [4, 81] Generated Node #0,3,3: 82:[4, 81] Operation: 79+2=81 Moving to Node #0,3,1 Current State: 82:[2, 83], Operations: ['79-77=2', '79+4=83'] Exploring Operation: 2*83=166, Resulting Numbers: [166] 166,82 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[79, 2], Operations: ['79-77=2', '4-2=2'] Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,82 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[79, 2], Operations: ['79-77=2', '4/2=2'] Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,82 unequal: No Solution Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[4, 81], Operations: ['79-77=2', '79+2=81'] Exploring Operation: 4*81=324, Resulting Numbers: [324] 324,82 unequal: No Solution Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,82 unequal: No Solution Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[79, 79, 81], Operations: ['4+77=81'] Exploring Operation: 81-79=2, Resulting Numbers: [79, 2] Generated Node #0,0,0: 82:[79, 2] Operation: 81-79=2 Exploring Operation: 79-79=0, Resulting Numbers: [81, 0] Generated Node #0,0,1: 82:[81, 0] Operation: 79-79=0 Exploring Operation: 79/79=1, Resulting Numbers: [81, 1] Generated Node #0,0,2: 82:[81, 1] Operation: 79/79=1 Exploring Operation: 81-79=2, Resulting Numbers: [79, 2] Generated Node #0,0,3: 82:[79, 2] Operation: 81-79=2 Moving to Node #0,0,2 Current State: 82:[81, 1], Operations: ['4+77=81', '79/79=1'] Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,82 unequal: No Solution Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[79, 79, 4, 77], Operations: [] Exploring Operation: 4+77=81, Resulting Numbers: [79, 79, 81] Generated Node #0,0: 82:[79, 79, 81] Operation: 4+77=81 Moving to Node #0,0 Current State: 82:[79, 79, 81], Operations: ['4+77=81'] Exploring Operation: 79/79=1, Resulting Numbers: [81, 1] Generated Node #0,0,2: 82:[81, 1] Operation: 79/79=1 Moving to Node #0,0,2 Current State: 82:[81, 1], Operations: ['4+77=81', '79/79=1'] Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.958333
hs_4
mult_heuristic
[ 21, 68, 57, 50 ]
79
[ "57-50=7", "21*7=147", "147-68=79" ]
Current State: 79:[21, 68, 57, 50], Operations: [] Exploring Operation: 57-50=7, Resulting Numbers: [21, 68, 7] Generated Node #2: [21, 68, 7] from Operation: 57-50=7 Current State: 79:[21, 68, 7], Operations: ['57-50=7'] Exploring Operation: 21*7=147, Resulting Numbers: [68, 147] Generated Node #3: [68, 147] from Operation: 21*7=147 Current State: 79:[68, 147], Operations: ['57-50=7', '21*7=147'] Exploring Operation: 147-68=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[21, 68, 57, 50], Operations: [] Exploring Operation: 21+57=78, Resulting Numbers: [68, 50, 78] Generated Node #0,0: 79:[68, 50, 78] Operation: 21+57=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[68, 50, 78], Operations: ['21+57=78'] Exploring Operation: 68+50=118, Resulting Numbers: [78, 118] Generated Node #0,0,0: 79:[78, 118] Operation: 68+50=118 Moving to Node #0,0,0 Current State: 79:[78, 118], Operations: ['21+57=78', '68+50=118'] Exploring Operation: 118-78=40, Resulting Numbers: [40] 40,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 39, 19, 4, 68 ]
97
[ "68-39=29", "4*29=116", "116-19=97" ]
Current State: 97:[39, 19, 4, 68], Operations: [] Exploring Operation: 68-39=29, Resulting Numbers: [19, 4, 29] Generated Node #2: [19, 4, 29] from Operation: 68-39=29 Current State: 97:[19, 4, 29], Operations: ['68-39=29'] Exploring Operation: 4*29=116, Resulting Numbers: [19, 116] Generated Node #3: [19, 116] from Operation: 4*29=116 Current State: 97:[19, 116], Operations: ['68-39=29', '4*29=116'] Exploring Operation: 116-19=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[39, 19, 4, 68], Operations: [] Exploring Operation: 39+4=43, Resulting Numbers: [19, 68, 43] Generated Node #0,0: 97:[19, 68, 43] Operation: 39+4=43 Exploring Operation: 19*4=76, Resulting Numbers: [39, 68, 76] Generated Node #0,1: 97:[39, 68, 76] Operation: 19*4=76 Exploring Operation: 39+19=58, Resulting Numbers: [4, 68, 58] Generated Node #0,2: 97:[4, 68, 58] Operation: 39+19=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[39, 68, 76], Operations: ['19*4=76'] Exploring Operation: 39+76=115, Resulting Numbers: [68, 115] Generated Node #0,1,0: 97:[68, 115] Operation: 39+76=115 Exploring Operation: 39+68=107, Resulting Numbers: [76, 107] Generated Node #0,1,1: 97:[76, 107] Operation: 39+68=107 Exploring Operation: 68-39=29, Resulting Numbers: [76, 29] Generated Node #0,1,2: 97:[76, 29] Operation: 68-39=29 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[76, 107], Operations: ['19*4=76', '39+68=107'] Exploring Operation: 76+107=183, Resulting Numbers: [183] 183,97 unequal: No Solution Exploring Operation: 107-76=31, Resulting Numbers: [31] 31,97 unequal: No Solution Exploring Operation: 76*107=8132, Resulting Numbers: [8132] 8132,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[68, 115], Operations: ['19*4=76', '39+76=115'] Exploring Operation: 68+115=183, Resulting Numbers: [183] 183,97 unequal: No Solution Exploring Operation: 68*115=7820, Resulting Numbers: [7820] 7820,97 unequal: No Solution Exploring Operation: 115-68=47, Resulting Numbers: [47] 47,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[76, 29], Operations: ['19*4=76', '68-39=29'] Exploring Operation: 76+29=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 76*29=2204, Resulting Numbers: [2204] 2204,97 unequal: No Solution Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[19, 68, 43], Operations: ['39+4=43'] Exploring Operation: 19+43=62, Resulting Numbers: [68, 62] Generated Node #0,0,0: 97:[68, 62] Operation: 19+43=62 Exploring Operation: 68+43=111, Resulting Numbers: [19, 111] Generated Node #0,0,1: 97:[19, 111] Operation: 68+43=111 Exploring Operation: 19+68=87, Resulting Numbers: [43, 87] Generated Node #0,0,2: 97:[43, 87] Operation: 19+68=87 Moving to Node #0,0,0 Current State: 97:[68, 62], Operations: ['39+4=43', '19+43=62'] Exploring Operation: 68-62=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 68+62=130, Resulting Numbers: [130] 130,97 unequal: No Solution Exploring Operation: 68*62=4216, Resulting Numbers: [4216] 4216,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[43, 87], Operations: ['39+4=43', '19+68=87'] Exploring Operation: 43*87=3741, Resulting Numbers: [3741] 3741,97 unequal: No Solution Exploring Operation: 87-43=44, Resulting Numbers: [44] 44,97 unequal: No Solution Exploring Operation: 43+87=130, Resulting Numbers: [130] 130,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[19, 111], Operations: ['39+4=43', '68+43=111'] Exploring Operation: 19*111=2109, Resulting Numbers: [2109] 2109,97 unequal: No Solution Exploring Operation: 111-19=92, Resulting Numbers: [92] 92,97 unequal: No Solution Exploring Operation: 19+111=130, Resulting Numbers: [130] 130,97 unequal: No Solution No 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: 97:[4, 68, 58], Operations: ['39+19=58'] Exploring Operation: 68-4=64, Resulting Numbers: [58, 64] Generated Node #0,2,0: 97:[58, 64] Operation: 68-4=64 Exploring Operation: 4+68=72, Resulting Numbers: [58, 72] Generated Node #0,2,1: 97:[58, 72] Operation: 4+68=72 Exploring Operation: 4+58=62, Resulting Numbers: [68, 62] Generated Node #0,2,2: 97:[68, 62] Operation: 4+58=62 Moving to Node #0,2,1 Current State: 97:[58, 72], Operations: ['39+19=58', '4+68=72'] Exploring Operation: 72-58=14, Resulting Numbers: [14] 14,97 unequal: No Solution Exploring Operation: 58*72=4176, Resulting Numbers: [4176] 4176,97 unequal: No Solution Exploring Operation: 58+72=130, Resulting Numbers: [130] 130,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[68, 62], Operations: ['39+19=58', '4+58=62'] Exploring Operation: 68+62=130, Resulting Numbers: [130] 130,97 unequal: No Solution Exploring Operation: 68-62=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 68*62=4216, Resulting Numbers: [4216] 4216,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[58, 64], Operations: ['39+19=58', '68-4=64'] Exploring Operation: 58+64=122, Resulting Numbers: [122] 122,97 unequal: No Solution Exploring Operation: 58*64=3712, Resulting Numbers: [3712] 3712,97 unequal: No Solution Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 91, 25, 56, 87 ]
97
[ "91-25=66", "87-56=31", "66+31=97" ]
Current State: 97:[91, 25, 56, 87], Operations: [] Exploring Operation: 91-25=66, Resulting Numbers: [56, 87, 66] Generated Node #2: [56, 87, 66] from Operation: 91-25=66 Current State: 97:[56, 87, 66], Operations: ['91-25=66'] Exploring Operation: 87-56=31, Resulting Numbers: [66, 31] Generated Node #3: [66, 31] from Operation: 87-56=31 Current State: 97:[66, 31], Operations: ['91-25=66', '87-56=31'] Exploring Operation: 66+31=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[91, 25, 56, 87], Operations: [] Exploring Operation: 91-25=66, Resulting Numbers: [56, 87, 66] Generated Node #0,0: 97:[56, 87, 66] Operation: 91-25=66 Exploring Operation: 25+56=81, Resulting Numbers: [91, 87, 81] Generated Node #0,1: 97:[91, 87, 81] Operation: 25+56=81 Exploring Operation: 91+25=116, Resulting Numbers: [56, 87, 116] Generated Node #0,2: 97:[56, 87, 116] Operation: 91+25=116 Exploring Operation: 25+87=112, Resulting Numbers: [91, 56, 112] Generated Node #0,3: 97:[91, 56, 112] Operation: 25+87=112 Moving to Node #0,1 Current State: 97:[91, 87, 81], Operations: ['25+56=81'] Exploring Operation: 87+81=168, Resulting Numbers: [91, 168] Generated Node #0,1,0: 97:[91, 168] Operation: 87+81=168 Exploring Operation: 91+87=178, Resulting Numbers: [81, 178] Generated Node #0,1,1: 97:[81, 178] Operation: 91+87=178 Exploring Operation: 91+81=172, Resulting Numbers: [87, 172] Generated Node #0,1,2: 97:[87, 172] Operation: 91+81=172 Exploring Operation: 91-81=10, Resulting Numbers: [87, 10] Generated Node #0,1,3: 97:[87, 10] Operation: 91-81=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[91, 168], Operations: ['25+56=81', '87+81=168'] Exploring Operation: 91+168=259, Resulting Numbers: [259] 259,97 unequal: No Solution Exploring Operation: 168-91=77, Resulting Numbers: [77] 77,97 unequal: No Solution Exploring Operation: 91*168=15288, Resulting Numbers: [15288] 15288,97 unequal: No Solution No 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: 97:[87, 172], Operations: ['25+56=81', '91+81=172'] Exploring Operation: 172-87=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 87*172=14964, Resulting Numbers: [14964] 14964,97 unequal: No Solution Exploring Operation: 87+172=259, Resulting Numbers: [259] 259,97 unequal: No Solution No 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: 97:[81, 178], Operations: ['25+56=81', '91+87=178'] Exploring Operation: 178-81=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[91, 25, 56, 87], Operations: [] Exploring Operation: 25+56=81, Resulting Numbers: [91, 87, 81] Generated Node #0,1: 97:[91, 87, 81] Operation: 25+56=81 Moving to Node #0,1 Current State: 97:[91, 87, 81], Operations: ['25+56=81'] Exploring Operation: 91+87=178, Resulting Numbers: [81, 178] Generated Node #0,1,1: 97:[81, 178] Operation: 91+87=178 Moving to Node #0,1,1 Current State: 97:[81, 178], Operations: ['25+56=81', '91+87=178'] Exploring Operation: 178-81=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 80, 98, 94, 30 ]
54
[ "80+98=178", "94+30=124", "178-124=54" ]
Current State: 54:[80, 98, 94, 30], Operations: [] Exploring Operation: 80+98=178, Resulting Numbers: [94, 30, 178] Generated Node #2: [94, 30, 178] from Operation: 80+98=178 Current State: 54:[94, 30, 178], Operations: ['80+98=178'] Exploring Operation: 94+30=124, Resulting Numbers: [178, 124] Generated Node #3: [178, 124] from Operation: 94+30=124 Current State: 54:[178, 124], Operations: ['80+98=178', '94+30=124'] Exploring Operation: 178-124=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[80, 98, 94, 30], Operations: [] Exploring Operation: 98-80=18, Resulting Numbers: [94, 30, 18] Generated Node #0,0: 54:[94, 30, 18] Operation: 98-80=18 Exploring Operation: 98-94=4, Resulting Numbers: [80, 30, 4] Generated Node #0,1: 54:[80, 30, 4] Operation: 98-94=4 Moving to Node #0,1 Current State: 54:[80, 30, 4], Operations: ['98-94=4'] Exploring Operation: 80/4=20, Resulting Numbers: [30, 20] Generated Node #0,1,0: 54:[30, 20] Operation: 80/4=20 Exploring Operation: 80-30=50, Resulting Numbers: [4, 50] Generated Node #0,1,1: 54:[4, 50] Operation: 80-30=50 Moving to Node #0,0 Current State: 54:[94, 30, 18], Operations: ['98-80=18'] Exploring Operation: 94-18=76, Resulting Numbers: [30, 76] Generated Node #0,0,0: 54:[30, 76] Operation: 94-18=76 Exploring Operation: 94-30=64, Resulting Numbers: [18, 64] Generated Node #0,0,1: 54:[18, 64] Operation: 94-30=64 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[18, 64], Operations: ['98-80=18', '94-30=64'] Exploring Operation: 18+64=82, Resulting Numbers: [82] 82,54 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[30, 76], Operations: ['98-80=18', '94-18=76'] Exploring Operation: 76-30=46, Resulting Numbers: [46] 46,54 unequal: No Solution Exploring Operation: 30+76=106, Resulting Numbers: [106] 106,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 54:[30, 20], Operations: ['98-94=4', '80/4=20'] Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,54 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[4, 50], Operations: ['98-94=4', '80-30=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[80, 98, 94, 30], Operations: [] Exploring Operation: 98-94=4, Resulting Numbers: [80, 30, 4] Generated Node #0,1: 54:[80, 30, 4] Operation: 98-94=4 Moving to Node #0,1 Current State: 54:[80, 30, 4], Operations: ['98-94=4'] Exploring Operation: 80-30=50, Resulting Numbers: [4, 50] Generated Node #0,1,1: 54:[4, 50] Operation: 80-30=50 Moving to Node #0,1,1 Current State: 54:[4, 50], Operations: ['98-94=4', '80-30=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.985243
hs_2
sum_heuristic
[ 12, 16, 67, 15 ]
19
[ "15-12=3", "16*3=48", "67-48=19" ]
Current State: 19:[12, 16, 67, 15], Operations: [] Exploring Operation: 15-12=3, Resulting Numbers: [16, 67, 3] Generated Node #2: [16, 67, 3] from Operation: 15-12=3 Current State: 19:[16, 67, 3], Operations: ['15-12=3'] Exploring Operation: 16*3=48, Resulting Numbers: [67, 48] Generated Node #3: [67, 48] from Operation: 16*3=48 Current State: 19:[67, 48], Operations: ['15-12=3', '16*3=48'] Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[12, 16, 67, 15], Operations: [] Exploring Operation: 67-12=55, Resulting Numbers: [16, 15, 55] Generated Node #0,0: 19:[16, 15, 55] Operation: 67-12=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[16, 15, 55], Operations: ['67-12=55'] Exploring Operation: 55-16=39, Resulting Numbers: [15, 39] Generated Node #0,0,0: 19:[15, 39] Operation: 55-16=39 Moving to Node #0,0,0 Current State: 19:[15, 39], Operations: ['67-12=55', '55-16=39'] Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 25, 16, 7, 64 ]
23
[ "25+64=89", "16*7=112", "112-89=23" ]
Current State: 23:[25, 16, 7, 64], Operations: [] Exploring Operation: 25+64=89, Resulting Numbers: [16, 7, 89] Generated Node #2: [16, 7, 89] from Operation: 25+64=89 Current State: 23:[16, 7, 89], Operations: ['25+64=89'] Exploring Operation: 16*7=112, Resulting Numbers: [89, 112] Generated Node #3: [89, 112] from Operation: 16*7=112 Current State: 23:[89, 112], Operations: ['25+64=89', '16*7=112'] Exploring Operation: 112-89=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[25, 16, 7, 64], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [25, 7, 4] Generated Node #0,0: 23:[25, 7, 4] Operation: 64/16=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[25, 7, 4], Operations: ['64/16=4'] Exploring Operation: 7*4=28, Resulting Numbers: [25, 28] Generated Node #0,0,0: 23:[25, 28] Operation: 7*4=28 Moving to Node #0,0,0 Current State: 23:[25, 28], Operations: ['64/16=4', '7*4=28'] Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,23 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
[ 95, 38, 24, 6 ]
61
[ "95-38=57", "24/6=4", "57+4=61" ]
Current State: 61:[95, 38, 24, 6], Operations: [] Exploring Operation: 95-38=57, Resulting Numbers: [24, 6, 57] Generated Node #2: [24, 6, 57] from Operation: 95-38=57 Current State: 61:[24, 6, 57], Operations: ['95-38=57'] Exploring Operation: 24/6=4, Resulting Numbers: [57, 4] Generated Node #3: [57, 4] from Operation: 24/6=4 Current State: 61:[57, 4], Operations: ['95-38=57', '24/6=4'] Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[95, 38, 24, 6], Operations: [] Exploring Operation: 95-24=71, Resulting Numbers: [38, 6, 71] Generated Node #0,0: 61:[38, 6, 71] Operation: 95-24=71 Moving to Node #0,0 Current State: 61:[38, 6, 71], Operations: ['95-24=71'] Exploring Operation: 38+6=44, Resulting Numbers: [71, 44] Generated Node #0,0,0: 61:[71, 44] Operation: 38+6=44 Moving to Node #0,0,0 Current State: 61:[71, 44], Operations: ['95-24=71', '38+6=44'] Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,61 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 10, 80, 56, 3 ]
10
[ "80/10=8", "56/8=7", "3+7=10" ]
Current State: 10:[10, 80, 56, 3], Operations: [] Exploring Operation: 80/10=8, Resulting Numbers: [56, 3, 8] Generated Node #2: [56, 3, 8] from Operation: 80/10=8 Current State: 10:[56, 3, 8], Operations: ['80/10=8'] Exploring Operation: 56/8=7, Resulting Numbers: [3, 7] Generated Node #3: [3, 7] from Operation: 56/8=7 Current State: 10:[3, 7], Operations: ['80/10=8', '56/8=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[10, 80, 56, 3], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [10, 3, 24] Generated Node #0,0: 10:[10, 3, 24] Operation: 80-56=24 Exploring Operation: 80/10=8, Resulting Numbers: [56, 3, 8] Generated Node #0,1: 10:[56, 3, 8] Operation: 80/10=8 Moving to Node #0,0 Current State: 10:[10, 3, 24], Operations: ['80-56=24'] Exploring Operation: 24-10=14, Resulting Numbers: [3, 14] Generated Node #0,0,0: 10:[3, 14] Operation: 24-10=14 Exploring Operation: 24/3=8, Resulting Numbers: [10, 8] Generated Node #0,0,1: 10:[10, 8] Operation: 24/3=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[10, 8], Operations: ['80-56=24', '24/3=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[3, 14], Operations: ['80-56=24', '24-10=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,10 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: 10:[56, 3, 8], Operations: ['80/10=8'] Exploring Operation: 56/8=7, Resulting Numbers: [3, 7] Generated Node #0,1,0: 10:[3, 7] Operation: 56/8=7 Exploring Operation: 56-8=48, Resulting Numbers: [3, 48] Generated Node #0,1,1: 10:[3, 48] Operation: 56-8=48 Moving to Node #0,1,0 Current State: 10:[3, 7], Operations: ['80/10=8', '56/8=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[10, 80, 56, 3], Operations: [] Exploring Operation: 80/10=8, Resulting Numbers: [56, 3, 8] Generated Node #0,1: 10:[56, 3, 8] Operation: 80/10=8 Moving to Node #0,1 Current State: 10:[56, 3, 8], Operations: ['80/10=8'] Exploring Operation: 56/8=7, Resulting Numbers: [3, 7] Generated Node #0,1,0: 10:[3, 7] Operation: 56/8=7 Moving to Node #0,1,0 Current State: 10:[3, 7], Operations: ['80/10=8', '56/8=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 54, 92, 58, 2 ]
100
[ "58-54=4", "2*4=8", "92+8=100" ]
Current State: 100:[54, 92, 58, 2], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [92, 2, 4] Generated Node #2: [92, 2, 4] from Operation: 58-54=4 Current State: 100:[92, 2, 4], Operations: ['58-54=4'] Exploring Operation: 2*4=8, Resulting Numbers: [92, 8] Generated Node #3: [92, 8] from Operation: 2*4=8 Current State: 100:[92, 8], Operations: ['58-54=4', '2*4=8'] Exploring Operation: 92+8=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[54, 92, 58, 2], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [92, 2, 4] Generated Node #0,0: 100:[92, 2, 4] Operation: 58-54=4 Exploring Operation: 92/2=46, Resulting Numbers: [54, 58, 46] Generated Node #0,1: 100:[54, 58, 46] Operation: 92/2=46 Exploring Operation: 92-58=34, Resulting Numbers: [54, 2, 34] Generated Node #0,2: 100:[54, 2, 34] Operation: 92-58=34 Moving to Node #0,0 Current State: 100:[92, 2, 4], Operations: ['58-54=4'] Exploring Operation: 92/2=46, Resulting Numbers: [4, 46] Generated Node #0,0,0: 100:[4, 46] Operation: 92/2=46 Exploring Operation: 92+4=96, Resulting Numbers: [2, 96] Generated Node #0,0,1: 100:[2, 96] Operation: 92+4=96 Exploring Operation: 92/4=23, Resulting Numbers: [2, 23] Generated Node #0,0,2: 100:[2, 23] Operation: 92/4=23 Moving to Node #0,2 Current State: 100:[54, 2, 34], Operations: ['92-58=34'] Exploring Operation: 54-34=20, Resulting Numbers: [2, 20] Generated Node #0,2,0: 100:[2, 20] Operation: 54-34=20 Exploring Operation: 54-2=52, Resulting Numbers: [34, 52] Generated Node #0,2,1: 100:[34, 52] Operation: 54-2=52 Exploring Operation: 34/2=17, Resulting Numbers: [54, 17] Generated Node #0,2,2: 100:[54, 17] Operation: 34/2=17 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 100:[2, 20], Operations: ['92-58=34', '54-34=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 100:[54, 17], Operations: ['92-58=34', '34/2=17'] Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,100 unequal: No Solution Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,100 unequal: No Solution Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 100:[34, 52], Operations: ['92-58=34', '54-2=52'] Exploring Operation: 34*52=1768, Resulting Numbers: [1768] 1768,100 unequal: No Solution Exploring Operation: 34+52=86, Resulting Numbers: [86] 86,100 unequal: No Solution Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,100 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: 100:[54, 58, 46], Operations: ['92/2=46'] Exploring Operation: 54+46=100, Resulting Numbers: [58, 100] Generated Node #0,1,0: 100:[58, 100] Operation: 54+46=100 Exploring Operation: 58-54=4, Resulting Numbers: [46, 4] Generated Node #0,1,1: 100:[46, 4] Operation: 58-54=4 Exploring Operation: 58-46=12, Resulting Numbers: [54, 12] Generated Node #0,1,2: 100:[54, 12] Operation: 58-46=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[46, 4], Operations: ['92/2=46', '58-54=4'] Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,100 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 100:[54, 12], Operations: ['92/2=46', '58-46=12'] Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,100 unequal: No Solution Exploring Operation: 54*12=648, Resulting Numbers: [648] 648,100 unequal: No Solution Exploring Operation: 54+12=66, Resulting Numbers: [66] 66,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[58, 100], Operations: ['92/2=46', '54+46=100'] Exploring Operation: 58+100=158, Resulting Numbers: [158] 158,100 unequal: No Solution Exploring Operation: 100-58=42, Resulting Numbers: [42] 42,100 unequal: No Solution Exploring Operation: 58*100=5800, Resulting Numbers: [5800] 5800,100 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: 100:[2, 23], Operations: ['58-54=4', '92/4=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,100 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[4, 46], Operations: ['58-54=4', '92/2=46'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,100 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,100 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[2, 96], Operations: ['58-54=4', '92+4=96'] Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,100 unequal: No Solution Exploring Operation: 2+96=98, Resulting Numbers: [98] 98,100 unequal: No Solution Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,100 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 98, 67, 6, 43 ]
68
[ "98-67=31", "43-6=37", "31+37=68" ]
Current State: 68:[98, 67, 6, 43], Operations: [] Exploring Operation: 98-67=31, Resulting Numbers: [6, 43, 31] Generated Node #2: [6, 43, 31] from Operation: 98-67=31 Current State: 68:[6, 43, 31], Operations: ['98-67=31'] Exploring Operation: 43-6=37, Resulting Numbers: [31, 37] Generated Node #3: [31, 37] from Operation: 43-6=37 Current State: 68:[31, 37], Operations: ['98-67=31', '43-6=37'] Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[98, 67, 6, 43], Operations: [] Exploring Operation: 98-67=31, Resulting Numbers: [6, 43, 31] Generated Node #0,0: 68:[6, 43, 31] Operation: 98-67=31 Moving to Node #0,0 Current State: 68:[6, 43, 31], Operations: ['98-67=31'] Exploring Operation: 43-6=37, Resulting Numbers: [31, 37] Generated Node #0,0,0: 68:[31, 37] Operation: 43-6=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[31, 37], Operations: ['98-67=31', '43-6=37'] Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[98, 67, 6, 43], Operations: [] Exploring Operation: 98-67=31, Resulting Numbers: [6, 43, 31] Generated Node #0,0: 68:[6, 43, 31] Operation: 98-67=31 Moving to Node #0,0 Current State: 68:[6, 43, 31], Operations: ['98-67=31'] Exploring Operation: 43-6=37, Resulting Numbers: [31, 37] Generated Node #0,0,0: 68:[31, 37] Operation: 43-6=37 Moving to Node #0,0,0 Current State: 68:[31, 37], Operations: ['98-67=31', '43-6=37'] Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 49, 63, 15, 63 ]
92
[ "63-49=14", "15+63=78", "14+78=92" ]
Current State: 92:[49, 63, 15, 63], Operations: [] Exploring Operation: 63-49=14, Resulting Numbers: [15, 14] Generated Node #2: [15, 14] from Operation: 63-49=14 Current State: 92:[15, 14], Operations: ['63-49=14'] Exploring Operation: 15+63=78, Resulting Numbers: [14, 78] Generated Node #3: [14, 78] from Operation: 15+63=78 Current State: 92:[14, 78], Operations: ['63-49=14', '15+63=78'] Exploring Operation: 14+78=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[49, 63, 15, 63], Operations: [] Exploring Operation: 63/63=1, Resulting Numbers: [49, 15, 1] Generated Node #0,0: 92:[49, 15, 1] Operation: 63/63=1 Moving to Node #0,0 Current State: 92:[49, 15, 1], Operations: ['63/63=1'] Exploring Operation: 49-1=48, Resulting Numbers: [15, 48] Generated Node #0,0,0: 92:[15, 48] Operation: 49-1=48 Moving to Node #0,0,0 Current State: 92:[15, 48], Operations: ['63/63=1', '49-1=48'] Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,92 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 50, 72, 3, 55 ]
99
[ "72-50=22", "55-22=33", "3*33=99" ]
Current State: 99:[50, 72, 3, 55], Operations: [] Exploring Operation: 72-50=22, Resulting Numbers: [3, 55, 22] Generated Node #2: [3, 55, 22] from Operation: 72-50=22 Current State: 99:[3, 55, 22], Operations: ['72-50=22'] Exploring Operation: 55-22=33, Resulting Numbers: [3, 33] Generated Node #3: [3, 33] from Operation: 55-22=33 Current State: 99:[3, 33], Operations: ['72-50=22', '55-22=33'] Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[50, 72, 3, 55], Operations: [] Exploring Operation: 55-50=5, Resulting Numbers: [72, 3, 5] Generated Node #0,0: 99:[72, 3, 5] Operation: 55-50=5 Exploring Operation: 72-55=17, Resulting Numbers: [50, 3, 17] Generated Node #0,1: 99:[50, 3, 17] Operation: 72-55=17 Exploring Operation: 72-50=22, Resulting Numbers: [3, 55, 22] Generated Node #0,2: 99:[3, 55, 22] Operation: 72-50=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[50, 3, 17], Operations: ['72-55=17'] Exploring Operation: 17-3=14, Resulting Numbers: [50, 14] Generated Node #0,1,0: 99:[50, 14] Operation: 17-3=14 Exploring Operation: 50-3=47, Resulting Numbers: [17, 47] Generated Node #0,1,1: 99:[17, 47] Operation: 50-3=47 Exploring Operation: 50-17=33, Resulting Numbers: [3, 33] Generated Node #0,1,2: 99:[3, 33] Operation: 50-17=33 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 99:[3, 33], Operations: ['72-55=17', '50-17=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,99 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[50, 72, 3, 55], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [50, 3, 17] Generated Node #0,1: 99:[50, 3, 17] Operation: 72-55=17 Moving to Node #0,1 Current State: 99:[50, 3, 17], Operations: ['72-55=17'] Exploring Operation: 50-17=33, Resulting Numbers: [3, 33] Generated Node #0,1,2: 99:[3, 33] Operation: 50-17=33 Moving to Node #0,1,2 Current State: 99:[3, 33], Operations: ['72-55=17', '50-17=33'] Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 4, 91, 77, 3 ]
52
[ "91+77=168", "168/3=56", "56-4=52" ]
Current State: 52:[4, 91, 77, 3], Operations: [] Exploring Operation: 91+77=168, Resulting Numbers: [4, 3, 168] Generated Node #2: [4, 3, 168] from Operation: 91+77=168 Current State: 52:[4, 3, 168], Operations: ['91+77=168'] Exploring Operation: 168/3=56, Resulting Numbers: [4, 56] Generated Node #3: [4, 56] from Operation: 168/3=56 Current State: 52:[4, 56], Operations: ['91+77=168', '168/3=56'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[4, 91, 77, 3], Operations: [] Exploring Operation: 91-77=14, Resulting Numbers: [4, 3, 14] Generated Node #0,0: 52:[4, 3, 14] Operation: 91-77=14 Exploring Operation: 91-4=87, Resulting Numbers: [77, 3, 87] Generated Node #0,1: 52:[77, 3, 87] Operation: 91-4=87 Exploring Operation: 77-4=73, Resulting Numbers: [91, 3, 73] Generated Node #0,2: 52:[91, 3, 73] Operation: 77-4=73 Moving to Node #0,0 Current State: 52:[4, 3, 14], Operations: ['91-77=14'] Exploring Operation: 14-3=11, Resulting Numbers: [4, 11] Generated Node #0,0,0: 52:[4, 11] Operation: 14-3=11 Exploring Operation: 4*3=12, Resulting Numbers: [14, 12] Generated Node #0,0,1: 52:[14, 12] Operation: 4*3=12 Exploring Operation: 4-3=1, Resulting Numbers: [14, 1] Generated Node #0,0,2: 52:[14, 1] Operation: 4-3=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[4, 11], Operations: ['91-77=14', '14-3=11'] Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[14, 12], Operations: ['91-77=14', '4*3=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 52:[14, 1], Operations: ['91-77=14', '4-3=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 52:[77, 3, 87], Operations: ['91-4=87'] Exploring Operation: 87-77=10, Resulting Numbers: [3, 10] Generated Node #0,1,0: 52:[3, 10] Operation: 87-77=10 Exploring Operation: 77-3=74, Resulting Numbers: [87, 74] Generated Node #0,1,1: 52:[87, 74] Operation: 77-3=74 Exploring Operation: 87/3=29, Resulting Numbers: [77, 29] Generated Node #0,1,2: 52:[77, 29] Operation: 87/3=29 Moving to Node #0,2 Current State: 52:[91, 3, 73], Operations: ['77-4=73'] Exploring Operation: 73-3=70, Resulting Numbers: [91, 70] Generated Node #0,2,0: 52:[91, 70] Operation: 73-3=70 Exploring Operation: 91-3=88, Resulting Numbers: [73, 88] Generated Node #0,2,1: 52:[73, 88] Operation: 91-3=88 Exploring Operation: 91-73=18, Resulting Numbers: [3, 18] Generated Node #0,2,2: 52:[3, 18] Operation: 91-73=18 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 52:[3, 18], Operations: ['77-4=73', '91-73=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[91, 70], Operations: ['77-4=73', '73-3=70'] Exploring Operation: 91*70=6370, Resulting Numbers: [6370] 6370,52 unequal: No Solution Exploring Operation: 91+70=161, Resulting Numbers: [161] 161,52 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 52:[73, 88], Operations: ['77-4=73', '91-3=88'] Exploring Operation: 73*88=6424, Resulting Numbers: [6424] 6424,52 unequal: No Solution Exploring Operation: 73+88=161, Resulting Numbers: [161] 161,52 unequal: No Solution Exploring Operation: 88-73=15, Resulting Numbers: [15] 15,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 52:[3, 10], Operations: ['91-4=87', '87-77=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[77, 29], Operations: ['91-4=87', '87/3=29'] Exploring Operation: 77*29=2233, Resulting Numbers: [2233] 2233,52 unequal: No Solution Exploring Operation: 77+29=106, Resulting Numbers: [106] 106,52 unequal: No Solution Exploring Operation: 77-29=48, Resulting Numbers: [48] 48,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[87, 74], Operations: ['91-4=87', '77-3=74'] Exploring Operation: 87*74=6438, Resulting Numbers: [6438] 6438,52 unequal: No Solution Exploring Operation: 87-74=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 87+74=161, Resulting Numbers: [161] 161,52 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 21, 24, 23, 17 ]
86
[ "24-21=3", "23*3=69", "17+69=86" ]
Current State: 86:[21, 24, 23, 17], Operations: [] Exploring Operation: 24-21=3, Resulting Numbers: [23, 17, 3] Generated Node #2: [23, 17, 3] from Operation: 24-21=3 Current State: 86:[23, 17, 3], Operations: ['24-21=3'] Exploring Operation: 23*3=69, Resulting Numbers: [17, 69] Generated Node #3: [17, 69] from Operation: 23*3=69 Current State: 86:[17, 69], Operations: ['24-21=3', '23*3=69'] Exploring Operation: 17+69=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[21, 24, 23, 17], Operations: [] Exploring Operation: 24-23=1, Resulting Numbers: [21, 17, 1] Generated Node #0,0: 86:[21, 17, 1] Operation: 24-23=1 Exploring Operation: 21+23=44, Resulting Numbers: [24, 17, 44] Generated Node #0,1: 86:[24, 17, 44] Operation: 21+23=44 Exploring Operation: 24-21=3, Resulting Numbers: [23, 17, 3] Generated Node #0,2: 86:[23, 17, 3] Operation: 24-21=3 Exploring Operation: 23-21=2, Resulting Numbers: [24, 17, 2] Generated Node #0,3: 86:[24, 17, 2] Operation: 23-21=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 86:[24, 17, 2], Operations: ['23-21=2'] Exploring Operation: 24/2=12, Resulting Numbers: [17, 12] Generated Node #0,3,0: 86:[17, 12] Operation: 24/2=12 Exploring Operation: 24+17=41, Resulting Numbers: [2, 41] Generated Node #0,3,1: 86:[2, 41] Operation: 24+17=41 Exploring Operation: 24-17=7, Resulting Numbers: [2, 7] Generated Node #0,3,2: 86:[2, 7] Operation: 24-17=7 Exploring Operation: 24*2=48, Resulting Numbers: [17, 48] Generated Node #0,3,3: 86:[17, 48] Operation: 24*2=48 Moving to Node #0,3,1 Current State: 86:[2, 41], Operations: ['23-21=2', '24+17=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[2, 7], Operations: ['23-21=2', '24-17=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[17, 48], Operations: ['23-21=2', '24*2=48'] Exploring Operation: 17*48=816, Resulting Numbers: [816] 816,86 unequal: No Solution Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,86 unequal: No Solution Exploring Operation: 17+48=65, Resulting Numbers: [65] 65,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[17, 12], Operations: ['23-21=2', '24/2=12'] Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,86 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,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 Current State: 86:[21, 17, 1], Operations: ['24-23=1'] Exploring Operation: 21-17=4, Resulting Numbers: [1, 4] Generated Node #0,0,0: 86:[1, 4] Operation: 21-17=4 Exploring Operation: 21-1=20, Resulting Numbers: [17, 20] Generated Node #0,0,1: 86:[17, 20] Operation: 21-1=20 Exploring Operation: 21+17=38, Resulting Numbers: [1, 38] Generated Node #0,0,2: 86:[1, 38] Operation: 21+17=38 Exploring Operation: 17-1=16, Resulting Numbers: [21, 16] Generated Node #0,0,3: 86:[21, 16] Operation: 17-1=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[1, 4], Operations: ['24-23=1', '21-17=4'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,86 unequal: No Solution Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,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,0,2 Current State: 86:[1, 38], Operations: ['24-23=1', '21+17=38'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,86 unequal: No Solution Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,86 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 1*38=38, Resulting Numbers: [38] 38,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,0,1 Current State: 86:[17, 20], Operations: ['24-23=1', '21-1=20'] Exploring Operation: 17*20=340, Resulting Numbers: [340] 340,86 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,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,0,3 Current State: 86:[21, 16], Operations: ['24-23=1', '17-1=16'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,86 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,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,1 Current State: 86:[24, 17, 44], Operations: ['21+23=44'] Exploring Operation: 24+44=68, Resulting Numbers: [17, 68] Generated Node #0,1,0: 86:[17, 68] Operation: 24+44=68 Exploring Operation: 24+17=41, Resulting Numbers: [44, 41] Generated Node #0,1,1: 86:[44, 41] Operation: 24+17=41 Exploring Operation: 24-17=7, Resulting Numbers: [44, 7] Generated Node #0,1,2: 86:[44, 7] Operation: 24-17=7 Exploring Operation: 44-24=20, Resulting Numbers: [17, 20] Generated Node #0,1,3: 86:[17, 20] Operation: 44-24=20 Moving to Node #0,1,1 Current State: 86:[44, 41], Operations: ['21+23=44', '24+17=41'] Exploring Operation: 44*41=1804, Resulting Numbers: [1804] 1804,86 unequal: No Solution Exploring Operation: 44+41=85, Resulting Numbers: [85] 85,86 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[44, 7], Operations: ['21+23=44', '24-17=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,86 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[17, 20], Operations: ['21+23=44', '44-24=20'] Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 17*20=340, Resulting Numbers: [340] 340,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[17, 68], Operations: ['21+23=44', '24+44=68'] Exploring Operation: 17*68=1156, Resulting Numbers: [1156] 1156,86 unequal: No Solution Exploring Operation: 17+68=85, Resulting Numbers: [85] 85,86 unequal: No Solution Exploring Operation: 68-17=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 68/17=4, Resulting Numbers: [4] 4,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:[23, 17, 3], Operations: ['24-21=3'] Exploring Operation: 23+17=40, Resulting Numbers: [3, 40] Generated Node #0,2,0: 86:[3, 40] Operation: 23+17=40 Exploring Operation: 23+3=26, Resulting Numbers: [17, 26] Generated Node #0,2,1: 86:[17, 26] Operation: 23+3=26 Exploring Operation: 23-17=6, Resulting Numbers: [3, 6] Generated Node #0,2,2: 86:[3, 6] Operation: 23-17=6 Exploring Operation: 17*3=51, Resulting Numbers: [23, 51] Generated Node #0,2,3: 86:[23, 51] Operation: 17*3=51 Moving to Node #0,2,0 Current State: 86:[3, 40], Operations: ['24-21=3', '23+17=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[3, 6], Operations: ['24-21=3', '23-17=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,86 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,86 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[23, 51], Operations: ['24-21=3', '17*3=51'] Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,86 unequal: No Solution Exploring Operation: 23+51=74, Resulting Numbers: [74] 74,86 unequal: No Solution Exploring Operation: 23*51=1173, Resulting Numbers: [1173] 1173,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[17, 26], Operations: ['24-21=3', '23+3=26'] Exploring Operation: 17*26=442, Resulting Numbers: [442] 442,86 unequal: No Solution Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,86 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
[ 3, 37, 66, 58 ]
73
[ "66/3=22", "37+58=95", "95-22=73" ]
Current State: 73:[3, 37, 66, 58], Operations: [] Exploring Operation: 66/3=22, Resulting Numbers: [37, 58, 22] Generated Node #2: [37, 58, 22] from Operation: 66/3=22 Current State: 73:[37, 58, 22], Operations: ['66/3=22'] Exploring Operation: 37+58=95, Resulting Numbers: [22, 95] Generated Node #3: [22, 95] from Operation: 37+58=95 Current State: 73:[22, 95], Operations: ['66/3=22', '37+58=95'] Exploring Operation: 95-22=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[3, 37, 66, 58], Operations: [] Exploring Operation: 37-3=34, Resulting Numbers: [66, 58, 34] Generated Node #0,0: 73:[66, 58, 34] Operation: 37-3=34 Exploring Operation: 3+66=69, Resulting Numbers: [37, 58, 69] Generated Node #0,1: 73:[37, 58, 69] Operation: 3+66=69 Exploring Operation: 3*37=111, Resulting Numbers: [66, 58, 111] Generated Node #0,2: 73:[66, 58, 111] Operation: 3*37=111 Exploring Operation: 3+37=40, Resulting Numbers: [66, 58, 40] Generated Node #0,3: 73:[66, 58, 40] Operation: 3+37=40 Exploring Operation: 3+58=61, Resulting Numbers: [37, 66, 61] Generated Node #0,4: 73:[37, 66, 61] Operation: 3+58=61 Moving to Node #0,1 Current State: 73:[37, 58, 69], Operations: ['3+66=69'] Exploring Operation: 58+69=127, Resulting Numbers: [37, 127] Generated Node #0,1,0: 73:[37, 127] Operation: 58+69=127 Exploring Operation: 69-37=32, Resulting Numbers: [58, 32] Generated Node #0,1,1: 73:[58, 32] Operation: 69-37=32 Exploring Operation: 58-37=21, Resulting Numbers: [69, 21] Generated Node #0,1,2: 73:[69, 21] Operation: 58-37=21 Exploring Operation: 37+58=95, Resulting Numbers: [69, 95] Generated Node #0,1,3: 73:[69, 95] Operation: 37+58=95 Exploring Operation: 37+69=106, Resulting Numbers: [58, 106] Generated Node #0,1,4: 73:[58, 106] Operation: 37+69=106 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 73:[69, 95], Operations: ['3+66=69', '37+58=95'] Exploring Operation: 69*95=6555, Resulting Numbers: [6555] 6555,73 unequal: No Solution Exploring Operation: 95-69=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 69+95=164, Resulting Numbers: [164] 164,73 unequal: No Solution No 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: 73:[58, 106], Operations: ['3+66=69', '37+69=106'] Exploring Operation: 58*106=6148, Resulting Numbers: [6148] 6148,73 unequal: No Solution Exploring Operation: 106-58=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 58+106=164, Resulting Numbers: [164] 164,73 unequal: No Solution No 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: 73:[58, 32], Operations: ['3+66=69', '69-37=32'] Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,73 unequal: No Solution Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,73 unequal: No Solution No 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: 73:[69, 21], Operations: ['3+66=69', '58-37=21'] Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 69+21=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 69*21=1449, Resulting Numbers: [1449] 1449,73 unequal: No Solution No 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: 73:[37, 127], Operations: ['3+66=69', '58+69=127'] Exploring Operation: 127-37=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 37+127=164, Resulting Numbers: [164] 164,73 unequal: No Solution Exploring Operation: 37*127=4699, Resulting Numbers: [4699] 4699,73 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: 73:[37, 66, 61], Operations: ['3+58=61'] Exploring Operation: 37+66=103, Resulting Numbers: [61, 103] Generated Node #0,4,0: 73:[61, 103] Operation: 37+66=103 Exploring Operation: 37+61=98, Resulting Numbers: [66, 98] Generated Node #0,4,1: 73:[66, 98] Operation: 37+61=98 Exploring Operation: 66-37=29, Resulting Numbers: [61, 29] Generated Node #0,4,2: 73:[61, 29] Operation: 66-37=29 Exploring Operation: 61-37=24, Resulting Numbers: [66, 24] Generated Node #0,4,3: 73:[66, 24] Operation: 61-37=24 Exploring Operation: 66+61=127, Resulting Numbers: [37, 127] Generated Node #0,4,4: 73:[37, 127] Operation: 66+61=127 Moving to Node #0,3 Current State: 73:[66, 58, 40], Operations: ['3+37=40'] Exploring Operation: 66-40=26, Resulting Numbers: [58, 26] Generated Node #0,3,0: 73:[58, 26] Operation: 66-40=26 Exploring Operation: 66+40=106, Resulting Numbers: [58, 106] Generated Node #0,3,1: 73:[58, 106] Operation: 66+40=106 Exploring Operation: 58+40=98, Resulting Numbers: [66, 98] Generated Node #0,3,2: 73:[66, 98] Operation: 58+40=98 Exploring Operation: 58-40=18, Resulting Numbers: [66, 18] Generated Node #0,3,3: 73:[66, 18] Operation: 58-40=18 Exploring Operation: 66+58=124, Resulting Numbers: [40, 124] Generated Node #0,3,4: 73:[40, 124] Operation: 66+58=124 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[66, 98], Operations: ['3+37=40', '58+40=98'] Exploring Operation: 98-66=32, Resulting Numbers: [32] 32,73 unequal: No Solution Exploring Operation: 66*98=6468, Resulting Numbers: [6468] 6468,73 unequal: No Solution Exploring Operation: 66+98=164, Resulting Numbers: [164] 164,73 unequal: No Solution No 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: 73:[58, 106], Operations: ['3+37=40', '66+40=106'] Exploring Operation: 58*106=6148, Resulting Numbers: [6148] 6148,73 unequal: No Solution Exploring Operation: 106-58=48, Resulting Numbers: [48] 48,73 unequal: No Solution Exploring Operation: 58+106=164, Resulting Numbers: [164] 164,73 unequal: No Solution No 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: 73:[58, 26], Operations: ['3+37=40', '66-40=26'] Exploring Operation: 58+26=84, Resulting Numbers: [84] 84,73 unequal: No Solution Exploring Operation: 58*26=1508, Resulting Numbers: [1508] 1508,73 unequal: No Solution Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,73 unequal: No Solution No 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: 73:[66, 18], Operations: ['3+37=40', '58-40=18'] Exploring Operation: 66+18=84, Resulting Numbers: [84] 84,73 unequal: No Solution Exploring Operation: 66*18=1188, Resulting Numbers: [1188] 1188,73 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,73 unequal: No Solution No 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: 73:[40, 124], Operations: ['3+37=40', '66+58=124'] Exploring Operation: 40*124=4960, Resulting Numbers: [4960] 4960,73 unequal: No Solution Exploring Operation: 40+124=164, Resulting Numbers: [164] 164,73 unequal: No Solution Exploring Operation: 124-40=84, Resulting Numbers: [84] 84,73 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: 73:[66, 58, 111], Operations: ['3*37=111'] Exploring Operation: 58+111=169, Resulting Numbers: [66, 169] Generated Node #0,2,0: 73:[66, 169] Operation: 58+111=169 Exploring Operation: 66+58=124, Resulting Numbers: [111, 124] Generated Node #0,2,1: 73:[111, 124] Operation: 66+58=124 Exploring Operation: 111-58=53, Resulting Numbers: [66, 53] Generated Node #0,2,2: 73:[66, 53] Operation: 111-58=53 Exploring Operation: 66-58=8, Resulting Numbers: [111, 8] Generated Node #0,2,3: 73:[111, 8] Operation: 66-58=8 Exploring Operation: 111-66=45, Resulting Numbers: [58, 45] Generated Node #0,2,4: 73:[58, 45] Operation: 111-66=45 Moving to Node #0,0 Current State: 73:[66, 58, 34], Operations: ['37-3=34'] Exploring Operation: 66-34=32, Resulting Numbers: [58, 32] Generated Node #0,0,0: 73:[58, 32] Operation: 66-34=32 Exploring Operation: 58-34=24, Resulting Numbers: [66, 24] Generated Node #0,0,1: 73:[66, 24] Operation: 58-34=24 Exploring Operation: 66+58=124, Resulting Numbers: [34, 124] Generated Node #0,0,2: 73:[34, 124] Operation: 66+58=124 Exploring Operation: 58+34=92, Resulting Numbers: [66, 92] Generated Node #0,0,3: 73:[66, 92] Operation: 58+34=92 Exploring Operation: 66+34=100, Resulting Numbers: [58, 100] Generated Node #0,0,4: 73:[58, 100] Operation: 66+34=100 Moving to Node #0,0,3 Current State: 73:[66, 92], Operations: ['37-3=34', '58+34=92'] Exploring Operation: 66+92=158, Resulting Numbers: [158] 158,73 unequal: No Solution Exploring Operation: 92-66=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 66*92=6072, Resulting Numbers: [6072] 6072,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[66, 53], Operations: ['3*37=111', '111-58=53'] Exploring Operation: 66*53=3498, Resulting Numbers: [3498] 3498,73 unequal: No Solution Exploring Operation: 66-53=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 66+53=119, Resulting Numbers: [119] 119,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[66, 98], Operations: ['3+58=61', '37+61=98'] Exploring Operation: 66+98=164, Resulting Numbers: [164] 164,73 unequal: No Solution Exploring Operation: 66*98=6468, Resulting Numbers: [6468] 6468,73 unequal: No Solution Exploring Operation: 98-66=32, Resulting Numbers: [32] 32,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[58, 100], Operations: ['37-3=34', '66+34=100'] Exploring Operation: 58+100=158, Resulting Numbers: [158] 158,73 unequal: No Solution Exploring Operation: 100-58=42, Resulting Numbers: [42] 42,73 unequal: No Solution Exploring Operation: 58*100=5800, Resulting Numbers: [5800] 5800,73 unequal: No Solution Moving to Node #0,4,0 Current State: 73:[61, 103], Operations: ['3+58=61', '37+66=103'] Exploring Operation: 103-61=42, Resulting Numbers: [42] 42,73 unequal: No Solution Exploring Operation: 61+103=164, Resulting Numbers: [164] 164,73 unequal: No Solution Exploring Operation: 61*103=6283, Resulting Numbers: [6283] 6283,73 unequal: No Solution Moving to Node #0,2,4 Current State: 73:[58, 45], Operations: ['3*37=111', '111-66=45'] Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 58+45=103, Resulting Numbers: [103] 103,73 unequal: No Solution Exploring Operation: 58*45=2610, Resulting Numbers: [2610] 2610,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[66, 24], Operations: ['37-3=34', '58-34=24'] Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 66*24=1584, Resulting Numbers: [1584] 1584,73 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[58, 32], Operations: ['37-3=34', '66-34=32'] Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,73 unequal: No Solution Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[66, 24], Operations: ['3+58=61', '61-37=24'] Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 66*24=1584, Resulting Numbers: [1584] 1584,73 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,73 unequal: No Solution Moving to Node #0,4,2 Current State: 73:[61, 29], Operations: ['3+58=61', '66-37=29'] Exploring Operation: 61+29=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 61-29=32, Resulting Numbers: [32] 32,73 unequal: No Solution Exploring Operation: 61*29=1769, Resulting Numbers: [1769] 1769,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[111, 124], Operations: ['3*37=111', '66+58=124'] Exploring Operation: 124-111=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 111*124=13764, Resulting Numbers: [13764] 13764,73 unequal: No Solution Exploring Operation: 111+124=235, Resulting Numbers: [235] 235,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[34, 124], Operations: ['37-3=34', '66+58=124'] Exploring Operation: 34*124=4216, Resulting Numbers: [4216] 4216,73 unequal: No Solution Exploring Operation: 34+124=158, Resulting Numbers: [158] 158,73 unequal: No Solution Exploring Operation: 124-34=90, Resulting Numbers: [90] 90,73 unequal: No Solution Moving to Node #0,4,4 Current State: 73:[37, 127], Operations: ['3+58=61', '66+61=127'] Exploring Operation: 37+127=164, Resulting Numbers: [164] 164,73 unequal: No Solution Exploring Operation: 127-37=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 37*127=4699, Resulting Numbers: [4699] 4699,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[66, 169], Operations: ['3*37=111', '58+111=169'] Exploring Operation: 66+169=235, Resulting Numbers: [235] 235,73 unequal: No Solution Exploring Operation: 66*169=11154, Resulting Numbers: [11154] 11154,73 unequal: No Solution Exploring Operation: 169-66=103, Resulting Numbers: [103] 103,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[111, 8], Operations: ['3*37=111', '66-58=8'] Exploring Operation: 111-8=103, Resulting Numbers: [103] 103,73 unequal: No Solution Exploring Operation: 111+8=119, Resulting Numbers: [119] 119,73 unequal: No Solution Exploring Operation: 111*8=888, Resulting Numbers: [888] 888,73 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 9, 3, 77, 19 ]
47
[ "19-9=10", "3*10=30", "77-30=47" ]
Current State: 47:[9, 3, 77, 19], Operations: [] Exploring Operation: 19-9=10, Resulting Numbers: [3, 77, 10] Generated Node #2: [3, 77, 10] from Operation: 19-9=10 Current State: 47:[3, 77, 10], Operations: ['19-9=10'] Exploring Operation: 3*10=30, Resulting Numbers: [77, 30] Generated Node #3: [77, 30] from Operation: 3*10=30 Current State: 47:[77, 30], Operations: ['19-9=10', '3*10=30'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[9, 3, 77, 19], Operations: [] Exploring Operation: 9*3=27, Resulting Numbers: [77, 19, 27] Generated Node #0,0: 47:[77, 19, 27] Operation: 9*3=27 Exploring Operation: 3*19=57, Resulting Numbers: [9, 77, 57] Generated Node #0,1: 47:[9, 77, 57] Operation: 3*19=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[77, 19, 27], Operations: ['9*3=27'] Exploring Operation: 77-19=58, Resulting Numbers: [27, 58] Generated Node #0,0,0: 47:[27, 58] Operation: 77-19=58 Exploring Operation: 77-27=50, Resulting Numbers: [19, 50] Generated Node #0,0,1: 47:[19, 50] Operation: 77-27=50 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[27, 58], Operations: ['9*3=27', '77-19=58'] Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,47 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,47 unequal: No Solution No 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: 47:[19, 50], Operations: ['9*3=27', '77-27=50'] Exploring Operation: 19+50=69, Resulting Numbers: [69] 69,47 unequal: No Solution Exploring Operation: 50-19=31, Resulting Numbers: [31] 31,47 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: 47:[9, 77, 57], Operations: ['3*19=57'] Exploring Operation: 57-9=48, Resulting Numbers: [77, 48] Generated Node #0,1,0: 47:[77, 48] Operation: 57-9=48 Exploring Operation: 77-9=68, Resulting Numbers: [57, 68] Generated Node #0,1,1: 47:[57, 68] Operation: 77-9=68 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[77, 48], Operations: ['3*19=57', '57-9=48'] Exploring Operation: 77+48=125, Resulting Numbers: [125] 125,47 unequal: No Solution Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,47 unequal: No Solution No 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: 47:[57, 68], Operations: ['3*19=57', '77-9=68'] Exploring Operation: 57+68=125, Resulting Numbers: [125] 125,47 unequal: No Solution Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,47 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
[ 7, 48, 61, 40 ]
62
[ "48-7=41", "61-40=21", "41+21=62" ]
Current State: 62:[7, 48, 61, 40], Operations: [] Exploring Operation: 48-7=41, Resulting Numbers: [61, 40, 41] Generated Node #2: [61, 40, 41] from Operation: 48-7=41 Current State: 62:[61, 40, 41], Operations: ['48-7=41'] Exploring Operation: 61-40=21, Resulting Numbers: [41, 21] Generated Node #3: [41, 21] from Operation: 61-40=21 Current State: 62:[41, 21], Operations: ['48-7=41', '61-40=21'] Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[7, 48, 61, 40], Operations: [] Exploring Operation: 40-7=33, Resulting Numbers: [48, 61, 33] Generated Node #0,0: 62:[48, 61, 33] Operation: 40-7=33 Exploring Operation: 61-48=13, Resulting Numbers: [7, 40, 13] Generated Node #0,1: 62:[7, 40, 13] Operation: 61-48=13 Exploring Operation: 48-7=41, Resulting Numbers: [61, 40, 41] Generated Node #0,2: 62:[61, 40, 41] Operation: 48-7=41 Exploring Operation: 48-40=8, Resulting Numbers: [7, 61, 8] Generated Node #0,3: 62:[7, 61, 8] Operation: 48-40=8 Exploring Operation: 7+48=55, Resulting Numbers: [61, 40, 55] Generated Node #0,4: 62:[61, 40, 55] Operation: 7+48=55 Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[7, 61, 8], Operations: ['48-40=8'] Exploring Operation: 8-7=1, Resulting Numbers: [61, 1] Generated Node #0,3,0: 62:[61, 1] Operation: 8-7=1 Exploring Operation: 61+8=69, Resulting Numbers: [7, 69] Generated Node #0,3,1: 62:[7, 69] Operation: 61+8=69 Exploring Operation: 7+61=68, Resulting Numbers: [8, 68] Generated Node #0,3,2: 62:[8, 68] Operation: 7+61=68 Exploring Operation: 7*8=56, Resulting Numbers: [61, 56] Generated Node #0,3,3: 62:[61, 56] Operation: 7*8=56 Exploring Operation: 61-7=54, Resulting Numbers: [8, 54] Generated Node #0,3,4: 62:[8, 54] Operation: 61-7=54 Moving to Node #0,3,0 Current State: 62:[61, 1], Operations: ['48-40=8', '8-7=1'] Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[7, 48, 61, 40], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [7, 61, 8] Generated Node #0,3: 62:[7, 61, 8] Operation: 48-40=8 Moving to Node #0,3 Current State: 62:[7, 61, 8], Operations: ['48-40=8'] Exploring Operation: 8-7=1, Resulting Numbers: [61, 1] Generated Node #0,3,0: 62:[61, 1] Operation: 8-7=1 Moving to Node #0,3,0 Current State: 62:[61, 1], Operations: ['48-40=8', '8-7=1'] Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 24, 45, 38, 55 ]
86
[ "24+45=69", "55-38=17", "69+17=86" ]
Current State: 86:[24, 45, 38, 55], Operations: [] Exploring Operation: 24+45=69, Resulting Numbers: [38, 55, 69] Generated Node #2: [38, 55, 69] from Operation: 24+45=69 Current State: 86:[38, 55, 69], Operations: ['24+45=69'] Exploring Operation: 55-38=17, Resulting Numbers: [69, 17] Generated Node #3: [69, 17] from Operation: 55-38=17 Current State: 86:[69, 17], Operations: ['24+45=69', '55-38=17'] Exploring Operation: 69+17=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[24, 45, 38, 55], Operations: [] Exploring Operation: 24+55=79, Resulting Numbers: [45, 38, 79] Generated Node #0,0: 86:[45, 38, 79] Operation: 24+55=79 Exploring Operation: 55-24=31, Resulting Numbers: [45, 38, 31] Generated Node #0,1: 86:[45, 38, 31] Operation: 55-24=31 Exploring Operation: 38-24=14, Resulting Numbers: [45, 55, 14] Generated Node #0,2: 86:[45, 55, 14] Operation: 38-24=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[45, 38, 79], Operations: ['24+55=79'] Exploring Operation: 79-38=41, Resulting Numbers: [45, 41] Generated Node #0,0,0: 86:[45, 41] Operation: 79-38=41 Exploring Operation: 45+38=83, Resulting Numbers: [79, 83] Generated Node #0,0,1: 86:[79, 83] Operation: 45+38=83 Exploring Operation: 45-38=7, Resulting Numbers: [79, 7] Generated Node #0,0,2: 86:[79, 7] Operation: 45-38=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[45, 41], Operations: ['24+55=79', '79-38=41'] Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[24, 45, 38, 55], Operations: [] Exploring Operation: 24+55=79, Resulting Numbers: [45, 38, 79] Generated Node #0,0: 86:[45, 38, 79] Operation: 24+55=79 Moving to Node #0,0 Current State: 86:[45, 38, 79], Operations: ['24+55=79'] Exploring Operation: 79-38=41, Resulting Numbers: [45, 41] Generated Node #0,0,0: 86:[45, 41] Operation: 79-38=41 Moving to Node #0,0,0 Current State: 86:[45, 41], Operations: ['24+55=79', '79-38=41'] Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 71, 8, 24, 43 ]
81
[ "43-24=19", "8*19=152", "152-71=81" ]
Current State: 81:[71, 8, 24, 43], Operations: [] Exploring Operation: 43-24=19, Resulting Numbers: [71, 8, 19] Generated Node #2: [71, 8, 19] from Operation: 43-24=19 Current State: 81:[71, 8, 19], Operations: ['43-24=19'] Exploring Operation: 8*19=152, Resulting Numbers: [71, 152] Generated Node #3: [71, 152] from Operation: 8*19=152 Current State: 81:[71, 152], Operations: ['43-24=19', '8*19=152'] Exploring Operation: 152-71=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[71, 8, 24, 43], Operations: [] Exploring Operation: 43-24=19, Resulting Numbers: [71, 8, 19] Generated Node #0,0: 81:[71, 8, 19] Operation: 43-24=19 Exploring Operation: 71-43=28, Resulting Numbers: [8, 24, 28] Generated Node #0,1: 81:[8, 24, 28] Operation: 71-43=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[8, 24, 28], Operations: ['71-43=28'] Exploring Operation: 28-24=4, Resulting Numbers: [8, 4] Generated Node #0,1,0: 81:[8, 4] Operation: 28-24=4 Exploring Operation: 24/8=3, Resulting Numbers: [28, 3] Generated Node #0,1,1: 81:[28, 3] Operation: 24/8=3 Moving to Node #0,1,1 Current State: 81:[28, 3], Operations: ['71-43=28', '24/8=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,81 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[8, 4], Operations: ['71-43=28', '28-24=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,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 Current State: 81:[71, 8, 19], Operations: ['43-24=19'] Exploring Operation: 71+8=79, Resulting Numbers: [19, 79] Generated Node #0,0,0: 81:[19, 79] Operation: 71+8=79 Exploring Operation: 71+19=90, Resulting Numbers: [8, 90] Generated Node #0,0,1: 81:[8, 90] Operation: 71+19=90 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[19, 79], Operations: ['43-24=19', '71+8=79'] Exploring Operation: 79-19=60, Resulting Numbers: [60] 60,81 unequal: No Solution Exploring Operation: 19+79=98, Resulting Numbers: [98] 98,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[8, 90], Operations: ['43-24=19', '71+19=90'] Exploring Operation: 8+90=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 30, 11, 36, 61 ]
66
[ "30+11=41", "61-36=25", "41+25=66" ]
Current State: 66:[30, 11, 36, 61], Operations: [] Exploring Operation: 30+11=41, Resulting Numbers: [36, 61, 41] Generated Node #2: [36, 61, 41] from Operation: 30+11=41 Current State: 66:[36, 61, 41], Operations: ['30+11=41'] Exploring Operation: 61-36=25, Resulting Numbers: [41, 25] Generated Node #3: [41, 25] from Operation: 61-36=25 Current State: 66:[41, 25], Operations: ['30+11=41', '61-36=25'] Exploring Operation: 41+25=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[30, 11, 36, 61], Operations: [] Exploring Operation: 61-30=31, Resulting Numbers: [11, 36, 31] Generated Node #0,0: 66:[11, 36, 31] Operation: 61-30=31 Exploring Operation: 61-36=25, Resulting Numbers: [30, 11, 25] Generated Node #0,1: 66:[30, 11, 25] Operation: 61-36=25 Exploring Operation: 30-11=19, Resulting Numbers: [36, 61, 19] Generated Node #0,2: 66:[36, 61, 19] Operation: 30-11=19 Exploring Operation: 36-30=6, Resulting Numbers: [11, 61, 6] Generated Node #0,3: 66:[11, 61, 6] Operation: 36-30=6 Exploring Operation: 30+36=66, Resulting Numbers: [11, 61, 66] Generated Node #0,4: 66:[11, 61, 66] Operation: 30+36=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[11, 36, 31], Operations: ['61-30=31'] Exploring Operation: 31-11=20, Resulting Numbers: [36, 20] Generated Node #0,0,0: 66:[36, 20] Operation: 31-11=20 Exploring Operation: 36-31=5, Resulting Numbers: [11, 5] Generated Node #0,0,1: 66:[11, 5] Operation: 36-31=5 Exploring Operation: 36-11=25, Resulting Numbers: [31, 25] Generated Node #0,0,2: 66:[31, 25] Operation: 36-11=25 Exploring Operation: 36+31=67, Resulting Numbers: [11, 67] Generated Node #0,0,3: 66:[11, 67] Operation: 36+31=67 Exploring Operation: 11+31=42, Resulting Numbers: [36, 42] Generated Node #0,0,4: 66:[36, 42] Operation: 11+31=42 Moving to Node #0,0,1 Current State: 66:[11, 5], Operations: ['61-30=31', '36-31=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,66 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,66 unequal: No Solution Moving to Node #0,0,3 Current State: 66:[11, 67], Operations: ['61-30=31', '36+31=67'] Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 11+67=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 11*67=737, Resulting Numbers: [737] 737,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[36, 20], Operations: ['61-30=31', '31-11=20'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 36+20=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 36*20=720, Resulting Numbers: [720] 720,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[31, 25], Operations: ['61-30=31', '36-11=25'] Exploring Operation: 31+25=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 31*25=775, Resulting Numbers: [775] 775,66 unequal: No Solution Moving to Node #0,0,4 Current State: 66:[36, 42], Operations: ['61-30=31', '11+31=42'] Exploring Operation: 36+42=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 36*42=1512, Resulting Numbers: [1512] 1512,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[11, 61, 6], Operations: ['36-30=6'] Exploring Operation: 61+6=67, Resulting Numbers: [11, 67] Generated Node #0,3,0: 66:[11, 67] Operation: 61+6=67 Exploring Operation: 11+6=17, Resulting Numbers: [61, 17] Generated Node #0,3,1: 66:[61, 17] Operation: 11+6=17 Exploring Operation: 11+61=72, Resulting Numbers: [6, 72] Generated Node #0,3,2: 66:[6, 72] Operation: 11+61=72 Exploring Operation: 11-6=5, Resulting Numbers: [61, 5] Generated Node #0,3,3: 66:[61, 5] Operation: 11-6=5 Exploring Operation: 11*6=66, Resulting Numbers: [61, 66] Generated Node #0,3,4: 66:[61, 66] Operation: 11*6=66 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 66:[11, 67], Operations: ['36-30=6', '61+6=67'] Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,66 unequal: No Solution Exploring Operation: 11+67=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 11*67=737, Resulting Numbers: [737] 737,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,4 Current State: 66:[61, 66], Operations: ['36-30=6', '11*6=66'] Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 61*66=4026, Resulting Numbers: [4026] 4026,66 unequal: No Solution Exploring Operation: 61+66=127, Resulting Numbers: [127] 127,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:[6, 72], Operations: ['36-30=6', '11+61=72'] Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 6+72=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 6*72=432, Resulting Numbers: [432] 432,66 unequal: No Solution Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[30, 11, 36, 61], Operations: [] Exploring Operation: 36-30=6, Resulting Numbers: [11, 61, 6] Generated Node #0,3: 66:[11, 61, 6] Operation: 36-30=6 Moving to Node #0,3 Current State: 66:[11, 61, 6], Operations: ['36-30=6'] Exploring Operation: 11+61=72, Resulting Numbers: [6, 72] Generated Node #0,3,2: 66:[6, 72] Operation: 11+61=72 Moving to Node #0,3,2 Current State: 66:[6, 72], Operations: ['36-30=6', '11+61=72'] Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.961806
hs_5
sum_heuristic
[ 30, 31, 36, 83 ]
95
[ "31+83=114", "30*114=3420", "3420/36=95" ]
Current State: 95:[30, 31, 36, 83], Operations: [] Exploring Operation: 31+83=114, Resulting Numbers: [30, 36, 114] Generated Node #2: [30, 36, 114] from Operation: 31+83=114 Current State: 95:[30, 36, 114], Operations: ['31+83=114'] Exploring Operation: 30*114=3420, Resulting Numbers: [36, 3420] Generated Node #3: [36, 3420] from Operation: 30*114=3420 Current State: 95:[36, 3420], Operations: ['31+83=114', '30*114=3420'] Exploring Operation: 3420/36=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[30, 31, 36, 83], Operations: [] Exploring Operation: 36-30=6, Resulting Numbers: [31, 83, 6] Generated Node #0,0: 95:[31, 83, 6] Operation: 36-30=6 Exploring Operation: 36-31=5, Resulting Numbers: [30, 83, 5] Generated Node #0,1: 95:[30, 83, 5] Operation: 36-31=5 Moving to Node #0,1 Current State: 95:[30, 83, 5], Operations: ['36-31=5'] Exploring Operation: 30+83=113, Resulting Numbers: [5, 113] Generated Node #0,1,0: 95:[5, 113] Operation: 30+83=113 Exploring Operation: 30/5=6, Resulting Numbers: [83, 6] Generated Node #0,1,1: 95:[83, 6] Operation: 30/5=6 Moving to Node #0,0 Current State: 95:[31, 83, 6], Operations: ['36-30=6'] Exploring Operation: 31-6=25, Resulting Numbers: [83, 25] Generated Node #0,0,0: 95:[83, 25] Operation: 31-6=25 Exploring Operation: 83+6=89, Resulting Numbers: [31, 89] Generated Node #0,0,1: 95:[31, 89] Operation: 83+6=89 Moving to Node #0,1,1 Current State: 95:[83, 6], Operations: ['36-31=5', '30/5=6'] Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,95 unequal: No Solution Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[83, 25], Operations: ['36-30=6', '31-6=25'] Exploring Operation: 83+25=108, Resulting Numbers: [108] 108,95 unequal: No Solution Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[5, 113], Operations: ['36-31=5', '30+83=113'] Exploring Operation: 113-5=108, Resulting Numbers: [108] 108,95 unequal: No Solution Exploring Operation: 5+113=118, Resulting Numbers: [118] 118,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[31, 89], Operations: ['36-30=6', '83+6=89'] Exploring Operation: 31+89=120, Resulting Numbers: [120] 120,95 unequal: No Solution Exploring Operation: 89-31=58, Resulting Numbers: [58] 58,95 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 24, 9, 41, 55 ]
13
[ "41+55=96", "96/24=4", "9+4=13" ]
Current State: 13:[24, 9, 41, 55], Operations: [] Exploring Operation: 41+55=96, Resulting Numbers: [24, 9, 96] Generated Node #2: [24, 9, 96] from Operation: 41+55=96 Current State: 13:[24, 9, 96], Operations: ['41+55=96'] Exploring Operation: 96/24=4, Resulting Numbers: [9, 4] Generated Node #3: [9, 4] from Operation: 96/24=4 Current State: 13:[9, 4], Operations: ['41+55=96', '96/24=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[24, 9, 41, 55], Operations: [] Exploring Operation: 55-41=14, Resulting Numbers: [24, 9, 14] Generated Node #0,0: 13:[24, 9, 14] Operation: 55-41=14 Exploring Operation: 41-24=17, Resulting Numbers: [9, 55, 17] Generated Node #0,1: 13:[9, 55, 17] Operation: 41-24=17 Exploring Operation: 55-24=31, Resulting Numbers: [9, 41, 31] Generated Node #0,2: 13:[9, 41, 31] Operation: 55-24=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[24, 9, 14], Operations: ['55-41=14'] Exploring Operation: 24-9=15, Resulting Numbers: [14, 15] Generated Node #0,0,0: 13:[14, 15] Operation: 24-9=15 Exploring Operation: 14-9=5, Resulting Numbers: [24, 5] Generated Node #0,0,1: 13:[24, 5] Operation: 14-9=5 Exploring Operation: 24-14=10, Resulting Numbers: [9, 10] Generated Node #0,0,2: 13:[9, 10] Operation: 24-14=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[14, 15], Operations: ['55-41=14', '24-9=15'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,13 unequal: No Solution Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,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:[9, 10], Operations: ['55-41=14', '24-14=10'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,13 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,13 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[24, 5], Operations: ['55-41=14', '14-9=5'] Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,13 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,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:[9, 55, 17], Operations: ['41-24=17'] Exploring Operation: 17-9=8, Resulting Numbers: [55, 8] Generated Node #0,1,0: 13:[55, 8] Operation: 17-9=8 Exploring Operation: 55-9=46, Resulting Numbers: [17, 46] Generated Node #0,1,1: 13:[17, 46] Operation: 55-9=46 Exploring Operation: 55-17=38, Resulting Numbers: [9, 38] Generated Node #0,1,2: 13:[9, 38] Operation: 55-17=38 Moving to Node #0,1,2 Current State: 13:[9, 38], Operations: ['41-24=17', '55-17=38'] Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,13 unequal: No Solution Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[17, 46], Operations: ['41-24=17', '55-9=46'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 17*46=782, Resulting Numbers: [782] 782,13 unequal: No Solution Exploring Operation: 17+46=63, Resulting Numbers: [63] 63,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[55, 8], Operations: ['41-24=17', '17-9=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,13 unequal: No Solution Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,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,2 Current State: 13:[9, 41, 31], Operations: ['55-24=31'] Exploring Operation: 31-9=22, Resulting Numbers: [41, 22] Generated Node #0,2,0: 13:[41, 22] Operation: 31-9=22 Exploring Operation: 41-31=10, Resulting Numbers: [9, 10] Generated Node #0,2,1: 13:[9, 10] Operation: 41-31=10 Exploring Operation: 41-9=32, Resulting Numbers: [31, 32] Generated Node #0,2,2: 13:[31, 32] Operation: 41-9=32 Moving to Node #0,2,1 Current State: 13:[9, 10], Operations: ['55-24=31', '41-31=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,13 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,13 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[41, 22], Operations: ['55-24=31', '31-9=22'] Exploring Operation: 41*22=902, Resulting Numbers: [902] 902,13 unequal: No Solution Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,13 unequal: No Solution Exploring Operation: 41+22=63, Resulting Numbers: [63] 63,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[31, 32], Operations: ['55-24=31', '41-9=32'] Exploring Operation: 31*32=992, Resulting Numbers: [992] 992,13 unequal: No Solution Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 97, 60, 86, 39 ]
32
[ "97+60=157", "86+39=125", "157-125=32" ]
Current State: 32:[97, 60, 86, 39], Operations: [] Exploring Operation: 97+60=157, Resulting Numbers: [86, 39, 157] Generated Node #2: [86, 39, 157] from Operation: 97+60=157 Current State: 32:[86, 39, 157], Operations: ['97+60=157'] Exploring Operation: 86+39=125, Resulting Numbers: [157, 125] Generated Node #3: [157, 125] from Operation: 86+39=125 Current State: 32:[157, 125], Operations: ['97+60=157', '86+39=125'] Exploring Operation: 157-125=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[97, 60, 86, 39], Operations: [] Exploring Operation: 86-39=47, Resulting Numbers: [97, 60, 47] Generated Node #0,0: 32:[97, 60, 47] Operation: 86-39=47 Exploring Operation: 97-60=37, Resulting Numbers: [86, 39, 37] Generated Node #0,1: 32:[86, 39, 37] Operation: 97-60=37 Exploring Operation: 97-39=58, Resulting Numbers: [60, 86, 58] Generated Node #0,2: 32:[60, 86, 58] Operation: 97-39=58 Exploring Operation: 97-86=11, Resulting Numbers: [60, 39, 11] Generated Node #0,3: 32:[60, 39, 11] Operation: 97-86=11 Exploring Operation: 86-60=26, Resulting Numbers: [97, 39, 26] Generated Node #0,4: 32:[97, 39, 26] Operation: 86-60=26 Start Sub Search at level 1: Moving to Node #0,3 Current State: 32:[60, 39, 11], Operations: ['97-86=11'] Exploring Operation: 60+11=71, Resulting Numbers: [39, 71] Generated Node #0,3,0: 32:[39, 71] Operation: 60+11=71 Exploring Operation: 39+11=50, Resulting Numbers: [60, 50] Generated Node #0,3,1: 32:[60, 50] Operation: 39+11=50 Exploring Operation: 39-11=28, Resulting Numbers: [60, 28] Generated Node #0,3,2: 32:[60, 28] Operation: 39-11=28 Exploring Operation: 60-39=21, Resulting Numbers: [11, 21] Generated Node #0,3,3: 32:[11, 21] Operation: 60-39=21 Exploring Operation: 60-11=49, Resulting Numbers: [39, 49] Generated Node #0,3,4: 32:[39, 49] Operation: 60-11=49 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 32:[11, 21], Operations: ['97-86=11', '60-39=21'] Exploring Operation: 11*21=231, Resulting Numbers: [231] 231,32 unequal: No Solution Exploring Operation: 11+21=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[97, 60, 86, 39], Operations: [] Exploring Operation: 97-86=11, Resulting Numbers: [60, 39, 11] Generated Node #0,3: 32:[60, 39, 11] Operation: 97-86=11 Moving to Node #0,3 Current State: 32:[60, 39, 11], Operations: ['97-86=11'] Exploring Operation: 60-39=21, Resulting Numbers: [11, 21] Generated Node #0,3,3: 32:[11, 21] Operation: 60-39=21 Moving to Node #0,3,3 Current State: 32:[11, 21], Operations: ['97-86=11', '60-39=21'] Exploring Operation: 11+21=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 49, 1, 87, 41 ]
78
[ "49+1=50", "87+41=128", "128-50=78" ]
Current State: 78:[49, 1, 87, 41], Operations: [] Exploring Operation: 49+1=50, Resulting Numbers: [87, 41, 50] Generated Node #2: [87, 41, 50] from Operation: 49+1=50 Current State: 78:[87, 41, 50], Operations: ['49+1=50'] Exploring Operation: 87+41=128, Resulting Numbers: [50, 128] Generated Node #3: [50, 128] from Operation: 87+41=128 Current State: 78:[50, 128], Operations: ['49+1=50', '87+41=128'] Exploring Operation: 128-50=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[49, 1, 87, 41], Operations: [] Exploring Operation: 87-49=38, Resulting Numbers: [1, 41, 38] Generated Node #0,0: 78:[1, 41, 38] Operation: 87-49=38 Exploring Operation: 49-1=48, Resulting Numbers: [87, 41, 48] Generated Node #0,1: 78:[87, 41, 48] Operation: 49-1=48 Exploring Operation: 49-41=8, Resulting Numbers: [1, 87, 8] Generated Node #0,2: 78:[1, 87, 8] Operation: 49-41=8 Exploring Operation: 87-41=46, Resulting Numbers: [49, 1, 46] Generated Node #0,3: 78:[49, 1, 46] Operation: 87-41=46 Moving to Node #0,0 Current State: 78:[1, 41, 38], Operations: ['87-49=38'] Exploring Operation: 41+38=79, Resulting Numbers: [1, 79] Generated Node #0,0,0: 78:[1, 79] Operation: 41+38=79 Exploring Operation: 41-38=3, Resulting Numbers: [1, 3] Generated Node #0,0,1: 78:[1, 3] Operation: 41-38=3 Exploring Operation: 1+38=39, Resulting Numbers: [41, 39] Generated Node #0,0,2: 78:[41, 39] Operation: 1+38=39 Exploring Operation: 41-1=40, Resulting Numbers: [38, 40] Generated Node #0,0,3: 78:[38, 40] Operation: 41-1=40 Moving to Node #0,2 Current State: 78:[1, 87, 8], Operations: ['49-41=8'] Exploring Operation: 87-1=86, Resulting Numbers: [8, 86] Generated Node #0,2,0: 78:[8, 86] Operation: 87-1=86 Exploring Operation: 87-8=79, Resulting Numbers: [1, 79] Generated Node #0,2,1: 78:[1, 79] Operation: 87-8=79 Exploring Operation: 1*87=87, Resulting Numbers: [8, 87] Generated Node #0,2,2: 78:[8, 87] Operation: 1*87=87 Exploring Operation: 8-1=7, Resulting Numbers: [87, 7] Generated Node #0,2,3: 78:[87, 7] Operation: 8-1=7 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[1, 79], Operations: ['49-41=8', '87-8=79'] Exploring Operation: 1+79=80, Resulting Numbers: [80] 80,78 unequal: No Solution Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[49, 1, 87, 41], Operations: [] Exploring Operation: 49-41=8, Resulting Numbers: [1, 87, 8] Generated Node #0,2: 78:[1, 87, 8] Operation: 49-41=8 Moving to Node #0,2 Current State: 78:[1, 87, 8], Operations: ['49-41=8'] Exploring Operation: 87-8=79, Resulting Numbers: [1, 79] Generated Node #0,2,1: 78:[1, 79] Operation: 87-8=79 Moving to Node #0,2,1 Current State: 78:[1, 79], Operations: ['49-41=8', '87-8=79'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 97, 58, 20, 76 ]
95
[ "97-58=39", "76-20=56", "39+56=95" ]
Current State: 95:[97, 58, 20, 76], Operations: [] Exploring Operation: 97-58=39, Resulting Numbers: [20, 76, 39] Generated Node #2: [20, 76, 39] from Operation: 97-58=39 Current State: 95:[20, 76, 39], Operations: ['97-58=39'] Exploring Operation: 76-20=56, Resulting Numbers: [39, 56] Generated Node #3: [39, 56] from Operation: 76-20=56 Current State: 95:[39, 56], Operations: ['97-58=39', '76-20=56'] Exploring Operation: 39+56=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[97, 58, 20, 76], Operations: [] Exploring Operation: 76-58=18, Resulting Numbers: [97, 20, 18] Generated Node #0,0: 95:[97, 20, 18] Operation: 76-58=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[97, 20, 18], Operations: ['76-58=18'] Exploring Operation: 20-18=2, Resulting Numbers: [97, 2] Generated Node #0,0,0: 95:[97, 2] Operation: 20-18=2 Moving to Node #0,0,0 Current State: 95:[97, 2], Operations: ['76-58=18', '20-18=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[97, 58, 20, 76], Operations: [] Exploring Operation: 76-58=18, Resulting Numbers: [97, 20, 18] Generated Node #0,0: 95:[97, 20, 18] Operation: 76-58=18 Moving to Node #0,0 Current State: 95:[97, 20, 18], Operations: ['76-58=18'] Exploring Operation: 20-18=2, Resulting Numbers: [97, 2] Generated Node #0,0,0: 95:[97, 2] Operation: 20-18=2 Moving to Node #0,0,0 Current State: 95:[97, 2], Operations: ['76-58=18', '20-18=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 70, 6, 81, 6 ]
23
[ "70-6=64", "81+6=87", "87-64=23" ]
Current State: 23:[70, 6, 81, 6], Operations: [] Exploring Operation: 70-6=64, Resulting Numbers: [81, 64] Generated Node #2: [81, 64] from Operation: 70-6=64 Current State: 23:[81, 64], Operations: ['70-6=64'] Exploring Operation: 81+6=87, Resulting Numbers: [64, 87] Generated Node #3: [64, 87] from Operation: 81+6=87 Current State: 23:[64, 87], Operations: ['70-6=64', '81+6=87'] Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[70, 6, 81, 6], Operations: [] Exploring Operation: 70-6=64, Resulting Numbers: [81, 6, 64] Generated Node #0,0: 23:[81, 6, 64] Operation: 70-6=64 Exploring Operation: 81-70=11, Resulting Numbers: [6, 6, 11] Generated Node #0,1: 23:[6, 6, 11] Operation: 81-70=11 Exploring Operation: 70-6=64, Resulting Numbers: [6, 81, 64] Generated Node #0,2: 23:[6, 81, 64] Operation: 70-6=64 Moving to Node #0,1 Current State: 23:[6, 6, 11], Operations: ['81-70=11'] Exploring Operation: 6+11=17, Resulting Numbers: [6, 17] Generated Node #0,1,0: 23:[6, 17] Operation: 6+11=17 Exploring Operation: 6+11=17, Resulting Numbers: [6, 17] Generated Node #0,1,1: 23:[6, 17] Operation: 6+11=17 Exploring Operation: 6+6=12, Resulting Numbers: [11, 12] Generated Node #0,1,2: 23:[11, 12] Operation: 6+6=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[6, 17], Operations: ['81-70=11', '6+11=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[70, 6, 81, 6], Operations: [] Exploring Operation: 81-70=11, Resulting Numbers: [6, 6, 11] Generated Node #0,1: 23:[6, 6, 11] Operation: 81-70=11 Moving to Node #0,1 Current State: 23:[6, 6, 11], Operations: ['81-70=11'] Exploring Operation: 6+11=17, Resulting Numbers: [6, 17] Generated Node #0,1,0: 23:[6, 17] Operation: 6+11=17 Moving to Node #0,1,0 Current State: 23:[6, 17], Operations: ['81-70=11', '6+11=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 34, 59, 27, 13 ]
26
[ "59-34=25", "27-25=2", "13*2=26" ]
Current State: 26:[34, 59, 27, 13], Operations: [] Exploring Operation: 59-34=25, Resulting Numbers: [27, 13, 25] Generated Node #2: [27, 13, 25] from Operation: 59-34=25 Current State: 26:[27, 13, 25], Operations: ['59-34=25'] Exploring Operation: 27-25=2, Resulting Numbers: [13, 2] Generated Node #3: [13, 2] from Operation: 27-25=2 Current State: 26:[13, 2], Operations: ['59-34=25', '27-25=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[34, 59, 27, 13], Operations: [] Exploring Operation: 59-27=32, Resulting Numbers: [34, 13, 32] Generated Node #0,0: 26:[34, 13, 32] Operation: 59-27=32 Exploring Operation: 59-13=46, Resulting Numbers: [34, 27, 46] Generated Node #0,1: 26:[34, 27, 46] Operation: 59-13=46 Exploring Operation: 59-34=25, Resulting Numbers: [27, 13, 25] Generated Node #0,2: 26:[27, 13, 25] Operation: 59-34=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[27, 13, 25], Operations: ['59-34=25'] Exploring Operation: 25-13=12, Resulting Numbers: [27, 12] Generated Node #0,2,0: 26:[27, 12] Operation: 25-13=12 Exploring Operation: 27-25=2, Resulting Numbers: [13, 2] Generated Node #0,2,1: 26:[13, 2] Operation: 27-25=2 Exploring Operation: 27-13=14, Resulting Numbers: [25, 14] Generated Node #0,2,2: 26:[25, 14] Operation: 27-13=14 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 26:[13, 2], Operations: ['59-34=25', '27-25=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[34, 59, 27, 13], Operations: [] Exploring Operation: 59-34=25, Resulting Numbers: [27, 13, 25] Generated Node #0,2: 26:[27, 13, 25] Operation: 59-34=25 Moving to Node #0,2 Current State: 26:[27, 13, 25], Operations: ['59-34=25'] Exploring Operation: 27-25=2, Resulting Numbers: [13, 2] Generated Node #0,2,1: 26:[13, 2] Operation: 27-25=2 Moving to Node #0,2,1 Current State: 26:[13, 2], Operations: ['59-34=25', '27-25=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 89, 65, 78, 19 ]
84
[ "89-19=70", "78*70=5460", "5460/65=84" ]
Current State: 84:[89, 65, 78, 19], Operations: [] Exploring Operation: 89-19=70, Resulting Numbers: [65, 78, 70] Generated Node #2: [65, 78, 70] from Operation: 89-19=70 Current State: 84:[65, 78, 70], Operations: ['89-19=70'] Exploring Operation: 78*70=5460, Resulting Numbers: [65, 5460] Generated Node #3: [65, 5460] from Operation: 78*70=5460 Current State: 84:[65, 5460], Operations: ['89-19=70', '78*70=5460'] Exploring Operation: 5460/65=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[89, 65, 78, 19], Operations: [] Exploring Operation: 78-65=13, Resulting Numbers: [89, 19, 13] Generated Node #0,0: 84:[89, 19, 13] Operation: 78-65=13 Moving to Node #0,0 Current State: 84:[89, 19, 13], Operations: ['78-65=13'] Exploring Operation: 19-13=6, Resulting Numbers: [89, 6] Generated Node #0,0,0: 84:[89, 6] Operation: 19-13=6 Moving to Node #0,0,0 Current State: 84:[89, 6], Operations: ['78-65=13', '19-13=6'] Exploring Operation: 89-6=83, Resulting Numbers: [83] 83,84 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 57, 52, 57, 82 ]
52
[ "57-57=0", "82*0=0", "52+0=52" ]
Current State: 52:[57, 52, 57, 82], Operations: [] Exploring Operation: 57-57=0, Resulting Numbers: [52, 82, 0] Generated Node #2: [52, 82, 0] from Operation: 57-57=0 Current State: 52:[52, 82, 0], Operations: ['57-57=0'] Exploring Operation: 82*0=0, Resulting Numbers: [52, 0] Generated Node #3: [52, 0] from Operation: 82*0=0 Current State: 52:[52, 0], Operations: ['57-57=0', '82*0=0'] Exploring Operation: 52+0=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[57, 52, 57, 82], Operations: [] Exploring Operation: 82-57=25, Resulting Numbers: [57, 52, 25] Generated Node #0,0: 52:[57, 52, 25] Operation: 82-57=25 Exploring Operation: 82-57=25, Resulting Numbers: [52, 57, 25] Generated Node #0,1: 52:[52, 57, 25] Operation: 82-57=25 Moving to Node #0,0 Current State: 52:[57, 52, 25], Operations: ['82-57=25'] Exploring Operation: 57-25=32, Resulting Numbers: [52, 32] Generated Node #0,0,0: 52:[52, 32] Operation: 57-25=32 Exploring Operation: 57-52=5, Resulting Numbers: [25, 5] Generated Node #0,0,1: 52:[25, 5] Operation: 57-52=5 Moving to Node #0,1 Current State: 52:[52, 57, 25], Operations: ['82-57=25'] Exploring Operation: 52-25=27, Resulting Numbers: [57, 27] Generated Node #0,1,0: 52:[57, 27] Operation: 52-25=27 Exploring Operation: 57-52=5, Resulting Numbers: [25, 5] Generated Node #0,1,1: 52:[25, 5] Operation: 57-52=5 Moving to Node #0,0,1 Current State: 52:[25, 5], Operations: ['82-57=25', '57-52=5'] Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,52 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[25, 5], Operations: ['82-57=25', '57-52=5'] Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,52 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[52, 32], Operations: ['82-57=25', '57-25=32'] Exploring Operation: 52+32=84, Resulting Numbers: [84] 84,52 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[57, 27], Operations: ['82-57=25', '52-25=27'] Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,52 unequal: No Solution Exploring Operation: 57+27=84, Resulting Numbers: [84] 84,52 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 84, 7, 92, 76 ]
12
[ "92-84=8", "76+8=84", "84/7=12" ]
Current State: 12:[84, 7, 92, 76], Operations: [] Exploring Operation: 92-84=8, Resulting Numbers: [7, 76, 8] Generated Node #2: [7, 76, 8] from Operation: 92-84=8 Current State: 12:[7, 76, 8], Operations: ['92-84=8'] Exploring Operation: 76+8=84, Resulting Numbers: [7, 84] Generated Node #3: [7, 84] from Operation: 76+8=84 Current State: 12:[7, 84], Operations: ['92-84=8', '76+8=84'] Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[84, 7, 92, 76], Operations: [] Exploring Operation: 84-7=77, Resulting Numbers: [92, 76, 77] Generated Node #0,0: 12:[92, 76, 77] Operation: 84-7=77 Exploring Operation: 92-76=16, Resulting Numbers: [84, 7, 16] Generated Node #0,1: 12:[84, 7, 16] Operation: 92-76=16 Exploring Operation: 92-84=8, Resulting Numbers: [7, 76, 8] Generated Node #0,2: 12:[7, 76, 8] Operation: 92-84=8 Exploring Operation: 84-76=8, Resulting Numbers: [7, 92, 8] Generated Node #0,3: 12:[7, 92, 8] Operation: 84-76=8 Exploring Operation: 84/7=12, Resulting Numbers: [92, 76, 12] Generated Node #0,4: 12:[92, 76, 12] Operation: 84/7=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[7, 76, 8], Operations: ['92-84=8'] Exploring Operation: 76-8=68, Resulting Numbers: [7, 68] Generated Node #0,2,0: 12:[7, 68] Operation: 76-8=68 Exploring Operation: 8-7=1, Resulting Numbers: [76, 1] Generated Node #0,2,1: 12:[76, 1] Operation: 8-7=1 Exploring Operation: 7+8=15, Resulting Numbers: [76, 15] Generated Node #0,2,2: 12:[76, 15] Operation: 7+8=15 Exploring Operation: 7+76=83, Resulting Numbers: [8, 83] Generated Node #0,2,3: 12:[8, 83] Operation: 7+76=83 Exploring Operation: 76-7=69, Resulting Numbers: [8, 69] Generated Node #0,2,4: 12:[8, 69] Operation: 76-7=69 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[7, 68], Operations: ['92-84=8', '76-8=68'] Exploring Operation: 7+68=75, Resulting Numbers: [75] 75,12 unequal: No Solution Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,12 unequal: No Solution Exploring Operation: 7*68=476, Resulting Numbers: [476] 476,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 12:[8, 69], Operations: ['92-84=8', '76-7=69'] Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,12 unequal: No Solution Exploring Operation: 8*69=552, Resulting Numbers: [552] 552,12 unequal: No Solution Exploring Operation: 8+69=77, Resulting Numbers: [77] 77,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 12:[76, 1], Operations: ['92-84=8', '8-7=1'] Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,12 unequal: No Solution Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,12 unequal: No Solution Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,12 unequal: No Solution Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[76, 15], Operations: ['92-84=8', '7+8=15'] Exploring Operation: 76*15=1140, Resulting Numbers: [1140] 1140,12 unequal: No Solution Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,12 unequal: No Solution Exploring Operation: 76+15=91, Resulting Numbers: [91] 91,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 12:[8, 83], Operations: ['92-84=8', '7+76=83'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,12 unequal: No Solution Exploring Operation: 8*83=664, Resulting Numbers: [664] 664,12 unequal: No Solution Exploring Operation: 8+83=91, Resulting Numbers: [91] 91,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[84, 7, 16], Operations: ['92-76=16'] Exploring Operation: 84-7=77, Resulting Numbers: [16, 77] Generated Node #0,1,0: 12:[16, 77] Operation: 84-7=77 Exploring Operation: 84/7=12, Resulting Numbers: [16, 12] Generated Node #0,1,1: 12:[16, 12] Operation: 84/7=12 Exploring Operation: 16-7=9, Resulting Numbers: [84, 9] Generated Node #0,1,2: 12:[84, 9] Operation: 16-7=9 Exploring Operation: 84+7=91, Resulting Numbers: [16, 91] Generated Node #0,1,3: 12:[16, 91] Operation: 84+7=91 Exploring Operation: 84-16=68, Resulting Numbers: [7, 68] Generated Node #0,1,4: 12:[7, 68] Operation: 84-16=68 Moving to Node #0,1,1 Current State: 12:[16, 12], Operations: ['92-76=16', '84/7=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,12 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,12 unequal: No Solution Moving to Node #0,1,4 Current State: 12:[7, 68], Operations: ['92-76=16', '84-16=68'] Exploring Operation: 7+68=75, Resulting Numbers: [75] 75,12 unequal: No Solution Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,12 unequal: No Solution Exploring Operation: 7*68=476, Resulting Numbers: [476] 476,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[16, 77], Operations: ['92-76=16', '84-7=77'] Exploring Operation: 16+77=93, Resulting Numbers: [93] 93,12 unequal: No Solution Exploring Operation: 77-16=61, Resulting Numbers: [61] 61,12 unequal: No Solution Exploring Operation: 16*77=1232, Resulting Numbers: [1232] 1232,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[84, 9], Operations: ['92-76=16', '16-7=9'] Exploring Operation: 84+9=93, Resulting Numbers: [93] 93,12 unequal: No Solution Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,12 unequal: No Solution Exploring Operation: 84*9=756, Resulting Numbers: [756] 756,12 unequal: No Solution Moving to Node #0,1,3 Current State: 12:[16, 91], Operations: ['92-76=16', '84+7=91'] Exploring Operation: 16+91=107, Resulting Numbers: [107] 107,12 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,12 unequal: No Solution Exploring Operation: 16*91=1456, Resulting Numbers: [1456] 1456,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 Current State: 12:[7, 92, 8], Operations: ['84-76=8'] Exploring Operation: 8-7=1, Resulting Numbers: [92, 1] Generated Node #0,3,0: 12:[92, 1] Operation: 8-7=1 Exploring Operation: 92-8=84, Resulting Numbers: [7, 84] Generated Node #0,3,1: 12:[7, 84] Operation: 92-8=84 Exploring Operation: 7+92=99, Resulting Numbers: [8, 99] Generated Node #0,3,2: 12:[8, 99] Operation: 7+92=99 Exploring Operation: 92-7=85, Resulting Numbers: [8, 85] Generated Node #0,3,3: 12:[8, 85] Operation: 92-7=85 Exploring Operation: 7+8=15, Resulting Numbers: [92, 15] Generated Node #0,3,4: 12:[92, 15] Operation: 7+8=15 Moving to Node #0,3,1 Current State: 12:[7, 84], Operations: ['84-76=8', '92-8=84'] Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,12 unequal: No Solution Exploring Operation: 7+84=91, Resulting Numbers: [91] 91,12 unequal: No Solution Exploring Operation: 7*84=588, Resulting Numbers: [588] 588,12 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[84, 7, 92, 76], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [7, 92, 8] Generated Node #0,3: 12:[7, 92, 8] Operation: 84-76=8 Moving to Node #0,3 Current State: 12:[7, 92, 8], Operations: ['84-76=8'] Exploring Operation: 92-8=84, Resulting Numbers: [7, 84] Generated Node #0,3,1: 12:[7, 84] Operation: 92-8=84 Moving to Node #0,3,1 Current State: 12:[7, 84], Operations: ['84-76=8', '92-8=84'] Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.948785
hs_5
sum_heuristic
[ 48, 33, 32, 6 ]
37
[ "48/6=8", "32/8=4", "33+4=37" ]
Current State: 37:[48, 33, 32, 6], Operations: [] Exploring Operation: 48/6=8, Resulting Numbers: [33, 32, 8] Generated Node #2: [33, 32, 8] from Operation: 48/6=8 Current State: 37:[33, 32, 8], Operations: ['48/6=8'] Exploring Operation: 32/8=4, Resulting Numbers: [33, 4] Generated Node #3: [33, 4] from Operation: 32/8=4 Current State: 37:[33, 4], Operations: ['48/6=8', '32/8=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[48, 33, 32, 6], Operations: [] Exploring Operation: 48-6=42, Resulting Numbers: [33, 32, 42] Generated Node #0,0: 37:[33, 32, 42] Operation: 48-6=42 Exploring Operation: 33+6=39, Resulting Numbers: [48, 32, 39] Generated Node #0,1: 37:[48, 32, 39] Operation: 33+6=39 Exploring Operation: 48+6=54, Resulting Numbers: [33, 32, 54] Generated Node #0,2: 37:[33, 32, 54] Operation: 48+6=54 Exploring Operation: 32+6=38, Resulting Numbers: [48, 33, 38] Generated Node #0,3: 37:[48, 33, 38] Operation: 32+6=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[33, 32, 42], Operations: ['48-6=42'] Exploring Operation: 33+32=65, Resulting Numbers: [42, 65] Generated Node #0,0,0: 37:[42, 65] Operation: 33+32=65 Exploring Operation: 33-32=1, Resulting Numbers: [42, 1] Generated Node #0,0,1: 37:[42, 1] Operation: 33-32=1 Exploring Operation: 42-33=9, Resulting Numbers: [32, 9] Generated Node #0,0,2: 37:[32, 9] Operation: 42-33=9 Exploring Operation: 42-32=10, Resulting Numbers: [33, 10] Generated Node #0,0,3: 37:[33, 10] Operation: 42-32=10 Moving to Node #0,0,3 Current State: 37:[33, 10], Operations: ['48-6=42', '42-32=10'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[32, 9], Operations: ['48-6=42', '42-33=9'] Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,37 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[42, 65], Operations: ['48-6=42', '33+32=65'] Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 42*65=2730, Resulting Numbers: [2730] 2730,37 unequal: No Solution Exploring Operation: 42+65=107, Resulting Numbers: [107] 107,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[42, 1], Operations: ['48-6=42', '33-32=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,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,3 Current State: 37:[48, 33, 38], Operations: ['32+6=38'] Exploring Operation: 48-33=15, Resulting Numbers: [38, 15] Generated Node #0,3,0: 37:[38, 15] Operation: 48-33=15 Exploring Operation: 38-33=5, Resulting Numbers: [48, 5] Generated Node #0,3,1: 37:[48, 5] Operation: 38-33=5 Exploring Operation: 48+33=81, Resulting Numbers: [38, 81] Generated Node #0,3,2: 37:[38, 81] Operation: 48+33=81 Exploring Operation: 48-38=10, Resulting Numbers: [33, 10] Generated Node #0,3,3: 37:[33, 10] Operation: 48-38=10 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 37:[38, 15], Operations: ['32+6=38', '48-33=15'] Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,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,3,3 Current State: 37:[33, 10], Operations: ['32+6=38', '48-38=10'] Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,37 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,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,3,1 Current State: 37:[48, 5], Operations: ['32+6=38', '38-33=5'] Exploring Operation: 48*5=240, Resulting Numbers: [240] 240,37 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,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,3,2 Current State: 37:[38, 81], Operations: ['32+6=38', '48+33=81'] Exploring Operation: 81-38=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 38*81=3078, Resulting Numbers: [3078] 3078,37 unequal: No Solution Exploring Operation: 38+81=119, Resulting Numbers: [119] 119,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[48, 32, 39], Operations: ['33+6=39'] Exploring Operation: 39-32=7, Resulting Numbers: [48, 7] Generated Node #0,1,0: 37:[48, 7] Operation: 39-32=7 Exploring Operation: 48+32=80, Resulting Numbers: [39, 80] Generated Node #0,1,1: 37:[39, 80] Operation: 48+32=80 Exploring Operation: 48-32=16, Resulting Numbers: [39, 16] Generated Node #0,1,2: 37:[39, 16] Operation: 48-32=16 Exploring Operation: 48-39=9, Resulting Numbers: [32, 9] Generated Node #0,1,3: 37:[32, 9] Operation: 48-39=9 Moving to Node #0,1,2 Current State: 37:[39, 16], Operations: ['33+6=39', '48-32=16'] Exploring Operation: 39*16=624, Resulting Numbers: [624] 624,37 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[32, 9], Operations: ['33+6=39', '48-39=9'] Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,37 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[48, 7], Operations: ['33+6=39', '39-32=7'] Exploring Operation: 48*7=336, Resulting Numbers: [336] 336,37 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[39, 80], Operations: ['33+6=39', '48+32=80'] Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 39*80=3120, Resulting Numbers: [3120] 3120,37 unequal: No Solution Exploring Operation: 39+80=119, Resulting Numbers: [119] 119,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,2 Current State: 37:[33, 32, 54], Operations: ['48+6=54'] Exploring Operation: 54-33=21, Resulting Numbers: [32, 21] Generated Node #0,2,0: 37:[32, 21] Operation: 54-33=21 Exploring Operation: 33-32=1, Resulting Numbers: [54, 1] Generated Node #0,2,1: 37:[54, 1] Operation: 33-32=1 Exploring Operation: 54-32=22, Resulting Numbers: [33, 22] Generated Node #0,2,2: 37:[33, 22] Operation: 54-32=22 Exploring Operation: 33+32=65, Resulting Numbers: [54, 65] Generated Node #0,2,3: 37:[54, 65] Operation: 33+32=65 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[33, 22], Operations: ['48+6=54', '54-32=22'] Exploring Operation: 33*22=726, Resulting Numbers: [726] 726,37 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 33+22=55, Resulting Numbers: [55] 55,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:[32, 21], Operations: ['48+6=54', '54-33=21'] Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,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,3 Current State: 37:[54, 65], Operations: ['48+6=54', '33+32=65'] Exploring Operation: 54+65=119, Resulting Numbers: [119] 119,37 unequal: No Solution Exploring Operation: 54*65=3510, Resulting Numbers: [3510] 3510,37 unequal: No Solution Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,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,1 Current State: 37:[54, 1], Operations: ['48+6=54', '33-32=1'] Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,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_4
mult_heuristic
[ 92, 5, 30, 5 ]
95
[ "5+5=10", "30/10=3", "92+3=95" ]
Current State: 95:[92, 5, 30, 5], Operations: [] Exploring Operation: 5+5=10, Resulting Numbers: [92, 30, 10] Generated Node #2: [92, 30, 10] from Operation: 5+5=10 Current State: 95:[92, 30, 10], Operations: ['5+5=10'] Exploring Operation: 30/10=3, Resulting Numbers: [92, 3] Generated Node #3: [92, 3] from Operation: 30/10=3 Current State: 95:[92, 3], Operations: ['5+5=10', '30/10=3'] Exploring Operation: 92+3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[92, 5, 30, 5], Operations: [] Exploring Operation: 30-5=25, Resulting Numbers: [92, 5, 25] Generated Node #0,0: 95:[92, 5, 25] Operation: 30-5=25 Exploring Operation: 30/5=6, Resulting Numbers: [92, 5, 6] Generated Node #0,1: 95:[92, 5, 6] Operation: 30/5=6 Exploring Operation: 92+5=97, Resulting Numbers: [30, 5, 97] Generated Node #0,2: 95:[30, 5, 97] Operation: 92+5=97 Exploring Operation: 30-5=25, Resulting Numbers: [92, 5, 25] Generated Node #0,3: 95:[92, 5, 25] Operation: 30-5=25 Exploring Operation: 30/5=6, Resulting Numbers: [92, 5, 6] Generated Node #0,4: 95:[92, 5, 6] Operation: 30/5=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[92, 5, 6], Operations: ['30/5=6'] Exploring Operation: 92+6=98, Resulting Numbers: [5, 98] Generated Node #0,1,0: 95:[5, 98] Operation: 92+6=98 Exploring Operation: 6-5=1, Resulting Numbers: [92, 1] Generated Node #0,1,1: 95:[92, 1] Operation: 6-5=1 Exploring Operation: 92-5=87, Resulting Numbers: [6, 87] Generated Node #0,1,2: 95:[6, 87] Operation: 92-5=87 Exploring Operation: 92-6=86, Resulting Numbers: [5, 86] Generated Node #0,1,3: 95:[5, 86] Operation: 92-6=86 Exploring Operation: 92+5=97, Resulting Numbers: [6, 97] Generated Node #0,1,4: 95:[6, 97] Operation: 92+5=97 Moving to Node #0,1,0 Current State: 95:[5, 98], Operations: ['30/5=6', '92+6=98'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,95 unequal: No Solution Exploring Operation: 5+98=103, Resulting Numbers: [103] 103,95 unequal: No Solution Exploring Operation: 5*98=490, Resulting Numbers: [490] 490,95 unequal: No Solution Moving to Node #0,1,4 Current State: 95:[6, 97], Operations: ['30/5=6', '92+5=97'] Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,95 unequal: No Solution Exploring Operation: 6+97=103, Resulting Numbers: [103] 103,95 unequal: No Solution Exploring Operation: 6*97=582, Resulting Numbers: [582] 582,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[92, 1], Operations: ['30/5=6', '6-5=1'] Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,95 unequal: No Solution Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,95 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,95 unequal: No Solution Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[6, 87], Operations: ['30/5=6', '92-5=87'] Exploring Operation: 6+87=93, Resulting Numbers: [93] 93,95 unequal: No Solution Exploring Operation: 6*87=522, Resulting Numbers: [522] 522,95 unequal: No Solution Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[5, 86], Operations: ['30/5=6', '92-6=86'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,95 unequal: No Solution Exploring Operation: 5*86=430, Resulting Numbers: [430] 430,95 unequal: No Solution Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,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,4 Current State: 95:[92, 5, 6], Operations: ['30/5=6'] Exploring Operation: 6-5=1, Resulting Numbers: [92, 1] Generated Node #0,4,0: 95:[92, 1] Operation: 6-5=1 Exploring Operation: 92+5=97, Resulting Numbers: [6, 97] Generated Node #0,4,1: 95:[6, 97] Operation: 92+5=97 Exploring Operation: 92+6=98, Resulting Numbers: [5, 98] Generated Node #0,4,2: 95:[5, 98] Operation: 92+6=98 Exploring Operation: 92-5=87, Resulting Numbers: [6, 87] Generated Node #0,4,3: 95:[6, 87] Operation: 92-5=87 Exploring Operation: 92-6=86, Resulting Numbers: [5, 86] Generated Node #0,4,4: 95:[5, 86] Operation: 92-6=86 Moving to Node #0,4,1 Current State: 95:[6, 97], Operations: ['30/5=6', '92+5=97'] Exploring Operation: 6*97=582, Resulting Numbers: [582] 582,95 unequal: No Solution Exploring Operation: 6+97=103, Resulting Numbers: [103] 103,95 unequal: No Solution Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,95 unequal: No Solution Moving to Node #0,4,2 Current State: 95:[5, 98], Operations: ['30/5=6', '92+6=98'] Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,95 unequal: No Solution Exploring Operation: 5*98=490, Resulting Numbers: [490] 490,95 unequal: No Solution Exploring Operation: 5+98=103, Resulting Numbers: [103] 103,95 unequal: No Solution Moving to Node #0,4,0 Current State: 95:[92, 1], Operations: ['30/5=6', '6-5=1'] Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,95 unequal: No Solution Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,95 unequal: No Solution Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,95 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,95 unequal: No Solution Moving to Node #0,4,3 Current State: 95:[6, 87], Operations: ['30/5=6', '92-5=87'] Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,95 unequal: No Solution Exploring Operation: 6*87=522, Resulting Numbers: [522] 522,95 unequal: No Solution Exploring Operation: 6+87=93, Resulting Numbers: [93] 93,95 unequal: No Solution Moving to Node #0,4,4 Current State: 95:[5, 86], Operations: ['30/5=6', '92-6=86'] Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,95 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,95 unequal: No Solution Exploring Operation: 5*86=430, Resulting Numbers: [430] 430,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[92, 5, 25], Operations: ['30-5=25'] Exploring Operation: 5+25=30, Resulting Numbers: [92, 30] Generated Node #0,0,0: 95:[92, 30] Operation: 5+25=30 Exploring Operation: 25-5=20, Resulting Numbers: [92, 20] Generated Node #0,0,1: 95:[92, 20] Operation: 25-5=20 Exploring Operation: 25/5=5, Resulting Numbers: [92, 5] Generated Node #0,0,2: 95:[92, 5] Operation: 25/5=5 Exploring Operation: 92-5=87, Resulting Numbers: [25, 87] Generated Node #0,0,3: 95:[25, 87] Operation: 92-5=87 Exploring Operation: 92+5=97, Resulting Numbers: [25, 97] Generated Node #0,0,4: 95:[25, 97] Operation: 92+5=97 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 95:[92, 5], Operations: ['30-5=25', '25/5=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,95 unequal: No Solution Exploring Operation: 92+5=97, Resulting Numbers: [97] 97,95 unequal: No Solution Exploring Operation: 92*5=460, Resulting Numbers: [460] 460,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,0,1 Current State: 95:[92, 20], Operations: ['30-5=25', '25-5=20'] Exploring Operation: 92*20=1840, Resulting Numbers: [1840] 1840,95 unequal: No Solution Exploring Operation: 92+20=112, Resulting Numbers: [112] 112,95 unequal: No Solution Exploring Operation: 92-20=72, Resulting Numbers: [72] 72,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,0,4 Current State: 95:[25, 97], Operations: ['30-5=25', '92+5=97'] Exploring Operation: 25+97=122, Resulting Numbers: [122] 122,95 unequal: No Solution Exploring Operation: 25*97=2425, Resulting Numbers: [2425] 2425,95 unequal: No Solution Exploring Operation: 97-25=72, Resulting Numbers: [72] 72,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,0,0 Current State: 95:[92, 30], Operations: ['30-5=25', '5+25=30'] Exploring Operation: 92+30=122, Resulting Numbers: [122] 122,95 unequal: No Solution Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 92*30=2760, Resulting Numbers: [2760] 2760,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,0,3 Current State: 95:[25, 87], Operations: ['30-5=25', '92-5=87'] Exploring Operation: 25+87=112, Resulting Numbers: [112] 112,95 unequal: No Solution Exploring Operation: 87-25=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 25*87=2175, Resulting Numbers: [2175] 2175,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:[92, 5, 25], Operations: ['30-5=25'] Exploring Operation: 92+5=97, Resulting Numbers: [25, 97] Generated Node #0,3,0: 95:[25, 97] Operation: 92+5=97 Exploring Operation: 92-5=87, Resulting Numbers: [25, 87] Generated Node #0,3,1: 95:[25, 87] Operation: 92-5=87 Exploring Operation: 25-5=20, Resulting Numbers: [92, 20] Generated Node #0,3,2: 95:[92, 20] Operation: 25-5=20 Exploring Operation: 25/5=5, Resulting Numbers: [92, 5] Generated Node #0,3,3: 95:[92, 5] Operation: 25/5=5 Exploring Operation: 5+25=30, Resulting Numbers: [92, 30] Generated Node #0,3,4: 95:[92, 30] Operation: 5+25=30 Moving to Node #0,3,3 Current State: 95:[92, 5], Operations: ['30-5=25', '25/5=5'] Exploring Operation: 92*5=460, Resulting Numbers: [460] 460,95 unequal: No Solution Exploring Operation: 92+5=97, Resulting Numbers: [97] 97,95 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[92, 20], Operations: ['30-5=25', '25-5=20'] Exploring Operation: 92+20=112, Resulting Numbers: [112] 112,95 unequal: No Solution Exploring Operation: 92-20=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 92*20=1840, Resulting Numbers: [1840] 1840,95 unequal: No Solution Moving to Node #0,3,0 Current State: 95:[25, 97], Operations: ['30-5=25', '92+5=97'] Exploring Operation: 97-25=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 25+97=122, Resulting Numbers: [122] 122,95 unequal: No Solution Exploring Operation: 25*97=2425, Resulting Numbers: [2425] 2425,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[25, 87], Operations: ['30-5=25', '92-5=87'] Exploring Operation: 25+87=112, Resulting Numbers: [112] 112,95 unequal: No Solution Exploring Operation: 87-25=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 25*87=2175, Resulting Numbers: [2175] 2175,95 unequal: No Solution Moving to Node #0,3,4 Current State: 95:[92, 30], Operations: ['30-5=25', '5+25=30'] Exploring Operation: 92*30=2760, Resulting Numbers: [2760] 2760,95 unequal: No Solution Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 92+30=122, Resulting Numbers: [122] 122,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,2 Current State: 95:[30, 5, 97], Operations: ['92+5=97'] Exploring Operation: 5+97=102, Resulting Numbers: [30, 102] Generated Node #0,2,0: 95:[30, 102] Operation: 5+97=102 Exploring Operation: 30/5=6, Resulting Numbers: [97, 6] Generated Node #0,2,1: 95:[97, 6] Operation: 30/5=6 Exploring Operation: 97-5=92, Resulting Numbers: [30, 92] Generated Node #0,2,2: 95:[30, 92] Operation: 97-5=92 Exploring Operation: 30-5=25, Resulting Numbers: [97, 25] Generated Node #0,2,3: 95:[97, 25] Operation: 30-5=25 Exploring Operation: 30+5=35, Resulting Numbers: [97, 35] Generated Node #0,2,4: 95:[97, 35] Operation: 30+5=35 Moving to Node #0,2,1 Current State: 95:[97, 6], Operations: ['92+5=97', '30/5=6'] Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,95 unequal: No Solution Exploring Operation: 97*6=582, Resulting Numbers: [582] 582,95 unequal: No Solution Exploring Operation: 97+6=103, Resulting Numbers: [103] 103,95 unequal: No Solution Moving to Node #0,2,3 Current State: 95:[97, 25], Operations: ['92+5=97', '30-5=25'] Exploring Operation: 97-25=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 97*25=2425, Resulting Numbers: [2425] 2425,95 unequal: No Solution Exploring Operation: 97+25=122, Resulting Numbers: [122] 122,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[30, 92], Operations: ['92+5=97', '97-5=92'] Exploring Operation: 30*92=2760, Resulting Numbers: [2760] 2760,95 unequal: No Solution Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 30+92=122, Resulting Numbers: [122] 122,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[30, 102], Operations: ['92+5=97', '5+97=102'] Exploring Operation: 30*102=3060, Resulting Numbers: [3060] 3060,95 unequal: No Solution Exploring Operation: 102-30=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 30+102=132, Resulting Numbers: [132] 132,95 unequal: No Solution Moving to Node #0,2,4 Current State: 95:[97, 35], Operations: ['92+5=97', '30+5=35'] Exploring Operation: 97*35=3395, Resulting Numbers: [3395] 3395,95 unequal: No Solution Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 97+35=132, Resulting Numbers: [132] 132,95 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
[ 74, 64, 1, 62 ]
74
[ "64-1=63", "63-62=1", "74*1=74" ]
Current State: 74:[74, 64, 1, 62], Operations: [] Exploring Operation: 64-1=63, Resulting Numbers: [74, 62, 63] Generated Node #2: [74, 62, 63] from Operation: 64-1=63 Current State: 74:[74, 62, 63], Operations: ['64-1=63'] Exploring Operation: 63-62=1, Resulting Numbers: [74, 1] Generated Node #3: [74, 1] from Operation: 63-62=1 Current State: 74:[74, 1], Operations: ['64-1=63', '63-62=1'] Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[74, 64, 1, 62], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [74, 1, 2] Generated Node #0,0: 74:[74, 1, 2] Operation: 64-62=2 Moving to Node #0,0 Current State: 74:[74, 1, 2], Operations: ['64-62=2'] Exploring Operation: 74*1=74, Resulting Numbers: [2, 74] Generated Node #0,0,0: 74:[2, 74] Operation: 74*1=74 Moving to Node #0,0,0 Current State: 74:[2, 74], Operations: ['64-62=2', '74*1=74'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,74 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 46, 18, 81, 81 ]
37
[ "81+81=162", "162/18=9", "46-9=37" ]
Current State: 37:[46, 18, 81, 81], Operations: [] Exploring Operation: 81+81=162, Resulting Numbers: [46, 18, 162] Generated Node #2: [46, 18, 162] from Operation: 81+81=162 Current State: 37:[46, 18, 162], Operations: ['81+81=162'] Exploring Operation: 162/18=9, Resulting Numbers: [46, 9] Generated Node #3: [46, 9] from Operation: 162/18=9 Current State: 37:[46, 9], Operations: ['81+81=162', '162/18=9'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[46, 18, 81, 81], Operations: [] Exploring Operation: 81-46=35, Resulting Numbers: [18, 81, 35] Generated Node #0,0: 37:[18, 81, 35] Operation: 81-46=35 Exploring Operation: 81/81=1, Resulting Numbers: [46, 18, 1] Generated Node #0,1: 37:[46, 18, 1] Operation: 81/81=1 Exploring Operation: 81-46=35, Resulting Numbers: [18, 81, 35] Generated Node #0,2: 37:[18, 81, 35] Operation: 81-46=35 Moving to Node #0,1 Current State: 37:[46, 18, 1], Operations: ['81/81=1'] Exploring Operation: 46-1=45, Resulting Numbers: [18, 45] Generated Node #0,1,0: 37:[18, 45] Operation: 46-1=45 Exploring Operation: 46*1=46, Resulting Numbers: [18, 46] Generated Node #0,1,1: 37:[18, 46] Operation: 46*1=46 Exploring Operation: 18+1=19, Resulting Numbers: [46, 19] Generated Node #0,1,2: 37:[46, 19] Operation: 18+1=19 Moving to Node #0,0 Current State: 37:[18, 81, 35], Operations: ['81-46=35'] Exploring Operation: 18+35=53, Resulting Numbers: [81, 53] Generated Node #0,0,0: 37:[81, 53] Operation: 18+35=53 Exploring Operation: 81-18=63, Resulting Numbers: [35, 63] Generated Node #0,0,1: 37:[35, 63] Operation: 81-18=63 Exploring Operation: 81-35=46, Resulting Numbers: [18, 46] Generated Node #0,0,2: 37:[18, 46] Operation: 81-35=46 Moving to Node #0,2 Current State: 37:[18, 81, 35], Operations: ['81-46=35'] Exploring Operation: 81-18=63, Resulting Numbers: [35, 63] Generated Node #0,2,0: 37:[35, 63] Operation: 81-18=63 Exploring Operation: 81-35=46, Resulting Numbers: [18, 46] Generated Node #0,2,1: 37:[18, 46] Operation: 81-35=46 Exploring Operation: 18+35=53, Resulting Numbers: [81, 53] Generated Node #0,2,2: 37:[81, 53] Operation: 18+35=53 Moving to Node #0,1,0 Current State: 37:[18, 45], Operations: ['81/81=1', '46-1=45'] Exploring Operation: 18*45=810, Resulting Numbers: [810] 810,37 unequal: No Solution Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 18+45=63, Resulting Numbers: [63] 63,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[46, 19], Operations: ['81/81=1', '18+1=19'] Exploring Operation: 46*19=874, Resulting Numbers: [874] 874,37 unequal: No Solution Exploring Operation: 46+19=65, Resulting Numbers: [65] 65,37 unequal: No Solution Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[18, 46], Operations: ['81/81=1', '46*1=46'] Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 18*46=828, Resulting Numbers: [828] 828,37 unequal: No Solution Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[35, 63], Operations: ['81-46=35', '81-18=63'] Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 35*63=2205, Resulting Numbers: [2205] 2205,37 unequal: No Solution Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[18, 46], Operations: ['81-46=35', '81-35=46'] Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,37 unequal: No Solution Exploring Operation: 18*46=828, Resulting Numbers: [828] 828,37 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[18, 46], Operations: ['81-46=35', '81-35=46'] Exploring Operation: 18*46=828, Resulting Numbers: [828] 828,37 unequal: No Solution Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,37 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[35, 63], Operations: ['81-46=35', '81-18=63'] Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,37 unequal: No Solution Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 35*63=2205, Resulting Numbers: [2205] 2205,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[81, 53], Operations: ['81-46=35', '18+35=53'] Exploring Operation: 81*53=4293, Resulting Numbers: [4293] 4293,37 unequal: No Solution Exploring Operation: 81+53=134, Resulting Numbers: [134] 134,37 unequal: No Solution Exploring Operation: 81-53=28, Resulting Numbers: [28] 28,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[81, 53], Operations: ['81-46=35', '18+35=53'] Exploring Operation: 81*53=4293, Resulting Numbers: [4293] 4293,37 unequal: No Solution Exploring Operation: 81+53=134, Resulting Numbers: [134] 134,37 unequal: No Solution Exploring Operation: 81-53=28, Resulting Numbers: [28] 28,37 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 4, 13, 3, 29 ]
15
[ "4+13=17", "3+29=32", "32-17=15" ]
Current State: 15:[4, 13, 3, 29], Operations: [] Exploring Operation: 4+13=17, Resulting Numbers: [3, 29, 17] Generated Node #2: [3, 29, 17] from Operation: 4+13=17 Current State: 15:[3, 29, 17], Operations: ['4+13=17'] Exploring Operation: 3+29=32, Resulting Numbers: [17, 32] Generated Node #3: [17, 32] from Operation: 3+29=32 Current State: 15:[17, 32], Operations: ['4+13=17', '3+29=32'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[4, 13, 3, 29], Operations: [] Exploring Operation: 29-4=25, Resulting Numbers: [13, 3, 25] Generated Node #0,0: 15:[13, 3, 25] Operation: 29-4=25 Exploring Operation: 29-13=16, Resulting Numbers: [4, 3, 16] Generated Node #0,1: 15:[4, 3, 16] Operation: 29-13=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[4, 3, 16], Operations: ['29-13=16'] Exploring Operation: 4+3=7, Resulting Numbers: [16, 7] Generated Node #0,1,0: 15:[16, 7] Operation: 4+3=7 Exploring Operation: 16/4=4, Resulting Numbers: [3, 4] Generated Node #0,1,1: 15:[3, 4] Operation: 16/4=4 Moving to Node #0,1,1 Current State: 15:[3, 4], Operations: ['29-13=16', '16/4=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[16, 7], Operations: ['29-13=16', '4+3=7'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[13, 3, 25], Operations: ['29-4=25'] Exploring Operation: 25-13=12, Resulting Numbers: [3, 12] Generated Node #0,0,0: 15:[3, 12] Operation: 25-13=12 Exploring Operation: 25-3=22, Resulting Numbers: [13, 22] Generated Node #0,0,1: 15:[13, 22] Operation: 25-3=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[3, 12], Operations: ['29-4=25', '25-13=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[4, 13, 3, 29], Operations: [] Exploring Operation: 29-4=25, Resulting Numbers: [13, 3, 25] Generated Node #0,0: 15:[13, 3, 25] Operation: 29-4=25 Moving to Node #0,0 Current State: 15:[13, 3, 25], Operations: ['29-4=25'] Exploring Operation: 25-13=12, Resulting Numbers: [3, 12] Generated Node #0,0,0: 15:[3, 12] Operation: 25-13=12 Moving to Node #0,0,0 Current State: 15:[3, 12], Operations: ['29-4=25', '25-13=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 38, 78, 48, 36 ]
63
[ "38-36=2", "78+48=126", "126/2=63" ]
Current State: 63:[38, 78, 48, 36], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [78, 48, 2] Generated Node #2: [78, 48, 2] from Operation: 38-36=2 Current State: 63:[78, 48, 2], Operations: ['38-36=2'] Exploring Operation: 78+48=126, Resulting Numbers: [2, 126] Generated Node #3: [2, 126] from Operation: 78+48=126 Current State: 63:[2, 126], Operations: ['38-36=2', '78+48=126'] Exploring Operation: 126/2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[38, 78, 48, 36], Operations: [] Exploring Operation: 38+36=74, Resulting Numbers: [78, 48, 74] Generated Node #0,0: 63:[78, 48, 74] Operation: 38+36=74 Exploring Operation: 78-48=30, Resulting Numbers: [38, 36, 30] Generated Node #0,1: 63:[38, 36, 30] Operation: 78-48=30 Exploring Operation: 48-38=10, Resulting Numbers: [78, 36, 10] Generated Node #0,2: 63:[78, 36, 10] Operation: 48-38=10 Exploring Operation: 38-36=2, Resulting Numbers: [78, 48, 2] Generated Node #0,3: 63:[78, 48, 2] Operation: 38-36=2 Exploring Operation: 48-36=12, Resulting Numbers: [38, 78, 12] Generated Node #0,4: 63:[38, 78, 12] Operation: 48-36=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[78, 36, 10], Operations: ['48-38=10'] Exploring Operation: 78-36=42, Resulting Numbers: [10, 42] Generated Node #0,2,0: 63:[10, 42] Operation: 78-36=42 Exploring Operation: 36-10=26, Resulting Numbers: [78, 26] Generated Node #0,2,1: 63:[78, 26] Operation: 36-10=26 Exploring Operation: 78+10=88, Resulting Numbers: [36, 88] Generated Node #0,2,2: 63:[36, 88] Operation: 78+10=88 Exploring Operation: 36+10=46, Resulting Numbers: [78, 46] Generated Node #0,2,3: 63:[78, 46] Operation: 36+10=46 Exploring Operation: 78-10=68, Resulting Numbers: [36, 68] Generated Node #0,2,4: 63:[36, 68] Operation: 78-10=68 Moving to Node #0,2,1 Current State: 63:[78, 26], Operations: ['48-38=10', '36-10=26'] Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 78*26=2028, Resulting Numbers: [2028] 2028,63 unequal: No Solution Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 78+26=104, Resulting Numbers: [104] 104,63 unequal: No Solution Moving to Node #0,2,4 Current State: 63:[36, 68], Operations: ['48-38=10', '78-10=68'] Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,63 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[10, 42], Operations: ['48-38=10', '78-36=42'] Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[78, 46], Operations: ['48-38=10', '36+10=46'] Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 78*46=3588, Resulting Numbers: [3588] 3588,63 unequal: No Solution Exploring Operation: 78+46=124, Resulting Numbers: [124] 124,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[36, 88], Operations: ['48-38=10', '78+10=88'] Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 36*88=3168, Resulting Numbers: [3168] 3168,63 unequal: No Solution Exploring Operation: 36+88=124, Resulting Numbers: [124] 124,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[78, 48, 2], Operations: ['38-36=2'] Exploring Operation: 48/2=24, Resulting Numbers: [78, 24] Generated Node #0,3,0: 63:[78, 24] Operation: 48/2=24 Exploring Operation: 78-2=76, Resulting Numbers: [48, 76] Generated Node #0,3,1: 63:[48, 76] Operation: 78-2=76 Exploring Operation: 48+2=50, Resulting Numbers: [78, 50] Generated Node #0,3,2: 63:[78, 50] Operation: 48+2=50 Exploring Operation: 78-48=30, Resulting Numbers: [2, 30] Generated Node #0,3,3: 63:[2, 30] Operation: 78-48=30 Exploring Operation: 78+2=80, Resulting Numbers: [48, 80] Generated Node #0,3,4: 63:[48, 80] Operation: 78+2=80 Moving to Node #0,3,3 Current State: 63:[2, 30], Operations: ['38-36=2', '78-48=30'] Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,63 unequal: No Solution Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[78, 24], Operations: ['38-36=2', '48/2=24'] Exploring Operation: 78+24=102, Resulting Numbers: [102] 102,63 unequal: No Solution Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,63 unequal: No Solution Exploring Operation: 78*24=1872, Resulting Numbers: [1872] 1872,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[48, 76], Operations: ['38-36=2', '78-2=76'] Exploring Operation: 48*76=3648, Resulting Numbers: [3648] 3648,63 unequal: No Solution Exploring Operation: 76-48=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 48+76=124, Resulting Numbers: [124] 124,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[78, 50], Operations: ['38-36=2', '48+2=50'] Exploring Operation: 78*50=3900, Resulting Numbers: [3900] 3900,63 unequal: No Solution Exploring Operation: 78+50=128, Resulting Numbers: [128] 128,63 unequal: No Solution Exploring Operation: 78-50=28, Resulting Numbers: [28] 28,63 unequal: No Solution Moving to Node #0,3,4 Current State: 63:[48, 80], Operations: ['38-36=2', '78+2=80'] Exploring Operation: 80-48=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 48*80=3840, Resulting Numbers: [3840] 3840,63 unequal: No Solution Exploring Operation: 48+80=128, Resulting Numbers: [128] 128,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 63:[38, 78, 12], Operations: ['48-36=12'] Exploring Operation: 78-12=66, Resulting Numbers: [38, 66] Generated Node #0,4,0: 63:[38, 66] Operation: 78-12=66 Exploring Operation: 38-12=26, Resulting Numbers: [78, 26] Generated Node #0,4,1: 63:[78, 26] Operation: 38-12=26 Exploring Operation: 78-38=40, Resulting Numbers: [12, 40] Generated Node #0,4,2: 63:[12, 40] Operation: 78-38=40 Exploring Operation: 78+12=90, Resulting Numbers: [38, 90] Generated Node #0,4,3: 63:[38, 90] Operation: 78+12=90 Exploring Operation: 38+12=50, Resulting Numbers: [78, 50] Generated Node #0,4,4: 63:[78, 50] Operation: 38+12=50 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 63:[38, 66], Operations: ['48-36=12', '78-12=66'] Exploring Operation: 38*66=2508, Resulting Numbers: [2508] 2508,63 unequal: No Solution Exploring Operation: 66-38=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 38+66=104, Resulting Numbers: [104] 104,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 63:[78, 26], Operations: ['48-36=12', '38-12=26'] Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 78+26=104, Resulting Numbers: [104] 104,63 unequal: No Solution Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 78*26=2028, Resulting Numbers: [2028] 2028,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 63:[12, 40], Operations: ['48-36=12', '78-38=40'] Exploring Operation: 12*40=480, Resulting Numbers: [480] 480,63 unequal: No Solution Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 12+40=52, Resulting Numbers: [52] 52,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 63:[78, 50], Operations: ['48-36=12', '38+12=50'] Exploring Operation: 78+50=128, Resulting Numbers: [128] 128,63 unequal: No Solution Exploring Operation: 78*50=3900, Resulting Numbers: [3900] 3900,63 unequal: No Solution Exploring Operation: 78-50=28, Resulting Numbers: [28] 28,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 63:[38, 90], Operations: ['48-36=12', '78+12=90'] Exploring Operation: 38+90=128, Resulting Numbers: [128] 128,63 unequal: No Solution Exploring Operation: 38*90=3420, Resulting Numbers: [3420] 3420,63 unequal: No Solution Exploring Operation: 90-38=52, Resulting Numbers: [52] 52,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,0 Current State: 63:[78, 48, 74], Operations: ['38+36=74'] Exploring Operation: 78+48=126, Resulting Numbers: [74, 126] Generated Node #0,0,0: 63:[74, 126] Operation: 78+48=126 Exploring Operation: 78-48=30, Resulting Numbers: [74, 30] Generated Node #0,0,1: 63:[74, 30] Operation: 78-48=30 Exploring Operation: 74-48=26, Resulting Numbers: [78, 26] Generated Node #0,0,2: 63:[78, 26] Operation: 74-48=26 Exploring Operation: 78-74=4, Resulting Numbers: [48, 4] Generated Node #0,0,3: 63:[48, 4] Operation: 78-74=4 Exploring Operation: 48+74=122, Resulting Numbers: [78, 122] Generated Node #0,0,4: 63:[78, 122] Operation: 48+74=122 Moving to Node #0,0,3 Current State: 63:[48, 4], Operations: ['38+36=74', '78-74=4'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,63 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 48*4=192, Resulting Numbers: [192] 192,63 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[78, 26], Operations: ['38+36=74', '74-48=26'] Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 78+26=104, Resulting Numbers: [104] 104,63 unequal: No Solution Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 78*26=2028, Resulting Numbers: [2028] 2028,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[74, 30], Operations: ['38+36=74', '78-48=30'] Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,63 unequal: No Solution Exploring Operation: 74+30=104, Resulting Numbers: [104] 104,63 unequal: No Solution Exploring Operation: 74*30=2220, Resulting Numbers: [2220] 2220,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[74, 126], Operations: ['38+36=74', '78+48=126'] Exploring Operation: 126-74=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 74*126=9324, Resulting Numbers: [9324] 9324,63 unequal: No Solution Exploring Operation: 74+126=200, Resulting Numbers: [200] 200,63 unequal: No Solution Moving to Node #0,0,4 Current State: 63:[78, 122], Operations: ['38+36=74', '48+74=122'] Exploring Operation: 78*122=9516, Resulting Numbers: [9516] 9516,63 unequal: No Solution Exploring Operation: 78+122=200, Resulting Numbers: [200] 200,63 unequal: No Solution Exploring Operation: 122-78=44, Resulting Numbers: [44] 44,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[38, 36, 30], Operations: ['78-48=30'] Exploring Operation: 38-30=8, Resulting Numbers: [36, 8] Generated Node #0,1,0: 63:[36, 8] Operation: 38-30=8 Exploring Operation: 36-30=6, Resulting Numbers: [38, 6] Generated Node #0,1,1: 63:[38, 6] Operation: 36-30=6 Exploring Operation: 38+36=74, Resulting Numbers: [30, 74] Generated Node #0,1,2: 63:[30, 74] Operation: 38+36=74 Exploring Operation: 38-36=2, Resulting Numbers: [30, 2] Generated Node #0,1,3: 63:[30, 2] Operation: 38-36=2 Exploring Operation: 38+30=68, Resulting Numbers: [36, 68] Generated Node #0,1,4: 63:[36, 68] Operation: 38+30=68 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 63:[30, 2], Operations: ['78-48=30', '38-36=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,63 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,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:[36, 8], Operations: ['78-48=30', '38-30=8'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,63 unequal: No Solution Exploring Operation: 36*8=288, Resulting Numbers: [288] 288,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[38, 6], Operations: ['78-48=30', '36-30=6'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,63 unequal: No Solution Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 63:[30, 74], Operations: ['78-48=30', '38+36=74'] Exploring Operation: 30+74=104, Resulting Numbers: [104] 104,63 unequal: No Solution Exploring Operation: 30*74=2220, Resulting Numbers: [2220] 2220,63 unequal: No Solution Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,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,4 Current State: 63:[36, 68], Operations: ['78-48=30', '38+30=68'] Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,63 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 69, 65, 23, 98 ]
79
[ "69-65=4", "98-23=75", "4+75=79" ]
Current State: 79:[69, 65, 23, 98], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [23, 98, 4] Generated Node #2: [23, 98, 4] from Operation: 69-65=4 Current State: 79:[23, 98, 4], Operations: ['69-65=4'] Exploring Operation: 98-23=75, Resulting Numbers: [4, 75] Generated Node #3: [4, 75] from Operation: 98-23=75 Current State: 79:[4, 75], Operations: ['69-65=4', '98-23=75'] Exploring Operation: 4+75=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[69, 65, 23, 98], Operations: [] Exploring Operation: 65+23=88, Resulting Numbers: [69, 98, 88] Generated Node #0,0: 79:[69, 98, 88] Operation: 65+23=88 Exploring Operation: 98-23=75, Resulting Numbers: [69, 65, 75] Generated Node #0,1: 79:[69, 65, 75] Operation: 98-23=75 Exploring Operation: 69+23=92, Resulting Numbers: [65, 98, 92] Generated Node #0,2: 79:[65, 98, 92] Operation: 69+23=92 Exploring Operation: 69-23=46, Resulting Numbers: [65, 98, 46] Generated Node #0,3: 79:[65, 98, 46] Operation: 69-23=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[69, 65, 75], Operations: ['98-23=75'] Exploring Operation: 69+65=134, Resulting Numbers: [75, 134] Generated Node #0,1,0: 79:[75, 134] Operation: 69+65=134 Exploring Operation: 69-65=4, Resulting Numbers: [75, 4] Generated Node #0,1,1: 79:[75, 4] Operation: 69-65=4 Exploring Operation: 69+75=144, Resulting Numbers: [65, 144] Generated Node #0,1,2: 79:[65, 144] Operation: 69+75=144 Exploring Operation: 65+75=140, Resulting Numbers: [69, 140] Generated Node #0,1,3: 79:[69, 140] Operation: 65+75=140 Moving to Node #0,1,0 Current State: 79:[75, 134], Operations: ['98-23=75', '69+65=134'] Exploring Operation: 75+134=209, Resulting Numbers: [209] 209,79 unequal: No Solution Exploring Operation: 75*134=10050, Resulting Numbers: [10050] 10050,79 unequal: No Solution Exploring Operation: 134-75=59, Resulting Numbers: [59] 59,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[69, 140], Operations: ['98-23=75', '65+75=140'] Exploring Operation: 69+140=209, Resulting Numbers: [209] 209,79 unequal: No Solution Exploring Operation: 69*140=9660, Resulting Numbers: [9660] 9660,79 unequal: No Solution Exploring Operation: 140-69=71, Resulting Numbers: [71] 71,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[65, 144], Operations: ['98-23=75', '69+75=144'] Exploring Operation: 65+144=209, Resulting Numbers: [209] 209,79 unequal: No Solution Exploring Operation: 65*144=9360, Resulting Numbers: [9360] 9360,79 unequal: No Solution Exploring Operation: 144-65=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[69, 65, 23, 98], Operations: [] Exploring Operation: 98-23=75, Resulting Numbers: [69, 65, 75] Generated Node #0,1: 79:[69, 65, 75] Operation: 98-23=75 Moving to Node #0,1 Current State: 79:[69, 65, 75], Operations: ['98-23=75'] Exploring Operation: 69+75=144, Resulting Numbers: [65, 144] Generated Node #0,1,2: 79:[65, 144] Operation: 69+75=144 Moving to Node #0,1,2 Current State: 79:[65, 144], Operations: ['98-23=75', '69+75=144'] Exploring Operation: 144-65=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 26, 22, 82, 11 ]
15
[ "22+82=104", "104/26=4", "11+4=15" ]
Current State: 15:[26, 22, 82, 11], Operations: [] Exploring Operation: 22+82=104, Resulting Numbers: [26, 11, 104] Generated Node #2: [26, 11, 104] from Operation: 22+82=104 Current State: 15:[26, 11, 104], Operations: ['22+82=104'] Exploring Operation: 104/26=4, Resulting Numbers: [11, 4] Generated Node #3: [11, 4] from Operation: 104/26=4 Current State: 15:[11, 4], Operations: ['22+82=104', '104/26=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[26, 22, 82, 11], Operations: [] Exploring Operation: 82-26=56, Resulting Numbers: [22, 11, 56] Generated Node #0,0: 15:[22, 11, 56] Operation: 82-26=56 Exploring Operation: 82-22=60, Resulting Numbers: [26, 11, 60] Generated Node #0,1: 15:[26, 11, 60] Operation: 82-22=60 Exploring Operation: 26-22=4, Resulting Numbers: [82, 11, 4] Generated Node #0,2: 15:[82, 11, 4] Operation: 26-22=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[22, 11, 56], Operations: ['82-26=56'] Exploring Operation: 22/11=2, Resulting Numbers: [56, 2] Generated Node #0,0,0: 15:[56, 2] Operation: 22/11=2 Exploring Operation: 56-22=34, Resulting Numbers: [11, 34] Generated Node #0,0,1: 15:[11, 34] Operation: 56-22=34 Exploring Operation: 56-11=45, Resulting Numbers: [22, 45] Generated Node #0,0,2: 15:[22, 45] Operation: 56-11=45 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[11, 34], Operations: ['82-26=56', '56-22=34'] Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,15 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,15 unequal: No Solution No 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: 15:[22, 45], Operations: ['82-26=56', '56-11=45'] Exploring Operation: 22+45=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 22*45=990, Resulting Numbers: [990] 990,15 unequal: No Solution No 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: 15:[56, 2], Operations: ['82-26=56', '22/11=2'] Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,15 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,15 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: 15:[26, 11, 60], Operations: ['82-22=60'] Exploring Operation: 26-11=15, Resulting Numbers: [60, 15] Generated Node #0,1,0: 15:[60, 15] Operation: 26-11=15 Exploring Operation: 60-11=49, Resulting Numbers: [26, 49] Generated Node #0,1,1: 15:[26, 49] Operation: 60-11=49 Exploring Operation: 60-26=34, Resulting Numbers: [11, 34] Generated Node #0,1,2: 15:[11, 34] Operation: 60-26=34 Moving to Node #0,1,2 Current State: 15:[11, 34], Operations: ['82-22=60', '60-26=34'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,15 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[60, 15], Operations: ['82-22=60', '26-11=15'] Exploring Operation: 60-15=45, Resulting Numbers: [45] 45,15 unequal: No Solution Exploring Operation: 60/15=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 60+15=75, Resulting Numbers: [75] 75,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[26, 49], Operations: ['82-22=60', '60-11=49'] Exploring Operation: 26*49=1274, Resulting Numbers: [1274] 1274,15 unequal: No Solution Exploring Operation: 26+49=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,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 Current State: 15:[82, 11, 4], Operations: ['26-22=4'] Exploring Operation: 82-4=78, Resulting Numbers: [11, 78] Generated Node #0,2,0: 15:[11, 78] Operation: 82-4=78 Exploring Operation: 11+4=15, Resulting Numbers: [82, 15] Generated Node #0,2,1: 15:[82, 15] Operation: 11+4=15 Exploring Operation: 82-11=71, Resulting Numbers: [4, 71] Generated Node #0,2,2: 15:[4, 71] Operation: 82-11=71 Moving to Node #0,2,2 Current State: 15:[4, 71], Operations: ['26-22=4', '82-11=71'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 4*71=284, Resulting Numbers: [284] 284,15 unequal: No Solution Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[11, 78], Operations: ['26-22=4', '82-4=78'] Exploring Operation: 11*78=858, Resulting Numbers: [858] 858,15 unequal: No Solution Exploring Operation: 11+78=89, Resulting Numbers: [89] 89,15 unequal: No Solution Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[82, 15], Operations: ['26-22=4', '11+4=15'] Exploring Operation: 82+15=97, Resulting Numbers: [97] 97,15 unequal: No Solution Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,15 unequal: No Solution Exploring Operation: 82*15=1230, Resulting Numbers: [1230] 1230,15 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
[ 41, 89, 74, 35 ]
87
[ "89-41=48", "74-35=39", "48+39=87" ]
Current State: 87:[41, 89, 74, 35], Operations: [] Exploring Operation: 89-41=48, Resulting Numbers: [74, 35, 48] Generated Node #2: [74, 35, 48] from Operation: 89-41=48 Current State: 87:[74, 35, 48], Operations: ['89-41=48'] Exploring Operation: 74-35=39, Resulting Numbers: [48, 39] Generated Node #3: [48, 39] from Operation: 74-35=39 Current State: 87:[48, 39], Operations: ['89-41=48', '74-35=39'] Exploring Operation: 48+39=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[41, 89, 74, 35], Operations: [] Exploring Operation: 41+35=76, Resulting Numbers: [89, 74, 76] Generated Node #0,0: 87:[89, 74, 76] Operation: 41+35=76 Exploring Operation: 41-35=6, Resulting Numbers: [89, 74, 6] Generated Node #0,1: 87:[89, 74, 6] Operation: 41-35=6 Exploring Operation: 74-35=39, Resulting Numbers: [41, 89, 39] Generated Node #0,2: 87:[41, 89, 39] Operation: 74-35=39 Exploring Operation: 74-41=33, Resulting Numbers: [89, 35, 33] Generated Node #0,3: 87:[89, 35, 33] Operation: 74-41=33 Moving to Node #0,3 Current State: 87:[89, 35, 33], Operations: ['74-41=33'] Exploring Operation: 89-33=56, Resulting Numbers: [35, 56] Generated Node #0,3,0: 87:[35, 56] Operation: 89-33=56 Exploring Operation: 35+33=68, Resulting Numbers: [89, 68] Generated Node #0,3,1: 87:[89, 68] Operation: 35+33=68 Exploring Operation: 35-33=2, Resulting Numbers: [89, 2] Generated Node #0,3,2: 87:[89, 2] Operation: 35-33=2 Exploring Operation: 89-35=54, Resulting Numbers: [33, 54] Generated Node #0,3,3: 87:[33, 54] Operation: 89-35=54 Moving to Node #0,1 Current State: 87:[89, 74, 6], Operations: ['41-35=6'] Exploring Operation: 89-6=83, Resulting Numbers: [74, 83] Generated Node #0,1,0: 87:[74, 83] Operation: 89-6=83 Exploring Operation: 89+6=95, Resulting Numbers: [74, 95] Generated Node #0,1,1: 87:[74, 95] Operation: 89+6=95 Exploring Operation: 74+6=80, Resulting Numbers: [89, 80] Generated Node #0,1,2: 87:[89, 80] Operation: 74+6=80 Exploring Operation: 89-74=15, Resulting Numbers: [6, 15] Generated Node #0,1,3: 87:[6, 15] Operation: 89-74=15 Moving to Node #0,2 Current State: 87:[41, 89, 39], Operations: ['74-35=39'] Exploring Operation: 41-39=2, Resulting Numbers: [89, 2] Generated Node #0,2,0: 87:[89, 2] Operation: 41-39=2 Exploring Operation: 41+39=80, Resulting Numbers: [89, 80] Generated Node #0,2,1: 87:[89, 80] Operation: 41+39=80 Exploring Operation: 89-41=48, Resulting Numbers: [39, 48] Generated Node #0,2,2: 87:[39, 48] Operation: 89-41=48 Exploring Operation: 89-39=50, Resulting Numbers: [41, 50] Generated Node #0,2,3: 87:[41, 50] Operation: 89-39=50 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[89, 2], Operations: ['74-35=39', '41-39=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[41, 89, 74, 35], Operations: [] Exploring Operation: 74-35=39, Resulting Numbers: [41, 89, 39] Generated Node #0,2: 87:[41, 89, 39] Operation: 74-35=39 Moving to Node #0,2 Current State: 87:[41, 89, 39], Operations: ['74-35=39'] Exploring Operation: 41-39=2, Resulting Numbers: [89, 2] Generated Node #0,2,0: 87:[89, 2] Operation: 41-39=2 Moving to Node #0,2,0 Current State: 87:[89, 2], Operations: ['74-35=39', '41-39=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 78, 72, 34, 45 ]
93
[ "72*45=3240", "3240-78=3162", "3162/34=93" ]
Current State: 93:[78, 72, 34, 45], Operations: [] Exploring Operation: 72*45=3240, Resulting Numbers: [78, 34, 3240] Generated Node #2: [78, 34, 3240] from Operation: 72*45=3240 Current State: 93:[78, 34, 3240], Operations: ['72*45=3240'] Exploring Operation: 3240-78=3162, Resulting Numbers: [34, 3162] Generated Node #3: [34, 3162] from Operation: 3240-78=3162 Current State: 93:[34, 3162], Operations: ['72*45=3240', '3240-78=3162'] Exploring Operation: 3162/34=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[78, 72, 34, 45], Operations: [] Exploring Operation: 72-34=38, Resulting Numbers: [78, 45, 38] Generated Node #0,0: 93:[78, 45, 38] Operation: 72-34=38 Exploring Operation: 78-72=6, Resulting Numbers: [34, 45, 6] Generated Node #0,1: 93:[34, 45, 6] Operation: 78-72=6 Exploring Operation: 72+34=106, Resulting Numbers: [78, 45, 106] Generated Node #0,2: 93:[78, 45, 106] Operation: 72+34=106 Exploring Operation: 72-45=27, Resulting Numbers: [78, 34, 27] Generated Node #0,3: 93:[78, 34, 27] Operation: 72-45=27 Exploring Operation: 78-45=33, Resulting Numbers: [72, 34, 33] Generated Node #0,4: 93:[72, 34, 33] Operation: 78-45=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[34, 45, 6], Operations: ['78-72=6'] Exploring Operation: 34+45=79, Resulting Numbers: [6, 79] Generated Node #0,1,0: 93:[6, 79] Operation: 34+45=79 Exploring Operation: 34+6=40, Resulting Numbers: [45, 40] Generated Node #0,1,1: 93:[45, 40] Operation: 34+6=40 Exploring Operation: 34-6=28, Resulting Numbers: [45, 28] Generated Node #0,1,2: 93:[45, 28] Operation: 34-6=28 Exploring Operation: 45-34=11, Resulting Numbers: [6, 11] Generated Node #0,1,3: 93:[6, 11] Operation: 45-34=11 Exploring Operation: 45-6=39, Resulting Numbers: [34, 39] Generated Node #0,1,4: 93:[34, 39] Operation: 45-6=39 Moving to Node #0,1,3 Current State: 93:[6, 11], Operations: ['78-72=6', '45-34=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,93 unequal: No Solution Moving to Node #0,1,4 Current State: 93:[34, 39], Operations: ['78-72=6', '45-6=39'] Exploring Operation: 34*39=1326, Resulting Numbers: [1326] 1326,93 unequal: No Solution Exploring Operation: 34+39=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[6, 79], Operations: ['78-72=6', '34+45=79'] Exploring Operation: 6+79=85, Resulting Numbers: [85] 85,93 unequal: No Solution Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 6*79=474, Resulting Numbers: [474] 474,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[45, 28], Operations: ['78-72=6', '34-6=28'] Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 45*28=1260, Resulting Numbers: [1260] 1260,93 unequal: No Solution Exploring Operation: 45+28=73, Resulting Numbers: [73] 73,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[45, 40], Operations: ['78-72=6', '34+6=40'] Exploring Operation: 45*40=1800, Resulting Numbers: [1800] 1800,93 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[78, 34, 27], Operations: ['72-45=27'] Exploring Operation: 34-27=7, Resulting Numbers: [78, 7] Generated Node #0,3,0: 93:[78, 7] Operation: 34-27=7 Exploring Operation: 78-34=44, Resulting Numbers: [27, 44] Generated Node #0,3,1: 93:[27, 44] Operation: 78-34=44 Exploring Operation: 78-27=51, Resulting Numbers: [34, 51] Generated Node #0,3,2: 93:[34, 51] Operation: 78-27=51 Exploring Operation: 78+34=112, Resulting Numbers: [27, 112] Generated Node #0,3,3: 93:[27, 112] Operation: 78+34=112 Exploring Operation: 78+27=105, Resulting Numbers: [34, 105] Generated Node #0,3,4: 93:[34, 105] Operation: 78+27=105 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 93:[34, 105], Operations: ['72-45=27', '78+27=105'] Exploring Operation: 105-34=71, Resulting Numbers: [71] 71,93 unequal: No Solution Exploring Operation: 34*105=3570, Resulting Numbers: [3570] 3570,93 unequal: No Solution Exploring Operation: 34+105=139, Resulting Numbers: [139] 139,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 93:[27, 44], Operations: ['72-45=27', '78-34=44'] Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,93 unequal: No Solution Exploring Operation: 27*44=1188, Resulting Numbers: [1188] 1188,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 93:[78, 7], Operations: ['72-45=27', '34-27=7'] Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,93 unequal: No Solution Exploring Operation: 78*7=546, Resulting Numbers: [546] 546,93 unequal: No Solution Exploring Operation: 78+7=85, Resulting Numbers: [85] 85,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 93:[34, 51], Operations: ['72-45=27', '78-27=51'] Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 34+51=85, Resulting Numbers: [85] 85,93 unequal: No Solution Exploring Operation: 34*51=1734, Resulting Numbers: [1734] 1734,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 93:[27, 112], Operations: ['72-45=27', '78+34=112'] Exploring Operation: 27+112=139, Resulting Numbers: [139] 139,93 unequal: No Solution Exploring Operation: 112-27=85, Resulting Numbers: [85] 85,93 unequal: No Solution Exploring Operation: 27*112=3024, Resulting Numbers: [3024] 3024,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 93:[72, 34, 33], Operations: ['78-45=33'] Exploring Operation: 72+33=105, Resulting Numbers: [34, 105] Generated Node #0,4,0: 93:[34, 105] Operation: 72+33=105 Exploring Operation: 72-34=38, Resulting Numbers: [33, 38] Generated Node #0,4,1: 93:[33, 38] Operation: 72-34=38 Exploring Operation: 72-33=39, Resulting Numbers: [34, 39] Generated Node #0,4,2: 93:[34, 39] Operation: 72-33=39 Exploring Operation: 72+34=106, Resulting Numbers: [33, 106] Generated Node #0,4,3: 93:[33, 106] Operation: 72+34=106 Exploring Operation: 34-33=1, Resulting Numbers: [72, 1] Generated Node #0,4,4: 93:[72, 1] Operation: 34-33=1 Moving to Node #0,4,1 Current State: 93:[33, 38], Operations: ['78-45=33', '72-34=38'] Exploring Operation: 33+38=71, Resulting Numbers: [71] 71,93 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 33*38=1254, Resulting Numbers: [1254] 1254,93 unequal: No Solution Moving to Node #0,4,2 Current State: 93:[34, 39], Operations: ['78-45=33', '72-33=39'] Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 34+39=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 34*39=1326, Resulting Numbers: [1326] 1326,93 unequal: No Solution Moving to Node #0,4,0 Current State: 93:[34, 105], Operations: ['78-45=33', '72+33=105'] Exploring Operation: 34*105=3570, Resulting Numbers: [3570] 3570,93 unequal: No Solution Exploring Operation: 105-34=71, Resulting Numbers: [71] 71,93 unequal: No Solution Exploring Operation: 34+105=139, Resulting Numbers: [139] 139,93 unequal: No Solution Moving to Node #0,4,3 Current State: 93:[33, 106], Operations: ['78-45=33', '72+34=106'] Exploring Operation: 33+106=139, Resulting Numbers: [139] 139,93 unequal: No Solution Exploring Operation: 106-33=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 33*106=3498, Resulting Numbers: [3498] 3498,93 unequal: No Solution Moving to Node #0,4,4 Current State: 93:[72, 1], Operations: ['78-45=33', '34-33=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,93 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,93 unequal: No Solution Exploring Operation: 72+1=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[78, 45, 38], Operations: ['72-34=38'] Exploring Operation: 45+38=83, Resulting Numbers: [78, 83] Generated Node #0,0,0: 93:[78, 83] Operation: 45+38=83 Exploring Operation: 78-45=33, Resulting Numbers: [38, 33] Generated Node #0,0,1: 93:[38, 33] Operation: 78-45=33 Exploring Operation: 78-38=40, Resulting Numbers: [45, 40] Generated Node #0,0,2: 93:[45, 40] Operation: 78-38=40 Exploring Operation: 78+45=123, Resulting Numbers: [38, 123] Generated Node #0,0,3: 93:[38, 123] Operation: 78+45=123 Exploring Operation: 45-38=7, Resulting Numbers: [78, 7] Generated Node #0,0,4: 93:[78, 7] Operation: 45-38=7 Moving to Node #0,0,1 Current State: 93:[38, 33], Operations: ['72-34=38', '78-45=33'] Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,93 unequal: No Solution Exploring Operation: 38*33=1254, Resulting Numbers: [1254] 1254,93 unequal: No Solution Moving to Node #0,0,4 Current State: 93:[78, 7], Operations: ['72-34=38', '45-38=7'] Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,93 unequal: No Solution Exploring Operation: 78+7=85, Resulting Numbers: [85] 85,93 unequal: No Solution Exploring Operation: 78*7=546, Resulting Numbers: [546] 546,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[45, 40], Operations: ['72-34=38', '78-38=40'] Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 45*40=1800, Resulting Numbers: [1800] 1800,93 unequal: No Solution Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[78, 83], Operations: ['72-34=38', '45+38=83'] Exploring Operation: 83-78=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 78*83=6474, Resulting Numbers: [6474] 6474,93 unequal: No Solution Exploring Operation: 78+83=161, Resulting Numbers: [161] 161,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[38, 123], Operations: ['72-34=38', '78+45=123'] Exploring Operation: 38+123=161, Resulting Numbers: [161] 161,93 unequal: No Solution Exploring Operation: 38*123=4674, Resulting Numbers: [4674] 4674,93 unequal: No Solution Exploring Operation: 123-38=85, Resulting Numbers: [85] 85,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[78, 45, 106], Operations: ['72+34=106'] Exploring Operation: 78-45=33, Resulting Numbers: [106, 33] Generated Node #0,2,0: 93:[106, 33] Operation: 78-45=33 Exploring Operation: 106-45=61, Resulting Numbers: [78, 61] Generated Node #0,2,1: 93:[78, 61] Operation: 106-45=61 Exploring Operation: 78+45=123, Resulting Numbers: [106, 123] Generated Node #0,2,2: 93:[106, 123] Operation: 78+45=123 Exploring Operation: 106-78=28, Resulting Numbers: [45, 28] Generated Node #0,2,3: 93:[45, 28] Operation: 106-78=28 Exploring Operation: 45+106=151, Resulting Numbers: [78, 151] Generated Node #0,2,4: 93:[78, 151] Operation: 45+106=151 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[106, 33], Operations: ['72+34=106', '78-45=33'] Exploring Operation: 106-33=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 106+33=139, Resulting Numbers: [139] 139,93 unequal: No Solution Exploring Operation: 106*33=3498, Resulting Numbers: [3498] 3498,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 93:[45, 28], Operations: ['72+34=106', '106-78=28'] Exploring Operation: 45+28=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 45*28=1260, Resulting Numbers: [1260] 1260,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[106, 123], Operations: ['72+34=106', '78+45=123'] Exploring Operation: 106*123=13038, Resulting Numbers: [13038] 13038,93 unequal: No Solution Exploring Operation: 106+123=229, Resulting Numbers: [229] 229,93 unequal: No Solution Exploring Operation: 123-106=17, Resulting Numbers: [17] 17,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[78, 61], Operations: ['72+34=106', '106-45=61'] Exploring Operation: 78*61=4758, Resulting Numbers: [4758] 4758,93 unequal: No Solution Exploring Operation: 78-61=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 78+61=139, Resulting Numbers: [139] 139,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 93:[78, 151], Operations: ['72+34=106', '45+106=151'] Exploring Operation: 78*151=11778, Resulting Numbers: [11778] 11778,93 unequal: No Solution Exploring Operation: 78+151=229, Resulting Numbers: [229] 229,93 unequal: No Solution Exploring Operation: 151-78=73, Resulting Numbers: [73] 73,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 38, 20, 16, 6 ]
40
[ "38-20=18", "16+6=22", "18+22=40" ]
Current State: 40:[38, 20, 16, 6], Operations: [] Exploring Operation: 38-20=18, Resulting Numbers: [16, 6, 18] Generated Node #2: [16, 6, 18] from Operation: 38-20=18 Current State: 40:[16, 6, 18], Operations: ['38-20=18'] Exploring Operation: 16+6=22, Resulting Numbers: [18, 22] Generated Node #3: [18, 22] from Operation: 16+6=22 Current State: 40:[18, 22], Operations: ['38-20=18', '16+6=22'] Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[38, 20, 16, 6], Operations: [] Exploring Operation: 16+6=22, Resulting Numbers: [38, 20, 22] Generated Node #0,0: 40:[38, 20, 22] Operation: 16+6=22 Exploring Operation: 38-20=18, Resulting Numbers: [16, 6, 18] Generated Node #0,1: 40:[16, 6, 18] Operation: 38-20=18 Exploring Operation: 38-16=22, Resulting Numbers: [20, 6, 22] Generated Node #0,2: 40:[20, 6, 22] Operation: 38-16=22 Exploring Operation: 16-6=10, Resulting Numbers: [38, 20, 10] Generated Node #0,3: 40:[38, 20, 10] Operation: 16-6=10 Exploring Operation: 20-16=4, Resulting Numbers: [38, 6, 4] Generated Node #0,4: 40:[38, 6, 4] Operation: 20-16=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[38, 20, 10], Operations: ['16-6=10'] Exploring Operation: 38-20=18, Resulting Numbers: [10, 18] Generated Node #0,3,0: 40:[10, 18] Operation: 38-20=18 Exploring Operation: 38-10=28, Resulting Numbers: [20, 28] Generated Node #0,3,1: 40:[20, 28] Operation: 38-10=28 Exploring Operation: 38+10=48, Resulting Numbers: [20, 48] Generated Node #0,3,2: 40:[20, 48] Operation: 38+10=48 Exploring Operation: 20-10=10, Resulting Numbers: [38, 10] Generated Node #0,3,3: 40:[38, 10] Operation: 20-10=10 Exploring Operation: 20/10=2, Resulting Numbers: [38, 2] Generated Node #0,3,4: 40:[38, 2] Operation: 20/10=2 Moving to Node #0,3,0 Current State: 40:[10, 18], Operations: ['16-6=10', '38-20=18'] Exploring Operation: 10*18=180, Resulting Numbers: [180] 180,40 unequal: No Solution Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,40 unequal: No Solution Moving to Node #0,3,4 Current State: 40:[38, 2], Operations: ['16-6=10', '20/10=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[38, 20, 16, 6], Operations: [] Exploring Operation: 16-6=10, Resulting Numbers: [38, 20, 10] Generated Node #0,3: 40:[38, 20, 10] Operation: 16-6=10 Moving to Node #0,3 Current State: 40:[38, 20, 10], Operations: ['16-6=10'] Exploring Operation: 20/10=2, Resulting Numbers: [38, 2] Generated Node #0,3,4: 40:[38, 2] Operation: 20/10=2 Moving to Node #0,3,4 Current State: 40:[38, 2], Operations: ['16-6=10', '20/10=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 2, 41, 56, 72 ]
61
[ "72/2=36", "41+56=97", "97-36=61" ]
Current State: 61:[2, 41, 56, 72], Operations: [] Exploring Operation: 72/2=36, Resulting Numbers: [41, 56, 36] Generated Node #2: [41, 56, 36] from Operation: 72/2=36 Current State: 61:[41, 56, 36], Operations: ['72/2=36'] Exploring Operation: 41+56=97, Resulting Numbers: [36, 97] Generated Node #3: [36, 97] from Operation: 41+56=97 Current State: 61:[36, 97], Operations: ['72/2=36', '41+56=97'] Exploring Operation: 97-36=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[2, 41, 56, 72], Operations: [] Exploring Operation: 2*41=82, Resulting Numbers: [56, 72, 82] Generated Node #0,0: 61:[56, 72, 82] Operation: 2*41=82 Exploring Operation: 72-2=70, Resulting Numbers: [41, 56, 70] Generated Node #0,1: 61:[41, 56, 70] Operation: 72-2=70 Exploring Operation: 2+56=58, Resulting Numbers: [41, 72, 58] Generated Node #0,2: 61:[41, 72, 58] Operation: 2+56=58 Exploring Operation: 2+41=43, Resulting Numbers: [56, 72, 43] Generated Node #0,3: 61:[56, 72, 43] Operation: 2+41=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[41, 56, 70], Operations: ['72-2=70'] Exploring Operation: 70-41=29, Resulting Numbers: [56, 29] Generated Node #0,1,0: 61:[56, 29] Operation: 70-41=29 Exploring Operation: 41+56=97, Resulting Numbers: [70, 97] Generated Node #0,1,1: 61:[70, 97] Operation: 41+56=97 Exploring Operation: 56-41=15, Resulting Numbers: [70, 15] Generated Node #0,1,2: 61:[70, 15] Operation: 56-41=15 Exploring Operation: 41+70=111, Resulting Numbers: [56, 111] Generated Node #0,1,3: 61:[56, 111] Operation: 41+70=111 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[56, 29], Operations: ['72-2=70', '70-41=29'] Exploring Operation: 56+29=85, Resulting Numbers: [85] 85,61 unequal: No Solution Exploring Operation: 56*29=1624, Resulting Numbers: [1624] 1624,61 unequal: No Solution Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,61 unequal: No Solution No 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: 61:[70, 97], Operations: ['72-2=70', '41+56=97'] Exploring Operation: 70+97=167, Resulting Numbers: [167] 167,61 unequal: No Solution Exploring Operation: 70*97=6790, Resulting Numbers: [6790] 6790,61 unequal: No Solution Exploring Operation: 97-70=27, Resulting Numbers: [27] 27,61 unequal: No Solution No 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: 61:[70, 15], Operations: ['72-2=70', '56-41=15'] Exploring Operation: 70+15=85, Resulting Numbers: [85] 85,61 unequal: No Solution Exploring Operation: 70*15=1050, Resulting Numbers: [1050] 1050,61 unequal: No Solution Exploring Operation: 70-15=55, Resulting Numbers: [55] 55,61 unequal: No Solution No 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: 61:[56, 111], Operations: ['72-2=70', '41+70=111'] Exploring Operation: 56+111=167, Resulting Numbers: [167] 167,61 unequal: No Solution Exploring Operation: 56*111=6216, Resulting Numbers: [6216] 6216,61 unequal: No Solution Exploring Operation: 111-56=55, Resulting Numbers: [55] 55,61 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: 61:[41, 72, 58], Operations: ['2+56=58'] Exploring Operation: 58-41=17, Resulting Numbers: [72, 17] Generated Node #0,2,0: 61:[72, 17] Operation: 58-41=17 Exploring Operation: 72-41=31, Resulting Numbers: [58, 31] Generated Node #0,2,1: 61:[58, 31] Operation: 72-41=31 Exploring Operation: 41+58=99, Resulting Numbers: [72, 99] Generated Node #0,2,2: 61:[72, 99] Operation: 41+58=99 Exploring Operation: 41+72=113, Resulting Numbers: [58, 113] Generated Node #0,2,3: 61:[58, 113] Operation: 41+72=113 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 61:[58, 31], Operations: ['2+56=58', '72-41=31'] Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 58*31=1798, Resulting Numbers: [1798] 1798,61 unequal: No Solution Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,61 unequal: No Solution No 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: 61:[72, 99], Operations: ['2+56=58', '41+58=99'] Exploring Operation: 72*99=7128, Resulting Numbers: [7128] 7128,61 unequal: No Solution Exploring Operation: 99-72=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 72+99=171, Resulting Numbers: [171] 171,61 unequal: No Solution No 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: 61:[72, 17], Operations: ['2+56=58', '58-41=17'] Exploring Operation: 72*17=1224, Resulting Numbers: [1224] 1224,61 unequal: No Solution Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,61 unequal: No Solution Exploring Operation: 72+17=89, Resulting Numbers: [89] 89,61 unequal: No Solution No 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: 61:[58, 113], Operations: ['2+56=58', '41+72=113'] Exploring Operation: 58*113=6554, Resulting Numbers: [6554] 6554,61 unequal: No Solution Exploring Operation: 58+113=171, Resulting Numbers: [171] 171,61 unequal: No Solution Exploring Operation: 113-58=55, Resulting Numbers: [55] 55,61 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: 61:[56, 72, 43], Operations: ['2+41=43'] Exploring Operation: 72-43=29, Resulting Numbers: [56, 29] Generated Node #0,3,0: 61:[56, 29] Operation: 72-43=29 Exploring Operation: 56-43=13, Resulting Numbers: [72, 13] Generated Node #0,3,1: 61:[72, 13] Operation: 56-43=13 Exploring Operation: 56+43=99, Resulting Numbers: [72, 99] Generated Node #0,3,2: 61:[72, 99] Operation: 56+43=99 Exploring Operation: 72+43=115, Resulting Numbers: [56, 115] Generated Node #0,3,3: 61:[56, 115] Operation: 72+43=115 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 61:[56, 29], Operations: ['2+41=43', '72-43=29'] Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 56+29=85, Resulting Numbers: [85] 85,61 unequal: No Solution Exploring Operation: 56*29=1624, Resulting Numbers: [1624] 1624,61 unequal: No Solution No 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: 61:[72, 99], Operations: ['2+41=43', '56+43=99'] Exploring Operation: 72+99=171, Resulting Numbers: [171] 171,61 unequal: No Solution Exploring Operation: 99-72=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 72*99=7128, Resulting Numbers: [7128] 7128,61 unequal: No Solution No 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: 61:[72, 13], Operations: ['2+41=43', '56-43=13'] Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,61 unequal: No Solution Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,61 unequal: No Solution Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,61 unequal: No Solution No 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: 61:[56, 115], Operations: ['2+41=43', '72+43=115'] Exploring Operation: 115-56=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 56+115=171, Resulting Numbers: [171] 171,61 unequal: No Solution Exploring Operation: 56*115=6440, Resulting Numbers: [6440] 6440,61 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: 61:[56, 72, 82], Operations: ['2*41=82'] Exploring Operation: 82-72=10, Resulting Numbers: [56, 10] Generated Node #0,0,0: 61:[56, 10] Operation: 82-72=10 Exploring Operation: 72-56=16, Resulting Numbers: [82, 16] Generated Node #0,0,1: 61:[82, 16] Operation: 72-56=16 Exploring Operation: 82-56=26, Resulting Numbers: [72, 26] Generated Node #0,0,2: 61:[72, 26] Operation: 82-56=26 Exploring Operation: 56+72=128, Resulting Numbers: [82, 128] Generated Node #0,0,3: 61:[82, 128] Operation: 56+72=128 Moving to Node #0,0,2 Current State: 61:[72, 26], Operations: ['2*41=82', '82-56=26'] Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 72*26=1872, Resulting Numbers: [1872] 1872,61 unequal: No Solution Exploring Operation: 72+26=98, Resulting Numbers: [98] 98,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[56, 10], Operations: ['2*41=82', '82-72=10'] Exploring Operation: 56*10=560, Resulting Numbers: [560] 560,61 unequal: No Solution Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 56+10=66, Resulting Numbers: [66] 66,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[82, 16], Operations: ['2*41=82', '72-56=16'] Exploring Operation: 82*16=1312, Resulting Numbers: [1312] 1312,61 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,61 unequal: No Solution Exploring Operation: 82+16=98, Resulting Numbers: [98] 98,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[82, 128], Operations: ['2*41=82', '56+72=128'] Exploring Operation: 128-82=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 82*128=10496, Resulting Numbers: [10496] 10496,61 unequal: No Solution Exploring Operation: 82+128=210, Resulting Numbers: [210] 210,61 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
[ 75, 27, 90, 38 ]
15
[ "75+90=165", "38-27=11", "165/11=15" ]
Current State: 15:[75, 27, 90, 38], Operations: [] Exploring Operation: 75+90=165, Resulting Numbers: [27, 38, 165] Generated Node #2: [27, 38, 165] from Operation: 75+90=165 Current State: 15:[27, 38, 165], Operations: ['75+90=165'] Exploring Operation: 38-27=11, Resulting Numbers: [165, 11] Generated Node #3: [165, 11] from Operation: 38-27=11 Current State: 15:[165, 11], Operations: ['75+90=165', '38-27=11'] Exploring Operation: 165/11=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[75, 27, 90, 38], Operations: [] Exploring Operation: 90-75=15, Resulting Numbers: [27, 38, 15] Generated Node #0,0: 15:[27, 38, 15] Operation: 90-75=15 Moving to Node #0,0 Current State: 15:[27, 38, 15], Operations: ['90-75=15'] Exploring Operation: 38-27=11, Resulting Numbers: [15, 11] Generated Node #0,0,0: 15:[15, 11] Operation: 38-27=11 Moving to Node #0,0,0 Current State: 15:[15, 11], Operations: ['90-75=15', '38-27=11'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,15 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 66, 96, 33, 77 ]
79
[ "96*77=7392", "7392/66=112", "112-33=79" ]
Current State: 79:[66, 96, 33, 77], Operations: [] Exploring Operation: 96*77=7392, Resulting Numbers: [66, 33, 7392] Generated Node #2: [66, 33, 7392] from Operation: 96*77=7392 Current State: 79:[66, 33, 7392], Operations: ['96*77=7392'] Exploring Operation: 7392/66=112, Resulting Numbers: [33, 112] Generated Node #3: [33, 112] from Operation: 7392/66=112 Current State: 79:[33, 112], Operations: ['96*77=7392', '7392/66=112'] Exploring Operation: 112-33=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[66, 96, 33, 77], Operations: [] Exploring Operation: 96-33=63, Resulting Numbers: [66, 77, 63] Generated Node #0,0: 79:[66, 77, 63] Operation: 96-33=63 Exploring Operation: 66-33=33, Resulting Numbers: [96, 77, 33] Generated Node #0,1: 79:[96, 77, 33] Operation: 66-33=33 Exploring Operation: 66+33=99, Resulting Numbers: [96, 77, 99] Generated Node #0,2: 79:[96, 77, 99] Operation: 66+33=99 Exploring Operation: 33+77=110, Resulting Numbers: [66, 96, 110] Generated Node #0,3: 79:[66, 96, 110] Operation: 33+77=110 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[66, 77, 63], Operations: ['96-33=63'] Exploring Operation: 77+63=140, Resulting Numbers: [66, 140] Generated Node #0,0,0: 79:[66, 140] Operation: 77+63=140 Exploring Operation: 66+63=129, Resulting Numbers: [77, 129] Generated Node #0,0,1: 79:[77, 129] Operation: 66+63=129 Exploring Operation: 66-63=3, Resulting Numbers: [77, 3] Generated Node #0,0,2: 79:[77, 3] Operation: 66-63=3 Exploring Operation: 77-63=14, Resulting Numbers: [66, 14] Generated Node #0,0,3: 79:[66, 14] Operation: 77-63=14 Moving to Node #0,0,1 Current State: 79:[77, 129], Operations: ['96-33=63', '66+63=129'] Exploring Operation: 77*129=9933, Resulting Numbers: [9933] 9933,79 unequal: No Solution Exploring Operation: 77+129=206, Resulting Numbers: [206] 206,79 unequal: No Solution Exploring Operation: 129-77=52, Resulting Numbers: [52] 52,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[66, 140], Operations: ['96-33=63', '77+63=140'] Exploring Operation: 140-66=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 66*140=9240, Resulting Numbers: [9240] 9240,79 unequal: No Solution Exploring Operation: 66+140=206, Resulting Numbers: [206] 206,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[66, 14], Operations: ['96-33=63', '77-63=14'] Exploring Operation: 66+14=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 66*14=924, Resulting Numbers: [924] 924,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[77, 3], Operations: ['96-33=63', '66-63=3'] Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 77*3=231, Resulting Numbers: [231] 231,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[96, 77, 99], Operations: ['66+33=99'] Exploring Operation: 96-77=19, Resulting Numbers: [99, 19] Generated Node #0,2,0: 79:[99, 19] Operation: 96-77=19 Exploring Operation: 96+77=173, Resulting Numbers: [99, 173] Generated Node #0,2,1: 79:[99, 173] Operation: 96+77=173 Exploring Operation: 99-96=3, Resulting Numbers: [77, 3] Generated Node #0,2,2: 79:[77, 3] Operation: 99-96=3 Exploring Operation: 99-77=22, Resulting Numbers: [96, 22] Generated Node #0,2,3: 79:[96, 22] Operation: 99-77=22 Moving to Node #0,2,3 Current State: 79:[96, 22], Operations: ['66+33=99', '99-77=22'] Exploring Operation: 96+22=118, Resulting Numbers: [118] 118,79 unequal: No Solution Exploring Operation: 96*22=2112, Resulting Numbers: [2112] 2112,79 unequal: No Solution Exploring Operation: 96-22=74, Resulting Numbers: [74] 74,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[77, 3], Operations: ['66+33=99', '99-96=3'] Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 77*3=231, Resulting Numbers: [231] 231,79 unequal: No Solution Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[99, 19], Operations: ['66+33=99', '96-77=19'] Exploring Operation: 99+19=118, Resulting Numbers: [118] 118,79 unequal: No Solution Exploring Operation: 99*19=1881, Resulting Numbers: [1881] 1881,79 unequal: No Solution Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[99, 173], Operations: ['66+33=99', '96+77=173'] Exploring Operation: 99+173=272, Resulting Numbers: [272] 272,79 unequal: No Solution Exploring Operation: 99*173=17127, Resulting Numbers: [17127] 17127,79 unequal: No Solution Exploring Operation: 173-99=74, Resulting Numbers: [74] 74,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,3 Current State: 79:[66, 96, 110], Operations: ['33+77=110'] Exploring Operation: 110-96=14, Resulting Numbers: [66, 14] Generated Node #0,3,0: 79:[66, 14] Operation: 110-96=14 Exploring Operation: 110-66=44, Resulting Numbers: [96, 44] Generated Node #0,3,1: 79:[96, 44] Operation: 110-66=44 Exploring Operation: 96-66=30, Resulting Numbers: [110, 30] Generated Node #0,3,2: 79:[110, 30] Operation: 96-66=30 Exploring Operation: 66+96=162, Resulting Numbers: [110, 162] Generated Node #0,3,3: 79:[110, 162] Operation: 66+96=162 Moving to Node #0,3,1 Current State: 79:[96, 44], Operations: ['33+77=110', '110-66=44'] Exploring Operation: 96+44=140, Resulting Numbers: [140] 140,79 unequal: No Solution Exploring Operation: 96*44=4224, Resulting Numbers: [4224] 4224,79 unequal: No Solution Exploring Operation: 96-44=52, Resulting Numbers: [52] 52,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[66, 14], Operations: ['33+77=110', '110-96=14'] Exploring Operation: 66*14=924, Resulting Numbers: [924] 924,79 unequal: No Solution Exploring Operation: 66+14=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[110, 30], Operations: ['33+77=110', '96-66=30'] Exploring Operation: 110-30=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 110*30=3300, Resulting Numbers: [3300] 3300,79 unequal: No Solution Exploring Operation: 110+30=140, Resulting Numbers: [140] 140,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[110, 162], Operations: ['33+77=110', '66+96=162'] Exploring Operation: 110+162=272, Resulting Numbers: [272] 272,79 unequal: No Solution Exploring Operation: 110*162=17820, Resulting Numbers: [17820] 17820,79 unequal: No Solution Exploring Operation: 162-110=52, Resulting Numbers: [52] 52,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[96, 77, 33], Operations: ['66-33=33'] Exploring Operation: 77-33=44, Resulting Numbers: [96, 44] Generated Node #0,1,0: 79:[96, 44] Operation: 77-33=44 Exploring Operation: 96+33=129, Resulting Numbers: [77, 129] Generated Node #0,1,1: 79:[77, 129] Operation: 96+33=129 Exploring Operation: 96-33=63, Resulting Numbers: [77, 63] Generated Node #0,1,2: 79:[77, 63] Operation: 96-33=63 Exploring Operation: 77+33=110, Resulting Numbers: [96, 110] Generated Node #0,1,3: 79:[96, 110] Operation: 77+33=110 Moving to Node #0,1,2 Current State: 79:[77, 63], Operations: ['66-33=33', '96-33=63'] Exploring Operation: 77+63=140, Resulting Numbers: [140] 140,79 unequal: No Solution Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,79 unequal: No Solution Exploring Operation: 77*63=4851, Resulting Numbers: [4851] 4851,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[96, 110], Operations: ['66-33=33', '77+33=110'] Exploring Operation: 96+110=206, Resulting Numbers: [206] 206,79 unequal: No Solution Exploring Operation: 96*110=10560, Resulting Numbers: [10560] 10560,79 unequal: No Solution Exploring Operation: 110-96=14, Resulting Numbers: [14] 14,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[77, 129], Operations: ['66-33=33', '96+33=129'] Exploring Operation: 77*129=9933, Resulting Numbers: [9933] 9933,79 unequal: No Solution Exploring Operation: 129-77=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 77+129=206, Resulting Numbers: [206] 206,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[96, 44], Operations: ['66-33=33', '77-33=44'] Exploring Operation: 96+44=140, Resulting Numbers: [140] 140,79 unequal: No Solution Exploring Operation: 96*44=4224, Resulting Numbers: [4224] 4224,79 unequal: No Solution Exploring Operation: 96-44=52, Resulting Numbers: [52] 52,79 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
[ 92, 40, 80, 5 ]
99
[ "92+5=97", "80/40=2", "97+2=99" ]
Current State: 99:[92, 40, 80, 5], Operations: [] Exploring Operation: 92+5=97, Resulting Numbers: [40, 80, 97] Generated Node #2: [40, 80, 97] from Operation: 92+5=97 Current State: 99:[40, 80, 97], Operations: ['92+5=97'] Exploring Operation: 80/40=2, Resulting Numbers: [97, 2] Generated Node #3: [97, 2] from Operation: 80/40=2 Current State: 99:[97, 2], Operations: ['92+5=97', '80/40=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[92, 40, 80, 5], Operations: [] Exploring Operation: 92-80=12, Resulting Numbers: [40, 5, 12] Generated Node #0,0: 99:[40, 5, 12] Operation: 92-80=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[40, 5, 12], Operations: ['92-80=12'] Exploring Operation: 40/5=8, Resulting Numbers: [12, 8] Generated Node #0,0,0: 99:[12, 8] Operation: 40/5=8 Moving to Node #0,0,0 Current State: 99:[12, 8], Operations: ['92-80=12', '40/5=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,99 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
[ 17, 59, 90, 63 ]
50
[ "90+63=153", "153/17=9", "59-9=50" ]
Current State: 50:[17, 59, 90, 63], Operations: [] Exploring Operation: 90+63=153, Resulting Numbers: [17, 59, 153] Generated Node #2: [17, 59, 153] from Operation: 90+63=153 Current State: 50:[17, 59, 153], Operations: ['90+63=153'] Exploring Operation: 153/17=9, Resulting Numbers: [59, 9] Generated Node #3: [59, 9] from Operation: 153/17=9 Current State: 50:[59, 9], Operations: ['90+63=153', '153/17=9'] Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[17, 59, 90, 63], Operations: [] Exploring Operation: 90-59=31, Resulting Numbers: [17, 63, 31] Generated Node #0,0: 50:[17, 63, 31] Operation: 90-59=31 Exploring Operation: 90-63=27, Resulting Numbers: [17, 59, 27] Generated Node #0,1: 50:[17, 59, 27] Operation: 90-63=27 Moving to Node #0,1 Current State: 50:[17, 59, 27], Operations: ['90-63=27'] Exploring Operation: 27-17=10, Resulting Numbers: [59, 10] Generated Node #0,1,0: 50:[59, 10] Operation: 27-17=10 Exploring Operation: 59-17=42, Resulting Numbers: [27, 42] Generated Node #0,1,1: 50:[27, 42] Operation: 59-17=42 Moving to Node #0,0 Current State: 50:[17, 63, 31], Operations: ['90-59=31'] Exploring Operation: 63-31=32, Resulting Numbers: [17, 32] Generated Node #0,0,0: 50:[17, 32] Operation: 63-31=32 Exploring Operation: 63-17=46, Resulting Numbers: [31, 46] Generated Node #0,0,1: 50:[31, 46] Operation: 63-17=46 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[31, 46], Operations: ['90-59=31', '63-17=46'] Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,50 unequal: No Solution Exploring Operation: 31+46=77, Resulting Numbers: [77] 77,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[17, 32], Operations: ['90-59=31', '63-31=32'] Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,50 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 50:[59, 10], Operations: ['90-63=27', '27-17=10'] Exploring Operation: 59+10=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[27, 42], Operations: ['90-63=27', '59-17=42'] Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,50 unequal: No Solution Exploring Operation: 27+42=69, Resulting Numbers: [69] 69,50 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 3, 80, 89, 51 ]
16
[ "3*51=153", "80+89=169", "169-153=16" ]
Current State: 16:[3, 80, 89, 51], Operations: [] Exploring Operation: 3*51=153, Resulting Numbers: [80, 89, 153] Generated Node #2: [80, 89, 153] from Operation: 3*51=153 Current State: 16:[80, 89, 153], Operations: ['3*51=153'] Exploring Operation: 80+89=169, Resulting Numbers: [153, 169] Generated Node #3: [153, 169] from Operation: 80+89=169 Current State: 16:[153, 169], Operations: ['3*51=153', '80+89=169'] Exploring Operation: 169-153=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[3, 80, 89, 51], Operations: [] Exploring Operation: 89-80=9, Resulting Numbers: [3, 51, 9] Generated Node #0,0: 16:[3, 51, 9] Operation: 89-80=9 Exploring Operation: 80-3=77, Resulting Numbers: [89, 51, 77] Generated Node #0,1: 16:[89, 51, 77] Operation: 80-3=77 Exploring Operation: 89-51=38, Resulting Numbers: [3, 80, 38] Generated Node #0,2: 16:[3, 80, 38] Operation: 89-51=38 Exploring Operation: 80-51=29, Resulting Numbers: [3, 89, 29] Generated Node #0,3: 16:[3, 89, 29] Operation: 80-51=29 Exploring Operation: 51/3=17, Resulting Numbers: [80, 89, 17] Generated Node #0,4: 16:[80, 89, 17] Operation: 51/3=17 Moving to Node #0,0 Current State: 16:[3, 51, 9], Operations: ['89-80=9'] Exploring Operation: 51-9=42, Resulting Numbers: [3, 42] Generated Node #0,0,0: 16:[3, 42] Operation: 51-9=42 Exploring Operation: 51-3=48, Resulting Numbers: [9, 48] Generated Node #0,0,1: 16:[9, 48] Operation: 51-3=48 Exploring Operation: 9/3=3, Resulting Numbers: [51, 3] Generated Node #0,0,2: 16:[51, 3] Operation: 9/3=3 Exploring Operation: 51/3=17, Resulting Numbers: [9, 17] Generated Node #0,0,3: 16:[9, 17] Operation: 51/3=17 Exploring Operation: 9-3=6, Resulting Numbers: [51, 6] Generated Node #0,0,4: 16:[51, 6] Operation: 9-3=6 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 16:[9, 17], Operations: ['89-80=9', '51/3=17'] Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[3, 42], Operations: ['89-80=9', '51-9=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,16 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[9, 48], Operations: ['89-80=9', '51-3=48'] Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,16 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[51, 3], Operations: ['89-80=9', '9/3=3'] Exploring Operation: 51*3=153, Resulting Numbers: [153] 153,16 unequal: No Solution Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,16 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 16:[51, 6], Operations: ['89-80=9', '9-3=6'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,16 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 16:[3, 89, 29], Operations: ['80-51=29'] Exploring Operation: 3+29=32, Resulting Numbers: [89, 32] Generated Node #0,3,0: 16:[89, 32] Operation: 3+29=32 Exploring Operation: 29-3=26, Resulting Numbers: [89, 26] Generated Node #0,3,1: 16:[89, 26] Operation: 29-3=26 Exploring Operation: 89-3=86, Resulting Numbers: [29, 86] Generated Node #0,3,2: 16:[29, 86] Operation: 89-3=86 Exploring Operation: 3+89=92, Resulting Numbers: [29, 92] Generated Node #0,3,3: 16:[29, 92] Operation: 3+89=92 Exploring Operation: 89-29=60, Resulting Numbers: [3, 60] Generated Node #0,3,4: 16:[3, 60] Operation: 89-29=60 Moving to Node #0,2 Current State: 16:[3, 80, 38], Operations: ['89-51=38'] Exploring Operation: 80-3=77, Resulting Numbers: [38, 77] Generated Node #0,2,0: 16:[38, 77] Operation: 80-3=77 Exploring Operation: 3+38=41, Resulting Numbers: [80, 41] Generated Node #0,2,1: 16:[80, 41] Operation: 3+38=41 Exploring Operation: 3+80=83, Resulting Numbers: [38, 83] Generated Node #0,2,2: 16:[38, 83] Operation: 3+80=83 Exploring Operation: 80-38=42, Resulting Numbers: [3, 42] Generated Node #0,2,3: 16:[3, 42] Operation: 80-38=42 Exploring Operation: 38-3=35, Resulting Numbers: [80, 35] Generated Node #0,2,4: 16:[80, 35] Operation: 38-3=35 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 16:[3, 42], Operations: ['89-51=38', '80-38=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 16:[38, 77], Operations: ['89-51=38', '80-3=77'] Exploring Operation: 38*77=2926, Resulting Numbers: [2926] 2926,16 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 38+77=115, Resulting Numbers: [115] 115,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 16:[80, 35], Operations: ['89-51=38', '38-3=35'] Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,16 unequal: No Solution Exploring Operation: 80+35=115, Resulting Numbers: [115] 115,16 unequal: No Solution Exploring Operation: 80*35=2800, Resulting Numbers: [2800] 2800,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[80, 41], Operations: ['89-51=38', '3+38=41'] Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 80+41=121, Resulting Numbers: [121] 121,16 unequal: No Solution Exploring Operation: 80*41=3280, Resulting Numbers: [3280] 3280,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 16:[38, 83], Operations: ['89-51=38', '3+80=83'] Exploring Operation: 38*83=3154, Resulting Numbers: [3154] 3154,16 unequal: No Solution Exploring Operation: 38+83=121, Resulting Numbers: [121] 121,16 unequal: No Solution Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,16 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: 16:[80, 89, 17], Operations: ['51/3=17'] Exploring Operation: 80-17=63, Resulting Numbers: [89, 63] Generated Node #0,4,0: 16:[89, 63] Operation: 80-17=63 Exploring Operation: 80+17=97, Resulting Numbers: [89, 97] Generated Node #0,4,1: 16:[89, 97] Operation: 80+17=97 Exploring Operation: 89-80=9, Resulting Numbers: [17, 9] Generated Node #0,4,2: 16:[17, 9] Operation: 89-80=9 Exploring Operation: 89-17=72, Resulting Numbers: [80, 72] Generated Node #0,4,3: 16:[80, 72] Operation: 89-17=72 Exploring Operation: 80+89=169, Resulting Numbers: [17, 169] Generated Node #0,4,4: 16:[17, 169] Operation: 80+89=169 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 16:[17, 9], Operations: ['51/3=17', '89-80=9'] Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,16 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 16:[89, 63], Operations: ['51/3=17', '80-17=63'] Exploring Operation: 89*63=5607, Resulting Numbers: [5607] 5607,16 unequal: No Solution Exploring Operation: 89-63=26, Resulting Numbers: [26] 26,16 unequal: No Solution Exploring Operation: 89+63=152, Resulting Numbers: [152] 152,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 16:[80, 72], Operations: ['51/3=17', '89-17=72'] Exploring Operation: 80*72=5760, Resulting Numbers: [5760] 5760,16 unequal: No Solution Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 80+72=152, Resulting Numbers: [152] 152,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 16:[89, 97], Operations: ['51/3=17', '80+17=97'] Exploring Operation: 89+97=186, Resulting Numbers: [186] 186,16 unequal: No Solution Exploring Operation: 89*97=8633, Resulting Numbers: [8633] 8633,16 unequal: No Solution Exploring Operation: 97-89=8, Resulting Numbers: [8] 8,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 16:[17, 169], Operations: ['51/3=17', '80+89=169'] Exploring Operation: 17*169=2873, Resulting Numbers: [2873] 2873,16 unequal: No Solution Exploring Operation: 169-17=152, Resulting Numbers: [152] 152,16 unequal: No Solution Exploring Operation: 17+169=186, Resulting Numbers: [186] 186,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 16:[89, 51, 77], Operations: ['80-3=77'] Exploring Operation: 89-51=38, Resulting Numbers: [77, 38] Generated Node #0,1,0: 16:[77, 38] Operation: 89-51=38 Exploring Operation: 77-51=26, Resulting Numbers: [89, 26] Generated Node #0,1,1: 16:[89, 26] Operation: 77-51=26 Exploring Operation: 89+51=140, Resulting Numbers: [77, 140] Generated Node #0,1,2: 16:[77, 140] Operation: 89+51=140 Exploring Operation: 89+77=166, Resulting Numbers: [51, 166] Generated Node #0,1,3: 16:[51, 166] Operation: 89+77=166 Exploring Operation: 89-77=12, Resulting Numbers: [51, 12] Generated Node #0,1,4: 16:[51, 12] Operation: 89-77=12 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 16:[51, 12], Operations: ['80-3=77', '89-77=12'] Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,16 unequal: No Solution Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 51*12=612, Resulting Numbers: [612] 612,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[77, 38], Operations: ['80-3=77', '89-51=38'] Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,16 unequal: No Solution Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[89, 26], Operations: ['80-3=77', '77-51=26'] Exploring Operation: 89+26=115, Resulting Numbers: [115] 115,16 unequal: No Solution Exploring Operation: 89-26=63, Resulting Numbers: [63] 63,16 unequal: No Solution Exploring Operation: 89*26=2314, Resulting Numbers: [2314] 2314,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 16:[77, 140], Operations: ['80-3=77', '89+51=140'] Exploring Operation: 140-77=63, Resulting Numbers: [63] 63,16 unequal: No Solution Exploring Operation: 77*140=10780, Resulting Numbers: [10780] 10780,16 unequal: No Solution Exploring Operation: 77+140=217, Resulting Numbers: [217] 217,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 16:[51, 166], Operations: ['80-3=77', '89+77=166'] Exploring Operation: 51*166=8466, Resulting Numbers: [8466] 8466,16 unequal: No Solution Exploring Operation: 51+166=217, Resulting Numbers: [217] 217,16 unequal: No Solution Exploring Operation: 166-51=115, Resulting Numbers: [115] 115,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,4 Current State: 16:[3, 60], Operations: ['80-51=29', '89-29=60'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,16 unequal: No Solution Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,16 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 3*60=180, Resulting Numbers: [180] 180,16 unequal: No Solution Moving to Node #0,3,2 Current State: 16:[29, 86], Operations: ['80-51=29', '89-3=86'] Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,16 unequal: No Solution Exploring Operation: 29+86=115, Resulting Numbers: [115] 115,16 unequal: No Solution Exploring Operation: 29*86=2494, Resulting Numbers: [2494] 2494,16 unequal: No Solution Moving to Node #0,3,1 Current State: 16:[89, 26], Operations: ['80-51=29', '29-3=26'] Exploring Operation: 89+26=115, Resulting Numbers: [115] 115,16 unequal: No Solution Exploring Operation: 89-26=63, Resulting Numbers: [63] 63,16 unequal: No Solution Exploring Operation: 89*26=2314, Resulting Numbers: [2314] 2314,16 unequal: No Solution Moving to Node #0,3,0 Current State: 16:[89, 32], Operations: ['80-51=29', '3+29=32'] Exploring Operation: 89+32=121, Resulting Numbers: [121] 121,16 unequal: No Solution Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,16 unequal: No Solution Exploring Operation: 89*32=2848, Resulting Numbers: [2848] 2848,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[29, 92], Operations: ['80-51=29', '3+89=92'] Exploring Operation: 29+92=121, Resulting Numbers: [121] 121,16 unequal: No Solution Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,16 unequal: No Solution Exploring Operation: 29*92=2668, Resulting Numbers: [2668] 2668,16 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 3, 27, 55, 12 ]
22
[ "3+27=30", "55*12=660", "660/30=22" ]
Current State: 22:[3, 27, 55, 12], Operations: [] Exploring Operation: 3+27=30, Resulting Numbers: [55, 12, 30] Generated Node #2: [55, 12, 30] from Operation: 3+27=30 Current State: 22:[55, 12, 30], Operations: ['3+27=30'] Exploring Operation: 55*12=660, Resulting Numbers: [30, 660] Generated Node #3: [30, 660] from Operation: 55*12=660 Current State: 22:[30, 660], Operations: ['3+27=30', '55*12=660'] Exploring Operation: 660/30=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[3, 27, 55, 12], Operations: [] Exploring Operation: 55-27=28, Resulting Numbers: [3, 12, 28] Generated Node #0,0: 22:[3, 12, 28] Operation: 55-27=28 Exploring Operation: 55-12=43, Resulting Numbers: [3, 27, 43] Generated Node #0,1: 22:[3, 27, 43] Operation: 55-12=43 Exploring Operation: 27-3=24, Resulting Numbers: [55, 12, 24] Generated Node #0,2: 22:[55, 12, 24] Operation: 27-3=24 Moving to Node #0,0 Current State: 22:[3, 12, 28], Operations: ['55-27=28'] Exploring Operation: 12-3=9, Resulting Numbers: [28, 9] Generated Node #0,0,0: 22:[28, 9] Operation: 12-3=9 Exploring Operation: 28-3=25, Resulting Numbers: [12, 25] Generated Node #0,0,1: 22:[12, 25] Operation: 28-3=25 Exploring Operation: 28-12=16, Resulting Numbers: [3, 16] Generated Node #0,0,2: 22:[3, 16] Operation: 28-12=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[12, 25], Operations: ['55-27=28', '28-3=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,22 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 22:[3, 16], Operations: ['55-27=28', '28-12=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,22 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[28, 9], Operations: ['55-27=28', '12-3=9'] Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,22 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,22 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,22 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: 22:[3, 27, 43], Operations: ['55-12=43'] Exploring Operation: 43-27=16, Resulting Numbers: [3, 16] Generated Node #0,1,0: 22:[3, 16] Operation: 43-27=16 Exploring Operation: 27-3=24, Resulting Numbers: [43, 24] Generated Node #0,1,1: 22:[43, 24] Operation: 27-3=24 Exploring Operation: 27/3=9, Resulting Numbers: [43, 9] Generated Node #0,1,2: 22:[43, 9] Operation: 27/3=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[3, 16], Operations: ['55-12=43', '43-27=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,22 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[43, 24], Operations: ['55-12=43', '27-3=24'] Exploring Operation: 43+24=67, Resulting Numbers: [67] 67,22 unequal: No Solution Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 43*24=1032, Resulting Numbers: [1032] 1032,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 22:[43, 9], Operations: ['55-12=43', '27/3=9'] Exploring Operation: 43*9=387, Resulting Numbers: [387] 387,22 unequal: No Solution Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 43+9=52, Resulting Numbers: [52] 52,22 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: 22:[55, 12, 24], Operations: ['27-3=24'] Exploring Operation: 55-24=31, Resulting Numbers: [12, 31] Generated Node #0,2,0: 22:[12, 31] Operation: 55-24=31 Exploring Operation: 55-12=43, Resulting Numbers: [24, 43] Generated Node #0,2,1: 22:[24, 43] Operation: 55-12=43 Exploring Operation: 24/12=2, Resulting Numbers: [55, 2] Generated Node #0,2,2: 22:[55, 2] Operation: 24/12=2 Moving to Node #0,2,0 Current State: 22:[12, 31], Operations: ['27-3=24', '55-24=31'] Exploring Operation: 12*31=372, Resulting Numbers: [372] 372,22 unequal: No Solution Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 12+31=43, Resulting Numbers: [43] 43,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[24, 43], Operations: ['27-3=24', '55-12=43'] Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 24*43=1032, Resulting Numbers: [1032] 1032,22 unequal: No Solution Exploring Operation: 24+43=67, Resulting Numbers: [67] 67,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[55, 2], Operations: ['27-3=24', '24/12=2'] Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,22 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,22 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 80, 19, 3, 22 ]
33
[ "80+19=99", "3*22=66", "99-66=33" ]
Current State: 33:[80, 19, 3, 22], Operations: [] Exploring Operation: 80+19=99, Resulting Numbers: [3, 22, 99] Generated Node #2: [3, 22, 99] from Operation: 80+19=99 Current State: 33:[3, 22, 99], Operations: ['80+19=99'] Exploring Operation: 3*22=66, Resulting Numbers: [99, 66] Generated Node #3: [99, 66] from Operation: 3*22=66 Current State: 33:[99, 66], Operations: ['80+19=99', '3*22=66'] Exploring Operation: 99-66=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[80, 19, 3, 22], Operations: [] Exploring Operation: 80-19=61, Resulting Numbers: [3, 22, 61] Generated Node #0,0: 33:[3, 22, 61] Operation: 80-19=61 Exploring Operation: 80-22=58, Resulting Numbers: [19, 3, 58] Generated Node #0,1: 33:[19, 3, 58] Operation: 80-22=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[19, 3, 58], Operations: ['80-22=58'] Exploring Operation: 19-3=16, Resulting Numbers: [58, 16] Generated Node #0,1,0: 33:[58, 16] Operation: 19-3=16 Exploring Operation: 58-19=39, Resulting Numbers: [3, 39] Generated Node #0,1,1: 33:[3, 39] Operation: 58-19=39 Moving to Node #0,1,1 Current State: 33:[3, 39], Operations: ['80-22=58', '58-19=39'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,33 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[58, 16], Operations: ['80-22=58', '19-3=16'] Exploring Operation: 58+16=74, Resulting Numbers: [74] 74,33 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[3, 22, 61], Operations: ['80-19=61'] Exploring Operation: 61-22=39, Resulting Numbers: [3, 39] Generated Node #0,0,0: 33:[3, 39] Operation: 61-22=39 Exploring Operation: 3+22=25, Resulting Numbers: [61, 25] Generated Node #0,0,1: 33:[61, 25] Operation: 3+22=25 Moving to Node #0,0,0 Current State: 33:[3, 39], Operations: ['80-19=61', '61-22=39'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,33 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[61, 25], Operations: ['80-19=61', '3+22=25'] Exploring Operation: 61+25=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 99, 67, 5, 49 ]
85
[ "99-67=32", "49-32=17", "5*17=85" ]
Current State: 85:[99, 67, 5, 49], Operations: [] Exploring Operation: 99-67=32, Resulting Numbers: [5, 49, 32] Generated Node #2: [5, 49, 32] from Operation: 99-67=32 Current State: 85:[5, 49, 32], Operations: ['99-67=32'] Exploring Operation: 49-32=17, Resulting Numbers: [5, 17] Generated Node #3: [5, 17] from Operation: 49-32=17 Current State: 85:[5, 17], Operations: ['99-67=32', '49-32=17'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[99, 67, 5, 49], Operations: [] Exploring Operation: 67-49=18, Resulting Numbers: [99, 5, 18] Generated Node #0,0: 85:[99, 5, 18] Operation: 67-49=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[99, 5, 18], Operations: ['67-49=18'] Exploring Operation: 99-18=81, Resulting Numbers: [5, 81] Generated Node #0,0,0: 85:[5, 81] Operation: 99-18=81 Moving to Node #0,0,0 Current State: 85:[5, 81], Operations: ['67-49=18', '99-18=81'] Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 67, 64, 31, 9 ]
19
[ "67-64=3", "31-9=22", "22-3=19" ]
Current State: 19:[67, 64, 31, 9], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [31, 9, 3] Generated Node #2: [31, 9, 3] from Operation: 67-64=3 Current State: 19:[31, 9, 3], Operations: ['67-64=3'] Exploring Operation: 31-9=22, Resulting Numbers: [3, 22] Generated Node #3: [3, 22] from Operation: 31-9=22 Current State: 19:[3, 22], Operations: ['67-64=3', '31-9=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[67, 64, 31, 9], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [31, 9, 3] Generated Node #0,0: 19:[31, 9, 3] Operation: 67-64=3 Exploring Operation: 67-9=58, Resulting Numbers: [64, 31, 58] Generated Node #0,1: 19:[64, 31, 58] Operation: 67-9=58 Exploring Operation: 64-9=55, Resulting Numbers: [67, 31, 55] Generated Node #0,2: 19:[67, 31, 55] Operation: 64-9=55 Exploring Operation: 67-31=36, Resulting Numbers: [64, 9, 36] Generated Node #0,3: 19:[64, 9, 36] Operation: 67-31=36 Exploring Operation: 64-31=33, Resulting Numbers: [67, 9, 33] Generated Node #0,4: 19:[67, 9, 33] Operation: 64-31=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[31, 9, 3], Operations: ['67-64=3'] Exploring Operation: 31+3=34, Resulting Numbers: [9, 34] Generated Node #0,0,0: 19:[9, 34] Operation: 31+3=34 Exploring Operation: 9*3=27, Resulting Numbers: [31, 27] Generated Node #0,0,1: 19:[31, 27] Operation: 9*3=27 Exploring Operation: 31-3=28, Resulting Numbers: [9, 28] Generated Node #0,0,2: 19:[9, 28] Operation: 31-3=28 Exploring Operation: 31-9=22, Resulting Numbers: [3, 22] Generated Node #0,0,3: 19:[3, 22] Operation: 31-9=22 Exploring Operation: 9+3=12, Resulting Numbers: [31, 12] Generated Node #0,0,4: 19:[31, 12] Operation: 9+3=12 Moving to Node #0,0,2 Current State: 19:[9, 28], Operations: ['67-64=3', '31-3=28'] Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,19 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[67, 64, 31, 9], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [31, 9, 3] Generated Node #0,0: 19:[31, 9, 3] Operation: 67-64=3 Moving to Node #0,0 Current State: 19:[31, 9, 3], Operations: ['67-64=3'] Exploring Operation: 31-3=28, Resulting Numbers: [9, 28] Generated Node #0,0,2: 19:[9, 28] Operation: 31-3=28 Moving to Node #0,0,2 Current State: 19:[9, 28], Operations: ['67-64=3', '31-3=28'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 28, 76, 83, 29 ]
25
[ "83-76=7", "28/7=4", "29-4=25" ]
Current State: 25:[28, 76, 83, 29], Operations: [] Exploring Operation: 83-76=7, Resulting Numbers: [28, 29, 7] Generated Node #2: [28, 29, 7] from Operation: 83-76=7 Current State: 25:[28, 29, 7], Operations: ['83-76=7'] Exploring Operation: 28/7=4, Resulting Numbers: [29, 4] Generated Node #3: [29, 4] from Operation: 28/7=4 Current State: 25:[29, 4], Operations: ['83-76=7', '28/7=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[28, 76, 83, 29], Operations: [] Exploring Operation: 83-76=7, Resulting Numbers: [28, 29, 7] Generated Node #0,0: 25:[28, 29, 7] Operation: 83-76=7 Moving to Node #0,0 Current State: 25:[28, 29, 7], Operations: ['83-76=7'] Exploring Operation: 28/7=4, Resulting Numbers: [29, 4] Generated Node #0,0,0: 25:[29, 4] Operation: 28/7=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[29, 4], Operations: ['83-76=7', '28/7=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[28, 76, 83, 29], Operations: [] Exploring Operation: 83-76=7, Resulting Numbers: [28, 29, 7] Generated Node #0,0: 25:[28, 29, 7] Operation: 83-76=7 Moving to Node #0,0 Current State: 25:[28, 29, 7], Operations: ['83-76=7'] Exploring Operation: 28/7=4, Resulting Numbers: [29, 4] Generated Node #0,0,0: 25:[29, 4] Operation: 28/7=4 Moving to Node #0,0,0 Current State: 25:[29, 4], Operations: ['83-76=7', '28/7=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 84, 4, 86, 22 ]
86
[ "84/4=21", "22-21=1", "86*1=86" ]
Current State: 86:[84, 4, 86, 22], Operations: [] Exploring Operation: 84/4=21, Resulting Numbers: [86, 22, 21] Generated Node #2: [86, 22, 21] from Operation: 84/4=21 Current State: 86:[86, 22, 21], Operations: ['84/4=21'] Exploring Operation: 22-21=1, Resulting Numbers: [86, 1] Generated Node #3: [86, 1] from Operation: 22-21=1 Current State: 86:[86, 1], Operations: ['84/4=21', '22-21=1'] Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[84, 4, 86, 22], Operations: [] Exploring Operation: 4*22=88, Resulting Numbers: [84, 86, 88] Generated Node #0,0: 86:[84, 86, 88] Operation: 4*22=88 Exploring Operation: 22-4=18, Resulting Numbers: [84, 86, 18] Generated Node #0,1: 86:[84, 86, 18] Operation: 22-4=18 Moving to Node #0,0 Current State: 86:[84, 86, 88], Operations: ['4*22=88'] Exploring Operation: 86-84=2, Resulting Numbers: [88, 2] Generated Node #0,0,0: 86:[88, 2] Operation: 86-84=2 Exploring Operation: 88-84=4, Resulting Numbers: [86, 4] Generated Node #0,0,1: 86:[86, 4] Operation: 88-84=4 Moving to Node #0,1 Current State: 86:[84, 86, 18], Operations: ['22-4=18'] Exploring Operation: 84+18=102, Resulting Numbers: [86, 102] Generated Node #0,1,0: 86:[86, 102] Operation: 84+18=102 Exploring Operation: 86-84=2, Resulting Numbers: [18, 2] Generated Node #0,1,1: 86:[18, 2] Operation: 86-84=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[86, 102], Operations: ['22-4=18', '84+18=102'] Exploring Operation: 86+102=188, Resulting Numbers: [188] 188,86 unequal: No Solution Exploring Operation: 102-86=16, Resulting Numbers: [16] 16,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,1 Current State: 86:[18, 2], Operations: ['22-4=18', '86-84=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,86 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,86 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: 86:[88, 2], Operations: ['4*22=88', '86-84=2'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[84, 4, 86, 22], Operations: [] Exploring Operation: 4*22=88, Resulting Numbers: [84, 86, 88] Generated Node #0,0: 86:[84, 86, 88] Operation: 4*22=88 Moving to Node #0,0 Current State: 86:[84, 86, 88], Operations: ['4*22=88'] Exploring Operation: 86-84=2, Resulting Numbers: [88, 2] Generated Node #0,0,0: 86:[88, 2] Operation: 86-84=2 Moving to Node #0,0,0 Current State: 86:[88, 2], Operations: ['4*22=88', '86-84=2'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 1, 33, 47, 66 ]
15
[ "1+33=34", "66-47=19", "34-19=15" ]
Current State: 15:[1, 33, 47, 66], Operations: [] Exploring Operation: 1+33=34, Resulting Numbers: [47, 66, 34] Generated Node #2: [47, 66, 34] from Operation: 1+33=34 Current State: 15:[47, 66, 34], Operations: ['1+33=34'] Exploring Operation: 66-47=19, Resulting Numbers: [34, 19] Generated Node #3: [34, 19] from Operation: 66-47=19 Current State: 15:[34, 19], Operations: ['1+33=34', '66-47=19'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[1, 33, 47, 66], Operations: [] Exploring Operation: 66-47=19, Resulting Numbers: [1, 33, 19] Generated Node #0,0: 15:[1, 33, 19] Operation: 66-47=19 Exploring Operation: 66/33=2, Resulting Numbers: [1, 47, 2] Generated Node #0,1: 15:[1, 47, 2] Operation: 66/33=2 Exploring Operation: 66-33=33, Resulting Numbers: [1, 47, 33] Generated Node #0,2: 15:[1, 47, 33] Operation: 66-33=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[1, 33, 19], Operations: ['66-47=19'] Exploring Operation: 33-1=32, Resulting Numbers: [19, 32] Generated Node #0,0,0: 15:[19, 32] Operation: 33-1=32 Exploring Operation: 33-19=14, Resulting Numbers: [1, 14] Generated Node #0,0,1: 15:[1, 14] Operation: 33-19=14 Exploring Operation: 19-1=18, Resulting Numbers: [33, 18] Generated Node #0,0,2: 15:[33, 18] Operation: 19-1=18 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[1, 14], Operations: ['66-47=19', '33-19=14'] Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[1, 33, 47, 66], Operations: [] Exploring Operation: 66-47=19, Resulting Numbers: [1, 33, 19] Generated Node #0,0: 15:[1, 33, 19] Operation: 66-47=19 Moving to Node #0,0 Current State: 15:[1, 33, 19], Operations: ['66-47=19'] Exploring Operation: 33-19=14, Resulting Numbers: [1, 14] Generated Node #0,0,1: 15:[1, 14] Operation: 33-19=14 Moving to Node #0,0,1 Current State: 15:[1, 14], Operations: ['66-47=19', '33-19=14'] Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 91, 52, 4, 46 ]
28
[ "91-52=39", "46-39=7", "4*7=28" ]
Current State: 28:[91, 52, 4, 46], Operations: [] Exploring Operation: 91-52=39, Resulting Numbers: [4, 46, 39] Generated Node #2: [4, 46, 39] from Operation: 91-52=39 Current State: 28:[4, 46, 39], Operations: ['91-52=39'] Exploring Operation: 46-39=7, Resulting Numbers: [4, 7] Generated Node #3: [4, 7] from Operation: 46-39=7 Current State: 28:[4, 7], Operations: ['91-52=39', '46-39=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[91, 52, 4, 46], Operations: [] Exploring Operation: 91-52=39, Resulting Numbers: [4, 46, 39] Generated Node #0,0: 28:[4, 46, 39] Operation: 91-52=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[4, 46, 39], Operations: ['91-52=39'] Exploring Operation: 46-39=7, Resulting Numbers: [4, 7] Generated Node #0,0,0: 28:[4, 7] Operation: 46-39=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[4, 7], Operations: ['91-52=39', '46-39=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[91, 52, 4, 46], Operations: [] Exploring Operation: 91-52=39, Resulting Numbers: [4, 46, 39] Generated Node #0,0: 28:[4, 46, 39] Operation: 91-52=39 Moving to Node #0,0 Current State: 28:[4, 46, 39], Operations: ['91-52=39'] Exploring Operation: 46-39=7, Resulting Numbers: [4, 7] Generated Node #0,0,0: 28:[4, 7] Operation: 46-39=7 Moving to Node #0,0,0 Current State: 28:[4, 7], Operations: ['91-52=39', '46-39=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 26, 18, 52, 1 ]
20
[ "52/26=2", "18*1=18", "2+18=20" ]
Current State: 20:[26, 18, 52, 1], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [18, 1, 2] Generated Node #2: [18, 1, 2] from Operation: 52/26=2 Current State: 20:[18, 1, 2], Operations: ['52/26=2'] Exploring Operation: 18*1=18, Resulting Numbers: [2, 18] Generated Node #3: [2, 18] from Operation: 18*1=18 Current State: 20:[2, 18], Operations: ['52/26=2', '18*1=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[26, 18, 52, 1], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [18, 1, 2] Generated Node #0,0: 20:[18, 1, 2] Operation: 52/26=2 Exploring Operation: 52-26=26, Resulting Numbers: [18, 1, 26] Generated Node #0,1: 20:[18, 1, 26] Operation: 52-26=26 Moving to Node #0,0 Current State: 20:[18, 1, 2], Operations: ['52/26=2'] Exploring Operation: 18+1=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 20:[2, 19] Operation: 18+1=19 Exploring Operation: 18+2=20, Resulting Numbers: [1, 20] Generated Node #0,0,1: 20:[1, 20] Operation: 18+2=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[2, 19], Operations: ['52/26=2', '18+1=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[1, 20], Operations: ['52/26=2', '18+2=20'] Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[26, 18, 52, 1], Operations: [] Exploring Operation: 52/26=2, Resulting Numbers: [18, 1, 2] Generated Node #0,0: 20:[18, 1, 2] Operation: 52/26=2 Moving to Node #0,0 Current State: 20:[18, 1, 2], Operations: ['52/26=2'] Exploring Operation: 18+2=20, Resulting Numbers: [1, 20] Generated Node #0,0,1: 20:[1, 20] Operation: 18+2=20 Moving to Node #0,0,1 Current State: 20:[1, 20], Operations: ['52/26=2', '18+2=20'] Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 60, 1, 9, 2 ]
77
[ "60-1=59", "9*2=18", "59+18=77" ]
Current State: 77:[60, 1, 9, 2], Operations: [] Exploring Operation: 60-1=59, Resulting Numbers: [9, 2, 59] Generated Node #2: [9, 2, 59] from Operation: 60-1=59 Current State: 77:[9, 2, 59], Operations: ['60-1=59'] Exploring Operation: 9*2=18, Resulting Numbers: [59, 18] Generated Node #3: [59, 18] from Operation: 9*2=18 Current State: 77:[59, 18], Operations: ['60-1=59', '9*2=18'] Exploring Operation: 59+18=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[60, 1, 9, 2], Operations: [] Exploring Operation: 60+9=69, Resulting Numbers: [1, 2, 69] Generated Node #0,0: 77:[1, 2, 69] Operation: 60+9=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[1, 2, 69], Operations: ['60+9=69'] Exploring Operation: 1+2=3, Resulting Numbers: [69, 3] Generated Node #0,0,0: 77:[69, 3] Operation: 1+2=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[69, 3], Operations: ['60+9=69', '1+2=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,77 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
[ 80, 73, 38, 8 ]
39
[ "80-73=7", "38+8=46", "46-7=39" ]
Current State: 39:[80, 73, 38, 8], Operations: [] Exploring Operation: 80-73=7, Resulting Numbers: [38, 8, 7] Generated Node #2: [38, 8, 7] from Operation: 80-73=7 Current State: 39:[38, 8, 7], Operations: ['80-73=7'] Exploring Operation: 38+8=46, Resulting Numbers: [7, 46] Generated Node #3: [7, 46] from Operation: 38+8=46 Current State: 39:[7, 46], Operations: ['80-73=7', '38+8=46'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[80, 73, 38, 8], Operations: [] Exploring Operation: 80-73=7, Resulting Numbers: [38, 8, 7] Generated Node #0,0: 39:[38, 8, 7] Operation: 80-73=7 Exploring Operation: 80/8=10, Resulting Numbers: [73, 38, 10] Generated Node #0,1: 39:[73, 38, 10] Operation: 80/8=10 Exploring Operation: 73-38=35, Resulting Numbers: [80, 8, 35] Generated Node #0,2: 39:[80, 8, 35] Operation: 73-38=35 Exploring Operation: 80-38=42, Resulting Numbers: [73, 8, 42] Generated Node #0,3: 39:[73, 8, 42] Operation: 80-38=42 Moving to Node #0,0 Current State: 39:[38, 8, 7], Operations: ['80-73=7'] Exploring Operation: 38+8=46, Resulting Numbers: [7, 46] Generated Node #0,0,0: 39:[7, 46] Operation: 38+8=46 Exploring Operation: 8-7=1, Resulting Numbers: [38, 1] Generated Node #0,0,1: 39:[38, 1] Operation: 8-7=1 Exploring Operation: 8+7=15, Resulting Numbers: [38, 15] Generated Node #0,0,2: 39:[38, 15] Operation: 8+7=15 Exploring Operation: 38+7=45, Resulting Numbers: [8, 45] Generated Node #0,0,3: 39:[8, 45] Operation: 38+7=45 Moving to Node #0,1 Current State: 39:[73, 38, 10], Operations: ['80/8=10'] Exploring Operation: 73-10=63, Resulting Numbers: [38, 63] Generated Node #0,1,0: 39:[38, 63] Operation: 73-10=63 Exploring Operation: 38+10=48, Resulting Numbers: [73, 48] Generated Node #0,1,1: 39:[73, 48] Operation: 38+10=48 Exploring Operation: 73+10=83, Resulting Numbers: [38, 83] Generated Node #0,1,2: 39:[38, 83] Operation: 73+10=83 Exploring Operation: 73-38=35, Resulting Numbers: [10, 35] Generated Node #0,1,3: 39:[10, 35] Operation: 73-38=35 Moving to Node #0,3 Current State: 39:[73, 8, 42], Operations: ['80-38=42'] Exploring Operation: 73-8=65, Resulting Numbers: [42, 65] Generated Node #0,3,0: 39:[42, 65] Operation: 73-8=65 Exploring Operation: 42-8=34, Resulting Numbers: [73, 34] Generated Node #0,3,1: 39:[73, 34] Operation: 42-8=34 Exploring Operation: 73-42=31, Resulting Numbers: [8, 31] Generated Node #0,3,2: 39:[8, 31] Operation: 73-42=31 Exploring Operation: 73+8=81, Resulting Numbers: [42, 81] Generated Node #0,3,3: 39:[42, 81] Operation: 73+8=81 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 39:[8, 31], Operations: ['80-38=42', '73-42=31'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,39 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[80, 73, 38, 8], Operations: [] Exploring Operation: 80-38=42, Resulting Numbers: [73, 8, 42] Generated Node #0,3: 39:[73, 8, 42] Operation: 80-38=42 Moving to Node #0,3 Current State: 39:[73, 8, 42], Operations: ['80-38=42'] Exploring Operation: 73-42=31, Resulting Numbers: [8, 31] Generated Node #0,3,2: 39:[8, 31] Operation: 73-42=31 Moving to Node #0,3,2 Current State: 39:[8, 31], Operations: ['80-38=42', '73-42=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 5, 36, 76, 18 ]
53
[ "5+36=41", "76+18=94", "94-41=53" ]
Current State: 53:[5, 36, 76, 18], Operations: [] Exploring Operation: 5+36=41, Resulting Numbers: [76, 18, 41] Generated Node #2: [76, 18, 41] from Operation: 5+36=41 Current State: 53:[76, 18, 41], Operations: ['5+36=41'] Exploring Operation: 76+18=94, Resulting Numbers: [41, 94] Generated Node #3: [41, 94] from Operation: 76+18=94 Current State: 53:[41, 94], Operations: ['5+36=41', '76+18=94'] Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[5, 36, 76, 18], Operations: [] Exploring Operation: 5+36=41, Resulting Numbers: [76, 18, 41] Generated Node #0,0: 53:[76, 18, 41] Operation: 5+36=41 Exploring Operation: 5+18=23, Resulting Numbers: [36, 76, 23] Generated Node #0,1: 53:[36, 76, 23] Operation: 5+18=23 Exploring Operation: 76-5=71, Resulting Numbers: [36, 18, 71] Generated Node #0,2: 53:[36, 18, 71] Operation: 76-5=71 Moving to Node #0,0 Current State: 53:[76, 18, 41], Operations: ['5+36=41'] Exploring Operation: 76+18=94, Resulting Numbers: [41, 94] Generated Node #0,0,0: 53:[41, 94] Operation: 76+18=94 Exploring Operation: 76-18=58, Resulting Numbers: [41, 58] Generated Node #0,0,1: 53:[41, 58] Operation: 76-18=58 Exploring Operation: 18+41=59, Resulting Numbers: [76, 59] Generated Node #0,0,2: 53:[76, 59] Operation: 18+41=59 Moving to Node #0,1 Current State: 53:[36, 76, 23], Operations: ['5+18=23'] Exploring Operation: 76-36=40, Resulting Numbers: [23, 40] Generated Node #0,1,0: 53:[23, 40] Operation: 76-36=40 Exploring Operation: 36+23=59, Resulting Numbers: [76, 59] Generated Node #0,1,1: 53:[76, 59] Operation: 36+23=59 Exploring Operation: 76-23=53, Resulting Numbers: [36, 53] Generated Node #0,1,2: 53:[36, 53] Operation: 76-23=53 Moving to Node #0,2 Current State: 53:[36, 18, 71], Operations: ['76-5=71'] Exploring Operation: 36+18=54, Resulting Numbers: [71, 54] Generated Node #0,2,0: 53:[71, 54] Operation: 36+18=54 Exploring Operation: 36-18=18, Resulting Numbers: [71, 18] Generated Node #0,2,1: 53:[71, 18] Operation: 36-18=18 Exploring Operation: 71-18=53, Resulting Numbers: [36, 53] Generated Node #0,2,2: 53:[36, 53] Operation: 71-18=53 Moving to Node #0,0,1 Current State: 53:[41, 58], Operations: ['5+36=41', '76-18=58'] Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 41+58=99, Resulting Numbers: [99] 99,53 unequal: No Solution Exploring Operation: 41*58=2378, Resulting Numbers: [2378] 2378,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[36, 53], Operations: ['76-5=71', '71-18=53'] Exploring Operation: 36*53=1908, Resulting Numbers: [1908] 1908,53 unequal: No Solution Exploring Operation: 36+53=89, Resulting Numbers: [89] 89,53 unequal: No Solution Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[36, 53], Operations: ['5+18=23', '76-23=53'] Exploring Operation: 36*53=1908, Resulting Numbers: [1908] 1908,53 unequal: No Solution Exploring Operation: 36+53=89, Resulting Numbers: [89] 89,53 unequal: No Solution Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[71, 54], Operations: ['76-5=71', '36+18=54'] Exploring Operation: 71-54=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 71*54=3834, Resulting Numbers: [3834] 3834,53 unequal: No Solution Exploring Operation: 71+54=125, Resulting Numbers: [125] 125,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[76, 59], Operations: ['5+18=23', '36+23=59'] Exploring Operation: 76+59=135, Resulting Numbers: [135] 135,53 unequal: No Solution Exploring Operation: 76-59=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 76*59=4484, Resulting Numbers: [4484] 4484,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[76, 59], Operations: ['5+36=41', '18+41=59'] Exploring Operation: 76+59=135, Resulting Numbers: [135] 135,53 unequal: No Solution Exploring Operation: 76*59=4484, Resulting Numbers: [4484] 4484,53 unequal: No Solution Exploring Operation: 76-59=17, Resulting Numbers: [17] 17,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[23, 40], Operations: ['5+18=23', '76-36=40'] Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 23*40=920, Resulting Numbers: [920] 920,53 unequal: No Solution Exploring Operation: 23+40=63, Resulting Numbers: [63] 63,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[41, 94], Operations: ['5+36=41', '76+18=94'] Exploring Operation: 41+94=135, Resulting Numbers: [135] 135,53 unequal: No Solution Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[5, 36, 76, 18], Operations: [] Exploring Operation: 5+36=41, Resulting Numbers: [76, 18, 41] Generated Node #0,0: 53:[76, 18, 41] Operation: 5+36=41 Moving to Node #0,0 Current State: 53:[76, 18, 41], Operations: ['5+36=41'] Exploring Operation: 76+18=94, Resulting Numbers: [41, 94] Generated Node #0,0,0: 53:[41, 94] Operation: 76+18=94 Moving to Node #0,0,0 Current State: 53:[41, 94], Operations: ['5+36=41', '76+18=94'] Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
0.966146
hs_3
mult_heuristic
[ 87, 6, 84, 8 ]
17
[ "87+6=93", "84-8=76", "93-76=17" ]
Current State: 17:[87, 6, 84, 8], Operations: [] Exploring Operation: 87+6=93, Resulting Numbers: [84, 8, 93] Generated Node #2: [84, 8, 93] from Operation: 87+6=93 Current State: 17:[84, 8, 93], Operations: ['87+6=93'] Exploring Operation: 84-8=76, Resulting Numbers: [93, 76] Generated Node #3: [93, 76] from Operation: 84-8=76 Current State: 17:[93, 76], Operations: ['87+6=93', '84-8=76'] Exploring Operation: 93-76=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[87, 6, 84, 8], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [6, 8, 3] Generated Node #0,0: 17:[6, 8, 3] Operation: 87-84=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[6, 8, 3], Operations: ['87-84=3'] Exploring Operation: 6*3=18, Resulting Numbers: [8, 18] Generated Node #0,0,0: 17:[8, 18] Operation: 6*3=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[8, 18], Operations: ['87-84=3', '6*3=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,17 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
[ 71, 96, 72, 65 ]
32
[ "96-71=25", "72-65=7", "25+7=32" ]
Current State: 32:[71, 96, 72, 65], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [72, 65, 25] Generated Node #2: [72, 65, 25] from Operation: 96-71=25 Current State: 32:[72, 65, 25], Operations: ['96-71=25'] Exploring Operation: 72-65=7, Resulting Numbers: [25, 7] Generated Node #3: [25, 7] from Operation: 72-65=7 Current State: 32:[25, 7], Operations: ['96-71=25', '72-65=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[71, 96, 72, 65], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [72, 65, 25] Generated Node #0,0: 32:[72, 65, 25] Operation: 96-71=25 Moving to Node #0,0 Current State: 32:[72, 65, 25], Operations: ['96-71=25'] Exploring Operation: 72-65=7, Resulting Numbers: [25, 7] Generated Node #0,0,0: 32:[25, 7] Operation: 72-65=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[25, 7], Operations: ['96-71=25', '72-65=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[71, 96, 72, 65], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [72, 65, 25] Generated Node #0,0: 32:[72, 65, 25] Operation: 96-71=25 Moving to Node #0,0 Current State: 32:[72, 65, 25], Operations: ['96-71=25'] Exploring Operation: 72-65=7, Resulting Numbers: [25, 7] Generated Node #0,0,0: 32:[25, 7] Operation: 72-65=7 Moving to Node #0,0,0 Current State: 32:[25, 7], Operations: ['96-71=25', '72-65=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 47, 45, 51, 99 ]
46
[ "47-45=2", "99-51=48", "48-2=46" ]
Current State: 46:[47, 45, 51, 99], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [51, 99, 2] Generated Node #2: [51, 99, 2] from Operation: 47-45=2 Current State: 46:[51, 99, 2], Operations: ['47-45=2'] Exploring Operation: 99-51=48, Resulting Numbers: [2, 48] Generated Node #3: [2, 48] from Operation: 99-51=48 Current State: 46:[2, 48], Operations: ['47-45=2', '99-51=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[47, 45, 51, 99], Operations: [] Exploring Operation: 99-47=52, Resulting Numbers: [45, 51, 52] Generated Node #0,0: 46:[45, 51, 52] Operation: 99-47=52 Exploring Operation: 99-45=54, Resulting Numbers: [47, 51, 54] Generated Node #0,1: 46:[47, 51, 54] Operation: 99-45=54 Exploring Operation: 51-47=4, Resulting Numbers: [45, 99, 4] Generated Node #0,2: 46:[45, 99, 4] Operation: 51-47=4 Exploring Operation: 99-51=48, Resulting Numbers: [47, 45, 48] Generated Node #0,3: 46:[47, 45, 48] Operation: 99-51=48 Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[47, 45, 48], Operations: ['99-51=48'] Exploring Operation: 48-47=1, Resulting Numbers: [45, 1] Generated Node #0,3,0: 46:[45, 1] Operation: 48-47=1 Exploring Operation: 47-45=2, Resulting Numbers: [48, 2] Generated Node #0,3,1: 46:[48, 2] Operation: 47-45=2 Exploring Operation: 48-45=3, Resulting Numbers: [47, 3] Generated Node #0,3,2: 46:[47, 3] Operation: 48-45=3 Exploring Operation: 47+45=92, Resulting Numbers: [48, 92] Generated Node #0,3,3: 46:[48, 92] Operation: 47+45=92 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 46:[45, 1], Operations: ['99-51=48', '48-47=1'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[47, 45, 51, 99], Operations: [] Exploring Operation: 99-51=48, Resulting Numbers: [47, 45, 48] Generated Node #0,3: 46:[47, 45, 48] Operation: 99-51=48 Moving to Node #0,3 Current State: 46:[47, 45, 48], Operations: ['99-51=48'] Exploring Operation: 48-47=1, Resulting Numbers: [45, 1] Generated Node #0,3,0: 46:[45, 1] Operation: 48-47=1 Moving to Node #0,3,0 Current State: 46:[45, 1], Operations: ['99-51=48', '48-47=1'] Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 20, 23, 2, 31 ]
26
[ "23-20=3", "31-2=29", "29-3=26" ]
Current State: 26:[20, 23, 2, 31], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [2, 31, 3] Generated Node #2: [2, 31, 3] from Operation: 23-20=3 Current State: 26:[2, 31, 3], Operations: ['23-20=3'] Exploring Operation: 31-2=29, Resulting Numbers: [3, 29] Generated Node #3: [3, 29] from Operation: 31-2=29 Current State: 26:[3, 29], Operations: ['23-20=3', '31-2=29'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[20, 23, 2, 31], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [2, 31, 3] Generated Node #0,0: 26:[2, 31, 3] Operation: 23-20=3 Exploring Operation: 20+2=22, Resulting Numbers: [23, 31, 22] Generated Node #0,1: 26:[23, 31, 22] Operation: 20+2=22 Exploring Operation: 31-23=8, Resulting Numbers: [20, 2, 8] Generated Node #0,2: 26:[20, 2, 8] Operation: 31-23=8 Exploring Operation: 31-20=11, Resulting Numbers: [23, 2, 11] Generated Node #0,3: 26:[23, 2, 11] Operation: 31-20=11 Exploring Operation: 20/2=10, Resulting Numbers: [23, 31, 10] Generated Node #0,4: 26:[23, 31, 10] Operation: 20/2=10 Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[23, 2, 11], Operations: ['31-20=11'] Exploring Operation: 2+11=13, Resulting Numbers: [23, 13] Generated Node #0,3,0: 26:[23, 13] Operation: 2+11=13 Exploring Operation: 23-11=12, Resulting Numbers: [2, 12] Generated Node #0,3,1: 26:[2, 12] Operation: 23-11=12 Exploring Operation: 23+2=25, Resulting Numbers: [11, 25] Generated Node #0,3,2: 26:[11, 25] Operation: 23+2=25 Exploring Operation: 23-2=21, Resulting Numbers: [11, 21] Generated Node #0,3,3: 26:[11, 21] Operation: 23-2=21 Exploring Operation: 2*11=22, Resulting Numbers: [23, 22] Generated Node #0,3,4: 26:[23, 22] Operation: 2*11=22 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 26:[2, 12], Operations: ['31-20=11', '23-11=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,26 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,26 unequal: No Solution No 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: 26:[23, 13], Operations: ['31-20=11', '2+11=13'] Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,26 unequal: No Solution Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,26 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,26 unequal: No Solution No 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: 26:[11, 25], Operations: ['31-20=11', '23+2=25'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,26 unequal: No Solution Exploring Operation: 11*25=275, Resulting Numbers: [275] 275,26 unequal: No Solution Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,26 unequal: No Solution No 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: 26:[11, 21], Operations: ['31-20=11', '23-2=21'] Exploring Operation: 11*21=231, Resulting Numbers: [231] 231,26 unequal: No Solution Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 11+21=32, Resulting Numbers: [32] 32,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 26:[23, 22], Operations: ['31-20=11', '2*11=22'] Exploring Operation: 23+22=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 23*22=506, Resulting Numbers: [506] 506,26 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,26 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: 26:[2, 31, 3], Operations: ['23-20=3'] Exploring Operation: 2+31=33, Resulting Numbers: [3, 33] Generated Node #0,0,0: 26:[3, 33] Operation: 2+31=33 Exploring Operation: 31-2=29, Resulting Numbers: [3, 29] Generated Node #0,0,1: 26:[3, 29] Operation: 31-2=29 Exploring Operation: 31-3=28, Resulting Numbers: [2, 28] Generated Node #0,0,2: 26:[2, 28] Operation: 31-3=28 Exploring Operation: 2+3=5, Resulting Numbers: [31, 5] Generated Node #0,0,3: 26:[31, 5] Operation: 2+3=5 Exploring Operation: 3-2=1, Resulting Numbers: [31, 1] Generated Node #0,0,4: 26:[31, 1] Operation: 3-2=1 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 26:[2, 28], Operations: ['23-20=3', '31-3=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[20, 23, 2, 31], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [2, 31, 3] Generated Node #0,0: 26:[2, 31, 3] Operation: 23-20=3 Moving to Node #0,0 Current State: 26:[2, 31, 3], Operations: ['23-20=3'] Exploring Operation: 31-3=28, Resulting Numbers: [2, 28] Generated Node #0,0,2: 26:[2, 28] Operation: 31-3=28 Moving to Node #0,0,2 Current State: 26:[2, 28], Operations: ['23-20=3', '31-3=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 76, 37, 85, 63 ]
80
[ "85+63=148", "148/37=4", "76+4=80" ]
Current State: 80:[76, 37, 85, 63], Operations: [] Exploring Operation: 85+63=148, Resulting Numbers: [76, 37, 148] Generated Node #2: [76, 37, 148] from Operation: 85+63=148 Current State: 80:[76, 37, 148], Operations: ['85+63=148'] Exploring Operation: 148/37=4, Resulting Numbers: [76, 4] Generated Node #3: [76, 4] from Operation: 148/37=4 Current State: 80:[76, 4], Operations: ['85+63=148', '148/37=4'] Exploring Operation: 76+4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[76, 37, 85, 63], Operations: [] Exploring Operation: 85-63=22, Resulting Numbers: [76, 37, 22] Generated Node #0,0: 80:[76, 37, 22] Operation: 85-63=22 Moving to Node #0,0 Current State: 80:[76, 37, 22], Operations: ['85-63=22'] Exploring Operation: 76-37=39, Resulting Numbers: [22, 39] Generated Node #0,0,0: 80:[22, 39] Operation: 76-37=39 Moving to Node #0,0,0 Current State: 80:[22, 39], Operations: ['85-63=22', '76-37=39'] Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,80 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 87, 58, 42, 25 ]
91
[ "58+42=100", "100/25=4", "87+4=91" ]
Current State: 91:[87, 58, 42, 25], Operations: [] Exploring Operation: 58+42=100, Resulting Numbers: [87, 25, 100] Generated Node #2: [87, 25, 100] from Operation: 58+42=100 Current State: 91:[87, 25, 100], Operations: ['58+42=100'] Exploring Operation: 100/25=4, Resulting Numbers: [87, 4] Generated Node #3: [87, 4] from Operation: 100/25=4 Current State: 91:[87, 4], Operations: ['58+42=100', '100/25=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[87, 58, 42, 25], Operations: [] Exploring Operation: 58-42=16, Resulting Numbers: [87, 25, 16] Generated Node #0,0: 91:[87, 25, 16] Operation: 58-42=16 Moving to Node #0,0 Current State: 91:[87, 25, 16], Operations: ['58-42=16'] Exploring Operation: 25-16=9, Resulting Numbers: [87, 9] Generated Node #0,0,0: 91:[87, 9] Operation: 25-16=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[87, 9], Operations: ['58-42=16', '25-16=9'] Exploring Operation: 87+9=96, Resulting Numbers: [96] 96,91 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
[ 82, 6, 4, 60 ]
38
[ "82+6=88", "88/4=22", "60-22=38" ]
Current State: 38:[82, 6, 4, 60], Operations: [] Exploring Operation: 82+6=88, Resulting Numbers: [4, 60, 88] Generated Node #2: [4, 60, 88] from Operation: 82+6=88 Current State: 38:[4, 60, 88], Operations: ['82+6=88'] Exploring Operation: 88/4=22, Resulting Numbers: [60, 22] Generated Node #3: [60, 22] from Operation: 88/4=22 Current State: 38:[60, 22], Operations: ['82+6=88', '88/4=22'] Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[82, 6, 4, 60], Operations: [] Exploring Operation: 60/6=10, Resulting Numbers: [82, 4, 10] Generated Node #0,0: 38:[82, 4, 10] Operation: 60/6=10 Exploring Operation: 82-60=22, Resulting Numbers: [6, 4, 22] Generated Node #0,1: 38:[6, 4, 22] Operation: 82-60=22 Exploring Operation: 60/4=15, Resulting Numbers: [82, 6, 15] Generated Node #0,2: 38:[82, 6, 15] Operation: 60/4=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[6, 4, 22], Operations: ['82-60=22'] Exploring Operation: 22-4=18, Resulting Numbers: [6, 18] Generated Node #0,1,0: 38:[6, 18] Operation: 22-4=18 Exploring Operation: 22-6=16, Resulting Numbers: [4, 16] Generated Node #0,1,1: 38:[4, 16] Operation: 22-6=16 Exploring Operation: 6-4=2, Resulting Numbers: [22, 2] Generated Node #0,1,2: 38:[22, 2] Operation: 6-4=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 38:[22, 2], Operations: ['82-60=22', '6-4=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,38 unequal: No Solution No 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: 38:[6, 18], Operations: ['82-60=22', '22-4=18'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,38 unequal: No Solution No 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: 38:[4, 16], Operations: ['82-60=22', '22-6=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,38 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[82, 6, 15], Operations: ['60/4=15'] Exploring Operation: 82-6=76, Resulting Numbers: [15, 76] Generated Node #0,2,0: 38:[15, 76] Operation: 82-6=76 Exploring Operation: 82-15=67, Resulting Numbers: [6, 67] Generated Node #0,2,1: 38:[6, 67] Operation: 82-15=67 Exploring Operation: 6+15=21, Resulting Numbers: [82, 21] Generated Node #0,2,2: 38:[82, 21] Operation: 6+15=21 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 38:[6, 67], Operations: ['60/4=15', '82-15=67'] Exploring Operation: 6*67=402, Resulting Numbers: [402] 402,38 unequal: No Solution Exploring Operation: 6+67=73, Resulting Numbers: [73] 73,38 unequal: No Solution Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,38 unequal: No Solution No 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: 38:[15, 76], Operations: ['60/4=15', '82-6=76'] Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,38 unequal: No Solution Exploring Operation: 15*76=1140, Resulting Numbers: [1140] 1140,38 unequal: No Solution Exploring Operation: 15+76=91, Resulting Numbers: [91] 91,38 unequal: No Solution No 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: 38:[82, 21], Operations: ['60/4=15', '6+15=21'] Exploring Operation: 82*21=1722, Resulting Numbers: [1722] 1722,38 unequal: No Solution Exploring Operation: 82+21=103, Resulting Numbers: [103] 103,38 unequal: No Solution Exploring Operation: 82-21=61, Resulting Numbers: [61] 61,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[82, 4, 10], Operations: ['60/6=10'] Exploring Operation: 4*10=40, Resulting Numbers: [82, 40] Generated Node #0,0,0: 38:[82, 40] Operation: 4*10=40 Exploring Operation: 82-10=72, Resulting Numbers: [4, 72] Generated Node #0,0,1: 38:[4, 72] Operation: 82-10=72 Exploring Operation: 82-4=78, Resulting Numbers: [10, 78] Generated Node #0,0,2: 38:[10, 78] Operation: 82-4=78 Moving to Node #0,0,1 Current State: 38:[4, 72], Operations: ['60/6=10', '82-10=72'] Exploring Operation: 4+72=76, Resulting Numbers: [76] 76,38 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,38 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[82, 40], Operations: ['60/6=10', '4*10=40'] Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,38 unequal: No Solution Exploring Operation: 82+40=122, Resulting Numbers: [122] 122,38 unequal: No Solution Exploring Operation: 82*40=3280, Resulting Numbers: [3280] 3280,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[10, 78], Operations: ['60/6=10', '82-4=78'] Exploring Operation: 10+78=88, Resulting Numbers: [88] 88,38 unequal: No Solution Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,38 unequal: No Solution Exploring Operation: 10*78=780, Resulting Numbers: [780] 780,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 84, 8, 2, 53 ]
27
[ "84-53=31", "8/2=4", "31-4=27" ]
Current State: 27:[84, 8, 2, 53], Operations: [] Exploring Operation: 84-53=31, Resulting Numbers: [8, 2, 31] Generated Node #2: [8, 2, 31] from Operation: 84-53=31 Current State: 27:[8, 2, 31], Operations: ['84-53=31'] Exploring Operation: 8/2=4, Resulting Numbers: [31, 4] Generated Node #3: [31, 4] from Operation: 8/2=4 Current State: 27:[31, 4], Operations: ['84-53=31', '8/2=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[84, 8, 2, 53], Operations: [] Exploring Operation: 84-8=76, Resulting Numbers: [2, 53, 76] Generated Node #0,0: 27:[2, 53, 76] Operation: 84-8=76 Exploring Operation: 53-8=45, Resulting Numbers: [84, 2, 45] Generated Node #0,1: 27:[84, 2, 45] Operation: 53-8=45 Exploring Operation: 84-53=31, Resulting Numbers: [8, 2, 31] Generated Node #0,2: 27:[8, 2, 31] Operation: 84-53=31 Exploring Operation: 84/2=42, Resulting Numbers: [8, 53, 42] Generated Node #0,3: 27:[8, 53, 42] Operation: 84/2=42 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[8, 2, 31], Operations: ['84-53=31'] Exploring Operation: 8+2=10, Resulting Numbers: [31, 10] Generated Node #0,2,0: 27:[31, 10] Operation: 8+2=10 Exploring Operation: 8/2=4, Resulting Numbers: [31, 4] Generated Node #0,2,1: 27:[31, 4] Operation: 8/2=4 Exploring Operation: 31-2=29, Resulting Numbers: [8, 29] Generated Node #0,2,2: 27:[8, 29] Operation: 31-2=29 Exploring Operation: 31-8=23, Resulting Numbers: [2, 23] Generated Node #0,2,3: 27:[2, 23] Operation: 31-8=23 Moving to Node #0,2,2 Current State: 27:[8, 29], Operations: ['84-53=31', '31-2=29'] Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,27 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[31, 4], Operations: ['84-53=31', '8/2=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,27 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[84, 8, 2, 53], Operations: [] Exploring Operation: 84-53=31, Resulting Numbers: [8, 2, 31] Generated Node #0,2: 27:[8, 2, 31] Operation: 84-53=31 Moving to Node #0,2 Current State: 27:[8, 2, 31], Operations: ['84-53=31'] Exploring Operation: 8/2=4, Resulting Numbers: [31, 4] Generated Node #0,2,1: 27:[31, 4] Operation: 8/2=4 Moving to Node #0,2,1 Current State: 27:[31, 4], Operations: ['84-53=31', '8/2=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 35, 10, 48, 96 ]
93
[ "35+10=45", "96-48=48", "45+48=93" ]
Current State: 93:[35, 10, 48, 96], Operations: [] Exploring Operation: 35+10=45, Resulting Numbers: [48, 96, 45] Generated Node #2: [48, 96, 45] from Operation: 35+10=45 Current State: 93:[48, 96, 45], Operations: ['35+10=45'] Exploring Operation: 96-48=48, Resulting Numbers: [45, 48] Generated Node #3: [45, 48] from Operation: 96-48=48 Current State: 93:[45, 48], Operations: ['35+10=45', '96-48=48'] Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[35, 10, 48, 96], Operations: [] Exploring Operation: 35-10=25, Resulting Numbers: [48, 96, 25] Generated Node #0,0: 93:[48, 96, 25] Operation: 35-10=25 Exploring Operation: 35+48=83, Resulting Numbers: [10, 96, 83] Generated Node #0,1: 93:[10, 96, 83] Operation: 35+48=83 Exploring Operation: 48-10=38, Resulting Numbers: [35, 96, 38] Generated Node #0,2: 93:[35, 96, 38] Operation: 48-10=38 Exploring Operation: 48-35=13, Resulting Numbers: [10, 96, 13] Generated Node #0,3: 93:[10, 96, 13] Operation: 48-35=13 Exploring Operation: 96/48=2, Resulting Numbers: [35, 10, 2] Generated Node #0,4: 93:[35, 10, 2] Operation: 96/48=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 93:[35, 10, 2], Operations: ['96/48=2'] Exploring Operation: 10-2=8, Resulting Numbers: [35, 8] Generated Node #0,4,0: 93:[35, 8] Operation: 10-2=8 Exploring Operation: 35+2=37, Resulting Numbers: [10, 37] Generated Node #0,4,1: 93:[10, 37] Operation: 35+2=37 Exploring Operation: 35-2=33, Resulting Numbers: [10, 33] Generated Node #0,4,2: 93:[10, 33] Operation: 35-2=33 Exploring Operation: 10/2=5, Resulting Numbers: [35, 5] Generated Node #0,4,3: 93:[35, 5] Operation: 10/2=5 Exploring Operation: 35-10=25, Resulting Numbers: [2, 25] Generated Node #0,4,4: 93:[2, 25] Operation: 35-10=25 Moving to Node #0,4,3 Current State: 93:[35, 5], Operations: ['96/48=2', '10/2=5'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,93 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,93 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,93 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,93 unequal: No Solution Moving to Node #0,4,4 Current State: 93:[2, 25], Operations: ['96/48=2', '35-10=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,93 unequal: No Solution Moving to Node #0,4,0 Current State: 93:[35, 8], Operations: ['96/48=2', '10-2=8'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,93 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,93 unequal: No Solution Moving to Node #0,4,2 Current State: 93:[10, 33], Operations: ['96/48=2', '35-2=33'] Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,93 unequal: No Solution Moving to Node #0,4,1 Current State: 93:[10, 37], Operations: ['96/48=2', '35+2=37'] Exploring Operation: 10*37=370, Resulting Numbers: [370] 370,93 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 10+37=47, Resulting Numbers: [47] 47,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[35, 96, 38], Operations: ['48-10=38'] Exploring Operation: 96-35=61, Resulting Numbers: [38, 61] Generated Node #0,2,0: 93:[38, 61] Operation: 96-35=61 Exploring Operation: 38-35=3, Resulting Numbers: [96, 3] Generated Node #0,2,1: 93:[96, 3] Operation: 38-35=3 Exploring Operation: 35+96=131, Resulting Numbers: [38, 131] Generated Node #0,2,2: 93:[38, 131] Operation: 35+96=131 Exploring Operation: 35+38=73, Resulting Numbers: [96, 73] Generated Node #0,2,3: 93:[96, 73] Operation: 35+38=73 Exploring Operation: 96-38=58, Resulting Numbers: [35, 58] Generated Node #0,2,4: 93:[35, 58] Operation: 96-38=58 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[96, 3], Operations: ['48-10=38', '38-35=3'] Exploring Operation: 96*3=288, Resulting Numbers: [288] 288,93 unequal: No Solution Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[35, 10, 48, 96], Operations: [] Exploring Operation: 48-10=38, Resulting Numbers: [35, 96, 38] Generated Node #0,2: 93:[35, 96, 38] Operation: 48-10=38 Moving to Node #0,2 Current State: 93:[35, 96, 38], Operations: ['48-10=38'] Exploring Operation: 38-35=3, Resulting Numbers: [96, 3] Generated Node #0,2,1: 93:[96, 3] Operation: 38-35=3 Moving to Node #0,2,1 Current State: 93:[96, 3], Operations: ['48-10=38', '38-35=3'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 48, 60, 6, 13 ]
81
[ "48/6=8", "60+13=73", "8+73=81" ]
Current State: 81:[48, 60, 6, 13], Operations: [] Exploring Operation: 48/6=8, Resulting Numbers: [60, 13, 8] Generated Node #2: [60, 13, 8] from Operation: 48/6=8 Current State: 81:[60, 13, 8], Operations: ['48/6=8'] Exploring Operation: 60+13=73, Resulting Numbers: [8, 73] Generated Node #3: [8, 73] from Operation: 60+13=73 Current State: 81:[8, 73], Operations: ['48/6=8', '60+13=73'] Exploring Operation: 8+73=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[48, 60, 6, 13], Operations: [] Exploring Operation: 60-48=12, Resulting Numbers: [6, 13, 12] Generated Node #0,0: 81:[6, 13, 12] Operation: 60-48=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[6, 13, 12], Operations: ['60-48=12'] Exploring Operation: 13-6=7, Resulting Numbers: [12, 7] Generated Node #0,0,0: 81:[12, 7] Operation: 13-6=7 Moving to Node #0,0,0 Current State: 81:[12, 7], Operations: ['60-48=12', '13-6=7'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 87, 46, 64, 11 ]
13
[ "87-64=23", "46/23=2", "11+2=13" ]
Current State: 13:[87, 46, 64, 11], Operations: [] Exploring Operation: 87-64=23, Resulting Numbers: [46, 11, 23] Generated Node #2: [46, 11, 23] from Operation: 87-64=23 Current State: 13:[46, 11, 23], Operations: ['87-64=23'] Exploring Operation: 46/23=2, Resulting Numbers: [11, 2] Generated Node #3: [11, 2] from Operation: 46/23=2 Current State: 13:[11, 2], Operations: ['87-64=23', '46/23=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[87, 46, 64, 11], Operations: [] Exploring Operation: 87-64=23, Resulting Numbers: [46, 11, 23] Generated Node #0,0: 13:[46, 11, 23] Operation: 87-64=23 Moving to Node #0,0 Current State: 13:[46, 11, 23], Operations: ['87-64=23'] Exploring Operation: 46-23=23, Resulting Numbers: [11, 23] Generated Node #0,0,0: 13:[11, 23] Operation: 46-23=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[11, 23], Operations: ['87-64=23', '46-23=23'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,13 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
[ 13, 85, 92, 5 ]
96
[ "92-13=79", "85/5=17", "79+17=96" ]
Current State: 96:[13, 85, 92, 5], Operations: [] Exploring Operation: 92-13=79, Resulting Numbers: [85, 5, 79] Generated Node #2: [85, 5, 79] from Operation: 92-13=79 Current State: 96:[85, 5, 79], Operations: ['92-13=79'] Exploring Operation: 85/5=17, Resulting Numbers: [79, 17] Generated Node #3: [79, 17] from Operation: 85/5=17 Current State: 96:[79, 17], Operations: ['92-13=79', '85/5=17'] Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[13, 85, 92, 5], Operations: [] Exploring Operation: 85/5=17, Resulting Numbers: [13, 92, 17] Generated Node #0,0: 96:[13, 92, 17] Operation: 85/5=17 Exploring Operation: 85+5=90, Resulting Numbers: [13, 92, 90] Generated Node #0,1: 96:[13, 92, 90] Operation: 85+5=90 Exploring Operation: 13+85=98, Resulting Numbers: [92, 5, 98] Generated Node #0,2: 96:[92, 5, 98] Operation: 13+85=98 Exploring Operation: 92-85=7, Resulting Numbers: [13, 5, 7] Generated Node #0,3: 96:[13, 5, 7] Operation: 92-85=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[13, 5, 7], Operations: ['92-85=7'] Exploring Operation: 13-5=8, Resulting Numbers: [7, 8] Generated Node #0,3,0: 96:[7, 8] Operation: 13-5=8 Exploring Operation: 5+7=12, Resulting Numbers: [13, 12] Generated Node #0,3,1: 96:[13, 12] Operation: 5+7=12 Exploring Operation: 13-7=6, Resulting Numbers: [5, 6] Generated Node #0,3,2: 96:[5, 6] Operation: 13-7=6 Exploring Operation: 7-5=2, Resulting Numbers: [13, 2] Generated Node #0,3,3: 96:[13, 2] Operation: 7-5=2 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 96:[7, 8], Operations: ['92-85=7', '13-5=8'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 96:[13, 12], Operations: ['92-85=7', '5+7=12'] Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,96 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 96:[5, 6], Operations: ['92-85=7', '13-7=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 96:[13, 2], Operations: ['92-85=7', '7-5=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,96 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[13, 92, 17], Operations: ['85/5=17'] Exploring Operation: 17-13=4, Resulting Numbers: [92, 4] Generated Node #0,0,0: 96:[92, 4] Operation: 17-13=4 Exploring Operation: 92+17=109, Resulting Numbers: [13, 109] Generated Node #0,0,1: 96:[13, 109] Operation: 92+17=109 Exploring Operation: 13+92=105, Resulting Numbers: [17, 105] Generated Node #0,0,2: 96:[17, 105] Operation: 13+92=105 Exploring Operation: 13+17=30, Resulting Numbers: [92, 30] Generated Node #0,0,3: 96:[92, 30] Operation: 13+17=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[92, 4], Operations: ['85/5=17', '17-13=4'] Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,96 unequal: No Solution Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 92*4=368, Resulting Numbers: [368] 368,96 unequal: No Solution Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[13, 85, 92, 5], Operations: [] Exploring Operation: 85/5=17, Resulting Numbers: [13, 92, 17] Generated Node #0,0: 96:[13, 92, 17] Operation: 85/5=17 Moving to Node #0,0 Current State: 96:[13, 92, 17], Operations: ['85/5=17'] Exploring Operation: 17-13=4, Resulting Numbers: [92, 4] Generated Node #0,0,0: 96:[92, 4] Operation: 17-13=4 Moving to Node #0,0,0 Current State: 96:[92, 4], Operations: ['85/5=17', '17-13=4'] Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 42, 43, 46, 54 ]
15
[ "42+43=85", "46+54=100", "100-85=15" ]
Current State: 15:[42, 43, 46, 54], Operations: [] Exploring Operation: 42+43=85, Resulting Numbers: [46, 54, 85] Generated Node #2: [46, 54, 85] from Operation: 42+43=85 Current State: 15:[46, 54, 85], Operations: ['42+43=85'] Exploring Operation: 46+54=100, Resulting Numbers: [85, 100] Generated Node #3: [85, 100] from Operation: 46+54=100 Current State: 15:[85, 100], Operations: ['42+43=85', '46+54=100'] Exploring Operation: 100-85=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[42, 43, 46, 54], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [43, 46, 12] Generated Node #0,0: 15:[43, 46, 12] Operation: 54-42=12 Exploring Operation: 54-46=8, Resulting Numbers: [42, 43, 8] Generated Node #0,1: 15:[42, 43, 8] Operation: 54-46=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[42, 43, 8], Operations: ['54-46=8'] Exploring Operation: 43-42=1, Resulting Numbers: [8, 1] Generated Node #0,1,0: 15:[8, 1] Operation: 43-42=1 Exploring Operation: 42-8=34, Resulting Numbers: [43, 34] Generated Node #0,1,1: 15:[43, 34] Operation: 42-8=34 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[8, 1], Operations: ['54-46=8', '43-42=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,15 unequal: No Solution No 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: 15:[43, 34], Operations: ['54-46=8', '42-8=34'] Exploring Operation: 43+34=77, Resulting Numbers: [77] 77,15 unequal: No Solution Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,15 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: 15:[43, 46, 12], Operations: ['54-42=12'] Exploring Operation: 46-43=3, Resulting Numbers: [12, 3] Generated Node #0,0,0: 15:[12, 3] Operation: 46-43=3 Exploring Operation: 43-12=31, Resulting Numbers: [46, 31] Generated Node #0,0,1: 15:[46, 31] Operation: 43-12=31 Moving to Node #0,0,0 Current State: 15:[12, 3], Operations: ['54-42=12', '46-43=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[42, 43, 46, 54], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [43, 46, 12] Generated Node #0,0: 15:[43, 46, 12] Operation: 54-42=12 Moving to Node #0,0 Current State: 15:[43, 46, 12], Operations: ['54-42=12'] Exploring Operation: 46-43=3, Resulting Numbers: [12, 3] Generated Node #0,0,0: 15:[12, 3] Operation: 46-43=3 Moving to Node #0,0,0 Current State: 15:[12, 3], Operations: ['54-42=12', '46-43=3'] Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 74, 1, 27, 21 ]
67
[ "74-1=73", "27-21=6", "73-6=67" ]
Current State: 67:[74, 1, 27, 21], Operations: [] Exploring Operation: 74-1=73, Resulting Numbers: [27, 21, 73] Generated Node #2: [27, 21, 73] from Operation: 74-1=73 Current State: 67:[27, 21, 73], Operations: ['74-1=73'] Exploring Operation: 27-21=6, Resulting Numbers: [73, 6] Generated Node #3: [73, 6] from Operation: 27-21=6 Current State: 67:[73, 6], Operations: ['74-1=73', '27-21=6'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[74, 1, 27, 21], Operations: [] Exploring Operation: 74-1=73, Resulting Numbers: [27, 21, 73] Generated Node #0,0: 67:[27, 21, 73] Operation: 74-1=73 Moving to Node #0,0 Current State: 67:[27, 21, 73], Operations: ['74-1=73'] Exploring Operation: 27+21=48, Resulting Numbers: [73, 48] Generated Node #0,0,0: 67:[73, 48] Operation: 27+21=48 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[73, 48], Operations: ['74-1=73', '27+21=48'] Exploring Operation: 73-48=25, Resulting Numbers: [25] 25,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 54, 96, 20, 49 ]
92
[ "54-49=5", "20/5=4", "96-4=92" ]
Current State: 92:[54, 96, 20, 49], Operations: [] Exploring Operation: 54-49=5, Resulting Numbers: [96, 20, 5] Generated Node #2: [96, 20, 5] from Operation: 54-49=5 Current State: 92:[96, 20, 5], Operations: ['54-49=5'] Exploring Operation: 20/5=4, Resulting Numbers: [96, 4] Generated Node #3: [96, 4] from Operation: 20/5=4 Current State: 92:[96, 4], Operations: ['54-49=5', '20/5=4'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[54, 96, 20, 49], Operations: [] Exploring Operation: 54-20=34, Resulting Numbers: [96, 49, 34] Generated Node #0,0: 92:[96, 49, 34] Operation: 54-20=34 Exploring Operation: 54-49=5, Resulting Numbers: [96, 20, 5] Generated Node #0,1: 92:[96, 20, 5] Operation: 54-49=5 Exploring Operation: 96-54=42, Resulting Numbers: [20, 49, 42] Generated Node #0,2: 92:[20, 49, 42] Operation: 96-54=42 Exploring Operation: 96-49=47, Resulting Numbers: [54, 20, 47] Generated Node #0,3: 92:[54, 20, 47] Operation: 96-49=47 Moving to Node #0,1 Current State: 92:[96, 20, 5], Operations: ['54-49=5'] Exploring Operation: 96-5=91, Resulting Numbers: [20, 91] Generated Node #0,1,0: 92:[20, 91] Operation: 96-5=91 Exploring Operation: 20+5=25, Resulting Numbers: [96, 25] Generated Node #0,1,1: 92:[96, 25] Operation: 20+5=25 Exploring Operation: 20/5=4, Resulting Numbers: [96, 4] Generated Node #0,1,2: 92:[96, 4] Operation: 20/5=4 Exploring Operation: 96+5=101, Resulting Numbers: [20, 101] Generated Node #0,1,3: 92:[20, 101] Operation: 96+5=101 Moving to Node #0,2 Current State: 92:[20, 49, 42], Operations: ['96-54=42'] Exploring Operation: 42-20=22, Resulting Numbers: [49, 22] Generated Node #0,2,0: 92:[49, 22] Operation: 42-20=22 Exploring Operation: 49-20=29, Resulting Numbers: [42, 29] Generated Node #0,2,1: 92:[42, 29] Operation: 49-20=29 Exploring Operation: 49+42=91, Resulting Numbers: [20, 91] Generated Node #0,2,2: 92:[20, 91] Operation: 49+42=91 Exploring Operation: 49-42=7, Resulting Numbers: [20, 7] Generated Node #0,2,3: 92:[20, 7] Operation: 49-42=7 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[49, 22], Operations: ['96-54=42', '42-20=22'] Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,92 unequal: No Solution Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[20, 91], Operations: ['96-54=42', '49+42=91'] Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,92 unequal: No Solution Exploring Operation: 20+91=111, Resulting Numbers: [111] 111,92 unequal: No Solution Exploring Operation: 20*91=1820, Resulting Numbers: [1820] 1820,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 92:[20, 7], Operations: ['96-54=42', '49-42=7'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 20*7=140, Resulting Numbers: [140] 140,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[42, 29], Operations: ['96-54=42', '49-20=29'] Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,92 unequal: No Solution Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,92 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 92:[54, 20, 47], Operations: ['96-49=47'] Exploring Operation: 47-20=27, Resulting Numbers: [54, 27] Generated Node #0,3,0: 92:[54, 27] Operation: 47-20=27 Exploring Operation: 54-47=7, Resulting Numbers: [20, 7] Generated Node #0,3,1: 92:[20, 7] Operation: 54-47=7 Exploring Operation: 54-20=34, Resulting Numbers: [47, 34] Generated Node #0,3,2: 92:[47, 34] Operation: 54-20=34 Exploring Operation: 54+47=101, Resulting Numbers: [20, 101] Generated Node #0,3,3: 92:[20, 101] Operation: 54+47=101 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 92:[20, 7], Operations: ['96-49=47', '54-47=7'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 20*7=140, Resulting Numbers: [140] 140,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 92:[54, 27], Operations: ['96-49=47', '47-20=27'] Exploring Operation: 54*27=1458, Resulting Numbers: [1458] 1458,92 unequal: No Solution Exploring Operation: 54+27=81, Resulting Numbers: [81] 81,92 unequal: No Solution Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 54/27=2, Resulting Numbers: [2] 2,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 92:[47, 34], Operations: ['96-49=47', '54-20=34'] Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 47*34=1598, Resulting Numbers: [1598] 1598,92 unequal: No Solution Exploring Operation: 47+34=81, Resulting Numbers: [81] 81,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 92:[20, 101], Operations: ['96-49=47', '54+47=101'] Exploring Operation: 101-20=81, Resulting Numbers: [81] 81,92 unequal: No Solution Exploring Operation: 20*101=2020, Resulting Numbers: [2020] 2020,92 unequal: No Solution Exploring Operation: 20+101=121, Resulting Numbers: [121] 121,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 92:[96, 49, 34], Operations: ['54-20=34'] Exploring Operation: 49-34=15, Resulting Numbers: [96, 15] Generated Node #0,0,0: 92:[96, 15] Operation: 49-34=15 Exploring Operation: 49+34=83, Resulting Numbers: [96, 83] Generated Node #0,0,1: 92:[96, 83] Operation: 49+34=83 Exploring Operation: 96-34=62, Resulting Numbers: [49, 62] Generated Node #0,0,2: 92:[49, 62] Operation: 96-34=62 Exploring Operation: 96-49=47, Resulting Numbers: [34, 47] Generated Node #0,0,3: 92:[34, 47] Operation: 96-49=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[96, 15], Operations: ['54-20=34', '49-34=15'] Exploring Operation: 96-15=81, Resulting Numbers: [81] 81,92 unequal: No Solution Exploring Operation: 96+15=111, Resulting Numbers: [111] 111,92 unequal: No Solution Exploring Operation: 96*15=1440, Resulting Numbers: [1440] 1440,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 92:[34, 47], Operations: ['54-20=34', '96-49=47'] Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,92 unequal: No Solution Exploring Operation: 34*47=1598, Resulting Numbers: [1598] 1598,92 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[96, 83], Operations: ['54-20=34', '49+34=83'] Exploring Operation: 96*83=7968, Resulting Numbers: [7968] 7968,92 unequal: No Solution Exploring Operation: 96+83=179, Resulting Numbers: [179] 179,92 unequal: No Solution Exploring Operation: 96-83=13, Resulting Numbers: [13] 13,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,2 Current State: 92:[49, 62], Operations: ['54-20=34', '96-34=62'] Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 49+62=111, Resulting Numbers: [111] 111,92 unequal: No Solution Exploring Operation: 49*62=3038, Resulting Numbers: [3038] 3038,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 92:[20, 91], Operations: ['54-49=5', '96-5=91'] Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,92 unequal: No Solution Exploring Operation: 20*91=1820, Resulting Numbers: [1820] 1820,92 unequal: No Solution Exploring Operation: 20+91=111, Resulting Numbers: [111] 111,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[96, 4], Operations: ['54-49=5', '20/5=4'] Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 96*4=384, Resulting Numbers: [384] 384,92 unequal: No Solution Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,92 unequal: No Solution Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[54, 96, 20, 49], Operations: [] Exploring Operation: 54-49=5, Resulting Numbers: [96, 20, 5] Generated Node #0,1: 92:[96, 20, 5] Operation: 54-49=5 Moving to Node #0,1 Current State: 92:[96, 20, 5], Operations: ['54-49=5'] Exploring Operation: 20/5=4, Resulting Numbers: [96, 4] Generated Node #0,1,2: 92:[96, 4] Operation: 20/5=4 Moving to Node #0,1,2 Current State: 92:[96, 4], Operations: ['54-49=5', '20/5=4'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.940972
hs_4
mult_heuristic
[ 65, 12, 51, 96 ]
70
[ "65+12=77", "51+96=147", "147-77=70" ]
Current State: 70:[65, 12, 51, 96], Operations: [] Exploring Operation: 65+12=77, Resulting Numbers: [51, 96, 77] Generated Node #2: [51, 96, 77] from Operation: 65+12=77 Current State: 70:[51, 96, 77], Operations: ['65+12=77'] Exploring Operation: 51+96=147, Resulting Numbers: [77, 147] Generated Node #3: [77, 147] from Operation: 51+96=147 Current State: 70:[77, 147], Operations: ['65+12=77', '51+96=147'] Exploring Operation: 147-77=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[65, 12, 51, 96], Operations: [] Exploring Operation: 96-51=45, Resulting Numbers: [65, 12, 45] Generated Node #0,0: 70:[65, 12, 45] Operation: 96-51=45 Exploring Operation: 96-65=31, Resulting Numbers: [12, 51, 31] Generated Node #0,1: 70:[12, 51, 31] Operation: 96-65=31 Moving to Node #0,0 Current State: 70:[65, 12, 45], Operations: ['96-51=45'] Exploring Operation: 65-45=20, Resulting Numbers: [12, 20] Generated Node #0,0,0: 70:[12, 20] Operation: 65-45=20 Exploring Operation: 45-12=33, Resulting Numbers: [65, 33] Generated Node #0,0,1: 70:[65, 33] Operation: 45-12=33 Moving to Node #0,1 Current State: 70:[12, 51, 31], Operations: ['96-65=31'] Exploring Operation: 51-31=20, Resulting Numbers: [12, 20] Generated Node #0,1,0: 70:[12, 20] Operation: 51-31=20 Exploring Operation: 51-12=39, Resulting Numbers: [31, 39] Generated Node #0,1,1: 70:[31, 39] Operation: 51-12=39 Moving to Node #0,0,1 Current State: 70:[65, 33], Operations: ['96-51=45', '45-12=33'] Exploring Operation: 65-33=32, Resulting Numbers: [32] 32,70 unequal: No Solution Exploring Operation: 65+33=98, Resulting Numbers: [98] 98,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[12, 20], Operations: ['96-65=31', '51-31=20'] Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[12, 20], Operations: ['96-51=45', '65-45=20'] Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[31, 39], Operations: ['96-65=31', '51-12=39'] Exploring Operation: 31+39=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[65, 12, 51, 96], Operations: [] Exploring Operation: 96-65=31, Resulting Numbers: [12, 51, 31] Generated Node #0,1: 70:[12, 51, 31] Operation: 96-65=31 Moving to Node #0,1 Current State: 70:[12, 51, 31], Operations: ['96-65=31'] Exploring Operation: 51-12=39, Resulting Numbers: [31, 39] Generated Node #0,1,1: 70:[31, 39] Operation: 51-12=39 Moving to Node #0,1,1 Current State: 70:[31, 39], Operations: ['96-65=31', '51-12=39'] Exploring Operation: 31+39=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.985243
hs_2
sum_heuristic
[ 4, 73, 34, 82 ]
100
[ "73+34=107", "107-82=25", "4*25=100" ]
Current State: 100:[4, 73, 34, 82], Operations: [] Exploring Operation: 73+34=107, Resulting Numbers: [4, 82, 107] Generated Node #2: [4, 82, 107] from Operation: 73+34=107 Current State: 100:[4, 82, 107], Operations: ['73+34=107'] Exploring Operation: 107-82=25, Resulting Numbers: [4, 25] Generated Node #3: [4, 25] from Operation: 107-82=25 Current State: 100:[4, 25], Operations: ['73+34=107', '107-82=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[4, 73, 34, 82], Operations: [] Exploring Operation: 73+34=107, Resulting Numbers: [4, 82, 107] Generated Node #0,0: 100:[4, 82, 107] Operation: 73+34=107 Exploring Operation: 82-73=9, Resulting Numbers: [4, 34, 9] Generated Node #0,1: 100:[4, 34, 9] Operation: 82-73=9 Moving to Node #0,1 Current State: 100:[4, 34, 9], Operations: ['82-73=9'] Exploring Operation: 34-4=30, Resulting Numbers: [9, 30] Generated Node #0,1,0: 100:[9, 30] Operation: 34-4=30 Exploring Operation: 34-9=25, Resulting Numbers: [4, 25] Generated Node #0,1,1: 100:[4, 25] Operation: 34-9=25 Moving to Node #0,0 Current State: 100:[4, 82, 107], Operations: ['73+34=107'] Exploring Operation: 107-82=25, Resulting Numbers: [4, 25] Generated Node #0,0,0: 100:[4, 25] Operation: 107-82=25 Exploring Operation: 4+82=86, Resulting Numbers: [107, 86] Generated Node #0,0,1: 100:[107, 86] Operation: 4+82=86 Moving to Node #0,1,1 Current State: 100:[4, 25], Operations: ['82-73=9', '34-9=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[4, 73, 34, 82], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [4, 34, 9] Generated Node #0,1: 100:[4, 34, 9] Operation: 82-73=9 Moving to Node #0,1 Current State: 100:[4, 34, 9], Operations: ['82-73=9'] Exploring Operation: 34-9=25, Resulting Numbers: [4, 25] Generated Node #0,1,1: 100:[4, 25] Operation: 34-9=25 Moving to Node #0,1,1 Current State: 100:[4, 25], Operations: ['82-73=9', '34-9=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 21, 96, 13, 55 ]
48
[ "21*96=2016", "55-13=42", "2016/42=48" ]
Current State: 48:[21, 96, 13, 55], Operations: [] Exploring Operation: 21*96=2016, Resulting Numbers: [13, 55, 2016] Generated Node #2: [13, 55, 2016] from Operation: 21*96=2016 Current State: 48:[13, 55, 2016], Operations: ['21*96=2016'] Exploring Operation: 55-13=42, Resulting Numbers: [2016, 42] Generated Node #3: [2016, 42] from Operation: 55-13=42 Current State: 48:[2016, 42], Operations: ['21*96=2016', '55-13=42'] Exploring Operation: 2016/42=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[21, 96, 13, 55], Operations: [] Exploring Operation: 96-55=41, Resulting Numbers: [21, 13, 41] Generated Node #0,0: 48:[21, 13, 41] Operation: 96-55=41 Exploring Operation: 96-21=75, Resulting Numbers: [13, 55, 75] Generated Node #0,1: 48:[13, 55, 75] Operation: 96-21=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[21, 13, 41], Operations: ['96-55=41'] Exploring Operation: 21-13=8, Resulting Numbers: [41, 8] Generated Node #0,0,0: 48:[41, 8] Operation: 21-13=8 Exploring Operation: 41-21=20, Resulting Numbers: [13, 20] Generated Node #0,0,1: 48:[13, 20] Operation: 41-21=20 Moving to Node #0,0,1 Current State: 48:[13, 20], Operations: ['96-55=41', '41-21=20'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[41, 8], Operations: ['96-55=41', '21-13=8'] Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[13, 55, 75], Operations: ['96-21=75'] Exploring Operation: 75-13=62, Resulting Numbers: [55, 62] Generated Node #0,1,0: 48:[55, 62] Operation: 75-13=62 Exploring Operation: 75-55=20, Resulting Numbers: [13, 20] Generated Node #0,1,1: 48:[13, 20] Operation: 75-55=20 Moving to Node #0,1,1 Current State: 48:[13, 20], Operations: ['96-21=75', '75-55=20'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[55, 62], Operations: ['96-21=75', '75-13=62'] Exploring Operation: 55+62=117, Resulting Numbers: [117] 117,48 unequal: No Solution Exploring Operation: 62-55=7, Resulting Numbers: [7] 7,48 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