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
[ 66, 33, 81, 64 ]
15
[ "66/33=2", "81-64=17", "17-2=15" ]
Current State: 15:[66, 33, 81, 64], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [81, 64, 2] Generated Node #2: [81, 64, 2] from Operation: 66/33=2 Current State: 15:[81, 64, 2], Operations: ['66/33=2'] Exploring Operation: 81-64=17, Resulting Numbers: [2, 17] Generated Node #3: [2, 17] from Operation: 81-64=17 Current State: 15:[2, 17], Operations: ['66/33=2', '81-64=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[66, 33, 81, 64], Operations: [] Exploring Operation: 81-66=15, Resulting Numbers: [33, 64, 15] Generated Node #0,0: 15:[33, 64, 15] Operation: 81-66=15 Exploring Operation: 66-33=33, Resulting Numbers: [81, 64, 33] Generated Node #0,1: 15:[81, 64, 33] Operation: 66-33=33 Exploring Operation: 66/33=2, Resulting Numbers: [81, 64, 2] Generated Node #0,2: 15:[81, 64, 2] Operation: 66/33=2 Exploring Operation: 81-64=17, Resulting Numbers: [66, 33, 17] Generated Node #0,3: 15:[66, 33, 17] Operation: 81-64=17 Exploring Operation: 66-64=2, Resulting Numbers: [33, 81, 2] Generated Node #0,4: 15:[33, 81, 2] Operation: 66-64=2 Moving to Node #0,0 Current State: 15:[33, 64, 15], Operations: ['81-66=15'] Exploring Operation: 33-15=18, Resulting Numbers: [64, 18] Generated Node #0,0,0: 15:[64, 18] Operation: 33-15=18 Exploring Operation: 64-33=31, Resulting Numbers: [15, 31] Generated Node #0,0,1: 15:[15, 31] Operation: 64-33=31 Exploring Operation: 64-15=49, Resulting Numbers: [33, 49] Generated Node #0,0,2: 15:[33, 49] Operation: 64-15=49 Exploring Operation: 33+15=48, Resulting Numbers: [64, 48] Generated Node #0,0,3: 15:[64, 48] Operation: 33+15=48 Exploring Operation: 33+64=97, Resulting Numbers: [15, 97] Generated Node #0,0,4: 15:[15, 97] Operation: 33+64=97 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[15, 31], Operations: ['81-66=15', '64-33=31'] Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,15 unequal: No Solution Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,15 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[64, 18], Operations: ['81-66=15', '33-15=18'] Exploring Operation: 64+18=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 64*18=1152, Resulting Numbers: [1152] 1152,15 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[33, 49], Operations: ['81-66=15', '64-15=49'] Exploring Operation: 33+49=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 33*49=1617, Resulting Numbers: [1617] 1617,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 15:[64, 48], Operations: ['81-66=15', '33+15=48'] Exploring Operation: 64+48=112, Resulting Numbers: [112] 112,15 unequal: No Solution Exploring Operation: 64*48=3072, Resulting Numbers: [3072] 3072,15 unequal: No Solution Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 15:[15, 97], Operations: ['81-66=15', '33+64=97'] Exploring Operation: 15+97=112, Resulting Numbers: [112] 112,15 unequal: No Solution Exploring Operation: 97-15=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 15*97=1455, Resulting Numbers: [1455] 1455,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 15:[66, 33, 17], Operations: ['81-64=17'] Exploring Operation: 33-17=16, Resulting Numbers: [66, 16] Generated Node #0,3,0: 15:[66, 16] Operation: 33-17=16 Exploring Operation: 66/33=2, Resulting Numbers: [17, 2] Generated Node #0,3,1: 15:[17, 2] Operation: 66/33=2 Exploring Operation: 66+33=99, Resulting Numbers: [17, 99] Generated Node #0,3,2: 15:[17, 99] Operation: 66+33=99 Exploring Operation: 66-17=49, Resulting Numbers: [33, 49] Generated Node #0,3,3: 15:[33, 49] Operation: 66-17=49 Exploring Operation: 66-33=33, Resulting Numbers: [17, 33] Generated Node #0,3,4: 15:[17, 33] Operation: 66-33=33 Moving to Node #0,4 Current State: 15:[33, 81, 2], Operations: ['66-64=2'] Exploring Operation: 81+2=83, Resulting Numbers: [33, 83] Generated Node #0,4,0: 15:[33, 83] Operation: 81+2=83 Exploring Operation: 33-2=31, Resulting Numbers: [81, 31] Generated Node #0,4,1: 15:[81, 31] Operation: 33-2=31 Exploring Operation: 33+2=35, Resulting Numbers: [81, 35] Generated Node #0,4,2: 15:[81, 35] Operation: 33+2=35 Exploring Operation: 81-2=79, Resulting Numbers: [33, 79] Generated Node #0,4,3: 15:[33, 79] Operation: 81-2=79 Exploring Operation: 81-33=48, Resulting Numbers: [2, 48] Generated Node #0,4,4: 15:[2, 48] Operation: 81-33=48 Moving to Node #0,2 Current State: 15:[81, 64, 2], Operations: ['66/33=2'] Exploring Operation: 81-2=79, Resulting Numbers: [64, 79] Generated Node #0,2,0: 15:[64, 79] Operation: 81-2=79 Exploring Operation: 64/2=32, Resulting Numbers: [81, 32] Generated Node #0,2,1: 15:[81, 32] Operation: 64/2=32 Exploring Operation: 64-2=62, Resulting Numbers: [81, 62] Generated Node #0,2,2: 15:[81, 62] Operation: 64-2=62 Exploring Operation: 81+2=83, Resulting Numbers: [64, 83] Generated Node #0,2,3: 15:[64, 83] Operation: 81+2=83 Exploring Operation: 81-64=17, Resulting Numbers: [2, 17] Generated Node #0,2,4: 15:[2, 17] Operation: 81-64=17 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 15:[2, 17], Operations: ['66/33=2', '81-64=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[66, 33, 81, 64], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [81, 64, 2] Generated Node #0,2: 15:[81, 64, 2] Operation: 66/33=2 Moving to Node #0,2 Current State: 15:[81, 64, 2], Operations: ['66/33=2'] Exploring Operation: 81-64=17, Resulting Numbers: [2, 17] Generated Node #0,2,4: 15:[2, 17] Operation: 81-64=17 Moving to Node #0,2,4 Current State: 15:[2, 17], Operations: ['66/33=2', '81-64=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
sum_heuristic
[ 75, 95, 8, 52 ]
24
[ "95-75=20", "52-8=44", "44-20=24" ]
Current State: 24:[75, 95, 8, 52], Operations: [] Exploring Operation: 95-75=20, Resulting Numbers: [8, 52, 20] Generated Node #2: [8, 52, 20] from Operation: 95-75=20 Current State: 24:[8, 52, 20], Operations: ['95-75=20'] Exploring Operation: 52-8=44, Resulting Numbers: [20, 44] Generated Node #3: [20, 44] from Operation: 52-8=44 Current State: 24:[20, 44], Operations: ['95-75=20', '52-8=44'] Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[75, 95, 8, 52], Operations: [] Exploring Operation: 95-75=20, Resulting Numbers: [8, 52, 20] Generated Node #0,0: 24:[8, 52, 20] Operation: 95-75=20 Moving to Node #0,0 Current State: 24:[8, 52, 20], Operations: ['95-75=20'] Exploring Operation: 52-20=32, Resulting Numbers: [8, 32] Generated Node #0,0,0: 24:[8, 32] Operation: 52-20=32 Moving to Node #0,0,0 Current State: 24:[8, 32], Operations: ['95-75=20', '52-20=32'] Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[75, 95, 8, 52], Operations: [] Exploring Operation: 95-75=20, Resulting Numbers: [8, 52, 20] Generated Node #0,0: 24:[8, 52, 20] Operation: 95-75=20 Moving to Node #0,0 Current State: 24:[8, 52, 20], Operations: ['95-75=20'] Exploring Operation: 52-20=32, Resulting Numbers: [8, 32] Generated Node #0,0,0: 24:[8, 32] Operation: 52-20=32 Moving to Node #0,0,0 Current State: 24:[8, 32], Operations: ['95-75=20', '52-20=32'] Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 24, 18, 33, 13 ]
52
[ "24-18=6", "33+13=46", "6+46=52" ]
Current State: 52:[24, 18, 33, 13], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [33, 13, 6] Generated Node #2: [33, 13, 6] from Operation: 24-18=6 Current State: 52:[33, 13, 6], Operations: ['24-18=6'] Exploring Operation: 33+13=46, Resulting Numbers: [6, 46] Generated Node #3: [6, 46] from Operation: 33+13=46 Current State: 52:[6, 46], Operations: ['24-18=6', '33+13=46'] Exploring Operation: 6+46=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[24, 18, 33, 13], Operations: [] Exploring Operation: 18+33=51, Resulting Numbers: [24, 13, 51] Generated Node #0,0: 52:[24, 13, 51] Operation: 18+33=51 Exploring Operation: 33-18=15, Resulting Numbers: [24, 13, 15] Generated Node #0,1: 52:[24, 13, 15] Operation: 33-18=15 Moving to Node #0,0 Current State: 52:[24, 13, 51], Operations: ['18+33=51'] Exploring Operation: 51-24=27, Resulting Numbers: [13, 27] Generated Node #0,0,0: 52:[13, 27] Operation: 51-24=27 Exploring Operation: 24-13=11, Resulting Numbers: [51, 11] Generated Node #0,0,1: 52:[51, 11] Operation: 24-13=11 Moving to Node #0,1 Current State: 52:[24, 13, 15], Operations: ['33-18=15'] Exploring Operation: 15-13=2, Resulting Numbers: [24, 2] Generated Node #0,1,0: 52:[24, 2] Operation: 15-13=2 Exploring Operation: 24-13=11, Resulting Numbers: [15, 11] Generated Node #0,1,1: 52:[15, 11] Operation: 24-13=11 Moving to Node #0,0,0 Current State: 52:[13, 27], Operations: ['18+33=51', '51-24=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,52 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[24, 2], Operations: ['33-18=15', '15-13=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[51, 11], Operations: ['18+33=51', '24-13=11'] Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,52 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[15, 11], Operations: ['33-18=15', '24-13=11'] Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,52 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 55, 27, 34, 67 ]
73
[ "55-27=28", "34+67=101", "101-28=73" ]
Current State: 73:[55, 27, 34, 67], Operations: [] Exploring Operation: 55-27=28, Resulting Numbers: [34, 67, 28] Generated Node #2: [34, 67, 28] from Operation: 55-27=28 Current State: 73:[34, 67, 28], Operations: ['55-27=28'] Exploring Operation: 34+67=101, Resulting Numbers: [28, 101] Generated Node #3: [28, 101] from Operation: 34+67=101 Current State: 73:[28, 101], Operations: ['55-27=28', '34+67=101'] Exploring Operation: 101-28=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[55, 27, 34, 67], Operations: [] Exploring Operation: 55-27=28, Resulting Numbers: [34, 67, 28] Generated Node #0,0: 73:[34, 67, 28] Operation: 55-27=28 Exploring Operation: 27+67=94, Resulting Numbers: [55, 34, 94] Generated Node #0,1: 73:[55, 34, 94] Operation: 27+67=94 Exploring Operation: 55+34=89, Resulting Numbers: [27, 67, 89] Generated Node #0,2: 73:[27, 67, 89] Operation: 55+34=89 Exploring Operation: 27+34=61, Resulting Numbers: [55, 67, 61] Generated Node #0,3: 73:[55, 67, 61] Operation: 27+34=61 Exploring Operation: 55+27=82, Resulting Numbers: [34, 67, 82] Generated Node #0,4: 73:[34, 67, 82] Operation: 55+27=82 Moving to Node #0,3 Current State: 73:[55, 67, 61], Operations: ['27+34=61'] Exploring Operation: 61-55=6, Resulting Numbers: [67, 6] Generated Node #0,3,0: 73:[67, 6] Operation: 61-55=6 Exploring Operation: 55+67=122, Resulting Numbers: [61, 122] Generated Node #0,3,1: 73:[61, 122] Operation: 55+67=122 Exploring Operation: 67-55=12, Resulting Numbers: [61, 12] Generated Node #0,3,2: 73:[61, 12] Operation: 67-55=12 Exploring Operation: 55+61=116, Resulting Numbers: [67, 116] Generated Node #0,3,3: 73:[67, 116] Operation: 55+61=116 Exploring Operation: 67+61=128, Resulting Numbers: [55, 128] Generated Node #0,3,4: 73:[55, 128] Operation: 67+61=128 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[67, 116], Operations: ['27+34=61', '55+61=116'] Exploring Operation: 116-67=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 67*116=7772, Resulting Numbers: [7772] 7772,73 unequal: No Solution Exploring Operation: 67+116=183, Resulting Numbers: [183] 183,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[61, 122], Operations: ['27+34=61', '55+67=122'] Exploring Operation: 61*122=7442, Resulting Numbers: [7442] 7442,73 unequal: No Solution Exploring Operation: 122-61=61, Resulting Numbers: [61] 61,73 unequal: No Solution Exploring Operation: 61+122=183, Resulting Numbers: [183] 183,73 unequal: No Solution Exploring Operation: 122/61=2, Resulting Numbers: [2] 2,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[67, 6], Operations: ['27+34=61', '61-55=6'] Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,73 unequal: No Solution Exploring Operation: 67*6=402, Resulting Numbers: [402] 402,73 unequal: No Solution Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[55, 27, 34, 67], Operations: [] Exploring Operation: 27+34=61, Resulting Numbers: [55, 67, 61] Generated Node #0,3: 73:[55, 67, 61] Operation: 27+34=61 Moving to Node #0,3 Current State: 73:[55, 67, 61], Operations: ['27+34=61'] Exploring Operation: 61-55=6, Resulting Numbers: [67, 6] Generated Node #0,3,0: 73:[67, 6] Operation: 61-55=6 Moving to Node #0,3,0 Current State: 73:[67, 6], Operations: ['27+34=61', '61-55=6'] Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 11, 2, 8, 66 ]
48
[ "8+66=74", "74/2=37", "11+37=48" ]
Current State: 48:[11, 2, 8, 66], Operations: [] Exploring Operation: 8+66=74, Resulting Numbers: [11, 2, 74] Generated Node #2: [11, 2, 74] from Operation: 8+66=74 Current State: 48:[11, 2, 74], Operations: ['8+66=74'] Exploring Operation: 74/2=37, Resulting Numbers: [11, 37] Generated Node #3: [11, 37] from Operation: 74/2=37 Current State: 48:[11, 37], Operations: ['8+66=74', '74/2=37'] Exploring Operation: 11+37=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[11, 2, 8, 66], Operations: [] Exploring Operation: 66-11=55, Resulting Numbers: [2, 8, 55] Generated Node #0,0: 48:[2, 8, 55] Operation: 66-11=55 Exploring Operation: 66/2=33, Resulting Numbers: [11, 8, 33] Generated Node #0,1: 48:[11, 8, 33] Operation: 66/2=33 Exploring Operation: 66/11=6, Resulting Numbers: [2, 8, 6] Generated Node #0,2: 48:[2, 8, 6] Operation: 66/11=6 Moving to Node #0,2 Current State: 48:[2, 8, 6], Operations: ['66/11=6'] Exploring Operation: 2*8=16, Resulting Numbers: [6, 16] Generated Node #0,2,0: 48:[6, 16] Operation: 2*8=16 Exploring Operation: 8-2=6, Resulting Numbers: [6, 6] Generated Node #0,2,1: 48:[6, 6] Operation: 8-2=6 Exploring Operation: 8/2=4, Resulting Numbers: [6, 4] Generated Node #0,2,2: 48:[6, 4] Operation: 8/2=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[6, 16], Operations: ['66/11=6', '2*8=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,48 unequal: No Solution Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[6, 6], Operations: ['66/11=6', '8-2=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[6, 4], Operations: ['66/11=6', '8/2=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,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:[2, 8, 55], Operations: ['66-11=55'] Exploring Operation: 2*8=16, Resulting Numbers: [55, 16] Generated Node #0,0,0: 48:[55, 16] Operation: 2*8=16 Exploring Operation: 55-2=53, Resulting Numbers: [8, 53] Generated Node #0,0,1: 48:[8, 53] Operation: 55-2=53 Exploring Operation: 55-8=47, Resulting Numbers: [2, 47] Generated Node #0,0,2: 48:[2, 47] Operation: 55-8=47 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 48:[2, 47], Operations: ['66-11=55', '55-8=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,48 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,48 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[8, 53], Operations: ['66-11=55', '55-2=53'] Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,48 unequal: No Solution Exploring Operation: 8*53=424, Resulting Numbers: [424] 424,48 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[55, 16], Operations: ['66-11=55', '2*8=16'] Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 55*16=880, Resulting Numbers: [880] 880,48 unequal: No Solution Exploring Operation: 55+16=71, Resulting Numbers: [71] 71,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 48:[11, 8, 33], Operations: ['66/2=33'] Exploring Operation: 33-8=25, Resulting Numbers: [11, 25] Generated Node #0,1,0: 48:[11, 25] Operation: 33-8=25 Exploring Operation: 33/11=3, Resulting Numbers: [8, 3] Generated Node #0,1,1: 48:[8, 3] Operation: 33/11=3 Exploring Operation: 33-11=22, Resulting Numbers: [8, 22] Generated Node #0,1,2: 48:[8, 22] Operation: 33-11=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[8, 3], Operations: ['66/2=33', '33/11=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,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,0 Current State: 48:[11, 25], Operations: ['66/2=33', '33-8=25'] Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,48 unequal: No Solution Exploring Operation: 11*25=275, Resulting Numbers: [275] 275,48 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,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,2 Current State: 48:[8, 22], Operations: ['66/2=33', '33-11=22'] Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,48 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,48 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
[ 8, 24, 16, 74 ]
13
[ "16/8=2", "74/2=37", "37-24=13" ]
Current State: 13:[8, 24, 16, 74], Operations: [] Exploring Operation: 16/8=2, Resulting Numbers: [24, 74, 2] Generated Node #2: [24, 74, 2] from Operation: 16/8=2 Current State: 13:[24, 74, 2], Operations: ['16/8=2'] Exploring Operation: 74/2=37, Resulting Numbers: [24, 37] Generated Node #3: [24, 37] from Operation: 74/2=37 Current State: 13:[24, 37], Operations: ['16/8=2', '74/2=37'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[8, 24, 16, 74], Operations: [] Exploring Operation: 74-24=50, Resulting Numbers: [8, 16, 50] Generated Node #0,0: 13:[8, 16, 50] Operation: 74-24=50 Exploring Operation: 74-8=66, Resulting Numbers: [24, 16, 66] Generated Node #0,1: 13:[24, 16, 66] Operation: 74-8=66 Exploring Operation: 74-16=58, Resulting Numbers: [8, 24, 58] Generated Node #0,2: 13:[8, 24, 58] Operation: 74-16=58 Exploring Operation: 24-8=16, Resulting Numbers: [16, 74, 16] Generated Node #0,3: 13:[16, 74, 16] Operation: 24-8=16 Moving to Node #0,0 Current State: 13:[8, 16, 50], Operations: ['74-24=50'] Exploring Operation: 50-16=34, Resulting Numbers: [8, 34] Generated Node #0,0,0: 13:[8, 34] Operation: 50-16=34 Exploring Operation: 16-8=8, Resulting Numbers: [50, 8] Generated Node #0,0,1: 13:[50, 8] Operation: 16-8=8 Exploring Operation: 50-8=42, Resulting Numbers: [16, 42] Generated Node #0,0,2: 13:[16, 42] Operation: 50-8=42 Exploring Operation: 8+16=24, Resulting Numbers: [50, 24] Generated Node #0,0,3: 13:[50, 24] Operation: 8+16=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[8, 34], Operations: ['74-24=50', '50-16=34'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 8+34=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 8*34=272, Resulting Numbers: [272] 272,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:[16, 42], Operations: ['74-24=50', '50-8=42'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 16*42=672, Resulting Numbers: [672] 672,13 unequal: No Solution Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,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:[50, 8], Operations: ['74-24=50', '16-8=8'] Exploring Operation: 50*8=400, Resulting Numbers: [400] 400,13 unequal: No Solution Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,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,3 Current State: 13:[50, 24], Operations: ['74-24=50', '8+16=24'] Exploring Operation: 50*24=1200, Resulting Numbers: [1200] 1200,13 unequal: No Solution Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 50+24=74, Resulting Numbers: [74] 74,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:[8, 24, 58], Operations: ['74-16=58'] Exploring Operation: 24/8=3, Resulting Numbers: [58, 3] Generated Node #0,2,0: 13:[58, 3] Operation: 24/8=3 Exploring Operation: 58-24=34, Resulting Numbers: [8, 34] Generated Node #0,2,1: 13:[8, 34] Operation: 58-24=34 Exploring Operation: 58-8=50, Resulting Numbers: [24, 50] Generated Node #0,2,2: 13:[24, 50] Operation: 58-8=50 Exploring Operation: 24-8=16, Resulting Numbers: [58, 16] Generated Node #0,2,3: 13:[58, 16] Operation: 24-8=16 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 13:[8, 34], Operations: ['74-16=58', '58-24=34'] Exploring Operation: 8*34=272, Resulting Numbers: [272] 272,13 unequal: No Solution Exploring Operation: 8+34=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,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:[24, 50], Operations: ['74-16=58', '58-8=50'] Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 24+50=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 24*50=1200, Resulting Numbers: [1200] 1200,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,3 Current State: 13:[58, 16], Operations: ['74-16=58', '24-8=16'] Exploring Operation: 58+16=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 58*16=928, Resulting Numbers: [928] 928,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,0 Current State: 13:[58, 3], Operations: ['74-16=58', '24/8=3'] Exploring Operation: 58*3=174, Resulting Numbers: [174] 174,13 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,13 unequal: No Solution Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,13 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: 13:[16, 74, 16], Operations: ['24-8=16'] Exploring Operation: 16/16=1, Resulting Numbers: [74, 1] Generated Node #0,3,0: 13:[74, 1] Operation: 16/16=1 Exploring Operation: 74-16=58, Resulting Numbers: [16, 58] Generated Node #0,3,1: 13:[16, 58] Operation: 74-16=58 Exploring Operation: 16-16=0, Resulting Numbers: [74, 0] Generated Node #0,3,2: 13:[74, 0] Operation: 16-16=0 Exploring Operation: 74-16=58, Resulting Numbers: [16, 58] Generated Node #0,3,3: 13:[16, 58] Operation: 74-16=58 Moving to Node #0,1 Current State: 13:[24, 16, 66], Operations: ['74-8=66'] Exploring Operation: 66-24=42, Resulting Numbers: [16, 42] Generated Node #0,1,0: 13:[16, 42] Operation: 66-24=42 Exploring Operation: 24-16=8, Resulting Numbers: [66, 8] Generated Node #0,1,1: 13:[66, 8] Operation: 24-16=8 Exploring Operation: 66-16=50, Resulting Numbers: [24, 50] Generated Node #0,1,2: 13:[24, 50] Operation: 66-16=50 Exploring Operation: 24+16=40, Resulting Numbers: [66, 40] Generated Node #0,1,3: 13:[66, 40] Operation: 24+16=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[16, 42], Operations: ['74-8=66', '66-24=42'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 16*42=672, Resulting Numbers: [672] 672,13 unequal: No Solution Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,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:[24, 50], Operations: ['74-8=66', '66-16=50'] Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 24*50=1200, Resulting Numbers: [1200] 1200,13 unequal: No Solution Exploring Operation: 24+50=74, Resulting Numbers: [74] 74,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:[66, 8], Operations: ['74-8=66', '24-16=8'] Exploring Operation: 66+8=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 66*8=528, Resulting Numbers: [528] 528,13 unequal: No Solution Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,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,3 Current State: 13:[66, 40], Operations: ['74-8=66', '24+16=40'] Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,13 unequal: No Solution Exploring Operation: 66*40=2640, Resulting Numbers: [2640] 2640,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 13:[16, 58], Operations: ['24-8=16', '74-16=58'] Exploring Operation: 16+58=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 16*58=928, Resulting Numbers: [928] 928,13 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[16, 58], Operations: ['24-8=16', '74-16=58'] Exploring Operation: 16*58=928, Resulting Numbers: [928] 928,13 unequal: No Solution Exploring Operation: 16+58=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[74, 1], Operations: ['24-8=16', '16/16=1'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,13 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,13 unequal: No Solution Moving to Node #0,3,2 Current State: 13:[74, 0], Operations: ['24-8=16', '16-16=0'] Exploring Operation: 74+0=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 74-0=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 74*0=0, Resulting Numbers: [0] 0,13 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 34, 20, 25, 90 ]
79
[ "34-20=14", "90-25=65", "14+65=79" ]
Current State: 79:[34, 20, 25, 90], Operations: [] Exploring Operation: 34-20=14, Resulting Numbers: [25, 90, 14] Generated Node #2: [25, 90, 14] from Operation: 34-20=14 Current State: 79:[25, 90, 14], Operations: ['34-20=14'] Exploring Operation: 90-25=65, Resulting Numbers: [14, 65] Generated Node #3: [14, 65] from Operation: 90-25=65 Current State: 79:[14, 65], Operations: ['34-20=14', '90-25=65'] Exploring Operation: 14+65=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[34, 20, 25, 90], Operations: [] Exploring Operation: 34+25=59, Resulting Numbers: [20, 90, 59] Generated Node #0,0: 79:[20, 90, 59] Operation: 34+25=59 Exploring Operation: 34+20=54, Resulting Numbers: [25, 90, 54] Generated Node #0,1: 79:[25, 90, 54] Operation: 34+20=54 Exploring Operation: 90-20=70, Resulting Numbers: [34, 25, 70] Generated Node #0,2: 79:[34, 25, 70] Operation: 90-20=70 Exploring Operation: 20+25=45, Resulting Numbers: [34, 90, 45] Generated Node #0,3: 79:[34, 90, 45] Operation: 20+25=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[20, 90, 59], Operations: ['34+25=59'] Exploring Operation: 90-20=70, Resulting Numbers: [59, 70] Generated Node #0,0,0: 79:[59, 70] Operation: 90-20=70 Exploring Operation: 20+90=110, Resulting Numbers: [59, 110] Generated Node #0,0,1: 79:[59, 110] Operation: 20+90=110 Exploring Operation: 20+59=79, Resulting Numbers: [90, 79] Generated Node #0,0,2: 79:[90, 79] Operation: 20+59=79 Exploring Operation: 59-20=39, Resulting Numbers: [90, 39] Generated Node #0,0,3: 79:[90, 39] Operation: 59-20=39 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 79:[90, 79], Operations: ['34+25=59', '20+59=79'] Exploring Operation: 90-79=11, Resulting Numbers: [11] 11,79 unequal: No Solution Exploring Operation: 90+79=169, Resulting Numbers: [169] 169,79 unequal: No Solution Exploring Operation: 90*79=7110, Resulting Numbers: [7110] 7110,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,0 Current State: 79:[59, 70], Operations: ['34+25=59', '90-20=70'] Exploring Operation: 59+70=129, Resulting Numbers: [129] 129,79 unequal: No Solution Exploring Operation: 70-59=11, Resulting Numbers: [11] 11,79 unequal: No Solution Exploring Operation: 59*70=4130, Resulting Numbers: [4130] 4130,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:[59, 110], Operations: ['34+25=59', '20+90=110'] Exploring Operation: 110-59=51, Resulting Numbers: [51] 51,79 unequal: No Solution Exploring Operation: 59*110=6490, Resulting Numbers: [6490] 6490,79 unequal: No Solution Exploring Operation: 59+110=169, Resulting Numbers: [169] 169,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,3 Current State: 79:[90, 39], Operations: ['34+25=59', '59-20=39'] Exploring Operation: 90*39=3510, Resulting Numbers: [3510] 3510,79 unequal: No Solution Exploring Operation: 90+39=129, Resulting Numbers: [129] 129,79 unequal: No Solution Exploring Operation: 90-39=51, Resulting Numbers: [51] 51,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:[25, 90, 54], Operations: ['34+20=54'] Exploring Operation: 54-25=29, Resulting Numbers: [90, 29] Generated Node #0,1,0: 79:[90, 29] Operation: 54-25=29 Exploring Operation: 25+90=115, Resulting Numbers: [54, 115] Generated Node #0,1,1: 79:[54, 115] Operation: 25+90=115 Exploring Operation: 25+54=79, Resulting Numbers: [90, 79] Generated Node #0,1,2: 79:[90, 79] Operation: 25+54=79 Exploring Operation: 90-25=65, Resulting Numbers: [54, 65] Generated Node #0,1,3: 79:[54, 65] Operation: 90-25=65 Moving to Node #0,1,2 Current State: 79:[90, 79], Operations: ['34+20=54', '25+54=79'] Exploring Operation: 90*79=7110, Resulting Numbers: [7110] 7110,79 unequal: No Solution Exploring Operation: 90+79=169, Resulting Numbers: [169] 169,79 unequal: No Solution Exploring Operation: 90-79=11, Resulting Numbers: [11] 11,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[54, 65], Operations: ['34+20=54', '90-25=65'] Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,79 unequal: No Solution Exploring Operation: 54*65=3510, Resulting Numbers: [3510] 3510,79 unequal: No Solution Exploring Operation: 54+65=119, Resulting Numbers: [119] 119,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[54, 115], Operations: ['34+20=54', '25+90=115'] Exploring Operation: 54+115=169, Resulting Numbers: [169] 169,79 unequal: No Solution Exploring Operation: 54*115=6210, Resulting Numbers: [6210] 6210,79 unequal: No Solution Exploring Operation: 115-54=61, Resulting Numbers: [61] 61,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[90, 29], Operations: ['34+20=54', '54-25=29'] Exploring Operation: 90*29=2610, Resulting Numbers: [2610] 2610,79 unequal: No Solution Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,79 unequal: No Solution Exploring Operation: 90+29=119, Resulting Numbers: [119] 119,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[34, 90, 45], Operations: ['20+25=45'] Exploring Operation: 34+45=79, Resulting Numbers: [90, 79] Generated Node #0,3,0: 79:[90, 79] Operation: 34+45=79 Exploring Operation: 90-34=56, Resulting Numbers: [45, 56] Generated Node #0,3,1: 79:[45, 56] Operation: 90-34=56 Exploring Operation: 45-34=11, Resulting Numbers: [90, 11] Generated Node #0,3,2: 79:[90, 11] Operation: 45-34=11 Exploring Operation: 34+90=124, Resulting Numbers: [45, 124] Generated Node #0,3,3: 79:[45, 124] Operation: 34+90=124 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 79:[90, 79], Operations: ['20+25=45', '34+45=79'] Exploring Operation: 90+79=169, Resulting Numbers: [169] 169,79 unequal: No Solution Exploring Operation: 90*79=7110, Resulting Numbers: [7110] 7110,79 unequal: No Solution Exploring Operation: 90-79=11, Resulting Numbers: [11] 11,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,3,1 Current State: 79:[45, 56], Operations: ['20+25=45', '90-34=56'] Exploring Operation: 45*56=2520, Resulting Numbers: [2520] 2520,79 unequal: No Solution Exploring Operation: 45+56=101, Resulting Numbers: [101] 101,79 unequal: No Solution Exploring Operation: 56-45=11, Resulting Numbers: [11] 11,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,3,2 Current State: 79:[90, 11], Operations: ['20+25=45', '45-34=11'] Exploring Operation: 90*11=990, Resulting Numbers: [990] 990,79 unequal: No Solution Exploring Operation: 90+11=101, Resulting Numbers: [101] 101,79 unequal: No Solution Exploring Operation: 90-11=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[34, 20, 25, 90], Operations: [] Exploring Operation: 20+25=45, Resulting Numbers: [34, 90, 45] Generated Node #0,3: 79:[34, 90, 45] Operation: 20+25=45 Moving to Node #0,3 Current State: 79:[34, 90, 45], Operations: ['20+25=45'] Exploring Operation: 45-34=11, Resulting Numbers: [90, 11] Generated Node #0,3,2: 79:[90, 11] Operation: 45-34=11 Moving to Node #0,3,2 Current State: 79:[90, 11], Operations: ['20+25=45', '45-34=11'] Exploring Operation: 90-11=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.953993
hs_4
sum_heuristic
[ 32, 3, 55, 8 ]
53
[ "55+8=63", "63/3=21", "32+21=53" ]
Current State: 53:[32, 3, 55, 8], Operations: [] Exploring Operation: 55+8=63, Resulting Numbers: [32, 3, 63] Generated Node #2: [32, 3, 63] from Operation: 55+8=63 Current State: 53:[32, 3, 63], Operations: ['55+8=63'] Exploring Operation: 63/3=21, Resulting Numbers: [32, 21] Generated Node #3: [32, 21] from Operation: 63/3=21 Current State: 53:[32, 21], Operations: ['55+8=63', '63/3=21'] Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[32, 3, 55, 8], Operations: [] Exploring Operation: 32+3=35, Resulting Numbers: [55, 8, 35] Generated Node #0,0: 53:[55, 8, 35] Operation: 32+3=35 Exploring Operation: 3*8=24, Resulting Numbers: [32, 55, 24] Generated Node #0,1: 53:[32, 55, 24] Operation: 3*8=24 Exploring Operation: 32+8=40, Resulting Numbers: [3, 55, 40] Generated Node #0,2: 53:[3, 55, 40] Operation: 32+8=40 Exploring Operation: 3+8=11, Resulting Numbers: [32, 55, 11] Generated Node #0,3: 53:[32, 55, 11] Operation: 3+8=11 Moving to Node #0,1 Current State: 53:[32, 55, 24], Operations: ['3*8=24'] Exploring Operation: 55+24=79, Resulting Numbers: [32, 79] Generated Node #0,1,0: 53:[32, 79] Operation: 55+24=79 Exploring Operation: 55-24=31, Resulting Numbers: [32, 31] Generated Node #0,1,1: 53:[32, 31] Operation: 55-24=31 Exploring Operation: 32-24=8, Resulting Numbers: [55, 8] Generated Node #0,1,2: 53:[55, 8] Operation: 32-24=8 Exploring Operation: 32+24=56, Resulting Numbers: [55, 56] Generated Node #0,1,3: 53:[55, 56] Operation: 32+24=56 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 53:[55, 56], Operations: ['3*8=24', '32+24=56'] Exploring Operation: 55*56=3080, Resulting Numbers: [3080] 3080,53 unequal: No Solution Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 55+56=111, Resulting Numbers: [111] 111,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[32, 31], Operations: ['3*8=24', '55-24=31'] Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 32*31=992, Resulting Numbers: [992] 992,53 unequal: No Solution Exploring Operation: 32+31=63, Resulting Numbers: [63] 63,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[32, 79], Operations: ['3*8=24', '55+24=79'] Exploring Operation: 32+79=111, Resulting Numbers: [111] 111,53 unequal: No Solution Exploring Operation: 32*79=2528, Resulting Numbers: [2528] 2528,53 unequal: No Solution Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[55, 8], Operations: ['3*8=24', '32-24=8'] Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,53 unequal: No Solution Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,53 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: 53:[3, 55, 40], Operations: ['32+8=40'] Exploring Operation: 3+40=43, Resulting Numbers: [55, 43] Generated Node #0,2,0: 53:[55, 43] Operation: 3+40=43 Exploring Operation: 3+55=58, Resulting Numbers: [40, 58] Generated Node #0,2,1: 53:[40, 58] Operation: 3+55=58 Exploring Operation: 55-3=52, Resulting Numbers: [40, 52] Generated Node #0,2,2: 53:[40, 52] Operation: 55-3=52 Exploring Operation: 40-3=37, Resulting Numbers: [55, 37] Generated Node #0,2,3: 53:[55, 37] Operation: 40-3=37 Moving to Node #0,0 Current State: 53:[55, 8, 35], Operations: ['32+3=35'] Exploring Operation: 35-8=27, Resulting Numbers: [55, 27] Generated Node #0,0,0: 53:[55, 27] Operation: 35-8=27 Exploring Operation: 55+8=63, Resulting Numbers: [35, 63] Generated Node #0,0,1: 53:[35, 63] Operation: 55+8=63 Exploring Operation: 8+35=43, Resulting Numbers: [55, 43] Generated Node #0,0,2: 53:[55, 43] Operation: 8+35=43 Exploring Operation: 55-8=47, Resulting Numbers: [35, 47] Generated Node #0,0,3: 53:[35, 47] Operation: 55-8=47 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[55, 43], Operations: ['32+3=35', '8+35=43'] Exploring Operation: 55+43=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 55*43=2365, Resulting Numbers: [2365] 2365,53 unequal: No Solution Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[35, 47], Operations: ['32+3=35', '55-8=47'] Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 35+47=82, Resulting Numbers: [82] 82,53 unequal: No Solution Exploring Operation: 35*47=1645, Resulting Numbers: [1645] 1645,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[55, 27], Operations: ['32+3=35', '35-8=27'] Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,53 unequal: No Solution Exploring Operation: 55+27=82, Resulting Numbers: [82] 82,53 unequal: No Solution Exploring Operation: 55*27=1485, Resulting Numbers: [1485] 1485,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[35, 63], Operations: ['32+3=35', '55+8=63'] Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,53 unequal: No Solution Exploring Operation: 35*63=2205, Resulting Numbers: [2205] 2205,53 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: 53:[32, 55, 11], Operations: ['3+8=11'] Exploring Operation: 55-11=44, Resulting Numbers: [32, 44] Generated Node #0,3,0: 53:[32, 44] Operation: 55-11=44 Exploring Operation: 32-11=21, Resulting Numbers: [55, 21] Generated Node #0,3,1: 53:[55, 21] Operation: 32-11=21 Exploring Operation: 32+11=43, Resulting Numbers: [55, 43] Generated Node #0,3,2: 53:[55, 43] Operation: 32+11=43 Exploring Operation: 55+11=66, Resulting Numbers: [32, 66] Generated Node #0,3,3: 53:[32, 66] Operation: 55+11=66 Moving to Node #0,2,0 Current State: 53:[55, 43], Operations: ['32+8=40', '3+40=43'] Exploring Operation: 55*43=2365, Resulting Numbers: [2365] 2365,53 unequal: No Solution Exploring Operation: 55+43=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[55, 43], Operations: ['3+8=11', '32+11=43'] Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 55*43=2365, Resulting Numbers: [2365] 2365,53 unequal: No Solution Exploring Operation: 55+43=98, Resulting Numbers: [98] 98,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[40, 52], Operations: ['32+8=40', '55-3=52'] Exploring Operation: 40*52=2080, Resulting Numbers: [2080] 2080,53 unequal: No Solution Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 40+52=92, Resulting Numbers: [92] 92,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[40, 58], Operations: ['32+8=40', '3+55=58'] Exploring Operation: 40+58=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 40*58=2320, Resulting Numbers: [2320] 2320,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[55, 37], Operations: ['32+8=40', '40-3=37'] Exploring Operation: 55+37=92, Resulting Numbers: [92] 92,53 unequal: No Solution Exploring Operation: 55-37=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 55*37=2035, Resulting Numbers: [2035] 2035,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[32, 44], Operations: ['3+8=11', '55-11=44'] Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 32+44=76, Resulting Numbers: [76] 76,53 unequal: No Solution Exploring Operation: 32*44=1408, Resulting Numbers: [1408] 1408,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[55, 21], Operations: ['3+8=11', '32-11=21'] Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 55*21=1155, Resulting Numbers: [1155] 1155,53 unequal: No Solution Exploring Operation: 55+21=76, Resulting Numbers: [76] 76,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[32, 66], Operations: ['3+8=11', '55+11=66'] Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 32+66=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 32*66=2112, Resulting Numbers: [2112] 2112,53 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 34, 91, 9, 10 ]
58
[ "91-34=57", "10-9=1", "57+1=58" ]
Current State: 58:[34, 91, 9, 10], Operations: [] Exploring Operation: 91-34=57, Resulting Numbers: [9, 10, 57] Generated Node #2: [9, 10, 57] from Operation: 91-34=57 Current State: 58:[9, 10, 57], Operations: ['91-34=57'] Exploring Operation: 10-9=1, Resulting Numbers: [57, 1] Generated Node #3: [57, 1] from Operation: 10-9=1 Current State: 58:[57, 1], Operations: ['91-34=57', '10-9=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[34, 91, 9, 10], Operations: [] Exploring Operation: 10-9=1, Resulting Numbers: [34, 91, 1] Generated Node #0,0: 58:[34, 91, 1] Operation: 10-9=1 Exploring Operation: 34-9=25, Resulting Numbers: [91, 10, 25] Generated Node #0,1: 58:[91, 10, 25] Operation: 34-9=25 Exploring Operation: 91-10=81, Resulting Numbers: [34, 9, 81] Generated Node #0,2: 58:[34, 9, 81] Operation: 91-10=81 Exploring Operation: 91-34=57, Resulting Numbers: [9, 10, 57] Generated Node #0,3: 58:[9, 10, 57] Operation: 91-34=57 Exploring Operation: 91-9=82, Resulting Numbers: [34, 10, 82] Generated Node #0,4: 58:[34, 10, 82] Operation: 91-9=82 Moving to Node #0,3 Current State: 58:[9, 10, 57], Operations: ['91-34=57'] Exploring Operation: 9+10=19, Resulting Numbers: [57, 19] Generated Node #0,3,0: 58:[57, 19] Operation: 9+10=19 Exploring Operation: 10-9=1, Resulting Numbers: [57, 1] Generated Node #0,3,1: 58:[57, 1] Operation: 10-9=1 Exploring Operation: 10+57=67, Resulting Numbers: [9, 67] Generated Node #0,3,2: 58:[9, 67] Operation: 10+57=67 Exploring Operation: 57-9=48, Resulting Numbers: [10, 48] Generated Node #0,3,3: 58:[10, 48] Operation: 57-9=48 Exploring Operation: 9+57=66, Resulting Numbers: [10, 66] Generated Node #0,3,4: 58:[10, 66] Operation: 9+57=66 Moving to Node #0,2 Current State: 58:[34, 9, 81], Operations: ['91-10=81'] Exploring Operation: 34+9=43, Resulting Numbers: [81, 43] Generated Node #0,2,0: 58:[81, 43] Operation: 34+9=43 Exploring Operation: 34-9=25, Resulting Numbers: [81, 25] Generated Node #0,2,1: 58:[81, 25] Operation: 34-9=25 Exploring Operation: 81-9=72, Resulting Numbers: [34, 72] Generated Node #0,2,2: 58:[34, 72] Operation: 81-9=72 Exploring Operation: 81/9=9, Resulting Numbers: [34, 9] Generated Node #0,2,3: 58:[34, 9] Operation: 81/9=9 Exploring Operation: 81-34=47, Resulting Numbers: [9, 47] Generated Node #0,2,4: 58:[9, 47] Operation: 81-34=47 Moving to Node #0,4 Current State: 58:[34, 10, 82], Operations: ['91-9=82'] Exploring Operation: 82-10=72, Resulting Numbers: [34, 72] Generated Node #0,4,0: 58:[34, 72] Operation: 82-10=72 Exploring Operation: 10+82=92, Resulting Numbers: [34, 92] Generated Node #0,4,1: 58:[34, 92] Operation: 10+82=92 Exploring Operation: 34+10=44, Resulting Numbers: [82, 44] Generated Node #0,4,2: 58:[82, 44] Operation: 34+10=44 Exploring Operation: 34-10=24, Resulting Numbers: [82, 24] Generated Node #0,4,3: 58:[82, 24] Operation: 34-10=24 Exploring Operation: 82-34=48, Resulting Numbers: [10, 48] Generated Node #0,4,4: 58:[10, 48] Operation: 82-34=48 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 58:[10, 48], Operations: ['91-9=82', '82-34=48'] Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,58 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[34, 91, 9, 10], Operations: [] Exploring Operation: 91-9=82, Resulting Numbers: [34, 10, 82] Generated Node #0,4: 58:[34, 10, 82] Operation: 91-9=82 Moving to Node #0,4 Current State: 58:[34, 10, 82], Operations: ['91-9=82'] Exploring Operation: 82-34=48, Resulting Numbers: [10, 48] Generated Node #0,4,4: 58:[10, 48] Operation: 82-34=48 Moving to Node #0,4,4 Current State: 58:[10, 48], Operations: ['91-9=82', '82-34=48'] Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 3, 75, 24, 80 ]
22
[ "3+75=78", "80-24=56", "78-56=22" ]
Current State: 22:[3, 75, 24, 80], Operations: [] Exploring Operation: 3+75=78, Resulting Numbers: [24, 80, 78] Generated Node #2: [24, 80, 78] from Operation: 3+75=78 Current State: 22:[24, 80, 78], Operations: ['3+75=78'] Exploring Operation: 80-24=56, Resulting Numbers: [78, 56] Generated Node #3: [78, 56] from Operation: 80-24=56 Current State: 22:[78, 56], Operations: ['3+75=78', '80-24=56'] Exploring Operation: 78-56=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[3, 75, 24, 80], Operations: [] Exploring Operation: 80-75=5, Resulting Numbers: [3, 24, 5] Generated Node #0,0: 22:[3, 24, 5] Operation: 80-75=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[3, 24, 5], Operations: ['80-75=5'] Exploring Operation: 5-3=2, Resulting Numbers: [24, 2] Generated Node #0,0,0: 22:[24, 2] Operation: 5-3=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[24, 2], Operations: ['80-75=5', '5-3=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[3, 75, 24, 80], Operations: [] Exploring Operation: 80-75=5, Resulting Numbers: [3, 24, 5] Generated Node #0,0: 22:[3, 24, 5] Operation: 80-75=5 Moving to Node #0,0 Current State: 22:[3, 24, 5], Operations: ['80-75=5'] Exploring Operation: 5-3=2, Resulting Numbers: [24, 2] Generated Node #0,0,0: 22:[24, 2] Operation: 5-3=2 Moving to Node #0,0,0 Current State: 22:[24, 2], Operations: ['80-75=5', '5-3=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 72, 65, 20, 2 ]
70
[ "72-65=7", "20/2=10", "7*10=70" ]
Current State: 70:[72, 65, 20, 2], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [20, 2, 7] Generated Node #2: [20, 2, 7] from Operation: 72-65=7 Current State: 70:[20, 2, 7], Operations: ['72-65=7'] Exploring Operation: 20/2=10, Resulting Numbers: [7, 10] Generated Node #3: [7, 10] from Operation: 20/2=10 Current State: 70:[7, 10], Operations: ['72-65=7', '20/2=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[72, 65, 20, 2], Operations: [] Exploring Operation: 20/2=10, Resulting Numbers: [72, 65, 10] Generated Node #0,0: 70:[72, 65, 10] Operation: 20/2=10 Exploring Operation: 72-2=70, Resulting Numbers: [65, 20, 70] Generated Node #0,1: 70:[65, 20, 70] Operation: 72-2=70 Exploring Operation: 72-65=7, Resulting Numbers: [20, 2, 7] Generated Node #0,2: 70:[20, 2, 7] Operation: 72-65=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[20, 2, 7], Operations: ['72-65=7'] Exploring Operation: 20-2=18, Resulting Numbers: [7, 18] Generated Node #0,2,0: 70:[7, 18] Operation: 20-2=18 Exploring Operation: 20/2=10, Resulting Numbers: [7, 10] Generated Node #0,2,1: 70:[7, 10] Operation: 20/2=10 Exploring Operation: 20-7=13, Resulting Numbers: [2, 13] Generated Node #0,2,2: 70:[2, 13] Operation: 20-7=13 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[7, 10], Operations: ['72-65=7', '20/2=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[72, 65, 20, 2], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [20, 2, 7] Generated Node #0,2: 70:[20, 2, 7] Operation: 72-65=7 Moving to Node #0,2 Current State: 70:[20, 2, 7], Operations: ['72-65=7'] Exploring Operation: 20/2=10, Resulting Numbers: [7, 10] Generated Node #0,2,1: 70:[7, 10] Operation: 20/2=10 Moving to Node #0,2,1 Current State: 70:[7, 10], Operations: ['72-65=7', '20/2=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 10, 71, 80, 20 ]
81
[ "80+20=100", "100/10=10", "71+10=81" ]
Current State: 81:[10, 71, 80, 20], Operations: [] Exploring Operation: 80+20=100, Resulting Numbers: [10, 71, 100] Generated Node #2: [10, 71, 100] from Operation: 80+20=100 Current State: 81:[10, 71, 100], Operations: ['80+20=100'] Exploring Operation: 100/10=10, Resulting Numbers: [71, 10] Generated Node #3: [71, 10] from Operation: 100/10=10 Current State: 81:[71, 10], Operations: ['80+20=100', '100/10=10'] Exploring Operation: 71+10=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[10, 71, 80, 20], Operations: [] Exploring Operation: 10+71=81, Resulting Numbers: [80, 20, 81] Generated Node #0,0: 81:[80, 20, 81] Operation: 10+71=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[80, 20, 81], Operations: ['10+71=81'] Exploring Operation: 80/20=4, Resulting Numbers: [81, 4] Generated Node #0,0,0: 81:[81, 4] Operation: 80/20=4 Moving to Node #0,0,0 Current State: 81:[81, 4], Operations: ['10+71=81', '80/20=4'] Exploring Operation: 81+4=85, Resulting Numbers: [85] 85,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 98, 27, 81, 5 ]
56
[ "98+27=125", "125/5=25", "81-25=56" ]
Current State: 56:[98, 27, 81, 5], Operations: [] Exploring Operation: 98+27=125, Resulting Numbers: [81, 5, 125] Generated Node #2: [81, 5, 125] from Operation: 98+27=125 Current State: 56:[81, 5, 125], Operations: ['98+27=125'] Exploring Operation: 125/5=25, Resulting Numbers: [81, 25] Generated Node #3: [81, 25] from Operation: 125/5=25 Current State: 56:[81, 25], Operations: ['98+27=125', '125/5=25'] Exploring Operation: 81-25=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[98, 27, 81, 5], Operations: [] Exploring Operation: 98-81=17, Resulting Numbers: [27, 5, 17] Generated Node #0,0: 56:[27, 5, 17] Operation: 98-81=17 Exploring Operation: 98-27=71, Resulting Numbers: [81, 5, 71] Generated Node #0,1: 56:[81, 5, 71] Operation: 98-27=71 Exploring Operation: 81-27=54, Resulting Numbers: [98, 5, 54] Generated Node #0,2: 56:[98, 5, 54] Operation: 81-27=54 Exploring Operation: 81/27=3, Resulting Numbers: [98, 5, 3] Generated Node #0,3: 56:[98, 5, 3] Operation: 81/27=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[27, 5, 17], Operations: ['98-81=17'] Exploring Operation: 17-5=12, Resulting Numbers: [27, 12] Generated Node #0,0,0: 56:[27, 12] Operation: 17-5=12 Exploring Operation: 27+5=32, Resulting Numbers: [17, 32] Generated Node #0,0,1: 56:[17, 32] Operation: 27+5=32 Exploring Operation: 5+17=22, Resulting Numbers: [27, 22] Generated Node #0,0,2: 56:[27, 22] Operation: 5+17=22 Exploring Operation: 27-17=10, Resulting Numbers: [5, 10] Generated Node #0,0,3: 56:[5, 10] Operation: 27-17=10 Moving to Node #0,0,0 Current State: 56:[27, 12], Operations: ['98-81=17', '17-5=12'] Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 27+12=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 27*12=324, Resulting Numbers: [324] 324,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[5, 10], Operations: ['98-81=17', '27-17=10'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,56 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[27, 22], Operations: ['98-81=17', '5+17=22'] Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,56 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[17, 32], Operations: ['98-81=17', '27+5=32'] Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,56 unequal: No Solution Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,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:[81, 5, 71], Operations: ['98-27=71'] Exploring Operation: 81+5=86, Resulting Numbers: [71, 86] Generated Node #0,1,0: 56:[71, 86] Operation: 81+5=86 Exploring Operation: 81-5=76, Resulting Numbers: [71, 76] Generated Node #0,1,1: 56:[71, 76] Operation: 81-5=76 Exploring Operation: 81-71=10, Resulting Numbers: [5, 10] Generated Node #0,1,2: 56:[5, 10] Operation: 81-71=10 Exploring Operation: 71-5=66, Resulting Numbers: [81, 66] Generated Node #0,1,3: 56:[81, 66] Operation: 71-5=66 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[5, 10], Operations: ['98-27=71', '81-71=10'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,56 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,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:[71, 76], Operations: ['98-27=71', '81-5=76'] Exploring Operation: 71*76=5396, Resulting Numbers: [5396] 5396,56 unequal: No Solution Exploring Operation: 76-71=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 71+76=147, Resulting Numbers: [147] 147,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,3 Current State: 56:[81, 66], Operations: ['98-27=71', '71-5=66'] Exploring Operation: 81*66=5346, Resulting Numbers: [5346] 5346,56 unequal: No Solution Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 81+66=147, Resulting Numbers: [147] 147,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,0 Current State: 56:[71, 86], Operations: ['98-27=71', '81+5=86'] Exploring Operation: 86-71=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 71*86=6106, Resulting Numbers: [6106] 6106,56 unequal: No Solution Exploring Operation: 71+86=157, Resulting Numbers: [157] 157,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[98, 5, 3], Operations: ['81/27=3'] Exploring Operation: 5+3=8, Resulting Numbers: [98, 8] Generated Node #0,3,0: 56:[98, 8] Operation: 5+3=8 Exploring Operation: 5-3=2, Resulting Numbers: [98, 2] Generated Node #0,3,1: 56:[98, 2] Operation: 5-3=2 Exploring Operation: 98-3=95, Resulting Numbers: [5, 95] Generated Node #0,3,2: 56:[5, 95] Operation: 98-3=95 Exploring Operation: 98-5=93, Resulting Numbers: [3, 93] Generated Node #0,3,3: 56:[3, 93] Operation: 98-5=93 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 56:[3, 93], Operations: ['81/27=3', '98-5=93'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,56 unequal: No Solution Exploring Operation: 3+93=96, Resulting Numbers: [96] 96,56 unequal: No Solution Exploring Operation: 3*93=279, Resulting Numbers: [279] 279,56 unequal: No Solution Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,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,3,2 Current State: 56:[5, 95], Operations: ['81/27=3', '98-3=95'] Exploring Operation: 5*95=475, Resulting Numbers: [475] 475,56 unequal: No Solution Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,56 unequal: No Solution Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 5+95=100, Resulting Numbers: [100] 100,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,3,0 Current State: 56:[98, 8], Operations: ['81/27=3', '5+3=8'] Exploring Operation: 98-8=90, Resulting Numbers: [90] 90,56 unequal: No Solution Exploring Operation: 98*8=784, Resulting Numbers: [784] 784,56 unequal: No Solution Exploring Operation: 98+8=106, Resulting Numbers: [106] 106,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,3,1 Current State: 56:[98, 2], Operations: ['81/27=3', '5-3=2'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,56 unequal: No Solution Exploring Operation: 98*2=196, Resulting Numbers: [196] 196,56 unequal: No Solution Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[98, 5, 54], Operations: ['81-27=54'] Exploring Operation: 5+54=59, Resulting Numbers: [98, 59] Generated Node #0,2,0: 56:[98, 59] Operation: 5+54=59 Exploring Operation: 98-5=93, Resulting Numbers: [54, 93] Generated Node #0,2,1: 56:[54, 93] Operation: 98-5=93 Exploring Operation: 98-54=44, Resulting Numbers: [5, 44] Generated Node #0,2,2: 56:[5, 44] Operation: 98-54=44 Exploring Operation: 98+5=103, Resulting Numbers: [54, 103] Generated Node #0,2,3: 56:[54, 103] Operation: 98+5=103 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 56:[5, 44], Operations: ['81-27=54', '98-54=44'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 5*44=220, Resulting Numbers: [220] 220,56 unequal: No Solution Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,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,2,1 Current State: 56:[54, 93], Operations: ['81-27=54', '98-5=93'] Exploring Operation: 54*93=5022, Resulting Numbers: [5022] 5022,56 unequal: No Solution Exploring Operation: 93-54=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 54+93=147, Resulting Numbers: [147] 147,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,2,0 Current State: 56:[98, 59], Operations: ['81-27=54', '5+54=59'] Exploring Operation: 98-59=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 98*59=5782, Resulting Numbers: [5782] 5782,56 unequal: No Solution Exploring Operation: 98+59=157, Resulting Numbers: [157] 157,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,2,3 Current State: 56:[54, 103], Operations: ['81-27=54', '98+5=103'] Exploring Operation: 103-54=49, Resulting Numbers: [49] 49,56 unequal: No Solution Exploring Operation: 54*103=5562, Resulting Numbers: [5562] 5562,56 unequal: No Solution Exploring Operation: 54+103=157, Resulting Numbers: [157] 157,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_4
mult_heuristic
[ 5, 90, 21, 29 ]
77
[ "90-5=85", "29-21=8", "85-8=77" ]
Current State: 77:[5, 90, 21, 29], Operations: [] Exploring Operation: 90-5=85, Resulting Numbers: [21, 29, 85] Generated Node #2: [21, 29, 85] from Operation: 90-5=85 Current State: 77:[21, 29, 85], Operations: ['90-5=85'] Exploring Operation: 29-21=8, Resulting Numbers: [85, 8] Generated Node #3: [85, 8] from Operation: 29-21=8 Current State: 77:[85, 8], Operations: ['90-5=85', '29-21=8'] Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[5, 90, 21, 29], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [21, 29, 18] Generated Node #0,0: 77:[21, 29, 18] Operation: 90/5=18 Exploring Operation: 90-21=69, Resulting Numbers: [5, 29, 69] Generated Node #0,1: 77:[5, 29, 69] Operation: 90-21=69 Exploring Operation: 90-29=61, Resulting Numbers: [5, 21, 61] Generated Node #0,2: 77:[5, 21, 61] Operation: 90-29=61 Exploring Operation: 29-21=8, Resulting Numbers: [5, 90, 8] Generated Node #0,3: 77:[5, 90, 8] Operation: 29-21=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[5, 90, 8], Operations: ['29-21=8'] Exploring Operation: 5+8=13, Resulting Numbers: [90, 13] Generated Node #0,3,0: 77:[90, 13] Operation: 5+8=13 Exploring Operation: 90-8=82, Resulting Numbers: [5, 82] Generated Node #0,3,1: 77:[5, 82] Operation: 90-8=82 Exploring Operation: 90/5=18, Resulting Numbers: [8, 18] Generated Node #0,3,2: 77:[8, 18] Operation: 90/5=18 Exploring Operation: 90-5=85, Resulting Numbers: [8, 85] Generated Node #0,3,3: 77:[8, 85] Operation: 90-5=85 Moving to Node #0,3,1 Current State: 77:[5, 82], Operations: ['29-21=8', '90-8=82'] Exploring Operation: 5*82=410, Resulting Numbers: [410] 410,77 unequal: No Solution Exploring Operation: 5+82=87, Resulting Numbers: [87] 87,77 unequal: No Solution Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[5, 90, 21, 29], Operations: [] Exploring Operation: 29-21=8, Resulting Numbers: [5, 90, 8] Generated Node #0,3: 77:[5, 90, 8] Operation: 29-21=8 Moving to Node #0,3 Current State: 77:[5, 90, 8], Operations: ['29-21=8'] Exploring Operation: 90-8=82, Resulting Numbers: [5, 82] Generated Node #0,3,1: 77:[5, 82] Operation: 90-8=82 Moving to Node #0,3,1 Current State: 77:[5, 82], Operations: ['29-21=8', '90-8=82'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 95, 50, 18, 28 ]
35
[ "95-50=45", "28-18=10", "45-10=35" ]
Current State: 35:[95, 50, 18, 28], Operations: [] Exploring Operation: 95-50=45, Resulting Numbers: [18, 28, 45] Generated Node #2: [18, 28, 45] from Operation: 95-50=45 Current State: 35:[18, 28, 45], Operations: ['95-50=45'] Exploring Operation: 28-18=10, Resulting Numbers: [45, 10] Generated Node #3: [45, 10] from Operation: 28-18=10 Current State: 35:[45, 10], Operations: ['95-50=45', '28-18=10'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[95, 50, 18, 28], Operations: [] Exploring Operation: 95-50=45, Resulting Numbers: [18, 28, 45] Generated Node #0,0: 35:[18, 28, 45] Operation: 95-50=45 Moving to Node #0,0 Current State: 35:[18, 28, 45], Operations: ['95-50=45'] Exploring Operation: 28-18=10, Resulting Numbers: [45, 10] Generated Node #0,0,0: 35:[45, 10] Operation: 28-18=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[45, 10], Operations: ['95-50=45', '28-18=10'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[95, 50, 18, 28], Operations: [] Exploring Operation: 95-50=45, Resulting Numbers: [18, 28, 45] Generated Node #0,0: 35:[18, 28, 45] Operation: 95-50=45 Moving to Node #0,0 Current State: 35:[18, 28, 45], Operations: ['95-50=45'] Exploring Operation: 28-18=10, Resulting Numbers: [45, 10] Generated Node #0,0,0: 35:[45, 10] Operation: 28-18=10 Moving to Node #0,0,0 Current State: 35:[45, 10], Operations: ['95-50=45', '28-18=10'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 33, 22, 26, 18 ]
63
[ "33+22=55", "26-18=8", "55+8=63" ]
Current State: 63:[33, 22, 26, 18], Operations: [] Exploring Operation: 33+22=55, Resulting Numbers: [26, 18, 55] Generated Node #2: [26, 18, 55] from Operation: 33+22=55 Current State: 63:[26, 18, 55], Operations: ['33+22=55'] Exploring Operation: 26-18=8, Resulting Numbers: [55, 8] Generated Node #3: [55, 8] from Operation: 26-18=8 Current State: 63:[55, 8], Operations: ['33+22=55', '26-18=8'] Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[33, 22, 26, 18], Operations: [] Exploring Operation: 33-26=7, Resulting Numbers: [22, 18, 7] Generated Node #0,0: 63:[22, 18, 7] Operation: 33-26=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[22, 18, 7], Operations: ['33-26=7'] Exploring Operation: 22-18=4, Resulting Numbers: [7, 4] Generated Node #0,0,0: 63:[7, 4] Operation: 22-18=4 Moving to Node #0,0,0 Current State: 63:[7, 4], Operations: ['33-26=7', '22-18=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 12, 24, 30, 19 ]
23
[ "24-12=12", "30-19=11", "12+11=23" ]
Current State: 23:[12, 24, 30, 19], Operations: [] Exploring Operation: 24-12=12, Resulting Numbers: [30, 19, 12] Generated Node #2: [30, 19, 12] from Operation: 24-12=12 Current State: 23:[30, 19, 12], Operations: ['24-12=12'] Exploring Operation: 30-19=11, Resulting Numbers: [12, 11] Generated Node #3: [12, 11] from Operation: 30-19=11 Current State: 23:[12, 11], Operations: ['24-12=12', '30-19=11'] Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[12, 24, 30, 19], Operations: [] Exploring Operation: 30-12=18, Resulting Numbers: [24, 19, 18] Generated Node #0,0: 23:[24, 19, 18] Operation: 30-12=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[24, 19, 18], Operations: ['30-12=18'] Exploring Operation: 19+18=37, Resulting Numbers: [24, 37] Generated Node #0,0,0: 23:[24, 37] Operation: 19+18=37 Moving to Node #0,0,0 Current State: 23:[24, 37], Operations: ['30-12=18', '19+18=37'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 42, 51, 38, 48 ]
12
[ "42-38=4", "51-48=3", "4*3=12" ]
Current State: 12:[42, 51, 38, 48], Operations: [] Exploring Operation: 42-38=4, Resulting Numbers: [51, 48, 4] Generated Node #2: [51, 48, 4] from Operation: 42-38=4 Current State: 12:[51, 48, 4], Operations: ['42-38=4'] Exploring Operation: 51-48=3, Resulting Numbers: [4, 3] Generated Node #3: [4, 3] from Operation: 51-48=3 Current State: 12:[4, 3], Operations: ['42-38=4', '51-48=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[42, 51, 38, 48], Operations: [] Exploring Operation: 51-42=9, Resulting Numbers: [38, 48, 9] Generated Node #0,0: 12:[38, 48, 9] Operation: 51-42=9 Exploring Operation: 51-48=3, Resulting Numbers: [42, 38, 3] Generated Node #0,1: 12:[42, 38, 3] Operation: 51-48=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[42, 38, 3], Operations: ['51-48=3'] Exploring Operation: 42-38=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 12:[3, 4] Operation: 42-38=4 Exploring Operation: 42/3=14, Resulting Numbers: [38, 14] Generated Node #0,1,1: 12:[38, 14] Operation: 42/3=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[3, 4], Operations: ['51-48=3', '42-38=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[42, 51, 38, 48], Operations: [] Exploring Operation: 51-48=3, Resulting Numbers: [42, 38, 3] Generated Node #0,1: 12:[42, 38, 3] Operation: 51-48=3 Moving to Node #0,1 Current State: 12:[42, 38, 3], Operations: ['51-48=3'] Exploring Operation: 42-38=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 12:[3, 4] Operation: 42-38=4 Moving to Node #0,1,0 Current State: 12:[3, 4], Operations: ['51-48=3', '42-38=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 61, 36, 32, 24 ]
35
[ "36-32=4", "24*4=96", "96-61=35" ]
Current State: 35:[61, 36, 32, 24], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [61, 24, 4] Generated Node #2: [61, 24, 4] from Operation: 36-32=4 Current State: 35:[61, 24, 4], Operations: ['36-32=4'] Exploring Operation: 24*4=96, Resulting Numbers: [61, 96] Generated Node #3: [61, 96] from Operation: 24*4=96 Current State: 35:[61, 96], Operations: ['36-32=4', '24*4=96'] Exploring Operation: 96-61=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[61, 36, 32, 24], Operations: [] Exploring Operation: 61-32=29, Resulting Numbers: [36, 24, 29] Generated Node #0,0: 35:[36, 24, 29] Operation: 61-32=29 Exploring Operation: 36-24=12, Resulting Numbers: [61, 32, 12] Generated Node #0,1: 35:[61, 32, 12] Operation: 36-24=12 Exploring Operation: 61-36=25, Resulting Numbers: [32, 24, 25] Generated Node #0,2: 35:[32, 24, 25] Operation: 61-36=25 Exploring Operation: 61-24=37, Resulting Numbers: [36, 32, 37] Generated Node #0,3: 35:[36, 32, 37] Operation: 61-24=37 Exploring Operation: 32-24=8, Resulting Numbers: [61, 36, 8] Generated Node #0,4: 35:[61, 36, 8] Operation: 32-24=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[36, 32, 37], Operations: ['61-24=37'] Exploring Operation: 36-32=4, Resulting Numbers: [37, 4] Generated Node #0,3,0: 35:[37, 4] Operation: 36-32=4 Exploring Operation: 37-32=5, Resulting Numbers: [36, 5] Generated Node #0,3,1: 35:[36, 5] Operation: 37-32=5 Exploring Operation: 32+37=69, Resulting Numbers: [36, 69] Generated Node #0,3,2: 35:[36, 69] Operation: 32+37=69 Exploring Operation: 36+32=68, Resulting Numbers: [37, 68] Generated Node #0,3,3: 35:[37, 68] Operation: 36+32=68 Exploring Operation: 37-36=1, Resulting Numbers: [32, 1] Generated Node #0,3,4: 35:[32, 1] Operation: 37-36=1 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 35:[36, 5], Operations: ['61-24=37', '37-32=5'] Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,35 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,35 unequal: No Solution Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 35:[37, 4], Operations: ['61-24=37', '36-32=4'] Exploring Operation: 37*4=148, Resulting Numbers: [148] 148,35 unequal: No Solution Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 35:[32, 1], Operations: ['61-24=37', '37-36=1'] Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,35 unequal: No Solution Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,35 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,35 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 35:[36, 69], Operations: ['61-24=37', '32+37=69'] Exploring Operation: 36+69=105, Resulting Numbers: [105] 105,35 unequal: No Solution Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,35 unequal: No Solution Exploring Operation: 36*69=2484, Resulting Numbers: [2484] 2484,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 35:[37, 68], Operations: ['61-24=37', '36+32=68'] Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,35 unequal: No Solution Exploring Operation: 37*68=2516, Resulting Numbers: [2516] 2516,35 unequal: No Solution Exploring Operation: 37+68=105, Resulting Numbers: [105] 105,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[36, 24, 29], Operations: ['61-32=29'] Exploring Operation: 36-24=12, Resulting Numbers: [29, 12] Generated Node #0,0,0: 35:[29, 12] Operation: 36-24=12 Exploring Operation: 24+29=53, Resulting Numbers: [36, 53] Generated Node #0,0,1: 35:[36, 53] Operation: 24+29=53 Exploring Operation: 36-29=7, Resulting Numbers: [24, 7] Generated Node #0,0,2: 35:[24, 7] Operation: 36-29=7 Exploring Operation: 36+24=60, Resulting Numbers: [29, 60] Generated Node #0,0,3: 35:[29, 60] Operation: 36+24=60 Exploring Operation: 29-24=5, Resulting Numbers: [36, 5] Generated Node #0,0,4: 35:[36, 5] Operation: 29-24=5 Moving to Node #0,0,4 Current State: 35:[36, 5], Operations: ['61-32=29', '29-24=5'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,35 unequal: No Solution Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[24, 7], Operations: ['61-32=29', '36-29=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,35 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[29, 12], Operations: ['61-32=29', '36-24=12'] Exploring Operation: 29*12=348, Resulting Numbers: [348] 348,35 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 29+12=41, Resulting Numbers: [41] 41,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[36, 53], Operations: ['61-32=29', '24+29=53'] Exploring Operation: 36*53=1908, Resulting Numbers: [1908] 1908,35 unequal: No Solution Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 36+53=89, Resulting Numbers: [89] 89,35 unequal: No Solution Moving to Node #0,0,3 Current State: 35:[29, 60], Operations: ['61-32=29', '36+24=60'] Exploring Operation: 29*60=1740, Resulting Numbers: [1740] 1740,35 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,35 unequal: No Solution Exploring Operation: 29+60=89, Resulting Numbers: [89] 89,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[32, 24, 25], Operations: ['61-36=25'] Exploring Operation: 32-25=7, Resulting Numbers: [24, 7] Generated Node #0,2,0: 35:[24, 7] Operation: 32-25=7 Exploring Operation: 25-24=1, Resulting Numbers: [32, 1] Generated Node #0,2,1: 35:[32, 1] Operation: 25-24=1 Exploring Operation: 24+25=49, Resulting Numbers: [32, 49] Generated Node #0,2,2: 35:[32, 49] Operation: 24+25=49 Exploring Operation: 32-24=8, Resulting Numbers: [25, 8] Generated Node #0,2,3: 35:[25, 8] Operation: 32-24=8 Exploring Operation: 32+24=56, Resulting Numbers: [25, 56] Generated Node #0,2,4: 35:[25, 56] Operation: 32+24=56 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 35:[32, 1], Operations: ['61-36=25', '25-24=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,35 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,35 unequal: No Solution Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,35 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 35:[24, 7], Operations: ['61-36=25', '32-25=7'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,35 unequal: No Solution Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 35:[25, 8], Operations: ['61-36=25', '32-24=8'] Exploring Operation: 25*8=200, Resulting Numbers: [200] 200,35 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 35:[32, 49], Operations: ['61-36=25', '24+25=49'] Exploring Operation: 32*49=1568, Resulting Numbers: [1568] 1568,35 unequal: No Solution Exploring Operation: 32+49=81, Resulting Numbers: [81] 81,35 unequal: No Solution Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 35:[25, 56], Operations: ['61-36=25', '32+24=56'] Exploring Operation: 25+56=81, Resulting Numbers: [81] 81,35 unequal: No Solution Exploring Operation: 25*56=1400, Resulting Numbers: [1400] 1400,35 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 35:[61, 36, 8], Operations: ['32-24=8'] Exploring Operation: 36-8=28, Resulting Numbers: [61, 28] Generated Node #0,4,0: 35:[61, 28] Operation: 36-8=28 Exploring Operation: 36+8=44, Resulting Numbers: [61, 44] Generated Node #0,4,1: 35:[61, 44] Operation: 36+8=44 Exploring Operation: 61-36=25, Resulting Numbers: [8, 25] Generated Node #0,4,2: 35:[8, 25] Operation: 61-36=25 Exploring Operation: 61+8=69, Resulting Numbers: [36, 69] Generated Node #0,4,3: 35:[36, 69] Operation: 61+8=69 Exploring Operation: 61-8=53, Resulting Numbers: [36, 53] Generated Node #0,4,4: 35:[36, 53] Operation: 61-8=53 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 35:[8, 25], Operations: ['32-24=8', '61-36=25'] Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,35 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 35:[36, 53], Operations: ['32-24=8', '61-8=53'] Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 36*53=1908, Resulting Numbers: [1908] 1908,35 unequal: No Solution Exploring Operation: 36+53=89, Resulting Numbers: [89] 89,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 35:[61, 28], Operations: ['32-24=8', '36-8=28'] Exploring Operation: 61*28=1708, Resulting Numbers: [1708] 1708,35 unequal: No Solution Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,35 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 35:[61, 44], Operations: ['32-24=8', '36+8=44'] Exploring Operation: 61*44=2684, Resulting Numbers: [2684] 2684,35 unequal: No Solution Exploring Operation: 61+44=105, Resulting Numbers: [105] 105,35 unequal: No Solution Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 35:[36, 69], Operations: ['32-24=8', '61+8=69'] Exploring Operation: 36+69=105, Resulting Numbers: [105] 105,35 unequal: No Solution Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,35 unequal: No Solution Exploring Operation: 36*69=2484, Resulting Numbers: [2484] 2484,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[61, 32, 12], Operations: ['36-24=12'] Exploring Operation: 61-32=29, Resulting Numbers: [12, 29] Generated Node #0,1,0: 35:[12, 29] Operation: 61-32=29 Exploring Operation: 61+12=73, Resulting Numbers: [32, 73] Generated Node #0,1,1: 35:[32, 73] Operation: 61+12=73 Exploring Operation: 61-12=49, Resulting Numbers: [32, 49] Generated Node #0,1,2: 35:[32, 49] Operation: 61-12=49 Exploring Operation: 32+12=44, Resulting Numbers: [61, 44] Generated Node #0,1,3: 35:[61, 44] Operation: 32+12=44 Exploring Operation: 32-12=20, Resulting Numbers: [61, 20] Generated Node #0,1,4: 35:[61, 20] Operation: 32-12=20 Moving to Node #0,1,0 Current State: 35:[12, 29], Operations: ['36-24=12', '61-32=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[32, 49], Operations: ['36-24=12', '61-12=49'] Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 32*49=1568, Resulting Numbers: [1568] 1568,35 unequal: No Solution Exploring Operation: 32+49=81, Resulting Numbers: [81] 81,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[61, 44], Operations: ['36-24=12', '32+12=44'] Exploring Operation: 61+44=105, Resulting Numbers: [105] 105,35 unequal: No Solution Exploring Operation: 61*44=2684, Resulting Numbers: [2684] 2684,35 unequal: No Solution Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,35 unequal: No Solution Moving to Node #0,1,4 Current State: 35:[61, 20], Operations: ['36-24=12', '32-12=20'] Exploring Operation: 61+20=81, Resulting Numbers: [81] 81,35 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 61*20=1220, Resulting Numbers: [1220] 1220,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[32, 73], Operations: ['36-24=12', '61+12=73'] Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 32+73=105, Resulting Numbers: [105] 105,35 unequal: No Solution Exploring Operation: 32*73=2336, Resulting Numbers: [2336] 2336,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 31, 61, 92, 62 ]
62
[ "31+61=92", "92+62=154", "154-92=62" ]
Current State: 62:[31, 61, 92, 62], Operations: [] Exploring Operation: 31+61=92, Resulting Numbers: [92, 62, 92] Generated Node #2: [92, 62, 92] from Operation: 31+61=92 Current State: 62:[92, 62, 92], Operations: ['31+61=92'] Exploring Operation: 92+62=154, Resulting Numbers: [154] 154,62 equal: Goal Reached Exploring Operation: 154-92=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[31, 61, 92, 62], Operations: [] Exploring Operation: 92-61=31, Resulting Numbers: [31, 62, 31] Generated Node #0,0: 62:[31, 62, 31] Operation: 92-61=31 Exploring Operation: 92-31=61, Resulting Numbers: [61, 62, 61] Generated Node #0,1: 62:[61, 62, 61] Operation: 92-31=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[31, 62, 31], Operations: ['92-61=31'] Exploring Operation: 62-31=31, Resulting Numbers: [31, 31] Generated Node #0,0,0: 62:[31, 31] Operation: 62-31=31 Exploring Operation: 62/31=2, Resulting Numbers: [31, 2] Generated Node #0,0,1: 62:[31, 2] Operation: 62/31=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[31, 31], Operations: ['92-61=31', '62-31=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[31, 61, 92, 62], Operations: [] Exploring Operation: 92-61=31, Resulting Numbers: [31, 62, 31] Generated Node #0,0: 62:[31, 62, 31] Operation: 92-61=31 Moving to Node #0,0 Current State: 62:[31, 62, 31], Operations: ['92-61=31'] Exploring Operation: 62-31=31, Resulting Numbers: [31, 31] Generated Node #0,0,0: 62:[31, 31] Operation: 62-31=31 Moving to Node #0,0,0 Current State: 62:[31, 31], Operations: ['92-61=31', '62-31=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 1, 65, 1, 3 ]
32
[ "65-1=64", "3-1=2", "64/2=32" ]
Current State: 32:[1, 65, 1, 3], Operations: [] Exploring Operation: 65-1=64, Resulting Numbers: [3, 64] Generated Node #2: [3, 64] from Operation: 65-1=64 Current State: 32:[3, 64], Operations: ['65-1=64'] Exploring Operation: 3-1=2, Resulting Numbers: [64, 2] Generated Node #3: [64, 2] from Operation: 3-1=2 Current State: 32:[64, 2], Operations: ['65-1=64', '3-1=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[1, 65, 1, 3], Operations: [] Exploring Operation: 65-1=64, Resulting Numbers: [1, 3, 64] Generated Node #0,0: 32:[1, 3, 64] Operation: 65-1=64 Exploring Operation: 65-3=62, Resulting Numbers: [1, 1, 62] Generated Node #0,1: 32:[1, 1, 62] Operation: 65-3=62 Exploring Operation: 1+1=2, Resulting Numbers: [65, 3, 2] Generated Node #0,2: 32:[65, 3, 2] Operation: 1+1=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[1, 1, 62], Operations: ['65-3=62'] Exploring Operation: 62-1=61, Resulting Numbers: [1, 61] Generated Node #0,1,0: 32:[1, 61] Operation: 62-1=61 Exploring Operation: 62-1=61, Resulting Numbers: [1, 61] Generated Node #0,1,1: 32:[1, 61] Operation: 62-1=61 Exploring Operation: 1+1=2, Resulting Numbers: [62, 2] Generated Node #0,1,2: 32:[62, 2] Operation: 1+1=2 Moving to Node #0,1,0 Current State: 32:[1, 61], Operations: ['65-3=62', '62-1=61'] Exploring Operation: 1*61=61, Resulting Numbers: [61] 61,32 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[1, 61], Operations: ['65-3=62', '62-1=61'] Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 1*61=61, Resulting Numbers: [61] 61,32 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[62, 2], Operations: ['65-3=62', '1+1=2'] Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,32 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[1, 3, 64], Operations: ['65-1=64'] Exploring Operation: 1+3=4, Resulting Numbers: [64, 4] Generated Node #0,0,0: 32:[64, 4] Operation: 1+3=4 Exploring Operation: 64-3=61, Resulting Numbers: [1, 61] Generated Node #0,0,1: 32:[1, 61] Operation: 64-3=61 Exploring Operation: 3-1=2, Resulting Numbers: [64, 2] Generated Node #0,0,2: 32:[64, 2] Operation: 3-1=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[1, 61], Operations: ['65-1=64', '64-3=61'] Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 1*61=61, Resulting Numbers: [61] 61,32 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,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,0,0 Current State: 32:[64, 4], Operations: ['65-1=64', '1+3=4'] Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,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,0,2 Current State: 32:[64, 2], Operations: ['65-1=64', '3-1=2'] Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[1, 65, 1, 3], Operations: [] Exploring Operation: 65-1=64, Resulting Numbers: [1, 3, 64] Generated Node #0,0: 32:[1, 3, 64] Operation: 65-1=64 Moving to Node #0,0 Current State: 32:[1, 3, 64], Operations: ['65-1=64'] Exploring Operation: 3-1=2, Resulting Numbers: [64, 2] Generated Node #0,0,2: 32:[64, 2] Operation: 3-1=2 Moving to Node #0,0,2 Current State: 32:[64, 2], Operations: ['65-1=64', '3-1=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_3
mult_heuristic
[ 56, 47, 50, 93 ]
60
[ "56+47=103", "93-50=43", "103-43=60" ]
Current State: 60:[56, 47, 50, 93], Operations: [] Exploring Operation: 56+47=103, Resulting Numbers: [50, 93, 103] Generated Node #2: [50, 93, 103] from Operation: 56+47=103 Current State: 60:[50, 93, 103], Operations: ['56+47=103'] Exploring Operation: 93-50=43, Resulting Numbers: [103, 43] Generated Node #3: [103, 43] from Operation: 93-50=43 Current State: 60:[103, 43], Operations: ['56+47=103', '93-50=43'] Exploring Operation: 103-43=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[56, 47, 50, 93], Operations: [] Exploring Operation: 93-50=43, Resulting Numbers: [56, 47, 43] Generated Node #0,0: 60:[56, 47, 43] Operation: 93-50=43 Exploring Operation: 93-47=46, Resulting Numbers: [56, 50, 46] Generated Node #0,1: 60:[56, 50, 46] Operation: 93-47=46 Exploring Operation: 93-56=37, Resulting Numbers: [47, 50, 37] Generated Node #0,2: 60:[47, 50, 37] Operation: 93-56=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[56, 50, 46], Operations: ['93-47=46'] Exploring Operation: 56-50=6, Resulting Numbers: [46, 6] Generated Node #0,1,0: 60:[46, 6] Operation: 56-50=6 Exploring Operation: 50-46=4, Resulting Numbers: [56, 4] Generated Node #0,1,1: 60:[56, 4] Operation: 50-46=4 Exploring Operation: 56-46=10, Resulting Numbers: [50, 10] Generated Node #0,1,2: 60:[50, 10] Operation: 56-46=10 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[56, 4], Operations: ['93-47=46', '50-46=4'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,60 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[56, 47, 50, 93], Operations: [] Exploring Operation: 93-47=46, Resulting Numbers: [56, 50, 46] Generated Node #0,1: 60:[56, 50, 46] Operation: 93-47=46 Moving to Node #0,1 Current State: 60:[56, 50, 46], Operations: ['93-47=46'] Exploring Operation: 50-46=4, Resulting Numbers: [56, 4] Generated Node #0,1,1: 60:[56, 4] Operation: 50-46=4 Moving to Node #0,1,1 Current State: 60:[56, 4], Operations: ['93-47=46', '50-46=4'] Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 79, 70, 77, 9 ]
52
[ "79-77=2", "9*2=18", "70-18=52" ]
Current State: 52:[79, 70, 77, 9], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [70, 9, 2] Generated Node #2: [70, 9, 2] from Operation: 79-77=2 Current State: 52:[70, 9, 2], Operations: ['79-77=2'] Exploring Operation: 9*2=18, Resulting Numbers: [70, 18] Generated Node #3: [70, 18] from Operation: 9*2=18 Current State: 52:[70, 18], Operations: ['79-77=2', '9*2=18'] Exploring Operation: 70-18=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[79, 70, 77, 9], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [70, 9, 2] Generated Node #0,0: 52:[70, 9, 2] Operation: 79-77=2 Exploring Operation: 79-70=9, Resulting Numbers: [77, 9, 9] Generated Node #0,1: 52:[77, 9, 9] Operation: 79-70=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[70, 9, 2], Operations: ['79-77=2'] Exploring Operation: 70/2=35, Resulting Numbers: [9, 35] Generated Node #0,0,0: 52:[9, 35] Operation: 70/2=35 Exploring Operation: 70-9=61, Resulting Numbers: [2, 61] Generated Node #0,0,1: 52:[2, 61] Operation: 70-9=61 Moving to Node #0,0,1 Current State: 52:[2, 61], Operations: ['79-77=2', '70-9=61'] Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,52 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[9, 35], Operations: ['79-77=2', '70/2=35'] Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[77, 9, 9], Operations: ['79-70=9'] Exploring Operation: 77-9=68, Resulting Numbers: [9, 68] Generated Node #0,1,0: 52:[9, 68] Operation: 77-9=68 Exploring Operation: 77-9=68, Resulting Numbers: [9, 68] Generated Node #0,1,1: 52:[9, 68] Operation: 77-9=68 Moving to Node #0,1,0 Current State: 52:[9, 68], Operations: ['79-70=9', '77-9=68'] Exploring Operation: 9+68=77, Resulting Numbers: [77] 77,52 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[9, 68], Operations: ['79-70=9', '77-9=68'] Exploring Operation: 9+68=77, Resulting Numbers: [77] 77,52 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 10, 13, 30, 9 ]
48
[ "30/10=3", "13*3=39", "9+39=48" ]
Current State: 48:[10, 13, 30, 9], Operations: [] Exploring Operation: 30/10=3, Resulting Numbers: [13, 9, 3] Generated Node #2: [13, 9, 3] from Operation: 30/10=3 Current State: 48:[13, 9, 3], Operations: ['30/10=3'] Exploring Operation: 13*3=39, Resulting Numbers: [9, 39] Generated Node #3: [9, 39] from Operation: 13*3=39 Current State: 48:[9, 39], Operations: ['30/10=3', '13*3=39'] Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[10, 13, 30, 9], Operations: [] Exploring Operation: 30-13=17, Resulting Numbers: [10, 9, 17] Generated Node #0,0: 48:[10, 9, 17] Operation: 30-13=17 Exploring Operation: 30-10=20, Resulting Numbers: [13, 9, 20] Generated Node #0,1: 48:[13, 9, 20] Operation: 30-10=20 Exploring Operation: 30/10=3, Resulting Numbers: [13, 9, 3] Generated Node #0,2: 48:[13, 9, 3] Operation: 30/10=3 Moving to Node #0,2 Current State: 48:[13, 9, 3], Operations: ['30/10=3'] Exploring Operation: 13+3=16, Resulting Numbers: [9, 16] Generated Node #0,2,0: 48:[9, 16] Operation: 13+3=16 Exploring Operation: 9+3=12, Resulting Numbers: [13, 12] Generated Node #0,2,1: 48:[13, 12] Operation: 9+3=12 Exploring Operation: 13-9=4, Resulting Numbers: [3, 4] Generated Node #0,2,2: 48:[3, 4] Operation: 13-9=4 Moving to Node #0,0 Current State: 48:[10, 9, 17], Operations: ['30-13=17'] Exploring Operation: 17-10=7, Resulting Numbers: [9, 7] Generated Node #0,0,0: 48:[9, 7] Operation: 17-10=7 Exploring Operation: 17-9=8, Resulting Numbers: [10, 8] Generated Node #0,0,1: 48:[10, 8] Operation: 17-9=8 Exploring Operation: 10-9=1, Resulting Numbers: [17, 1] Generated Node #0,0,2: 48:[17, 1] Operation: 10-9=1 Moving to Node #0,1 Current State: 48:[13, 9, 20], Operations: ['30-10=20'] Exploring Operation: 20-13=7, Resulting Numbers: [9, 7] Generated Node #0,1,0: 48:[9, 7] Operation: 20-13=7 Exploring Operation: 13-9=4, Resulting Numbers: [20, 4] Generated Node #0,1,1: 48:[20, 4] Operation: 13-9=4 Exploring Operation: 20-9=11, Resulting Numbers: [13, 11] Generated Node #0,1,2: 48:[13, 11] Operation: 20-9=11 Moving to Node #0,2,2 Current State: 48:[3, 4], Operations: ['30/10=3', '13-9=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[13, 12], Operations: ['30/10=3', '9+3=12'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[9, 16], Operations: ['30/10=3', '13+3=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,48 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[9, 7], Operations: ['30-10=20', '20-13=7'] Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[17, 1], Operations: ['30-13=17', '10-9=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[10, 8], Operations: ['30-13=17', '17-9=8'] Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[9, 7], Operations: ['30-13=17', '17-10=7'] Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[13, 11], Operations: ['30-10=20', '20-9=11'] Exploring Operation: 13*11=143, Resulting Numbers: [143] 143,48 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[20, 4], Operations: ['30-10=20', '13-9=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,48 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 14, 21, 39, 62 ]
49
[ "14*62=868", "21*39=819", "868-819=49" ]
Current State: 49:[14, 21, 39, 62], Operations: [] Exploring Operation: 14*62=868, Resulting Numbers: [21, 39, 868] Generated Node #2: [21, 39, 868] from Operation: 14*62=868 Current State: 49:[21, 39, 868], Operations: ['14*62=868'] Exploring Operation: 21*39=819, Resulting Numbers: [868, 819] Generated Node #3: [868, 819] from Operation: 21*39=819 Current State: 49:[868, 819], Operations: ['14*62=868', '21*39=819'] Exploring Operation: 868-819=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[14, 21, 39, 62], Operations: [] Exploring Operation: 62-14=48, Resulting Numbers: [21, 39, 48] Generated Node #0,0: 49:[21, 39, 48] Operation: 62-14=48 Exploring Operation: 21-14=7, Resulting Numbers: [39, 62, 7] Generated Node #0,1: 49:[39, 62, 7] Operation: 21-14=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[39, 62, 7], Operations: ['21-14=7'] Exploring Operation: 39+7=46, Resulting Numbers: [62, 46] Generated Node #0,1,0: 49:[62, 46] Operation: 39+7=46 Exploring Operation: 62-39=23, Resulting Numbers: [7, 23] Generated Node #0,1,1: 49:[7, 23] Operation: 62-39=23 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[62, 46], Operations: ['21-14=7', '39+7=46'] Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 62+46=108, Resulting Numbers: [108] 108,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[7, 23], Operations: ['21-14=7', '62-39=23'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[21, 39, 48], Operations: ['62-14=48'] Exploring Operation: 21+39=60, Resulting Numbers: [48, 60] Generated Node #0,0,0: 49:[48, 60] Operation: 21+39=60 Exploring Operation: 39-21=18, Resulting Numbers: [48, 18] Generated Node #0,0,1: 49:[48, 18] Operation: 39-21=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[48, 60], Operations: ['62-14=48', '21+39=60'] Exploring Operation: 60-48=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 48+60=108, Resulting Numbers: [108] 108,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[48, 18], Operations: ['62-14=48', '39-21=18'] Exploring Operation: 48+18=66, Resulting Numbers: [66] 66,49 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 34, 23, 4, 27 ]
31
[ "34+27=61", "23*4=92", "92-61=31" ]
Current State: 31:[34, 23, 4, 27], Operations: [] Exploring Operation: 34+27=61, Resulting Numbers: [23, 4, 61] Generated Node #2: [23, 4, 61] from Operation: 34+27=61 Current State: 31:[23, 4, 61], Operations: ['34+27=61'] Exploring Operation: 23*4=92, Resulting Numbers: [61, 92] Generated Node #3: [61, 92] from Operation: 23*4=92 Current State: 31:[61, 92], Operations: ['34+27=61', '23*4=92'] Exploring Operation: 92-61=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[34, 23, 4, 27], Operations: [] Exploring Operation: 4+27=31, Resulting Numbers: [34, 23, 31] Generated Node #0,0: 31:[34, 23, 31] Operation: 4+27=31 Exploring Operation: 23+4=27, Resulting Numbers: [34, 27, 27] Generated Node #0,1: 31:[34, 27, 27] Operation: 23+4=27 Exploring Operation: 34-4=30, Resulting Numbers: [23, 27, 30] Generated Node #0,2: 31:[23, 27, 30] Operation: 34-4=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[34, 23, 31], Operations: ['4+27=31'] Exploring Operation: 34-23=11, Resulting Numbers: [31, 11] Generated Node #0,0,0: 31:[31, 11] Operation: 34-23=11 Exploring Operation: 34+23=57, Resulting Numbers: [31, 57] Generated Node #0,0,1: 31:[31, 57] Operation: 34+23=57 Exploring Operation: 23+31=54, Resulting Numbers: [34, 54] Generated Node #0,0,2: 31:[34, 54] Operation: 23+31=54 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[31, 11], Operations: ['4+27=31', '34-23=11'] Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,31 unequal: No Solution Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[31, 57], Operations: ['4+27=31', '34+23=57'] Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 31+57=88, Resulting Numbers: [88] 88,31 unequal: No Solution Exploring Operation: 31*57=1767, Resulting Numbers: [1767] 1767,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[34, 54], Operations: ['4+27=31', '23+31=54'] Exploring Operation: 34*54=1836, Resulting Numbers: [1836] 1836,31 unequal: No Solution Exploring Operation: 34+54=88, Resulting Numbers: [88] 88,31 unequal: No Solution Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[34, 27, 27], Operations: ['23+4=27'] Exploring Operation: 34-27=7, Resulting Numbers: [27, 7] Generated Node #0,1,0: 31:[27, 7] Operation: 34-27=7 Exploring Operation: 27+27=54, Resulting Numbers: [34, 54] Generated Node #0,1,1: 31:[34, 54] Operation: 27+27=54 Exploring Operation: 34-27=7, Resulting Numbers: [27, 7] Generated Node #0,1,2: 31:[27, 7] Operation: 34-27=7 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[34, 54], Operations: ['23+4=27', '27+27=54'] Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 34*54=1836, Resulting Numbers: [1836] 1836,31 unequal: No Solution Exploring Operation: 34+54=88, Resulting Numbers: [88] 88,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[27, 7], Operations: ['23+4=27', '34-27=7'] Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[27, 7], Operations: ['23+4=27', '34-27=7'] Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[23, 27, 30], Operations: ['34-4=30'] Exploring Operation: 23+30=53, Resulting Numbers: [27, 53] Generated Node #0,2,0: 31:[27, 53] Operation: 23+30=53 Exploring Operation: 23+27=50, Resulting Numbers: [30, 50] Generated Node #0,2,1: 31:[30, 50] Operation: 23+27=50 Exploring Operation: 27-23=4, Resulting Numbers: [30, 4] Generated Node #0,2,2: 31:[30, 4] Operation: 27-23=4 Moving to Node #0,2,1 Current State: 31:[30, 50], Operations: ['34-4=30', '23+27=50'] Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 30*50=1500, Resulting Numbers: [1500] 1500,31 unequal: No Solution Exploring Operation: 30+50=80, Resulting Numbers: [80] 80,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[27, 53], Operations: ['34-4=30', '23+30=53'] Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 27*53=1431, Resulting Numbers: [1431] 1431,31 unequal: No Solution Exploring Operation: 27+53=80, Resulting Numbers: [80] 80,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[30, 4], Operations: ['34-4=30', '27-23=4'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,31 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
[ 46, 63, 87, 74 ]
52
[ "46+63=109", "87+74=161", "161-109=52" ]
Current State: 52:[46, 63, 87, 74], Operations: [] Exploring Operation: 46+63=109, Resulting Numbers: [87, 74, 109] Generated Node #2: [87, 74, 109] from Operation: 46+63=109 Current State: 52:[87, 74, 109], Operations: ['46+63=109'] Exploring Operation: 87+74=161, Resulting Numbers: [109, 161] Generated Node #3: [109, 161] from Operation: 87+74=161 Current State: 52:[109, 161], Operations: ['46+63=109', '87+74=161'] Exploring Operation: 161-109=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[46, 63, 87, 74], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [46, 87, 11] Generated Node #0,0: 52:[46, 87, 11] Operation: 74-63=11 Exploring Operation: 87-46=41, Resulting Numbers: [63, 74, 41] Generated Node #0,1: 52:[63, 74, 41] Operation: 87-46=41 Exploring Operation: 87-63=24, Resulting Numbers: [46, 74, 24] Generated Node #0,2: 52:[46, 74, 24] Operation: 87-63=24 Exploring Operation: 87-74=13, Resulting Numbers: [46, 63, 13] Generated Node #0,3: 52:[46, 63, 13] Operation: 87-74=13 Moving to Node #0,3 Current State: 52:[46, 63, 13], Operations: ['87-74=13'] Exploring Operation: 63-46=17, Resulting Numbers: [13, 17] Generated Node #0,3,0: 52:[13, 17] Operation: 63-46=17 Exploring Operation: 46+13=59, Resulting Numbers: [63, 59] Generated Node #0,3,1: 52:[63, 59] Operation: 46+13=59 Exploring Operation: 46-13=33, Resulting Numbers: [63, 33] Generated Node #0,3,2: 52:[63, 33] Operation: 46-13=33 Exploring Operation: 63-13=50, Resulting Numbers: [46, 50] Generated Node #0,3,3: 52:[46, 50] Operation: 63-13=50 Moving to Node #0,2 Current State: 52:[46, 74, 24], Operations: ['87-63=24'] Exploring Operation: 74-46=28, Resulting Numbers: [24, 28] Generated Node #0,2,0: 52:[24, 28] Operation: 74-46=28 Exploring Operation: 46-24=22, Resulting Numbers: [74, 22] Generated Node #0,2,1: 52:[74, 22] Operation: 46-24=22 Exploring Operation: 46+24=70, Resulting Numbers: [74, 70] Generated Node #0,2,2: 52:[74, 70] Operation: 46+24=70 Exploring Operation: 74-24=50, Resulting Numbers: [46, 50] Generated Node #0,2,3: 52:[46, 50] Operation: 74-24=50 Moving to Node #0,0 Current State: 52:[46, 87, 11], Operations: ['74-63=11'] Exploring Operation: 87-46=41, Resulting Numbers: [11, 41] Generated Node #0,0,0: 52:[11, 41] Operation: 87-46=41 Exploring Operation: 46-11=35, Resulting Numbers: [87, 35] Generated Node #0,0,1: 52:[87, 35] Operation: 46-11=35 Exploring Operation: 87-11=76, Resulting Numbers: [46, 76] Generated Node #0,0,2: 52:[46, 76] Operation: 87-11=76 Exploring Operation: 46+11=57, Resulting Numbers: [87, 57] Generated Node #0,0,3: 52:[87, 57] Operation: 46+11=57 Moving to Node #0,1 Current State: 52:[63, 74, 41], Operations: ['87-46=41'] Exploring Operation: 63-41=22, Resulting Numbers: [74, 22] Generated Node #0,1,0: 52:[74, 22] Operation: 63-41=22 Exploring Operation: 63+41=104, Resulting Numbers: [74, 104] Generated Node #0,1,1: 52:[74, 104] Operation: 63+41=104 Exploring Operation: 74-41=33, Resulting Numbers: [63, 33] Generated Node #0,1,2: 52:[63, 33] Operation: 74-41=33 Exploring Operation: 74-63=11, Resulting Numbers: [41, 11] Generated Node #0,1,3: 52:[41, 11] Operation: 74-63=11 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 52:[41, 11], Operations: ['87-46=41', '74-63=11'] Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,52 unequal: No Solution Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[46, 63, 87, 74], Operations: [] Exploring Operation: 87-46=41, Resulting Numbers: [63, 74, 41] Generated Node #0,1: 52:[63, 74, 41] Operation: 87-46=41 Moving to Node #0,1 Current State: 52:[63, 74, 41], Operations: ['87-46=41'] Exploring Operation: 74-63=11, Resulting Numbers: [41, 11] Generated Node #0,1,3: 52:[41, 11] Operation: 74-63=11 Moving to Node #0,1,3 Current State: 52:[41, 11], Operations: ['87-46=41', '74-63=11'] Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_4
sum_heuristic
[ 95, 77, 54, 35 ]
37
[ "95-77=18", "54-35=19", "18+19=37" ]
Current State: 37:[95, 77, 54, 35], Operations: [] Exploring Operation: 95-77=18, Resulting Numbers: [54, 35, 18] Generated Node #2: [54, 35, 18] from Operation: 95-77=18 Current State: 37:[54, 35, 18], Operations: ['95-77=18'] Exploring Operation: 54-35=19, Resulting Numbers: [18, 19] Generated Node #3: [18, 19] from Operation: 54-35=19 Current State: 37:[18, 19], Operations: ['95-77=18', '54-35=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[95, 77, 54, 35], Operations: [] Exploring Operation: 95-35=60, Resulting Numbers: [77, 54, 60] Generated Node #0,0: 37:[77, 54, 60] Operation: 95-35=60 Exploring Operation: 95-77=18, Resulting Numbers: [54, 35, 18] Generated Node #0,1: 37:[54, 35, 18] Operation: 95-77=18 Exploring Operation: 95-54=41, Resulting Numbers: [77, 35, 41] Generated Node #0,2: 37:[77, 35, 41] Operation: 95-54=41 Exploring Operation: 77-35=42, Resulting Numbers: [95, 54, 42] Generated Node #0,3: 37:[95, 54, 42] Operation: 77-35=42 Exploring Operation: 77-54=23, Resulting Numbers: [95, 35, 23] Generated Node #0,4: 37:[95, 35, 23] Operation: 77-54=23 Moving to Node #0,1 Current State: 37:[54, 35, 18], Operations: ['95-77=18'] Exploring Operation: 54/18=3, Resulting Numbers: [35, 3] Generated Node #0,1,0: 37:[35, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [35, 36] Generated Node #0,1,1: 37:[35, 36] Operation: 54-18=36 Exploring Operation: 35+18=53, Resulting Numbers: [54, 53] Generated Node #0,1,2: 37:[54, 53] Operation: 35+18=53 Exploring Operation: 54+18=72, Resulting Numbers: [35, 72] Generated Node #0,1,3: 37:[35, 72] Operation: 54+18=72 Exploring Operation: 54-35=19, Resulting Numbers: [18, 19] Generated Node #0,1,4: 37:[18, 19] Operation: 54-35=19 Moving to Node #0,2 Current State: 37:[77, 35, 41], Operations: ['95-54=41'] Exploring Operation: 77-35=42, Resulting Numbers: [41, 42] Generated Node #0,2,0: 37:[41, 42] Operation: 77-35=42 Exploring Operation: 77-41=36, Resulting Numbers: [35, 36] Generated Node #0,2,1: 37:[35, 36] Operation: 77-41=36 Exploring Operation: 77+35=112, Resulting Numbers: [41, 112] Generated Node #0,2,2: 37:[41, 112] Operation: 77+35=112 Exploring Operation: 35+41=76, Resulting Numbers: [77, 76] Generated Node #0,2,3: 37:[77, 76] Operation: 35+41=76 Exploring Operation: 41-35=6, Resulting Numbers: [77, 6] Generated Node #0,2,4: 37:[77, 6] Operation: 41-35=6 Moving to Node #0,4 Current State: 37:[95, 35, 23], Operations: ['77-54=23'] Exploring Operation: 95-23=72, Resulting Numbers: [35, 72] Generated Node #0,4,0: 37:[35, 72] Operation: 95-23=72 Exploring Operation: 35-23=12, Resulting Numbers: [95, 12] Generated Node #0,4,1: 37:[95, 12] Operation: 35-23=12 Exploring Operation: 35+23=58, Resulting Numbers: [95, 58] Generated Node #0,4,2: 37:[95, 58] Operation: 35+23=58 Exploring Operation: 95+23=118, Resulting Numbers: [35, 118] Generated Node #0,4,3: 37:[35, 118] Operation: 95+23=118 Exploring Operation: 95-35=60, Resulting Numbers: [23, 60] Generated Node #0,4,4: 37:[23, 60] Operation: 95-35=60 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 37:[35, 72], Operations: ['77-54=23', '95-23=72'] Exploring Operation: 35+72=107, Resulting Numbers: [107] 107,37 unequal: No Solution Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[95, 77, 54, 35], Operations: [] Exploring Operation: 77-54=23, Resulting Numbers: [95, 35, 23] Generated Node #0,4: 37:[95, 35, 23] Operation: 77-54=23 Moving to Node #0,4 Current State: 37:[95, 35, 23], Operations: ['77-54=23'] Exploring Operation: 95-23=72, Resulting Numbers: [35, 72] Generated Node #0,4,0: 37:[35, 72] Operation: 95-23=72 Moving to Node #0,4,0 Current State: 37:[35, 72], Operations: ['77-54=23', '95-23=72'] Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 47, 22, 59, 45 ]
96
[ "47-45=2", "59*2=118", "118-22=96" ]
Current State: 96:[47, 22, 59, 45], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [22, 59, 2] Generated Node #2: [22, 59, 2] from Operation: 47-45=2 Current State: 96:[22, 59, 2], Operations: ['47-45=2'] Exploring Operation: 59*2=118, Resulting Numbers: [22, 118] Generated Node #3: [22, 118] from Operation: 59*2=118 Current State: 96:[22, 118], Operations: ['47-45=2', '59*2=118'] Exploring Operation: 118-22=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[47, 22, 59, 45], Operations: [] Exploring Operation: 59-22=37, Resulting Numbers: [47, 45, 37] Generated Node #0,0: 96:[47, 45, 37] Operation: 59-22=37 Exploring Operation: 59-45=14, Resulting Numbers: [47, 22, 14] Generated Node #0,1: 96:[47, 22, 14] Operation: 59-45=14 Exploring Operation: 59-47=12, Resulting Numbers: [22, 45, 12] Generated Node #0,2: 96:[22, 45, 12] Operation: 59-47=12 Exploring Operation: 59+45=104, Resulting Numbers: [47, 22, 104] Generated Node #0,3: 96:[47, 22, 104] Operation: 59+45=104 Moving to Node #0,1 Current State: 96:[47, 22, 14], Operations: ['59-45=14'] Exploring Operation: 47-14=33, Resulting Numbers: [22, 33] Generated Node #0,1,0: 96:[22, 33] Operation: 47-14=33 Exploring Operation: 47-22=25, Resulting Numbers: [14, 25] Generated Node #0,1,1: 96:[14, 25] Operation: 47-22=25 Exploring Operation: 22+14=36, Resulting Numbers: [47, 36] Generated Node #0,1,2: 96:[47, 36] Operation: 22+14=36 Exploring Operation: 22-14=8, Resulting Numbers: [47, 8] Generated Node #0,1,3: 96:[47, 8] Operation: 22-14=8 Moving to Node #0,2 Current State: 96:[22, 45, 12], Operations: ['59-47=12'] Exploring Operation: 22-12=10, Resulting Numbers: [45, 10] Generated Node #0,2,0: 96:[45, 10] Operation: 22-12=10 Exploring Operation: 45-22=23, Resulting Numbers: [12, 23] Generated Node #0,2,1: 96:[12, 23] Operation: 45-22=23 Exploring Operation: 22+12=34, Resulting Numbers: [45, 34] Generated Node #0,2,2: 96:[45, 34] Operation: 22+12=34 Exploring Operation: 45-12=33, Resulting Numbers: [22, 33] Generated Node #0,2,3: 96:[22, 33] Operation: 45-12=33 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[12, 23], Operations: ['59-47=12', '45-22=23'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,96 unequal: No Solution Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 96:[22, 33], Operations: ['59-47=12', '45-12=33'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,96 unequal: No Solution Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[45, 10], Operations: ['59-47=12', '22-12=10'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,96 unequal: No Solution Exploring Operation: 45*10=450, Resulting Numbers: [450] 450,96 unequal: No Solution Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 96:[45, 34], Operations: ['59-47=12', '22+12=34'] Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,96 unequal: No Solution Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 96:[47, 45, 37], Operations: ['59-22=37'] Exploring Operation: 45-37=8, Resulting Numbers: [47, 8] Generated Node #0,0,0: 96:[47, 8] Operation: 45-37=8 Exploring Operation: 47+45=92, Resulting Numbers: [37, 92] Generated Node #0,0,1: 96:[37, 92] Operation: 47+45=92 Exploring Operation: 47-45=2, Resulting Numbers: [37, 2] Generated Node #0,0,2: 96:[37, 2] Operation: 47-45=2 Exploring Operation: 47-37=10, Resulting Numbers: [45, 10] Generated Node #0,0,3: 96:[45, 10] Operation: 47-37=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[47, 8], Operations: ['59-22=37', '45-37=8'] Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,96 unequal: No Solution Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,96 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 96:[37, 2], Operations: ['59-22=37', '47-45=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 96:[45, 10], Operations: ['59-22=37', '47-37=10'] Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,96 unequal: No Solution Exploring Operation: 45*10=450, Resulting Numbers: [450] 450,96 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[37, 92], Operations: ['59-22=37', '47+45=92'] Exploring Operation: 92-37=55, Resulting Numbers: [55] 55,96 unequal: No Solution Exploring Operation: 37+92=129, Resulting Numbers: [129] 129,96 unequal: No Solution Exploring Operation: 37*92=3404, Resulting Numbers: [3404] 3404,96 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: 96:[47, 22, 104], Operations: ['59+45=104'] Exploring Operation: 104-22=82, Resulting Numbers: [47, 82] Generated Node #0,3,0: 96:[47, 82] Operation: 104-22=82 Exploring Operation: 47+22=69, Resulting Numbers: [104, 69] Generated Node #0,3,1: 96:[104, 69] Operation: 47+22=69 Exploring Operation: 47-22=25, Resulting Numbers: [104, 25] Generated Node #0,3,2: 96:[104, 25] Operation: 47-22=25 Exploring Operation: 104-47=57, Resulting Numbers: [22, 57] Generated Node #0,3,3: 96:[22, 57] Operation: 104-47=57 Moving to Node #0,1,3 Current State: 96:[47, 8], Operations: ['59-45=14', '22-14=8'] Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,96 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[14, 25], Operations: ['59-45=14', '47-22=25'] Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 14*25=350, Resulting Numbers: [350] 350,96 unequal: No Solution Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[22, 33], Operations: ['59-45=14', '47-14=33'] Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,96 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[47, 36], Operations: ['59-45=14', '22+14=36'] Exploring Operation: 47+36=83, Resulting Numbers: [83] 83,96 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,96 unequal: No Solution Exploring Operation: 47*36=1692, Resulting Numbers: [1692] 1692,96 unequal: No Solution Moving to Node #0,3,2 Current State: 96:[104, 25], Operations: ['59+45=104', '47-22=25'] Exploring Operation: 104-25=79, Resulting Numbers: [79] 79,96 unequal: No Solution Exploring Operation: 104*25=2600, Resulting Numbers: [2600] 2600,96 unequal: No Solution Exploring Operation: 104+25=129, Resulting Numbers: [129] 129,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[22, 57], Operations: ['59+45=104', '104-47=57'] Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,96 unequal: No Solution Exploring Operation: 22*57=1254, Resulting Numbers: [1254] 1254,96 unequal: No Solution Exploring Operation: 22+57=79, Resulting Numbers: [79] 79,96 unequal: No Solution Moving to Node #0,3,0 Current State: 96:[47, 82], Operations: ['59+45=104', '104-22=82'] Exploring Operation: 82-47=35, Resulting Numbers: [35] 35,96 unequal: No Solution Exploring Operation: 47*82=3854, Resulting Numbers: [3854] 3854,96 unequal: No Solution Exploring Operation: 47+82=129, Resulting Numbers: [129] 129,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[104, 69], Operations: ['59+45=104', '47+22=69'] Exploring Operation: 104+69=173, Resulting Numbers: [173] 173,96 unequal: No Solution Exploring Operation: 104*69=7176, Resulting Numbers: [7176] 7176,96 unequal: No Solution Exploring Operation: 104-69=35, Resulting Numbers: [35] 35,96 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 92, 36, 39, 2 ]
71
[ "92-39=53", "36/2=18", "53+18=71" ]
Current State: 71:[92, 36, 39, 2], Operations: [] Exploring Operation: 92-39=53, Resulting Numbers: [36, 2, 53] Generated Node #2: [36, 2, 53] from Operation: 92-39=53 Current State: 71:[36, 2, 53], Operations: ['92-39=53'] Exploring Operation: 36/2=18, Resulting Numbers: [53, 18] Generated Node #3: [53, 18] from Operation: 36/2=18 Current State: 71:[53, 18], Operations: ['92-39=53', '36/2=18'] Exploring Operation: 53+18=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[92, 36, 39, 2], Operations: [] Exploring Operation: 36*2=72, Resulting Numbers: [92, 39, 72] Generated Node #0,0: 71:[92, 39, 72] Operation: 36*2=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[92, 39, 72], Operations: ['36*2=72'] Exploring Operation: 92-39=53, Resulting Numbers: [72, 53] Generated Node #0,0,0: 71:[72, 53] Operation: 92-39=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[72, 53], Operations: ['36*2=72', '92-39=53'] Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,71 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
[ 33, 39, 60, 26 ]
92
[ "39-33=6", "60+26=86", "6+86=92" ]
Current State: 92:[33, 39, 60, 26], Operations: [] Exploring Operation: 39-33=6, Resulting Numbers: [60, 26, 6] Generated Node #2: [60, 26, 6] from Operation: 39-33=6 Current State: 92:[60, 26, 6], Operations: ['39-33=6'] Exploring Operation: 60+26=86, Resulting Numbers: [6, 86] Generated Node #3: [6, 86] from Operation: 60+26=86 Current State: 92:[6, 86], Operations: ['39-33=6', '60+26=86'] Exploring Operation: 6+86=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[33, 39, 60, 26], Operations: [] Exploring Operation: 33+60=93, Resulting Numbers: [39, 26, 93] Generated Node #0,0: 92:[39, 26, 93] Operation: 33+60=93 Moving to Node #0,0 Current State: 92:[39, 26, 93], Operations: ['33+60=93'] Exploring Operation: 39-26=13, Resulting Numbers: [93, 13] Generated Node #0,0,0: 92:[93, 13] Operation: 39-26=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[93, 13], Operations: ['33+60=93', '39-26=13'] Exploring Operation: 93-13=80, Resulting Numbers: [80] 80,92 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
[ 90, 8, 27, 98 ]
91
[ "98-90=8", "8*8=64", "27+64=91" ]
Current State: 91:[90, 8, 27, 98], Operations: [] Exploring Operation: 98-90=8, Resulting Numbers: [8, 27, 8] Generated Node #2: [8, 27, 8] from Operation: 98-90=8 Current State: 91:[8, 27, 8], Operations: ['98-90=8'] Exploring Operation: 8*8=64, Resulting Numbers: [27, 64] Generated Node #3: [27, 64] from Operation: 8*8=64 Current State: 91:[27, 64], Operations: ['98-90=8', '8*8=64'] Exploring Operation: 27+64=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[90, 8, 27, 98], Operations: [] Exploring Operation: 98-8=90, Resulting Numbers: [90, 27, 90] Generated Node #0,0: 91:[90, 27, 90] Operation: 98-8=90 Exploring Operation: 27-8=19, Resulting Numbers: [90, 98, 19] Generated Node #0,1: 91:[90, 98, 19] Operation: 27-8=19 Exploring Operation: 98-90=8, Resulting Numbers: [8, 27, 8] Generated Node #0,2: 91:[8, 27, 8] Operation: 98-90=8 Moving to Node #0,1 Current State: 91:[90, 98, 19], Operations: ['27-8=19'] Exploring Operation: 98-19=79, Resulting Numbers: [90, 79] Generated Node #0,1,0: 91:[90, 79] Operation: 98-19=79 Exploring Operation: 90+19=109, Resulting Numbers: [98, 109] Generated Node #0,1,1: 91:[98, 109] Operation: 90+19=109 Exploring Operation: 98-90=8, Resulting Numbers: [19, 8] Generated Node #0,1,2: 91:[19, 8] Operation: 98-90=8 Moving to Node #0,0 Current State: 91:[90, 27, 90], Operations: ['98-8=90'] Exploring Operation: 90-90=0, Resulting Numbers: [27, 0] Generated Node #0,0,0: 91:[27, 0] Operation: 90-90=0 Exploring Operation: 90+27=117, Resulting Numbers: [90, 117] Generated Node #0,0,1: 91:[90, 117] Operation: 90+27=117 Exploring Operation: 90/90=1, Resulting Numbers: [27, 1] Generated Node #0,0,2: 91:[27, 1] Operation: 90/90=1 Moving to Node #0,2 Current State: 91:[8, 27, 8], Operations: ['98-90=8'] Exploring Operation: 27-8=19, Resulting Numbers: [8, 19] Generated Node #0,2,0: 91:[8, 19] Operation: 27-8=19 Exploring Operation: 8+8=16, Resulting Numbers: [27, 16] Generated Node #0,2,1: 91:[27, 16] Operation: 8+8=16 Exploring Operation: 27-8=19, Resulting Numbers: [8, 19] Generated Node #0,2,2: 91:[8, 19] Operation: 27-8=19 Moving to Node #0,1,2 Current State: 91:[19, 8], Operations: ['27-8=19', '98-90=8'] Exploring Operation: 19*8=152, Resulting Numbers: [152] 152,91 unequal: No Solution Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,91 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[8, 19], Operations: ['98-90=8', '27-8=19'] Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,91 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,91 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[8, 19], Operations: ['98-90=8', '27-8=19'] Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,91 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,91 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[90, 79], Operations: ['27-8=19', '98-19=79'] Exploring Operation: 90-79=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 90*79=7110, Resulting Numbers: [7110] 7110,91 unequal: No Solution Exploring Operation: 90+79=169, Resulting Numbers: [169] 169,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[27, 16], Operations: ['98-90=8', '8+8=16'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,91 unequal: No Solution Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[27, 1], Operations: ['98-8=90', '90/90=1'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,91 unequal: No Solution Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[27, 0], Operations: ['98-8=90', '90-90=0'] Exploring Operation: 27*0=0, Resulting Numbers: [0] 0,91 unequal: No Solution Exploring Operation: 27+0=27, Resulting Numbers: [27] 27,91 unequal: No Solution Exploring Operation: 27-0=27, Resulting Numbers: [27] 27,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[98, 109], Operations: ['27-8=19', '90+19=109'] Exploring Operation: 98*109=10682, Resulting Numbers: [10682] 10682,91 unequal: No Solution Exploring Operation: 98+109=207, Resulting Numbers: [207] 207,91 unequal: No Solution Exploring Operation: 109-98=11, Resulting Numbers: [11] 11,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[90, 117], Operations: ['98-8=90', '90+27=117'] Exploring Operation: 90*117=10530, Resulting Numbers: [10530] 10530,91 unequal: No Solution Exploring Operation: 90+117=207, Resulting Numbers: [207] 207,91 unequal: No Solution Exploring Operation: 117-90=27, Resulting Numbers: [27] 27,91 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 18, 80, 14, 11 ]
26
[ "14-11=3", "18*3=54", "80-54=26" ]
Current State: 26:[18, 80, 14, 11], Operations: [] Exploring Operation: 14-11=3, Resulting Numbers: [18, 80, 3] Generated Node #2: [18, 80, 3] from Operation: 14-11=3 Current State: 26:[18, 80, 3], Operations: ['14-11=3'] Exploring Operation: 18*3=54, Resulting Numbers: [80, 54] Generated Node #3: [80, 54] from Operation: 18*3=54 Current State: 26:[80, 54], Operations: ['14-11=3', '18*3=54'] Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[18, 80, 14, 11], Operations: [] Exploring Operation: 80-18=62, Resulting Numbers: [14, 11, 62] Generated Node #0,0: 26:[14, 11, 62] Operation: 80-18=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[14, 11, 62], Operations: ['80-18=62'] Exploring Operation: 62-14=48, Resulting Numbers: [11, 48] Generated Node #0,0,0: 26:[11, 48] Operation: 62-14=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[11, 48], Operations: ['80-18=62', '62-14=48'] Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,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_1
sum_heuristic
[ 34, 60, 46, 46 ]
64
[ "46*46=2116", "60+2116=2176", "2176/34=64" ]
Current State: 64:[34, 60, 46, 46], Operations: [] Exploring Operation: 46*46=2116, Resulting Numbers: [34, 60, 2116] Generated Node #2: [34, 60, 2116] from Operation: 46*46=2116 Current State: 64:[34, 60, 2116], Operations: ['46*46=2116'] Exploring Operation: 60+2116=2176, Resulting Numbers: [34, 2176] Generated Node #3: [34, 2176] from Operation: 60+2116=2176 Current State: 64:[34, 2176], Operations: ['46*46=2116', '60+2116=2176'] Exploring Operation: 2176/34=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[34, 60, 46, 46], Operations: [] Exploring Operation: 46-46=0, Resulting Numbers: [34, 60, 0] Generated Node #0,0: 64:[34, 60, 0] Operation: 46-46=0 Exploring Operation: 60-46=14, Resulting Numbers: [34, 46, 14] Generated Node #0,1: 64:[34, 46, 14] Operation: 60-46=14 Exploring Operation: 60-46=14, Resulting Numbers: [34, 46, 14] Generated Node #0,2: 64:[34, 46, 14] Operation: 60-46=14 Exploring Operation: 46/46=1, Resulting Numbers: [34, 60, 1] Generated Node #0,3: 64:[34, 60, 1] Operation: 46/46=1 Exploring Operation: 46-34=12, Resulting Numbers: [60, 46, 12] Generated Node #0,4: 64:[60, 46, 12] Operation: 46-34=12 Moving to Node #0,3 Current State: 64:[34, 60, 1], Operations: ['46/46=1'] Exploring Operation: 34/1=34, Resulting Numbers: [60, 34] Generated Node #0,3,0: 64:[60, 34] Operation: 34/1=34 Exploring Operation: 60+1=61, Resulting Numbers: [34, 61] Generated Node #0,3,1: 64:[34, 61] Operation: 60+1=61 Exploring Operation: 34-1=33, Resulting Numbers: [60, 33] Generated Node #0,3,2: 64:[60, 33] Operation: 34-1=33 Exploring Operation: 34*1=34, Resulting Numbers: [60, 34] Generated Node #0,3,3: 64:[60, 34] Operation: 34*1=34 Exploring Operation: 60*1=60, Resulting Numbers: [34, 60] Generated Node #0,3,4: 64:[34, 60] Operation: 60*1=60 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[34, 61], Operations: ['46/46=1', '60+1=61'] Exploring Operation: 34+61=95, Resulting Numbers: [95] 95,64 unequal: No Solution Exploring Operation: 34*61=2074, Resulting Numbers: [2074] 2074,64 unequal: No Solution Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,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:[60, 33], Operations: ['46/46=1', '34-1=33'] Exploring Operation: 60+33=93, Resulting Numbers: [93] 93,64 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 60*33=1980, Resulting Numbers: [1980] 1980,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,0 Current State: 64:[60, 34], Operations: ['46/46=1', '34/1=34'] Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,64 unequal: No Solution Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,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:[60, 34], Operations: ['46/46=1', '34*1=34'] Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,64 unequal: No Solution Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,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,4 Current State: 64:[34, 60], Operations: ['46/46=1', '60*1=60'] Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 34*60=2040, Resulting Numbers: [2040] 2040,64 unequal: No Solution Exploring Operation: 34+60=94, Resulting Numbers: [94] 94,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:[34, 60, 0], Operations: ['46-46=0'] Exploring Operation: 34+0=34, Resulting Numbers: [60, 34] Generated Node #0,0,0: 64:[60, 34] Operation: 34+0=34 Exploring Operation: 34-0=34, Resulting Numbers: [60, 34] Generated Node #0,0,1: 64:[60, 34] Operation: 34-0=34 Exploring Operation: 34*0=0, Resulting Numbers: [60, 0] Generated Node #0,0,2: 64:[60, 0] Operation: 34*0=0 Exploring Operation: 60+0=60, Resulting Numbers: [34, 60] Generated Node #0,0,3: 64:[34, 60] Operation: 60+0=60 Exploring Operation: 60*0=0, Resulting Numbers: [34, 0] Generated Node #0,0,4: 64:[34, 0] Operation: 60*0=0 Moving to Node #0,1 Current State: 64:[34, 46, 14], Operations: ['60-46=14'] Exploring Operation: 46-14=32, Resulting Numbers: [34, 32] Generated Node #0,1,0: 64:[34, 32] Operation: 46-14=32 Exploring Operation: 46+14=60, Resulting Numbers: [34, 60] Generated Node #0,1,1: 64:[34, 60] Operation: 46+14=60 Exploring Operation: 34-14=20, Resulting Numbers: [46, 20] Generated Node #0,1,2: 64:[46, 20] Operation: 34-14=20 Exploring Operation: 46-34=12, Resulting Numbers: [14, 12] Generated Node #0,1,3: 64:[14, 12] Operation: 46-34=12 Exploring Operation: 34+46=80, Resulting Numbers: [14, 80] Generated Node #0,1,4: 64:[14, 80] Operation: 34+46=80 Moving to Node #0,2 Current State: 64:[34, 46, 14], Operations: ['60-46=14'] Exploring Operation: 46-34=12, Resulting Numbers: [14, 12] Generated Node #0,2,0: 64:[14, 12] Operation: 46-34=12 Exploring Operation: 46-14=32, Resulting Numbers: [34, 32] Generated Node #0,2,1: 64:[34, 32] Operation: 46-14=32 Exploring Operation: 34-14=20, Resulting Numbers: [46, 20] Generated Node #0,2,2: 64:[46, 20] Operation: 34-14=20 Exploring Operation: 34+46=80, Resulting Numbers: [14, 80] Generated Node #0,2,3: 64:[14, 80] Operation: 34+46=80 Exploring Operation: 46+14=60, Resulting Numbers: [34, 60] Generated Node #0,2,4: 64:[34, 60] Operation: 46+14=60 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 64:[34, 32], Operations: ['60-46=14', '46-14=32'] Exploring Operation: 34*32=1088, Resulting Numbers: [1088] 1088,64 unequal: No Solution Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[14, 12], Operations: ['60-46=14', '46-34=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,64 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 64:[34, 60], Operations: ['60-46=14', '46+14=60'] Exploring Operation: 34+60=94, Resulting Numbers: [94] 94,64 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 34*60=2040, Resulting Numbers: [2040] 2040,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[46, 20], Operations: ['60-46=14', '34-14=20'] Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,64 unequal: No Solution Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 64:[14, 80], Operations: ['60-46=14', '34+46=80'] Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,64 unequal: No Solution Exploring Operation: 14+80=94, Resulting Numbers: [94] 94,64 unequal: No Solution Exploring Operation: 14*80=1120, Resulting Numbers: [1120] 1120,64 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: 64:[60, 46, 12], Operations: ['46-34=12'] Exploring Operation: 60-46=14, Resulting Numbers: [12, 14] Generated Node #0,4,0: 64:[12, 14] Operation: 60-46=14 Exploring Operation: 60+12=72, Resulting Numbers: [46, 72] Generated Node #0,4,1: 64:[46, 72] Operation: 60+12=72 Exploring Operation: 60/12=5, Resulting Numbers: [46, 5] Generated Node #0,4,2: 64:[46, 5] Operation: 60/12=5 Exploring Operation: 46+12=58, Resulting Numbers: [60, 58] Generated Node #0,4,3: 64:[60, 58] Operation: 46+12=58 Exploring Operation: 46-12=34, Resulting Numbers: [60, 34] Generated Node #0,4,4: 64:[60, 34] Operation: 46-12=34 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 64:[12, 14], Operations: ['46-34=12', '60-46=14'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,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,4,4 Current State: 64:[60, 34], Operations: ['46-34=12', '46-12=34'] Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,64 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,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,4,3 Current State: 64:[60, 58], Operations: ['46-34=12', '46+12=58'] Exploring Operation: 60-58=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 60*58=3480, Resulting Numbers: [3480] 3480,64 unequal: No Solution Exploring Operation: 60+58=118, Resulting Numbers: [118] 118,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,4,2 Current State: 64:[46, 5], Operations: ['46-34=12', '60/12=5'] Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,64 unequal: No Solution Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,64 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,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,4,1 Current State: 64:[46, 72], Operations: ['46-34=12', '60+12=72'] Exploring Operation: 46+72=118, Resulting Numbers: [118] 118,64 unequal: No Solution Exploring Operation: 72-46=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 46*72=3312, Resulting Numbers: [3312] 3312,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 64:[34, 32], Operations: ['60-46=14', '46-14=32'] Exploring Operation: 34*32=1088, Resulting Numbers: [1088] 1088,64 unequal: No Solution Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,64 unequal: No Solution Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,64 unequal: No Solution Moving to Node #0,0,4 Current State: 64:[34, 0], Operations: ['46-46=0', '60*0=0'] Exploring Operation: 34-0=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 34*0=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 34+0=34, Resulting Numbers: [34] 34,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[34, 60], Operations: ['60-46=14', '46+14=60'] Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 34*60=2040, Resulting Numbers: [2040] 2040,64 unequal: No Solution Exploring Operation: 34+60=94, Resulting Numbers: [94] 94,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[60, 34], Operations: ['46-46=0', '34-0=34'] Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,64 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[14, 12], Operations: ['60-46=14', '46-34=12'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[60, 34], Operations: ['46-46=0', '34+0=34'] Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,64 unequal: No Solution Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,64 unequal: No Solution Moving to Node #0,0,3 Current State: 64:[34, 60], Operations: ['46-46=0', '60+0=60'] Exploring Operation: 34+60=94, Resulting Numbers: [94] 94,64 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 34*60=2040, Resulting Numbers: [2040] 2040,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[60, 0], Operations: ['46-46=0', '34*0=0'] Exploring Operation: 60-0=60, Resulting Numbers: [60] 60,64 unequal: No Solution Exploring Operation: 60*0=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 60+0=60, Resulting Numbers: [60] 60,64 unequal: No Solution Moving to Node #0,1,4 Current State: 64:[14, 80], Operations: ['60-46=14', '34+46=80'] Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,64 unequal: No Solution Exploring Operation: 14*80=1120, Resulting Numbers: [1120] 1120,64 unequal: No Solution Exploring Operation: 14+80=94, Resulting Numbers: [94] 94,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[46, 20], Operations: ['60-46=14', '34-14=20'] Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,64 unequal: No Solution Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,64 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 68, 75, 13, 75 ]
54
[ "68-13=55", "75/75=1", "55-1=54" ]
Current State: 54:[68, 75, 13, 75], Operations: [] Exploring Operation: 68-13=55, Resulting Numbers: [75, 75, 55] Generated Node #2: [75, 75, 55] from Operation: 68-13=55 Current State: 54:[75, 75, 55], Operations: ['68-13=55'] Exploring Operation: 75/75=1, Resulting Numbers: [55, 1] Generated Node #3: [55, 1] from Operation: 75/75=1 Current State: 54:[55, 1], Operations: ['68-13=55', '75/75=1'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[68, 75, 13, 75], Operations: [] Exploring Operation: 75-75=0, Resulting Numbers: [68, 13, 0] Generated Node #0,0: 54:[68, 13, 0] Operation: 75-75=0 Exploring Operation: 75/75=1, Resulting Numbers: [68, 13, 1] Generated Node #0,1: 54:[68, 13, 1] Operation: 75/75=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[68, 13, 1], Operations: ['75/75=1'] Exploring Operation: 68-1=67, Resulting Numbers: [13, 67] Generated Node #0,1,0: 54:[13, 67] Operation: 68-1=67 Exploring Operation: 68-13=55, Resulting Numbers: [1, 55] Generated Node #0,1,1: 54:[1, 55] Operation: 68-13=55 Moving to Node #0,1,1 Current State: 54:[1, 55], Operations: ['75/75=1', '68-13=55'] Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[68, 75, 13, 75], Operations: [] Exploring Operation: 75/75=1, Resulting Numbers: [68, 13, 1] Generated Node #0,1: 54:[68, 13, 1] Operation: 75/75=1 Moving to Node #0,1 Current State: 54:[68, 13, 1], Operations: ['75/75=1'] Exploring Operation: 68-13=55, Resulting Numbers: [1, 55] Generated Node #0,1,1: 54:[1, 55] Operation: 68-13=55 Moving to Node #0,1,1 Current State: 54:[1, 55], Operations: ['75/75=1', '68-13=55'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 61, 74, 8, 57 ]
78
[ "74-61=13", "8+57=65", "13+65=78" ]
Current State: 78:[61, 74, 8, 57], Operations: [] Exploring Operation: 74-61=13, Resulting Numbers: [8, 57, 13] Generated Node #2: [8, 57, 13] from Operation: 74-61=13 Current State: 78:[8, 57, 13], Operations: ['74-61=13'] Exploring Operation: 8+57=65, Resulting Numbers: [13, 65] Generated Node #3: [13, 65] from Operation: 8+57=65 Current State: 78:[13, 65], Operations: ['74-61=13', '8+57=65'] Exploring Operation: 13+65=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[61, 74, 8, 57], Operations: [] Exploring Operation: 74-57=17, Resulting Numbers: [61, 8, 17] Generated Node #0,0: 78:[61, 8, 17] Operation: 74-57=17 Exploring Operation: 61+8=69, Resulting Numbers: [74, 57, 69] Generated Node #0,1: 78:[74, 57, 69] Operation: 61+8=69 Exploring Operation: 74-61=13, Resulting Numbers: [8, 57, 13] Generated Node #0,2: 78:[8, 57, 13] Operation: 74-61=13 Exploring Operation: 61-57=4, Resulting Numbers: [74, 8, 4] Generated Node #0,3: 78:[74, 8, 4] Operation: 61-57=4 Moving to Node #0,3 Current State: 78:[74, 8, 4], Operations: ['61-57=4'] Exploring Operation: 8/4=2, Resulting Numbers: [74, 2] Generated Node #0,3,0: 78:[74, 2] Operation: 8/4=2 Exploring Operation: 8+4=12, Resulting Numbers: [74, 12] Generated Node #0,3,1: 78:[74, 12] Operation: 8+4=12 Exploring Operation: 74+8=82, Resulting Numbers: [4, 82] Generated Node #0,3,2: 78:[4, 82] Operation: 74+8=82 Exploring Operation: 74+4=78, Resulting Numbers: [8, 78] Generated Node #0,3,3: 78:[8, 78] Operation: 74+4=78 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 78:[8, 78], Operations: ['61-57=4', '74+4=78'] Exploring Operation: 8*78=624, Resulting Numbers: [624] 624,78 unequal: No Solution Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,78 unequal: No Solution Exploring Operation: 8+78=86, Resulting Numbers: [86] 86,78 unequal: No Solution No 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: 78:[74, 2], Operations: ['61-57=4', '8/4=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,78 unequal: No Solution Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,78 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,78 unequal: No Solution No 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: 78:[74, 12], Operations: ['61-57=4', '8+4=12'] Exploring Operation: 74+12=86, Resulting Numbers: [86] 86,78 unequal: No Solution Exploring Operation: 74-12=62, Resulting Numbers: [62] 62,78 unequal: No Solution Exploring Operation: 74*12=888, Resulting Numbers: [888] 888,78 unequal: No Solution No 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: 78:[4, 82], Operations: ['61-57=4', '74+8=82'] Exploring Operation: 4*82=328, Resulting Numbers: [328] 328,78 unequal: No Solution Exploring Operation: 4+82=86, Resulting Numbers: [86] 86,78 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[61, 74, 8, 57], Operations: [] Exploring Operation: 61-57=4, Resulting Numbers: [74, 8, 4] Generated Node #0,3: 78:[74, 8, 4] Operation: 61-57=4 Moving to Node #0,3 Current State: 78:[74, 8, 4], Operations: ['61-57=4'] Exploring Operation: 74+8=82, Resulting Numbers: [4, 82] Generated Node #0,3,2: 78:[4, 82] Operation: 74+8=82 Moving to Node #0,3,2 Current State: 78:[4, 82], Operations: ['61-57=4', '74+8=82'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
sum_heuristic
[ 75, 28, 1, 47 ]
94
[ "75-28=47", "1*47=47", "47+47=94" ]
Current State: 94:[75, 28, 1, 47], Operations: [] Exploring Operation: 75-28=47, Resulting Numbers: [1, 47, 47] Generated Node #2: [1, 47, 47] from Operation: 75-28=47 Current State: 94:[1, 47, 47], Operations: ['75-28=47'] Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,94 equal: Goal Reached Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[75, 28, 1, 47], Operations: [] Exploring Operation: 75-28=47, Resulting Numbers: [1, 47, 47] Generated Node #0,0: 94:[1, 47, 47] Operation: 75-28=47 Exploring Operation: 75+28=103, Resulting Numbers: [1, 47, 103] Generated Node #0,1: 94:[1, 47, 103] Operation: 75+28=103 Moving to Node #0,0 Current State: 94:[1, 47, 47], Operations: ['75-28=47'] Exploring Operation: 1*47=47, Resulting Numbers: [47, 47] Generated Node #0,0,0: 94:[47, 47] Operation: 1*47=47 Exploring Operation: 47/1=47, Resulting Numbers: [47, 47] Generated Node #0,0,1: 94:[47, 47] Operation: 47/1=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[47, 47], Operations: ['75-28=47', '1*47=47'] Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[75, 28, 1, 47], Operations: [] Exploring Operation: 75-28=47, Resulting Numbers: [1, 47, 47] Generated Node #0,0: 94:[1, 47, 47] Operation: 75-28=47 Moving to Node #0,0 Current State: 94:[1, 47, 47], Operations: ['75-28=47'] Exploring Operation: 1*47=47, Resulting Numbers: [47, 47] Generated Node #0,0,0: 94:[47, 47] Operation: 1*47=47 Moving to Node #0,0,0 Current State: 94:[47, 47], Operations: ['75-28=47', '1*47=47'] Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 10, 91, 12, 86 ]
83
[ "10*91=910", "86+910=996", "996/12=83" ]
Current State: 83:[10, 91, 12, 86], Operations: [] Exploring Operation: 10*91=910, Resulting Numbers: [12, 86, 910] Generated Node #2: [12, 86, 910] from Operation: 10*91=910 Current State: 83:[12, 86, 910], Operations: ['10*91=910'] Exploring Operation: 86+910=996, Resulting Numbers: [12, 996] Generated Node #3: [12, 996] from Operation: 86+910=996 Current State: 83:[12, 996], Operations: ['10*91=910', '86+910=996'] Exploring Operation: 996/12=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[10, 91, 12, 86], Operations: [] Exploring Operation: 91-10=81, Resulting Numbers: [12, 86, 81] Generated Node #0,0: 83:[12, 86, 81] Operation: 91-10=81 Exploring Operation: 10*12=120, Resulting Numbers: [91, 86, 120] Generated Node #0,1: 83:[91, 86, 120] Operation: 10*12=120 Exploring Operation: 10+12=22, Resulting Numbers: [91, 86, 22] Generated Node #0,2: 83:[91, 86, 22] Operation: 10+12=22 Moving to Node #0,1 Current State: 83:[91, 86, 120], Operations: ['10*12=120'] Exploring Operation: 120-86=34, Resulting Numbers: [91, 34] Generated Node #0,1,0: 83:[91, 34] Operation: 120-86=34 Exploring Operation: 120-91=29, Resulting Numbers: [86, 29] Generated Node #0,1,1: 83:[86, 29] Operation: 120-91=29 Exploring Operation: 91-86=5, Resulting Numbers: [120, 5] Generated Node #0,1,2: 83:[120, 5] Operation: 91-86=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[91, 34], Operations: ['10*12=120', '120-86=34'] Exploring Operation: 91*34=3094, Resulting Numbers: [3094] 3094,83 unequal: No Solution Exploring Operation: 91-34=57, Resulting Numbers: [57] 57,83 unequal: No Solution Exploring Operation: 91+34=125, Resulting Numbers: [125] 125,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[86, 29], Operations: ['10*12=120', '120-91=29'] Exploring Operation: 86+29=115, Resulting Numbers: [115] 115,83 unequal: No Solution Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,83 unequal: No Solution Exploring Operation: 86*29=2494, Resulting Numbers: [2494] 2494,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[120, 5], Operations: ['10*12=120', '91-86=5'] Exploring Operation: 120-5=115, Resulting Numbers: [115] 115,83 unequal: No Solution Exploring Operation: 120/5=24, Resulting Numbers: [24] 24,83 unequal: No Solution Exploring Operation: 120+5=125, Resulting Numbers: [125] 125,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 83:[91, 86, 22], Operations: ['10+12=22'] Exploring Operation: 86-22=64, Resulting Numbers: [91, 64] Generated Node #0,2,0: 83:[91, 64] Operation: 86-22=64 Exploring Operation: 91-22=69, Resulting Numbers: [86, 69] Generated Node #0,2,1: 83:[86, 69] Operation: 91-22=69 Exploring Operation: 91+22=113, Resulting Numbers: [86, 113] Generated Node #0,2,2: 83:[86, 113] Operation: 91+22=113 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[86, 69], Operations: ['10+12=22', '91-22=69'] Exploring Operation: 86*69=5934, Resulting Numbers: [5934] 5934,83 unequal: No Solution Exploring Operation: 86+69=155, Resulting Numbers: [155] 155,83 unequal: No Solution Exploring Operation: 86-69=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,2,0 Current State: 83:[91, 64], Operations: ['10+12=22', '86-22=64'] Exploring Operation: 91-64=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 91*64=5824, Resulting Numbers: [5824] 5824,83 unequal: No Solution Exploring Operation: 91+64=155, Resulting Numbers: [155] 155,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[86, 113], Operations: ['10+12=22', '91+22=113'] Exploring Operation: 86+113=199, Resulting Numbers: [199] 199,83 unequal: No Solution Exploring Operation: 86*113=9718, Resulting Numbers: [9718] 9718,83 unequal: No Solution Exploring Operation: 113-86=27, Resulting Numbers: [27] 27,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 83:[12, 86, 81], Operations: ['91-10=81'] Exploring Operation: 86-12=74, Resulting Numbers: [81, 74] Generated Node #0,0,0: 83:[81, 74] Operation: 86-12=74 Exploring Operation: 12+81=93, Resulting Numbers: [86, 93] Generated Node #0,0,1: 83:[86, 93] Operation: 12+81=93 Exploring Operation: 12+86=98, Resulting Numbers: [81, 98] Generated Node #0,0,2: 83:[81, 98] Operation: 12+86=98 Moving to Node #0,0,0 Current State: 83:[81, 74], Operations: ['91-10=81', '86-12=74'] Exploring Operation: 81-74=7, Resulting Numbers: [7] 7,83 unequal: No Solution Exploring Operation: 81+74=155, Resulting Numbers: [155] 155,83 unequal: No Solution Exploring Operation: 81*74=5994, Resulting Numbers: [5994] 5994,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[86, 93], Operations: ['91-10=81', '12+81=93'] Exploring Operation: 86*93=7998, Resulting Numbers: [7998] 7998,83 unequal: No Solution Exploring Operation: 93-86=7, Resulting Numbers: [7] 7,83 unequal: No Solution Exploring Operation: 86+93=179, Resulting Numbers: [179] 179,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[81, 98], Operations: ['91-10=81', '12+86=98'] Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,83 unequal: No Solution Exploring Operation: 81+98=179, Resulting Numbers: [179] 179,83 unequal: No Solution Exploring Operation: 81*98=7938, Resulting Numbers: [7938] 7938,83 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 35, 80, 30, 55 ]
40
[ "80-35=45", "30+55=85", "85-45=40" ]
Current State: 40:[35, 80, 30, 55], Operations: [] Exploring Operation: 80-35=45, Resulting Numbers: [30, 55, 45] Generated Node #2: [30, 55, 45] from Operation: 80-35=45 Current State: 40:[30, 55, 45], Operations: ['80-35=45'] Exploring Operation: 30+55=85, Resulting Numbers: [45, 85] Generated Node #3: [45, 85] from Operation: 30+55=85 Current State: 40:[45, 85], Operations: ['80-35=45', '30+55=85'] Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[35, 80, 30, 55], Operations: [] Exploring Operation: 80-55=25, Resulting Numbers: [35, 30, 25] Generated Node #0,0: 40:[35, 30, 25] Operation: 80-55=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[35, 30, 25], Operations: ['80-55=25'] Exploring Operation: 35-30=5, Resulting Numbers: [25, 5] Generated Node #0,0,0: 40:[25, 5] Operation: 35-30=5 Moving to Node #0,0,0 Current State: 40:[25, 5], Operations: ['80-55=25', '35-30=5'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,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
mult_heuristic
[ 35, 69, 29, 56 ]
41
[ "35*56=1960", "69*29=2001", "2001-1960=41" ]
Current State: 41:[35, 69, 29, 56], Operations: [] Exploring Operation: 35*56=1960, Resulting Numbers: [69, 29, 1960] Generated Node #2: [69, 29, 1960] from Operation: 35*56=1960 Current State: 41:[69, 29, 1960], Operations: ['35*56=1960'] Exploring Operation: 69*29=2001, Resulting Numbers: [1960, 2001] Generated Node #3: [1960, 2001] from Operation: 69*29=2001 Current State: 41:[1960, 2001], Operations: ['35*56=1960', '69*29=2001'] Exploring Operation: 2001-1960=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[35, 69, 29, 56], Operations: [] Exploring Operation: 69-29=40, Resulting Numbers: [35, 56, 40] Generated Node #0,0: 41:[35, 56, 40] Operation: 69-29=40 Exploring Operation: 69-35=34, Resulting Numbers: [29, 56, 34] Generated Node #0,1: 41:[29, 56, 34] Operation: 69-35=34 Moving to Node #0,0 Current State: 41:[35, 56, 40], Operations: ['69-29=40'] Exploring Operation: 56-40=16, Resulting Numbers: [35, 16] Generated Node #0,0,0: 41:[35, 16] Operation: 56-40=16 Exploring Operation: 56-35=21, Resulting Numbers: [40, 21] Generated Node #0,0,1: 41:[40, 21] Operation: 56-35=21 Moving to Node #0,1 Current State: 41:[29, 56, 34], Operations: ['69-35=34'] Exploring Operation: 56-29=27, Resulting Numbers: [34, 27] Generated Node #0,1,0: 41:[34, 27] Operation: 56-29=27 Exploring Operation: 56-34=22, Resulting Numbers: [29, 22] Generated Node #0,1,1: 41:[29, 22] Operation: 56-34=22 Moving to Node #0,0,1 Current State: 41:[40, 21], Operations: ['69-29=40', '56-35=21'] Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,41 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[34, 27], Operations: ['69-35=34', '56-29=27'] Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,41 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[35, 16], Operations: ['69-29=40', '56-40=16'] Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,41 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[29, 22], Operations: ['69-35=34', '56-34=22'] Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,41 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 71, 42, 29, 79 ]
79
[ "71-42=29", "29+79=108", "108-29=79" ]
Current State: 79:[71, 42, 29, 79], Operations: [] Exploring Operation: 71-42=29, Resulting Numbers: [29, 79, 29] Generated Node #2: [29, 79, 29] from Operation: 71-42=29 Current State: 79:[29, 79, 29], Operations: ['71-42=29'] Exploring Operation: 29+79=108, Resulting Numbers: [108] 108,79 equal: Goal Reached Exploring Operation: 108-29=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[71, 42, 29, 79], Operations: [] Exploring Operation: 71+29=100, Resulting Numbers: [42, 79, 100] Generated Node #0,0: 79:[42, 79, 100] Operation: 71+29=100 Exploring Operation: 42+29=71, Resulting Numbers: [71, 79, 71] Generated Node #0,1: 79:[71, 79, 71] Operation: 42+29=71 Moving to Node #0,1 Current State: 79:[71, 79, 71], Operations: ['42+29=71'] Exploring Operation: 71+71=142, Resulting Numbers: [79, 142] Generated Node #0,1,0: 79:[79, 142] Operation: 71+71=142 Exploring Operation: 71/71=1, Resulting Numbers: [79, 1] Generated Node #0,1,1: 79:[79, 1] Operation: 71/71=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[79, 142], Operations: ['42+29=71', '71+71=142'] Exploring Operation: 142-79=63, Resulting Numbers: [63] 63,79 unequal: No Solution Exploring Operation: 79+142=221, Resulting Numbers: [221] 221,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:[79, 1], Operations: ['42+29=71', '71/71=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[71, 42, 29, 79], Operations: [] Exploring Operation: 42+29=71, Resulting Numbers: [71, 79, 71] Generated Node #0,1: 79:[71, 79, 71] Operation: 42+29=71 Moving to Node #0,1 Current State: 79:[71, 79, 71], Operations: ['42+29=71'] Exploring Operation: 71/71=1, Resulting Numbers: [79, 1] Generated Node #0,1,1: 79:[79, 1] Operation: 71/71=1 Moving to Node #0,1,1 Current State: 79:[79, 1], Operations: ['42+29=71', '71/71=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 4, 63, 31, 49 ]
49
[ "4+63=67", "49-31=18", "67-18=49" ]
Current State: 49:[4, 63, 31, 49], Operations: [] Exploring Operation: 4+63=67, Resulting Numbers: [31, 49, 67] Generated Node #2: [31, 49, 67] from Operation: 4+63=67 Current State: 49:[31, 49, 67], Operations: ['4+63=67'] Exploring Operation: 49-31=18, Resulting Numbers: [67, 18] Generated Node #3: [67, 18] from Operation: 49-31=18 Current State: 49:[67, 18], Operations: ['4+63=67', '49-31=18'] Exploring Operation: 67-18=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[4, 63, 31, 49], Operations: [] Exploring Operation: 63-4=59, Resulting Numbers: [31, 49, 59] Generated Node #0,0: 49:[31, 49, 59] Operation: 63-4=59 Exploring Operation: 63-31=32, Resulting Numbers: [4, 49, 32] Generated Node #0,1: 49:[4, 49, 32] Operation: 63-31=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[4, 49, 32], Operations: ['63-31=32'] Exploring Operation: 32/4=8, Resulting Numbers: [49, 8] Generated Node #0,1,0: 49:[49, 8] Operation: 32/4=8 Exploring Operation: 4+32=36, Resulting Numbers: [49, 36] Generated Node #0,1,1: 49:[49, 36] Operation: 4+32=36 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[49, 8], Operations: ['63-31=32', '32/4=8'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,49 unequal: No Solution Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[49, 36], Operations: ['63-31=32', '4+32=36'] Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 49+36=85, Resulting Numbers: [85] 85,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[31, 49, 59], Operations: ['63-4=59'] Exploring Operation: 49-31=18, Resulting Numbers: [59, 18] Generated Node #0,0,0: 49:[59, 18] Operation: 49-31=18 Exploring Operation: 59-31=28, Resulting Numbers: [49, 28] Generated Node #0,0,1: 49:[49, 28] Operation: 59-31=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[59, 18], Operations: ['63-4=59', '49-31=18'] Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,49 unequal: No Solution Exploring Operation: 59+18=77, Resulting Numbers: [77] 77,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[49, 28], Operations: ['63-4=59', '59-31=28'] Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 49+28=77, Resulting Numbers: [77] 77,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 55, 63, 4, 52 ]
56
[ "63-55=8", "52-4=48", "8+48=56" ]
Current State: 56:[55, 63, 4, 52], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [4, 52, 8] Generated Node #2: [4, 52, 8] from Operation: 63-55=8 Current State: 56:[4, 52, 8], Operations: ['63-55=8'] Exploring Operation: 52-4=48, Resulting Numbers: [8, 48] Generated Node #3: [8, 48] from Operation: 52-4=48 Current State: 56:[8, 48], Operations: ['63-55=8', '52-4=48'] Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[55, 63, 4, 52], Operations: [] Exploring Operation: 4+52=56, Resulting Numbers: [55, 63, 56] Generated Node #0,0: 56:[55, 63, 56] Operation: 4+52=56 Exploring Operation: 63-4=59, Resulting Numbers: [55, 52, 59] Generated Node #0,1: 56:[55, 52, 59] Operation: 63-4=59 Exploring Operation: 63-55=8, Resulting Numbers: [4, 52, 8] Generated Node #0,2: 56:[4, 52, 8] Operation: 63-55=8 Exploring Operation: 63-52=11, Resulting Numbers: [55, 4, 11] Generated Node #0,3: 56:[55, 4, 11] Operation: 63-52=11 Exploring Operation: 55-52=3, Resulting Numbers: [63, 4, 3] Generated Node #0,4: 56:[63, 4, 3] Operation: 55-52=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[4, 52, 8], Operations: ['63-55=8'] Exploring Operation: 52+8=60, Resulting Numbers: [4, 60] Generated Node #0,2,0: 56:[4, 60] Operation: 52+8=60 Exploring Operation: 8/4=2, Resulting Numbers: [52, 2] Generated Node #0,2,1: 56:[52, 2] Operation: 8/4=2 Exploring Operation: 4+52=56, Resulting Numbers: [8, 56] Generated Node #0,2,2: 56:[8, 56] Operation: 4+52=56 Exploring Operation: 52/4=13, Resulting Numbers: [8, 13] Generated Node #0,2,3: 56:[8, 13] Operation: 52/4=13 Exploring Operation: 8-4=4, Resulting Numbers: [52, 4] Generated Node #0,2,4: 56:[52, 4] Operation: 8-4=4 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 56:[8, 56], Operations: ['63-55=8', '4+52=56'] Exploring Operation: 8*56=448, Resulting Numbers: [448] 448,56 unequal: No Solution Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,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,2,3 Current State: 56:[8, 13], Operations: ['63-55=8', '52/4=13'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,56 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,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,2,0 Current State: 56:[4, 60], Operations: ['63-55=8', '52+8=60'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[55, 63, 4, 52], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [4, 52, 8] Generated Node #0,2: 56:[4, 52, 8] Operation: 63-55=8 Moving to Node #0,2 Current State: 56:[4, 52, 8], Operations: ['63-55=8'] Exploring Operation: 52+8=60, Resulting Numbers: [4, 60] Generated Node #0,2,0: 56:[4, 60] Operation: 52+8=60 Moving to Node #0,2,0 Current State: 56:[4, 60], Operations: ['63-55=8', '52+8=60'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 55, 37, 60, 12 ]
40
[ "55-37=18", "60*12=720", "720/18=40" ]
Current State: 40:[55, 37, 60, 12], Operations: [] Exploring Operation: 55-37=18, Resulting Numbers: [60, 12, 18] Generated Node #2: [60, 12, 18] from Operation: 55-37=18 Current State: 40:[60, 12, 18], Operations: ['55-37=18'] Exploring Operation: 60*12=720, Resulting Numbers: [18, 720] Generated Node #3: [18, 720] from Operation: 60*12=720 Current State: 40:[18, 720], Operations: ['55-37=18', '60*12=720'] Exploring Operation: 720/18=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[55, 37, 60, 12], Operations: [] Exploring Operation: 60-37=23, Resulting Numbers: [55, 12, 23] Generated Node #0,0: 40:[55, 12, 23] Operation: 60-37=23 Exploring Operation: 55-12=43, Resulting Numbers: [37, 60, 43] Generated Node #0,1: 40:[37, 60, 43] Operation: 55-12=43 Exploring Operation: 60-55=5, Resulting Numbers: [37, 12, 5] Generated Node #0,2: 40:[37, 12, 5] Operation: 60-55=5 Exploring Operation: 60/12=5, Resulting Numbers: [55, 37, 5] Generated Node #0,3: 40:[55, 37, 5] Operation: 60/12=5 Exploring Operation: 55-37=18, Resulting Numbers: [60, 12, 18] Generated Node #0,4: 40:[60, 12, 18] Operation: 55-37=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[37, 12, 5], Operations: ['60-55=5'] Exploring Operation: 12+5=17, Resulting Numbers: [37, 17] Generated Node #0,2,0: 40:[37, 17] Operation: 12+5=17 Exploring Operation: 37-12=25, Resulting Numbers: [5, 25] Generated Node #0,2,1: 40:[5, 25] Operation: 37-12=25 Exploring Operation: 12-5=7, Resulting Numbers: [37, 7] Generated Node #0,2,2: 40:[37, 7] Operation: 12-5=7 Exploring Operation: 37+12=49, Resulting Numbers: [5, 49] Generated Node #0,2,3: 40:[5, 49] Operation: 37+12=49 Exploring Operation: 37+5=42, Resulting Numbers: [12, 42] Generated Node #0,2,4: 40:[12, 42] Operation: 37+5=42 Moving to Node #0,2,2 Current State: 40:[37, 7], Operations: ['60-55=5', '12-5=7'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,40 unequal: No Solution Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,40 unequal: No Solution Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,40 unequal: No Solution Moving to Node #0,2,4 Current State: 40:[12, 42], Operations: ['60-55=5', '37+5=42'] Exploring Operation: 12+42=54, Resulting Numbers: [54] 54,40 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,40 unequal: No Solution Exploring Operation: 12*42=504, Resulting Numbers: [504] 504,40 unequal: No Solution Moving to Node #0,2,1 Current State: 40:[5, 25], Operations: ['60-55=5', '37-12=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,40 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,40 unequal: No Solution Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,40 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,40 unequal: No Solution Moving to Node #0,2,0 Current State: 40:[37, 17], Operations: ['60-55=5', '12+5=17'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,40 unequal: No Solution Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,40 unequal: No Solution Moving to Node #0,2,3 Current State: 40:[5, 49], Operations: ['60-55=5', '37+12=49'] Exploring Operation: 5*49=245, Resulting Numbers: [245] 245,40 unequal: No Solution Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,40 unequal: No Solution Exploring Operation: 5+49=54, Resulting Numbers: [54] 54,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[55, 37, 5], Operations: ['60/12=5'] Exploring Operation: 55-37=18, Resulting Numbers: [5, 18] Generated Node #0,3,0: 40:[5, 18] Operation: 55-37=18 Exploring Operation: 55-5=50, Resulting Numbers: [37, 50] Generated Node #0,3,1: 40:[37, 50] Operation: 55-5=50 Exploring Operation: 55+5=60, Resulting Numbers: [37, 60] Generated Node #0,3,2: 40:[37, 60] Operation: 55+5=60 Exploring Operation: 37+5=42, Resulting Numbers: [55, 42] Generated Node #0,3,3: 40:[55, 42] Operation: 37+5=42 Exploring Operation: 55/5=11, Resulting Numbers: [37, 11] Generated Node #0,3,4: 40:[37, 11] Operation: 55/5=11 Moving to Node #0,3,0 Current State: 40:[5, 18], Operations: ['60/12=5', '55-37=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,40 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,40 unequal: No Solution Moving to Node #0,3,4 Current State: 40:[37, 11], Operations: ['60/12=5', '55/5=11'] Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,40 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,40 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,40 unequal: No Solution Moving to Node #0,3,1 Current State: 40:[37, 50], Operations: ['60/12=5', '55-5=50'] Exploring Operation: 37*50=1850, Resulting Numbers: [1850] 1850,40 unequal: No Solution Exploring Operation: 37+50=87, Resulting Numbers: [87] 87,40 unequal: No Solution Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,40 unequal: No Solution Moving to Node #0,3,3 Current State: 40:[55, 42], Operations: ['60/12=5', '37+5=42'] Exploring Operation: 55*42=2310, Resulting Numbers: [2310] 2310,40 unequal: No Solution Exploring Operation: 55+42=97, Resulting Numbers: [97] 97,40 unequal: No Solution Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,40 unequal: No Solution Moving to Node #0,3,2 Current State: 40:[37, 60], Operations: ['60/12=5', '55+5=60'] Exploring Operation: 37+60=97, Resulting Numbers: [97] 97,40 unequal: No Solution Exploring Operation: 37*60=2220, Resulting Numbers: [2220] 2220,40 unequal: No Solution Exploring Operation: 60-37=23, Resulting Numbers: [23] 23,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[55, 12, 23], Operations: ['60-37=23'] Exploring Operation: 12+23=35, Resulting Numbers: [55, 35] Generated Node #0,0,0: 40:[55, 35] Operation: 12+23=35 Exploring Operation: 55-12=43, Resulting Numbers: [23, 43] Generated Node #0,0,1: 40:[23, 43] Operation: 55-12=43 Exploring Operation: 55-23=32, Resulting Numbers: [12, 32] Generated Node #0,0,2: 40:[12, 32] Operation: 55-23=32 Exploring Operation: 23-12=11, Resulting Numbers: [55, 11] Generated Node #0,0,3: 40:[55, 11] Operation: 23-12=11 Exploring Operation: 55+12=67, Resulting Numbers: [23, 67] Generated Node #0,0,4: 40:[23, 67] Operation: 55+12=67 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 40:[23, 43], Operations: ['60-37=23', '55-12=43'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 23*43=989, Resulting Numbers: [989] 989,40 unequal: No Solution Exploring Operation: 23+43=66, Resulting Numbers: [66] 66,40 unequal: No Solution No 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: 40:[12, 32], Operations: ['60-37=23', '55-23=32'] Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,40 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,40 unequal: No Solution No 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: 40:[55, 11], Operations: ['60-37=23', '23-12=11'] Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,40 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,40 unequal: No Solution Exploring Operation: 55*11=605, Resulting Numbers: [605] 605,40 unequal: No Solution Exploring Operation: 55+11=66, Resulting Numbers: [66] 66,40 unequal: No Solution No 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: 40:[55, 35], Operations: ['60-37=23', '12+23=35'] Exploring Operation: 55*35=1925, Resulting Numbers: [1925] 1925,40 unequal: No Solution Exploring Operation: 55+35=90, Resulting Numbers: [90] 90,40 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,40 unequal: No Solution No 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: 40:[23, 67], Operations: ['60-37=23', '55+12=67'] Exploring Operation: 23*67=1541, Resulting Numbers: [1541] 1541,40 unequal: No Solution Exploring Operation: 23+67=90, Resulting Numbers: [90] 90,40 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,40 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: 40:[60, 12, 18], Operations: ['55-37=18'] Exploring Operation: 60-18=42, Resulting Numbers: [12, 42] Generated Node #0,4,0: 40:[12, 42] Operation: 60-18=42 Exploring Operation: 60-12=48, Resulting Numbers: [18, 48] Generated Node #0,4,1: 40:[18, 48] Operation: 60-12=48 Exploring Operation: 60/12=5, Resulting Numbers: [18, 5] Generated Node #0,4,2: 40:[18, 5] Operation: 60/12=5 Exploring Operation: 12+18=30, Resulting Numbers: [60, 30] Generated Node #0,4,3: 40:[60, 30] Operation: 12+18=30 Exploring Operation: 18-12=6, Resulting Numbers: [60, 6] Generated Node #0,4,4: 40:[60, 6] Operation: 18-12=6 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 40:[18, 5], Operations: ['55-37=18', '60/12=5'] Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,40 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,40 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,40 unequal: No Solution No 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: 40:[12, 42], Operations: ['55-37=18', '60-18=42'] Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,40 unequal: No Solution Exploring Operation: 12+42=54, Resulting Numbers: [54] 54,40 unequal: No Solution Exploring Operation: 12*42=504, Resulting Numbers: [504] 504,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 40:[18, 48], Operations: ['55-37=18', '60-12=48'] Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,40 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,40 unequal: No Solution No 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: 40:[60, 6], Operations: ['55-37=18', '18-12=6'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,40 unequal: No Solution Exploring Operation: 60*6=360, Resulting Numbers: [360] 360,40 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,40 unequal: No Solution No 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: 40:[60, 30], Operations: ['55-37=18', '12+18=30'] Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,40 unequal: No Solution Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,40 unequal: No Solution Exploring Operation: 60*30=1800, Resulting Numbers: [1800] 1800,40 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,40 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: 40:[37, 60, 43], Operations: ['55-12=43'] Exploring Operation: 37+43=80, Resulting Numbers: [60, 80] Generated Node #0,1,0: 40:[60, 80] Operation: 37+43=80 Exploring Operation: 37+60=97, Resulting Numbers: [43, 97] Generated Node #0,1,1: 40:[43, 97] Operation: 37+60=97 Exploring Operation: 60-37=23, Resulting Numbers: [43, 23] Generated Node #0,1,2: 40:[43, 23] Operation: 60-37=23 Exploring Operation: 43-37=6, Resulting Numbers: [60, 6] Generated Node #0,1,3: 40:[60, 6] Operation: 43-37=6 Exploring Operation: 60-43=17, Resulting Numbers: [37, 17] Generated Node #0,1,4: 40:[37, 17] Operation: 60-43=17 Moving to Node #0,1,2 Current State: 40:[43, 23], Operations: ['55-12=43', '60-37=23'] Exploring Operation: 43*23=989, Resulting Numbers: [989] 989,40 unequal: No Solution Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,40 unequal: No Solution Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,40 unequal: No Solution Moving to Node #0,1,4 Current State: 40:[37, 17], Operations: ['55-12=43', '60-43=17'] Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,40 unequal: No Solution Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,40 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,40 unequal: No Solution Moving to Node #0,1,3 Current State: 40:[60, 6], Operations: ['55-12=43', '43-37=6'] Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,40 unequal: No Solution Exploring Operation: 60*6=360, Resulting Numbers: [360] 360,40 unequal: No Solution Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[60, 80], Operations: ['55-12=43', '37+43=80'] Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,40 unequal: No Solution Exploring Operation: 60*80=4800, Resulting Numbers: [4800] 4800,40 unequal: No Solution Exploring Operation: 60+80=140, Resulting Numbers: [140] 140,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[43, 97], Operations: ['55-12=43', '37+60=97'] Exploring Operation: 43+97=140, Resulting Numbers: [140] 140,40 unequal: No Solution Exploring Operation: 43*97=4171, Resulting Numbers: [4171] 4171,40 unequal: No Solution Exploring Operation: 97-43=54, Resulting Numbers: [54] 54,40 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
[ 13, 44, 61, 2 ]
53
[ "13+44=57", "2*57=114", "114-61=53" ]
Current State: 53:[13, 44, 61, 2], Operations: [] Exploring Operation: 13+44=57, Resulting Numbers: [61, 2, 57] Generated Node #2: [61, 2, 57] from Operation: 13+44=57 Current State: 53:[61, 2, 57], Operations: ['13+44=57'] Exploring Operation: 2*57=114, Resulting Numbers: [61, 114] Generated Node #3: [61, 114] from Operation: 2*57=114 Current State: 53:[61, 114], Operations: ['13+44=57', '2*57=114'] Exploring Operation: 114-61=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[13, 44, 61, 2], Operations: [] Exploring Operation: 13+2=15, Resulting Numbers: [44, 61, 15] Generated Node #0,0: 53:[44, 61, 15] Operation: 13+2=15 Exploring Operation: 13*2=26, Resulting Numbers: [44, 61, 26] Generated Node #0,1: 53:[44, 61, 26] Operation: 13*2=26 Moving to Node #0,1 Current State: 53:[44, 61, 26], Operations: ['13*2=26'] Exploring Operation: 44+26=70, Resulting Numbers: [61, 70] Generated Node #0,1,0: 53:[61, 70] Operation: 44+26=70 Exploring Operation: 61-26=35, Resulting Numbers: [44, 35] Generated Node #0,1,1: 53:[44, 35] Operation: 61-26=35 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[61, 70], Operations: ['13*2=26', '44+26=70'] Exploring Operation: 61+70=131, Resulting Numbers: [131] 131,53 unequal: No Solution Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[44, 35], Operations: ['13*2=26', '61-26=35'] Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,53 unequal: No Solution Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,53 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: 53:[44, 61, 15], Operations: ['13+2=15'] Exploring Operation: 61-15=46, Resulting Numbers: [44, 46] Generated Node #0,0,0: 53:[44, 46] Operation: 61-15=46 Exploring Operation: 44+15=59, Resulting Numbers: [61, 59] Generated Node #0,0,1: 53:[61, 59] Operation: 44+15=59 Moving to Node #0,0,1 Current State: 53:[61, 59], Operations: ['13+2=15', '44+15=59'] Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 61+59=120, Resulting Numbers: [120] 120,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[44, 46], Operations: ['13+2=15', '61-15=46'] Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,53 unequal: No Solution Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,53 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 75, 1, 65, 4 ]
59
[ "65-1=64", "64/4=16", "75-16=59" ]
Current State: 59:[75, 1, 65, 4], Operations: [] Exploring Operation: 65-1=64, Resulting Numbers: [75, 4, 64] Generated Node #2: [75, 4, 64] from Operation: 65-1=64 Current State: 59:[75, 4, 64], Operations: ['65-1=64'] Exploring Operation: 64/4=16, Resulting Numbers: [75, 16] Generated Node #3: [75, 16] from Operation: 64/4=16 Current State: 59:[75, 16], Operations: ['65-1=64', '64/4=16'] Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[75, 1, 65, 4], Operations: [] Exploring Operation: 75-4=71, Resulting Numbers: [1, 65, 71] Generated Node #0,0: 59:[1, 65, 71] Operation: 75-4=71 Exploring Operation: 75-1=74, Resulting Numbers: [65, 4, 74] Generated Node #0,1: 59:[65, 4, 74] Operation: 75-1=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[1, 65, 71], Operations: ['75-4=71'] Exploring Operation: 71-1=70, Resulting Numbers: [65, 70] Generated Node #0,0,0: 59:[65, 70] Operation: 71-1=70 Exploring Operation: 65-1=64, Resulting Numbers: [71, 64] Generated Node #0,0,1: 59:[71, 64] Operation: 65-1=64 Moving to Node #0,0,0 Current State: 59:[65, 70], Operations: ['75-4=71', '71-1=70'] Exploring Operation: 65+70=135, Resulting Numbers: [135] 135,59 unequal: No Solution Exploring Operation: 70-65=5, Resulting Numbers: [5] 5,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[71, 64], Operations: ['75-4=71', '65-1=64'] Exploring Operation: 71+64=135, Resulting Numbers: [135] 135,59 unequal: No Solution Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[65, 4, 74], Operations: ['75-1=74'] Exploring Operation: 74-4=70, Resulting Numbers: [65, 70] Generated Node #0,1,0: 59:[65, 70] Operation: 74-4=70 Exploring Operation: 65-4=61, Resulting Numbers: [74, 61] Generated Node #0,1,1: 59:[74, 61] Operation: 65-4=61 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[65, 70], Operations: ['75-1=74', '74-4=70'] Exploring Operation: 70-65=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 65+70=135, Resulting Numbers: [135] 135,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[74, 61], Operations: ['75-1=74', '65-4=61'] Exploring Operation: 74+61=135, Resulting Numbers: [135] 135,59 unequal: No Solution Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 22, 2, 42, 96 ]
74
[ "22-2=20", "96-42=54", "20+54=74" ]
Current State: 74:[22, 2, 42, 96], Operations: [] Exploring Operation: 22-2=20, Resulting Numbers: [42, 96, 20] Generated Node #2: [42, 96, 20] from Operation: 22-2=20 Current State: 74:[42, 96, 20], Operations: ['22-2=20'] Exploring Operation: 96-42=54, Resulting Numbers: [20, 54] Generated Node #3: [20, 54] from Operation: 96-42=54 Current State: 74:[20, 54], Operations: ['22-2=20', '96-42=54'] Exploring Operation: 20+54=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[22, 2, 42, 96], Operations: [] Exploring Operation: 96-22=74, Resulting Numbers: [2, 42, 74] Generated Node #0,0: 74:[2, 42, 74] Operation: 96-22=74 Exploring Operation: 96/2=48, Resulting Numbers: [22, 42, 48] Generated Node #0,1: 74:[22, 42, 48] Operation: 96/2=48 Moving to Node #0,0 Current State: 74:[2, 42, 74], Operations: ['96-22=74'] Exploring Operation: 42-2=40, Resulting Numbers: [74, 40] Generated Node #0,0,0: 74:[74, 40] Operation: 42-2=40 Exploring Operation: 74/2=37, Resulting Numbers: [42, 37] Generated Node #0,0,1: 74:[42, 37] Operation: 74/2=37 Moving to Node #0,1 Current State: 74:[22, 42, 48], Operations: ['96/2=48'] Exploring Operation: 22+48=70, Resulting Numbers: [42, 70] Generated Node #0,1,0: 74:[42, 70] Operation: 22+48=70 Exploring Operation: 48-22=26, Resulting Numbers: [42, 26] Generated Node #0,1,1: 74:[42, 26] Operation: 48-22=26 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[42, 70], Operations: ['96/2=48', '22+48=70'] Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,74 unequal: No Solution Exploring Operation: 42+70=112, Resulting Numbers: [112] 112,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,1,1 Current State: 74:[42, 26], Operations: ['96/2=48', '48-22=26'] Exploring Operation: 42+26=68, Resulting Numbers: [68] 68,74 unequal: No Solution Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 74:[74, 40], Operations: ['96-22=74', '42-2=40'] Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,74 unequal: No Solution Exploring Operation: 74+40=114, Resulting Numbers: [114] 114,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[42, 37], Operations: ['96-22=74', '74/2=37'] Exploring Operation: 42+37=79, Resulting Numbers: [79] 79,74 unequal: No Solution Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,74 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 9, 92, 3, 45 ]
74
[ "9*3=27", "92-45=47", "27+47=74" ]
Current State: 74:[9, 92, 3, 45], Operations: [] Exploring Operation: 9*3=27, Resulting Numbers: [92, 45, 27] Generated Node #2: [92, 45, 27] from Operation: 9*3=27 Current State: 74:[92, 45, 27], Operations: ['9*3=27'] Exploring Operation: 92-45=47, Resulting Numbers: [27, 47] Generated Node #3: [27, 47] from Operation: 92-45=47 Current State: 74:[27, 47], Operations: ['9*3=27', '92-45=47'] Exploring Operation: 27+47=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[9, 92, 3, 45], Operations: [] Exploring Operation: 45/9=5, Resulting Numbers: [92, 3, 5] Generated Node #0,0: 74:[92, 3, 5] Operation: 45/9=5 Exploring Operation: 92-9=83, Resulting Numbers: [3, 45, 83] Generated Node #0,1: 74:[3, 45, 83] Operation: 92-9=83 Exploring Operation: 45-9=36, Resulting Numbers: [92, 3, 36] Generated Node #0,2: 74:[92, 3, 36] Operation: 45-9=36 Exploring Operation: 92-45=47, Resulting Numbers: [9, 3, 47] Generated Node #0,3: 74:[9, 3, 47] Operation: 92-45=47 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[3, 45, 83], Operations: ['92-9=83'] Exploring Operation: 3+45=48, Resulting Numbers: [83, 48] Generated Node #0,1,0: 74:[83, 48] Operation: 3+45=48 Exploring Operation: 83-3=80, Resulting Numbers: [45, 80] Generated Node #0,1,1: 74:[45, 80] Operation: 83-3=80 Exploring Operation: 83-45=38, Resulting Numbers: [3, 38] Generated Node #0,1,2: 74:[3, 38] Operation: 83-45=38 Exploring Operation: 45-3=42, Resulting Numbers: [83, 42] Generated Node #0,1,3: 74:[83, 42] Operation: 45-3=42 Moving to Node #0,1,2 Current State: 74:[3, 38], Operations: ['92-9=83', '83-45=38'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[83, 42], Operations: ['92-9=83', '45-3=42'] Exploring Operation: 83*42=3486, Resulting Numbers: [3486] 3486,74 unequal: No Solution Exploring Operation: 83+42=125, Resulting Numbers: [125] 125,74 unequal: No Solution Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[45, 80], Operations: ['92-9=83', '83-3=80'] Exploring Operation: 45+80=125, Resulting Numbers: [125] 125,74 unequal: No Solution Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 45*80=3600, Resulting Numbers: [3600] 3600,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[83, 48], Operations: ['92-9=83', '3+45=48'] Exploring Operation: 83*48=3984, Resulting Numbers: [3984] 3984,74 unequal: No Solution Exploring Operation: 83-48=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 83+48=131, Resulting Numbers: [131] 131,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:[9, 3, 47], Operations: ['92-45=47'] Exploring Operation: 9/3=3, Resulting Numbers: [47, 3] Generated Node #0,3,0: 74:[47, 3] Operation: 9/3=3 Exploring Operation: 47-3=44, Resulting Numbers: [9, 44] Generated Node #0,3,1: 74:[9, 44] Operation: 47-3=44 Exploring Operation: 9-3=6, Resulting Numbers: [47, 6] Generated Node #0,3,2: 74:[47, 6] Operation: 9-3=6 Exploring Operation: 47-9=38, Resulting Numbers: [3, 38] Generated Node #0,3,3: 74:[3, 38] Operation: 47-9=38 Moving to Node #0,3,3 Current State: 74:[3, 38], Operations: ['92-45=47', '47-9=38'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,74 unequal: No Solution Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[47, 3], Operations: ['92-45=47', '9/3=3'] Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,74 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,74 unequal: No Solution Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[47, 6], Operations: ['92-45=47', '9-3=6'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 47*6=282, Resulting Numbers: [282] 282,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[9, 44], Operations: ['92-45=47', '47-3=44'] Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,74 unequal: No Solution Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,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,2 Current State: 74:[92, 3, 36], Operations: ['45-9=36'] Exploring Operation: 3+36=39, Resulting Numbers: [92, 39] Generated Node #0,2,0: 74:[92, 39] Operation: 3+36=39 Exploring Operation: 92-36=56, Resulting Numbers: [3, 56] Generated Node #0,2,1: 74:[3, 56] Operation: 92-36=56 Exploring Operation: 92+3=95, Resulting Numbers: [36, 95] Generated Node #0,2,2: 74:[36, 95] Operation: 92+3=95 Exploring Operation: 92-3=89, Resulting Numbers: [36, 89] Generated Node #0,2,3: 74:[36, 89] Operation: 92-3=89 Moving to Node #0,2,3 Current State: 74:[36, 89], Operations: ['45-9=36', '92-3=89'] Exploring Operation: 36*89=3204, Resulting Numbers: [3204] 3204,74 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 36+89=125, Resulting Numbers: [125] 125,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[3, 56], Operations: ['45-9=36', '92-36=56'] Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,74 unequal: No Solution Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[92, 39], Operations: ['45-9=36', '3+36=39'] Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 92+39=131, Resulting Numbers: [131] 131,74 unequal: No Solution Exploring Operation: 92*39=3588, Resulting Numbers: [3588] 3588,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[36, 95], Operations: ['45-9=36', '92+3=95'] Exploring Operation: 36+95=131, Resulting Numbers: [131] 131,74 unequal: No Solution Exploring Operation: 36*95=3420, Resulting Numbers: [3420] 3420,74 unequal: No Solution Exploring Operation: 95-36=59, Resulting Numbers: [59] 59,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,0 Current State: 74:[92, 3, 5], Operations: ['45/9=5'] Exploring Operation: 5-3=2, Resulting Numbers: [92, 2] Generated Node #0,0,0: 74:[92, 2] Operation: 5-3=2 Exploring Operation: 92+3=95, Resulting Numbers: [5, 95] Generated Node #0,0,1: 74:[5, 95] Operation: 92+3=95 Exploring Operation: 92-3=89, Resulting Numbers: [5, 89] Generated Node #0,0,2: 74:[5, 89] Operation: 92-3=89 Exploring Operation: 92-5=87, Resulting Numbers: [3, 87] Generated Node #0,0,3: 74:[3, 87] Operation: 92-5=87 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 74:[3, 87], Operations: ['45/9=5', '92-5=87'] Exploring Operation: 3+87=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,74 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,74 unequal: No Solution Exploring Operation: 3*87=261, Resulting Numbers: [261] 261,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:[92, 2], Operations: ['45/9=5', '5-3=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,74 unequal: No Solution Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 92*2=184, Resulting Numbers: [184] 184,74 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,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:[5, 89], Operations: ['45/9=5', '92-3=89'] Exploring Operation: 5*89=445, Resulting Numbers: [445] 445,74 unequal: No Solution Exploring Operation: 5+89=94, Resulting Numbers: [94] 94,74 unequal: No Solution Exploring Operation: 89-5=84, Resulting Numbers: [84] 84,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:[5, 95], Operations: ['45/9=5', '92+3=95'] Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,74 unequal: No Solution Exploring Operation: 5*95=475, Resulting Numbers: [475] 475,74 unequal: No Solution Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 5+95=100, Resulting Numbers: [100] 100,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
[ 72, 5, 36, 48 ]
30
[ "72*5=360", "48-36=12", "360/12=30" ]
Current State: 30:[72, 5, 36, 48], Operations: [] Exploring Operation: 72*5=360, Resulting Numbers: [36, 48, 360] Generated Node #2: [36, 48, 360] from Operation: 72*5=360 Current State: 30:[36, 48, 360], Operations: ['72*5=360'] Exploring Operation: 48-36=12, Resulting Numbers: [360, 12] Generated Node #3: [360, 12] from Operation: 48-36=12 Current State: 30:[360, 12], Operations: ['72*5=360', '48-36=12'] Exploring Operation: 360/12=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[72, 5, 36, 48], Operations: [] Exploring Operation: 72-48=24, Resulting Numbers: [5, 36, 24] Generated Node #0,0: 30:[5, 36, 24] Operation: 72-48=24 Moving to Node #0,0 Current State: 30:[5, 36, 24], Operations: ['72-48=24'] Exploring Operation: 36-24=12, Resulting Numbers: [5, 12] Generated Node #0,0,0: 30:[5, 12] Operation: 36-24=12 Moving to Node #0,0,0 Current State: 30:[5, 12], Operations: ['72-48=24', '36-24=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,30 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 75, 56, 13, 95 ]
25
[ "75*13=975", "95-56=39", "975/39=25" ]
Current State: 25:[75, 56, 13, 95], Operations: [] Exploring Operation: 75*13=975, Resulting Numbers: [56, 95, 975] Generated Node #2: [56, 95, 975] from Operation: 75*13=975 Current State: 25:[56, 95, 975], Operations: ['75*13=975'] Exploring Operation: 95-56=39, Resulting Numbers: [975, 39] Generated Node #3: [975, 39] from Operation: 95-56=39 Current State: 25:[975, 39], Operations: ['75*13=975', '95-56=39'] Exploring Operation: 975/39=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[75, 56, 13, 95], Operations: [] Exploring Operation: 95-56=39, Resulting Numbers: [75, 13, 39] Generated Node #0,0: 25:[75, 13, 39] Operation: 95-56=39 Exploring Operation: 95-75=20, Resulting Numbers: [56, 13, 20] Generated Node #0,1: 25:[56, 13, 20] Operation: 95-75=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[56, 13, 20], Operations: ['95-75=20'] Exploring Operation: 56-13=43, Resulting Numbers: [20, 43] Generated Node #0,1,0: 25:[20, 43] Operation: 56-13=43 Exploring Operation: 56-20=36, Resulting Numbers: [13, 36] Generated Node #0,1,1: 25:[13, 36] Operation: 56-20=36 Moving to Node #0,1,1 Current State: 25:[13, 36], Operations: ['95-75=20', '56-20=36'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[20, 43], Operations: ['95-75=20', '56-13=43'] Exploring Operation: 20+43=63, Resulting Numbers: [63] 63,25 unequal: No Solution Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,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:[75, 13, 39], Operations: ['95-56=39'] Exploring Operation: 75-13=62, Resulting Numbers: [39, 62] Generated Node #0,0,0: 25:[39, 62] Operation: 75-13=62 Exploring Operation: 75-39=36, Resulting Numbers: [13, 36] Generated Node #0,0,1: 25:[13, 36] Operation: 75-39=36 Moving to Node #0,0,1 Current State: 25:[13, 36], Operations: ['95-56=39', '75-39=36'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[39, 62], Operations: ['95-56=39', '75-13=62'] Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,25 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 28, 56, 13, 12 ]
11
[ "56/28=2", "12*2=24", "24-13=11" ]
Current State: 11:[28, 56, 13, 12], Operations: [] Exploring Operation: 56/28=2, Resulting Numbers: [13, 12, 2] Generated Node #2: [13, 12, 2] from Operation: 56/28=2 Current State: 11:[13, 12, 2], Operations: ['56/28=2'] Exploring Operation: 12*2=24, Resulting Numbers: [13, 24] Generated Node #3: [13, 24] from Operation: 12*2=24 Current State: 11:[13, 24], Operations: ['56/28=2', '12*2=24'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[28, 56, 13, 12], Operations: [] Exploring Operation: 56/28=2, Resulting Numbers: [13, 12, 2] Generated Node #0,0: 11:[13, 12, 2] Operation: 56/28=2 Exploring Operation: 56-28=28, Resulting Numbers: [13, 12, 28] Generated Node #0,1: 11:[13, 12, 28] Operation: 56-28=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[13, 12, 2], Operations: ['56/28=2'] Exploring Operation: 12-2=10, Resulting Numbers: [13, 10] Generated Node #0,0,0: 11:[13, 10] Operation: 12-2=10 Exploring Operation: 13-2=11, Resulting Numbers: [12, 11] Generated Node #0,0,1: 11:[12, 11] Operation: 13-2=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[12, 11], Operations: ['56/28=2', '13-2=11'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,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,0 Current State: 11:[13, 10], Operations: ['56/28=2', '12-2=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,11 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: 11:[13, 12, 28], Operations: ['56-28=28'] Exploring Operation: 28-13=15, Resulting Numbers: [12, 15] Generated Node #0,1,0: 11:[12, 15] Operation: 28-13=15 Exploring Operation: 28-12=16, Resulting Numbers: [13, 16] Generated Node #0,1,1: 11:[13, 16] Operation: 28-12=16 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[12, 15], Operations: ['56-28=28', '28-13=15'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,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,1,1 Current State: 11:[13, 16], Operations: ['56-28=28', '28-12=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,11 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,11 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
[ 13, 9, 60, 53 ]
54
[ "60-13=47", "53-47=6", "9*6=54" ]
Current State: 54:[13, 9, 60, 53], Operations: [] Exploring Operation: 60-13=47, Resulting Numbers: [9, 53, 47] Generated Node #2: [9, 53, 47] from Operation: 60-13=47 Current State: 54:[9, 53, 47], Operations: ['60-13=47'] Exploring Operation: 53-47=6, Resulting Numbers: [9, 6] Generated Node #3: [9, 6] from Operation: 53-47=6 Current State: 54:[9, 6], Operations: ['60-13=47', '53-47=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[13, 9, 60, 53], Operations: [] Exploring Operation: 60-13=47, Resulting Numbers: [9, 53, 47] Generated Node #0,0: 54:[9, 53, 47] Operation: 60-13=47 Exploring Operation: 60-53=7, Resulting Numbers: [13, 9, 7] Generated Node #0,1: 54:[13, 9, 7] Operation: 60-53=7 Exploring Operation: 13-9=4, Resulting Numbers: [60, 53, 4] Generated Node #0,2: 54:[60, 53, 4] Operation: 13-9=4 Moving to Node #0,1 Current State: 54:[13, 9, 7], Operations: ['60-53=7'] Exploring Operation: 13-9=4, Resulting Numbers: [7, 4] Generated Node #0,1,0: 54:[7, 4] Operation: 13-9=4 Exploring Operation: 13-7=6, Resulting Numbers: [9, 6] Generated Node #0,1,1: 54:[9, 6] Operation: 13-7=6 Exploring Operation: 13+7=20, Resulting Numbers: [9, 20] Generated Node #0,1,2: 54:[9, 20] Operation: 13+7=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[9, 6], Operations: ['60-53=7', '13-7=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[13, 9, 60, 53], Operations: [] Exploring Operation: 60-53=7, Resulting Numbers: [13, 9, 7] Generated Node #0,1: 54:[13, 9, 7] Operation: 60-53=7 Moving to Node #0,1 Current State: 54:[13, 9, 7], Operations: ['60-53=7'] Exploring Operation: 13-7=6, Resulting Numbers: [9, 6] Generated Node #0,1,1: 54:[9, 6] Operation: 13-7=6 Moving to Node #0,1,1 Current State: 54:[9, 6], Operations: ['60-53=7', '13-7=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 42, 30, 74, 4 ]
98
[ "74-42=32", "4*32=128", "128-30=98" ]
Current State: 98:[42, 30, 74, 4], Operations: [] Exploring Operation: 74-42=32, Resulting Numbers: [30, 4, 32] Generated Node #2: [30, 4, 32] from Operation: 74-42=32 Current State: 98:[30, 4, 32], Operations: ['74-42=32'] Exploring Operation: 4*32=128, Resulting Numbers: [30, 128] Generated Node #3: [30, 128] from Operation: 4*32=128 Current State: 98:[30, 128], Operations: ['74-42=32', '4*32=128'] Exploring Operation: 128-30=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[42, 30, 74, 4], Operations: [] Exploring Operation: 30+74=104, Resulting Numbers: [42, 4, 104] Generated Node #0,0: 98:[42, 4, 104] Operation: 30+74=104 Exploring Operation: 74-30=44, Resulting Numbers: [42, 4, 44] Generated Node #0,1: 98:[42, 4, 44] Operation: 74-30=44 Exploring Operation: 42-30=12, Resulting Numbers: [74, 4, 12] Generated Node #0,2: 98:[74, 4, 12] Operation: 42-30=12 Exploring Operation: 42+74=116, Resulting Numbers: [30, 4, 116] Generated Node #0,3: 98:[30, 4, 116] Operation: 42+74=116 Exploring Operation: 74-42=32, Resulting Numbers: [30, 4, 32] Generated Node #0,4: 98:[30, 4, 32] Operation: 74-42=32 Moving to Node #0,1 Current State: 98:[42, 4, 44], Operations: ['74-30=44'] Exploring Operation: 44/4=11, Resulting Numbers: [42, 11] Generated Node #0,1,0: 98:[42, 11] Operation: 44/4=11 Exploring Operation: 4+44=48, Resulting Numbers: [42, 48] Generated Node #0,1,1: 98:[42, 48] Operation: 4+44=48 Exploring Operation: 42+44=86, Resulting Numbers: [4, 86] Generated Node #0,1,2: 98:[4, 86] Operation: 42+44=86 Exploring Operation: 44-42=2, Resulting Numbers: [4, 2] Generated Node #0,1,3: 98:[4, 2] Operation: 44-42=2 Exploring Operation: 42+4=46, Resulting Numbers: [44, 46] Generated Node #0,1,4: 98:[44, 46] Operation: 42+4=46 Moving to Node #0,0 Current State: 98:[42, 4, 104], Operations: ['30+74=104'] Exploring Operation: 42+4=46, Resulting Numbers: [104, 46] Generated Node #0,0,0: 98:[104, 46] Operation: 42+4=46 Exploring Operation: 4+104=108, Resulting Numbers: [42, 108] Generated Node #0,0,1: 98:[42, 108] Operation: 4+104=108 Exploring Operation: 42-4=38, Resulting Numbers: [104, 38] Generated Node #0,0,2: 98:[104, 38] Operation: 42-4=38 Exploring Operation: 104-42=62, Resulting Numbers: [4, 62] Generated Node #0,0,3: 98:[4, 62] Operation: 104-42=62 Exploring Operation: 104-4=100, Resulting Numbers: [42, 100] Generated Node #0,0,4: 98:[42, 100] Operation: 104-4=100 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[104, 46], Operations: ['30+74=104', '42+4=46'] Exploring Operation: 104-46=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 104*46=4784, Resulting Numbers: [4784] 4784,98 unequal: No Solution Exploring Operation: 104+46=150, Resulting Numbers: [150] 150,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 98:[42, 100], Operations: ['30+74=104', '104-4=100'] Exploring Operation: 100-42=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 42+100=142, Resulting Numbers: [142] 142,98 unequal: No Solution Exploring Operation: 42*100=4200, Resulting Numbers: [4200] 4200,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 98:[4, 62], Operations: ['30+74=104', '104-42=62'] Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 4*62=248, Resulting Numbers: [248] 248,98 unequal: No Solution Exploring Operation: 4+62=66, Resulting Numbers: [66] 66,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 98:[42, 108], Operations: ['30+74=104', '4+104=108'] Exploring Operation: 108-42=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 42+108=150, Resulting Numbers: [150] 150,98 unequal: No Solution Exploring Operation: 42*108=4536, Resulting Numbers: [4536] 4536,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 98:[104, 38], Operations: ['30+74=104', '42-4=38'] Exploring Operation: 104*38=3952, Resulting Numbers: [3952] 3952,98 unequal: No Solution Exploring Operation: 104-38=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 104+38=142, Resulting Numbers: [142] 142,98 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: 98:[74, 4, 12], Operations: ['42-30=12'] Exploring Operation: 74+4=78, Resulting Numbers: [12, 78] Generated Node #0,2,0: 98:[12, 78] Operation: 74+4=78 Exploring Operation: 74-12=62, Resulting Numbers: [4, 62] Generated Node #0,2,1: 98:[4, 62] Operation: 74-12=62 Exploring Operation: 4*12=48, Resulting Numbers: [74, 48] Generated Node #0,2,2: 98:[74, 48] Operation: 4*12=48 Exploring Operation: 74-4=70, Resulting Numbers: [12, 70] Generated Node #0,2,3: 98:[12, 70] Operation: 74-4=70 Exploring Operation: 74+12=86, Resulting Numbers: [4, 86] Generated Node #0,2,4: 98:[4, 86] Operation: 74+12=86 Moving to Node #0,4 Current State: 98:[30, 4, 32], Operations: ['74-42=32'] Exploring Operation: 30+32=62, Resulting Numbers: [4, 62] Generated Node #0,4,0: 98:[4, 62] Operation: 30+32=62 Exploring Operation: 4+32=36, Resulting Numbers: [30, 36] Generated Node #0,4,1: 98:[30, 36] Operation: 4+32=36 Exploring Operation: 30-4=26, Resulting Numbers: [32, 26] Generated Node #0,4,2: 98:[32, 26] Operation: 30-4=26 Exploring Operation: 32/4=8, Resulting Numbers: [30, 8] Generated Node #0,4,3: 98:[30, 8] Operation: 32/4=8 Exploring Operation: 32-30=2, Resulting Numbers: [4, 2] Generated Node #0,4,4: 98:[4, 2] Operation: 32-30=2 Moving to Node #0,3 Current State: 98:[30, 4, 116], Operations: ['42+74=116'] Exploring Operation: 116/4=29, Resulting Numbers: [30, 29] Generated Node #0,3,0: 98:[30, 29] Operation: 116/4=29 Exploring Operation: 116-30=86, Resulting Numbers: [4, 86] Generated Node #0,3,1: 98:[4, 86] Operation: 116-30=86 Exploring Operation: 30-4=26, Resulting Numbers: [116, 26] Generated Node #0,3,2: 98:[116, 26] Operation: 30-4=26 Exploring Operation: 116-4=112, Resulting Numbers: [30, 112] Generated Node #0,3,3: 98:[30, 112] Operation: 116-4=112 Exploring Operation: 30+4=34, Resulting Numbers: [116, 34] Generated Node #0,3,4: 98:[116, 34] Operation: 30+4=34 Moving to Node #0,1,3 Current State: 98:[4, 2], Operations: ['74-30=44', '44-42=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,98 unequal: No Solution Moving to Node #0,4,4 Current State: 98:[4, 2], Operations: ['74-42=32', '32-30=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,98 unequal: No Solution Moving to Node #0,1,4 Current State: 98:[44, 46], Operations: ['74-30=44', '42+4=46'] Exploring Operation: 44*46=2024, Resulting Numbers: [2024] 2024,98 unequal: No Solution Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[42, 48], Operations: ['74-30=44', '4+44=48'] Exploring Operation: 42*48=2016, Resulting Numbers: [2016] 2016,98 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 42+48=90, Resulting Numbers: [90] 90,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[42, 11], Operations: ['74-30=44', '44/4=11'] Exploring Operation: 42*11=462, Resulting Numbers: [462] 462,98 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,98 unequal: No Solution Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,98 unequal: No Solution Moving to Node #0,2,4 Current State: 98:[4, 86], Operations: ['42-30=12', '74+12=86'] Exploring Operation: 4+86=90, Resulting Numbers: [90] 90,98 unequal: No Solution Exploring Operation: 4*86=344, Resulting Numbers: [344] 344,98 unequal: No Solution Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[4, 86], Operations: ['74-30=44', '42+44=86'] Exploring Operation: 4+86=90, Resulting Numbers: [90] 90,98 unequal: No Solution Exploring Operation: 4*86=344, Resulting Numbers: [344] 344,98 unequal: No Solution Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[4, 86], Operations: ['42+74=116', '116-30=86'] Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,98 unequal: No Solution Exploring Operation: 4*86=344, Resulting Numbers: [344] 344,98 unequal: No Solution Exploring Operation: 4+86=90, Resulting Numbers: [90] 90,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[4, 62], Operations: ['42-30=12', '74-12=62'] Exploring Operation: 4*62=248, Resulting Numbers: [248] 248,98 unequal: No Solution Exploring Operation: 4+62=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,98 unequal: No Solution Moving to Node #0,4,0 Current State: 98:[4, 62], Operations: ['74-42=32', '30+32=62'] Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 4+62=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 4*62=248, Resulting Numbers: [248] 248,98 unequal: No Solution Moving to Node #0,4,3 Current State: 98:[30, 8], Operations: ['74-42=32', '32/4=8'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,98 unequal: No Solution Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 30*8=240, Resulting Numbers: [240] 240,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[12, 78], Operations: ['42-30=12', '74+4=78'] Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 12*78=936, Resulting Numbers: [936] 936,98 unequal: No Solution Exploring Operation: 12+78=90, Resulting Numbers: [90] 90,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[12, 70], Operations: ['42-30=12', '74-4=70'] Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 12+70=82, Resulting Numbers: [82] 82,98 unequal: No Solution Exploring Operation: 12*70=840, Resulting Numbers: [840] 840,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[74, 48], Operations: ['42-30=12', '4*12=48'] Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,98 unequal: No Solution Exploring Operation: 74+48=122, Resulting Numbers: [122] 122,98 unequal: No Solution Exploring Operation: 74*48=3552, Resulting Numbers: [3552] 3552,98 unequal: No Solution Moving to Node #0,4,2 Current State: 98:[32, 26], Operations: ['74-42=32', '30-4=26'] Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,98 unequal: No Solution Moving to Node #0,4,1 Current State: 98:[30, 36], Operations: ['74-42=32', '4+32=36'] Exploring Operation: 30*36=1080, Resulting Numbers: [1080] 1080,98 unequal: No Solution Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[116, 26], Operations: ['42+74=116', '30-4=26'] Exploring Operation: 116+26=142, Resulting Numbers: [142] 142,98 unequal: No Solution Exploring Operation: 116*26=3016, Resulting Numbers: [3016] 3016,98 unequal: No Solution Exploring Operation: 116-26=90, Resulting Numbers: [90] 90,98 unequal: No Solution Moving to Node #0,3,3 Current State: 98:[30, 112], Operations: ['42+74=116', '116-4=112'] Exploring Operation: 30+112=142, Resulting Numbers: [142] 142,98 unequal: No Solution Exploring Operation: 30*112=3360, Resulting Numbers: [3360] 3360,98 unequal: No Solution Exploring Operation: 112-30=82, Resulting Numbers: [82] 82,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[30, 29], Operations: ['42+74=116', '116/4=29'] Exploring Operation: 30*29=870, Resulting Numbers: [870] 870,98 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,98 unequal: No Solution Moving to Node #0,3,4 Current State: 98:[116, 34], Operations: ['42+74=116', '30+4=34'] Exploring Operation: 116+34=150, Resulting Numbers: [150] 150,98 unequal: No Solution Exploring Operation: 116-34=82, Resulting Numbers: [82] 82,98 unequal: No Solution Exploring Operation: 116*34=3944, Resulting Numbers: [3944] 3944,98 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 76, 58, 79, 77 ]
57
[ "79-76=3", "77-58=19", "3*19=57" ]
Current State: 57:[76, 58, 79, 77], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [58, 77, 3] Generated Node #2: [58, 77, 3] from Operation: 79-76=3 Current State: 57:[58, 77, 3], Operations: ['79-76=3'] Exploring Operation: 77-58=19, Resulting Numbers: [3, 19] Generated Node #3: [3, 19] from Operation: 77-58=19 Current State: 57:[3, 19], Operations: ['79-76=3', '77-58=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[76, 58, 79, 77], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [58, 77, 3] Generated Node #0,0: 57:[58, 77, 3] Operation: 79-76=3 Exploring Operation: 79-77=2, Resulting Numbers: [76, 58, 2] Generated Node #0,1: 57:[76, 58, 2] Operation: 79-77=2 Exploring Operation: 77-76=1, Resulting Numbers: [58, 79, 1] Generated Node #0,2: 57:[58, 79, 1] Operation: 77-76=1 Moving to Node #0,0 Current State: 57:[58, 77, 3], Operations: ['79-76=3'] Exploring Operation: 77-58=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 57:[3, 19] Operation: 77-58=19 Exploring Operation: 58-3=55, Resulting Numbers: [77, 55] Generated Node #0,0,1: 57:[77, 55] Operation: 58-3=55 Exploring Operation: 77-3=74, Resulting Numbers: [58, 74] Generated Node #0,0,2: 57:[58, 74] Operation: 77-3=74 Moving to Node #0,1 Current State: 57:[76, 58, 2], Operations: ['79-77=2'] Exploring Operation: 76-2=74, Resulting Numbers: [58, 74] Generated Node #0,1,0: 57:[58, 74] Operation: 76-2=74 Exploring Operation: 76-58=18, Resulting Numbers: [2, 18] Generated Node #0,1,1: 57:[2, 18] Operation: 76-58=18 Exploring Operation: 76/2=38, Resulting Numbers: [58, 38] Generated Node #0,1,2: 57:[58, 38] Operation: 76/2=38 Moving to Node #0,2 Current State: 57:[58, 79, 1], Operations: ['77-76=1'] Exploring Operation: 79-1=78, Resulting Numbers: [58, 78] Generated Node #0,2,0: 57:[58, 78] Operation: 79-1=78 Exploring Operation: 58-1=57, Resulting Numbers: [79, 57] Generated Node #0,2,1: 57:[79, 57] Operation: 58-1=57 Exploring Operation: 79-58=21, Resulting Numbers: [1, 21] Generated Node #0,2,2: 57:[1, 21] Operation: 79-58=21 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[1, 21], Operations: ['77-76=1', '79-58=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,57 unequal: No Solution Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,57 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 57:[58, 78], Operations: ['77-76=1', '79-1=78'] Exploring Operation: 58+78=136, Resulting Numbers: [136] 136,57 unequal: No Solution Exploring Operation: 78-58=20, Resulting Numbers: [20] 20,57 unequal: No Solution Exploring Operation: 58*78=4524, Resulting Numbers: [4524] 4524,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 57:[79, 57], Operations: ['77-76=1', '58-1=57'] Exploring Operation: 79-57=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 79*57=4503, Resulting Numbers: [4503] 4503,57 unequal: No Solution Exploring Operation: 79+57=136, Resulting Numbers: [136] 136,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 57:[3, 19], Operations: ['79-76=3', '77-58=19'] Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[76, 58, 79, 77], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [58, 77, 3] Generated Node #0,0: 57:[58, 77, 3] Operation: 79-76=3 Moving to Node #0,0 Current State: 57:[58, 77, 3], Operations: ['79-76=3'] Exploring Operation: 77-58=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 57:[3, 19] Operation: 77-58=19 Moving to Node #0,0,0 Current State: 57:[3, 19], Operations: ['79-76=3', '77-58=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 27, 39, 33, 93 ]
37
[ "93-27=66", "66/33=2", "39-2=37" ]
Current State: 37:[27, 39, 33, 93], Operations: [] Exploring Operation: 93-27=66, Resulting Numbers: [39, 33, 66] Generated Node #2: [39, 33, 66] from Operation: 93-27=66 Current State: 37:[39, 33, 66], Operations: ['93-27=66'] Exploring Operation: 66/33=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 66/33=2 Current State: 37:[39, 2], Operations: ['93-27=66', '66/33=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[27, 39, 33, 93], Operations: [] Exploring Operation: 93-39=54, Resulting Numbers: [27, 33, 54] Generated Node #0,0: 37:[27, 33, 54] Operation: 93-39=54 Moving to Node #0,0 Current State: 37:[27, 33, 54], Operations: ['93-39=54'] Exploring Operation: 54-27=27, Resulting Numbers: [33, 27] Generated Node #0,0,0: 37:[33, 27] Operation: 54-27=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[33, 27], Operations: ['93-39=54', '54-27=27'] Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,37 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
[ 14, 14, 13, 57 ]
71
[ "14/14=1", "13+57=70", "1+70=71" ]
Current State: 71:[14, 14, 13, 57], Operations: [] Exploring Operation: 14/14=1, Resulting Numbers: [13, 57, 1] Generated Node #2: [13, 57, 1] from Operation: 14/14=1 Current State: 71:[13, 57, 1], Operations: ['14/14=1'] Exploring Operation: 13+57=70, Resulting Numbers: [1, 70] Generated Node #3: [1, 70] from Operation: 13+57=70 Current State: 71:[1, 70], Operations: ['14/14=1', '13+57=70'] Exploring Operation: 1+70=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[14, 14, 13, 57], Operations: [] Exploring Operation: 14+14=28, Resulting Numbers: [13, 57, 28] Generated Node #0,0: 71:[13, 57, 28] Operation: 14+14=28 Moving to Node #0,0 Current State: 71:[13, 57, 28], Operations: ['14+14=28'] Exploring Operation: 13+57=70, Resulting Numbers: [28, 70] Generated Node #0,0,0: 71:[28, 70] Operation: 13+57=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[28, 70], Operations: ['14+14=28', '13+57=70'] Exploring Operation: 28+70=98, Resulting Numbers: [98] 98,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 39, 95, 91, 67 ]
32
[ "95-39=56", "91-67=24", "56-24=32" ]
Current State: 32:[39, 95, 91, 67], Operations: [] Exploring Operation: 95-39=56, Resulting Numbers: [91, 67, 56] Generated Node #2: [91, 67, 56] from Operation: 95-39=56 Current State: 32:[91, 67, 56], Operations: ['95-39=56'] Exploring Operation: 91-67=24, Resulting Numbers: [56, 24] Generated Node #3: [56, 24] from Operation: 91-67=24 Current State: 32:[56, 24], Operations: ['95-39=56', '91-67=24'] Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[39, 95, 91, 67], Operations: [] Exploring Operation: 95-39=56, Resulting Numbers: [91, 67, 56] Generated Node #0,0: 32:[91, 67, 56] Operation: 95-39=56 Exploring Operation: 95-67=28, Resulting Numbers: [39, 91, 28] Generated Node #0,1: 32:[39, 91, 28] Operation: 95-67=28 Exploring Operation: 95-91=4, Resulting Numbers: [39, 67, 4] Generated Node #0,2: 32:[39, 67, 4] Operation: 95-91=4 Exploring Operation: 91-67=24, Resulting Numbers: [39, 95, 24] Generated Node #0,3: 32:[39, 95, 24] Operation: 91-67=24 Moving to Node #0,2 Current State: 32:[39, 67, 4], Operations: ['95-91=4'] Exploring Operation: 39+4=43, Resulting Numbers: [67, 43] Generated Node #0,2,0: 32:[67, 43] Operation: 39+4=43 Exploring Operation: 67-4=63, Resulting Numbers: [39, 63] Generated Node #0,2,1: 32:[39, 63] Operation: 67-4=63 Exploring Operation: 67-39=28, Resulting Numbers: [4, 28] Generated Node #0,2,2: 32:[4, 28] Operation: 67-39=28 Exploring Operation: 39-4=35, Resulting Numbers: [67, 35] Generated Node #0,2,3: 32:[67, 35] Operation: 39-4=35 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 32:[4, 28], Operations: ['95-91=4', '67-39=28'] Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[39, 95, 91, 67], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [39, 67, 4] Generated Node #0,2: 32:[39, 67, 4] Operation: 95-91=4 Moving to Node #0,2 Current State: 32:[39, 67, 4], Operations: ['95-91=4'] Exploring Operation: 67-39=28, Resulting Numbers: [4, 28] Generated Node #0,2,2: 32:[4, 28] Operation: 67-39=28 Moving to Node #0,2,2 Current State: 32:[4, 28], Operations: ['95-91=4', '67-39=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 42, 31, 10, 93 ]
35
[ "42-10=32", "93/31=3", "32+3=35" ]
Current State: 35:[42, 31, 10, 93], Operations: [] Exploring Operation: 42-10=32, Resulting Numbers: [31, 93, 32] Generated Node #2: [31, 93, 32] from Operation: 42-10=32 Current State: 35:[31, 93, 32], Operations: ['42-10=32'] Exploring Operation: 93/31=3, Resulting Numbers: [32, 3] Generated Node #3: [32, 3] from Operation: 93/31=3 Current State: 35:[32, 3], Operations: ['42-10=32', '93/31=3'] Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[42, 31, 10, 93], Operations: [] Exploring Operation: 93-42=51, Resulting Numbers: [31, 10, 51] Generated Node #0,0: 35:[31, 10, 51] Operation: 93-42=51 Exploring Operation: 93/31=3, Resulting Numbers: [42, 10, 3] Generated Node #0,1: 35:[42, 10, 3] Operation: 93/31=3 Moving to Node #0,1 Current State: 35:[42, 10, 3], Operations: ['93/31=3'] Exploring Operation: 42-10=32, Resulting Numbers: [3, 32] Generated Node #0,1,0: 35:[3, 32] Operation: 42-10=32 Exploring Operation: 42-3=39, Resulting Numbers: [10, 39] Generated Node #0,1,1: 35:[10, 39] Operation: 42-3=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[3, 32], Operations: ['93/31=3', '42-10=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[42, 31, 10, 93], Operations: [] Exploring Operation: 93/31=3, Resulting Numbers: [42, 10, 3] Generated Node #0,1: 35:[42, 10, 3] Operation: 93/31=3 Moving to Node #0,1 Current State: 35:[42, 10, 3], Operations: ['93/31=3'] Exploring Operation: 42-10=32, Resulting Numbers: [3, 32] Generated Node #0,1,0: 35:[3, 32] Operation: 42-10=32 Moving to Node #0,1,0 Current State: 35:[3, 32], Operations: ['93/31=3', '42-10=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 96, 28, 72, 96 ]
44
[ "96+28=124", "72+96=168", "168-124=44" ]
Current State: 44:[96, 28, 72, 96], Operations: [] Exploring Operation: 96+28=124, Resulting Numbers: [72, 124] Generated Node #2: [72, 124] from Operation: 96+28=124 Current State: 44:[72, 124], Operations: ['96+28=124'] Exploring Operation: 72+96=168, Resulting Numbers: [124, 168] Generated Node #3: [124, 168] from Operation: 72+96=168 Current State: 44:[124, 168], Operations: ['96+28=124', '72+96=168'] Exploring Operation: 168-124=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[96, 28, 72, 96], Operations: [] Exploring Operation: 96/96=1, Resulting Numbers: [28, 72, 1] Generated Node #0,0: 44:[28, 72, 1] Operation: 96/96=1 Exploring Operation: 96-96=0, Resulting Numbers: [28, 72, 0] Generated Node #0,1: 44:[28, 72, 0] Operation: 96-96=0 Moving to Node #0,0 Current State: 44:[28, 72, 1], Operations: ['96/96=1'] Exploring Operation: 72-28=44, Resulting Numbers: [1, 44] Generated Node #0,0,0: 44:[1, 44] Operation: 72-28=44 Exploring Operation: 28-1=27, Resulting Numbers: [72, 27] Generated Node #0,0,1: 44:[72, 27] Operation: 28-1=27 Moving to Node #0,1 Current State: 44:[28, 72, 0], Operations: ['96-96=0'] Exploring Operation: 72*0=0, Resulting Numbers: [28, 0] Generated Node #0,1,0: 44:[28, 0] Operation: 72*0=0 Exploring Operation: 72-28=44, Resulting Numbers: [0, 44] Generated Node #0,1,1: 44:[0, 44] Operation: 72-28=44 Moving to Node #0,0,0 Current State: 44:[1, 44], Operations: ['96/96=1', '72-28=44'] Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[96, 28, 72, 96], Operations: [] Exploring Operation: 96/96=1, Resulting Numbers: [28, 72, 1] Generated Node #0,0: 44:[28, 72, 1] Operation: 96/96=1 Moving to Node #0,0 Current State: 44:[28, 72, 1], Operations: ['96/96=1'] Exploring Operation: 72-28=44, Resulting Numbers: [1, 44] Generated Node #0,0,0: 44:[1, 44] Operation: 72-28=44 Moving to Node #0,0,0 Current State: 44:[1, 44], Operations: ['96/96=1', '72-28=44'] Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 47, 26, 47, 74 ]
48
[ "47+26=73", "47+74=121", "121-73=48" ]
Current State: 48:[47, 26, 47, 74], Operations: [] Exploring Operation: 47+26=73, Resulting Numbers: [74, 73] Generated Node #2: [74, 73] from Operation: 47+26=73 Current State: 48:[74, 73], Operations: ['47+26=73'] Exploring Operation: 47+74=121, Resulting Numbers: [73, 121] Generated Node #3: [73, 121] from Operation: 47+74=121 Current State: 48:[73, 121], Operations: ['47+26=73', '47+74=121'] Exploring Operation: 121-73=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[47, 26, 47, 74], Operations: [] Exploring Operation: 74-47=27, Resulting Numbers: [47, 26, 27] Generated Node #0,0: 48:[47, 26, 27] Operation: 74-47=27 Exploring Operation: 74-26=48, Resulting Numbers: [47, 47, 48] Generated Node #0,1: 48:[47, 47, 48] Operation: 74-26=48 Exploring Operation: 47/47=1, Resulting Numbers: [26, 74, 1] Generated Node #0,2: 48:[26, 74, 1] Operation: 47/47=1 Exploring Operation: 74-47=27, Resulting Numbers: [26, 47, 27] Generated Node #0,3: 48:[26, 47, 27] Operation: 74-47=27 Moving to Node #0,1 Current State: 48:[47, 47, 48], Operations: ['74-26=48'] Exploring Operation: 48-47=1, Resulting Numbers: [47, 1] Generated Node #0,1,0: 48:[47, 1] Operation: 48-47=1 Exploring Operation: 47-47=0, Resulting Numbers: [48, 0] Generated Node #0,1,1: 48:[48, 0] Operation: 47-47=0 Exploring Operation: 48-47=1, Resulting Numbers: [47, 1] Generated Node #0,1,2: 48:[47, 1] Operation: 48-47=1 Exploring Operation: 47/47=1, Resulting Numbers: [48, 1] Generated Node #0,1,3: 48:[48, 1] Operation: 47/47=1 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 48:[48, 1], Operations: ['74-26=48', '47/47=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[47, 26, 47, 74], Operations: [] Exploring Operation: 74-26=48, Resulting Numbers: [47, 47, 48] Generated Node #0,1: 48:[47, 47, 48] Operation: 74-26=48 Moving to Node #0,1 Current State: 48:[47, 47, 48], Operations: ['74-26=48'] Exploring Operation: 47/47=1, Resulting Numbers: [48, 1] Generated Node #0,1,3: 48:[48, 1] Operation: 47/47=1 Moving to Node #0,1,3 Current State: 48:[48, 1], Operations: ['74-26=48', '47/47=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 3, 46, 31, 17 ]
56
[ "46-17=29", "3*29=87", "87-31=56" ]
Current State: 56:[3, 46, 31, 17], Operations: [] Exploring Operation: 46-17=29, Resulting Numbers: [3, 31, 29] Generated Node #2: [3, 31, 29] from Operation: 46-17=29 Current State: 56:[3, 31, 29], Operations: ['46-17=29'] Exploring Operation: 3*29=87, Resulting Numbers: [31, 87] Generated Node #3: [31, 87] from Operation: 3*29=87 Current State: 56:[31, 87], Operations: ['46-17=29', '3*29=87'] Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[3, 46, 31, 17], Operations: [] Exploring Operation: 46-31=15, Resulting Numbers: [3, 17, 15] Generated Node #0,0: 56:[3, 17, 15] Operation: 46-31=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[3, 17, 15], Operations: ['46-31=15'] Exploring Operation: 17-3=14, Resulting Numbers: [15, 14] Generated Node #0,0,0: 56:[15, 14] Operation: 17-3=14 Moving to Node #0,0,0 Current State: 56:[15, 14], Operations: ['46-31=15', '17-3=14'] Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,56 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
[ 51, 69, 31, 9 ]
80
[ "51+69=120", "31+9=40", "120-40=80" ]
Current State: 80:[51, 69, 31, 9], Operations: [] Exploring Operation: 51+69=120, Resulting Numbers: [31, 9, 120] Generated Node #2: [31, 9, 120] from Operation: 51+69=120 Current State: 80:[31, 9, 120], Operations: ['51+69=120'] Exploring Operation: 31+9=40, Resulting Numbers: [120, 40] Generated Node #3: [120, 40] from Operation: 31+9=40 Current State: 80:[120, 40], Operations: ['51+69=120', '31+9=40'] Exploring Operation: 120-40=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[51, 69, 31, 9], Operations: [] Exploring Operation: 69-51=18, Resulting Numbers: [31, 9, 18] Generated Node #0,0: 80:[31, 9, 18] Operation: 69-51=18 Moving to Node #0,0 Current State: 80:[31, 9, 18], Operations: ['69-51=18'] Exploring Operation: 31+9=40, Resulting Numbers: [18, 40] Generated Node #0,0,0: 80:[18, 40] Operation: 31+9=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[18, 40], Operations: ['69-51=18', '31+9=40'] Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,80 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
[ 46, 69, 12, 25 ]
78
[ "46+69=115", "12+25=37", "115-37=78" ]
Current State: 78:[46, 69, 12, 25], Operations: [] Exploring Operation: 46+69=115, Resulting Numbers: [12, 25, 115] Generated Node #2: [12, 25, 115] from Operation: 46+69=115 Current State: 78:[12, 25, 115], Operations: ['46+69=115'] Exploring Operation: 12+25=37, Resulting Numbers: [115, 37] Generated Node #3: [115, 37] from Operation: 12+25=37 Current State: 78:[115, 37], Operations: ['46+69=115', '12+25=37'] Exploring Operation: 115-37=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[46, 69, 12, 25], Operations: [] Exploring Operation: 46-12=34, Resulting Numbers: [69, 25, 34] Generated Node #0,0: 78:[69, 25, 34] Operation: 46-12=34 Exploring Operation: 69-25=44, Resulting Numbers: [46, 12, 44] Generated Node #0,1: 78:[46, 12, 44] Operation: 69-25=44 Exploring Operation: 69-46=23, Resulting Numbers: [12, 25, 23] Generated Node #0,2: 78:[12, 25, 23] Operation: 69-46=23 Exploring Operation: 69+12=81, Resulting Numbers: [46, 25, 81] Generated Node #0,3: 78:[46, 25, 81] Operation: 69+12=81 Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[12, 25, 23], Operations: ['69-46=23'] Exploring Operation: 12+25=37, Resulting Numbers: [23, 37] Generated Node #0,2,0: 78:[23, 37] Operation: 12+25=37 Exploring Operation: 25-23=2, Resulting Numbers: [12, 2] Generated Node #0,2,1: 78:[12, 2] Operation: 25-23=2 Exploring Operation: 25-12=13, Resulting Numbers: [23, 13] Generated Node #0,2,2: 78:[23, 13] Operation: 25-12=13 Exploring Operation: 23-12=11, Resulting Numbers: [25, 11] Generated Node #0,2,3: 78:[25, 11] Operation: 23-12=11 Moving to Node #0,2,1 Current State: 78:[12, 2], Operations: ['69-46=23', '25-23=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,78 unequal: No Solution Moving to Node #0,2,3 Current State: 78:[25, 11], Operations: ['69-46=23', '23-12=11'] Exploring Operation: 25*11=275, Resulting Numbers: [275] 275,78 unequal: No Solution Exploring Operation: 25+11=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[23, 13], Operations: ['69-46=23', '25-12=13'] Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,78 unequal: No Solution Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[23, 37], Operations: ['69-46=23', '12+25=37'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,78 unequal: No Solution Exploring Operation: 23+37=60, Resulting Numbers: [60] 60,78 unequal: No Solution Exploring Operation: 23*37=851, Resulting Numbers: [851] 851,78 unequal: No Solution No 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: 78:[46, 25, 81], Operations: ['69+12=81'] Exploring Operation: 81-25=56, Resulting Numbers: [46, 56] Generated Node #0,3,0: 78:[46, 56] Operation: 81-25=56 Exploring Operation: 81-46=35, Resulting Numbers: [25, 35] Generated Node #0,3,1: 78:[25, 35] Operation: 81-46=35 Exploring Operation: 46+25=71, Resulting Numbers: [81, 71] Generated Node #0,3,2: 78:[81, 71] Operation: 46+25=71 Exploring Operation: 46-25=21, Resulting Numbers: [81, 21] Generated Node #0,3,3: 78:[81, 21] Operation: 46-25=21 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 78:[25, 35], Operations: ['69+12=81', '81-46=35'] Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,78 unequal: No Solution Exploring Operation: 25*35=875, Resulting Numbers: [875] 875,78 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,78 unequal: No Solution No 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: 78:[81, 21], Operations: ['69+12=81', '46-25=21'] Exploring Operation: 81+21=102, Resulting Numbers: [102] 102,78 unequal: No Solution Exploring Operation: 81-21=60, Resulting Numbers: [60] 60,78 unequal: No Solution Exploring Operation: 81*21=1701, Resulting Numbers: [1701] 1701,78 unequal: No Solution No 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: 78:[81, 71], Operations: ['69+12=81', '46+25=71'] Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 81+71=152, Resulting Numbers: [152] 152,78 unequal: No Solution Exploring Operation: 81*71=5751, Resulting Numbers: [5751] 5751,78 unequal: No Solution No 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: 78:[46, 56], Operations: ['69+12=81', '81-25=56'] Exploring Operation: 46*56=2576, Resulting Numbers: [2576] 2576,78 unequal: No Solution Exploring Operation: 56-46=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 46+56=102, Resulting Numbers: [102] 102,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[46, 12, 44], Operations: ['69-25=44'] Exploring Operation: 44-12=32, Resulting Numbers: [46, 32] Generated Node #0,1,0: 78:[46, 32] Operation: 44-12=32 Exploring Operation: 46-12=34, Resulting Numbers: [44, 34] Generated Node #0,1,1: 78:[44, 34] Operation: 46-12=34 Exploring Operation: 46-44=2, Resulting Numbers: [12, 2] Generated Node #0,1,2: 78:[12, 2] Operation: 46-44=2 Exploring Operation: 46+44=90, Resulting Numbers: [12, 90] Generated Node #0,1,3: 78:[12, 90] Operation: 46+44=90 Moving to Node #0,1,2 Current State: 78:[12, 2], Operations: ['69-25=44', '46-44=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,78 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[44, 34], Operations: ['69-25=44', '46-12=34'] Exploring Operation: 44*34=1496, Resulting Numbers: [1496] 1496,78 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[46, 69, 12, 25], Operations: [] Exploring Operation: 69-25=44, Resulting Numbers: [46, 12, 44] Generated Node #0,1: 78:[46, 12, 44] Operation: 69-25=44 Moving to Node #0,1 Current State: 78:[46, 12, 44], Operations: ['69-25=44'] Exploring Operation: 46-12=34, Resulting Numbers: [44, 34] Generated Node #0,1,1: 78:[44, 34] Operation: 46-12=34 Moving to Node #0,1,1 Current State: 78:[44, 34], Operations: ['69-25=44', '46-12=34'] Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_4
sum_heuristic
[ 10, 44, 59, 72 ]
21
[ "44-10=34", "72-59=13", "34-13=21" ]
Current State: 21:[10, 44, 59, 72], Operations: [] Exploring Operation: 44-10=34, Resulting Numbers: [59, 72, 34] Generated Node #2: [59, 72, 34] from Operation: 44-10=34 Current State: 21:[59, 72, 34], Operations: ['44-10=34'] Exploring Operation: 72-59=13, Resulting Numbers: [34, 13] Generated Node #3: [34, 13] from Operation: 72-59=13 Current State: 21:[34, 13], Operations: ['44-10=34', '72-59=13'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[10, 44, 59, 72], Operations: [] Exploring Operation: 59-44=15, Resulting Numbers: [10, 72, 15] Generated Node #0,0: 21:[10, 72, 15] Operation: 59-44=15 Exploring Operation: 44-10=34, Resulting Numbers: [59, 72, 34] Generated Node #0,1: 21:[59, 72, 34] Operation: 44-10=34 Exploring Operation: 72-59=13, Resulting Numbers: [10, 44, 13] Generated Node #0,2: 21:[10, 44, 13] Operation: 72-59=13 Exploring Operation: 72-44=28, Resulting Numbers: [10, 59, 28] Generated Node #0,3: 21:[10, 59, 28] Operation: 72-44=28 Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[10, 44, 13], Operations: ['72-59=13'] Exploring Operation: 44-10=34, Resulting Numbers: [13, 34] Generated Node #0,2,0: 21:[13, 34] Operation: 44-10=34 Exploring Operation: 13-10=3, Resulting Numbers: [44, 3] Generated Node #0,2,1: 21:[44, 3] Operation: 13-10=3 Exploring Operation: 44-13=31, Resulting Numbers: [10, 31] Generated Node #0,2,2: 21:[10, 31] Operation: 44-13=31 Exploring Operation: 10+13=23, Resulting Numbers: [44, 23] Generated Node #0,2,3: 21:[44, 23] Operation: 10+13=23 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 21:[10, 31], Operations: ['72-59=13', '44-13=31'] Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,21 unequal: No Solution Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,21 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[10, 44, 59, 72], Operations: [] Exploring Operation: 72-59=13, Resulting Numbers: [10, 44, 13] Generated Node #0,2: 21:[10, 44, 13] Operation: 72-59=13 Moving to Node #0,2 Current State: 21:[10, 44, 13], Operations: ['72-59=13'] Exploring Operation: 44-13=31, Resulting Numbers: [10, 31] Generated Node #0,2,2: 21:[10, 31] Operation: 44-13=31 Moving to Node #0,2,2 Current State: 21:[10, 31], Operations: ['72-59=13', '44-13=31'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 37, 71, 92, 59 ]
67
[ "71-37=34", "92-59=33", "34+33=67" ]
Current State: 67:[37, 71, 92, 59], Operations: [] Exploring Operation: 71-37=34, Resulting Numbers: [92, 59, 34] Generated Node #2: [92, 59, 34] from Operation: 71-37=34 Current State: 67:[92, 59, 34], Operations: ['71-37=34'] Exploring Operation: 92-59=33, Resulting Numbers: [34, 33] Generated Node #3: [34, 33] from Operation: 92-59=33 Current State: 67:[34, 33], Operations: ['71-37=34', '92-59=33'] Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[37, 71, 92, 59], Operations: [] Exploring Operation: 92-37=55, Resulting Numbers: [71, 59, 55] Generated Node #0,0: 67:[71, 59, 55] Operation: 92-37=55 Exploring Operation: 71-37=34, Resulting Numbers: [92, 59, 34] Generated Node #0,1: 67:[92, 59, 34] Operation: 71-37=34 Exploring Operation: 92-59=33, Resulting Numbers: [37, 71, 33] Generated Node #0,2: 67:[37, 71, 33] Operation: 92-59=33 Exploring Operation: 37+59=96, Resulting Numbers: [71, 92, 96] Generated Node #0,3: 67:[71, 92, 96] Operation: 37+59=96 Moving to Node #0,0 Current State: 67:[71, 59, 55], Operations: ['92-37=55'] Exploring Operation: 71-55=16, Resulting Numbers: [59, 16] Generated Node #0,0,0: 67:[59, 16] Operation: 71-55=16 Exploring Operation: 59+55=114, Resulting Numbers: [71, 114] Generated Node #0,0,1: 67:[71, 114] Operation: 59+55=114 Exploring Operation: 71-59=12, Resulting Numbers: [55, 12] Generated Node #0,0,2: 67:[55, 12] Operation: 71-59=12 Exploring Operation: 71+55=126, Resulting Numbers: [59, 126] Generated Node #0,0,3: 67:[59, 126] Operation: 71+55=126 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[71, 114], Operations: ['92-37=55', '59+55=114'] Exploring Operation: 71+114=185, Resulting Numbers: [185] 185,67 unequal: No Solution Exploring Operation: 114-71=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 71*114=8094, Resulting Numbers: [8094] 8094,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[59, 16], Operations: ['92-37=55', '71-55=16'] Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,67 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[55, 12], Operations: ['92-37=55', '71-59=12'] Exploring Operation: 55*12=660, Resulting Numbers: [660] 660,67 unequal: No Solution Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[37, 71, 92, 59], Operations: [] Exploring Operation: 92-37=55, Resulting Numbers: [71, 59, 55] Generated Node #0,0: 67:[71, 59, 55] Operation: 92-37=55 Moving to Node #0,0 Current State: 67:[71, 59, 55], Operations: ['92-37=55'] Exploring Operation: 71-59=12, Resulting Numbers: [55, 12] Generated Node #0,0,2: 67:[55, 12] Operation: 71-59=12 Moving to Node #0,0,2 Current State: 67:[55, 12], Operations: ['92-37=55', '71-59=12'] Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 29, 61, 2, 76 ]
59
[ "76-61=15", "2*15=30", "29+30=59" ]
Current State: 59:[29, 61, 2, 76], Operations: [] Exploring Operation: 76-61=15, Resulting Numbers: [29, 2, 15] Generated Node #2: [29, 2, 15] from Operation: 76-61=15 Current State: 59:[29, 2, 15], Operations: ['76-61=15'] Exploring Operation: 2*15=30, Resulting Numbers: [29, 30] Generated Node #3: [29, 30] from Operation: 2*15=30 Current State: 59:[29, 30], Operations: ['76-61=15', '2*15=30'] Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[29, 61, 2, 76], Operations: [] Exploring Operation: 61-2=59, Resulting Numbers: [29, 76, 59] Generated Node #0,0: 59:[29, 76, 59] Operation: 61-2=59 Exploring Operation: 29+2=31, Resulting Numbers: [61, 76, 31] Generated Node #0,1: 59:[61, 76, 31] Operation: 29+2=31 Exploring Operation: 29*2=58, Resulting Numbers: [61, 76, 58] Generated Node #0,2: 59:[61, 76, 58] Operation: 29*2=58 Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[61, 76, 58], Operations: ['29*2=58'] Exploring Operation: 76-58=18, Resulting Numbers: [61, 18] Generated Node #0,2,0: 59:[61, 18] Operation: 76-58=18 Exploring Operation: 76-61=15, Resulting Numbers: [58, 15] Generated Node #0,2,1: 59:[58, 15] Operation: 76-61=15 Exploring Operation: 61-58=3, Resulting Numbers: [76, 3] Generated Node #0,2,2: 59:[76, 3] Operation: 61-58=3 Moving to Node #0,2,0 Current State: 59:[61, 18], Operations: ['29*2=58', '76-58=18'] Exploring Operation: 61+18=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 61*18=1098, Resulting Numbers: [1098] 1098,59 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[58, 15], Operations: ['29*2=58', '76-61=15'] Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,59 unequal: No Solution Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,59 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[76, 3], Operations: ['29*2=58', '61-58=3'] Exploring Operation: 76+3=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 76*3=228, Resulting Numbers: [228] 228,59 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[29, 76, 59], Operations: ['61-2=59'] Exploring Operation: 76-29=47, Resulting Numbers: [59, 47] Generated Node #0,0,0: 59:[59, 47] Operation: 76-29=47 Exploring Operation: 29+76=105, Resulting Numbers: [59, 105] Generated Node #0,0,1: 59:[59, 105] Operation: 29+76=105 Exploring Operation: 29+59=88, Resulting Numbers: [76, 88] Generated Node #0,0,2: 59:[76, 88] Operation: 29+59=88 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[59, 47], Operations: ['61-2=59', '76-29=47'] Exploring Operation: 59+47=106, Resulting Numbers: [106] 106,59 unequal: No Solution Exploring Operation: 59*47=2773, Resulting Numbers: [2773] 2773,59 unequal: No Solution Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[59, 105], Operations: ['61-2=59', '29+76=105'] Exploring Operation: 105-59=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 59+105=164, Resulting Numbers: [164] 164,59 unequal: No Solution Exploring Operation: 59*105=6195, Resulting Numbers: [6195] 6195,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[76, 88], Operations: ['61-2=59', '29+59=88'] Exploring Operation: 76*88=6688, Resulting Numbers: [6688] 6688,59 unequal: No Solution Exploring Operation: 76+88=164, Resulting Numbers: [164] 164,59 unequal: No Solution Exploring Operation: 88-76=12, Resulting Numbers: [12] 12,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[61, 76, 31], Operations: ['29+2=31'] Exploring Operation: 76-31=45, Resulting Numbers: [61, 45] Generated Node #0,1,0: 59:[61, 45] Operation: 76-31=45 Exploring Operation: 61-31=30, Resulting Numbers: [76, 30] Generated Node #0,1,1: 59:[76, 30] Operation: 61-31=30 Exploring Operation: 61+31=92, Resulting Numbers: [76, 92] Generated Node #0,1,2: 59:[76, 92] Operation: 61+31=92 Moving to Node #0,1,0 Current State: 59:[61, 45], Operations: ['29+2=31', '76-31=45'] Exploring Operation: 61*45=2745, Resulting Numbers: [2745] 2745,59 unequal: No Solution Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,59 unequal: No Solution Exploring Operation: 61+45=106, Resulting Numbers: [106] 106,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[76, 30], Operations: ['29+2=31', '61-31=30'] Exploring Operation: 76-30=46, Resulting Numbers: [46] 46,59 unequal: No Solution Exploring Operation: 76+30=106, Resulting Numbers: [106] 106,59 unequal: No Solution Exploring Operation: 76*30=2280, Resulting Numbers: [2280] 2280,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[76, 92], Operations: ['29+2=31', '61+31=92'] Exploring Operation: 76*92=6992, Resulting Numbers: [6992] 6992,59 unequal: No Solution Exploring Operation: 76+92=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 92-76=16, Resulting Numbers: [16] 16,59 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
[ 72, 45, 85, 5 ]
46
[ "45+85=130", "130/5=26", "72-26=46" ]
Current State: 46:[72, 45, 85, 5], Operations: [] Exploring Operation: 45+85=130, Resulting Numbers: [72, 5, 130] Generated Node #2: [72, 5, 130] from Operation: 45+85=130 Current State: 46:[72, 5, 130], Operations: ['45+85=130'] Exploring Operation: 130/5=26, Resulting Numbers: [72, 26] Generated Node #3: [72, 26] from Operation: 130/5=26 Current State: 46:[72, 26], Operations: ['45+85=130', '130/5=26'] Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[72, 45, 85, 5], Operations: [] Exploring Operation: 85/5=17, Resulting Numbers: [72, 45, 17] Generated Node #0,0: 46:[72, 45, 17] Operation: 85/5=17 Exploring Operation: 85-72=13, Resulting Numbers: [45, 5, 13] Generated Node #0,1: 46:[45, 5, 13] Operation: 85-72=13 Exploring Operation: 72-5=67, Resulting Numbers: [45, 85, 67] Generated Node #0,2: 46:[45, 85, 67] Operation: 72-5=67 Exploring Operation: 85-45=40, Resulting Numbers: [72, 5, 40] Generated Node #0,3: 46:[72, 5, 40] Operation: 85-45=40 Exploring Operation: 72-45=27, Resulting Numbers: [85, 5, 27] Generated Node #0,4: 46:[85, 5, 27] Operation: 72-45=27 Moving to Node #0,1 Current State: 46:[45, 5, 13], Operations: ['85-72=13'] Exploring Operation: 45+5=50, Resulting Numbers: [13, 50] Generated Node #0,1,0: 46:[13, 50] Operation: 45+5=50 Exploring Operation: 5+13=18, Resulting Numbers: [45, 18] Generated Node #0,1,1: 46:[45, 18] Operation: 5+13=18 Exploring Operation: 45+13=58, Resulting Numbers: [5, 58] Generated Node #0,1,2: 46:[5, 58] Operation: 45+13=58 Exploring Operation: 13-5=8, Resulting Numbers: [45, 8] Generated Node #0,1,3: 46:[45, 8] Operation: 13-5=8 Exploring Operation: 45-13=32, Resulting Numbers: [5, 32] Generated Node #0,1,4: 46:[5, 32] Operation: 45-13=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[45, 18], Operations: ['85-72=13', '5+13=18'] Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,46 unequal: No Solution Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,46 unequal: No Solution No 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: 46:[45, 8], Operations: ['85-72=13', '13-5=8'] Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,46 unequal: No Solution No 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: 46:[5, 32], Operations: ['85-72=13', '45-13=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,46 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,46 unequal: No Solution No 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: 46:[13, 50], Operations: ['85-72=13', '45+5=50'] Exploring Operation: 13*50=650, Resulting Numbers: [650] 650,46 unequal: No Solution Exploring Operation: 13+50=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,46 unequal: No Solution No 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: 46:[5, 58], Operations: ['85-72=13', '45+13=58'] Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,46 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,46 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: 46:[72, 45, 17], Operations: ['85/5=17'] Exploring Operation: 72-45=27, Resulting Numbers: [17, 27] Generated Node #0,0,0: 46:[17, 27] Operation: 72-45=27 Exploring Operation: 45+17=62, Resulting Numbers: [72, 62] Generated Node #0,0,1: 46:[72, 62] Operation: 45+17=62 Exploring Operation: 72+17=89, Resulting Numbers: [45, 89] Generated Node #0,0,2: 46:[45, 89] Operation: 72+17=89 Exploring Operation: 45-17=28, Resulting Numbers: [72, 28] Generated Node #0,0,3: 46:[72, 28] Operation: 45-17=28 Exploring Operation: 72-17=55, Resulting Numbers: [45, 55] Generated Node #0,0,4: 46:[45, 55] Operation: 72-17=55 Moving to Node #0,3 Current State: 46:[72, 5, 40], Operations: ['85-45=40'] Exploring Operation: 5+40=45, Resulting Numbers: [72, 45] Generated Node #0,3,0: 46:[72, 45] Operation: 5+40=45 Exploring Operation: 72-5=67, Resulting Numbers: [40, 67] Generated Node #0,3,1: 46:[40, 67] Operation: 72-5=67 Exploring Operation: 72+5=77, Resulting Numbers: [40, 77] Generated Node #0,3,2: 46:[40, 77] Operation: 72+5=77 Exploring Operation: 40/5=8, Resulting Numbers: [72, 8] Generated Node #0,3,3: 46:[72, 8] Operation: 40/5=8 Exploring Operation: 72-40=32, Resulting Numbers: [5, 32] Generated Node #0,3,4: 46:[5, 32] Operation: 72-40=32 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 46:[5, 32], Operations: ['85-45=40', '72-40=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,46 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,46 unequal: No Solution No 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: 46:[72, 45], Operations: ['85-45=40', '5+40=45'] Exploring Operation: 72*45=3240, Resulting Numbers: [3240] 3240,46 unequal: No Solution Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 72+45=117, Resulting Numbers: [117] 117,46 unequal: No Solution No 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: 46:[40, 67], Operations: ['85-45=40', '72-5=67'] Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 40*67=2680, Resulting Numbers: [2680] 2680,46 unequal: No Solution Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,46 unequal: No Solution No 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: 46:[72, 8], Operations: ['85-45=40', '40/5=8'] Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,46 unequal: No Solution Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,46 unequal: No Solution Exploring Operation: 72*8=576, Resulting Numbers: [576] 576,46 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,46 unequal: No Solution No 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: 46:[40, 77], Operations: ['85-45=40', '72+5=77'] Exploring Operation: 40*77=3080, Resulting Numbers: [3080] 3080,46 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,46 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: 46:[85, 5, 27], Operations: ['72-45=27'] Exploring Operation: 85+5=90, Resulting Numbers: [27, 90] Generated Node #0,4,0: 46:[27, 90] Operation: 85+5=90 Exploring Operation: 85-27=58, Resulting Numbers: [5, 58] Generated Node #0,4,1: 46:[5, 58] Operation: 85-27=58 Exploring Operation: 85-5=80, Resulting Numbers: [27, 80] Generated Node #0,4,2: 46:[27, 80] Operation: 85-5=80 Exploring Operation: 85/5=17, Resulting Numbers: [27, 17] Generated Node #0,4,3: 46:[27, 17] Operation: 85/5=17 Exploring Operation: 27-5=22, Resulting Numbers: [85, 22] Generated Node #0,4,4: 46:[85, 22] Operation: 27-5=22 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 46:[27, 17], Operations: ['72-45=27', '85/5=17'] Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,46 unequal: No Solution No 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: 46:[5, 58], Operations: ['72-45=27', '85-27=58'] Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,46 unequal: No Solution No 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: 46:[27, 80], Operations: ['72-45=27', '85-5=80'] Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 27+80=107, Resulting Numbers: [107] 107,46 unequal: No Solution Exploring Operation: 27*80=2160, Resulting Numbers: [2160] 2160,46 unequal: No Solution No 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: 46:[85, 22], Operations: ['72-45=27', '27-5=22'] Exploring Operation: 85*22=1870, Resulting Numbers: [1870] 1870,46 unequal: No Solution Exploring Operation: 85+22=107, Resulting Numbers: [107] 107,46 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,46 unequal: No Solution No 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: 46:[27, 90], Operations: ['72-45=27', '85+5=90'] Exploring Operation: 27*90=2430, Resulting Numbers: [2430] 2430,46 unequal: No Solution Exploring Operation: 90-27=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 27+90=117, Resulting Numbers: [117] 117,46 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: 46:[45, 85, 67], Operations: ['72-5=67'] Exploring Operation: 45+67=112, Resulting Numbers: [85, 112] Generated Node #0,2,0: 46:[85, 112] Operation: 45+67=112 Exploring Operation: 85-67=18, Resulting Numbers: [45, 18] Generated Node #0,2,1: 46:[45, 18] Operation: 85-67=18 Exploring Operation: 67-45=22, Resulting Numbers: [85, 22] Generated Node #0,2,2: 46:[85, 22] Operation: 67-45=22 Exploring Operation: 85-45=40, Resulting Numbers: [67, 40] Generated Node #0,2,3: 46:[67, 40] Operation: 85-45=40 Exploring Operation: 45+85=130, Resulting Numbers: [67, 130] Generated Node #0,2,4: 46:[67, 130] Operation: 45+85=130 Moving to Node #0,2,1 Current State: 46:[45, 18], Operations: ['72-5=67', '85-67=18'] Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,46 unequal: No Solution Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[17, 27], Operations: ['85/5=17', '72-45=27'] Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,46 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,46 unequal: No Solution Moving to Node #0,0,4 Current State: 46:[45, 55], Operations: ['85/5=17', '72-17=55'] Exploring Operation: 45*55=2475, Resulting Numbers: [2475] 2475,46 unequal: No Solution Exploring Operation: 45+55=100, Resulting Numbers: [100] 100,46 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[67, 40], Operations: ['72-5=67', '85-45=40'] Exploring Operation: 67+40=107, Resulting Numbers: [107] 107,46 unequal: No Solution Exploring Operation: 67*40=2680, Resulting Numbers: [2680] 2680,46 unequal: No Solution Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[72, 28], Operations: ['85/5=17', '45-17=28'] Exploring Operation: 72*28=2016, Resulting Numbers: [2016] 2016,46 unequal: No Solution Exploring Operation: 72+28=100, Resulting Numbers: [100] 100,46 unequal: No Solution Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[85, 22], Operations: ['72-5=67', '67-45=22'] Exploring Operation: 85*22=1870, Resulting Numbers: [1870] 1870,46 unequal: No Solution Exploring Operation: 85+22=107, Resulting Numbers: [107] 107,46 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[72, 62], Operations: ['85/5=17', '45+17=62'] Exploring Operation: 72-62=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 72*62=4464, Resulting Numbers: [4464] 4464,46 unequal: No Solution Exploring Operation: 72+62=134, Resulting Numbers: [134] 134,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[45, 89], Operations: ['85/5=17', '72+17=89'] Exploring Operation: 89-45=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 45*89=4005, Resulting Numbers: [4005] 4005,46 unequal: No Solution Exploring Operation: 45+89=134, Resulting Numbers: [134] 134,46 unequal: No Solution Moving to Node #0,2,4 Current State: 46:[67, 130], Operations: ['72-5=67', '45+85=130'] Exploring Operation: 67*130=8710, Resulting Numbers: [8710] 8710,46 unequal: No Solution Exploring Operation: 67+130=197, Resulting Numbers: [197] 197,46 unequal: No Solution Exploring Operation: 130-67=63, Resulting Numbers: [63] 63,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[85, 112], Operations: ['72-5=67', '45+67=112'] Exploring Operation: 112-85=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 85+112=197, Resulting Numbers: [197] 197,46 unequal: No Solution Exploring Operation: 85*112=9520, Resulting Numbers: [9520] 9520,46 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 57, 15, 12, 59 ]
53
[ "57+15=72", "72/12=6", "59-6=53" ]
Current State: 53:[57, 15, 12, 59], Operations: [] Exploring Operation: 57+15=72, Resulting Numbers: [12, 59, 72] Generated Node #2: [12, 59, 72] from Operation: 57+15=72 Current State: 53:[12, 59, 72], Operations: ['57+15=72'] Exploring Operation: 72/12=6, Resulting Numbers: [59, 6] Generated Node #3: [59, 6] from Operation: 72/12=6 Current State: 53:[59, 6], Operations: ['57+15=72', '72/12=6'] Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[57, 15, 12, 59], Operations: [] Exploring Operation: 57-15=42, Resulting Numbers: [12, 59, 42] Generated Node #0,0: 53:[12, 59, 42] Operation: 57-15=42 Exploring Operation: 59-12=47, Resulting Numbers: [57, 15, 47] Generated Node #0,1: 53:[57, 15, 47] Operation: 59-12=47 Exploring Operation: 57-12=45, Resulting Numbers: [15, 59, 45] Generated Node #0,2: 53:[15, 59, 45] Operation: 57-12=45 Exploring Operation: 15+12=27, Resulting Numbers: [57, 59, 27] Generated Node #0,3: 53:[57, 59, 27] Operation: 15+12=27 Exploring Operation: 59-15=44, Resulting Numbers: [57, 12, 44] Generated Node #0,4: 53:[57, 12, 44] Operation: 59-15=44 Moving to Node #0,3 Current State: 53:[57, 59, 27], Operations: ['15+12=27'] Exploring Operation: 59+27=86, Resulting Numbers: [57, 86] Generated Node #0,3,0: 53:[57, 86] Operation: 59+27=86 Exploring Operation: 59-57=2, Resulting Numbers: [27, 2] Generated Node #0,3,1: 53:[27, 2] Operation: 59-57=2 Exploring Operation: 57-27=30, Resulting Numbers: [59, 30] Generated Node #0,3,2: 53:[59, 30] Operation: 57-27=30 Exploring Operation: 59-27=32, Resulting Numbers: [57, 32] Generated Node #0,3,3: 53:[57, 32] Operation: 59-27=32 Exploring Operation: 57+27=84, Resulting Numbers: [59, 84] Generated Node #0,3,4: 53:[59, 84] Operation: 57+27=84 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 53:[57, 32], Operations: ['15+12=27', '59-27=32'] Exploring Operation: 57*32=1824, Resulting Numbers: [1824] 1824,53 unequal: No Solution Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 57+32=89, Resulting Numbers: [89] 89,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 53:[59, 30], Operations: ['15+12=27', '57-27=30'] Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 59+30=89, Resulting Numbers: [89] 89,53 unequal: No Solution Exploring Operation: 59*30=1770, Resulting Numbers: [1770] 1770,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 53:[57, 86], Operations: ['15+12=27', '59+27=86'] Exploring Operation: 57*86=4902, Resulting Numbers: [4902] 4902,53 unequal: No Solution Exploring Operation: 86-57=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 57+86=143, Resulting Numbers: [143] 143,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 53:[59, 84], Operations: ['15+12=27', '57+27=84'] Exploring Operation: 84-59=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 59+84=143, Resulting Numbers: [143] 143,53 unequal: No Solution Exploring Operation: 59*84=4956, Resulting Numbers: [4956] 4956,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 53:[27, 2], Operations: ['15+12=27', '59-57=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,53 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: 53:[57, 15, 47], Operations: ['59-12=47'] Exploring Operation: 15+47=62, Resulting Numbers: [57, 62] Generated Node #0,1,0: 53:[57, 62] Operation: 15+47=62 Exploring Operation: 47-15=32, Resulting Numbers: [57, 32] Generated Node #0,1,1: 53:[57, 32] Operation: 47-15=32 Exploring Operation: 57-47=10, Resulting Numbers: [15, 10] Generated Node #0,1,2: 53:[15, 10] Operation: 57-47=10 Exploring Operation: 57-15=42, Resulting Numbers: [47, 42] Generated Node #0,1,3: 53:[47, 42] Operation: 57-15=42 Exploring Operation: 57+15=72, Resulting Numbers: [47, 72] Generated Node #0,1,4: 53:[47, 72] Operation: 57+15=72 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[57, 62], Operations: ['59-12=47', '15+47=62'] Exploring Operation: 57*62=3534, Resulting Numbers: [3534] 3534,53 unequal: No Solution Exploring Operation: 57+62=119, Resulting Numbers: [119] 119,53 unequal: No Solution Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 53:[47, 42], Operations: ['59-12=47', '57-15=42'] Exploring Operation: 47*42=1974, Resulting Numbers: [1974] 1974,53 unequal: No Solution Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 47+42=89, Resulting Numbers: [89] 89,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[57, 32], Operations: ['59-12=47', '47-15=32'] Exploring Operation: 57+32=89, Resulting Numbers: [89] 89,53 unequal: No Solution Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 57*32=1824, Resulting Numbers: [1824] 1824,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 53:[47, 72], Operations: ['59-12=47', '57+15=72'] Exploring Operation: 47*72=3384, Resulting Numbers: [3384] 3384,53 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 47+72=119, Resulting Numbers: [119] 119,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[15, 10], Operations: ['59-12=47', '57-47=10'] Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,53 unequal: No Solution Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,53 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: 53:[15, 59, 45], Operations: ['57-12=45'] Exploring Operation: 45/15=3, Resulting Numbers: [59, 3] Generated Node #0,2,0: 53:[59, 3] Operation: 45/15=3 Exploring Operation: 45-15=30, Resulting Numbers: [59, 30] Generated Node #0,2,1: 53:[59, 30] Operation: 45-15=30 Exploring Operation: 15+45=60, Resulting Numbers: [59, 60] Generated Node #0,2,2: 53:[59, 60] Operation: 15+45=60 Exploring Operation: 59-15=44, Resulting Numbers: [45, 44] Generated Node #0,2,3: 53:[45, 44] Operation: 59-15=44 Exploring Operation: 15+59=74, Resulting Numbers: [45, 74] Generated Node #0,2,4: 53:[45, 74] Operation: 15+59=74 Moving to Node #0,4 Current State: 53:[57, 12, 44], Operations: ['59-15=44'] Exploring Operation: 12+44=56, Resulting Numbers: [57, 56] Generated Node #0,4,0: 53:[57, 56] Operation: 12+44=56 Exploring Operation: 57-44=13, Resulting Numbers: [12, 13] Generated Node #0,4,1: 53:[12, 13] Operation: 57-44=13 Exploring Operation: 57-12=45, Resulting Numbers: [44, 45] Generated Node #0,4,2: 53:[44, 45] Operation: 57-12=45 Exploring Operation: 44-12=32, Resulting Numbers: [57, 32] Generated Node #0,4,3: 53:[57, 32] Operation: 44-12=32 Exploring Operation: 57+12=69, Resulting Numbers: [44, 69] Generated Node #0,4,4: 53:[44, 69] Operation: 57+12=69 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 53:[57, 56], Operations: ['59-15=44', '12+44=56'] Exploring Operation: 57*56=3192, Resulting Numbers: [3192] 3192,53 unequal: No Solution Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 57+56=113, Resulting Numbers: [113] 113,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 53:[44, 45], Operations: ['59-15=44', '57-12=45'] Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 44+45=89, Resulting Numbers: [89] 89,53 unequal: No Solution Exploring Operation: 44*45=1980, Resulting Numbers: [1980] 1980,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 53:[57, 32], Operations: ['59-15=44', '44-12=32'] Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 57*32=1824, Resulting Numbers: [1824] 1824,53 unequal: No Solution Exploring Operation: 57+32=89, Resulting Numbers: [89] 89,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 53:[44, 69], Operations: ['59-15=44', '57+12=69'] Exploring Operation: 44+69=113, Resulting Numbers: [113] 113,53 unequal: No Solution Exploring Operation: 44*69=3036, Resulting Numbers: [3036] 3036,53 unequal: No Solution Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 53:[12, 13], Operations: ['59-15=44', '57-44=13'] Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,53 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,53 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,53 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: 53:[12, 59, 42], Operations: ['57-15=42'] Exploring Operation: 12+59=71, Resulting Numbers: [42, 71] Generated Node #0,0,0: 53:[42, 71] Operation: 12+59=71 Exploring Operation: 12+42=54, Resulting Numbers: [59, 54] Generated Node #0,0,1: 53:[59, 54] Operation: 12+42=54 Exploring Operation: 59-42=17, Resulting Numbers: [12, 17] Generated Node #0,0,2: 53:[12, 17] Operation: 59-42=17 Exploring Operation: 59-12=47, Resulting Numbers: [42, 47] Generated Node #0,0,3: 53:[42, 47] Operation: 59-12=47 Exploring Operation: 42-12=30, Resulting Numbers: [59, 30] Generated Node #0,0,4: 53:[59, 30] Operation: 42-12=30 Moving to Node #0,0,1 Current State: 53:[59, 54], Operations: ['57-15=42', '12+42=54'] Exploring Operation: 59+54=113, Resulting Numbers: [113] 113,53 unequal: No Solution Exploring Operation: 59*54=3186, Resulting Numbers: [3186] 3186,53 unequal: No Solution Exploring Operation: 59-54=5, Resulting Numbers: [5] 5,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[59, 60], Operations: ['57-12=45', '15+45=60'] Exploring Operation: 59*60=3540, Resulting Numbers: [3540] 3540,53 unequal: No Solution Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 59+60=119, Resulting Numbers: [119] 119,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[42, 47], Operations: ['57-15=42', '59-12=47'] Exploring Operation: 42+47=89, Resulting Numbers: [89] 89,53 unequal: No Solution Exploring Operation: 42*47=1974, Resulting Numbers: [1974] 1974,53 unequal: No Solution Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[45, 44], Operations: ['57-12=45', '59-15=44'] Exploring Operation: 45+44=89, Resulting Numbers: [89] 89,53 unequal: No Solution Exploring Operation: 45*44=1980, Resulting Numbers: [1980] 1980,53 unequal: No Solution Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[59, 30], Operations: ['57-12=45', '45-15=30'] Exploring Operation: 59*30=1770, Resulting Numbers: [1770] 1770,53 unequal: No Solution Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 59+30=89, Resulting Numbers: [89] 89,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[59, 30], Operations: ['57-15=42', '42-12=30'] Exploring Operation: 59*30=1770, Resulting Numbers: [1770] 1770,53 unequal: No Solution Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 59+30=89, Resulting Numbers: [89] 89,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[45, 74], Operations: ['57-12=45', '15+59=74'] Exploring Operation: 45+74=119, Resulting Numbers: [119] 119,53 unequal: No Solution Exploring Operation: 45*74=3330, Resulting Numbers: [3330] 3330,53 unequal: No Solution Exploring Operation: 74-45=29, Resulting Numbers: [29] 29,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[42, 71], Operations: ['57-15=42', '12+59=71'] Exploring Operation: 42+71=113, Resulting Numbers: [113] 113,53 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 42*71=2982, Resulting Numbers: [2982] 2982,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[59, 3], Operations: ['57-12=45', '45/15=3'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,53 unequal: No Solution Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,53 unequal: No Solution Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[12, 17], Operations: ['57-15=42', '59-42=17'] Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 12*17=204, Resulting Numbers: [204] 204,53 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,53 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 86, 79, 10, 98 ]
28
[ "86-79=7", "10*7=70", "98-70=28" ]
Current State: 28:[86, 79, 10, 98], Operations: [] Exploring Operation: 86-79=7, Resulting Numbers: [10, 98, 7] Generated Node #2: [10, 98, 7] from Operation: 86-79=7 Current State: 28:[10, 98, 7], Operations: ['86-79=7'] Exploring Operation: 10*7=70, Resulting Numbers: [98, 70] Generated Node #3: [98, 70] from Operation: 10*7=70 Current State: 28:[98, 70], Operations: ['86-79=7', '10*7=70'] Exploring Operation: 98-70=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[86, 79, 10, 98], Operations: [] Exploring Operation: 98-86=12, Resulting Numbers: [79, 10, 12] Generated Node #0,0: 28:[79, 10, 12] Operation: 98-86=12 Moving to Node #0,0 Current State: 28:[79, 10, 12], Operations: ['98-86=12'] Exploring Operation: 79-12=67, Resulting Numbers: [10, 67] Generated Node #0,0,0: 28:[10, 67] Operation: 79-12=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[10, 67], Operations: ['98-86=12', '79-12=67'] Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,28 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
[ 6, 53, 11, 86 ]
79
[ "53-11=42", "42/6=7", "86-7=79" ]
Current State: 79:[6, 53, 11, 86], Operations: [] Exploring Operation: 53-11=42, Resulting Numbers: [6, 86, 42] Generated Node #2: [6, 86, 42] from Operation: 53-11=42 Current State: 79:[6, 86, 42], Operations: ['53-11=42'] Exploring Operation: 42/6=7, Resulting Numbers: [86, 7] Generated Node #3: [86, 7] from Operation: 42/6=7 Current State: 79:[86, 7], Operations: ['53-11=42', '42/6=7'] Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[6, 53, 11, 86], Operations: [] Exploring Operation: 6+53=59, Resulting Numbers: [11, 86, 59] Generated Node #0,0: 79:[11, 86, 59] Operation: 6+53=59 Exploring Operation: 6+11=17, Resulting Numbers: [53, 86, 17] Generated Node #0,1: 79:[53, 86, 17] Operation: 6+11=17 Exploring Operation: 6*11=66, Resulting Numbers: [53, 86, 66] Generated Node #0,2: 79:[53, 86, 66] Operation: 6*11=66 Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[53, 86, 66], Operations: ['6*11=66'] Exploring Operation: 86-53=33, Resulting Numbers: [66, 33] Generated Node #0,2,0: 79:[66, 33] Operation: 86-53=33 Exploring Operation: 53+66=119, Resulting Numbers: [86, 119] Generated Node #0,2,1: 79:[86, 119] Operation: 53+66=119 Exploring Operation: 53+86=139, Resulting Numbers: [66, 139] Generated Node #0,2,2: 79:[66, 139] Operation: 53+86=139 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 79:[86, 119], Operations: ['6*11=66', '53+66=119'] Exploring Operation: 86+119=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 119-86=33, Resulting Numbers: [33] 33,79 unequal: No Solution Exploring Operation: 86*119=10234, Resulting Numbers: [10234] 10234,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,2,0 Current State: 79:[66, 33], Operations: ['6*11=66', '86-53=33'] Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,79 unequal: No Solution Exploring Operation: 66+33=99, Resulting Numbers: [99] 99,79 unequal: No Solution Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,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,2,2 Current State: 79:[66, 139], Operations: ['6*11=66', '53+86=139'] Exploring Operation: 66+139=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 66*139=9174, Resulting Numbers: [9174] 9174,79 unequal: No Solution Exploring Operation: 139-66=73, Resulting Numbers: [73] 73,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,0 Current State: 79:[11, 86, 59], Operations: ['6+53=59'] Exploring Operation: 11+59=70, Resulting Numbers: [86, 70] Generated Node #0,0,0: 79:[86, 70] Operation: 11+59=70 Exploring Operation: 11+86=97, Resulting Numbers: [59, 97] Generated Node #0,0,1: 79:[59, 97] Operation: 11+86=97 Exploring Operation: 86-11=75, Resulting Numbers: [59, 75] Generated Node #0,0,2: 79:[59, 75] Operation: 86-11=75 Moving to Node #0,0,0 Current State: 79:[86, 70], Operations: ['6+53=59', '11+59=70'] Exploring Operation: 86-70=16, Resulting Numbers: [16] 16,79 unequal: No Solution Exploring Operation: 86*70=6020, Resulting Numbers: [6020] 6020,79 unequal: No Solution Exploring Operation: 86+70=156, Resulting Numbers: [156] 156,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[59, 75], Operations: ['6+53=59', '86-11=75'] Exploring Operation: 59*75=4425, Resulting Numbers: [4425] 4425,79 unequal: No Solution Exploring Operation: 59+75=134, Resulting Numbers: [134] 134,79 unequal: No Solution Exploring Operation: 75-59=16, Resulting Numbers: [16] 16,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[59, 97], Operations: ['6+53=59', '11+86=97'] Exploring Operation: 59*97=5723, Resulting Numbers: [5723] 5723,79 unequal: No Solution Exploring Operation: 59+97=156, Resulting Numbers: [156] 156,79 unequal: No Solution Exploring Operation: 97-59=38, Resulting Numbers: [38] 38,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[53, 86, 17], Operations: ['6+11=17'] Exploring Operation: 53-17=36, Resulting Numbers: [86, 36] Generated Node #0,1,0: 79:[86, 36] Operation: 53-17=36 Exploring Operation: 86-17=69, Resulting Numbers: [53, 69] Generated Node #0,1,1: 79:[53, 69] Operation: 86-17=69 Exploring Operation: 53+17=70, Resulting Numbers: [86, 70] Generated Node #0,1,2: 79:[86, 70] Operation: 53+17=70 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[86, 70], Operations: ['6+11=17', '53+17=70'] Exploring Operation: 86*70=6020, Resulting Numbers: [6020] 6020,79 unequal: No Solution Exploring Operation: 86+70=156, Resulting Numbers: [156] 156,79 unequal: No Solution Exploring Operation: 86-70=16, Resulting Numbers: [16] 16,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:[53, 69], Operations: ['6+11=17', '86-17=69'] Exploring Operation: 53+69=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 69-53=16, Resulting Numbers: [16] 16,79 unequal: No Solution Exploring Operation: 53*69=3657, Resulting Numbers: [3657] 3657,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,0 Current State: 79:[86, 36], Operations: ['6+11=17', '53-17=36'] Exploring Operation: 86*36=3096, Resulting Numbers: [3096] 3096,79 unequal: No Solution Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,79 unequal: No Solution Exploring Operation: 86+36=122, Resulting Numbers: [122] 122,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_3
mult_heuristic
[ 4, 60, 48, 10 ]
32
[ "60/4=15", "48*10=480", "480/15=32" ]
Current State: 32:[4, 60, 48, 10], Operations: [] Exploring Operation: 60/4=15, Resulting Numbers: [48, 10, 15] Generated Node #2: [48, 10, 15] from Operation: 60/4=15 Current State: 32:[48, 10, 15], Operations: ['60/4=15'] Exploring Operation: 48*10=480, Resulting Numbers: [15, 480] Generated Node #3: [15, 480] from Operation: 48*10=480 Current State: 32:[15, 480], Operations: ['60/4=15', '48*10=480'] Exploring Operation: 480/15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[4, 60, 48, 10], Operations: [] Exploring Operation: 60-10=50, Resulting Numbers: [4, 48, 50] Generated Node #0,0: 32:[4, 48, 50] Operation: 60-10=50 Exploring Operation: 60/4=15, Resulting Numbers: [48, 10, 15] Generated Node #0,1: 32:[48, 10, 15] Operation: 60/4=15 Exploring Operation: 60/10=6, Resulting Numbers: [4, 48, 6] Generated Node #0,2: 32:[4, 48, 6] Operation: 60/10=6 Exploring Operation: 60-48=12, Resulting Numbers: [4, 10, 12] Generated Node #0,3: 32:[4, 10, 12] Operation: 60-48=12 Exploring Operation: 48/4=12, Resulting Numbers: [60, 10, 12] Generated Node #0,4: 32:[60, 10, 12] Operation: 48/4=12 Start Sub Search at level 1: Moving to Node #0,3 Current State: 32:[4, 10, 12], Operations: ['60-48=12'] Exploring Operation: 12/4=3, Resulting Numbers: [10, 3] Generated Node #0,3,0: 32:[10, 3] Operation: 12/4=3 Exploring Operation: 12-4=8, Resulting Numbers: [10, 8] Generated Node #0,3,1: 32:[10, 8] Operation: 12-4=8 Exploring Operation: 4+12=16, Resulting Numbers: [10, 16] Generated Node #0,3,2: 32:[10, 16] Operation: 4+12=16 Exploring Operation: 4+10=14, Resulting Numbers: [12, 14] Generated Node #0,3,3: 32:[12, 14] Operation: 4+10=14 Exploring Operation: 12-10=2, Resulting Numbers: [4, 2] Generated Node #0,3,4: 32:[4, 2] Operation: 12-10=2 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 32:[4, 2], Operations: ['60-48=12', '12-10=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,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,3,1 Current State: 32:[10, 8], Operations: ['60-48=12', '12-4=8'] Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,32 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,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,3,2 Current State: 32:[10, 16], Operations: ['60-48=12', '4+12=16'] Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,32 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,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,3,0 Current State: 32:[10, 3], Operations: ['60-48=12', '12/4=3'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,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,3,3 Current State: 32:[12, 14], Operations: ['60-48=12', '4+10=14'] Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,32 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 12+14=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, 48, 6], Operations: ['60/10=6'] Exploring Operation: 48/4=12, Resulting Numbers: [6, 12] Generated Node #0,2,0: 32:[6, 12] Operation: 48/4=12 Exploring Operation: 6-4=2, Resulting Numbers: [48, 2] Generated Node #0,2,1: 32:[48, 2] Operation: 6-4=2 Exploring Operation: 48-4=44, Resulting Numbers: [6, 44] Generated Node #0,2,2: 32:[6, 44] Operation: 48-4=44 Exploring Operation: 48-6=42, Resulting Numbers: [4, 42] Generated Node #0,2,3: 32:[4, 42] Operation: 48-6=42 Exploring Operation: 48/6=8, Resulting Numbers: [4, 8] Generated Node #0,2,4: 32:[4, 8] Operation: 48/6=8 Moving to Node #0,2,4 Current State: 32:[4, 8], Operations: ['60/10=6', '48/6=8'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[4, 60, 48, 10], Operations: [] Exploring Operation: 60/10=6, Resulting Numbers: [4, 48, 6] Generated Node #0,2: 32:[4, 48, 6] Operation: 60/10=6 Moving to Node #0,2 Current State: 32:[4, 48, 6], Operations: ['60/10=6'] Exploring Operation: 48/6=8, Resulting Numbers: [4, 8] Generated Node #0,2,4: 32:[4, 8] Operation: 48/6=8 Moving to Node #0,2,4 Current State: 32:[4, 8], Operations: ['60/10=6', '48/6=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 73, 67, 13, 81 ]
73
[ "67+13=80", "81-80=1", "73*1=73" ]
Current State: 73:[73, 67, 13, 81], Operations: [] Exploring Operation: 67+13=80, Resulting Numbers: [73, 81, 80] Generated Node #2: [73, 81, 80] from Operation: 67+13=80 Current State: 73:[73, 81, 80], Operations: ['67+13=80'] Exploring Operation: 81-80=1, Resulting Numbers: [73, 1] Generated Node #3: [73, 1] from Operation: 81-80=1 Current State: 73:[73, 1], Operations: ['67+13=80', '81-80=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[73, 67, 13, 81], Operations: [] Exploring Operation: 81-13=68, Resulting Numbers: [73, 67, 68] Generated Node #0,0: 73:[73, 67, 68] Operation: 81-13=68 Moving to Node #0,0 Current State: 73:[73, 67, 68], Operations: ['81-13=68'] Exploring Operation: 67+68=135, Resulting Numbers: [73, 135] Generated Node #0,0,0: 73:[73, 135] Operation: 67+68=135 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[73, 135], Operations: ['81-13=68', '67+68=135'] Exploring Operation: 135-73=62, Resulting Numbers: [62] 62,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 55, 53, 42, 49 ]
56
[ "55-53=2", "49*2=98", "98-42=56" ]
Current State: 56:[55, 53, 42, 49], Operations: [] Exploring Operation: 55-53=2, Resulting Numbers: [42, 49, 2] Generated Node #2: [42, 49, 2] from Operation: 55-53=2 Current State: 56:[42, 49, 2], Operations: ['55-53=2'] Exploring Operation: 49*2=98, Resulting Numbers: [42, 98] Generated Node #3: [42, 98] from Operation: 49*2=98 Current State: 56:[42, 98], Operations: ['55-53=2', '49*2=98'] Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[55, 53, 42, 49], Operations: [] Exploring Operation: 49-42=7, Resulting Numbers: [55, 53, 7] Generated Node #0,0: 56:[55, 53, 7] Operation: 49-42=7 Exploring Operation: 55-42=13, Resulting Numbers: [53, 49, 13] Generated Node #0,1: 56:[53, 49, 13] Operation: 55-42=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[55, 53, 7], Operations: ['49-42=7'] Exploring Operation: 53+7=60, Resulting Numbers: [55, 60] Generated Node #0,0,0: 56:[55, 60] Operation: 53+7=60 Exploring Operation: 55-53=2, Resulting Numbers: [7, 2] Generated Node #0,0,1: 56:[7, 2] Operation: 55-53=2 Moving to Node #0,0,1 Current State: 56:[7, 2], Operations: ['49-42=7', '55-53=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[55, 60], Operations: ['49-42=7', '53+7=60'] Exploring Operation: 55+60=115, Resulting Numbers: [115] 115,56 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,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:[53, 49, 13], Operations: ['55-42=13'] Exploring Operation: 53-49=4, Resulting Numbers: [13, 4] Generated Node #0,1,0: 56:[13, 4] Operation: 53-49=4 Exploring Operation: 49+13=62, Resulting Numbers: [53, 62] Generated Node #0,1,1: 56:[53, 62] Operation: 49+13=62 Moving to Node #0,1,0 Current State: 56:[13, 4], Operations: ['55-42=13', '53-49=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[53, 62], Operations: ['55-42=13', '49+13=62'] Exploring Operation: 53+62=115, Resulting Numbers: [115] 115,56 unequal: No Solution Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 57, 53, 3, 41 ]
53
[ "57-53=4", "3*4=12", "41+12=53" ]
Current State: 53:[57, 53, 3, 41], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [3, 41, 4] Generated Node #2: [3, 41, 4] from Operation: 57-53=4 Current State: 53:[3, 41, 4], Operations: ['57-53=4'] Exploring Operation: 3*4=12, Resulting Numbers: [41, 12] Generated Node #3: [41, 12] from Operation: 3*4=12 Current State: 53:[41, 12], Operations: ['57-53=4', '3*4=12'] Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[57, 53, 3, 41], Operations: [] Exploring Operation: 3+41=44, Resulting Numbers: [57, 53, 44] Generated Node #0,0: 53:[57, 53, 44] Operation: 3+41=44 Exploring Operation: 57-3=54, Resulting Numbers: [53, 41, 54] Generated Node #0,1: 53:[53, 41, 54] Operation: 57-3=54 Moving to Node #0,0 Current State: 53:[57, 53, 44], Operations: ['3+41=44'] Exploring Operation: 57+44=101, Resulting Numbers: [53, 101] Generated Node #0,0,0: 53:[53, 101] Operation: 57+44=101 Exploring Operation: 57-44=13, Resulting Numbers: [53, 13] Generated Node #0,0,1: 53:[53, 13] Operation: 57-44=13 Moving to Node #0,1 Current State: 53:[53, 41, 54], Operations: ['57-3=54'] Exploring Operation: 53+41=94, Resulting Numbers: [54, 94] Generated Node #0,1,0: 53:[54, 94] Operation: 53+41=94 Exploring Operation: 54-41=13, Resulting Numbers: [53, 13] Generated Node #0,1,1: 53:[53, 13] Operation: 54-41=13 Moving to Node #0,0,1 Current State: 53:[53, 13], Operations: ['3+41=44', '57-44=13'] Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,53 unequal: No Solution Exploring Operation: 53+13=66, Resulting Numbers: [66] 66,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[53, 13], Operations: ['57-3=54', '54-41=13'] Exploring Operation: 53+13=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[54, 94], Operations: ['57-3=54', '53+41=94'] Exploring Operation: 54+94=148, Resulting Numbers: [148] 148,53 unequal: No Solution Exploring Operation: 94-54=40, Resulting Numbers: [40] 40,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[53, 101], Operations: ['3+41=44', '57+44=101'] Exploring Operation: 53+101=154, Resulting Numbers: [154] 154,53 unequal: No Solution Exploring Operation: 101-53=48, Resulting Numbers: [48] 48,53 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 52, 72, 10, 89 ]
99
[ "72-52=20", "89-10=79", "20+79=99" ]
Current State: 99:[52, 72, 10, 89], Operations: [] Exploring Operation: 72-52=20, Resulting Numbers: [10, 89, 20] Generated Node #2: [10, 89, 20] from Operation: 72-52=20 Current State: 99:[10, 89, 20], Operations: ['72-52=20'] Exploring Operation: 89-10=79, Resulting Numbers: [20, 79] Generated Node #3: [20, 79] from Operation: 89-10=79 Current State: 99:[20, 79], Operations: ['72-52=20', '89-10=79'] Exploring Operation: 20+79=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[52, 72, 10, 89], Operations: [] Exploring Operation: 72-52=20, Resulting Numbers: [10, 89, 20] Generated Node #0,0: 99:[10, 89, 20] Operation: 72-52=20 Exploring Operation: 89-72=17, Resulting Numbers: [52, 10, 17] Generated Node #0,1: 99:[52, 10, 17] Operation: 89-72=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[10, 89, 20], Operations: ['72-52=20'] Exploring Operation: 20-10=10, Resulting Numbers: [89, 10] Generated Node #0,0,0: 99:[89, 10] Operation: 20-10=10 Exploring Operation: 10+89=99, Resulting Numbers: [20, 99] Generated Node #0,0,1: 99:[20, 99] Operation: 10+89=99 Moving to Node #0,0,1 Current State: 99:[20, 99], Operations: ['72-52=20', '10+89=99'] Exploring Operation: 99-20=79, Resulting Numbers: [79] 79,99 unequal: No Solution Exploring Operation: 20+99=119, Resulting Numbers: [119] 119,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[89, 10], Operations: ['72-52=20', '20-10=10'] Exploring Operation: 89-10=79, Resulting Numbers: [79] 79,99 unequal: No Solution Exploring Operation: 89+10=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[52, 72, 10, 89], Operations: [] Exploring Operation: 72-52=20, Resulting Numbers: [10, 89, 20] Generated Node #0,0: 99:[10, 89, 20] Operation: 72-52=20 Moving to Node #0,0 Current State: 99:[10, 89, 20], Operations: ['72-52=20'] Exploring Operation: 20-10=10, Resulting Numbers: [89, 10] Generated Node #0,0,0: 99:[89, 10] Operation: 20-10=10 Moving to Node #0,0,0 Current State: 99:[89, 10], Operations: ['72-52=20', '20-10=10'] Exploring Operation: 89+10=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 1, 88, 46, 86 ]
91
[ "88-86=2", "46*2=92", "92-1=91" ]
Current State: 91:[1, 88, 46, 86], Operations: [] Exploring Operation: 88-86=2, Resulting Numbers: [1, 46, 2] Generated Node #2: [1, 46, 2] from Operation: 88-86=2 Current State: 91:[1, 46, 2], Operations: ['88-86=2'] Exploring Operation: 46*2=92, Resulting Numbers: [1, 92] Generated Node #3: [1, 92] from Operation: 46*2=92 Current State: 91:[1, 92], Operations: ['88-86=2', '46*2=92'] Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[1, 88, 46, 86], Operations: [] Exploring Operation: 86-46=40, Resulting Numbers: [1, 88, 40] Generated Node #0,0: 91:[1, 88, 40] Operation: 86-46=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[1, 88, 40], Operations: ['86-46=40'] Exploring Operation: 1+88=89, Resulting Numbers: [40, 89] Generated Node #0,0,0: 91:[40, 89] Operation: 1+88=89 Moving to Node #0,0,0 Current State: 91:[40, 89], Operations: ['86-46=40', '1+88=89'] Exploring Operation: 89-40=49, Resulting Numbers: [49] 49,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 2, 46, 32, 62 ]
61
[ "62-32=30", "30/2=15", "46+15=61" ]
Current State: 61:[2, 46, 32, 62], Operations: [] Exploring Operation: 62-32=30, Resulting Numbers: [2, 46, 30] Generated Node #2: [2, 46, 30] from Operation: 62-32=30 Current State: 61:[2, 46, 30], Operations: ['62-32=30'] Exploring Operation: 30/2=15, Resulting Numbers: [46, 15] Generated Node #3: [46, 15] from Operation: 30/2=15 Current State: 61:[46, 15], Operations: ['62-32=30', '30/2=15'] Exploring Operation: 46+15=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[2, 46, 32, 62], Operations: [] Exploring Operation: 2*32=64, Resulting Numbers: [46, 62, 64] Generated Node #0,0: 61:[46, 62, 64] Operation: 2*32=64 Exploring Operation: 2+46=48, Resulting Numbers: [32, 62, 48] Generated Node #0,1: 61:[32, 62, 48] Operation: 2+46=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[46, 62, 64], Operations: ['2*32=64'] Exploring Operation: 62-46=16, Resulting Numbers: [64, 16] Generated Node #0,0,0: 61:[64, 16] Operation: 62-46=16 Exploring Operation: 64-46=18, Resulting Numbers: [62, 18] Generated Node #0,0,1: 61:[62, 18] Operation: 64-46=18 Moving to Node #0,0,1 Current State: 61:[62, 18], Operations: ['2*32=64', '64-46=18'] Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 62+18=80, Resulting Numbers: [80] 80,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[64, 16], Operations: ['2*32=64', '62-46=16'] Exploring Operation: 64+16=80, Resulting Numbers: [80] 80,61 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[32, 62, 48], Operations: ['2+46=48'] Exploring Operation: 32+48=80, Resulting Numbers: [62, 80] Generated Node #0,1,0: 61:[62, 80] Operation: 32+48=80 Exploring Operation: 62-32=30, Resulting Numbers: [48, 30] Generated Node #0,1,1: 61:[48, 30] Operation: 62-32=30 Moving to Node #0,1,0 Current State: 61:[62, 80], Operations: ['2+46=48', '32+48=80'] Exploring Operation: 62+80=142, Resulting Numbers: [142] 142,61 unequal: No Solution Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[48, 30], Operations: ['2+46=48', '62-32=30'] Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,61 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,61 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
[ 98, 96, 24, 43 ]
55
[ "98-96=2", "24/2=12", "43+12=55" ]
Current State: 55:[98, 96, 24, 43], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [24, 43, 2] Generated Node #2: [24, 43, 2] from Operation: 98-96=2 Current State: 55:[24, 43, 2], Operations: ['98-96=2'] Exploring Operation: 24/2=12, Resulting Numbers: [43, 12] Generated Node #3: [43, 12] from Operation: 24/2=12 Current State: 55:[43, 12], Operations: ['98-96=2', '24/2=12'] Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[98, 96, 24, 43], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [24, 43, 2] Generated Node #0,0: 55:[24, 43, 2] Operation: 98-96=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[24, 43, 2], Operations: ['98-96=2'] Exploring Operation: 43-24=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 55:[2, 19] Operation: 43-24=19 Moving to Node #0,0,0 Current State: 55:[2, 19], Operations: ['98-96=2', '43-24=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,55 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
[ 49, 56, 42, 17 ]
31
[ "56*42=2352", "2352/49=48", "48-17=31" ]
Current State: 31:[49, 56, 42, 17], Operations: [] Exploring Operation: 56*42=2352, Resulting Numbers: [49, 17, 2352] Generated Node #2: [49, 17, 2352] from Operation: 56*42=2352 Current State: 31:[49, 17, 2352], Operations: ['56*42=2352'] Exploring Operation: 2352/49=48, Resulting Numbers: [17, 48] Generated Node #3: [17, 48] from Operation: 2352/49=48 Current State: 31:[17, 48], Operations: ['56*42=2352', '2352/49=48'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[49, 56, 42, 17], Operations: [] Exploring Operation: 49-17=32, Resulting Numbers: [56, 42, 32] Generated Node #0,0: 31:[56, 42, 32] Operation: 49-17=32 Exploring Operation: 56-17=39, Resulting Numbers: [49, 42, 39] Generated Node #0,1: 31:[49, 42, 39] Operation: 56-17=39 Moving to Node #0,0 Current State: 31:[56, 42, 32], Operations: ['49-17=32'] Exploring Operation: 56-32=24, Resulting Numbers: [42, 24] Generated Node #0,0,0: 31:[42, 24] Operation: 56-32=24 Exploring Operation: 56-42=14, Resulting Numbers: [32, 14] Generated Node #0,0,1: 31:[32, 14] Operation: 56-42=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[42, 24], Operations: ['49-17=32', '56-32=24'] Exploring Operation: 42+24=66, Resulting Numbers: [66] 66,31 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[32, 14], Operations: ['49-17=32', '56-42=14'] Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,31 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: 31:[49, 42, 39], Operations: ['56-17=39'] Exploring Operation: 49-39=10, Resulting Numbers: [42, 10] Generated Node #0,1,0: 31:[42, 10] Operation: 49-39=10 Exploring Operation: 49-42=7, Resulting Numbers: [39, 7] Generated Node #0,1,1: 31:[39, 7] Operation: 49-42=7 Moving to Node #0,1,0 Current State: 31:[42, 10], Operations: ['56-17=39', '49-39=10'] Exploring Operation: 42+10=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[39, 7], Operations: ['56-17=39', '49-42=7'] Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,31 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 69, 97, 8, 84 ]
74
[ "69+97=166", "8+84=92", "166-92=74" ]
Current State: 74:[69, 97, 8, 84], Operations: [] Exploring Operation: 69+97=166, Resulting Numbers: [8, 84, 166] Generated Node #2: [8, 84, 166] from Operation: 69+97=166 Current State: 74:[8, 84, 166], Operations: ['69+97=166'] Exploring Operation: 8+84=92, Resulting Numbers: [166, 92] Generated Node #3: [166, 92] from Operation: 8+84=92 Current State: 74:[166, 92], Operations: ['69+97=166', '8+84=92'] Exploring Operation: 166-92=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[69, 97, 8, 84], Operations: [] Exploring Operation: 97-8=89, Resulting Numbers: [69, 84, 89] Generated Node #0,0: 74:[69, 84, 89] Operation: 97-8=89 Exploring Operation: 97-84=13, Resulting Numbers: [69, 8, 13] Generated Node #0,1: 74:[69, 8, 13] Operation: 97-84=13 Exploring Operation: 97-69=28, Resulting Numbers: [8, 84, 28] Generated Node #0,2: 74:[8, 84, 28] Operation: 97-69=28 Exploring Operation: 84-8=76, Resulting Numbers: [69, 97, 76] Generated Node #0,3: 74:[69, 97, 76] Operation: 84-8=76 Exploring Operation: 69+8=77, Resulting Numbers: [97, 84, 77] Generated Node #0,4: 74:[97, 84, 77] Operation: 69+8=77 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[69, 8, 13], Operations: ['97-84=13'] Exploring Operation: 69+8=77, Resulting Numbers: [13, 77] Generated Node #0,1,0: 74:[13, 77] Operation: 69+8=77 Exploring Operation: 8+13=21, Resulting Numbers: [69, 21] Generated Node #0,1,1: 74:[69, 21] Operation: 8+13=21 Exploring Operation: 69-8=61, Resulting Numbers: [13, 61] Generated Node #0,1,2: 74:[13, 61] Operation: 69-8=61 Exploring Operation: 13-8=5, Resulting Numbers: [69, 5] Generated Node #0,1,3: 74:[69, 5] Operation: 13-8=5 Exploring Operation: 69+13=82, Resulting Numbers: [8, 82] Generated Node #0,1,4: 74:[8, 82] Operation: 69+13=82 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 74:[69, 5], Operations: ['97-84=13', '13-8=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,74 unequal: No Solution Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[69, 97, 8, 84], Operations: [] Exploring Operation: 97-84=13, Resulting Numbers: [69, 8, 13] Generated Node #0,1: 74:[69, 8, 13] Operation: 97-84=13 Moving to Node #0,1 Current State: 74:[69, 8, 13], Operations: ['97-84=13'] Exploring Operation: 13-8=5, Resulting Numbers: [69, 5] Generated Node #0,1,3: 74:[69, 5] Operation: 13-8=5 Moving to Node #0,1,3 Current State: 74:[69, 5], Operations: ['97-84=13', '13-8=5'] Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 18, 92, 78, 16 ]
85
[ "18-16=2", "92+78=170", "170/2=85" ]
Current State: 85:[18, 92, 78, 16], Operations: [] Exploring Operation: 18-16=2, Resulting Numbers: [92, 78, 2] Generated Node #2: [92, 78, 2] from Operation: 18-16=2 Current State: 85:[92, 78, 2], Operations: ['18-16=2'] Exploring Operation: 92+78=170, Resulting Numbers: [2, 170] Generated Node #3: [2, 170] from Operation: 92+78=170 Current State: 85:[2, 170], Operations: ['18-16=2', '92+78=170'] Exploring Operation: 170/2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[18, 92, 78, 16], Operations: [] Exploring Operation: 92-78=14, Resulting Numbers: [18, 16, 14] Generated Node #0,0: 85:[18, 16, 14] Operation: 92-78=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[18, 16, 14], Operations: ['92-78=14'] Exploring Operation: 18-14=4, Resulting Numbers: [16, 4] Generated Node #0,0,0: 85:[16, 4] Operation: 18-14=4 Moving to Node #0,0,0 Current State: 85:[16, 4], Operations: ['92-78=14', '18-14=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 8, 27, 20, 71 ]
86
[ "8+27=35", "71-20=51", "35+51=86" ]
Current State: 86:[8, 27, 20, 71], Operations: [] Exploring Operation: 8+27=35, Resulting Numbers: [20, 71, 35] Generated Node #2: [20, 71, 35] from Operation: 8+27=35 Current State: 86:[20, 71, 35], Operations: ['8+27=35'] Exploring Operation: 71-20=51, Resulting Numbers: [35, 51] Generated Node #3: [35, 51] from Operation: 71-20=51 Current State: 86:[35, 51], Operations: ['8+27=35', '71-20=51'] Exploring Operation: 35+51=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[8, 27, 20, 71], Operations: [] Exploring Operation: 71-27=44, Resulting Numbers: [8, 20, 44] Generated Node #0,0: 86:[8, 20, 44] Operation: 71-27=44 Exploring Operation: 27+20=47, Resulting Numbers: [8, 71, 47] Generated Node #0,1: 86:[8, 71, 47] Operation: 27+20=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[8, 20, 44], Operations: ['71-27=44'] Exploring Operation: 8+20=28, Resulting Numbers: [44, 28] Generated Node #0,0,0: 86:[44, 28] Operation: 8+20=28 Exploring Operation: 20-8=12, Resulting Numbers: [44, 12] Generated Node #0,0,1: 86:[44, 12] Operation: 20-8=12 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[44, 12], Operations: ['71-27=44', '20-8=12'] Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,86 unequal: No Solution Exploring Operation: 44+12=56, Resulting Numbers: [56] 56,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[44, 28], Operations: ['71-27=44', '8+20=28'] Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,86 unequal: No Solution Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[8, 71, 47], Operations: ['27+20=47'] Exploring Operation: 47-8=39, Resulting Numbers: [71, 39] Generated Node #0,1,0: 86:[71, 39] Operation: 47-8=39 Exploring Operation: 8+71=79, Resulting Numbers: [47, 79] Generated Node #0,1,1: 86:[47, 79] Operation: 8+71=79 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[47, 79], Operations: ['27+20=47', '8+71=79'] Exploring Operation: 79-47=32, Resulting Numbers: [32] 32,86 unequal: No Solution Exploring Operation: 47+79=126, Resulting Numbers: [126] 126,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[71, 39], Operations: ['27+20=47', '47-8=39'] Exploring Operation: 71+39=110, Resulting Numbers: [110] 110,86 unequal: No Solution Exploring Operation: 71-39=32, Resulting Numbers: [32] 32,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 49, 37, 35, 13 ]
31
[ "49+13=62", "37-35=2", "62/2=31" ]
Current State: 31:[49, 37, 35, 13], Operations: [] Exploring Operation: 49+13=62, Resulting Numbers: [37, 35, 62] Generated Node #2: [37, 35, 62] from Operation: 49+13=62 Current State: 31:[37, 35, 62], Operations: ['49+13=62'] Exploring Operation: 37-35=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 37-35=2 Current State: 31:[62, 2], Operations: ['49+13=62', '37-35=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[49, 37, 35, 13], Operations: [] Exploring Operation: 49-13=36, Resulting Numbers: [37, 35, 36] Generated Node #0,0: 31:[37, 35, 36] Operation: 49-13=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[37, 35, 36], Operations: ['49-13=36'] Exploring Operation: 37-35=2, Resulting Numbers: [36, 2] Generated Node #0,0,0: 31:[36, 2] Operation: 37-35=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[36, 2], Operations: ['49-13=36', '37-35=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 34, 54, 54, 72 ]
15
[ "54-34=20", "54*20=1080", "1080/72=15" ]
Current State: 15:[34, 54, 54, 72], Operations: [] Exploring Operation: 54-34=20, Resulting Numbers: [72, 20] Generated Node #2: [72, 20] from Operation: 54-34=20 Current State: 15:[72, 20], Operations: ['54-34=20'] Exploring Operation: 54*20=1080, Resulting Numbers: [72, 1080] Generated Node #3: [72, 1080] from Operation: 54*20=1080 Current State: 15:[72, 1080], Operations: ['54-34=20', '54*20=1080'] Exploring Operation: 1080/72=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[34, 54, 54, 72], Operations: [] Exploring Operation: 72-54=18, Resulting Numbers: [34, 54, 18] Generated Node #0,0: 15:[34, 54, 18] Operation: 72-54=18 Exploring Operation: 54/54=1, Resulting Numbers: [34, 72, 1] Generated Node #0,1: 15:[34, 72, 1] Operation: 54/54=1 Exploring Operation: 72-54=18, Resulting Numbers: [34, 54, 18] Generated Node #0,2: 15:[34, 54, 18] Operation: 72-54=18 Exploring Operation: 54-54=0, Resulting Numbers: [34, 72, 0] Generated Node #0,3: 15:[34, 72, 0] Operation: 54-54=0 Moving to Node #0,0 Current State: 15:[34, 54, 18], Operations: ['72-54=18'] Exploring Operation: 54-34=20, Resulting Numbers: [18, 20] Generated Node #0,0,0: 15:[18, 20] Operation: 54-34=20 Exploring Operation: 54/18=3, Resulting Numbers: [34, 3] Generated Node #0,0,1: 15:[34, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [34, 36] Generated Node #0,0,2: 15:[34, 36] Operation: 54-18=36 Exploring Operation: 34-18=16, Resulting Numbers: [54, 16] Generated Node #0,0,3: 15:[54, 16] Operation: 34-18=16 Moving to Node #0,2 Current State: 15:[34, 54, 18], Operations: ['72-54=18'] Exploring Operation: 54-34=20, Resulting Numbers: [18, 20] Generated Node #0,2,0: 15:[18, 20] Operation: 54-34=20 Exploring Operation: 34-18=16, Resulting Numbers: [54, 16] Generated Node #0,2,1: 15:[54, 16] Operation: 34-18=16 Exploring Operation: 54/18=3, Resulting Numbers: [34, 3] Generated Node #0,2,2: 15:[34, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [34, 36] Generated Node #0,2,3: 15:[34, 36] Operation: 54-18=36 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[18, 20], Operations: ['72-54=18', '54-34=20'] Exploring Operation: 18*20=360, Resulting Numbers: [360] 360,15 unequal: No Solution Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[34, 3], Operations: ['72-54=18', '54/18=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,15 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[54, 16], Operations: ['72-54=18', '34-18=16'] Exploring Operation: 54*16=864, Resulting Numbers: [864] 864,15 unequal: No Solution Exploring Operation: 54+16=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 15:[34, 36], Operations: ['72-54=18', '54-18=36'] Exploring Operation: 34*36=1224, Resulting Numbers: [1224] 1224,15 unequal: No Solution Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,15 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: 15:[34, 72, 1], Operations: ['54/54=1'] Exploring Operation: 72-1=71, Resulting Numbers: [34, 71] Generated Node #0,1,0: 15:[34, 71] Operation: 72-1=71 Exploring Operation: 72-34=38, Resulting Numbers: [1, 38] Generated Node #0,1,1: 15:[1, 38] Operation: 72-34=38 Exploring Operation: 34-1=33, Resulting Numbers: [72, 33] Generated Node #0,1,2: 15:[72, 33] Operation: 34-1=33 Exploring Operation: 34*1=34, Resulting Numbers: [72, 34] Generated Node #0,1,3: 15:[72, 34] Operation: 34*1=34 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[1, 38], Operations: ['54/54=1', '72-34=38'] Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 1*38=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[34, 71], Operations: ['54/54=1', '72-1=71'] Exploring Operation: 34+71=105, Resulting Numbers: [105] 105,15 unequal: No Solution Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 34*71=2414, Resulting Numbers: [2414] 2414,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[72, 33], Operations: ['54/54=1', '34-1=33'] Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 72*33=2376, Resulting Numbers: [2376] 2376,15 unequal: No Solution Exploring Operation: 72+33=105, Resulting Numbers: [105] 105,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[72, 34], Operations: ['54/54=1', '34*1=34'] Exploring Operation: 72*34=2448, Resulting Numbers: [2448] 2448,15 unequal: No Solution Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 72+34=106, Resulting Numbers: [106] 106,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 15:[34, 72, 0], Operations: ['54-54=0'] Exploring Operation: 72*0=0, Resulting Numbers: [34, 0] Generated Node #0,3,0: 15:[34, 0] Operation: 72*0=0 Exploring Operation: 34+0=34, Resulting Numbers: [72, 34] Generated Node #0,3,1: 15:[72, 34] Operation: 34+0=34 Exploring Operation: 72-34=38, Resulting Numbers: [0, 38] Generated Node #0,3,2: 15:[0, 38] Operation: 72-34=38 Exploring Operation: 34*0=0, Resulting Numbers: [72, 0] Generated Node #0,3,3: 15:[72, 0] Operation: 34*0=0 Moving to Node #0,0,0 Current State: 15:[18, 20], Operations: ['72-54=18', '54-34=20'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 18*20=360, Resulting Numbers: [360] 360,15 unequal: No Solution Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[34, 3], Operations: ['72-54=18', '54/18=3'] Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,15 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[34, 0], Operations: ['54-54=0', '72*0=0'] Exploring Operation: 34*0=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 34-0=34, Resulting Numbers: [34] 34,15 unequal: No Solution Exploring Operation: 34+0=34, Resulting Numbers: [34] 34,15 unequal: No Solution Moving to Node #0,3,2 Current State: 15:[0, 38], Operations: ['54-54=0', '72-34=38'] Exploring Operation: 0+38=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 0*38=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 38-0=38, Resulting Numbers: [38] 38,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[34, 36], Operations: ['72-54=18', '54-18=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 34*36=1224, Resulting Numbers: [1224] 1224,15 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[54, 16], Operations: ['72-54=18', '34-18=16'] Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 54+16=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 54*16=864, Resulting Numbers: [864] 864,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[72, 0], Operations: ['54-54=0', '34*0=0'] Exploring Operation: 72-0=72, Resulting Numbers: [72] 72,15 unequal: No Solution Exploring Operation: 72*0=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 72+0=72, Resulting Numbers: [72] 72,15 unequal: No Solution Moving to Node #0,3,1 Current State: 15:[72, 34], Operations: ['54-54=0', '34+0=34'] Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 72*34=2448, Resulting Numbers: [2448] 2448,15 unequal: No Solution Exploring Operation: 72+34=106, Resulting Numbers: [106] 106,15 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 37, 3, 24, 42 ]
93
[ "37*3=111", "42-24=18", "111-18=93" ]
Current State: 93:[37, 3, 24, 42], Operations: [] Exploring Operation: 37*3=111, Resulting Numbers: [24, 42, 111] Generated Node #2: [24, 42, 111] from Operation: 37*3=111 Current State: 93:[24, 42, 111], Operations: ['37*3=111'] Exploring Operation: 42-24=18, Resulting Numbers: [111, 18] Generated Node #3: [111, 18] from Operation: 42-24=18 Current State: 93:[111, 18], Operations: ['37*3=111', '42-24=18'] Exploring Operation: 111-18=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[37, 3, 24, 42], Operations: [] Exploring Operation: 42-24=18, Resulting Numbers: [37, 3, 18] Generated Node #0,0: 93:[37, 3, 18] Operation: 42-24=18 Exploring Operation: 37-3=34, Resulting Numbers: [24, 42, 34] Generated Node #0,1: 93:[24, 42, 34] Operation: 37-3=34 Exploring Operation: 42-37=5, Resulting Numbers: [3, 24, 5] Generated Node #0,2: 93:[3, 24, 5] Operation: 42-37=5 Exploring Operation: 37-24=13, Resulting Numbers: [3, 42, 13] Generated Node #0,3: 93:[3, 42, 13] Operation: 37-24=13 Moving to Node #0,2 Current State: 93:[3, 24, 5], Operations: ['42-37=5'] Exploring Operation: 24+5=29, Resulting Numbers: [3, 29] Generated Node #0,2,0: 93:[3, 29] Operation: 24+5=29 Exploring Operation: 5-3=2, Resulting Numbers: [24, 2] Generated Node #0,2,1: 93:[24, 2] Operation: 5-3=2 Exploring Operation: 24/3=8, Resulting Numbers: [5, 8] Generated Node #0,2,2: 93:[5, 8] Operation: 24/3=8 Exploring Operation: 3+24=27, Resulting Numbers: [5, 27] Generated Node #0,2,3: 93:[5, 27] Operation: 3+24=27 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[3, 29], Operations: ['42-37=5', '24+5=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,93 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 93:[5, 27], Operations: ['42-37=5', '3+24=27'] Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,93 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 93:[5, 8], Operations: ['42-37=5', '24/3=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 93:[24, 2], Operations: ['42-37=5', '5-3=2'] Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,93 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,93 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: 93:[37, 3, 18], Operations: ['42-24=18'] Exploring Operation: 37-3=34, Resulting Numbers: [18, 34] Generated Node #0,0,0: 93:[18, 34] Operation: 37-3=34 Exploring Operation: 37-18=19, Resulting Numbers: [3, 19] Generated Node #0,0,1: 93:[3, 19] Operation: 37-18=19 Exploring Operation: 3+18=21, Resulting Numbers: [37, 21] Generated Node #0,0,2: 93:[37, 21] Operation: 3+18=21 Exploring Operation: 18/3=6, Resulting Numbers: [37, 6] Generated Node #0,0,3: 93:[37, 6] Operation: 18/3=6 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 93:[37, 6], Operations: ['42-24=18', '18/3=6'] Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,93 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[3, 19], Operations: ['42-24=18', '37-18=19'] Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[18, 34], Operations: ['42-24=18', '37-3=34'] Exploring Operation: 18*34=612, Resulting Numbers: [612] 612,93 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[37, 21], Operations: ['42-24=18', '3+18=21'] Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,93 unequal: No Solution Exploring Operation: 37*21=777, Resulting Numbers: [777] 777,93 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,93 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: 93:[3, 42, 13], Operations: ['37-24=13'] Exploring Operation: 13-3=10, Resulting Numbers: [42, 10] Generated Node #0,3,0: 93:[42, 10] Operation: 13-3=10 Exploring Operation: 3*13=39, Resulting Numbers: [42, 39] Generated Node #0,3,1: 93:[42, 39] Operation: 3*13=39 Exploring Operation: 42-3=39, Resulting Numbers: [13, 39] Generated Node #0,3,2: 93:[13, 39] Operation: 42-3=39 Exploring Operation: 42-13=29, Resulting Numbers: [3, 29] Generated Node #0,3,3: 93:[3, 29] Operation: 42-13=29 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 93:[3, 29], Operations: ['37-24=13', '42-13=29'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,93 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 93:[42, 10], Operations: ['37-24=13', '13-3=10'] Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 42*10=420, Resulting Numbers: [420] 420,93 unequal: No Solution Exploring Operation: 42+10=52, Resulting Numbers: [52] 52,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 93:[13, 39], Operations: ['37-24=13', '42-3=39'] Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,93 unequal: No Solution Exploring Operation: 13*39=507, Resulting Numbers: [507] 507,93 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 93:[42, 39], Operations: ['37-24=13', '3*13=39'] Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 42+39=81, Resulting Numbers: [81] 81,93 unequal: No Solution Exploring Operation: 42*39=1638, Resulting Numbers: [1638] 1638,93 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: 93:[24, 42, 34], Operations: ['37-3=34'] Exploring Operation: 42-34=8, Resulting Numbers: [24, 8] Generated Node #0,1,0: 93:[24, 8] Operation: 42-34=8 Exploring Operation: 42-24=18, Resulting Numbers: [34, 18] Generated Node #0,1,1: 93:[34, 18] Operation: 42-24=18 Exploring Operation: 34-24=10, Resulting Numbers: [42, 10] Generated Node #0,1,2: 93:[42, 10] Operation: 34-24=10 Exploring Operation: 42+34=76, Resulting Numbers: [24, 76] Generated Node #0,1,3: 93:[24, 76] Operation: 42+34=76 Moving to Node #0,1,0 Current State: 93:[24, 8], Operations: ['37-3=34', '42-34=8'] Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 24*8=192, Resulting Numbers: [192] 192,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[34, 18], Operations: ['37-3=34', '42-24=18'] Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,93 unequal: No Solution Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[42, 10], Operations: ['37-3=34', '34-24=10'] Exploring Operation: 42*10=420, Resulting Numbers: [420] 420,93 unequal: No Solution Exploring Operation: 42+10=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[24, 76], Operations: ['37-3=34', '42+34=76'] Exploring Operation: 24*76=1824, Resulting Numbers: [1824] 1824,93 unequal: No Solution Exploring Operation: 24+76=100, Resulting Numbers: [100] 100,93 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,93 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 32, 54, 53, 95 ]
44
[ "32+54=86", "95-53=42", "86-42=44" ]
Current State: 44:[32, 54, 53, 95], Operations: [] Exploring Operation: 32+54=86, Resulting Numbers: [53, 95, 86] Generated Node #2: [53, 95, 86] from Operation: 32+54=86 Current State: 44:[53, 95, 86], Operations: ['32+54=86'] Exploring Operation: 95-53=42, Resulting Numbers: [86, 42] Generated Node #3: [86, 42] from Operation: 95-53=42 Current State: 44:[86, 42], Operations: ['32+54=86', '95-53=42'] Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[32, 54, 53, 95], Operations: [] Exploring Operation: 95-54=41, Resulting Numbers: [32, 53, 41] Generated Node #0,0: 44:[32, 53, 41] Operation: 95-54=41 Exploring Operation: 95-32=63, Resulting Numbers: [54, 53, 63] Generated Node #0,1: 44:[54, 53, 63] Operation: 95-32=63 Exploring Operation: 95-53=42, Resulting Numbers: [32, 54, 42] Generated Node #0,2: 44:[32, 54, 42] Operation: 95-53=42 Exploring Operation: 54-32=22, Resulting Numbers: [53, 95, 22] Generated Node #0,3: 44:[53, 95, 22] Operation: 54-32=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[32, 53, 41], Operations: ['95-54=41'] Exploring Operation: 53-41=12, Resulting Numbers: [32, 12] Generated Node #0,0,0: 44:[32, 12] Operation: 53-41=12 Exploring Operation: 41-32=9, Resulting Numbers: [53, 9] Generated Node #0,0,1: 44:[53, 9] Operation: 41-32=9 Exploring Operation: 53-32=21, Resulting Numbers: [41, 21] Generated Node #0,0,2: 44:[41, 21] Operation: 53-32=21 Exploring Operation: 32+41=73, Resulting Numbers: [53, 73] Generated Node #0,0,3: 44:[53, 73] Operation: 32+41=73 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 44:[41, 21], Operations: ['95-54=41', '53-32=21'] Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,44 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,44 unequal: No Solution No 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: 44:[32, 12], Operations: ['95-54=41', '53-41=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[32, 54, 53, 95], Operations: [] Exploring Operation: 95-54=41, Resulting Numbers: [32, 53, 41] Generated Node #0,0: 44:[32, 53, 41] Operation: 95-54=41 Moving to Node #0,0 Current State: 44:[32, 53, 41], Operations: ['95-54=41'] Exploring Operation: 53-41=12, Resulting Numbers: [32, 12] Generated Node #0,0,0: 44:[32, 12] Operation: 53-41=12 Moving to Node #0,0,0 Current State: 44:[32, 12], Operations: ['95-54=41', '53-41=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 40, 78, 26, 82 ]
38
[ "40*78=3120", "3120/26=120", "120-82=38" ]
Current State: 38:[40, 78, 26, 82], Operations: [] Exploring Operation: 40*78=3120, Resulting Numbers: [26, 82, 3120] Generated Node #2: [26, 82, 3120] from Operation: 40*78=3120 Current State: 38:[26, 82, 3120], Operations: ['40*78=3120'] Exploring Operation: 3120/26=120, Resulting Numbers: [82, 120] Generated Node #3: [82, 120] from Operation: 3120/26=120 Current State: 38:[82, 120], Operations: ['40*78=3120', '3120/26=120'] Exploring Operation: 120-82=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[40, 78, 26, 82], Operations: [] Exploring Operation: 82-78=4, Resulting Numbers: [40, 26, 4] Generated Node #0,0: 38:[40, 26, 4] Operation: 82-78=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[40, 26, 4], Operations: ['82-78=4'] Exploring Operation: 26-4=22, Resulting Numbers: [40, 22] Generated Node #0,0,0: 38:[40, 22] Operation: 26-4=22 Moving to Node #0,0,0 Current State: 38:[40, 22], Operations: ['82-78=4', '26-4=22'] Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,38 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
[ 13, 61, 28, 94 ]
65
[ "61+28=89", "94-89=5", "13*5=65" ]
Current State: 65:[13, 61, 28, 94], Operations: [] Exploring Operation: 61+28=89, Resulting Numbers: [13, 94, 89] Generated Node #2: [13, 94, 89] from Operation: 61+28=89 Current State: 65:[13, 94, 89], Operations: ['61+28=89'] Exploring Operation: 94-89=5, Resulting Numbers: [13, 5] Generated Node #3: [13, 5] from Operation: 94-89=5 Current State: 65:[13, 5], Operations: ['61+28=89', '94-89=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[13, 61, 28, 94], Operations: [] Exploring Operation: 28-13=15, Resulting Numbers: [61, 94, 15] Generated Node #0,0: 65:[61, 94, 15] Operation: 28-13=15 Exploring Operation: 94-28=66, Resulting Numbers: [13, 61, 66] Generated Node #0,1: 65:[13, 61, 66] Operation: 94-28=66 Exploring Operation: 94-13=81, Resulting Numbers: [61, 28, 81] Generated Node #0,2: 65:[61, 28, 81] Operation: 94-13=81 Moving to Node #0,1 Current State: 65:[13, 61, 66], Operations: ['94-28=66'] Exploring Operation: 66-13=53, Resulting Numbers: [61, 53] Generated Node #0,1,0: 65:[61, 53] Operation: 66-13=53 Exploring Operation: 66-61=5, Resulting Numbers: [13, 5] Generated Node #0,1,1: 65:[13, 5] Operation: 66-61=5 Exploring Operation: 13+61=74, Resulting Numbers: [66, 74] Generated Node #0,1,2: 65:[66, 74] Operation: 13+61=74 Moving to Node #0,0 Current State: 65:[61, 94, 15], Operations: ['28-13=15'] Exploring Operation: 61+15=76, Resulting Numbers: [94, 76] Generated Node #0,0,0: 65:[94, 76] Operation: 61+15=76 Exploring Operation: 94-61=33, Resulting Numbers: [15, 33] Generated Node #0,0,1: 65:[15, 33] Operation: 94-61=33 Exploring Operation: 94-15=79, Resulting Numbers: [61, 79] Generated Node #0,0,2: 65:[61, 79] Operation: 94-15=79 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 65:[61, 79], Operations: ['28-13=15', '94-15=79'] Exploring Operation: 61+79=140, Resulting Numbers: [140] 140,65 unequal: No Solution Exploring Operation: 79-61=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 61*79=4819, Resulting Numbers: [4819] 4819,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[15, 33], Operations: ['28-13=15', '94-61=33'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,65 unequal: No Solution Exploring Operation: 15*33=495, Resulting Numbers: [495] 495,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[94, 76], Operations: ['28-13=15', '61+15=76'] Exploring Operation: 94-76=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 94+76=170, Resulting Numbers: [170] 170,65 unequal: No Solution Exploring Operation: 94*76=7144, Resulting Numbers: [7144] 7144,65 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: 65:[61, 28, 81], Operations: ['94-13=81'] Exploring Operation: 61-28=33, Resulting Numbers: [81, 33] Generated Node #0,2,0: 65:[81, 33] Operation: 61-28=33 Exploring Operation: 81-61=20, Resulting Numbers: [28, 20] Generated Node #0,2,1: 65:[28, 20] Operation: 81-61=20 Exploring Operation: 81-28=53, Resulting Numbers: [61, 53] Generated Node #0,2,2: 65:[61, 53] Operation: 81-28=53 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 65:[61, 53], Operations: ['94-13=81', '81-28=53'] Exploring Operation: 61+53=114, Resulting Numbers: [114] 114,65 unequal: No Solution Exploring Operation: 61*53=3233, Resulting Numbers: [3233] 3233,65 unequal: No Solution Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 65:[28, 20], Operations: ['94-13=81', '81-61=20'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 28*20=560, Resulting Numbers: [560] 560,65 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 65:[81, 33], Operations: ['94-13=81', '61-28=33'] Exploring Operation: 81*33=2673, Resulting Numbers: [2673] 2673,65 unequal: No Solution Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,65 unequal: No Solution Exploring Operation: 81+33=114, Resulting Numbers: [114] 114,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 65:[13, 5], Operations: ['94-28=66', '66-61=5'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,65 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[13, 61, 28, 94], Operations: [] Exploring Operation: 94-28=66, Resulting Numbers: [13, 61, 66] Generated Node #0,1: 65:[13, 61, 66] Operation: 94-28=66 Moving to Node #0,1 Current State: 65:[13, 61, 66], Operations: ['94-28=66'] Exploring Operation: 66-61=5, Resulting Numbers: [13, 5] Generated Node #0,1,1: 65:[13, 5] Operation: 66-61=5 Moving to Node #0,1,1 Current State: 65:[13, 5], Operations: ['94-28=66', '66-61=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.967882
hs_3
sum_heuristic
[ 8, 94, 13, 90 ]
10
[ "94+90=184", "184/8=23", "23-13=10" ]
Current State: 10:[8, 94, 13, 90], Operations: [] Exploring Operation: 94+90=184, Resulting Numbers: [8, 13, 184] Generated Node #2: [8, 13, 184] from Operation: 94+90=184 Current State: 10:[8, 13, 184], Operations: ['94+90=184'] Exploring Operation: 184/8=23, Resulting Numbers: [13, 23] Generated Node #3: [13, 23] from Operation: 184/8=23 Current State: 10:[13, 23], Operations: ['94+90=184', '184/8=23'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[8, 94, 13, 90], Operations: [] Exploring Operation: 90-13=77, Resulting Numbers: [8, 94, 77] Generated Node #0,0: 10:[8, 94, 77] Operation: 90-13=77 Exploring Operation: 94-8=86, Resulting Numbers: [13, 90, 86] Generated Node #0,1: 10:[13, 90, 86] Operation: 94-8=86 Exploring Operation: 94-13=81, Resulting Numbers: [8, 90, 81] Generated Node #0,2: 10:[8, 90, 81] Operation: 94-13=81 Exploring Operation: 94-90=4, Resulting Numbers: [8, 13, 4] Generated Node #0,3: 10:[8, 13, 4] Operation: 94-90=4 Exploring Operation: 90-8=82, Resulting Numbers: [94, 13, 82] Generated Node #0,4: 10:[94, 13, 82] Operation: 90-8=82 Moving to Node #0,3 Current State: 10:[8, 13, 4], Operations: ['94-90=4'] Exploring Operation: 8+4=12, Resulting Numbers: [13, 12] Generated Node #0,3,0: 10:[13, 12] Operation: 8+4=12 Exploring Operation: 8-4=4, Resulting Numbers: [13, 4] Generated Node #0,3,1: 10:[13, 4] Operation: 8-4=4 Exploring Operation: 13-8=5, Resulting Numbers: [4, 5] Generated Node #0,3,2: 10:[4, 5] Operation: 13-8=5 Exploring Operation: 8/4=2, Resulting Numbers: [13, 2] Generated Node #0,3,3: 10:[13, 2] Operation: 8/4=2 Exploring Operation: 13-4=9, Resulting Numbers: [8, 9] Generated Node #0,3,4: 10:[8, 9] Operation: 13-4=9 Moving to Node #0,2 Current State: 10:[8, 90, 81], Operations: ['94-13=81'] Exploring Operation: 8+81=89, Resulting Numbers: [90, 89] Generated Node #0,2,0: 10:[90, 89] Operation: 8+81=89 Exploring Operation: 90-8=82, Resulting Numbers: [81, 82] Generated Node #0,2,1: 10:[81, 82] Operation: 90-8=82 Exploring Operation: 81-8=73, Resulting Numbers: [90, 73] Generated Node #0,2,2: 10:[90, 73] Operation: 81-8=73 Exploring Operation: 90-81=9, Resulting Numbers: [8, 9] Generated Node #0,2,3: 10:[8, 9] Operation: 90-81=9 Exploring Operation: 8+90=98, Resulting Numbers: [81, 98] Generated Node #0,2,4: 10:[81, 98] Operation: 8+90=98 Moving to Node #0,0 Current State: 10:[8, 94, 77], Operations: ['90-13=77'] Exploring Operation: 94-8=86, Resulting Numbers: [77, 86] Generated Node #0,0,0: 10:[77, 86] Operation: 94-8=86 Exploring Operation: 94-77=17, Resulting Numbers: [8, 17] Generated Node #0,0,1: 10:[8, 17] Operation: 94-77=17 Exploring Operation: 8+77=85, Resulting Numbers: [94, 85] Generated Node #0,0,2: 10:[94, 85] Operation: 8+77=85 Exploring Operation: 8+94=102, Resulting Numbers: [77, 102] Generated Node #0,0,3: 10:[77, 102] Operation: 8+94=102 Exploring Operation: 77-8=69, Resulting Numbers: [94, 69] Generated Node #0,0,4: 10:[94, 69] Operation: 77-8=69 Moving to Node #0,1 Current State: 10:[13, 90, 86], Operations: ['94-8=86'] Exploring Operation: 13+86=99, Resulting Numbers: [90, 99] Generated Node #0,1,0: 10:[90, 99] Operation: 13+86=99 Exploring Operation: 90-13=77, Resulting Numbers: [86, 77] Generated Node #0,1,1: 10:[86, 77] Operation: 90-13=77 Exploring Operation: 86-13=73, Resulting Numbers: [90, 73] Generated Node #0,1,2: 10:[90, 73] Operation: 86-13=73 Exploring Operation: 13+90=103, Resulting Numbers: [86, 103] Generated Node #0,1,3: 10:[86, 103] Operation: 13+90=103 Exploring Operation: 90-86=4, Resulting Numbers: [13, 4] Generated Node #0,1,4: 10:[13, 4] Operation: 90-86=4 Moving to Node #0,4 Current State: 10:[94, 13, 82], Operations: ['90-8=82'] Exploring Operation: 94-82=12, Resulting Numbers: [13, 12] Generated Node #0,4,0: 10:[13, 12] Operation: 94-82=12 Exploring Operation: 94-13=81, Resulting Numbers: [82, 81] Generated Node #0,4,1: 10:[82, 81] Operation: 94-13=81 Exploring Operation: 94+13=107, Resulting Numbers: [82, 107] Generated Node #0,4,2: 10:[82, 107] Operation: 94+13=107 Exploring Operation: 94+82=176, Resulting Numbers: [13, 176] Generated Node #0,4,3: 10:[13, 176] Operation: 94+82=176 Exploring Operation: 82-13=69, Resulting Numbers: [94, 69] Generated Node #0,4,4: 10:[94, 69] Operation: 82-13=69 Moving to Node #0,3,2 Current State: 10:[4, 5], Operations: ['94-90=4', '13-8=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,10 unequal: No Solution Moving to Node #0,3,4 Current State: 10:[8, 9], Operations: ['94-90=4', '13-4=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,10 unequal: No Solution Moving to Node #0,2,3 Current State: 10:[8, 9], Operations: ['94-13=81', '90-81=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,10 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,10 unequal: No Solution Moving to Node #0,3,3 Current State: 10:[13, 2], Operations: ['94-90=4', '8/4=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,10 unequal: No Solution Moving to Node #0,3,1 Current State: 10:[13, 4], Operations: ['94-90=4', '8-4=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,10 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,10 unequal: No Solution Moving to Node #0,1,4 Current State: 10:[13, 4], Operations: ['94-8=86', '90-86=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,10 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,10 unequal: No Solution Moving to Node #0,3,0 Current State: 10:[13, 12], Operations: ['94-90=4', '8+4=12'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,10 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,10 unequal: No Solution Moving to Node #0,4,0 Current State: 10:[13, 12], Operations: ['90-8=82', '94-82=12'] Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,10 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[8, 17], Operations: ['90-13=77', '94-77=17'] Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[81, 82], Operations: ['94-13=81', '90-8=82'] Exploring Operation: 81*82=6642, Resulting Numbers: [6642] 6642,10 unequal: No Solution Exploring Operation: 81+82=163, Resulting Numbers: [163] 163,10 unequal: No Solution Exploring Operation: 82-81=1, Resulting Numbers: [1] 1,10 unequal: No Solution Moving to Node #0,0,4 Current State: 10:[94, 69], Operations: ['90-13=77', '77-8=69'] Exploring Operation: 94+69=163, Resulting Numbers: [163] 163,10 unequal: No Solution Exploring Operation: 94*69=6486, Resulting Numbers: [6486] 6486,10 unequal: No Solution Exploring Operation: 94-69=25, Resulting Numbers: [25] 25,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[77, 86], Operations: ['90-13=77', '94-8=86'] Exploring Operation: 77*86=6622, Resulting Numbers: [6622] 6622,10 unequal: No Solution Exploring Operation: 77+86=163, Resulting Numbers: [163] 163,10 unequal: No Solution Exploring Operation: 86-77=9, Resulting Numbers: [9] 9,10 unequal: No Solution Moving to Node #0,4,4 Current State: 10:[94, 69], Operations: ['90-8=82', '82-13=69'] Exploring Operation: 94+69=163, Resulting Numbers: [163] 163,10 unequal: No Solution Exploring Operation: 94-69=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 94*69=6486, Resulting Numbers: [6486] 6486,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[90, 73], Operations: ['94-13=81', '81-8=73'] Exploring Operation: 90*73=6570, Resulting Numbers: [6570] 6570,10 unequal: No Solution Exploring Operation: 90+73=163, Resulting Numbers: [163] 163,10 unequal: No Solution Exploring Operation: 90-73=17, Resulting Numbers: [17] 17,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[90, 73], Operations: ['94-8=86', '86-13=73'] Exploring Operation: 90-73=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 90*73=6570, Resulting Numbers: [6570] 6570,10 unequal: No Solution Exploring Operation: 90+73=163, Resulting Numbers: [163] 163,10 unequal: No Solution Moving to Node #0,4,1 Current State: 10:[82, 81], Operations: ['90-8=82', '94-13=81'] Exploring Operation: 82-81=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 82*81=6642, Resulting Numbers: [6642] 6642,10 unequal: No Solution Exploring Operation: 82+81=163, Resulting Numbers: [163] 163,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[86, 77], Operations: ['94-8=86', '90-13=77'] Exploring Operation: 86*77=6622, Resulting Numbers: [6622] 6622,10 unequal: No Solution Exploring Operation: 86-77=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 86+77=163, Resulting Numbers: [163] 163,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[77, 102], Operations: ['90-13=77', '8+94=102'] Exploring Operation: 102-77=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 77*102=7854, Resulting Numbers: [7854] 7854,10 unequal: No Solution Exploring Operation: 77+102=179, Resulting Numbers: [179] 179,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[94, 85], Operations: ['90-13=77', '8+77=85'] Exploring Operation: 94*85=7990, Resulting Numbers: [7990] 7990,10 unequal: No Solution Exploring Operation: 94+85=179, Resulting Numbers: [179] 179,10 unequal: No Solution Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,10 unequal: No Solution Moving to Node #0,2,4 Current State: 10:[81, 98], Operations: ['94-13=81', '8+90=98'] Exploring Operation: 81+98=179, Resulting Numbers: [179] 179,10 unequal: No Solution Exploring Operation: 81*98=7938, Resulting Numbers: [7938] 7938,10 unequal: No Solution Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[90, 89], Operations: ['94-13=81', '8+81=89'] Exploring Operation: 90-89=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 90+89=179, Resulting Numbers: [179] 179,10 unequal: No Solution Exploring Operation: 90*89=8010, Resulting Numbers: [8010] 8010,10 unequal: No Solution Moving to Node #0,4,3 Current State: 10:[13, 176], Operations: ['90-8=82', '94+82=176'] Exploring Operation: 176-13=163, Resulting Numbers: [163] 163,10 unequal: No Solution Exploring Operation: 13*176=2288, Resulting Numbers: [2288] 2288,10 unequal: No Solution Exploring Operation: 13+176=189, Resulting Numbers: [189] 189,10 unequal: No Solution Moving to Node #0,1,3 Current State: 10:[86, 103], Operations: ['94-8=86', '13+90=103'] Exploring Operation: 103-86=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 86+103=189, Resulting Numbers: [189] 189,10 unequal: No Solution Exploring Operation: 86*103=8858, Resulting Numbers: [8858] 8858,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[90, 99], Operations: ['94-8=86', '13+86=99'] Exploring Operation: 99-90=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 90*99=8910, Resulting Numbers: [8910] 8910,10 unequal: No Solution Exploring Operation: 90+99=189, Resulting Numbers: [189] 189,10 unequal: No Solution Moving to Node #0,4,2 Current State: 10:[82, 107], Operations: ['90-8=82', '94+13=107'] Exploring Operation: 82*107=8774, Resulting Numbers: [8774] 8774,10 unequal: No Solution Exploring Operation: 107-82=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 82+107=189, Resulting Numbers: [189] 189,10 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 33, 62, 83, 6 ]
91
[ "62-33=29", "6*29=174", "174-83=91" ]
Current State: 91:[33, 62, 83, 6], Operations: [] Exploring Operation: 62-33=29, Resulting Numbers: [83, 6, 29] Generated Node #2: [83, 6, 29] from Operation: 62-33=29 Current State: 91:[83, 6, 29], Operations: ['62-33=29'] Exploring Operation: 6*29=174, Resulting Numbers: [83, 174] Generated Node #3: [83, 174] from Operation: 6*29=174 Current State: 91:[83, 174], Operations: ['62-33=29', '6*29=174'] Exploring Operation: 174-83=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[33, 62, 83, 6], Operations: [] Exploring Operation: 33+62=95, Resulting Numbers: [83, 6, 95] Generated Node #0,0: 91:[83, 6, 95] Operation: 33+62=95 Moving to Node #0,0 Current State: 91:[83, 6, 95], Operations: ['33+62=95'] Exploring Operation: 95-83=12, Resulting Numbers: [6, 12] Generated Node #0,0,0: 91:[6, 12] Operation: 95-83=12 Moving to Node #0,0,0 Current State: 91:[6, 12], Operations: ['33+62=95', '95-83=12'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,91 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 33, 33, 61, 28 ]
89
[ "33-33=0", "61+28=89", "0+89=89" ]
Current State: 89:[33, 33, 61, 28], Operations: [] Exploring Operation: 33-33=0, Resulting Numbers: [61, 28, 0] Generated Node #2: [61, 28, 0] from Operation: 33-33=0 Current State: 89:[61, 28, 0], Operations: ['33-33=0'] Exploring Operation: 61+28=89, Resulting Numbers: [0, 89] Generated Node #3: [0, 89] from Operation: 61+28=89 Current State: 89:[0, 89], Operations: ['33-33=0', '61+28=89'] Exploring Operation: 0+89=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[33, 33, 61, 28], Operations: [] Exploring Operation: 33+33=66, Resulting Numbers: [61, 28, 66] Generated Node #0,0: 89:[61, 28, 66] Operation: 33+33=66 Exploring Operation: 33+28=61, Resulting Numbers: [33, 61, 61] Generated Node #0,1: 89:[33, 61, 61] Operation: 33+28=61 Exploring Operation: 61+28=89, Resulting Numbers: [33, 33, 89] Generated Node #0,2: 89:[33, 33, 89] Operation: 61+28=89 Exploring Operation: 33+28=61, Resulting Numbers: [33, 61, 61] Generated Node #0,3: 89:[33, 61, 61] Operation: 33+28=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[61, 28, 66], Operations: ['33+33=66'] Exploring Operation: 61+28=89, Resulting Numbers: [66, 89] Generated Node #0,0,0: 89:[66, 89] Operation: 61+28=89 Exploring Operation: 28+66=94, Resulting Numbers: [61, 94] Generated Node #0,0,1: 89:[61, 94] Operation: 28+66=94 Exploring Operation: 61-28=33, Resulting Numbers: [66, 33] Generated Node #0,0,2: 89:[66, 33] Operation: 61-28=33 Exploring Operation: 66-28=38, Resulting Numbers: [61, 38] Generated Node #0,0,3: 89:[61, 38] Operation: 66-28=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[66, 89], Operations: ['33+33=66', '61+28=89'] Exploring Operation: 66+89=155, Resulting Numbers: [155] 155,89 unequal: No Solution Exploring Operation: 66*89=5874, Resulting Numbers: [5874] 5874,89 unequal: No Solution Exploring Operation: 89-66=23, Resulting Numbers: [23] 23,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[61, 94], Operations: ['33+33=66', '28+66=94'] Exploring Operation: 61+94=155, Resulting Numbers: [155] 155,89 unequal: No Solution Exploring Operation: 94-61=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 61*94=5734, Resulting Numbers: [5734] 5734,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 89:[66, 33], Operations: ['33+33=66', '61-28=33'] Exploring Operation: 66*33=2178, Resulting Numbers: [2178] 2178,89 unequal: No Solution Exploring Operation: 66+33=99, Resulting Numbers: [99] 99,89 unequal: No Solution Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 89:[61, 38], Operations: ['33+33=66', '66-28=38'] Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,89 unequal: No Solution Exploring Operation: 61*38=2318, Resulting Numbers: [2318] 2318,89 unequal: No Solution Exploring Operation: 61+38=99, Resulting Numbers: [99] 99,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[33, 61, 61], Operations: ['33+28=61'] Exploring Operation: 61-33=28, Resulting Numbers: [61, 28] Generated Node #0,1,0: 89:[61, 28] Operation: 61-33=28 Exploring Operation: 61-33=28, Resulting Numbers: [61, 28] Generated Node #0,1,1: 89:[61, 28] Operation: 61-33=28 Exploring Operation: 33+61=94, Resulting Numbers: [61, 94] Generated Node #0,1,2: 89:[61, 94] Operation: 33+61=94 Exploring Operation: 33+61=94, Resulting Numbers: [61, 94] Generated Node #0,1,3: 89:[61, 94] Operation: 33+61=94 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 89:[61, 94], Operations: ['33+28=61', '33+61=94'] Exploring Operation: 94-61=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 61*94=5734, Resulting Numbers: [5734] 5734,89 unequal: No Solution Exploring Operation: 61+94=155, Resulting Numbers: [155] 155,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 89:[61, 94], Operations: ['33+28=61', '33+61=94'] Exploring Operation: 61+94=155, Resulting Numbers: [155] 155,89 unequal: No Solution Exploring Operation: 94-61=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 61*94=5734, Resulting Numbers: [5734] 5734,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[61, 28], Operations: ['33+28=61', '61-33=28'] Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[33, 33, 61, 28], Operations: [] Exploring Operation: 33+28=61, Resulting Numbers: [33, 61, 61] Generated Node #0,1: 89:[33, 61, 61] Operation: 33+28=61 Moving to Node #0,1 Current State: 89:[33, 61, 61], Operations: ['33+28=61'] Exploring Operation: 61-33=28, Resulting Numbers: [61, 28] Generated Node #0,1,0: 89:[61, 28] Operation: 61-33=28 Moving to Node #0,1,0 Current State: 89:[61, 28], Operations: ['33+28=61', '61-33=28'] Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 40, 43, 38, 64 ]
85
[ "40-38=2", "64*2=128", "128-43=85" ]
Current State: 85:[40, 43, 38, 64], Operations: [] Exploring Operation: 40-38=2, Resulting Numbers: [43, 64, 2] Generated Node #2: [43, 64, 2] from Operation: 40-38=2 Current State: 85:[43, 64, 2], Operations: ['40-38=2'] Exploring Operation: 64*2=128, Resulting Numbers: [43, 128] Generated Node #3: [43, 128] from Operation: 64*2=128 Current State: 85:[43, 128], Operations: ['40-38=2', '64*2=128'] Exploring Operation: 128-43=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[40, 43, 38, 64], Operations: [] Exploring Operation: 43-40=3, Resulting Numbers: [38, 64, 3] Generated Node #0,0: 85:[38, 64, 3] Operation: 43-40=3 Exploring Operation: 40+43=83, Resulting Numbers: [38, 64, 83] Generated Node #0,1: 85:[38, 64, 83] Operation: 40+43=83 Moving to Node #0,0 Current State: 85:[38, 64, 3], Operations: ['43-40=3'] Exploring Operation: 64-38=26, Resulting Numbers: [3, 26] Generated Node #0,0,0: 85:[3, 26] Operation: 64-38=26 Exploring Operation: 38+64=102, Resulting Numbers: [3, 102] Generated Node #0,0,1: 85:[3, 102] Operation: 38+64=102 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[3, 26], Operations: ['43-40=3', '64-38=26'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,85 unequal: No Solution Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,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,1 Current State: 85:[3, 102], Operations: ['43-40=3', '38+64=102'] Exploring Operation: 102-3=99, Resulting Numbers: [99] 99,85 unequal: No Solution Exploring Operation: 102/3=34, Resulting Numbers: [34] 34,85 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: 85:[38, 64, 83], Operations: ['40+43=83'] Exploring Operation: 38+64=102, Resulting Numbers: [83, 102] Generated Node #0,1,0: 85:[83, 102] Operation: 38+64=102 Exploring Operation: 64-38=26, Resulting Numbers: [83, 26] Generated Node #0,1,1: 85:[83, 26] Operation: 64-38=26 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[83, 26], Operations: ['40+43=83', '64-38=26'] Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 83+26=109, Resulting Numbers: [109] 109,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 85:[83, 102], Operations: ['40+43=83', '38+64=102'] Exploring Operation: 102-83=19, Resulting Numbers: [19] 19,85 unequal: No Solution Exploring Operation: 83+102=185, Resulting Numbers: [185] 185,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 66, 11, 64, 45 ]
25
[ "66/11=6", "64-45=19", "6+19=25" ]
Current State: 25:[66, 11, 64, 45], Operations: [] Exploring Operation: 66/11=6, Resulting Numbers: [64, 45, 6] Generated Node #2: [64, 45, 6] from Operation: 66/11=6 Current State: 25:[64, 45, 6], Operations: ['66/11=6'] Exploring Operation: 64-45=19, Resulting Numbers: [6, 19] Generated Node #3: [6, 19] from Operation: 64-45=19 Current State: 25:[6, 19], Operations: ['66/11=6', '64-45=19'] Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[66, 11, 64, 45], Operations: [] Exploring Operation: 66-45=21, Resulting Numbers: [11, 64, 21] Generated Node #0,0: 25:[11, 64, 21] Operation: 66-45=21 Exploring Operation: 64-45=19, Resulting Numbers: [66, 11, 19] Generated Node #0,1: 25:[66, 11, 19] Operation: 64-45=19 Exploring Operation: 66-64=2, Resulting Numbers: [11, 45, 2] Generated Node #0,2: 25:[11, 45, 2] Operation: 66-64=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[11, 45, 2], Operations: ['66-64=2'] Exploring Operation: 45-11=34, Resulting Numbers: [2, 34] Generated Node #0,2,0: 25:[2, 34] Operation: 45-11=34 Exploring Operation: 11-2=9, Resulting Numbers: [45, 9] Generated Node #0,2,1: 25:[45, 9] Operation: 11-2=9 Exploring Operation: 11*2=22, Resulting Numbers: [45, 22] Generated Node #0,2,2: 25:[45, 22] Operation: 11*2=22 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 25:[2, 34], Operations: ['66-64=2', '45-11=34'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,25 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,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,2,2 Current State: 25:[45, 22], Operations: ['66-64=2', '11*2=22'] Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 45+22=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 45*22=990, Resulting Numbers: [990] 990,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,2,1 Current State: 25:[45, 9], Operations: ['66-64=2', '11-2=9'] Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,25 unequal: No Solution Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,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,0 Current State: 25:[11, 64, 21], Operations: ['66-45=21'] Exploring Operation: 64-11=53, Resulting Numbers: [21, 53] Generated Node #0,0,0: 25:[21, 53] Operation: 64-11=53 Exploring Operation: 64-21=43, Resulting Numbers: [11, 43] Generated Node #0,0,1: 25:[11, 43] Operation: 64-21=43 Exploring Operation: 21-11=10, Resulting Numbers: [64, 10] Generated Node #0,0,2: 25:[64, 10] Operation: 21-11=10 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[11, 43], Operations: ['66-45=21', '64-21=43'] Exploring Operation: 11*43=473, Resulting Numbers: [473] 473,25 unequal: No Solution Exploring Operation: 11+43=54, Resulting Numbers: [54] 54,25 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[21, 53], Operations: ['66-45=21', '64-11=53'] Exploring Operation: 21+53=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 21*53=1113, Resulting Numbers: [1113] 1113,25 unequal: No Solution Exploring Operation: 53-21=32, Resulting Numbers: [32] 32,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:[64, 10], Operations: ['66-45=21', '21-11=10'] Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,25 unequal: No Solution Exploring Operation: 64*10=640, Resulting Numbers: [640] 640,25 unequal: No Solution Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,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:[66, 11, 19], Operations: ['64-45=19'] Exploring Operation: 66/11=6, Resulting Numbers: [19, 6] Generated Node #0,1,0: 25:[19, 6] Operation: 66/11=6 Exploring Operation: 66-11=55, Resulting Numbers: [19, 55] Generated Node #0,1,1: 25:[19, 55] Operation: 66-11=55 Exploring Operation: 66-19=47, Resulting Numbers: [11, 47] Generated Node #0,1,2: 25:[11, 47] Operation: 66-19=47 Moving to Node #0,1,0 Current State: 25:[19, 6], Operations: ['64-45=19', '66/11=6'] Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,25 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[66, 11, 64, 45], Operations: [] Exploring Operation: 64-45=19, Resulting Numbers: [66, 11, 19] Generated Node #0,1: 25:[66, 11, 19] Operation: 64-45=19 Moving to Node #0,1 Current State: 25:[66, 11, 19], Operations: ['64-45=19'] Exploring Operation: 66/11=6, Resulting Numbers: [19, 6] Generated Node #0,1,0: 25:[19, 6] Operation: 66/11=6 Moving to Node #0,1,0 Current State: 25:[19, 6], Operations: ['64-45=19', '66/11=6'] Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
mult_heuristic
[ 4, 2, 92, 94 ]
91
[ "92-4=88", "94+88=182", "182/2=91" ]
Current State: 91:[4, 2, 92, 94], Operations: [] Exploring Operation: 92-4=88, Resulting Numbers: [2, 94, 88] Generated Node #2: [2, 94, 88] from Operation: 92-4=88 Current State: 91:[2, 94, 88], Operations: ['92-4=88'] Exploring Operation: 94+88=182, Resulting Numbers: [2, 182] Generated Node #3: [2, 182] from Operation: 94+88=182 Current State: 91:[2, 182], Operations: ['92-4=88', '94+88=182'] Exploring Operation: 182/2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[4, 2, 92, 94], Operations: [] Exploring Operation: 4+2=6, Resulting Numbers: [92, 94, 6] Generated Node #0,0: 91:[92, 94, 6] Operation: 4+2=6 Exploring Operation: 4*2=8, Resulting Numbers: [92, 94, 8] Generated Node #0,1: 91:[92, 94, 8] Operation: 4*2=8 Moving to Node #0,0 Current State: 91:[92, 94, 6], Operations: ['4+2=6'] Exploring Operation: 94-92=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 91:[6, 2] Operation: 94-92=2 Exploring Operation: 94-6=88, Resulting Numbers: [92, 88] Generated Node #0,0,1: 91:[92, 88] Operation: 94-6=88 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[92, 88], Operations: ['4+2=6', '94-6=88'] Exploring Operation: 92-88=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 92+88=180, Resulting Numbers: [180] 180,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[6, 2], Operations: ['4+2=6', '94-92=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,91 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: 91:[92, 94, 8], Operations: ['4*2=8'] Exploring Operation: 94-92=2, Resulting Numbers: [8, 2] Generated Node #0,1,0: 91:[8, 2] Operation: 94-92=2 Exploring Operation: 94-8=86, Resulting Numbers: [92, 86] Generated Node #0,1,1: 91:[92, 86] Operation: 94-8=86 Moving to Node #0,1,0 Current State: 91:[8, 2], Operations: ['4*2=8', '94-92=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[92, 86], Operations: ['4*2=8', '94-8=86'] Exploring Operation: 92-86=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 92+86=178, Resulting Numbers: [178] 178,91 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 24, 36, 51, 30 ]
33
[ "36-24=12", "51-30=21", "12+21=33" ]
Current State: 33:[24, 36, 51, 30], Operations: [] Exploring Operation: 36-24=12, Resulting Numbers: [51, 30, 12] Generated Node #2: [51, 30, 12] from Operation: 36-24=12 Current State: 33:[51, 30, 12], Operations: ['36-24=12'] Exploring Operation: 51-30=21, Resulting Numbers: [12, 21] Generated Node #3: [12, 21] from Operation: 51-30=21 Current State: 33:[12, 21], Operations: ['36-24=12', '51-30=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[24, 36, 51, 30], Operations: [] Exploring Operation: 51-24=27, Resulting Numbers: [36, 30, 27] Generated Node #0,0: 33:[36, 30, 27] Operation: 51-24=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[36, 30, 27], Operations: ['51-24=27'] Exploring Operation: 30-27=3, Resulting Numbers: [36, 3] Generated Node #0,0,0: 33:[36, 3] Operation: 30-27=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[36, 3], Operations: ['51-24=27', '30-27=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[24, 36, 51, 30], Operations: [] Exploring Operation: 51-24=27, Resulting Numbers: [36, 30, 27] Generated Node #0,0: 33:[36, 30, 27] Operation: 51-24=27 Moving to Node #0,0 Current State: 33:[36, 30, 27], Operations: ['51-24=27'] Exploring Operation: 30-27=3, Resulting Numbers: [36, 3] Generated Node #0,0,0: 33:[36, 3] Operation: 30-27=3 Moving to Node #0,0,0 Current State: 33:[36, 3], Operations: ['51-24=27', '30-27=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 16, 80, 2, 34 ]
28
[ "16+80=96", "2*34=68", "96-68=28" ]
Current State: 28:[16, 80, 2, 34], Operations: [] Exploring Operation: 16+80=96, Resulting Numbers: [2, 34, 96] Generated Node #2: [2, 34, 96] from Operation: 16+80=96 Current State: 28:[2, 34, 96], Operations: ['16+80=96'] Exploring Operation: 2*34=68, Resulting Numbers: [96, 68] Generated Node #3: [96, 68] from Operation: 2*34=68 Current State: 28:[96, 68], Operations: ['16+80=96', '2*34=68'] Exploring Operation: 96-68=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[16, 80, 2, 34], Operations: [] Exploring Operation: 80/2=40, Resulting Numbers: [16, 34, 40] Generated Node #0,0: 28:[16, 34, 40] Operation: 80/2=40 Exploring Operation: 80-34=46, Resulting Numbers: [16, 2, 46] Generated Node #0,1: 28:[16, 2, 46] Operation: 80-34=46 Exploring Operation: 80/16=5, Resulting Numbers: [2, 34, 5] Generated Node #0,2: 28:[2, 34, 5] Operation: 80/16=5 Moving to Node #0,2 Current State: 28:[2, 34, 5], Operations: ['80/16=5'] Exploring Operation: 34-2=32, Resulting Numbers: [5, 32] Generated Node #0,2,0: 28:[5, 32] Operation: 34-2=32 Exploring Operation: 34/2=17, Resulting Numbers: [5, 17] Generated Node #0,2,1: 28:[5, 17] Operation: 34/2=17 Exploring Operation: 34-5=29, Resulting Numbers: [2, 29] Generated Node #0,2,2: 28:[2, 29] Operation: 34-5=29 Moving to Node #0,0 Current State: 28:[16, 34, 40], Operations: ['80/2=40'] Exploring Operation: 34-16=18, Resulting Numbers: [40, 18] Generated Node #0,0,0: 28:[40, 18] Operation: 34-16=18 Exploring Operation: 40-34=6, Resulting Numbers: [16, 6] Generated Node #0,0,1: 28:[16, 6] Operation: 40-34=6 Exploring Operation: 40-16=24, Resulting Numbers: [34, 24] Generated Node #0,0,2: 28:[34, 24] Operation: 40-16=24 Moving to Node #0,1 Current State: 28:[16, 2, 46], Operations: ['80-34=46'] Exploring Operation: 46/2=23, Resulting Numbers: [16, 23] Generated Node #0,1,0: 28:[16, 23] Operation: 46/2=23 Exploring Operation: 46-16=30, Resulting Numbers: [2, 30] Generated Node #0,1,1: 28:[2, 30] Operation: 46-16=30 Exploring Operation: 16-2=14, Resulting Numbers: [46, 14] Generated Node #0,1,2: 28:[46, 14] Operation: 16-2=14 Moving to Node #0,2,2 Current State: 28:[2, 29], Operations: ['80/16=5', '34-5=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,28 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[2, 30], Operations: ['80-34=46', '46-16=30'] Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,28 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[16, 80, 2, 34], Operations: [] Exploring Operation: 80-34=46, Resulting Numbers: [16, 2, 46] Generated Node #0,1: 28:[16, 2, 46] Operation: 80-34=46 Moving to Node #0,1 Current State: 28:[16, 2, 46], Operations: ['80-34=46'] Exploring Operation: 46-16=30, Resulting Numbers: [2, 30] Generated Node #0,1,1: 28:[2, 30] Operation: 46-16=30 Moving to Node #0,1,1 Current State: 28:[2, 30], Operations: ['80-34=46', '46-16=30'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.981771
hs_3
sum_heuristic
[ 19, 40, 27, 97 ]
30
[ "97-40=57", "57/19=3", "27+3=30" ]
Current State: 30:[19, 40, 27, 97], Operations: [] Exploring Operation: 97-40=57, Resulting Numbers: [19, 27, 57] Generated Node #2: [19, 27, 57] from Operation: 97-40=57 Current State: 30:[19, 27, 57], Operations: ['97-40=57'] Exploring Operation: 57/19=3, Resulting Numbers: [27, 3] Generated Node #3: [27, 3] from Operation: 57/19=3 Current State: 30:[27, 3], Operations: ['97-40=57', '57/19=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[19, 40, 27, 97], Operations: [] Exploring Operation: 97-19=78, Resulting Numbers: [40, 27, 78] Generated Node #0,0: 30:[40, 27, 78] Operation: 97-19=78 Exploring Operation: 97-40=57, Resulting Numbers: [19, 27, 57] Generated Node #0,1: 30:[19, 27, 57] Operation: 97-40=57 Exploring Operation: 97-27=70, Resulting Numbers: [19, 40, 70] Generated Node #0,2: 30:[19, 40, 70] Operation: 97-27=70 Moving to Node #0,1 Current State: 30:[19, 27, 57], Operations: ['97-40=57'] Exploring Operation: 57-27=30, Resulting Numbers: [19, 30] Generated Node #0,1,0: 30:[19, 30] Operation: 57-27=30 Exploring Operation: 57/19=3, Resulting Numbers: [27, 3] Generated Node #0,1,1: 30:[27, 3] Operation: 57/19=3 Exploring Operation: 57-19=38, Resulting Numbers: [27, 38] Generated Node #0,1,2: 30:[27, 38] Operation: 57-19=38 Moving to Node #0,2 Current State: 30:[19, 40, 70], Operations: ['97-27=70'] Exploring Operation: 70-40=30, Resulting Numbers: [19, 30] Generated Node #0,2,0: 30:[19, 30] Operation: 70-40=30 Exploring Operation: 70-19=51, Resulting Numbers: [40, 51] Generated Node #0,2,1: 30:[40, 51] Operation: 70-19=51 Exploring Operation: 40-19=21, Resulting Numbers: [70, 21] Generated Node #0,2,2: 30:[70, 21] Operation: 40-19=21 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 30:[19, 30], Operations: ['97-27=70', '70-40=30'] Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,30 unequal: No Solution Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,30 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[40, 51], Operations: ['97-27=70', '70-19=51'] Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 40*51=2040, Resulting Numbers: [2040] 2040,30 unequal: No Solution Exploring Operation: 40+51=91, Resulting Numbers: [91] 91,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[70, 21], Operations: ['97-27=70', '40-19=21'] Exploring Operation: 70*21=1470, Resulting Numbers: [1470] 1470,30 unequal: No Solution Exploring Operation: 70+21=91, Resulting Numbers: [91] 91,30 unequal: No Solution Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,30 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: 30:[40, 27, 78], Operations: ['97-19=78'] Exploring Operation: 40-27=13, Resulting Numbers: [78, 13] Generated Node #0,0,0: 30:[78, 13] Operation: 40-27=13 Exploring Operation: 78-27=51, Resulting Numbers: [40, 51] Generated Node #0,0,1: 30:[40, 51] Operation: 78-27=51 Exploring Operation: 78-40=38, Resulting Numbers: [27, 38] Generated Node #0,0,2: 30:[27, 38] Operation: 78-40=38 Moving to Node #0,1,1 Current State: 30:[27, 3], Operations: ['97-40=57', '57/19=3'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[19, 40, 27, 97], Operations: [] Exploring Operation: 97-40=57, Resulting Numbers: [19, 27, 57] Generated Node #0,1: 30:[19, 27, 57] Operation: 97-40=57 Moving to Node #0,1 Current State: 30:[19, 27, 57], Operations: ['97-40=57'] Exploring Operation: 57/19=3, Resulting Numbers: [27, 3] Generated Node #0,1,1: 30:[27, 3] Operation: 57/19=3 Moving to Node #0,1,1 Current State: 30:[27, 3], Operations: ['97-40=57', '57/19=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.976563
hs_3
sum_heuristic
[ 64, 17, 45, 37 ]
74
[ "64-17=47", "47-45=2", "37*2=74" ]
Current State: 74:[64, 17, 45, 37], Operations: [] Exploring Operation: 64-17=47, Resulting Numbers: [45, 37, 47] Generated Node #2: [45, 37, 47] from Operation: 64-17=47 Current State: 74:[45, 37, 47], Operations: ['64-17=47'] Exploring Operation: 47-45=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 47-45=2 Current State: 74:[37, 2], Operations: ['64-17=47', '47-45=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[64, 17, 45, 37], Operations: [] Exploring Operation: 64-17=47, Resulting Numbers: [45, 37, 47] Generated Node #0,0: 74:[45, 37, 47] Operation: 64-17=47 Exploring Operation: 64+17=81, Resulting Numbers: [45, 37, 81] Generated Node #0,1: 74:[45, 37, 81] Operation: 64+17=81 Exploring Operation: 45-17=28, Resulting Numbers: [64, 37, 28] Generated Node #0,2: 74:[64, 37, 28] Operation: 45-17=28 Exploring Operation: 17+45=62, Resulting Numbers: [64, 37, 62] Generated Node #0,3: 74:[64, 37, 62] Operation: 17+45=62 Exploring Operation: 45-37=8, Resulting Numbers: [64, 17, 8] Generated Node #0,4: 74:[64, 17, 8] Operation: 45-37=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[45, 37, 81], Operations: ['64+17=81'] Exploring Operation: 81-37=44, Resulting Numbers: [45, 44] Generated Node #0,1,0: 74:[45, 44] Operation: 81-37=44 Exploring Operation: 81-45=36, Resulting Numbers: [37, 36] Generated Node #0,1,1: 74:[37, 36] Operation: 81-45=36 Exploring Operation: 45+37=82, Resulting Numbers: [81, 82] Generated Node #0,1,2: 74:[81, 82] Operation: 45+37=82 Exploring Operation: 45-37=8, Resulting Numbers: [81, 8] Generated Node #0,1,3: 74:[81, 8] Operation: 45-37=8 Exploring Operation: 45+81=126, Resulting Numbers: [37, 126] Generated Node #0,1,4: 74:[37, 126] Operation: 45+81=126 Moving to Node #0,1,1 Current State: 74:[37, 36], Operations: ['64+17=81', '81-45=36'] Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 37+36=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 37*36=1332, Resulting Numbers: [1332] 1332,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[81, 8], Operations: ['64+17=81', '45-37=8'] Exploring Operation: 81+8=89, Resulting Numbers: [89] 89,74 unequal: No Solution Exploring Operation: 81*8=648, Resulting Numbers: [648] 648,74 unequal: No Solution Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[45, 44], Operations: ['64+17=81', '81-37=44'] Exploring Operation: 45+44=89, Resulting Numbers: [89] 89,74 unequal: No Solution Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 45*44=1980, Resulting Numbers: [1980] 1980,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[81, 82], Operations: ['64+17=81', '45+37=82'] Exploring Operation: 81+82=163, Resulting Numbers: [163] 163,74 unequal: No Solution Exploring Operation: 82-81=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 81*82=6642, Resulting Numbers: [6642] 6642,74 unequal: No Solution Moving to Node #0,1,4 Current State: 74:[37, 126], Operations: ['64+17=81', '45+81=126'] Exploring Operation: 126-37=89, Resulting Numbers: [89] 89,74 unequal: No Solution Exploring Operation: 37*126=4662, Resulting Numbers: [4662] 4662,74 unequal: No Solution Exploring Operation: 37+126=163, Resulting Numbers: [163] 163,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,0 Current State: 74:[45, 37, 47], Operations: ['64-17=47'] Exploring Operation: 47-45=2, Resulting Numbers: [37, 2] Generated Node #0,0,0: 74:[37, 2] Operation: 47-45=2 Exploring Operation: 45-37=8, Resulting Numbers: [47, 8] Generated Node #0,0,1: 74:[47, 8] Operation: 45-37=8 Exploring Operation: 47-37=10, Resulting Numbers: [45, 10] Generated Node #0,0,2: 74:[45, 10] Operation: 47-37=10 Exploring Operation: 45+37=82, Resulting Numbers: [47, 82] Generated Node #0,0,3: 74:[47, 82] Operation: 45+37=82 Exploring Operation: 45+47=92, Resulting Numbers: [37, 92] Generated Node #0,0,4: 74:[37, 92] Operation: 45+47=92 Moving to Node #0,0,0 Current State: 74:[37, 2], Operations: ['64-17=47', '47-45=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[64, 17, 45, 37], Operations: [] Exploring Operation: 64-17=47, Resulting Numbers: [45, 37, 47] Generated Node #0,0: 74:[45, 37, 47] Operation: 64-17=47 Moving to Node #0,0 Current State: 74:[45, 37, 47], Operations: ['64-17=47'] Exploring Operation: 47-45=2, Resulting Numbers: [37, 2] Generated Node #0,0,0: 74:[37, 2] Operation: 47-45=2 Moving to Node #0,0,0 Current State: 74:[37, 2], Operations: ['64-17=47', '47-45=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 6, 37, 31, 32 ]
20
[ "6+37=43", "31+32=63", "63-43=20" ]
Current State: 20:[6, 37, 31, 32], Operations: [] Exploring Operation: 6+37=43, Resulting Numbers: [31, 32, 43] Generated Node #2: [31, 32, 43] from Operation: 6+37=43 Current State: 20:[31, 32, 43], Operations: ['6+37=43'] Exploring Operation: 31+32=63, Resulting Numbers: [43, 63] Generated Node #3: [43, 63] from Operation: 31+32=63 Current State: 20:[43, 63], Operations: ['6+37=43', '31+32=63'] Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[6, 37, 31, 32], Operations: [] Exploring Operation: 37-32=5, Resulting Numbers: [6, 31, 5] Generated Node #0,0: 20:[6, 31, 5] Operation: 37-32=5 Exploring Operation: 37-31=6, Resulting Numbers: [6, 32, 6] Generated Node #0,1: 20:[6, 32, 6] Operation: 37-31=6 Moving to Node #0,0 Current State: 20:[6, 31, 5], Operations: ['37-32=5'] Exploring Operation: 31-5=26, Resulting Numbers: [6, 26] Generated Node #0,0,0: 20:[6, 26] Operation: 31-5=26 Exploring Operation: 31-6=25, Resulting Numbers: [5, 25] Generated Node #0,0,1: 20:[5, 25] Operation: 31-6=25 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[5, 25], Operations: ['37-32=5', '31-6=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[6, 37, 31, 32], Operations: [] Exploring Operation: 37-32=5, Resulting Numbers: [6, 31, 5] Generated Node #0,0: 20:[6, 31, 5] Operation: 37-32=5 Moving to Node #0,0 Current State: 20:[6, 31, 5], Operations: ['37-32=5'] Exploring Operation: 31-6=25, Resulting Numbers: [5, 25] Generated Node #0,0,1: 20:[5, 25] Operation: 31-6=25 Moving to Node #0,0,1 Current State: 20:[5, 25], Operations: ['37-32=5', '31-6=25'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 80, 43, 84, 20 ]
92
[ "84-80=4", "43-20=23", "4*23=92" ]
Current State: 92:[80, 43, 84, 20], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [43, 20, 4] Generated Node #2: [43, 20, 4] from Operation: 84-80=4 Current State: 92:[43, 20, 4], Operations: ['84-80=4'] Exploring Operation: 43-20=23, Resulting Numbers: [4, 23] Generated Node #3: [4, 23] from Operation: 43-20=23 Current State: 92:[4, 23], Operations: ['84-80=4', '43-20=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[80, 43, 84, 20], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [43, 20, 4] Generated Node #0,0: 92:[43, 20, 4] Operation: 84-80=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[43, 20, 4], Operations: ['84-80=4'] Exploring Operation: 43-20=23, Resulting Numbers: [4, 23] Generated Node #0,0,0: 92:[4, 23] Operation: 43-20=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[4, 23], Operations: ['84-80=4', '43-20=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[80, 43, 84, 20], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [43, 20, 4] Generated Node #0,0: 92:[43, 20, 4] Operation: 84-80=4 Moving to Node #0,0 Current State: 92:[43, 20, 4], Operations: ['84-80=4'] Exploring Operation: 43-20=23, Resulting Numbers: [4, 23] Generated Node #0,0,0: 92:[4, 23] Operation: 43-20=23 Moving to Node #0,0,0 Current State: 92:[4, 23], Operations: ['84-80=4', '43-20=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic