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
[ 19, 91, 8, 73 ]
29
[ "19+91=110", "8+73=81", "110-81=29" ]
Current State: 29:[19, 91, 8, 73], Operations: [] Exploring Operation: 19+91=110, Resulting Numbers: [8, 73, 110] Generated Node #2: [8, 73, 110] from Operation: 19+91=110 Current State: 29:[8, 73, 110], Operations: ['19+91=110'] Exploring Operation: 8+73=81, Resulting Numbers: [110, 81] Generated Node #3: [110, 81] from Operation: 8+73=81 Current State: 29:[110, 81], Operations: ['19+91=110', '8+73=81'] Exploring Operation: 110-81=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[19, 91, 8, 73], Operations: [] Exploring Operation: 91-73=18, Resulting Numbers: [19, 8, 18] Generated Node #0,0: 29:[19, 8, 18] Operation: 91-73=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[19, 8, 18], Operations: ['91-73=18'] Exploring Operation: 19+8=27, Resulting Numbers: [18, 27] Generated Node #0,0,0: 29:[18, 27] Operation: 19+8=27 Moving to Node #0,0,0 Current State: 29:[18, 27], Operations: ['91-73=18', '19+8=27'] Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 88, 76, 2, 80 ]
46
[ "88-76=12", "80+12=92", "92/2=46" ]
Current State: 46:[88, 76, 2, 80], Operations: [] Exploring Operation: 88-76=12, Resulting Numbers: [2, 80, 12] Generated Node #2: [2, 80, 12] from Operation: 88-76=12 Current State: 46:[2, 80, 12], Operations: ['88-76=12'] Exploring Operation: 80+12=92, Resulting Numbers: [2, 92] Generated Node #3: [2, 92] from Operation: 80+12=92 Current State: 46:[2, 92], Operations: ['88-76=12', '80+12=92'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[88, 76, 2, 80], Operations: [] Exploring Operation: 88-76=12, Resulting Numbers: [2, 80, 12] Generated Node #0,0: 46:[2, 80, 12] Operation: 88-76=12 Exploring Operation: 80-76=4, Resulting Numbers: [88, 2, 4] Generated Node #0,1: 46:[88, 2, 4] Operation: 80-76=4 Exploring Operation: 80/2=40, Resulting Numbers: [88, 76, 40] Generated Node #0,2: 46:[88, 76, 40] Operation: 80/2=40 Exploring Operation: 88-80=8, Resulting Numbers: [76, 2, 8] Generated Node #0,3: 46:[76, 2, 8] Operation: 88-80=8 Exploring Operation: 88/2=44, Resulting Numbers: [76, 80, 44] Generated Node #0,4: 46:[76, 80, 44] Operation: 88/2=44 Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[76, 2, 8], Operations: ['88-80=8'] Exploring Operation: 8/2=4, Resulting Numbers: [76, 4] Generated Node #0,3,0: 46:[76, 4] Operation: 8/2=4 Exploring Operation: 8-2=6, Resulting Numbers: [76, 6] Generated Node #0,3,1: 46:[76, 6] Operation: 8-2=6 Exploring Operation: 76-2=74, Resulting Numbers: [8, 74] Generated Node #0,3,2: 46:[8, 74] Operation: 76-2=74 Exploring Operation: 76-8=68, Resulting Numbers: [2, 68] Generated Node #0,3,3: 46:[2, 68] Operation: 76-8=68 Exploring Operation: 76/2=38, Resulting Numbers: [8, 38] Generated Node #0,3,4: 46:[8, 38] Operation: 76/2=38 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 46:[8, 38], Operations: ['88-80=8', '76/2=38'] Exploring Operation: 8*38=304, Resulting Numbers: [304] 304,46 unequal: No Solution Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[88, 76, 2, 80], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [76, 2, 8] Generated Node #0,3: 46:[76, 2, 8] Operation: 88-80=8 Moving to Node #0,3 Current State: 46:[76, 2, 8], Operations: ['88-80=8'] Exploring Operation: 76/2=38, Resulting Numbers: [8, 38] Generated Node #0,3,4: 46:[8, 38] Operation: 76/2=38 Moving to Node #0,3,4 Current State: 46:[8, 38], Operations: ['88-80=8', '76/2=38'] Exploring Operation: 8+38=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 78, 29, 2, 5 ]
57
[ "29-2=27", "5*27=135", "135-78=57" ]
Current State: 57:[78, 29, 2, 5], Operations: [] Exploring Operation: 29-2=27, Resulting Numbers: [78, 5, 27] Generated Node #2: [78, 5, 27] from Operation: 29-2=27 Current State: 57:[78, 5, 27], Operations: ['29-2=27'] Exploring Operation: 5*27=135, Resulting Numbers: [78, 135] Generated Node #3: [78, 135] from Operation: 5*27=135 Current State: 57:[78, 135], Operations: ['29-2=27', '5*27=135'] Exploring Operation: 135-78=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[78, 29, 2, 5], Operations: [] Exploring Operation: 78-5=73, Resulting Numbers: [29, 2, 73] Generated Node #0,0: 57:[29, 2, 73] Operation: 78-5=73 Exploring Operation: 29*2=58, Resulting Numbers: [78, 5, 58] Generated Node #0,1: 57:[78, 5, 58] Operation: 29*2=58 Exploring Operation: 78-29=49, Resulting Numbers: [2, 5, 49] Generated Node #0,2: 57:[2, 5, 49] Operation: 78-29=49 Moving to Node #0,2 Current State: 57:[2, 5, 49], Operations: ['78-29=49'] Exploring Operation: 5-2=3, Resulting Numbers: [49, 3] Generated Node #0,2,0: 57:[49, 3] Operation: 5-2=3 Exploring Operation: 2+49=51, Resulting Numbers: [5, 51] Generated Node #0,2,1: 57:[5, 51] Operation: 2+49=51 Exploring Operation: 5+49=54, Resulting Numbers: [2, 54] Generated Node #0,2,2: 57:[2, 54] Operation: 5+49=54 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[2, 54], Operations: ['78-29=49', '5+49=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,57 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,57 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,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,2,0 Current State: 57:[49, 3], Operations: ['78-29=49', '5-2=3'] Exploring Operation: 49*3=147, Resulting Numbers: [147] 147,57 unequal: No Solution Exploring Operation: 49+3=52, Resulting Numbers: [52] 52,57 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,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,2,1 Current State: 57:[5, 51], Operations: ['78-29=49', '2+49=51'] Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,57 unequal: No Solution Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,57 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 57:[78, 5, 58], Operations: ['29*2=58'] Exploring Operation: 78-58=20, Resulting Numbers: [5, 20] Generated Node #0,1,0: 57:[5, 20] Operation: 78-58=20 Exploring Operation: 58-5=53, Resulting Numbers: [78, 53] Generated Node #0,1,1: 57:[78, 53] Operation: 58-5=53 Exploring Operation: 78-5=73, Resulting Numbers: [58, 73] Generated Node #0,1,2: 57:[58, 73] Operation: 78-5=73 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[5, 20], Operations: ['29*2=58', '78-58=20'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,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,2 Current State: 57:[58, 73], Operations: ['29*2=58', '78-5=73'] Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 58*73=4234, Resulting Numbers: [4234] 4234,57 unequal: No Solution Exploring Operation: 58+73=131, Resulting Numbers: [131] 131,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,1 Current State: 57:[78, 53], Operations: ['29*2=58', '58-5=53'] Exploring Operation: 78-53=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 78*53=4134, Resulting Numbers: [4134] 4134,57 unequal: No Solution Exploring Operation: 78+53=131, Resulting Numbers: [131] 131,57 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: 57:[29, 2, 73], Operations: ['78-5=73'] Exploring Operation: 29-2=27, Resulting Numbers: [73, 27] Generated Node #0,0,0: 57:[73, 27] Operation: 29-2=27 Exploring Operation: 73-29=44, Resulting Numbers: [2, 44] Generated Node #0,0,1: 57:[2, 44] Operation: 73-29=44 Exploring Operation: 29*2=58, Resulting Numbers: [73, 58] Generated Node #0,0,2: 57:[73, 58] Operation: 29*2=58 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[2, 44], Operations: ['78-5=73', '73-29=44'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,57 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[73, 58], Operations: ['78-5=73', '29*2=58'] Exploring Operation: 73+58=131, Resulting Numbers: [131] 131,57 unequal: No Solution Exploring Operation: 73*58=4234, Resulting Numbers: [4234] 4234,57 unequal: No Solution Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[73, 27], Operations: ['78-5=73', '29-2=27'] Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,57 unequal: No Solution Exploring Operation: 73*27=1971, Resulting Numbers: [1971] 1971,57 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
[ 59, 75, 56, 66 ]
67
[ "66-59=7", "56/7=8", "75-8=67" ]
Current State: 67:[59, 75, 56, 66], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [75, 56, 7] Generated Node #2: [75, 56, 7] from Operation: 66-59=7 Current State: 67:[75, 56, 7], Operations: ['66-59=7'] Exploring Operation: 56/7=8, Resulting Numbers: [75, 8] Generated Node #3: [75, 8] from Operation: 56/7=8 Current State: 67:[75, 8], Operations: ['66-59=7', '56/7=8'] Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[59, 75, 56, 66], Operations: [] Exploring Operation: 59+56=115, Resulting Numbers: [75, 66, 115] Generated Node #0,0: 67:[75, 66, 115] Operation: 59+56=115 Moving to Node #0,0 Current State: 67:[75, 66, 115], Operations: ['59+56=115'] Exploring Operation: 115-66=49, Resulting Numbers: [75, 49] Generated Node #0,0,0: 67:[75, 49] Operation: 115-66=49 Moving to Node #0,0,0 Current State: 67:[75, 49], Operations: ['59+56=115', '115-66=49'] Exploring Operation: 75-49=26, Resulting Numbers: [26] 26,67 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 28, 37, 80, 3 ]
12
[ "28+37=65", "80-3=77", "77-65=12" ]
Current State: 12:[28, 37, 80, 3], Operations: [] Exploring Operation: 28+37=65, Resulting Numbers: [80, 3, 65] Generated Node #2: [80, 3, 65] from Operation: 28+37=65 Current State: 12:[80, 3, 65], Operations: ['28+37=65'] Exploring Operation: 80-3=77, Resulting Numbers: [65, 77] Generated Node #3: [65, 77] from Operation: 80-3=77 Current State: 12:[65, 77], Operations: ['28+37=65', '80-3=77'] Exploring Operation: 77-65=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[28, 37, 80, 3], Operations: [] Exploring Operation: 80-28=52, Resulting Numbers: [37, 3, 52] Generated Node #0,0: 12:[37, 3, 52] Operation: 80-28=52 Exploring Operation: 80-37=43, Resulting Numbers: [28, 3, 43] Generated Node #0,1: 12:[28, 3, 43] Operation: 80-37=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[28, 3, 43], Operations: ['80-37=43'] Exploring Operation: 43-28=15, Resulting Numbers: [3, 15] Generated Node #0,1,0: 12:[3, 15] Operation: 43-28=15 Exploring Operation: 28-3=25, Resulting Numbers: [43, 25] Generated Node #0,1,1: 12:[43, 25] Operation: 28-3=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[3, 15], Operations: ['80-37=43', '43-28=15'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[28, 37, 80, 3], Operations: [] Exploring Operation: 80-37=43, Resulting Numbers: [28, 3, 43] Generated Node #0,1: 12:[28, 3, 43] Operation: 80-37=43 Moving to Node #0,1 Current State: 12:[28, 3, 43], Operations: ['80-37=43'] Exploring Operation: 43-28=15, Resulting Numbers: [3, 15] Generated Node #0,1,0: 12:[3, 15] Operation: 43-28=15 Moving to Node #0,1,0 Current State: 12:[3, 15], Operations: ['80-37=43', '43-28=15'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 80, 45, 4, 8 ]
73
[ "80/4=20", "45+8=53", "20+53=73" ]
Current State: 73:[80, 45, 4, 8], Operations: [] Exploring Operation: 80/4=20, Resulting Numbers: [45, 8, 20] Generated Node #2: [45, 8, 20] from Operation: 80/4=20 Current State: 73:[45, 8, 20], Operations: ['80/4=20'] Exploring Operation: 45+8=53, Resulting Numbers: [20, 53] Generated Node #3: [20, 53] from Operation: 45+8=53 Current State: 73:[20, 53], Operations: ['80/4=20', '45+8=53'] Exploring Operation: 20+53=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[80, 45, 4, 8], Operations: [] Exploring Operation: 45+4=49, Resulting Numbers: [80, 8, 49] Generated Node #0,0: 73:[80, 8, 49] Operation: 45+4=49 Exploring Operation: 80-4=76, Resulting Numbers: [45, 8, 76] Generated Node #0,1: 73:[45, 8, 76] Operation: 80-4=76 Exploring Operation: 4*8=32, Resulting Numbers: [80, 45, 32] Generated Node #0,2: 73:[80, 45, 32] Operation: 4*8=32 Exploring Operation: 45+8=53, Resulting Numbers: [80, 4, 53] Generated Node #0,3: 73:[80, 4, 53] Operation: 45+8=53 Exploring Operation: 4+8=12, Resulting Numbers: [80, 45, 12] Generated Node #0,4: 73:[80, 45, 12] Operation: 4+8=12 Moving to Node #0,2 Current State: 73:[80, 45, 32], Operations: ['4*8=32'] Exploring Operation: 80+32=112, Resulting Numbers: [45, 112] Generated Node #0,2,0: 73:[45, 112] Operation: 80+32=112 Exploring Operation: 80-32=48, Resulting Numbers: [45, 48] Generated Node #0,2,1: 73:[45, 48] Operation: 80-32=48 Exploring Operation: 45+32=77, Resulting Numbers: [80, 77] Generated Node #0,2,2: 73:[80, 77] Operation: 45+32=77 Exploring Operation: 80-45=35, Resulting Numbers: [32, 35] Generated Node #0,2,3: 73:[32, 35] Operation: 80-45=35 Exploring Operation: 45-32=13, Resulting Numbers: [80, 13] Generated Node #0,2,4: 73:[80, 13] Operation: 45-32=13 Moving to Node #0,1 Current State: 73:[45, 8, 76], Operations: ['80-4=76'] Exploring Operation: 45+8=53, Resulting Numbers: [76, 53] Generated Node #0,1,0: 73:[76, 53] Operation: 45+8=53 Exploring Operation: 76-45=31, Resulting Numbers: [8, 31] Generated Node #0,1,1: 73:[8, 31] Operation: 76-45=31 Exploring Operation: 45-8=37, Resulting Numbers: [76, 37] Generated Node #0,1,2: 73:[76, 37] Operation: 45-8=37 Exploring Operation: 76-8=68, Resulting Numbers: [45, 68] Generated Node #0,1,3: 73:[45, 68] Operation: 76-8=68 Exploring Operation: 8+76=84, Resulting Numbers: [45, 84] Generated Node #0,1,4: 73:[45, 84] Operation: 8+76=84 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[76, 53], Operations: ['80-4=76', '45+8=53'] Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,73 unequal: No Solution Exploring Operation: 76*53=4028, Resulting Numbers: [4028] 4028,73 unequal: No Solution Exploring Operation: 76+53=129, Resulting Numbers: [129] 129,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,3 Current State: 73:[45, 68], Operations: ['80-4=76', '76-8=68'] Exploring Operation: 45*68=3060, Resulting Numbers: [3060] 3060,73 unequal: No Solution Exploring Operation: 45+68=113, Resulting Numbers: [113] 113,73 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,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:[76, 37], Operations: ['80-4=76', '45-8=37'] Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,73 unequal: No Solution Exploring Operation: 76+37=113, Resulting Numbers: [113] 113,73 unequal: No Solution Exploring Operation: 76*37=2812, Resulting Numbers: [2812] 2812,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:[45, 84], Operations: ['80-4=76', '8+76=84'] Exploring Operation: 45+84=129, Resulting Numbers: [129] 129,73 unequal: No Solution Exploring Operation: 45*84=3780, Resulting Numbers: [3780] 3780,73 unequal: No Solution Exploring Operation: 84-45=39, Resulting Numbers: [39] 39,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:[8, 31], Operations: ['80-4=76', '76-45=31'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,73 unequal: No Solution Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,73 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,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:[80, 45, 12], Operations: ['4+8=12'] Exploring Operation: 80-12=68, Resulting Numbers: [45, 68] Generated Node #0,4,0: 73:[45, 68] Operation: 80-12=68 Exploring Operation: 80+12=92, Resulting Numbers: [45, 92] Generated Node #0,4,1: 73:[45, 92] Operation: 80+12=92 Exploring Operation: 45-12=33, Resulting Numbers: [80, 33] Generated Node #0,4,2: 73:[80, 33] Operation: 45-12=33 Exploring Operation: 80-45=35, Resulting Numbers: [12, 35] Generated Node #0,4,3: 73:[12, 35] Operation: 80-45=35 Exploring Operation: 45+12=57, Resulting Numbers: [80, 57] Generated Node #0,4,4: 73:[80, 57] Operation: 45+12=57 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 73:[80, 57], Operations: ['4+8=12', '45+12=57'] Exploring Operation: 80-57=23, Resulting Numbers: [23] 23,73 unequal: No Solution Exploring Operation: 80*57=4560, Resulting Numbers: [4560] 4560,73 unequal: No Solution Exploring Operation: 80+57=137, Resulting Numbers: [137] 137,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,4,0 Current State: 73:[45, 68], Operations: ['4+8=12', '80-12=68'] Exploring Operation: 45*68=3060, Resulting Numbers: [3060] 3060,73 unequal: No Solution Exploring Operation: 45+68=113, Resulting Numbers: [113] 113,73 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,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,4,1 Current State: 73:[45, 92], Operations: ['4+8=12', '80+12=92'] Exploring Operation: 45*92=4140, Resulting Numbers: [4140] 4140,73 unequal: No Solution Exploring Operation: 92-45=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 45+92=137, Resulting Numbers: [137] 137,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,4,2 Current State: 73:[80, 33], Operations: ['4+8=12', '45-12=33'] Exploring Operation: 80-33=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 80+33=113, Resulting Numbers: [113] 113,73 unequal: No Solution Exploring Operation: 80*33=2640, Resulting Numbers: [2640] 2640,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,4,3 Current State: 73:[12, 35], Operations: ['4+8=12', '80-45=35'] Exploring Operation: 12+35=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 12*35=420, Resulting Numbers: [420] 420,73 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,73 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: 73:[80, 8, 49], Operations: ['45+4=49'] Exploring Operation: 49-8=41, Resulting Numbers: [80, 41] Generated Node #0,0,0: 73:[80, 41] Operation: 49-8=41 Exploring Operation: 80/8=10, Resulting Numbers: [49, 10] Generated Node #0,0,1: 73:[49, 10] Operation: 80/8=10 Exploring Operation: 80+8=88, Resulting Numbers: [49, 88] Generated Node #0,0,2: 73:[49, 88] Operation: 80+8=88 Exploring Operation: 8+49=57, Resulting Numbers: [80, 57] Generated Node #0,0,3: 73:[80, 57] Operation: 8+49=57 Exploring Operation: 80-8=72, Resulting Numbers: [49, 72] Generated Node #0,0,4: 73:[49, 72] Operation: 80-8=72 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 73:[80, 57], Operations: ['45+4=49', '8+49=57'] Exploring Operation: 80+57=137, Resulting Numbers: [137] 137,73 unequal: No Solution Exploring Operation: 80-57=23, Resulting Numbers: [23] 23,73 unequal: No Solution Exploring Operation: 80*57=4560, Resulting Numbers: [4560] 4560,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,0,4 Current State: 73:[49, 72], Operations: ['45+4=49', '80-8=72'] Exploring Operation: 49*72=3528, Resulting Numbers: [3528] 3528,73 unequal: No Solution Exploring Operation: 49+72=121, Resulting Numbers: [121] 121,73 unequal: No Solution Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,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,0,0 Current State: 73:[80, 41], Operations: ['45+4=49', '49-8=41'] Exploring Operation: 80*41=3280, Resulting Numbers: [3280] 3280,73 unequal: No Solution Exploring Operation: 80+41=121, Resulting Numbers: [121] 121,73 unequal: No Solution Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,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,0,2 Current State: 73:[49, 88], Operations: ['45+4=49', '80+8=88'] Exploring Operation: 49+88=137, Resulting Numbers: [137] 137,73 unequal: No Solution Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,73 unequal: No Solution Exploring Operation: 49*88=4312, Resulting Numbers: [4312] 4312,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,0,1 Current State: 73:[49, 10], Operations: ['45+4=49', '80/8=10'] Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,73 unequal: No Solution Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,73 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,73 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: 73:[80, 4, 53], Operations: ['45+8=53'] Exploring Operation: 80-4=76, Resulting Numbers: [53, 76] Generated Node #0,3,0: 73:[53, 76] Operation: 80-4=76 Exploring Operation: 80/4=20, Resulting Numbers: [53, 20] Generated Node #0,3,1: 73:[53, 20] Operation: 80/4=20 Exploring Operation: 4+53=57, Resulting Numbers: [80, 57] Generated Node #0,3,2: 73:[80, 57] Operation: 4+53=57 Exploring Operation: 80+4=84, Resulting Numbers: [53, 84] Generated Node #0,3,3: 73:[53, 84] Operation: 80+4=84 Exploring Operation: 53-4=49, Resulting Numbers: [80, 49] Generated Node #0,3,4: 73:[80, 49] Operation: 53-4=49 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[53, 76], Operations: ['45+8=53', '80-4=76'] Exploring Operation: 53*76=4028, Resulting Numbers: [4028] 4028,73 unequal: No Solution Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,73 unequal: No Solution Exploring Operation: 53+76=129, Resulting Numbers: [129] 129,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,2 Current State: 73:[80, 57], Operations: ['45+8=53', '4+53=57'] Exploring Operation: 80+57=137, Resulting Numbers: [137] 137,73 unequal: No Solution Exploring Operation: 80*57=4560, Resulting Numbers: [4560] 4560,73 unequal: No Solution Exploring Operation: 80-57=23, Resulting Numbers: [23] 23,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:[53, 84], Operations: ['45+8=53', '80+4=84'] Exploring Operation: 84-53=31, Resulting Numbers: [31] 31,73 unequal: No Solution Exploring Operation: 53+84=137, Resulting Numbers: [137] 137,73 unequal: No Solution Exploring Operation: 53*84=4452, Resulting Numbers: [4452] 4452,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:[80, 49], Operations: ['45+8=53', '53-4=49'] Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,73 unequal: No Solution Exploring Operation: 80*49=3920, Resulting Numbers: [3920] 3920,73 unequal: No Solution Exploring Operation: 80+49=129, Resulting Numbers: [129] 129,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:[53, 20], Operations: ['45+8=53', '80/4=20'] Exploring Operation: 53*20=1060, Resulting Numbers: [1060] 1060,73 unequal: No Solution Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 53+20=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[80, 45, 4, 8], Operations: [] Exploring Operation: 45+8=53, Resulting Numbers: [80, 4, 53] Generated Node #0,3: 73:[80, 4, 53] Operation: 45+8=53 Moving to Node #0,3 Current State: 73:[80, 4, 53], Operations: ['45+8=53'] Exploring Operation: 80/4=20, Resulting Numbers: [53, 20] Generated Node #0,3,1: 73:[53, 20] Operation: 80/4=20 Moving to Node #0,3,1 Current State: 73:[53, 20], Operations: ['45+8=53', '80/4=20'] Exploring Operation: 53+20=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.918403
hs_5
sum_heuristic
[ 45, 35, 51, 62 ]
33
[ "45+35=80", "51+62=113", "113-80=33" ]
Current State: 33:[45, 35, 51, 62], Operations: [] Exploring Operation: 45+35=80, Resulting Numbers: [51, 62, 80] Generated Node #2: [51, 62, 80] from Operation: 45+35=80 Current State: 33:[51, 62, 80], Operations: ['45+35=80'] Exploring Operation: 51+62=113, Resulting Numbers: [80, 113] Generated Node #3: [80, 113] from Operation: 51+62=113 Current State: 33:[80, 113], Operations: ['45+35=80', '51+62=113'] Exploring Operation: 113-80=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[45, 35, 51, 62], Operations: [] Exploring Operation: 62-35=27, Resulting Numbers: [45, 51, 27] Generated Node #0,0: 33:[45, 51, 27] Operation: 62-35=27 Exploring Operation: 62-51=11, Resulting Numbers: [45, 35, 11] Generated Node #0,1: 33:[45, 35, 11] Operation: 62-51=11 Exploring Operation: 62-45=17, Resulting Numbers: [35, 51, 17] Generated Node #0,2: 33:[35, 51, 17] Operation: 62-45=17 Exploring Operation: 51-35=16, Resulting Numbers: [45, 62, 16] Generated Node #0,3: 33:[45, 62, 16] Operation: 51-35=16 Exploring Operation: 51-45=6, Resulting Numbers: [35, 62, 6] Generated Node #0,4: 33:[35, 62, 6] Operation: 51-45=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[45, 35, 11], Operations: ['62-51=11'] Exploring Operation: 45-11=34, Resulting Numbers: [35, 34] Generated Node #0,1,0: 33:[35, 34] Operation: 45-11=34 Exploring Operation: 35-11=24, Resulting Numbers: [45, 24] Generated Node #0,1,1: 33:[45, 24] Operation: 35-11=24 Exploring Operation: 45+11=56, Resulting Numbers: [35, 56] Generated Node #0,1,2: 33:[35, 56] Operation: 45+11=56 Exploring Operation: 35+11=46, Resulting Numbers: [45, 46] Generated Node #0,1,3: 33:[45, 46] Operation: 35+11=46 Exploring Operation: 45-35=10, Resulting Numbers: [11, 10] Generated Node #0,1,4: 33:[11, 10] Operation: 45-35=10 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 33:[11, 10], Operations: ['62-51=11', '45-35=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[35, 34], Operations: ['62-51=11', '45-11=34'] Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,33 unequal: No Solution Exploring Operation: 35*34=1190, Resulting Numbers: [1190] 1190,33 unequal: No Solution Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[45, 24], Operations: ['62-51=11', '35-11=24'] Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,33 unequal: No Solution Exploring Operation: 45*24=1080, Resulting Numbers: [1080] 1080,33 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[35, 56], Operations: ['62-51=11', '45+11=56'] Exploring Operation: 35+56=91, Resulting Numbers: [91] 91,33 unequal: No Solution Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 35*56=1960, Resulting Numbers: [1960] 1960,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 33:[45, 46], Operations: ['62-51=11', '35+11=46'] Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 45+46=91, Resulting Numbers: [91] 91,33 unequal: No Solution Exploring Operation: 45*46=2070, Resulting Numbers: [2070] 2070,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[35, 51, 17], Operations: ['62-45=17'] Exploring Operation: 51-35=16, Resulting Numbers: [17, 16] Generated Node #0,2,0: 33:[17, 16] Operation: 51-35=16 Exploring Operation: 35-17=18, Resulting Numbers: [51, 18] Generated Node #0,2,1: 33:[51, 18] Operation: 35-17=18 Exploring Operation: 35+17=52, Resulting Numbers: [51, 52] Generated Node #0,2,2: 33:[51, 52] Operation: 35+17=52 Exploring Operation: 51-17=34, Resulting Numbers: [35, 34] Generated Node #0,2,3: 33:[35, 34] Operation: 51-17=34 Exploring Operation: 51/17=3, Resulting Numbers: [35, 3] Generated Node #0,2,4: 33:[35, 3] Operation: 51/17=3 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 33:[35, 3], Operations: ['62-45=17', '51/17=3'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 33:[35, 34], Operations: ['62-45=17', '51-17=34'] Exploring Operation: 35*34=1190, Resulting Numbers: [1190] 1190,33 unequal: No Solution Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,33 unequal: No Solution Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 33:[17, 16], Operations: ['62-45=17', '51-35=16'] Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,33 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[45, 35, 51, 62], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [35, 51, 17] Generated Node #0,2: 33:[35, 51, 17] Operation: 62-45=17 Moving to Node #0,2 Current State: 33:[35, 51, 17], Operations: ['62-45=17'] Exploring Operation: 51-35=16, Resulting Numbers: [17, 16] Generated Node #0,2,0: 33:[17, 16] Operation: 51-35=16 Moving to Node #0,2,0 Current State: 33:[17, 16], Operations: ['62-45=17', '51-35=16'] Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 81, 27, 96, 28 ]
40
[ "81+27=108", "96-28=68", "108-68=40" ]
Current State: 40:[81, 27, 96, 28], Operations: [] Exploring Operation: 81+27=108, Resulting Numbers: [96, 28, 108] Generated Node #2: [96, 28, 108] from Operation: 81+27=108 Current State: 40:[96, 28, 108], Operations: ['81+27=108'] Exploring Operation: 96-28=68, Resulting Numbers: [108, 68] Generated Node #3: [108, 68] from Operation: 96-28=68 Current State: 40:[108, 68], Operations: ['81+27=108', '96-28=68'] Exploring Operation: 108-68=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[81, 27, 96, 28], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [96, 28, 3] Generated Node #0,0: 40:[96, 28, 3] Operation: 81/27=3 Exploring Operation: 96-81=15, Resulting Numbers: [27, 28, 15] Generated Node #0,1: 40:[27, 28, 15] Operation: 96-81=15 Moving to Node #0,1 Current State: 40:[27, 28, 15], Operations: ['96-81=15'] Exploring Operation: 27+15=42, Resulting Numbers: [28, 42] Generated Node #0,1,0: 40:[28, 42] Operation: 27+15=42 Exploring Operation: 28-27=1, Resulting Numbers: [15, 1] Generated Node #0,1,1: 40:[15, 1] Operation: 28-27=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[15, 1], Operations: ['96-81=15', '28-27=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[28, 42], Operations: ['96-81=15', '27+15=42'] Exploring Operation: 28+42=70, Resulting Numbers: [70] 70,40 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,40 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: 40:[96, 28, 3], Operations: ['81/27=3'] Exploring Operation: 96/3=32, Resulting Numbers: [28, 32] Generated Node #0,0,0: 40:[28, 32] Operation: 96/3=32 Exploring Operation: 96-28=68, Resulting Numbers: [3, 68] Generated Node #0,0,1: 40:[3, 68] Operation: 96-28=68 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[28, 32], Operations: ['81/27=3', '96/3=32'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,40 unequal: No Solution Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[3, 68], Operations: ['81/27=3', '96-28=68'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,40 unequal: No Solution Exploring Operation: 3+68=71, Resulting Numbers: [71] 71,40 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
[ 23, 17, 3, 56 ]
99
[ "23+17=40", "3+56=59", "40+59=99" ]
Current State: 99:[23, 17, 3, 56], Operations: [] Exploring Operation: 23+17=40, Resulting Numbers: [3, 56, 40] Generated Node #2: [3, 56, 40] from Operation: 23+17=40 Current State: 99:[3, 56, 40], Operations: ['23+17=40'] Exploring Operation: 3+56=59, Resulting Numbers: [40, 59] Generated Node #3: [40, 59] from Operation: 3+56=59 Current State: 99:[40, 59], Operations: ['23+17=40', '3+56=59'] Exploring Operation: 40+59=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[23, 17, 3, 56], Operations: [] Exploring Operation: 23-17=6, Resulting Numbers: [3, 56, 6] Generated Node #0,0: 99:[3, 56, 6] Operation: 23-17=6 Exploring Operation: 56-23=33, Resulting Numbers: [17, 3, 33] Generated Node #0,1: 99:[17, 3, 33] Operation: 56-23=33 Exploring Operation: 56-17=39, Resulting Numbers: [23, 3, 39] Generated Node #0,2: 99:[23, 3, 39] Operation: 56-17=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[17, 3, 33], Operations: ['56-23=33'] Exploring Operation: 17-3=14, Resulting Numbers: [33, 14] Generated Node #0,1,0: 99:[33, 14] Operation: 17-3=14 Exploring Operation: 3*33=99, Resulting Numbers: [17, 99] Generated Node #0,1,1: 99:[17, 99] Operation: 3*33=99 Exploring Operation: 33-17=16, Resulting Numbers: [3, 16] Generated Node #0,1,2: 99:[3, 16] Operation: 33-17=16 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[33, 14], Operations: ['56-23=33', '17-3=14'] Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,99 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 99:[3, 16], Operations: ['56-23=33', '33-17=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,99 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,99 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[17, 99], Operations: ['56-23=33', '3*33=99'] Exploring Operation: 17+99=116, Resulting Numbers: [116] 116,99 unequal: No Solution Exploring Operation: 99-17=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 17*99=1683, Resulting Numbers: [1683] 1683,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[23, 3, 39], Operations: ['56-17=39'] Exploring Operation: 39-23=16, Resulting Numbers: [3, 16] Generated Node #0,2,0: 99:[3, 16] Operation: 39-23=16 Exploring Operation: 39/3=13, Resulting Numbers: [23, 13] Generated Node #0,2,1: 99:[23, 13] Operation: 39/3=13 Exploring Operation: 23+3=26, Resulting Numbers: [39, 26] Generated Node #0,2,2: 99:[39, 26] Operation: 23+3=26 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 99:[3, 16], Operations: ['56-17=39', '39-23=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,99 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 99:[23, 13], Operations: ['56-17=39', '39/3=13'] Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,99 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 99:[39, 26], Operations: ['56-17=39', '23+3=26'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,99 unequal: No Solution Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,99 unequal: No Solution Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[3, 56, 6], Operations: ['23-17=6'] Exploring Operation: 56-6=50, Resulting Numbers: [3, 50] Generated Node #0,0,0: 99:[3, 50] Operation: 56-6=50 Exploring Operation: 3+6=9, Resulting Numbers: [56, 9] Generated Node #0,0,1: 99:[56, 9] Operation: 3+6=9 Exploring Operation: 56-3=53, Resulting Numbers: [6, 53] Generated Node #0,0,2: 99:[6, 53] Operation: 56-3=53 Moving to Node #0,0,0 Current State: 99:[3, 50], Operations: ['23-17=6', '56-6=50'] Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,99 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,99 unequal: No Solution Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[56, 9], Operations: ['23-17=6', '3+6=9'] Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,99 unequal: No Solution Exploring Operation: 56*9=504, Resulting Numbers: [504] 504,99 unequal: No Solution Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[6, 53], Operations: ['23-17=6', '56-3=53'] Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,99 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,99 unequal: No Solution Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,99 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
[ 51, 17, 4, 80 ]
68
[ "51/17=3", "4*3=12", "80-12=68" ]
Current State: 68:[51, 17, 4, 80], Operations: [] Exploring Operation: 51/17=3, Resulting Numbers: [4, 80, 3] Generated Node #2: [4, 80, 3] from Operation: 51/17=3 Current State: 68:[4, 80, 3], Operations: ['51/17=3'] Exploring Operation: 4*3=12, Resulting Numbers: [80, 12] Generated Node #3: [80, 12] from Operation: 4*3=12 Current State: 68:[80, 12], Operations: ['51/17=3', '4*3=12'] Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[51, 17, 4, 80], Operations: [] Exploring Operation: 80-51=29, Resulting Numbers: [17, 4, 29] Generated Node #0,0: 68:[17, 4, 29] Operation: 80-51=29 Moving to Node #0,0 Current State: 68:[17, 4, 29], Operations: ['80-51=29'] Exploring Operation: 4+29=33, Resulting Numbers: [17, 33] Generated Node #0,0,0: 68:[17, 33] Operation: 4+29=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[17, 33], Operations: ['80-51=29', '4+29=33'] Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,68 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
[ 32, 4, 53, 40 ]
11
[ "53-32=21", "40/4=10", "21-10=11" ]
Current State: 11:[32, 4, 53, 40], Operations: [] Exploring Operation: 53-32=21, Resulting Numbers: [4, 40, 21] Generated Node #2: [4, 40, 21] from Operation: 53-32=21 Current State: 11:[4, 40, 21], Operations: ['53-32=21'] Exploring Operation: 40/4=10, Resulting Numbers: [21, 10] Generated Node #3: [21, 10] from Operation: 40/4=10 Current State: 11:[21, 10], Operations: ['53-32=21', '40/4=10'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[32, 4, 53, 40], Operations: [] Exploring Operation: 40-32=8, Resulting Numbers: [4, 53, 8] Generated Node #0,0: 11:[4, 53, 8] Operation: 40-32=8 Exploring Operation: 53-40=13, Resulting Numbers: [32, 4, 13] Generated Node #0,1: 11:[32, 4, 13] Operation: 53-40=13 Exploring Operation: 40/4=10, Resulting Numbers: [32, 53, 10] Generated Node #0,2: 11:[32, 53, 10] Operation: 40/4=10 Exploring Operation: 53-32=21, Resulting Numbers: [4, 40, 21] Generated Node #0,3: 11:[4, 40, 21] Operation: 53-32=21 Moving to Node #0,1 Current State: 11:[32, 4, 13], Operations: ['53-40=13'] Exploring Operation: 32/4=8, Resulting Numbers: [13, 8] Generated Node #0,1,0: 11:[13, 8] Operation: 32/4=8 Exploring Operation: 32-4=28, Resulting Numbers: [13, 28] Generated Node #0,1,1: 11:[13, 28] Operation: 32-4=28 Exploring Operation: 13-4=9, Resulting Numbers: [32, 9] Generated Node #0,1,2: 11:[32, 9] Operation: 13-4=9 Exploring Operation: 32-13=19, Resulting Numbers: [4, 19] Generated Node #0,1,3: 11:[4, 19] Operation: 32-13=19 Moving to Node #0,3 Current State: 11:[4, 40, 21], Operations: ['53-32=21'] Exploring Operation: 40/4=10, Resulting Numbers: [21, 10] Generated Node #0,3,0: 11:[21, 10] Operation: 40/4=10 Exploring Operation: 40-21=19, Resulting Numbers: [4, 19] Generated Node #0,3,1: 11:[4, 19] Operation: 40-21=19 Exploring Operation: 21-4=17, Resulting Numbers: [40, 17] Generated Node #0,3,2: 11:[40, 17] Operation: 21-4=17 Exploring Operation: 40-4=36, Resulting Numbers: [21, 36] Generated Node #0,3,3: 11:[21, 36] Operation: 40-4=36 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[21, 10], Operations: ['53-32=21', '40/4=10'] Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,11 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,11 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[32, 4, 53, 40], Operations: [] Exploring Operation: 53-32=21, Resulting Numbers: [4, 40, 21] Generated Node #0,3: 11:[4, 40, 21] Operation: 53-32=21 Moving to Node #0,3 Current State: 11:[4, 40, 21], Operations: ['53-32=21'] Exploring Operation: 40/4=10, Resulting Numbers: [21, 10] Generated Node #0,3,0: 11:[21, 10] Operation: 40/4=10 Moving to Node #0,3,0 Current State: 11:[21, 10], Operations: ['53-32=21', '40/4=10'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 54, 16, 13, 2 ]
36
[ "54*2=108", "16-13=3", "108/3=36" ]
Current State: 36:[54, 16, 13, 2], Operations: [] Exploring Operation: 54*2=108, Resulting Numbers: [16, 13, 108] Generated Node #2: [16, 13, 108] from Operation: 54*2=108 Current State: 36:[16, 13, 108], Operations: ['54*2=108'] Exploring Operation: 16-13=3, Resulting Numbers: [108, 3] Generated Node #3: [108, 3] from Operation: 16-13=3 Current State: 36:[108, 3], Operations: ['54*2=108', '16-13=3'] Exploring Operation: 108/3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[54, 16, 13, 2], Operations: [] Exploring Operation: 54-16=38, Resulting Numbers: [13, 2, 38] Generated Node #0,0: 36:[13, 2, 38] Operation: 54-16=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[13, 2, 38], Operations: ['54-16=38'] Exploring Operation: 38-2=36, Resulting Numbers: [13, 36] Generated Node #0,0,0: 36:[13, 36] Operation: 38-2=36 Moving to Node #0,0,0 Current State: 36:[13, 36], Operations: ['54-16=38', '38-2=36'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 60, 98, 20, 13 ]
74
[ "60*20=1200", "98*13=1274", "1274-1200=74" ]
Current State: 74:[60, 98, 20, 13], Operations: [] Exploring Operation: 60*20=1200, Resulting Numbers: [98, 13, 1200] Generated Node #2: [98, 13, 1200] from Operation: 60*20=1200 Current State: 74:[98, 13, 1200], Operations: ['60*20=1200'] Exploring Operation: 98*13=1274, Resulting Numbers: [1200, 1274] Generated Node #3: [1200, 1274] from Operation: 98*13=1274 Current State: 74:[1200, 1274], Operations: ['60*20=1200', '98*13=1274'] Exploring Operation: 1274-1200=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[60, 98, 20, 13], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [20, 13, 38] Generated Node #0,0: 74:[20, 13, 38] Operation: 98-60=38 Moving to Node #0,0 Current State: 74:[20, 13, 38], Operations: ['98-60=38'] Exploring Operation: 20+13=33, Resulting Numbers: [38, 33] Generated Node #0,0,0: 74:[38, 33] Operation: 20+13=33 Moving to Node #0,0,0 Current State: 74:[38, 33], Operations: ['98-60=38', '20+13=33'] Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,74 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 56, 3, 44, 58 ]
39
[ "56-3=53", "58-44=14", "53-14=39" ]
Current State: 39:[56, 3, 44, 58], Operations: [] Exploring Operation: 56-3=53, Resulting Numbers: [44, 58, 53] Generated Node #2: [44, 58, 53] from Operation: 56-3=53 Current State: 39:[44, 58, 53], Operations: ['56-3=53'] Exploring Operation: 58-44=14, Resulting Numbers: [53, 14] Generated Node #3: [53, 14] from Operation: 58-44=14 Current State: 39:[53, 14], Operations: ['56-3=53', '58-44=14'] Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[56, 3, 44, 58], Operations: [] Exploring Operation: 56-44=12, Resulting Numbers: [3, 58, 12] Generated Node #0,0: 39:[3, 58, 12] Operation: 56-44=12 Exploring Operation: 58-44=14, Resulting Numbers: [56, 3, 14] Generated Node #0,1: 39:[56, 3, 14] Operation: 58-44=14 Exploring Operation: 58-56=2, Resulting Numbers: [3, 44, 2] Generated Node #0,2: 39:[3, 44, 2] Operation: 58-56=2 Moving to Node #0,2 Current State: 39:[3, 44, 2], Operations: ['58-56=2'] Exploring Operation: 3+2=5, Resulting Numbers: [44, 5] Generated Node #0,2,0: 39:[44, 5] Operation: 3+2=5 Exploring Operation: 44-2=42, Resulting Numbers: [3, 42] Generated Node #0,2,1: 39:[3, 42] Operation: 44-2=42 Exploring Operation: 44-3=41, Resulting Numbers: [2, 41] Generated Node #0,2,2: 39:[2, 41] Operation: 44-3=41 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 39:[3, 42], Operations: ['58-56=2', '44-2=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[56, 3, 44, 58], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [3, 44, 2] Generated Node #0,2: 39:[3, 44, 2] Operation: 58-56=2 Moving to Node #0,2 Current State: 39:[3, 44, 2], Operations: ['58-56=2'] Exploring Operation: 44-2=42, Resulting Numbers: [3, 42] Generated Node #0,2,1: 39:[3, 42] Operation: 44-2=42 Moving to Node #0,2,1 Current State: 39:[3, 42], Operations: ['58-56=2', '44-2=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 51, 44, 26, 33 ]
52
[ "51-44=7", "26+33=59", "59-7=52" ]
Current State: 52:[51, 44, 26, 33], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [26, 33, 7] Generated Node #2: [26, 33, 7] from Operation: 51-44=7 Current State: 52:[26, 33, 7], Operations: ['51-44=7'] Exploring Operation: 26+33=59, Resulting Numbers: [7, 59] Generated Node #3: [7, 59] from Operation: 26+33=59 Current State: 52:[7, 59], Operations: ['51-44=7', '26+33=59'] Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[51, 44, 26, 33], Operations: [] Exploring Operation: 33-26=7, Resulting Numbers: [51, 44, 7] Generated Node #0,0: 52:[51, 44, 7] Operation: 33-26=7 Exploring Operation: 51-44=7, Resulting Numbers: [26, 33, 7] Generated Node #0,1: 52:[26, 33, 7] Operation: 51-44=7 Exploring Operation: 44-33=11, Resulting Numbers: [51, 26, 11] Generated Node #0,2: 52:[51, 26, 11] Operation: 44-33=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[51, 26, 11], Operations: ['44-33=11'] Exploring Operation: 51+11=62, Resulting Numbers: [26, 62] Generated Node #0,2,0: 52:[26, 62] Operation: 51+11=62 Exploring Operation: 26-11=15, Resulting Numbers: [51, 15] Generated Node #0,2,1: 52:[51, 15] Operation: 26-11=15 Exploring Operation: 51-26=25, Resulting Numbers: [11, 25] Generated Node #0,2,2: 52:[11, 25] Operation: 51-26=25 Moving to Node #0,2,1 Current State: 52:[51, 15], Operations: ['44-33=11', '26-11=15'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,52 unequal: No Solution Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[11, 25], Operations: ['44-33=11', '51-26=25'] Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 11*25=275, Resulting Numbers: [275] 275,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[26, 62], Operations: ['44-33=11', '51+11=62'] Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,52 unequal: No Solution Exploring Operation: 26*62=1612, Resulting Numbers: [1612] 1612,52 unequal: No Solution Exploring Operation: 26+62=88, Resulting Numbers: [88] 88,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,1 Current State: 52:[26, 33, 7], Operations: ['51-44=7'] Exploring Operation: 26+33=59, Resulting Numbers: [7, 59] Generated Node #0,1,0: 52:[7, 59] Operation: 26+33=59 Exploring Operation: 33-26=7, Resulting Numbers: [7, 7] Generated Node #0,1,1: 52:[7, 7] Operation: 33-26=7 Exploring Operation: 33-7=26, Resulting Numbers: [26, 26] Generated Node #0,1,2: 52:[26, 26] Operation: 33-7=26 Moving to Node #0,1,2 Current State: 52:[26, 26], Operations: ['51-44=7', '33-7=26'] Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,52 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[51, 44, 26, 33], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [26, 33, 7] Generated Node #0,1: 52:[26, 33, 7] Operation: 51-44=7 Moving to Node #0,1 Current State: 52:[26, 33, 7], Operations: ['51-44=7'] Exploring Operation: 33-7=26, Resulting Numbers: [26, 26] Generated Node #0,1,2: 52:[26, 26] Operation: 33-7=26 Moving to Node #0,1,2 Current State: 52:[26, 26], Operations: ['51-44=7', '33-7=26'] Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 17, 64, 20, 38 ]
29
[ "64-17=47", "38-20=18", "47-18=29" ]
Current State: 29:[17, 64, 20, 38], Operations: [] Exploring Operation: 64-17=47, Resulting Numbers: [20, 38, 47] Generated Node #2: [20, 38, 47] from Operation: 64-17=47 Current State: 29:[20, 38, 47], Operations: ['64-17=47'] Exploring Operation: 38-20=18, Resulting Numbers: [47, 18] Generated Node #3: [47, 18] from Operation: 38-20=18 Current State: 29:[47, 18], Operations: ['64-17=47', '38-20=18'] Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[17, 64, 20, 38], Operations: [] Exploring Operation: 64-38=26, Resulting Numbers: [17, 20, 26] Generated Node #0,0: 29:[17, 20, 26] Operation: 64-38=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[17, 20, 26], Operations: ['64-38=26'] Exploring Operation: 17+20=37, Resulting Numbers: [26, 37] Generated Node #0,0,0: 29:[26, 37] Operation: 17+20=37 Moving to Node #0,0,0 Current State: 29:[26, 37], Operations: ['64-38=26', '17+20=37'] Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 12, 35, 39, 9 ]
84
[ "12+9=21", "39-35=4", "21*4=84" ]
Current State: 84:[12, 35, 39, 9], Operations: [] Exploring Operation: 12+9=21, Resulting Numbers: [35, 39, 21] Generated Node #2: [35, 39, 21] from Operation: 12+9=21 Current State: 84:[35, 39, 21], Operations: ['12+9=21'] Exploring Operation: 39-35=4, Resulting Numbers: [21, 4] Generated Node #3: [21, 4] from Operation: 39-35=4 Current State: 84:[21, 4], Operations: ['12+9=21', '39-35=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[12, 35, 39, 9], Operations: [] Exploring Operation: 39-35=4, Resulting Numbers: [12, 9, 4] Generated Node #0,0: 84:[12, 9, 4] Operation: 39-35=4 Exploring Operation: 35+9=44, Resulting Numbers: [12, 39, 44] Generated Node #0,1: 84:[12, 39, 44] Operation: 35+9=44 Moving to Node #0,0 Current State: 84:[12, 9, 4], Operations: ['39-35=4'] Exploring Operation: 12-9=3, Resulting Numbers: [4, 3] Generated Node #0,0,0: 84:[4, 3] Operation: 12-9=3 Exploring Operation: 12+9=21, Resulting Numbers: [4, 21] Generated Node #0,0,1: 84:[4, 21] Operation: 12+9=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[4, 3], Operations: ['39-35=4', '12-9=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[4, 21], Operations: ['39-35=4', '12+9=21'] Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[12, 35, 39, 9], Operations: [] Exploring Operation: 39-35=4, Resulting Numbers: [12, 9, 4] Generated Node #0,0: 84:[12, 9, 4] Operation: 39-35=4 Moving to Node #0,0 Current State: 84:[12, 9, 4], Operations: ['39-35=4'] Exploring Operation: 12+9=21, Resulting Numbers: [4, 21] Generated Node #0,0,1: 84:[4, 21] Operation: 12+9=21 Moving to Node #0,0,1 Current State: 84:[4, 21], Operations: ['39-35=4', '12+9=21'] Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 23, 15, 92, 23 ]
83
[ "92/23=4", "15*4=60", "23+60=83" ]
Current State: 83:[23, 15, 92, 23], Operations: [] Exploring Operation: 92/23=4, Resulting Numbers: [15, 4] Generated Node #2: [15, 4] from Operation: 92/23=4 Current State: 83:[15, 4], Operations: ['92/23=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,83 equal: Goal Reached Exploring Operation: 23+60=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[23, 15, 92, 23], Operations: [] Exploring Operation: 92-23=69, Resulting Numbers: [15, 23, 69] Generated Node #0,0: 83:[15, 23, 69] Operation: 92-23=69 Exploring Operation: 15+23=38, Resulting Numbers: [23, 92, 38] Generated Node #0,1: 83:[23, 92, 38] Operation: 15+23=38 Exploring Operation: 23+23=46, Resulting Numbers: [15, 92, 46] Generated Node #0,2: 83:[15, 92, 46] Operation: 23+23=46 Exploring Operation: 23+15=38, Resulting Numbers: [92, 23, 38] Generated Node #0,3: 83:[92, 23, 38] Operation: 23+15=38 Exploring Operation: 92-15=77, Resulting Numbers: [23, 23, 77] Generated Node #0,4: 83:[23, 23, 77] Operation: 92-15=77 Moving to Node #0,1 Current State: 83:[23, 92, 38], Operations: ['15+23=38'] Exploring Operation: 92-38=54, Resulting Numbers: [23, 54] Generated Node #0,1,0: 83:[23, 54] Operation: 92-38=54 Exploring Operation: 23+92=115, Resulting Numbers: [38, 115] Generated Node #0,1,1: 83:[38, 115] Operation: 23+92=115 Exploring Operation: 38-23=15, Resulting Numbers: [92, 15] Generated Node #0,1,2: 83:[92, 15] Operation: 38-23=15 Exploring Operation: 92-23=69, Resulting Numbers: [38, 69] Generated Node #0,1,3: 83:[38, 69] Operation: 92-23=69 Exploring Operation: 23+38=61, Resulting Numbers: [92, 61] Generated Node #0,1,4: 83:[92, 61] Operation: 23+38=61 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 83:[92, 61], Operations: ['15+23=38', '23+38=61'] Exploring Operation: 92*61=5612, Resulting Numbers: [5612] 5612,83 unequal: No Solution Exploring Operation: 92+61=153, Resulting Numbers: [153] 153,83 unequal: No Solution Exploring Operation: 92-61=31, Resulting Numbers: [31] 31,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[38, 69], Operations: ['15+23=38', '92-23=69'] Exploring Operation: 38+69=107, Resulting Numbers: [107] 107,83 unequal: No Solution Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,83 unequal: No Solution Exploring Operation: 38*69=2622, Resulting Numbers: [2622] 2622,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[38, 115], Operations: ['15+23=38', '23+92=115'] Exploring Operation: 38*115=4370, Resulting Numbers: [4370] 4370,83 unequal: No Solution Exploring Operation: 38+115=153, Resulting Numbers: [153] 153,83 unequal: No Solution Exploring Operation: 115-38=77, Resulting Numbers: [77] 77,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[92, 15], Operations: ['15+23=38', '38-23=15'] Exploring Operation: 92-15=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 92*15=1380, Resulting Numbers: [1380] 1380,83 unequal: No Solution Exploring Operation: 92+15=107, Resulting Numbers: [107] 107,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[23, 54], Operations: ['15+23=38', '92-38=54'] Exploring Operation: 23*54=1242, Resulting Numbers: [1242] 1242,83 unequal: No Solution Exploring Operation: 23+54=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,83 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: 83:[92, 23, 38], Operations: ['23+15=38'] Exploring Operation: 92+23=115, Resulting Numbers: [38, 115] Generated Node #0,3,0: 83:[38, 115] Operation: 92+23=115 Exploring Operation: 92-23=69, Resulting Numbers: [38, 69] Generated Node #0,3,1: 83:[38, 69] Operation: 92-23=69 Exploring Operation: 23+38=61, Resulting Numbers: [92, 61] Generated Node #0,3,2: 83:[92, 61] Operation: 23+38=61 Exploring Operation: 92-38=54, Resulting Numbers: [23, 54] Generated Node #0,3,3: 83:[23, 54] Operation: 92-38=54 Exploring Operation: 38-23=15, Resulting Numbers: [92, 15] Generated Node #0,3,4: 83:[92, 15] Operation: 38-23=15 Moving to Node #0,2 Current State: 83:[15, 92, 46], Operations: ['23+23=46'] Exploring Operation: 15+46=61, Resulting Numbers: [92, 61] Generated Node #0,2,0: 83:[92, 61] Operation: 15+46=61 Exploring Operation: 92-46=46, Resulting Numbers: [15, 46] Generated Node #0,2,1: 83:[15, 46] Operation: 92-46=46 Exploring Operation: 92-15=77, Resulting Numbers: [46, 77] Generated Node #0,2,2: 83:[46, 77] Operation: 92-15=77 Exploring Operation: 15+92=107, Resulting Numbers: [46, 107] Generated Node #0,2,3: 83:[46, 107] Operation: 15+92=107 Exploring Operation: 46-15=31, Resulting Numbers: [92, 31] Generated Node #0,2,4: 83:[92, 31] Operation: 46-15=31 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[92, 61], Operations: ['23+23=46', '15+46=61'] Exploring Operation: 92+61=153, Resulting Numbers: [153] 153,83 unequal: No Solution Exploring Operation: 92*61=5612, Resulting Numbers: [5612] 5612,83 unequal: No Solution Exploring Operation: 92-61=31, Resulting Numbers: [31] 31,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[46, 77], Operations: ['23+23=46', '92-15=77'] Exploring Operation: 46+77=123, Resulting Numbers: [123] 123,83 unequal: No Solution Exploring Operation: 46*77=3542, Resulting Numbers: [3542] 3542,83 unequal: No Solution Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 83:[46, 107], Operations: ['23+23=46', '15+92=107'] Exploring Operation: 46+107=153, Resulting Numbers: [153] 153,83 unequal: No Solution Exploring Operation: 46*107=4922, Resulting Numbers: [4922] 4922,83 unequal: No Solution Exploring Operation: 107-46=61, Resulting Numbers: [61] 61,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 83:[92, 31], Operations: ['23+23=46', '46-15=31'] Exploring Operation: 92+31=123, Resulting Numbers: [123] 123,83 unequal: No Solution Exploring Operation: 92-31=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 92*31=2852, Resulting Numbers: [2852] 2852,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[15, 46], Operations: ['23+23=46', '92-46=46'] Exploring Operation: 15+46=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 46-15=31, Resulting Numbers: [31] 31,83 unequal: No Solution Exploring Operation: 15*46=690, Resulting Numbers: [690] 690,83 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: 83:[23, 23, 77], Operations: ['92-15=77'] Exploring Operation: 23+77=100, Resulting Numbers: [23, 100] Generated Node #0,4,0: 83:[23, 100] Operation: 23+77=100 Exploring Operation: 23+77=100, Resulting Numbers: [23, 100] Generated Node #0,4,1: 83:[23, 100] Operation: 23+77=100 Exploring Operation: 23/23=1, Resulting Numbers: [77, 1] Generated Node #0,4,2: 83:[77, 1] Operation: 23/23=1 Exploring Operation: 23+23=46, Resulting Numbers: [77, 46] Generated Node #0,4,3: 83:[77, 46] Operation: 23+23=46 Exploring Operation: 23-23=0, Resulting Numbers: [77, 0] Generated Node #0,4,4: 83:[77, 0] Operation: 23-23=0 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 83:[77, 46], Operations: ['92-15=77', '23+23=46'] Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,83 unequal: No Solution Exploring Operation: 77+46=123, Resulting Numbers: [123] 123,83 unequal: No Solution Exploring Operation: 77*46=3542, Resulting Numbers: [3542] 3542,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 83:[23, 100], Operations: ['92-15=77', '23+77=100'] Exploring Operation: 23+100=123, Resulting Numbers: [123] 123,83 unequal: No Solution Exploring Operation: 100-23=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 23*100=2300, Resulting Numbers: [2300] 2300,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 83:[23, 100], Operations: ['92-15=77', '23+77=100'] Exploring Operation: 23+100=123, Resulting Numbers: [123] 123,83 unequal: No Solution Exploring Operation: 100-23=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 23*100=2300, Resulting Numbers: [2300] 2300,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 83:[77, 1], Operations: ['92-15=77', '23/23=1'] Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 77+1=78, Resulting Numbers: [78] 78,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 83:[77, 0], Operations: ['92-15=77', '23-23=0'] Exploring Operation: 77-0=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 77*0=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 77+0=77, Resulting Numbers: [77] 77,83 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: 83:[15, 23, 69], Operations: ['92-23=69'] Exploring Operation: 23+69=92, Resulting Numbers: [15, 92] Generated Node #0,0,0: 83:[15, 92] Operation: 23+69=92 Exploring Operation: 23-15=8, Resulting Numbers: [69, 8] Generated Node #0,0,1: 83:[69, 8] Operation: 23-15=8 Exploring Operation: 69-15=54, Resulting Numbers: [23, 54] Generated Node #0,0,2: 83:[23, 54] Operation: 69-15=54 Exploring Operation: 15+23=38, Resulting Numbers: [69, 38] Generated Node #0,0,3: 83:[69, 38] Operation: 15+23=38 Exploring Operation: 15+69=84, Resulting Numbers: [23, 84] Generated Node #0,0,4: 83:[23, 84] Operation: 15+69=84 Moving to Node #0,3,2 Current State: 83:[92, 61], Operations: ['23+15=38', '23+38=61'] Exploring Operation: 92*61=5612, Resulting Numbers: [5612] 5612,83 unequal: No Solution Exploring Operation: 92-61=31, Resulting Numbers: [31] 31,83 unequal: No Solution Exploring Operation: 92+61=153, Resulting Numbers: [153] 153,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[69, 38], Operations: ['92-23=69', '15+23=38'] Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,83 unequal: No Solution Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,83 unequal: No Solution Exploring Operation: 69*38=2622, Resulting Numbers: [2622] 2622,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[38, 69], Operations: ['23+15=38', '92-23=69'] Exploring Operation: 38*69=2622, Resulting Numbers: [2622] 2622,83 unequal: No Solution Exploring Operation: 38+69=107, Resulting Numbers: [107] 107,83 unequal: No Solution Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,83 unequal: No Solution Moving to Node #0,0,4 Current State: 83:[23, 84], Operations: ['92-23=69', '15+69=84'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,83 unequal: No Solution Exploring Operation: 23+84=107, Resulting Numbers: [107] 107,83 unequal: No Solution Exploring Operation: 23*84=1932, Resulting Numbers: [1932] 1932,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[38, 115], Operations: ['23+15=38', '92+23=115'] Exploring Operation: 115-38=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 38+115=153, Resulting Numbers: [153] 153,83 unequal: No Solution Exploring Operation: 38*115=4370, Resulting Numbers: [4370] 4370,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[92, 15], Operations: ['23+15=38', '38-23=15'] Exploring Operation: 92+15=107, Resulting Numbers: [107] 107,83 unequal: No Solution Exploring Operation: 92*15=1380, Resulting Numbers: [1380] 1380,83 unequal: No Solution Exploring Operation: 92-15=77, Resulting Numbers: [77] 77,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[15, 92], Operations: ['92-23=69', '23+69=92'] Exploring Operation: 92-15=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 15+92=107, Resulting Numbers: [107] 107,83 unequal: No Solution Exploring Operation: 15*92=1380, Resulting Numbers: [1380] 1380,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[69, 8], Operations: ['92-23=69', '23-15=8'] Exploring Operation: 69*8=552, Resulting Numbers: [552] 552,83 unequal: No Solution Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[23, 54], Operations: ['92-23=69', '69-15=54'] Exploring Operation: 23+54=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 23*54=1242, Resulting Numbers: [1242] 1242,83 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[23, 54], Operations: ['23+15=38', '92-38=54'] Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,83 unequal: No Solution Exploring Operation: 23+54=77, Resulting Numbers: [77] 77,83 unequal: No Solution Exploring Operation: 23*54=1242, Resulting Numbers: [1242] 1242,83 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 11, 17, 7, 66 ]
67
[ "17-11=6", "7+66=73", "73-6=67" ]
Current State: 67:[11, 17, 7, 66], Operations: [] Exploring Operation: 17-11=6, Resulting Numbers: [7, 66, 6] Generated Node #2: [7, 66, 6] from Operation: 17-11=6 Current State: 67:[7, 66, 6], Operations: ['17-11=6'] Exploring Operation: 7+66=73, Resulting Numbers: [6, 73] Generated Node #3: [6, 73] from Operation: 7+66=73 Current State: 67:[6, 73], Operations: ['17-11=6', '7+66=73'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[11, 17, 7, 66], Operations: [] Exploring Operation: 11*7=77, Resulting Numbers: [17, 66, 77] Generated Node #0,0: 67:[17, 66, 77] Operation: 11*7=77 Exploring Operation: 11+17=28, Resulting Numbers: [7, 66, 28] Generated Node #0,1: 67:[7, 66, 28] Operation: 11+17=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[17, 66, 77], Operations: ['11*7=77'] Exploring Operation: 17+66=83, Resulting Numbers: [77, 83] Generated Node #0,0,0: 67:[77, 83] Operation: 17+66=83 Exploring Operation: 77-17=60, Resulting Numbers: [66, 60] Generated Node #0,0,1: 67:[66, 60] Operation: 77-17=60 Moving to Node #0,0,1 Current State: 67:[66, 60], Operations: ['11*7=77', '77-17=60'] Exploring Operation: 66+60=126, Resulting Numbers: [126] 126,67 unequal: No Solution Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[77, 83], Operations: ['11*7=77', '17+66=83'] Exploring Operation: 83-77=6, Resulting Numbers: [6] 6,67 unequal: No Solution Exploring Operation: 77+83=160, Resulting Numbers: [160] 160,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[7, 66, 28], Operations: ['11+17=28'] Exploring Operation: 7+66=73, Resulting Numbers: [28, 73] Generated Node #0,1,0: 67:[28, 73] Operation: 7+66=73 Exploring Operation: 7+28=35, Resulting Numbers: [66, 35] Generated Node #0,1,1: 67:[66, 35] Operation: 7+28=35 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[66, 35], Operations: ['11+17=28', '7+28=35'] Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,67 unequal: No Solution Exploring Operation: 66+35=101, Resulting Numbers: [101] 101,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[28, 73], Operations: ['11+17=28', '7+66=73'] Exploring Operation: 73-28=45, Resulting Numbers: [45] 45,67 unequal: No Solution Exploring Operation: 28+73=101, Resulting Numbers: [101] 101,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 64, 2, 9, 48 ]
49
[ "64+9=73", "48/2=24", "73-24=49" ]
Current State: 49:[64, 2, 9, 48], Operations: [] Exploring Operation: 64+9=73, Resulting Numbers: [2, 48, 73] Generated Node #2: [2, 48, 73] from Operation: 64+9=73 Current State: 49:[2, 48, 73], Operations: ['64+9=73'] Exploring Operation: 48/2=24, Resulting Numbers: [73, 24] Generated Node #3: [73, 24] from Operation: 48/2=24 Current State: 49:[73, 24], Operations: ['64+9=73', '48/2=24'] Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[64, 2, 9, 48], Operations: [] Exploring Operation: 64-2=62, Resulting Numbers: [9, 48, 62] Generated Node #0,0: 49:[9, 48, 62] Operation: 64-2=62 Exploring Operation: 64-9=55, Resulting Numbers: [2, 48, 55] Generated Node #0,1: 49:[2, 48, 55] Operation: 64-9=55 Exploring Operation: 64-48=16, Resulting Numbers: [2, 9, 16] Generated Node #0,2: 49:[2, 9, 16] Operation: 64-48=16 Moving to Node #0,1 Current State: 49:[2, 48, 55], Operations: ['64-9=55'] Exploring Operation: 55-2=53, Resulting Numbers: [48, 53] Generated Node #0,1,0: 49:[48, 53] Operation: 55-2=53 Exploring Operation: 2+48=50, Resulting Numbers: [55, 50] Generated Node #0,1,1: 49:[55, 50] Operation: 2+48=50 Exploring Operation: 55-48=7, Resulting Numbers: [2, 7] Generated Node #0,1,2: 49:[2, 7] Operation: 55-48=7 Moving to Node #0,0 Current State: 49:[9, 48, 62], Operations: ['64-2=62'] Exploring Operation: 62-48=14, Resulting Numbers: [9, 14] Generated Node #0,0,0: 49:[9, 14] Operation: 62-48=14 Exploring Operation: 9+48=57, Resulting Numbers: [62, 57] Generated Node #0,0,1: 49:[62, 57] Operation: 9+48=57 Exploring Operation: 62-9=53, Resulting Numbers: [48, 53] Generated Node #0,0,2: 49:[48, 53] Operation: 62-9=53 Moving to Node #0,2 Current State: 49:[2, 9, 16], Operations: ['64-48=16'] Exploring Operation: 9-2=7, Resulting Numbers: [16, 7] Generated Node #0,2,0: 49:[16, 7] Operation: 9-2=7 Exploring Operation: 16-9=7, Resulting Numbers: [2, 7] Generated Node #0,2,1: 49:[2, 7] Operation: 16-9=7 Exploring Operation: 16/2=8, Resulting Numbers: [9, 8] Generated Node #0,2,2: 49:[9, 8] Operation: 16/2=8 Moving to Node #0,2,2 Current State: 49:[9, 8], Operations: ['64-48=16', '16/2=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[48, 53], Operations: ['64-9=55', '55-2=53'] Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,49 unequal: No Solution Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[2, 7], Operations: ['64-9=55', '55-48=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[48, 53], Operations: ['64-2=62', '62-9=53'] Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,49 unequal: No Solution Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[2, 7], Operations: ['64-48=16', '16-9=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[55, 50], Operations: ['64-9=55', '2+48=50'] Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 55*50=2750, Resulting Numbers: [2750] 2750,49 unequal: No Solution Exploring Operation: 55+50=105, Resulting Numbers: [105] 105,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[9, 14], Operations: ['64-2=62', '62-48=14'] Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,49 unequal: No Solution Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,49 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[16, 7], Operations: ['64-48=16', '9-2=7'] Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,49 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[62, 57], Operations: ['64-2=62', '9+48=57'] Exploring Operation: 62+57=119, Resulting Numbers: [119] 119,49 unequal: No Solution Exploring Operation: 62*57=3534, Resulting Numbers: [3534] 3534,49 unequal: No Solution Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,49 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 33, 48, 70, 11 ]
19
[ "33/11=3", "70-48=22", "22-3=19" ]
Current State: 19:[33, 48, 70, 11], Operations: [] Exploring Operation: 33/11=3, Resulting Numbers: [48, 70, 3] Generated Node #2: [48, 70, 3] from Operation: 33/11=3 Current State: 19:[48, 70, 3], Operations: ['33/11=3'] Exploring Operation: 70-48=22, Resulting Numbers: [3, 22] Generated Node #3: [3, 22] from Operation: 70-48=22 Current State: 19:[3, 22], Operations: ['33/11=3', '70-48=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[33, 48, 70, 11], Operations: [] Exploring Operation: 70-33=37, Resulting Numbers: [48, 11, 37] Generated Node #0,0: 19:[48, 11, 37] Operation: 70-33=37 Exploring Operation: 70-48=22, Resulting Numbers: [33, 11, 22] Generated Node #0,1: 19:[33, 11, 22] Operation: 70-48=22 Moving to Node #0,1 Current State: 19:[33, 11, 22], Operations: ['70-48=22'] Exploring Operation: 33-11=22, Resulting Numbers: [22, 22] Generated Node #0,1,0: 19:[22, 22] Operation: 33-11=22 Exploring Operation: 33-22=11, Resulting Numbers: [11, 11] Generated Node #0,1,1: 19:[11, 11] Operation: 33-22=11 Moving to Node #0,0 Current State: 19:[48, 11, 37], Operations: ['70-33=37'] Exploring Operation: 48-11=37, Resulting Numbers: [37, 37] Generated Node #0,0,0: 19:[37, 37] Operation: 48-11=37 Exploring Operation: 48-37=11, Resulting Numbers: [11, 11] Generated Node #0,0,1: 19:[11, 11] Operation: 48-37=11 Moving to Node #0,1,0 Current State: 19:[22, 22], Operations: ['70-48=22', '33-11=22'] Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[11, 11], Operations: ['70-33=37', '48-37=11'] Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[11, 11], Operations: ['70-48=22', '33-22=11'] Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[37, 37], Operations: ['70-33=37', '48-11=37'] Exploring Operation: 37-37=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 37/37=1, Resulting Numbers: [1] 1,19 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 36, 70, 30, 77 ]
59
[ "36+70=106", "77-30=47", "106-47=59" ]
Current State: 59:[36, 70, 30, 77], Operations: [] Exploring Operation: 36+70=106, Resulting Numbers: [30, 77, 106] Generated Node #2: [30, 77, 106] from Operation: 36+70=106 Current State: 59:[30, 77, 106], Operations: ['36+70=106'] Exploring Operation: 77-30=47, Resulting Numbers: [106, 47] Generated Node #3: [106, 47] from Operation: 77-30=47 Current State: 59:[106, 47], Operations: ['36+70=106', '77-30=47'] Exploring Operation: 106-47=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[36, 70, 30, 77], Operations: [] Exploring Operation: 77-30=47, Resulting Numbers: [36, 70, 47] Generated Node #0,0: 59:[36, 70, 47] Operation: 77-30=47 Exploring Operation: 36+30=66, Resulting Numbers: [70, 77, 66] Generated Node #0,1: 59:[70, 77, 66] Operation: 36+30=66 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[70, 77, 66], Operations: ['36+30=66'] Exploring Operation: 77-70=7, Resulting Numbers: [66, 7] Generated Node #0,1,0: 59:[66, 7] Operation: 77-70=7 Exploring Operation: 77-66=11, Resulting Numbers: [70, 11] Generated Node #0,1,1: 59:[70, 11] Operation: 77-66=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[66, 7], Operations: ['36+30=66', '77-70=7'] Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[36, 70, 30, 77], Operations: [] Exploring Operation: 36+30=66, Resulting Numbers: [70, 77, 66] Generated Node #0,1: 59:[70, 77, 66] Operation: 36+30=66 Moving to Node #0,1 Current State: 59:[70, 77, 66], Operations: ['36+30=66'] Exploring Operation: 77-70=7, Resulting Numbers: [66, 7] Generated Node #0,1,0: 59:[66, 7] Operation: 77-70=7 Moving to Node #0,1,0 Current State: 59:[66, 7], Operations: ['36+30=66', '77-70=7'] Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 84, 23, 3, 9 ]
34
[ "84-23=61", "3*9=27", "61-27=34" ]
Current State: 34:[84, 23, 3, 9], Operations: [] Exploring Operation: 84-23=61, Resulting Numbers: [3, 9, 61] Generated Node #2: [3, 9, 61] from Operation: 84-23=61 Current State: 34:[3, 9, 61], Operations: ['84-23=61'] Exploring Operation: 3*9=27, Resulting Numbers: [61, 27] Generated Node #3: [61, 27] from Operation: 3*9=27 Current State: 34:[61, 27], Operations: ['84-23=61', '3*9=27'] Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[84, 23, 3, 9], Operations: [] Exploring Operation: 84-23=61, Resulting Numbers: [3, 9, 61] Generated Node #0,0: 34:[3, 9, 61] Operation: 84-23=61 Exploring Operation: 84/3=28, Resulting Numbers: [23, 9, 28] Generated Node #0,1: 34:[23, 9, 28] Operation: 84/3=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[23, 9, 28], Operations: ['84/3=28'] Exploring Operation: 23+9=32, Resulting Numbers: [28, 32] Generated Node #0,1,0: 34:[28, 32] Operation: 23+9=32 Exploring Operation: 28-9=19, Resulting Numbers: [23, 19] Generated Node #0,1,1: 34:[23, 19] Operation: 28-9=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 34:[28, 32], Operations: ['84/3=28', '23+9=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[23, 19], Operations: ['84/3=28', '28-9=19'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[3, 9, 61], Operations: ['84-23=61'] Exploring Operation: 9/3=3, Resulting Numbers: [61, 3] Generated Node #0,0,0: 34:[61, 3] Operation: 9/3=3 Exploring Operation: 61-9=52, Resulting Numbers: [3, 52] Generated Node #0,0,1: 34:[3, 52] Operation: 61-9=52 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 34:[3, 52], Operations: ['84-23=61', '61-9=52'] Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[61, 3], Operations: ['84-23=61', '9/3=3'] Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 6, 55, 24, 73 ]
16
[ "6*24=144", "55+73=128", "144-128=16" ]
Current State: 16:[6, 55, 24, 73], Operations: [] Exploring Operation: 6*24=144, Resulting Numbers: [55, 73, 144] Generated Node #2: [55, 73, 144] from Operation: 6*24=144 Current State: 16:[55, 73, 144], Operations: ['6*24=144'] Exploring Operation: 55+73=128, Resulting Numbers: [144, 128] Generated Node #3: [144, 128] from Operation: 55+73=128 Current State: 16:[144, 128], Operations: ['6*24=144', '55+73=128'] Exploring Operation: 144-128=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[6, 55, 24, 73], Operations: [] Exploring Operation: 55-24=31, Resulting Numbers: [6, 73, 31] Generated Node #0,0: 16:[6, 73, 31] Operation: 55-24=31 Exploring Operation: 73-24=49, Resulting Numbers: [6, 55, 49] Generated Node #0,1: 16:[6, 55, 49] Operation: 73-24=49 Exploring Operation: 73-55=18, Resulting Numbers: [6, 24, 18] Generated Node #0,2: 16:[6, 24, 18] Operation: 73-55=18 Exploring Operation: 24/6=4, Resulting Numbers: [55, 73, 4] Generated Node #0,3: 16:[55, 73, 4] Operation: 24/6=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[6, 24, 18], Operations: ['73-55=18'] Exploring Operation: 24-6=18, Resulting Numbers: [18, 18] Generated Node #0,2,0: 16:[18, 18] Operation: 24-6=18 Exploring Operation: 24/6=4, Resulting Numbers: [18, 4] Generated Node #0,2,1: 16:[18, 4] Operation: 24/6=4 Exploring Operation: 24-18=6, Resulting Numbers: [6, 6] Generated Node #0,2,2: 16:[6, 6] Operation: 24-18=6 Exploring Operation: 18/6=3, Resulting Numbers: [24, 3] Generated Node #0,2,3: 16:[24, 3] Operation: 18/6=3 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 16:[18, 4], Operations: ['73-55=18', '24/6=4'] Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,16 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,16 unequal: No Solution No 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: 16:[18, 18], Operations: ['73-55=18', '24-6=18'] Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,16 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,16 unequal: No Solution No 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: 16:[6, 6], Operations: ['73-55=18', '24-18=6'] Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,16 unequal: No Solution No 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: 16:[24, 3], Operations: ['73-55=18', '18/6=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,16 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,16 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,16 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: 16:[6, 73, 31], Operations: ['55-24=31'] Exploring Operation: 31-6=25, Resulting Numbers: [73, 25] Generated Node #0,0,0: 16:[73, 25] Operation: 31-6=25 Exploring Operation: 73-31=42, Resulting Numbers: [6, 42] Generated Node #0,0,1: 16:[6, 42] Operation: 73-31=42 Exploring Operation: 6+73=79, Resulting Numbers: [31, 79] Generated Node #0,0,2: 16:[31, 79] Operation: 6+73=79 Exploring Operation: 73-6=67, Resulting Numbers: [31, 67] Generated Node #0,0,3: 16:[31, 67] Operation: 73-6=67 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 16:[6, 42], Operations: ['55-24=31', '73-31=42'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 6*42=252, Resulting Numbers: [252] 252,16 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,16 unequal: No Solution No 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: 16:[73, 25], Operations: ['55-24=31', '31-6=25'] Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 73*25=1825, Resulting Numbers: [1825] 1825,16 unequal: No Solution Exploring Operation: 73+25=98, Resulting Numbers: [98] 98,16 unequal: No Solution No 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: 16:[31, 67], Operations: ['55-24=31', '73-6=67'] Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,16 unequal: No Solution Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,16 unequal: No Solution Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,16 unequal: No Solution No 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: 16:[31, 79], Operations: ['55-24=31', '6+73=79'] Exploring Operation: 79-31=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 31+79=110, Resulting Numbers: [110] 110,16 unequal: No Solution Exploring Operation: 31*79=2449, Resulting Numbers: [2449] 2449,16 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: 16:[6, 55, 49], Operations: ['73-24=49'] Exploring Operation: 55-6=49, Resulting Numbers: [49, 49] Generated Node #0,1,0: 16:[49, 49] Operation: 55-6=49 Exploring Operation: 49-6=43, Resulting Numbers: [55, 43] Generated Node #0,1,1: 16:[55, 43] Operation: 49-6=43 Exploring Operation: 55-49=6, Resulting Numbers: [6, 6] Generated Node #0,1,2: 16:[6, 6] Operation: 55-49=6 Exploring Operation: 6+55=61, Resulting Numbers: [49, 61] Generated Node #0,1,3: 16:[49, 61] Operation: 6+55=61 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 16:[6, 6], Operations: ['73-24=49', '55-49=6'] Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,16 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,16 unequal: No Solution No 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: 16:[49, 49], Operations: ['73-24=49', '55-6=49'] Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,16 unequal: No Solution Exploring Operation: 49*49=2401, Resulting Numbers: [2401] 2401,16 unequal: No Solution Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,16 unequal: No Solution No 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: 16:[55, 43], Operations: ['73-24=49', '49-6=43'] Exploring Operation: 55+43=98, Resulting Numbers: [98] 98,16 unequal: No Solution Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 55*43=2365, Resulting Numbers: [2365] 2365,16 unequal: No Solution No 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: 16:[49, 61], Operations: ['73-24=49', '6+55=61'] Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 49*61=2989, Resulting Numbers: [2989] 2989,16 unequal: No Solution Exploring Operation: 49+61=110, Resulting Numbers: [110] 110,16 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: 16:[55, 73, 4], Operations: ['24/6=4'] Exploring Operation: 73-4=69, Resulting Numbers: [55, 69] Generated Node #0,3,0: 16:[55, 69] Operation: 73-4=69 Exploring Operation: 73-55=18, Resulting Numbers: [4, 18] Generated Node #0,3,1: 16:[4, 18] Operation: 73-55=18 Exploring Operation: 55-4=51, Resulting Numbers: [73, 51] Generated Node #0,3,2: 16:[73, 51] Operation: 55-4=51 Exploring Operation: 55+4=59, Resulting Numbers: [73, 59] Generated Node #0,3,3: 16:[73, 59] Operation: 55+4=59 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 16:[4, 18], Operations: ['24/6=4', '73-55=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,16 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,16 unequal: No Solution No 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: 16:[55, 69], Operations: ['24/6=4', '73-4=69'] Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,16 unequal: No Solution Exploring Operation: 55+69=124, Resulting Numbers: [124] 124,16 unequal: No Solution Exploring Operation: 55*69=3795, Resulting Numbers: [3795] 3795,16 unequal: No Solution No 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: 16:[73, 51], Operations: ['24/6=4', '55-4=51'] Exploring Operation: 73-51=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 73*51=3723, Resulting Numbers: [3723] 3723,16 unequal: No Solution Exploring Operation: 73+51=124, Resulting Numbers: [124] 124,16 unequal: No Solution No 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: 16:[73, 59], Operations: ['24/6=4', '55+4=59'] Exploring Operation: 73*59=4307, Resulting Numbers: [4307] 4307,16 unequal: No Solution Exploring Operation: 73+59=132, Resulting Numbers: [132] 132,16 unequal: No Solution Exploring Operation: 73-59=14, Resulting Numbers: [14] 14,16 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
[ 21, 2, 24, 62 ]
63
[ "21+2=23", "24+62=86", "86-23=63" ]
Current State: 63:[21, 2, 24, 62], Operations: [] Exploring Operation: 21+2=23, Resulting Numbers: [24, 62, 23] Generated Node #2: [24, 62, 23] from Operation: 21+2=23 Current State: 63:[24, 62, 23], Operations: ['21+2=23'] Exploring Operation: 24+62=86, Resulting Numbers: [23, 86] Generated Node #3: [23, 86] from Operation: 24+62=86 Current State: 63:[23, 86], Operations: ['21+2=23', '24+62=86'] Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[21, 2, 24, 62], Operations: [] Exploring Operation: 24-2=22, Resulting Numbers: [21, 62, 22] Generated Node #0,0: 63:[21, 62, 22] Operation: 24-2=22 Exploring Operation: 24/2=12, Resulting Numbers: [21, 62, 12] Generated Node #0,1: 63:[21, 62, 12] Operation: 24/2=12 Exploring Operation: 24-21=3, Resulting Numbers: [2, 62, 3] Generated Node #0,2: 63:[2, 62, 3] Operation: 24-21=3 Moving to Node #0,0 Current State: 63:[21, 62, 22], Operations: ['24-2=22'] Exploring Operation: 22-21=1, Resulting Numbers: [62, 1] Generated Node #0,0,0: 63:[62, 1] Operation: 22-21=1 Exploring Operation: 21+62=83, Resulting Numbers: [22, 83] Generated Node #0,0,1: 63:[22, 83] Operation: 21+62=83 Exploring Operation: 62-22=40, Resulting Numbers: [21, 40] Generated Node #0,0,2: 63:[21, 40] Operation: 62-22=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[62, 1], Operations: ['24-2=22', '22-21=1'] Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[21, 2, 24, 62], Operations: [] Exploring Operation: 24-2=22, Resulting Numbers: [21, 62, 22] Generated Node #0,0: 63:[21, 62, 22] Operation: 24-2=22 Moving to Node #0,0 Current State: 63:[21, 62, 22], Operations: ['24-2=22'] Exploring Operation: 22-21=1, Resulting Numbers: [62, 1] Generated Node #0,0,0: 63:[62, 1] Operation: 22-21=1 Moving to Node #0,0,0 Current State: 63:[62, 1], Operations: ['24-2=22', '22-21=1'] Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 39, 25, 87, 84 ]
93
[ "39-25=14", "84/14=6", "87+6=93" ]
Current State: 93:[39, 25, 87, 84], Operations: [] Exploring Operation: 39-25=14, Resulting Numbers: [87, 84, 14] Generated Node #2: [87, 84, 14] from Operation: 39-25=14 Current State: 93:[87, 84, 14], Operations: ['39-25=14'] Exploring Operation: 84/14=6, Resulting Numbers: [87, 6] Generated Node #3: [87, 6] from Operation: 84/14=6 Current State: 93:[87, 6], Operations: ['39-25=14', '84/14=6'] Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[39, 25, 87, 84], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [39, 25, 3] Generated Node #0,0: 93:[39, 25, 3] Operation: 87-84=3 Exploring Operation: 39-25=14, Resulting Numbers: [87, 84, 14] Generated Node #0,1: 93:[87, 84, 14] Operation: 39-25=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[39, 25, 3], Operations: ['87-84=3'] Exploring Operation: 39-25=14, Resulting Numbers: [3, 14] Generated Node #0,0,0: 93:[3, 14] Operation: 39-25=14 Exploring Operation: 39-3=36, Resulting Numbers: [25, 36] Generated Node #0,0,1: 93:[25, 36] Operation: 39-3=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[3, 14], Operations: ['87-84=3', '39-25=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[25, 36], Operations: ['87-84=3', '39-3=36'] Exploring Operation: 25+36=61, Resulting Numbers: [61] 61,93 unequal: No Solution Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[87, 84, 14], Operations: ['39-25=14'] Exploring Operation: 87-84=3, Resulting Numbers: [14, 3] Generated Node #0,1,0: 93:[14, 3] Operation: 87-84=3 Exploring Operation: 84/14=6, Resulting Numbers: [87, 6] Generated Node #0,1,1: 93:[87, 6] Operation: 84/14=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[87, 6], Operations: ['39-25=14', '84/14=6'] Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[39, 25, 87, 84], Operations: [] Exploring Operation: 39-25=14, Resulting Numbers: [87, 84, 14] Generated Node #0,1: 93:[87, 84, 14] Operation: 39-25=14 Moving to Node #0,1 Current State: 93:[87, 84, 14], Operations: ['39-25=14'] Exploring Operation: 84/14=6, Resulting Numbers: [87, 6] Generated Node #0,1,1: 93:[87, 6] Operation: 84/14=6 Moving to Node #0,1,1 Current State: 93:[87, 6], Operations: ['39-25=14', '84/14=6'] Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 59, 54, 95, 89 ]
68
[ "95-89=6", "54/6=9", "59+9=68" ]
Current State: 68:[59, 54, 95, 89], Operations: [] Exploring Operation: 95-89=6, Resulting Numbers: [59, 54, 6] Generated Node #2: [59, 54, 6] from Operation: 95-89=6 Current State: 68:[59, 54, 6], Operations: ['95-89=6'] Exploring Operation: 54/6=9, Resulting Numbers: [59, 9] Generated Node #3: [59, 9] from Operation: 54/6=9 Current State: 68:[59, 9], Operations: ['95-89=6', '54/6=9'] Exploring Operation: 59+9=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[59, 54, 95, 89], Operations: [] Exploring Operation: 95-89=6, Resulting Numbers: [59, 54, 6] Generated Node #0,0: 68:[59, 54, 6] Operation: 95-89=6 Exploring Operation: 95-59=36, Resulting Numbers: [54, 89, 36] Generated Node #0,1: 68:[54, 89, 36] Operation: 95-59=36 Exploring Operation: 95-54=41, Resulting Numbers: [59, 89, 41] Generated Node #0,2: 68:[59, 89, 41] Operation: 95-54=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[59, 54, 6], Operations: ['95-89=6'] Exploring Operation: 54/6=9, Resulting Numbers: [59, 9] Generated Node #0,0,0: 68:[59, 9] Operation: 54/6=9 Exploring Operation: 59-54=5, Resulting Numbers: [6, 5] Generated Node #0,0,1: 68:[6, 5] Operation: 59-54=5 Exploring Operation: 59+6=65, Resulting Numbers: [54, 65] Generated Node #0,0,2: 68:[54, 65] Operation: 59+6=65 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[6, 5], Operations: ['95-89=6', '59-54=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[59, 9], Operations: ['95-89=6', '54/6=9'] Exploring Operation: 59+9=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[59, 54, 95, 89], Operations: [] Exploring Operation: 95-89=6, Resulting Numbers: [59, 54, 6] Generated Node #0,0: 68:[59, 54, 6] Operation: 95-89=6 Moving to Node #0,0 Current State: 68:[59, 54, 6], Operations: ['95-89=6'] Exploring Operation: 54/6=9, Resulting Numbers: [59, 9] Generated Node #0,0,0: 68:[59, 9] Operation: 54/6=9 Moving to Node #0,0,0 Current State: 68:[59, 9], Operations: ['95-89=6', '54/6=9'] Exploring Operation: 59+9=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 13, 10, 78, 74 ]
48
[ "13-10=3", "78/3=26", "74-26=48" ]
Current State: 48:[13, 10, 78, 74], Operations: [] Exploring Operation: 13-10=3, Resulting Numbers: [78, 74, 3] Generated Node #2: [78, 74, 3] from Operation: 13-10=3 Current State: 48:[78, 74, 3], Operations: ['13-10=3'] Exploring Operation: 78/3=26, Resulting Numbers: [74, 26] Generated Node #3: [74, 26] from Operation: 78/3=26 Current State: 48:[74, 26], Operations: ['13-10=3', '78/3=26'] Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[13, 10, 78, 74], Operations: [] Exploring Operation: 78/13=6, Resulting Numbers: [10, 74, 6] Generated Node #0,0: 48:[10, 74, 6] Operation: 78/13=6 Exploring Operation: 78-13=65, Resulting Numbers: [10, 74, 65] Generated Node #0,1: 48:[10, 74, 65] Operation: 78-13=65 Exploring Operation: 78-74=4, Resulting Numbers: [13, 10, 4] Generated Node #0,2: 48:[13, 10, 4] Operation: 78-74=4 Exploring Operation: 74-13=61, Resulting Numbers: [10, 78, 61] Generated Node #0,3: 48:[10, 78, 61] Operation: 74-13=61 Moving to Node #0,2 Current State: 48:[13, 10, 4], Operations: ['78-74=4'] Exploring Operation: 13-10=3, Resulting Numbers: [4, 3] Generated Node #0,2,0: 48:[4, 3] Operation: 13-10=3 Exploring Operation: 13+10=23, Resulting Numbers: [4, 23] Generated Node #0,2,1: 48:[4, 23] Operation: 13+10=23 Exploring Operation: 13+4=17, Resulting Numbers: [10, 17] Generated Node #0,2,2: 48:[10, 17] Operation: 13+4=17 Exploring Operation: 10-4=6, Resulting Numbers: [13, 6] Generated Node #0,2,3: 48:[13, 6] Operation: 10-4=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[4, 3], Operations: ['78-74=4', '13-10=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[4, 23], Operations: ['78-74=4', '13+10=23'] Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,48 unequal: No Solution Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,48 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 48:[13, 6], Operations: ['78-74=4', '10-4=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,48 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,48 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[10, 17], Operations: ['78-74=4', '13+4=17'] Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,48 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,48 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: 48:[10, 74, 6], Operations: ['78/13=6'] Exploring Operation: 10-6=4, Resulting Numbers: [74, 4] Generated Node #0,0,0: 48:[74, 4] Operation: 10-6=4 Exploring Operation: 74-6=68, Resulting Numbers: [10, 68] Generated Node #0,0,1: 48:[10, 68] Operation: 74-6=68 Exploring Operation: 10+6=16, Resulting Numbers: [74, 16] Generated Node #0,0,2: 48:[74, 16] Operation: 10+6=16 Exploring Operation: 74-10=64, Resulting Numbers: [6, 64] Generated Node #0,0,3: 48:[6, 64] Operation: 74-10=64 Moving to Node #0,3 Current State: 48:[10, 78, 61], Operations: ['74-13=61'] Exploring Operation: 61-10=51, Resulting Numbers: [78, 51] Generated Node #0,3,0: 48:[78, 51] Operation: 61-10=51 Exploring Operation: 10+78=88, Resulting Numbers: [61, 88] Generated Node #0,3,1: 48:[61, 88] Operation: 10+78=88 Exploring Operation: 78-61=17, Resulting Numbers: [10, 17] Generated Node #0,3,2: 48:[10, 17] Operation: 78-61=17 Exploring Operation: 78-10=68, Resulting Numbers: [61, 68] Generated Node #0,3,3: 48:[61, 68] Operation: 78-10=68 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[10, 17], Operations: ['74-13=61', '78-61=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,48 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,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,3,0 Current State: 48:[78, 51], Operations: ['74-13=61', '61-10=51'] Exploring Operation: 78-51=27, Resulting Numbers: [27] 27,48 unequal: No Solution Exploring Operation: 78+51=129, Resulting Numbers: [129] 129,48 unequal: No Solution Exploring Operation: 78*51=3978, Resulting Numbers: [3978] 3978,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,3,3 Current State: 48:[61, 68], Operations: ['74-13=61', '78-10=68'] Exploring Operation: 61*68=4148, Resulting Numbers: [4148] 4148,48 unequal: No Solution Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 61+68=129, Resulting Numbers: [129] 129,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,3,1 Current State: 48:[61, 88], Operations: ['74-13=61', '10+78=88'] Exploring Operation: 88-61=27, Resulting Numbers: [27] 27,48 unequal: No Solution Exploring Operation: 61+88=149, Resulting Numbers: [149] 149,48 unequal: No Solution Exploring Operation: 61*88=5368, Resulting Numbers: [5368] 5368,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 48:[10, 74, 65], Operations: ['78-13=65'] Exploring Operation: 74-10=64, Resulting Numbers: [65, 64] Generated Node #0,1,0: 48:[65, 64] Operation: 74-10=64 Exploring Operation: 10+74=84, Resulting Numbers: [65, 84] Generated Node #0,1,1: 48:[65, 84] Operation: 10+74=84 Exploring Operation: 74-65=9, Resulting Numbers: [10, 9] Generated Node #0,1,2: 48:[10, 9] Operation: 74-65=9 Exploring Operation: 65-10=55, Resulting Numbers: [74, 55] Generated Node #0,1,3: 48:[74, 55] Operation: 65-10=55 Moving to Node #0,1,2 Current State: 48:[10, 9], Operations: ['78-13=65', '74-65=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,48 unequal: No Solution Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,48 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[6, 64], Operations: ['78/13=6', '74-10=64'] Exploring Operation: 6+64=70, Resulting Numbers: [70] 70,48 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 6*64=384, Resulting Numbers: [384] 384,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[10, 68], Operations: ['78/13=6', '74-6=68'] Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 10*68=680, Resulting Numbers: [680] 680,48 unequal: No Solution Exploring Operation: 10+68=78, Resulting Numbers: [78] 78,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[74, 4], Operations: ['78/13=6', '10-6=4'] Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,48 unequal: No Solution Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,48 unequal: No Solution Exploring Operation: 74*4=296, Resulting Numbers: [296] 296,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[74, 16], Operations: ['78/13=6', '10+6=16'] Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 74*16=1184, Resulting Numbers: [1184] 1184,48 unequal: No Solution Exploring Operation: 74+16=90, Resulting Numbers: [90] 90,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[65, 64], Operations: ['78-13=65', '74-10=64'] Exploring Operation: 65+64=129, Resulting Numbers: [129] 129,48 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 65*64=4160, Resulting Numbers: [4160] 4160,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[74, 55], Operations: ['78-13=65', '65-10=55'] Exploring Operation: 74*55=4070, Resulting Numbers: [4070] 4070,48 unequal: No Solution Exploring Operation: 74+55=129, Resulting Numbers: [129] 129,48 unequal: No Solution Exploring Operation: 74-55=19, Resulting Numbers: [19] 19,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[65, 84], Operations: ['78-13=65', '10+74=84'] Exploring Operation: 84-65=19, Resulting Numbers: [19] 19,48 unequal: No Solution Exploring Operation: 65+84=149, Resulting Numbers: [149] 149,48 unequal: No Solution Exploring Operation: 65*84=5460, Resulting Numbers: [5460] 5460,48 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 6, 10, 26, 51 ]
29
[ "10-6=4", "51-26=25", "4+25=29" ]
Current State: 29:[6, 10, 26, 51], Operations: [] Exploring Operation: 10-6=4, Resulting Numbers: [26, 51, 4] Generated Node #2: [26, 51, 4] from Operation: 10-6=4 Current State: 29:[26, 51, 4], Operations: ['10-6=4'] Exploring Operation: 51-26=25, Resulting Numbers: [4, 25] Generated Node #3: [4, 25] from Operation: 51-26=25 Current State: 29:[4, 25], Operations: ['10-6=4', '51-26=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[6, 10, 26, 51], Operations: [] Exploring Operation: 6+26=32, Resulting Numbers: [10, 51, 32] Generated Node #0,0: 29:[10, 51, 32] Operation: 6+26=32 Exploring Operation: 51-6=45, Resulting Numbers: [10, 26, 45] Generated Node #0,1: 29:[10, 26, 45] Operation: 51-6=45 Exploring Operation: 6+10=16, Resulting Numbers: [26, 51, 16] Generated Node #0,2: 29:[26, 51, 16] Operation: 6+10=16 Exploring Operation: 51-10=41, Resulting Numbers: [6, 26, 41] Generated Node #0,3: 29:[6, 26, 41] Operation: 51-10=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[10, 26, 45], Operations: ['51-6=45'] Exploring Operation: 10+26=36, Resulting Numbers: [45, 36] Generated Node #0,1,0: 29:[45, 36] Operation: 10+26=36 Exploring Operation: 10+45=55, Resulting Numbers: [26, 55] Generated Node #0,1,1: 29:[26, 55] Operation: 10+45=55 Exploring Operation: 45-10=35, Resulting Numbers: [26, 35] Generated Node #0,1,2: 29:[26, 35] Operation: 45-10=35 Exploring Operation: 26-10=16, Resulting Numbers: [45, 16] Generated Node #0,1,3: 29:[45, 16] Operation: 26-10=16 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 29:[26, 35], Operations: ['51-6=45', '45-10=35'] Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 26*35=910, Resulting Numbers: [910] 910,29 unequal: No Solution No 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: 29:[45, 36], Operations: ['51-6=45', '10+26=36'] Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,29 unequal: No Solution Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,29 unequal: No Solution No 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: 29:[26, 55], Operations: ['51-6=45', '10+45=55'] Exploring Operation: 26*55=1430, Resulting Numbers: [1430] 1430,29 unequal: No Solution Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[6, 10, 26, 51], Operations: [] Exploring Operation: 51-6=45, Resulting Numbers: [10, 26, 45] Generated Node #0,1: 29:[10, 26, 45] Operation: 51-6=45 Moving to Node #0,1 Current State: 29:[10, 26, 45], Operations: ['51-6=45'] Exploring Operation: 10+45=55, Resulting Numbers: [26, 55] Generated Node #0,1,1: 29:[26, 55] Operation: 10+45=55 Moving to Node #0,1,1 Current State: 29:[26, 55], Operations: ['51-6=45', '10+45=55'] Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 35, 29, 30, 91 ]
57
[ "35+29=64", "30+91=121", "121-64=57" ]
Current State: 57:[35, 29, 30, 91], Operations: [] Exploring Operation: 35+29=64, Resulting Numbers: [30, 91, 64] Generated Node #2: [30, 91, 64] from Operation: 35+29=64 Current State: 57:[30, 91, 64], Operations: ['35+29=64'] Exploring Operation: 30+91=121, Resulting Numbers: [64, 121] Generated Node #3: [64, 121] from Operation: 30+91=121 Current State: 57:[64, 121], Operations: ['35+29=64', '30+91=121'] Exploring Operation: 121-64=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[35, 29, 30, 91], Operations: [] Exploring Operation: 91-35=56, Resulting Numbers: [29, 30, 56] Generated Node #0,0: 57:[29, 30, 56] Operation: 91-35=56 Exploring Operation: 91-29=62, Resulting Numbers: [35, 30, 62] Generated Node #0,1: 57:[35, 30, 62] Operation: 91-29=62 Exploring Operation: 91-30=61, Resulting Numbers: [35, 29, 61] Generated Node #0,2: 57:[35, 29, 61] Operation: 91-30=61 Moving to Node #0,0 Current State: 57:[29, 30, 56], Operations: ['91-35=56'] Exploring Operation: 29+30=59, Resulting Numbers: [56, 59] Generated Node #0,0,0: 57:[56, 59] Operation: 29+30=59 Exploring Operation: 30-29=1, Resulting Numbers: [56, 1] Generated Node #0,0,1: 57:[56, 1] Operation: 30-29=1 Exploring Operation: 56-30=26, Resulting Numbers: [29, 26] Generated Node #0,0,2: 57:[29, 26] Operation: 56-30=26 Moving to Node #0,2 Current State: 57:[35, 29, 61], Operations: ['91-30=61'] Exploring Operation: 61-35=26, Resulting Numbers: [29, 26] Generated Node #0,2,0: 57:[29, 26] Operation: 61-35=26 Exploring Operation: 35-29=6, Resulting Numbers: [61, 6] Generated Node #0,2,1: 57:[61, 6] Operation: 35-29=6 Exploring Operation: 35+29=64, Resulting Numbers: [61, 64] Generated Node #0,2,2: 57:[61, 64] Operation: 35+29=64 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 57:[61, 6], Operations: ['91-30=61', '35-29=6'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,57 unequal: No Solution Exploring Operation: 61*6=366, Resulting Numbers: [366] 366,57 unequal: No Solution Exploring Operation: 61+6=67, Resulting Numbers: [67] 67,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,2,2 Current State: 57:[61, 64], Operations: ['91-30=61', '35+29=64'] Exploring Operation: 61+64=125, Resulting Numbers: [125] 125,57 unequal: No Solution Exploring Operation: 64-61=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 61*64=3904, Resulting Numbers: [3904] 3904,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,2,0 Current State: 57:[29, 26], Operations: ['91-30=61', '61-35=26'] Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 29+26=55, Resulting Numbers: [55] 55,57 unequal: No Solution Exploring Operation: 29*26=754, Resulting Numbers: [754] 754,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 57:[35, 30, 62], Operations: ['91-29=62'] Exploring Operation: 35+30=65, Resulting Numbers: [62, 65] Generated Node #0,1,0: 57:[62, 65] Operation: 35+30=65 Exploring Operation: 35-30=5, Resulting Numbers: [62, 5] Generated Node #0,1,1: 57:[62, 5] Operation: 35-30=5 Exploring Operation: 62-35=27, Resulting Numbers: [30, 27] Generated Node #0,1,2: 57:[30, 27] Operation: 62-35=27 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[62, 5], Operations: ['91-29=62', '35-30=5'] Exploring Operation: 62*5=310, Resulting Numbers: [310] 310,57 unequal: No Solution Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[35, 29, 30, 91], Operations: [] Exploring Operation: 91-29=62, Resulting Numbers: [35, 30, 62] Generated Node #0,1: 57:[35, 30, 62] Operation: 91-29=62 Moving to Node #0,1 Current State: 57:[35, 30, 62], Operations: ['91-29=62'] Exploring Operation: 35-30=5, Resulting Numbers: [62, 5] Generated Node #0,1,1: 57:[62, 5] Operation: 35-30=5 Moving to Node #0,1,1 Current State: 57:[62, 5], Operations: ['91-29=62', '35-30=5'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 84, 56, 70, 18 ]
21
[ "70-56=14", "18-14=4", "84/4=21" ]
Current State: 21:[84, 56, 70, 18], Operations: [] Exploring Operation: 70-56=14, Resulting Numbers: [84, 18, 14] Generated Node #2: [84, 18, 14] from Operation: 70-56=14 Current State: 21:[84, 18, 14], Operations: ['70-56=14'] Exploring Operation: 18-14=4, Resulting Numbers: [84, 4] Generated Node #3: [84, 4] from Operation: 18-14=4 Current State: 21:[84, 4], Operations: ['70-56=14', '18-14=4'] Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[84, 56, 70, 18], Operations: [] Exploring Operation: 84-56=28, Resulting Numbers: [70, 18, 28] Generated Node #0,0: 21:[70, 18, 28] Operation: 84-56=28 Exploring Operation: 84-70=14, Resulting Numbers: [56, 18, 14] Generated Node #0,1: 21:[56, 18, 14] Operation: 84-70=14 Exploring Operation: 56-18=38, Resulting Numbers: [84, 70, 38] Generated Node #0,2: 21:[84, 70, 38] Operation: 56-18=38 Exploring Operation: 70-56=14, Resulting Numbers: [84, 18, 14] Generated Node #0,3: 21:[84, 18, 14] Operation: 70-56=14 Exploring Operation: 84-18=66, Resulting Numbers: [56, 70, 66] Generated Node #0,4: 21:[56, 70, 66] Operation: 84-18=66 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[56, 18, 14], Operations: ['84-70=14'] Exploring Operation: 56/14=4, Resulting Numbers: [18, 4] Generated Node #0,1,0: 21:[18, 4] Operation: 56/14=4 Exploring Operation: 56-18=38, Resulting Numbers: [14, 38] Generated Node #0,1,1: 21:[14, 38] Operation: 56-18=38 Exploring Operation: 18+14=32, Resulting Numbers: [56, 32] Generated Node #0,1,2: 21:[56, 32] Operation: 18+14=32 Exploring Operation: 56-14=42, Resulting Numbers: [18, 42] Generated Node #0,1,3: 21:[18, 42] Operation: 56-14=42 Exploring Operation: 18-14=4, Resulting Numbers: [56, 4] Generated Node #0,1,4: 21:[56, 4] Operation: 18-14=4 Moving to Node #0,1,0 Current State: 21:[18, 4], Operations: ['84-70=14', '56/14=4'] Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,21 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[18, 42], Operations: ['84-70=14', '56-14=42'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,21 unequal: No Solution Exploring Operation: 18*42=756, Resulting Numbers: [756] 756,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[14, 38], Operations: ['84-70=14', '56-18=38'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,21 unequal: No Solution Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,21 unequal: No Solution Moving to Node #0,1,4 Current State: 21:[56, 4], Operations: ['84-70=14', '18-14=4'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,21 unequal: No Solution Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,21 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,21 unequal: No Solution Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[56, 32], Operations: ['84-70=14', '18+14=32'] Exploring Operation: 56+32=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 56*32=1792, Resulting Numbers: [1792] 1792,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[70, 18, 28], Operations: ['84-56=28'] Exploring Operation: 70-18=52, Resulting Numbers: [28, 52] Generated Node #0,0,0: 21:[28, 52] Operation: 70-18=52 Exploring Operation: 70-28=42, Resulting Numbers: [18, 42] Generated Node #0,0,1: 21:[18, 42] Operation: 70-28=42 Exploring Operation: 28-18=10, Resulting Numbers: [70, 10] Generated Node #0,0,2: 21:[70, 10] Operation: 28-18=10 Exploring Operation: 70+18=88, Resulting Numbers: [28, 88] Generated Node #0,0,3: 21:[28, 88] Operation: 70+18=88 Exploring Operation: 18+28=46, Resulting Numbers: [70, 46] Generated Node #0,0,4: 21:[70, 46] Operation: 18+28=46 Moving to Node #0,0,1 Current State: 21:[18, 42], Operations: ['84-56=28', '70-28=42'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 18+42=60, Resulting Numbers: [60] 60,21 unequal: No Solution Exploring Operation: 18*42=756, Resulting Numbers: [756] 756,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[28, 52], Operations: ['84-56=28', '70-18=52'] Exploring Operation: 28+52=80, Resulting Numbers: [80] 80,21 unequal: No Solution Exploring Operation: 28*52=1456, Resulting Numbers: [1456] 1456,21 unequal: No Solution Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[70, 10], Operations: ['84-56=28', '28-18=10'] Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,21 unequal: No Solution Exploring Operation: 70*10=700, Resulting Numbers: [700] 700,21 unequal: No Solution Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,21 unequal: No Solution Moving to Node #0,0,3 Current State: 21:[28, 88], Operations: ['84-56=28', '70+18=88'] Exploring Operation: 88-28=60, Resulting Numbers: [60] 60,21 unequal: No Solution Exploring Operation: 28*88=2464, Resulting Numbers: [2464] 2464,21 unequal: No Solution Exploring Operation: 28+88=116, Resulting Numbers: [116] 116,21 unequal: No Solution Moving to Node #0,0,4 Current State: 21:[70, 46], Operations: ['84-56=28', '18+28=46'] Exploring Operation: 70*46=3220, Resulting Numbers: [3220] 3220,21 unequal: No Solution Exploring Operation: 70+46=116, Resulting Numbers: [116] 116,21 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 21:[84, 18, 14], Operations: ['70-56=14'] Exploring Operation: 84/14=6, Resulting Numbers: [18, 6] Generated Node #0,3,0: 21:[18, 6] Operation: 84/14=6 Exploring Operation: 18+14=32, Resulting Numbers: [84, 32] Generated Node #0,3,1: 21:[84, 32] Operation: 18+14=32 Exploring Operation: 84-14=70, Resulting Numbers: [18, 70] Generated Node #0,3,2: 21:[18, 70] Operation: 84-14=70 Exploring Operation: 18-14=4, Resulting Numbers: [84, 4] Generated Node #0,3,3: 21:[84, 4] Operation: 18-14=4 Exploring Operation: 84-18=66, Resulting Numbers: [14, 66] Generated Node #0,3,4: 21:[14, 66] Operation: 84-18=66 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 21:[18, 6], Operations: ['70-56=14', '84/14=6'] Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 18+6=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 18*6=108, Resulting Numbers: [108] 108,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 21:[18, 70], Operations: ['70-56=14', '84-14=70'] Exploring Operation: 18+70=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 70-18=52, Resulting Numbers: [52] 52,21 unequal: No Solution Exploring Operation: 18*70=1260, Resulting Numbers: [1260] 1260,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 21:[14, 66], Operations: ['70-56=14', '84-18=66'] Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,21 unequal: No Solution Exploring Operation: 14+66=80, Resulting Numbers: [80] 80,21 unequal: No Solution Exploring Operation: 14*66=924, Resulting Numbers: [924] 924,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 21:[84, 4], Operations: ['70-56=14', '18-14=4'] Exploring Operation: 84*4=336, Resulting Numbers: [336] 336,21 unequal: No Solution Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[84, 56, 70, 18], Operations: [] Exploring Operation: 70-56=14, Resulting Numbers: [84, 18, 14] Generated Node #0,3: 21:[84, 18, 14] Operation: 70-56=14 Moving to Node #0,3 Current State: 21:[84, 18, 14], Operations: ['70-56=14'] Exploring Operation: 18-14=4, Resulting Numbers: [84, 4] Generated Node #0,3,3: 21:[84, 4] Operation: 18-14=4 Moving to Node #0,3,3 Current State: 21:[84, 4], Operations: ['70-56=14', '18-14=4'] Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.940972
hs_5
sum_heuristic
[ 84, 98, 84, 15 ]
98
[ "84-84=0", "15*0=0", "98+0=98" ]
Current State: 98:[84, 98, 84, 15], Operations: [] Exploring Operation: 84-84=0, Resulting Numbers: [98, 15, 0] Generated Node #2: [98, 15, 0] from Operation: 84-84=0 Current State: 98:[98, 15, 0], Operations: ['84-84=0'] Exploring Operation: 15*0=0, Resulting Numbers: [98, 0] Generated Node #3: [98, 0] from Operation: 15*0=0 Current State: 98:[98, 0], Operations: ['84-84=0', '15*0=0'] Exploring Operation: 98+0=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[84, 98, 84, 15], Operations: [] Exploring Operation: 84/84=1, Resulting Numbers: [98, 15, 1] Generated Node #0,0: 98:[98, 15, 1] Operation: 84/84=1 Exploring Operation: 84-84=0, Resulting Numbers: [98, 15, 0] Generated Node #0,1: 98:[98, 15, 0] Operation: 84-84=0 Moving to Node #0,0 Current State: 98:[98, 15, 1], Operations: ['84/84=1'] Exploring Operation: 98*1=98, Resulting Numbers: [15, 98] Generated Node #0,0,0: 98:[15, 98] Operation: 98*1=98 Exploring Operation: 15-1=14, Resulting Numbers: [98, 14] Generated Node #0,0,1: 98:[98, 14] Operation: 15-1=14 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 98:[98, 14], Operations: ['84/84=1', '15-1=14'] Exploring Operation: 98/14=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 98+14=112, Resulting Numbers: [112] 112,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[15, 98], Operations: ['84/84=1', '98*1=98'] Exploring Operation: 98-15=83, Resulting Numbers: [83] 83,98 unequal: No Solution Exploring Operation: 15+98=113, Resulting Numbers: [113] 113,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 98:[98, 15, 0], Operations: ['84-84=0'] Exploring Operation: 98-0=98, Resulting Numbers: [15, 98] Generated Node #0,1,0: 98:[15, 98] Operation: 98-0=98 Exploring Operation: 98+0=98, Resulting Numbers: [15, 98] Generated Node #0,1,1: 98:[15, 98] Operation: 98+0=98 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[15, 98], Operations: ['84-84=0', '98-0=98'] Exploring Operation: 15+98=113, Resulting Numbers: [113] 113,98 unequal: No Solution Exploring Operation: 98-15=83, Resulting Numbers: [83] 83,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[15, 98], Operations: ['84-84=0', '98+0=98'] Exploring Operation: 98-15=83, Resulting Numbers: [83] 83,98 unequal: No Solution Exploring Operation: 15+98=113, Resulting Numbers: [113] 113,98 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
[ 12, 73, 17, 24 ]
88
[ "24/12=2", "73+17=90", "90-2=88" ]
Current State: 88:[12, 73, 17, 24], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [73, 17, 2] Generated Node #2: [73, 17, 2] from Operation: 24/12=2 Current State: 88:[73, 17, 2], Operations: ['24/12=2'] Exploring Operation: 73+17=90, Resulting Numbers: [2, 90] Generated Node #3: [2, 90] from Operation: 73+17=90 Current State: 88:[2, 90], Operations: ['24/12=2', '73+17=90'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[12, 73, 17, 24], Operations: [] Exploring Operation: 73+17=90, Resulting Numbers: [12, 24, 90] Generated Node #0,0: 88:[12, 24, 90] Operation: 73+17=90 Exploring Operation: 12+73=85, Resulting Numbers: [17, 24, 85] Generated Node #0,1: 88:[17, 24, 85] Operation: 12+73=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[12, 24, 90], Operations: ['73+17=90'] Exploring Operation: 24-12=12, Resulting Numbers: [90, 12] Generated Node #0,0,0: 88:[90, 12] Operation: 24-12=12 Exploring Operation: 24/12=2, Resulting Numbers: [90, 2] Generated Node #0,0,1: 88:[90, 2] Operation: 24/12=2 Moving to Node #0,0,1 Current State: 88:[90, 2], Operations: ['73+17=90', '24/12=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[12, 73, 17, 24], Operations: [] Exploring Operation: 73+17=90, Resulting Numbers: [12, 24, 90] Generated Node #0,0: 88:[12, 24, 90] Operation: 73+17=90 Moving to Node #0,0 Current State: 88:[12, 24, 90], Operations: ['73+17=90'] Exploring Operation: 24/12=2, Resulting Numbers: [90, 2] Generated Node #0,0,1: 88:[90, 2] Operation: 24/12=2 Moving to Node #0,0,1 Current State: 88:[90, 2], Operations: ['73+17=90', '24/12=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 7, 22, 3, 96 ]
84
[ "22-7=15", "3+96=99", "99-15=84" ]
Current State: 84:[7, 22, 3, 96], Operations: [] Exploring Operation: 22-7=15, Resulting Numbers: [3, 96, 15] Generated Node #2: [3, 96, 15] from Operation: 22-7=15 Current State: 84:[3, 96, 15], Operations: ['22-7=15'] Exploring Operation: 3+96=99, Resulting Numbers: [15, 99] Generated Node #3: [15, 99] from Operation: 3+96=99 Current State: 84:[15, 99], Operations: ['22-7=15', '3+96=99'] Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[7, 22, 3, 96], Operations: [] Exploring Operation: 96/3=32, Resulting Numbers: [7, 22, 32] Generated Node #0,0: 84:[7, 22, 32] Operation: 96/3=32 Exploring Operation: 96-22=74, Resulting Numbers: [7, 3, 74] Generated Node #0,1: 84:[7, 3, 74] Operation: 96-22=74 Exploring Operation: 96-7=89, Resulting Numbers: [22, 3, 89] Generated Node #0,2: 84:[22, 3, 89] Operation: 96-7=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[7, 22, 32], Operations: ['96/3=32'] Exploring Operation: 32-7=25, Resulting Numbers: [22, 25] Generated Node #0,0,0: 84:[22, 25] Operation: 32-7=25 Exploring Operation: 32-22=10, Resulting Numbers: [7, 10] Generated Node #0,0,1: 84:[7, 10] Operation: 32-22=10 Exploring Operation: 7+32=39, Resulting Numbers: [22, 39] Generated Node #0,0,2: 84:[22, 39] Operation: 7+32=39 Moving to Node #0,0,1 Current State: 84:[7, 10], Operations: ['96/3=32', '32-22=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[22, 25], Operations: ['96/3=32', '32-7=25'] Exploring Operation: 22*25=550, Resulting Numbers: [550] 550,84 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 22+25=47, Resulting Numbers: [47] 47,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[22, 39], Operations: ['96/3=32', '7+32=39'] Exploring Operation: 22+39=61, Resulting Numbers: [61] 61,84 unequal: No Solution Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 22*39=858, Resulting Numbers: [858] 858,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[22, 3, 89], Operations: ['96-7=89'] Exploring Operation: 89-3=86, Resulting Numbers: [22, 86] Generated Node #0,2,0: 84:[22, 86] Operation: 89-3=86 Exploring Operation: 22-3=19, Resulting Numbers: [89, 19] Generated Node #0,2,1: 84:[89, 19] Operation: 22-3=19 Exploring Operation: 22+3=25, Resulting Numbers: [89, 25] Generated Node #0,2,2: 84:[89, 25] Operation: 22+3=25 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[22, 86], Operations: ['96-7=89', '89-3=86'] Exploring Operation: 86-22=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 22+86=108, Resulting Numbers: [108] 108,84 unequal: No Solution Exploring Operation: 22*86=1892, Resulting Numbers: [1892] 1892,84 unequal: No Solution No 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: 84:[89, 19], Operations: ['96-7=89', '22-3=19'] Exploring Operation: 89-19=70, Resulting Numbers: [70] 70,84 unequal: No Solution Exploring Operation: 89*19=1691, Resulting Numbers: [1691] 1691,84 unequal: No Solution Exploring Operation: 89+19=108, Resulting Numbers: [108] 108,84 unequal: No Solution No 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: 84:[89, 25], Operations: ['96-7=89', '22+3=25'] Exploring Operation: 89+25=114, Resulting Numbers: [114] 114,84 unequal: No Solution Exploring Operation: 89-25=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 89*25=2225, Resulting Numbers: [2225] 2225,84 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: 84:[7, 3, 74], Operations: ['96-22=74'] Exploring Operation: 3+74=77, Resulting Numbers: [7, 77] Generated Node #0,1,0: 84:[7, 77] Operation: 3+74=77 Exploring Operation: 7*3=21, Resulting Numbers: [74, 21] Generated Node #0,1,1: 84:[74, 21] Operation: 7*3=21 Exploring Operation: 7+74=81, Resulting Numbers: [3, 81] Generated Node #0,1,2: 84:[3, 81] Operation: 7+74=81 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 84:[3, 81], Operations: ['96-22=74', '7+74=81'] Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,84 unequal: No Solution Exploring Operation: 3+81=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[7, 22, 3, 96], Operations: [] Exploring Operation: 96-22=74, Resulting Numbers: [7, 3, 74] Generated Node #0,1: 84:[7, 3, 74] Operation: 96-22=74 Moving to Node #0,1 Current State: 84:[7, 3, 74], Operations: ['96-22=74'] Exploring Operation: 7+74=81, Resulting Numbers: [3, 81] Generated Node #0,1,2: 84:[3, 81] Operation: 7+74=81 Moving to Node #0,1,2 Current State: 84:[3, 81], Operations: ['96-22=74', '7+74=81'] Exploring Operation: 3+81=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_3
mult_heuristic
[ 38, 45, 86, 76 ]
88
[ "38*86=3268", "3268/76=43", "45+43=88" ]
Current State: 88:[38, 45, 86, 76], Operations: [] Exploring Operation: 38*86=3268, Resulting Numbers: [45, 76, 3268] Generated Node #2: [45, 76, 3268] from Operation: 38*86=3268 Current State: 88:[45, 76, 3268], Operations: ['38*86=3268'] Exploring Operation: 3268/76=43, Resulting Numbers: [45, 43] Generated Node #3: [45, 43] from Operation: 3268/76=43 Current State: 88:[45, 43], Operations: ['38*86=3268', '3268/76=43'] Exploring Operation: 45+43=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[38, 45, 86, 76], Operations: [] Exploring Operation: 45-38=7, Resulting Numbers: [86, 76, 7] Generated Node #0,0: 88:[86, 76, 7] Operation: 45-38=7 Exploring Operation: 76/38=2, Resulting Numbers: [45, 86, 2] Generated Node #0,1: 88:[45, 86, 2] Operation: 76/38=2 Exploring Operation: 76-38=38, Resulting Numbers: [45, 86, 38] Generated Node #0,2: 88:[45, 86, 38] Operation: 76-38=38 Exploring Operation: 86-76=10, Resulting Numbers: [38, 45, 10] Generated Node #0,3: 88:[38, 45, 10] Operation: 86-76=10 Exploring Operation: 86-38=48, Resulting Numbers: [45, 76, 48] Generated Node #0,4: 88:[45, 76, 48] Operation: 86-38=48 Moving to Node #0,1 Current State: 88:[45, 86, 2], Operations: ['76/38=2'] Exploring Operation: 45*2=90, Resulting Numbers: [86, 90] Generated Node #0,1,0: 88:[86, 90] Operation: 45*2=90 Exploring Operation: 86+2=88, Resulting Numbers: [45, 88] Generated Node #0,1,1: 88:[45, 88] Operation: 86+2=88 Exploring Operation: 86-45=41, Resulting Numbers: [2, 41] Generated Node #0,1,2: 88:[2, 41] Operation: 86-45=41 Exploring Operation: 86/2=43, Resulting Numbers: [45, 43] Generated Node #0,1,3: 88:[45, 43] Operation: 86/2=43 Exploring Operation: 45-2=43, Resulting Numbers: [86, 43] Generated Node #0,1,4: 88:[86, 43] Operation: 45-2=43 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[45, 88], Operations: ['76/38=2', '86+2=88'] Exploring Operation: 88-45=43, Resulting Numbers: [43] 43,88 unequal: No Solution Exploring Operation: 45+88=133, Resulting Numbers: [133] 133,88 unequal: No Solution Exploring Operation: 45*88=3960, Resulting Numbers: [3960] 3960,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[45, 43], Operations: ['76/38=2', '86/2=43'] Exploring Operation: 45*43=1935, Resulting Numbers: [1935] 1935,88 unequal: No Solution Exploring Operation: 45+43=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[38, 45, 86, 76], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [45, 86, 2] Generated Node #0,1: 88:[45, 86, 2] Operation: 76/38=2 Moving to Node #0,1 Current State: 88:[45, 86, 2], Operations: ['76/38=2'] Exploring Operation: 86/2=43, Resulting Numbers: [45, 43] Generated Node #0,1,3: 88:[45, 43] Operation: 86/2=43 Moving to Node #0,1,3 Current State: 88:[45, 43], Operations: ['76/38=2', '86/2=43'] Exploring Operation: 45+43=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 95, 31, 61, 33 ]
31
[ "95-61=34", "34-33=1", "31*1=31" ]
Current State: 31:[95, 31, 61, 33], Operations: [] Exploring Operation: 95-61=34, Resulting Numbers: [31, 33, 34] Generated Node #2: [31, 33, 34] from Operation: 95-61=34 Current State: 31:[31, 33, 34], Operations: ['95-61=34'] Exploring Operation: 34-33=1, Resulting Numbers: [31, 1] Generated Node #3: [31, 1] from Operation: 34-33=1 Current State: 31:[31, 1], Operations: ['95-61=34', '34-33=1'] Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[95, 31, 61, 33], Operations: [] Exploring Operation: 95-33=62, Resulting Numbers: [31, 61, 62] Generated Node #0,0: 31:[31, 61, 62] Operation: 95-33=62 Exploring Operation: 95-61=34, Resulting Numbers: [31, 33, 34] Generated Node #0,1: 31:[31, 33, 34] Operation: 95-61=34 Moving to Node #0,1 Current State: 31:[31, 33, 34], Operations: ['95-61=34'] Exploring Operation: 34-31=3, Resulting Numbers: [33, 3] Generated Node #0,1,0: 31:[33, 3] Operation: 34-31=3 Exploring Operation: 34-33=1, Resulting Numbers: [31, 1] Generated Node #0,1,1: 31:[31, 1] Operation: 34-33=1 Moving to Node #0,0 Current State: 31:[31, 61, 62], Operations: ['95-33=62'] Exploring Operation: 62-31=31, Resulting Numbers: [61, 31] Generated Node #0,0,0: 31:[61, 31] Operation: 62-31=31 Exploring Operation: 62-61=1, Resulting Numbers: [31, 1] Generated Node #0,0,1: 31:[31, 1] Operation: 62-61=1 Moving to Node #0,1,0 Current State: 31:[33, 3], Operations: ['95-61=34', '34-31=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[61, 31], Operations: ['95-33=62', '62-31=31'] Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 61+31=92, Resulting Numbers: [92] 92,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[31, 1], Operations: ['95-61=34', '34-33=1'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[95, 31, 61, 33], Operations: [] Exploring Operation: 95-61=34, Resulting Numbers: [31, 33, 34] Generated Node #0,1: 31:[31, 33, 34] Operation: 95-61=34 Moving to Node #0,1 Current State: 31:[31, 33, 34], Operations: ['95-61=34'] Exploring Operation: 34-33=1, Resulting Numbers: [31, 1] Generated Node #0,1,1: 31:[31, 1] Operation: 34-33=1 Moving to Node #0,1,1 Current State: 31:[31, 1], Operations: ['95-61=34', '34-33=1'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 27, 28, 2, 34 ]
30
[ "34-28=6", "6/2=3", "27+3=30" ]
Current State: 30:[27, 28, 2, 34], Operations: [] Exploring Operation: 34-28=6, Resulting Numbers: [27, 2, 6] Generated Node #2: [27, 2, 6] from Operation: 34-28=6 Current State: 30:[27, 2, 6], Operations: ['34-28=6'] Exploring Operation: 6/2=3, Resulting Numbers: [27, 3] Generated Node #3: [27, 3] from Operation: 6/2=3 Current State: 30:[27, 3], Operations: ['34-28=6', '6/2=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[27, 28, 2, 34], Operations: [] Exploring Operation: 34-27=7, Resulting Numbers: [28, 2, 7] Generated Node #0,0: 30:[28, 2, 7] Operation: 34-27=7 Exploring Operation: 34-28=6, Resulting Numbers: [27, 2, 6] Generated Node #0,1: 30:[27, 2, 6] Operation: 34-28=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[28, 2, 7], Operations: ['34-27=7'] Exploring Operation: 28+2=30, Resulting Numbers: [7, 30] Generated Node #0,0,0: 30:[7, 30] Operation: 28+2=30 Exploring Operation: 28/7=4, Resulting Numbers: [2, 4] Generated Node #0,0,1: 30:[2, 4] Operation: 28/7=4 Moving to Node #0,0,0 Current State: 30:[7, 30], Operations: ['34-27=7', '28+2=30'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,30 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[2, 4], Operations: ['34-27=7', '28/7=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[27, 2, 6], Operations: ['34-28=6'] Exploring Operation: 27+6=33, Resulting Numbers: [2, 33] Generated Node #0,1,0: 30:[2, 33] Operation: 27+6=33 Exploring Operation: 27+2=29, Resulting Numbers: [6, 29] Generated Node #0,1,1: 30:[6, 29] Operation: 27+2=29 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 30:[6, 29], Operations: ['34-28=6', '27+2=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,30 unequal: No Solution No 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: 30:[2, 33], Operations: ['34-28=6', '27+6=33'] Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 87, 47, 64, 65 ]
39
[ "87-47=40", "65-64=1", "40-1=39" ]
Current State: 39:[87, 47, 64, 65], Operations: [] Exploring Operation: 87-47=40, Resulting Numbers: [64, 65, 40] Generated Node #2: [64, 65, 40] from Operation: 87-47=40 Current State: 39:[64, 65, 40], Operations: ['87-47=40'] Exploring Operation: 65-64=1, Resulting Numbers: [40, 1] Generated Node #3: [40, 1] from Operation: 65-64=1 Current State: 39:[40, 1], Operations: ['87-47=40', '65-64=1'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[87, 47, 64, 65], Operations: [] Exploring Operation: 87-64=23, Resulting Numbers: [47, 65, 23] Generated Node #0,0: 39:[47, 65, 23] Operation: 87-64=23 Exploring Operation: 87-65=22, Resulting Numbers: [47, 64, 22] Generated Node #0,1: 39:[47, 64, 22] Operation: 87-65=22 Moving to Node #0,1 Current State: 39:[47, 64, 22], Operations: ['87-65=22'] Exploring Operation: 64-22=42, Resulting Numbers: [47, 42] Generated Node #0,1,0: 39:[47, 42] Operation: 64-22=42 Exploring Operation: 64-47=17, Resulting Numbers: [22, 17] Generated Node #0,1,1: 39:[22, 17] Operation: 64-47=17 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[47, 42], Operations: ['87-65=22', '64-22=42'] Exploring Operation: 47+42=89, Resulting Numbers: [89] 89,39 unequal: No Solution Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[22, 17], Operations: ['87-65=22', '64-47=17'] Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[87, 47, 64, 65], Operations: [] Exploring Operation: 87-65=22, Resulting Numbers: [47, 64, 22] Generated Node #0,1: 39:[47, 64, 22] Operation: 87-65=22 Moving to Node #0,1 Current State: 39:[47, 64, 22], Operations: ['87-65=22'] Exploring Operation: 64-47=17, Resulting Numbers: [22, 17] Generated Node #0,1,1: 39:[22, 17] Operation: 64-47=17 Moving to Node #0,1,1 Current State: 39:[22, 17], Operations: ['87-65=22', '64-47=17'] Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 2, 5, 44, 52 ]
30
[ "2+44=46", "52-46=6", "5*6=30" ]
Current State: 30:[2, 5, 44, 52], Operations: [] Exploring Operation: 2+44=46, Resulting Numbers: [5, 52, 46] Generated Node #2: [5, 52, 46] from Operation: 2+44=46 Current State: 30:[5, 52, 46], Operations: ['2+44=46'] Exploring Operation: 52-46=6, Resulting Numbers: [5, 6] Generated Node #3: [5, 6] from Operation: 52-46=6 Current State: 30:[5, 6], Operations: ['2+44=46', '52-46=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[2, 5, 44, 52], Operations: [] Exploring Operation: 52/2=26, Resulting Numbers: [5, 44, 26] Generated Node #0,0: 30:[5, 44, 26] Operation: 52/2=26 Exploring Operation: 44-5=39, Resulting Numbers: [2, 52, 39] Generated Node #0,1: 30:[2, 52, 39] Operation: 44-5=39 Exploring Operation: 52-44=8, Resulting Numbers: [2, 5, 8] Generated Node #0,2: 30:[2, 5, 8] Operation: 52-44=8 Exploring Operation: 44/2=22, Resulting Numbers: [5, 52, 22] Generated Node #0,3: 30:[5, 52, 22] Operation: 44/2=22 Moving to Node #0,2 Current State: 30:[2, 5, 8], Operations: ['52-44=8'] Exploring Operation: 2*8=16, Resulting Numbers: [5, 16] Generated Node #0,2,0: 30:[5, 16] Operation: 2*8=16 Exploring Operation: 2+8=10, Resulting Numbers: [5, 10] Generated Node #0,2,1: 30:[5, 10] Operation: 2+8=10 Exploring Operation: 8-2=6, Resulting Numbers: [5, 6] Generated Node #0,2,2: 30:[5, 6] Operation: 8-2=6 Exploring Operation: 8-5=3, Resulting Numbers: [2, 3] Generated Node #0,2,3: 30:[2, 3] Operation: 8-5=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[5, 10], Operations: ['52-44=8', '2+8=10'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,30 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[5, 6], Operations: ['52-44=8', '8-2=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[2, 5, 44, 52], Operations: [] Exploring Operation: 52-44=8, Resulting Numbers: [2, 5, 8] Generated Node #0,2: 30:[2, 5, 8] Operation: 52-44=8 Moving to Node #0,2 Current State: 30:[2, 5, 8], Operations: ['52-44=8'] Exploring Operation: 8-2=6, Resulting Numbers: [5, 6] Generated Node #0,2,2: 30:[5, 6] Operation: 8-2=6 Moving to Node #0,2,2 Current State: 30:[5, 6], Operations: ['52-44=8', '8-2=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 22, 95, 12, 14 ]
45
[ "22-12=10", "14*10=140", "140-95=45" ]
Current State: 45:[22, 95, 12, 14], Operations: [] Exploring Operation: 22-12=10, Resulting Numbers: [95, 14, 10] Generated Node #2: [95, 14, 10] from Operation: 22-12=10 Current State: 45:[95, 14, 10], Operations: ['22-12=10'] Exploring Operation: 14*10=140, Resulting Numbers: [95, 140] Generated Node #3: [95, 140] from Operation: 14*10=140 Current State: 45:[95, 140], Operations: ['22-12=10', '14*10=140'] Exploring Operation: 140-95=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[22, 95, 12, 14], Operations: [] Exploring Operation: 22-12=10, Resulting Numbers: [95, 14, 10] Generated Node #0,0: 45:[95, 14, 10] Operation: 22-12=10 Exploring Operation: 95-14=81, Resulting Numbers: [22, 12, 81] Generated Node #0,1: 45:[22, 12, 81] Operation: 95-14=81 Exploring Operation: 95-12=83, Resulting Numbers: [22, 14, 83] Generated Node #0,2: 45:[22, 14, 83] Operation: 95-12=83 Exploring Operation: 95-22=73, Resulting Numbers: [12, 14, 73] Generated Node #0,3: 45:[12, 14, 73] Operation: 95-22=73 Moving to Node #0,3 Current State: 45:[12, 14, 73], Operations: ['95-22=73'] Exploring Operation: 12+14=26, Resulting Numbers: [73, 26] Generated Node #0,3,0: 45:[73, 26] Operation: 12+14=26 Exploring Operation: 14-12=2, Resulting Numbers: [73, 2] Generated Node #0,3,1: 45:[73, 2] Operation: 14-12=2 Exploring Operation: 73-12=61, Resulting Numbers: [14, 61] Generated Node #0,3,2: 45:[14, 61] Operation: 73-12=61 Exploring Operation: 73-14=59, Resulting Numbers: [12, 59] Generated Node #0,3,3: 45:[12, 59] Operation: 73-14=59 Moving to Node #0,2 Current State: 45:[22, 14, 83], Operations: ['95-12=83'] Exploring Operation: 22-14=8, Resulting Numbers: [83, 8] Generated Node #0,2,0: 45:[83, 8] Operation: 22-14=8 Exploring Operation: 83-14=69, Resulting Numbers: [22, 69] Generated Node #0,2,1: 45:[22, 69] Operation: 83-14=69 Exploring Operation: 83-22=61, Resulting Numbers: [14, 61] Generated Node #0,2,2: 45:[14, 61] Operation: 83-22=61 Exploring Operation: 22+14=36, Resulting Numbers: [83, 36] Generated Node #0,2,3: 45:[83, 36] Operation: 22+14=36 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[14, 61], Operations: ['95-12=83', '83-22=61'] Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 14+61=75, Resulting Numbers: [75] 75,45 unequal: No Solution Exploring Operation: 14*61=854, Resulting Numbers: [854] 854,45 unequal: No Solution No 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: 45:[22, 69], Operations: ['95-12=83', '83-14=69'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 22*69=1518, Resulting Numbers: [1518] 1518,45 unequal: No Solution Exploring Operation: 22+69=91, Resulting Numbers: [91] 91,45 unequal: No Solution No 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: 45:[83, 8], Operations: ['95-12=83', '22-14=8'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,45 unequal: No Solution Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,45 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,45 unequal: No Solution No 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: 45:[83, 36], Operations: ['95-12=83', '22+14=36'] Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,45 unequal: No Solution Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,45 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: 45:[22, 12, 81], Operations: ['95-14=81'] Exploring Operation: 22-12=10, Resulting Numbers: [81, 10] Generated Node #0,1,0: 45:[81, 10] Operation: 22-12=10 Exploring Operation: 81-12=69, Resulting Numbers: [22, 69] Generated Node #0,1,1: 45:[22, 69] Operation: 81-12=69 Exploring Operation: 81-22=59, Resulting Numbers: [12, 59] Generated Node #0,1,2: 45:[12, 59] Operation: 81-22=59 Exploring Operation: 22+12=34, Resulting Numbers: [81, 34] Generated Node #0,1,3: 45:[81, 34] Operation: 22+12=34 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[12, 59], Operations: ['95-14=81', '81-22=59'] Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 12*59=708, Resulting Numbers: [708] 708,45 unequal: No Solution Exploring Operation: 12+59=71, Resulting Numbers: [71] 71,45 unequal: No Solution No 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: 45:[22, 69], Operations: ['95-14=81', '81-12=69'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 22*69=1518, Resulting Numbers: [1518] 1518,45 unequal: No Solution Exploring Operation: 22+69=91, Resulting Numbers: [91] 91,45 unequal: No Solution No 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: 45:[81, 10], Operations: ['95-14=81', '22-12=10'] Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,45 unequal: No Solution Exploring Operation: 81*10=810, Resulting Numbers: [810] 810,45 unequal: No Solution Exploring Operation: 81+10=91, Resulting Numbers: [91] 91,45 unequal: No Solution No 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: 45:[81, 34], Operations: ['95-14=81', '22+12=34'] Exploring Operation: 81*34=2754, Resulting Numbers: [2754] 2754,45 unequal: No Solution Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,45 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,45 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: 45:[95, 14, 10], Operations: ['22-12=10'] Exploring Operation: 14+10=24, Resulting Numbers: [95, 24] Generated Node #0,0,0: 45:[95, 24] Operation: 14+10=24 Exploring Operation: 95-10=85, Resulting Numbers: [14, 85] Generated Node #0,0,1: 45:[14, 85] Operation: 95-10=85 Exploring Operation: 95-14=81, Resulting Numbers: [10, 81] Generated Node #0,0,2: 45:[10, 81] Operation: 95-14=81 Exploring Operation: 14-10=4, Resulting Numbers: [95, 4] Generated Node #0,0,3: 45:[95, 4] Operation: 14-10=4 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[10, 81], Operations: ['22-12=10', '95-14=81'] Exploring Operation: 10+81=91, Resulting Numbers: [91] 91,45 unequal: No Solution Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,45 unequal: No Solution Exploring Operation: 10*81=810, Resulting Numbers: [810] 810,45 unequal: No Solution No 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: 45:[14, 85], Operations: ['22-12=10', '95-10=85'] Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,45 unequal: No Solution Exploring Operation: 14+85=99, Resulting Numbers: [99] 99,45 unequal: No Solution Exploring Operation: 14*85=1190, Resulting Numbers: [1190] 1190,45 unequal: No Solution No 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: 45:[95, 4], Operations: ['22-12=10', '14-10=4'] Exploring Operation: 95+4=99, Resulting Numbers: [99] 99,45 unequal: No Solution Exploring Operation: 95*4=380, Resulting Numbers: [380] 380,45 unequal: No Solution Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,45 unequal: No Solution No 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: 45:[95, 24], Operations: ['22-12=10', '14+10=24'] Exploring Operation: 95*24=2280, Resulting Numbers: [2280] 2280,45 unequal: No Solution Exploring Operation: 95+24=119, Resulting Numbers: [119] 119,45 unequal: No Solution Exploring Operation: 95-24=71, Resulting Numbers: [71] 71,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 45:[14, 61], Operations: ['95-22=73', '73-12=61'] Exploring Operation: 14+61=75, Resulting Numbers: [75] 75,45 unequal: No Solution Exploring Operation: 14*61=854, Resulting Numbers: [854] 854,45 unequal: No Solution Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[12, 59], Operations: ['95-22=73', '73-14=59'] Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 12+59=71, Resulting Numbers: [71] 71,45 unequal: No Solution Exploring Operation: 12*59=708, Resulting Numbers: [708] 708,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[73, 2], Operations: ['95-22=73', '14-12=2'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,45 unequal: No Solution Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,45 unequal: No Solution Exploring Operation: 73*2=146, Resulting Numbers: [146] 146,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[73, 26], Operations: ['95-22=73', '12+14=26'] Exploring Operation: 73*26=1898, Resulting Numbers: [1898] 1898,45 unequal: No Solution Exploring Operation: 73+26=99, Resulting Numbers: [99] 99,45 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,45 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 3, 48, 93, 33 ]
44
[ "48/3=16", "93-33=60", "60-16=44" ]
Current State: 44:[3, 48, 93, 33], Operations: [] Exploring Operation: 48/3=16, Resulting Numbers: [93, 33, 16] Generated Node #2: [93, 33, 16] from Operation: 48/3=16 Current State: 44:[93, 33, 16], Operations: ['48/3=16'] Exploring Operation: 93-33=60, Resulting Numbers: [16, 60] Generated Node #3: [16, 60] from Operation: 93-33=60 Current State: 44:[16, 60], Operations: ['48/3=16', '93-33=60'] Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[3, 48, 93, 33], Operations: [] Exploring Operation: 93-48=45, Resulting Numbers: [3, 33, 45] Generated Node #0,0: 44:[3, 33, 45] Operation: 93-48=45 Moving to Node #0,0 Current State: 44:[3, 33, 45], Operations: ['93-48=45'] Exploring Operation: 33/3=11, Resulting Numbers: [45, 11] Generated Node #0,0,0: 44:[45, 11] Operation: 33/3=11 Moving to Node #0,0,0 Current State: 44:[45, 11], Operations: ['93-48=45', '33/3=11'] Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,44 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 55, 72, 54, 27 ]
89
[ "72*54=3888", "3888/27=144", "144-55=89" ]
Current State: 89:[55, 72, 54, 27], Operations: [] Exploring Operation: 72*54=3888, Resulting Numbers: [55, 27, 3888] Generated Node #2: [55, 27, 3888] from Operation: 72*54=3888 Current State: 89:[55, 27, 3888], Operations: ['72*54=3888'] Exploring Operation: 3888/27=144, Resulting Numbers: [55, 144] Generated Node #3: [55, 144] from Operation: 3888/27=144 Current State: 89:[55, 144], Operations: ['72*54=3888', '3888/27=144'] Exploring Operation: 144-55=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[55, 72, 54, 27], Operations: [] Exploring Operation: 54+27=81, Resulting Numbers: [55, 72, 81] Generated Node #0,0: 89:[55, 72, 81] Operation: 54+27=81 Exploring Operation: 55+27=82, Resulting Numbers: [72, 54, 82] Generated Node #0,1: 89:[72, 54, 82] Operation: 55+27=82 Moving to Node #0,0 Current State: 89:[55, 72, 81], Operations: ['54+27=81'] Exploring Operation: 55+72=127, Resulting Numbers: [81, 127] Generated Node #0,0,0: 89:[81, 127] Operation: 55+72=127 Exploring Operation: 55+81=136, Resulting Numbers: [72, 136] Generated Node #0,0,1: 89:[72, 136] Operation: 55+81=136 Moving to Node #0,1 Current State: 89:[72, 54, 82], Operations: ['55+27=82'] Exploring Operation: 72+54=126, Resulting Numbers: [82, 126] Generated Node #0,1,0: 89:[82, 126] Operation: 72+54=126 Exploring Operation: 54+82=136, Resulting Numbers: [72, 136] Generated Node #0,1,1: 89:[72, 136] Operation: 54+82=136 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[82, 126], Operations: ['55+27=82', '72+54=126'] Exploring Operation: 126-82=44, Resulting Numbers: [44] 44,89 unequal: No Solution Exploring Operation: 82+126=208, Resulting Numbers: [208] 208,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[72, 136], Operations: ['55+27=82', '54+82=136'] Exploring Operation: 72+136=208, Resulting Numbers: [208] 208,89 unequal: No Solution Exploring Operation: 136-72=64, Resulting Numbers: [64] 64,89 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: 89:[81, 127], Operations: ['54+27=81', '55+72=127'] Exploring Operation: 81+127=208, Resulting Numbers: [208] 208,89 unequal: No Solution Exploring Operation: 127-81=46, Resulting Numbers: [46] 46,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[72, 136], Operations: ['54+27=81', '55+81=136'] Exploring Operation: 136-72=64, Resulting Numbers: [64] 64,89 unequal: No Solution Exploring Operation: 72+136=208, Resulting Numbers: [208] 208,89 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 6, 81, 31, 83 ]
50
[ "31-6=25", "83-81=2", "25*2=50" ]
Current State: 50:[6, 81, 31, 83], Operations: [] Exploring Operation: 31-6=25, Resulting Numbers: [81, 83, 25] Generated Node #2: [81, 83, 25] from Operation: 31-6=25 Current State: 50:[81, 83, 25], Operations: ['31-6=25'] Exploring Operation: 83-81=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 83-81=2 Current State: 50:[25, 2], Operations: ['31-6=25', '83-81=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[6, 81, 31, 83], Operations: [] Exploring Operation: 83-31=52, Resulting Numbers: [6, 81, 52] Generated Node #0,0: 50:[6, 81, 52] Operation: 83-31=52 Exploring Operation: 81-31=50, Resulting Numbers: [6, 83, 50] Generated Node #0,1: 50:[6, 83, 50] Operation: 81-31=50 Exploring Operation: 83-81=2, Resulting Numbers: [6, 31, 2] Generated Node #0,2: 50:[6, 31, 2] Operation: 83-81=2 Moving to Node #0,2 Current State: 50:[6, 31, 2], Operations: ['83-81=2'] Exploring Operation: 31-6=25, Resulting Numbers: [2, 25] Generated Node #0,2,0: 50:[2, 25] Operation: 31-6=25 Exploring Operation: 31-2=29, Resulting Numbers: [6, 29] Generated Node #0,2,1: 50:[6, 29] Operation: 31-2=29 Exploring Operation: 6-2=4, Resulting Numbers: [31, 4] Generated Node #0,2,2: 50:[31, 4] Operation: 6-2=4 Moving to Node #0,0 Current State: 50:[6, 81, 52], Operations: ['83-31=52'] Exploring Operation: 81-6=75, Resulting Numbers: [52, 75] Generated Node #0,0,0: 50:[52, 75] Operation: 81-6=75 Exploring Operation: 52-6=46, Resulting Numbers: [81, 46] Generated Node #0,0,1: 50:[81, 46] Operation: 52-6=46 Exploring Operation: 81-52=29, Resulting Numbers: [6, 29] Generated Node #0,0,2: 50:[6, 29] Operation: 81-52=29 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[6, 29], Operations: ['83-31=52', '81-52=29'] Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,50 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,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:[52, 75], Operations: ['83-31=52', '81-6=75'] Exploring Operation: 52*75=3900, Resulting Numbers: [3900] 3900,50 unequal: No Solution Exploring Operation: 75-52=23, Resulting Numbers: [23] 23,50 unequal: No Solution Exploring Operation: 52+75=127, Resulting Numbers: [127] 127,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[81, 46], Operations: ['83-31=52', '52-6=46'] Exploring Operation: 81+46=127, Resulting Numbers: [127] 127,50 unequal: No Solution Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 81*46=3726, Resulting Numbers: [3726] 3726,50 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: 50:[6, 83, 50], Operations: ['81-31=50'] Exploring Operation: 83-50=33, Resulting Numbers: [6, 33] Generated Node #0,1,0: 50:[6, 33] Operation: 83-50=33 Exploring Operation: 83-6=77, Resulting Numbers: [50, 77] Generated Node #0,1,1: 50:[50, 77] Operation: 83-6=77 Exploring Operation: 6+83=89, Resulting Numbers: [50, 89] Generated Node #0,1,2: 50:[50, 89] Operation: 6+83=89 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[6, 33], Operations: ['81-31=50', '83-50=33'] Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,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:[50, 77], Operations: ['81-31=50', '83-6=77'] Exploring Operation: 77-50=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 50+77=127, Resulting Numbers: [127] 127,50 unequal: No Solution Exploring Operation: 50*77=3850, Resulting Numbers: [3850] 3850,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:[50, 89], Operations: ['81-31=50', '6+83=89'] Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 50*89=4450, Resulting Numbers: [4450] 4450,50 unequal: No Solution Exploring Operation: 50+89=139, Resulting Numbers: [139] 139,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 50:[2, 25], Operations: ['83-81=2', '31-6=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[6, 81, 31, 83], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [6, 31, 2] Generated Node #0,2: 50:[6, 31, 2] Operation: 83-81=2 Moving to Node #0,2 Current State: 50:[6, 31, 2], Operations: ['83-81=2'] Exploring Operation: 31-6=25, Resulting Numbers: [2, 25] Generated Node #0,2,0: 50:[2, 25] Operation: 31-6=25 Moving to Node #0,2,0 Current State: 50:[2, 25], Operations: ['83-81=2', '31-6=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.969618
hs_3
sum_heuristic
[ 31, 39, 40, 48 ]
78
[ "31+39=70", "48-40=8", "70+8=78" ]
Current State: 78:[31, 39, 40, 48], Operations: [] Exploring Operation: 31+39=70, Resulting Numbers: [40, 48, 70] Generated Node #2: [40, 48, 70] from Operation: 31+39=70 Current State: 78:[40, 48, 70], Operations: ['31+39=70'] Exploring Operation: 48-40=8, Resulting Numbers: [70, 8] Generated Node #3: [70, 8] from Operation: 48-40=8 Current State: 78:[70, 8], Operations: ['31+39=70', '48-40=8'] Exploring Operation: 70+8=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[31, 39, 40, 48], Operations: [] Exploring Operation: 48-39=9, Resulting Numbers: [31, 40, 9] Generated Node #0,0: 78:[31, 40, 9] Operation: 48-39=9 Exploring Operation: 31+48=79, Resulting Numbers: [39, 40, 79] Generated Node #0,1: 78:[39, 40, 79] Operation: 31+48=79 Exploring Operation: 48-40=8, Resulting Numbers: [31, 39, 8] Generated Node #0,2: 78:[31, 39, 8] Operation: 48-40=8 Exploring Operation: 48-31=17, Resulting Numbers: [39, 40, 17] Generated Node #0,3: 78:[39, 40, 17] Operation: 48-31=17 Moving to Node #0,1 Current State: 78:[39, 40, 79], Operations: ['31+48=79'] Exploring Operation: 40-39=1, Resulting Numbers: [79, 1] Generated Node #0,1,0: 78:[79, 1] Operation: 40-39=1 Exploring Operation: 79-39=40, Resulting Numbers: [40, 40] Generated Node #0,1,1: 78:[40, 40] Operation: 79-39=40 Exploring Operation: 39+40=79, Resulting Numbers: [79, 79] Generated Node #0,1,2: 78:[79, 79] Operation: 39+40=79 Exploring Operation: 79-40=39, Resulting Numbers: [39, 39] Generated Node #0,1,3: 78:[39, 39] Operation: 79-40=39 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 78:[39, 39], Operations: ['31+48=79', '79-40=39'] Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[31, 39, 40, 48], Operations: [] Exploring Operation: 31+48=79, Resulting Numbers: [39, 40, 79] Generated Node #0,1: 78:[39, 40, 79] Operation: 31+48=79 Moving to Node #0,1 Current State: 78:[39, 40, 79], Operations: ['31+48=79'] Exploring Operation: 79-40=39, Resulting Numbers: [39, 39] Generated Node #0,1,3: 78:[39, 39] Operation: 79-40=39 Moving to Node #0,1,3 Current State: 78:[39, 39], Operations: ['31+48=79', '79-40=39'] Exploring Operation: 39+39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 7, 60, 94, 98 ]
48
[ "98/7=14", "94-60=34", "14+34=48" ]
Current State: 48:[7, 60, 94, 98], Operations: [] Exploring Operation: 98/7=14, Resulting Numbers: [60, 94, 14] Generated Node #2: [60, 94, 14] from Operation: 98/7=14 Current State: 48:[60, 94, 14], Operations: ['98/7=14'] Exploring Operation: 94-60=34, Resulting Numbers: [14, 34] Generated Node #3: [14, 34] from Operation: 94-60=34 Current State: 48:[14, 34], Operations: ['98/7=14', '94-60=34'] Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[7, 60, 94, 98], Operations: [] Exploring Operation: 98/7=14, Resulting Numbers: [60, 94, 14] Generated Node #0,0: 48:[60, 94, 14] Operation: 98/7=14 Exploring Operation: 98-60=38, Resulting Numbers: [7, 94, 38] Generated Node #0,1: 48:[7, 94, 38] Operation: 98-60=38 Exploring Operation: 98-94=4, Resulting Numbers: [7, 60, 4] Generated Node #0,2: 48:[7, 60, 4] Operation: 98-94=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[7, 60, 4], Operations: ['98-94=4'] Exploring Operation: 60-4=56, Resulting Numbers: [7, 56] Generated Node #0,2,0: 48:[7, 56] Operation: 60-4=56 Exploring Operation: 60-7=53, Resulting Numbers: [4, 53] Generated Node #0,2,1: 48:[4, 53] Operation: 60-7=53 Exploring Operation: 60/4=15, Resulting Numbers: [7, 15] Generated Node #0,2,2: 48:[7, 15] Operation: 60/4=15 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 48:[7, 15], Operations: ['98-94=4', '60/4=15'] Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[4, 53], Operations: ['98-94=4', '60-7=53'] Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,48 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 48:[7, 56], Operations: ['98-94=4', '60-4=56'] Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[7, 94, 38], Operations: ['98-60=38'] Exploring Operation: 94-38=56, Resulting Numbers: [7, 56] Generated Node #0,1,0: 48:[7, 56] Operation: 94-38=56 Exploring Operation: 7+38=45, Resulting Numbers: [94, 45] Generated Node #0,1,1: 48:[94, 45] Operation: 7+38=45 Exploring Operation: 94-7=87, Resulting Numbers: [38, 87] Generated Node #0,1,2: 48:[38, 87] Operation: 94-7=87 Moving to Node #0,1,0 Current State: 48:[7, 56], Operations: ['98-60=38', '94-38=56'] Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[94, 45], Operations: ['98-60=38', '7+38=45'] Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 94*45=4230, Resulting Numbers: [4230] 4230,48 unequal: No Solution Exploring Operation: 94+45=139, Resulting Numbers: [139] 139,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[38, 87], Operations: ['98-60=38', '94-7=87'] Exploring Operation: 38*87=3306, Resulting Numbers: [3306] 3306,48 unequal: No Solution Exploring Operation: 38+87=125, Resulting Numbers: [125] 125,48 unequal: No Solution Exploring Operation: 87-38=49, Resulting Numbers: [49] 49,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,0 Current State: 48:[60, 94, 14], Operations: ['98/7=14'] Exploring Operation: 94-14=80, Resulting Numbers: [60, 80] Generated Node #0,0,0: 48:[60, 80] Operation: 94-14=80 Exploring Operation: 60-14=46, Resulting Numbers: [94, 46] Generated Node #0,0,1: 48:[94, 46] Operation: 60-14=46 Exploring Operation: 94-60=34, Resulting Numbers: [14, 34] Generated Node #0,0,2: 48:[14, 34] Operation: 94-60=34 Moving to Node #0,0,2 Current State: 48:[14, 34], Operations: ['98/7=14', '94-60=34'] Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,48 unequal: No Solution Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[7, 60, 94, 98], Operations: [] Exploring Operation: 98/7=14, Resulting Numbers: [60, 94, 14] Generated Node #0,0: 48:[60, 94, 14] Operation: 98/7=14 Moving to Node #0,0 Current State: 48:[60, 94, 14], Operations: ['98/7=14'] Exploring Operation: 94-60=34, Resulting Numbers: [14, 34] Generated Node #0,0,2: 48:[14, 34] Operation: 94-60=34 Moving to Node #0,0,2 Current State: 48:[14, 34], Operations: ['98/7=14', '94-60=34'] Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 54, 25, 3, 39 ]
13
[ "54-25=29", "3+39=42", "42-29=13" ]
Current State: 13:[54, 25, 3, 39], Operations: [] Exploring Operation: 54-25=29, Resulting Numbers: [3, 39, 29] Generated Node #2: [3, 39, 29] from Operation: 54-25=29 Current State: 13:[3, 39, 29], Operations: ['54-25=29'] Exploring Operation: 3+39=42, Resulting Numbers: [29, 42] Generated Node #3: [29, 42] from Operation: 3+39=42 Current State: 13:[29, 42], Operations: ['54-25=29', '3+39=42'] Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[54, 25, 3, 39], Operations: [] Exploring Operation: 54-39=15, Resulting Numbers: [25, 3, 15] Generated Node #0,0: 13:[25, 3, 15] Operation: 54-39=15 Exploring Operation: 54/3=18, Resulting Numbers: [25, 39, 18] Generated Node #0,1: 13:[25, 39, 18] Operation: 54/3=18 Exploring Operation: 54-25=29, Resulting Numbers: [3, 39, 29] Generated Node #0,2: 13:[3, 39, 29] Operation: 54-25=29 Exploring Operation: 39-25=14, Resulting Numbers: [54, 3, 14] Generated Node #0,3: 13:[54, 3, 14] Operation: 39-25=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[25, 3, 15], Operations: ['54-39=15'] Exploring Operation: 15-3=12, Resulting Numbers: [25, 12] Generated Node #0,0,0: 13:[25, 12] Operation: 15-3=12 Exploring Operation: 25-15=10, Resulting Numbers: [3, 10] Generated Node #0,0,1: 13:[3, 10] Operation: 25-15=10 Exploring Operation: 25+3=28, Resulting Numbers: [15, 28] Generated Node #0,0,2: 13:[15, 28] Operation: 25+3=28 Exploring Operation: 25-3=22, Resulting Numbers: [15, 22] Generated Node #0,0,3: 13:[15, 22] Operation: 25-3=22 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 13:[15, 22], Operations: ['54-39=15', '25-3=22'] Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[25, 12], Operations: ['54-39=15', '15-3=12'] Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[54, 25, 3, 39], Operations: [] Exploring Operation: 54-39=15, Resulting Numbers: [25, 3, 15] Generated Node #0,0: 13:[25, 3, 15] Operation: 54-39=15 Moving to Node #0,0 Current State: 13:[25, 3, 15], Operations: ['54-39=15'] Exploring Operation: 15-3=12, Resulting Numbers: [25, 12] Generated Node #0,0,0: 13:[25, 12] Operation: 15-3=12 Moving to Node #0,0,0 Current State: 13:[25, 12], Operations: ['54-39=15', '15-3=12'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 65, 15, 60, 24 ]
41
[ "65*24=1560", "1560/60=26", "15+26=41" ]
Current State: 41:[65, 15, 60, 24], Operations: [] Exploring Operation: 65*24=1560, Resulting Numbers: [15, 60, 1560] Generated Node #2: [15, 60, 1560] from Operation: 65*24=1560 Current State: 41:[15, 60, 1560], Operations: ['65*24=1560'] Exploring Operation: 1560/60=26, Resulting Numbers: [15, 26] Generated Node #3: [15, 26] from Operation: 1560/60=26 Current State: 41:[15, 26], Operations: ['65*24=1560', '1560/60=26'] Exploring Operation: 15+26=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[65, 15, 60, 24], Operations: [] Exploring Operation: 65-24=41, Resulting Numbers: [15, 60, 41] Generated Node #0,0: 41:[15, 60, 41] Operation: 65-24=41 Exploring Operation: 15+24=39, Resulting Numbers: [65, 60, 39] Generated Node #0,1: 41:[65, 60, 39] Operation: 15+24=39 Exploring Operation: 65-15=50, Resulting Numbers: [60, 24, 50] Generated Node #0,2: 41:[60, 24, 50] Operation: 65-15=50 Exploring Operation: 60-15=45, Resulting Numbers: [65, 24, 45] Generated Node #0,3: 41:[65, 24, 45] Operation: 60-15=45 Moving to Node #0,0 Current State: 41:[15, 60, 41], Operations: ['65-24=41'] Exploring Operation: 41-15=26, Resulting Numbers: [60, 26] Generated Node #0,0,0: 41:[60, 26] Operation: 41-15=26 Exploring Operation: 15+41=56, Resulting Numbers: [60, 56] Generated Node #0,0,1: 41:[60, 56] Operation: 15+41=56 Exploring Operation: 15+60=75, Resulting Numbers: [41, 75] Generated Node #0,0,2: 41:[41, 75] Operation: 15+60=75 Exploring Operation: 60-15=45, Resulting Numbers: [41, 45] Generated Node #0,0,3: 41:[41, 45] Operation: 60-15=45 Moving to Node #0,2 Current State: 41:[60, 24, 50], Operations: ['65-15=50'] Exploring Operation: 60+24=84, Resulting Numbers: [50, 84] Generated Node #0,2,0: 41:[50, 84] Operation: 60+24=84 Exploring Operation: 60-50=10, Resulting Numbers: [24, 10] Generated Node #0,2,1: 41:[24, 10] Operation: 60-50=10 Exploring Operation: 60-24=36, Resulting Numbers: [50, 36] Generated Node #0,2,2: 41:[50, 36] Operation: 60-24=36 Exploring Operation: 50-24=26, Resulting Numbers: [60, 26] Generated Node #0,2,3: 41:[60, 26] Operation: 50-24=26 Moving to Node #0,1 Current State: 41:[65, 60, 39], Operations: ['15+24=39'] Exploring Operation: 65-60=5, Resulting Numbers: [39, 5] Generated Node #0,1,0: 41:[39, 5] Operation: 65-60=5 Exploring Operation: 60-39=21, Resulting Numbers: [65, 21] Generated Node #0,1,1: 41:[65, 21] Operation: 60-39=21 Exploring Operation: 65+39=104, Resulting Numbers: [60, 104] Generated Node #0,1,2: 41:[60, 104] Operation: 65+39=104 Exploring Operation: 65-39=26, Resulting Numbers: [60, 26] Generated Node #0,1,3: 41:[60, 26] Operation: 65-39=26 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[60, 26], Operations: ['15+24=39', '65-39=26'] Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,41 unequal: No Solution Exploring Operation: 60*26=1560, Resulting Numbers: [1560] 1560,41 unequal: No Solution Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[39, 5], Operations: ['15+24=39', '65-60=5'] Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,41 unequal: No Solution Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,41 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[65, 21], Operations: ['15+24=39', '60-39=21'] Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,41 unequal: No Solution Exploring Operation: 65*21=1365, Resulting Numbers: [1365] 1365,41 unequal: No Solution Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[60, 104], Operations: ['15+24=39', '65+39=104'] Exploring Operation: 60+104=164, Resulting Numbers: [164] 164,41 unequal: No Solution Exploring Operation: 104-60=44, Resulting Numbers: [44] 44,41 unequal: No Solution Exploring Operation: 60*104=6240, Resulting Numbers: [6240] 6240,41 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: 41:[65, 24, 45], Operations: ['60-15=45'] Exploring Operation: 65+24=89, Resulting Numbers: [45, 89] Generated Node #0,3,0: 41:[45, 89] Operation: 65+24=89 Exploring Operation: 65-24=41, Resulting Numbers: [45, 41] Generated Node #0,3,1: 41:[45, 41] Operation: 65-24=41 Exploring Operation: 45-24=21, Resulting Numbers: [65, 21] Generated Node #0,3,2: 41:[65, 21] Operation: 45-24=21 Exploring Operation: 65-45=20, Resulting Numbers: [24, 20] Generated Node #0,3,3: 41:[24, 20] Operation: 65-45=20 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 41:[45, 41], Operations: ['60-15=45', '65-24=41'] Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,41 unequal: No Solution Exploring Operation: 45*41=1845, Resulting Numbers: [1845] 1845,41 unequal: No Solution Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 41:[24, 20], Operations: ['60-15=45', '65-45=20'] Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,41 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 41:[65, 21], Operations: ['60-15=45', '45-24=21'] Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,41 unequal: No Solution Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,41 unequal: No Solution Exploring Operation: 65*21=1365, Resulting Numbers: [1365] 1365,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 41:[45, 89], Operations: ['60-15=45', '65+24=89'] Exploring Operation: 45*89=4005, Resulting Numbers: [4005] 4005,41 unequal: No Solution Exploring Operation: 45+89=134, Resulting Numbers: [134] 134,41 unequal: No Solution Exploring Operation: 89-45=44, Resulting Numbers: [44] 44,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 41:[41, 45], Operations: ['65-24=41', '60-15=45'] Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,41 unequal: No Solution Exploring Operation: 41*45=1845, Resulting Numbers: [1845] 1845,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[50, 36], Operations: ['65-15=50', '60-24=36'] Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 50*36=1800, Resulting Numbers: [1800] 1800,41 unequal: No Solution Exploring Operation: 50+36=86, Resulting Numbers: [86] 86,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[60, 56], Operations: ['65-24=41', '15+41=56'] Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 60*56=3360, Resulting Numbers: [3360] 3360,41 unequal: No Solution Exploring Operation: 60+56=116, Resulting Numbers: [116] 116,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[60, 26], Operations: ['65-15=50', '50-24=26'] Exploring Operation: 60*26=1560, Resulting Numbers: [1560] 1560,41 unequal: No Solution Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[60, 26], Operations: ['65-24=41', '41-15=26'] Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,41 unequal: No Solution Exploring Operation: 60*26=1560, Resulting Numbers: [1560] 1560,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[41, 75], Operations: ['65-24=41', '15+60=75'] Exploring Operation: 41*75=3075, Resulting Numbers: [3075] 3075,41 unequal: No Solution Exploring Operation: 75-41=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 41+75=116, Resulting Numbers: [116] 116,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[24, 10], Operations: ['65-15=50', '60-50=10'] Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[50, 84], Operations: ['65-15=50', '60+24=84'] Exploring Operation: 50*84=4200, Resulting Numbers: [4200] 4200,41 unequal: No Solution Exploring Operation: 50+84=134, Resulting Numbers: [134] 134,41 unequal: No Solution Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,41 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 2, 64, 62, 92 ]
68
[ "64+62=126", "126-92=34", "2*34=68" ]
Current State: 68:[2, 64, 62, 92], Operations: [] Exploring Operation: 64+62=126, Resulting Numbers: [2, 92, 126] Generated Node #2: [2, 92, 126] from Operation: 64+62=126 Current State: 68:[2, 92, 126], Operations: ['64+62=126'] Exploring Operation: 126-92=34, Resulting Numbers: [2, 34] Generated Node #3: [2, 34] from Operation: 126-92=34 Current State: 68:[2, 34], Operations: ['64+62=126', '126-92=34'] Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[2, 64, 62, 92], Operations: [] Exploring Operation: 92-62=30, Resulting Numbers: [2, 64, 30] Generated Node #0,0: 68:[2, 64, 30] Operation: 92-62=30 Moving to Node #0,0 Current State: 68:[2, 64, 30], Operations: ['92-62=30'] Exploring Operation: 64-30=34, Resulting Numbers: [2, 34] Generated Node #0,0,0: 68:[2, 34] Operation: 64-30=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[2, 34], Operations: ['92-62=30', '64-30=34'] Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[2, 64, 62, 92], Operations: [] Exploring Operation: 92-62=30, Resulting Numbers: [2, 64, 30] Generated Node #0,0: 68:[2, 64, 30] Operation: 92-62=30 Moving to Node #0,0 Current State: 68:[2, 64, 30], Operations: ['92-62=30'] Exploring Operation: 64-30=34, Resulting Numbers: [2, 34] Generated Node #0,0,0: 68:[2, 34] Operation: 64-30=34 Moving to Node #0,0,0 Current State: 68:[2, 34], Operations: ['92-62=30', '64-30=34'] Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 54, 51, 10, 38 ]
77
[ "54+51=105", "38-10=28", "105-28=77" ]
Current State: 77:[54, 51, 10, 38], Operations: [] Exploring Operation: 54+51=105, Resulting Numbers: [10, 38, 105] Generated Node #2: [10, 38, 105] from Operation: 54+51=105 Current State: 77:[10, 38, 105], Operations: ['54+51=105'] Exploring Operation: 38-10=28, Resulting Numbers: [105, 28] Generated Node #3: [105, 28] from Operation: 38-10=28 Current State: 77:[105, 28], Operations: ['54+51=105', '38-10=28'] Exploring Operation: 105-28=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[54, 51, 10, 38], Operations: [] Exploring Operation: 51-38=13, Resulting Numbers: [54, 10, 13] Generated Node #0,0: 77:[54, 10, 13] Operation: 51-38=13 Moving to Node #0,0 Current State: 77:[54, 10, 13], Operations: ['51-38=13'] Exploring Operation: 54+13=67, Resulting Numbers: [10, 67] Generated Node #0,0,0: 77:[10, 67] Operation: 54+13=67 Moving to Node #0,0,0 Current State: 77:[10, 67], Operations: ['51-38=13', '54+13=67'] Exploring Operation: 10+67=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[54, 51, 10, 38], Operations: [] Exploring Operation: 51-38=13, Resulting Numbers: [54, 10, 13] Generated Node #0,0: 77:[54, 10, 13] Operation: 51-38=13 Moving to Node #0,0 Current State: 77:[54, 10, 13], Operations: ['51-38=13'] Exploring Operation: 54+13=67, Resulting Numbers: [10, 67] Generated Node #0,0,0: 77:[10, 67] Operation: 54+13=67 Moving to Node #0,0,0 Current State: 77:[10, 67], Operations: ['51-38=13', '54+13=67'] Exploring Operation: 10+67=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 65, 29, 85, 72 ]
81
[ "65+29=94", "85-72=13", "94-13=81" ]
Current State: 81:[65, 29, 85, 72], Operations: [] Exploring Operation: 65+29=94, Resulting Numbers: [85, 72, 94] Generated Node #2: [85, 72, 94] from Operation: 65+29=94 Current State: 81:[85, 72, 94], Operations: ['65+29=94'] Exploring Operation: 85-72=13, Resulting Numbers: [94, 13] Generated Node #3: [94, 13] from Operation: 85-72=13 Current State: 81:[94, 13], Operations: ['65+29=94', '85-72=13'] Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[65, 29, 85, 72], Operations: [] Exploring Operation: 65-29=36, Resulting Numbers: [85, 72, 36] Generated Node #0,0: 81:[85, 72, 36] Operation: 65-29=36 Exploring Operation: 85-72=13, Resulting Numbers: [65, 29, 13] Generated Node #0,1: 81:[65, 29, 13] Operation: 85-72=13 Exploring Operation: 72-65=7, Resulting Numbers: [29, 85, 7] Generated Node #0,2: 81:[29, 85, 7] Operation: 72-65=7 Exploring Operation: 85-65=20, Resulting Numbers: [29, 72, 20] Generated Node #0,3: 81:[29, 72, 20] Operation: 85-65=20 Moving to Node #0,2 Current State: 81:[29, 85, 7], Operations: ['72-65=7'] Exploring Operation: 85-7=78, Resulting Numbers: [29, 78] Generated Node #0,2,0: 81:[29, 78] Operation: 85-7=78 Exploring Operation: 29+7=36, Resulting Numbers: [85, 36] Generated Node #0,2,1: 81:[85, 36] Operation: 29+7=36 Exploring Operation: 29-7=22, Resulting Numbers: [85, 22] Generated Node #0,2,2: 81:[85, 22] Operation: 29-7=22 Exploring Operation: 85+7=92, Resulting Numbers: [29, 92] Generated Node #0,2,3: 81:[29, 92] Operation: 85+7=92 Moving to Node #0,3 Current State: 81:[29, 72, 20], Operations: ['85-65=20'] Exploring Operation: 72-29=43, Resulting Numbers: [20, 43] Generated Node #0,3,0: 81:[20, 43] Operation: 72-29=43 Exploring Operation: 29+72=101, Resulting Numbers: [20, 101] Generated Node #0,3,1: 81:[20, 101] Operation: 29+72=101 Exploring Operation: 29-20=9, Resulting Numbers: [72, 9] Generated Node #0,3,2: 81:[72, 9] Operation: 29-20=9 Exploring Operation: 72+20=92, Resulting Numbers: [29, 92] Generated Node #0,3,3: 81:[29, 92] Operation: 72+20=92 Moving to Node #0,1 Current State: 81:[65, 29, 13], Operations: ['85-72=13'] Exploring Operation: 65/13=5, Resulting Numbers: [29, 5] Generated Node #0,1,0: 81:[29, 5] Operation: 65/13=5 Exploring Operation: 65+13=78, Resulting Numbers: [29, 78] Generated Node #0,1,1: 81:[29, 78] Operation: 65+13=78 Exploring Operation: 65+29=94, Resulting Numbers: [13, 94] Generated Node #0,1,2: 81:[13, 94] Operation: 65+29=94 Exploring Operation: 65-29=36, Resulting Numbers: [13, 36] Generated Node #0,1,3: 81:[13, 36] Operation: 65-29=36 Moving to Node #0,0 Current State: 81:[85, 72, 36], Operations: ['65-29=36'] Exploring Operation: 72-36=36, Resulting Numbers: [85, 36] Generated Node #0,0,0: 81:[85, 36] Operation: 72-36=36 Exploring Operation: 85-36=49, Resulting Numbers: [72, 49] Generated Node #0,0,1: 81:[72, 49] Operation: 85-36=49 Exploring Operation: 72/36=2, Resulting Numbers: [85, 2] Generated Node #0,0,2: 81:[85, 2] Operation: 72/36=2 Exploring Operation: 85-72=13, Resulting Numbers: [36, 13] Generated Node #0,0,3: 81:[36, 13] Operation: 85-72=13 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 81:[85, 2], Operations: ['65-29=36', '72/36=2'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,81 unequal: No Solution Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,81 unequal: No Solution Exploring Operation: 85*2=170, Resulting Numbers: [170] 170,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,0 Current State: 81:[85, 36], Operations: ['65-29=36', '72-36=36'] Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,81 unequal: No Solution Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,81 unequal: No Solution Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,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,3 Current State: 81:[36, 13], Operations: ['65-29=36', '85-72=13'] Exploring Operation: 36+13=49, Resulting Numbers: [49] 49,81 unequal: No Solution Exploring Operation: 36*13=468, Resulting Numbers: [468] 468,81 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[72, 49], Operations: ['65-29=36', '85-36=49'] Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,81 unequal: No Solution Exploring Operation: 72+49=121, Resulting Numbers: [121] 121,81 unequal: No Solution Exploring Operation: 72*49=3528, Resulting Numbers: [3528] 3528,81 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: 81:[29, 5], Operations: ['85-72=13', '65/13=5'] Exploring Operation: 29*5=145, Resulting Numbers: [145] 145,81 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[29, 78], Operations: ['72-65=7', '85-7=78'] Exploring Operation: 29*78=2262, Resulting Numbers: [2262] 2262,81 unequal: No Solution Exploring Operation: 78-29=49, Resulting Numbers: [49] 49,81 unequal: No Solution Exploring Operation: 29+78=107, Resulting Numbers: [107] 107,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[29, 78], Operations: ['85-72=13', '65+13=78'] Exploring Operation: 29+78=107, Resulting Numbers: [107] 107,81 unequal: No Solution Exploring Operation: 78-29=49, Resulting Numbers: [49] 49,81 unequal: No Solution Exploring Operation: 29*78=2262, Resulting Numbers: [2262] 2262,81 unequal: No Solution Moving to Node #0,3,2 Current State: 81:[72, 9], Operations: ['85-65=20', '29-20=9'] Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[65, 29, 85, 72], Operations: [] Exploring Operation: 85-65=20, Resulting Numbers: [29, 72, 20] Generated Node #0,3: 81:[29, 72, 20] Operation: 85-65=20 Moving to Node #0,3 Current State: 81:[29, 72, 20], Operations: ['85-65=20'] Exploring Operation: 29-20=9, Resulting Numbers: [72, 9] Generated Node #0,3,2: 81:[72, 9] Operation: 29-20=9 Moving to Node #0,3,2 Current State: 81:[72, 9], Operations: ['85-65=20', '29-20=9'] Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.960069
hs_4
mult_heuristic
[ 11, 4, 92, 58 ]
41
[ "11-4=7", "92-58=34", "7+34=41" ]
Current State: 41:[11, 4, 92, 58], Operations: [] Exploring Operation: 11-4=7, Resulting Numbers: [92, 58, 7] Generated Node #2: [92, 58, 7] from Operation: 11-4=7 Current State: 41:[92, 58, 7], Operations: ['11-4=7'] Exploring Operation: 92-58=34, Resulting Numbers: [7, 34] Generated Node #3: [7, 34] from Operation: 92-58=34 Current State: 41:[7, 34], Operations: ['11-4=7', '92-58=34'] Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[11, 4, 92, 58], Operations: [] Exploring Operation: 92/4=23, Resulting Numbers: [11, 58, 23] Generated Node #0,0: 41:[11, 58, 23] Operation: 92/4=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[11, 58, 23], Operations: ['92/4=23'] Exploring Operation: 58-11=47, Resulting Numbers: [23, 47] Generated Node #0,0,0: 41:[23, 47] Operation: 58-11=47 Moving to Node #0,0,0 Current State: 41:[23, 47], Operations: ['92/4=23', '58-11=47'] Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 82, 76, 16, 32 ]
79
[ "82+76=158", "32/16=2", "158/2=79" ]
Current State: 79:[82, 76, 16, 32], Operations: [] Exploring Operation: 82+76=158, Resulting Numbers: [16, 32, 158] Generated Node #2: [16, 32, 158] from Operation: 82+76=158 Current State: 79:[16, 32, 158], Operations: ['82+76=158'] Exploring Operation: 32/16=2, Resulting Numbers: [158, 2] Generated Node #3: [158, 2] from Operation: 32/16=2 Current State: 79:[158, 2], Operations: ['82+76=158', '32/16=2'] Exploring Operation: 158/2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[82, 76, 16, 32], Operations: [] Exploring Operation: 76+16=92, Resulting Numbers: [82, 32, 92] Generated Node #0,0: 79:[82, 32, 92] Operation: 76+16=92 Exploring Operation: 82+16=98, Resulting Numbers: [76, 32, 98] Generated Node #0,1: 79:[76, 32, 98] Operation: 82+16=98 Exploring Operation: 82-16=66, Resulting Numbers: [76, 32, 66] Generated Node #0,2: 79:[76, 32, 66] Operation: 82-16=66 Exploring Operation: 76-16=60, Resulting Numbers: [82, 32, 60] Generated Node #0,3: 79:[82, 32, 60] Operation: 76-16=60 Exploring Operation: 16+32=48, Resulting Numbers: [82, 76, 48] Generated Node #0,4: 79:[82, 76, 48] Operation: 16+32=48 Moving to Node #0,4 Current State: 79:[82, 76, 48], Operations: ['16+32=48'] Exploring Operation: 82-48=34, Resulting Numbers: [76, 34] Generated Node #0,4,0: 79:[76, 34] Operation: 82-48=34 Exploring Operation: 76-48=28, Resulting Numbers: [82, 28] Generated Node #0,4,1: 79:[82, 28] Operation: 76-48=28 Exploring Operation: 82+48=130, Resulting Numbers: [76, 130] Generated Node #0,4,2: 79:[76, 130] Operation: 82+48=130 Exploring Operation: 82-76=6, Resulting Numbers: [48, 6] Generated Node #0,4,3: 79:[48, 6] Operation: 82-76=6 Exploring Operation: 76+48=124, Resulting Numbers: [82, 124] Generated Node #0,4,4: 79:[82, 124] Operation: 76+48=124 Moving to Node #0,2 Current State: 79:[76, 32, 66], Operations: ['82-16=66'] Exploring Operation: 76+32=108, Resulting Numbers: [66, 108] Generated Node #0,2,0: 79:[66, 108] Operation: 76+32=108 Exploring Operation: 66-32=34, Resulting Numbers: [76, 34] Generated Node #0,2,1: 79:[76, 34] Operation: 66-32=34 Exploring Operation: 76-32=44, Resulting Numbers: [66, 44] Generated Node #0,2,2: 79:[66, 44] Operation: 76-32=44 Exploring Operation: 32+66=98, Resulting Numbers: [76, 98] Generated Node #0,2,3: 79:[76, 98] Operation: 32+66=98 Exploring Operation: 76+66=142, Resulting Numbers: [32, 142] Generated Node #0,2,4: 79:[32, 142] Operation: 76+66=142 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 79:[76, 98], Operations: ['82-16=66', '32+66=98'] Exploring Operation: 98-76=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 76+98=174, Resulting Numbers: [174] 174,79 unequal: No Solution Exploring Operation: 76*98=7448, Resulting Numbers: [7448] 7448,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,0 Current State: 79:[66, 108], Operations: ['82-16=66', '76+32=108'] Exploring Operation: 108-66=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 66+108=174, Resulting Numbers: [174] 174,79 unequal: No Solution Exploring Operation: 66*108=7128, Resulting Numbers: [7128] 7128,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,1 Current State: 79:[76, 34], Operations: ['82-16=66', '66-32=34'] Exploring Operation: 76*34=2584, Resulting Numbers: [2584] 2584,79 unequal: No Solution Exploring Operation: 76-34=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 76+34=110, Resulting Numbers: [110] 110,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,2 Current State: 79:[66, 44], Operations: ['82-16=66', '76-32=44'] Exploring Operation: 66*44=2904, Resulting Numbers: [2904] 2904,79 unequal: No Solution Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 66+44=110, Resulting Numbers: [110] 110,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,4 Current State: 79:[32, 142], Operations: ['82-16=66', '76+66=142'] Exploring Operation: 142-32=110, Resulting Numbers: [110] 110,79 unequal: No Solution Exploring Operation: 32*142=4544, Resulting Numbers: [4544] 4544,79 unequal: No Solution Exploring Operation: 32+142=174, Resulting Numbers: [174] 174,79 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: 79:[82, 32, 92], Operations: ['76+16=92'] Exploring Operation: 32+92=124, Resulting Numbers: [82, 124] Generated Node #0,0,0: 79:[82, 124] Operation: 32+92=124 Exploring Operation: 82+32=114, Resulting Numbers: [92, 114] Generated Node #0,0,1: 79:[92, 114] Operation: 82+32=114 Exploring Operation: 92-32=60, Resulting Numbers: [82, 60] Generated Node #0,0,2: 79:[82, 60] Operation: 92-32=60 Exploring Operation: 82-32=50, Resulting Numbers: [92, 50] Generated Node #0,0,3: 79:[92, 50] Operation: 82-32=50 Exploring Operation: 92-82=10, Resulting Numbers: [32, 10] Generated Node #0,0,4: 79:[32, 10] Operation: 92-82=10 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[82, 60], Operations: ['76+16=92', '92-32=60'] Exploring Operation: 82-60=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 82*60=4920, Resulting Numbers: [4920] 4920,79 unequal: No Solution Exploring Operation: 82+60=142, Resulting Numbers: [142] 142,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 79:[92, 50], Operations: ['76+16=92', '82-32=50'] Exploring Operation: 92+50=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 92*50=4600, Resulting Numbers: [4600] 4600,79 unequal: No Solution Exploring Operation: 92-50=42, Resulting Numbers: [42] 42,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[82, 124], Operations: ['76+16=92', '32+92=124'] Exploring Operation: 82+124=206, Resulting Numbers: [206] 206,79 unequal: No Solution Exploring Operation: 82*124=10168, Resulting Numbers: [10168] 10168,79 unequal: No Solution Exploring Operation: 124-82=42, Resulting Numbers: [42] 42,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[92, 114], Operations: ['76+16=92', '82+32=114'] Exploring Operation: 92+114=206, Resulting Numbers: [206] 206,79 unequal: No Solution Exploring Operation: 114-92=22, Resulting Numbers: [22] 22,79 unequal: No Solution Exploring Operation: 92*114=10488, Resulting Numbers: [10488] 10488,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 79:[32, 10], Operations: ['76+16=92', '92-82=10'] Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 32*10=320, Resulting Numbers: [320] 320,79 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 79:[76, 32, 98], Operations: ['82+16=98'] Exploring Operation: 32+98=130, Resulting Numbers: [76, 130] Generated Node #0,1,0: 79:[76, 130] Operation: 32+98=130 Exploring Operation: 76-32=44, Resulting Numbers: [98, 44] Generated Node #0,1,1: 79:[98, 44] Operation: 76-32=44 Exploring Operation: 98-32=66, Resulting Numbers: [76, 66] Generated Node #0,1,2: 79:[76, 66] Operation: 98-32=66 Exploring Operation: 76+32=108, Resulting Numbers: [98, 108] Generated Node #0,1,3: 79:[98, 108] Operation: 76+32=108 Exploring Operation: 98-76=22, Resulting Numbers: [32, 22] Generated Node #0,1,4: 79:[32, 22] Operation: 98-76=22 Moving to Node #0,3 Current State: 79:[82, 32, 60], Operations: ['76-16=60'] Exploring Operation: 82-32=50, Resulting Numbers: [60, 50] Generated Node #0,3,0: 79:[60, 50] Operation: 82-32=50 Exploring Operation: 60-32=28, Resulting Numbers: [82, 28] Generated Node #0,3,1: 79:[82, 28] Operation: 60-32=28 Exploring Operation: 82+32=114, Resulting Numbers: [60, 114] Generated Node #0,3,2: 79:[60, 114] Operation: 82+32=114 Exploring Operation: 32+60=92, Resulting Numbers: [82, 92] Generated Node #0,3,3: 79:[82, 92] Operation: 32+60=92 Exploring Operation: 82-60=22, Resulting Numbers: [32, 22] Generated Node #0,3,4: 79:[32, 22] Operation: 82-60=22 Moving to Node #0,1,2 Current State: 79:[76, 66], Operations: ['82+16=98', '98-32=66'] Exploring Operation: 76*66=5016, Resulting Numbers: [5016] 5016,79 unequal: No Solution Exploring Operation: 76+66=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 76-66=10, Resulting Numbers: [10] 10,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[82, 92], Operations: ['76-16=60', '32+60=92'] Exploring Operation: 82+92=174, Resulting Numbers: [174] 174,79 unequal: No Solution Exploring Operation: 92-82=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 82*92=7544, Resulting Numbers: [7544] 7544,79 unequal: No Solution Moving to Node #0,4,0 Current State: 79:[76, 34], Operations: ['16+32=48', '82-48=34'] Exploring Operation: 76-34=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 76*34=2584, Resulting Numbers: [2584] 2584,79 unequal: No Solution Exploring Operation: 76+34=110, Resulting Numbers: [110] 110,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[98, 108], Operations: ['82+16=98', '76+32=108'] Exploring Operation: 98*108=10584, Resulting Numbers: [10584] 10584,79 unequal: No Solution Exploring Operation: 98+108=206, Resulting Numbers: [206] 206,79 unequal: No Solution Exploring Operation: 108-98=10, Resulting Numbers: [10] 10,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[60, 50], Operations: ['76-16=60', '82-32=50'] Exploring Operation: 60*50=3000, Resulting Numbers: [3000] 3000,79 unequal: No Solution Exploring Operation: 60+50=110, Resulting Numbers: [110] 110,79 unequal: No Solution Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,79 unequal: No Solution Moving to Node #0,4,4 Current State: 79:[82, 124], Operations: ['16+32=48', '76+48=124'] Exploring Operation: 82*124=10168, Resulting Numbers: [10168] 10168,79 unequal: No Solution Exploring Operation: 82+124=206, Resulting Numbers: [206] 206,79 unequal: No Solution Exploring Operation: 124-82=42, Resulting Numbers: [42] 42,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[60, 114], Operations: ['76-16=60', '82+32=114'] Exploring Operation: 114-60=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 60+114=174, Resulting Numbers: [174] 174,79 unequal: No Solution Exploring Operation: 60*114=6840, Resulting Numbers: [6840] 6840,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[82, 28], Operations: ['76-16=60', '60-32=28'] Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,79 unequal: No Solution Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,79 unequal: No Solution Moving to Node #0,4,1 Current State: 79:[82, 28], Operations: ['16+32=48', '76-48=28'] Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,79 unequal: No Solution Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[76, 130], Operations: ['82+16=98', '32+98=130'] Exploring Operation: 76+130=206, Resulting Numbers: [206] 206,79 unequal: No Solution Exploring Operation: 76*130=9880, Resulting Numbers: [9880] 9880,79 unequal: No Solution Exploring Operation: 130-76=54, Resulting Numbers: [54] 54,79 unequal: No Solution Moving to Node #0,4,2 Current State: 79:[76, 130], Operations: ['16+32=48', '82+48=130'] Exploring Operation: 76+130=206, Resulting Numbers: [206] 206,79 unequal: No Solution Exploring Operation: 130-76=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 76*130=9880, Resulting Numbers: [9880] 9880,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[98, 44], Operations: ['82+16=98', '76-32=44'] Exploring Operation: 98*44=4312, Resulting Numbers: [4312] 4312,79 unequal: No Solution Exploring Operation: 98+44=142, Resulting Numbers: [142] 142,79 unequal: No Solution Exploring Operation: 98-44=54, Resulting Numbers: [54] 54,79 unequal: No Solution Moving to Node #0,3,4 Current State: 79:[32, 22], Operations: ['76-16=60', '82-60=22'] Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 32*22=704, Resulting Numbers: [704] 704,79 unequal: No Solution Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,79 unequal: No Solution Moving to Node #0,1,4 Current State: 79:[32, 22], Operations: ['82+16=98', '98-76=22'] Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 32*22=704, Resulting Numbers: [704] 704,79 unequal: No Solution Moving to Node #0,4,3 Current State: 79:[48, 6], Operations: ['16+32=48', '82-76=6'] Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,79 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,79 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 36, 24, 42, 53 ]
57
[ "42-36=6", "24/6=4", "53+4=57" ]
Current State: 57:[36, 24, 42, 53], Operations: [] Exploring Operation: 42-36=6, Resulting Numbers: [24, 53, 6] Generated Node #2: [24, 53, 6] from Operation: 42-36=6 Current State: 57:[24, 53, 6], Operations: ['42-36=6'] Exploring Operation: 24/6=4, Resulting Numbers: [53, 4] Generated Node #3: [53, 4] from Operation: 24/6=4 Current State: 57:[53, 4], Operations: ['42-36=6', '24/6=4'] Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[36, 24, 42, 53], Operations: [] Exploring Operation: 42-36=6, Resulting Numbers: [24, 53, 6] Generated Node #0,0: 57:[24, 53, 6] Operation: 42-36=6 Exploring Operation: 53-36=17, Resulting Numbers: [24, 42, 17] Generated Node #0,1: 57:[24, 42, 17] Operation: 53-36=17 Exploring Operation: 36+24=60, Resulting Numbers: [42, 53, 60] Generated Node #0,2: 57:[42, 53, 60] Operation: 36+24=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[24, 53, 6], Operations: ['42-36=6'] Exploring Operation: 24-6=18, Resulting Numbers: [53, 18] Generated Node #0,0,0: 57:[53, 18] Operation: 24-6=18 Exploring Operation: 53+6=59, Resulting Numbers: [24, 59] Generated Node #0,0,1: 57:[24, 59] Operation: 53+6=59 Exploring Operation: 24/6=4, Resulting Numbers: [53, 4] Generated Node #0,0,2: 57:[53, 4] Operation: 24/6=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[53, 18], Operations: ['42-36=6', '24-6=18'] Exploring Operation: 53*18=954, Resulting Numbers: [954] 954,57 unequal: No Solution Exploring Operation: 53+18=71, Resulting Numbers: [71] 71,57 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,57 unequal: No Solution No 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: 57:[53, 4], Operations: ['42-36=6', '24/6=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,57 unequal: No Solution Exploring Operation: 53*4=212, Resulting Numbers: [212] 212,57 unequal: No Solution Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[36, 24, 42, 53], Operations: [] Exploring Operation: 42-36=6, Resulting Numbers: [24, 53, 6] Generated Node #0,0: 57:[24, 53, 6] Operation: 42-36=6 Moving to Node #0,0 Current State: 57:[24, 53, 6], Operations: ['42-36=6'] Exploring Operation: 24/6=4, Resulting Numbers: [53, 4] Generated Node #0,0,2: 57:[53, 4] Operation: 24/6=4 Moving to Node #0,0,2 Current State: 57:[53, 4], Operations: ['42-36=6', '24/6=4'] Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 69, 20, 53, 55 ]
25
[ "69*20=1380", "1380-55=1325", "1325/53=25" ]
Current State: 25:[69, 20, 53, 55], Operations: [] Exploring Operation: 69*20=1380, Resulting Numbers: [53, 55, 1380] Generated Node #2: [53, 55, 1380] from Operation: 69*20=1380 Current State: 25:[53, 55, 1380], Operations: ['69*20=1380'] Exploring Operation: 1380-55=1325, Resulting Numbers: [53, 1325] Generated Node #3: [53, 1325] from Operation: 1380-55=1325 Current State: 25:[53, 1325], Operations: ['69*20=1380', '1380-55=1325'] Exploring Operation: 1325/53=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[69, 20, 53, 55], Operations: [] Exploring Operation: 55-53=2, Resulting Numbers: [69, 20, 2] Generated Node #0,0: 25:[69, 20, 2] Operation: 55-53=2 Exploring Operation: 69-20=49, Resulting Numbers: [53, 55, 49] Generated Node #0,1: 25:[53, 55, 49] Operation: 69-20=49 Exploring Operation: 69-55=14, Resulting Numbers: [20, 53, 14] Generated Node #0,2: 25:[20, 53, 14] Operation: 69-55=14 Exploring Operation: 69-53=16, Resulting Numbers: [20, 55, 16] Generated Node #0,3: 25:[20, 55, 16] Operation: 69-53=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[20, 53, 14], Operations: ['69-55=14'] Exploring Operation: 20+14=34, Resulting Numbers: [53, 34] Generated Node #0,2,0: 25:[53, 34] Operation: 20+14=34 Exploring Operation: 20-14=6, Resulting Numbers: [53, 6] Generated Node #0,2,1: 25:[53, 6] Operation: 20-14=6 Exploring Operation: 53-14=39, Resulting Numbers: [20, 39] Generated Node #0,2,2: 25:[20, 39] Operation: 53-14=39 Exploring Operation: 53-20=33, Resulting Numbers: [14, 33] Generated Node #0,2,3: 25:[14, 33] Operation: 53-20=33 Moving to Node #0,2,3 Current State: 25:[14, 33], Operations: ['69-55=14', '53-20=33'] Exploring Operation: 14+33=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 14*33=462, Resulting Numbers: [462] 462,25 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[20, 39], Operations: ['69-55=14', '53-14=39'] Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 20*39=780, Resulting Numbers: [780] 780,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[53, 6], Operations: ['69-55=14', '20-14=6'] Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 53*6=318, Resulting Numbers: [318] 318,25 unequal: No Solution Exploring Operation: 53+6=59, Resulting Numbers: [59] 59,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[53, 34], Operations: ['69-55=14', '20+14=34'] Exploring Operation: 53-34=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 53+34=87, Resulting Numbers: [87] 87,25 unequal: No Solution Exploring Operation: 53*34=1802, Resulting Numbers: [1802] 1802,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[20, 55, 16], Operations: ['69-53=16'] Exploring Operation: 55-16=39, Resulting Numbers: [20, 39] Generated Node #0,3,0: 25:[20, 39] Operation: 55-16=39 Exploring Operation: 55-20=35, Resulting Numbers: [16, 35] Generated Node #0,3,1: 25:[16, 35] Operation: 55-20=35 Exploring Operation: 20-16=4, Resulting Numbers: [55, 4] Generated Node #0,3,2: 25:[55, 4] Operation: 20-16=4 Exploring Operation: 20+16=36, Resulting Numbers: [55, 36] Generated Node #0,3,3: 25:[55, 36] Operation: 20+16=36 Moving to Node #0,3,0 Current State: 25:[20, 39], Operations: ['69-53=16', '55-16=39'] Exploring Operation: 20*39=780, Resulting Numbers: [780] 780,25 unequal: No Solution Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[16, 35], Operations: ['69-53=16', '55-20=35'] Exploring Operation: 16*35=560, Resulting Numbers: [560] 560,25 unequal: No Solution Exploring Operation: 16+35=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[55, 4], Operations: ['69-53=16', '20-16=4'] Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[55, 36], Operations: ['69-53=16', '20+16=36'] Exploring Operation: 55+36=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 55*36=1980, Resulting Numbers: [1980] 1980,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[69, 20, 2], Operations: ['55-53=2'] Exploring Operation: 20/2=10, Resulting Numbers: [69, 10] Generated Node #0,0,0: 25:[69, 10] Operation: 20/2=10 Exploring Operation: 69-20=49, Resulting Numbers: [2, 49] Generated Node #0,0,1: 25:[2, 49] Operation: 69-20=49 Exploring Operation: 20+2=22, Resulting Numbers: [69, 22] Generated Node #0,0,2: 25:[69, 22] Operation: 20+2=22 Exploring Operation: 69-2=67, Resulting Numbers: [20, 67] Generated Node #0,0,3: 25:[20, 67] Operation: 69-2=67 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[2, 49], Operations: ['55-53=2', '69-20=49'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,25 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,25 unequal: No Solution No 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: 25:[69, 22], Operations: ['55-53=2', '20+2=22'] Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 69*22=1518, Resulting Numbers: [1518] 1518,25 unequal: No Solution No 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: 25:[20, 67], Operations: ['55-53=2', '69-2=67'] Exploring Operation: 20*67=1340, Resulting Numbers: [1340] 1340,25 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,25 unequal: No Solution No 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: 25:[69, 10], Operations: ['55-53=2', '20/2=10'] Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,25 unequal: No Solution Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 69*10=690, Resulting Numbers: [690] 690,25 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: 25:[53, 55, 49], Operations: ['69-20=49'] Exploring Operation: 55-49=6, Resulting Numbers: [53, 6] Generated Node #0,1,0: 25:[53, 6] Operation: 55-49=6 Exploring Operation: 53+55=108, Resulting Numbers: [49, 108] Generated Node #0,1,1: 25:[49, 108] Operation: 53+55=108 Exploring Operation: 55-53=2, Resulting Numbers: [49, 2] Generated Node #0,1,2: 25:[49, 2] Operation: 55-53=2 Exploring Operation: 53-49=4, Resulting Numbers: [55, 4] Generated Node #0,1,3: 25:[55, 4] Operation: 53-49=4 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[49, 2], Operations: ['69-20=49', '55-53=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,25 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,25 unequal: No Solution No 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: 25:[53, 6], Operations: ['69-20=49', '55-49=6'] Exploring Operation: 53*6=318, Resulting Numbers: [318] 318,25 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,25 unequal: No Solution Exploring Operation: 53+6=59, Resulting Numbers: [59] 59,25 unequal: No Solution No 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: 25:[55, 4], Operations: ['69-20=49', '53-49=4'] Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,25 unequal: No Solution No 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: 25:[49, 108], Operations: ['69-20=49', '53+55=108'] Exploring Operation: 108-49=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 49+108=157, Resulting Numbers: [157] 157,25 unequal: No Solution Exploring Operation: 49*108=5292, Resulting Numbers: [5292] 5292,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 26, 29, 68, 18 ]
74
[ "29-26=3", "18/3=6", "68+6=74" ]
Current State: 74:[26, 29, 68, 18], Operations: [] Exploring Operation: 29-26=3, Resulting Numbers: [68, 18, 3] Generated Node #2: [68, 18, 3] from Operation: 29-26=3 Current State: 74:[68, 18, 3], Operations: ['29-26=3'] Exploring Operation: 18/3=6, Resulting Numbers: [68, 6] Generated Node #3: [68, 6] from Operation: 18/3=6 Current State: 74:[68, 6], Operations: ['29-26=3', '18/3=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[26, 29, 68, 18], Operations: [] Exploring Operation: 29-26=3, Resulting Numbers: [68, 18, 3] Generated Node #0,0: 74:[68, 18, 3] Operation: 29-26=3 Exploring Operation: 29+18=47, Resulting Numbers: [26, 68, 47] Generated Node #0,1: 74:[26, 68, 47] Operation: 29+18=47 Exploring Operation: 29-18=11, Resulting Numbers: [26, 68, 11] Generated Node #0,2: 74:[26, 68, 11] Operation: 29-18=11 Exploring Operation: 26-18=8, Resulting Numbers: [29, 68, 8] Generated Node #0,3: 74:[29, 68, 8] Operation: 26-18=8 Exploring Operation: 26+18=44, Resulting Numbers: [29, 68, 44] Generated Node #0,4: 74:[29, 68, 44] Operation: 26+18=44 Moving to Node #0,3 Current State: 74:[29, 68, 8], Operations: ['26-18=8'] Exploring Operation: 29-8=21, Resulting Numbers: [68, 21] Generated Node #0,3,0: 74:[68, 21] Operation: 29-8=21 Exploring Operation: 68+8=76, Resulting Numbers: [29, 76] Generated Node #0,3,1: 74:[29, 76] Operation: 68+8=76 Exploring Operation: 29+8=37, Resulting Numbers: [68, 37] Generated Node #0,3,2: 74:[68, 37] Operation: 29+8=37 Exploring Operation: 68-8=60, Resulting Numbers: [29, 60] Generated Node #0,3,3: 74:[29, 60] Operation: 68-8=60 Exploring Operation: 68-29=39, Resulting Numbers: [8, 39] Generated Node #0,3,4: 74:[8, 39] Operation: 68-29=39 Moving to Node #0,4 Current State: 74:[29, 68, 44], Operations: ['26+18=44'] Exploring Operation: 68-44=24, Resulting Numbers: [29, 24] Generated Node #0,4,0: 74:[29, 24] Operation: 68-44=24 Exploring Operation: 29+44=73, Resulting Numbers: [68, 73] Generated Node #0,4,1: 74:[68, 73] Operation: 29+44=73 Exploring Operation: 29+68=97, Resulting Numbers: [44, 97] Generated Node #0,4,2: 74:[44, 97] Operation: 29+68=97 Exploring Operation: 44-29=15, Resulting Numbers: [68, 15] Generated Node #0,4,3: 74:[68, 15] Operation: 44-29=15 Exploring Operation: 68-29=39, Resulting Numbers: [44, 39] Generated Node #0,4,4: 74:[44, 39] Operation: 68-29=39 Moving to Node #0,0 Current State: 74:[68, 18, 3], Operations: ['29-26=3'] Exploring Operation: 68+18=86, Resulting Numbers: [3, 86] Generated Node #0,0,0: 74:[3, 86] Operation: 68+18=86 Exploring Operation: 18-3=15, Resulting Numbers: [68, 15] Generated Node #0,0,1: 74:[68, 15] Operation: 18-3=15 Exploring Operation: 68-18=50, Resulting Numbers: [3, 50] Generated Node #0,0,2: 74:[3, 50] Operation: 68-18=50 Exploring Operation: 68+3=71, Resulting Numbers: [18, 71] Generated Node #0,0,3: 74:[18, 71] Operation: 68+3=71 Exploring Operation: 18/3=6, Resulting Numbers: [68, 6] Generated Node #0,0,4: 74:[68, 6] Operation: 18/3=6 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 74:[68, 6], Operations: ['29-26=3', '18/3=6'] Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,74 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[26, 29, 68, 18], Operations: [] Exploring Operation: 29-26=3, Resulting Numbers: [68, 18, 3] Generated Node #0,0: 74:[68, 18, 3] Operation: 29-26=3 Moving to Node #0,0 Current State: 74:[68, 18, 3], Operations: ['29-26=3'] Exploring Operation: 18/3=6, Resulting Numbers: [68, 6] Generated Node #0,0,4: 74:[68, 6] Operation: 18/3=6 Moving to Node #0,0,4 Current State: 74:[68, 6], Operations: ['29-26=3', '18/3=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 63, 49, 11, 85 ]
51
[ "85-63=22", "22/11=2", "49+2=51" ]
Current State: 51:[63, 49, 11, 85], Operations: [] Exploring Operation: 85-63=22, Resulting Numbers: [49, 11, 22] Generated Node #2: [49, 11, 22] from Operation: 85-63=22 Current State: 51:[49, 11, 22], Operations: ['85-63=22'] Exploring Operation: 22/11=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 22/11=2 Current State: 51:[49, 2], Operations: ['85-63=22', '22/11=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[63, 49, 11, 85], Operations: [] Exploring Operation: 85-63=22, Resulting Numbers: [49, 11, 22] Generated Node #0,0: 51:[49, 11, 22] Operation: 85-63=22 Exploring Operation: 85-49=36, Resulting Numbers: [63, 11, 36] Generated Node #0,1: 51:[63, 11, 36] Operation: 85-49=36 Moving to Node #0,0 Current State: 51:[49, 11, 22], Operations: ['85-63=22'] Exploring Operation: 22-11=11, Resulting Numbers: [49, 11] Generated Node #0,0,0: 51:[49, 11] Operation: 22-11=11 Exploring Operation: 22/11=2, Resulting Numbers: [49, 2] Generated Node #0,0,1: 51:[49, 2] Operation: 22/11=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[49, 2], Operations: ['85-63=22', '22/11=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[63, 49, 11, 85], Operations: [] Exploring Operation: 85-63=22, Resulting Numbers: [49, 11, 22] Generated Node #0,0: 51:[49, 11, 22] Operation: 85-63=22 Moving to Node #0,0 Current State: 51:[49, 11, 22], Operations: ['85-63=22'] Exploring Operation: 22/11=2, Resulting Numbers: [49, 2] Generated Node #0,0,1: 51:[49, 2] Operation: 22/11=2 Moving to Node #0,0,1 Current State: 51:[49, 2], Operations: ['85-63=22', '22/11=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 75, 65, 7, 78 ]
81
[ "75-65=10", "78-7=71", "10+71=81" ]
Current State: 81:[75, 65, 7, 78], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [7, 78, 10] Generated Node #2: [7, 78, 10] from Operation: 75-65=10 Current State: 81:[7, 78, 10], Operations: ['75-65=10'] Exploring Operation: 78-7=71, Resulting Numbers: [10, 71] Generated Node #3: [10, 71] from Operation: 78-7=71 Current State: 81:[10, 71], Operations: ['75-65=10', '78-7=71'] Exploring Operation: 10+71=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[75, 65, 7, 78], Operations: [] Exploring Operation: 78-65=13, Resulting Numbers: [75, 7, 13] Generated Node #0,0: 81:[75, 7, 13] Operation: 78-65=13 Exploring Operation: 75-65=10, Resulting Numbers: [7, 78, 10] Generated Node #0,1: 81:[7, 78, 10] Operation: 75-65=10 Exploring Operation: 65+7=72, Resulting Numbers: [75, 78, 72] Generated Node #0,2: 81:[75, 78, 72] Operation: 65+7=72 Exploring Operation: 78-75=3, Resulting Numbers: [65, 7, 3] Generated Node #0,3: 81:[65, 7, 3] Operation: 78-75=3 Moving to Node #0,1 Current State: 81:[7, 78, 10], Operations: ['75-65=10'] Exploring Operation: 78+10=88, Resulting Numbers: [7, 88] Generated Node #0,1,0: 81:[7, 88] Operation: 78+10=88 Exploring Operation: 78-7=71, Resulting Numbers: [10, 71] Generated Node #0,1,1: 81:[10, 71] Operation: 78-7=71 Exploring Operation: 10-7=3, Resulting Numbers: [78, 3] Generated Node #0,1,2: 81:[78, 3] Operation: 10-7=3 Exploring Operation: 7+78=85, Resulting Numbers: [10, 85] Generated Node #0,1,3: 81:[10, 85] Operation: 7+78=85 Moving to Node #0,0 Current State: 81:[75, 7, 13], Operations: ['78-65=13'] Exploring Operation: 7+13=20, Resulting Numbers: [75, 20] Generated Node #0,0,0: 81:[75, 20] Operation: 7+13=20 Exploring Operation: 13-7=6, Resulting Numbers: [75, 6] Generated Node #0,0,1: 81:[75, 6] Operation: 13-7=6 Exploring Operation: 75+13=88, Resulting Numbers: [7, 88] Generated Node #0,0,2: 81:[7, 88] Operation: 75+13=88 Exploring Operation: 75+7=82, Resulting Numbers: [13, 82] Generated Node #0,0,3: 81:[13, 82] Operation: 75+7=82 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 81:[13, 82], Operations: ['78-65=13', '75+7=82'] Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 13+82=95, Resulting Numbers: [95] 95,81 unequal: No Solution Exploring Operation: 13*82=1066, Resulting Numbers: [1066] 1066,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[75, 6], Operations: ['78-65=13', '13-7=6'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 75*6=450, Resulting Numbers: [450] 450,81 unequal: No Solution Exploring Operation: 75+6=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[75, 65, 7, 78], Operations: [] Exploring Operation: 78-65=13, Resulting Numbers: [75, 7, 13] Generated Node #0,0: 81:[75, 7, 13] Operation: 78-65=13 Moving to Node #0,0 Current State: 81:[75, 7, 13], Operations: ['78-65=13'] Exploring Operation: 13-7=6, Resulting Numbers: [75, 6] Generated Node #0,0,1: 81:[75, 6] Operation: 13-7=6 Moving to Node #0,0,1 Current State: 81:[75, 6], Operations: ['78-65=13', '13-7=6'] Exploring Operation: 75+6=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 33, 6, 24, 75 ]
42
[ "33+75=108", "108/6=18", "24+18=42" ]
Current State: 42:[33, 6, 24, 75], Operations: [] Exploring Operation: 33+75=108, Resulting Numbers: [6, 24, 108] Generated Node #2: [6, 24, 108] from Operation: 33+75=108 Current State: 42:[6, 24, 108], Operations: ['33+75=108'] Exploring Operation: 108/6=18, Resulting Numbers: [24, 18] Generated Node #3: [24, 18] from Operation: 108/6=18 Current State: 42:[24, 18], Operations: ['33+75=108', '108/6=18'] Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[33, 6, 24, 75], Operations: [] Exploring Operation: 75-24=51, Resulting Numbers: [33, 6, 51] Generated Node #0,0: 42:[33, 6, 51] Operation: 75-24=51 Exploring Operation: 75-33=42, Resulting Numbers: [6, 24, 42] Generated Node #0,1: 42:[6, 24, 42] Operation: 75-33=42 Exploring Operation: 33+6=39, Resulting Numbers: [24, 75, 39] Generated Node #0,2: 42:[24, 75, 39] Operation: 33+6=39 Exploring Operation: 33-24=9, Resulting Numbers: [6, 75, 9] Generated Node #0,3: 42:[6, 75, 9] Operation: 33-24=9 Moving to Node #0,1 Current State: 42:[6, 24, 42], Operations: ['75-33=42'] Exploring Operation: 24-6=18, Resulting Numbers: [42, 18] Generated Node #0,1,0: 42:[42, 18] Operation: 24-6=18 Exploring Operation: 24/6=4, Resulting Numbers: [42, 4] Generated Node #0,1,1: 42:[42, 4] Operation: 24/6=4 Exploring Operation: 42/6=7, Resulting Numbers: [24, 7] Generated Node #0,1,2: 42:[24, 7] Operation: 42/6=7 Exploring Operation: 42-24=18, Resulting Numbers: [6, 18] Generated Node #0,1,3: 42:[6, 18] Operation: 42-24=18 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[42, 4], Operations: ['75-33=42', '24/6=4'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,42 unequal: No Solution Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[42, 18], Operations: ['75-33=42', '24-6=18'] Exploring Operation: 42+18=60, Resulting Numbers: [60] 60,42 unequal: No Solution Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 42*18=756, Resulting Numbers: [756] 756,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[24, 7], Operations: ['75-33=42', '42/6=7'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,42 unequal: No Solution Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,42 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 42:[6, 18], Operations: ['75-33=42', '42-24=18'] Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,42 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,42 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: 42:[33, 6, 51], Operations: ['75-24=51'] Exploring Operation: 51-6=45, Resulting Numbers: [33, 45] Generated Node #0,0,0: 42:[33, 45] Operation: 51-6=45 Exploring Operation: 33-6=27, Resulting Numbers: [51, 27] Generated Node #0,0,1: 42:[51, 27] Operation: 33-6=27 Exploring Operation: 33+6=39, Resulting Numbers: [51, 39] Generated Node #0,0,2: 42:[51, 39] Operation: 33+6=39 Exploring Operation: 51-33=18, Resulting Numbers: [6, 18] Generated Node #0,0,3: 42:[6, 18] Operation: 51-33=18 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 42:[6, 18], Operations: ['75-24=51', '51-33=18'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[33, 45], Operations: ['75-24=51', '51-6=45'] Exploring Operation: 33+45=78, Resulting Numbers: [78] 78,42 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 33*45=1485, Resulting Numbers: [1485] 1485,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 42:[51, 39], Operations: ['75-24=51', '33+6=39'] Exploring Operation: 51+39=90, Resulting Numbers: [90] 90,42 unequal: No Solution Exploring Operation: 51*39=1989, Resulting Numbers: [1989] 1989,42 unequal: No Solution Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[51, 27], Operations: ['75-24=51', '33-6=27'] Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 51+27=78, Resulting Numbers: [78] 78,42 unequal: No Solution Exploring Operation: 51*27=1377, Resulting Numbers: [1377] 1377,42 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: 42:[6, 75, 9], Operations: ['33-24=9'] Exploring Operation: 9-6=3, Resulting Numbers: [75, 3] Generated Node #0,3,0: 42:[75, 3] Operation: 9-6=3 Exploring Operation: 6+9=15, Resulting Numbers: [75, 15] Generated Node #0,3,1: 42:[75, 15] Operation: 6+9=15 Exploring Operation: 75-6=69, Resulting Numbers: [9, 69] Generated Node #0,3,2: 42:[9, 69] Operation: 75-6=69 Exploring Operation: 75-9=66, Resulting Numbers: [6, 66] Generated Node #0,3,3: 42:[6, 66] Operation: 75-9=66 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 42:[6, 66], Operations: ['33-24=9', '75-9=66'] Exploring Operation: 6+66=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 6*66=396, Resulting Numbers: [396] 396,42 unequal: No Solution Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 42:[9, 69], Operations: ['33-24=9', '75-6=69'] Exploring Operation: 9*69=621, Resulting Numbers: [621] 621,42 unequal: No Solution Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,42 unequal: No Solution Exploring Operation: 9+69=78, Resulting Numbers: [78] 78,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 42:[75, 3], Operations: ['33-24=9', '9-6=3'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 75+3=78, Resulting Numbers: [78] 78,42 unequal: No Solution Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 75*3=225, Resulting Numbers: [225] 225,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 42:[75, 15], Operations: ['33-24=9', '6+9=15'] Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 75+15=90, Resulting Numbers: [90] 90,42 unequal: No Solution Exploring Operation: 75*15=1125, Resulting Numbers: [1125] 1125,42 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 42:[24, 75, 39], Operations: ['33+6=39'] Exploring Operation: 75-24=51, Resulting Numbers: [39, 51] Generated Node #0,2,0: 42:[39, 51] Operation: 75-24=51 Exploring Operation: 39-24=15, Resulting Numbers: [75, 15] Generated Node #0,2,1: 42:[75, 15] Operation: 39-24=15 Exploring Operation: 75-39=36, Resulting Numbers: [24, 36] Generated Node #0,2,2: 42:[24, 36] Operation: 75-39=36 Exploring Operation: 24+39=63, Resulting Numbers: [75, 63] Generated Node #0,2,3: 42:[75, 63] Operation: 24+39=63 Moving to Node #0,2,2 Current State: 42:[24, 36], Operations: ['33+6=39', '75-39=36'] Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 24*36=864, Resulting Numbers: [864] 864,42 unequal: No Solution Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[39, 51], Operations: ['33+6=39', '75-24=51'] Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 39*51=1989, Resulting Numbers: [1989] 1989,42 unequal: No Solution Exploring Operation: 39+51=90, Resulting Numbers: [90] 90,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[75, 15], Operations: ['33+6=39', '39-24=15'] Exploring Operation: 75*15=1125, Resulting Numbers: [1125] 1125,42 unequal: No Solution Exploring Operation: 75+15=90, Resulting Numbers: [90] 90,42 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[75, 63], Operations: ['33+6=39', '24+39=63'] Exploring Operation: 75+63=138, Resulting Numbers: [138] 138,42 unequal: No Solution Exploring Operation: 75*63=4725, Resulting Numbers: [4725] 4725,42 unequal: No Solution Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,42 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 7, 36, 70, 19 ]
60
[ "36-7=29", "70+19=89", "89-29=60" ]
Current State: 60:[7, 36, 70, 19], Operations: [] Exploring Operation: 36-7=29, Resulting Numbers: [70, 19, 29] Generated Node #2: [70, 19, 29] from Operation: 36-7=29 Current State: 60:[70, 19, 29], Operations: ['36-7=29'] Exploring Operation: 70+19=89, Resulting Numbers: [29, 89] Generated Node #3: [29, 89] from Operation: 70+19=89 Current State: 60:[29, 89], Operations: ['36-7=29', '70+19=89'] Exploring Operation: 89-29=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[7, 36, 70, 19], Operations: [] Exploring Operation: 70/7=10, Resulting Numbers: [36, 19, 10] Generated Node #0,0: 60:[36, 19, 10] Operation: 70/7=10 Exploring Operation: 70-36=34, Resulting Numbers: [7, 19, 34] Generated Node #0,1: 60:[7, 19, 34] Operation: 70-36=34 Moving to Node #0,1 Current State: 60:[7, 19, 34], Operations: ['70-36=34'] Exploring Operation: 19-7=12, Resulting Numbers: [34, 12] Generated Node #0,1,0: 60:[34, 12] Operation: 19-7=12 Exploring Operation: 34-19=15, Resulting Numbers: [7, 15] Generated Node #0,1,1: 60:[7, 15] Operation: 34-19=15 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[7, 15], Operations: ['70-36=34', '34-19=15'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,60 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,60 unequal: No Solution No 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: 60:[34, 12], Operations: ['70-36=34', '19-7=12'] Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,60 unequal: No Solution Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,60 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: 60:[36, 19, 10], Operations: ['70/7=10'] Exploring Operation: 36-19=17, Resulting Numbers: [10, 17] Generated Node #0,0,0: 60:[10, 17] Operation: 36-19=17 Exploring Operation: 36+19=55, Resulting Numbers: [10, 55] Generated Node #0,0,1: 60:[10, 55] Operation: 36+19=55 Moving to Node #0,0,0 Current State: 60:[10, 17], Operations: ['70/7=10', '36-19=17'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,60 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[10, 55], Operations: ['70/7=10', '36+19=55'] Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,60 unequal: No Solution Exploring Operation: 10+55=65, Resulting Numbers: [65] 65,60 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 67, 13, 54, 55 ]
29
[ "67+13=80", "54+55=109", "109-80=29" ]
Current State: 29:[67, 13, 54, 55], Operations: [] Exploring Operation: 67+13=80, Resulting Numbers: [54, 55, 80] Generated Node #2: [54, 55, 80] from Operation: 67+13=80 Current State: 29:[54, 55, 80], Operations: ['67+13=80'] Exploring Operation: 54+55=109, Resulting Numbers: [80, 109] Generated Node #3: [80, 109] from Operation: 54+55=109 Current State: 29:[80, 109], Operations: ['67+13=80', '54+55=109'] Exploring Operation: 109-80=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[67, 13, 54, 55], Operations: [] Exploring Operation: 67-55=12, Resulting Numbers: [13, 54, 12] Generated Node #0,0: 29:[13, 54, 12] Operation: 67-55=12 Exploring Operation: 55-13=42, Resulting Numbers: [67, 54, 42] Generated Node #0,1: 29:[67, 54, 42] Operation: 55-13=42 Exploring Operation: 67-54=13, Resulting Numbers: [13, 55, 13] Generated Node #0,2: 29:[13, 55, 13] Operation: 67-54=13 Exploring Operation: 54-13=41, Resulting Numbers: [67, 55, 41] Generated Node #0,3: 29:[67, 55, 41] Operation: 54-13=41 Exploring Operation: 67-13=54, Resulting Numbers: [54, 55, 54] Generated Node #0,4: 29:[54, 55, 54] Operation: 67-13=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[13, 54, 12], Operations: ['67-55=12'] Exploring Operation: 54-12=42, Resulting Numbers: [13, 42] Generated Node #0,0,0: 29:[13, 42] Operation: 54-12=42 Exploring Operation: 54-13=41, Resulting Numbers: [12, 41] Generated Node #0,0,1: 29:[12, 41] Operation: 54-13=41 Exploring Operation: 13-12=1, Resulting Numbers: [54, 1] Generated Node #0,0,2: 29:[54, 1] Operation: 13-12=1 Exploring Operation: 54+12=66, Resulting Numbers: [13, 66] Generated Node #0,0,3: 29:[13, 66] Operation: 54+12=66 Exploring Operation: 13+12=25, Resulting Numbers: [54, 25] Generated Node #0,0,4: 29:[54, 25] Operation: 13+12=25 Moving to Node #0,0,0 Current State: 29:[13, 42], Operations: ['67-55=12', '54-12=42'] Exploring Operation: 13*42=546, Resulting Numbers: [546] 546,29 unequal: No Solution Exploring Operation: 13+42=55, Resulting Numbers: [55] 55,29 unequal: No Solution Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[67, 13, 54, 55], Operations: [] Exploring Operation: 67-55=12, Resulting Numbers: [13, 54, 12] Generated Node #0,0: 29:[13, 54, 12] Operation: 67-55=12 Moving to Node #0,0 Current State: 29:[13, 54, 12], Operations: ['67-55=12'] Exploring Operation: 54-12=42, Resulting Numbers: [13, 42] Generated Node #0,0,0: 29:[13, 42] Operation: 54-12=42 Moving to Node #0,0,0 Current State: 29:[13, 42], Operations: ['67-55=12', '54-12=42'] Exploring Operation: 42-13=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 2, 38, 17, 34 ]
23
[ "2+38=40", "34-17=17", "40-17=23" ]
Current State: 23:[2, 38, 17, 34], Operations: [] Exploring Operation: 2+38=40, Resulting Numbers: [17, 34, 40] Generated Node #2: [17, 34, 40] from Operation: 2+38=40 Current State: 23:[17, 34, 40], Operations: ['2+38=40'] Exploring Operation: 34-17=17, Resulting Numbers: [40, 17] Generated Node #3: [40, 17] from Operation: 34-17=17 Current State: 23:[40, 17], Operations: ['2+38=40', '34-17=17'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[2, 38, 17, 34], Operations: [] Exploring Operation: 38/2=19, Resulting Numbers: [17, 34, 19] Generated Node #0,0: 23:[17, 34, 19] Operation: 38/2=19 Exploring Operation: 34/2=17, Resulting Numbers: [38, 17, 17] Generated Node #0,1: 23:[38, 17, 17] Operation: 34/2=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[17, 34, 19], Operations: ['38/2=19'] Exploring Operation: 34-19=15, Resulting Numbers: [17, 15] Generated Node #0,0,0: 23:[17, 15] Operation: 34-19=15 Exploring Operation: 34-17=17, Resulting Numbers: [19, 17] Generated Node #0,0,1: 23:[19, 17] Operation: 34-17=17 Moving to Node #0,0,1 Current State: 23:[19, 17], Operations: ['38/2=19', '34-17=17'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[17, 15], Operations: ['38/2=19', '34-19=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,23 unequal: No Solution Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,23 unequal: No Solution No 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:[38, 17, 17], Operations: ['34/2=17'] Exploring Operation: 38-17=21, Resulting Numbers: [17, 21] Generated Node #0,1,0: 23:[17, 21] Operation: 38-17=21 Exploring Operation: 38-17=21, Resulting Numbers: [17, 21] Generated Node #0,1,1: 23:[17, 21] Operation: 38-17=21 Moving to Node #0,1,0 Current State: 23:[17, 21], Operations: ['34/2=17', '38-17=21'] Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[17, 21], Operations: ['34/2=17', '38-17=21'] Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,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
[ 34, 6, 79, 17 ]
18
[ "79+17=96", "96/6=16", "34-16=18" ]
Current State: 18:[34, 6, 79, 17], Operations: [] Exploring Operation: 79+17=96, Resulting Numbers: [34, 6, 96] Generated Node #2: [34, 6, 96] from Operation: 79+17=96 Current State: 18:[34, 6, 96], Operations: ['79+17=96'] Exploring Operation: 96/6=16, Resulting Numbers: [34, 16] Generated Node #3: [34, 16] from Operation: 96/6=16 Current State: 18:[34, 16], Operations: ['79+17=96', '96/6=16'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[34, 6, 79, 17], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [6, 79, 2] Generated Node #0,0: 18:[6, 79, 2] Operation: 34/17=2 Exploring Operation: 79-17=62, Resulting Numbers: [34, 6, 62] Generated Node #0,1: 18:[34, 6, 62] Operation: 79-17=62 Exploring Operation: 79-34=45, Resulting Numbers: [6, 17, 45] Generated Node #0,2: 18:[6, 17, 45] Operation: 79-34=45 Moving to Node #0,2 Current State: 18:[6, 17, 45], Operations: ['79-34=45'] Exploring Operation: 17-6=11, Resulting Numbers: [45, 11] Generated Node #0,2,0: 18:[45, 11] Operation: 17-6=11 Exploring Operation: 45-6=39, Resulting Numbers: [17, 39] Generated Node #0,2,1: 18:[17, 39] Operation: 45-6=39 Exploring Operation: 45-17=28, Resulting Numbers: [6, 28] Generated Node #0,2,2: 18:[6, 28] Operation: 45-17=28 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[6, 28], Operations: ['79-34=45', '45-17=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,18 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,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:[17, 39], Operations: ['79-34=45', '45-6=39'] Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,18 unequal: No Solution Exploring Operation: 17*39=663, Resulting Numbers: [663] 663,18 unequal: No Solution Exploring Operation: 17+39=56, Resulting Numbers: [56] 56,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:[45, 11], Operations: ['79-34=45', '17-6=11'] Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 45+11=56, Resulting Numbers: [56] 56,18 unequal: No Solution Exploring Operation: 45*11=495, Resulting Numbers: [495] 495,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:[34, 6, 62], Operations: ['79-17=62'] Exploring Operation: 62-6=56, Resulting Numbers: [34, 56] Generated Node #0,1,0: 18:[34, 56] Operation: 62-6=56 Exploring Operation: 62-34=28, Resulting Numbers: [6, 28] Generated Node #0,1,1: 18:[6, 28] Operation: 62-34=28 Exploring Operation: 34-6=28, Resulting Numbers: [62, 28] Generated Node #0,1,2: 18:[62, 28] Operation: 34-6=28 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[6, 28], Operations: ['79-17=62', '62-34=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,18 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,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,1,0 Current State: 18:[34, 56], Operations: ['79-17=62', '62-6=56'] 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 Exploring Operation: 34*56=1904, Resulting Numbers: [1904] 1904,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,1,2 Current State: 18:[62, 28], Operations: ['79-17=62', '34-6=28'] Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,18 unequal: No Solution Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 62*28=1736, Resulting Numbers: [1736] 1736,18 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: 18:[6, 79, 2], Operations: ['34/17=2'] Exploring Operation: 79-6=73, Resulting Numbers: [2, 73] Generated Node #0,0,0: 18:[2, 73] Operation: 79-6=73 Exploring Operation: 79-2=77, Resulting Numbers: [6, 77] Generated Node #0,0,1: 18:[6, 77] Operation: 79-2=77 Exploring Operation: 6/2=3, Resulting Numbers: [79, 3] Generated Node #0,0,2: 18:[79, 3] Operation: 6/2=3 Moving to Node #0,0,0 Current State: 18:[2, 73], Operations: ['34/17=2', '79-6=73'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,18 unequal: No Solution Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,18 unequal: No Solution Exploring Operation: 2*73=146, Resulting Numbers: [146] 146,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[6, 77], Operations: ['34/17=2', '79-2=77'] Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,18 unequal: No Solution Exploring Operation: 6*77=462, Resulting Numbers: [462] 462,18 unequal: No Solution Exploring Operation: 6+77=83, Resulting Numbers: [83] 83,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[79, 3], Operations: ['34/17=2', '6/2=3'] Exploring Operation: 79*3=237, Resulting Numbers: [237] 237,18 unequal: No Solution Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,18 unequal: No Solution Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,18 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 58, 6, 26, 27 ]
60
[ "58*27=1566", "1566-6=1560", "1560/26=60" ]
Current State: 60:[58, 6, 26, 27], Operations: [] Exploring Operation: 58*27=1566, Resulting Numbers: [6, 26, 1566] Generated Node #2: [6, 26, 1566] from Operation: 58*27=1566 Current State: 60:[6, 26, 1566], Operations: ['58*27=1566'] Exploring Operation: 1566-6=1560, Resulting Numbers: [26, 1560] Generated Node #3: [26, 1560] from Operation: 1566-6=1560 Current State: 60:[26, 1560], Operations: ['58*27=1566', '1566-6=1560'] Exploring Operation: 1560/26=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[58, 6, 26, 27], Operations: [] Exploring Operation: 58-26=32, Resulting Numbers: [6, 27, 32] Generated Node #0,0: 60:[6, 27, 32] Operation: 58-26=32 Exploring Operation: 58-27=31, Resulting Numbers: [6, 26, 31] Generated Node #0,1: 60:[6, 26, 31] Operation: 58-27=31 Exploring Operation: 27-26=1, Resulting Numbers: [58, 6, 1] Generated Node #0,2: 60:[58, 6, 1] Operation: 27-26=1 Moving to Node #0,2 Current State: 60:[58, 6, 1], Operations: ['27-26=1'] Exploring Operation: 58/1=58, Resulting Numbers: [6, 58] Generated Node #0,2,0: 60:[6, 58] Operation: 58/1=58 Exploring Operation: 58*1=58, Resulting Numbers: [6, 58] Generated Node #0,2,1: 60:[6, 58] Operation: 58*1=58 Exploring Operation: 58+1=59, Resulting Numbers: [6, 59] Generated Node #0,2,2: 60:[6, 59] Operation: 58+1=59 Moving to Node #0,0 Current State: 60:[6, 27, 32], Operations: ['58-26=32'] Exploring Operation: 27-6=21, Resulting Numbers: [32, 21] Generated Node #0,0,0: 60:[32, 21] Operation: 27-6=21 Exploring Operation: 32-27=5, Resulting Numbers: [6, 5] Generated Node #0,0,1: 60:[6, 5] Operation: 32-27=5 Exploring Operation: 27+32=59, Resulting Numbers: [6, 59] Generated Node #0,0,2: 60:[6, 59] Operation: 27+32=59 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[6, 5], Operations: ['58-26=32', '32-27=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,60 unequal: No Solution No 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: 60:[6, 59], Operations: ['58-26=32', '27+32=59'] Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,60 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,60 unequal: No Solution No 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: 60:[32, 21], Operations: ['58-26=32', '27-6=21'] Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,60 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,60 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: 60:[6, 26, 31], Operations: ['58-27=31'] Exploring Operation: 6+26=32, Resulting Numbers: [31, 32] Generated Node #0,1,0: 60:[31, 32] Operation: 6+26=32 Exploring Operation: 31-26=5, Resulting Numbers: [6, 5] Generated Node #0,1,1: 60:[6, 5] Operation: 31-26=5 Exploring Operation: 26-6=20, Resulting Numbers: [31, 20] Generated Node #0,1,2: 60:[31, 20] Operation: 26-6=20 Moving to Node #0,1,1 Current State: 60:[6, 5], Operations: ['58-27=31', '31-26=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[6, 59], Operations: ['27-26=1', '58+1=59'] Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[31, 20], Operations: ['58-27=31', '26-6=20'] Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,60 unequal: No Solution Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[6, 58], Operations: ['27-26=1', '58*1=58'] Exploring Operation: 6*58=348, Resulting Numbers: [348] 348,60 unequal: No Solution Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,60 unequal: No Solution Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[6, 58], Operations: ['27-26=1', '58/1=58'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,60 unequal: No Solution Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,60 unequal: No Solution Exploring Operation: 6*58=348, Resulting Numbers: [348] 348,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[31, 32], Operations: ['58-27=31', '6+26=32'] Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 31*32=992, Resulting Numbers: [992] 992,60 unequal: No Solution Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,60 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 10, 45, 64, 71 ]
28
[ "45-10=35", "71-64=7", "35-7=28" ]
Current State: 28:[10, 45, 64, 71], Operations: [] Exploring Operation: 45-10=35, Resulting Numbers: [64, 71, 35] Generated Node #2: [64, 71, 35] from Operation: 45-10=35 Current State: 28:[64, 71, 35], Operations: ['45-10=35'] Exploring Operation: 71-64=7, Resulting Numbers: [35, 7] Generated Node #3: [35, 7] from Operation: 71-64=7 Current State: 28:[35, 7], Operations: ['45-10=35', '71-64=7'] Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[10, 45, 64, 71], Operations: [] Exploring Operation: 71-45=26, Resulting Numbers: [10, 64, 26] Generated Node #0,0: 28:[10, 64, 26] Operation: 71-45=26 Exploring Operation: 64-10=54, Resulting Numbers: [45, 71, 54] Generated Node #0,1: 28:[45, 71, 54] Operation: 64-10=54 Exploring Operation: 45-10=35, Resulting Numbers: [64, 71, 35] Generated Node #0,2: 28:[64, 71, 35] Operation: 45-10=35 Exploring Operation: 64-45=19, Resulting Numbers: [10, 71, 19] Generated Node #0,3: 28:[10, 71, 19] Operation: 64-45=19 Exploring Operation: 71-64=7, Resulting Numbers: [10, 45, 7] Generated Node #0,4: 28:[10, 45, 7] Operation: 71-64=7 Moving to Node #0,4 Current State: 28:[10, 45, 7], Operations: ['71-64=7'] Exploring Operation: 45-7=38, Resulting Numbers: [10, 38] Generated Node #0,4,0: 28:[10, 38] Operation: 45-7=38 Exploring Operation: 10+7=17, Resulting Numbers: [45, 17] Generated Node #0,4,1: 28:[45, 17] Operation: 10+7=17 Exploring Operation: 10-7=3, Resulting Numbers: [45, 3] Generated Node #0,4,2: 28:[45, 3] Operation: 10-7=3 Exploring Operation: 45-10=35, Resulting Numbers: [7, 35] Generated Node #0,4,3: 28:[7, 35] Operation: 45-10=35 Exploring Operation: 10+45=55, Resulting Numbers: [7, 55] Generated Node #0,4,4: 28:[7, 55] Operation: 10+45=55 Moving to Node #0,0 Current State: 28:[10, 64, 26], Operations: ['71-45=26'] Exploring Operation: 10+64=74, Resulting Numbers: [26, 74] Generated Node #0,0,0: 28:[26, 74] Operation: 10+64=74 Exploring Operation: 26-10=16, Resulting Numbers: [64, 16] Generated Node #0,0,1: 28:[64, 16] Operation: 26-10=16 Exploring Operation: 64-26=38, Resulting Numbers: [10, 38] Generated Node #0,0,2: 28:[10, 38] Operation: 64-26=38 Exploring Operation: 64-10=54, Resulting Numbers: [26, 54] Generated Node #0,0,3: 28:[26, 54] Operation: 64-10=54 Exploring Operation: 10+26=36, Resulting Numbers: [64, 36] Generated Node #0,0,4: 28:[64, 36] Operation: 10+26=36 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[10, 38], Operations: ['71-45=26', '64-26=38'] Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,28 unequal: No Solution Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[10, 45, 64, 71], Operations: [] Exploring Operation: 71-45=26, Resulting Numbers: [10, 64, 26] Generated Node #0,0: 28:[10, 64, 26] Operation: 71-45=26 Moving to Node #0,0 Current State: 28:[10, 64, 26], Operations: ['71-45=26'] Exploring Operation: 64-26=38, Resulting Numbers: [10, 38] Generated Node #0,0,2: 28:[10, 38] Operation: 64-26=38 Moving to Node #0,0,2 Current State: 28:[10, 38], Operations: ['71-45=26', '64-26=38'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 64, 57, 88, 32 ]
20
[ "57*32=1824", "1824-64=1760", "1760/88=20" ]
Current State: 20:[64, 57, 88, 32], Operations: [] Exploring Operation: 57*32=1824, Resulting Numbers: [64, 88, 1824] Generated Node #2: [64, 88, 1824] from Operation: 57*32=1824 Current State: 20:[64, 88, 1824], Operations: ['57*32=1824'] Exploring Operation: 1824-64=1760, Resulting Numbers: [88, 1760] Generated Node #3: [88, 1760] from Operation: 1824-64=1760 Current State: 20:[88, 1760], Operations: ['57*32=1824', '1824-64=1760'] Exploring Operation: 1760/88=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[64, 57, 88, 32], Operations: [] Exploring Operation: 88-57=31, Resulting Numbers: [64, 32, 31] Generated Node #0,0: 20:[64, 32, 31] Operation: 88-57=31 Exploring Operation: 88-64=24, Resulting Numbers: [57, 32, 24] Generated Node #0,1: 20:[57, 32, 24] Operation: 88-64=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[57, 32, 24], Operations: ['88-64=24'] Exploring Operation: 57-32=25, Resulting Numbers: [24, 25] Generated Node #0,1,0: 20:[24, 25] Operation: 57-32=25 Exploring Operation: 57-24=33, Resulting Numbers: [32, 33] Generated Node #0,1,1: 20:[32, 33] Operation: 57-24=33 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[24, 25], Operations: ['88-64=24', '57-32=25'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,20 unequal: No Solution No 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: 20:[32, 33], Operations: ['88-64=24', '57-24=33'] Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,20 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: 20:[64, 32, 31], Operations: ['88-57=31'] Exploring Operation: 64-32=32, Resulting Numbers: [31, 32] Generated Node #0,0,0: 20:[31, 32] Operation: 64-32=32 Exploring Operation: 64/32=2, Resulting Numbers: [31, 2] Generated Node #0,0,1: 20:[31, 2] Operation: 64/32=2 Moving to Node #0,0,1 Current State: 20:[31, 2], Operations: ['88-57=31', '64/32=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[31, 32], Operations: ['88-57=31', '64-32=32'] Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,20 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
[ 3, 66, 7, 12 ]
99
[ "3*7=21", "66+12=78", "21+78=99" ]
Current State: 99:[3, 66, 7, 12], Operations: [] Exploring Operation: 3*7=21, Resulting Numbers: [66, 12, 21] Generated Node #2: [66, 12, 21] from Operation: 3*7=21 Current State: 99:[66, 12, 21], Operations: ['3*7=21'] Exploring Operation: 66+12=78, Resulting Numbers: [21, 78] Generated Node #3: [21, 78] from Operation: 66+12=78 Current State: 99:[21, 78], Operations: ['3*7=21', '66+12=78'] Exploring Operation: 21+78=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[3, 66, 7, 12], Operations: [] Exploring Operation: 66/3=22, Resulting Numbers: [7, 12, 22] Generated Node #0,0: 99:[7, 12, 22] Operation: 66/3=22 Moving to Node #0,0 Current State: 99:[7, 12, 22], Operations: ['66/3=22'] Exploring Operation: 12+22=34, Resulting Numbers: [7, 34] Generated Node #0,0,0: 99:[7, 34] Operation: 12+22=34 Moving to Node #0,0,0 Current State: 99:[7, 34], Operations: ['66/3=22', '12+22=34'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,99 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 1, 26, 93, 13 ]
95
[ "1*26=26", "26/13=2", "93+2=95" ]
Current State: 95:[1, 26, 93, 13], Operations: [] Exploring Operation: 1*26=26, Resulting Numbers: [93, 13, 26] Generated Node #2: [93, 13, 26] from Operation: 1*26=26 Current State: 95:[93, 13, 26], Operations: ['1*26=26'] Exploring Operation: 26/13=2, Resulting Numbers: [93, 2] Generated Node #3: [93, 2] from Operation: 26/13=2 Current State: 95:[93, 2], Operations: ['1*26=26', '26/13=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[1, 26, 93, 13], Operations: [] Exploring Operation: 26-13=13, Resulting Numbers: [1, 93, 13] Generated Node #0,0: 95:[1, 93, 13] Operation: 26-13=13 Exploring Operation: 26/13=2, Resulting Numbers: [1, 93, 2] Generated Node #0,1: 95:[1, 93, 2] Operation: 26/13=2 Exploring Operation: 26-1=25, Resulting Numbers: [93, 13, 25] Generated Node #0,2: 95:[93, 13, 25] Operation: 26-1=25 Moving to Node #0,1 Current State: 95:[1, 93, 2], Operations: ['26/13=2'] Exploring Operation: 1+93=94, Resulting Numbers: [2, 94] Generated Node #0,1,0: 95:[2, 94] Operation: 1+93=94 Exploring Operation: 93+2=95, Resulting Numbers: [1, 95] Generated Node #0,1,1: 95:[1, 95] Operation: 93+2=95 Exploring Operation: 1+2=3, Resulting Numbers: [93, 3] Generated Node #0,1,2: 95:[93, 3] Operation: 1+2=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[2, 94], Operations: ['26/13=2', '1+93=94'] Exploring Operation: 2+94=96, Resulting Numbers: [96] 96,95 unequal: No Solution Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,95 unequal: No Solution Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[1, 95], Operations: ['26/13=2', '93+2=95'] Exploring Operation: 1*95=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[1, 26, 93, 13], Operations: [] Exploring Operation: 26/13=2, Resulting Numbers: [1, 93, 2] Generated Node #0,1: 95:[1, 93, 2] Operation: 26/13=2 Moving to Node #0,1 Current State: 95:[1, 93, 2], Operations: ['26/13=2'] Exploring Operation: 93+2=95, Resulting Numbers: [1, 95] Generated Node #0,1,1: 95:[1, 95] Operation: 93+2=95 Moving to Node #0,1,1 Current State: 95:[1, 95], Operations: ['26/13=2', '93+2=95'] Exploring Operation: 1*95=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 66, 96, 16, 40 ]
51
[ "66*16=1056", "1056/96=11", "40+11=51" ]
Current State: 51:[66, 96, 16, 40], Operations: [] Exploring Operation: 66*16=1056, Resulting Numbers: [96, 40, 1056] Generated Node #2: [96, 40, 1056] from Operation: 66*16=1056 Current State: 51:[96, 40, 1056], Operations: ['66*16=1056'] Exploring Operation: 1056/96=11, Resulting Numbers: [40, 11] Generated Node #3: [40, 11] from Operation: 1056/96=11 Current State: 51:[40, 11], Operations: ['66*16=1056', '1056/96=11'] Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[66, 96, 16, 40], Operations: [] Exploring Operation: 96-40=56, Resulting Numbers: [66, 16, 56] Generated Node #0,0: 51:[66, 16, 56] Operation: 96-40=56 Exploring Operation: 96-66=30, Resulting Numbers: [16, 40, 30] Generated Node #0,1: 51:[16, 40, 30] Operation: 96-66=30 Exploring Operation: 96/16=6, Resulting Numbers: [66, 40, 6] Generated Node #0,2: 51:[66, 40, 6] Operation: 96/16=6 Moving to Node #0,0 Current State: 51:[66, 16, 56], Operations: ['96-40=56'] Exploring Operation: 66-56=10, Resulting Numbers: [16, 10] Generated Node #0,0,0: 51:[16, 10] Operation: 66-56=10 Exploring Operation: 66-16=50, Resulting Numbers: [56, 50] Generated Node #0,0,1: 51:[56, 50] Operation: 66-16=50 Exploring Operation: 56-16=40, Resulting Numbers: [66, 40] Generated Node #0,0,2: 51:[66, 40] Operation: 56-16=40 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[56, 50], Operations: ['96-40=56', '66-16=50'] Exploring Operation: 56+50=106, Resulting Numbers: [106] 106,51 unequal: No Solution Exploring Operation: 56*50=2800, Resulting Numbers: [2800] 2800,51 unequal: No Solution Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[16, 10], Operations: ['96-40=56', '66-56=10'] Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 51:[66, 40], Operations: ['96-40=56', '56-16=40'] Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 66*40=2640, Resulting Numbers: [2640] 2640,51 unequal: No Solution Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 51:[16, 40, 30], Operations: ['96-66=30'] Exploring Operation: 30-16=14, Resulting Numbers: [40, 14] Generated Node #0,1,0: 51:[40, 14] Operation: 30-16=14 Exploring Operation: 40-30=10, Resulting Numbers: [16, 10] Generated Node #0,1,1: 51:[16, 10] Operation: 40-30=10 Exploring Operation: 16+30=46, Resulting Numbers: [40, 46] Generated Node #0,1,2: 51:[40, 46] Operation: 16+30=46 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[16, 10], Operations: ['96-66=30', '40-30=10'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[40, 14], Operations: ['96-66=30', '30-16=14'] Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,51 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,51 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 51:[40, 46], Operations: ['96-66=30', '16+30=46'] Exploring Operation: 40+46=86, Resulting Numbers: [86] 86,51 unequal: No Solution Exploring Operation: 40*46=1840, Resulting Numbers: [1840] 1840,51 unequal: No Solution Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 51:[66, 40, 6], Operations: ['96/16=6'] Exploring Operation: 66/6=11, Resulting Numbers: [40, 11] Generated Node #0,2,0: 51:[40, 11] Operation: 66/6=11 Exploring Operation: 66-6=60, Resulting Numbers: [40, 60] Generated Node #0,2,1: 51:[40, 60] Operation: 66-6=60 Exploring Operation: 66-40=26, Resulting Numbers: [6, 26] Generated Node #0,2,2: 51:[6, 26] Operation: 66-40=26 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 51:[6, 26], Operations: ['96/16=6', '66-40=26'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,51 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[40, 11], Operations: ['96/16=6', '66/6=11'] Exploring Operation: 40*11=440, Resulting Numbers: [440] 440,51 unequal: No Solution Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[66, 96, 16, 40], Operations: [] Exploring Operation: 96/16=6, Resulting Numbers: [66, 40, 6] Generated Node #0,2: 51:[66, 40, 6] Operation: 96/16=6 Moving to Node #0,2 Current State: 51:[66, 40, 6], Operations: ['96/16=6'] Exploring Operation: 66/6=11, Resulting Numbers: [40, 11] Generated Node #0,2,0: 51:[40, 11] Operation: 66/6=11 Moving to Node #0,2,0 Current State: 51:[40, 11], Operations: ['96/16=6', '66/6=11'] Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_3
sum_heuristic
[ 16, 69, 49, 95 ]
60
[ "49+95=144", "144/16=9", "69-9=60" ]
Current State: 60:[16, 69, 49, 95], Operations: [] Exploring Operation: 49+95=144, Resulting Numbers: [16, 69, 144] Generated Node #2: [16, 69, 144] from Operation: 49+95=144 Current State: 60:[16, 69, 144], Operations: ['49+95=144'] Exploring Operation: 144/16=9, Resulting Numbers: [69, 9] Generated Node #3: [69, 9] from Operation: 144/16=9 Current State: 60:[69, 9], Operations: ['49+95=144', '144/16=9'] Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[16, 69, 49, 95], Operations: [] Exploring Operation: 95-49=46, Resulting Numbers: [16, 69, 46] Generated Node #0,0: 60:[16, 69, 46] Operation: 95-49=46 Exploring Operation: 69-49=20, Resulting Numbers: [16, 95, 20] Generated Node #0,1: 60:[16, 95, 20] Operation: 69-49=20 Exploring Operation: 95-16=79, Resulting Numbers: [69, 49, 79] Generated Node #0,2: 60:[69, 49, 79] Operation: 95-16=79 Exploring Operation: 95-69=26, Resulting Numbers: [16, 49, 26] Generated Node #0,3: 60:[16, 49, 26] Operation: 95-69=26 Moving to Node #0,3 Current State: 60:[16, 49, 26], Operations: ['95-69=26'] Exploring Operation: 26-16=10, Resulting Numbers: [49, 10] Generated Node #0,3,0: 60:[49, 10] Operation: 26-16=10 Exploring Operation: 49-16=33, Resulting Numbers: [26, 33] Generated Node #0,3,1: 60:[26, 33] Operation: 49-16=33 Exploring Operation: 16+49=65, Resulting Numbers: [26, 65] Generated Node #0,3,2: 60:[26, 65] Operation: 16+49=65 Exploring Operation: 49-26=23, Resulting Numbers: [16, 23] Generated Node #0,3,3: 60:[16, 23] Operation: 49-26=23 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 60:[16, 23], Operations: ['95-69=26', '49-26=23'] Exploring Operation: 16*23=368, Resulting Numbers: [368] 368,60 unequal: No Solution Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,60 unequal: No Solution No 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: 60:[26, 33], Operations: ['95-69=26', '49-16=33'] Exploring Operation: 26*33=858, Resulting Numbers: [858] 858,60 unequal: No Solution Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,60 unequal: No Solution Exploring Operation: 26+33=59, Resulting Numbers: [59] 59,60 unequal: No Solution No 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: 60:[26, 65], Operations: ['95-69=26', '16+49=65'] Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 26*65=1690, Resulting Numbers: [1690] 1690,60 unequal: No Solution Exploring Operation: 26+65=91, Resulting Numbers: [91] 91,60 unequal: No Solution No 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: 60:[49, 10], Operations: ['95-69=26', '26-16=10'] Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,60 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,60 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: 60:[16, 69, 46], Operations: ['95-49=46'] Exploring Operation: 46-16=30, Resulting Numbers: [69, 30] Generated Node #0,0,0: 60:[69, 30] Operation: 46-16=30 Exploring Operation: 16+46=62, Resulting Numbers: [69, 62] Generated Node #0,0,1: 60:[69, 62] Operation: 16+46=62 Exploring Operation: 69-46=23, Resulting Numbers: [16, 23] Generated Node #0,0,2: 60:[16, 23] Operation: 69-46=23 Exploring Operation: 69-16=53, Resulting Numbers: [46, 53] Generated Node #0,0,3: 60:[46, 53] Operation: 69-16=53 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 60:[16, 23], Operations: ['95-49=46', '69-46=23'] Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,60 unequal: No Solution Exploring Operation: 16*23=368, Resulting Numbers: [368] 368,60 unequal: No Solution No 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: 60:[69, 30], Operations: ['95-49=46', '46-16=30'] Exploring Operation: 69*30=2070, Resulting Numbers: [2070] 2070,60 unequal: No Solution Exploring Operation: 69+30=99, Resulting Numbers: [99] 99,60 unequal: No Solution Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,60 unequal: No Solution No 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: 60:[69, 62], Operations: ['95-49=46', '16+46=62'] Exploring Operation: 69*62=4278, Resulting Numbers: [4278] 4278,60 unequal: No Solution Exploring Operation: 69-62=7, Resulting Numbers: [7] 7,60 unequal: No Solution Exploring Operation: 69+62=131, Resulting Numbers: [131] 131,60 unequal: No Solution No 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: 60:[46, 53], Operations: ['95-49=46', '69-16=53'] Exploring Operation: 46+53=99, Resulting Numbers: [99] 99,60 unequal: No Solution Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,60 unequal: No Solution Exploring Operation: 46*53=2438, Resulting Numbers: [2438] 2438,60 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: 60:[16, 95, 20], Operations: ['69-49=20'] Exploring Operation: 20-16=4, Resulting Numbers: [95, 4] Generated Node #0,1,0: 60:[95, 4] Operation: 20-16=4 Exploring Operation: 95-20=75, Resulting Numbers: [16, 75] Generated Node #0,1,1: 60:[16, 75] Operation: 95-20=75 Exploring Operation: 16+20=36, Resulting Numbers: [95, 36] Generated Node #0,1,2: 60:[95, 36] Operation: 16+20=36 Exploring Operation: 95-16=79, Resulting Numbers: [20, 79] Generated Node #0,1,3: 60:[20, 79] Operation: 95-16=79 Moving to Node #0,2 Current State: 60:[69, 49, 79], Operations: ['95-16=79'] Exploring Operation: 69+49=118, Resulting Numbers: [79, 118] Generated Node #0,2,0: 60:[79, 118] Operation: 69+49=118 Exploring Operation: 69-49=20, Resulting Numbers: [79, 20] Generated Node #0,2,1: 60:[79, 20] Operation: 69-49=20 Exploring Operation: 79-49=30, Resulting Numbers: [69, 30] Generated Node #0,2,2: 60:[69, 30] Operation: 79-49=30 Exploring Operation: 79-69=10, Resulting Numbers: [49, 10] Generated Node #0,2,3: 60:[49, 10] Operation: 79-69=10 Moving to Node #0,2,2 Current State: 60:[69, 30], Operations: ['95-16=79', '79-49=30'] Exploring Operation: 69*30=2070, Resulting Numbers: [2070] 2070,60 unequal: No Solution Exploring Operation: 69+30=99, Resulting Numbers: [99] 99,60 unequal: No Solution Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,60 unequal: No Solution Moving to Node #0,2,3 Current State: 60:[49, 10], Operations: ['95-16=79', '79-69=10'] Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,60 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[16, 75], Operations: ['69-49=20', '95-20=75'] Exploring Operation: 16+75=91, Resulting Numbers: [91] 91,60 unequal: No Solution Exploring Operation: 16*75=1200, Resulting Numbers: [1200] 1200,60 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[79, 20], Operations: ['95-16=79', '69-49=20'] Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 79+20=99, Resulting Numbers: [99] 99,60 unequal: No Solution Exploring Operation: 79*20=1580, Resulting Numbers: [1580] 1580,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[20, 79], Operations: ['69-49=20', '95-16=79'] Exploring Operation: 20*79=1580, Resulting Numbers: [1580] 1580,60 unequal: No Solution Exploring Operation: 20+79=99, Resulting Numbers: [99] 99,60 unequal: No Solution Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[95, 4], Operations: ['69-49=20', '20-16=4'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,60 unequal: No Solution Exploring Operation: 95+4=99, Resulting Numbers: [99] 99,60 unequal: No Solution Exploring Operation: 95*4=380, Resulting Numbers: [380] 380,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[95, 36], Operations: ['69-49=20', '16+20=36'] Exploring Operation: 95-36=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 95+36=131, Resulting Numbers: [131] 131,60 unequal: No Solution Exploring Operation: 95*36=3420, Resulting Numbers: [3420] 3420,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[79, 118], Operations: ['95-16=79', '69+49=118'] Exploring Operation: 118-79=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 79+118=197, Resulting Numbers: [197] 197,60 unequal: No Solution Exploring Operation: 79*118=9322, Resulting Numbers: [9322] 9322,60 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 68, 23, 34, 22 ]
47
[ "68/34=2", "23+22=45", "2+45=47" ]
Current State: 47:[68, 23, 34, 22], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [23, 22, 2] Generated Node #2: [23, 22, 2] from Operation: 68/34=2 Current State: 47:[23, 22, 2], Operations: ['68/34=2'] Exploring Operation: 23+22=45, Resulting Numbers: [2, 45] Generated Node #3: [2, 45] from Operation: 23+22=45 Current State: 47:[2, 45], Operations: ['68/34=2', '23+22=45'] Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[68, 23, 34, 22], Operations: [] Exploring Operation: 23+22=45, Resulting Numbers: [68, 34, 45] Generated Node #0,0: 47:[68, 34, 45] Operation: 23+22=45 Exploring Operation: 68-22=46, Resulting Numbers: [23, 34, 46] Generated Node #0,1: 47:[23, 34, 46] Operation: 68-22=46 Moving to Node #0,0 Current State: 47:[68, 34, 45], Operations: ['23+22=45'] Exploring Operation: 68-34=34, Resulting Numbers: [45, 34] Generated Node #0,0,0: 47:[45, 34] Operation: 68-34=34 Exploring Operation: 68-45=23, Resulting Numbers: [34, 23] Generated Node #0,0,1: 47:[34, 23] Operation: 68-45=23 Moving to Node #0,1 Current State: 47:[23, 34, 46], Operations: ['68-22=46'] Exploring Operation: 23+34=57, Resulting Numbers: [46, 57] Generated Node #0,1,0: 47:[46, 57] Operation: 23+34=57 Exploring Operation: 23+46=69, Resulting Numbers: [34, 69] Generated Node #0,1,1: 47:[34, 69] Operation: 23+46=69 Moving to Node #0,1,0 Current State: 47:[46, 57], Operations: ['68-22=46', '23+34=57'] Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,47 unequal: No Solution Exploring Operation: 46+57=103, Resulting Numbers: [103] 103,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[45, 34], Operations: ['23+22=45', '68-34=34'] Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,47 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[34, 69], Operations: ['68-22=46', '23+46=69'] Exploring Operation: 34+69=103, Resulting Numbers: [103] 103,47 unequal: No Solution Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[34, 23], Operations: ['23+22=45', '68-45=23'] Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,47 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 81, 88, 66, 32 ]
27
[ "88-81=7", "66-32=34", "34-7=27" ]
Current State: 27:[81, 88, 66, 32], Operations: [] Exploring Operation: 88-81=7, Resulting Numbers: [66, 32, 7] Generated Node #2: [66, 32, 7] from Operation: 88-81=7 Current State: 27:[66, 32, 7], Operations: ['88-81=7'] Exploring Operation: 66-32=34, Resulting Numbers: [7, 34] Generated Node #3: [7, 34] from Operation: 66-32=34 Current State: 27:[7, 34], Operations: ['88-81=7', '66-32=34'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[81, 88, 66, 32], Operations: [] Exploring Operation: 81-66=15, Resulting Numbers: [88, 32, 15] Generated Node #0,0: 27:[88, 32, 15] Operation: 81-66=15 Exploring Operation: 88-66=22, Resulting Numbers: [81, 32, 22] Generated Node #0,1: 27:[81, 32, 22] Operation: 88-66=22 Exploring Operation: 88-81=7, Resulting Numbers: [66, 32, 7] Generated Node #0,2: 27:[66, 32, 7] Operation: 88-81=7 Exploring Operation: 81-32=49, Resulting Numbers: [88, 66, 49] Generated Node #0,3: 27:[88, 66, 49] Operation: 81-32=49 Exploring Operation: 88-32=56, Resulting Numbers: [81, 66, 56] Generated Node #0,4: 27:[81, 66, 56] Operation: 88-32=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[66, 32, 7], Operations: ['88-81=7'] Exploring Operation: 32-7=25, Resulting Numbers: [66, 25] Generated Node #0,2,0: 27:[66, 25] Operation: 32-7=25 Exploring Operation: 66+7=73, Resulting Numbers: [32, 73] Generated Node #0,2,1: 27:[32, 73] Operation: 66+7=73 Exploring Operation: 32+7=39, Resulting Numbers: [66, 39] Generated Node #0,2,2: 27:[66, 39] Operation: 32+7=39 Exploring Operation: 66-7=59, Resulting Numbers: [32, 59] Generated Node #0,2,3: 27:[32, 59] Operation: 66-7=59 Exploring Operation: 66-32=34, Resulting Numbers: [7, 34] Generated Node #0,2,4: 27:[7, 34] Operation: 66-32=34 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 27:[7, 34], Operations: ['88-81=7', '66-32=34'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[81, 88, 66, 32], Operations: [] Exploring Operation: 88-81=7, Resulting Numbers: [66, 32, 7] Generated Node #0,2: 27:[66, 32, 7] Operation: 88-81=7 Moving to Node #0,2 Current State: 27:[66, 32, 7], Operations: ['88-81=7'] Exploring Operation: 66-32=34, Resulting Numbers: [7, 34] Generated Node #0,2,4: 27:[7, 34] Operation: 66-32=34 Moving to Node #0,2,4 Current State: 27:[7, 34], Operations: ['88-81=7', '66-32=34'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 5, 74, 62, 72 ]
69
[ "5+74=79", "72-62=10", "79-10=69" ]
Current State: 69:[5, 74, 62, 72], Operations: [] Exploring Operation: 5+74=79, Resulting Numbers: [62, 72, 79] Generated Node #2: [62, 72, 79] from Operation: 5+74=79 Current State: 69:[62, 72, 79], Operations: ['5+74=79'] Exploring Operation: 72-62=10, Resulting Numbers: [79, 10] Generated Node #3: [79, 10] from Operation: 72-62=10 Current State: 69:[79, 10], Operations: ['5+74=79', '72-62=10'] Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[5, 74, 62, 72], Operations: [] Exploring Operation: 74-5=69, Resulting Numbers: [62, 72, 69] Generated Node #0,0: 69:[62, 72, 69] Operation: 74-5=69 Exploring Operation: 74-72=2, Resulting Numbers: [5, 62, 2] Generated Node #0,1: 69:[5, 62, 2] Operation: 74-72=2 Exploring Operation: 5+62=67, Resulting Numbers: [74, 72, 67] Generated Node #0,2: 69:[74, 72, 67] Operation: 5+62=67 Moving to Node #0,0 Current State: 69:[62, 72, 69], Operations: ['74-5=69'] Exploring Operation: 69-62=7, Resulting Numbers: [72, 7] Generated Node #0,0,0: 69:[72, 7] Operation: 69-62=7 Exploring Operation: 72-69=3, Resulting Numbers: [62, 3] Generated Node #0,0,1: 69:[62, 3] Operation: 72-69=3 Exploring Operation: 72-62=10, Resulting Numbers: [69, 10] Generated Node #0,0,2: 69:[69, 10] Operation: 72-62=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[72, 7], Operations: ['74-5=69', '69-62=7'] Exploring Operation: 72*7=504, Resulting Numbers: [504] 504,69 unequal: No Solution Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[62, 3], Operations: ['74-5=69', '72-69=3'] Exploring Operation: 62*3=186, Resulting Numbers: [186] 186,69 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,69 unequal: No Solution Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 69:[69, 10], Operations: ['74-5=69', '72-62=10'] Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,69 unequal: No Solution Exploring Operation: 69*10=690, Resulting Numbers: [690] 690,69 unequal: No Solution Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,69 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: 69:[5, 62, 2], Operations: ['74-72=2'] Exploring Operation: 5-2=3, Resulting Numbers: [62, 3] Generated Node #0,1,0: 69:[62, 3] Operation: 5-2=3 Exploring Operation: 5+62=67, Resulting Numbers: [2, 67] Generated Node #0,1,1: 69:[2, 67] Operation: 5+62=67 Exploring Operation: 62+2=64, Resulting Numbers: [5, 64] Generated Node #0,1,2: 69:[5, 64] Operation: 62+2=64 Moving to Node #0,2 Current State: 69:[74, 72, 67], Operations: ['5+62=67'] Exploring Operation: 72-67=5, Resulting Numbers: [74, 5] Generated Node #0,2,0: 69:[74, 5] Operation: 72-67=5 Exploring Operation: 74-72=2, Resulting Numbers: [67, 2] Generated Node #0,2,1: 69:[67, 2] Operation: 74-72=2 Exploring Operation: 74-67=7, Resulting Numbers: [72, 7] Generated Node #0,2,2: 69:[72, 7] Operation: 74-67=7 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 69:[67, 2], Operations: ['5+62=67', '74-72=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[5, 74, 62, 72], Operations: [] Exploring Operation: 5+62=67, Resulting Numbers: [74, 72, 67] Generated Node #0,2: 69:[74, 72, 67] Operation: 5+62=67 Moving to Node #0,2 Current State: 69:[74, 72, 67], Operations: ['5+62=67'] Exploring Operation: 74-72=2, Resulting Numbers: [67, 2] Generated Node #0,2,1: 69:[67, 2] Operation: 74-72=2 Moving to Node #0,2,1 Current State: 69:[67, 2], Operations: ['5+62=67', '74-72=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 78, 94, 13, 96 ]
99
[ "94-78=16", "96-13=83", "16+83=99" ]
Current State: 99:[78, 94, 13, 96], Operations: [] Exploring Operation: 94-78=16, Resulting Numbers: [13, 96, 16] Generated Node #2: [13, 96, 16] from Operation: 94-78=16 Current State: 99:[13, 96, 16], Operations: ['94-78=16'] Exploring Operation: 96-13=83, Resulting Numbers: [16, 83] Generated Node #3: [16, 83] from Operation: 96-13=83 Current State: 99:[16, 83], Operations: ['94-78=16', '96-13=83'] Exploring Operation: 16+83=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[78, 94, 13, 96], Operations: [] Exploring Operation: 94-78=16, Resulting Numbers: [13, 96, 16] Generated Node #0,0: 99:[13, 96, 16] Operation: 94-78=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[13, 96, 16], Operations: ['94-78=16'] Exploring Operation: 16-13=3, Resulting Numbers: [96, 3] Generated Node #0,0,0: 99:[96, 3] Operation: 16-13=3 Moving to Node #0,0,0 Current State: 99:[96, 3], Operations: ['94-78=16', '16-13=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[78, 94, 13, 96], Operations: [] Exploring Operation: 94-78=16, Resulting Numbers: [13, 96, 16] Generated Node #0,0: 99:[13, 96, 16] Operation: 94-78=16 Moving to Node #0,0 Current State: 99:[13, 96, 16], Operations: ['94-78=16'] Exploring Operation: 16-13=3, Resulting Numbers: [96, 3] Generated Node #0,0,0: 99:[96, 3] Operation: 16-13=3 Moving to Node #0,0,0 Current State: 99:[96, 3], Operations: ['94-78=16', '16-13=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 94, 7, 29, 3 ]
49
[ "29*3=87", "94-87=7", "7*7=49" ]
Current State: 49:[94, 7, 29, 3], Operations: [] Exploring Operation: 29*3=87, Resulting Numbers: [94, 7, 87] Generated Node #2: [94, 7, 87] from Operation: 29*3=87 Current State: 49:[94, 7, 87], Operations: ['29*3=87'] Exploring Operation: 94-87=7, Resulting Numbers: [7, 7] Generated Node #3: [7, 7] from Operation: 94-87=7 Current State: 49:[7, 7], Operations: ['29*3=87', '94-87=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[94, 7, 29, 3], Operations: [] Exploring Operation: 94-29=65, Resulting Numbers: [7, 3, 65] Generated Node #0,0: 49:[7, 3, 65] Operation: 94-29=65 Exploring Operation: 94-7=87, Resulting Numbers: [29, 3, 87] Generated Node #0,1: 49:[29, 3, 87] Operation: 94-7=87 Exploring Operation: 94-3=91, Resulting Numbers: [7, 29, 91] Generated Node #0,2: 49:[7, 29, 91] Operation: 94-3=91 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[7, 3, 65], Operations: ['94-29=65'] Exploring Operation: 65-7=58, Resulting Numbers: [3, 58] Generated Node #0,0,0: 49:[3, 58] Operation: 65-7=58 Exploring Operation: 65-3=62, Resulting Numbers: [7, 62] Generated Node #0,0,1: 49:[7, 62] Operation: 65-3=62 Exploring Operation: 7+3=10, Resulting Numbers: [65, 10] Generated Node #0,0,2: 49:[65, 10] Operation: 7+3=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[3, 58], Operations: ['94-29=65', '65-7=58'] Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,49 unequal: No Solution Exploring Operation: 3*58=174, Resulting Numbers: [174] 174,49 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[7, 62], Operations: ['94-29=65', '65-3=62'] Exploring Operation: 7+62=69, Resulting Numbers: [69] 69,49 unequal: No Solution Exploring Operation: 7*62=434, Resulting Numbers: [434] 434,49 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 49:[65, 10], Operations: ['94-29=65', '7+3=10'] Exploring Operation: 65*10=650, Resulting Numbers: [650] 650,49 unequal: No Solution Exploring Operation: 65+10=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[29, 3, 87], Operations: ['94-7=87'] Exploring Operation: 87-29=58, Resulting Numbers: [3, 58] Generated Node #0,1,0: 49:[3, 58] Operation: 87-29=58 Exploring Operation: 87/29=3, Resulting Numbers: [3, 3] Generated Node #0,1,1: 49:[3, 3] Operation: 87/29=3 Exploring Operation: 87/3=29, Resulting Numbers: [29, 29] Generated Node #0,1,2: 49:[29, 29] Operation: 87/3=29 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[3, 3], Operations: ['94-7=87', '87/29=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[3, 58], Operations: ['94-7=87', '87-29=58'] Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,49 unequal: No Solution Exploring Operation: 3*58=174, Resulting Numbers: [174] 174,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[29, 29], Operations: ['94-7=87', '87/3=29'] Exploring Operation: 29/29=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 29+29=58, Resulting Numbers: [58] 58,49 unequal: No Solution Exploring Operation: 29-29=0, Resulting Numbers: [0] 0,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[7, 29, 91], Operations: ['94-3=91'] Exploring Operation: 91-29=62, Resulting Numbers: [7, 62] Generated Node #0,2,0: 49:[7, 62] Operation: 91-29=62 Exploring Operation: 7+29=36, Resulting Numbers: [91, 36] Generated Node #0,2,1: 49:[91, 36] Operation: 7+29=36 Exploring Operation: 91/7=13, Resulting Numbers: [29, 13] Generated Node #0,2,2: 49:[29, 13] Operation: 91/7=13 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 49:[7, 62], Operations: ['94-3=91', '91-29=62'] Exploring Operation: 7+62=69, Resulting Numbers: [69] 69,49 unequal: No Solution Exploring Operation: 7*62=434, Resulting Numbers: [434] 434,49 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[29, 13], Operations: ['94-3=91', '91/7=13'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 29*13=377, Resulting Numbers: [377] 377,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 49:[91, 36], Operations: ['94-3=91', '7+29=36'] Exploring Operation: 91*36=3276, Resulting Numbers: [3276] 3276,49 unequal: No Solution Exploring Operation: 91-36=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 91+36=127, Resulting Numbers: [127] 127,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 2, 15, 65, 17 ]
31
[ "2+15=17", "65-17=48", "48-17=31" ]
Current State: 31:[2, 15, 65, 17], Operations: [] Exploring Operation: 2+15=17, Resulting Numbers: [65, 17, 17] Generated Node #2: [65, 17, 17] from Operation: 2+15=17 Current State: 31:[65, 17, 17], Operations: ['2+15=17'] Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,31 equal: Goal Reached Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[2, 15, 65, 17], Operations: [] Exploring Operation: 2*15=30, Resulting Numbers: [65, 17, 30] Generated Node #0,0: 31:[65, 17, 30] Operation: 2*15=30 Exploring Operation: 2*17=34, Resulting Numbers: [15, 65, 34] Generated Node #0,1: 31:[15, 65, 34] Operation: 2*17=34 Exploring Operation: 2+15=17, Resulting Numbers: [65, 17, 17] Generated Node #0,2: 31:[65, 17, 17] Operation: 2+15=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[65, 17, 30], Operations: ['2*15=30'] Exploring Operation: 17+30=47, Resulting Numbers: [65, 47] Generated Node #0,0,0: 31:[65, 47] Operation: 17+30=47 Exploring Operation: 65-30=35, Resulting Numbers: [17, 35] Generated Node #0,0,1: 31:[17, 35] Operation: 65-30=35 Exploring Operation: 65-17=48, Resulting Numbers: [30, 48] Generated Node #0,0,2: 31:[30, 48] Operation: 65-17=48 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[17, 35], Operations: ['2*15=30', '65-30=35'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 17+35=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 17*35=595, Resulting Numbers: [595] 595,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[30, 48], Operations: ['2*15=30', '65-17=48'] Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,31 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 30*48=1440, Resulting Numbers: [1440] 1440,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[65, 47], Operations: ['2*15=30', '17+30=47'] Exploring Operation: 65+47=112, Resulting Numbers: [112] 112,31 unequal: No Solution Exploring Operation: 65-47=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 65*47=3055, Resulting Numbers: [3055] 3055,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[15, 65, 34], Operations: ['2*17=34'] Exploring Operation: 65-34=31, Resulting Numbers: [15, 31] Generated Node #0,1,0: 31:[15, 31] Operation: 65-34=31 Exploring Operation: 34-15=19, Resulting Numbers: [65, 19] Generated Node #0,1,1: 31:[65, 19] Operation: 34-15=19 Exploring Operation: 65-15=50, Resulting Numbers: [34, 50] Generated Node #0,1,2: 31:[34, 50] Operation: 65-15=50 Moving to Node #0,1,0 Current State: 31:[15, 31], Operations: ['2*17=34', '65-34=31'] Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,31 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[34, 50], Operations: ['2*17=34', '65-15=50'] Exploring Operation: 34+50=84, Resulting Numbers: [84] 84,31 unequal: No Solution Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 34*50=1700, Resulting Numbers: [1700] 1700,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[65, 19], Operations: ['2*17=34', '34-15=19'] Exploring Operation: 65+19=84, Resulting Numbers: [84] 84,31 unequal: No Solution Exploring Operation: 65*19=1235, Resulting Numbers: [1235] 1235,31 unequal: No Solution Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[65, 17, 17], Operations: ['2+15=17'] Exploring Operation: 65-17=48, Resulting Numbers: [17, 48] Generated Node #0,2,0: 31:[17, 48] Operation: 65-17=48 Exploring Operation: 65-17=48, Resulting Numbers: [17, 48] Generated Node #0,2,1: 31:[17, 48] Operation: 65-17=48 Exploring Operation: 17+17=34, Resulting Numbers: [65, 34] Generated Node #0,2,2: 31:[65, 34] Operation: 17+17=34 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[17, 48], Operations: ['2+15=17', '65-17=48'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[2, 15, 65, 17], Operations: [] Exploring Operation: 2+15=17, Resulting Numbers: [65, 17, 17] Generated Node #0,2: 31:[65, 17, 17] Operation: 2+15=17 Moving to Node #0,2 Current State: 31:[65, 17, 17], Operations: ['2+15=17'] Exploring Operation: 65-17=48, Resulting Numbers: [17, 48] Generated Node #0,2,0: 31:[17, 48] Operation: 65-17=48 Moving to Node #0,2,0 Current State: 31:[17, 48], Operations: ['2+15=17', '65-17=48'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_3
mult_heuristic
[ 7, 57, 6, 30 ]
10
[ "57-7=50", "30/6=5", "50/5=10" ]
Current State: 10:[7, 57, 6, 30], Operations: [] Exploring Operation: 57-7=50, Resulting Numbers: [6, 30, 50] Generated Node #2: [6, 30, 50] from Operation: 57-7=50 Current State: 10:[6, 30, 50], Operations: ['57-7=50'] Exploring Operation: 30/6=5, Resulting Numbers: [50, 5] Generated Node #3: [50, 5] from Operation: 30/6=5 Current State: 10:[50, 5], Operations: ['57-7=50', '30/6=5'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[7, 57, 6, 30], Operations: [] Exploring Operation: 30-7=23, Resulting Numbers: [57, 6, 23] Generated Node #0,0: 10:[57, 6, 23] Operation: 30-7=23 Exploring Operation: 57-6=51, Resulting Numbers: [7, 30, 51] Generated Node #0,1: 10:[7, 30, 51] Operation: 57-6=51 Exploring Operation: 57-7=50, Resulting Numbers: [6, 30, 50] Generated Node #0,2: 10:[6, 30, 50] Operation: 57-7=50 Exploring Operation: 57-30=27, Resulting Numbers: [7, 6, 27] Generated Node #0,3: 10:[7, 6, 27] Operation: 57-30=27 Exploring Operation: 30/6=5, Resulting Numbers: [7, 57, 5] Generated Node #0,4: 10:[7, 57, 5] Operation: 30/6=5 Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[7, 6, 27], Operations: ['57-30=27'] Exploring Operation: 27-6=21, Resulting Numbers: [7, 21] Generated Node #0,3,0: 10:[7, 21] Operation: 27-6=21 Exploring Operation: 7+27=34, Resulting Numbers: [6, 34] Generated Node #0,3,1: 10:[6, 34] Operation: 7+27=34 Exploring Operation: 27-7=20, Resulting Numbers: [6, 20] Generated Node #0,3,2: 10:[6, 20] Operation: 27-7=20 Exploring Operation: 7+6=13, Resulting Numbers: [27, 13] Generated Node #0,3,3: 10:[27, 13] Operation: 7+6=13 Exploring Operation: 7-6=1, Resulting Numbers: [27, 1] Generated Node #0,3,4: 10:[27, 1] Operation: 7-6=1 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 10:[6, 20], Operations: ['57-30=27', '27-7=20'] Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,10 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 10:[7, 21], Operations: ['57-30=27', '27-6=21'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,10 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 7*21=147, Resulting Numbers: [147] 147,10 unequal: No Solution Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 10:[27, 1], Operations: ['57-30=27', '7-6=1'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,10 unequal: No Solution Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 10:[27, 13], Operations: ['57-30=27', '7+6=13'] Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,10 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 10:[6, 34], Operations: ['57-30=27', '7+27=34'] Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,10 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 10:[7, 57, 5], Operations: ['30/6=5'] Exploring Operation: 57-7=50, Resulting Numbers: [5, 50] Generated Node #0,4,0: 10:[5, 50] Operation: 57-7=50 Exploring Operation: 57-5=52, Resulting Numbers: [7, 52] Generated Node #0,4,1: 10:[7, 52] Operation: 57-5=52 Exploring Operation: 7+57=64, Resulting Numbers: [5, 64] Generated Node #0,4,2: 10:[5, 64] Operation: 7+57=64 Exploring Operation: 7+5=12, Resulting Numbers: [57, 12] Generated Node #0,4,3: 10:[57, 12] Operation: 7+5=12 Exploring Operation: 7-5=2, Resulting Numbers: [57, 2] Generated Node #0,4,4: 10:[57, 2] Operation: 7-5=2 Moving to Node #0,4,0 Current State: 10:[5, 50], Operations: ['30/6=5', '57-7=50'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[7, 57, 6, 30], Operations: [] Exploring Operation: 30/6=5, Resulting Numbers: [7, 57, 5] Generated Node #0,4: 10:[7, 57, 5] Operation: 30/6=5 Moving to Node #0,4 Current State: 10:[7, 57, 5], Operations: ['30/6=5'] Exploring Operation: 57-7=50, Resulting Numbers: [5, 50] Generated Node #0,4,0: 10:[5, 50] Operation: 57-7=50 Moving to Node #0,4,0 Current State: 10:[5, 50], Operations: ['30/6=5', '57-7=50'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 19, 75, 3, 47 ]
27
[ "75-19=56", "56-47=9", "3*9=27" ]
Current State: 27:[19, 75, 3, 47], Operations: [] Exploring Operation: 75-19=56, Resulting Numbers: [3, 47, 56] Generated Node #2: [3, 47, 56] from Operation: 75-19=56 Current State: 27:[3, 47, 56], Operations: ['75-19=56'] Exploring Operation: 56-47=9, Resulting Numbers: [3, 9] Generated Node #3: [3, 9] from Operation: 56-47=9 Current State: 27:[3, 9], Operations: ['75-19=56', '56-47=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[19, 75, 3, 47], Operations: [] Exploring Operation: 75-47=28, Resulting Numbers: [19, 3, 28] Generated Node #0,0: 27:[19, 3, 28] Operation: 75-47=28 Exploring Operation: 75/3=25, Resulting Numbers: [19, 47, 25] Generated Node #0,1: 27:[19, 47, 25] Operation: 75/3=25 Exploring Operation: 75-19=56, Resulting Numbers: [3, 47, 56] Generated Node #0,2: 27:[3, 47, 56] Operation: 75-19=56 Moving to Node #0,0 Current State: 27:[19, 3, 28], Operations: ['75-47=28'] Exploring Operation: 19+3=22, Resulting Numbers: [28, 22] Generated Node #0,0,0: 27:[28, 22] Operation: 19+3=22 Exploring Operation: 19-3=16, Resulting Numbers: [28, 16] Generated Node #0,0,1: 27:[28, 16] Operation: 19-3=16 Exploring Operation: 28-19=9, Resulting Numbers: [3, 9] Generated Node #0,0,2: 27:[3, 9] Operation: 28-19=9 Moving to Node #0,1 Current State: 27:[19, 47, 25], Operations: ['75/3=25'] Exploring Operation: 25-19=6, Resulting Numbers: [47, 6] Generated Node #0,1,0: 27:[47, 6] Operation: 25-19=6 Exploring Operation: 47-19=28, Resulting Numbers: [25, 28] Generated Node #0,1,1: 27:[25, 28] Operation: 47-19=28 Exploring Operation: 47-25=22, Resulting Numbers: [19, 22] Generated Node #0,1,2: 27:[19, 22] Operation: 47-25=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[25, 28], Operations: ['75/3=25', '47-19=28'] Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 25*28=700, Resulting Numbers: [700] 700,27 unequal: No Solution Exploring Operation: 25+28=53, Resulting Numbers: [53] 53,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[19, 22], Operations: ['75/3=25', '47-25=22'] Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,27 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[47, 6], Operations: ['75/3=25', '25-19=6'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,27 unequal: No Solution Exploring Operation: 47*6=282, Resulting Numbers: [282] 282,27 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: 27:[3, 47, 56], Operations: ['75-19=56'] Exploring Operation: 47-3=44, Resulting Numbers: [56, 44] Generated Node #0,2,0: 27:[56, 44] Operation: 47-3=44 Exploring Operation: 56-47=9, Resulting Numbers: [3, 9] Generated Node #0,2,1: 27:[3, 9] Operation: 56-47=9 Exploring Operation: 56-3=53, Resulting Numbers: [47, 53] Generated Node #0,2,2: 27:[47, 53] Operation: 56-3=53 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[3, 9], Operations: ['75-19=56', '56-47=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[19, 75, 3, 47], Operations: [] Exploring Operation: 75-19=56, Resulting Numbers: [3, 47, 56] Generated Node #0,2: 27:[3, 47, 56] Operation: 75-19=56 Moving to Node #0,2 Current State: 27:[3, 47, 56], Operations: ['75-19=56'] Exploring Operation: 56-47=9, Resulting Numbers: [3, 9] Generated Node #0,2,1: 27:[3, 9] Operation: 56-47=9 Moving to Node #0,2,1 Current State: 27:[3, 9], Operations: ['75-19=56', '56-47=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 49, 70, 33, 61 ]
49
[ "70-49=21", "61-33=28", "21+28=49" ]
Current State: 49:[49, 70, 33, 61], Operations: [] Exploring Operation: 70-49=21, Resulting Numbers: [33, 61, 21] Generated Node #2: [33, 61, 21] from Operation: 70-49=21 Current State: 49:[33, 61, 21], Operations: ['70-49=21'] Exploring Operation: 61-33=28, Resulting Numbers: [21, 28] Generated Node #3: [21, 28] from Operation: 61-33=28 Current State: 49:[21, 28], Operations: ['70-49=21', '61-33=28'] Exploring Operation: 21+28=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[49, 70, 33, 61], Operations: [] Exploring Operation: 70-49=21, Resulting Numbers: [33, 61, 21] Generated Node #0,0: 49:[33, 61, 21] Operation: 70-49=21 Exploring Operation: 70-61=9, Resulting Numbers: [49, 33, 9] Generated Node #0,1: 49:[49, 33, 9] Operation: 70-61=9 Exploring Operation: 49-33=16, Resulting Numbers: [70, 61, 16] Generated Node #0,2: 49:[70, 61, 16] Operation: 49-33=16 Exploring Operation: 70-33=37, Resulting Numbers: [49, 61, 37] Generated Node #0,3: 49:[49, 61, 37] Operation: 70-33=37 Moving to Node #0,1 Current State: 49:[49, 33, 9], Operations: ['70-61=9'] Exploring Operation: 49-33=16, Resulting Numbers: [9, 16] Generated Node #0,1,0: 49:[9, 16] Operation: 49-33=16 Exploring Operation: 33-9=24, Resulting Numbers: [49, 24] Generated Node #0,1,1: 49:[49, 24] Operation: 33-9=24 Exploring Operation: 33+9=42, Resulting Numbers: [49, 42] Generated Node #0,1,2: 49:[49, 42] Operation: 33+9=42 Exploring Operation: 49+9=58, Resulting Numbers: [33, 58] Generated Node #0,1,3: 49:[33, 58] Operation: 49+9=58 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 49:[49, 42], Operations: ['70-61=9', '33+9=42'] Exploring Operation: 49*42=2058, Resulting Numbers: [2058] 2058,49 unequal: No Solution Exploring Operation: 49+42=91, Resulting Numbers: [91] 91,49 unequal: No Solution Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[9, 16], Operations: ['70-61=9', '49-33=16'] Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,49 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[49, 24], Operations: ['70-61=9', '33-9=24'] Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,49 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,49 unequal: No Solution Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 49:[33, 58], Operations: ['70-61=9', '49+9=58'] Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,49 unequal: No Solution Exploring Operation: 33+58=91, Resulting Numbers: [91] 91,49 unequal: No Solution Exploring Operation: 33*58=1914, Resulting Numbers: [1914] 1914,49 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: 49:[49, 61, 37], Operations: ['70-33=37'] Exploring Operation: 49+37=86, Resulting Numbers: [61, 86] Generated Node #0,3,0: 49:[61, 86] Operation: 49+37=86 Exploring Operation: 49-37=12, Resulting Numbers: [61, 12] Generated Node #0,3,1: 49:[61, 12] Operation: 49-37=12 Exploring Operation: 61-37=24, Resulting Numbers: [49, 24] Generated Node #0,3,2: 49:[49, 24] Operation: 61-37=24 Exploring Operation: 61-49=12, Resulting Numbers: [37, 12] Generated Node #0,3,3: 49:[37, 12] Operation: 61-49=12 Moving to Node #0,2 Current State: 49:[70, 61, 16], Operations: ['49-33=16'] Exploring Operation: 70-16=54, Resulting Numbers: [61, 54] Generated Node #0,2,0: 49:[61, 54] Operation: 70-16=54 Exploring Operation: 70-61=9, Resulting Numbers: [16, 9] Generated Node #0,2,1: 49:[16, 9] Operation: 70-61=9 Exploring Operation: 70+16=86, Resulting Numbers: [61, 86] Generated Node #0,2,2: 49:[61, 86] Operation: 70+16=86 Exploring Operation: 61-16=45, Resulting Numbers: [70, 45] Generated Node #0,2,3: 49:[70, 45] Operation: 61-16=45 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[16, 9], Operations: ['49-33=16', '70-61=9'] Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,49 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[61, 54], Operations: ['49-33=16', '70-16=54'] Exploring Operation: 61*54=3294, Resulting Numbers: [3294] 3294,49 unequal: No Solution Exploring Operation: 61-54=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 61+54=115, Resulting Numbers: [115] 115,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 49:[70, 45], Operations: ['49-33=16', '61-16=45'] Exploring Operation: 70+45=115, Resulting Numbers: [115] 115,49 unequal: No Solution Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,49 unequal: No Solution Exploring Operation: 70*45=3150, Resulting Numbers: [3150] 3150,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[61, 86], Operations: ['49-33=16', '70+16=86'] Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,49 unequal: No Solution Exploring Operation: 61+86=147, Resulting Numbers: [147] 147,49 unequal: No Solution Exploring Operation: 61*86=5246, Resulting Numbers: [5246] 5246,49 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: 49:[33, 61, 21], Operations: ['70-49=21'] Exploring Operation: 33-21=12, Resulting Numbers: [61, 12] Generated Node #0,0,0: 49:[61, 12] Operation: 33-21=12 Exploring Operation: 61-33=28, Resulting Numbers: [21, 28] Generated Node #0,0,1: 49:[21, 28] Operation: 61-33=28 Exploring Operation: 33+21=54, Resulting Numbers: [61, 54] Generated Node #0,0,2: 49:[61, 54] Operation: 33+21=54 Exploring Operation: 61-21=40, Resulting Numbers: [33, 40] Generated Node #0,0,3: 49:[33, 40] Operation: 61-21=40 Moving to Node #0,3,1 Current State: 49:[61, 12], Operations: ['70-33=37', '49-37=12'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[49, 70, 33, 61], Operations: [] Exploring Operation: 70-33=37, Resulting Numbers: [49, 61, 37] Generated Node #0,3: 49:[49, 61, 37] Operation: 70-33=37 Moving to Node #0,3 Current State: 49:[49, 61, 37], Operations: ['70-33=37'] Exploring Operation: 49-37=12, Resulting Numbers: [61, 12] Generated Node #0,3,1: 49:[61, 12] Operation: 49-37=12 Moving to Node #0,3,1 Current State: 49:[61, 12], Operations: ['70-33=37', '49-37=12'] Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.957465
hs_4
mult_heuristic
[ 83, 87, 84, 43 ]
43
[ "83+87=170", "84+43=127", "170-127=43" ]
Current State: 43:[83, 87, 84, 43], Operations: [] Exploring Operation: 83+87=170, Resulting Numbers: [84, 43, 170] Generated Node #2: [84, 43, 170] from Operation: 83+87=170 Current State: 43:[84, 43, 170], Operations: ['83+87=170'] Exploring Operation: 84+43=127, Resulting Numbers: [170, 127] Generated Node #3: [170, 127] from Operation: 84+43=127 Current State: 43:[170, 127], Operations: ['83+87=170', '84+43=127'] Exploring Operation: 170-127=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[83, 87, 84, 43], Operations: [] Exploring Operation: 87-83=4, Resulting Numbers: [84, 43, 4] Generated Node #0,0: 43:[84, 43, 4] Operation: 87-83=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[84, 43, 4], Operations: ['87-83=4'] Exploring Operation: 84/4=21, Resulting Numbers: [43, 21] Generated Node #0,0,0: 43:[43, 21] Operation: 84/4=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[43, 21], Operations: ['87-83=4', '84/4=21'] Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 3, 35, 6, 8 ]
62
[ "6/3=2", "35*2=70", "70-8=62" ]
Current State: 62:[3, 35, 6, 8], Operations: [] Exploring Operation: 6/3=2, Resulting Numbers: [35, 8, 2] Generated Node #2: [35, 8, 2] from Operation: 6/3=2 Current State: 62:[35, 8, 2], Operations: ['6/3=2'] Exploring Operation: 35*2=70, Resulting Numbers: [8, 70] Generated Node #3: [8, 70] from Operation: 35*2=70 Current State: 62:[8, 70], Operations: ['6/3=2', '35*2=70'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[3, 35, 6, 8], Operations: [] Exploring Operation: 35-8=27, Resulting Numbers: [3, 6, 27] Generated Node #0,0: 62:[3, 6, 27] Operation: 35-8=27 Exploring Operation: 35-6=29, Resulting Numbers: [3, 8, 29] Generated Node #0,1: 62:[3, 8, 29] Operation: 35-6=29 Exploring Operation: 35-3=32, Resulting Numbers: [6, 8, 32] Generated Node #0,2: 62:[6, 8, 32] Operation: 35-3=32 Exploring Operation: 6/3=2, Resulting Numbers: [35, 8, 2] Generated Node #0,3: 62:[35, 8, 2] Operation: 6/3=2 Exploring Operation: 8-6=2, Resulting Numbers: [3, 35, 2] Generated Node #0,4: 62:[3, 35, 2] Operation: 8-6=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 62:[3, 35, 2], Operations: ['8-6=2'] Exploring Operation: 3+35=38, Resulting Numbers: [2, 38] Generated Node #0,4,0: 62:[2, 38] Operation: 3+35=38 Exploring Operation: 35-2=33, Resulting Numbers: [3, 33] Generated Node #0,4,1: 62:[3, 33] Operation: 35-2=33 Exploring Operation: 3+2=5, Resulting Numbers: [35, 5] Generated Node #0,4,2: 62:[35, 5] Operation: 3+2=5 Exploring Operation: 3-2=1, Resulting Numbers: [35, 1] Generated Node #0,4,3: 62:[35, 1] Operation: 3-2=1 Exploring Operation: 35-3=32, Resulting Numbers: [2, 32] Generated Node #0,4,4: 62:[2, 32] Operation: 35-3=32 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 62:[2, 32], Operations: ['8-6=2', '35-3=32'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,62 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,62 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 62:[3, 33], Operations: ['8-6=2', '35-2=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 62:[35, 1], Operations: ['8-6=2', '3-2=1'] Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,62 unequal: No Solution Exploring Operation: 35/1=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 62:[2, 38], Operations: ['8-6=2', '3+35=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 62:[35, 5], Operations: ['8-6=2', '3+2=5'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,62 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[3, 6, 27], Operations: ['35-8=27'] Exploring Operation: 3+27=30, Resulting Numbers: [6, 30] Generated Node #0,0,0: 62:[6, 30] Operation: 3+27=30 Exploring Operation: 6-3=3, Resulting Numbers: [27, 3] Generated Node #0,0,1: 62:[27, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [27, 2] Generated Node #0,0,2: 62:[27, 2] Operation: 6/3=2 Exploring Operation: 3+6=9, Resulting Numbers: [27, 9] Generated Node #0,0,3: 62:[27, 9] Operation: 3+6=9 Exploring Operation: 6+27=33, Resulting Numbers: [3, 33] Generated Node #0,0,4: 62:[3, 33] Operation: 6+27=33 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 62:[3, 33], Operations: ['35-8=27', '6+27=33'] Exploring Operation: 3*33=99, Resulting Numbers: [99] 99,62 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[27, 2], Operations: ['35-8=27', '6/3=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,62 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[6, 30], Operations: ['35-8=27', '3+27=30'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 6*30=180, Resulting Numbers: [180] 180,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[27, 3], Operations: ['35-8=27', '6-3=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,62 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 62:[27, 9], Operations: ['35-8=27', '3+6=9'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,62 unequal: No Solution Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,62 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[3, 8, 29], Operations: ['35-6=29'] Exploring Operation: 8-3=5, Resulting Numbers: [29, 5] Generated Node #0,1,0: 62:[29, 5] Operation: 8-3=5 Exploring Operation: 8+29=37, Resulting Numbers: [3, 37] Generated Node #0,1,1: 62:[3, 37] Operation: 8+29=37 Exploring Operation: 3*8=24, Resulting Numbers: [29, 24] Generated Node #0,1,2: 62:[29, 24] Operation: 3*8=24 Exploring Operation: 3+29=32, Resulting Numbers: [8, 32] Generated Node #0,1,3: 62:[8, 32] Operation: 3+29=32 Exploring Operation: 3+8=11, Resulting Numbers: [29, 11] Generated Node #0,1,4: 62:[29, 11] Operation: 3+8=11 Moving to Node #0,1,0 Current State: 62:[29, 5], Operations: ['35-6=29', '8-3=5'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,62 unequal: No Solution Exploring Operation: 29*5=145, Resulting Numbers: [145] 145,62 unequal: No Solution Moving to Node #0,1,3 Current State: 62:[8, 32], Operations: ['35-6=29', '3+29=32'] Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 8*32=256, Resulting Numbers: [256] 256,62 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[3, 37], Operations: ['35-6=29', '8+29=37'] Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,62 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[29, 24], Operations: ['35-6=29', '3*8=24'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,62 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,62 unequal: No Solution Moving to Node #0,1,4 Current State: 62:[29, 11], Operations: ['35-6=29', '3+8=11'] Exploring Operation: 29*11=319, Resulting Numbers: [319] 319,62 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 29+11=40, Resulting Numbers: [40] 40,62 unequal: No Solution No 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: 62:[35, 8, 2], Operations: ['6/3=2'] Exploring Operation: 35-2=33, Resulting Numbers: [8, 33] Generated Node #0,3,0: 62:[8, 33] Operation: 35-2=33 Exploring Operation: 8/2=4, Resulting Numbers: [35, 4] Generated Node #0,3,1: 62:[35, 4] Operation: 8/2=4 Exploring Operation: 35-8=27, Resulting Numbers: [2, 27] Generated Node #0,3,2: 62:[2, 27] Operation: 35-8=27 Exploring Operation: 35+8=43, Resulting Numbers: [2, 43] Generated Node #0,3,3: 62:[2, 43] Operation: 35+8=43 Exploring Operation: 8-2=6, Resulting Numbers: [35, 6] Generated Node #0,3,4: 62:[35, 6] Operation: 8-2=6 Moving to Node #0,3,2 Current State: 62:[2, 27], Operations: ['6/3=2', '35-8=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[35, 4], Operations: ['6/3=2', '8/2=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[8, 33], Operations: ['6/3=2', '35-2=33'] Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,62 unequal: No Solution Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,62 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,62 unequal: No Solution Moving to Node #0,3,4 Current State: 62:[35, 6], Operations: ['6/3=2', '8-2=6'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,62 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[2, 43], Operations: ['6/3=2', '35+8=43'] Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,62 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,62 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,62 unequal: No Solution No 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: 62:[6, 8, 32], Operations: ['35-3=32'] Exploring Operation: 32-6=26, Resulting Numbers: [8, 26] Generated Node #0,2,0: 62:[8, 26] Operation: 32-6=26 Exploring Operation: 8-6=2, Resulting Numbers: [32, 2] Generated Node #0,2,1: 62:[32, 2] Operation: 8-6=2 Exploring Operation: 32-8=24, Resulting Numbers: [6, 24] Generated Node #0,2,2: 62:[6, 24] Operation: 32-8=24 Exploring Operation: 32/8=4, Resulting Numbers: [6, 4] Generated Node #0,2,3: 62:[6, 4] Operation: 32/8=4 Exploring Operation: 6+8=14, Resulting Numbers: [32, 14] Generated Node #0,2,4: 62:[32, 14] Operation: 6+8=14 Moving to Node #0,2,1 Current State: 62:[32, 2], Operations: ['35-3=32', '8-6=2'] Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,62 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[6, 4], Operations: ['35-3=32', '32/8=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,62 unequal: No Solution Moving to Node #0,2,0 Current State: 62:[8, 26], Operations: ['35-3=32', '32-6=26'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,62 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,62 unequal: No Solution Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[6, 24], Operations: ['35-3=32', '32-8=24'] Exploring Operation: 6*24=144, Resulting Numbers: [144] 144,62 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,62 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,62 unequal: No Solution Moving to Node #0,2,4 Current State: 62:[32, 14], Operations: ['35-3=32', '6+8=14'] Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,62 unequal: No Solution Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,62 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 28, 71, 22, 44 ]
22
[ "71-28=43", "44-43=1", "22*1=22" ]
Current State: 22:[28, 71, 22, 44], Operations: [] Exploring Operation: 71-28=43, Resulting Numbers: [22, 44, 43] Generated Node #2: [22, 44, 43] from Operation: 71-28=43 Current State: 22:[22, 44, 43], Operations: ['71-28=43'] Exploring Operation: 44-43=1, Resulting Numbers: [22, 1] Generated Node #3: [22, 1] from Operation: 44-43=1 Current State: 22:[22, 1], Operations: ['71-28=43', '44-43=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[28, 71, 22, 44], Operations: [] Exploring Operation: 71-44=27, Resulting Numbers: [28, 22, 27] Generated Node #0,0: 22:[28, 22, 27] Operation: 71-44=27 Exploring Operation: 71-28=43, Resulting Numbers: [22, 44, 43] Generated Node #0,1: 22:[22, 44, 43] Operation: 71-28=43 Exploring Operation: 44-28=16, Resulting Numbers: [71, 22, 16] Generated Node #0,2: 22:[71, 22, 16] Operation: 44-28=16 Moving to Node #0,0 Current State: 22:[28, 22, 27], Operations: ['71-44=27'] Exploring Operation: 27-22=5, Resulting Numbers: [28, 5] Generated Node #0,0,0: 22:[28, 5] Operation: 27-22=5 Exploring Operation: 28-22=6, Resulting Numbers: [27, 6] Generated Node #0,0,1: 22:[27, 6] Operation: 28-22=6 Exploring Operation: 28-27=1, Resulting Numbers: [22, 1] Generated Node #0,0,2: 22:[22, 1] Operation: 28-27=1 Moving to Node #0,1 Current State: 22:[22, 44, 43], Operations: ['71-28=43'] Exploring Operation: 44-43=1, Resulting Numbers: [22, 1] Generated Node #0,1,0: 22:[22, 1] Operation: 44-43=1 Exploring Operation: 44-22=22, Resulting Numbers: [43, 22] Generated Node #0,1,1: 22:[43, 22] Operation: 44-22=22 Exploring Operation: 44/22=2, Resulting Numbers: [43, 2] Generated Node #0,1,2: 22:[43, 2] Operation: 44/22=2 Moving to Node #0,2 Current State: 22:[71, 22, 16], Operations: ['44-28=16'] Exploring Operation: 22-16=6, Resulting Numbers: [71, 6] Generated Node #0,2,0: 22:[71, 6] Operation: 22-16=6 Exploring Operation: 71-22=49, Resulting Numbers: [16, 49] Generated Node #0,2,1: 22:[16, 49] Operation: 71-22=49 Exploring Operation: 71-16=55, Resulting Numbers: [22, 55] Generated Node #0,2,2: 22:[22, 55] Operation: 71-16=55 Moving to Node #0,0,2 Current State: 22:[22, 1], Operations: ['71-44=27', '28-27=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[28, 71, 22, 44], Operations: [] Exploring Operation: 71-44=27, Resulting Numbers: [28, 22, 27] Generated Node #0,0: 22:[28, 22, 27] Operation: 71-44=27 Moving to Node #0,0 Current State: 22:[28, 22, 27], Operations: ['71-44=27'] Exploring Operation: 28-27=1, Resulting Numbers: [22, 1] Generated Node #0,0,2: 22:[22, 1] Operation: 28-27=1 Moving to Node #0,0,2 Current State: 22:[22, 1], Operations: ['71-44=27', '28-27=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.985243
hs_3
mult_heuristic
[ 54, 10, 11, 8 ]
25
[ "54-10=44", "11+8=19", "44-19=25" ]
Current State: 25:[54, 10, 11, 8], Operations: [] Exploring Operation: 54-10=44, Resulting Numbers: [11, 8, 44] Generated Node #2: [11, 8, 44] from Operation: 54-10=44 Current State: 25:[11, 8, 44], Operations: ['54-10=44'] Exploring Operation: 11+8=19, Resulting Numbers: [44, 19] Generated Node #3: [44, 19] from Operation: 11+8=19 Current State: 25:[44, 19], Operations: ['54-10=44', '11+8=19'] Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[54, 10, 11, 8], Operations: [] Exploring Operation: 54-8=46, Resulting Numbers: [10, 11, 46] Generated Node #0,0: 25:[10, 11, 46] Operation: 54-8=46 Exploring Operation: 54-11=43, Resulting Numbers: [10, 8, 43] Generated Node #0,1: 25:[10, 8, 43] Operation: 54-11=43 Exploring Operation: 54-10=44, Resulting Numbers: [11, 8, 44] Generated Node #0,2: 25:[11, 8, 44] Operation: 54-10=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[10, 8, 43], Operations: ['54-11=43'] Exploring Operation: 10-8=2, Resulting Numbers: [43, 2] Generated Node #0,1,0: 25:[43, 2] Operation: 10-8=2 Exploring Operation: 43-10=33, Resulting Numbers: [8, 33] Generated Node #0,1,1: 25:[8, 33] Operation: 43-10=33 Exploring Operation: 43-8=35, Resulting Numbers: [10, 35] Generated Node #0,1,2: 25:[10, 35] Operation: 43-8=35 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[8, 33], Operations: ['54-11=43', '43-10=33'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[54, 10, 11, 8], Operations: [] Exploring Operation: 54-11=43, Resulting Numbers: [10, 8, 43] Generated Node #0,1: 25:[10, 8, 43] Operation: 54-11=43 Moving to Node #0,1 Current State: 25:[10, 8, 43], Operations: ['54-11=43'] Exploring Operation: 43-10=33, Resulting Numbers: [8, 33] Generated Node #0,1,1: 25:[8, 33] Operation: 43-10=33 Moving to Node #0,1,1 Current State: 25:[8, 33], Operations: ['54-11=43', '43-10=33'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 12, 58, 9, 9 ]
85
[ "12-9=3", "9*3=27", "58+27=85" ]
Current State: 85:[12, 58, 9, 9], Operations: [] Exploring Operation: 12-9=3, Resulting Numbers: [58, 3] Generated Node #2: [58, 3] from Operation: 12-9=3 Current State: 85:[58, 3], Operations: ['12-9=3'] Exploring Operation: 9*3=27, Resulting Numbers: [58, 27] Generated Node #3: [58, 27] from Operation: 9*3=27 Current State: 85:[58, 27], Operations: ['12-9=3', '9*3=27'] Exploring Operation: 58+27=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[12, 58, 9, 9], Operations: [] Exploring Operation: 12+58=70, Resulting Numbers: [9, 9, 70] Generated Node #0,0: 85:[9, 9, 70] Operation: 12+58=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[9, 9, 70], Operations: ['12+58=70'] Exploring Operation: 9+70=79, Resulting Numbers: [9, 79] Generated Node #0,0,0: 85:[9, 79] Operation: 9+70=79 Moving to Node #0,0,0 Current State: 85:[9, 79], Operations: ['12+58=70', '9+70=79'] Exploring Operation: 9+79=88, Resulting Numbers: [88] 88,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
[ 31, 99, 59, 10 ]
81
[ "31+99=130", "59-10=49", "130-49=81" ]
Current State: 81:[31, 99, 59, 10], Operations: [] Exploring Operation: 31+99=130, Resulting Numbers: [59, 10, 130] Generated Node #2: [59, 10, 130] from Operation: 31+99=130 Current State: 81:[59, 10, 130], Operations: ['31+99=130'] Exploring Operation: 59-10=49, Resulting Numbers: [130, 49] Generated Node #3: [130, 49] from Operation: 59-10=49 Current State: 81:[130, 49], Operations: ['31+99=130', '59-10=49'] Exploring Operation: 130-49=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[31, 99, 59, 10], Operations: [] Exploring Operation: 59-31=28, Resulting Numbers: [99, 10, 28] Generated Node #0,0: 81:[99, 10, 28] Operation: 59-31=28 Exploring Operation: 99-59=40, Resulting Numbers: [31, 10, 40] Generated Node #0,1: 81:[31, 10, 40] Operation: 99-59=40 Moving to Node #0,1 Current State: 81:[31, 10, 40], Operations: ['99-59=40'] Exploring Operation: 40-31=9, Resulting Numbers: [10, 9] Generated Node #0,1,0: 81:[10, 9] Operation: 40-31=9 Exploring Operation: 40/10=4, Resulting Numbers: [31, 4] Generated Node #0,1,1: 81:[31, 4] Operation: 40/10=4 Moving to Node #0,0 Current State: 81:[99, 10, 28], Operations: ['59-31=28'] Exploring Operation: 99-28=71, Resulting Numbers: [10, 71] Generated Node #0,0,0: 81:[10, 71] Operation: 99-28=71 Exploring Operation: 99-10=89, Resulting Numbers: [28, 89] Generated Node #0,0,1: 81:[28, 89] Operation: 99-10=89 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[28, 89], Operations: ['59-31=28', '99-10=89'] Exploring Operation: 89-28=61, Resulting Numbers: [61] 61,81 unequal: No Solution Exploring Operation: 28+89=117, Resulting Numbers: [117] 117,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,0 Current State: 81:[10, 71], Operations: ['59-31=28', '99-28=71'] Exploring Operation: 10+71=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[31, 99, 59, 10], Operations: [] Exploring Operation: 59-31=28, Resulting Numbers: [99, 10, 28] Generated Node #0,0: 81:[99, 10, 28] Operation: 59-31=28 Moving to Node #0,0 Current State: 81:[99, 10, 28], Operations: ['59-31=28'] Exploring Operation: 99-28=71, Resulting Numbers: [10, 71] Generated Node #0,0,0: 81:[10, 71] Operation: 99-28=71 Moving to Node #0,0,0 Current State: 81:[10, 71], Operations: ['59-31=28', '99-28=71'] Exploring Operation: 10+71=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
sum_heuristic
[ 98, 95, 38, 54 ]
95
[ "98-95=3", "38+54=92", "3+92=95" ]
Current State: 95:[98, 95, 38, 54], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [38, 54, 3] Generated Node #2: [38, 54, 3] from Operation: 98-95=3 Current State: 95:[38, 54, 3], Operations: ['98-95=3'] Exploring Operation: 38+54=92, Resulting Numbers: [3, 92] Generated Node #3: [3, 92] from Operation: 38+54=92 Current State: 95:[3, 92], Operations: ['98-95=3', '38+54=92'] Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[98, 95, 38, 54], Operations: [] Exploring Operation: 38+54=92, Resulting Numbers: [98, 95, 92] Generated Node #0,0: 95:[98, 95, 92] Operation: 38+54=92 Moving to Node #0,0 Current State: 95:[98, 95, 92], Operations: ['38+54=92'] Exploring Operation: 98-92=6, Resulting Numbers: [95, 6] Generated Node #0,0,0: 95:[95, 6] Operation: 98-92=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[95, 6], Operations: ['38+54=92', '98-92=6'] Exploring Operation: 95+6=101, Resulting Numbers: [101] 101,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 87, 69, 74, 38 ]
94
[ "87-69=18", "74+38=112", "112-18=94" ]
Current State: 94:[87, 69, 74, 38], Operations: [] Exploring Operation: 87-69=18, Resulting Numbers: [74, 38, 18] Generated Node #2: [74, 38, 18] from Operation: 87-69=18 Current State: 94:[74, 38, 18], Operations: ['87-69=18'] Exploring Operation: 74+38=112, Resulting Numbers: [18, 112] Generated Node #3: [18, 112] from Operation: 74+38=112 Current State: 94:[18, 112], Operations: ['87-69=18', '74+38=112'] Exploring Operation: 112-18=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[87, 69, 74, 38], Operations: [] Exploring Operation: 74-38=36, Resulting Numbers: [87, 69, 36] Generated Node #0,0: 94:[87, 69, 36] Operation: 74-38=36 Exploring Operation: 69+38=107, Resulting Numbers: [87, 74, 107] Generated Node #0,1: 94:[87, 74, 107] Operation: 69+38=107 Exploring Operation: 74-69=5, Resulting Numbers: [87, 38, 5] Generated Node #0,2: 94:[87, 38, 5] Operation: 74-69=5 Moving to Node #0,2 Current State: 94:[87, 38, 5], Operations: ['74-69=5'] Exploring Operation: 87+5=92, Resulting Numbers: [38, 92] Generated Node #0,2,0: 94:[38, 92] Operation: 87+5=92 Exploring Operation: 87-38=49, Resulting Numbers: [5, 49] Generated Node #0,2,1: 94:[5, 49] Operation: 87-38=49 Exploring Operation: 38+5=43, Resulting Numbers: [87, 43] Generated Node #0,2,2: 94:[87, 43] Operation: 38+5=43 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[5, 49], Operations: ['74-69=5', '87-38=49'] Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,94 unequal: No Solution Exploring Operation: 5+49=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 5*49=245, Resulting Numbers: [245] 245,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[38, 92], Operations: ['74-69=5', '87+5=92'] Exploring Operation: 38+92=130, Resulting Numbers: [130] 130,94 unequal: No Solution Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 38*92=3496, Resulting Numbers: [3496] 3496,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[87, 43], Operations: ['74-69=5', '38+5=43'] Exploring Operation: 87*43=3741, Resulting Numbers: [3741] 3741,94 unequal: No Solution Exploring Operation: 87+43=130, Resulting Numbers: [130] 130,94 unequal: No Solution Exploring Operation: 87-43=44, Resulting Numbers: [44] 44,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 94:[87, 69, 36], Operations: ['74-38=36'] Exploring Operation: 69+36=105, Resulting Numbers: [87, 105] Generated Node #0,0,0: 94:[87, 105] Operation: 69+36=105 Exploring Operation: 69-36=33, Resulting Numbers: [87, 33] Generated Node #0,0,1: 94:[87, 33] Operation: 69-36=33 Exploring Operation: 87-36=51, Resulting Numbers: [69, 51] Generated Node #0,0,2: 94:[69, 51] Operation: 87-36=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[87, 105], Operations: ['74-38=36', '69+36=105'] Exploring Operation: 87+105=192, Resulting Numbers: [192] 192,94 unequal: No Solution Exploring Operation: 105-87=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 87*105=9135, Resulting Numbers: [9135] 9135,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[87, 33], Operations: ['74-38=36', '69-36=33'] Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 87*33=2871, Resulting Numbers: [2871] 2871,94 unequal: No Solution Exploring Operation: 87+33=120, Resulting Numbers: [120] 120,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[69, 51], Operations: ['74-38=36', '87-36=51'] Exploring Operation: 69+51=120, Resulting Numbers: [120] 120,94 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,94 unequal: No Solution Exploring Operation: 69*51=3519, Resulting Numbers: [3519] 3519,94 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: 94:[87, 74, 107], Operations: ['69+38=107'] Exploring Operation: 107-74=33, Resulting Numbers: [87, 33] Generated Node #0,1,0: 94:[87, 33] Operation: 107-74=33 Exploring Operation: 87-74=13, Resulting Numbers: [107, 13] Generated Node #0,1,1: 94:[107, 13] Operation: 87-74=13 Exploring Operation: 107-87=20, Resulting Numbers: [74, 20] Generated Node #0,1,2: 94:[74, 20] Operation: 107-87=20 Moving to Node #0,1,0 Current State: 94:[87, 33], Operations: ['69+38=107', '107-74=33'] Exploring Operation: 87*33=2871, Resulting Numbers: [2871] 2871,94 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 87+33=120, Resulting Numbers: [120] 120,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[107, 13], Operations: ['69+38=107', '87-74=13'] Exploring Operation: 107+13=120, Resulting Numbers: [120] 120,94 unequal: No Solution Exploring Operation: 107*13=1391, Resulting Numbers: [1391] 1391,94 unequal: No Solution Exploring Operation: 107-13=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[87, 69, 74, 38], Operations: [] Exploring Operation: 69+38=107, Resulting Numbers: [87, 74, 107] Generated Node #0,1: 94:[87, 74, 107] Operation: 69+38=107 Moving to Node #0,1 Current State: 94:[87, 74, 107], Operations: ['69+38=107'] Exploring Operation: 87-74=13, Resulting Numbers: [107, 13] Generated Node #0,1,1: 94:[107, 13] Operation: 87-74=13 Moving to Node #0,1,1 Current State: 94:[107, 13], Operations: ['69+38=107', '87-74=13'] Exploring Operation: 107-13=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.965278
hs_3
sum_heuristic
[ 11, 98, 63, 60 ]
61
[ "60-11=49", "98/49=2", "63-2=61" ]
Current State: 61:[11, 98, 63, 60], Operations: [] Exploring Operation: 60-11=49, Resulting Numbers: [98, 63, 49] Generated Node #2: [98, 63, 49] from Operation: 60-11=49 Current State: 61:[98, 63, 49], Operations: ['60-11=49'] Exploring Operation: 98/49=2, Resulting Numbers: [63, 2] Generated Node #3: [63, 2] from Operation: 98/49=2 Current State: 61:[63, 2], Operations: ['60-11=49', '98/49=2'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[11, 98, 63, 60], Operations: [] Exploring Operation: 98-11=87, Resulting Numbers: [63, 60, 87] Generated Node #0,0: 61:[63, 60, 87] Operation: 98-11=87 Moving to Node #0,0 Current State: 61:[63, 60, 87], Operations: ['98-11=87'] Exploring Operation: 87-60=27, Resulting Numbers: [63, 27] Generated Node #0,0,0: 61:[63, 27] Operation: 87-60=27 Moving to Node #0,0,0 Current State: 61:[63, 27], Operations: ['98-11=87', '87-60=27'] Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,61 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 45, 9, 25, 70 ]
39
[ "45/9=5", "70/5=14", "25+14=39" ]
Current State: 39:[45, 9, 25, 70], Operations: [] Exploring Operation: 45/9=5, Resulting Numbers: [25, 70, 5] Generated Node #2: [25, 70, 5] from Operation: 45/9=5 Current State: 39:[25, 70, 5], Operations: ['45/9=5'] Exploring Operation: 70/5=14, Resulting Numbers: [25, 14] Generated Node #3: [25, 14] from Operation: 70/5=14 Current State: 39:[25, 14], Operations: ['45/9=5', '70/5=14'] Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[45, 9, 25, 70], Operations: [] Exploring Operation: 70-45=25, Resulting Numbers: [9, 25, 25] Generated Node #0,0: 39:[9, 25, 25] Operation: 70-45=25 Exploring Operation: 70-25=45, Resulting Numbers: [45, 9, 45] Generated Node #0,1: 39:[45, 9, 45] Operation: 70-25=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[45, 9, 45], Operations: ['70-25=45'] Exploring Operation: 45-45=0, Resulting Numbers: [9, 0] Generated Node #0,1,0: 39:[9, 0] Operation: 45-45=0 Exploring Operation: 45/45=1, Resulting Numbers: [9, 1] Generated Node #0,1,1: 39:[9, 1] Operation: 45/45=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 39:[9, 1], Operations: ['70-25=45', '45/45=1'] Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[9, 0], Operations: ['70-25=45', '45-45=0'] Exploring Operation: 9*0=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 9+0=9, Resulting Numbers: [9] 9,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[9, 25, 25], Operations: ['70-45=25'] Exploring Operation: 25/25=1, Resulting Numbers: [9, 1] Generated Node #0,0,0: 39:[9, 1] Operation: 25/25=1 Exploring Operation: 25-25=0, Resulting Numbers: [9, 0] Generated Node #0,0,1: 39:[9, 0] Operation: 25-25=0 Moving to Node #0,0,0 Current State: 39:[9, 1], Operations: ['70-45=25', '25/25=1'] Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[9, 0], Operations: ['70-45=25', '25-25=0'] Exploring Operation: 9*0=0, Resulting Numbers: [0] 0,39 unequal: No Solution Exploring Operation: 9+0=9, Resulting Numbers: [9] 9,39 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
[ 2, 78, 26, 81 ]
49
[ "2*78=156", "26+81=107", "156-107=49" ]
Current State: 49:[2, 78, 26, 81], Operations: [] Exploring Operation: 2*78=156, Resulting Numbers: [26, 81, 156] Generated Node #2: [26, 81, 156] from Operation: 2*78=156 Current State: 49:[26, 81, 156], Operations: ['2*78=156'] Exploring Operation: 26+81=107, Resulting Numbers: [156, 107] Generated Node #3: [156, 107] from Operation: 26+81=107 Current State: 49:[156, 107], Operations: ['2*78=156', '26+81=107'] Exploring Operation: 156-107=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[2, 78, 26, 81], Operations: [] Exploring Operation: 78-26=52, Resulting Numbers: [2, 81, 52] Generated Node #0,0: 49:[2, 81, 52] Operation: 78-26=52 Exploring Operation: 81-78=3, Resulting Numbers: [2, 26, 3] Generated Node #0,1: 49:[2, 26, 3] Operation: 81-78=3 Exploring Operation: 81-26=55, Resulting Numbers: [2, 78, 55] Generated Node #0,2: 49:[2, 78, 55] Operation: 81-26=55 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[2, 26, 3], Operations: ['81-78=3'] Exploring Operation: 26/2=13, Resulting Numbers: [3, 13] Generated Node #0,1,0: 49:[3, 13] Operation: 26/2=13 Exploring Operation: 2*26=52, Resulting Numbers: [3, 52] Generated Node #0,1,1: 49:[3, 52] Operation: 2*26=52 Exploring Operation: 2*3=6, Resulting Numbers: [26, 6] Generated Node #0,1,2: 49:[26, 6] Operation: 2*3=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[3, 52], Operations: ['81-78=3', '2*26=52'] Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,49 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[2, 78, 26, 81], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [2, 26, 3] Generated Node #0,1: 49:[2, 26, 3] Operation: 81-78=3 Moving to Node #0,1 Current State: 49:[2, 26, 3], Operations: ['81-78=3'] Exploring Operation: 2*26=52, Resulting Numbers: [3, 52] Generated Node #0,1,1: 49:[3, 52] Operation: 2*26=52 Moving to Node #0,1,1 Current State: 49:[3, 52], Operations: ['81-78=3', '2*26=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 80, 21, 12, 32 ]
57
[ "80+21=101", "12+32=44", "101-44=57" ]
Current State: 57:[80, 21, 12, 32], Operations: [] Exploring Operation: 80+21=101, Resulting Numbers: [12, 32, 101] Generated Node #2: [12, 32, 101] from Operation: 80+21=101 Current State: 57:[12, 32, 101], Operations: ['80+21=101'] Exploring Operation: 12+32=44, Resulting Numbers: [101, 44] Generated Node #3: [101, 44] from Operation: 12+32=44 Current State: 57:[101, 44], Operations: ['80+21=101', '12+32=44'] Exploring Operation: 101-44=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[80, 21, 12, 32], Operations: [] Exploring Operation: 80-32=48, Resulting Numbers: [21, 12, 48] Generated Node #0,0: 57:[21, 12, 48] Operation: 80-32=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[21, 12, 48], Operations: ['80-32=48'] Exploring Operation: 48/12=4, Resulting Numbers: [21, 4] Generated Node #0,0,0: 57:[21, 4] Operation: 48/12=4 Moving to Node #0,0,0 Current State: 57:[21, 4], Operations: ['80-32=48', '48/12=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,57 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
[ 91, 23, 23, 81 ]
81
[ "23-23=0", "91*0=0", "81+0=81" ]
Current State: 81:[91, 23, 23, 81], Operations: [] Exploring Operation: 23-23=0, Resulting Numbers: [91, 81, 0] Generated Node #2: [91, 81, 0] from Operation: 23-23=0 Current State: 81:[91, 81, 0], Operations: ['23-23=0'] Exploring Operation: 91*0=0, Resulting Numbers: [81, 0] Generated Node #3: [81, 0] from Operation: 91*0=0 Current State: 81:[81, 0], Operations: ['23-23=0', '91*0=0'] Exploring Operation: 81+0=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[91, 23, 23, 81], Operations: [] Exploring Operation: 23/23=1, Resulting Numbers: [91, 81, 1] Generated Node #0,0: 81:[91, 81, 1] Operation: 23/23=1 Exploring Operation: 91-81=10, Resulting Numbers: [23, 23, 10] Generated Node #0,1: 81:[23, 23, 10] Operation: 91-81=10 Moving to Node #0,1 Current State: 81:[23, 23, 10], Operations: ['91-81=10'] Exploring Operation: 23-23=0, Resulting Numbers: [10, 0] Generated Node #0,1,0: 81:[10, 0] Operation: 23-23=0 Exploring Operation: 23/23=1, Resulting Numbers: [10, 1] Generated Node #0,1,1: 81:[10, 1] Operation: 23/23=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[10, 1], Operations: ['91-81=10', '23/23=1'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,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,0 Current State: 81:[10, 0], Operations: ['91-81=10', '23-23=0'] Exploring Operation: 10-0=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 10+0=10, Resulting Numbers: [10] 10,81 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: 81:[91, 81, 1], Operations: ['23/23=1'] Exploring Operation: 91-81=10, Resulting Numbers: [1, 10] Generated Node #0,0,0: 81:[1, 10] Operation: 91-81=10 Exploring Operation: 91-1=90, Resulting Numbers: [81, 90] Generated Node #0,0,1: 81:[81, 90] Operation: 91-1=90 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[1, 10], Operations: ['23/23=1', '91-81=10'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[81, 90], Operations: ['23/23=1', '91-1=90'] Exploring Operation: 90-81=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 81+90=171, Resulting Numbers: [171] 171,81 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
[ 27, 86, 32, 3 ]
63
[ "27/3=9", "86-32=54", "9+54=63" ]
Current State: 63:[27, 86, 32, 3], Operations: [] Exploring Operation: 27/3=9, Resulting Numbers: [86, 32, 9] Generated Node #2: [86, 32, 9] from Operation: 27/3=9 Current State: 63:[86, 32, 9], Operations: ['27/3=9'] Exploring Operation: 86-32=54, Resulting Numbers: [9, 54] Generated Node #3: [9, 54] from Operation: 86-32=54 Current State: 63:[9, 54], Operations: ['27/3=9', '86-32=54'] Exploring Operation: 9+54=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[27, 86, 32, 3], Operations: [] Exploring Operation: 86-32=54, Resulting Numbers: [27, 3, 54] Generated Node #0,0: 63:[27, 3, 54] Operation: 86-32=54 Exploring Operation: 86-27=59, Resulting Numbers: [32, 3, 59] Generated Node #0,1: 63:[32, 3, 59] Operation: 86-27=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[27, 3, 54], Operations: ['86-32=54'] Exploring Operation: 54/27=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 63:[3, 2] Operation: 54/27=2 Exploring Operation: 54-27=27, Resulting Numbers: [3, 27] Generated Node #0,0,1: 63:[3, 27] Operation: 54-27=27 Moving to Node #0,0,0 Current State: 63:[3, 2], Operations: ['86-32=54', '54/27=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[3, 27], Operations: ['86-32=54', '54-27=27'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,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:[32, 3, 59], Operations: ['86-27=59'] Exploring Operation: 59-32=27, Resulting Numbers: [3, 27] Generated Node #0,1,0: 63:[3, 27] Operation: 59-32=27 Exploring Operation: 32-3=29, Resulting Numbers: [59, 29] Generated Node #0,1,1: 63:[59, 29] Operation: 32-3=29 Moving to Node #0,1,0 Current State: 63:[3, 27], Operations: ['86-27=59', '59-32=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[59, 29], Operations: ['86-27=59', '32-3=29'] Exploring Operation: 59-29=30, Resulting Numbers: [30] 30,63 unequal: No Solution Exploring Operation: 59+29=88, Resulting Numbers: [88] 88,63 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
[ 46, 44, 39, 50 ]
13
[ "46-44=2", "50-39=11", "2+11=13" ]
Current State: 13:[46, 44, 39, 50], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [39, 50, 2] Generated Node #2: [39, 50, 2] from Operation: 46-44=2 Current State: 13:[39, 50, 2], Operations: ['46-44=2'] Exploring Operation: 50-39=11, Resulting Numbers: [2, 11] Generated Node #3: [2, 11] from Operation: 50-39=11 Current State: 13:[2, 11], Operations: ['46-44=2', '50-39=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[46, 44, 39, 50], Operations: [] Exploring Operation: 50-39=11, Resulting Numbers: [46, 44, 11] Generated Node #0,0: 13:[46, 44, 11] Operation: 50-39=11 Exploring Operation: 46-44=2, Resulting Numbers: [39, 50, 2] Generated Node #0,1: 13:[39, 50, 2] Operation: 46-44=2 Exploring Operation: 46-39=7, Resulting Numbers: [44, 50, 7] Generated Node #0,2: 13:[44, 50, 7] Operation: 46-39=7 Exploring Operation: 50-44=6, Resulting Numbers: [46, 39, 6] Generated Node #0,3: 13:[46, 39, 6] Operation: 50-44=6 Exploring Operation: 50-46=4, Resulting Numbers: [44, 39, 4] Generated Node #0,4: 13:[44, 39, 4] Operation: 50-46=4 Moving to Node #0,0 Current State: 13:[46, 44, 11], Operations: ['50-39=11'] Exploring Operation: 46-44=2, Resulting Numbers: [11, 2] Generated Node #0,0,0: 13:[11, 2] Operation: 46-44=2 Exploring Operation: 46-11=35, Resulting Numbers: [44, 35] Generated Node #0,0,1: 13:[44, 35] Operation: 46-11=35 Exploring Operation: 44-11=33, Resulting Numbers: [46, 33] Generated Node #0,0,2: 13:[46, 33] Operation: 44-11=33 Exploring Operation: 46+11=57, Resulting Numbers: [44, 57] Generated Node #0,0,3: 13:[44, 57] Operation: 46+11=57 Exploring Operation: 44/11=4, Resulting Numbers: [46, 4] Generated Node #0,0,4: 13:[46, 4] Operation: 44/11=4 Moving to Node #0,4 Current State: 13:[44, 39, 4], Operations: ['50-46=4'] Exploring Operation: 44+4=48, Resulting Numbers: [39, 48] Generated Node #0,4,0: 13:[39, 48] Operation: 44+4=48 Exploring Operation: 44-4=40, Resulting Numbers: [39, 40] Generated Node #0,4,1: 13:[39, 40] Operation: 44-4=40 Exploring Operation: 39-4=35, Resulting Numbers: [44, 35] Generated Node #0,4,2: 13:[44, 35] Operation: 39-4=35 Exploring Operation: 44/4=11, Resulting Numbers: [39, 11] Generated Node #0,4,3: 13:[39, 11] Operation: 44/4=11 Exploring Operation: 44-39=5, Resulting Numbers: [4, 5] Generated Node #0,4,4: 13:[4, 5] Operation: 44-39=5 Moving to Node #0,3 Current State: 13:[46, 39, 6], Operations: ['50-44=6'] Exploring Operation: 46+6=52, Resulting Numbers: [39, 52] Generated Node #0,3,0: 13:[39, 52] Operation: 46+6=52 Exploring Operation: 39-6=33, Resulting Numbers: [46, 33] Generated Node #0,3,1: 13:[46, 33] Operation: 39-6=33 Exploring Operation: 39+6=45, Resulting Numbers: [46, 45] Generated Node #0,3,2: 13:[46, 45] Operation: 39+6=45 Exploring Operation: 46-6=40, Resulting Numbers: [39, 40] Generated Node #0,3,3: 13:[39, 40] Operation: 46-6=40 Exploring Operation: 46-39=7, Resulting Numbers: [6, 7] Generated Node #0,3,4: 13:[6, 7] Operation: 46-39=7 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 13:[6, 7], Operations: ['50-44=6', '46-39=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,13 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[46, 44, 39, 50], Operations: [] Exploring Operation: 50-44=6, Resulting Numbers: [46, 39, 6] Generated Node #0,3: 13:[46, 39, 6] Operation: 50-44=6 Moving to Node #0,3 Current State: 13:[46, 39, 6], Operations: ['50-44=6'] Exploring Operation: 46-39=7, Resulting Numbers: [6, 7] Generated Node #0,3,4: 13:[6, 7] Operation: 46-39=7 Moving to Node #0,3,4 Current State: 13:[6, 7], Operations: ['50-44=6', '46-39=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 68, 5, 12, 66 ]
14
[ "68-66=2", "12-5=7", "2*7=14" ]
Current State: 14:[68, 5, 12, 66], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [5, 12, 2] Generated Node #2: [5, 12, 2] from Operation: 68-66=2 Current State: 14:[5, 12, 2], Operations: ['68-66=2'] Exploring Operation: 12-5=7, Resulting Numbers: [2, 7] Generated Node #3: [2, 7] from Operation: 12-5=7 Current State: 14:[2, 7], Operations: ['68-66=2', '12-5=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[68, 5, 12, 66], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [5, 12, 2] Generated Node #0,0: 14:[5, 12, 2] Operation: 68-66=2 Moving to Node #0,0 Current State: 14:[5, 12, 2], Operations: ['68-66=2'] Exploring Operation: 12-5=7, Resulting Numbers: [2, 7] Generated Node #0,0,0: 14:[2, 7] Operation: 12-5=7 Moving to Node #0,0,0 Current State: 14:[2, 7], Operations: ['68-66=2', '12-5=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[68, 5, 12, 66], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [5, 12, 2] Generated Node #0,0: 14:[5, 12, 2] Operation: 68-66=2 Moving to Node #0,0 Current State: 14:[5, 12, 2], Operations: ['68-66=2'] Exploring Operation: 12-5=7, Resulting Numbers: [2, 7] Generated Node #0,0,0: 14:[2, 7] Operation: 12-5=7 Moving to Node #0,0,0 Current State: 14:[2, 7], Operations: ['68-66=2', '12-5=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 64, 76, 44, 6 ]
42
[ "76-64=12", "12/6=2", "44-2=42" ]
Current State: 42:[64, 76, 44, 6], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [44, 6, 12] Generated Node #2: [44, 6, 12] from Operation: 76-64=12 Current State: 42:[44, 6, 12], Operations: ['76-64=12'] Exploring Operation: 12/6=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 12/6=2 Current State: 42:[44, 2], Operations: ['76-64=12', '12/6=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[64, 76, 44, 6], Operations: [] Exploring Operation: 76-6=70, Resulting Numbers: [64, 44, 70] Generated Node #0,0: 42:[64, 44, 70] Operation: 76-6=70 Exploring Operation: 64-6=58, Resulting Numbers: [76, 44, 58] Generated Node #0,1: 42:[76, 44, 58] Operation: 64-6=58 Exploring Operation: 76-64=12, Resulting Numbers: [44, 6, 12] Generated Node #0,2: 42:[44, 6, 12] Operation: 76-64=12 Exploring Operation: 76-44=32, Resulting Numbers: [64, 6, 32] Generated Node #0,3: 42:[64, 6, 32] Operation: 76-44=32 Exploring Operation: 64-44=20, Resulting Numbers: [76, 6, 20] Generated Node #0,4: 42:[76, 6, 20] Operation: 64-44=20 Moving to Node #0,2 Current State: 42:[44, 6, 12], Operations: ['76-64=12'] Exploring Operation: 6+12=18, Resulting Numbers: [44, 18] Generated Node #0,2,0: 42:[44, 18] Operation: 6+12=18 Exploring Operation: 12-6=6, Resulting Numbers: [44, 6] Generated Node #0,2,1: 42:[44, 6] Operation: 12-6=6 Exploring Operation: 44+6=50, Resulting Numbers: [12, 50] Generated Node #0,2,2: 42:[12, 50] Operation: 44+6=50 Exploring Operation: 12/6=2, Resulting Numbers: [44, 2] Generated Node #0,2,3: 42:[44, 2] Operation: 12/6=2 Exploring Operation: 44-6=38, Resulting Numbers: [12, 38] Generated Node #0,2,4: 42:[12, 38] Operation: 44-6=38 Moving to Node #0,3 Current State: 42:[64, 6, 32], Operations: ['76-44=32'] Exploring Operation: 32-6=26, Resulting Numbers: [64, 26] Generated Node #0,3,0: 42:[64, 26] Operation: 32-6=26 Exploring Operation: 6+32=38, Resulting Numbers: [64, 38] Generated Node #0,3,1: 42:[64, 38] Operation: 6+32=38 Exploring Operation: 64/32=2, Resulting Numbers: [6, 2] Generated Node #0,3,2: 42:[6, 2] Operation: 64/32=2 Exploring Operation: 64-6=58, Resulting Numbers: [32, 58] Generated Node #0,3,3: 42:[32, 58] Operation: 64-6=58 Exploring Operation: 64-32=32, Resulting Numbers: [6, 32] Generated Node #0,3,4: 42:[6, 32] Operation: 64-32=32 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 42:[6, 2], Operations: ['76-44=32', '64/32=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 42:[6, 32], Operations: ['76-44=32', '64-32=32'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,42 unequal: No Solution Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 42:[64, 38], Operations: ['76-44=32', '6+32=38'] Exploring Operation: 64+38=102, Resulting Numbers: [102] 102,42 unequal: No Solution Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 64*38=2432, Resulting Numbers: [2432] 2432,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 42:[32, 58], Operations: ['76-44=32', '64-6=58'] Exploring Operation: 32+58=90, Resulting Numbers: [90] 90,42 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 32*58=1856, Resulting Numbers: [1856] 1856,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 42:[64, 26], Operations: ['76-44=32', '32-6=26'] Exploring Operation: 64*26=1664, Resulting Numbers: [1664] 1664,42 unequal: No Solution Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 64+26=90, Resulting Numbers: [90] 90,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 42:[76, 6, 20], Operations: ['64-44=20'] Exploring Operation: 6+20=26, Resulting Numbers: [76, 26] Generated Node #0,4,0: 42:[76, 26] Operation: 6+20=26 Exploring Operation: 76-20=56, Resulting Numbers: [6, 56] Generated Node #0,4,1: 42:[6, 56] Operation: 76-20=56 Exploring Operation: 76+6=82, Resulting Numbers: [20, 82] Generated Node #0,4,2: 42:[20, 82] Operation: 76+6=82 Exploring Operation: 76-6=70, Resulting Numbers: [20, 70] Generated Node #0,4,3: 42:[20, 70] Operation: 76-6=70 Exploring Operation: 20-6=14, Resulting Numbers: [76, 14] Generated Node #0,4,4: 42:[76, 14] Operation: 20-6=14 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 42:[6, 56], Operations: ['64-44=20', '76-20=56'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,42 unequal: No Solution Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 42:[20, 70], Operations: ['64-44=20', '76-6=70'] Exploring Operation: 20+70=90, Resulting Numbers: [90] 90,42 unequal: No Solution Exploring Operation: 20*70=1400, Resulting Numbers: [1400] 1400,42 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 42:[76, 14], Operations: ['64-44=20', '20-6=14'] Exploring Operation: 76*14=1064, Resulting Numbers: [1064] 1064,42 unequal: No Solution Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,42 unequal: No Solution Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 42:[76, 26], Operations: ['64-44=20', '6+20=26'] Exploring Operation: 76-26=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 76*26=1976, Resulting Numbers: [1976] 1976,42 unequal: No Solution Exploring Operation: 76+26=102, Resulting Numbers: [102] 102,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 42:[20, 82], Operations: ['64-44=20', '76+6=82'] Exploring Operation: 20*82=1640, Resulting Numbers: [1640] 1640,42 unequal: No Solution Exploring Operation: 20+82=102, Resulting Numbers: [102] 102,42 unequal: No Solution Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,42 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: 42:[64, 44, 70], Operations: ['76-6=70'] Exploring Operation: 70-64=6, Resulting Numbers: [44, 6] Generated Node #0,0,0: 42:[44, 6] Operation: 70-64=6 Exploring Operation: 70-44=26, Resulting Numbers: [64, 26] Generated Node #0,0,1: 42:[64, 26] Operation: 70-44=26 Exploring Operation: 64-44=20, Resulting Numbers: [70, 20] Generated Node #0,0,2: 42:[70, 20] Operation: 64-44=20 Exploring Operation: 64+70=134, Resulting Numbers: [44, 134] Generated Node #0,0,3: 42:[44, 134] Operation: 64+70=134 Exploring Operation: 64+44=108, Resulting Numbers: [70, 108] Generated Node #0,0,4: 42:[70, 108] Operation: 64+44=108 Moving to Node #0,1 Current State: 42:[76, 44, 58], Operations: ['64-6=58'] Exploring Operation: 58-44=14, Resulting Numbers: [76, 14] Generated Node #0,1,0: 42:[76, 14] Operation: 58-44=14 Exploring Operation: 76-44=32, Resulting Numbers: [58, 32] Generated Node #0,1,1: 42:[58, 32] Operation: 76-44=32 Exploring Operation: 76+44=120, Resulting Numbers: [58, 120] Generated Node #0,1,2: 42:[58, 120] Operation: 76+44=120 Exploring Operation: 76-58=18, Resulting Numbers: [44, 18] Generated Node #0,1,3: 42:[44, 18] Operation: 76-58=18 Exploring Operation: 76+58=134, Resulting Numbers: [44, 134] Generated Node #0,1,4: 42:[44, 134] Operation: 76+58=134 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 42:[44, 18], Operations: ['64-6=58', '76-58=18'] Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 44*18=792, Resulting Numbers: [792] 792,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[58, 32], Operations: ['64-6=58', '76-44=32'] Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,42 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,42 unequal: No Solution Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[76, 14], Operations: ['64-6=58', '58-44=14'] Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,42 unequal: No Solution Exploring Operation: 76*14=1064, Resulting Numbers: [1064] 1064,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[58, 120], Operations: ['64-6=58', '76+44=120'] Exploring Operation: 58+120=178, Resulting Numbers: [178] 178,42 unequal: No Solution Exploring Operation: 120-58=62, Resulting Numbers: [62] 62,42 unequal: No Solution Exploring Operation: 58*120=6960, Resulting Numbers: [6960] 6960,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 42:[44, 134], Operations: ['64-6=58', '76+58=134'] Exploring Operation: 134-44=90, Resulting Numbers: [90] 90,42 unequal: No Solution Exploring Operation: 44*134=5896, Resulting Numbers: [5896] 5896,42 unequal: No Solution Exploring Operation: 44+134=178, Resulting Numbers: [178] 178,42 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: 42:[44, 6], Operations: ['76-64=12', '12-6=6'] Exploring Operation: 44*6=264, Resulting Numbers: [264] 264,42 unequal: No Solution Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,42 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[44, 6], Operations: ['76-6=70', '70-64=6'] Exploring Operation: 44*6=264, Resulting Numbers: [264] 264,42 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[44, 2], Operations: ['76-64=12', '12/6=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,42 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[64, 76, 44, 6], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [44, 6, 12] Generated Node #0,2: 42:[44, 6, 12] Operation: 76-64=12 Moving to Node #0,2 Current State: 42:[44, 6, 12], Operations: ['76-64=12'] Exploring Operation: 12/6=2, Resulting Numbers: [44, 2] Generated Node #0,2,3: 42:[44, 2] Operation: 12/6=2 Moving to Node #0,2,3 Current State: 42:[44, 2], Operations: ['76-64=12', '12/6=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.921875
hs_5
mult_heuristic
[ 3, 86, 6, 41 ]
12
[ "3*86=258", "6*41=246", "258-246=12" ]
Current State: 12:[3, 86, 6, 41], Operations: [] Exploring Operation: 3*86=258, Resulting Numbers: [6, 41, 258] Generated Node #2: [6, 41, 258] from Operation: 3*86=258 Current State: 12:[6, 41, 258], Operations: ['3*86=258'] Exploring Operation: 6*41=246, Resulting Numbers: [258, 246] Generated Node #3: [258, 246] from Operation: 6*41=246 Current State: 12:[258, 246], Operations: ['3*86=258', '6*41=246'] Exploring Operation: 258-246=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[3, 86, 6, 41], Operations: [] Exploring Operation: 86-3=83, Resulting Numbers: [6, 41, 83] Generated Node #0,0: 12:[6, 41, 83] Operation: 86-3=83 Exploring Operation: 86-41=45, Resulting Numbers: [3, 6, 45] Generated Node #0,1: 12:[3, 6, 45] Operation: 86-41=45 Exploring Operation: 86-6=80, Resulting Numbers: [3, 41, 80] Generated Node #0,2: 12:[3, 41, 80] Operation: 86-6=80 Exploring Operation: 41-3=38, Resulting Numbers: [86, 6, 38] Generated Node #0,3: 12:[86, 6, 38] Operation: 41-3=38 Exploring Operation: 41-6=35, Resulting Numbers: [3, 86, 35] Generated Node #0,4: 12:[3, 86, 35] Operation: 41-6=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[3, 6, 45], Operations: ['86-41=45'] Exploring Operation: 45-3=42, Resulting Numbers: [6, 42] Generated Node #0,1,0: 12:[6, 42] Operation: 45-3=42 Exploring Operation: 6-3=3, Resulting Numbers: [45, 3] Generated Node #0,1,1: 12:[45, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [45, 2] Generated Node #0,1,2: 12:[45, 2] Operation: 6/3=2 Exploring Operation: 45/3=15, Resulting Numbers: [6, 15] Generated Node #0,1,3: 12:[6, 15] Operation: 45/3=15 Exploring Operation: 45-6=39, Resulting Numbers: [3, 39] Generated Node #0,1,4: 12:[3, 39] Operation: 45-6=39 Moving to Node #0,1,3 Current State: 12:[6, 15], Operations: ['86-41=45', '45/3=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,12 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,12 unequal: No Solution Moving to Node #0,1,4 Current State: 12:[3, 39], Operations: ['86-41=45', '45-6=39'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,12 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[6, 42], Operations: ['86-41=45', '45-3=42'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 6*42=252, Resulting Numbers: [252] 252,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[45, 3], Operations: ['86-41=45', '6-3=3'] Exploring Operation: 45*3=135, Resulting Numbers: [135] 135,12 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[45, 2], Operations: ['86-41=45', '6/3=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,12 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,12 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,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,2 Current State: 12:[3, 41, 80], Operations: ['86-6=80'] Exploring Operation: 3+80=83, Resulting Numbers: [41, 83] Generated Node #0,2,0: 12:[41, 83] Operation: 3+80=83 Exploring Operation: 80-3=77, Resulting Numbers: [41, 77] Generated Node #0,2,1: 12:[41, 77] Operation: 80-3=77 Exploring Operation: 80-41=39, Resulting Numbers: [3, 39] Generated Node #0,2,2: 12:[3, 39] Operation: 80-41=39 Exploring Operation: 41-3=38, Resulting Numbers: [80, 38] Generated Node #0,2,3: 12:[80, 38] Operation: 41-3=38 Exploring Operation: 3+41=44, Resulting Numbers: [80, 44] Generated Node #0,2,4: 12:[80, 44] Operation: 3+41=44 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[3, 39], Operations: ['86-6=80', '80-41=39'] Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,12 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,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:[41, 77], Operations: ['86-6=80', '80-3=77'] Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 41*77=3157, Resulting Numbers: [3157] 3157,12 unequal: No Solution Exploring Operation: 41+77=118, Resulting Numbers: [118] 118,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:[80, 38], Operations: ['86-6=80', '41-3=38'] Exploring Operation: 80+38=118, Resulting Numbers: [118] 118,12 unequal: No Solution Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 80*38=3040, Resulting Numbers: [3040] 3040,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[41, 83], Operations: ['86-6=80', '3+80=83'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 41+83=124, Resulting Numbers: [124] 124,12 unequal: No Solution Exploring Operation: 41*83=3403, Resulting Numbers: [3403] 3403,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:[80, 44], Operations: ['86-6=80', '3+41=44'] Exploring Operation: 80-44=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 80+44=124, Resulting Numbers: [124] 124,12 unequal: No Solution Exploring Operation: 80*44=3520, Resulting Numbers: [3520] 3520,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,4 Current State: 12:[3, 86, 35], Operations: ['41-6=35'] Exploring Operation: 86-35=51, Resulting Numbers: [3, 51] Generated Node #0,4,0: 12:[3, 51] Operation: 86-35=51 Exploring Operation: 86-3=83, Resulting Numbers: [35, 83] Generated Node #0,4,1: 12:[35, 83] Operation: 86-3=83 Exploring Operation: 35-3=32, Resulting Numbers: [86, 32] Generated Node #0,4,2: 12:[86, 32] Operation: 35-3=32 Exploring Operation: 3+86=89, Resulting Numbers: [35, 89] Generated Node #0,4,3: 12:[35, 89] Operation: 3+86=89 Exploring Operation: 3+35=38, Resulting Numbers: [86, 38] Generated Node #0,4,4: 12:[86, 38] Operation: 3+35=38 Moving to Node #0,4,0 Current State: 12:[3, 51], Operations: ['41-6=35', '86-35=51'] Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,12 unequal: No Solution Exploring Operation: 3*51=153, Resulting Numbers: [153] 153,12 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 3+51=54, Resulting Numbers: [54] 54,12 unequal: No Solution Moving to Node #0,4,2 Current State: 12:[86, 32], Operations: ['41-6=35', '35-3=32'] Exploring Operation: 86+32=118, Resulting Numbers: [118] 118,12 unequal: No Solution Exploring Operation: 86*32=2752, Resulting Numbers: [2752] 2752,12 unequal: No Solution Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,12 unequal: No Solution Moving to Node #0,4,1 Current State: 12:[35, 83], Operations: ['41-6=35', '86-3=83'] Exploring Operation: 83-35=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 35*83=2905, Resulting Numbers: [2905] 2905,12 unequal: No Solution Exploring Operation: 35+83=118, Resulting Numbers: [118] 118,12 unequal: No Solution Moving to Node #0,4,3 Current State: 12:[35, 89], Operations: ['41-6=35', '3+86=89'] Exploring Operation: 35+89=124, Resulting Numbers: [124] 124,12 unequal: No Solution Exploring Operation: 35*89=3115, Resulting Numbers: [3115] 3115,12 unequal: No Solution Exploring Operation: 89-35=54, Resulting Numbers: [54] 54,12 unequal: No Solution Moving to Node #0,4,4 Current State: 12:[86, 38], Operations: ['41-6=35', '3+35=38'] Exploring Operation: 86+38=124, Resulting Numbers: [124] 124,12 unequal: No Solution Exploring Operation: 86*38=3268, Resulting Numbers: [3268] 3268,12 unequal: No Solution Exploring Operation: 86-38=48, Resulting Numbers: [48] 48,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[6, 41, 83], Operations: ['86-3=83'] Exploring Operation: 41-6=35, Resulting Numbers: [83, 35] Generated Node #0,0,0: 12:[83, 35] Operation: 41-6=35 Exploring Operation: 6+83=89, Resulting Numbers: [41, 89] Generated Node #0,0,1: 12:[41, 89] Operation: 6+83=89 Exploring Operation: 83-6=77, Resulting Numbers: [41, 77] Generated Node #0,0,2: 12:[41, 77] Operation: 83-6=77 Exploring Operation: 6+41=47, Resulting Numbers: [83, 47] Generated Node #0,0,3: 12:[83, 47] Operation: 6+41=47 Exploring Operation: 83-41=42, Resulting Numbers: [6, 42] Generated Node #0,0,4: 12:[6, 42] Operation: 83-41=42 Moving to Node #0,0,4 Current State: 12:[6, 42], Operations: ['86-3=83', '83-41=42'] Exploring Operation: 6*42=252, Resulting Numbers: [252] 252,12 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[41, 77], Operations: ['86-3=83', '83-6=77'] Exploring Operation: 41+77=118, Resulting Numbers: [118] 118,12 unequal: No Solution Exploring Operation: 41*77=3157, Resulting Numbers: [3157] 3157,12 unequal: No Solution Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[83, 35], Operations: ['86-3=83', '41-6=35'] Exploring Operation: 83-35=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 83*35=2905, Resulting Numbers: [2905] 2905,12 unequal: No Solution Exploring Operation: 83+35=118, Resulting Numbers: [118] 118,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[41, 89], Operations: ['86-3=83', '6+83=89'] Exploring Operation: 41+89=130, Resulting Numbers: [130] 130,12 unequal: No Solution Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 41*89=3649, Resulting Numbers: [3649] 3649,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[83, 47], Operations: ['86-3=83', '6+41=47'] Exploring Operation: 83-47=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 83*47=3901, Resulting Numbers: [3901] 3901,12 unequal: No Solution Exploring Operation: 83+47=130, Resulting Numbers: [130] 130,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:[86, 6, 38], Operations: ['41-3=38'] Exploring Operation: 86+6=92, Resulting Numbers: [38, 92] Generated Node #0,3,0: 12:[38, 92] Operation: 86+6=92 Exploring Operation: 38-6=32, Resulting Numbers: [86, 32] Generated Node #0,3,1: 12:[86, 32] Operation: 38-6=32 Exploring Operation: 6+38=44, Resulting Numbers: [86, 44] Generated Node #0,3,2: 12:[86, 44] Operation: 6+38=44 Exploring Operation: 86-38=48, Resulting Numbers: [6, 48] Generated Node #0,3,3: 12:[6, 48] Operation: 86-38=48 Exploring Operation: 86-6=80, Resulting Numbers: [38, 80] Generated Node #0,3,4: 12:[38, 80] Operation: 86-6=80 Moving to Node #0,3,3 Current State: 12:[6, 48], Operations: ['41-3=38', '86-38=48'] Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,12 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,12 unequal: No Solution Moving to Node #0,3,4 Current State: 12:[38, 80], Operations: ['41-3=38', '86-6=80'] Exploring Operation: 38*80=3040, Resulting Numbers: [3040] 3040,12 unequal: No Solution Exploring Operation: 38+80=118, Resulting Numbers: [118] 118,12 unequal: No Solution Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,12 unequal: No Solution Moving to Node #0,3,1 Current State: 12:[86, 32], Operations: ['41-3=38', '38-6=32'] Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 86*32=2752, Resulting Numbers: [2752] 2752,12 unequal: No Solution Exploring Operation: 86+32=118, Resulting Numbers: [118] 118,12 unequal: No Solution Moving to Node #0,3,0 Current State: 12:[38, 92], Operations: ['41-3=38', '86+6=92'] Exploring Operation: 92-38=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 38+92=130, Resulting Numbers: [130] 130,12 unequal: No Solution Exploring Operation: 38*92=3496, Resulting Numbers: [3496] 3496,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[86, 44], Operations: ['41-3=38', '6+38=44'] Exploring Operation: 86-44=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 86+44=130, Resulting Numbers: [130] 130,12 unequal: No Solution Exploring Operation: 86*44=3784, Resulting Numbers: [3784] 3784,12 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
[ 66, 38, 4, 75 ]
82
[ "66-38=28", "28/4=7", "75+7=82" ]
Current State: 82:[66, 38, 4, 75], Operations: [] Exploring Operation: 66-38=28, Resulting Numbers: [4, 75, 28] Generated Node #2: [4, 75, 28] from Operation: 66-38=28 Current State: 82:[4, 75, 28], Operations: ['66-38=28'] Exploring Operation: 28/4=7, Resulting Numbers: [75, 7] Generated Node #3: [75, 7] from Operation: 28/4=7 Current State: 82:[75, 7], Operations: ['66-38=28', '28/4=7'] Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[66, 38, 4, 75], Operations: [] Exploring Operation: 66+4=70, Resulting Numbers: [38, 75, 70] Generated Node #0,0: 82:[38, 75, 70] Operation: 66+4=70 Exploring Operation: 75-66=9, Resulting Numbers: [38, 4, 9] Generated Node #0,1: 82:[38, 4, 9] Operation: 75-66=9 Exploring Operation: 66-38=28, Resulting Numbers: [4, 75, 28] Generated Node #0,2: 82:[4, 75, 28] Operation: 66-38=28 Exploring Operation: 4+75=79, Resulting Numbers: [66, 38, 79] Generated Node #0,3: 82:[66, 38, 79] Operation: 4+75=79 Exploring Operation: 75-38=37, Resulting Numbers: [66, 4, 37] Generated Node #0,4: 82:[66, 4, 37] Operation: 75-38=37 Moving to Node #0,1 Current State: 82:[38, 4, 9], Operations: ['75-66=9'] Exploring Operation: 9-4=5, Resulting Numbers: [38, 5] Generated Node #0,1,0: 82:[38, 5] Operation: 9-4=5 Exploring Operation: 38+9=47, Resulting Numbers: [4, 47] Generated Node #0,1,1: 82:[4, 47] Operation: 38+9=47 Exploring Operation: 4*9=36, Resulting Numbers: [38, 36] Generated Node #0,1,2: 82:[38, 36] Operation: 4*9=36 Exploring Operation: 38-4=34, Resulting Numbers: [9, 34] Generated Node #0,1,3: 82:[9, 34] Operation: 38-4=34 Exploring Operation: 38+4=42, Resulting Numbers: [9, 42] Generated Node #0,1,4: 82:[9, 42] Operation: 38+4=42 Moving to Node #0,2 Current State: 82:[4, 75, 28], Operations: ['66-38=28'] Exploring Operation: 4+75=79, Resulting Numbers: [28, 79] Generated Node #0,2,0: 82:[28, 79] Operation: 4+75=79 Exploring Operation: 75-28=47, Resulting Numbers: [4, 47] Generated Node #0,2,1: 82:[4, 47] Operation: 75-28=47 Exploring Operation: 75+28=103, Resulting Numbers: [4, 103] Generated Node #0,2,2: 82:[4, 103] Operation: 75+28=103 Exploring Operation: 28/4=7, Resulting Numbers: [75, 7] Generated Node #0,2,3: 82:[75, 7] Operation: 28/4=7 Exploring Operation: 4+28=32, Resulting Numbers: [75, 32] Generated Node #0,2,4: 82:[75, 32] Operation: 4+28=32 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[4, 47], Operations: ['66-38=28', '75-28=47'] Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,82 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,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,2,3 Current State: 82:[75, 7], Operations: ['66-38=28', '28/4=7'] Exploring Operation: 75*7=525, Resulting Numbers: [525] 525,82 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,82 unequal: No Solution Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[66, 38, 4, 75], Operations: [] Exploring Operation: 66-38=28, Resulting Numbers: [4, 75, 28] Generated Node #0,2: 82:[4, 75, 28] Operation: 66-38=28 Moving to Node #0,2 Current State: 82:[4, 75, 28], Operations: ['66-38=28'] Exploring Operation: 28/4=7, Resulting Numbers: [75, 7] Generated Node #0,2,3: 82:[75, 7] Operation: 28/4=7 Moving to Node #0,2,3 Current State: 82:[75, 7], Operations: ['66-38=28', '28/4=7'] Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 33, 41, 87, 37 ]
32
[ "37-33=4", "41+87=128", "128/4=32" ]
Current State: 32:[33, 41, 87, 37], Operations: [] Exploring Operation: 37-33=4, Resulting Numbers: [41, 87, 4] Generated Node #2: [41, 87, 4] from Operation: 37-33=4 Current State: 32:[41, 87, 4], Operations: ['37-33=4'] Exploring Operation: 41+87=128, Resulting Numbers: [4, 128] Generated Node #3: [4, 128] from Operation: 41+87=128 Current State: 32:[4, 128], Operations: ['37-33=4', '41+87=128'] Exploring Operation: 128/4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[33, 41, 87, 37], Operations: [] Exploring Operation: 87-37=50, Resulting Numbers: [33, 41, 50] Generated Node #0,0: 32:[33, 41, 50] Operation: 87-37=50 Exploring Operation: 87-41=46, Resulting Numbers: [33, 37, 46] Generated Node #0,1: 32:[33, 37, 46] Operation: 87-41=46 Exploring Operation: 87-33=54, Resulting Numbers: [41, 37, 54] Generated Node #0,2: 32:[41, 37, 54] Operation: 87-33=54 Exploring Operation: 41-37=4, Resulting Numbers: [33, 87, 4] Generated Node #0,3: 32:[33, 87, 4] Operation: 41-37=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[33, 37, 46], Operations: ['87-41=46'] Exploring Operation: 46-33=13, Resulting Numbers: [37, 13] Generated Node #0,1,0: 32:[37, 13] Operation: 46-33=13 Exploring Operation: 46-37=9, Resulting Numbers: [33, 9] Generated Node #0,1,1: 32:[33, 9] Operation: 46-37=9 Exploring Operation: 33+37=70, Resulting Numbers: [46, 70] Generated Node #0,1,2: 32:[46, 70] Operation: 33+37=70 Exploring Operation: 37-33=4, Resulting Numbers: [46, 4] Generated Node #0,1,3: 32:[46, 4] Operation: 37-33=4 Moving to Node #0,1,1 Current State: 32:[33, 9], Operations: ['87-41=46', '46-37=9'] Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,32 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[37, 13], Operations: ['87-41=46', '46-33=13'] Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 37*13=481, Resulting Numbers: [481] 481,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[46, 4], Operations: ['87-41=46', '37-33=4'] Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,32 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[46, 70], Operations: ['87-41=46', '33+37=70'] Exploring Operation: 46*70=3220, Resulting Numbers: [3220] 3220,32 unequal: No Solution Exploring Operation: 46+70=116, Resulting Numbers: [116] 116,32 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[33, 41, 50], Operations: ['87-37=50'] Exploring Operation: 33+41=74, Resulting Numbers: [50, 74] Generated Node #0,0,0: 32:[50, 74] Operation: 33+41=74 Exploring Operation: 41-33=8, Resulting Numbers: [50, 8] Generated Node #0,0,1: 32:[50, 8] Operation: 41-33=8 Exploring Operation: 50-33=17, Resulting Numbers: [41, 17] Generated Node #0,0,2: 32:[41, 17] Operation: 50-33=17 Exploring Operation: 50-41=9, Resulting Numbers: [33, 9] Generated Node #0,0,3: 32:[33, 9] Operation: 50-41=9 Moving to Node #0,0,3 Current State: 32:[33, 9], Operations: ['87-37=50', '50-41=9'] Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,32 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[41, 17], Operations: ['87-37=50', '50-33=17'] Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,32 unequal: No Solution Exploring Operation: 41*17=697, Resulting Numbers: [697] 697,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[50, 8], Operations: ['87-37=50', '41-33=8'] Exploring Operation: 50*8=400, Resulting Numbers: [400] 400,32 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[50, 74], Operations: ['87-37=50', '33+41=74'] Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 50*74=3700, Resulting Numbers: [3700] 3700,32 unequal: No Solution Exploring Operation: 50+74=124, Resulting Numbers: [124] 124,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[41, 37, 54], Operations: ['87-33=54'] Exploring Operation: 41+37=78, Resulting Numbers: [54, 78] Generated Node #0,2,0: 32:[54, 78] Operation: 41+37=78 Exploring Operation: 54-41=13, Resulting Numbers: [37, 13] Generated Node #0,2,1: 32:[37, 13] Operation: 54-41=13 Exploring Operation: 54-37=17, Resulting Numbers: [41, 17] Generated Node #0,2,2: 32:[41, 17] Operation: 54-37=17 Exploring Operation: 41-37=4, Resulting Numbers: [54, 4] Generated Node #0,2,3: 32:[54, 4] Operation: 41-37=4 Moving to Node #0,2,1 Current State: 32:[37, 13], Operations: ['87-33=54', '54-41=13'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 37*13=481, Resulting Numbers: [481] 481,32 unequal: No Solution Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[41, 17], Operations: ['87-33=54', '54-37=17'] Exploring Operation: 41*17=697, Resulting Numbers: [697] 697,32 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,2,3 Current State: 32:[54, 4], Operations: ['87-33=54', '41-37=4'] Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,32 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[54, 78], Operations: ['87-33=54', '41+37=78'] Exploring Operation: 54+78=132, Resulting Numbers: [132] 132,32 unequal: No Solution Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 54*78=4212, Resulting Numbers: [4212] 4212,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 32:[33, 87, 4], Operations: ['41-37=4'] Exploring Operation: 87-33=54, Resulting Numbers: [4, 54] Generated Node #0,3,0: 32:[4, 54] Operation: 87-33=54 Exploring Operation: 33-4=29, Resulting Numbers: [87, 29] Generated Node #0,3,1: 32:[87, 29] Operation: 33-4=29 Exploring Operation: 33+4=37, Resulting Numbers: [87, 37] Generated Node #0,3,2: 32:[87, 37] Operation: 33+4=37 Exploring Operation: 87-4=83, Resulting Numbers: [33, 83] Generated Node #0,3,3: 32:[33, 83] Operation: 87-4=83 Moving to Node #0,3,0 Current State: 32:[4, 54], Operations: ['41-37=4', '87-33=54'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,32 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[33, 83], Operations: ['41-37=4', '87-4=83'] Exploring Operation: 33*83=2739, Resulting Numbers: [2739] 2739,32 unequal: No Solution Exploring Operation: 33+83=116, Resulting Numbers: [116] 116,32 unequal: No Solution Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,32 unequal: No Solution Moving to Node #0,3,1 Current State: 32:[87, 29], Operations: ['41-37=4', '33-4=29'] Exploring Operation: 87+29=116, Resulting Numbers: [116] 116,32 unequal: No Solution Exploring Operation: 87*29=2523, Resulting Numbers: [2523] 2523,32 unequal: No Solution Exploring Operation: 87/29=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 87-29=58, Resulting Numbers: [58] 58,32 unequal: No Solution Moving to Node #0,3,2 Current State: 32:[87, 37], Operations: ['41-37=4', '33+4=37'] Exploring Operation: 87*37=3219, Resulting Numbers: [3219] 3219,32 unequal: No Solution Exploring Operation: 87+37=124, Resulting Numbers: [124] 124,32 unequal: No Solution Exploring Operation: 87-37=50, Resulting Numbers: [50] 50,32 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
[ 46, 71, 76, 61 ]
69
[ "46+76=122", "122/61=2", "71-2=69" ]
Current State: 69:[46, 71, 76, 61], Operations: [] Exploring Operation: 46+76=122, Resulting Numbers: [71, 61, 122] Generated Node #2: [71, 61, 122] from Operation: 46+76=122 Current State: 69:[71, 61, 122], Operations: ['46+76=122'] Exploring Operation: 122/61=2, Resulting Numbers: [71, 2] Generated Node #3: [71, 2] from Operation: 122/61=2 Current State: 69:[71, 2], Operations: ['46+76=122', '122/61=2'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[46, 71, 76, 61], Operations: [] Exploring Operation: 71-46=25, Resulting Numbers: [76, 61, 25] Generated Node #0,0: 69:[76, 61, 25] Operation: 71-46=25 Exploring Operation: 76-46=30, Resulting Numbers: [71, 61, 30] Generated Node #0,1: 69:[71, 61, 30] Operation: 76-46=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[76, 61, 25], Operations: ['71-46=25'] Exploring Operation: 76-61=15, Resulting Numbers: [25, 15] Generated Node #0,0,0: 69:[25, 15] Operation: 76-61=15 Exploring Operation: 61-25=36, Resulting Numbers: [76, 36] Generated Node #0,0,1: 69:[76, 36] Operation: 61-25=36 Moving to Node #0,0,0 Current State: 69:[25, 15], Operations: ['71-46=25', '76-61=15'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,69 unequal: No Solution Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[76, 36], Operations: ['71-46=25', '61-25=36'] Exploring Operation: 76-36=40, Resulting Numbers: [40] 40,69 unequal: No Solution Exploring Operation: 76+36=112, Resulting Numbers: [112] 112,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[71, 61, 30], Operations: ['76-46=30'] Exploring Operation: 71-61=10, Resulting Numbers: [30, 10] Generated Node #0,1,0: 69:[30, 10] Operation: 71-61=10 Exploring Operation: 61-30=31, Resulting Numbers: [71, 31] Generated Node #0,1,1: 69:[71, 31] Operation: 61-30=31 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 69:[71, 31], Operations: ['76-46=30', '61-30=31'] Exploring Operation: 71+31=102, Resulting Numbers: [102] 102,69 unequal: No Solution Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[30, 10], Operations: ['76-46=30', '71-61=10'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 25, 32, 95, 92 ]
10
[ "32-25=7", "95-92=3", "7+3=10" ]
Current State: 10:[25, 32, 95, 92], Operations: [] Exploring Operation: 32-25=7, Resulting Numbers: [95, 92, 7] Generated Node #2: [95, 92, 7] from Operation: 32-25=7 Current State: 10:[95, 92, 7], Operations: ['32-25=7'] Exploring Operation: 95-92=3, Resulting Numbers: [7, 3] Generated Node #3: [7, 3] from Operation: 95-92=3 Current State: 10:[7, 3], Operations: ['32-25=7', '95-92=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[25, 32, 95, 92], Operations: [] Exploring Operation: 95-92=3, Resulting Numbers: [25, 32, 3] Generated Node #0,0: 10:[25, 32, 3] Operation: 95-92=3 Moving to Node #0,0 Current State: 10:[25, 32, 3], Operations: ['95-92=3'] Exploring Operation: 32-25=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 10:[3, 7] Operation: 32-25=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[3, 7], Operations: ['95-92=3', '32-25=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[25, 32, 95, 92], Operations: [] Exploring Operation: 95-92=3, Resulting Numbers: [25, 32, 3] Generated Node #0,0: 10:[25, 32, 3] Operation: 95-92=3 Moving to Node #0,0 Current State: 10:[25, 32, 3], Operations: ['95-92=3'] Exploring Operation: 32-25=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 10:[3, 7] Operation: 32-25=7 Moving to Node #0,0,0 Current State: 10:[3, 7], Operations: ['95-92=3', '32-25=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic