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
[ 72, 30, 84, 4 ]
39
[ "30*84=2520", "2520/72=35", "4+35=39" ]
Current State: 39:[72, 30, 84, 4], Operations: [] Exploring Operation: 30*84=2520, Resulting Numbers: [72, 4, 2520] Generated Node #2: [72, 4, 2520] from Operation: 30*84=2520 Current State: 39:[72, 4, 2520], Operations: ['30*84=2520'] Exploring Operation: 2520/72=35, Resulting Numbers: [4, 35] Generated Node #3: [4, 35] from Operation: 2520/72=35 Current State: 39:[4, 35], Operations: ['30*84=2520', '2520/72=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[72, 30, 84, 4], Operations: [] Exploring Operation: 72-30=42, Resulting Numbers: [84, 4, 42] Generated Node #0,0: 39:[84, 4, 42] Operation: 72-30=42 Exploring Operation: 84/4=21, Resulting Numbers: [72, 30, 21] Generated Node #0,1: 39:[72, 30, 21] Operation: 84/4=21 Exploring Operation: 84-72=12, Resulting Numbers: [30, 4, 12] Generated Node #0,2: 39:[30, 4, 12] Operation: 84-72=12 Exploring Operation: 72/4=18, Resulting Numbers: [30, 84, 18] Generated Node #0,3: 39:[30, 84, 18] Operation: 72/4=18 Exploring Operation: 84-30=54, Resulting Numbers: [72, 4, 54] Generated Node #0,4: 39:[72, 4, 54] Operation: 84-30=54 Moving to Node #0,2 Current State: 39:[30, 4, 12], Operations: ['84-72=12'] Exploring Operation: 30+12=42, Resulting Numbers: [4, 42] Generated Node #0,2,0: 39:[4, 42] Operation: 30+12=42 Exploring Operation: 12/4=3, Resulting Numbers: [30, 3] Generated Node #0,2,1: 39:[30, 3] Operation: 12/4=3 Exploring Operation: 30+4=34, Resulting Numbers: [12, 34] Generated Node #0,2,2: 39:[12, 34] Operation: 30+4=34 Exploring Operation: 4+12=16, Resulting Numbers: [30, 16] Generated Node #0,2,3: 39:[30, 16] Operation: 4+12=16 Exploring Operation: 30-12=18, Resulting Numbers: [4, 18] Generated Node #0,2,4: 39:[4, 18] Operation: 30-12=18 Moving to Node #0,4 Current State: 39:[72, 4, 54], Operations: ['84-30=54'] Exploring Operation: 54-4=50, Resulting Numbers: [72, 50] Generated Node #0,4,0: 39:[72, 50] Operation: 54-4=50 Exploring Operation: 72+4=76, Resulting Numbers: [54, 76] Generated Node #0,4,1: 39:[54, 76] Operation: 72+4=76 Exploring Operation: 72-54=18, Resulting Numbers: [4, 18] Generated Node #0,4,2: 39:[4, 18] Operation: 72-54=18 Exploring Operation: 72-4=68, Resulting Numbers: [54, 68] Generated Node #0,4,3: 39:[54, 68] Operation: 72-4=68 Exploring Operation: 72/4=18, Resulting Numbers: [54, 18] Generated Node #0,4,4: 39:[54, 18] Operation: 72/4=18 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 39:[4, 18], Operations: ['84-30=54', '72-54=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,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,4,4 Current State: 39:[54, 18], Operations: ['84-30=54', '72/4=18'] Exploring Operation: 54*18=972, Resulting Numbers: [972] 972,39 unequal: No Solution Exploring Operation: 54+18=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,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,4,0 Current State: 39:[72, 50], Operations: ['84-30=54', '54-4=50'] Exploring Operation: 72*50=3600, Resulting Numbers: [3600] 3600,39 unequal: No Solution Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 72+50=122, Resulting Numbers: [122] 122,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,4,3 Current State: 39:[54, 68], Operations: ['84-30=54', '72-4=68'] Exploring Operation: 54+68=122, Resulting Numbers: [122] 122,39 unequal: No Solution Exploring Operation: 68-54=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 54*68=3672, Resulting Numbers: [3672] 3672,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,4,1 Current State: 39:[54, 76], Operations: ['84-30=54', '72+4=76'] Exploring Operation: 54+76=130, Resulting Numbers: [130] 130,39 unequal: No Solution Exploring Operation: 54*76=4104, Resulting Numbers: [4104] 4104,39 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 39:[84, 4, 42], Operations: ['72-30=42'] Exploring Operation: 84-4=80, Resulting Numbers: [42, 80] Generated Node #0,0,0: 39:[42, 80] Operation: 84-4=80 Exploring Operation: 42-4=38, Resulting Numbers: [84, 38] Generated Node #0,0,1: 39:[84, 38] Operation: 42-4=38 Exploring Operation: 84/42=2, Resulting Numbers: [4, 2] Generated Node #0,0,2: 39:[4, 2] Operation: 84/42=2 Exploring Operation: 84/4=21, Resulting Numbers: [42, 21] Generated Node #0,0,3: 39:[42, 21] Operation: 84/4=21 Exploring Operation: 84-42=42, Resulting Numbers: [4, 42] Generated Node #0,0,4: 39:[4, 42] Operation: 84-42=42 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[4, 2], Operations: ['72-30=42', '84/42=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 39:[4, 42], Operations: ['72-30=42', '84-42=42'] Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,39 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 39:[42, 21], Operations: ['72-30=42', '84/4=21'] Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 42*21=882, Resulting Numbers: [882] 882,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[42, 80], Operations: ['72-30=42', '84-4=80'] Exploring Operation: 42*80=3360, Resulting Numbers: [3360] 3360,39 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,39 unequal: No Solution Exploring Operation: 42+80=122, Resulting Numbers: [122] 122,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[84, 38], Operations: ['72-30=42', '42-4=38'] Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 84+38=122, Resulting Numbers: [122] 122,39 unequal: No Solution Exploring Operation: 84*38=3192, Resulting Numbers: [3192] 3192,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 39:[72, 30, 21], Operations: ['84/4=21'] Exploring Operation: 72-21=51, Resulting Numbers: [30, 51] Generated Node #0,1,0: 39:[30, 51] Operation: 72-21=51 Exploring Operation: 30-21=9, Resulting Numbers: [72, 9] Generated Node #0,1,1: 39:[72, 9] Operation: 30-21=9 Exploring Operation: 30+21=51, Resulting Numbers: [72, 51] Generated Node #0,1,2: 39:[72, 51] Operation: 30+21=51 Exploring Operation: 72-30=42, Resulting Numbers: [21, 42] Generated Node #0,1,3: 39:[21, 42] Operation: 72-30=42 Exploring Operation: 72+21=93, Resulting Numbers: [30, 93] Generated Node #0,1,4: 39:[30, 93] Operation: 72+21=93 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 39:[21, 42], Operations: ['84/4=21', '72-30=42'] Exploring Operation: 21+42=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 21*42=882, Resulting Numbers: [882] 882,39 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[30, 51], Operations: ['84/4=21', '72-21=51'] Exploring Operation: 30+51=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 30*51=1530, Resulting Numbers: [1530] 1530,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:[72, 9], Operations: ['84/4=21', '30-21=9'] Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,39 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 72*9=648, Resulting Numbers: [648] 648,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,2 Current State: 39:[72, 51], Operations: ['84/4=21', '30+21=51'] Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 72+51=123, Resulting Numbers: [123] 123,39 unequal: No Solution Exploring Operation: 72*51=3672, Resulting Numbers: [3672] 3672,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,4 Current State: 39:[30, 93], Operations: ['84/4=21', '72+21=93'] Exploring Operation: 30*93=2790, Resulting Numbers: [2790] 2790,39 unequal: No Solution Exploring Operation: 93-30=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 30+93=123, Resulting Numbers: [123] 123,39 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: 39:[30, 84, 18], Operations: ['72/4=18'] Exploring Operation: 30-18=12, Resulting Numbers: [84, 12] Generated Node #0,3,0: 39:[84, 12] Operation: 30-18=12 Exploring Operation: 84-30=54, Resulting Numbers: [18, 54] Generated Node #0,3,1: 39:[18, 54] Operation: 84-30=54 Exploring Operation: 30+18=48, Resulting Numbers: [84, 48] Generated Node #0,3,2: 39:[84, 48] Operation: 30+18=48 Exploring Operation: 84+18=102, Resulting Numbers: [30, 102] Generated Node #0,3,3: 39:[30, 102] Operation: 84+18=102 Exploring Operation: 84-18=66, Resulting Numbers: [30, 66] Generated Node #0,3,4: 39:[30, 66] Operation: 84-18=66 Moving to Node #0,2,0 Current State: 39:[4, 42], Operations: ['84-72=12', '30+12=42'] Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,39 unequal: No Solution Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,39 unequal: No Solution Moving to Node #0,2,4 Current State: 39:[4, 18], Operations: ['84-72=12', '30-12=18'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[12, 34], Operations: ['84-72=12', '30+4=34'] Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,39 unequal: No Solution Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[30, 3], Operations: ['84-72=12', '12/4=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,39 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,39 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,39 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,39 unequal: No Solution Moving to Node #0,2,3 Current State: 39:[30, 16], Operations: ['84-72=12', '4+12=16'] Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,39 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,39 unequal: No Solution Exploring Operation: 30*16=480, Resulting Numbers: [480] 480,39 unequal: No Solution Moving to Node #0,3,1 Current State: 39:[18, 54], Operations: ['72/4=18', '84-30=54'] Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 18*54=972, Resulting Numbers: [972] 972,39 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,39 unequal: No Solution Moving to Node #0,3,4 Current State: 39:[30, 66], Operations: ['72/4=18', '84-18=66'] Exploring Operation: 30+66=96, Resulting Numbers: [96] 96,39 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 30*66=1980, Resulting Numbers: [1980] 1980,39 unequal: No Solution Moving to Node #0,3,0 Current State: 39:[84, 12], Operations: ['72/4=18', '30-18=12'] Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,39 unequal: No Solution Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 84*12=1008, Resulting Numbers: [1008] 1008,39 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,39 unequal: No Solution Moving to Node #0,3,2 Current State: 39:[84, 48], Operations: ['72/4=18', '30+18=48'] Exploring Operation: 84*48=4032, Resulting Numbers: [4032] 4032,39 unequal: No Solution Exploring Operation: 84+48=132, Resulting Numbers: [132] 132,39 unequal: No Solution Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,39 unequal: No Solution Moving to Node #0,3,3 Current State: 39:[30, 102], Operations: ['72/4=18', '84+18=102'] Exploring Operation: 30*102=3060, Resulting Numbers: [3060] 3060,39 unequal: No Solution Exploring Operation: 102-30=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 30+102=132, Resulting Numbers: [132] 132,39 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 33, 18, 50, 25 ]
25
[ "33+18=51", "51-50=1", "25*1=25" ]
Current State: 25:[33, 18, 50, 25], Operations: [] Exploring Operation: 33+18=51, Resulting Numbers: [50, 25, 51] Generated Node #2: [50, 25, 51] from Operation: 33+18=51 Current State: 25:[50, 25, 51], Operations: ['33+18=51'] Exploring Operation: 51-50=1, Resulting Numbers: [25, 1] Generated Node #3: [25, 1] from Operation: 51-50=1 Current State: 25:[25, 1], Operations: ['33+18=51', '51-50=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[33, 18, 50, 25], Operations: [] Exploring Operation: 50-25=25, Resulting Numbers: [33, 18, 25] Generated Node #0,0: 25:[33, 18, 25] Operation: 50-25=25 Exploring Operation: 50-33=17, Resulting Numbers: [18, 25, 17] Generated Node #0,1: 25:[18, 25, 17] Operation: 50-33=17 Exploring Operation: 50-18=32, Resulting Numbers: [33, 25, 32] Generated Node #0,2: 25:[33, 25, 32] Operation: 50-18=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[33, 18, 25], Operations: ['50-25=25'] Exploring Operation: 33-18=15, Resulting Numbers: [25, 15] Generated Node #0,0,0: 25:[25, 15] Operation: 33-18=15 Exploring Operation: 25-18=7, Resulting Numbers: [33, 7] Generated Node #0,0,1: 25:[33, 7] Operation: 25-18=7 Exploring Operation: 33-25=8, Resulting Numbers: [18, 8] Generated Node #0,0,2: 25:[18, 8] Operation: 33-25=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[25, 15], Operations: ['50-25=25', '33-18=15'] Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,25 unequal: No Solution Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 25*15=375, Resulting Numbers: [375] 375,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,1 Current State: 25:[33, 7], Operations: ['50-25=25', '25-18=7'] Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,25 unequal: No Solution Exploring Operation: 33*7=231, Resulting Numbers: [231] 231,25 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,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:[18, 8], Operations: ['50-25=25', '33-25=8'] Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,25 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,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:[18, 25, 17], Operations: ['50-33=17'] Exploring Operation: 25-18=7, Resulting Numbers: [17, 7] Generated Node #0,1,0: 25:[17, 7] Operation: 25-18=7 Exploring Operation: 18+17=35, Resulting Numbers: [25, 35] Generated Node #0,1,1: 25:[25, 35] Operation: 18+17=35 Exploring Operation: 18-17=1, Resulting Numbers: [25, 1] Generated Node #0,1,2: 25:[25, 1] Operation: 18-17=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[25, 1], Operations: ['50-33=17', '18-17=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[33, 18, 50, 25], Operations: [] Exploring Operation: 50-33=17, Resulting Numbers: [18, 25, 17] Generated Node #0,1: 25:[18, 25, 17] Operation: 50-33=17 Moving to Node #0,1 Current State: 25:[18, 25, 17], Operations: ['50-33=17'] Exploring Operation: 18-17=1, Resulting Numbers: [25, 1] Generated Node #0,1,2: 25:[25, 1] Operation: 18-17=1 Moving to Node #0,1,2 Current State: 25:[25, 1], Operations: ['50-33=17', '18-17=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 23, 30, 35, 17 ]
45
[ "30-23=7", "35+17=52", "52-7=45" ]
Current State: 45:[23, 30, 35, 17], Operations: [] Exploring Operation: 30-23=7, Resulting Numbers: [35, 17, 7] Generated Node #2: [35, 17, 7] from Operation: 30-23=7 Current State: 45:[35, 17, 7], Operations: ['30-23=7'] Exploring Operation: 35+17=52, Resulting Numbers: [7, 52] Generated Node #3: [7, 52] from Operation: 35+17=52 Current State: 45:[7, 52], Operations: ['30-23=7', '35+17=52'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[23, 30, 35, 17], Operations: [] Exploring Operation: 35-30=5, Resulting Numbers: [23, 17, 5] Generated Node #0,0: 45:[23, 17, 5] Operation: 35-30=5 Moving to Node #0,0 Current State: 45:[23, 17, 5], Operations: ['35-30=5'] Exploring Operation: 23-17=6, Resulting Numbers: [5, 6] Generated Node #0,0,0: 45:[5, 6] Operation: 23-17=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[5, 6], Operations: ['35-30=5', '23-17=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,45 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
[ 58, 4, 46, 74 ]
100
[ "58+46=104", "104/4=26", "74+26=100" ]
Current State: 100:[58, 4, 46, 74], Operations: [] Exploring Operation: 58+46=104, Resulting Numbers: [4, 74, 104] Generated Node #2: [4, 74, 104] from Operation: 58+46=104 Current State: 100:[4, 74, 104], Operations: ['58+46=104'] Exploring Operation: 104/4=26, Resulting Numbers: [74, 26] Generated Node #3: [74, 26] from Operation: 104/4=26 Current State: 100:[74, 26], Operations: ['58+46=104', '104/4=26'] Exploring Operation: 74+26=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[58, 4, 46, 74], Operations: [] Exploring Operation: 74-58=16, Resulting Numbers: [4, 46, 16] Generated Node #0,0: 100:[4, 46, 16] Operation: 74-58=16 Moving to Node #0,0 Current State: 100:[4, 46, 16], Operations: ['74-58=16'] Exploring Operation: 4+46=50, Resulting Numbers: [16, 50] Generated Node #0,0,0: 100:[16, 50] Operation: 4+46=50 Moving to Node #0,0,0 Current State: 100:[16, 50], Operations: ['74-58=16', '4+46=50'] Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,100 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 20, 5, 5, 90 ]
13
[ "20+5=25", "90-25=65", "65/5=13" ]
Current State: 13:[20, 5, 5, 90], Operations: [] Exploring Operation: 20+5=25, Resulting Numbers: [90, 25] Generated Node #2: [90, 25] from Operation: 20+5=25 Current State: 13:[90, 25], Operations: ['20+5=25'] Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,13 equal: Goal Reached Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[20, 5, 5, 90], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [20, 5, 18] Generated Node #0,0: 13:[20, 5, 18] Operation: 90/5=18 Exploring Operation: 90-20=70, Resulting Numbers: [5, 5, 70] Generated Node #0,1: 13:[5, 5, 70] Operation: 90-20=70 Exploring Operation: 90/5=18, Resulting Numbers: [20, 5, 18] Generated Node #0,2: 13:[20, 5, 18] Operation: 90/5=18 Moving to Node #0,0 Current State: 13:[20, 5, 18], Operations: ['90/5=18'] Exploring Operation: 18-5=13, Resulting Numbers: [20, 13] Generated Node #0,0,0: 13:[20, 13] Operation: 18-5=13 Exploring Operation: 20/5=4, Resulting Numbers: [18, 4] Generated Node #0,0,1: 13:[18, 4] Operation: 20/5=4 Exploring Operation: 20-5=15, Resulting Numbers: [18, 15] Generated Node #0,0,2: 13:[18, 15] Operation: 20-5=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[20, 13], Operations: ['90/5=18', '18-5=13'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 13:[18, 15], Operations: ['90/5=18', '20-5=15'] Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,13 unequal: No Solution Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[18, 4], Operations: ['90/5=18', '20/5=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,13 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: 13:[20, 5, 18], Operations: ['90/5=18'] Exploring Operation: 18-5=13, Resulting Numbers: [20, 13] Generated Node #0,2,0: 13:[20, 13] Operation: 18-5=13 Exploring Operation: 20/5=4, Resulting Numbers: [18, 4] Generated Node #0,2,1: 13:[18, 4] Operation: 20/5=4 Exploring Operation: 20-5=15, Resulting Numbers: [18, 15] Generated Node #0,2,2: 13:[18, 15] Operation: 20-5=15 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 13:[20, 13], Operations: ['90/5=18', '18-5=13'] Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,13 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 13:[18, 15], Operations: ['90/5=18', '20-5=15'] Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,13 unequal: No Solution Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 13:[18, 4], Operations: ['90/5=18', '20/5=4'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,13 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: 13:[5, 5, 70], Operations: ['90-20=70'] Exploring Operation: 70/5=14, Resulting Numbers: [5, 14] Generated Node #0,1,0: 13:[5, 14] Operation: 70/5=14 Exploring Operation: 70/5=14, Resulting Numbers: [5, 14] Generated Node #0,1,1: 13:[5, 14] Operation: 70/5=14 Exploring Operation: 5+5=10, Resulting Numbers: [70, 10] Generated Node #0,1,2: 13:[70, 10] Operation: 5+5=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[5, 14], Operations: ['90-20=70', '70/5=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,13 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,13 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[5, 14], Operations: ['90-20=70', '70/5=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,13 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[70, 10], Operations: ['90-20=70', '5+5=10'] Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,13 unequal: No Solution Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,13 unequal: No Solution Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 50, 29, 83, 17 ]
31
[ "83+17=100", "100/50=2", "29+2=31" ]
Current State: 31:[50, 29, 83, 17], Operations: [] Exploring Operation: 83+17=100, Resulting Numbers: [50, 29, 100] Generated Node #2: [50, 29, 100] from Operation: 83+17=100 Current State: 31:[50, 29, 100], Operations: ['83+17=100'] Exploring Operation: 100/50=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 100/50=2 Current State: 31:[29, 2], Operations: ['83+17=100', '100/50=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[50, 29, 83, 17], Operations: [] Exploring Operation: 83-50=33, Resulting Numbers: [29, 17, 33] Generated Node #0,0: 31:[29, 17, 33] Operation: 83-50=33 Moving to Node #0,0 Current State: 31:[29, 17, 33], Operations: ['83-50=33'] Exploring Operation: 29+17=46, Resulting Numbers: [33, 46] Generated Node #0,0,0: 31:[33, 46] Operation: 29+17=46 Moving to Node #0,0,0 Current State: 31:[33, 46], Operations: ['83-50=33', '29+17=46'] Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,31 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 76, 44, 94, 69 ]
57
[ "76-44=32", "94-69=25", "32+25=57" ]
Current State: 57:[76, 44, 94, 69], Operations: [] Exploring Operation: 76-44=32, Resulting Numbers: [94, 69, 32] Generated Node #2: [94, 69, 32] from Operation: 76-44=32 Current State: 57:[94, 69, 32], Operations: ['76-44=32'] Exploring Operation: 94-69=25, Resulting Numbers: [32, 25] Generated Node #3: [32, 25] from Operation: 94-69=25 Current State: 57:[32, 25], Operations: ['76-44=32', '94-69=25'] Exploring Operation: 32+25=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[76, 44, 94, 69], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [44, 69, 18] Generated Node #0,0: 57:[44, 69, 18] Operation: 94-76=18 Exploring Operation: 76-69=7, Resulting Numbers: [44, 94, 7] Generated Node #0,1: 57:[44, 94, 7] Operation: 76-69=7 Exploring Operation: 94-44=50, Resulting Numbers: [76, 69, 50] Generated Node #0,2: 57:[76, 69, 50] Operation: 94-44=50 Exploring Operation: 94-69=25, Resulting Numbers: [76, 44, 25] Generated Node #0,3: 57:[76, 44, 25] Operation: 94-69=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[44, 69, 18], Operations: ['94-76=18'] Exploring Operation: 69-18=51, Resulting Numbers: [44, 51] Generated Node #0,0,0: 57:[44, 51] Operation: 69-18=51 Exploring Operation: 44+18=62, Resulting Numbers: [69, 62] Generated Node #0,0,1: 57:[69, 62] Operation: 44+18=62 Exploring Operation: 44-18=26, Resulting Numbers: [69, 26] Generated Node #0,0,2: 57:[69, 26] Operation: 44-18=26 Exploring Operation: 69-44=25, Resulting Numbers: [18, 25] Generated Node #0,0,3: 57:[18, 25] Operation: 69-44=25 Moving to Node #0,0,3 Current State: 57:[18, 25], Operations: ['94-76=18', '69-44=25'] Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,57 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[69, 62], Operations: ['94-76=18', '44+18=62'] Exploring Operation: 69*62=4278, Resulting Numbers: [4278] 4278,57 unequal: No Solution Exploring Operation: 69-62=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 69+62=131, Resulting Numbers: [131] 131,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[69, 26], Operations: ['94-76=18', '44-18=26'] Exploring Operation: 69+26=95, Resulting Numbers: [95] 95,57 unequal: No Solution Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,57 unequal: No Solution Exploring Operation: 69*26=1794, Resulting Numbers: [1794] 1794,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[44, 51], Operations: ['94-76=18', '69-18=51'] Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 44+51=95, Resulting Numbers: [95] 95,57 unequal: No Solution Exploring Operation: 44*51=2244, Resulting Numbers: [2244] 2244,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 Current State: 57:[76, 69, 50], Operations: ['94-44=50'] Exploring Operation: 76-50=26, Resulting Numbers: [69, 26] Generated Node #0,2,0: 57:[69, 26] Operation: 76-50=26 Exploring Operation: 76+50=126, Resulting Numbers: [69, 126] Generated Node #0,2,1: 57:[69, 126] Operation: 76+50=126 Exploring Operation: 69-50=19, Resulting Numbers: [76, 19] Generated Node #0,2,2: 57:[76, 19] Operation: 69-50=19 Exploring Operation: 76-69=7, Resulting Numbers: [50, 7] Generated Node #0,2,3: 57:[50, 7] Operation: 76-69=7 Moving to Node #0,2,3 Current State: 57:[50, 7], Operations: ['94-44=50', '76-69=7'] Exploring Operation: 50*7=350, Resulting Numbers: [350] 350,57 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,57 unequal: No Solution Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[76, 44, 94, 69], Operations: [] Exploring Operation: 94-44=50, Resulting Numbers: [76, 69, 50] Generated Node #0,2: 57:[76, 69, 50] Operation: 94-44=50 Moving to Node #0,2 Current State: 57:[76, 69, 50], Operations: ['94-44=50'] Exploring Operation: 76-69=7, Resulting Numbers: [50, 7] Generated Node #0,2,3: 57:[50, 7] Operation: 76-69=7 Moving to Node #0,2,3 Current State: 57:[50, 7], Operations: ['94-44=50', '76-69=7'] Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 97, 57, 2, 11 ]
74
[ "57-11=46", "46/2=23", "97-23=74" ]
Current State: 74:[97, 57, 2, 11], Operations: [] Exploring Operation: 57-11=46, Resulting Numbers: [97, 2, 46] Generated Node #2: [97, 2, 46] from Operation: 57-11=46 Current State: 74:[97, 2, 46], Operations: ['57-11=46'] Exploring Operation: 46/2=23, Resulting Numbers: [97, 23] Generated Node #3: [97, 23] from Operation: 46/2=23 Current State: 74:[97, 23], Operations: ['57-11=46', '46/2=23'] Exploring Operation: 97-23=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[97, 57, 2, 11], Operations: [] Exploring Operation: 97-57=40, Resulting Numbers: [2, 11, 40] Generated Node #0,0: 74:[2, 11, 40] Operation: 97-57=40 Exploring Operation: 57-11=46, Resulting Numbers: [97, 2, 46] Generated Node #0,1: 74:[97, 2, 46] Operation: 57-11=46 Exploring Operation: 97-11=86, Resulting Numbers: [57, 2, 86] Generated Node #0,2: 74:[57, 2, 86] Operation: 97-11=86 Exploring Operation: 57+11=68, Resulting Numbers: [97, 2, 68] Generated Node #0,3: 74:[97, 2, 68] Operation: 57+11=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[2, 11, 40], Operations: ['97-57=40'] Exploring Operation: 11-2=9, Resulting Numbers: [40, 9] Generated Node #0,0,0: 74:[40, 9] Operation: 11-2=9 Exploring Operation: 40-11=29, Resulting Numbers: [2, 29] Generated Node #0,0,1: 74:[2, 29] Operation: 40-11=29 Exploring Operation: 40-2=38, Resulting Numbers: [11, 38] Generated Node #0,0,2: 74:[11, 38] Operation: 40-2=38 Exploring Operation: 2+11=13, Resulting Numbers: [40, 13] Generated Node #0,0,3: 74:[40, 13] Operation: 2+11=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[2, 29], Operations: ['97-57=40', '40-11=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,74 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,74 unequal: No Solution No 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: 74:[40, 9], Operations: ['97-57=40', '11-2=9'] Exploring Operation: 40+9=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 40*9=360, Resulting Numbers: [360] 360,74 unequal: No Solution No 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: 74:[11, 38], Operations: ['97-57=40', '40-2=38'] Exploring Operation: 11*38=418, Resulting Numbers: [418] 418,74 unequal: No Solution Exploring Operation: 11+38=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,74 unequal: No Solution No 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: 74:[40, 13], Operations: ['97-57=40', '2+11=13'] Exploring Operation: 40*13=520, Resulting Numbers: [520] 520,74 unequal: No Solution Exploring Operation: 40+13=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,74 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: 74:[57, 2, 86], Operations: ['97-11=86'] Exploring Operation: 86-2=84, Resulting Numbers: [57, 84] Generated Node #0,2,0: 74:[57, 84] Operation: 86-2=84 Exploring Operation: 86-57=29, Resulting Numbers: [2, 29] Generated Node #0,2,1: 74:[2, 29] Operation: 86-57=29 Exploring Operation: 57+2=59, Resulting Numbers: [86, 59] Generated Node #0,2,2: 74:[86, 59] Operation: 57+2=59 Exploring Operation: 86/2=43, Resulting Numbers: [57, 43] Generated Node #0,2,3: 74:[57, 43] Operation: 86/2=43 Moving to Node #0,2,1 Current State: 74:[2, 29], Operations: ['97-11=86', '86-57=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,74 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,74 unequal: No Solution Moving to Node #0,2,3 Current State: 74:[57, 43], Operations: ['97-11=86', '86/2=43'] Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,74 unequal: No Solution Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,74 unequal: No Solution Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[86, 59], Operations: ['97-11=86', '57+2=59'] Exploring Operation: 86+59=145, Resulting Numbers: [145] 145,74 unequal: No Solution Exploring Operation: 86*59=5074, Resulting Numbers: [5074] 5074,74 unequal: No Solution Exploring Operation: 86-59=27, Resulting Numbers: [27] 27,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[57, 84], Operations: ['97-11=86', '86-2=84'] Exploring Operation: 57+84=141, Resulting Numbers: [141] 141,74 unequal: No Solution Exploring Operation: 84-57=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 57*84=4788, Resulting Numbers: [4788] 4788,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[97, 2, 68], Operations: ['57+11=68'] Exploring Operation: 97-68=29, Resulting Numbers: [2, 29] Generated Node #0,3,0: 74:[2, 29] Operation: 97-68=29 Exploring Operation: 2+68=70, Resulting Numbers: [97, 70] Generated Node #0,3,1: 74:[97, 70] Operation: 2+68=70 Exploring Operation: 68/2=34, Resulting Numbers: [97, 34] Generated Node #0,3,2: 74:[97, 34] Operation: 68/2=34 Exploring Operation: 97-2=95, Resulting Numbers: [68, 95] Generated Node #0,3,3: 74:[68, 95] Operation: 97-2=95 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 74:[2, 29], Operations: ['57+11=68', '97-68=29'] Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,74 unequal: No Solution No 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: 74:[97, 34], Operations: ['57+11=68', '68/2=34'] Exploring Operation: 97+34=131, Resulting Numbers: [131] 131,74 unequal: No Solution Exploring Operation: 97-34=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 97*34=3298, Resulting Numbers: [3298] 3298,74 unequal: No Solution No 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: 74:[97, 70], Operations: ['57+11=68', '2+68=70'] Exploring Operation: 97*70=6790, Resulting Numbers: [6790] 6790,74 unequal: No Solution Exploring Operation: 97+70=167, Resulting Numbers: [167] 167,74 unequal: No Solution Exploring Operation: 97-70=27, Resulting Numbers: [27] 27,74 unequal: No Solution No 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: 74:[68, 95], Operations: ['57+11=68', '97-2=95'] Exploring Operation: 68+95=163, Resulting Numbers: [163] 163,74 unequal: No Solution Exploring Operation: 68*95=6460, Resulting Numbers: [6460] 6460,74 unequal: No Solution Exploring Operation: 95-68=27, Resulting Numbers: [27] 27,74 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: 74:[97, 2, 46], Operations: ['57-11=46'] Exploring Operation: 97-2=95, Resulting Numbers: [46, 95] Generated Node #0,1,0: 74:[46, 95] Operation: 97-2=95 Exploring Operation: 97+2=99, Resulting Numbers: [46, 99] Generated Node #0,1,1: 74:[46, 99] Operation: 97+2=99 Exploring Operation: 46-2=44, Resulting Numbers: [97, 44] Generated Node #0,1,2: 74:[97, 44] Operation: 46-2=44 Exploring Operation: 97-46=51, Resulting Numbers: [2, 51] Generated Node #0,1,3: 74:[2, 51] Operation: 97-46=51 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 74:[2, 51], Operations: ['57-11=46', '97-46=51'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,74 unequal: No Solution Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,74 unequal: No Solution No 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: 74:[46, 95], Operations: ['57-11=46', '97-2=95'] Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 46*95=4370, Resulting Numbers: [4370] 4370,74 unequal: No Solution Exploring Operation: 46+95=141, Resulting Numbers: [141] 141,74 unequal: No Solution No 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: 74:[97, 44], Operations: ['57-11=46', '46-2=44'] Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 97*44=4268, Resulting Numbers: [4268] 4268,74 unequal: No Solution Exploring Operation: 97+44=141, Resulting Numbers: [141] 141,74 unequal: No Solution No 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: 74:[46, 99], Operations: ['57-11=46', '97+2=99'] Exploring Operation: 46+99=145, Resulting Numbers: [145] 145,74 unequal: No Solution Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 46*99=4554, Resulting Numbers: [4554] 4554,74 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
[ 84, 40, 33, 22 ]
70
[ "40-33=7", "22*7=154", "154-84=70" ]
Current State: 70:[84, 40, 33, 22], Operations: [] Exploring Operation: 40-33=7, Resulting Numbers: [84, 22, 7] Generated Node #2: [84, 22, 7] from Operation: 40-33=7 Current State: 70:[84, 22, 7], Operations: ['40-33=7'] Exploring Operation: 22*7=154, Resulting Numbers: [84, 154] Generated Node #3: [84, 154] from Operation: 22*7=154 Current State: 70:[84, 154], Operations: ['40-33=7', '22*7=154'] Exploring Operation: 154-84=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[84, 40, 33, 22], Operations: [] Exploring Operation: 84-40=44, Resulting Numbers: [33, 22, 44] Generated Node #0,0: 70:[33, 22, 44] Operation: 84-40=44 Exploring Operation: 84-22=62, Resulting Numbers: [40, 33, 62] Generated Node #0,1: 70:[40, 33, 62] Operation: 84-22=62 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[40, 33, 62], Operations: ['84-22=62'] Exploring Operation: 40-33=7, Resulting Numbers: [62, 7] Generated Node #0,1,0: 70:[62, 7] Operation: 40-33=7 Exploring Operation: 62-40=22, Resulting Numbers: [33, 22] Generated Node #0,1,1: 70:[33, 22] Operation: 62-40=22 Moving to Node #0,1,0 Current State: 70:[62, 7], Operations: ['84-22=62', '40-33=7'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[33, 22], Operations: ['84-22=62', '62-40=22'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 33+22=55, Resulting Numbers: [55] 55,70 unequal: No Solution No 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: 70:[33, 22, 44], Operations: ['84-40=44'] Exploring Operation: 22+44=66, Resulting Numbers: [33, 66] Generated Node #0,0,0: 70:[33, 66] Operation: 22+44=66 Exploring Operation: 44/22=2, Resulting Numbers: [33, 2] Generated Node #0,0,1: 70:[33, 2] Operation: 44/22=2 Moving to Node #0,0,1 Current State: 70:[33, 2], Operations: ['84-40=44', '44/22=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,70 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[33, 66], Operations: ['84-40=44', '22+44=66'] Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 54, 16, 43, 67 ]
40
[ "54+16=70", "43+67=110", "110-70=40" ]
Current State: 40:[54, 16, 43, 67], Operations: [] Exploring Operation: 54+16=70, Resulting Numbers: [43, 67, 70] Generated Node #2: [43, 67, 70] from Operation: 54+16=70 Current State: 40:[43, 67, 70], Operations: ['54+16=70'] Exploring Operation: 43+67=110, Resulting Numbers: [70, 110] Generated Node #3: [70, 110] from Operation: 43+67=110 Current State: 40:[70, 110], Operations: ['54+16=70', '43+67=110'] Exploring Operation: 110-70=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[54, 16, 43, 67], Operations: [] Exploring Operation: 67-43=24, Resulting Numbers: [54, 16, 24] Generated Node #0,0: 40:[54, 16, 24] Operation: 67-43=24 Exploring Operation: 67-16=51, Resulting Numbers: [54, 43, 51] Generated Node #0,1: 40:[54, 43, 51] Operation: 67-16=51 Exploring Operation: 54-16=38, Resulting Numbers: [43, 67, 38] Generated Node #0,2: 40:[43, 67, 38] Operation: 54-16=38 Exploring Operation: 54-43=11, Resulting Numbers: [16, 67, 11] Generated Node #0,3: 40:[16, 67, 11] Operation: 54-43=11 Exploring Operation: 67-54=13, Resulting Numbers: [16, 43, 13] Generated Node #0,4: 40:[16, 43, 13] Operation: 67-54=13 Start Sub Search at level 1: Moving to Node #0,4 Current State: 40:[16, 43, 13], Operations: ['67-54=13'] Exploring Operation: 43+13=56, Resulting Numbers: [16, 56] Generated Node #0,4,0: 40:[16, 56] Operation: 43+13=56 Exploring Operation: 43-13=30, Resulting Numbers: [16, 30] Generated Node #0,4,1: 40:[16, 30] Operation: 43-13=30 Exploring Operation: 16-13=3, Resulting Numbers: [43, 3] Generated Node #0,4,2: 40:[43, 3] Operation: 16-13=3 Exploring Operation: 16+13=29, Resulting Numbers: [43, 29] Generated Node #0,4,3: 40:[43, 29] Operation: 16+13=29 Exploring Operation: 43-16=27, Resulting Numbers: [13, 27] Generated Node #0,4,4: 40:[13, 27] Operation: 43-16=27 Moving to Node #0,4,2 Current State: 40:[43, 3], Operations: ['67-54=13', '16-13=3'] Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,40 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[54, 16, 43, 67], Operations: [] Exploring Operation: 67-54=13, Resulting Numbers: [16, 43, 13] Generated Node #0,4: 40:[16, 43, 13] Operation: 67-54=13 Moving to Node #0,4 Current State: 40:[16, 43, 13], Operations: ['67-54=13'] Exploring Operation: 16-13=3, Resulting Numbers: [43, 3] Generated Node #0,4,2: 40:[43, 3] Operation: 16-13=3 Moving to Node #0,4,2 Current State: 40:[43, 3], Operations: ['67-54=13', '16-13=3'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 74, 47, 44, 37 ]
50
[ "74*47=3478", "3478/37=94", "94-44=50" ]
Current State: 50:[74, 47, 44, 37], Operations: [] Exploring Operation: 74*47=3478, Resulting Numbers: [44, 37, 3478] Generated Node #2: [44, 37, 3478] from Operation: 74*47=3478 Current State: 50:[44, 37, 3478], Operations: ['74*47=3478'] Exploring Operation: 3478/37=94, Resulting Numbers: [44, 94] Generated Node #3: [44, 94] from Operation: 3478/37=94 Current State: 50:[44, 94], Operations: ['74*47=3478', '3478/37=94'] Exploring Operation: 94-44=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[74, 47, 44, 37], Operations: [] Exploring Operation: 74-47=27, Resulting Numbers: [44, 37, 27] Generated Node #0,0: 50:[44, 37, 27] Operation: 74-47=27 Exploring Operation: 74-44=30, Resulting Numbers: [47, 37, 30] Generated Node #0,1: 50:[47, 37, 30] Operation: 74-44=30 Exploring Operation: 74/37=2, Resulting Numbers: [47, 44, 2] Generated Node #0,2: 50:[47, 44, 2] Operation: 74/37=2 Moving to Node #0,2 Current State: 50:[47, 44, 2], Operations: ['74/37=2'] Exploring Operation: 47-44=3, Resulting Numbers: [2, 3] Generated Node #0,2,0: 50:[2, 3] Operation: 47-44=3 Exploring Operation: 47+2=49, Resulting Numbers: [44, 49] Generated Node #0,2,1: 50:[44, 49] Operation: 47+2=49 Exploring Operation: 44/2=22, Resulting Numbers: [47, 22] Generated Node #0,2,2: 50:[47, 22] Operation: 44/2=22 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[2, 3], Operations: ['74/37=2', '47-44=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[47, 22], Operations: ['74/37=2', '44/2=22'] Exploring Operation: 47*22=1034, Resulting Numbers: [1034] 1034,50 unequal: No Solution Exploring Operation: 47+22=69, Resulting Numbers: [69] 69,50 unequal: No Solution Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[44, 49], Operations: ['74/37=2', '47+2=49'] Exploring Operation: 44*49=2156, Resulting Numbers: [2156] 2156,50 unequal: No Solution Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 44+49=93, Resulting Numbers: [93] 93,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 50:[44, 37, 27], Operations: ['74-47=27'] Exploring Operation: 44-27=17, Resulting Numbers: [37, 17] Generated Node #0,0,0: 50:[37, 17] Operation: 44-27=17 Exploring Operation: 44-37=7, Resulting Numbers: [27, 7] Generated Node #0,0,1: 50:[27, 7] Operation: 44-37=7 Exploring Operation: 37-27=10, Resulting Numbers: [44, 10] Generated Node #0,0,2: 50:[44, 10] Operation: 37-27=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[27, 7], Operations: ['74-47=27', '44-37=7'] Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,50 unequal: No Solution Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,50 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[44, 10], Operations: ['74-47=27', '37-27=10'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,50 unequal: No Solution Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,50 unequal: No Solution Exploring Operation: 44*10=440, Resulting Numbers: [440] 440,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:[37, 17], Operations: ['74-47=27', '44-27=17'] Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,50 unequal: No Solution Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,50 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,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:[47, 37, 30], Operations: ['74-44=30'] Exploring Operation: 47-37=10, Resulting Numbers: [30, 10] Generated Node #0,1,0: 50:[30, 10] Operation: 47-37=10 Exploring Operation: 37-30=7, Resulting Numbers: [47, 7] Generated Node #0,1,1: 50:[47, 7] Operation: 37-30=7 Exploring Operation: 47-30=17, Resulting Numbers: [37, 17] Generated Node #0,1,2: 50:[37, 17] Operation: 47-30=17 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[30, 10], Operations: ['74-44=30', '47-37=10'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[47, 7], Operations: ['74-44=30', '37-30=7'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,50 unequal: No Solution Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,50 unequal: No Solution Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,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:[37, 17], Operations: ['74-44=30', '47-30=17'] Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,50 unequal: No Solution Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,50 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 79, 58, 3, 1 ]
95
[ "79*1=79", "58*3=174", "174-79=95" ]
Current State: 95:[79, 58, 3, 1], Operations: [] Exploring Operation: 79*1=79, Resulting Numbers: [58, 3, 79] Generated Node #2: [58, 3, 79] from Operation: 79*1=79 Current State: 95:[58, 3, 79], Operations: ['79*1=79'] Exploring Operation: 58*3=174, Resulting Numbers: [79, 174] Generated Node #3: [79, 174] from Operation: 58*3=174 Current State: 95:[79, 174], Operations: ['79*1=79', '58*3=174'] Exploring Operation: 174-79=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[79, 58, 3, 1], Operations: [] Exploring Operation: 79-58=21, Resulting Numbers: [3, 1, 21] Generated Node #0,0: 95:[3, 1, 21] Operation: 79-58=21 Exploring Operation: 79+3=82, Resulting Numbers: [58, 1, 82] Generated Node #0,1: 95:[58, 1, 82] Operation: 79+3=82 Exploring Operation: 79+58=137, Resulting Numbers: [3, 1, 137] Generated Node #0,2: 95:[3, 1, 137] Operation: 79+58=137 Moving to Node #0,0 Current State: 95:[3, 1, 21], Operations: ['79-58=21'] Exploring Operation: 21-1=20, Resulting Numbers: [3, 20] Generated Node #0,0,0: 95:[3, 20] Operation: 21-1=20 Exploring Operation: 3*1=3, Resulting Numbers: [21, 3] Generated Node #0,0,1: 95:[21, 3] Operation: 3*1=3 Exploring Operation: 3+1=4, Resulting Numbers: [21, 4] Generated Node #0,0,2: 95:[21, 4] Operation: 3+1=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[3, 20], Operations: ['79-58=21', '21-1=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,95 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[21, 4], Operations: ['79-58=21', '3+1=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,95 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,95 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[21, 3], Operations: ['79-58=21', '3*1=3'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,95 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,95 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: 95:[3, 1, 137], Operations: ['79+58=137'] Exploring Operation: 3+1=4, Resulting Numbers: [137, 4] Generated Node #0,2,0: 95:[137, 4] Operation: 3+1=4 Exploring Operation: 137-1=136, Resulting Numbers: [3, 136] Generated Node #0,2,1: 95:[3, 136] Operation: 137-1=136 Exploring Operation: 137-3=134, Resulting Numbers: [1, 134] Generated Node #0,2,2: 95:[1, 134] Operation: 137-3=134 Moving to Node #0,1 Current State: 95:[58, 1, 82], Operations: ['79+3=82'] Exploring Operation: 82-58=24, Resulting Numbers: [1, 24] Generated Node #0,1,0: 95:[1, 24] Operation: 82-58=24 Exploring Operation: 58+1=59, Resulting Numbers: [82, 59] Generated Node #0,1,1: 95:[82, 59] Operation: 58+1=59 Exploring Operation: 58+82=140, Resulting Numbers: [1, 140] Generated Node #0,1,2: 95:[1, 140] Operation: 58+82=140 Moving to Node #0,1,0 Current State: 95:[1, 24], Operations: ['79+3=82', '82-58=24'] Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[1, 134], Operations: ['79+58=137', '137-3=134'] Exploring Operation: 134-1=133, Resulting Numbers: [133] 133,95 unequal: No Solution Exploring Operation: 134/1=134, Resulting Numbers: [134] 134,95 unequal: No Solution Exploring Operation: 1*134=134, Resulting Numbers: [134] 134,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[137, 4], Operations: ['79+58=137', '3+1=4'] Exploring Operation: 137-4=133, Resulting Numbers: [133] 133,95 unequal: No Solution Exploring Operation: 137*4=548, Resulting Numbers: [548] 548,95 unequal: No Solution Exploring Operation: 137+4=141, Resulting Numbers: [141] 141,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[3, 136], Operations: ['79+58=137', '137-1=136'] Exploring Operation: 3+136=139, Resulting Numbers: [139] 139,95 unequal: No Solution Exploring Operation: 3*136=408, Resulting Numbers: [408] 408,95 unequal: No Solution Exploring Operation: 136-3=133, Resulting Numbers: [133] 133,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[82, 59], Operations: ['79+3=82', '58+1=59'] Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 82*59=4838, Resulting Numbers: [4838] 4838,95 unequal: No Solution Exploring Operation: 82+59=141, Resulting Numbers: [141] 141,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[1, 140], Operations: ['79+3=82', '58+82=140'] Exploring Operation: 140-1=139, Resulting Numbers: [139] 139,95 unequal: No Solution Exploring Operation: 1*140=140, Resulting Numbers: [140] 140,95 unequal: No Solution Exploring Operation: 140/1=140, Resulting Numbers: [140] 140,95 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 21, 9, 99, 50 ]
60
[ "21+50=71", "99/9=11", "71-11=60" ]
Current State: 60:[21, 9, 99, 50], Operations: [] Exploring Operation: 21+50=71, Resulting Numbers: [9, 99, 71] Generated Node #2: [9, 99, 71] from Operation: 21+50=71 Current State: 60:[9, 99, 71], Operations: ['21+50=71'] Exploring Operation: 99/9=11, Resulting Numbers: [71, 11] Generated Node #3: [71, 11] from Operation: 99/9=11 Current State: 60:[71, 11], Operations: ['21+50=71', '99/9=11'] Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[21, 9, 99, 50], Operations: [] Exploring Operation: 99/9=11, Resulting Numbers: [21, 50, 11] Generated Node #0,0: 60:[21, 50, 11] Operation: 99/9=11 Exploring Operation: 99-50=49, Resulting Numbers: [21, 9, 49] Generated Node #0,1: 60:[21, 9, 49] Operation: 99-50=49 Exploring Operation: 99-9=90, Resulting Numbers: [21, 50, 90] Generated Node #0,2: 60:[21, 50, 90] Operation: 99-9=90 Exploring Operation: 50-21=29, Resulting Numbers: [9, 99, 29] Generated Node #0,3: 60:[9, 99, 29] Operation: 50-21=29 Exploring Operation: 99-21=78, Resulting Numbers: [9, 50, 78] Generated Node #0,4: 60:[9, 50, 78] Operation: 99-21=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[21, 50, 11], Operations: ['99/9=11'] Exploring Operation: 50-21=29, Resulting Numbers: [11, 29] Generated Node #0,0,0: 60:[11, 29] Operation: 50-21=29 Exploring Operation: 50+11=61, Resulting Numbers: [21, 61] Generated Node #0,0,1: 60:[21, 61] Operation: 50+11=61 Exploring Operation: 21-11=10, Resulting Numbers: [50, 10] Generated Node #0,0,2: 60:[50, 10] Operation: 21-11=10 Exploring Operation: 21+50=71, Resulting Numbers: [11, 71] Generated Node #0,0,3: 60:[11, 71] Operation: 21+50=71 Exploring Operation: 50-11=39, Resulting Numbers: [21, 39] Generated Node #0,0,4: 60:[21, 39] Operation: 50-11=39 Moving to Node #0,0,0 Current State: 60:[11, 29], Operations: ['99/9=11', '50-21=29'] Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,60 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[21, 61], Operations: ['99/9=11', '50+11=61'] Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 21*61=1281, Resulting Numbers: [1281] 1281,60 unequal: No Solution Exploring Operation: 21+61=82, Resulting Numbers: [82] 82,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[50, 10], Operations: ['99/9=11', '21-11=10'] Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 50*10=500, Resulting Numbers: [500] 500,60 unequal: No Solution Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[21, 9, 99, 50], Operations: [] Exploring Operation: 99/9=11, Resulting Numbers: [21, 50, 11] Generated Node #0,0: 60:[21, 50, 11] Operation: 99/9=11 Moving to Node #0,0 Current State: 60:[21, 50, 11], Operations: ['99/9=11'] Exploring Operation: 21-11=10, Resulting Numbers: [50, 10] Generated Node #0,0,2: 60:[50, 10] Operation: 21-11=10 Moving to Node #0,0,2 Current State: 60:[50, 10], Operations: ['99/9=11', '21-11=10'] Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 36, 31, 37, 50 ]
92
[ "36-31=5", "37+50=87", "5+87=92" ]
Current State: 92:[36, 31, 37, 50], Operations: [] Exploring Operation: 36-31=5, Resulting Numbers: [37, 50, 5] Generated Node #2: [37, 50, 5] from Operation: 36-31=5 Current State: 92:[37, 50, 5], Operations: ['36-31=5'] Exploring Operation: 37+50=87, Resulting Numbers: [5, 87] Generated Node #3: [5, 87] from Operation: 37+50=87 Current State: 92:[5, 87], Operations: ['36-31=5', '37+50=87'] Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[36, 31, 37, 50], Operations: [] Exploring Operation: 36-31=5, Resulting Numbers: [37, 50, 5] Generated Node #0,0: 92:[37, 50, 5] Operation: 36-31=5 Exploring Operation: 37-36=1, Resulting Numbers: [31, 50, 1] Generated Node #0,1: 92:[31, 50, 1] Operation: 37-36=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[31, 50, 1], Operations: ['37-36=1'] Exploring Operation: 31-1=30, Resulting Numbers: [50, 30] Generated Node #0,1,0: 92:[50, 30] Operation: 31-1=30 Exploring Operation: 50-31=19, Resulting Numbers: [1, 19] Generated Node #0,1,1: 92:[1, 19] Operation: 50-31=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 92:[1, 19], Operations: ['37-36=1', '50-31=19'] Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[50, 30], Operations: ['37-36=1', '31-1=30'] Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[37, 50, 5], Operations: ['36-31=5'] Exploring Operation: 37+5=42, Resulting Numbers: [50, 42] Generated Node #0,0,0: 92:[50, 42] Operation: 37+5=42 Exploring Operation: 37+50=87, Resulting Numbers: [5, 87] Generated Node #0,0,1: 92:[5, 87] Operation: 37+50=87 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[5, 87], Operations: ['36-31=5', '37+50=87'] Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,92 unequal: No Solution Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[36, 31, 37, 50], Operations: [] Exploring Operation: 36-31=5, Resulting Numbers: [37, 50, 5] Generated Node #0,0: 92:[37, 50, 5] Operation: 36-31=5 Moving to Node #0,0 Current State: 92:[37, 50, 5], Operations: ['36-31=5'] Exploring Operation: 37+50=87, Resulting Numbers: [5, 87] Generated Node #0,0,1: 92:[5, 87] Operation: 37+50=87 Moving to Node #0,0,1 Current State: 92:[5, 87], Operations: ['36-31=5', '37+50=87'] Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 93, 67, 41, 43 ]
41
[ "93+41=134", "134/67=2", "43-2=41" ]
Current State: 41:[93, 67, 41, 43], Operations: [] Exploring Operation: 93+41=134, Resulting Numbers: [67, 43, 134] Generated Node #2: [67, 43, 134] from Operation: 93+41=134 Current State: 41:[67, 43, 134], Operations: ['93+41=134'] Exploring Operation: 134/67=2, Resulting Numbers: [43, 2] Generated Node #3: [43, 2] from Operation: 134/67=2 Current State: 41:[43, 2], Operations: ['93+41=134', '134/67=2'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[93, 67, 41, 43], Operations: [] Exploring Operation: 93-43=50, Resulting Numbers: [67, 41, 50] Generated Node #0,0: 41:[67, 41, 50] Operation: 93-43=50 Exploring Operation: 93-67=26, Resulting Numbers: [41, 43, 26] Generated Node #0,1: 41:[41, 43, 26] Operation: 93-67=26 Exploring Operation: 67-41=26, Resulting Numbers: [93, 43, 26] Generated Node #0,2: 41:[93, 43, 26] Operation: 67-41=26 Exploring Operation: 93-41=52, Resulting Numbers: [67, 43, 52] Generated Node #0,3: 41:[67, 43, 52] Operation: 93-41=52 Moving to Node #0,1 Current State: 41:[41, 43, 26], Operations: ['93-67=26'] Exploring Operation: 41+26=67, Resulting Numbers: [43, 67] Generated Node #0,1,0: 41:[43, 67] Operation: 41+26=67 Exploring Operation: 43+26=69, Resulting Numbers: [41, 69] Generated Node #0,1,1: 41:[41, 69] Operation: 43+26=69 Exploring Operation: 41-26=15, Resulting Numbers: [43, 15] Generated Node #0,1,2: 41:[43, 15] Operation: 41-26=15 Exploring Operation: 43-26=17, Resulting Numbers: [41, 17] Generated Node #0,1,3: 41:[41, 17] Operation: 43-26=17 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[41, 17], Operations: ['93-67=26', '43-26=17'] Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 41*17=697, Resulting Numbers: [697] 697,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:[43, 67], Operations: ['93-67=26', '41+26=67'] Exploring Operation: 43+67=110, Resulting Numbers: [110] 110,41 unequal: No Solution Exploring Operation: 43*67=2881, Resulting Numbers: [2881] 2881,41 unequal: No Solution Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,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:[41, 69], Operations: ['93-67=26', '43+26=69'] Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 41+69=110, Resulting Numbers: [110] 110,41 unequal: No Solution Exploring Operation: 41*69=2829, Resulting Numbers: [2829] 2829,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:[43, 15], Operations: ['93-67=26', '41-26=15'] Exploring Operation: 43*15=645, Resulting Numbers: [645] 645,41 unequal: No Solution Exploring Operation: 43+15=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 41:[67, 41, 50], Operations: ['93-43=50'] Exploring Operation: 67-50=17, Resulting Numbers: [41, 17] Generated Node #0,0,0: 41:[41, 17] Operation: 67-50=17 Exploring Operation: 50-41=9, Resulting Numbers: [67, 9] Generated Node #0,0,1: 41:[67, 9] Operation: 50-41=9 Exploring Operation: 67-41=26, Resulting Numbers: [50, 26] Generated Node #0,0,2: 41:[50, 26] Operation: 67-41=26 Exploring Operation: 67+41=108, Resulting Numbers: [50, 108] Generated Node #0,0,3: 41:[50, 108] Operation: 67+41=108 Moving to Node #0,3 Current State: 41:[67, 43, 52], Operations: ['93-41=52'] Exploring Operation: 52-43=9, Resulting Numbers: [67, 9] Generated Node #0,3,0: 41:[67, 9] Operation: 52-43=9 Exploring Operation: 67-43=24, Resulting Numbers: [52, 24] Generated Node #0,3,1: 41:[52, 24] Operation: 67-43=24 Exploring Operation: 67-52=15, Resulting Numbers: [43, 15] Generated Node #0,3,2: 41:[43, 15] Operation: 67-52=15 Exploring Operation: 67+43=110, Resulting Numbers: [52, 110] Generated Node #0,3,3: 41:[52, 110] Operation: 67+43=110 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 41:[52, 24], Operations: ['93-41=52', '67-43=24'] Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,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:[43, 15], Operations: ['93-41=52', '67-52=15'] Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 43+15=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 43*15=645, Resulting Numbers: [645] 645,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:[67, 9], Operations: ['93-41=52', '52-43=9'] Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,41 unequal: No Solution Exploring Operation: 67*9=603, Resulting Numbers: [603] 603,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:[52, 110], Operations: ['93-41=52', '67+43=110'] Exploring Operation: 52*110=5720, Resulting Numbers: [5720] 5720,41 unequal: No Solution Exploring Operation: 52+110=162, Resulting Numbers: [162] 162,41 unequal: No Solution Exploring Operation: 110-52=58, Resulting Numbers: [58] 58,41 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: 41:[93, 43, 26], Operations: ['67-41=26'] Exploring Operation: 93-26=67, Resulting Numbers: [43, 67] Generated Node #0,2,0: 41:[43, 67] Operation: 93-26=67 Exploring Operation: 93-43=50, Resulting Numbers: [26, 50] Generated Node #0,2,1: 41:[26, 50] Operation: 93-43=50 Exploring Operation: 93+26=119, Resulting Numbers: [43, 119] Generated Node #0,2,2: 41:[43, 119] Operation: 93+26=119 Exploring Operation: 43-26=17, Resulting Numbers: [93, 17] Generated Node #0,2,3: 41:[93, 17] Operation: 43-26=17 Moving to Node #0,0,0 Current State: 41:[41, 17], Operations: ['93-43=50', '67-50=17'] Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 41*17=697, Resulting Numbers: [697] 697,41 unequal: No Solution Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[50, 26], Operations: ['93-43=50', '67-41=26'] Exploring Operation: 50*26=1300, Resulting Numbers: [1300] 1300,41 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[26, 50], Operations: ['67-41=26', '93-43=50'] Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[43, 67], Operations: ['67-41=26', '93-26=67'] Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 43*67=2881, Resulting Numbers: [2881] 2881,41 unequal: No Solution Exploring Operation: 43+67=110, Resulting Numbers: [110] 110,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[67, 9], Operations: ['93-43=50', '50-41=9'] Exploring Operation: 67*9=603, Resulting Numbers: [603] 603,41 unequal: No Solution Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[50, 108], Operations: ['93-43=50', '67+41=108'] Exploring Operation: 50+108=158, Resulting Numbers: [158] 158,41 unequal: No Solution Exploring Operation: 50*108=5400, Resulting Numbers: [5400] 5400,41 unequal: No Solution Exploring Operation: 108-50=58, Resulting Numbers: [58] 58,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[93, 17], Operations: ['67-41=26', '43-26=17'] Exploring Operation: 93*17=1581, Resulting Numbers: [1581] 1581,41 unequal: No Solution Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 93+17=110, Resulting Numbers: [110] 110,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[43, 119], Operations: ['67-41=26', '93+26=119'] Exploring Operation: 43*119=5117, Resulting Numbers: [5117] 5117,41 unequal: No Solution Exploring Operation: 43+119=162, Resulting Numbers: [162] 162,41 unequal: No Solution Exploring Operation: 119-43=76, Resulting Numbers: [76] 76,41 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 36, 22, 60, 62 ]
40
[ "62-60=2", "36/2=18", "22+18=40" ]
Current State: 40:[36, 22, 60, 62], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [36, 22, 2] Generated Node #2: [36, 22, 2] from Operation: 62-60=2 Current State: 40:[36, 22, 2], Operations: ['62-60=2'] Exploring Operation: 36/2=18, Resulting Numbers: [22, 18] Generated Node #3: [22, 18] from Operation: 36/2=18 Current State: 40:[22, 18], Operations: ['62-60=2', '36/2=18'] Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[36, 22, 60, 62], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [36, 22, 2] Generated Node #0,0: 40:[36, 22, 2] Operation: 62-60=2 Moving to Node #0,0 Current State: 40:[36, 22, 2], Operations: ['62-60=2'] Exploring Operation: 36-22=14, Resulting Numbers: [2, 14] Generated Node #0,0,0: 40:[2, 14] Operation: 36-22=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[2, 14], Operations: ['62-60=2', '36-22=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,40 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
[ 66, 81, 9, 90 ]
47
[ "81+90=171", "171/9=19", "66-19=47" ]
Current State: 47:[66, 81, 9, 90], Operations: [] Exploring Operation: 81+90=171, Resulting Numbers: [66, 9, 171] Generated Node #2: [66, 9, 171] from Operation: 81+90=171 Current State: 47:[66, 9, 171], Operations: ['81+90=171'] Exploring Operation: 171/9=19, Resulting Numbers: [66, 19] Generated Node #3: [66, 19] from Operation: 171/9=19 Current State: 47:[66, 19], Operations: ['81+90=171', '171/9=19'] Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[66, 81, 9, 90], Operations: [] Exploring Operation: 66-9=57, Resulting Numbers: [81, 90, 57] Generated Node #0,0: 47:[81, 90, 57] Operation: 66-9=57 Exploring Operation: 81-9=72, Resulting Numbers: [66, 90, 72] Generated Node #0,1: 47:[66, 90, 72] Operation: 81-9=72 Moving to Node #0,0 Current State: 47:[81, 90, 57], Operations: ['66-9=57'] Exploring Operation: 90-81=9, Resulting Numbers: [57, 9] Generated Node #0,0,0: 47:[57, 9] Operation: 90-81=9 Exploring Operation: 90-57=33, Resulting Numbers: [81, 33] Generated Node #0,0,1: 47:[81, 33] Operation: 90-57=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[57, 9], Operations: ['66-9=57', '90-81=9'] Exploring Operation: 57+9=66, Resulting Numbers: [66] 66,47 unequal: No Solution Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[81, 33], Operations: ['66-9=57', '90-57=33'] Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 81+33=114, Resulting Numbers: [114] 114,47 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: 47:[66, 90, 72], Operations: ['81-9=72'] Exploring Operation: 90-66=24, Resulting Numbers: [72, 24] Generated Node #0,1,0: 47:[72, 24] Operation: 90-66=24 Exploring Operation: 90-72=18, Resulting Numbers: [66, 18] Generated Node #0,1,1: 47:[66, 18] Operation: 90-72=18 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[72, 24], Operations: ['81-9=72', '90-66=24'] Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[66, 18], Operations: ['81-9=72', '90-72=18'] Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 66+18=84, Resulting Numbers: [84] 84,47 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
[ 10, 67, 43, 79 ]
68
[ "67+43=110", "110/10=11", "79-11=68" ]
Current State: 68:[10, 67, 43, 79], Operations: [] Exploring Operation: 67+43=110, Resulting Numbers: [10, 79, 110] Generated Node #2: [10, 79, 110] from Operation: 67+43=110 Current State: 68:[10, 79, 110], Operations: ['67+43=110'] Exploring Operation: 110/10=11, Resulting Numbers: [79, 11] Generated Node #3: [79, 11] from Operation: 110/10=11 Current State: 68:[79, 11], Operations: ['67+43=110', '110/10=11'] Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[10, 67, 43, 79], Operations: [] Exploring Operation: 43-10=33, Resulting Numbers: [67, 79, 33] Generated Node #0,0: 68:[67, 79, 33] Operation: 43-10=33 Exploring Operation: 79-67=12, Resulting Numbers: [10, 43, 12] Generated Node #0,1: 68:[10, 43, 12] Operation: 79-67=12 Exploring Operation: 79-43=36, Resulting Numbers: [10, 67, 36] Generated Node #0,2: 68:[10, 67, 36] Operation: 79-43=36 Exploring Operation: 79-10=69, Resulting Numbers: [67, 43, 69] Generated Node #0,3: 68:[67, 43, 69] Operation: 79-10=69 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[10, 67, 36], Operations: ['79-43=36'] Exploring Operation: 67-10=57, Resulting Numbers: [36, 57] Generated Node #0,2,0: 68:[36, 57] Operation: 67-10=57 Exploring Operation: 10+67=77, Resulting Numbers: [36, 77] Generated Node #0,2,1: 68:[36, 77] Operation: 10+67=77 Exploring Operation: 36-10=26, Resulting Numbers: [67, 26] Generated Node #0,2,2: 68:[67, 26] Operation: 36-10=26 Exploring Operation: 67-36=31, Resulting Numbers: [10, 31] Generated Node #0,2,3: 68:[10, 31] Operation: 67-36=31 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 68:[67, 26], Operations: ['79-43=36', '36-10=26'] Exploring Operation: 67-26=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 67*26=1742, Resulting Numbers: [1742] 1742,68 unequal: No Solution Exploring Operation: 67+26=93, Resulting Numbers: [93] 93,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 68:[10, 31], Operations: ['79-43=36', '67-36=31'] Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,68 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 68:[36, 77], Operations: ['79-43=36', '10+67=77'] Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 36+77=113, Resulting Numbers: [113] 113,68 unequal: No Solution Exploring Operation: 36*77=2772, Resulting Numbers: [2772] 2772,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 68:[36, 57], Operations: ['79-43=36', '67-10=57'] Exploring Operation: 36*57=2052, Resulting Numbers: [2052] 2052,68 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 36+57=93, Resulting Numbers: [93] 93,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 68:[67, 43, 69], Operations: ['79-10=69'] Exploring Operation: 67+43=110, Resulting Numbers: [69, 110] Generated Node #0,3,0: 68:[69, 110] Operation: 67+43=110 Exploring Operation: 69-67=2, Resulting Numbers: [43, 2] Generated Node #0,3,1: 68:[43, 2] Operation: 69-67=2 Exploring Operation: 69-43=26, Resulting Numbers: [67, 26] Generated Node #0,3,2: 68:[67, 26] Operation: 69-43=26 Exploring Operation: 67-43=24, Resulting Numbers: [69, 24] Generated Node #0,3,3: 68:[69, 24] Operation: 67-43=24 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 68:[69, 24], Operations: ['79-10=69', '67-43=24'] Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,68 unequal: No Solution Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,68 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 68:[43, 2], Operations: ['79-10=69', '69-67=2'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,68 unequal: No Solution Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 68:[67, 26], Operations: ['79-10=69', '69-43=26'] Exploring Operation: 67+26=93, Resulting Numbers: [93] 93,68 unequal: No Solution Exploring Operation: 67*26=1742, Resulting Numbers: [1742] 1742,68 unequal: No Solution Exploring Operation: 67-26=41, Resulting Numbers: [41] 41,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 68:[69, 110], Operations: ['79-10=69', '67+43=110'] Exploring Operation: 69+110=179, Resulting Numbers: [179] 179,68 unequal: No Solution Exploring Operation: 110-69=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 69*110=7590, Resulting Numbers: [7590] 7590,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[67, 79, 33], Operations: ['43-10=33'] Exploring Operation: 67+33=100, Resulting Numbers: [79, 100] Generated Node #0,0,0: 68:[79, 100] Operation: 67+33=100 Exploring Operation: 67-33=34, Resulting Numbers: [79, 34] Generated Node #0,0,1: 68:[79, 34] Operation: 67-33=34 Exploring Operation: 79-67=12, Resulting Numbers: [33, 12] Generated Node #0,0,2: 68:[33, 12] Operation: 79-67=12 Exploring Operation: 79-33=46, Resulting Numbers: [67, 46] Generated Node #0,0,3: 68:[67, 46] Operation: 79-33=46 Moving to Node #0,0,2 Current State: 68:[33, 12], Operations: ['43-10=33', '79-67=12'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,68 unequal: No Solution Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[79, 34], Operations: ['43-10=33', '67-33=34'] Exploring Operation: 79+34=113, Resulting Numbers: [113] 113,68 unequal: No Solution Exploring Operation: 79*34=2686, Resulting Numbers: [2686] 2686,68 unequal: No Solution Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,68 unequal: No Solution Moving to Node #0,0,3 Current State: 68:[67, 46], Operations: ['43-10=33', '79-33=46'] Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 67+46=113, Resulting Numbers: [113] 113,68 unequal: No Solution Exploring Operation: 67*46=3082, Resulting Numbers: [3082] 3082,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[79, 100], Operations: ['43-10=33', '67+33=100'] Exploring Operation: 79*100=7900, Resulting Numbers: [7900] 7900,68 unequal: No Solution Exploring Operation: 100-79=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 79+100=179, Resulting Numbers: [179] 179,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[10, 43, 12], Operations: ['79-67=12'] Exploring Operation: 43-12=31, Resulting Numbers: [10, 31] Generated Node #0,1,0: 68:[10, 31] Operation: 43-12=31 Exploring Operation: 43-10=33, Resulting Numbers: [12, 33] Generated Node #0,1,1: 68:[12, 33] Operation: 43-10=33 Exploring Operation: 10+12=22, Resulting Numbers: [43, 22] Generated Node #0,1,2: 68:[43, 22] Operation: 10+12=22 Exploring Operation: 12-10=2, Resulting Numbers: [43, 2] Generated Node #0,1,3: 68:[43, 2] Operation: 12-10=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[12, 33], Operations: ['79-67=12', '43-10=33'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,68 unequal: No Solution Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,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,1,0 Current State: 68:[10, 31], Operations: ['79-67=12', '43-12=31'] Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,68 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,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,1,3 Current State: 68:[43, 2], Operations: ['79-67=12', '12-10=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,68 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,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,1,2 Current State: 68:[43, 22], Operations: ['79-67=12', '10+12=22'] Exploring Operation: 43*22=946, Resulting Numbers: [946] 946,68 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 11, 49, 62, 76 ]
67
[ "62-49=13", "11*13=143", "143-76=67" ]
Current State: 67:[11, 49, 62, 76], Operations: [] Exploring Operation: 62-49=13, Resulting Numbers: [11, 76, 13] Generated Node #2: [11, 76, 13] from Operation: 62-49=13 Current State: 67:[11, 76, 13], Operations: ['62-49=13'] Exploring Operation: 11*13=143, Resulting Numbers: [76, 143] Generated Node #3: [76, 143] from Operation: 11*13=143 Current State: 67:[76, 143], Operations: ['62-49=13', '11*13=143'] Exploring Operation: 143-76=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[11, 49, 62, 76], Operations: [] Exploring Operation: 11+49=60, Resulting Numbers: [62, 76, 60] Generated Node #0,0: 67:[62, 76, 60] Operation: 11+49=60 Exploring Operation: 76-11=65, Resulting Numbers: [49, 62, 65] Generated Node #0,1: 67:[49, 62, 65] Operation: 76-11=65 Exploring Operation: 11+62=73, Resulting Numbers: [49, 76, 73] Generated Node #0,2: 67:[49, 76, 73] Operation: 11+62=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[62, 76, 60], Operations: ['11+49=60'] Exploring Operation: 76-60=16, Resulting Numbers: [62, 16] Generated Node #0,0,0: 67:[62, 16] Operation: 76-60=16 Exploring Operation: 76-62=14, Resulting Numbers: [60, 14] Generated Node #0,0,1: 67:[60, 14] Operation: 76-62=14 Exploring Operation: 62+60=122, Resulting Numbers: [76, 122] Generated Node #0,0,2: 67:[76, 122] Operation: 62+60=122 Moving to Node #0,0,0 Current State: 67:[62, 16], Operations: ['11+49=60', '76-60=16'] Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,67 unequal: No Solution Exploring Operation: 62*16=992, Resulting Numbers: [992] 992,67 unequal: No Solution Exploring Operation: 62+16=78, Resulting Numbers: [78] 78,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[60, 14], Operations: ['11+49=60', '76-62=14'] Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,67 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,67 unequal: No Solution Exploring Operation: 60*14=840, Resulting Numbers: [840] 840,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[76, 122], Operations: ['11+49=60', '62+60=122'] Exploring Operation: 76*122=9272, Resulting Numbers: [9272] 9272,67 unequal: No Solution Exploring Operation: 76+122=198, Resulting Numbers: [198] 198,67 unequal: No Solution Exploring Operation: 122-76=46, Resulting Numbers: [46] 46,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:[49, 62, 65], Operations: ['76-11=65'] Exploring Operation: 49+62=111, Resulting Numbers: [65, 111] Generated Node #0,1,0: 67:[65, 111] Operation: 49+62=111 Exploring Operation: 49+65=114, Resulting Numbers: [62, 114] Generated Node #0,1,1: 67:[62, 114] Operation: 49+65=114 Exploring Operation: 62-49=13, Resulting Numbers: [65, 13] Generated Node #0,1,2: 67:[65, 13] Operation: 62-49=13 Moving to Node #0,1,0 Current State: 67:[65, 111], Operations: ['76-11=65', '49+62=111'] Exploring Operation: 65*111=7215, Resulting Numbers: [7215] 7215,67 unequal: No Solution Exploring Operation: 111-65=46, Resulting Numbers: [46] 46,67 unequal: No Solution Exploring Operation: 65+111=176, Resulting Numbers: [176] 176,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[62, 114], Operations: ['76-11=65', '49+65=114'] Exploring Operation: 62*114=7068, Resulting Numbers: [7068] 7068,67 unequal: No Solution Exploring Operation: 114-62=52, Resulting Numbers: [52] 52,67 unequal: No Solution Exploring Operation: 62+114=176, Resulting Numbers: [176] 176,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[65, 13], Operations: ['76-11=65', '62-49=13'] Exploring Operation: 65+13=78, Resulting Numbers: [78] 78,67 unequal: No Solution Exploring Operation: 65-13=52, Resulting Numbers: [52] 52,67 unequal: No Solution Exploring Operation: 65/13=5, Resulting Numbers: [5] 5,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,2 Current State: 67:[49, 76, 73], Operations: ['11+62=73'] Exploring Operation: 76-49=27, Resulting Numbers: [73, 27] Generated Node #0,2,0: 67:[73, 27] Operation: 76-49=27 Exploring Operation: 73-49=24, Resulting Numbers: [76, 24] Generated Node #0,2,1: 67:[76, 24] Operation: 73-49=24 Exploring Operation: 49+76=125, Resulting Numbers: [73, 125] Generated Node #0,2,2: 67:[73, 125] Operation: 49+76=125 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[73, 27], Operations: ['11+62=73', '76-49=27'] Exploring Operation: 73*27=1971, Resulting Numbers: [1971] 1971,67 unequal: No Solution Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,67 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,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,2,1 Current State: 67:[76, 24], Operations: ['11+62=73', '73-49=24'] Exploring Operation: 76*24=1824, Resulting Numbers: [1824] 1824,67 unequal: No Solution Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,67 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,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,2,2 Current State: 67:[73, 125], Operations: ['11+62=73', '49+76=125'] Exploring Operation: 125-73=52, Resulting Numbers: [52] 52,67 unequal: No Solution Exploring Operation: 73+125=198, Resulting Numbers: [198] 198,67 unequal: No Solution Exploring Operation: 73*125=9125, Resulting Numbers: [9125] 9125,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 45, 4, 49, 34 ]
32
[ "45+49=94", "34+94=128", "128/4=32" ]
Current State: 32:[45, 4, 49, 34], Operations: [] Exploring Operation: 45+49=94, Resulting Numbers: [4, 34, 94] Generated Node #2: [4, 34, 94] from Operation: 45+49=94 Current State: 32:[4, 34, 94], Operations: ['45+49=94'] Exploring Operation: 34+94=128, Resulting Numbers: [4, 128] Generated Node #3: [4, 128] from Operation: 34+94=128 Current State: 32:[4, 128], Operations: ['45+49=94', '34+94=128'] Exploring Operation: 128/4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[45, 4, 49, 34], Operations: [] Exploring Operation: 49-45=4, Resulting Numbers: [4, 34, 4] Generated Node #0,0: 32:[4, 34, 4] Operation: 49-45=4 Exploring Operation: 49-34=15, Resulting Numbers: [45, 4, 15] Generated Node #0,1: 32:[45, 4, 15] Operation: 49-34=15 Exploring Operation: 45-34=11, Resulting Numbers: [4, 49, 11] Generated Node #0,2: 32:[4, 49, 11] Operation: 45-34=11 Exploring Operation: 45-4=41, Resulting Numbers: [49, 34, 41] Generated Node #0,3: 32:[49, 34, 41] Operation: 45-4=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[4, 34, 4], Operations: ['49-45=4'] Exploring Operation: 34-4=30, Resulting Numbers: [4, 30] Generated Node #0,0,0: 32:[4, 30] Operation: 34-4=30 Exploring Operation: 4+4=8, Resulting Numbers: [34, 8] Generated Node #0,0,1: 32:[34, 8] Operation: 4+4=8 Exploring Operation: 4*4=16, Resulting Numbers: [34, 16] Generated Node #0,0,2: 32:[34, 16] Operation: 4*4=16 Exploring Operation: 34-4=30, Resulting Numbers: [4, 30] Generated Node #0,0,3: 32:[4, 30] Operation: 34-4=30 Moving to Node #0,0,0 Current State: 32:[4, 30], Operations: ['49-45=4', '34-4=30'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,32 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[34, 16], Operations: ['49-45=4', '4*4=16'] Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,32 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[34, 8], Operations: ['49-45=4', '4+4=8'] Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,32 unequal: No Solution Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[4, 30], Operations: ['49-45=4', '34-4=30'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,32 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[45, 4, 15], Operations: ['49-34=15'] Exploring Operation: 45-15=30, Resulting Numbers: [4, 30] Generated Node #0,1,0: 32:[4, 30] Operation: 45-15=30 Exploring Operation: 45-4=41, Resulting Numbers: [15, 41] Generated Node #0,1,1: 32:[15, 41] Operation: 45-4=41 Exploring Operation: 4+15=19, Resulting Numbers: [45, 19] Generated Node #0,1,2: 32:[45, 19] Operation: 4+15=19 Exploring Operation: 45/15=3, Resulting Numbers: [4, 3] Generated Node #0,1,3: 32:[4, 3] Operation: 45/15=3 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 32:[4, 3], Operations: ['49-34=15', '45/15=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 32:[4, 30], Operations: ['49-34=15', '45-15=30'] Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,32 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,32 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[15, 41], Operations: ['49-34=15', '45-4=41'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 15*41=615, Resulting Numbers: [615] 615,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 32:[45, 19], Operations: ['49-34=15', '4+15=19'] Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,32 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,32 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[4, 49, 11], Operations: ['45-34=11'] Exploring Operation: 4+11=15, Resulting Numbers: [49, 15] Generated Node #0,2,0: 32:[49, 15] Operation: 4+11=15 Exploring Operation: 49-11=38, Resulting Numbers: [4, 38] Generated Node #0,2,1: 32:[4, 38] Operation: 49-11=38 Exploring Operation: 49-4=45, Resulting Numbers: [11, 45] Generated Node #0,2,2: 32:[11, 45] Operation: 49-4=45 Exploring Operation: 11-4=7, Resulting Numbers: [49, 7] Generated Node #0,2,3: 32:[49, 7] Operation: 11-4=7 Moving to Node #0,2,1 Current State: 32:[4, 38], Operations: ['45-34=11', '49-11=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,32 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,32 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[11, 45], Operations: ['45-34=11', '49-4=45'] Exploring Operation: 11*45=495, Resulting Numbers: [495] 495,32 unequal: No Solution Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,32 unequal: No Solution Moving to Node #0,2,3 Current State: 32:[49, 7], Operations: ['45-34=11', '11-4=7'] Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 49*7=343, Resulting Numbers: [343] 343,32 unequal: No Solution Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[49, 15], Operations: ['45-34=11', '4+11=15'] Exploring Operation: 49*15=735, Resulting Numbers: [735] 735,32 unequal: No Solution Exploring Operation: 49+15=64, Resulting Numbers: [64] 64,32 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,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:[49, 34, 41], Operations: ['45-4=41'] Exploring Operation: 49-41=8, Resulting Numbers: [34, 8] Generated Node #0,3,0: 32:[34, 8] Operation: 49-41=8 Exploring Operation: 41-34=7, Resulting Numbers: [49, 7] Generated Node #0,3,1: 32:[49, 7] Operation: 41-34=7 Exploring Operation: 49-34=15, Resulting Numbers: [41, 15] Generated Node #0,3,2: 32:[41, 15] Operation: 49-34=15 Exploring Operation: 49+34=83, Resulting Numbers: [41, 83] Generated Node #0,3,3: 32:[41, 83] Operation: 49+34=83 Moving to Node #0,3,0 Current State: 32:[34, 8], Operations: ['45-4=41', '49-41=8'] Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,32 unequal: No Solution Moving to Node #0,3,2 Current State: 32:[41, 15], Operations: ['45-4=41', '49-34=15'] Exploring Operation: 41*15=615, Resulting Numbers: [615] 615,32 unequal: No Solution Exploring Operation: 41+15=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,32 unequal: No Solution Moving to Node #0,3,1 Current State: 32:[49, 7], Operations: ['45-4=41', '41-34=7'] Exploring Operation: 49*7=343, Resulting Numbers: [343] 343,32 unequal: No Solution Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[41, 83], Operations: ['45-4=41', '49+34=83'] Exploring Operation: 41+83=124, Resulting Numbers: [124] 124,32 unequal: No Solution Exploring Operation: 41*83=3403, Resulting Numbers: [3403] 3403,32 unequal: No Solution Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,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
sum_heuristic
[ 2, 95, 75, 80 ]
70
[ "95-75=20", "20/2=10", "80-10=70" ]
Current State: 70:[2, 95, 75, 80], Operations: [] Exploring Operation: 95-75=20, Resulting Numbers: [2, 80, 20] Generated Node #2: [2, 80, 20] from Operation: 95-75=20 Current State: 70:[2, 80, 20], Operations: ['95-75=20'] Exploring Operation: 20/2=10, Resulting Numbers: [80, 10] Generated Node #3: [80, 10] from Operation: 20/2=10 Current State: 70:[80, 10], Operations: ['95-75=20', '20/2=10'] Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[2, 95, 75, 80], Operations: [] Exploring Operation: 95-75=20, Resulting Numbers: [2, 80, 20] Generated Node #0,0: 70:[2, 80, 20] Operation: 95-75=20 Exploring Operation: 95-2=93, Resulting Numbers: [75, 80, 93] Generated Node #0,1: 70:[75, 80, 93] Operation: 95-2=93 Exploring Operation: 95-80=15, Resulting Numbers: [2, 75, 15] Generated Node #0,2: 70:[2, 75, 15] Operation: 95-80=15 Exploring Operation: 80/2=40, Resulting Numbers: [95, 75, 40] Generated Node #0,3: 70:[95, 75, 40] Operation: 80/2=40 Exploring Operation: 80-75=5, Resulting Numbers: [2, 95, 5] Generated Node #0,4: 70:[2, 95, 5] Operation: 80-75=5 Moving to Node #0,2 Current State: 70:[2, 75, 15], Operations: ['95-80=15'] Exploring Operation: 2+75=77, Resulting Numbers: [15, 77] Generated Node #0,2,0: 70:[15, 77] Operation: 2+75=77 Exploring Operation: 15-2=13, Resulting Numbers: [75, 13] Generated Node #0,2,1: 70:[75, 13] Operation: 15-2=13 Exploring Operation: 75/15=5, Resulting Numbers: [2, 5] Generated Node #0,2,2: 70:[2, 5] Operation: 75/15=5 Exploring Operation: 75-2=73, Resulting Numbers: [15, 73] Generated Node #0,2,3: 70:[15, 73] Operation: 75-2=73 Exploring Operation: 2+15=17, Resulting Numbers: [75, 17] Generated Node #0,2,4: 70:[75, 17] Operation: 2+15=17 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 70:[2, 5], Operations: ['95-80=15', '75/15=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,70 unequal: No Solution No 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: 70:[15, 73], Operations: ['95-80=15', '75-2=73'] Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,70 unequal: No Solution Exploring Operation: 15+73=88, Resulting Numbers: [88] 88,70 unequal: No Solution Exploring Operation: 15*73=1095, Resulting Numbers: [1095] 1095,70 unequal: No Solution No 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: 70:[75, 13], Operations: ['95-80=15', '15-2=13'] Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,70 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,70 unequal: No Solution No 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: 70:[15, 77], Operations: ['95-80=15', '2+75=77'] Exploring Operation: 15*77=1155, Resulting Numbers: [1155] 1155,70 unequal: No Solution Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 15+77=92, Resulting Numbers: [92] 92,70 unequal: No Solution No 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: 70:[75, 17], Operations: ['95-80=15', '2+15=17'] Exploring Operation: 75*17=1275, Resulting Numbers: [1275] 1275,70 unequal: No Solution Exploring Operation: 75+17=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 75-17=58, Resulting Numbers: [58] 58,70 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: 70:[2, 80, 20], Operations: ['95-75=20'] Exploring Operation: 80-2=78, Resulting Numbers: [20, 78] Generated Node #0,0,0: 70:[20, 78] Operation: 80-2=78 Exploring Operation: 20/2=10, Resulting Numbers: [80, 10] Generated Node #0,0,1: 70:[80, 10] Operation: 20/2=10 Exploring Operation: 80-20=60, Resulting Numbers: [2, 60] Generated Node #0,0,2: 70:[2, 60] Operation: 80-20=60 Exploring Operation: 80/20=4, Resulting Numbers: [2, 4] Generated Node #0,0,3: 70:[2, 4] Operation: 80/20=4 Exploring Operation: 80/2=40, Resulting Numbers: [20, 40] Generated Node #0,0,4: 70:[20, 40] Operation: 80/2=40 Moving to Node #0,4 Current State: 70:[2, 95, 5], Operations: ['80-75=5'] Exploring Operation: 2+5=7, Resulting Numbers: [95, 7] Generated Node #0,4,0: 70:[95, 7] Operation: 2+5=7 Exploring Operation: 95-2=93, Resulting Numbers: [5, 93] Generated Node #0,4,1: 70:[5, 93] Operation: 95-2=93 Exploring Operation: 2*5=10, Resulting Numbers: [95, 10] Generated Node #0,4,2: 70:[95, 10] Operation: 2*5=10 Exploring Operation: 95-5=90, Resulting Numbers: [2, 90] Generated Node #0,4,3: 70:[2, 90] Operation: 95-5=90 Exploring Operation: 95/5=19, Resulting Numbers: [2, 19] Generated Node #0,4,4: 70:[2, 19] Operation: 95/5=19 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 70:[2, 19], Operations: ['80-75=5', '95/5=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,70 unequal: No Solution No 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: 70:[2, 90], Operations: ['80-75=5', '95-5=90'] Exploring Operation: 2+90=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 2*90=180, Resulting Numbers: [180] 180,70 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,70 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,70 unequal: No Solution No 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: 70:[5, 93], Operations: ['80-75=5', '95-2=93'] Exploring Operation: 5+93=98, Resulting Numbers: [98] 98,70 unequal: No Solution Exploring Operation: 5*93=465, Resulting Numbers: [465] 465,70 unequal: No Solution Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,70 unequal: No Solution No 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: 70:[95, 7], Operations: ['80-75=5', '2+5=7'] Exploring Operation: 95+7=102, Resulting Numbers: [102] 102,70 unequal: No Solution Exploring Operation: 95-7=88, Resulting Numbers: [88] 88,70 unequal: No Solution Exploring Operation: 95*7=665, Resulting Numbers: [665] 665,70 unequal: No Solution No 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: 70:[95, 10], Operations: ['80-75=5', '2*5=10'] Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,70 unequal: No Solution Exploring Operation: 95+10=105, Resulting Numbers: [105] 105,70 unequal: No Solution Exploring Operation: 95*10=950, Resulting Numbers: [950] 950,70 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: 70:[95, 75, 40], Operations: ['80/2=40'] Exploring Operation: 75+40=115, Resulting Numbers: [95, 115] Generated Node #0,3,0: 70:[95, 115] Operation: 75+40=115 Exploring Operation: 95+40=135, Resulting Numbers: [75, 135] Generated Node #0,3,1: 70:[75, 135] Operation: 95+40=135 Exploring Operation: 95-40=55, Resulting Numbers: [75, 55] Generated Node #0,3,2: 70:[75, 55] Operation: 95-40=55 Exploring Operation: 75-40=35, Resulting Numbers: [95, 35] Generated Node #0,3,3: 70:[95, 35] Operation: 75-40=35 Exploring Operation: 95-75=20, Resulting Numbers: [40, 20] Generated Node #0,3,4: 70:[40, 20] Operation: 95-75=20 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 70:[40, 20], Operations: ['80/2=40', '95-75=20'] Exploring Operation: 40*20=800, Resulting Numbers: [800] 800,70 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 40+20=60, Resulting Numbers: [60] 60,70 unequal: No Solution No 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: 70:[75, 55], Operations: ['80/2=40', '95-40=55'] Exploring Operation: 75*55=4125, Resulting Numbers: [4125] 4125,70 unequal: No Solution Exploring Operation: 75-55=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 75+55=130, Resulting Numbers: [130] 130,70 unequal: No Solution No 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: 70:[95, 35], Operations: ['80/2=40', '75-40=35'] Exploring Operation: 95*35=3325, Resulting Numbers: [3325] 3325,70 unequal: No Solution Exploring Operation: 95+35=130, Resulting Numbers: [130] 130,70 unequal: No Solution Exploring Operation: 95-35=60, Resulting Numbers: [60] 60,70 unequal: No Solution No 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: 70:[95, 115], Operations: ['80/2=40', '75+40=115'] Exploring Operation: 95+115=210, Resulting Numbers: [210] 210,70 unequal: No Solution Exploring Operation: 95*115=10925, Resulting Numbers: [10925] 10925,70 unequal: No Solution Exploring Operation: 115-95=20, Resulting Numbers: [20] 20,70 unequal: No Solution No 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: 70:[75, 135], Operations: ['80/2=40', '95+40=135'] Exploring Operation: 135-75=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 75+135=210, Resulting Numbers: [210] 210,70 unequal: No Solution Exploring Operation: 75*135=10125, Resulting Numbers: [10125] 10125,70 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: 70:[75, 80, 93], Operations: ['95-2=93'] Exploring Operation: 75+93=168, Resulting Numbers: [80, 168] Generated Node #0,1,0: 70:[80, 168] Operation: 75+93=168 Exploring Operation: 93-75=18, Resulting Numbers: [80, 18] Generated Node #0,1,1: 70:[80, 18] Operation: 93-75=18 Exploring Operation: 75+80=155, Resulting Numbers: [93, 155] Generated Node #0,1,2: 70:[93, 155] Operation: 75+80=155 Exploring Operation: 80-75=5, Resulting Numbers: [93, 5] Generated Node #0,1,3: 70:[93, 5] Operation: 80-75=5 Exploring Operation: 93-80=13, Resulting Numbers: [75, 13] Generated Node #0,1,4: 70:[75, 13] Operation: 93-80=13 Moving to Node #0,0,3 Current State: 70:[2, 4], Operations: ['95-75=20', '80/20=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,70 unequal: No Solution Moving to Node #0,1,4 Current State: 70:[75, 13], Operations: ['95-2=93', '93-80=13'] Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,70 unequal: No Solution Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[2, 60], Operations: ['95-75=20', '80-20=60'] Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,70 unequal: No Solution Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,70 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[80, 10], Operations: ['95-75=20', '20/2=10'] Exploring Operation: 80*10=800, Resulting Numbers: [800] 800,70 unequal: No Solution Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[2, 95, 75, 80], Operations: [] Exploring Operation: 95-75=20, Resulting Numbers: [2, 80, 20] Generated Node #0,0: 70:[2, 80, 20] Operation: 95-75=20 Moving to Node #0,0 Current State: 70:[2, 80, 20], Operations: ['95-75=20'] Exploring Operation: 20/2=10, Resulting Numbers: [80, 10] Generated Node #0,0,1: 70:[80, 10] Operation: 20/2=10 Moving to Node #0,0,1 Current State: 70:[80, 10], Operations: ['95-75=20', '20/2=10'] Exploring Operation: 80-10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.918403
hs_5
mult_heuristic
[ 36, 33, 54, 14 ]
32
[ "36-33=3", "54/3=18", "14+18=32" ]
Current State: 32:[36, 33, 54, 14], Operations: [] Exploring Operation: 36-33=3, Resulting Numbers: [54, 14, 3] Generated Node #2: [54, 14, 3] from Operation: 36-33=3 Current State: 32:[54, 14, 3], Operations: ['36-33=3'] Exploring Operation: 54/3=18, Resulting Numbers: [14, 18] Generated Node #3: [14, 18] from Operation: 54/3=18 Current State: 32:[14, 18], Operations: ['36-33=3', '54/3=18'] Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[36, 33, 54, 14], Operations: [] Exploring Operation: 54-36=18, Resulting Numbers: [33, 14, 18] Generated Node #0,0: 32:[33, 14, 18] Operation: 54-36=18 Exploring Operation: 54-33=21, Resulting Numbers: [36, 14, 21] Generated Node #0,1: 32:[36, 14, 21] Operation: 54-33=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[33, 14, 18], Operations: ['54-36=18'] Exploring Operation: 18-14=4, Resulting Numbers: [33, 4] Generated Node #0,0,0: 32:[33, 4] Operation: 18-14=4 Exploring Operation: 14+18=32, Resulting Numbers: [33, 32] Generated Node #0,0,1: 32:[33, 32] Operation: 14+18=32 Moving to Node #0,0,0 Current State: 32:[33, 4], Operations: ['54-36=18', '18-14=4'] Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,32 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[33, 32], Operations: ['54-36=18', '14+18=32'] Exploring Operation: 33+32=65, Resulting Numbers: [65] 65,32 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[36, 14, 21], Operations: ['54-33=21'] Exploring Operation: 36-21=15, Resulting Numbers: [14, 15] Generated Node #0,1,0: 32:[14, 15] Operation: 36-21=15 Exploring Operation: 21-14=7, Resulting Numbers: [36, 7] Generated Node #0,1,1: 32:[36, 7] Operation: 21-14=7 Moving to Node #0,1,0 Current State: 32:[14, 15], Operations: ['54-33=21', '36-21=15'] Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,32 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[36, 7], Operations: ['54-33=21', '21-14=7'] Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,32 unequal: No Solution Exploring Operation: 36+7=43, Resulting Numbers: [43] 43,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 46, 26, 59, 13 ]
11
[ "59-46=13", "26/13=2", "13-2=11" ]
Current State: 11:[46, 26, 59, 13], Operations: [] Exploring Operation: 59-46=13, Resulting Numbers: [26, 13, 13] Generated Node #2: [26, 13, 13] from Operation: 59-46=13 Current State: 11:[26, 13, 13], Operations: ['59-46=13'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,11 equal: Goal Reached Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[46, 26, 59, 13], Operations: [] Exploring Operation: 59-46=13, Resulting Numbers: [26, 13, 13] Generated Node #0,0: 11:[26, 13, 13] Operation: 59-46=13 Exploring Operation: 46-26=20, Resulting Numbers: [59, 13, 20] Generated Node #0,1: 11:[59, 13, 20] Operation: 46-26=20 Exploring Operation: 59-26=33, Resulting Numbers: [46, 13, 33] Generated Node #0,2: 11:[46, 13, 33] Operation: 59-26=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[26, 13, 13], Operations: ['59-46=13'] Exploring Operation: 26-13=13, Resulting Numbers: [13, 13] Generated Node #0,0,0: 11:[13, 13] Operation: 26-13=13 Exploring Operation: 26/13=2, Resulting Numbers: [13, 2] Generated Node #0,0,1: 11:[13, 2] Operation: 26/13=2 Exploring Operation: 26-13=13, Resulting Numbers: [13, 13] Generated Node #0,0,2: 11:[13, 13] Operation: 26-13=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[13, 13], Operations: ['59-46=13', '26-13=13'] Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,11 unequal: No Solution No 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: 11:[13, 13], Operations: ['59-46=13', '26-13=13'] Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,11 unequal: No Solution No 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: 11:[13, 2], Operations: ['59-46=13', '26/13=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[46, 26, 59, 13], Operations: [] Exploring Operation: 59-46=13, Resulting Numbers: [26, 13, 13] Generated Node #0,0: 11:[26, 13, 13] Operation: 59-46=13 Moving to Node #0,0 Current State: 11:[26, 13, 13], Operations: ['59-46=13'] Exploring Operation: 26/13=2, Resulting Numbers: [13, 2] Generated Node #0,0,1: 11:[13, 2] Operation: 26/13=2 Moving to Node #0,0,1 Current State: 11:[13, 2], Operations: ['59-46=13', '26/13=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 35, 83, 46, 82 ]
41
[ "83-35=48", "48-46=2", "82/2=41" ]
Current State: 41:[35, 83, 46, 82], Operations: [] Exploring Operation: 83-35=48, Resulting Numbers: [46, 82, 48] Generated Node #2: [46, 82, 48] from Operation: 83-35=48 Current State: 41:[46, 82, 48], Operations: ['83-35=48'] Exploring Operation: 48-46=2, Resulting Numbers: [82, 2] Generated Node #3: [82, 2] from Operation: 48-46=2 Current State: 41:[82, 2], Operations: ['83-35=48', '48-46=2'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[35, 83, 46, 82], Operations: [] Exploring Operation: 83-35=48, Resulting Numbers: [46, 82, 48] Generated Node #0,0: 41:[46, 82, 48] Operation: 83-35=48 Exploring Operation: 83-46=37, Resulting Numbers: [35, 82, 37] Generated Node #0,1: 41:[35, 82, 37] Operation: 83-46=37 Exploring Operation: 82-35=47, Resulting Numbers: [83, 46, 47] Generated Node #0,2: 41:[83, 46, 47] Operation: 82-35=47 Exploring Operation: 83-82=1, Resulting Numbers: [35, 46, 1] Generated Node #0,3: 41:[35, 46, 1] Operation: 83-82=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[35, 82, 37], Operations: ['83-46=37'] Exploring Operation: 82-37=45, Resulting Numbers: [35, 45] Generated Node #0,1,0: 41:[35, 45] Operation: 82-37=45 Exploring Operation: 82-35=47, Resulting Numbers: [37, 47] Generated Node #0,1,1: 41:[37, 47] Operation: 82-35=47 Exploring Operation: 35+82=117, Resulting Numbers: [37, 117] Generated Node #0,1,2: 41:[37, 117] Operation: 35+82=117 Exploring Operation: 35+37=72, Resulting Numbers: [82, 72] Generated Node #0,1,3: 41:[82, 72] Operation: 35+37=72 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[35, 45], Operations: ['83-46=37', '82-37=45'] Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,41 unequal: No Solution Exploring Operation: 35*45=1575, Resulting Numbers: [1575] 1575,41 unequal: No Solution Exploring Operation: 35+45=80, Resulting Numbers: [80] 80,41 unequal: No Solution No 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: 41:[37, 47], Operations: ['83-46=37', '82-35=47'] Exploring Operation: 37*47=1739, Resulting Numbers: [1739] 1739,41 unequal: No Solution Exploring Operation: 37+47=84, Resulting Numbers: [84] 84,41 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,41 unequal: No Solution No 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: 41:[82, 72], Operations: ['83-46=37', '35+37=72'] Exploring Operation: 82+72=154, Resulting Numbers: [154] 154,41 unequal: No Solution Exploring Operation: 82*72=5904, Resulting Numbers: [5904] 5904,41 unequal: No Solution Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,41 unequal: No Solution No 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: 41:[37, 117], Operations: ['83-46=37', '35+82=117'] Exploring Operation: 37*117=4329, Resulting Numbers: [4329] 4329,41 unequal: No Solution Exploring Operation: 117-37=80, Resulting Numbers: [80] 80,41 unequal: No Solution Exploring Operation: 37+117=154, Resulting Numbers: [154] 154,41 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: 41:[35, 46, 1], Operations: ['83-82=1'] Exploring Operation: 35/1=35, Resulting Numbers: [46, 35] Generated Node #0,3,0: 41:[46, 35] Operation: 35/1=35 Exploring Operation: 35*1=35, Resulting Numbers: [46, 35] Generated Node #0,3,1: 41:[46, 35] Operation: 35*1=35 Exploring Operation: 46-1=45, Resulting Numbers: [35, 45] Generated Node #0,3,2: 41:[35, 45] Operation: 46-1=45 Exploring Operation: 35+1=36, Resulting Numbers: [46, 36] Generated Node #0,3,3: 41:[46, 36] Operation: 35+1=36 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 41:[35, 45], Operations: ['83-82=1', '46-1=45'] Exploring Operation: 35*45=1575, Resulting Numbers: [1575] 1575,41 unequal: No Solution Exploring Operation: 35+45=80, Resulting Numbers: [80] 80,41 unequal: No Solution Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,41 unequal: No Solution No 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: 41:[46, 36], Operations: ['83-82=1', '35+1=36'] Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,41 unequal: No Solution Exploring Operation: 46*36=1656, Resulting Numbers: [1656] 1656,41 unequal: No Solution Exploring Operation: 46+36=82, Resulting Numbers: [82] 82,41 unequal: No Solution No 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: 41:[46, 35], Operations: ['83-82=1', '35/1=35'] Exploring Operation: 46*35=1610, Resulting Numbers: [1610] 1610,41 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 46+35=81, Resulting Numbers: [81] 81,41 unequal: No Solution No 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: 41:[46, 35], Operations: ['83-82=1', '35*1=35'] Exploring Operation: 46+35=81, Resulting Numbers: [81] 81,41 unequal: No Solution Exploring Operation: 46*35=1610, Resulting Numbers: [1610] 1610,41 unequal: No Solution Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,41 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: 41:[46, 82, 48], Operations: ['83-35=48'] Exploring Operation: 82-46=36, Resulting Numbers: [48, 36] Generated Node #0,0,0: 41:[48, 36] Operation: 82-46=36 Exploring Operation: 46+82=128, Resulting Numbers: [48, 128] Generated Node #0,0,1: 41:[48, 128] Operation: 46+82=128 Exploring Operation: 82-48=34, Resulting Numbers: [46, 34] Generated Node #0,0,2: 41:[46, 34] Operation: 82-48=34 Exploring Operation: 48-46=2, Resulting Numbers: [82, 2] Generated Node #0,0,3: 41:[82, 2] Operation: 48-46=2 Moving to Node #0,0,0 Current State: 41:[48, 36], Operations: ['83-35=48', '82-46=36'] Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 48*36=1728, Resulting Numbers: [1728] 1728,41 unequal: No Solution Exploring Operation: 48+36=84, Resulting Numbers: [84] 84,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[46, 34], Operations: ['83-35=48', '82-48=34'] Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,41 unequal: No Solution Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[82, 2], Operations: ['83-35=48', '48-46=2'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[35, 83, 46, 82], Operations: [] Exploring Operation: 83-35=48, Resulting Numbers: [46, 82, 48] Generated Node #0,0: 41:[46, 82, 48] Operation: 83-35=48 Moving to Node #0,0 Current State: 41:[46, 82, 48], Operations: ['83-35=48'] Exploring Operation: 48-46=2, Resulting Numbers: [82, 2] Generated Node #0,0,3: 41:[82, 2] Operation: 48-46=2 Moving to Node #0,0,3 Current State: 41:[82, 2], Operations: ['83-35=48', '48-46=2'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_4
sum_heuristic
[ 24, 24, 34, 33 ]
24
[ "24*34=816", "24*33=792", "816-792=24" ]
Current State: 24:[24, 24, 34, 33], Operations: [] Exploring Operation: 24*34=816, Resulting Numbers: [33, 816] Generated Node #2: [33, 816] from Operation: 24*34=816 Current State: 24:[33, 816], Operations: ['24*34=816'] Exploring Operation: 24*33=792, Resulting Numbers: [816, 792] Generated Node #3: [816, 792] from Operation: 24*33=792 Current State: 24:[816, 792], Operations: ['24*34=816', '24*33=792'] Exploring Operation: 816-792=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[24, 24, 34, 33], Operations: [] Exploring Operation: 34-33=1, Resulting Numbers: [24, 24, 1] Generated Node #0,0: 24:[24, 24, 1] Operation: 34-33=1 Exploring Operation: 34-24=10, Resulting Numbers: [24, 33, 10] Generated Node #0,1: 24:[24, 33, 10] Operation: 34-24=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[24, 24, 1], Operations: ['34-33=1'] Exploring Operation: 24/1=24, Resulting Numbers: [24, 24] Generated Node #0,0,0: 24:[24, 24] Operation: 24/1=24 Exploring Operation: 24*1=24, Resulting Numbers: [24, 24] Generated Node #0,0,1: 24:[24, 24] Operation: 24*1=24 Moving to Node #0,0,0 Current State: 24:[24, 24], Operations: ['34-33=1', '24/1=24'] Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[24, 24], Operations: ['34-33=1', '24*1=24'] Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[24, 33, 10], Operations: ['34-24=10'] Exploring Operation: 33-10=23, Resulting Numbers: [24, 23] Generated Node #0,1,0: 24:[24, 23] Operation: 33-10=23 Exploring Operation: 33-24=9, Resulting Numbers: [10, 9] Generated Node #0,1,1: 24:[10, 9] Operation: 33-24=9 Moving to Node #0,1,0 Current State: 24:[24, 23], Operations: ['34-24=10', '33-10=23'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[10, 9], Operations: ['34-24=10', '33-24=9'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,24 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, 89, 10, 64 ]
47
[ "64/2=32", "89-10=79", "79-32=47" ]
Current State: 47:[2, 89, 10, 64], Operations: [] Exploring Operation: 64/2=32, Resulting Numbers: [89, 10, 32] Generated Node #2: [89, 10, 32] from Operation: 64/2=32 Current State: 47:[89, 10, 32], Operations: ['64/2=32'] Exploring Operation: 89-10=79, Resulting Numbers: [32, 79] Generated Node #3: [32, 79] from Operation: 89-10=79 Current State: 47:[32, 79], Operations: ['64/2=32', '89-10=79'] Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[2, 89, 10, 64], Operations: [] Exploring Operation: 2+10=12, Resulting Numbers: [89, 64, 12] Generated Node #0,0: 47:[89, 64, 12] Operation: 2+10=12 Exploring Operation: 64-2=62, Resulting Numbers: [89, 10, 62] Generated Node #0,1: 47:[89, 10, 62] Operation: 64-2=62 Exploring Operation: 2*10=20, Resulting Numbers: [89, 64, 20] Generated Node #0,2: 47:[89, 64, 20] Operation: 2*10=20 Exploring Operation: 89-2=87, Resulting Numbers: [10, 64, 87] Generated Node #0,3: 47:[10, 64, 87] Operation: 89-2=87 Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[89, 64, 20], Operations: ['2*10=20'] Exploring Operation: 89-20=69, Resulting Numbers: [64, 69] Generated Node #0,2,0: 47:[64, 69] Operation: 89-20=69 Exploring Operation: 89-64=25, Resulting Numbers: [20, 25] Generated Node #0,2,1: 47:[20, 25] Operation: 89-64=25 Exploring Operation: 89+20=109, Resulting Numbers: [64, 109] Generated Node #0,2,2: 47:[64, 109] Operation: 89+20=109 Exploring Operation: 64-20=44, Resulting Numbers: [89, 44] Generated Node #0,2,3: 47:[89, 44] Operation: 64-20=44 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[64, 69], Operations: ['2*10=20', '89-20=69'] Exploring Operation: 64*69=4416, Resulting Numbers: [4416] 4416,47 unequal: No Solution Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,47 unequal: No Solution Exploring Operation: 64+69=133, Resulting Numbers: [133] 133,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 47:[89, 44], Operations: ['2*10=20', '64-20=44'] Exploring Operation: 89+44=133, Resulting Numbers: [133] 133,47 unequal: No Solution Exploring Operation: 89*44=3916, Resulting Numbers: [3916] 3916,47 unequal: No Solution Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[20, 25], Operations: ['2*10=20', '89-64=25'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,47 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,47 unequal: No Solution Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[64, 109], Operations: ['2*10=20', '89+20=109'] Exploring Operation: 109-64=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 64*109=6976, Resulting Numbers: [6976] 6976,47 unequal: No Solution Exploring Operation: 64+109=173, Resulting Numbers: [173] 173,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[89, 64, 12], Operations: ['2+10=12'] Exploring Operation: 89-12=77, Resulting Numbers: [64, 77] Generated Node #0,0,0: 47:[64, 77] Operation: 89-12=77 Exploring Operation: 89-64=25, Resulting Numbers: [12, 25] Generated Node #0,0,1: 47:[12, 25] Operation: 89-64=25 Exploring Operation: 64-12=52, Resulting Numbers: [89, 52] Generated Node #0,0,2: 47:[89, 52] Operation: 64-12=52 Exploring Operation: 89+12=101, Resulting Numbers: [64, 101] Generated Node #0,0,3: 47:[64, 101] Operation: 89+12=101 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[64, 77], Operations: ['2+10=12', '89-12=77'] Exploring Operation: 64*77=4928, Resulting Numbers: [4928] 4928,47 unequal: No Solution Exploring Operation: 64+77=141, Resulting Numbers: [141] 141,47 unequal: No Solution Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[89, 52], Operations: ['2+10=12', '64-12=52'] Exploring Operation: 89+52=141, Resulting Numbers: [141] 141,47 unequal: No Solution Exploring Operation: 89*52=4628, Resulting Numbers: [4628] 4628,47 unequal: No Solution Exploring Operation: 89-52=37, Resulting Numbers: [37] 37,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[12, 25], Operations: ['2+10=12', '89-64=25'] Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,47 unequal: No Solution Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 47:[64, 101], Operations: ['2+10=12', '89+12=101'] Exploring Operation: 64+101=165, Resulting Numbers: [165] 165,47 unequal: No Solution Exploring Operation: 64*101=6464, Resulting Numbers: [6464] 6464,47 unequal: No Solution Exploring Operation: 101-64=37, Resulting Numbers: [37] 37,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[89, 10, 62], Operations: ['64-2=62'] Exploring Operation: 89+10=99, Resulting Numbers: [62, 99] Generated Node #0,1,0: 47:[62, 99] Operation: 89+10=99 Exploring Operation: 89-10=79, Resulting Numbers: [62, 79] Generated Node #0,1,1: 47:[62, 79] Operation: 89-10=79 Exploring Operation: 62-10=52, Resulting Numbers: [89, 52] Generated Node #0,1,2: 47:[89, 52] Operation: 62-10=52 Exploring Operation: 89-62=27, Resulting Numbers: [10, 27] Generated Node #0,1,3: 47:[10, 27] Operation: 89-62=27 Moving to Node #0,1,1 Current State: 47:[62, 79], Operations: ['64-2=62', '89-10=79'] Exploring Operation: 79-62=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 62+79=141, Resulting Numbers: [141] 141,47 unequal: No Solution Exploring Operation: 62*79=4898, Resulting Numbers: [4898] 4898,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[89, 52], Operations: ['64-2=62', '62-10=52'] Exploring Operation: 89+52=141, Resulting Numbers: [141] 141,47 unequal: No Solution Exploring Operation: 89-52=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 89*52=4628, Resulting Numbers: [4628] 4628,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[10, 27], Operations: ['64-2=62', '89-62=27'] Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,47 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[62, 99], Operations: ['64-2=62', '89+10=99'] Exploring Operation: 62*99=6138, Resulting Numbers: [6138] 6138,47 unequal: No Solution Exploring Operation: 99-62=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 62+99=161, Resulting Numbers: [161] 161,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[10, 64, 87], Operations: ['89-2=87'] Exploring Operation: 87-10=77, Resulting Numbers: [64, 77] Generated Node #0,3,0: 47:[64, 77] Operation: 87-10=77 Exploring Operation: 87-64=23, Resulting Numbers: [10, 23] Generated Node #0,3,1: 47:[10, 23] Operation: 87-64=23 Exploring Operation: 64-10=54, Resulting Numbers: [87, 54] Generated Node #0,3,2: 47:[87, 54] Operation: 64-10=54 Exploring Operation: 10+64=74, Resulting Numbers: [87, 74] Generated Node #0,3,3: 47:[87, 74] Operation: 10+64=74 Moving to Node #0,3,0 Current State: 47:[64, 77], Operations: ['89-2=87', '87-10=77'] Exploring Operation: 64+77=141, Resulting Numbers: [141] 141,47 unequal: No Solution Exploring Operation: 64*77=4928, Resulting Numbers: [4928] 4928,47 unequal: No Solution Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[87, 54], Operations: ['89-2=87', '64-10=54'] Exploring Operation: 87+54=141, Resulting Numbers: [141] 141,47 unequal: No Solution Exploring Operation: 87-54=33, Resulting Numbers: [33] 33,47 unequal: No Solution Exploring Operation: 87*54=4698, Resulting Numbers: [4698] 4698,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[10, 23], Operations: ['89-2=87', '87-64=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,47 unequal: No Solution Exploring Operation: 10*23=230, Resulting Numbers: [230] 230,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[87, 74], Operations: ['89-2=87', '10+64=74'] Exploring Operation: 87*74=6438, Resulting Numbers: [6438] 6438,47 unequal: No Solution Exploring Operation: 87-74=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 87+74=161, Resulting Numbers: [161] 161,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 24, 45, 28, 26 ]
23
[ "45-24=21", "28-26=2", "21+2=23" ]
Current State: 23:[24, 45, 28, 26], Operations: [] Exploring Operation: 45-24=21, Resulting Numbers: [28, 26, 21] Generated Node #2: [28, 26, 21] from Operation: 45-24=21 Current State: 23:[28, 26, 21], Operations: ['45-24=21'] Exploring Operation: 28-26=2, Resulting Numbers: [21, 2] Generated Node #3: [21, 2] from Operation: 28-26=2 Current State: 23:[21, 2], Operations: ['45-24=21', '28-26=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[24, 45, 28, 26], Operations: [] Exploring Operation: 45-24=21, Resulting Numbers: [28, 26, 21] Generated Node #0,0: 23:[28, 26, 21] Operation: 45-24=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[28, 26, 21], Operations: ['45-24=21'] Exploring Operation: 28-21=7, Resulting Numbers: [26, 7] Generated Node #0,0,0: 23:[26, 7] Operation: 28-21=7 Moving to Node #0,0,0 Current State: 23:[26, 7], Operations: ['45-24=21', '28-21=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 76, 70, 13, 35 ]
25
[ "76*35=2660", "2660/70=38", "38-13=25" ]
Current State: 25:[76, 70, 13, 35], Operations: [] Exploring Operation: 76*35=2660, Resulting Numbers: [70, 13, 2660] Generated Node #2: [70, 13, 2660] from Operation: 76*35=2660 Current State: 25:[70, 13, 2660], Operations: ['76*35=2660'] Exploring Operation: 2660/70=38, Resulting Numbers: [13, 38] Generated Node #3: [13, 38] from Operation: 2660/70=38 Current State: 25:[13, 38], Operations: ['76*35=2660', '2660/70=38'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[76, 70, 13, 35], Operations: [] Exploring Operation: 70/35=2, Resulting Numbers: [76, 13, 2] Generated Node #0,0: 25:[76, 13, 2] Operation: 70/35=2 Exploring Operation: 76-70=6, Resulting Numbers: [13, 35, 6] Generated Node #0,1: 25:[13, 35, 6] Operation: 76-70=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[13, 35, 6], Operations: ['76-70=6'] Exploring Operation: 13-6=7, Resulting Numbers: [35, 7] Generated Node #0,1,0: 25:[35, 7] Operation: 13-6=7 Exploring Operation: 35-13=22, Resulting Numbers: [6, 22] Generated Node #0,1,1: 25:[6, 22] Operation: 35-13=22 Moving to Node #0,1,1 Current State: 25:[6, 22], Operations: ['76-70=6', '35-13=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[35, 7], Operations: ['76-70=6', '13-6=7'] Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,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:[76, 13, 2], Operations: ['70/35=2'] Exploring Operation: 76/2=38, Resulting Numbers: [13, 38] Generated Node #0,0,0: 25:[13, 38] Operation: 76/2=38 Exploring Operation: 76-13=63, Resulting Numbers: [2, 63] Generated Node #0,0,1: 25:[2, 63] Operation: 76-13=63 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[13, 38], Operations: ['70/35=2', '76/2=38'] Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[76, 70, 13, 35], Operations: [] Exploring Operation: 70/35=2, Resulting Numbers: [76, 13, 2] Generated Node #0,0: 25:[76, 13, 2] Operation: 70/35=2 Moving to Node #0,0 Current State: 25:[76, 13, 2], Operations: ['70/35=2'] Exploring Operation: 76/2=38, Resulting Numbers: [13, 38] Generated Node #0,0,0: 25:[13, 38] Operation: 76/2=38 Moving to Node #0,0,0 Current State: 25:[13, 38], Operations: ['70/35=2', '76/2=38'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 73, 21, 32, 13 ]
75
[ "73+21=94", "32-13=19", "94-19=75" ]
Current State: 75:[73, 21, 32, 13], Operations: [] Exploring Operation: 73+21=94, Resulting Numbers: [32, 13, 94] Generated Node #2: [32, 13, 94] from Operation: 73+21=94 Current State: 75:[32, 13, 94], Operations: ['73+21=94'] Exploring Operation: 32-13=19, Resulting Numbers: [94, 19] Generated Node #3: [94, 19] from Operation: 32-13=19 Current State: 75:[94, 19], Operations: ['73+21=94', '32-13=19'] Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[73, 21, 32, 13], Operations: [] Exploring Operation: 32-21=11, Resulting Numbers: [73, 13, 11] Generated Node #0,0: 75:[73, 13, 11] Operation: 32-21=11 Exploring Operation: 32-13=19, Resulting Numbers: [73, 21, 19] Generated Node #0,1: 75:[73, 21, 19] Operation: 32-13=19 Exploring Operation: 21-13=8, Resulting Numbers: [73, 32, 8] Generated Node #0,2: 75:[73, 32, 8] Operation: 21-13=8 Moving to Node #0,0 Current State: 75:[73, 13, 11], Operations: ['32-21=11'] Exploring Operation: 13+11=24, Resulting Numbers: [73, 24] Generated Node #0,0,0: 75:[73, 24] Operation: 13+11=24 Exploring Operation: 13-11=2, Resulting Numbers: [73, 2] Generated Node #0,0,1: 75:[73, 2] Operation: 13-11=2 Exploring Operation: 73+11=84, Resulting Numbers: [13, 84] Generated Node #0,0,2: 75:[13, 84] Operation: 73+11=84 Moving to Node #0,1 Current State: 75:[73, 21, 19], Operations: ['32-13=19'] Exploring Operation: 21+19=40, Resulting Numbers: [73, 40] Generated Node #0,1,0: 75:[73, 40] Operation: 21+19=40 Exploring Operation: 73+19=92, Resulting Numbers: [21, 92] Generated Node #0,1,1: 75:[21, 92] Operation: 73+19=92 Exploring Operation: 21-19=2, Resulting Numbers: [73, 2] Generated Node #0,1,2: 75:[73, 2] Operation: 21-19=2 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 75:[73, 2], Operations: ['32-13=19', '21-19=2'] Exploring Operation: 73*2=146, Resulting Numbers: [146] 146,75 unequal: No Solution Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[73, 21, 32, 13], Operations: [] Exploring Operation: 32-13=19, Resulting Numbers: [73, 21, 19] Generated Node #0,1: 75:[73, 21, 19] Operation: 32-13=19 Moving to Node #0,1 Current State: 75:[73, 21, 19], Operations: ['32-13=19'] Exploring Operation: 21-19=2, Resulting Numbers: [73, 2] Generated Node #0,1,2: 75:[73, 2] Operation: 21-19=2 Moving to Node #0,1,2 Current State: 75:[73, 2], Operations: ['32-13=19', '21-19=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 2, 12, 65, 46 ]
76
[ "46/2=23", "65-12=53", "23+53=76" ]
Current State: 76:[2, 12, 65, 46], Operations: [] Exploring Operation: 46/2=23, Resulting Numbers: [12, 65, 23] Generated Node #2: [12, 65, 23] from Operation: 46/2=23 Current State: 76:[12, 65, 23], Operations: ['46/2=23'] Exploring Operation: 65-12=53, Resulting Numbers: [23, 53] Generated Node #3: [23, 53] from Operation: 65-12=53 Current State: 76:[23, 53], Operations: ['46/2=23', '65-12=53'] Exploring Operation: 23+53=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[2, 12, 65, 46], Operations: [] Exploring Operation: 12+65=77, Resulting Numbers: [2, 46, 77] Generated Node #0,0: 76:[2, 46, 77] Operation: 12+65=77 Exploring Operation: 65-46=19, Resulting Numbers: [2, 12, 19] Generated Node #0,1: 76:[2, 12, 19] Operation: 65-46=19 Exploring Operation: 46-12=34, Resulting Numbers: [2, 65, 34] Generated Node #0,2: 76:[2, 65, 34] Operation: 46-12=34 Exploring Operation: 46/2=23, Resulting Numbers: [12, 65, 23] Generated Node #0,3: 76:[12, 65, 23] Operation: 46/2=23 Exploring Operation: 12/2=6, Resulting Numbers: [65, 46, 6] Generated Node #0,4: 76:[65, 46, 6] Operation: 12/2=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[2, 12, 19], Operations: ['65-46=19'] Exploring Operation: 12-2=10, Resulting Numbers: [19, 10] Generated Node #0,1,0: 76:[19, 10] Operation: 12-2=10 Exploring Operation: 2+12=14, Resulting Numbers: [19, 14] Generated Node #0,1,1: 76:[19, 14] Operation: 2+12=14 Exploring Operation: 19-12=7, Resulting Numbers: [2, 7] Generated Node #0,1,2: 76:[2, 7] Operation: 19-12=7 Exploring Operation: 2*12=24, Resulting Numbers: [19, 24] Generated Node #0,1,3: 76:[19, 24] Operation: 2*12=24 Exploring Operation: 12/2=6, Resulting Numbers: [19, 6] Generated Node #0,1,4: 76:[19, 6] Operation: 12/2=6 Moving to Node #0,1,4 Current State: 76:[19, 6], Operations: ['65-46=19', '12/2=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,76 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[2, 7], Operations: ['65-46=19', '19-12=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,76 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[19, 14], Operations: ['65-46=19', '2+12=14'] Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,76 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[19, 24], Operations: ['65-46=19', '2*12=24'] Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,76 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[19, 10], Operations: ['65-46=19', '12-2=10'] Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,76 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[2, 46, 77], Operations: ['12+65=77'] Exploring Operation: 77-46=31, Resulting Numbers: [2, 31] Generated Node #0,0,0: 76:[2, 31] Operation: 77-46=31 Exploring Operation: 77-2=75, Resulting Numbers: [46, 75] Generated Node #0,0,1: 76:[46, 75] Operation: 77-2=75 Exploring Operation: 46/2=23, Resulting Numbers: [77, 23] Generated Node #0,0,2: 76:[77, 23] Operation: 46/2=23 Exploring Operation: 46-2=44, Resulting Numbers: [77, 44] Generated Node #0,0,3: 76:[77, 44] Operation: 46-2=44 Exploring Operation: 2+46=48, Resulting Numbers: [77, 48] Generated Node #0,0,4: 76:[77, 48] Operation: 2+46=48 Moving to Node #0,0,2 Current State: 76:[77, 23], Operations: ['12+65=77', '46/2=23'] Exploring Operation: 77+23=100, Resulting Numbers: [100] 100,76 unequal: No Solution Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,76 unequal: No Solution Exploring Operation: 77*23=1771, Resulting Numbers: [1771] 1771,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[77, 44], Operations: ['12+65=77', '46-2=44'] Exploring Operation: 77+44=121, Resulting Numbers: [121] 121,76 unequal: No Solution Exploring Operation: 77*44=3388, Resulting Numbers: [3388] 3388,76 unequal: No Solution Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[2, 31], Operations: ['12+65=77', '77-46=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[46, 75], Operations: ['12+65=77', '77-2=75'] Exploring Operation: 46*75=3450, Resulting Numbers: [3450] 3450,76 unequal: No Solution Exploring Operation: 46+75=121, Resulting Numbers: [121] 121,76 unequal: No Solution Exploring Operation: 75-46=29, Resulting Numbers: [29] 29,76 unequal: No Solution Moving to Node #0,0,4 Current State: 76:[77, 48], Operations: ['12+65=77', '2+46=48'] Exploring Operation: 77+48=125, Resulting Numbers: [125] 125,76 unequal: No Solution Exploring Operation: 77*48=3696, Resulting Numbers: [3696] 3696,76 unequal: No Solution Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,76 unequal: No Solution No 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: 76:[2, 65, 34], Operations: ['46-12=34'] Exploring Operation: 65-34=31, Resulting Numbers: [2, 31] Generated Node #0,2,0: 76:[2, 31] Operation: 65-34=31 Exploring Operation: 34/2=17, Resulting Numbers: [65, 17] Generated Node #0,2,1: 76:[65, 17] Operation: 34/2=17 Exploring Operation: 65-2=63, Resulting Numbers: [34, 63] Generated Node #0,2,2: 76:[34, 63] Operation: 65-2=63 Exploring Operation: 2+34=36, Resulting Numbers: [65, 36] Generated Node #0,2,3: 76:[65, 36] Operation: 2+34=36 Exploring Operation: 2+65=67, Resulting Numbers: [34, 67] Generated Node #0,2,4: 76:[34, 67] Operation: 2+65=67 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[2, 31], Operations: ['46-12=34', '65-34=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 76:[65, 17], Operations: ['46-12=34', '34/2=17'] Exploring Operation: 65+17=82, Resulting Numbers: [82] 82,76 unequal: No Solution Exploring Operation: 65*17=1105, Resulting Numbers: [1105] 1105,76 unequal: No Solution Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 76:[65, 36], Operations: ['46-12=34', '2+34=36'] Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 65*36=2340, Resulting Numbers: [2340] 2340,76 unequal: No Solution Exploring Operation: 65+36=101, Resulting Numbers: [101] 101,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 76:[34, 67], Operations: ['46-12=34', '2+65=67'] Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 34*67=2278, Resulting Numbers: [2278] 2278,76 unequal: No Solution Exploring Operation: 34+67=101, Resulting Numbers: [101] 101,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[34, 63], Operations: ['46-12=34', '65-2=63'] Exploring Operation: 34*63=2142, Resulting Numbers: [2142] 2142,76 unequal: No Solution Exploring Operation: 34+63=97, Resulting Numbers: [97] 97,76 unequal: No Solution Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 76:[65, 46, 6], Operations: ['12/2=6'] Exploring Operation: 65-6=59, Resulting Numbers: [46, 59] Generated Node #0,4,0: 76:[46, 59] Operation: 65-6=59 Exploring Operation: 65-46=19, Resulting Numbers: [6, 19] Generated Node #0,4,1: 76:[6, 19] Operation: 65-46=19 Exploring Operation: 46-6=40, Resulting Numbers: [65, 40] Generated Node #0,4,2: 76:[65, 40] Operation: 46-6=40 Exploring Operation: 65+6=71, Resulting Numbers: [46, 71] Generated Node #0,4,3: 76:[46, 71] Operation: 65+6=71 Exploring Operation: 46+6=52, Resulting Numbers: [65, 52] Generated Node #0,4,4: 76:[65, 52] Operation: 46+6=52 Moving to Node #0,4,1 Current State: 76:[6, 19], Operations: ['12/2=6', '65-46=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,76 unequal: No Solution Moving to Node #0,4,3 Current State: 76:[46, 71], Operations: ['12/2=6', '65+6=71'] Exploring Operation: 46+71=117, Resulting Numbers: [117] 117,76 unequal: No Solution Exploring Operation: 46*71=3266, Resulting Numbers: [3266] 3266,76 unequal: No Solution Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,76 unequal: No Solution Moving to Node #0,4,2 Current State: 76:[65, 40], Operations: ['12/2=6', '46-6=40'] Exploring Operation: 65*40=2600, Resulting Numbers: [2600] 2600,76 unequal: No Solution Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,76 unequal: No Solution Exploring Operation: 65+40=105, Resulting Numbers: [105] 105,76 unequal: No Solution Moving to Node #0,4,0 Current State: 76:[46, 59], Operations: ['12/2=6', '65-6=59'] Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 46*59=2714, Resulting Numbers: [2714] 2714,76 unequal: No Solution Exploring Operation: 46+59=105, Resulting Numbers: [105] 105,76 unequal: No Solution Moving to Node #0,4,4 Current State: 76:[65, 52], Operations: ['12/2=6', '46+6=52'] Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 65*52=3380, Resulting Numbers: [3380] 3380,76 unequal: No Solution Exploring Operation: 65+52=117, Resulting Numbers: [117] 117,76 unequal: No Solution No 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: 76:[12, 65, 23], Operations: ['46/2=23'] Exploring Operation: 23-12=11, Resulting Numbers: [65, 11] Generated Node #0,3,0: 76:[65, 11] Operation: 23-12=11 Exploring Operation: 65-12=53, Resulting Numbers: [23, 53] Generated Node #0,3,1: 76:[23, 53] Operation: 65-12=53 Exploring Operation: 12+23=35, Resulting Numbers: [65, 35] Generated Node #0,3,2: 76:[65, 35] Operation: 12+23=35 Exploring Operation: 65-23=42, Resulting Numbers: [12, 42] Generated Node #0,3,3: 76:[12, 42] Operation: 65-23=42 Exploring Operation: 12+65=77, Resulting Numbers: [23, 77] Generated Node #0,3,4: 76:[23, 77] Operation: 12+65=77 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 76:[23, 77], Operations: ['46/2=23', '12+65=77'] Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,76 unequal: No Solution Exploring Operation: 23*77=1771, Resulting Numbers: [1771] 1771,76 unequal: No Solution Exploring Operation: 23+77=100, Resulting Numbers: [100] 100,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 76:[12, 42], Operations: ['46/2=23', '65-23=42'] Exploring Operation: 12+42=54, Resulting Numbers: [54] 54,76 unequal: No Solution Exploring Operation: 12*42=504, Resulting Numbers: [504] 504,76 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 76:[65, 35], Operations: ['46/2=23', '12+23=35'] Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,76 unequal: No Solution Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,76 unequal: No Solution Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 76:[65, 11], Operations: ['46/2=23', '23-12=11'] Exploring Operation: 65*11=715, Resulting Numbers: [715] 715,76 unequal: No Solution Exploring Operation: 65+11=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[2, 12, 65, 46], Operations: [] Exploring Operation: 46/2=23, Resulting Numbers: [12, 65, 23] Generated Node #0,3: 76:[12, 65, 23] Operation: 46/2=23 Moving to Node #0,3 Current State: 76:[12, 65, 23], Operations: ['46/2=23'] Exploring Operation: 23-12=11, Resulting Numbers: [65, 11] Generated Node #0,3,0: 76:[65, 11] Operation: 23-12=11 Moving to Node #0,3,0 Current State: 76:[65, 11], Operations: ['46/2=23', '23-12=11'] Exploring Operation: 65+11=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.908854
hs_5
sum_heuristic
[ 4, 78, 10, 28 ]
10
[ "4*10=40", "78-28=50", "50-40=10" ]
Current State: 10:[4, 78, 10, 28], Operations: [] Exploring Operation: 4*10=40, Resulting Numbers: [78, 28, 40] Generated Node #2: [78, 28, 40] from Operation: 4*10=40 Current State: 10:[78, 28, 40], Operations: ['4*10=40'] Exploring Operation: 78-28=50, Resulting Numbers: [40, 50] Generated Node #3: [40, 50] from Operation: 78-28=50 Current State: 10:[40, 50], Operations: ['4*10=40', '78-28=50'] Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[4, 78, 10, 28], Operations: [] Exploring Operation: 28/4=7, Resulting Numbers: [78, 10, 7] Generated Node #0,0: 10:[78, 10, 7] Operation: 28/4=7 Exploring Operation: 78-10=68, Resulting Numbers: [4, 28, 68] Generated Node #0,1: 10:[4, 28, 68] Operation: 78-10=68 Exploring Operation: 28-10=18, Resulting Numbers: [4, 78, 18] Generated Node #0,2: 10:[4, 78, 18] Operation: 28-10=18 Exploring Operation: 78-28=50, Resulting Numbers: [4, 10, 50] Generated Node #0,3: 10:[4, 10, 50] Operation: 78-28=50 Moving to Node #0,3 Current State: 10:[4, 10, 50], Operations: ['78-28=50'] Exploring Operation: 50-4=46, Resulting Numbers: [10, 46] Generated Node #0,3,0: 10:[10, 46] Operation: 50-4=46 Exploring Operation: 50-10=40, Resulting Numbers: [4, 40] Generated Node #0,3,1: 10:[4, 40] Operation: 50-10=40 Exploring Operation: 10-4=6, Resulting Numbers: [50, 6] Generated Node #0,3,2: 10:[50, 6] Operation: 10-4=6 Exploring Operation: 50/10=5, Resulting Numbers: [4, 5] Generated Node #0,3,3: 10:[4, 5] Operation: 50/10=5 Moving to Node #0,0 Current State: 10:[78, 10, 7], Operations: ['28/4=7'] Exploring Operation: 10-7=3, Resulting Numbers: [78, 3] Generated Node #0,0,0: 10:[78, 3] Operation: 10-7=3 Exploring Operation: 78-10=68, Resulting Numbers: [7, 68] Generated Node #0,0,1: 10:[7, 68] Operation: 78-10=68 Exploring Operation: 78+7=85, Resulting Numbers: [10, 85] Generated Node #0,0,2: 10:[10, 85] Operation: 78+7=85 Exploring Operation: 78-7=71, Resulting Numbers: [10, 71] Generated Node #0,0,3: 10:[10, 71] Operation: 78-7=71 Moving to Node #0,2 Current State: 10:[4, 78, 18], Operations: ['28-10=18'] Exploring Operation: 78-4=74, Resulting Numbers: [18, 74] Generated Node #0,2,0: 10:[18, 74] Operation: 78-4=74 Exploring Operation: 18-4=14, Resulting Numbers: [78, 14] Generated Node #0,2,1: 10:[78, 14] Operation: 18-4=14 Exploring Operation: 78-18=60, Resulting Numbers: [4, 60] Generated Node #0,2,2: 10:[4, 60] Operation: 78-18=60 Exploring Operation: 4+78=82, Resulting Numbers: [18, 82] Generated Node #0,2,3: 10:[18, 82] Operation: 4+78=82 Moving to Node #0,1 Current State: 10:[4, 28, 68], Operations: ['78-10=68'] Exploring Operation: 68/4=17, Resulting Numbers: [28, 17] Generated Node #0,1,0: 10:[28, 17] Operation: 68/4=17 Exploring Operation: 68-28=40, Resulting Numbers: [4, 40] Generated Node #0,1,1: 10:[4, 40] Operation: 68-28=40 Exploring Operation: 28-4=24, Resulting Numbers: [68, 24] Generated Node #0,1,2: 10:[68, 24] Operation: 28-4=24 Exploring Operation: 28/4=7, Resulting Numbers: [68, 7] Generated Node #0,1,3: 10:[68, 7] Operation: 28/4=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[28, 17], Operations: ['78-10=68', '68/4=17'] Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,10 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[4, 40], Operations: ['78-10=68', '68-28=40'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[4, 78, 10, 28], Operations: [] Exploring Operation: 78-10=68, Resulting Numbers: [4, 28, 68] Generated Node #0,1: 10:[4, 28, 68] Operation: 78-10=68 Moving to Node #0,1 Current State: 10:[4, 28, 68], Operations: ['78-10=68'] Exploring Operation: 68-28=40, Resulting Numbers: [4, 40] Generated Node #0,1,1: 10:[4, 40] Operation: 68-28=40 Moving to Node #0,1,1 Current State: 10:[4, 40], Operations: ['78-10=68', '68-28=40'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 63, 91, 65, 11 ]
56
[ "63*65=4095", "4095/91=45", "11+45=56" ]
Current State: 56:[63, 91, 65, 11], Operations: [] Exploring Operation: 63*65=4095, Resulting Numbers: [91, 11, 4095] Generated Node #2: [91, 11, 4095] from Operation: 63*65=4095 Current State: 56:[91, 11, 4095], Operations: ['63*65=4095'] Exploring Operation: 4095/91=45, Resulting Numbers: [11, 45] Generated Node #3: [11, 45] from Operation: 4095/91=45 Current State: 56:[11, 45], Operations: ['63*65=4095', '4095/91=45'] Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[63, 91, 65, 11], Operations: [] Exploring Operation: 91-63=28, Resulting Numbers: [65, 11, 28] Generated Node #0,0: 56:[65, 11, 28] Operation: 91-63=28 Exploring Operation: 91-65=26, Resulting Numbers: [63, 11, 26] Generated Node #0,1: 56:[63, 11, 26] Operation: 91-65=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[65, 11, 28], Operations: ['91-63=28'] Exploring Operation: 65-28=37, Resulting Numbers: [11, 37] Generated Node #0,0,0: 56:[11, 37] Operation: 65-28=37 Exploring Operation: 65-11=54, Resulting Numbers: [28, 54] Generated Node #0,0,1: 56:[28, 54] Operation: 65-11=54 Moving to Node #0,0,1 Current State: 56:[28, 54], Operations: ['91-63=28', '65-11=54'] Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[11, 37], Operations: ['91-63=28', '65-28=37'] Exploring Operation: 11+37=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[63, 11, 26], Operations: ['91-65=26'] Exploring Operation: 63-11=52, Resulting Numbers: [26, 52] Generated Node #0,1,0: 56:[26, 52] Operation: 63-11=52 Exploring Operation: 26-11=15, Resulting Numbers: [63, 15] Generated Node #0,1,1: 56:[63, 15] Operation: 26-11=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[26, 52], Operations: ['91-65=26', '63-11=52'] Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[63, 15], Operations: ['91-65=26', '26-11=15'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 8, 88, 56, 57 ]
79
[ "88-8=80", "57-56=1", "80-1=79" ]
Current State: 79:[8, 88, 56, 57], Operations: [] Exploring Operation: 88-8=80, Resulting Numbers: [56, 57, 80] Generated Node #2: [56, 57, 80] from Operation: 88-8=80 Current State: 79:[56, 57, 80], Operations: ['88-8=80'] Exploring Operation: 57-56=1, Resulting Numbers: [80, 1] Generated Node #3: [80, 1] from Operation: 57-56=1 Current State: 79:[80, 1], Operations: ['88-8=80', '57-56=1'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[8, 88, 56, 57], Operations: [] Exploring Operation: 88-8=80, Resulting Numbers: [56, 57, 80] Generated Node #0,0: 79:[56, 57, 80] Operation: 88-8=80 Exploring Operation: 8+56=64, Resulting Numbers: [88, 57, 64] Generated Node #0,1: 79:[88, 57, 64] Operation: 8+56=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[56, 57, 80], Operations: ['88-8=80'] Exploring Operation: 56+57=113, Resulting Numbers: [80, 113] Generated Node #0,0,0: 79:[80, 113] Operation: 56+57=113 Exploring Operation: 80-56=24, Resulting Numbers: [57, 24] Generated Node #0,0,1: 79:[57, 24] Operation: 80-56=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[80, 113], Operations: ['88-8=80', '56+57=113'] Exploring Operation: 113-80=33, Resulting Numbers: [33] 33,79 unequal: No Solution Exploring Operation: 80+113=193, Resulting Numbers: [193] 193,79 unequal: No Solution No 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: 79:[57, 24], Operations: ['88-8=80', '80-56=24'] Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,79 unequal: No Solution Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,79 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: 79:[88, 57, 64], Operations: ['8+56=64'] Exploring Operation: 57+64=121, Resulting Numbers: [88, 121] Generated Node #0,1,0: 79:[88, 121] Operation: 57+64=121 Exploring Operation: 88-57=31, Resulting Numbers: [64, 31] Generated Node #0,1,1: 79:[64, 31] Operation: 88-57=31 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[88, 121], Operations: ['8+56=64', '57+64=121'] Exploring Operation: 88+121=209, Resulting Numbers: [209] 209,79 unequal: No Solution Exploring Operation: 121-88=33, Resulting Numbers: [33] 33,79 unequal: No Solution No 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: 79:[64, 31], Operations: ['8+56=64', '88-57=31'] Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,79 unequal: No Solution Exploring Operation: 64+31=95, Resulting Numbers: [95] 95,79 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
[ 94, 45, 29, 82 ]
86
[ "94+45=139", "82-29=53", "139-53=86" ]
Current State: 86:[94, 45, 29, 82], Operations: [] Exploring Operation: 94+45=139, Resulting Numbers: [29, 82, 139] Generated Node #2: [29, 82, 139] from Operation: 94+45=139 Current State: 86:[29, 82, 139], Operations: ['94+45=139'] Exploring Operation: 82-29=53, Resulting Numbers: [139, 53] Generated Node #3: [139, 53] from Operation: 82-29=53 Current State: 86:[139, 53], Operations: ['94+45=139', '82-29=53'] Exploring Operation: 139-53=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[94, 45, 29, 82], Operations: [] Exploring Operation: 82-29=53, Resulting Numbers: [94, 45, 53] Generated Node #0,0: 86:[94, 45, 53] Operation: 82-29=53 Exploring Operation: 45+29=74, Resulting Numbers: [94, 82, 74] Generated Node #0,1: 86:[94, 82, 74] Operation: 45+29=74 Exploring Operation: 94-45=49, Resulting Numbers: [29, 82, 49] Generated Node #0,2: 86:[29, 82, 49] Operation: 94-45=49 Moving to Node #0,0 Current State: 86:[94, 45, 53], Operations: ['82-29=53'] Exploring Operation: 53-45=8, Resulting Numbers: [94, 8] Generated Node #0,0,0: 86:[94, 8] Operation: 53-45=8 Exploring Operation: 94-45=49, Resulting Numbers: [53, 49] Generated Node #0,0,1: 86:[53, 49] Operation: 94-45=49 Exploring Operation: 94-53=41, Resulting Numbers: [45, 41] Generated Node #0,0,2: 86:[45, 41] Operation: 94-53=41 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[45, 41], Operations: ['82-29=53', '94-53=41'] Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[94, 45, 29, 82], Operations: [] Exploring Operation: 82-29=53, Resulting Numbers: [94, 45, 53] Generated Node #0,0: 86:[94, 45, 53] Operation: 82-29=53 Moving to Node #0,0 Current State: 86:[94, 45, 53], Operations: ['82-29=53'] Exploring Operation: 94-53=41, Resulting Numbers: [45, 41] Generated Node #0,0,2: 86:[45, 41] Operation: 94-53=41 Moving to Node #0,0,2 Current State: 86:[45, 41], Operations: ['82-29=53', '94-53=41'] Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 7, 40, 91, 87 ]
34
[ "91/7=13", "87-40=47", "47-13=34" ]
Current State: 34:[7, 40, 91, 87], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [40, 87, 13] Generated Node #2: [40, 87, 13] from Operation: 91/7=13 Current State: 34:[40, 87, 13], Operations: ['91/7=13'] Exploring Operation: 87-40=47, Resulting Numbers: [13, 47] Generated Node #3: [13, 47] from Operation: 87-40=47 Current State: 34:[13, 47], Operations: ['91/7=13', '87-40=47'] Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[7, 40, 91, 87], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [7, 40, 4] Generated Node #0,0: 34:[7, 40, 4] Operation: 91-87=4 Exploring Operation: 91/7=13, Resulting Numbers: [40, 87, 13] Generated Node #0,1: 34:[40, 87, 13] Operation: 91/7=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[7, 40, 4], Operations: ['91-87=4'] Exploring Operation: 40-7=33, Resulting Numbers: [4, 33] Generated Node #0,0,0: 34:[4, 33] Operation: 40-7=33 Exploring Operation: 7-4=3, Resulting Numbers: [40, 3] Generated Node #0,0,1: 34:[40, 3] Operation: 7-4=3 Moving to Node #0,0,0 Current State: 34:[4, 33], Operations: ['91-87=4', '40-7=33'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,34 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[40, 3], Operations: ['91-87=4', '7-4=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[40, 87, 13], Operations: ['91/7=13'] Exploring Operation: 87-40=47, Resulting Numbers: [13, 47] Generated Node #0,1,0: 34:[13, 47] Operation: 87-40=47 Exploring Operation: 87-13=74, Resulting Numbers: [40, 74] Generated Node #0,1,1: 34:[40, 74] Operation: 87-13=74 Moving to Node #0,1,0 Current State: 34:[13, 47], Operations: ['91/7=13', '87-40=47'] Exploring Operation: 13+47=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[7, 40, 91, 87], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [40, 87, 13] Generated Node #0,1: 34:[40, 87, 13] Operation: 91/7=13 Moving to Node #0,1 Current State: 34:[40, 87, 13], Operations: ['91/7=13'] Exploring Operation: 87-40=47, Resulting Numbers: [13, 47] Generated Node #0,1,0: 34:[13, 47] Operation: 87-40=47 Moving to Node #0,1,0 Current State: 34:[13, 47], Operations: ['91/7=13', '87-40=47'] Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 6, 8, 19, 65 ]
57
[ "6*19=114", "65-8=57", "114-57=57" ]
Current State: 57:[6, 8, 19, 65], Operations: [] Exploring Operation: 6*19=114, Resulting Numbers: [8, 65, 114] Generated Node #2: [8, 65, 114] from Operation: 6*19=114 Current State: 57:[8, 65, 114], Operations: ['6*19=114'] Exploring Operation: 65-8=57, Resulting Numbers: [114, 57] Generated Node #3: [114, 57] from Operation: 65-8=57 Current State: 57:[114, 57], Operations: ['6*19=114', '65-8=57'] Exploring Operation: 114-57=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[6, 8, 19, 65], Operations: [] Exploring Operation: 65-8=57, Resulting Numbers: [6, 19, 57] Generated Node #0,0: 57:[6, 19, 57] Operation: 65-8=57 Exploring Operation: 65-6=59, Resulting Numbers: [8, 19, 59] Generated Node #0,1: 57:[8, 19, 59] Operation: 65-6=59 Exploring Operation: 8-6=2, Resulting Numbers: [19, 65, 2] Generated Node #0,2: 57:[19, 65, 2] Operation: 8-6=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[6, 19, 57], Operations: ['65-8=57'] Exploring Operation: 57/19=3, Resulting Numbers: [6, 3] Generated Node #0,0,0: 57:[6, 3] Operation: 57/19=3 Exploring Operation: 6+19=25, Resulting Numbers: [57, 25] Generated Node #0,0,1: 57:[57, 25] Operation: 6+19=25 Exploring Operation: 19-6=13, Resulting Numbers: [57, 13] Generated Node #0,0,2: 57:[57, 13] Operation: 19-6=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[6, 3], Operations: ['65-8=57', '57/19=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,57 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,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,1 Current State: 57:[57, 25], Operations: ['65-8=57', '6+19=25'] Exploring Operation: 57+25=82, Resulting Numbers: [82] 82,57 unequal: No Solution Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,57 unequal: No Solution Exploring Operation: 57*25=1425, Resulting Numbers: [1425] 1425,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:[57, 13], Operations: ['65-8=57', '19-6=13'] Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,57 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,57 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: 57:[8, 19, 59], Operations: ['65-6=59'] Exploring Operation: 19-8=11, Resulting Numbers: [59, 11] Generated Node #0,1,0: 57:[59, 11] Operation: 19-8=11 Exploring Operation: 8+19=27, Resulting Numbers: [59, 27] Generated Node #0,1,1: 57:[59, 27] Operation: 8+19=27 Exploring Operation: 59-8=51, Resulting Numbers: [19, 51] Generated Node #0,1,2: 57:[19, 51] Operation: 59-8=51 Moving to Node #0,1,2 Current State: 57:[19, 51], Operations: ['65-6=59', '59-8=51'] Exploring Operation: 19*51=969, Resulting Numbers: [969] 969,57 unequal: No Solution Exploring Operation: 19+51=70, Resulting Numbers: [70] 70,57 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[59, 11], Operations: ['65-6=59', '19-8=11'] Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,57 unequal: No Solution Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,57 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[59, 27], Operations: ['65-6=59', '8+19=27'] Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,57 unequal: No Solution Exploring Operation: 59+27=86, Resulting Numbers: [86] 86,57 unequal: No Solution Exploring Operation: 59*27=1593, Resulting Numbers: [1593] 1593,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 Current State: 57:[19, 65, 2], Operations: ['8-6=2'] Exploring Operation: 19+2=21, Resulting Numbers: [65, 21] Generated Node #0,2,0: 57:[65, 21] Operation: 19+2=21 Exploring Operation: 65-2=63, Resulting Numbers: [19, 63] Generated Node #0,2,1: 57:[19, 63] Operation: 65-2=63 Exploring Operation: 19-2=17, Resulting Numbers: [65, 17] Generated Node #0,2,2: 57:[65, 17] Operation: 19-2=17 Moving to Node #0,2,1 Current State: 57:[19, 63], Operations: ['8-6=2', '65-2=63'] Exploring Operation: 19*63=1197, Resulting Numbers: [1197] 1197,57 unequal: No Solution Exploring Operation: 63-19=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 19+63=82, Resulting Numbers: [82] 82,57 unequal: No Solution Moving to Node #0,2,0 Current State: 57:[65, 21], Operations: ['8-6=2', '19+2=21'] Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 65*21=1365, Resulting Numbers: [1365] 1365,57 unequal: No Solution Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[65, 17], Operations: ['8-6=2', '19-2=17'] Exploring Operation: 65*17=1105, Resulting Numbers: [1105] 1105,57 unequal: No Solution Exploring Operation: 65+17=82, Resulting Numbers: [82] 82,57 unequal: No Solution Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,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
mult_heuristic
[ 56, 43, 61, 32 ]
16
[ "56-43=13", "61-32=29", "29-13=16" ]
Current State: 16:[56, 43, 61, 32], Operations: [] Exploring Operation: 56-43=13, Resulting Numbers: [61, 32, 13] Generated Node #2: [61, 32, 13] from Operation: 56-43=13 Current State: 16:[61, 32, 13], Operations: ['56-43=13'] Exploring Operation: 61-32=29, Resulting Numbers: [13, 29] Generated Node #3: [13, 29] from Operation: 61-32=29 Current State: 16:[13, 29], Operations: ['56-43=13', '61-32=29'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[56, 43, 61, 32], Operations: [] Exploring Operation: 61-43=18, Resulting Numbers: [56, 32, 18] Generated Node #0,0: 16:[56, 32, 18] Operation: 61-43=18 Exploring Operation: 56-43=13, Resulting Numbers: [61, 32, 13] Generated Node #0,1: 16:[61, 32, 13] Operation: 56-43=13 Exploring Operation: 61-56=5, Resulting Numbers: [43, 32, 5] Generated Node #0,2: 16:[43, 32, 5] Operation: 61-56=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[43, 32, 5], Operations: ['61-56=5'] Exploring Operation: 43-5=38, Resulting Numbers: [32, 38] Generated Node #0,2,0: 16:[32, 38] Operation: 43-5=38 Exploring Operation: 32-5=27, Resulting Numbers: [43, 27] Generated Node #0,2,1: 16:[43, 27] Operation: 32-5=27 Exploring Operation: 43-32=11, Resulting Numbers: [5, 11] Generated Node #0,2,2: 16:[5, 11] Operation: 43-32=11 Moving to Node #0,2,2 Current State: 16:[5, 11], Operations: ['61-56=5', '43-32=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,16 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[56, 43, 61, 32], Operations: [] Exploring Operation: 61-56=5, Resulting Numbers: [43, 32, 5] Generated Node #0,2: 16:[43, 32, 5] Operation: 61-56=5 Moving to Node #0,2 Current State: 16:[43, 32, 5], Operations: ['61-56=5'] Exploring Operation: 43-32=11, Resulting Numbers: [5, 11] Generated Node #0,2,2: 16:[5, 11] Operation: 43-32=11 Moving to Node #0,2,2 Current State: 16:[5, 11], Operations: ['61-56=5', '43-32=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 10, 32, 87, 39 ]
96
[ "39-10=29", "32*87=2784", "2784/29=96" ]
Current State: 96:[10, 32, 87, 39], Operations: [] Exploring Operation: 39-10=29, Resulting Numbers: [32, 87, 29] Generated Node #2: [32, 87, 29] from Operation: 39-10=29 Current State: 96:[32, 87, 29], Operations: ['39-10=29'] Exploring Operation: 32*87=2784, Resulting Numbers: [29, 2784] Generated Node #3: [29, 2784] from Operation: 32*87=2784 Current State: 96:[29, 2784], Operations: ['39-10=29', '32*87=2784'] Exploring Operation: 2784/29=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[10, 32, 87, 39], Operations: [] Exploring Operation: 87-39=48, Resulting Numbers: [10, 32, 48] Generated Node #0,0: 96:[10, 32, 48] Operation: 87-39=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[10, 32, 48], Operations: ['87-39=48'] Exploring Operation: 32-10=22, Resulting Numbers: [48, 22] Generated Node #0,0,0: 96:[48, 22] Operation: 32-10=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[48, 22], Operations: ['87-39=48', '32-10=22'] Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 1, 76, 50, 40 ]
60
[ "76-1=75", "40*75=3000", "3000/50=60" ]
Current State: 60:[1, 76, 50, 40], Operations: [] Exploring Operation: 76-1=75, Resulting Numbers: [50, 40, 75] Generated Node #2: [50, 40, 75] from Operation: 76-1=75 Current State: 60:[50, 40, 75], Operations: ['76-1=75'] Exploring Operation: 40*75=3000, Resulting Numbers: [50, 3000] Generated Node #3: [50, 3000] from Operation: 40*75=3000 Current State: 60:[50, 3000], Operations: ['76-1=75', '40*75=3000'] Exploring Operation: 3000/50=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[1, 76, 50, 40], Operations: [] Exploring Operation: 76-40=36, Resulting Numbers: [1, 50, 36] Generated Node #0,0: 60:[1, 50, 36] Operation: 76-40=36 Exploring Operation: 1+50=51, Resulting Numbers: [76, 40, 51] Generated Node #0,1: 60:[76, 40, 51] Operation: 1+50=51 Exploring Operation: 76-50=26, Resulting Numbers: [1, 40, 26] Generated Node #0,2: 60:[1, 40, 26] Operation: 76-50=26 Exploring Operation: 50-40=10, Resulting Numbers: [1, 76, 10] Generated Node #0,3: 60:[1, 76, 10] Operation: 50-40=10 Exploring Operation: 76-1=75, Resulting Numbers: [50, 40, 75] Generated Node #0,4: 60:[50, 40, 75] Operation: 76-1=75 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[1, 40, 26], Operations: ['76-50=26'] Exploring Operation: 40-26=14, Resulting Numbers: [1, 14] Generated Node #0,2,0: 60:[1, 14] Operation: 40-26=14 Exploring Operation: 1*40=40, Resulting Numbers: [26, 40] Generated Node #0,2,1: 60:[26, 40] Operation: 1*40=40 Exploring Operation: 40+26=66, Resulting Numbers: [1, 66] Generated Node #0,2,2: 60:[1, 66] Operation: 40+26=66 Exploring Operation: 1+26=27, Resulting Numbers: [40, 27] Generated Node #0,2,3: 60:[40, 27] Operation: 1+26=27 Exploring Operation: 40-1=39, Resulting Numbers: [26, 39] Generated Node #0,2,4: 60:[26, 39] Operation: 40-1=39 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[1, 14], Operations: ['76-50=26', '40-26=14'] Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,60 unequal: No Solution No 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: 60:[1, 66], Operations: ['76-50=26', '40+26=66'] Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 1+66=67, Resulting Numbers: [67] 67,60 unequal: No Solution Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 1*66=66, Resulting Numbers: [66] 66,60 unequal: No Solution No 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: 60:[40, 27], Operations: ['76-50=26', '1+26=27'] Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 40*27=1080, Resulting Numbers: [1080] 1080,60 unequal: No Solution Exploring Operation: 40+27=67, Resulting Numbers: [67] 67,60 unequal: No Solution No 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: 60:[26, 39], Operations: ['76-50=26', '40-1=39'] Exploring Operation: 26*39=1014, Resulting Numbers: [1014] 1014,60 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 26+39=65, Resulting Numbers: [65] 65,60 unequal: No Solution No 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: 60:[26, 40], Operations: ['76-50=26', '1*40=40'] Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 26+40=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 26*40=1040, Resulting Numbers: [1040] 1040,60 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: 60:[1, 50, 36], Operations: ['76-40=36'] Exploring Operation: 50/1=50, Resulting Numbers: [36, 50] Generated Node #0,0,0: 60:[36, 50] Operation: 50/1=50 Exploring Operation: 1+50=51, Resulting Numbers: [36, 51] Generated Node #0,0,1: 60:[36, 51] Operation: 1+50=51 Exploring Operation: 36-1=35, Resulting Numbers: [50, 35] Generated Node #0,0,2: 60:[50, 35] Operation: 36-1=35 Exploring Operation: 1*50=50, Resulting Numbers: [36, 50] Generated Node #0,0,3: 60:[36, 50] Operation: 1*50=50 Exploring Operation: 50-36=14, Resulting Numbers: [1, 14] Generated Node #0,0,4: 60:[1, 14] Operation: 50-36=14 Moving to Node #0,0,4 Current State: 60:[1, 14], Operations: ['76-40=36', '50-36=14'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[50, 35], Operations: ['76-40=36', '36-1=35'] Exploring Operation: 50*35=1750, Resulting Numbers: [1750] 1750,60 unequal: No Solution Exploring Operation: 50+35=85, Resulting Numbers: [85] 85,60 unequal: No Solution Exploring Operation: 50-35=15, Resulting Numbers: [15] 15,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[36, 51], Operations: ['76-40=36', '1+50=51'] Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 36*51=1836, Resulting Numbers: [1836] 1836,60 unequal: No Solution Exploring Operation: 36+51=87, Resulting Numbers: [87] 87,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[36, 50], Operations: ['76-40=36', '50/1=50'] Exploring Operation: 36+50=86, Resulting Numbers: [86] 86,60 unequal: No Solution Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 36*50=1800, Resulting Numbers: [1800] 1800,60 unequal: No Solution Moving to Node #0,0,3 Current State: 60:[36, 50], Operations: ['76-40=36', '1*50=50'] Exploring Operation: 36+50=86, Resulting Numbers: [86] 86,60 unequal: No Solution Exploring Operation: 36*50=1800, Resulting Numbers: [1800] 1800,60 unequal: No Solution Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,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 Current State: 60:[1, 76, 10], Operations: ['50-40=10'] Exploring Operation: 76-10=66, Resulting Numbers: [1, 66] Generated Node #0,3,0: 60:[1, 66] Operation: 76-10=66 Exploring Operation: 1*10=10, Resulting Numbers: [76, 10] Generated Node #0,3,1: 60:[76, 10] Operation: 1*10=10 Exploring Operation: 1*76=76, Resulting Numbers: [10, 76] Generated Node #0,3,2: 60:[10, 76] Operation: 1*76=76 Exploring Operation: 76/1=76, Resulting Numbers: [10, 76] Generated Node #0,3,3: 60:[10, 76] Operation: 76/1=76 Exploring Operation: 76-1=75, Resulting Numbers: [10, 75] Generated Node #0,3,4: 60:[10, 75] Operation: 76-1=75 Moving to Node #0,3,0 Current State: 60:[1, 66], Operations: ['50-40=10', '76-10=66'] Exploring Operation: 1*66=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 1+66=67, Resulting Numbers: [67] 67,60 unequal: No Solution Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,60 unequal: No Solution Moving to Node #0,3,4 Current State: 60:[10, 75], Operations: ['50-40=10', '76-1=75'] Exploring Operation: 10*75=750, Resulting Numbers: [750] 750,60 unequal: No Solution Exploring Operation: 10+75=85, Resulting Numbers: [85] 85,60 unequal: No Solution Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,60 unequal: No Solution Moving to Node #0,3,1 Current State: 60:[76, 10], Operations: ['50-40=10', '1*10=10'] Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,60 unequal: No Solution Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,60 unequal: No Solution Moving to Node #0,3,2 Current State: 60:[10, 76], Operations: ['50-40=10', '1*76=76'] Exploring Operation: 10*76=760, Resulting Numbers: [760] 760,60 unequal: No Solution Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 10+76=86, Resulting Numbers: [86] 86,60 unequal: No Solution Moving to Node #0,3,3 Current State: 60:[10, 76], Operations: ['50-40=10', '76/1=76'] Exploring Operation: 10+76=86, Resulting Numbers: [86] 86,60 unequal: No Solution Exploring Operation: 10*76=760, Resulting Numbers: [760] 760,60 unequal: No Solution Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,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 Current State: 60:[76, 40, 51], Operations: ['1+50=51'] Exploring Operation: 76-51=25, Resulting Numbers: [40, 25] Generated Node #0,1,0: 60:[40, 25] Operation: 76-51=25 Exploring Operation: 76-40=36, Resulting Numbers: [51, 36] Generated Node #0,1,1: 60:[51, 36] Operation: 76-40=36 Exploring Operation: 51-40=11, Resulting Numbers: [76, 11] Generated Node #0,1,2: 60:[76, 11] Operation: 51-40=11 Exploring Operation: 40+51=91, Resulting Numbers: [76, 91] Generated Node #0,1,3: 60:[76, 91] Operation: 40+51=91 Exploring Operation: 76+40=116, Resulting Numbers: [51, 116] Generated Node #0,1,4: 60:[51, 116] Operation: 76+40=116 Moving to Node #0,1,0 Current State: 60:[40, 25], Operations: ['1+50=51', '76-51=25'] Exploring Operation: 40+25=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 40*25=1000, Resulting Numbers: [1000] 1000,60 unequal: No Solution Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[51, 36], Operations: ['1+50=51', '76-40=36'] Exploring Operation: 51*36=1836, Resulting Numbers: [1836] 1836,60 unequal: No Solution Exploring Operation: 51+36=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[76, 11], Operations: ['1+50=51', '51-40=11'] Exploring Operation: 76*11=836, Resulting Numbers: [836] 836,60 unequal: No Solution Exploring Operation: 76+11=87, Resulting Numbers: [87] 87,60 unequal: No Solution Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[76, 91], Operations: ['1+50=51', '40+51=91'] Exploring Operation: 76+91=167, Resulting Numbers: [167] 167,60 unequal: No Solution Exploring Operation: 91-76=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 76*91=6916, Resulting Numbers: [6916] 6916,60 unequal: No Solution Moving to Node #0,1,4 Current State: 60:[51, 116], Operations: ['1+50=51', '76+40=116'] Exploring Operation: 51*116=5916, Resulting Numbers: [5916] 5916,60 unequal: No Solution Exploring Operation: 51+116=167, Resulting Numbers: [167] 167,60 unequal: No Solution Exploring Operation: 116-51=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,4 Current State: 60:[50, 40, 75], Operations: ['76-1=75'] Exploring Operation: 50+40=90, Resulting Numbers: [75, 90] Generated Node #0,4,0: 60:[75, 90] Operation: 50+40=90 Exploring Operation: 75-50=25, Resulting Numbers: [40, 25] Generated Node #0,4,1: 60:[40, 25] Operation: 75-50=25 Exploring Operation: 40+75=115, Resulting Numbers: [50, 115] Generated Node #0,4,2: 60:[50, 115] Operation: 40+75=115 Exploring Operation: 50-40=10, Resulting Numbers: [75, 10] Generated Node #0,4,3: 60:[75, 10] Operation: 50-40=10 Exploring Operation: 75-40=35, Resulting Numbers: [50, 35] Generated Node #0,4,4: 60:[50, 35] Operation: 75-40=35 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 60:[40, 25], Operations: ['76-1=75', '75-50=25'] Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 40*25=1000, Resulting Numbers: [1000] 1000,60 unequal: No Solution Exploring Operation: 40+25=65, Resulting Numbers: [65] 65,60 unequal: No Solution No 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: 60:[75, 10], Operations: ['76-1=75', '50-40=10'] Exploring Operation: 75-10=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 75+10=85, Resulting Numbers: [85] 85,60 unequal: No Solution Exploring Operation: 75*10=750, Resulting Numbers: [750] 750,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 60:[50, 35], Operations: ['76-1=75', '75-40=35'] Exploring Operation: 50+35=85, Resulting Numbers: [85] 85,60 unequal: No Solution Exploring Operation: 50-35=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 50*35=1750, Resulting Numbers: [1750] 1750,60 unequal: No Solution No 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: 60:[75, 90], Operations: ['76-1=75', '50+40=90'] Exploring Operation: 90-75=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 75+90=165, Resulting Numbers: [165] 165,60 unequal: No Solution Exploring Operation: 75*90=6750, Resulting Numbers: [6750] 6750,60 unequal: No Solution No 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: 60:[50, 115], Operations: ['76-1=75', '40+75=115'] Exploring Operation: 115-50=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 50+115=165, Resulting Numbers: [165] 165,60 unequal: No Solution Exploring Operation: 50*115=5750, Resulting Numbers: [5750] 5750,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 6, 44, 32, 3 ]
60
[ "6*32=192", "44*3=132", "192-132=60" ]
Current State: 60:[6, 44, 32, 3], Operations: [] Exploring Operation: 6*32=192, Resulting Numbers: [44, 3, 192] Generated Node #2: [44, 3, 192] from Operation: 6*32=192 Current State: 60:[44, 3, 192], Operations: ['6*32=192'] Exploring Operation: 44*3=132, Resulting Numbers: [192, 132] Generated Node #3: [192, 132] from Operation: 44*3=132 Current State: 60:[192, 132], Operations: ['6*32=192', '44*3=132'] Exploring Operation: 192-132=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[6, 44, 32, 3], Operations: [] Exploring Operation: 44-6=38, Resulting Numbers: [32, 3, 38] Generated Node #0,0: 60:[32, 3, 38] Operation: 44-6=38 Exploring Operation: 6+44=50, Resulting Numbers: [32, 3, 50] Generated Node #0,1: 60:[32, 3, 50] Operation: 6+44=50 Exploring Operation: 44-32=12, Resulting Numbers: [6, 3, 12] Generated Node #0,2: 60:[6, 3, 12] Operation: 44-32=12 Moving to Node #0,2 Current State: 60:[6, 3, 12], Operations: ['44-32=12'] Exploring Operation: 6/3=2, Resulting Numbers: [12, 2] Generated Node #0,2,0: 60:[12, 2] Operation: 6/3=2 Exploring Operation: 12-6=6, Resulting Numbers: [3, 6] Generated Node #0,2,1: 60:[3, 6] Operation: 12-6=6 Exploring Operation: 6-3=3, Resulting Numbers: [12, 3] Generated Node #0,2,2: 60:[12, 3] Operation: 6-3=3 Moving to Node #0,0 Current State: 60:[32, 3, 38], Operations: ['44-6=38'] Exploring Operation: 32-3=29, Resulting Numbers: [38, 29] Generated Node #0,0,0: 60:[38, 29] Operation: 32-3=29 Exploring Operation: 38-32=6, Resulting Numbers: [3, 6] Generated Node #0,0,1: 60:[3, 6] Operation: 38-32=6 Exploring Operation: 38-3=35, Resulting Numbers: [32, 35] Generated Node #0,0,2: 60:[32, 35] Operation: 38-3=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[3, 6], Operations: ['44-6=38', '38-32=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,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:[32, 35], Operations: ['44-6=38', '38-3=35'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 32*35=1120, Resulting Numbers: [1120] 1120,60 unequal: No Solution Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,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:[38, 29], Operations: ['44-6=38', '32-3=29'] Exploring Operation: 38+29=67, Resulting Numbers: [67] 67,60 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 38*29=1102, Resulting Numbers: [1102] 1102,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:[32, 3, 50], Operations: ['6+44=50'] Exploring Operation: 32-3=29, Resulting Numbers: [50, 29] Generated Node #0,1,0: 60:[50, 29] Operation: 32-3=29 Exploring Operation: 50-32=18, Resulting Numbers: [3, 18] Generated Node #0,1,1: 60:[3, 18] Operation: 50-32=18 Exploring Operation: 3+50=53, Resulting Numbers: [32, 53] Generated Node #0,1,2: 60:[32, 53] Operation: 3+50=53 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[3, 18], Operations: ['6+44=50', '50-32=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,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,2 Current State: 60:[32, 53], Operations: ['6+44=50', '3+50=53'] Exploring Operation: 32*53=1696, Resulting Numbers: [1696] 1696,60 unequal: No Solution Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 32+53=85, Resulting Numbers: [85] 85,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:[50, 29], Operations: ['6+44=50', '32-3=29'] Exploring Operation: 50+29=79, Resulting Numbers: [79] 79,60 unequal: No Solution Exploring Operation: 50*29=1450, Resulting Numbers: [1450] 1450,60 unequal: No Solution Exploring Operation: 50-29=21, Resulting Numbers: [21] 21,60 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: 60:[12, 2], Operations: ['44-32=12', '6/3=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[3, 6], Operations: ['44-32=12', '12-6=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[12, 3], Operations: ['44-32=12', '6-3=3'] Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,60 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,60 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 81, 6, 60, 1 ]
14
[ "81-6=75", "60+1=61", "75-61=14" ]
Current State: 14:[81, 6, 60, 1], Operations: [] Exploring Operation: 81-6=75, Resulting Numbers: [60, 1, 75] Generated Node #2: [60, 1, 75] from Operation: 81-6=75 Current State: 14:[60, 1, 75], Operations: ['81-6=75'] Exploring Operation: 60+1=61, Resulting Numbers: [75, 61] Generated Node #3: [75, 61] from Operation: 60+1=61 Current State: 14:[75, 61], Operations: ['81-6=75', '60+1=61'] Exploring Operation: 75-61=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[81, 6, 60, 1], Operations: [] Exploring Operation: 60/6=10, Resulting Numbers: [81, 1, 10] Generated Node #0,0: 14:[81, 1, 10] Operation: 60/6=10 Exploring Operation: 81-60=21, Resulting Numbers: [6, 1, 21] Generated Node #0,1: 14:[6, 1, 21] Operation: 81-60=21 Moving to Node #0,1 Current State: 14:[6, 1, 21], Operations: ['81-60=21'] Exploring Operation: 6+1=7, Resulting Numbers: [21, 7] Generated Node #0,1,0: 14:[21, 7] Operation: 6+1=7 Exploring Operation: 21-6=15, Resulting Numbers: [1, 15] Generated Node #0,1,1: 14:[1, 15] Operation: 21-6=15 Moving to Node #0,0 Current State: 14:[81, 1, 10], Operations: ['60/6=10'] Exploring Operation: 81-1=80, Resulting Numbers: [10, 80] Generated Node #0,0,0: 14:[10, 80] Operation: 81-1=80 Exploring Operation: 81-10=71, Resulting Numbers: [1, 71] Generated Node #0,0,1: 14:[1, 71] Operation: 81-10=71 Moving to Node #0,1,1 Current State: 14:[1, 15], Operations: ['81-60=21', '21-6=15'] Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[81, 6, 60, 1], Operations: [] Exploring Operation: 81-60=21, Resulting Numbers: [6, 1, 21] Generated Node #0,1: 14:[6, 1, 21] Operation: 81-60=21 Moving to Node #0,1 Current State: 14:[6, 1, 21], Operations: ['81-60=21'] Exploring Operation: 21-6=15, Resulting Numbers: [1, 15] Generated Node #0,1,1: 14:[1, 15] Operation: 21-6=15 Moving to Node #0,1,1 Current State: 14:[1, 15], Operations: ['81-60=21', '21-6=15'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 36, 10, 28, 37 ]
37
[ "36+10=46", "37-28=9", "46-9=37" ]
Current State: 37:[36, 10, 28, 37], Operations: [] Exploring Operation: 36+10=46, Resulting Numbers: [28, 37, 46] Generated Node #2: [28, 37, 46] from Operation: 36+10=46 Current State: 37:[28, 37, 46], Operations: ['36+10=46'] Exploring Operation: 37-28=9, Resulting Numbers: [46, 9] Generated Node #3: [46, 9] from Operation: 37-28=9 Current State: 37:[46, 9], Operations: ['36+10=46', '37-28=9'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[36, 10, 28, 37], Operations: [] Exploring Operation: 36+10=46, Resulting Numbers: [28, 37, 46] Generated Node #0,0: 37:[28, 37, 46] Operation: 36+10=46 Exploring Operation: 36-10=26, Resulting Numbers: [28, 37, 26] Generated Node #0,1: 37:[28, 37, 26] Operation: 36-10=26 Exploring Operation: 10+28=38, Resulting Numbers: [36, 37, 38] Generated Node #0,2: 37:[36, 37, 38] Operation: 10+28=38 Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[36, 37, 38], Operations: ['10+28=38'] Exploring Operation: 36+37=73, Resulting Numbers: [38, 73] Generated Node #0,2,0: 37:[38, 73] Operation: 36+37=73 Exploring Operation: 38-36=2, Resulting Numbers: [37, 2] Generated Node #0,2,1: 37:[37, 2] Operation: 38-36=2 Exploring Operation: 37-36=1, Resulting Numbers: [38, 1] Generated Node #0,2,2: 37:[38, 1] Operation: 37-36=1 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[37, 2], Operations: ['10+28=38', '38-36=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,37 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[38, 73], Operations: ['10+28=38', '36+37=73'] Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,37 unequal: No Solution Exploring Operation: 38+73=111, Resulting Numbers: [111] 111,37 unequal: No Solution Exploring Operation: 38*73=2774, Resulting Numbers: [2774] 2774,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[38, 1], Operations: ['10+28=38', '37-36=1'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[36, 10, 28, 37], Operations: [] Exploring Operation: 10+28=38, Resulting Numbers: [36, 37, 38] Generated Node #0,2: 37:[36, 37, 38] Operation: 10+28=38 Moving to Node #0,2 Current State: 37:[36, 37, 38], Operations: ['10+28=38'] Exploring Operation: 37-36=1, Resulting Numbers: [38, 1] Generated Node #0,2,2: 37:[38, 1] Operation: 37-36=1 Moving to Node #0,2,2 Current State: 37:[38, 1], Operations: ['10+28=38', '37-36=1'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 84, 46, 24, 20 ]
86
[ "84+46=130", "24+20=44", "130-44=86" ]
Current State: 86:[84, 46, 24, 20], Operations: [] Exploring Operation: 84+46=130, Resulting Numbers: [24, 20, 130] Generated Node #2: [24, 20, 130] from Operation: 84+46=130 Current State: 86:[24, 20, 130], Operations: ['84+46=130'] Exploring Operation: 24+20=44, Resulting Numbers: [130, 44] Generated Node #3: [130, 44] from Operation: 24+20=44 Current State: 86:[130, 44], Operations: ['84+46=130', '24+20=44'] Exploring Operation: 130-44=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[84, 46, 24, 20], Operations: [] Exploring Operation: 24-20=4, Resulting Numbers: [84, 46, 4] Generated Node #0,0: 86:[84, 46, 4] Operation: 24-20=4 Exploring Operation: 84-24=60, Resulting Numbers: [46, 20, 60] Generated Node #0,1: 86:[46, 20, 60] Operation: 84-24=60 Exploring Operation: 46+24=70, Resulting Numbers: [84, 20, 70] Generated Node #0,2: 86:[84, 20, 70] Operation: 46+24=70 Exploring Operation: 46-20=26, Resulting Numbers: [84, 24, 26] Generated Node #0,3: 86:[84, 24, 26] Operation: 46-20=26 Exploring Operation: 24+20=44, Resulting Numbers: [84, 46, 44] Generated Node #0,4: 86:[84, 46, 44] Operation: 24+20=44 Start Sub Search at level 1: Moving to Node #0,4 Current State: 86:[84, 46, 44], Operations: ['24+20=44'] Exploring Operation: 84+46=130, Resulting Numbers: [44, 130] Generated Node #0,4,0: 86:[44, 130] Operation: 84+46=130 Exploring Operation: 46+44=90, Resulting Numbers: [84, 90] Generated Node #0,4,1: 86:[84, 90] Operation: 46+44=90 Exploring Operation: 84-44=40, Resulting Numbers: [46, 40] Generated Node #0,4,2: 86:[46, 40] Operation: 84-44=40 Exploring Operation: 84-46=38, Resulting Numbers: [44, 38] Generated Node #0,4,3: 86:[44, 38] Operation: 84-46=38 Exploring Operation: 46-44=2, Resulting Numbers: [84, 2] Generated Node #0,4,4: 86:[84, 2] Operation: 46-44=2 Moving to Node #0,4,4 Current State: 86:[84, 2], Operations: ['24+20=44', '46-44=2'] Exploring Operation: 84*2=168, Resulting Numbers: [168] 168,86 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[84, 46, 24, 20], Operations: [] Exploring Operation: 24+20=44, Resulting Numbers: [84, 46, 44] Generated Node #0,4: 86:[84, 46, 44] Operation: 24+20=44 Moving to Node #0,4 Current State: 86:[84, 46, 44], Operations: ['24+20=44'] Exploring Operation: 46-44=2, Resulting Numbers: [84, 2] Generated Node #0,4,4: 86:[84, 2] Operation: 46-44=2 Moving to Node #0,4,4 Current State: 86:[84, 2], Operations: ['24+20=44', '46-44=2'] Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 9, 3, 54, 25 ]
48
[ "9+25=34", "3*34=102", "102-54=48" ]
Current State: 48:[9, 3, 54, 25], Operations: [] Exploring Operation: 9+25=34, Resulting Numbers: [3, 54, 34] Generated Node #2: [3, 54, 34] from Operation: 9+25=34 Current State: 48:[3, 54, 34], Operations: ['9+25=34'] Exploring Operation: 3*34=102, Resulting Numbers: [54, 102] Generated Node #3: [54, 102] from Operation: 3*34=102 Current State: 48:[54, 102], Operations: ['9+25=34', '3*34=102'] Exploring Operation: 102-54=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[9, 3, 54, 25], Operations: [] Exploring Operation: 54-9=45, Resulting Numbers: [3, 25, 45] Generated Node #0,0: 48:[3, 25, 45] Operation: 54-9=45 Exploring Operation: 54/9=6, Resulting Numbers: [3, 25, 6] Generated Node #0,1: 48:[3, 25, 6] Operation: 54/9=6 Moving to Node #0,1 Current State: 48:[3, 25, 6], Operations: ['54/9=6'] Exploring Operation: 6-3=3, Resulting Numbers: [25, 3] Generated Node #0,1,0: 48:[25, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [25, 2] Generated Node #0,1,1: 48:[25, 2] Operation: 6/3=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[25, 3], Operations: ['54/9=6', '6-3=3'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[25, 2], Operations: ['54/9=6', '6/3=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,48 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,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:[3, 25, 45], Operations: ['54-9=45'] Exploring Operation: 45/3=15, Resulting Numbers: [25, 15] Generated Node #0,0,0: 48:[25, 15] Operation: 45/3=15 Exploring Operation: 3+45=48, Resulting Numbers: [25, 48] Generated Node #0,0,1: 48:[25, 48] Operation: 3+45=48 Moving to Node #0,0,1 Current State: 48:[25, 48], Operations: ['54-9=45', '3+45=48'] Exploring Operation: 25+48=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[25, 15], Operations: ['54-9=45', '45/3=15'] Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,48 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 69, 48, 32, 13 ]
33
[ "69*32=2208", "2208/48=46", "46-13=33" ]
Current State: 33:[69, 48, 32, 13], Operations: [] Exploring Operation: 69*32=2208, Resulting Numbers: [48, 13, 2208] Generated Node #2: [48, 13, 2208] from Operation: 69*32=2208 Current State: 33:[48, 13, 2208], Operations: ['69*32=2208'] Exploring Operation: 2208/48=46, Resulting Numbers: [13, 46] Generated Node #3: [13, 46] from Operation: 2208/48=46 Current State: 33:[13, 46], Operations: ['69*32=2208', '2208/48=46'] Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[69, 48, 32, 13], Operations: [] Exploring Operation: 69-48=21, Resulting Numbers: [32, 13, 21] Generated Node #0,0: 33:[32, 13, 21] Operation: 69-48=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[32, 13, 21], Operations: ['69-48=21'] Exploring Operation: 32-21=11, Resulting Numbers: [13, 11] Generated Node #0,0,0: 33:[13, 11] Operation: 32-21=11 Moving to Node #0,0,0 Current State: 33:[13, 11], Operations: ['69-48=21', '32-21=11'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,33 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
[ 8, 39, 60, 6 ]
57
[ "8+39=47", "60/6=10", "47+10=57" ]
Current State: 57:[8, 39, 60, 6], Operations: [] Exploring Operation: 8+39=47, Resulting Numbers: [60, 6, 47] Generated Node #2: [60, 6, 47] from Operation: 8+39=47 Current State: 57:[60, 6, 47], Operations: ['8+39=47'] Exploring Operation: 60/6=10, Resulting Numbers: [47, 10] Generated Node #3: [47, 10] from Operation: 60/6=10 Current State: 57:[47, 10], Operations: ['8+39=47', '60/6=10'] Exploring Operation: 47+10=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[8, 39, 60, 6], Operations: [] Exploring Operation: 60-39=21, Resulting Numbers: [8, 6, 21] Generated Node #0,0: 57:[8, 6, 21] Operation: 60-39=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[8, 6, 21], Operations: ['60-39=21'] Exploring Operation: 8-6=2, Resulting Numbers: [21, 2] Generated Node #0,0,0: 57:[21, 2] Operation: 8-6=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[21, 2], Operations: ['60-39=21', '8-6=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 88, 72, 95, 42 ]
37
[ "88-72=16", "95-42=53", "53-16=37" ]
Current State: 37:[88, 72, 95, 42], Operations: [] Exploring Operation: 88-72=16, Resulting Numbers: [95, 42, 16] Generated Node #2: [95, 42, 16] from Operation: 88-72=16 Current State: 37:[95, 42, 16], Operations: ['88-72=16'] Exploring Operation: 95-42=53, Resulting Numbers: [16, 53] Generated Node #3: [16, 53] from Operation: 95-42=53 Current State: 37:[16, 53], Operations: ['88-72=16', '95-42=53'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[88, 72, 95, 42], Operations: [] Exploring Operation: 95-72=23, Resulting Numbers: [88, 42, 23] Generated Node #0,0: 37:[88, 42, 23] Operation: 95-72=23 Exploring Operation: 95-88=7, Resulting Numbers: [72, 42, 7] Generated Node #0,1: 37:[72, 42, 7] Operation: 95-88=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[88, 42, 23], Operations: ['95-72=23'] Exploring Operation: 88-23=65, Resulting Numbers: [42, 65] Generated Node #0,0,0: 37:[42, 65] Operation: 88-23=65 Exploring Operation: 88-42=46, Resulting Numbers: [23, 46] Generated Node #0,0,1: 37:[23, 46] Operation: 88-42=46 Moving to Node #0,0,1 Current State: 37:[23, 46], Operations: ['95-72=23', '88-42=46'] Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 23+46=69, Resulting Numbers: [69] 69,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[42, 65], Operations: ['95-72=23', '88-23=65'] Exploring Operation: 42+65=107, Resulting Numbers: [107] 107,37 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[72, 42, 7], Operations: ['95-88=7'] Exploring Operation: 72-42=30, Resulting Numbers: [7, 30] Generated Node #0,1,0: 37:[7, 30] Operation: 72-42=30 Exploring Operation: 72-7=65, Resulting Numbers: [42, 65] Generated Node #0,1,1: 37:[42, 65] Operation: 72-7=65 Moving to Node #0,1,1 Current State: 37:[42, 65], Operations: ['95-88=7', '72-7=65'] Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 42+65=107, Resulting Numbers: [107] 107,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[7, 30], Operations: ['95-88=7', '72-42=30'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[88, 72, 95, 42], Operations: [] Exploring Operation: 95-88=7, Resulting Numbers: [72, 42, 7] Generated Node #0,1: 37:[72, 42, 7] Operation: 95-88=7 Moving to Node #0,1 Current State: 37:[72, 42, 7], Operations: ['95-88=7'] Exploring Operation: 72-42=30, Resulting Numbers: [7, 30] Generated Node #0,1,0: 37:[7, 30] Operation: 72-42=30 Moving to Node #0,1,0 Current State: 37:[7, 30], Operations: ['95-88=7', '72-42=30'] Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 30, 98, 68, 6 ]
14
[ "30*6=180", "98+68=166", "180-166=14" ]
Current State: 14:[30, 98, 68, 6], Operations: [] Exploring Operation: 30*6=180, Resulting Numbers: [98, 68, 180] Generated Node #2: [98, 68, 180] from Operation: 30*6=180 Current State: 14:[98, 68, 180], Operations: ['30*6=180'] Exploring Operation: 98+68=166, Resulting Numbers: [180, 166] Generated Node #3: [180, 166] from Operation: 98+68=166 Current State: 14:[180, 166], Operations: ['30*6=180', '98+68=166'] Exploring Operation: 180-166=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[30, 98, 68, 6], Operations: [] Exploring Operation: 98-68=30, Resulting Numbers: [30, 6, 30] Generated Node #0,0: 14:[30, 6, 30] Operation: 98-68=30 Moving to Node #0,0 Current State: 14:[30, 6, 30], Operations: ['98-68=30'] Exploring Operation: 30/30=1, Resulting Numbers: [6, 1] Generated Node #0,0,0: 14:[6, 1] Operation: 30/30=1 Moving to Node #0,0,0 Current State: 14:[6, 1], Operations: ['98-68=30', '30/30=1'] Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,14 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 84, 89, 1, 36 ]
32
[ "89-84=5", "1+36=37", "37-5=32" ]
Current State: 32:[84, 89, 1, 36], Operations: [] Exploring Operation: 89-84=5, Resulting Numbers: [1, 36, 5] Generated Node #2: [1, 36, 5] from Operation: 89-84=5 Current State: 32:[1, 36, 5], Operations: ['89-84=5'] Exploring Operation: 1+36=37, Resulting Numbers: [5, 37] Generated Node #3: [5, 37] from Operation: 1+36=37 Current State: 32:[5, 37], Operations: ['89-84=5', '1+36=37'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[84, 89, 1, 36], Operations: [] Exploring Operation: 89-84=5, Resulting Numbers: [1, 36, 5] Generated Node #0,0: 32:[1, 36, 5] Operation: 89-84=5 Exploring Operation: 89-36=53, Resulting Numbers: [84, 1, 53] Generated Node #0,1: 32:[84, 1, 53] Operation: 89-36=53 Exploring Operation: 84-36=48, Resulting Numbers: [89, 1, 48] Generated Node #0,2: 32:[89, 1, 48] Operation: 84-36=48 Moving to Node #0,0 Current State: 32:[1, 36, 5], Operations: ['89-84=5'] Exploring Operation: 36-1=35, Resulting Numbers: [5, 35] Generated Node #0,0,0: 32:[5, 35] Operation: 36-1=35 Exploring Operation: 5-1=4, Resulting Numbers: [36, 4] Generated Node #0,0,1: 32:[36, 4] Operation: 5-1=4 Exploring Operation: 36-5=31, Resulting Numbers: [1, 31] Generated Node #0,0,2: 32:[1, 31] Operation: 36-5=31 Moving to Node #0,1 Current State: 32:[84, 1, 53], Operations: ['89-36=53'] Exploring Operation: 53-1=52, Resulting Numbers: [84, 52] Generated Node #0,1,0: 32:[84, 52] Operation: 53-1=52 Exploring Operation: 84-53=31, Resulting Numbers: [1, 31] Generated Node #0,1,1: 32:[1, 31] Operation: 84-53=31 Exploring Operation: 84-1=83, Resulting Numbers: [53, 83] Generated Node #0,1,2: 32:[53, 83] Operation: 84-1=83 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 32:[1, 31], Operations: ['89-36=53', '84-53=31'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[84, 89, 1, 36], Operations: [] Exploring Operation: 89-36=53, Resulting Numbers: [84, 1, 53] Generated Node #0,1: 32:[84, 1, 53] Operation: 89-36=53 Moving to Node #0,1 Current State: 32:[84, 1, 53], Operations: ['89-36=53'] Exploring Operation: 84-53=31, Resulting Numbers: [1, 31] Generated Node #0,1,1: 32:[1, 31] Operation: 84-53=31 Moving to Node #0,1,1 Current State: 32:[1, 31], Operations: ['89-36=53', '84-53=31'] Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 78, 51, 17, 35 ]
79
[ "78-51=27", "17+35=52", "27+52=79" ]
Current State: 79:[78, 51, 17, 35], Operations: [] Exploring Operation: 78-51=27, Resulting Numbers: [17, 35, 27] Generated Node #2: [17, 35, 27] from Operation: 78-51=27 Current State: 79:[17, 35, 27], Operations: ['78-51=27'] Exploring Operation: 17+35=52, Resulting Numbers: [27, 52] Generated Node #3: [27, 52] from Operation: 17+35=52 Current State: 79:[27, 52], Operations: ['78-51=27', '17+35=52'] Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[78, 51, 17, 35], Operations: [] Exploring Operation: 51+17=68, Resulting Numbers: [78, 35, 68] Generated Node #0,0: 79:[78, 35, 68] Operation: 51+17=68 Exploring Operation: 51+35=86, Resulting Numbers: [78, 17, 86] Generated Node #0,1: 79:[78, 17, 86] Operation: 51+35=86 Exploring Operation: 17+35=52, Resulting Numbers: [78, 51, 52] Generated Node #0,2: 79:[78, 51, 52] Operation: 17+35=52 Moving to Node #0,0 Current State: 79:[78, 35, 68], Operations: ['51+17=68'] Exploring Operation: 78-35=43, Resulting Numbers: [68, 43] Generated Node #0,0,0: 79:[68, 43] Operation: 78-35=43 Exploring Operation: 35+68=103, Resulting Numbers: [78, 103] Generated Node #0,0,1: 79:[78, 103] Operation: 35+68=103 Exploring Operation: 78+35=113, Resulting Numbers: [68, 113] Generated Node #0,0,2: 79:[68, 113] Operation: 78+35=113 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[78, 103], Operations: ['51+17=68', '35+68=103'] Exploring Operation: 78*103=8034, Resulting Numbers: [8034] 8034,79 unequal: No Solution Exploring Operation: 103-78=25, Resulting Numbers: [25] 25,79 unequal: No Solution Exploring Operation: 78+103=181, Resulting Numbers: [181] 181,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[68, 113], Operations: ['51+17=68', '78+35=113'] Exploring Operation: 68*113=7684, Resulting Numbers: [7684] 7684,79 unequal: No Solution Exploring Operation: 68+113=181, Resulting Numbers: [181] 181,79 unequal: No Solution Exploring Operation: 113-68=45, Resulting Numbers: [45] 45,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:[68, 43], Operations: ['51+17=68', '78-35=43'] Exploring Operation: 68+43=111, Resulting Numbers: [111] 111,79 unequal: No Solution Exploring Operation: 68*43=2924, Resulting Numbers: [2924] 2924,79 unequal: No Solution Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,79 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: 79:[78, 51, 52], Operations: ['17+35=52'] Exploring Operation: 78-51=27, Resulting Numbers: [52, 27] Generated Node #0,2,0: 79:[52, 27] Operation: 78-51=27 Exploring Operation: 51+52=103, Resulting Numbers: [78, 103] Generated Node #0,2,1: 79:[78, 103] Operation: 51+52=103 Exploring Operation: 78+51=129, Resulting Numbers: [52, 129] Generated Node #0,2,2: 79:[52, 129] Operation: 78+51=129 Moving to Node #0,1 Current State: 79:[78, 17, 86], Operations: ['51+35=86'] Exploring Operation: 78+17=95, Resulting Numbers: [86, 95] Generated Node #0,1,0: 79:[86, 95] Operation: 78+17=95 Exploring Operation: 78-17=61, Resulting Numbers: [86, 61] Generated Node #0,1,1: 79:[86, 61] Operation: 78-17=61 Exploring Operation: 86-17=69, Resulting Numbers: [78, 69] Generated Node #0,1,2: 79:[78, 69] Operation: 86-17=69 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 79:[78, 69], Operations: ['51+35=86', '86-17=69'] Exploring Operation: 78-69=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 78*69=5382, Resulting Numbers: [5382] 5382,79 unequal: No Solution Exploring Operation: 78+69=147, Resulting Numbers: [147] 147,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[86, 95], Operations: ['51+35=86', '78+17=95'] Exploring Operation: 95-86=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 86*95=8170, Resulting Numbers: [8170] 8170,79 unequal: No Solution Exploring Operation: 86+95=181, Resulting Numbers: [181] 181,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 79:[86, 61], Operations: ['51+35=86', '78-17=61'] Exploring Operation: 86*61=5246, Resulting Numbers: [5246] 5246,79 unequal: No Solution Exploring Operation: 86+61=147, Resulting Numbers: [147] 147,79 unequal: No Solution Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,79 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: 79:[78, 103], Operations: ['17+35=52', '51+52=103'] Exploring Operation: 78+103=181, Resulting Numbers: [181] 181,79 unequal: No Solution Exploring Operation: 78*103=8034, Resulting Numbers: [8034] 8034,79 unequal: No Solution Exploring Operation: 103-78=25, Resulting Numbers: [25] 25,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[52, 129], Operations: ['17+35=52', '78+51=129'] Exploring Operation: 52*129=6708, Resulting Numbers: [6708] 6708,79 unequal: No Solution Exploring Operation: 52+129=181, Resulting Numbers: [181] 181,79 unequal: No Solution Exploring Operation: 129-52=77, Resulting Numbers: [77] 77,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[52, 27], Operations: ['17+35=52', '78-51=27'] Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[78, 51, 17, 35], Operations: [] Exploring Operation: 17+35=52, Resulting Numbers: [78, 51, 52] Generated Node #0,2: 79:[78, 51, 52] Operation: 17+35=52 Moving to Node #0,2 Current State: 79:[78, 51, 52], Operations: ['17+35=52'] Exploring Operation: 78-51=27, Resulting Numbers: [52, 27] Generated Node #0,2,0: 79:[52, 27] Operation: 78-51=27 Moving to Node #0,2,0 Current State: 79:[52, 27], Operations: ['17+35=52', '78-51=27'] Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
0.96441
hs_3
mult_heuristic
[ 37, 65, 18, 87 ]
33
[ "37+65=102", "87-18=69", "102-69=33" ]
Current State: 33:[37, 65, 18, 87], Operations: [] Exploring Operation: 37+65=102, Resulting Numbers: [18, 87, 102] Generated Node #2: [18, 87, 102] from Operation: 37+65=102 Current State: 33:[18, 87, 102], Operations: ['37+65=102'] Exploring Operation: 87-18=69, Resulting Numbers: [102, 69] Generated Node #3: [102, 69] from Operation: 87-18=69 Current State: 33:[102, 69], Operations: ['37+65=102', '87-18=69'] Exploring Operation: 102-69=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[37, 65, 18, 87], Operations: [] Exploring Operation: 87-65=22, Resulting Numbers: [37, 18, 22] Generated Node #0,0: 33:[37, 18, 22] Operation: 87-65=22 Exploring Operation: 65-37=28, Resulting Numbers: [18, 87, 28] Generated Node #0,1: 33:[18, 87, 28] Operation: 65-37=28 Exploring Operation: 87-37=50, Resulting Numbers: [65, 18, 50] Generated Node #0,2: 33:[65, 18, 50] Operation: 87-37=50 Exploring Operation: 87-18=69, Resulting Numbers: [37, 65, 69] Generated Node #0,3: 33:[37, 65, 69] Operation: 87-18=69 Exploring Operation: 65-18=47, Resulting Numbers: [37, 87, 47] Generated Node #0,4: 33:[37, 87, 47] Operation: 65-18=47 Moving to Node #0,0 Current State: 33:[37, 18, 22], Operations: ['87-65=22'] Exploring Operation: 22-18=4, Resulting Numbers: [37, 4] Generated Node #0,0,0: 33:[37, 4] Operation: 22-18=4 Exploring Operation: 37-18=19, Resulting Numbers: [22, 19] Generated Node #0,0,1: 33:[22, 19] Operation: 37-18=19 Exploring Operation: 37+18=55, Resulting Numbers: [22, 55] Generated Node #0,0,2: 33:[22, 55] Operation: 37+18=55 Exploring Operation: 18+22=40, Resulting Numbers: [37, 40] Generated Node #0,0,3: 33:[37, 40] Operation: 18+22=40 Exploring Operation: 37-22=15, Resulting Numbers: [18, 15] Generated Node #0,0,4: 33:[18, 15] Operation: 37-22=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[37, 4], Operations: ['87-65=22', '22-18=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,33 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[37, 65, 18, 87], Operations: [] Exploring Operation: 87-65=22, Resulting Numbers: [37, 18, 22] Generated Node #0,0: 33:[37, 18, 22] Operation: 87-65=22 Moving to Node #0,0 Current State: 33:[37, 18, 22], Operations: ['87-65=22'] Exploring Operation: 22-18=4, Resulting Numbers: [37, 4] Generated Node #0,0,0: 33:[37, 4] Operation: 22-18=4 Moving to Node #0,0,0 Current State: 33:[37, 4], Operations: ['87-65=22', '22-18=4'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 78, 45, 50, 26 ]
98
[ "78/26=3", "45+50=95", "3+95=98" ]
Current State: 98:[78, 45, 50, 26], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [45, 50, 3] Generated Node #2: [45, 50, 3] from Operation: 78/26=3 Current State: 98:[45, 50, 3], Operations: ['78/26=3'] Exploring Operation: 45+50=95, Resulting Numbers: [3, 95] Generated Node #3: [3, 95] from Operation: 45+50=95 Current State: 98:[3, 95], Operations: ['78/26=3', '45+50=95'] Exploring Operation: 3+95=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[78, 45, 50, 26], Operations: [] Exploring Operation: 78+26=104, Resulting Numbers: [45, 50, 104] Generated Node #0,0: 98:[45, 50, 104] Operation: 78+26=104 Exploring Operation: 78-26=52, Resulting Numbers: [45, 50, 52] Generated Node #0,1: 98:[45, 50, 52] Operation: 78-26=52 Exploring Operation: 78/26=3, Resulting Numbers: [45, 50, 3] Generated Node #0,2: 98:[45, 50, 3] Operation: 78/26=3 Moving to Node #0,2 Current State: 98:[45, 50, 3], Operations: ['78/26=3'] Exploring Operation: 45+3=48, Resulting Numbers: [50, 48] Generated Node #0,2,0: 98:[50, 48] Operation: 45+3=48 Exploring Operation: 50-45=5, Resulting Numbers: [3, 5] Generated Node #0,2,1: 98:[3, 5] Operation: 50-45=5 Exploring Operation: 45/3=15, Resulting Numbers: [50, 15] Generated Node #0,2,2: 98:[50, 15] Operation: 45/3=15 Moving to Node #0,1 Current State: 98:[45, 50, 52], Operations: ['78-26=52'] Exploring Operation: 52-45=7, Resulting Numbers: [50, 7] Generated Node #0,1,0: 98:[50, 7] Operation: 52-45=7 Exploring Operation: 45+52=97, Resulting Numbers: [50, 97] Generated Node #0,1,1: 98:[50, 97] Operation: 45+52=97 Exploring Operation: 52-50=2, Resulting Numbers: [45, 2] Generated Node #0,1,2: 98:[45, 2] Operation: 52-50=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[50, 7], Operations: ['78-26=52', '52-45=7'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 50+7=57, Resulting Numbers: [57] 57,98 unequal: No Solution Exploring Operation: 50*7=350, Resulting Numbers: [350] 350,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:[50, 97], Operations: ['78-26=52', '45+52=97'] Exploring Operation: 50+97=147, Resulting Numbers: [147] 147,98 unequal: No Solution Exploring Operation: 97-50=47, Resulting Numbers: [47] 47,98 unequal: No Solution Exploring Operation: 50*97=4850, Resulting Numbers: [4850] 4850,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,2 Current State: 98:[45, 2], Operations: ['78-26=52', '52-50=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,98 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,98 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,98 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: 98:[45, 50, 104], Operations: ['78+26=104'] Exploring Operation: 45+50=95, Resulting Numbers: [104, 95] Generated Node #0,0,0: 98:[104, 95] Operation: 45+50=95 Exploring Operation: 50-45=5, Resulting Numbers: [104, 5] Generated Node #0,0,1: 98:[104, 5] Operation: 50-45=5 Exploring Operation: 104-50=54, Resulting Numbers: [45, 54] Generated Node #0,0,2: 98:[45, 54] Operation: 104-50=54 Moving to Node #0,2,0 Current State: 98:[50, 48], Operations: ['78/26=3', '45+3=48'] Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[78, 45, 50, 26], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [45, 50, 3] Generated Node #0,2: 98:[45, 50, 3] Operation: 78/26=3 Moving to Node #0,2 Current State: 98:[45, 50, 3], Operations: ['78/26=3'] Exploring Operation: 45+3=48, Resulting Numbers: [50, 48] Generated Node #0,2,0: 98:[50, 48] Operation: 45+3=48 Moving to Node #0,2,0 Current State: 98:[50, 48], Operations: ['78/26=3', '45+3=48'] Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 95, 66, 63, 81 ]
42
[ "95-81=14", "66-63=3", "14*3=42" ]
Current State: 42:[95, 66, 63, 81], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [66, 63, 14] Generated Node #2: [66, 63, 14] from Operation: 95-81=14 Current State: 42:[66, 63, 14], Operations: ['95-81=14'] Exploring Operation: 66-63=3, Resulting Numbers: [14, 3] Generated Node #3: [14, 3] from Operation: 66-63=3 Current State: 42:[14, 3], Operations: ['95-81=14', '66-63=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[95, 66, 63, 81], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [66, 63, 14] Generated Node #0,0: 42:[66, 63, 14] Operation: 95-81=14 Exploring Operation: 81-66=15, Resulting Numbers: [95, 63, 15] Generated Node #0,1: 42:[95, 63, 15] Operation: 81-66=15 Exploring Operation: 95-63=32, Resulting Numbers: [66, 81, 32] Generated Node #0,2: 42:[66, 81, 32] Operation: 95-63=32 Exploring Operation: 95-66=29, Resulting Numbers: [63, 81, 29] Generated Node #0,3: 42:[63, 81, 29] Operation: 95-66=29 Moving to Node #0,0 Current State: 42:[66, 63, 14], Operations: ['95-81=14'] Exploring Operation: 66+14=80, Resulting Numbers: [63, 80] Generated Node #0,0,0: 42:[63, 80] Operation: 66+14=80 Exploring Operation: 66-14=52, Resulting Numbers: [63, 52] Generated Node #0,0,1: 42:[63, 52] Operation: 66-14=52 Exploring Operation: 66-63=3, Resulting Numbers: [14, 3] Generated Node #0,0,2: 42:[14, 3] Operation: 66-63=3 Exploring Operation: 63-14=49, Resulting Numbers: [66, 49] Generated Node #0,0,3: 42:[66, 49] Operation: 63-14=49 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 42:[14, 3], Operations: ['95-81=14', '66-63=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[95, 66, 63, 81], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [66, 63, 14] Generated Node #0,0: 42:[66, 63, 14] Operation: 95-81=14 Moving to Node #0,0 Current State: 42:[66, 63, 14], Operations: ['95-81=14'] Exploring Operation: 66-63=3, Resulting Numbers: [14, 3] Generated Node #0,0,2: 42:[14, 3] Operation: 66-63=3 Moving to Node #0,0,2 Current State: 42:[14, 3], Operations: ['95-81=14', '66-63=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 36, 12, 4, 37 ]
70
[ "36+37=73", "12/4=3", "73-3=70" ]
Current State: 70:[36, 12, 4, 37], Operations: [] Exploring Operation: 36+37=73, Resulting Numbers: [12, 4, 73] Generated Node #2: [12, 4, 73] from Operation: 36+37=73 Current State: 70:[12, 4, 73], Operations: ['36+37=73'] Exploring Operation: 12/4=3, Resulting Numbers: [73, 3] Generated Node #3: [73, 3] from Operation: 12/4=3 Current State: 70:[73, 3], Operations: ['36+37=73', '12/4=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[36, 12, 4, 37], Operations: [] Exploring Operation: 36/12=3, Resulting Numbers: [4, 37, 3] Generated Node #0,0: 70:[4, 37, 3] Operation: 36/12=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[4, 37, 3], Operations: ['36/12=3'] Exploring Operation: 4+3=7, Resulting Numbers: [37, 7] Generated Node #0,0,0: 70:[37, 7] Operation: 4+3=7 Moving to Node #0,0,0 Current State: 70:[37, 7], Operations: ['36/12=3', '4+3=7'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,70 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
[ 2, 12, 32, 17 ]
42
[ "17-12=5", "2*5=10", "32+10=42" ]
Current State: 42:[2, 12, 32, 17], Operations: [] Exploring Operation: 17-12=5, Resulting Numbers: [2, 32, 5] Generated Node #2: [2, 32, 5] from Operation: 17-12=5 Current State: 42:[2, 32, 5], Operations: ['17-12=5'] Exploring Operation: 2*5=10, Resulting Numbers: [32, 10] Generated Node #3: [32, 10] from Operation: 2*5=10 Current State: 42:[32, 10], Operations: ['17-12=5', '2*5=10'] Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[2, 12, 32, 17], Operations: [] Exploring Operation: 32-17=15, Resulting Numbers: [2, 12, 15] Generated Node #0,0: 42:[2, 12, 15] Operation: 32-17=15 Exploring Operation: 12+32=44, Resulting Numbers: [2, 17, 44] Generated Node #0,1: 42:[2, 17, 44] Operation: 12+32=44 Exploring Operation: 32/2=16, Resulting Numbers: [12, 17, 16] Generated Node #0,2: 42:[12, 17, 16] Operation: 32/2=16 Exploring Operation: 32-12=20, Resulting Numbers: [2, 17, 20] Generated Node #0,3: 42:[2, 17, 20] Operation: 32-12=20 Moving to Node #0,0 Current State: 42:[2, 12, 15], Operations: ['32-17=15'] Exploring Operation: 2+12=14, Resulting Numbers: [15, 14] Generated Node #0,0,0: 42:[15, 14] Operation: 2+12=14 Exploring Operation: 12/2=6, Resulting Numbers: [15, 6] Generated Node #0,0,1: 42:[15, 6] Operation: 12/2=6 Exploring Operation: 15-12=3, Resulting Numbers: [2, 3] Generated Node #0,0,2: 42:[2, 3] Operation: 15-12=3 Exploring Operation: 15-2=13, Resulting Numbers: [12, 13] Generated Node #0,0,3: 42:[12, 13] Operation: 15-2=13 Moving to Node #0,3 Current State: 42:[2, 17, 20], Operations: ['32-12=20'] Exploring Operation: 2+17=19, Resulting Numbers: [20, 19] Generated Node #0,3,0: 42:[20, 19] Operation: 2+17=19 Exploring Operation: 17-2=15, Resulting Numbers: [20, 15] Generated Node #0,3,1: 42:[20, 15] Operation: 17-2=15 Exploring Operation: 20-17=3, Resulting Numbers: [2, 3] Generated Node #0,3,2: 42:[2, 3] Operation: 20-17=3 Exploring Operation: 2+20=22, Resulting Numbers: [17, 22] Generated Node #0,3,3: 42:[17, 22] Operation: 2+20=22 Moving to Node #0,1 Current State: 42:[2, 17, 44], Operations: ['12+32=44'] Exploring Operation: 44-2=42, Resulting Numbers: [17, 42] Generated Node #0,1,0: 42:[17, 42] Operation: 44-2=42 Exploring Operation: 17-2=15, Resulting Numbers: [44, 15] Generated Node #0,1,1: 42:[44, 15] Operation: 17-2=15 Exploring Operation: 44/2=22, Resulting Numbers: [17, 22] Generated Node #0,1,2: 42:[17, 22] Operation: 44/2=22 Exploring Operation: 2+17=19, Resulting Numbers: [44, 19] Generated Node #0,1,3: 42:[44, 19] Operation: 2+17=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[17, 42], Operations: ['12+32=44', '44-2=42'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,42 unequal: No Solution Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,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:[44, 15], Operations: ['12+32=44', '17-2=15'] Exploring Operation: 44*15=660, Resulting Numbers: [660] 660,42 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,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:[17, 22], Operations: ['12+32=44', '44/2=22'] Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,42 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,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:[44, 19], Operations: ['12+32=44', '2+17=19'] Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 44+19=63, Resulting Numbers: [63] 63,42 unequal: No Solution Exploring Operation: 44*19=836, Resulting Numbers: [836] 836,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:[12, 17, 16], Operations: ['32/2=16'] Exploring Operation: 17-12=5, Resulting Numbers: [16, 5] Generated Node #0,2,0: 42:[16, 5] Operation: 17-12=5 Exploring Operation: 12+17=29, Resulting Numbers: [16, 29] Generated Node #0,2,1: 42:[16, 29] Operation: 12+17=29 Exploring Operation: 16-12=4, Resulting Numbers: [17, 4] Generated Node #0,2,2: 42:[17, 4] Operation: 16-12=4 Exploring Operation: 17-16=1, Resulting Numbers: [12, 1] Generated Node #0,2,3: 42:[12, 1] Operation: 17-16=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[16, 5], Operations: ['32/2=16', '17-12=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 42:[12, 1], Operations: ['32/2=16', '17-16=1'] Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,42 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[17, 4], Operations: ['32/2=16', '16-12=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,42 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[16, 29], Operations: ['32/2=16', '12+17=29'] Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,42 unequal: No Solution Exploring Operation: 16*29=464, Resulting Numbers: [464] 464,42 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 42:[2, 3], Operations: ['32-17=15', '15-12=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[2, 3], Operations: ['32-12=20', '20-17=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[15, 6], Operations: ['32-17=15', '12/2=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[15, 14], Operations: ['32-17=15', '2+12=14'] Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,42 unequal: No Solution Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[20, 15], Operations: ['32-12=20', '17-2=15'] Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 20*15=300, Resulting Numbers: [300] 300,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[12, 13], Operations: ['32-17=15', '15-2=13'] Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,42 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,42 unequal: No Solution Moving to Node #0,3,0 Current State: 42:[20, 19], Operations: ['32-12=20', '2+17=19'] Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,42 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,42 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[17, 22], Operations: ['32-12=20', '2+20=22'] Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,42 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,42 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 26, 33, 90, 63 ]
33
[ "90-26=64", "64-63=1", "33*1=33" ]
Current State: 33:[26, 33, 90, 63], Operations: [] Exploring Operation: 90-26=64, Resulting Numbers: [33, 63, 64] Generated Node #2: [33, 63, 64] from Operation: 90-26=64 Current State: 33:[33, 63, 64], Operations: ['90-26=64'] Exploring Operation: 64-63=1, Resulting Numbers: [33, 1] Generated Node #3: [33, 1] from Operation: 64-63=1 Current State: 33:[33, 1], Operations: ['90-26=64', '64-63=1'] Exploring Operation: 33*1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[26, 33, 90, 63], Operations: [] Exploring Operation: 90-33=57, Resulting Numbers: [26, 63, 57] Generated Node #0,0: 33:[26, 63, 57] Operation: 90-33=57 Exploring Operation: 90-63=27, Resulting Numbers: [26, 33, 27] Generated Node #0,1: 33:[26, 33, 27] Operation: 90-63=27 Exploring Operation: 63-26=37, Resulting Numbers: [33, 90, 37] Generated Node #0,2: 33:[33, 90, 37] Operation: 63-26=37 Exploring Operation: 90-26=64, Resulting Numbers: [33, 63, 64] Generated Node #0,3: 33:[33, 63, 64] Operation: 90-26=64 Exploring Operation: 63-33=30, Resulting Numbers: [26, 90, 30] Generated Node #0,4: 33:[26, 90, 30] Operation: 63-33=30 Moving to Node #0,1 Current State: 33:[26, 33, 27], Operations: ['90-63=27'] Exploring Operation: 33-27=6, Resulting Numbers: [26, 6] Generated Node #0,1,0: 33:[26, 6] Operation: 33-27=6 Exploring Operation: 33-26=7, Resulting Numbers: [27, 7] Generated Node #0,1,1: 33:[27, 7] Operation: 33-26=7 Exploring Operation: 26+27=53, Resulting Numbers: [33, 53] Generated Node #0,1,2: 33:[33, 53] Operation: 26+27=53 Exploring Operation: 27-26=1, Resulting Numbers: [33, 1] Generated Node #0,1,3: 33:[33, 1] Operation: 27-26=1 Exploring Operation: 26+33=59, Resulting Numbers: [27, 59] Generated Node #0,1,4: 33:[27, 59] Operation: 26+33=59 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 33:[33, 1], Operations: ['90-63=27', '27-26=1'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[26, 33, 90, 63], Operations: [] Exploring Operation: 90-63=27, Resulting Numbers: [26, 33, 27] Generated Node #0,1: 33:[26, 33, 27] Operation: 90-63=27 Moving to Node #0,1 Current State: 33:[26, 33, 27], Operations: ['90-63=27'] Exploring Operation: 27-26=1, Resulting Numbers: [33, 1] Generated Node #0,1,3: 33:[33, 1] Operation: 27-26=1 Moving to Node #0,1,3 Current State: 33:[33, 1], Operations: ['90-63=27', '27-26=1'] Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 3, 3, 80, 39 ]
39
[ "3-3=0", "80*0=0", "39+0=39" ]
Current State: 39:[3, 3, 80, 39], Operations: [] Exploring Operation: 3-3=0, Resulting Numbers: [80, 39, 0] Generated Node #2: [80, 39, 0] from Operation: 3-3=0 Current State: 39:[80, 39, 0], Operations: ['3-3=0'] Exploring Operation: 80*0=0, Resulting Numbers: [39, 0] Generated Node #3: [39, 0] from Operation: 80*0=0 Current State: 39:[39, 0], Operations: ['3-3=0', '80*0=0'] Exploring Operation: 39+0=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[3, 3, 80, 39], Operations: [] Exploring Operation: 80-39=41, Resulting Numbers: [3, 3, 41] Generated Node #0,0: 39:[3, 3, 41] Operation: 80-39=41 Exploring Operation: 80-3=77, Resulting Numbers: [3, 39, 77] Generated Node #0,1: 39:[3, 39, 77] Operation: 80-3=77 Exploring Operation: 80-3=77, Resulting Numbers: [3, 39, 77] Generated Node #0,2: 39:[3, 39, 77] Operation: 80-3=77 Moving to Node #0,0 Current State: 39:[3, 3, 41], Operations: ['80-39=41'] Exploring Operation: 41-3=38, Resulting Numbers: [3, 38] Generated Node #0,0,0: 39:[3, 38] Operation: 41-3=38 Exploring Operation: 41-3=38, Resulting Numbers: [3, 38] Generated Node #0,0,1: 39:[3, 38] Operation: 41-3=38 Exploring Operation: 3/3=1, Resulting Numbers: [41, 1] Generated Node #0,0,2: 39:[41, 1] Operation: 3/3=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[3, 38], Operations: ['80-39=41', '41-3=38'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,39 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[3, 38], Operations: ['80-39=41', '41-3=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,39 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[41, 1], Operations: ['80-39=41', '3/3=1'] Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,39 unequal: No Solution Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,39 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 39:[3, 39, 77], Operations: ['80-3=77'] Exploring Operation: 77-3=74, Resulting Numbers: [39, 74] Generated Node #0,1,0: 39:[39, 74] Operation: 77-3=74 Exploring Operation: 77-39=38, Resulting Numbers: [3, 38] Generated Node #0,1,1: 39:[3, 38] Operation: 77-39=38 Exploring Operation: 39/3=13, Resulting Numbers: [77, 13] Generated Node #0,1,2: 39:[77, 13] Operation: 39/3=13 Moving to Node #0,2 Current State: 39:[3, 39, 77], Operations: ['80-3=77'] Exploring Operation: 39/3=13, Resulting Numbers: [77, 13] Generated Node #0,2,0: 39:[77, 13] Operation: 39/3=13 Exploring Operation: 77-3=74, Resulting Numbers: [39, 74] Generated Node #0,2,1: 39:[39, 74] Operation: 77-3=74 Exploring Operation: 77-39=38, Resulting Numbers: [3, 38] Generated Node #0,2,2: 39:[3, 38] Operation: 77-39=38 Moving to Node #0,1,1 Current State: 39:[3, 38], Operations: ['80-3=77', '77-39=38'] Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,39 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,39 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[3, 38], Operations: ['80-3=77', '77-39=38'] Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,39 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,39 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[39, 74], Operations: ['80-3=77', '77-3=74'] Exploring Operation: 39*74=2886, Resulting Numbers: [2886] 2886,39 unequal: No Solution Exploring Operation: 39+74=113, Resulting Numbers: [113] 113,39 unequal: No Solution Exploring Operation: 74-39=35, Resulting Numbers: [35] 35,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[39, 74], Operations: ['80-3=77', '77-3=74'] Exploring Operation: 74-39=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 39*74=2886, Resulting Numbers: [2886] 2886,39 unequal: No Solution Exploring Operation: 39+74=113, Resulting Numbers: [113] 113,39 unequal: No Solution Moving to Node #0,2,0 Current State: 39:[77, 13], Operations: ['80-3=77', '39/3=13'] Exploring Operation: 77+13=90, Resulting Numbers: [90] 90,39 unequal: No Solution Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 77*13=1001, Resulting Numbers: [1001] 1001,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[77, 13], Operations: ['80-3=77', '39/3=13'] Exploring Operation: 77*13=1001, Resulting Numbers: [1001] 1001,39 unequal: No Solution Exploring Operation: 77+13=90, Resulting Numbers: [90] 90,39 unequal: No Solution Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,39 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 50, 5, 69, 41 ]
83
[ "50+5=55", "69-41=28", "55+28=83" ]
Current State: 83:[50, 5, 69, 41], Operations: [] Exploring Operation: 50+5=55, Resulting Numbers: [69, 41, 55] Generated Node #2: [69, 41, 55] from Operation: 50+5=55 Current State: 83:[69, 41, 55], Operations: ['50+5=55'] Exploring Operation: 69-41=28, Resulting Numbers: [55, 28] Generated Node #3: [55, 28] from Operation: 69-41=28 Current State: 83:[55, 28], Operations: ['50+5=55', '69-41=28'] Exploring Operation: 55+28=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[50, 5, 69, 41], Operations: [] Exploring Operation: 5+41=46, Resulting Numbers: [50, 69, 46] Generated Node #0,0: 83:[50, 69, 46] Operation: 5+41=46 Exploring Operation: 50-5=45, Resulting Numbers: [69, 41, 45] Generated Node #0,1: 83:[69, 41, 45] Operation: 50-5=45 Exploring Operation: 69-5=64, Resulting Numbers: [50, 41, 64] Generated Node #0,2: 83:[50, 41, 64] Operation: 69-5=64 Exploring Operation: 50+5=55, Resulting Numbers: [69, 41, 55] Generated Node #0,3: 83:[69, 41, 55] Operation: 50+5=55 Exploring Operation: 5+69=74, Resulting Numbers: [50, 41, 74] Generated Node #0,4: 83:[50, 41, 74] Operation: 5+69=74 Moving to Node #0,0 Current State: 83:[50, 69, 46], Operations: ['5+41=46'] Exploring Operation: 69-46=23, Resulting Numbers: [50, 23] Generated Node #0,0,0: 83:[50, 23] Operation: 69-46=23 Exploring Operation: 69+46=115, Resulting Numbers: [50, 115] Generated Node #0,0,1: 83:[50, 115] Operation: 69+46=115 Exploring Operation: 50+46=96, Resulting Numbers: [69, 96] Generated Node #0,0,2: 83:[69, 96] Operation: 50+46=96 Exploring Operation: 50+69=119, Resulting Numbers: [46, 119] Generated Node #0,0,3: 83:[46, 119] Operation: 50+69=119 Exploring Operation: 50-46=4, Resulting Numbers: [69, 4] Generated Node #0,0,4: 83:[69, 4] Operation: 50-46=4 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[69, 96], Operations: ['5+41=46', '50+46=96'] Exploring Operation: 96-69=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 69*96=6624, Resulting Numbers: [6624] 6624,83 unequal: No Solution Exploring Operation: 69+96=165, Resulting Numbers: [165] 165,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[50, 115], Operations: ['5+41=46', '69+46=115'] Exploring Operation: 50+115=165, Resulting Numbers: [165] 165,83 unequal: No Solution Exploring Operation: 115-50=65, Resulting Numbers: [65] 65,83 unequal: No Solution Exploring Operation: 50*115=5750, Resulting Numbers: [5750] 5750,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[46, 119], Operations: ['5+41=46', '50+69=119'] Exploring Operation: 46*119=5474, Resulting Numbers: [5474] 5474,83 unequal: No Solution Exploring Operation: 46+119=165, Resulting Numbers: [165] 165,83 unequal: No Solution Exploring Operation: 119-46=73, Resulting Numbers: [73] 73,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[50, 23], Operations: ['5+41=46', '69-46=23'] Exploring Operation: 50+23=73, Resulting Numbers: [73] 73,83 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 50*23=1150, Resulting Numbers: [1150] 1150,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 83:[69, 4], Operations: ['5+41=46', '50-46=4'] Exploring Operation: 69*4=276, Resulting Numbers: [276] 276,83 unequal: No Solution Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,83 unequal: No Solution Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,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:[50, 41, 74], Operations: ['5+69=74'] Exploring Operation: 50-41=9, Resulting Numbers: [74, 9] Generated Node #0,4,0: 83:[74, 9] Operation: 50-41=9 Exploring Operation: 74-41=33, Resulting Numbers: [50, 33] Generated Node #0,4,1: 83:[50, 33] Operation: 74-41=33 Exploring Operation: 50+41=91, Resulting Numbers: [74, 91] Generated Node #0,4,2: 83:[74, 91] Operation: 50+41=91 Exploring Operation: 41+74=115, Resulting Numbers: [50, 115] Generated Node #0,4,3: 83:[50, 115] Operation: 41+74=115 Exploring Operation: 50+74=124, Resulting Numbers: [41, 124] Generated Node #0,4,4: 83:[41, 124] Operation: 50+74=124 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 83:[74, 91], Operations: ['5+69=74', '50+41=91'] Exploring Operation: 74+91=165, Resulting Numbers: [165] 165,83 unequal: No Solution Exploring Operation: 74*91=6734, Resulting Numbers: [6734] 6734,83 unequal: No Solution Exploring Operation: 91-74=17, Resulting Numbers: [17] 17,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,3 Current State: 83:[50, 115], Operations: ['5+69=74', '41+74=115'] Exploring Operation: 115-50=65, Resulting Numbers: [65] 65,83 unequal: No Solution Exploring Operation: 50*115=5750, Resulting Numbers: [5750] 5750,83 unequal: No Solution Exploring Operation: 50+115=165, Resulting Numbers: [165] 165,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 83:[74, 9], Operations: ['5+69=74', '50-41=9'] Exploring Operation: 74*9=666, Resulting Numbers: [666] 666,83 unequal: No Solution Exploring Operation: 74+9=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[50, 5, 69, 41], Operations: [] Exploring Operation: 5+69=74, Resulting Numbers: [50, 41, 74] Generated Node #0,4: 83:[50, 41, 74] Operation: 5+69=74 Moving to Node #0,4 Current State: 83:[50, 41, 74], Operations: ['5+69=74'] Exploring Operation: 50-41=9, Resulting Numbers: [74, 9] Generated Node #0,4,0: 83:[74, 9] Operation: 50-41=9 Moving to Node #0,4,0 Current State: 83:[74, 9], Operations: ['5+69=74', '50-41=9'] Exploring Operation: 74+9=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 7, 5, 16, 55 ]
35
[ "7*55=385", "16-5=11", "385/11=35" ]
Current State: 35:[7, 5, 16, 55], Operations: [] Exploring Operation: 7*55=385, Resulting Numbers: [5, 16, 385] Generated Node #2: [5, 16, 385] from Operation: 7*55=385 Current State: 35:[5, 16, 385], Operations: ['7*55=385'] Exploring Operation: 16-5=11, Resulting Numbers: [385, 11] Generated Node #3: [385, 11] from Operation: 16-5=11 Current State: 35:[385, 11], Operations: ['7*55=385', '16-5=11'] Exploring Operation: 385/11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[7, 5, 16, 55], Operations: [] Exploring Operation: 16-7=9, Resulting Numbers: [5, 55, 9] Generated Node #0,0: 35:[5, 55, 9] Operation: 16-7=9 Exploring Operation: 55/5=11, Resulting Numbers: [7, 16, 11] Generated Node #0,1: 35:[7, 16, 11] Operation: 55/5=11 Exploring Operation: 55-16=39, Resulting Numbers: [7, 5, 39] Generated Node #0,2: 35:[7, 5, 39] Operation: 55-16=39 Moving to Node #0,2 Current State: 35:[7, 5, 39], Operations: ['55-16=39'] Exploring Operation: 7*5=35, Resulting Numbers: [39, 35] Generated Node #0,2,0: 35:[39, 35] Operation: 7*5=35 Exploring Operation: 39-5=34, Resulting Numbers: [7, 34] Generated Node #0,2,1: 35:[7, 34] Operation: 39-5=34 Exploring Operation: 39-7=32, Resulting Numbers: [5, 32] Generated Node #0,2,2: 35:[5, 32] Operation: 39-7=32 Moving to Node #0,1 Current State: 35:[7, 16, 11], Operations: ['55/5=11'] Exploring Operation: 16-7=9, Resulting Numbers: [11, 9] Generated Node #0,1,0: 35:[11, 9] Operation: 16-7=9 Exploring Operation: 16-11=5, Resulting Numbers: [7, 5] Generated Node #0,1,1: 35:[7, 5] Operation: 16-11=5 Exploring Operation: 16+11=27, Resulting Numbers: [7, 27] Generated Node #0,1,2: 35:[7, 27] Operation: 16+11=27 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 35:[7, 5], Operations: ['55/5=11', '16-11=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[7, 5, 16, 55], Operations: [] Exploring Operation: 55/5=11, Resulting Numbers: [7, 16, 11] Generated Node #0,1: 35:[7, 16, 11] Operation: 55/5=11 Moving to Node #0,1 Current State: 35:[7, 16, 11], Operations: ['55/5=11'] Exploring Operation: 16-11=5, Resulting Numbers: [7, 5] Generated Node #0,1,1: 35:[7, 5] Operation: 16-11=5 Moving to Node #0,1,1 Current State: 35:[7, 5], Operations: ['55/5=11', '16-11=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 17, 62, 54, 9 ]
55
[ "62-54=8", "9*8=72", "72-17=55" ]
Current State: 55:[17, 62, 54, 9], Operations: [] Exploring Operation: 62-54=8, Resulting Numbers: [17, 9, 8] Generated Node #2: [17, 9, 8] from Operation: 62-54=8 Current State: 55:[17, 9, 8], Operations: ['62-54=8'] Exploring Operation: 9*8=72, Resulting Numbers: [17, 72] Generated Node #3: [17, 72] from Operation: 9*8=72 Current State: 55:[17, 72], Operations: ['62-54=8', '9*8=72'] Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[17, 62, 54, 9], Operations: [] Exploring Operation: 62-9=53, Resulting Numbers: [17, 54, 53] Generated Node #0,0: 55:[17, 54, 53] Operation: 62-9=53 Exploring Operation: 17-9=8, Resulting Numbers: [62, 54, 8] Generated Node #0,1: 55:[62, 54, 8] Operation: 17-9=8 Moving to Node #0,0 Current State: 55:[17, 54, 53], Operations: ['62-9=53'] Exploring Operation: 17+53=70, Resulting Numbers: [54, 70] Generated Node #0,0,0: 55:[54, 70] Operation: 17+53=70 Exploring Operation: 54-53=1, Resulting Numbers: [17, 1] Generated Node #0,0,1: 55:[17, 1] Operation: 54-53=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[17, 1], Operations: ['62-9=53', '54-53=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,55 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[54, 70], Operations: ['62-9=53', '17+53=70'] Exploring Operation: 54+70=124, Resulting Numbers: [124] 124,55 unequal: No Solution Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,55 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: 55:[62, 54, 8], Operations: ['17-9=8'] Exploring Operation: 62-8=54, Resulting Numbers: [54, 54] Generated Node #0,1,0: 55:[54, 54] Operation: 62-8=54 Exploring Operation: 62-54=8, Resulting Numbers: [8, 8] Generated Node #0,1,1: 55:[8, 8] Operation: 62-54=8 Moving to Node #0,1,0 Current State: 55:[54, 54], Operations: ['17-9=8', '62-8=54'] Exploring Operation: 54/54=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 54-54=0, Resulting Numbers: [0] 0,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[8, 8], Operations: ['17-9=8', '62-54=8'] Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,55 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 92, 19, 30, 32 ]
49
[ "92+19=111", "30+32=62", "111-62=49" ]
Current State: 49:[92, 19, 30, 32], Operations: [] Exploring Operation: 92+19=111, Resulting Numbers: [30, 32, 111] Generated Node #2: [30, 32, 111] from Operation: 92+19=111 Current State: 49:[30, 32, 111], Operations: ['92+19=111'] Exploring Operation: 30+32=62, Resulting Numbers: [111, 62] Generated Node #3: [111, 62] from Operation: 30+32=62 Current State: 49:[111, 62], Operations: ['92+19=111', '30+32=62'] Exploring Operation: 111-62=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[92, 19, 30, 32], Operations: [] Exploring Operation: 92-30=62, Resulting Numbers: [19, 32, 62] Generated Node #0,0: 49:[19, 32, 62] Operation: 92-30=62 Exploring Operation: 92-32=60, Resulting Numbers: [19, 30, 60] Generated Node #0,1: 49:[19, 30, 60] Operation: 92-32=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[19, 32, 62], Operations: ['92-30=62'] Exploring Operation: 32-19=13, Resulting Numbers: [62, 13] Generated Node #0,0,0: 49:[62, 13] Operation: 32-19=13 Exploring Operation: 19+32=51, Resulting Numbers: [62, 51] Generated Node #0,0,1: 49:[62, 51] Operation: 19+32=51 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[62, 51], Operations: ['92-30=62', '19+32=51'] Exploring Operation: 62+51=113, Resulting Numbers: [113] 113,49 unequal: No Solution Exploring Operation: 62-51=11, Resulting Numbers: [11] 11,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,0 Current State: 49:[62, 13], Operations: ['92-30=62', '32-19=13'] Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[92, 19, 30, 32], Operations: [] Exploring Operation: 92-30=62, Resulting Numbers: [19, 32, 62] Generated Node #0,0: 49:[19, 32, 62] Operation: 92-30=62 Moving to Node #0,0 Current State: 49:[19, 32, 62], Operations: ['92-30=62'] Exploring Operation: 32-19=13, Resulting Numbers: [62, 13] Generated Node #0,0,0: 49:[62, 13] Operation: 32-19=13 Moving to Node #0,0,0 Current State: 49:[62, 13], Operations: ['92-30=62', '32-19=13'] Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 90, 51, 3, 55 ]
26
[ "90/3=30", "55-51=4", "30-4=26" ]
Current State: 26:[90, 51, 3, 55], Operations: [] Exploring Operation: 90/3=30, Resulting Numbers: [51, 55, 30] Generated Node #2: [51, 55, 30] from Operation: 90/3=30 Current State: 26:[51, 55, 30], Operations: ['90/3=30'] Exploring Operation: 55-51=4, Resulting Numbers: [30, 4] Generated Node #3: [30, 4] from Operation: 55-51=4 Current State: 26:[30, 4], Operations: ['90/3=30', '55-51=4'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[90, 51, 3, 55], Operations: [] Exploring Operation: 90-51=39, Resulting Numbers: [3, 55, 39] Generated Node #0,0: 26:[3, 55, 39] Operation: 90-51=39 Exploring Operation: 90-55=35, Resulting Numbers: [51, 3, 35] Generated Node #0,1: 26:[51, 3, 35] Operation: 90-55=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[51, 3, 35], Operations: ['90-55=35'] Exploring Operation: 51/3=17, Resulting Numbers: [35, 17] Generated Node #0,1,0: 26:[35, 17] Operation: 51/3=17 Exploring Operation: 51-35=16, Resulting Numbers: [3, 16] Generated Node #0,1,1: 26:[3, 16] Operation: 51-35=16 Moving to Node #0,1,1 Current State: 26:[3, 16], Operations: ['90-55=35', '51-35=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[35, 17], Operations: ['90-55=35', '51/3=17'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[3, 55, 39], Operations: ['90-51=39'] Exploring Operation: 55-39=16, Resulting Numbers: [3, 16] Generated Node #0,0,0: 26:[3, 16] Operation: 55-39=16 Exploring Operation: 39/3=13, Resulting Numbers: [55, 13] Generated Node #0,0,1: 26:[55, 13] Operation: 39/3=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[3, 16], Operations: ['90-51=39', '55-39=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 26:[55, 13], Operations: ['90-51=39', '39/3=13'] Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 55+13=68, Resulting Numbers: [68] 68,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 84, 36, 64, 90 ]
74
[ "84-36=48", "90-64=26", "48+26=74" ]
Current State: 74:[84, 36, 64, 90], Operations: [] Exploring Operation: 84-36=48, Resulting Numbers: [64, 90, 48] Generated Node #2: [64, 90, 48] from Operation: 84-36=48 Current State: 74:[64, 90, 48], Operations: ['84-36=48'] Exploring Operation: 90-64=26, Resulting Numbers: [48, 26] Generated Node #3: [48, 26] from Operation: 90-64=26 Current State: 74:[48, 26], Operations: ['84-36=48', '90-64=26'] Exploring Operation: 48+26=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[84, 36, 64, 90], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [36, 64, 6] Generated Node #0,0: 74:[36, 64, 6] Operation: 90-84=6 Exploring Operation: 90-64=26, Resulting Numbers: [84, 36, 26] Generated Node #0,1: 74:[84, 36, 26] Operation: 90-64=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[36, 64, 6], Operations: ['90-84=6'] Exploring Operation: 64+6=70, Resulting Numbers: [36, 70] Generated Node #0,0,0: 74:[36, 70] Operation: 64+6=70 Exploring Operation: 64-36=28, Resulting Numbers: [6, 28] Generated Node #0,0,1: 74:[6, 28] Operation: 64-36=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[36, 70], Operations: ['90-84=6', '64+6=70'] Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,74 unequal: No Solution Exploring Operation: 36+70=106, Resulting Numbers: [106] 106,74 unequal: No Solution No 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: 74:[6, 28], Operations: ['90-84=6', '64-36=28'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,74 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: 74:[84, 36, 26], Operations: ['90-64=26'] Exploring Operation: 84-26=58, Resulting Numbers: [36, 58] Generated Node #0,1,0: 74:[36, 58] Operation: 84-26=58 Exploring Operation: 36-26=10, Resulting Numbers: [84, 10] Generated Node #0,1,1: 74:[84, 10] Operation: 36-26=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[36, 58], Operations: ['90-64=26', '84-26=58'] Exploring Operation: 36+58=94, Resulting Numbers: [94] 94,74 unequal: No Solution Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,74 unequal: No Solution No 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: 74:[84, 10], Operations: ['90-64=26', '36-26=10'] Exploring Operation: 84-10=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[84, 36, 64, 90], Operations: [] Exploring Operation: 90-64=26, Resulting Numbers: [84, 36, 26] Generated Node #0,1: 74:[84, 36, 26] Operation: 90-64=26 Moving to Node #0,1 Current State: 74:[84, 36, 26], Operations: ['90-64=26'] Exploring Operation: 36-26=10, Resulting Numbers: [84, 10] Generated Node #0,1,1: 74:[84, 10] Operation: 36-26=10 Moving to Node #0,1,1 Current State: 74:[84, 10], Operations: ['90-64=26', '36-26=10'] Exploring Operation: 84-10=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 27, 32, 57, 12 ]
64
[ "32-27=5", "57+12=69", "69-5=64" ]
Current State: 64:[27, 32, 57, 12], Operations: [] Exploring Operation: 32-27=5, Resulting Numbers: [57, 12, 5] Generated Node #2: [57, 12, 5] from Operation: 32-27=5 Current State: 64:[57, 12, 5], Operations: ['32-27=5'] Exploring Operation: 57+12=69, Resulting Numbers: [5, 69] Generated Node #3: [5, 69] from Operation: 57+12=69 Current State: 64:[5, 69], Operations: ['32-27=5', '57+12=69'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[27, 32, 57, 12], Operations: [] Exploring Operation: 57+12=69, Resulting Numbers: [27, 32, 69] Generated Node #0,0: 64:[27, 32, 69] Operation: 57+12=69 Exploring Operation: 32-27=5, Resulting Numbers: [57, 12, 5] Generated Node #0,1: 64:[57, 12, 5] Operation: 32-27=5 Exploring Operation: 57-27=30, Resulting Numbers: [32, 12, 30] Generated Node #0,2: 64:[32, 12, 30] Operation: 57-27=30 Exploring Operation: 27-12=15, Resulting Numbers: [32, 57, 15] Generated Node #0,3: 64:[32, 57, 15] Operation: 27-12=15 Moving to Node #0,2 Current State: 64:[32, 12, 30], Operations: ['57-27=30'] Exploring Operation: 32+30=62, Resulting Numbers: [12, 62] Generated Node #0,2,0: 64:[12, 62] Operation: 32+30=62 Exploring Operation: 32-12=20, Resulting Numbers: [30, 20] Generated Node #0,2,1: 64:[30, 20] Operation: 32-12=20 Exploring Operation: 30-12=18, Resulting Numbers: [32, 18] Generated Node #0,2,2: 64:[32, 18] Operation: 30-12=18 Exploring Operation: 32-30=2, Resulting Numbers: [12, 2] Generated Node #0,2,3: 64:[12, 2] Operation: 32-30=2 Moving to Node #0,3 Current State: 64:[32, 57, 15], Operations: ['27-12=15'] Exploring Operation: 57+15=72, Resulting Numbers: [32, 72] Generated Node #0,3,0: 64:[32, 72] Operation: 57+15=72 Exploring Operation: 57-15=42, Resulting Numbers: [32, 42] Generated Node #0,3,1: 64:[32, 42] Operation: 57-15=42 Exploring Operation: 32-15=17, Resulting Numbers: [57, 17] Generated Node #0,3,2: 64:[57, 17] Operation: 32-15=17 Exploring Operation: 57-32=25, Resulting Numbers: [15, 25] Generated Node #0,3,3: 64:[15, 25] Operation: 57-32=25 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[32, 72], Operations: ['27-12=15', '57+15=72'] Exploring Operation: 72-32=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 32*72=2304, Resulting Numbers: [2304] 2304,64 unequal: No Solution Exploring Operation: 32+72=104, Resulting Numbers: [104] 104,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 64:[57, 17], Operations: ['27-12=15', '32-15=17'] Exploring Operation: 57*17=969, Resulting Numbers: [969] 969,64 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 64:[15, 25], Operations: ['27-12=15', '57-32=25'] Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 15*25=375, Resulting Numbers: [375] 375,64 unequal: No Solution Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[32, 42], Operations: ['27-12=15', '57-15=42'] Exploring Operation: 32+42=74, Resulting Numbers: [74] 74,64 unequal: No Solution Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 32*42=1344, Resulting Numbers: [1344] 1344,64 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: 64:[27, 32, 69], Operations: ['57+12=69'] Exploring Operation: 32-27=5, Resulting Numbers: [69, 5] Generated Node #0,0,0: 64:[69, 5] Operation: 32-27=5 Exploring Operation: 69-32=37, Resulting Numbers: [27, 37] Generated Node #0,0,1: 64:[27, 37] Operation: 69-32=37 Exploring Operation: 69-27=42, Resulting Numbers: [32, 42] Generated Node #0,0,2: 64:[32, 42] Operation: 69-27=42 Exploring Operation: 27+32=59, Resulting Numbers: [69, 59] Generated Node #0,0,3: 64:[69, 59] Operation: 27+32=59 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[69, 5], Operations: ['57+12=69', '32-27=5'] Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,64 unequal: No Solution Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,64 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[27, 32, 57, 12], Operations: [] Exploring Operation: 57+12=69, Resulting Numbers: [27, 32, 69] Generated Node #0,0: 64:[27, 32, 69] Operation: 57+12=69 Moving to Node #0,0 Current State: 64:[27, 32, 69], Operations: ['57+12=69'] Exploring Operation: 32-27=5, Resulting Numbers: [69, 5] Generated Node #0,0,0: 64:[69, 5] Operation: 32-27=5 Moving to Node #0,0,0 Current State: 64:[69, 5], Operations: ['57+12=69', '32-27=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 32, 39, 96, 3 ]
39
[ "32+39=71", "96/3=32", "71-32=39" ]
Current State: 39:[32, 39, 96, 3], Operations: [] Exploring Operation: 32+39=71, Resulting Numbers: [96, 3, 71] Generated Node #2: [96, 3, 71] from Operation: 32+39=71 Current State: 39:[96, 3, 71], Operations: ['32+39=71'] Exploring Operation: 96/3=32, Resulting Numbers: [71, 32] Generated Node #3: [71, 32] from Operation: 96/3=32 Current State: 39:[71, 32], Operations: ['32+39=71', '96/3=32'] Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[32, 39, 96, 3], Operations: [] Exploring Operation: 96-39=57, Resulting Numbers: [32, 3, 57] Generated Node #0,0: 39:[32, 3, 57] Operation: 96-39=57 Exploring Operation: 39-32=7, Resulting Numbers: [96, 3, 7] Generated Node #0,1: 39:[96, 3, 7] Operation: 39-32=7 Exploring Operation: 96/32=3, Resulting Numbers: [39, 3, 3] Generated Node #0,2: 39:[39, 3, 3] Operation: 96/32=3 Exploring Operation: 96-32=64, Resulting Numbers: [39, 3, 64] Generated Node #0,3: 39:[39, 3, 64] Operation: 96-32=64 Exploring Operation: 96/3=32, Resulting Numbers: [32, 39, 32] Generated Node #0,4: 39:[32, 39, 32] Operation: 96/3=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[39, 3, 3], Operations: ['96/32=3'] Exploring Operation: 3/3=1, Resulting Numbers: [39, 1] Generated Node #0,2,0: 39:[39, 1] Operation: 3/3=1 Exploring Operation: 39-3=36, Resulting Numbers: [3, 36] Generated Node #0,2,1: 39:[3, 36] Operation: 39-3=36 Exploring Operation: 39/3=13, Resulting Numbers: [3, 13] Generated Node #0,2,2: 39:[3, 13] Operation: 39/3=13 Exploring Operation: 39/3=13, Resulting Numbers: [3, 13] Generated Node #0,2,3: 39:[3, 13] Operation: 39/3=13 Exploring Operation: 39+3=42, Resulting Numbers: [3, 42] Generated Node #0,2,4: 39:[3, 42] Operation: 39+3=42 Moving to Node #0,2,2 Current State: 39:[3, 13], Operations: ['96/32=3', '39/3=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,39 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[32, 39, 96, 3], Operations: [] Exploring Operation: 96/32=3, Resulting Numbers: [39, 3, 3] Generated Node #0,2: 39:[39, 3, 3] Operation: 96/32=3 Moving to Node #0,2 Current State: 39:[39, 3, 3], Operations: ['96/32=3'] Exploring Operation: 39/3=13, Resulting Numbers: [3, 13] Generated Node #0,2,2: 39:[3, 13] Operation: 39/3=13 Moving to Node #0,2,2 Current State: 39:[3, 13], Operations: ['96/32=3', '39/3=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 22, 66, 92, 18 ]
86
[ "66/22=3", "18/3=6", "92-6=86" ]
Current State: 86:[22, 66, 92, 18], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [92, 18, 3] Generated Node #2: [92, 18, 3] from Operation: 66/22=3 Current State: 86:[92, 18, 3], Operations: ['66/22=3'] Exploring Operation: 18/3=6, Resulting Numbers: [92, 6] Generated Node #3: [92, 6] from Operation: 18/3=6 Current State: 86:[92, 6], Operations: ['66/22=3', '18/3=6'] Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[22, 66, 92, 18], Operations: [] Exploring Operation: 66-22=44, Resulting Numbers: [92, 18, 44] Generated Node #0,0: 86:[92, 18, 44] Operation: 66-22=44 Moving to Node #0,0 Current State: 86:[92, 18, 44], Operations: ['66-22=44'] Exploring Operation: 92-18=74, Resulting Numbers: [44, 74] Generated Node #0,0,0: 86:[44, 74] Operation: 92-18=74 Moving to Node #0,0,0 Current State: 86:[44, 74], Operations: ['66-22=44', '92-18=74'] Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,86 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 71, 80, 90, 75 ]
25
[ "80*90=7200", "7200/75=96", "96-71=25" ]
Current State: 25:[71, 80, 90, 75], Operations: [] Exploring Operation: 80*90=7200, Resulting Numbers: [71, 75, 7200] Generated Node #2: [71, 75, 7200] from Operation: 80*90=7200 Current State: 25:[71, 75, 7200], Operations: ['80*90=7200'] Exploring Operation: 7200/75=96, Resulting Numbers: [71, 96] Generated Node #3: [71, 96] from Operation: 7200/75=96 Current State: 25:[71, 96], Operations: ['80*90=7200', '7200/75=96'] Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[71, 80, 90, 75], Operations: [] Exploring Operation: 90-71=19, Resulting Numbers: [80, 75, 19] Generated Node #0,0: 25:[80, 75, 19] Operation: 90-71=19 Exploring Operation: 90-80=10, Resulting Numbers: [71, 75, 10] Generated Node #0,1: 25:[71, 75, 10] Operation: 90-80=10 Moving to Node #0,1 Current State: 25:[71, 75, 10], Operations: ['90-80=10'] Exploring Operation: 71-10=61, Resulting Numbers: [75, 61] Generated Node #0,1,0: 25:[75, 61] Operation: 71-10=61 Exploring Operation: 75-71=4, Resulting Numbers: [10, 4] Generated Node #0,1,1: 25:[10, 4] Operation: 75-71=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[10, 4], Operations: ['90-80=10', '75-71=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[75, 61], Operations: ['90-80=10', '71-10=61'] Exploring Operation: 75+61=136, Resulting Numbers: [136] 136,25 unequal: No Solution Exploring Operation: 75-61=14, Resulting Numbers: [14] 14,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 25:[80, 75, 19], Operations: ['90-71=19'] Exploring Operation: 80-75=5, Resulting Numbers: [19, 5] Generated Node #0,0,0: 25:[19, 5] Operation: 80-75=5 Exploring Operation: 80-19=61, Resulting Numbers: [75, 61] Generated Node #0,0,1: 25:[75, 61] Operation: 80-19=61 Moving to Node #0,0,0 Current State: 25:[19, 5], Operations: ['90-71=19', '80-75=5'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[75, 61], Operations: ['90-71=19', '80-19=61'] Exploring Operation: 75+61=136, Resulting Numbers: [136] 136,25 unequal: No Solution Exploring Operation: 75-61=14, Resulting Numbers: [14] 14,25 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 68, 2, 3, 25 ]
56
[ "68/2=34", "25-3=22", "34+22=56" ]
Current State: 56:[68, 2, 3, 25], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [3, 25, 34] Generated Node #2: [3, 25, 34] from Operation: 68/2=34 Current State: 56:[3, 25, 34], Operations: ['68/2=34'] Exploring Operation: 25-3=22, Resulting Numbers: [34, 22] Generated Node #3: [34, 22] from Operation: 25-3=22 Current State: 56:[34, 22], Operations: ['68/2=34', '25-3=22'] Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[68, 2, 3, 25], Operations: [] Exploring Operation: 68-3=65, Resulting Numbers: [2, 25, 65] Generated Node #0,0: 56:[2, 25, 65] Operation: 68-3=65 Exploring Operation: 68/2=34, Resulting Numbers: [3, 25, 34] Generated Node #0,1: 56:[3, 25, 34] Operation: 68/2=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[3, 25, 34], Operations: ['68/2=34'] Exploring Operation: 34-25=9, Resulting Numbers: [3, 9] Generated Node #0,1,0: 56:[3, 9] Operation: 34-25=9 Exploring Operation: 25+34=59, Resulting Numbers: [3, 59] Generated Node #0,1,1: 56:[3, 59] Operation: 25+34=59 Moving to Node #0,1,0 Current State: 56:[3, 9], Operations: ['68/2=34', '34-25=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,56 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[3, 59], Operations: ['68/2=34', '25+34=59'] Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,56 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[68, 2, 3, 25], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [3, 25, 34] Generated Node #0,1: 56:[3, 25, 34] Operation: 68/2=34 Moving to Node #0,1 Current State: 56:[3, 25, 34], Operations: ['68/2=34'] Exploring Operation: 25+34=59, Resulting Numbers: [3, 59] Generated Node #0,1,1: 56:[3, 59] Operation: 25+34=59 Moving to Node #0,1,1 Current State: 56:[3, 59], Operations: ['68/2=34', '25+34=59'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 3, 50, 6, 57 ]
14
[ "6/3=2", "57-50=7", "2*7=14" ]
Current State: 14:[3, 50, 6, 57], Operations: [] Exploring Operation: 6/3=2, Resulting Numbers: [50, 57, 2] Generated Node #2: [50, 57, 2] from Operation: 6/3=2 Current State: 14:[50, 57, 2], Operations: ['6/3=2'] Exploring Operation: 57-50=7, Resulting Numbers: [2, 7] Generated Node #3: [2, 7] from Operation: 57-50=7 Current State: 14:[2, 7], Operations: ['6/3=2', '57-50=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[3, 50, 6, 57], Operations: [] Exploring Operation: 57-50=7, Resulting Numbers: [3, 6, 7] Generated Node #0,0: 14:[3, 6, 7] Operation: 57-50=7 Exploring Operation: 57/3=19, Resulting Numbers: [50, 6, 19] Generated Node #0,1: 14:[50, 6, 19] Operation: 57/3=19 Exploring Operation: 57-6=51, Resulting Numbers: [3, 50, 51] Generated Node #0,2: 14:[3, 50, 51] Operation: 57-6=51 Exploring Operation: 50-6=44, Resulting Numbers: [3, 57, 44] Generated Node #0,3: 14:[3, 57, 44] Operation: 50-6=44 Moving to Node #0,0 Current State: 14:[3, 6, 7], Operations: ['57-50=7'] Exploring Operation: 3+6=9, Resulting Numbers: [7, 9] Generated Node #0,0,0: 14:[7, 9] Operation: 3+6=9 Exploring Operation: 6-3=3, Resulting Numbers: [7, 3] Generated Node #0,0,1: 14:[7, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [7, 2] Generated Node #0,0,2: 14:[7, 2] Operation: 6/3=2 Exploring Operation: 6+7=13, Resulting Numbers: [3, 13] Generated Node #0,0,3: 14:[3, 13] Operation: 6+7=13 Moving to Node #0,1 Current State: 14:[50, 6, 19], Operations: ['57/3=19'] Exploring Operation: 50-19=31, Resulting Numbers: [6, 31] Generated Node #0,1,0: 14:[6, 31] Operation: 50-19=31 Exploring Operation: 50-6=44, Resulting Numbers: [19, 44] Generated Node #0,1,1: 14:[19, 44] Operation: 50-6=44 Exploring Operation: 19-6=13, Resulting Numbers: [50, 13] Generated Node #0,1,2: 14:[50, 13] Operation: 19-6=13 Exploring Operation: 50+6=56, Resulting Numbers: [19, 56] Generated Node #0,1,3: 14:[19, 56] Operation: 50+6=56 Moving to Node #0,3 Current State: 14:[3, 57, 44], Operations: ['50-6=44'] Exploring Operation: 57-44=13, Resulting Numbers: [3, 13] Generated Node #0,3,0: 14:[3, 13] Operation: 57-44=13 Exploring Operation: 57-3=54, Resulting Numbers: [44, 54] Generated Node #0,3,1: 14:[44, 54] Operation: 57-3=54 Exploring Operation: 44-3=41, Resulting Numbers: [57, 41] Generated Node #0,3,2: 14:[57, 41] Operation: 44-3=41 Exploring Operation: 57/3=19, Resulting Numbers: [44, 19] Generated Node #0,3,3: 14:[44, 19] Operation: 57/3=19 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 14:[3, 13], Operations: ['50-6=44', '57-44=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,14 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,14 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 14:[44, 19], Operations: ['50-6=44', '57/3=19'] Exploring Operation: 44+19=63, Resulting Numbers: [63] 63,14 unequal: No Solution Exploring Operation: 44*19=836, Resulting Numbers: [836] 836,14 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 14:[44, 54], Operations: ['50-6=44', '57-3=54'] Exploring Operation: 44+54=98, Resulting Numbers: [98] 98,14 unequal: No Solution Exploring Operation: 44*54=2376, Resulting Numbers: [2376] 2376,14 unequal: No Solution Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 14:[57, 41], Operations: ['50-6=44', '44-3=41'] Exploring Operation: 57+41=98, Resulting Numbers: [98] 98,14 unequal: No Solution Exploring Operation: 57*41=2337, Resulting Numbers: [2337] 2337,14 unequal: No Solution Exploring Operation: 57-41=16, Resulting Numbers: [16] 16,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 14:[3, 50, 51], Operations: ['57-6=51'] Exploring Operation: 51-50=1, Resulting Numbers: [3, 1] Generated Node #0,2,0: 14:[3, 1] Operation: 51-50=1 Exploring Operation: 51-3=48, Resulting Numbers: [50, 48] Generated Node #0,2,1: 14:[50, 48] Operation: 51-3=48 Exploring Operation: 50-3=47, Resulting Numbers: [51, 47] Generated Node #0,2,2: 14:[51, 47] Operation: 50-3=47 Exploring Operation: 51/3=17, Resulting Numbers: [50, 17] Generated Node #0,2,3: 14:[50, 17] Operation: 51/3=17 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[3, 1], Operations: ['57-6=51', '51-50=1'] Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 14:[50, 17], Operations: ['57-6=51', '51/3=17'] Exploring Operation: 50+17=67, Resulting Numbers: [67] 67,14 unequal: No Solution Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,14 unequal: No Solution Exploring Operation: 50*17=850, Resulting Numbers: [850] 850,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 14:[50, 48], Operations: ['57-6=51', '51-3=48'] Exploring Operation: 50*48=2400, Resulting Numbers: [2400] 2400,14 unequal: No Solution Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,14 unequal: No Solution Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 14:[51, 47], Operations: ['57-6=51', '50-3=47'] Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 51+47=98, Resulting Numbers: [98] 98,14 unequal: No Solution Exploring Operation: 51*47=2397, Resulting Numbers: [2397] 2397,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 14:[7, 2], Operations: ['57-50=7', '6/3=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[3, 50, 6, 57], Operations: [] Exploring Operation: 57-50=7, Resulting Numbers: [3, 6, 7] Generated Node #0,0: 14:[3, 6, 7] Operation: 57-50=7 Moving to Node #0,0 Current State: 14:[3, 6, 7], Operations: ['57-50=7'] Exploring Operation: 6/3=2, Resulting Numbers: [7, 2] Generated Node #0,0,2: 14:[7, 2] Operation: 6/3=2 Moving to Node #0,0,2 Current State: 14:[7, 2], Operations: ['57-50=7', '6/3=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.955729
hs_4
mult_heuristic
[ 50, 48, 33, 47 ]
84
[ "50+48=98", "47-33=14", "98-14=84" ]
Current State: 84:[50, 48, 33, 47], Operations: [] Exploring Operation: 50+48=98, Resulting Numbers: [33, 47, 98] Generated Node #2: [33, 47, 98] from Operation: 50+48=98 Current State: 84:[33, 47, 98], Operations: ['50+48=98'] Exploring Operation: 47-33=14, Resulting Numbers: [98, 14] Generated Node #3: [98, 14] from Operation: 47-33=14 Current State: 84:[98, 14], Operations: ['50+48=98', '47-33=14'] Exploring Operation: 98-14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[50, 48, 33, 47], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [33, 47, 2] Generated Node #0,0: 84:[33, 47, 2] Operation: 50-48=2 Exploring Operation: 50-47=3, Resulting Numbers: [48, 33, 3] Generated Node #0,1: 84:[48, 33, 3] Operation: 50-47=3 Exploring Operation: 50-33=17, Resulting Numbers: [48, 47, 17] Generated Node #0,2: 84:[48, 47, 17] Operation: 50-33=17 Exploring Operation: 50+33=83, Resulting Numbers: [48, 47, 83] Generated Node #0,3: 84:[48, 47, 83] Operation: 50+33=83 Moving to Node #0,0 Current State: 84:[33, 47, 2], Operations: ['50-48=2'] Exploring Operation: 33+47=80, Resulting Numbers: [2, 80] Generated Node #0,0,0: 84:[2, 80] Operation: 33+47=80 Exploring Operation: 47-2=45, Resulting Numbers: [33, 45] Generated Node #0,0,1: 84:[33, 45] Operation: 47-2=45 Exploring Operation: 47-33=14, Resulting Numbers: [2, 14] Generated Node #0,0,2: 84:[2, 14] Operation: 47-33=14 Exploring Operation: 33-2=31, Resulting Numbers: [47, 31] Generated Node #0,0,3: 84:[47, 31] Operation: 33-2=31 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[2, 14], Operations: ['50-48=2', '47-33=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,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,0 Current State: 84:[2, 80], Operations: ['50-48=2', '33+47=80'] Exploring Operation: 2+80=82, Resulting Numbers: [82] 82,84 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,84 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 2*80=160, Resulting Numbers: [160] 160,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:[33, 45], Operations: ['50-48=2', '47-2=45'] Exploring Operation: 33+45=78, Resulting Numbers: [78] 78,84 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 33*45=1485, Resulting Numbers: [1485] 1485,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,3 Current State: 84:[47, 31], Operations: ['50-48=2', '33-2=31'] Exploring Operation: 47+31=78, Resulting Numbers: [78] 78,84 unequal: No Solution Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 47*31=1457, Resulting Numbers: [1457] 1457,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 84:[48, 33, 3], Operations: ['50-47=3'] Exploring Operation: 33/3=11, Resulting Numbers: [48, 11] Generated Node #0,1,0: 84:[48, 11] Operation: 33/3=11 Exploring Operation: 48/3=16, Resulting Numbers: [33, 16] Generated Node #0,1,1: 84:[33, 16] Operation: 48/3=16 Exploring Operation: 48-33=15, Resulting Numbers: [3, 15] Generated Node #0,1,2: 84:[3, 15] Operation: 48-33=15 Exploring Operation: 48+33=81, Resulting Numbers: [3, 81] Generated Node #0,1,3: 84:[3, 81] Operation: 48+33=81 Moving to Node #0,3 Current State: 84:[48, 47, 83], Operations: ['50+33=83'] Exploring Operation: 48+47=95, Resulting Numbers: [83, 95] Generated Node #0,3,0: 84:[83, 95] Operation: 48+47=95 Exploring Operation: 83-48=35, Resulting Numbers: [47, 35] Generated Node #0,3,1: 84:[47, 35] Operation: 83-48=35 Exploring Operation: 83-47=36, Resulting Numbers: [48, 36] Generated Node #0,3,2: 84:[48, 36] Operation: 83-47=36 Exploring Operation: 48-47=1, Resulting Numbers: [83, 1] Generated Node #0,3,3: 84:[83, 1] Operation: 48-47=1 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 84:[83, 1], Operations: ['50+33=83', '48-47=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,84 unequal: No Solution Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[50, 48, 33, 47], Operations: [] Exploring Operation: 50+33=83, Resulting Numbers: [48, 47, 83] Generated Node #0,3: 84:[48, 47, 83] Operation: 50+33=83 Moving to Node #0,3 Current State: 84:[48, 47, 83], Operations: ['50+33=83'] Exploring Operation: 48-47=1, Resulting Numbers: [83, 1] Generated Node #0,3,3: 84:[83, 1] Operation: 48-47=1 Moving to Node #0,3,3 Current State: 84:[83, 1], Operations: ['50+33=83', '48-47=1'] Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_4
mult_heuristic
[ 99, 61, 72, 51 ]
59
[ "99-61=38", "72-51=21", "38+21=59" ]
Current State: 59:[99, 61, 72, 51], Operations: [] Exploring Operation: 99-61=38, Resulting Numbers: [72, 51, 38] Generated Node #2: [72, 51, 38] from Operation: 99-61=38 Current State: 59:[72, 51, 38], Operations: ['99-61=38'] Exploring Operation: 72-51=21, Resulting Numbers: [38, 21] Generated Node #3: [38, 21] from Operation: 72-51=21 Current State: 59:[38, 21], Operations: ['99-61=38', '72-51=21'] Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[99, 61, 72, 51], Operations: [] Exploring Operation: 99-51=48, Resulting Numbers: [61, 72, 48] Generated Node #0,0: 59:[61, 72, 48] Operation: 99-51=48 Exploring Operation: 99-61=38, Resulting Numbers: [72, 51, 38] Generated Node #0,1: 59:[72, 51, 38] Operation: 99-61=38 Exploring Operation: 99-72=27, Resulting Numbers: [61, 51, 27] Generated Node #0,2: 59:[61, 51, 27] Operation: 99-72=27 Moving to Node #0,0 Current State: 59:[61, 72, 48], Operations: ['99-51=48'] Exploring Operation: 72-48=24, Resulting Numbers: [61, 24] Generated Node #0,0,0: 59:[61, 24] Operation: 72-48=24 Exploring Operation: 61-48=13, Resulting Numbers: [72, 13] Generated Node #0,0,1: 59:[72, 13] Operation: 61-48=13 Exploring Operation: 72-61=11, Resulting Numbers: [48, 11] Generated Node #0,0,2: 59:[48, 11] Operation: 72-61=11 Moving to Node #0,1 Current State: 59:[72, 51, 38], Operations: ['99-61=38'] Exploring Operation: 51+38=89, Resulting Numbers: [72, 89] Generated Node #0,1,0: 59:[72, 89] Operation: 51+38=89 Exploring Operation: 72-51=21, Resulting Numbers: [38, 21] Generated Node #0,1,1: 59:[38, 21] Operation: 72-51=21 Exploring Operation: 72-38=34, Resulting Numbers: [51, 34] Generated Node #0,1,2: 59:[51, 34] Operation: 72-38=34 Moving to Node #0,2 Current State: 59:[61, 51, 27], Operations: ['99-72=27'] Exploring Operation: 61+27=88, Resulting Numbers: [51, 88] Generated Node #0,2,0: 59:[51, 88] Operation: 61+27=88 Exploring Operation: 61-27=34, Resulting Numbers: [51, 34] Generated Node #0,2,1: 59:[51, 34] Operation: 61-27=34 Exploring Operation: 51+27=78, Resulting Numbers: [61, 78] Generated Node #0,2,2: 59:[61, 78] Operation: 51+27=78 Moving to Node #0,2,2 Current State: 59:[61, 78], Operations: ['99-72=27', '51+27=78'] Exploring Operation: 61*78=4758, Resulting Numbers: [4758] 4758,59 unequal: No Solution Exploring Operation: 61+78=139, Resulting Numbers: [139] 139,59 unequal: No Solution Exploring Operation: 78-61=17, Resulting Numbers: [17] 17,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[51, 34], Operations: ['99-61=38', '72-38=34'] Exploring Operation: 51*34=1734, Resulting Numbers: [1734] 1734,59 unequal: No Solution Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 51+34=85, Resulting Numbers: [85] 85,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[51, 34], Operations: ['99-72=27', '61-27=34'] Exploring Operation: 51*34=1734, Resulting Numbers: [1734] 1734,59 unequal: No Solution Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 51+34=85, Resulting Numbers: [85] 85,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[51, 88], Operations: ['99-72=27', '61+27=88'] Exploring Operation: 88-51=37, Resulting Numbers: [37] 37,59 unequal: No Solution Exploring Operation: 51*88=4488, Resulting Numbers: [4488] 4488,59 unequal: No Solution Exploring Operation: 51+88=139, Resulting Numbers: [139] 139,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[61, 24], Operations: ['99-51=48', '72-48=24'] Exploring Operation: 61+24=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 61*24=1464, Resulting Numbers: [1464] 1464,59 unequal: No Solution Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[72, 89], Operations: ['99-61=38', '51+38=89'] Exploring Operation: 89-72=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 72+89=161, Resulting Numbers: [161] 161,59 unequal: No Solution Exploring Operation: 72*89=6408, Resulting Numbers: [6408] 6408,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[38, 21], Operations: ['99-61=38', '72-51=21'] Exploring Operation: 38*21=798, Resulting Numbers: [798] 798,59 unequal: No Solution Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[99, 61, 72, 51], Operations: [] Exploring Operation: 99-61=38, Resulting Numbers: [72, 51, 38] Generated Node #0,1: 59:[72, 51, 38] Operation: 99-61=38 Moving to Node #0,1 Current State: 59:[72, 51, 38], Operations: ['99-61=38'] Exploring Operation: 72-51=21, Resulting Numbers: [38, 21] Generated Node #0,1,1: 59:[38, 21] Operation: 72-51=21 Moving to Node #0,1,1 Current State: 59:[38, 21], Operations: ['99-61=38', '72-51=21'] Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.96875
hs_3
mult_heuristic
[ 75, 31, 91, 72 ]
90
[ "75*72=5400", "91-31=60", "5400/60=90" ]
Current State: 90:[75, 31, 91, 72], Operations: [] Exploring Operation: 75*72=5400, Resulting Numbers: [31, 91, 5400] Generated Node #2: [31, 91, 5400] from Operation: 75*72=5400 Current State: 90:[31, 91, 5400], Operations: ['75*72=5400'] Exploring Operation: 91-31=60, Resulting Numbers: [5400, 60] Generated Node #3: [5400, 60] from Operation: 91-31=60 Current State: 90:[5400, 60], Operations: ['75*72=5400', '91-31=60'] Exploring Operation: 5400/60=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[75, 31, 91, 72], Operations: [] Exploring Operation: 91-72=19, Resulting Numbers: [75, 31, 19] Generated Node #0,0: 90:[75, 31, 19] Operation: 91-72=19 Exploring Operation: 75-72=3, Resulting Numbers: [31, 91, 3] Generated Node #0,1: 90:[31, 91, 3] Operation: 75-72=3 Exploring Operation: 91-75=16, Resulting Numbers: [31, 72, 16] Generated Node #0,2: 90:[31, 72, 16] Operation: 91-75=16 Exploring Operation: 75-31=44, Resulting Numbers: [91, 72, 44] Generated Node #0,3: 90:[91, 72, 44] Operation: 75-31=44 Moving to Node #0,1 Current State: 90:[31, 91, 3], Operations: ['75-72=3'] Exploring Operation: 31*3=93, Resulting Numbers: [91, 93] Generated Node #0,1,0: 90:[91, 93] Operation: 31*3=93 Exploring Operation: 31+3=34, Resulting Numbers: [91, 34] Generated Node #0,1,1: 90:[91, 34] Operation: 31+3=34 Exploring Operation: 31-3=28, Resulting Numbers: [91, 28] Generated Node #0,1,2: 90:[91, 28] Operation: 31-3=28 Exploring Operation: 91-3=88, Resulting Numbers: [31, 88] Generated Node #0,1,3: 90:[31, 88] Operation: 91-3=88 Moving to Node #0,0 Current State: 90:[75, 31, 19], Operations: ['91-72=19'] Exploring Operation: 75+19=94, Resulting Numbers: [31, 94] Generated Node #0,0,0: 90:[31, 94] Operation: 75+19=94 Exploring Operation: 75-31=44, Resulting Numbers: [19, 44] Generated Node #0,0,1: 90:[19, 44] Operation: 75-31=44 Exploring Operation: 75-19=56, Resulting Numbers: [31, 56] Generated Node #0,0,2: 90:[31, 56] Operation: 75-19=56 Exploring Operation: 75+31=106, Resulting Numbers: [19, 106] Generated Node #0,0,3: 90:[19, 106] Operation: 75+31=106 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[19, 44], Operations: ['91-72=19', '75-31=44'] Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,90 unequal: No Solution Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[31, 94], Operations: ['91-72=19', '75+19=94'] Exploring Operation: 31+94=125, Resulting Numbers: [125] 125,90 unequal: No Solution Exploring Operation: 94-31=63, Resulting Numbers: [63] 63,90 unequal: No Solution Exploring Operation: 31*94=2914, Resulting Numbers: [2914] 2914,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[31, 56], Operations: ['91-72=19', '75-19=56'] Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 31*56=1736, Resulting Numbers: [1736] 1736,90 unequal: No Solution Exploring Operation: 31+56=87, Resulting Numbers: [87] 87,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 90:[19, 106], Operations: ['91-72=19', '75+31=106'] Exploring Operation: 19*106=2014, Resulting Numbers: [2014] 2014,90 unequal: No Solution Exploring Operation: 106-19=87, Resulting Numbers: [87] 87,90 unequal: No Solution Exploring Operation: 19+106=125, Resulting Numbers: [125] 125,90 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: 90:[91, 72, 44], Operations: ['75-31=44'] Exploring Operation: 72+44=116, Resulting Numbers: [91, 116] Generated Node #0,3,0: 90:[91, 116] Operation: 72+44=116 Exploring Operation: 72-44=28, Resulting Numbers: [91, 28] Generated Node #0,3,1: 90:[91, 28] Operation: 72-44=28 Exploring Operation: 91-44=47, Resulting Numbers: [72, 47] Generated Node #0,3,2: 90:[72, 47] Operation: 91-44=47 Exploring Operation: 91-72=19, Resulting Numbers: [44, 19] Generated Node #0,3,3: 90:[44, 19] Operation: 91-72=19 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 90:[44, 19], Operations: ['75-31=44', '91-72=19'] Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 44*19=836, Resulting Numbers: [836] 836,90 unequal: No Solution Exploring Operation: 44+19=63, Resulting Numbers: [63] 63,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 90:[91, 28], Operations: ['75-31=44', '72-44=28'] Exploring Operation: 91*28=2548, Resulting Numbers: [2548] 2548,90 unequal: No Solution Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,90 unequal: No Solution Exploring Operation: 91+28=119, Resulting Numbers: [119] 119,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 90:[72, 47], Operations: ['75-31=44', '91-44=47'] Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 72*47=3384, Resulting Numbers: [3384] 3384,90 unequal: No Solution Exploring Operation: 72+47=119, Resulting Numbers: [119] 119,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 90:[91, 116], Operations: ['75-31=44', '72+44=116'] Exploring Operation: 116-91=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 91+116=207, Resulting Numbers: [207] 207,90 unequal: No Solution Exploring Operation: 91*116=10556, Resulting Numbers: [10556] 10556,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 90:[31, 72, 16], Operations: ['91-75=16'] Exploring Operation: 72-31=41, Resulting Numbers: [16, 41] Generated Node #0,2,0: 90:[16, 41] Operation: 72-31=41 Exploring Operation: 72+16=88, Resulting Numbers: [31, 88] Generated Node #0,2,1: 90:[31, 88] Operation: 72+16=88 Exploring Operation: 31+72=103, Resulting Numbers: [16, 103] Generated Node #0,2,2: 90:[16, 103] Operation: 31+72=103 Exploring Operation: 72-16=56, Resulting Numbers: [31, 56] Generated Node #0,2,3: 90:[31, 56] Operation: 72-16=56 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 90:[31, 88], Operations: ['91-75=16', '72+16=88'] Exploring Operation: 88-31=57, Resulting Numbers: [57] 57,90 unequal: No Solution Exploring Operation: 31*88=2728, Resulting Numbers: [2728] 2728,90 unequal: No Solution Exploring Operation: 31+88=119, Resulting Numbers: [119] 119,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 90:[16, 41], Operations: ['91-75=16', '72-31=41'] Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,90 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 90:[31, 56], Operations: ['91-75=16', '72-16=56'] Exploring Operation: 31*56=1736, Resulting Numbers: [1736] 1736,90 unequal: No Solution Exploring Operation: 31+56=87, Resulting Numbers: [87] 87,90 unequal: No Solution Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 90:[16, 103], Operations: ['91-75=16', '31+72=103'] Exploring Operation: 16+103=119, Resulting Numbers: [119] 119,90 unequal: No Solution Exploring Operation: 16*103=1648, Resulting Numbers: [1648] 1648,90 unequal: No Solution Exploring Operation: 103-16=87, Resulting Numbers: [87] 87,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 90:[91, 28], Operations: ['75-72=3', '31-3=28'] Exploring Operation: 91+28=119, Resulting Numbers: [119] 119,90 unequal: No Solution Exploring Operation: 91*28=2548, Resulting Numbers: [2548] 2548,90 unequal: No Solution Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,90 unequal: No Solution Moving to Node #0,1,3 Current State: 90:[31, 88], Operations: ['75-72=3', '91-3=88'] Exploring Operation: 31+88=119, Resulting Numbers: [119] 119,90 unequal: No Solution Exploring Operation: 88-31=57, Resulting Numbers: [57] 57,90 unequal: No Solution Exploring Operation: 31*88=2728, Resulting Numbers: [2728] 2728,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[91, 93], Operations: ['75-72=3', '31*3=93'] Exploring Operation: 91+93=184, Resulting Numbers: [184] 184,90 unequal: No Solution Exploring Operation: 91*93=8463, Resulting Numbers: [8463] 8463,90 unequal: No Solution Exploring Operation: 93-91=2, Resulting Numbers: [2] 2,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[91, 34], Operations: ['75-72=3', '31+3=34'] Exploring Operation: 91-34=57, Resulting Numbers: [57] 57,90 unequal: No Solution Exploring Operation: 91+34=125, Resulting Numbers: [125] 125,90 unequal: No Solution Exploring Operation: 91*34=3094, Resulting Numbers: [3094] 3094,90 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 70, 20, 14, 4 ]
79
[ "70+14=84", "20/4=5", "84-5=79" ]
Current State: 79:[70, 20, 14, 4], Operations: [] Exploring Operation: 70+14=84, Resulting Numbers: [20, 4, 84] Generated Node #2: [20, 4, 84] from Operation: 70+14=84 Current State: 79:[20, 4, 84], Operations: ['70+14=84'] Exploring Operation: 20/4=5, Resulting Numbers: [84, 5] Generated Node #3: [84, 5] from Operation: 20/4=5 Current State: 79:[84, 5], Operations: ['70+14=84', '20/4=5'] Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[70, 20, 14, 4], Operations: [] Exploring Operation: 20+14=34, Resulting Numbers: [70, 4, 34] Generated Node #0,0: 79:[70, 4, 34] Operation: 20+14=34 Exploring Operation: 20*4=80, Resulting Numbers: [70, 14, 80] Generated Node #0,1: 79:[70, 14, 80] Operation: 20*4=80 Exploring Operation: 70+4=74, Resulting Numbers: [20, 14, 74] Generated Node #0,2: 79:[20, 14, 74] Operation: 70+4=74 Exploring Operation: 20+4=24, Resulting Numbers: [70, 14, 24] Generated Node #0,3: 79:[70, 14, 24] Operation: 20+4=24 Exploring Operation: 14*4=56, Resulting Numbers: [70, 20, 56] Generated Node #0,4: 79:[70, 20, 56] Operation: 14*4=56 Moving to Node #0,1 Current State: 79:[70, 14, 80], Operations: ['20*4=80'] Exploring Operation: 14+80=94, Resulting Numbers: [70, 94] Generated Node #0,1,0: 79:[70, 94] Operation: 14+80=94 Exploring Operation: 70/14=5, Resulting Numbers: [80, 5] Generated Node #0,1,1: 79:[80, 5] Operation: 70/14=5 Exploring Operation: 70+14=84, Resulting Numbers: [80, 84] Generated Node #0,1,2: 79:[80, 84] Operation: 70+14=84 Exploring Operation: 70-14=56, Resulting Numbers: [80, 56] Generated Node #0,1,3: 79:[80, 56] Operation: 70-14=56 Exploring Operation: 80-14=66, Resulting Numbers: [70, 66] Generated Node #0,1,4: 79:[70, 66] Operation: 80-14=66 Moving to Node #0,4 Current State: 79:[70, 20, 56], Operations: ['14*4=56'] Exploring Operation: 56-20=36, Resulting Numbers: [70, 36] Generated Node #0,4,0: 79:[70, 36] Operation: 56-20=36 Exploring Operation: 70+56=126, Resulting Numbers: [20, 126] Generated Node #0,4,1: 79:[20, 126] Operation: 70+56=126 Exploring Operation: 20+56=76, Resulting Numbers: [70, 76] Generated Node #0,4,2: 79:[70, 76] Operation: 20+56=76 Exploring Operation: 70-20=50, Resulting Numbers: [56, 50] Generated Node #0,4,3: 79:[56, 50] Operation: 70-20=50 Exploring Operation: 70+20=90, Resulting Numbers: [56, 90] Generated Node #0,4,4: 79:[56, 90] Operation: 70+20=90 Moving to Node #0,0 Current State: 79:[70, 4, 34], Operations: ['20+14=34'] Exploring Operation: 4*34=136, Resulting Numbers: [70, 136] Generated Node #0,0,0: 79:[70, 136] Operation: 4*34=136 Exploring Operation: 34-4=30, Resulting Numbers: [70, 30] Generated Node #0,0,1: 79:[70, 30] Operation: 34-4=30 Exploring Operation: 70-4=66, Resulting Numbers: [34, 66] Generated Node #0,0,2: 79:[34, 66] Operation: 70-4=66 Exploring Operation: 70+4=74, Resulting Numbers: [34, 74] Generated Node #0,0,3: 79:[34, 74] Operation: 70+4=74 Exploring Operation: 4+34=38, Resulting Numbers: [70, 38] Generated Node #0,0,4: 79:[70, 38] Operation: 4+34=38 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 79:[34, 74], Operations: ['20+14=34', '70+4=74'] Exploring Operation: 34+74=108, Resulting Numbers: [108] 108,79 unequal: No Solution Exploring Operation: 74-34=40, Resulting Numbers: [40] 40,79 unequal: No Solution Exploring Operation: 34*74=2516, Resulting Numbers: [2516] 2516,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:[70, 38], Operations: ['20+14=34', '4+34=38'] Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,79 unequal: No Solution Exploring Operation: 70*38=2660, Resulting Numbers: [2660] 2660,79 unequal: No Solution Exploring Operation: 70+38=108, Resulting Numbers: [108] 108,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:[70, 30], Operations: ['20+14=34', '34-4=30'] Exploring Operation: 70+30=100, Resulting Numbers: [100] 100,79 unequal: No Solution Exploring Operation: 70*30=2100, Resulting Numbers: [2100] 2100,79 unequal: No Solution Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[34, 66], Operations: ['20+14=34', '70-4=66'] Exploring Operation: 34*66=2244, Resulting Numbers: [2244] 2244,79 unequal: No Solution Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,79 unequal: No Solution Exploring Operation: 34+66=100, Resulting Numbers: [100] 100,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:[70, 136], Operations: ['20+14=34', '4*34=136'] Exploring Operation: 136-70=66, Resulting Numbers: [66] 66,79 unequal: No Solution Exploring Operation: 70+136=206, Resulting Numbers: [206] 206,79 unequal: No Solution Exploring Operation: 70*136=9520, Resulting Numbers: [9520] 9520,79 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: 79:[20, 14, 74], Operations: ['70+4=74'] Exploring Operation: 20+74=94, Resulting Numbers: [14, 94] Generated Node #0,2,0: 79:[14, 94] Operation: 20+74=94 Exploring Operation: 20-14=6, Resulting Numbers: [74, 6] Generated Node #0,2,1: 79:[74, 6] Operation: 20-14=6 Exploring Operation: 20+14=34, Resulting Numbers: [74, 34] Generated Node #0,2,2: 79:[74, 34] Operation: 20+14=34 Exploring Operation: 14+74=88, Resulting Numbers: [20, 88] Generated Node #0,2,3: 79:[20, 88] Operation: 14+74=88 Exploring Operation: 74-14=60, Resulting Numbers: [20, 60] Generated Node #0,2,4: 79:[20, 60] Operation: 74-14=60 Moving to Node #0,3 Current State: 79:[70, 14, 24], Operations: ['20+4=24'] Exploring Operation: 70-14=56, Resulting Numbers: [24, 56] Generated Node #0,3,0: 79:[24, 56] Operation: 70-14=56 Exploring Operation: 24-14=10, Resulting Numbers: [70, 10] Generated Node #0,3,1: 79:[70, 10] Operation: 24-14=10 Exploring Operation: 70+14=84, Resulting Numbers: [24, 84] Generated Node #0,3,2: 79:[24, 84] Operation: 70+14=84 Exploring Operation: 70+24=94, Resulting Numbers: [14, 94] Generated Node #0,3,3: 79:[14, 94] Operation: 70+24=94 Exploring Operation: 14+24=38, Resulting Numbers: [70, 38] Generated Node #0,3,4: 79:[70, 38] Operation: 14+24=38 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 79:[70, 38], Operations: ['20+4=24', '14+24=38'] Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,79 unequal: No Solution Exploring Operation: 70*38=2660, Resulting Numbers: [2660] 2660,79 unequal: No Solution Exploring Operation: 70+38=108, Resulting Numbers: [108] 108,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 79:[24, 84], Operations: ['20+4=24', '70+14=84'] Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,79 unequal: No Solution Exploring Operation: 24+84=108, Resulting Numbers: [108] 108,79 unequal: No Solution Exploring Operation: 24*84=2016, Resulting Numbers: [2016] 2016,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 79:[24, 56], Operations: ['20+4=24', '70-14=56'] Exploring Operation: 24+56=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 24*56=1344, Resulting Numbers: [1344] 1344,79 unequal: No Solution Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 79:[70, 10], Operations: ['20+4=24', '24-14=10'] Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,79 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,79 unequal: No Solution Exploring Operation: 70*10=700, Resulting Numbers: [700] 700,79 unequal: No Solution Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 79:[14, 94], Operations: ['20+4=24', '70+24=94'] Exploring Operation: 14+94=108, Resulting Numbers: [108] 108,79 unequal: No Solution Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 14*94=1316, Resulting Numbers: [1316] 1316,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 79:[80, 84], Operations: ['20*4=80', '70+14=84'] Exploring Operation: 80+84=164, Resulting Numbers: [164] 164,79 unequal: No Solution Exploring Operation: 84-80=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 80*84=6720, Resulting Numbers: [6720] 6720,79 unequal: No Solution Moving to Node #0,4,2 Current State: 79:[70, 76], Operations: ['14*4=56', '20+56=76'] Exploring Operation: 70*76=5320, Resulting Numbers: [5320] 5320,79 unequal: No Solution Exploring Operation: 76-70=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 70+76=146, Resulting Numbers: [146] 146,79 unequal: No Solution Moving to Node #0,1,4 Current State: 79:[70, 66], Operations: ['20*4=80', '80-14=66'] Exploring Operation: 70*66=4620, Resulting Numbers: [4620] 4620,79 unequal: No Solution Exploring Operation: 70+66=136, Resulting Numbers: [136] 136,79 unequal: No Solution Exploring Operation: 70-66=4, Resulting Numbers: [4] 4,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[70, 94], Operations: ['20*4=80', '14+80=94'] Exploring Operation: 94-70=24, Resulting Numbers: [24] 24,79 unequal: No Solution Exploring Operation: 70*94=6580, Resulting Numbers: [6580] 6580,79 unequal: No Solution Exploring Operation: 70+94=164, Resulting Numbers: [164] 164,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[80, 56], Operations: ['20*4=80', '70-14=56'] Exploring Operation: 80-56=24, Resulting Numbers: [24] 24,79 unequal: No Solution Exploring Operation: 80*56=4480, Resulting Numbers: [4480] 4480,79 unequal: No Solution Exploring Operation: 80+56=136, Resulting Numbers: [136] 136,79 unequal: No Solution Moving to Node #0,4,4 Current State: 79:[56, 90], Operations: ['14*4=56', '70+20=90'] Exploring Operation: 90-56=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 56+90=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 56*90=5040, Resulting Numbers: [5040] 5040,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[74, 34], Operations: ['70+4=74', '20+14=34'] Exploring Operation: 74-34=40, Resulting Numbers: [40] 40,79 unequal: No Solution Exploring Operation: 74+34=108, Resulting Numbers: [108] 108,79 unequal: No Solution Exploring Operation: 74*34=2516, Resulting Numbers: [2516] 2516,79 unequal: No Solution Moving to Node #0,4,3 Current State: 79:[56, 50], Operations: ['14*4=56', '70-20=50'] Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 56*50=2800, Resulting Numbers: [2800] 2800,79 unequal: No Solution Exploring Operation: 56+50=106, Resulting Numbers: [106] 106,79 unequal: No Solution Moving to Node #0,4,0 Current State: 79:[70, 36], Operations: ['14*4=56', '56-20=36'] Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 70*36=2520, Resulting Numbers: [2520] 2520,79 unequal: No Solution Exploring Operation: 70+36=106, Resulting Numbers: [106] 106,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[20, 88], Operations: ['70+4=74', '14+74=88'] Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,79 unequal: No Solution Exploring Operation: 20+88=108, Resulting Numbers: [108] 108,79 unequal: No Solution Exploring Operation: 20*88=1760, Resulting Numbers: [1760] 1760,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[80, 5], Operations: ['20*4=80', '70/14=5'] Exploring Operation: 80+5=85, Resulting Numbers: [85] 85,79 unequal: No Solution Exploring Operation: 80*5=400, Resulting Numbers: [400] 400,79 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,79 unequal: No Solution Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[74, 6], Operations: ['70+4=74', '20-14=6'] Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 74*6=444, Resulting Numbers: [444] 444,79 unequal: No Solution Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,79 unequal: No Solution Moving to Node #0,2,4 Current State: 79:[20, 60], Operations: ['70+4=74', '74-14=60'] Exploring Operation: 20*60=1200, Resulting Numbers: [1200] 1200,79 unequal: No Solution Exploring Operation: 20+60=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[14, 94], Operations: ['70+4=74', '20+74=94'] Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 14+94=108, Resulting Numbers: [108] 108,79 unequal: No Solution Exploring Operation: 14*94=1316, Resulting Numbers: [1316] 1316,79 unequal: No Solution Moving to Node #0,4,1 Current State: 79:[20, 126], Operations: ['14*4=56', '70+56=126'] Exploring Operation: 20+126=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 126-20=106, Resulting Numbers: [106] 106,79 unequal: No Solution Exploring Operation: 20*126=2520, Resulting Numbers: [2520] 2520,79 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 2, 6, 78, 26 ]
85
[ "26/2=13", "78-6=72", "13+72=85" ]
Current State: 85:[2, 6, 78, 26], Operations: [] Exploring Operation: 26/2=13, Resulting Numbers: [6, 78, 13] Generated Node #2: [6, 78, 13] from Operation: 26/2=13 Current State: 85:[6, 78, 13], Operations: ['26/2=13'] Exploring Operation: 78-6=72, Resulting Numbers: [13, 72] Generated Node #3: [13, 72] from Operation: 78-6=72 Current State: 85:[13, 72], Operations: ['26/2=13', '78-6=72'] Exploring Operation: 13+72=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[2, 6, 78, 26], Operations: [] Exploring Operation: 6+78=84, Resulting Numbers: [2, 26, 84] Generated Node #0,0: 85:[2, 26, 84] Operation: 6+78=84 Exploring Operation: 78/26=3, Resulting Numbers: [2, 6, 3] Generated Node #0,1: 85:[2, 6, 3] Operation: 78/26=3 Exploring Operation: 26/2=13, Resulting Numbers: [6, 78, 13] Generated Node #0,2: 85:[6, 78, 13] Operation: 26/2=13 Moving to Node #0,1 Current State: 85:[2, 6, 3], Operations: ['78/26=3'] Exploring Operation: 6-2=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 85:[3, 4] Operation: 6-2=4 Exploring Operation: 2*3=6, Resulting Numbers: [6, 6] Generated Node #0,1,1: 85:[6, 6] Operation: 2*3=6 Exploring Operation: 2+3=5, Resulting Numbers: [6, 5] Generated Node #0,1,2: 85:[6, 5] Operation: 2+3=5 Moving to Node #0,2 Current State: 85:[6, 78, 13], Operations: ['26/2=13'] Exploring Operation: 6+78=84, Resulting Numbers: [13, 84] Generated Node #0,2,0: 85:[13, 84] Operation: 6+78=84 Exploring Operation: 78/13=6, Resulting Numbers: [6, 6] Generated Node #0,2,1: 85:[6, 6] Operation: 78/13=6 Exploring Operation: 78+13=91, Resulting Numbers: [6, 91] Generated Node #0,2,2: 85:[6, 91] Operation: 78+13=91 Moving to Node #0,0 Current State: 85:[2, 26, 84], Operations: ['6+78=84'] Exploring Operation: 2+84=86, Resulting Numbers: [26, 86] Generated Node #0,0,0: 85:[26, 86] Operation: 2+84=86 Exploring Operation: 26/2=13, Resulting Numbers: [84, 13] Generated Node #0,0,1: 85:[84, 13] Operation: 26/2=13 Exploring Operation: 26-2=24, Resulting Numbers: [84, 24] Generated Node #0,0,2: 85:[84, 24] Operation: 26-2=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 85:[84, 13], Operations: ['6+78=84', '26/2=13'] Exploring Operation: 84*13=1092, Resulting Numbers: [1092] 1092,85 unequal: No Solution Exploring Operation: 84+13=97, Resulting Numbers: [97] 97,85 unequal: No Solution Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 85:[84, 24], Operations: ['6+78=84', '26-2=24'] Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 84+24=108, Resulting Numbers: [108] 108,85 unequal: No Solution Exploring Operation: 84*24=2016, Resulting Numbers: [2016] 2016,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[26, 86], Operations: ['6+78=84', '2+84=86'] Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,85 unequal: No Solution Exploring Operation: 26*86=2236, Resulting Numbers: [2236] 2236,85 unequal: No Solution Exploring Operation: 26+86=112, Resulting Numbers: [112] 112,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 85:[6, 5], Operations: ['78/26=3', '2+3=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,85 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[6, 6], Operations: ['78/26=3', '2*3=6'] Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[6, 6], Operations: ['26/2=13', '78/13=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,85 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[3, 4], Operations: ['78/26=3', '6-2=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,85 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[13, 84], Operations: ['26/2=13', '6+78=84'] Exploring Operation: 13+84=97, Resulting Numbers: [97] 97,85 unequal: No Solution Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,85 unequal: No Solution Exploring Operation: 13*84=1092, Resulting Numbers: [1092] 1092,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[6, 91], Operations: ['26/2=13', '78+13=91'] Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[2, 6, 78, 26], Operations: [] Exploring Operation: 26/2=13, Resulting Numbers: [6, 78, 13] Generated Node #0,2: 85:[6, 78, 13] Operation: 26/2=13 Moving to Node #0,2 Current State: 85:[6, 78, 13], Operations: ['26/2=13'] Exploring Operation: 78+13=91, Resulting Numbers: [6, 91] Generated Node #0,2,2: 85:[6, 91] Operation: 78+13=91 Moving to Node #0,2,2 Current State: 85:[6, 91], Operations: ['26/2=13', '78+13=91'] Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
0.96441
hs_3
sum_heuristic
[ 2, 7, 92, 12 ]
47
[ "92-12=80", "80/2=40", "7+40=47" ]
Current State: 47:[2, 7, 92, 12], Operations: [] Exploring Operation: 92-12=80, Resulting Numbers: [2, 7, 80] Generated Node #2: [2, 7, 80] from Operation: 92-12=80 Current State: 47:[2, 7, 80], Operations: ['92-12=80'] Exploring Operation: 80/2=40, Resulting Numbers: [7, 40] Generated Node #3: [7, 40] from Operation: 80/2=40 Current State: 47:[7, 40], Operations: ['92-12=80', '80/2=40'] Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[2, 7, 92, 12], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [7, 12, 46] Generated Node #0,0: 47:[7, 12, 46] Operation: 92/2=46 Moving to Node #0,0 Current State: 47:[7, 12, 46], Operations: ['92/2=46'] Exploring Operation: 7+12=19, Resulting Numbers: [46, 19] Generated Node #0,0,0: 47:[46, 19] Operation: 7+12=19 Moving to Node #0,0,0 Current State: 47:[46, 19], Operations: ['92/2=46', '7+12=19'] Exploring Operation: 46+19=65, Resulting Numbers: [65] 65,47 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 4, 28, 45, 60 ]
81
[ "28-4=24", "45+60=105", "105-24=81" ]
Current State: 81:[4, 28, 45, 60], Operations: [] Exploring Operation: 28-4=24, Resulting Numbers: [45, 60, 24] Generated Node #2: [45, 60, 24] from Operation: 28-4=24 Current State: 81:[45, 60, 24], Operations: ['28-4=24'] Exploring Operation: 45+60=105, Resulting Numbers: [24, 105] Generated Node #3: [24, 105] from Operation: 45+60=105 Current State: 81:[24, 105], Operations: ['28-4=24', '45+60=105'] Exploring Operation: 105-24=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[4, 28, 45, 60], Operations: [] Exploring Operation: 60-28=32, Resulting Numbers: [4, 45, 32] Generated Node #0,0: 81:[4, 45, 32] Operation: 60-28=32 Exploring Operation: 60/4=15, Resulting Numbers: [28, 45, 15] Generated Node #0,1: 81:[28, 45, 15] Operation: 60/4=15 Exploring Operation: 60-45=15, Resulting Numbers: [4, 28, 15] Generated Node #0,2: 81:[4, 28, 15] Operation: 60-45=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[4, 28, 15], Operations: ['60-45=15'] Exploring Operation: 28/4=7, Resulting Numbers: [15, 7] Generated Node #0,2,0: 81:[15, 7] Operation: 28/4=7 Exploring Operation: 28-15=13, Resulting Numbers: [4, 13] Generated Node #0,2,1: 81:[4, 13] Operation: 28-15=13 Exploring Operation: 15-4=11, Resulting Numbers: [28, 11] Generated Node #0,2,2: 81:[28, 11] Operation: 15-4=11 Moving to Node #0,2,2 Current State: 81:[28, 11], Operations: ['60-45=15', '15-4=11'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 28*11=308, Resulting Numbers: [308] 308,81 unequal: No Solution Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[4, 13], Operations: ['60-45=15', '28-15=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,81 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[15, 7], Operations: ['60-45=15', '28/4=7'] Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,81 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,81 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[4, 45, 32], Operations: ['60-28=32'] Exploring Operation: 45-4=41, Resulting Numbers: [32, 41] Generated Node #0,0,0: 81:[32, 41] Operation: 45-4=41 Exploring Operation: 45+32=77, Resulting Numbers: [4, 77] Generated Node #0,0,1: 81:[4, 77] Operation: 45+32=77 Exploring Operation: 45-32=13, Resulting Numbers: [4, 13] Generated Node #0,0,2: 81:[4, 13] Operation: 45-32=13 Moving to Node #0,0,1 Current State: 81:[4, 77], Operations: ['60-28=32', '45+32=77'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,81 unequal: No Solution Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[4, 28, 45, 60], Operations: [] Exploring Operation: 60-28=32, Resulting Numbers: [4, 45, 32] Generated Node #0,0: 81:[4, 45, 32] Operation: 60-28=32 Moving to Node #0,0 Current State: 81:[4, 45, 32], Operations: ['60-28=32'] Exploring Operation: 45+32=77, Resulting Numbers: [4, 77] Generated Node #0,0,1: 81:[4, 77] Operation: 45+32=77 Moving to Node #0,0,1 Current State: 81:[4, 77], Operations: ['60-28=32', '45+32=77'] Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 7, 53, 43, 50 ]
22
[ "53-50=3", "7*3=21", "43-21=22" ]
Current State: 22:[7, 53, 43, 50], Operations: [] Exploring Operation: 53-50=3, Resulting Numbers: [7, 43, 3] Generated Node #2: [7, 43, 3] from Operation: 53-50=3 Current State: 22:[7, 43, 3], Operations: ['53-50=3'] Exploring Operation: 7*3=21, Resulting Numbers: [43, 21] Generated Node #3: [43, 21] from Operation: 7*3=21 Current State: 22:[43, 21], Operations: ['53-50=3', '7*3=21'] Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[7, 53, 43, 50], Operations: [] Exploring Operation: 53-43=10, Resulting Numbers: [7, 50, 10] Generated Node #0,0: 22:[7, 50, 10] Operation: 53-43=10 Exploring Operation: 50-43=7, Resulting Numbers: [7, 53, 7] Generated Node #0,1: 22:[7, 53, 7] Operation: 50-43=7 Exploring Operation: 53-50=3, Resulting Numbers: [7, 43, 3] Generated Node #0,2: 22:[7, 43, 3] Operation: 53-50=3 Exploring Operation: 53-7=46, Resulting Numbers: [43, 50, 46] Generated Node #0,3: 22:[43, 50, 46] Operation: 53-7=46 Moving to Node #0,2 Current State: 22:[7, 43, 3], Operations: ['53-50=3'] Exploring Operation: 43-3=40, Resulting Numbers: [7, 40] Generated Node #0,2,0: 22:[7, 40] Operation: 43-3=40 Exploring Operation: 7+3=10, Resulting Numbers: [43, 10] Generated Node #0,2,1: 22:[43, 10] Operation: 7+3=10 Exploring Operation: 43-7=36, Resulting Numbers: [3, 36] Generated Node #0,2,2: 22:[3, 36] Operation: 43-7=36 Exploring Operation: 7*3=21, Resulting Numbers: [43, 21] Generated Node #0,2,3: 22:[43, 21] Operation: 7*3=21 Moving to Node #0,0 Current State: 22:[7, 50, 10], Operations: ['53-43=10'] Exploring Operation: 50-7=43, Resulting Numbers: [10, 43] Generated Node #0,0,0: 22:[10, 43] Operation: 50-7=43 Exploring Operation: 10-7=3, Resulting Numbers: [50, 3] Generated Node #0,0,1: 22:[50, 3] Operation: 10-7=3 Exploring Operation: 50-10=40, Resulting Numbers: [7, 40] Generated Node #0,0,2: 22:[7, 40] Operation: 50-10=40 Exploring Operation: 50/10=5, Resulting Numbers: [7, 5] Generated Node #0,0,3: 22:[7, 5] Operation: 50/10=5 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 22:[7, 5], Operations: ['53-43=10', '50/10=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[10, 43], Operations: ['53-43=10', '50-7=43'] Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,22 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 22:[7, 40], Operations: ['53-43=10', '50-10=40'] Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,22 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[50, 3], Operations: ['53-43=10', '10-7=3'] Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,22 unequal: No Solution Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 22:[7, 53, 7], Operations: ['50-43=7'] Exploring Operation: 7-7=0, Resulting Numbers: [53, 0] Generated Node #0,1,0: 22:[53, 0] Operation: 7-7=0 Exploring Operation: 7/7=1, Resulting Numbers: [53, 1] Generated Node #0,1,1: 22:[53, 1] Operation: 7/7=1 Exploring Operation: 53-7=46, Resulting Numbers: [7, 46] Generated Node #0,1,2: 22:[7, 46] Operation: 53-7=46 Exploring Operation: 53-7=46, Resulting Numbers: [7, 46] Generated Node #0,1,3: 22:[7, 46] Operation: 53-7=46 Moving to Node #0,3 Current State: 22:[43, 50, 46], Operations: ['53-7=46'] Exploring Operation: 46-43=3, Resulting Numbers: [50, 3] Generated Node #0,3,0: 22:[50, 3] Operation: 46-43=3 Exploring Operation: 43+50=93, Resulting Numbers: [46, 93] Generated Node #0,3,1: 22:[46, 93] Operation: 43+50=93 Exploring Operation: 50-43=7, Resulting Numbers: [46, 7] Generated Node #0,3,2: 22:[46, 7] Operation: 50-43=7 Exploring Operation: 50-46=4, Resulting Numbers: [43, 4] Generated Node #0,3,3: 22:[43, 4] Operation: 50-46=4 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 22:[43, 4], Operations: ['53-7=46', '50-46=4'] Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,22 unequal: No Solution Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,22 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 22:[46, 7], Operations: ['53-7=46', '50-43=7'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 46*7=322, Resulting Numbers: [322] 322,22 unequal: No Solution Exploring Operation: 46+7=53, Resulting Numbers: [53] 53,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 22:[50, 3], Operations: ['53-7=46', '46-43=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,22 unequal: No Solution Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 22:[46, 93], Operations: ['53-7=46', '43+50=93'] Exploring Operation: 93-46=47, Resulting Numbers: [47] 47,22 unequal: No Solution Exploring Operation: 46+93=139, Resulting Numbers: [139] 139,22 unequal: No Solution Exploring Operation: 46*93=4278, Resulting Numbers: [4278] 4278,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 22:[3, 36], Operations: ['53-50=3', '43-7=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,22 unequal: No Solution Moving to Node #0,2,1 Current State: 22:[43, 10], Operations: ['53-50=3', '7+3=10'] Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,22 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[7, 40], Operations: ['53-50=3', '43-3=40'] Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,22 unequal: No Solution Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,22 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,22 unequal: No Solution Moving to Node #0,2,3 Current State: 22:[43, 21], Operations: ['53-50=3', '7*3=21'] Exploring Operation: 43*21=903, Resulting Numbers: [903] 903,22 unequal: No Solution Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,22 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[7, 53, 43, 50], Operations: [] Exploring Operation: 53-50=3, Resulting Numbers: [7, 43, 3] Generated Node #0,2: 22:[7, 43, 3] Operation: 53-50=3 Moving to Node #0,2 Current State: 22:[7, 43, 3], Operations: ['53-50=3'] Exploring Operation: 7*3=21, Resulting Numbers: [43, 21] Generated Node #0,2,3: 22:[43, 21] Operation: 7*3=21 Moving to Node #0,2,3 Current State: 22:[43, 21], Operations: ['53-50=3', '7*3=21'] Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.947049
hs_4
sum_heuristic
[ 42, 59, 45, 8 ]
70
[ "59-42=17", "45+8=53", "17+53=70" ]
Current State: 70:[42, 59, 45, 8], Operations: [] Exploring Operation: 59-42=17, Resulting Numbers: [45, 8, 17] Generated Node #2: [45, 8, 17] from Operation: 59-42=17 Current State: 70:[45, 8, 17], Operations: ['59-42=17'] Exploring Operation: 45+8=53, Resulting Numbers: [17, 53] Generated Node #3: [17, 53] from Operation: 45+8=53 Current State: 70:[17, 53], Operations: ['59-42=17', '45+8=53'] Exploring Operation: 17+53=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[42, 59, 45, 8], Operations: [] Exploring Operation: 45-42=3, Resulting Numbers: [59, 8, 3] Generated Node #0,0: 70:[59, 8, 3] Operation: 45-42=3 Exploring Operation: 59-42=17, Resulting Numbers: [45, 8, 17] Generated Node #0,1: 70:[45, 8, 17] Operation: 59-42=17 Exploring Operation: 59+8=67, Resulting Numbers: [42, 45, 67] Generated Node #0,2: 70:[42, 45, 67] Operation: 59+8=67 Exploring Operation: 59-45=14, Resulting Numbers: [42, 8, 14] Generated Node #0,3: 70:[42, 8, 14] Operation: 59-45=14 Moving to Node #0,3 Current State: 70:[42, 8, 14], Operations: ['59-45=14'] Exploring Operation: 42-14=28, Resulting Numbers: [8, 28] Generated Node #0,3,0: 70:[8, 28] Operation: 42-14=28 Exploring Operation: 14-8=6, Resulting Numbers: [42, 6] Generated Node #0,3,1: 70:[42, 6] Operation: 14-8=6 Exploring Operation: 42-8=34, Resulting Numbers: [14, 34] Generated Node #0,3,2: 70:[14, 34] Operation: 42-8=34 Exploring Operation: 42/14=3, Resulting Numbers: [8, 3] Generated Node #0,3,3: 70:[8, 3] Operation: 42/14=3 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[14, 34], Operations: ['59-45=14', '42-8=34'] Exploring Operation: 14*34=476, Resulting Numbers: [476] 476,70 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,70 unequal: No Solution No 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: 70:[8, 3], Operations: ['59-45=14', '42/14=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,70 unequal: No Solution No 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: 70:[8, 28], Operations: ['59-45=14', '42-14=28'] Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,70 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,70 unequal: No Solution No 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: 70:[42, 6], Operations: ['59-45=14', '14-8=6'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,70 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,70 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: 70:[59, 8, 3], Operations: ['45-42=3'] Exploring Operation: 59+8=67, Resulting Numbers: [3, 67] Generated Node #0,0,0: 70:[3, 67] Operation: 59+8=67 Exploring Operation: 8-3=5, Resulting Numbers: [59, 5] Generated Node #0,0,1: 70:[59, 5] Operation: 8-3=5 Exploring Operation: 59+3=62, Resulting Numbers: [8, 62] Generated Node #0,0,2: 70:[8, 62] Operation: 59+3=62 Exploring Operation: 8+3=11, Resulting Numbers: [59, 11] Generated Node #0,0,3: 70:[59, 11] Operation: 8+3=11 Moving to Node #0,1 Current State: 70:[45, 8, 17], Operations: ['59-42=17'] Exploring Operation: 45-17=28, Resulting Numbers: [8, 28] Generated Node #0,1,0: 70:[8, 28] Operation: 45-17=28 Exploring Operation: 45-8=37, Resulting Numbers: [17, 37] Generated Node #0,1,1: 70:[17, 37] Operation: 45-8=37 Exploring Operation: 45+17=62, Resulting Numbers: [8, 62] Generated Node #0,1,2: 70:[8, 62] Operation: 45+17=62 Exploring Operation: 17-8=9, Resulting Numbers: [45, 9] Generated Node #0,1,3: 70:[45, 9] Operation: 17-8=9 Moving to Node #0,2 Current State: 70:[42, 45, 67], Operations: ['59+8=67'] Exploring Operation: 45-42=3, Resulting Numbers: [67, 3] Generated Node #0,2,0: 70:[67, 3] Operation: 45-42=3 Exploring Operation: 42+45=87, Resulting Numbers: [67, 87] Generated Node #0,2,1: 70:[67, 87] Operation: 42+45=87 Exploring Operation: 67-45=22, Resulting Numbers: [42, 22] Generated Node #0,2,2: 70:[42, 22] Operation: 67-45=22 Exploring Operation: 67-42=25, Resulting Numbers: [45, 25] Generated Node #0,2,3: 70:[45, 25] Operation: 67-42=25 Moving to Node #0,0,0 Current State: 70:[3, 67], Operations: ['45-42=3', '59+8=67'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,70 unequal: No Solution Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[42, 59, 45, 8], Operations: [] Exploring Operation: 45-42=3, Resulting Numbers: [59, 8, 3] Generated Node #0,0: 70:[59, 8, 3] Operation: 45-42=3 Moving to Node #0,0 Current State: 70:[59, 8, 3], Operations: ['45-42=3'] Exploring Operation: 59+8=67, Resulting Numbers: [3, 67] Generated Node #0,0,0: 70:[3, 67] Operation: 59+8=67 Moving to Node #0,0,0 Current State: 70:[3, 67], Operations: ['45-42=3', '59+8=67'] Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.966146
hs_4
mult_heuristic
[ 1, 34, 88, 86 ]
36
[ "1*34=34", "88-86=2", "34+2=36" ]
Current State: 36:[1, 34, 88, 86], Operations: [] Exploring Operation: 1*34=34, Resulting Numbers: [88, 86, 34] Generated Node #2: [88, 86, 34] from Operation: 1*34=34 Current State: 36:[88, 86, 34], Operations: ['1*34=34'] Exploring Operation: 88-86=2, Resulting Numbers: [34, 2] Generated Node #3: [34, 2] from Operation: 88-86=2 Current State: 36:[34, 2], Operations: ['1*34=34', '88-86=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[1, 34, 88, 86], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [1, 34, 2] Generated Node #0,0: 36:[1, 34, 2] Operation: 88-86=2 Exploring Operation: 86-34=52, Resulting Numbers: [1, 88, 52] Generated Node #0,1: 36:[1, 88, 52] Operation: 86-34=52 Exploring Operation: 1+34=35, Resulting Numbers: [88, 86, 35] Generated Node #0,2: 36:[88, 86, 35] Operation: 1+34=35 Exploring Operation: 88-34=54, Resulting Numbers: [1, 86, 54] Generated Node #0,3: 36:[1, 86, 54] Operation: 88-34=54 Exploring Operation: 88-1=87, Resulting Numbers: [34, 86, 87] Generated Node #0,4: 36:[34, 86, 87] Operation: 88-1=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[1, 34, 2], Operations: ['88-86=2'] Exploring Operation: 34+2=36, Resulting Numbers: [1, 36] Generated Node #0,0,0: 36:[1, 36] Operation: 34+2=36 Exploring Operation: 34/1=34, Resulting Numbers: [2, 34] Generated Node #0,0,1: 36:[2, 34] Operation: 34/1=34 Exploring Operation: 1+2=3, Resulting Numbers: [34, 3] Generated Node #0,0,2: 36:[34, 3] Operation: 1+2=3 Exploring Operation: 1*34=34, Resulting Numbers: [2, 34] Generated Node #0,0,3: 36:[2, 34] Operation: 1*34=34 Exploring Operation: 1+34=35, Resulting Numbers: [2, 35] Generated Node #0,0,4: 36:[2, 35] Operation: 1+34=35 Moving to Node #0,0,0 Current State: 36:[1, 36], Operations: ['88-86=2', '34+2=36'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[1, 34, 88, 86], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [1, 34, 2] Generated Node #0,0: 36:[1, 34, 2] Operation: 88-86=2 Moving to Node #0,0 Current State: 36:[1, 34, 2], Operations: ['88-86=2'] Exploring Operation: 34+2=36, Resulting Numbers: [1, 36] Generated Node #0,0,0: 36:[1, 36] Operation: 34+2=36 Moving to Node #0,0,0 Current State: 36:[1, 36], Operations: ['88-86=2', '34+2=36'] Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 69, 75, 50, 4 ]
60
[ "75-69=6", "50+4=54", "6+54=60" ]
Current State: 60:[69, 75, 50, 4], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [50, 4, 6] Generated Node #2: [50, 4, 6] from Operation: 75-69=6 Current State: 60:[50, 4, 6], Operations: ['75-69=6'] Exploring Operation: 50+4=54, Resulting Numbers: [6, 54] Generated Node #3: [6, 54] from Operation: 50+4=54 Current State: 60:[6, 54], Operations: ['75-69=6', '50+4=54'] Exploring Operation: 6+54=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[69, 75, 50, 4], Operations: [] Exploring Operation: 75-50=25, Resulting Numbers: [69, 4, 25] Generated Node #0,0: 60:[69, 4, 25] Operation: 75-50=25 Exploring Operation: 75-69=6, Resulting Numbers: [50, 4, 6] Generated Node #0,1: 60:[50, 4, 6] Operation: 75-69=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[50, 4, 6], Operations: ['75-69=6'] Exploring Operation: 50+4=54, Resulting Numbers: [6, 54] Generated Node #0,1,0: 60:[6, 54] Operation: 50+4=54 Exploring Operation: 50+6=56, Resulting Numbers: [4, 56] Generated Node #0,1,1: 60:[4, 56] Operation: 50+6=56 Moving to Node #0,1,1 Current State: 60:[4, 56], Operations: ['75-69=6', '50+6=56'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[69, 75, 50, 4], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [50, 4, 6] Generated Node #0,1: 60:[50, 4, 6] Operation: 75-69=6 Moving to Node #0,1 Current State: 60:[50, 4, 6], Operations: ['75-69=6'] Exploring Operation: 50+6=56, Resulting Numbers: [4, 56] Generated Node #0,1,1: 60:[4, 56] Operation: 50+6=56 Moving to Node #0,1,1 Current State: 60:[4, 56], Operations: ['75-69=6', '50+6=56'] Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 59, 50, 19, 52 ]
97
[ "52-50=2", "19*2=38", "59+38=97" ]
Current State: 97:[59, 50, 19, 52], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [59, 19, 2] Generated Node #2: [59, 19, 2] from Operation: 52-50=2 Current State: 97:[59, 19, 2], Operations: ['52-50=2'] Exploring Operation: 19*2=38, Resulting Numbers: [59, 38] Generated Node #3: [59, 38] from Operation: 19*2=38 Current State: 97:[59, 38], Operations: ['52-50=2', '19*2=38'] Exploring Operation: 59+38=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[59, 50, 19, 52], Operations: [] Exploring Operation: 50+19=69, Resulting Numbers: [59, 52, 69] Generated Node #0,0: 97:[59, 52, 69] Operation: 50+19=69 Exploring Operation: 50+52=102, Resulting Numbers: [59, 19, 102] Generated Node #0,1: 97:[59, 19, 102] Operation: 50+52=102 Exploring Operation: 59+19=78, Resulting Numbers: [50, 52, 78] Generated Node #0,2: 97:[50, 52, 78] Operation: 59+19=78 Exploring Operation: 19+52=71, Resulting Numbers: [59, 50, 71] Generated Node #0,3: 97:[59, 50, 71] Operation: 19+52=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[59, 52, 69], Operations: ['50+19=69'] Exploring Operation: 59-52=7, Resulting Numbers: [69, 7] Generated Node #0,0,0: 97:[69, 7] Operation: 59-52=7 Exploring Operation: 59+69=128, Resulting Numbers: [52, 128] Generated Node #0,0,1: 97:[52, 128] Operation: 59+69=128 Exploring Operation: 52+69=121, Resulting Numbers: [59, 121] Generated Node #0,0,2: 97:[59, 121] Operation: 52+69=121 Exploring Operation: 59+52=111, Resulting Numbers: [69, 111] Generated Node #0,0,3: 97:[69, 111] Operation: 59+52=111 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 97:[69, 111], Operations: ['50+19=69', '59+52=111'] Exploring Operation: 69*111=7659, Resulting Numbers: [7659] 7659,97 unequal: No Solution Exploring Operation: 69+111=180, Resulting Numbers: [180] 180,97 unequal: No Solution Exploring Operation: 111-69=42, Resulting Numbers: [42] 42,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[59, 121], Operations: ['50+19=69', '52+69=121'] Exploring Operation: 59*121=7139, Resulting Numbers: [7139] 7139,97 unequal: No Solution Exploring Operation: 121-59=62, Resulting Numbers: [62] 62,97 unequal: No Solution Exploring Operation: 59+121=180, Resulting Numbers: [180] 180,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[52, 128], Operations: ['50+19=69', '59+69=128'] Exploring Operation: 52+128=180, Resulting Numbers: [180] 180,97 unequal: No Solution Exploring Operation: 52*128=6656, Resulting Numbers: [6656] 6656,97 unequal: No Solution Exploring Operation: 128-52=76, Resulting Numbers: [76] 76,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[69, 7], Operations: ['50+19=69', '59-52=7'] Exploring Operation: 69+7=76, Resulting Numbers: [76] 76,97 unequal: No Solution Exploring Operation: 69*7=483, Resulting Numbers: [483] 483,97 unequal: No Solution Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[50, 52, 78], Operations: ['59+19=78'] Exploring Operation: 50+52=102, Resulting Numbers: [78, 102] Generated Node #0,2,0: 97:[78, 102] Operation: 50+52=102 Exploring Operation: 52+78=130, Resulting Numbers: [50, 130] Generated Node #0,2,1: 97:[50, 130] Operation: 52+78=130 Exploring Operation: 50+78=128, Resulting Numbers: [52, 128] Generated Node #0,2,2: 97:[52, 128] Operation: 50+78=128 Exploring Operation: 52-50=2, Resulting Numbers: [78, 2] Generated Node #0,2,3: 97:[78, 2] Operation: 52-50=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[78, 102], Operations: ['59+19=78', '50+52=102'] Exploring Operation: 78+102=180, Resulting Numbers: [180] 180,97 unequal: No Solution Exploring Operation: 102-78=24, Resulting Numbers: [24] 24,97 unequal: No Solution Exploring Operation: 78*102=7956, Resulting Numbers: [7956] 7956,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[52, 128], Operations: ['59+19=78', '50+78=128'] Exploring Operation: 52*128=6656, Resulting Numbers: [6656] 6656,97 unequal: No Solution Exploring Operation: 128-52=76, Resulting Numbers: [76] 76,97 unequal: No Solution Exploring Operation: 52+128=180, Resulting Numbers: [180] 180,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[50, 130], Operations: ['59+19=78', '52+78=130'] Exploring Operation: 130-50=80, Resulting Numbers: [80] 80,97 unequal: No Solution Exploring Operation: 50+130=180, Resulting Numbers: [180] 180,97 unequal: No Solution Exploring Operation: 50*130=6500, Resulting Numbers: [6500] 6500,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 97:[78, 2], Operations: ['59+19=78', '52-50=2'] Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,97 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,97 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,97 unequal: No Solution Exploring Operation: 78*2=156, Resulting Numbers: [156] 156,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[59, 50, 71], Operations: ['19+52=71'] Exploring Operation: 50+71=121, Resulting Numbers: [59, 121] Generated Node #0,3,0: 97:[59, 121] Operation: 50+71=121 Exploring Operation: 59-50=9, Resulting Numbers: [71, 9] Generated Node #0,3,1: 97:[71, 9] Operation: 59-50=9 Exploring Operation: 59+71=130, Resulting Numbers: [50, 130] Generated Node #0,3,2: 97:[50, 130] Operation: 59+71=130 Exploring Operation: 59+50=109, Resulting Numbers: [71, 109] Generated Node #0,3,3: 97:[71, 109] Operation: 59+50=109 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 97:[71, 109], Operations: ['19+52=71', '59+50=109'] Exploring Operation: 71+109=180, Resulting Numbers: [180] 180,97 unequal: No Solution Exploring Operation: 109-71=38, Resulting Numbers: [38] 38,97 unequal: No Solution Exploring Operation: 71*109=7739, Resulting Numbers: [7739] 7739,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 97:[59, 121], Operations: ['19+52=71', '50+71=121'] Exploring Operation: 59+121=180, Resulting Numbers: [180] 180,97 unequal: No Solution Exploring Operation: 59*121=7139, Resulting Numbers: [7139] 7139,97 unequal: No Solution Exploring Operation: 121-59=62, Resulting Numbers: [62] 62,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 97:[50, 130], Operations: ['19+52=71', '59+71=130'] Exploring Operation: 50*130=6500, Resulting Numbers: [6500] 6500,97 unequal: No Solution Exploring Operation: 130-50=80, Resulting Numbers: [80] 80,97 unequal: No Solution Exploring Operation: 50+130=180, Resulting Numbers: [180] 180,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 97:[71, 9], Operations: ['19+52=71', '59-50=9'] Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,97 unequal: No Solution Exploring Operation: 71+9=80, Resulting Numbers: [80] 80,97 unequal: No Solution Exploring Operation: 71*9=639, Resulting Numbers: [639] 639,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[59, 19, 102], Operations: ['50+52=102'] Exploring Operation: 102-19=83, Resulting Numbers: [59, 83] Generated Node #0,1,0: 97:[59, 83] Operation: 102-19=83 Exploring Operation: 59-19=40, Resulting Numbers: [102, 40] Generated Node #0,1,1: 97:[102, 40] Operation: 59-19=40 Exploring Operation: 59+19=78, Resulting Numbers: [102, 78] Generated Node #0,1,2: 97:[102, 78] Operation: 59+19=78 Exploring Operation: 19+102=121, Resulting Numbers: [59, 121] Generated Node #0,1,3: 97:[59, 121] Operation: 19+102=121 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[102, 78], Operations: ['50+52=102', '59+19=78'] Exploring Operation: 102*78=7956, Resulting Numbers: [7956] 7956,97 unequal: No Solution Exploring Operation: 102+78=180, Resulting Numbers: [180] 180,97 unequal: No Solution Exploring Operation: 102-78=24, Resulting Numbers: [24] 24,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[59, 83], Operations: ['50+52=102', '102-19=83'] Exploring Operation: 83-59=24, Resulting Numbers: [24] 24,97 unequal: No Solution Exploring Operation: 59+83=142, Resulting Numbers: [142] 142,97 unequal: No Solution Exploring Operation: 59*83=4897, Resulting Numbers: [4897] 4897,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[102, 40], Operations: ['50+52=102', '59-19=40'] Exploring Operation: 102*40=4080, Resulting Numbers: [4080] 4080,97 unequal: No Solution Exploring Operation: 102-40=62, Resulting Numbers: [62] 62,97 unequal: No Solution Exploring Operation: 102+40=142, Resulting Numbers: [142] 142,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 97:[59, 121], Operations: ['50+52=102', '19+102=121'] Exploring Operation: 59*121=7139, Resulting Numbers: [7139] 7139,97 unequal: No Solution Exploring Operation: 121-59=62, Resulting Numbers: [62] 62,97 unequal: No Solution Exploring Operation: 59+121=180, Resulting Numbers: [180] 180,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 66, 56, 89, 21 ]
12
[ "66+56=122", "89+21=110", "122-110=12" ]
Current State: 12:[66, 56, 89, 21], Operations: [] Exploring Operation: 66+56=122, Resulting Numbers: [89, 21, 122] Generated Node #2: [89, 21, 122] from Operation: 66+56=122 Current State: 12:[89, 21, 122], Operations: ['66+56=122'] Exploring Operation: 89+21=110, Resulting Numbers: [122, 110] Generated Node #3: [122, 110] from Operation: 89+21=110 Current State: 12:[122, 110], Operations: ['66+56=122', '89+21=110'] Exploring Operation: 122-110=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[66, 56, 89, 21], Operations: [] Exploring Operation: 89-56=33, Resulting Numbers: [66, 21, 33] Generated Node #0,0: 12:[66, 21, 33] Operation: 89-56=33 Exploring Operation: 89-66=23, Resulting Numbers: [56, 21, 23] Generated Node #0,1: 12:[56, 21, 23] Operation: 89-66=23 Moving to Node #0,1 Current State: 12:[56, 21, 23], Operations: ['89-66=23'] Exploring Operation: 56-21=35, Resulting Numbers: [23, 35] Generated Node #0,1,0: 12:[23, 35] Operation: 56-21=35 Exploring Operation: 56-23=33, Resulting Numbers: [21, 33] Generated Node #0,1,1: 12:[21, 33] Operation: 56-23=33 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[21, 33], Operations: ['89-66=23', '56-23=33'] Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[66, 56, 89, 21], Operations: [] Exploring Operation: 89-66=23, Resulting Numbers: [56, 21, 23] Generated Node #0,1: 12:[56, 21, 23] Operation: 89-66=23 Moving to Node #0,1 Current State: 12:[56, 21, 23], Operations: ['89-66=23'] Exploring Operation: 56-23=33, Resulting Numbers: [21, 33] Generated Node #0,1,1: 12:[21, 33] Operation: 56-23=33 Moving to Node #0,1,1 Current State: 12:[21, 33], Operations: ['89-66=23', '56-23=33'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 93, 39, 39, 99 ]
13
[ "99-93=6", "39+39=78", "78/6=13" ]
Current State: 13:[93, 39, 39, 99], Operations: [] Exploring Operation: 99-93=6, Resulting Numbers: [39, 39, 6] Generated Node #2: [39, 39, 6] from Operation: 99-93=6 Current State: 13:[39, 39, 6], Operations: ['99-93=6'] Exploring Operation: 39+39=78, Resulting Numbers: [6, 78] Generated Node #3: [6, 78] from Operation: 39+39=78 Current State: 13:[6, 78], Operations: ['99-93=6', '39+39=78'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[93, 39, 39, 99], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [93, 39, 60] Generated Node #0,0: 13:[93, 39, 60] Operation: 99-39=60 Exploring Operation: 93-39=54, Resulting Numbers: [39, 99, 54] Generated Node #0,1: 13:[39, 99, 54] Operation: 93-39=54 Exploring Operation: 99-39=60, Resulting Numbers: [93, 39, 60] Generated Node #0,2: 13:[93, 39, 60] Operation: 99-39=60 Exploring Operation: 93-39=54, Resulting Numbers: [39, 99, 54] Generated Node #0,3: 13:[39, 99, 54] Operation: 93-39=54 Exploring Operation: 99-93=6, Resulting Numbers: [39, 39, 6] Generated Node #0,4: 13:[39, 39, 6] Operation: 99-93=6 Start Sub Search at level 1: Moving to Node #0,4 Current State: 13:[39, 39, 6], Operations: ['99-93=6'] Exploring Operation: 39-6=33, Resulting Numbers: [39, 33] Generated Node #0,4,0: 13:[39, 33] Operation: 39-6=33 Exploring Operation: 39/39=1, Resulting Numbers: [6, 1] Generated Node #0,4,1: 13:[6, 1] Operation: 39/39=1 Exploring Operation: 39-6=33, Resulting Numbers: [39, 33] Generated Node #0,4,2: 13:[39, 33] Operation: 39-6=33 Exploring Operation: 39-39=0, Resulting Numbers: [6, 0] Generated Node #0,4,3: 13:[6, 0] Operation: 39-39=0 Exploring Operation: 39+6=45, Resulting Numbers: [39, 45] Generated Node #0,4,4: 13:[39, 45] Operation: 39+6=45 Moving to Node #0,4,1 Current State: 13:[6, 1], Operations: ['99-93=6', '39/39=1'] Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,13 unequal: No Solution Moving to Node #0,4,3 Current State: 13:[6, 0], Operations: ['99-93=6', '39-39=0'] Exploring Operation: 6-0=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 6*0=0, Resulting Numbers: [0] 0,13 unequal: No Solution Exploring Operation: 6+0=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,4,0 Current State: 13:[39, 33], Operations: ['99-93=6', '39-6=33'] Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,13 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,4,2 Current State: 13:[39, 33], Operations: ['99-93=6', '39-6=33'] Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,13 unequal: No Solution Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,4,4 Current State: 13:[39, 45], Operations: ['99-93=6', '39+6=45'] Exploring Operation: 39+45=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 39*45=1755, Resulting Numbers: [1755] 1755,13 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[93, 39, 60], Operations: ['99-39=60'] Exploring Operation: 93-60=33, Resulting Numbers: [39, 33] Generated Node #0,0,0: 13:[39, 33] Operation: 93-60=33 Exploring Operation: 93+39=132, Resulting Numbers: [60, 132] Generated Node #0,0,1: 13:[60, 132] Operation: 93+39=132 Exploring Operation: 93-39=54, Resulting Numbers: [60, 54] Generated Node #0,0,2: 13:[60, 54] Operation: 93-39=54 Exploring Operation: 60-39=21, Resulting Numbers: [93, 21] Generated Node #0,0,3: 13:[93, 21] Operation: 60-39=21 Exploring Operation: 93+60=153, Resulting Numbers: [39, 153] Generated Node #0,0,4: 13:[39, 153] Operation: 93+60=153 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[39, 33], Operations: ['99-39=60', '93-60=33'] Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 13:[60, 54], Operations: ['99-39=60', '93-39=54'] Exploring Operation: 60*54=3240, Resulting Numbers: [3240] 3240,13 unequal: No Solution Exploring Operation: 60+54=114, Resulting Numbers: [114] 114,13 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,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,3 Current State: 13:[93, 21], Operations: ['99-39=60', '60-39=21'] Exploring Operation: 93*21=1953, Resulting Numbers: [1953] 1953,13 unequal: No Solution Exploring Operation: 93+21=114, Resulting Numbers: [114] 114,13 unequal: No Solution Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[60, 132], Operations: ['99-39=60', '93+39=132'] Exploring Operation: 132-60=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 60*132=7920, Resulting Numbers: [7920] 7920,13 unequal: No Solution Exploring Operation: 60+132=192, Resulting Numbers: [192] 192,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,4 Current State: 13:[39, 153], Operations: ['99-39=60', '93+60=153'] Exploring Operation: 153-39=114, Resulting Numbers: [114] 114,13 unequal: No Solution Exploring Operation: 39+153=192, Resulting Numbers: [192] 192,13 unequal: No Solution Exploring Operation: 39*153=5967, Resulting Numbers: [5967] 5967,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[39, 99, 54], Operations: ['93-39=54'] Exploring Operation: 54-39=15, Resulting Numbers: [99, 15] Generated Node #0,1,0: 13:[99, 15] Operation: 54-39=15 Exploring Operation: 99-54=45, Resulting Numbers: [39, 45] Generated Node #0,1,1: 13:[39, 45] Operation: 99-54=45 Exploring Operation: 99-39=60, Resulting Numbers: [54, 60] Generated Node #0,1,2: 13:[54, 60] Operation: 99-39=60 Exploring Operation: 39+54=93, Resulting Numbers: [99, 93] Generated Node #0,1,3: 13:[99, 93] Operation: 39+54=93 Exploring Operation: 39+99=138, Resulting Numbers: [54, 138] Generated Node #0,1,4: 13:[54, 138] Operation: 39+99=138 Moving to Node #0,1,1 Current State: 13:[39, 45], Operations: ['93-39=54', '99-54=45'] Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 39*45=1755, Resulting Numbers: [1755] 1755,13 unequal: No Solution Exploring Operation: 39+45=84, Resulting Numbers: [84] 84,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[54, 60], Operations: ['93-39=54', '99-39=60'] Exploring Operation: 54+60=114, Resulting Numbers: [114] 114,13 unequal: No Solution Exploring Operation: 54*60=3240, Resulting Numbers: [3240] 3240,13 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[99, 15], Operations: ['93-39=54', '54-39=15'] Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 99+15=114, Resulting Numbers: [114] 114,13 unequal: No Solution Exploring Operation: 99*15=1485, Resulting Numbers: [1485] 1485,13 unequal: No Solution Moving to Node #0,1,3 Current State: 13:[99, 93], Operations: ['93-39=54', '39+54=93'] Exploring Operation: 99+93=192, Resulting Numbers: [192] 192,13 unequal: No Solution Exploring Operation: 99*93=9207, Resulting Numbers: [9207] 9207,13 unequal: No Solution Exploring Operation: 99-93=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,1,4 Current State: 13:[54, 138], Operations: ['93-39=54', '39+99=138'] Exploring Operation: 138-54=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 54*138=7452, Resulting Numbers: [7452] 7452,13 unequal: No Solution Exploring Operation: 54+138=192, Resulting Numbers: [192] 192,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[93, 39, 60], Operations: ['99-39=60'] Exploring Operation: 93-39=54, Resulting Numbers: [60, 54] Generated Node #0,2,0: 13:[60, 54] Operation: 93-39=54 Exploring Operation: 93+60=153, Resulting Numbers: [39, 153] Generated Node #0,2,1: 13:[39, 153] Operation: 93+60=153 Exploring Operation: 93+39=132, Resulting Numbers: [60, 132] Generated Node #0,2,2: 13:[60, 132] Operation: 93+39=132 Exploring Operation: 60-39=21, Resulting Numbers: [93, 21] Generated Node #0,2,3: 13:[93, 21] Operation: 60-39=21 Exploring Operation: 93-60=33, Resulting Numbers: [39, 33] Generated Node #0,2,4: 13:[39, 33] Operation: 93-60=33 Moving to Node #0,2,4 Current State: 13:[39, 33], Operations: ['99-39=60', '93-60=33'] Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,13 unequal: No Solution Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[93, 21], Operations: ['99-39=60', '60-39=21'] Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 93+21=114, Resulting Numbers: [114] 114,13 unequal: No Solution Exploring Operation: 93*21=1953, Resulting Numbers: [1953] 1953,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[60, 54], Operations: ['99-39=60', '93-39=54'] Exploring Operation: 60*54=3240, Resulting Numbers: [3240] 3240,13 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 60+54=114, Resulting Numbers: [114] 114,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[39, 153], Operations: ['99-39=60', '93+60=153'] Exploring Operation: 153-39=114, Resulting Numbers: [114] 114,13 unequal: No Solution Exploring Operation: 39*153=5967, Resulting Numbers: [5967] 5967,13 unequal: No Solution Exploring Operation: 39+153=192, Resulting Numbers: [192] 192,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[60, 132], Operations: ['99-39=60', '93+39=132'] Exploring Operation: 132-60=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 60*132=7920, Resulting Numbers: [7920] 7920,13 unequal: No Solution Exploring Operation: 60+132=192, Resulting Numbers: [192] 192,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[39, 99, 54], Operations: ['93-39=54'] Exploring Operation: 54-39=15, Resulting Numbers: [99, 15] Generated Node #0,3,0: 13:[99, 15] Operation: 54-39=15 Exploring Operation: 99-39=60, Resulting Numbers: [54, 60] Generated Node #0,3,1: 13:[54, 60] Operation: 99-39=60 Exploring Operation: 39+54=93, Resulting Numbers: [99, 93] Generated Node #0,3,2: 13:[99, 93] Operation: 39+54=93 Exploring Operation: 39+99=138, Resulting Numbers: [54, 138] Generated Node #0,3,3: 13:[54, 138] Operation: 39+99=138 Exploring Operation: 99-54=45, Resulting Numbers: [39, 45] Generated Node #0,3,4: 13:[39, 45] Operation: 99-54=45 Moving to Node #0,3,4 Current State: 13:[39, 45], Operations: ['93-39=54', '99-54=45'] Exploring Operation: 39*45=1755, Resulting Numbers: [1755] 1755,13 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 39+45=84, Resulting Numbers: [84] 84,13 unequal: No Solution Moving to Node #0,3,1 Current State: 13:[54, 60], Operations: ['93-39=54', '99-39=60'] Exploring Operation: 54+60=114, Resulting Numbers: [114] 114,13 unequal: No Solution Exploring Operation: 54*60=3240, Resulting Numbers: [3240] 3240,13 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[99, 15], Operations: ['93-39=54', '54-39=15'] Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 99+15=114, Resulting Numbers: [114] 114,13 unequal: No Solution Exploring Operation: 99*15=1485, Resulting Numbers: [1485] 1485,13 unequal: No Solution Moving to Node #0,3,2 Current State: 13:[99, 93], Operations: ['93-39=54', '39+54=93'] Exploring Operation: 99-93=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 99*93=9207, Resulting Numbers: [9207] 9207,13 unequal: No Solution Exploring Operation: 99+93=192, Resulting Numbers: [192] 192,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[54, 138], Operations: ['93-39=54', '39+99=138'] Exploring Operation: 138-54=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 54+138=192, Resulting Numbers: [192] 192,13 unequal: No Solution Exploring Operation: 54*138=7452, Resulting Numbers: [7452] 7452,13 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
[ 86, 49, 4, 58 ]
63
[ "86-58=28", "4*28=112", "112-49=63" ]
Current State: 63:[86, 49, 4, 58], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [49, 4, 28] Generated Node #2: [49, 4, 28] from Operation: 86-58=28 Current State: 63:[49, 4, 28], Operations: ['86-58=28'] Exploring Operation: 4*28=112, Resulting Numbers: [49, 112] Generated Node #3: [49, 112] from Operation: 4*28=112 Current State: 63:[49, 112], Operations: ['86-58=28', '4*28=112'] Exploring Operation: 112-49=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[86, 49, 4, 58], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [49, 4, 28] Generated Node #0,0: 63:[49, 4, 28] Operation: 86-58=28 Exploring Operation: 86-49=37, Resulting Numbers: [4, 58, 37] Generated Node #0,1: 63:[4, 58, 37] Operation: 86-49=37 Moving to Node #0,0 Current State: 63:[49, 4, 28], Operations: ['86-58=28'] Exploring Operation: 49-28=21, Resulting Numbers: [4, 21] Generated Node #0,0,0: 63:[4, 21] Operation: 49-28=21 Exploring Operation: 28/4=7, Resulting Numbers: [49, 7] Generated Node #0,0,1: 63:[49, 7] Operation: 28/4=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[4, 21], Operations: ['86-58=28', '49-28=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,63 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,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,0,1 Current State: 63:[49, 7], Operations: ['86-58=28', '28/4=7'] Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,63 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: 63:[4, 58, 37], Operations: ['86-49=37'] Exploring Operation: 4+58=62, Resulting Numbers: [37, 62] Generated Node #0,1,0: 63:[37, 62] Operation: 4+58=62 Exploring Operation: 58-37=21, Resulting Numbers: [4, 21] Generated Node #0,1,1: 63:[4, 21] Operation: 58-37=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[4, 21], Operations: ['86-49=37', '58-37=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,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,0 Current State: 63:[37, 62], Operations: ['86-49=37', '4+58=62'] Exploring Operation: 37+62=99, Resulting Numbers: [99] 99,63 unequal: No Solution Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,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
sum_heuristic
[ 19, 72, 63, 47 ]
75
[ "19+72=91", "63-47=16", "91-16=75" ]
Current State: 75:[19, 72, 63, 47], Operations: [] Exploring Operation: 19+72=91, Resulting Numbers: [63, 47, 91] Generated Node #2: [63, 47, 91] from Operation: 19+72=91 Current State: 75:[63, 47, 91], Operations: ['19+72=91'] Exploring Operation: 63-47=16, Resulting Numbers: [91, 16] Generated Node #3: [91, 16] from Operation: 63-47=16 Current State: 75:[91, 16], Operations: ['19+72=91', '63-47=16'] Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[19, 72, 63, 47], Operations: [] Exploring Operation: 63-47=16, Resulting Numbers: [19, 72, 16] Generated Node #0,0: 75:[19, 72, 16] Operation: 63-47=16 Moving to Node #0,0 Current State: 75:[19, 72, 16], Operations: ['63-47=16'] Exploring Operation: 19-16=3, Resulting Numbers: [72, 3] Generated Node #0,0,0: 75:[72, 3] Operation: 19-16=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[72, 3], Operations: ['63-47=16', '19-16=3'] Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[19, 72, 63, 47], Operations: [] Exploring Operation: 63-47=16, Resulting Numbers: [19, 72, 16] Generated Node #0,0: 75:[19, 72, 16] Operation: 63-47=16 Moving to Node #0,0 Current State: 75:[19, 72, 16], Operations: ['63-47=16'] Exploring Operation: 19-16=3, Resulting Numbers: [72, 3] Generated Node #0,0,0: 75:[72, 3] Operation: 19-16=3 Moving to Node #0,0,0 Current State: 75:[72, 3], Operations: ['63-47=16', '19-16=3'] Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 68, 35, 70, 66 ]
29
[ "68-35=33", "70-66=4", "33-4=29" ]
Current State: 29:[68, 35, 70, 66], Operations: [] Exploring Operation: 68-35=33, Resulting Numbers: [70, 66, 33] Generated Node #2: [70, 66, 33] from Operation: 68-35=33 Current State: 29:[70, 66, 33], Operations: ['68-35=33'] Exploring Operation: 70-66=4, Resulting Numbers: [33, 4] Generated Node #3: [33, 4] from Operation: 70-66=4 Current State: 29:[33, 4], Operations: ['68-35=33', '70-66=4'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[68, 35, 70, 66], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [68, 35, 4] Generated Node #0,0: 29:[68, 35, 4] Operation: 70-66=4 Exploring Operation: 70-68=2, Resulting Numbers: [35, 66, 2] Generated Node #0,1: 29:[35, 66, 2] Operation: 70-68=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[68, 35, 4], Operations: ['70-66=4'] Exploring Operation: 68-35=33, Resulting Numbers: [4, 33] Generated Node #0,0,0: 29:[4, 33] Operation: 68-35=33 Exploring Operation: 68/4=17, Resulting Numbers: [35, 17] Generated Node #0,0,1: 29:[35, 17] Operation: 68/4=17 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[35, 17], Operations: ['70-66=4', '68/4=17'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,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,0,0 Current State: 29:[4, 33], Operations: ['70-66=4', '68-35=33'] Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,29 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[68, 35, 70, 66], Operations: [] Exploring Operation: 70-66=4, Resulting Numbers: [68, 35, 4] Generated Node #0,0: 29:[68, 35, 4] Operation: 70-66=4 Moving to Node #0,0 Current State: 29:[68, 35, 4], Operations: ['70-66=4'] Exploring Operation: 68-35=33, Resulting Numbers: [4, 33] Generated Node #0,0,0: 29:[4, 33] Operation: 68-35=33 Moving to Node #0,0,0 Current State: 29:[4, 33], Operations: ['70-66=4', '68-35=33'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 80, 42, 10, 65 ]
17
[ "80-42=38", "65-10=55", "55-38=17" ]
Current State: 17:[80, 42, 10, 65], Operations: [] Exploring Operation: 80-42=38, Resulting Numbers: [10, 65, 38] Generated Node #2: [10, 65, 38] from Operation: 80-42=38 Current State: 17:[10, 65, 38], Operations: ['80-42=38'] Exploring Operation: 65-10=55, Resulting Numbers: [38, 55] Generated Node #3: [38, 55] from Operation: 65-10=55 Current State: 17:[38, 55], Operations: ['80-42=38', '65-10=55'] Exploring Operation: 55-38=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[80, 42, 10, 65], Operations: [] Exploring Operation: 80-65=15, Resulting Numbers: [42, 10, 15] Generated Node #0,0: 17:[42, 10, 15] Operation: 80-65=15 Exploring Operation: 80-42=38, Resulting Numbers: [10, 65, 38] Generated Node #0,1: 17:[10, 65, 38] Operation: 80-42=38 Moving to Node #0,0 Current State: 17:[42, 10, 15], Operations: ['80-65=15'] Exploring Operation: 42-10=32, Resulting Numbers: [15, 32] Generated Node #0,0,0: 17:[15, 32] Operation: 42-10=32 Exploring Operation: 42-15=27, Resulting Numbers: [10, 27] Generated Node #0,0,1: 17:[10, 27] Operation: 42-15=27 Moving to Node #0,1 Current State: 17:[10, 65, 38], Operations: ['80-42=38'] Exploring Operation: 65-38=27, Resulting Numbers: [10, 27] Generated Node #0,1,0: 17:[10, 27] Operation: 65-38=27 Exploring Operation: 65-10=55, Resulting Numbers: [38, 55] Generated Node #0,1,1: 17:[38, 55] Operation: 65-10=55 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[10, 27], Operations: ['80-42=38', '65-38=27'] Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[80, 42, 10, 65], Operations: [] Exploring Operation: 80-42=38, Resulting Numbers: [10, 65, 38] Generated Node #0,1: 17:[10, 65, 38] Operation: 80-42=38 Moving to Node #0,1 Current State: 17:[10, 65, 38], Operations: ['80-42=38'] Exploring Operation: 65-38=27, Resulting Numbers: [10, 27] Generated Node #0,1,0: 17:[10, 27] Operation: 65-38=27 Moving to Node #0,1,0 Current State: 17:[10, 27], Operations: ['80-42=38', '65-38=27'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 68, 64, 40, 48 ]
70
[ "64-40=24", "48/24=2", "68+2=70" ]
Current State: 70:[68, 64, 40, 48], Operations: [] Exploring Operation: 64-40=24, Resulting Numbers: [68, 48, 24] Generated Node #2: [68, 48, 24] from Operation: 64-40=24 Current State: 70:[68, 48, 24], Operations: ['64-40=24'] Exploring Operation: 48/24=2, Resulting Numbers: [68, 2] Generated Node #3: [68, 2] from Operation: 48/24=2 Current State: 70:[68, 2], Operations: ['64-40=24', '48/24=2'] Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[68, 64, 40, 48], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [68, 64, 8] Generated Node #0,0: 70:[68, 64, 8] Operation: 48-40=8 Exploring Operation: 64-40=24, Resulting Numbers: [68, 48, 24] Generated Node #0,1: 70:[68, 48, 24] Operation: 64-40=24 Exploring Operation: 68-64=4, Resulting Numbers: [40, 48, 4] Generated Node #0,2: 70:[40, 48, 4] Operation: 68-64=4 Exploring Operation: 64-48=16, Resulting Numbers: [68, 40, 16] Generated Node #0,3: 70:[68, 40, 16] Operation: 64-48=16 Exploring Operation: 68-48=20, Resulting Numbers: [64, 40, 20] Generated Node #0,4: 70:[64, 40, 20] Operation: 68-48=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[68, 64, 8], Operations: ['48-40=8'] Exploring Operation: 68-8=60, Resulting Numbers: [64, 60] Generated Node #0,0,0: 70:[64, 60] Operation: 68-8=60 Exploring Operation: 68-64=4, Resulting Numbers: [8, 4] Generated Node #0,0,1: 70:[8, 4] Operation: 68-64=4 Exploring Operation: 64+8=72, Resulting Numbers: [68, 72] Generated Node #0,0,2: 70:[68, 72] Operation: 64+8=72 Exploring Operation: 64/8=8, Resulting Numbers: [68, 8] Generated Node #0,0,3: 70:[68, 8] Operation: 64/8=8 Exploring Operation: 68+8=76, Resulting Numbers: [64, 76] Generated Node #0,0,4: 70:[64, 76] Operation: 68+8=76 Moving to Node #0,0,1 Current State: 70:[8, 4], Operations: ['48-40=8', '68-64=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,70 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[68, 8], Operations: ['48-40=8', '64/8=8'] Exploring Operation: 68-8=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 68+8=76, Resulting Numbers: [76] 76,70 unequal: No Solution Exploring Operation: 68*8=544, Resulting Numbers: [544] 544,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[68, 72], Operations: ['48-40=8', '64+8=72'] Exploring Operation: 72-68=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 68+72=140, Resulting Numbers: [140] 140,70 unequal: No Solution Exploring Operation: 68*72=4896, Resulting Numbers: [4896] 4896,70 unequal: No Solution Moving to Node #0,0,4 Current State: 70:[64, 76], Operations: ['48-40=8', '68+8=76'] Exploring Operation: 64+76=140, Resulting Numbers: [140] 140,70 unequal: No Solution Exploring Operation: 64*76=4864, Resulting Numbers: [4864] 4864,70 unequal: No Solution Exploring Operation: 76-64=12, Resulting Numbers: [12] 12,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[64, 60], Operations: ['48-40=8', '68-8=60'] Exploring Operation: 64+60=124, Resulting Numbers: [124] 124,70 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 64*60=3840, Resulting Numbers: [3840] 3840,70 unequal: No Solution No 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: 70:[68, 40, 16], Operations: ['64-48=16'] Exploring Operation: 68-16=52, Resulting Numbers: [40, 52] Generated Node #0,3,0: 70:[40, 52] Operation: 68-16=52 Exploring Operation: 40+16=56, Resulting Numbers: [68, 56] Generated Node #0,3,1: 70:[68, 56] Operation: 40+16=56 Exploring Operation: 40-16=24, Resulting Numbers: [68, 24] Generated Node #0,3,2: 70:[68, 24] Operation: 40-16=24 Exploring Operation: 68+16=84, Resulting Numbers: [40, 84] Generated Node #0,3,3: 70:[40, 84] Operation: 68+16=84 Exploring Operation: 68-40=28, Resulting Numbers: [16, 28] Generated Node #0,3,4: 70:[16, 28] Operation: 68-40=28 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 70:[16, 28], Operations: ['64-48=16', '68-40=28'] Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,70 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 16*28=448, Resulting Numbers: [448] 448,70 unequal: No Solution No 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: 70:[68, 24], Operations: ['64-48=16', '40-16=24'] Exploring Operation: 68*24=1632, Resulting Numbers: [1632] 1632,70 unequal: No Solution Exploring Operation: 68+24=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 68-24=44, Resulting Numbers: [44] 44,70 unequal: No Solution No 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: 70:[68, 56], Operations: ['64-48=16', '40+16=56'] Exploring Operation: 68*56=3808, Resulting Numbers: [3808] 3808,70 unequal: No Solution Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 68+56=124, Resulting Numbers: [124] 124,70 unequal: No Solution No 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: 70:[40, 84], Operations: ['64-48=16', '68+16=84'] Exploring Operation: 40*84=3360, Resulting Numbers: [3360] 3360,70 unequal: No Solution Exploring Operation: 40+84=124, Resulting Numbers: [124] 124,70 unequal: No Solution Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,70 unequal: No Solution No 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: 70:[40, 52], Operations: ['64-48=16', '68-16=52'] Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 40+52=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 40*52=2080, Resulting Numbers: [2080] 2080,70 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: 70:[64, 40, 20], Operations: ['68-48=20'] Exploring Operation: 40-20=20, Resulting Numbers: [64, 20] Generated Node #0,4,0: 70:[64, 20] Operation: 40-20=20 Exploring Operation: 64-40=24, Resulting Numbers: [20, 24] Generated Node #0,4,1: 70:[20, 24] Operation: 64-40=24 Exploring Operation: 40+20=60, Resulting Numbers: [64, 60] Generated Node #0,4,2: 70:[64, 60] Operation: 40+20=60 Exploring Operation: 64-20=44, Resulting Numbers: [40, 44] Generated Node #0,4,3: 70:[40, 44] Operation: 64-20=44 Exploring Operation: 40/20=2, Resulting Numbers: [64, 2] Generated Node #0,4,4: 70:[64, 2] Operation: 40/20=2 Moving to Node #0,4,4 Current State: 70:[64, 2], Operations: ['68-48=20', '40/20=2'] Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,70 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,70 unequal: No Solution Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,70 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,70 unequal: No Solution Moving to Node #0,4,0 Current State: 70:[64, 20], Operations: ['68-48=20', '40-20=20'] Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,70 unequal: No Solution Exploring Operation: 64*20=1280, Resulting Numbers: [1280] 1280,70 unequal: No Solution Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,70 unequal: No Solution Moving to Node #0,4,3 Current State: 70:[40, 44], Operations: ['68-48=20', '64-20=44'] Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,70 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,70 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,70 unequal: No Solution Moving to Node #0,4,1 Current State: 70:[20, 24], Operations: ['68-48=20', '64-40=24'] Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,70 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,70 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,70 unequal: No Solution Moving to Node #0,4,2 Current State: 70:[64, 60], Operations: ['68-48=20', '40+20=60'] Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 64*60=3840, Resulting Numbers: [3840] 3840,70 unequal: No Solution Exploring Operation: 64+60=124, Resulting Numbers: [124] 124,70 unequal: No Solution No 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: 70:[40, 48, 4], Operations: ['68-64=4'] Exploring Operation: 48/4=12, Resulting Numbers: [40, 12] Generated Node #0,2,0: 70:[40, 12] Operation: 48/4=12 Exploring Operation: 48-40=8, Resulting Numbers: [4, 8] Generated Node #0,2,1: 70:[4, 8] Operation: 48-40=8 Exploring Operation: 48-4=44, Resulting Numbers: [40, 44] Generated Node #0,2,2: 70:[40, 44] Operation: 48-4=44 Exploring Operation: 40-4=36, Resulting Numbers: [48, 36] Generated Node #0,2,3: 70:[48, 36] Operation: 40-4=36 Exploring Operation: 40/4=10, Resulting Numbers: [48, 10] Generated Node #0,2,4: 70:[48, 10] Operation: 40/4=10 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[4, 8], Operations: ['68-64=4', '48-40=8'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,70 unequal: No Solution No 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: 70:[40, 12], Operations: ['68-64=4', '48/4=12'] Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,70 unequal: No Solution Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,70 unequal: No Solution Exploring Operation: 40*12=480, Resulting Numbers: [480] 480,70 unequal: No Solution No 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: 70:[48, 10], Operations: ['68-64=4', '40/4=10'] Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,70 unequal: No Solution Exploring Operation: 48*10=480, Resulting Numbers: [480] 480,70 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,70 unequal: No Solution No 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: 70:[40, 44], Operations: ['68-64=4', '48-4=44'] Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,70 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,70 unequal: No Solution No 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: 70:[48, 36], Operations: ['68-64=4', '40-4=36'] Exploring Operation: 48*36=1728, Resulting Numbers: [1728] 1728,70 unequal: No Solution Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 48+36=84, Resulting Numbers: [84] 84,70 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: 70:[68, 48, 24], Operations: ['64-40=24'] Exploring Operation: 48+24=72, Resulting Numbers: [68, 72] Generated Node #0,1,0: 70:[68, 72] Operation: 48+24=72 Exploring Operation: 48-24=24, Resulting Numbers: [68, 24] Generated Node #0,1,1: 70:[68, 24] Operation: 48-24=24 Exploring Operation: 48/24=2, Resulting Numbers: [68, 2] Generated Node #0,1,2: 70:[68, 2] Operation: 48/24=2 Exploring Operation: 68-24=44, Resulting Numbers: [48, 44] Generated Node #0,1,3: 70:[48, 44] Operation: 68-24=44 Exploring Operation: 68-48=20, Resulting Numbers: [24, 20] Generated Node #0,1,4: 70:[24, 20] Operation: 68-48=20 Moving to Node #0,1,2 Current State: 70:[68, 2], Operations: ['64-40=24', '48/24=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,70 unequal: No Solution Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[68, 64, 40, 48], Operations: [] Exploring Operation: 64-40=24, Resulting Numbers: [68, 48, 24] Generated Node #0,1: 70:[68, 48, 24] Operation: 64-40=24 Moving to Node #0,1 Current State: 70:[68, 48, 24], Operations: ['64-40=24'] Exploring Operation: 48/24=2, Resulting Numbers: [68, 2] Generated Node #0,1,2: 70:[68, 2] Operation: 48/24=2 Moving to Node #0,1,2 Current State: 70:[68, 2], Operations: ['64-40=24', '48/24=2'] Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.913194
hs_5
sum_heuristic
[ 9, 2, 57, 1 ]
66
[ "9+57=66", "2-1=1", "66*1=66" ]
Current State: 66:[9, 2, 57, 1], Operations: [] Exploring Operation: 9+57=66, Resulting Numbers: [2, 1, 66] Generated Node #2: [2, 1, 66] from Operation: 9+57=66 Current State: 66:[2, 1, 66], Operations: ['9+57=66'] Exploring Operation: 2-1=1, Resulting Numbers: [66, 1] Generated Node #3: [66, 1] from Operation: 2-1=1 Current State: 66:[66, 1], Operations: ['9+57=66', '2-1=1'] Exploring Operation: 66*1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[9, 2, 57, 1], Operations: [] Exploring Operation: 9+57=66, Resulting Numbers: [2, 1, 66] Generated Node #0,0: 66:[2, 1, 66] Operation: 9+57=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[2, 1, 66], Operations: ['9+57=66'] Exploring Operation: 2+1=3, Resulting Numbers: [66, 3] Generated Node #0,0,0: 66:[66, 3] Operation: 2+1=3 Moving to Node #0,0,0 Current State: 66:[66, 3], Operations: ['9+57=66', '2+1=3'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,66 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
[ 44, 80, 77, 79 ]
58
[ "79-77=2", "44/2=22", "80-22=58" ]
Current State: 58:[44, 80, 77, 79], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [44, 80, 2] Generated Node #2: [44, 80, 2] from Operation: 79-77=2 Current State: 58:[44, 80, 2], Operations: ['79-77=2'] Exploring Operation: 44/2=22, Resulting Numbers: [80, 22] Generated Node #3: [80, 22] from Operation: 44/2=22 Current State: 58:[80, 22], Operations: ['79-77=2', '44/2=22'] Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[44, 80, 77, 79], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [44, 80, 2] Generated Node #0,0: 58:[44, 80, 2] Operation: 79-77=2 Exploring Operation: 80-77=3, Resulting Numbers: [44, 79, 3] Generated Node #0,1: 58:[44, 79, 3] Operation: 80-77=3 Exploring Operation: 80-79=1, Resulting Numbers: [44, 77, 1] Generated Node #0,2: 58:[44, 77, 1] Operation: 80-79=1 Moving to Node #0,2 Current State: 58:[44, 77, 1], Operations: ['80-79=1'] Exploring Operation: 77-44=33, Resulting Numbers: [1, 33] Generated Node #0,2,0: 58:[1, 33] Operation: 77-44=33 Exploring Operation: 44+1=45, Resulting Numbers: [77, 45] Generated Node #0,2,1: 58:[77, 45] Operation: 44+1=45 Exploring Operation: 77-1=76, Resulting Numbers: [44, 76] Generated Node #0,2,2: 58:[44, 76] Operation: 77-1=76 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[1, 33], Operations: ['80-79=1', '77-44=33'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,58 unequal: No Solution Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 58:[77, 45], Operations: ['80-79=1', '44+1=45'] Exploring Operation: 77+45=122, Resulting Numbers: [122] 122,58 unequal: No Solution Exploring Operation: 77-45=32, Resulting Numbers: [32] 32,58 unequal: No Solution Exploring Operation: 77*45=3465, Resulting Numbers: [3465] 3465,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[44, 76], Operations: ['80-79=1', '77-1=76'] Exploring Operation: 44*76=3344, Resulting Numbers: [3344] 3344,58 unequal: No Solution Exploring Operation: 44+76=120, Resulting Numbers: [120] 120,58 unequal: No Solution Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,58 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: 58:[44, 80, 2], Operations: ['79-77=2'] Exploring Operation: 80-44=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 58:[2, 36] Operation: 80-44=36 Exploring Operation: 44/2=22, Resulting Numbers: [80, 22] Generated Node #0,0,1: 58:[80, 22] Operation: 44/2=22 Exploring Operation: 80/2=40, Resulting Numbers: [44, 40] Generated Node #0,0,2: 58:[44, 40] Operation: 80/2=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[2, 36], Operations: ['79-77=2', '80-44=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[44, 40], Operations: ['79-77=2', '80/2=40'] Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,58 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,58 unequal: No Solution Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[80, 22], Operations: ['79-77=2', '44/2=22'] Exploring Operation: 80+22=102, Resulting Numbers: [102] 102,58 unequal: No Solution Exploring Operation: 80*22=1760, Resulting Numbers: [1760] 1760,58 unequal: No Solution Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[44, 80, 77, 79], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [44, 80, 2] Generated Node #0,0: 58:[44, 80, 2] Operation: 79-77=2 Moving to Node #0,0 Current State: 58:[44, 80, 2], Operations: ['79-77=2'] Exploring Operation: 44/2=22, Resulting Numbers: [80, 22] Generated Node #0,0,1: 58:[80, 22] Operation: 44/2=22 Moving to Node #0,0,1 Current State: 58:[80, 22], Operations: ['79-77=2', '44/2=22'] Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
sum_heuristic
[ 27, 96, 12, 56 ]
91
[ "27+56=83", "96/12=8", "83+8=91" ]
Current State: 91:[27, 96, 12, 56], Operations: [] Exploring Operation: 27+56=83, Resulting Numbers: [96, 12, 83] Generated Node #2: [96, 12, 83] from Operation: 27+56=83 Current State: 91:[96, 12, 83], Operations: ['27+56=83'] Exploring Operation: 96/12=8, Resulting Numbers: [83, 8] Generated Node #3: [83, 8] from Operation: 96/12=8 Current State: 91:[83, 8], Operations: ['27+56=83', '96/12=8'] Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[27, 96, 12, 56], Operations: [] Exploring Operation: 56-27=29, Resulting Numbers: [96, 12, 29] Generated Node #0,0: 91:[96, 12, 29] Operation: 56-27=29 Exploring Operation: 27+56=83, Resulting Numbers: [96, 12, 83] Generated Node #0,1: 91:[96, 12, 83] Operation: 27+56=83 Exploring Operation: 96-56=40, Resulting Numbers: [27, 12, 40] Generated Node #0,2: 91:[27, 12, 40] Operation: 96-56=40 Exploring Operation: 27-12=15, Resulting Numbers: [96, 56, 15] Generated Node #0,3: 91:[96, 56, 15] Operation: 27-12=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[96, 12, 83], Operations: ['27+56=83'] Exploring Operation: 96-12=84, Resulting Numbers: [83, 84] Generated Node #0,1,0: 91:[83, 84] Operation: 96-12=84 Exploring Operation: 12+83=95, Resulting Numbers: [96, 95] Generated Node #0,1,1: 91:[96, 95] Operation: 12+83=95 Exploring Operation: 96-83=13, Resulting Numbers: [12, 13] Generated Node #0,1,2: 91:[12, 13] Operation: 96-83=13 Exploring Operation: 96/12=8, Resulting Numbers: [83, 8] Generated Node #0,1,3: 91:[83, 8] Operation: 96/12=8 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 91:[12, 13], Operations: ['27+56=83', '96-83=13'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,91 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,91 unequal: No Solution No 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: 91:[96, 95], Operations: ['27+56=83', '12+83=95'] Exploring Operation: 96+95=191, Resulting Numbers: [191] 191,91 unequal: No Solution Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 96*95=9120, Resulting Numbers: [9120] 9120,91 unequal: No Solution No 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: 91:[83, 8], Operations: ['27+56=83', '96/12=8'] Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,91 unequal: No Solution Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[27, 96, 12, 56], Operations: [] Exploring Operation: 27+56=83, Resulting Numbers: [96, 12, 83] Generated Node #0,1: 91:[96, 12, 83] Operation: 27+56=83 Moving to Node #0,1 Current State: 91:[96, 12, 83], Operations: ['27+56=83'] Exploring Operation: 96/12=8, Resulting Numbers: [83, 8] Generated Node #0,1,3: 91:[83, 8] Operation: 96/12=8 Moving to Node #0,1,3 Current State: 91:[83, 8], Operations: ['27+56=83', '96/12=8'] Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 65, 74, 1, 96 ]
88
[ "74-65=9", "1+96=97", "97-9=88" ]
Current State: 88:[65, 74, 1, 96], Operations: [] Exploring Operation: 74-65=9, Resulting Numbers: [1, 96, 9] Generated Node #2: [1, 96, 9] from Operation: 74-65=9 Current State: 88:[1, 96, 9], Operations: ['74-65=9'] Exploring Operation: 1+96=97, Resulting Numbers: [9, 97] Generated Node #3: [9, 97] from Operation: 1+96=97 Current State: 88:[9, 97], Operations: ['74-65=9', '1+96=97'] Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[65, 74, 1, 96], Operations: [] Exploring Operation: 96-74=22, Resulting Numbers: [65, 1, 22] Generated Node #0,0: 88:[65, 1, 22] Operation: 96-74=22 Exploring Operation: 74-65=9, Resulting Numbers: [1, 96, 9] Generated Node #0,1: 88:[1, 96, 9] Operation: 74-65=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[1, 96, 9], Operations: ['74-65=9'] Exploring Operation: 96-1=95, Resulting Numbers: [9, 95] Generated Node #0,1,0: 88:[9, 95] Operation: 96-1=95 Exploring Operation: 96-9=87, Resulting Numbers: [1, 87] Generated Node #0,1,1: 88:[1, 87] Operation: 96-9=87 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[1, 87], Operations: ['74-65=9', '96-9=87'] Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[65, 74, 1, 96], Operations: [] Exploring Operation: 74-65=9, Resulting Numbers: [1, 96, 9] Generated Node #0,1: 88:[1, 96, 9] Operation: 74-65=9 Moving to Node #0,1 Current State: 88:[1, 96, 9], Operations: ['74-65=9'] Exploring Operation: 96-9=87, Resulting Numbers: [1, 87] Generated Node #0,1,1: 88:[1, 87] Operation: 96-9=87 Moving to Node #0,1,1 Current State: 88:[1, 87], Operations: ['74-65=9', '96-9=87'] Exploring Operation: 1+87=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 61, 26, 93, 48 ]
39
[ "93-61=32", "26*48=1248", "1248/32=39" ]
Current State: 39:[61, 26, 93, 48], Operations: [] Exploring Operation: 93-61=32, Resulting Numbers: [26, 48, 32] Generated Node #2: [26, 48, 32] from Operation: 93-61=32 Current State: 39:[26, 48, 32], Operations: ['93-61=32'] Exploring Operation: 26*48=1248, Resulting Numbers: [32, 1248] Generated Node #3: [32, 1248] from Operation: 26*48=1248 Current State: 39:[32, 1248], Operations: ['93-61=32', '26*48=1248'] Exploring Operation: 1248/32=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[61, 26, 93, 48], Operations: [] Exploring Operation: 93-61=32, Resulting Numbers: [26, 48, 32] Generated Node #0,0: 39:[26, 48, 32] Operation: 93-61=32 Exploring Operation: 93-48=45, Resulting Numbers: [61, 26, 45] Generated Node #0,1: 39:[61, 26, 45] Operation: 93-48=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[26, 48, 32], Operations: ['93-61=32'] Exploring Operation: 32-26=6, Resulting Numbers: [48, 6] Generated Node #0,0,0: 39:[48, 6] Operation: 32-26=6 Exploring Operation: 48-26=22, Resulting Numbers: [32, 22] Generated Node #0,0,1: 39:[32, 22] Operation: 48-26=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[48, 6], Operations: ['93-61=32', '32-26=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,39 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[32, 22], Operations: ['93-61=32', '48-26=22'] Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[61, 26, 45], Operations: ['93-48=45'] Exploring Operation: 61-26=35, Resulting Numbers: [45, 35] Generated Node #0,1,0: 39:[45, 35] Operation: 61-26=35 Exploring Operation: 61-45=16, Resulting Numbers: [26, 16] Generated Node #0,1,1: 39:[26, 16] Operation: 61-45=16 Moving to Node #0,1,0 Current State: 39:[45, 35], Operations: ['93-48=45', '61-26=35'] Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 45+35=80, Resulting Numbers: [80] 80,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[26, 16], Operations: ['93-48=45', '61-45=16'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,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
[ 57, 13, 11, 52 ]
34
[ "57+52=109", "13*11=143", "143-109=34" ]
Current State: 34:[57, 13, 11, 52], Operations: [] Exploring Operation: 57+52=109, Resulting Numbers: [13, 11, 109] Generated Node #2: [13, 11, 109] from Operation: 57+52=109 Current State: 34:[13, 11, 109], Operations: ['57+52=109'] Exploring Operation: 13*11=143, Resulting Numbers: [109, 143] Generated Node #3: [109, 143] from Operation: 13*11=143 Current State: 34:[109, 143], Operations: ['57+52=109', '13*11=143'] Exploring Operation: 143-109=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[57, 13, 11, 52], Operations: [] Exploring Operation: 52/13=4, Resulting Numbers: [57, 11, 4] Generated Node #0,0: 34:[57, 11, 4] Operation: 52/13=4 Exploring Operation: 57-52=5, Resulting Numbers: [13, 11, 5] Generated Node #0,1: 34:[13, 11, 5] Operation: 57-52=5 Moving to Node #0,1 Current State: 34:[13, 11, 5], Operations: ['57-52=5'] Exploring Operation: 13-11=2, Resulting Numbers: [5, 2] Generated Node #0,1,0: 34:[5, 2] Operation: 13-11=2 Exploring Operation: 11+5=16, Resulting Numbers: [13, 16] Generated Node #0,1,1: 34:[13, 16] Operation: 11+5=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[5, 2], Operations: ['57-52=5', '13-11=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[13, 16], Operations: ['57-52=5', '11+5=16'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 34:[57, 11, 4], Operations: ['52/13=4'] Exploring Operation: 57-11=46, Resulting Numbers: [4, 46] Generated Node #0,0,0: 34:[4, 46] Operation: 57-11=46 Exploring Operation: 57-4=53, Resulting Numbers: [11, 53] Generated Node #0,0,1: 34:[11, 53] Operation: 57-4=53 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[4, 46], Operations: ['52/13=4', '57-11=46'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[11, 53], Operations: ['52/13=4', '57-4=53'] Exploring Operation: 11+53=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 63, 75, 90, 55 ]
23
[ "75-63=12", "90-55=35", "35-12=23" ]
Current State: 23:[63, 75, 90, 55], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [90, 55, 12] Generated Node #2: [90, 55, 12] from Operation: 75-63=12 Current State: 23:[90, 55, 12], Operations: ['75-63=12'] Exploring Operation: 90-55=35, Resulting Numbers: [12, 35] Generated Node #3: [12, 35] from Operation: 90-55=35 Current State: 23:[12, 35], Operations: ['75-63=12', '90-55=35'] Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[63, 75, 90, 55], Operations: [] Exploring Operation: 90-55=35, Resulting Numbers: [63, 75, 35] Generated Node #0,0: 23:[63, 75, 35] Operation: 90-55=35 Exploring Operation: 90-75=15, Resulting Numbers: [63, 55, 15] Generated Node #0,1: 23:[63, 55, 15] Operation: 90-75=15 Exploring Operation: 90-63=27, Resulting Numbers: [75, 55, 27] Generated Node #0,2: 23:[75, 55, 27] Operation: 90-63=27 Moving to Node #0,1 Current State: 23:[63, 55, 15], Operations: ['90-75=15'] Exploring Operation: 63-15=48, Resulting Numbers: [55, 48] Generated Node #0,1,0: 23:[55, 48] Operation: 63-15=48 Exploring Operation: 55-15=40, Resulting Numbers: [63, 40] Generated Node #0,1,1: 23:[63, 40] Operation: 55-15=40 Exploring Operation: 63-55=8, Resulting Numbers: [15, 8] Generated Node #0,1,2: 23:[15, 8] Operation: 63-55=8 Moving to Node #0,2 Current State: 23:[75, 55, 27], Operations: ['90-63=27'] Exploring Operation: 75-27=48, Resulting Numbers: [55, 48] Generated Node #0,2,0: 23:[55, 48] Operation: 75-27=48 Exploring Operation: 75-55=20, Resulting Numbers: [27, 20] Generated Node #0,2,1: 23:[27, 20] Operation: 75-55=20 Exploring Operation: 55-27=28, Resulting Numbers: [75, 28] Generated Node #0,2,2: 23:[75, 28] Operation: 55-27=28 Moving to Node #0,0 Current State: 23:[63, 75, 35], Operations: ['90-55=35'] Exploring Operation: 63-35=28, Resulting Numbers: [75, 28] Generated Node #0,0,0: 23:[75, 28] Operation: 63-35=28 Exploring Operation: 75-63=12, Resulting Numbers: [35, 12] Generated Node #0,0,1: 23:[35, 12] Operation: 75-63=12 Exploring Operation: 75-35=40, Resulting Numbers: [63, 40] Generated Node #0,0,2: 23:[63, 40] Operation: 75-35=40 Moving to Node #0,2,1 Current State: 23:[27, 20], Operations: ['90-63=27', '75-55=20'] Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,23 unequal: No Solution Exploring Operation: 27*20=540, Resulting Numbers: [540] 540,23 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[35, 12], Operations: ['90-55=35', '75-63=12'] Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[63, 75, 90, 55], Operations: [] Exploring Operation: 90-55=35, Resulting Numbers: [63, 75, 35] Generated Node #0,0: 23:[63, 75, 35] Operation: 90-55=35 Moving to Node #0,0 Current State: 23:[63, 75, 35], Operations: ['90-55=35'] Exploring Operation: 75-63=12, Resulting Numbers: [35, 12] Generated Node #0,0,1: 23:[35, 12] Operation: 75-63=12 Moving to Node #0,0,1 Current State: 23:[35, 12], Operations: ['90-55=35', '75-63=12'] Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.982639
hs_3
sum_heuristic
[ 43, 13, 90, 99 ]
65
[ "43+13=56", "99-90=9", "56+9=65" ]
Current State: 65:[43, 13, 90, 99], Operations: [] Exploring Operation: 43+13=56, Resulting Numbers: [90, 99, 56] Generated Node #2: [90, 99, 56] from Operation: 43+13=56 Current State: 65:[90, 99, 56], Operations: ['43+13=56'] Exploring Operation: 99-90=9, Resulting Numbers: [56, 9] Generated Node #3: [56, 9] from Operation: 99-90=9 Current State: 65:[56, 9], Operations: ['43+13=56', '99-90=9'] Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[43, 13, 90, 99], Operations: [] Exploring Operation: 43+13=56, Resulting Numbers: [90, 99, 56] Generated Node #0,0: 65:[90, 99, 56] Operation: 43+13=56 Exploring Operation: 99-90=9, Resulting Numbers: [43, 13, 9] Generated Node #0,1: 65:[43, 13, 9] Operation: 99-90=9 Exploring Operation: 99-43=56, Resulting Numbers: [13, 90, 56] Generated Node #0,2: 65:[13, 90, 56] Operation: 99-43=56 Exploring Operation: 90-43=47, Resulting Numbers: [13, 99, 47] Generated Node #0,3: 65:[13, 99, 47] Operation: 90-43=47 Exploring Operation: 90-13=77, Resulting Numbers: [43, 99, 77] Generated Node #0,4: 65:[43, 99, 77] Operation: 90-13=77 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[43, 13, 9], Operations: ['99-90=9'] Exploring Operation: 43-9=34, Resulting Numbers: [13, 34] Generated Node #0,1,0: 65:[13, 34] Operation: 43-9=34 Exploring Operation: 43+13=56, Resulting Numbers: [9, 56] Generated Node #0,1,1: 65:[9, 56] Operation: 43+13=56 Exploring Operation: 43-13=30, Resulting Numbers: [9, 30] Generated Node #0,1,2: 65:[9, 30] Operation: 43-13=30 Exploring Operation: 43+9=52, Resulting Numbers: [13, 52] Generated Node #0,1,3: 65:[13, 52] Operation: 43+9=52 Exploring Operation: 13-9=4, Resulting Numbers: [43, 4] Generated Node #0,1,4: 65:[43, 4] Operation: 13-9=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[9, 56], Operations: ['99-90=9', '43+13=56'] Exploring Operation: 9*56=504, Resulting Numbers: [504] 504,65 unequal: No Solution Exploring Operation: 9+56=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[43, 13, 90, 99], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [43, 13, 9] Generated Node #0,1: 65:[43, 13, 9] Operation: 99-90=9 Moving to Node #0,1 Current State: 65:[43, 13, 9], Operations: ['99-90=9'] Exploring Operation: 43+13=56, Resulting Numbers: [9, 56] Generated Node #0,1,1: 65:[9, 56] Operation: 43+13=56 Moving to Node #0,1,1 Current State: 65:[9, 56], Operations: ['99-90=9', '43+13=56'] Exploring Operation: 9+56=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 53, 61, 96, 70 ]
52
[ "53+61=114", "96+70=166", "166-114=52" ]
Current State: 52:[53, 61, 96, 70], Operations: [] Exploring Operation: 53+61=114, Resulting Numbers: [96, 70, 114] Generated Node #2: [96, 70, 114] from Operation: 53+61=114 Current State: 52:[96, 70, 114], Operations: ['53+61=114'] Exploring Operation: 96+70=166, Resulting Numbers: [114, 166] Generated Node #3: [114, 166] from Operation: 96+70=166 Current State: 52:[114, 166], Operations: ['53+61=114', '96+70=166'] Exploring Operation: 166-114=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[53, 61, 96, 70], Operations: [] Exploring Operation: 96-70=26, Resulting Numbers: [53, 61, 26] Generated Node #0,0: 52:[53, 61, 26] Operation: 96-70=26 Moving to Node #0,0 Current State: 52:[53, 61, 26], Operations: ['96-70=26'] Exploring Operation: 61-53=8, Resulting Numbers: [26, 8] Generated Node #0,0,0: 52:[26, 8] Operation: 61-53=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[26, 8], Operations: ['96-70=26', '61-53=8'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,52 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
[ 31, 24, 22, 14 ]
48
[ "24-22=2", "31*2=62", "62-14=48" ]
Current State: 48:[31, 24, 22, 14], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [31, 14, 2] Generated Node #2: [31, 14, 2] from Operation: 24-22=2 Current State: 48:[31, 14, 2], Operations: ['24-22=2'] Exploring Operation: 31*2=62, Resulting Numbers: [14, 62] Generated Node #3: [14, 62] from Operation: 31*2=62 Current State: 48:[14, 62], Operations: ['24-22=2', '31*2=62'] Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[31, 24, 22, 14], Operations: [] Exploring Operation: 31-22=9, Resulting Numbers: [24, 14, 9] Generated Node #0,0: 48:[24, 14, 9] Operation: 31-22=9 Moving to Node #0,0 Current State: 48:[24, 14, 9], Operations: ['31-22=9'] Exploring Operation: 14+9=23, Resulting Numbers: [24, 23] Generated Node #0,0,0: 48:[24, 23] Operation: 14+9=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[24, 23], Operations: ['31-22=9', '14+9=23'] Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,48 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
[ 86, 97, 96, 14 ]
99
[ "97-86=11", "96+14=110", "110-11=99" ]
Current State: 99:[86, 97, 96, 14], Operations: [] Exploring Operation: 97-86=11, Resulting Numbers: [96, 14, 11] Generated Node #2: [96, 14, 11] from Operation: 97-86=11 Current State: 99:[96, 14, 11], Operations: ['97-86=11'] Exploring Operation: 96+14=110, Resulting Numbers: [11, 110] Generated Node #3: [11, 110] from Operation: 96+14=110 Current State: 99:[11, 110], Operations: ['97-86=11', '96+14=110'] Exploring Operation: 110-11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[86, 97, 96, 14], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [97, 14, 10] Generated Node #0,0: 99:[97, 14, 10] Operation: 96-86=10 Exploring Operation: 97-86=11, Resulting Numbers: [96, 14, 11] Generated Node #0,1: 99:[96, 14, 11] Operation: 97-86=11 Exploring Operation: 86+14=100, Resulting Numbers: [97, 96, 100] Generated Node #0,2: 99:[97, 96, 100] Operation: 86+14=100 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[97, 14, 10], Operations: ['96-86=10'] Exploring Operation: 14+10=24, Resulting Numbers: [97, 24] Generated Node #0,0,0: 99:[97, 24] Operation: 14+10=24 Exploring Operation: 14-10=4, Resulting Numbers: [97, 4] Generated Node #0,0,1: 99:[97, 4] Operation: 14-10=4 Exploring Operation: 97+10=107, Resulting Numbers: [14, 107] Generated Node #0,0,2: 99:[14, 107] Operation: 97+10=107 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 99:[97, 4], Operations: ['96-86=10', '14-10=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,99 unequal: No Solution Exploring Operation: 97*4=388, Resulting Numbers: [388] 388,99 unequal: No Solution Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,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,0,0 Current State: 99:[97, 24], Operations: ['96-86=10', '14+10=24'] Exploring Operation: 97+24=121, Resulting Numbers: [121] 121,99 unequal: No Solution Exploring Operation: 97*24=2328, Resulting Numbers: [2328] 2328,99 unequal: No Solution Exploring Operation: 97-24=73, Resulting Numbers: [73] 73,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,0,2 Current State: 99:[14, 107], Operations: ['96-86=10', '97+10=107'] Exploring Operation: 107-14=93, Resulting Numbers: [93] 93,99 unequal: No Solution Exploring Operation: 14*107=1498, Resulting Numbers: [1498] 1498,99 unequal: No Solution Exploring Operation: 14+107=121, Resulting Numbers: [121] 121,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,1 Current State: 99:[96, 14, 11], Operations: ['97-86=11'] Exploring Operation: 14-11=3, Resulting Numbers: [96, 3] Generated Node #0,1,0: 99:[96, 3] Operation: 14-11=3 Exploring Operation: 96+14=110, Resulting Numbers: [11, 110] Generated Node #0,1,1: 99:[11, 110] Operation: 96+14=110 Exploring Operation: 96+11=107, Resulting Numbers: [14, 107] Generated Node #0,1,2: 99:[14, 107] Operation: 96+11=107 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[96, 3], Operations: ['97-86=11', '14-11=3'] Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,99 unequal: No Solution Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[86, 97, 96, 14], Operations: [] Exploring Operation: 97-86=11, Resulting Numbers: [96, 14, 11] Generated Node #0,1: 99:[96, 14, 11] Operation: 97-86=11 Moving to Node #0,1 Current State: 99:[96, 14, 11], Operations: ['97-86=11'] Exploring Operation: 14-11=3, Resulting Numbers: [96, 3] Generated Node #0,1,0: 99:[96, 3] Operation: 14-11=3 Moving to Node #0,1,0 Current State: 99:[96, 3], Operations: ['97-86=11', '14-11=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 78, 57, 57, 14 ]
64
[ "78+57=135", "57+14=71", "135-71=64" ]
Current State: 64:[78, 57, 57, 14], Operations: [] Exploring Operation: 78+57=135, Resulting Numbers: [14, 135] Generated Node #2: [14, 135] from Operation: 78+57=135 Current State: 64:[14, 135], Operations: ['78+57=135'] Exploring Operation: 57+14=71, Resulting Numbers: [135, 71] Generated Node #3: [135, 71] from Operation: 57+14=71 Current State: 64:[135, 71], Operations: ['78+57=135', '57+14=71'] Exploring Operation: 135-71=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[78, 57, 57, 14], Operations: [] Exploring Operation: 78-57=21, Resulting Numbers: [57, 14, 21] Generated Node #0,0: 64:[57, 14, 21] Operation: 78-57=21 Exploring Operation: 78-57=21, Resulting Numbers: [57, 14, 21] Generated Node #0,1: 64:[57, 14, 21] Operation: 78-57=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[57, 14, 21], Operations: ['78-57=21'] Exploring Operation: 57-21=36, Resulting Numbers: [14, 36] Generated Node #0,0,0: 64:[14, 36] Operation: 57-21=36 Exploring Operation: 21-14=7, Resulting Numbers: [57, 7] Generated Node #0,0,1: 64:[57, 7] Operation: 21-14=7 Moving to Node #0,0,0 Current State: 64:[14, 36], Operations: ['78-57=21', '57-21=36'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,64 unequal: No Solution Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[57, 7], Operations: ['78-57=21', '21-14=7'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[78, 57, 57, 14], Operations: [] Exploring Operation: 78-57=21, Resulting Numbers: [57, 14, 21] Generated Node #0,0: 64:[57, 14, 21] Operation: 78-57=21 Moving to Node #0,0 Current State: 64:[57, 14, 21], Operations: ['78-57=21'] Exploring Operation: 21-14=7, Resulting Numbers: [57, 7] Generated Node #0,0,1: 64:[57, 7] Operation: 21-14=7 Moving to Node #0,0,1 Current State: 64:[57, 7], Operations: ['78-57=21', '21-14=7'] Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic