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
[ 30, 29, 78, 32 ]
47
[ "30-29=1", "78-32=46", "1+46=47" ]
Current State: 47:[30, 29, 78, 32], Operations: [] Exploring Operation: 30-29=1, Resulting Numbers: [78, 32, 1] Generated Node #2: [78, 32, 1] from Operation: 30-29=1 Current State: 47:[78, 32, 1], Operations: ['30-29=1'] Exploring Operation: 78-32=46, Resulting Numbers: [1, 46] Generated Node #3: [1, 46] from Operation: 78-32=46 Current State: 47:[1, 46], Operations: ['30-29=1', '78-32=46'] Exploring Operation: 1+46=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[30, 29, 78, 32], Operations: [] Exploring Operation: 78-32=46, Resulting Numbers: [30, 29, 46] Generated Node #0,0: 47:[30, 29, 46] Operation: 78-32=46 Exploring Operation: 78-30=48, Resulting Numbers: [29, 32, 48] Generated Node #0,1: 47:[29, 32, 48] Operation: 78-30=48 Exploring Operation: 78-29=49, Resulting Numbers: [30, 32, 49] Generated Node #0,2: 47:[30, 32, 49] Operation: 78-29=49 Moving to Node #0,1 Current State: 47:[29, 32, 48], Operations: ['78-30=48'] Exploring Operation: 32-29=3, Resulting Numbers: [48, 3] Generated Node #0,1,0: 47:[48, 3] Operation: 32-29=3 Exploring Operation: 48-29=19, Resulting Numbers: [32, 19] Generated Node #0,1,1: 47:[32, 19] Operation: 48-29=19 Exploring Operation: 29+32=61, Resulting Numbers: [48, 61] Generated Node #0,1,2: 47:[48, 61] Operation: 29+32=61 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[48, 61], Operations: ['78-30=48', '29+32=61'] Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,47 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[32, 19], Operations: ['78-30=48', '48-29=19'] Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 32*19=608, Resulting Numbers: [608] 608,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[48, 3], Operations: ['78-30=48', '32-29=3'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,47 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: 47:[30, 32, 49], Operations: ['78-29=49'] Exploring Operation: 49-30=19, Resulting Numbers: [32, 19] Generated Node #0,2,0: 47:[32, 19] Operation: 49-30=19 Exploring Operation: 32-30=2, Resulting Numbers: [49, 2] Generated Node #0,2,1: 47:[49, 2] Operation: 32-30=2 Exploring Operation: 30+32=62, Resulting Numbers: [49, 62] Generated Node #0,2,2: 47:[49, 62] Operation: 30+32=62 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[49, 62], Operations: ['78-29=49', '30+32=62'] Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 49*62=3038, Resulting Numbers: [3038] 3038,47 unequal: No Solution Exploring Operation: 49+62=111, Resulting Numbers: [111] 111,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[32, 19], Operations: ['78-29=49', '49-30=19'] Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 32*19=608, Resulting Numbers: [608] 608,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[49, 2], Operations: ['78-29=49', '32-30=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,47 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[30, 29, 78, 32], Operations: [] Exploring Operation: 78-29=49, Resulting Numbers: [30, 32, 49] Generated Node #0,2: 47:[30, 32, 49] Operation: 78-29=49 Moving to Node #0,2 Current State: 47:[30, 32, 49], Operations: ['78-29=49'] Exploring Operation: 32-30=2, Resulting Numbers: [49, 2] Generated Node #0,2,1: 47:[49, 2] Operation: 32-30=2 Moving to Node #0,2,1 Current State: 47:[49, 2], Operations: ['78-29=49', '32-30=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
sum_heuristic
[ 9, 31, 65, 12 ]
99
[ "31-9=22", "65+12=77", "22+77=99" ]
Current State: 99:[9, 31, 65, 12], Operations: [] Exploring Operation: 31-9=22, Resulting Numbers: [65, 12, 22] Generated Node #2: [65, 12, 22] from Operation: 31-9=22 Current State: 99:[65, 12, 22], Operations: ['31-9=22'] Exploring Operation: 65+12=77, Resulting Numbers: [22, 77] Generated Node #3: [22, 77] from Operation: 65+12=77 Current State: 99:[22, 77], Operations: ['31-9=22', '65+12=77'] Exploring Operation: 22+77=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[9, 31, 65, 12], Operations: [] Exploring Operation: 65-31=34, Resulting Numbers: [9, 12, 34] Generated Node #0,0: 99:[9, 12, 34] Operation: 65-31=34 Exploring Operation: 31+65=96, Resulting Numbers: [9, 12, 96] Generated Node #0,1: 99:[9, 12, 96] Operation: 31+65=96 Moving to Node #0,0 Current State: 99:[9, 12, 34], Operations: ['65-31=34'] Exploring Operation: 34-9=25, Resulting Numbers: [12, 25] Generated Node #0,0,0: 99:[12, 25] Operation: 34-9=25 Exploring Operation: 12-9=3, Resulting Numbers: [34, 3] Generated Node #0,0,1: 99:[34, 3] Operation: 12-9=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[34, 3], Operations: ['65-31=34', '12-9=3'] Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,99 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[12, 25], Operations: ['65-31=34', '34-9=25'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,99 unequal: No Solution Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 99:[9, 12, 96], Operations: ['31+65=96'] Exploring Operation: 12-9=3, Resulting Numbers: [96, 3] Generated Node #0,1,0: 99:[96, 3] Operation: 12-9=3 Exploring Operation: 96/12=8, Resulting Numbers: [9, 8] Generated Node #0,1,1: 99:[9, 8] Operation: 96/12=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 99:[9, 8], Operations: ['31+65=96', '96/12=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,99 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 99:[96, 3], Operations: ['31+65=96', '12-9=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[9, 31, 65, 12], Operations: [] Exploring Operation: 31+65=96, Resulting Numbers: [9, 12, 96] Generated Node #0,1: 99:[9, 12, 96] Operation: 31+65=96 Moving to Node #0,1 Current State: 99:[9, 12, 96], Operations: ['31+65=96'] Exploring Operation: 12-9=3, Resulting Numbers: [96, 3] Generated Node #0,1,0: 99:[96, 3] Operation: 12-9=3 Moving to Node #0,1,0 Current State: 99:[96, 3], Operations: ['31+65=96', '12-9=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 18, 1, 9, 11 ]
80
[ "18+1=19", "9*11=99", "99-19=80" ]
Current State: 80:[18, 1, 9, 11], Operations: [] Exploring Operation: 18+1=19, Resulting Numbers: [9, 11, 19] Generated Node #2: [9, 11, 19] from Operation: 18+1=19 Current State: 80:[9, 11, 19], Operations: ['18+1=19'] Exploring Operation: 9*11=99, Resulting Numbers: [19, 99] Generated Node #3: [19, 99] from Operation: 9*11=99 Current State: 80:[19, 99], Operations: ['18+1=19', '9*11=99'] Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[18, 1, 9, 11], Operations: [] Exploring Operation: 18+1=19, Resulting Numbers: [9, 11, 19] Generated Node #0,0: 80:[9, 11, 19] Operation: 18+1=19 Exploring Operation: 18-1=17, Resulting Numbers: [9, 11, 17] Generated Node #0,1: 80:[9, 11, 17] Operation: 18-1=17 Exploring Operation: 18/9=2, Resulting Numbers: [1, 11, 2] Generated Node #0,2: 80:[1, 11, 2] Operation: 18/9=2 Exploring Operation: 18-9=9, Resulting Numbers: [1, 11, 9] Generated Node #0,3: 80:[1, 11, 9] Operation: 18-9=9 Moving to Node #0,2 Current State: 80:[1, 11, 2], Operations: ['18/9=2'] Exploring Operation: 1*11=11, Resulting Numbers: [2, 11] Generated Node #0,2,0: 80:[2, 11] Operation: 1*11=11 Exploring Operation: 11/1=11, Resulting Numbers: [2, 11] Generated Node #0,2,1: 80:[2, 11] Operation: 11/1=11 Exploring Operation: 1*2=2, Resulting Numbers: [11, 2] Generated Node #0,2,2: 80:[11, 2] Operation: 1*2=2 Exploring Operation: 11-1=10, Resulting Numbers: [2, 10] Generated Node #0,2,3: 80:[2, 10] Operation: 11-1=10 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 80:[2, 10], Operations: ['18/9=2', '11-1=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 80:[2, 11], Operations: ['18/9=2', '1*11=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 80:[2, 11], Operations: ['18/9=2', '11/1=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,80 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[11, 2], Operations: ['18/9=2', '1*2=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,80 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 80:[9, 11, 17], Operations: ['18-1=17'] Exploring Operation: 9+11=20, Resulting Numbers: [17, 20] Generated Node #0,1,0: 80:[17, 20] Operation: 9+11=20 Exploring Operation: 11-9=2, Resulting Numbers: [17, 2] Generated Node #0,1,1: 80:[17, 2] Operation: 11-9=2 Exploring Operation: 17-11=6, Resulting Numbers: [9, 6] Generated Node #0,1,2: 80:[9, 6] Operation: 17-11=6 Exploring Operation: 17-9=8, Resulting Numbers: [11, 8] Generated Node #0,1,3: 80:[11, 8] Operation: 17-9=8 Moving to Node #0,0 Current State: 80:[9, 11, 19], Operations: ['18+1=19'] Exploring Operation: 19-9=10, Resulting Numbers: [11, 10] Generated Node #0,0,0: 80:[11, 10] Operation: 19-9=10 Exploring Operation: 19-11=8, Resulting Numbers: [9, 8] Generated Node #0,0,1: 80:[9, 8] Operation: 19-11=8 Exploring Operation: 11-9=2, Resulting Numbers: [19, 2] Generated Node #0,0,2: 80:[19, 2] Operation: 11-9=2 Exploring Operation: 9+11=20, Resulting Numbers: [19, 20] Generated Node #0,0,3: 80:[19, 20] Operation: 9+11=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[11, 10], Operations: ['18+1=19', '19-9=10'] Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,80 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[9, 8], Operations: ['18+1=19', '19-11=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[19, 2], Operations: ['18+1=19', '11-9=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,80 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 80:[19, 20], Operations: ['18+1=19', '9+11=20'] Exploring Operation: 19+20=39, Resulting Numbers: [39] 39,80 unequal: No Solution Exploring Operation: 19*20=380, Resulting Numbers: [380] 380,80 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,80 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: 80:[1, 11, 9], Operations: ['18-9=9'] Exploring Operation: 11-1=10, Resulting Numbers: [9, 10] Generated Node #0,3,0: 80:[9, 10] Operation: 11-1=10 Exploring Operation: 11+9=20, Resulting Numbers: [1, 20] Generated Node #0,3,1: 80:[1, 20] Operation: 11+9=20 Exploring Operation: 1+9=10, Resulting Numbers: [11, 10] Generated Node #0,3,2: 80:[11, 10] Operation: 1+9=10 Exploring Operation: 9-1=8, Resulting Numbers: [11, 8] Generated Node #0,3,3: 80:[11, 8] Operation: 9-1=8 Moving to Node #0,1,0 Current State: 80:[17, 20], Operations: ['18-1=17', '9+11=20'] Exploring Operation: 17*20=340, Resulting Numbers: [340] 340,80 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[11, 8], Operations: ['18-1=17', '17-9=8'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,80 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[11, 10], Operations: ['18-9=9', '1+9=10'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,80 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[1, 20], Operations: ['18-9=9', '11+9=20'] Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 1+20=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[17, 2], Operations: ['18-1=17', '11-9=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,80 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[11, 8], Operations: ['18-9=9', '9-1=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,80 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[9, 10], Operations: ['18-9=9', '11-1=10'] Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,80 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[9, 6], Operations: ['18-1=17', '17-11=6'] Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,80 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 5, 40, 9, 57 ]
52
[ "5+40=45", "45/9=5", "57-5=52" ]
Current State: 52:[5, 40, 9, 57], Operations: [] Exploring Operation: 5+40=45, Resulting Numbers: [9, 57, 45] Generated Node #2: [9, 57, 45] from Operation: 5+40=45 Current State: 52:[9, 57, 45], Operations: ['5+40=45'] Exploring Operation: 45/9=5, Resulting Numbers: [57, 5] Generated Node #3: [57, 5] from Operation: 45/9=5 Current State: 52:[57, 5], Operations: ['5+40=45', '45/9=5'] Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[5, 40, 9, 57], Operations: [] Exploring Operation: 40/5=8, Resulting Numbers: [9, 57, 8] Generated Node #0,0: 52:[9, 57, 8] Operation: 40/5=8 Exploring Operation: 40-9=31, Resulting Numbers: [5, 57, 31] Generated Node #0,1: 52:[5, 57, 31] Operation: 40-9=31 Exploring Operation: 57-40=17, Resulting Numbers: [5, 9, 17] Generated Node #0,2: 52:[5, 9, 17] Operation: 57-40=17 Exploring Operation: 40+9=49, Resulting Numbers: [5, 57, 49] Generated Node #0,3: 52:[5, 57, 49] Operation: 40+9=49 Moving to Node #0,2 Current State: 52:[5, 9, 17], Operations: ['57-40=17'] Exploring Operation: 5+9=14, Resulting Numbers: [17, 14] Generated Node #0,2,0: 52:[17, 14] Operation: 5+9=14 Exploring Operation: 9+17=26, Resulting Numbers: [5, 26] Generated Node #0,2,1: 52:[5, 26] Operation: 9+17=26 Exploring Operation: 17-5=12, Resulting Numbers: [9, 12] Generated Node #0,2,2: 52:[9, 12] Operation: 17-5=12 Exploring Operation: 9-5=4, Resulting Numbers: [17, 4] Generated Node #0,2,3: 52:[17, 4] Operation: 9-5=4 Moving to Node #0,3 Current State: 52:[5, 57, 49], Operations: ['40+9=49'] Exploring Operation: 57-5=52, Resulting Numbers: [49, 52] Generated Node #0,3,0: 52:[49, 52] Operation: 57-5=52 Exploring Operation: 5+49=54, Resulting Numbers: [57, 54] Generated Node #0,3,1: 52:[57, 54] Operation: 5+49=54 Exploring Operation: 5+57=62, Resulting Numbers: [49, 62] Generated Node #0,3,2: 52:[49, 62] Operation: 5+57=62 Exploring Operation: 57-49=8, Resulting Numbers: [5, 8] Generated Node #0,3,3: 52:[5, 8] Operation: 57-49=8 Moving to Node #0,1 Current State: 52:[5, 57, 31], Operations: ['40-9=31'] Exploring Operation: 5+57=62, Resulting Numbers: [31, 62] Generated Node #0,1,0: 52:[31, 62] Operation: 5+57=62 Exploring Operation: 57-31=26, Resulting Numbers: [5, 26] Generated Node #0,1,1: 52:[5, 26] Operation: 57-31=26 Exploring Operation: 31-5=26, Resulting Numbers: [57, 26] Generated Node #0,1,2: 52:[57, 26] Operation: 31-5=26 Exploring Operation: 57-5=52, Resulting Numbers: [31, 52] Generated Node #0,1,3: 52:[31, 52] Operation: 57-5=52 Moving to Node #0,0 Current State: 52:[9, 57, 8], Operations: ['40/5=8'] Exploring Operation: 57-9=48, Resulting Numbers: [8, 48] Generated Node #0,0,0: 52:[8, 48] Operation: 57-9=48 Exploring Operation: 9-8=1, Resulting Numbers: [57, 1] Generated Node #0,0,1: 52:[57, 1] Operation: 9-8=1 Exploring Operation: 57-8=49, Resulting Numbers: [9, 49] Generated Node #0,0,2: 52:[9, 49] Operation: 57-8=49 Exploring Operation: 9+8=17, Resulting Numbers: [57, 17] Generated Node #0,0,3: 52:[57, 17] Operation: 9+8=17 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[57, 1], Operations: ['40/5=8', '9-8=1'] Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,52 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,52 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,52 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 52:[9, 49], Operations: ['40/5=8', '57-8=49'] Exploring Operation: 9+49=58, Resulting Numbers: [58] 58,52 unequal: No Solution Exploring Operation: 9*49=441, Resulting Numbers: [441] 441,52 unequal: No Solution Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[8, 48], Operations: ['40/5=8', '57-9=48'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 8*48=384, Resulting Numbers: [384] 384,52 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,52 unequal: No Solution Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 52:[57, 17], Operations: ['40/5=8', '9+8=17'] Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,52 unequal: No Solution Exploring Operation: 57*17=969, Resulting Numbers: [969] 969,52 unequal: No Solution Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 52:[5, 26], Operations: ['57-40=17', '9+17=26'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,52 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[5, 26], Operations: ['40-9=31', '57-31=26'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,52 unequal: No Solution Moving to Node #0,3,0 Current State: 52:[49, 52], Operations: ['40+9=49', '57-5=52'] Exploring Operation: 49*52=2548, Resulting Numbers: [2548] 2548,52 unequal: No Solution Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 49+52=101, Resulting Numbers: [101] 101,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[17, 4], Operations: ['57-40=17', '9-5=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,52 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[17, 14], Operations: ['57-40=17', '5+9=14'] Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[5, 8], Operations: ['40+9=49', '57-49=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[57, 26], Operations: ['40-9=31', '31-5=26'] Exploring Operation: 57*26=1482, Resulting Numbers: [1482] 1482,52 unequal: No Solution Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 57+26=83, Resulting Numbers: [83] 83,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[31, 52], Operations: ['40-9=31', '57-5=52'] Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,52 unequal: No Solution Exploring Operation: 31*52=1612, Resulting Numbers: [1612] 1612,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[9, 12], Operations: ['57-40=17', '17-5=12'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[57, 54], Operations: ['40+9=49', '5+49=54'] Exploring Operation: 57*54=3078, Resulting Numbers: [3078] 3078,52 unequal: No Solution Exploring Operation: 57+54=111, Resulting Numbers: [111] 111,52 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[49, 62], Operations: ['40+9=49', '5+57=62'] Exploring Operation: 49*62=3038, Resulting Numbers: [3038] 3038,52 unequal: No Solution Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 49+62=111, Resulting Numbers: [111] 111,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[31, 62], Operations: ['40-9=31', '5+57=62'] Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 31+62=93, Resulting Numbers: [93] 93,52 unequal: No Solution Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 31*62=1922, Resulting Numbers: [1922] 1922,52 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 80, 12, 40, 11 ]
97
[ "80-12=68", "40-11=29", "68+29=97" ]
Current State: 97:[80, 12, 40, 11], Operations: [] Exploring Operation: 80-12=68, Resulting Numbers: [40, 11, 68] Generated Node #2: [40, 11, 68] from Operation: 80-12=68 Current State: 97:[40, 11, 68], Operations: ['80-12=68'] Exploring Operation: 40-11=29, Resulting Numbers: [68, 29] Generated Node #3: [68, 29] from Operation: 40-11=29 Current State: 97:[68, 29], Operations: ['80-12=68', '40-11=29'] Exploring Operation: 68+29=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[80, 12, 40, 11], Operations: [] Exploring Operation: 80+11=91, Resulting Numbers: [12, 40, 91] Generated Node #0,0: 97:[12, 40, 91] Operation: 80+11=91 Exploring Operation: 80+12=92, Resulting Numbers: [40, 11, 92] Generated Node #0,1: 97:[40, 11, 92] Operation: 80+12=92 Exploring Operation: 12*11=132, Resulting Numbers: [80, 40, 132] Generated Node #0,2: 97:[80, 40, 132] Operation: 12*11=132 Exploring Operation: 12+40=52, Resulting Numbers: [80, 11, 52] Generated Node #0,3: 97:[80, 11, 52] Operation: 12+40=52 Moving to Node #0,2 Current State: 97:[80, 40, 132], Operations: ['12*11=132'] Exploring Operation: 40+132=172, Resulting Numbers: [80, 172] Generated Node #0,2,0: 97:[80, 172] Operation: 40+132=172 Exploring Operation: 80-40=40, Resulting Numbers: [132, 40] Generated Node #0,2,1: 97:[132, 40] Operation: 80-40=40 Exploring Operation: 132-40=92, Resulting Numbers: [80, 92] Generated Node #0,2,2: 97:[80, 92] Operation: 132-40=92 Exploring Operation: 80+40=120, Resulting Numbers: [132, 120] Generated Node #0,2,3: 97:[132, 120] Operation: 80+40=120 Moving to Node #0,1 Current State: 97:[40, 11, 92], Operations: ['80+12=92'] Exploring Operation: 92-11=81, Resulting Numbers: [40, 81] Generated Node #0,1,0: 97:[40, 81] Operation: 92-11=81 Exploring Operation: 11+92=103, Resulting Numbers: [40, 103] Generated Node #0,1,1: 97:[40, 103] Operation: 11+92=103 Exploring Operation: 40-11=29, Resulting Numbers: [92, 29] Generated Node #0,1,2: 97:[92, 29] Operation: 40-11=29 Exploring Operation: 40+11=51, Resulting Numbers: [92, 51] Generated Node #0,1,3: 97:[92, 51] Operation: 40+11=51 Moving to Node #0,0 Current State: 97:[12, 40, 91], Operations: ['80+11=91'] Exploring Operation: 40-12=28, Resulting Numbers: [91, 28] Generated Node #0,0,0: 97:[91, 28] Operation: 40-12=28 Exploring Operation: 12+91=103, Resulting Numbers: [40, 103] Generated Node #0,0,1: 97:[40, 103] Operation: 12+91=103 Exploring Operation: 12+40=52, Resulting Numbers: [91, 52] Generated Node #0,0,2: 97:[91, 52] Operation: 12+40=52 Exploring Operation: 91-12=79, Resulting Numbers: [40, 79] Generated Node #0,0,3: 97:[40, 79] Operation: 91-12=79 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[91, 52], Operations: ['80+11=91', '12+40=52'] Exploring Operation: 91+52=143, Resulting Numbers: [143] 143,97 unequal: No Solution Exploring Operation: 91-52=39, Resulting Numbers: [39] 39,97 unequal: No Solution Exploring Operation: 91*52=4732, Resulting Numbers: [4732] 4732,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[40, 103], Operations: ['80+11=91', '12+91=103'] Exploring Operation: 40*103=4120, Resulting Numbers: [4120] 4120,97 unequal: No Solution Exploring Operation: 40+103=143, Resulting Numbers: [143] 143,97 unequal: No Solution Exploring Operation: 103-40=63, Resulting Numbers: [63] 63,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[91, 28], Operations: ['80+11=91', '40-12=28'] Exploring Operation: 91*28=2548, Resulting Numbers: [2548] 2548,97 unequal: No Solution Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,97 unequal: No Solution Exploring Operation: 91+28=119, Resulting Numbers: [119] 119,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 97:[40, 79], Operations: ['80+11=91', '91-12=79'] Exploring Operation: 79-40=39, Resulting Numbers: [39] 39,97 unequal: No Solution Exploring Operation: 40+79=119, Resulting Numbers: [119] 119,97 unequal: No Solution Exploring Operation: 40*79=3160, Resulting Numbers: [3160] 3160,97 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: 97:[80, 11, 52], Operations: ['12+40=52'] Exploring Operation: 80+11=91, Resulting Numbers: [52, 91] Generated Node #0,3,0: 97:[52, 91] Operation: 80+11=91 Exploring Operation: 52-11=41, Resulting Numbers: [80, 41] Generated Node #0,3,1: 97:[80, 41] Operation: 52-11=41 Exploring Operation: 11+52=63, Resulting Numbers: [80, 63] Generated Node #0,3,2: 97:[80, 63] Operation: 11+52=63 Exploring Operation: 80-11=69, Resulting Numbers: [52, 69] Generated Node #0,3,3: 97:[52, 69] Operation: 80-11=69 Moving to Node #0,2,2 Current State: 97:[80, 92], Operations: ['12*11=132', '132-40=92'] Exploring Operation: 80+92=172, Resulting Numbers: [172] 172,97 unequal: No Solution Exploring Operation: 92-80=12, Resulting Numbers: [12] 12,97 unequal: No Solution Exploring Operation: 80*92=7360, Resulting Numbers: [7360] 7360,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[92, 51], Operations: ['80+12=92', '40+11=51'] Exploring Operation: 92*51=4692, Resulting Numbers: [4692] 4692,97 unequal: No Solution Exploring Operation: 92+51=143, Resulting Numbers: [143] 143,97 unequal: No Solution Exploring Operation: 92-51=41, Resulting Numbers: [41] 41,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[80, 63], Operations: ['12+40=52', '11+52=63'] Exploring Operation: 80*63=5040, Resulting Numbers: [5040] 5040,97 unequal: No Solution Exploring Operation: 80+63=143, Resulting Numbers: [143] 143,97 unequal: No Solution Exploring Operation: 80-63=17, Resulting Numbers: [17] 17,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[52, 91], Operations: ['12+40=52', '80+11=91'] Exploring Operation: 52*91=4732, Resulting Numbers: [4732] 4732,97 unequal: No Solution Exploring Operation: 91-52=39, Resulting Numbers: [39] 39,97 unequal: No Solution Exploring Operation: 52+91=143, Resulting Numbers: [143] 143,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[132, 120], Operations: ['12*11=132', '80+40=120'] Exploring Operation: 132*120=15840, Resulting Numbers: [15840] 15840,97 unequal: No Solution Exploring Operation: 132-120=12, Resulting Numbers: [12] 12,97 unequal: No Solution Exploring Operation: 132+120=252, Resulting Numbers: [252] 252,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[40, 103], Operations: ['80+12=92', '11+92=103'] Exploring Operation: 40+103=143, Resulting Numbers: [143] 143,97 unequal: No Solution Exploring Operation: 40*103=4120, Resulting Numbers: [4120] 4120,97 unequal: No Solution Exploring Operation: 103-40=63, Resulting Numbers: [63] 63,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[40, 81], Operations: ['80+12=92', '92-11=81'] Exploring Operation: 40*81=3240, Resulting Numbers: [3240] 3240,97 unequal: No Solution Exploring Operation: 81-40=41, Resulting Numbers: [41] 41,97 unequal: No Solution Exploring Operation: 40+81=121, Resulting Numbers: [121] 121,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[52, 69], Operations: ['12+40=52', '80-11=69'] Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 52+69=121, Resulting Numbers: [121] 121,97 unequal: No Solution Exploring Operation: 52*69=3588, Resulting Numbers: [3588] 3588,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[92, 29], Operations: ['80+12=92', '40-11=29'] Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,97 unequal: No Solution Exploring Operation: 92+29=121, Resulting Numbers: [121] 121,97 unequal: No Solution Exploring Operation: 92*29=2668, Resulting Numbers: [2668] 2668,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[80, 41], Operations: ['12+40=52', '52-11=41'] Exploring Operation: 80+41=121, Resulting Numbers: [121] 121,97 unequal: No Solution Exploring Operation: 80*41=3280, Resulting Numbers: [3280] 3280,97 unequal: No Solution Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[80, 172], Operations: ['12*11=132', '40+132=172'] Exploring Operation: 172-80=92, Resulting Numbers: [92] 92,97 unequal: No Solution Exploring Operation: 80+172=252, Resulting Numbers: [252] 252,97 unequal: No Solution Exploring Operation: 80*172=13760, Resulting Numbers: [13760] 13760,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[132, 40], Operations: ['12*11=132', '80-40=40'] Exploring Operation: 132-40=92, Resulting Numbers: [92] 92,97 unequal: No Solution Exploring Operation: 132+40=172, Resulting Numbers: [172] 172,97 unequal: No Solution Exploring Operation: 132*40=5280, Resulting Numbers: [5280] 5280,97 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 32, 78, 77, 37 ]
31
[ "37-32=5", "78+77=155", "155/5=31" ]
Current State: 31:[32, 78, 77, 37], Operations: [] Exploring Operation: 37-32=5, Resulting Numbers: [78, 77, 5] Generated Node #2: [78, 77, 5] from Operation: 37-32=5 Current State: 31:[78, 77, 5], Operations: ['37-32=5'] Exploring Operation: 78+77=155, Resulting Numbers: [5, 155] Generated Node #3: [5, 155] from Operation: 78+77=155 Current State: 31:[5, 155], Operations: ['37-32=5', '78+77=155'] Exploring Operation: 155/5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[32, 78, 77, 37], Operations: [] Exploring Operation: 78-32=46, Resulting Numbers: [77, 37, 46] Generated Node #0,0: 31:[77, 37, 46] Operation: 78-32=46 Exploring Operation: 78-77=1, Resulting Numbers: [32, 37, 1] Generated Node #0,1: 31:[32, 37, 1] Operation: 78-77=1 Exploring Operation: 77-37=40, Resulting Numbers: [32, 78, 40] Generated Node #0,2: 31:[32, 78, 40] Operation: 77-37=40 Exploring Operation: 78-37=41, Resulting Numbers: [32, 77, 41] Generated Node #0,3: 31:[32, 77, 41] Operation: 78-37=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[32, 37, 1], Operations: ['78-77=1'] Exploring Operation: 32/1=32, Resulting Numbers: [37, 32] Generated Node #0,1,0: 31:[37, 32] Operation: 32/1=32 Exploring Operation: 32-1=31, Resulting Numbers: [37, 31] Generated Node #0,1,1: 31:[37, 31] Operation: 32-1=31 Exploring Operation: 37-1=36, Resulting Numbers: [32, 36] Generated Node #0,1,2: 31:[32, 36] Operation: 37-1=36 Exploring Operation: 32*1=32, Resulting Numbers: [37, 32] Generated Node #0,1,3: 31:[37, 32] Operation: 32*1=32 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[37, 31], Operations: ['78-77=1', '32-1=31'] Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 37*31=1147, Resulting Numbers: [1147] 1147,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:[32, 36], Operations: ['78-77=1', '37-1=36'] Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,31 unequal: No Solution Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,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:[37, 32], Operations: ['78-77=1', '32/1=32'] Exploring Operation: 37+32=69, Resulting Numbers: [69] 69,31 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 37*32=1184, Resulting Numbers: [1184] 1184,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,3 Current State: 31:[37, 32], Operations: ['78-77=1', '32*1=32'] Exploring Operation: 37*32=1184, Resulting Numbers: [1184] 1184,31 unequal: No Solution Exploring Operation: 37+32=69, Resulting Numbers: [69] 69,31 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,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:[32, 78, 40], Operations: ['77-37=40'] Exploring Operation: 32+78=110, Resulting Numbers: [40, 110] Generated Node #0,2,0: 31:[40, 110] Operation: 32+78=110 Exploring Operation: 78-32=46, Resulting Numbers: [40, 46] Generated Node #0,2,1: 31:[40, 46] Operation: 78-32=46 Exploring Operation: 78-40=38, Resulting Numbers: [32, 38] Generated Node #0,2,2: 31:[32, 38] Operation: 78-40=38 Exploring Operation: 40-32=8, Resulting Numbers: [78, 8] Generated Node #0,2,3: 31:[78, 8] Operation: 40-32=8 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 31:[32, 38], Operations: ['77-37=40', '78-40=38'] Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 32*38=1216, Resulting Numbers: [1216] 1216,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,2,1 Current State: 31:[40, 46], Operations: ['77-37=40', '78-32=46'] Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 40*46=1840, Resulting Numbers: [1840] 1840,31 unequal: No Solution Exploring Operation: 40+46=86, Resulting Numbers: [86] 86,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,2,3 Current State: 31:[78, 8], Operations: ['77-37=40', '40-32=8'] Exploring Operation: 78*8=624, Resulting Numbers: [624] 624,31 unequal: No Solution Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 78+8=86, Resulting Numbers: [86] 86,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,2,0 Current State: 31:[40, 110], Operations: ['77-37=40', '32+78=110'] Exploring Operation: 110-40=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 40*110=4400, Resulting Numbers: [4400] 4400,31 unequal: No Solution Exploring Operation: 40+110=150, Resulting Numbers: [150] 150,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,3 Current State: 31:[32, 77, 41], Operations: ['78-37=41'] Exploring Operation: 32+77=109, Resulting Numbers: [41, 109] Generated Node #0,3,0: 31:[41, 109] Operation: 32+77=109 Exploring Operation: 41-32=9, Resulting Numbers: [77, 9] Generated Node #0,3,1: 31:[77, 9] Operation: 41-32=9 Exploring Operation: 77-41=36, Resulting Numbers: [32, 36] Generated Node #0,3,2: 31:[32, 36] Operation: 77-41=36 Exploring Operation: 77-32=45, Resulting Numbers: [41, 45] Generated Node #0,3,3: 31:[41, 45] Operation: 77-32=45 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 31:[32, 36], Operations: ['78-37=41', '77-41=36'] Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,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,3,3 Current State: 31:[41, 45], Operations: ['78-37=41', '77-32=45'] Exploring Operation: 41*45=1845, Resulting Numbers: [1845] 1845,31 unequal: No Solution Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,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,3,1 Current State: 31:[77, 9], Operations: ['78-37=41', '41-32=9'] Exploring Operation: 77*9=693, Resulting Numbers: [693] 693,31 unequal: No Solution Exploring Operation: 77+9=86, Resulting Numbers: [86] 86,31 unequal: No Solution Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,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,3,0 Current State: 31:[41, 109], Operations: ['78-37=41', '32+77=109'] Exploring Operation: 109-41=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 41+109=150, Resulting Numbers: [150] 150,31 unequal: No Solution Exploring Operation: 41*109=4469, Resulting Numbers: [4469] 4469,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,0 Current State: 31:[77, 37, 46], Operations: ['78-32=46'] Exploring Operation: 46-37=9, Resulting Numbers: [77, 9] Generated Node #0,0,0: 31:[77, 9] Operation: 46-37=9 Exploring Operation: 77+37=114, Resulting Numbers: [46, 114] Generated Node #0,0,1: 31:[46, 114] Operation: 77+37=114 Exploring Operation: 77-37=40, Resulting Numbers: [46, 40] Generated Node #0,0,2: 31:[46, 40] Operation: 77-37=40 Exploring Operation: 77-46=31, Resulting Numbers: [37, 31] Generated Node #0,0,3: 31:[37, 31] Operation: 77-46=31 Moving to Node #0,0,3 Current State: 31:[37, 31], Operations: ['78-32=46', '77-46=31'] Exploring Operation: 37+31=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 37*31=1147, Resulting Numbers: [1147] 1147,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[46, 40], Operations: ['78-32=46', '77-37=40'] Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,31 unequal: No Solution Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 46*40=1840, Resulting Numbers: [1840] 1840,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[77, 9], Operations: ['78-32=46', '46-37=9'] Exploring Operation: 77*9=693, Resulting Numbers: [693] 693,31 unequal: No Solution Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 77+9=86, Resulting Numbers: [86] 86,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[46, 114], Operations: ['78-32=46', '77+37=114'] Exploring Operation: 46*114=5244, Resulting Numbers: [5244] 5244,31 unequal: No Solution Exploring Operation: 46+114=160, Resulting Numbers: [160] 160,31 unequal: No Solution Exploring Operation: 114-46=68, Resulting Numbers: [68] 68,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 90, 91, 61, 6 ]
55
[ "91-90=1", "61-6=55", "1*55=55" ]
Current State: 55:[90, 91, 61, 6], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [61, 6, 1] Generated Node #2: [61, 6, 1] from Operation: 91-90=1 Current State: 55:[61, 6, 1], Operations: ['91-90=1'] Exploring Operation: 61-6=55, Resulting Numbers: [1, 55] Generated Node #3: [1, 55] from Operation: 61-6=55 Current State: 55:[1, 55], Operations: ['91-90=1', '61-6=55'] Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[90, 91, 61, 6], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [61, 6, 1] Generated Node #0,0: 55:[61, 6, 1] Operation: 91-90=1 Exploring Operation: 90/6=15, Resulting Numbers: [91, 61, 15] Generated Node #0,1: 55:[91, 61, 15] Operation: 90/6=15 Exploring Operation: 90-61=29, Resulting Numbers: [91, 6, 29] Generated Node #0,2: 55:[91, 6, 29] Operation: 90-61=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[61, 6, 1], Operations: ['91-90=1'] Exploring Operation: 6-1=5, Resulting Numbers: [61, 5] Generated Node #0,0,0: 55:[61, 5] Operation: 6-1=5 Exploring Operation: 61-6=55, Resulting Numbers: [1, 55] Generated Node #0,0,1: 55:[1, 55] Operation: 61-6=55 Exploring Operation: 61-1=60, Resulting Numbers: [6, 60] Generated Node #0,0,2: 55:[6, 60] Operation: 61-1=60 Moving to Node #0,0,1 Current State: 55:[1, 55], Operations: ['91-90=1', '61-6=55'] Exploring Operation: 1+55=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[90, 91, 61, 6], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [61, 6, 1] Generated Node #0,0: 55:[61, 6, 1] Operation: 91-90=1 Moving to Node #0,0 Current State: 55:[61, 6, 1], Operations: ['91-90=1'] Exploring Operation: 61-6=55, Resulting Numbers: [1, 55] Generated Node #0,0,1: 55:[1, 55] Operation: 61-6=55 Moving to Node #0,0,1 Current State: 55:[1, 55], Operations: ['91-90=1', '61-6=55'] Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 63, 13, 10, 88 ]
67
[ "13-10=3", "63/3=21", "88-21=67" ]
Current State: 67:[63, 13, 10, 88], Operations: [] Exploring Operation: 13-10=3, Resulting Numbers: [63, 88, 3] Generated Node #2: [63, 88, 3] from Operation: 13-10=3 Current State: 67:[63, 88, 3], Operations: ['13-10=3'] Exploring Operation: 63/3=21, Resulting Numbers: [88, 21] Generated Node #3: [88, 21] from Operation: 63/3=21 Current State: 67:[88, 21], Operations: ['13-10=3', '63/3=21'] Exploring Operation: 88-21=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[63, 13, 10, 88], Operations: [] Exploring Operation: 13+10=23, Resulting Numbers: [63, 88, 23] Generated Node #0,0: 67:[63, 88, 23] Operation: 13+10=23 Moving to Node #0,0 Current State: 67:[63, 88, 23], Operations: ['13+10=23'] Exploring Operation: 88-23=65, Resulting Numbers: [63, 65] Generated Node #0,0,0: 67:[63, 65] Operation: 88-23=65 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[63, 65], Operations: ['13+10=23', '88-23=65'] Exploring Operation: 63+65=128, Resulting Numbers: [128] 128,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 92, 48, 98, 26 ]
16
[ "92+48=140", "98+26=124", "140-124=16" ]
Current State: 16:[92, 48, 98, 26], Operations: [] Exploring Operation: 92+48=140, Resulting Numbers: [98, 26, 140] Generated Node #2: [98, 26, 140] from Operation: 92+48=140 Current State: 16:[98, 26, 140], Operations: ['92+48=140'] Exploring Operation: 98+26=124, Resulting Numbers: [140, 124] Generated Node #3: [140, 124] from Operation: 98+26=124 Current State: 16:[140, 124], Operations: ['92+48=140', '98+26=124'] Exploring Operation: 140-124=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[92, 48, 98, 26], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [48, 26, 6] Generated Node #0,0: 16:[48, 26, 6] Operation: 98-92=6 Exploring Operation: 92-48=44, Resulting Numbers: [98, 26, 44] Generated Node #0,1: 16:[98, 26, 44] Operation: 92-48=44 Exploring Operation: 98-48=50, Resulting Numbers: [92, 26, 50] Generated Node #0,2: 16:[92, 26, 50] Operation: 98-48=50 Moving to Node #0,0 Current State: 16:[48, 26, 6], Operations: ['98-92=6'] Exploring Operation: 48/6=8, Resulting Numbers: [26, 8] Generated Node #0,0,0: 16:[26, 8] Operation: 48/6=8 Exploring Operation: 48-6=42, Resulting Numbers: [26, 42] Generated Node #0,0,1: 16:[26, 42] Operation: 48-6=42 Exploring Operation: 48-26=22, Resulting Numbers: [6, 22] Generated Node #0,0,2: 16:[6, 22] Operation: 48-26=22 Moving to Node #0,1 Current State: 16:[98, 26, 44], Operations: ['92-48=44'] Exploring Operation: 98-44=54, Resulting Numbers: [26, 54] Generated Node #0,1,0: 16:[26, 54] Operation: 98-44=54 Exploring Operation: 98-26=72, Resulting Numbers: [44, 72] Generated Node #0,1,1: 16:[44, 72] Operation: 98-26=72 Exploring Operation: 44-26=18, Resulting Numbers: [98, 18] Generated Node #0,1,2: 16:[98, 18] Operation: 44-26=18 Moving to Node #0,2 Current State: 16:[92, 26, 50], Operations: ['98-48=50'] Exploring Operation: 92-26=66, Resulting Numbers: [50, 66] Generated Node #0,2,0: 16:[50, 66] Operation: 92-26=66 Exploring Operation: 92-50=42, Resulting Numbers: [26, 42] Generated Node #0,2,1: 16:[26, 42] Operation: 92-50=42 Exploring Operation: 50-26=24, Resulting Numbers: [92, 24] Generated Node #0,2,2: 16:[92, 24] Operation: 50-26=24 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[26, 42], Operations: ['98-48=50', '92-50=42'] Exploring Operation: 26*42=1092, Resulting Numbers: [1092] 1092,16 unequal: No Solution Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[92, 48, 98, 26], Operations: [] Exploring Operation: 98-48=50, Resulting Numbers: [92, 26, 50] Generated Node #0,2: 16:[92, 26, 50] Operation: 98-48=50 Moving to Node #0,2 Current State: 16:[92, 26, 50], Operations: ['98-48=50'] Exploring Operation: 92-50=42, Resulting Numbers: [26, 42] Generated Node #0,2,1: 16:[26, 42] Operation: 92-50=42 Moving to Node #0,2,1 Current State: 16:[26, 42], Operations: ['98-48=50', '92-50=42'] Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 2, 54, 80, 18 ]
32
[ "80/2=40", "54+18=72", "72-40=32" ]
Current State: 32:[2, 54, 80, 18], Operations: [] Exploring Operation: 80/2=40, Resulting Numbers: [54, 18, 40] Generated Node #2: [54, 18, 40] from Operation: 80/2=40 Current State: 32:[54, 18, 40], Operations: ['80/2=40'] Exploring Operation: 54+18=72, Resulting Numbers: [40, 72] Generated Node #3: [40, 72] from Operation: 54+18=72 Current State: 32:[40, 72], Operations: ['80/2=40', '54+18=72'] Exploring Operation: 72-40=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[2, 54, 80, 18], Operations: [] Exploring Operation: 80-54=26, Resulting Numbers: [2, 18, 26] Generated Node #0,0: 32:[2, 18, 26] Operation: 80-54=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[2, 18, 26], Operations: ['80-54=26'] Exploring Operation: 26-18=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 32:[2, 8] Operation: 26-18=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[2, 8], Operations: ['80-54=26', '26-18=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,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 No solution found.
0
hs_1
mult_heuristic
[ 43, 47, 8, 76 ]
21
[ "47-43=4", "8+76=84", "84/4=21" ]
Current State: 21:[43, 47, 8, 76], Operations: [] Exploring Operation: 47-43=4, Resulting Numbers: [8, 76, 4] Generated Node #2: [8, 76, 4] from Operation: 47-43=4 Current State: 21:[8, 76, 4], Operations: ['47-43=4'] Exploring Operation: 8+76=84, Resulting Numbers: [4, 84] Generated Node #3: [4, 84] from Operation: 8+76=84 Current State: 21:[4, 84], Operations: ['47-43=4', '8+76=84'] Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[43, 47, 8, 76], Operations: [] Exploring Operation: 47-43=4, Resulting Numbers: [8, 76, 4] Generated Node #0,0: 21:[8, 76, 4] Operation: 47-43=4 Exploring Operation: 76-43=33, Resulting Numbers: [47, 8, 33] Generated Node #0,1: 21:[47, 8, 33] Operation: 76-43=33 Exploring Operation: 76-47=29, Resulting Numbers: [43, 8, 29] Generated Node #0,2: 21:[43, 8, 29] Operation: 76-47=29 Exploring Operation: 43-8=35, Resulting Numbers: [47, 76, 35] Generated Node #0,3: 21:[47, 76, 35] Operation: 43-8=35 Moving to Node #0,2 Current State: 21:[43, 8, 29], Operations: ['76-47=29'] Exploring Operation: 43-29=14, Resulting Numbers: [8, 14] Generated Node #0,2,0: 21:[8, 14] Operation: 43-29=14 Exploring Operation: 29-8=21, Resulting Numbers: [43, 21] Generated Node #0,2,1: 21:[43, 21] Operation: 29-8=21 Exploring Operation: 43-8=35, Resulting Numbers: [29, 35] Generated Node #0,2,2: 21:[29, 35] Operation: 43-8=35 Exploring Operation: 43+8=51, Resulting Numbers: [29, 51] Generated Node #0,2,3: 21:[29, 51] Operation: 43+8=51 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[8, 14], Operations: ['76-47=29', '43-29=14'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[43, 21], Operations: ['76-47=29', '29-8=21'] Exploring Operation: 43*21=903, Resulting Numbers: [903] 903,21 unequal: No Solution Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,21 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 21:[29, 35], Operations: ['76-47=29', '43-8=35'] Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 29+35=64, Resulting Numbers: [64] 64,21 unequal: No Solution Exploring Operation: 29*35=1015, Resulting Numbers: [1015] 1015,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 21:[29, 51], Operations: ['76-47=29', '43+8=51'] Exploring Operation: 29+51=80, Resulting Numbers: [80] 80,21 unequal: No Solution Exploring Operation: 29*51=1479, Resulting Numbers: [1479] 1479,21 unequal: No Solution Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,21 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: 21:[47, 8, 33], Operations: ['76-43=33'] Exploring Operation: 33-8=25, Resulting Numbers: [47, 25] Generated Node #0,1,0: 21:[47, 25] Operation: 33-8=25 Exploring Operation: 47-33=14, Resulting Numbers: [8, 14] Generated Node #0,1,1: 21:[8, 14] Operation: 47-33=14 Exploring Operation: 47+8=55, Resulting Numbers: [33, 55] Generated Node #0,1,2: 21:[33, 55] Operation: 47+8=55 Exploring Operation: 47-8=39, Resulting Numbers: [33, 39] Generated Node #0,1,3: 21:[33, 39] Operation: 47-8=39 Moving to Node #0,0 Current State: 21:[8, 76, 4], Operations: ['47-43=4'] Exploring Operation: 76-8=68, Resulting Numbers: [4, 68] Generated Node #0,0,0: 21:[4, 68] Operation: 76-8=68 Exploring Operation: 76-4=72, Resulting Numbers: [8, 72] Generated Node #0,0,1: 21:[8, 72] Operation: 76-4=72 Exploring Operation: 8-4=4, Resulting Numbers: [76, 4] Generated Node #0,0,2: 21:[76, 4] Operation: 8-4=4 Exploring Operation: 76/4=19, Resulting Numbers: [8, 19] Generated Node #0,0,3: 21:[8, 19] Operation: 76/4=19 Moving to Node #0,3 Current State: 21:[47, 76, 35], Operations: ['43-8=35'] Exploring Operation: 47-35=12, Resulting Numbers: [76, 12] Generated Node #0,3,0: 21:[76, 12] Operation: 47-35=12 Exploring Operation: 76-35=41, Resulting Numbers: [47, 41] Generated Node #0,3,1: 21:[47, 41] Operation: 76-35=41 Exploring Operation: 76-47=29, Resulting Numbers: [35, 29] Generated Node #0,3,2: 21:[35, 29] Operation: 76-47=29 Exploring Operation: 47+76=123, Resulting Numbers: [35, 123] Generated Node #0,3,3: 21:[35, 123] Operation: 47+76=123 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 21:[35, 29], Operations: ['43-8=35', '76-47=29'] Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,21 unequal: No Solution Exploring Operation: 35*29=1015, Resulting Numbers: [1015] 1015,21 unequal: No Solution Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 21:[47, 41], Operations: ['43-8=35', '76-35=41'] Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 47*41=1927, Resulting Numbers: [1927] 1927,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 21:[76, 12], Operations: ['43-8=35', '47-35=12'] Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,21 unequal: No Solution Exploring Operation: 76+12=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 76*12=912, Resulting Numbers: [912] 912,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 21:[35, 123], Operations: ['43-8=35', '47+76=123'] Exploring Operation: 35*123=4305, Resulting Numbers: [4305] 4305,21 unequal: No Solution Exploring Operation: 123-35=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 35+123=158, Resulting Numbers: [158] 158,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 21:[8, 19], Operations: ['47-43=4', '76/4=19'] Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,21 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,21 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[8, 14], Operations: ['76-43=33', '47-33=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,21 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[33, 39], Operations: ['76-43=33', '47-8=39'] Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,21 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[47, 25], Operations: ['76-43=33', '33-8=25'] Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,21 unequal: No Solution Exploring Operation: 47*25=1175, Resulting Numbers: [1175] 1175,21 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[33, 55], Operations: ['76-43=33', '47+8=55'] Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 33*55=1815, Resulting Numbers: [1815] 1815,21 unequal: No Solution Exploring Operation: 33+55=88, Resulting Numbers: [88] 88,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[4, 68], Operations: ['47-43=4', '76-8=68'] Exploring Operation: 4*68=272, Resulting Numbers: [272] 272,21 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,21 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[8, 72], Operations: ['47-43=4', '76-4=72'] Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,21 unequal: No Solution Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,21 unequal: No Solution Exploring Operation: 8*72=576, Resulting Numbers: [576] 576,21 unequal: No Solution Exploring Operation: 8+72=80, Resulting Numbers: [80] 80,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[76, 4], Operations: ['47-43=4', '8-4=4'] Exploring Operation: 76*4=304, Resulting Numbers: [304] 304,21 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,21 unequal: No Solution Exploring Operation: 76+4=80, Resulting Numbers: [80] 80,21 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,21 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 20, 34, 19, 27 ]
100
[ "20+34=54", "19+27=46", "54+46=100" ]
Current State: 100:[20, 34, 19, 27], Operations: [] Exploring Operation: 20+34=54, Resulting Numbers: [19, 27, 54] Generated Node #2: [19, 27, 54] from Operation: 20+34=54 Current State: 100:[19, 27, 54], Operations: ['20+34=54'] Exploring Operation: 19+27=46, Resulting Numbers: [54, 46] Generated Node #3: [54, 46] from Operation: 19+27=46 Current State: 100:[54, 46], Operations: ['20+34=54', '19+27=46'] Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[20, 34, 19, 27], Operations: [] Exploring Operation: 34-27=7, Resulting Numbers: [20, 19, 7] Generated Node #0,0: 100:[20, 19, 7] Operation: 34-27=7 Moving to Node #0,0 Current State: 100:[20, 19, 7], Operations: ['34-27=7'] Exploring Operation: 19+7=26, Resulting Numbers: [20, 26] Generated Node #0,0,0: 100:[20, 26] Operation: 19+7=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[20, 26], Operations: ['34-27=7', '19+7=26'] Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,100 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
[ 72, 22, 38, 40 ]
92
[ "72+22=94", "40-38=2", "94-2=92" ]
Current State: 92:[72, 22, 38, 40], Operations: [] Exploring Operation: 72+22=94, Resulting Numbers: [38, 40, 94] Generated Node #2: [38, 40, 94] from Operation: 72+22=94 Current State: 92:[38, 40, 94], Operations: ['72+22=94'] Exploring Operation: 40-38=2, Resulting Numbers: [94, 2] Generated Node #3: [94, 2] from Operation: 40-38=2 Current State: 92:[94, 2], Operations: ['72+22=94', '40-38=2'] Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[72, 22, 38, 40], Operations: [] Exploring Operation: 72-38=34, Resulting Numbers: [22, 40, 34] Generated Node #0,0: 92:[22, 40, 34] Operation: 72-38=34 Exploring Operation: 72+22=94, Resulting Numbers: [38, 40, 94] Generated Node #0,1: 92:[38, 40, 94] Operation: 72+22=94 Exploring Operation: 72-22=50, Resulting Numbers: [38, 40, 50] Generated Node #0,2: 92:[38, 40, 50] Operation: 72-22=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[38, 40, 94], Operations: ['72+22=94'] Exploring Operation: 38+40=78, Resulting Numbers: [94, 78] Generated Node #0,1,0: 92:[94, 78] Operation: 38+40=78 Exploring Operation: 94-38=56, Resulting Numbers: [40, 56] Generated Node #0,1,1: 92:[40, 56] Operation: 94-38=56 Exploring Operation: 40-38=2, Resulting Numbers: [94, 2] Generated Node #0,1,2: 92:[94, 2] Operation: 40-38=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 92:[94, 2], Operations: ['72+22=94', '40-38=2'] Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[72, 22, 38, 40], Operations: [] Exploring Operation: 72+22=94, Resulting Numbers: [38, 40, 94] Generated Node #0,1: 92:[38, 40, 94] Operation: 72+22=94 Moving to Node #0,1 Current State: 92:[38, 40, 94], Operations: ['72+22=94'] Exploring Operation: 40-38=2, Resulting Numbers: [94, 2] Generated Node #0,1,2: 92:[94, 2] Operation: 40-38=2 Moving to Node #0,1,2 Current State: 92:[94, 2], Operations: ['72+22=94', '40-38=2'] Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 48, 75, 39, 20 ]
46
[ "75-48=27", "39-20=19", "27+19=46" ]
Current State: 46:[48, 75, 39, 20], Operations: [] Exploring Operation: 75-48=27, Resulting Numbers: [39, 20, 27] Generated Node #2: [39, 20, 27] from Operation: 75-48=27 Current State: 46:[39, 20, 27], Operations: ['75-48=27'] Exploring Operation: 39-20=19, Resulting Numbers: [27, 19] Generated Node #3: [27, 19] from Operation: 39-20=19 Current State: 46:[27, 19], Operations: ['75-48=27', '39-20=19'] Exploring Operation: 27+19=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[48, 75, 39, 20], Operations: [] Exploring Operation: 48-39=9, Resulting Numbers: [75, 20, 9] Generated Node #0,0: 46:[75, 20, 9] Operation: 48-39=9 Exploring Operation: 75-48=27, Resulting Numbers: [39, 20, 27] Generated Node #0,1: 46:[39, 20, 27] Operation: 75-48=27 Exploring Operation: 75-39=36, Resulting Numbers: [48, 20, 36] Generated Node #0,2: 46:[48, 20, 36] Operation: 75-39=36 Exploring Operation: 75-20=55, Resulting Numbers: [48, 39, 55] Generated Node #0,3: 46:[48, 39, 55] Operation: 75-20=55 Exploring Operation: 39-20=19, Resulting Numbers: [48, 75, 19] Generated Node #0,4: 46:[48, 75, 19] Operation: 39-20=19 Moving to Node #0,1 Current State: 46:[39, 20, 27], Operations: ['75-48=27'] Exploring Operation: 39-20=19, Resulting Numbers: [27, 19] Generated Node #0,1,0: 46:[27, 19] Operation: 39-20=19 Exploring Operation: 20+27=47, Resulting Numbers: [39, 47] Generated Node #0,1,1: 46:[39, 47] Operation: 20+27=47 Exploring Operation: 27-20=7, Resulting Numbers: [39, 7] Generated Node #0,1,2: 46:[39, 7] Operation: 27-20=7 Exploring Operation: 39+20=59, Resulting Numbers: [27, 59] Generated Node #0,1,3: 46:[27, 59] Operation: 39+20=59 Exploring Operation: 39-27=12, Resulting Numbers: [20, 12] Generated Node #0,1,4: 46:[20, 12] Operation: 39-27=12 Moving to Node #0,2 Current State: 46:[48, 20, 36], Operations: ['75-39=36'] Exploring Operation: 48-36=12, Resulting Numbers: [20, 12] Generated Node #0,2,0: 46:[20, 12] Operation: 48-36=12 Exploring Operation: 36-20=16, Resulting Numbers: [48, 16] Generated Node #0,2,1: 46:[48, 16] Operation: 36-20=16 Exploring Operation: 20+36=56, Resulting Numbers: [48, 56] Generated Node #0,2,2: 46:[48, 56] Operation: 20+36=56 Exploring Operation: 48+20=68, Resulting Numbers: [36, 68] Generated Node #0,2,3: 46:[36, 68] Operation: 48+20=68 Exploring Operation: 48-20=28, Resulting Numbers: [36, 28] Generated Node #0,2,4: 46:[36, 28] Operation: 48-20=28 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[48, 16], Operations: ['75-39=36', '36-20=16'] Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 48+16=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 48*16=768, Resulting Numbers: [768] 768,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,2,2 Current State: 46:[48, 56], Operations: ['75-39=36', '20+36=56'] Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,46 unequal: No Solution Exploring Operation: 48+56=104, Resulting Numbers: [104] 104,46 unequal: No Solution Exploring Operation: 48*56=2688, Resulting Numbers: [2688] 2688,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,2,0 Current State: 46:[20, 12], Operations: ['75-39=36', '48-36=12'] Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,46 unequal: No Solution Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,46 unequal: No Solution Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,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,2,4 Current State: 46:[36, 28], Operations: ['75-39=36', '48-20=28'] Exploring Operation: 36*28=1008, Resulting Numbers: [1008] 1008,46 unequal: No Solution Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,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,2,3 Current State: 46:[36, 68], Operations: ['75-39=36', '48+20=68'] Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,46 unequal: No Solution Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,46 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,46 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: 46:[48, 39, 55], Operations: ['75-20=55'] Exploring Operation: 48-39=9, Resulting Numbers: [55, 9] Generated Node #0,3,0: 46:[55, 9] Operation: 48-39=9 Exploring Operation: 39+55=94, Resulting Numbers: [48, 94] Generated Node #0,3,1: 46:[48, 94] Operation: 39+55=94 Exploring Operation: 48+39=87, Resulting Numbers: [55, 87] Generated Node #0,3,2: 46:[55, 87] Operation: 48+39=87 Exploring Operation: 55-48=7, Resulting Numbers: [39, 7] Generated Node #0,3,3: 46:[39, 7] Operation: 55-48=7 Exploring Operation: 55-39=16, Resulting Numbers: [48, 16] Generated Node #0,3,4: 46:[48, 16] Operation: 55-39=16 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 46:[48, 16], Operations: ['75-20=55', '55-39=16'] Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 48*16=768, Resulting Numbers: [768] 768,46 unequal: No Solution Exploring Operation: 48+16=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,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:[39, 7], Operations: ['75-20=55', '55-48=7'] Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[48, 75, 39, 20], Operations: [] Exploring Operation: 75-20=55, Resulting Numbers: [48, 39, 55] Generated Node #0,3: 46:[48, 39, 55] Operation: 75-20=55 Moving to Node #0,3 Current State: 46:[48, 39, 55], Operations: ['75-20=55'] Exploring Operation: 55-48=7, Resulting Numbers: [39, 7] Generated Node #0,3,3: 46:[39, 7] Operation: 55-48=7 Moving to Node #0,3,3 Current State: 46:[39, 7], Operations: ['75-20=55', '55-48=7'] Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
mult_heuristic
[ 42, 39, 72, 82 ]
73
[ "42+39=81", "72+82=154", "154-81=73" ]
Current State: 73:[42, 39, 72, 82], Operations: [] Exploring Operation: 42+39=81, Resulting Numbers: [72, 82, 81] Generated Node #2: [72, 82, 81] from Operation: 42+39=81 Current State: 73:[72, 82, 81], Operations: ['42+39=81'] Exploring Operation: 72+82=154, Resulting Numbers: [81, 154] Generated Node #3: [81, 154] from Operation: 72+82=154 Current State: 73:[81, 154], Operations: ['42+39=81', '72+82=154'] Exploring Operation: 154-81=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[42, 39, 72, 82], Operations: [] Exploring Operation: 82-39=43, Resulting Numbers: [42, 72, 43] Generated Node #0,0: 73:[42, 72, 43] Operation: 82-39=43 Exploring Operation: 42+39=81, Resulting Numbers: [72, 82, 81] Generated Node #0,1: 73:[72, 82, 81] Operation: 42+39=81 Exploring Operation: 82-42=40, Resulting Numbers: [39, 72, 40] Generated Node #0,2: 73:[39, 72, 40] Operation: 82-42=40 Exploring Operation: 39+72=111, Resulting Numbers: [42, 82, 111] Generated Node #0,3: 73:[42, 82, 111] Operation: 39+72=111 Moving to Node #0,1 Current State: 73:[72, 82, 81], Operations: ['42+39=81'] Exploring Operation: 81-72=9, Resulting Numbers: [82, 9] Generated Node #0,1,0: 73:[82, 9] Operation: 81-72=9 Exploring Operation: 82-81=1, Resulting Numbers: [72, 1] Generated Node #0,1,1: 73:[72, 1] Operation: 82-81=1 Exploring Operation: 72+82=154, Resulting Numbers: [81, 154] Generated Node #0,1,2: 73:[81, 154] Operation: 72+82=154 Exploring Operation: 82-72=10, Resulting Numbers: [81, 10] Generated Node #0,1,3: 73:[81, 10] Operation: 82-72=10 Moving to Node #0,0 Current State: 73:[42, 72, 43], Operations: ['82-39=43'] Exploring Operation: 43-42=1, Resulting Numbers: [72, 1] Generated Node #0,0,0: 73:[72, 1] Operation: 43-42=1 Exploring Operation: 42+43=85, Resulting Numbers: [72, 85] Generated Node #0,0,1: 73:[72, 85] Operation: 42+43=85 Exploring Operation: 72-42=30, Resulting Numbers: [43, 30] Generated Node #0,0,2: 73:[43, 30] Operation: 72-42=30 Exploring Operation: 42+72=114, Resulting Numbers: [43, 114] Generated Node #0,0,3: 73:[43, 114] Operation: 42+72=114 Moving to Node #0,2 Current State: 73:[39, 72, 40], Operations: ['82-42=40'] Exploring Operation: 72-39=33, Resulting Numbers: [40, 33] Generated Node #0,2,0: 73:[40, 33] Operation: 72-39=33 Exploring Operation: 39+40=79, Resulting Numbers: [72, 79] Generated Node #0,2,1: 73:[72, 79] Operation: 39+40=79 Exploring Operation: 40-39=1, Resulting Numbers: [72, 1] Generated Node #0,2,2: 73:[72, 1] Operation: 40-39=1 Exploring Operation: 39+72=111, Resulting Numbers: [40, 111] Generated Node #0,2,3: 73:[40, 111] Operation: 39+72=111 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 73:[72, 79], Operations: ['82-42=40', '39+40=79'] Exploring Operation: 72*79=5688, Resulting Numbers: [5688] 5688,73 unequal: No Solution Exploring Operation: 72+79=151, Resulting Numbers: [151] 151,73 unequal: No Solution Exploring Operation: 79-72=7, Resulting Numbers: [7] 7,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,2,3 Current State: 73:[40, 111], Operations: ['82-42=40', '39+72=111'] Exploring Operation: 40+111=151, Resulting Numbers: [151] 151,73 unequal: No Solution Exploring Operation: 40*111=4440, Resulting Numbers: [4440] 4440,73 unequal: No Solution Exploring Operation: 111-40=71, Resulting Numbers: [71] 71,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,2,0 Current State: 73:[40, 33], Operations: ['82-42=40', '72-39=33'] Exploring Operation: 40*33=1320, Resulting Numbers: [1320] 1320,73 unequal: No Solution Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[42, 39, 72, 82], Operations: [] Exploring Operation: 82-42=40, Resulting Numbers: [39, 72, 40] Generated Node #0,2: 73:[39, 72, 40] Operation: 82-42=40 Moving to Node #0,2 Current State: 73:[39, 72, 40], Operations: ['82-42=40'] Exploring Operation: 72-39=33, Resulting Numbers: [40, 33] Generated Node #0,2,0: 73:[40, 33] Operation: 72-39=33 Moving to Node #0,2,0 Current State: 73:[40, 33], Operations: ['82-42=40', '72-39=33'] Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_4
mult_heuristic
[ 72, 93, 62, 76 ]
42
[ "93*76=7068", "7068/62=114", "114-72=42" ]
Current State: 42:[72, 93, 62, 76], Operations: [] Exploring Operation: 93*76=7068, Resulting Numbers: [72, 62, 7068] Generated Node #2: [72, 62, 7068] from Operation: 93*76=7068 Current State: 42:[72, 62, 7068], Operations: ['93*76=7068'] Exploring Operation: 7068/62=114, Resulting Numbers: [72, 114] Generated Node #3: [72, 114] from Operation: 7068/62=114 Current State: 42:[72, 114], Operations: ['93*76=7068', '7068/62=114'] Exploring Operation: 114-72=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[72, 93, 62, 76], Operations: [] Exploring Operation: 76-72=4, Resulting Numbers: [93, 62, 4] Generated Node #0,0: 42:[93, 62, 4] Operation: 76-72=4 Exploring Operation: 93-76=17, Resulting Numbers: [72, 62, 17] Generated Node #0,1: 42:[72, 62, 17] Operation: 93-76=17 Exploring Operation: 93-72=21, Resulting Numbers: [62, 76, 21] Generated Node #0,2: 42:[62, 76, 21] Operation: 93-72=21 Moving to Node #0,1 Current State: 42:[72, 62, 17], Operations: ['93-76=17'] Exploring Operation: 62-17=45, Resulting Numbers: [72, 45] Generated Node #0,1,0: 42:[72, 45] Operation: 62-17=45 Exploring Operation: 72-17=55, Resulting Numbers: [62, 55] Generated Node #0,1,1: 42:[62, 55] Operation: 72-17=55 Exploring Operation: 72-62=10, Resulting Numbers: [17, 10] Generated Node #0,1,2: 42:[17, 10] Operation: 72-62=10 Moving to Node #0,2 Current State: 42:[62, 76, 21], Operations: ['93-72=21'] Exploring Operation: 62-21=41, Resulting Numbers: [76, 41] Generated Node #0,2,0: 42:[76, 41] Operation: 62-21=41 Exploring Operation: 76-62=14, Resulting Numbers: [21, 14] Generated Node #0,2,1: 42:[21, 14] Operation: 76-62=14 Exploring Operation: 76-21=55, Resulting Numbers: [62, 55] Generated Node #0,2,2: 42:[62, 55] Operation: 76-21=55 Moving to Node #0,0 Current State: 42:[93, 62, 4], Operations: ['76-72=4'] Exploring Operation: 93-4=89, Resulting Numbers: [62, 89] Generated Node #0,0,0: 42:[62, 89] Operation: 93-4=89 Exploring Operation: 93-62=31, Resulting Numbers: [4, 31] Generated Node #0,0,1: 42:[4, 31] Operation: 93-62=31 Exploring Operation: 62-4=58, Resulting Numbers: [93, 58] Generated Node #0,0,2: 42:[93, 58] Operation: 62-4=58 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[4, 31], Operations: ['76-72=4', '93-62=31'] Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,42 unequal: No Solution Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[62, 89], Operations: ['76-72=4', '93-4=89'] Exploring Operation: 89-62=27, Resulting Numbers: [27] 27,42 unequal: No Solution Exploring Operation: 62+89=151, Resulting Numbers: [151] 151,42 unequal: No Solution Exploring Operation: 62*89=5518, Resulting Numbers: [5518] 5518,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 42:[93, 58], Operations: ['76-72=4', '62-4=58'] Exploring Operation: 93*58=5394, Resulting Numbers: [5394] 5394,42 unequal: No Solution Exploring Operation: 93+58=151, Resulting Numbers: [151] 151,42 unequal: No Solution Exploring Operation: 93-58=35, Resulting Numbers: [35] 35,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 42:[21, 14], Operations: ['93-72=21', '76-62=14'] Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 21*14=294, Resulting Numbers: [294] 294,42 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[17, 10], Operations: ['93-76=17', '72-62=10'] Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,42 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 17*10=170, Resulting Numbers: [170] 170,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[62, 55], Operations: ['93-76=17', '72-17=55'] Exploring Operation: 62+55=117, Resulting Numbers: [117] 117,42 unequal: No Solution Exploring Operation: 62-55=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 62*55=3410, Resulting Numbers: [3410] 3410,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[62, 55], Operations: ['93-72=21', '76-21=55'] Exploring Operation: 62+55=117, Resulting Numbers: [117] 117,42 unequal: No Solution Exploring Operation: 62*55=3410, Resulting Numbers: [3410] 3410,42 unequal: No Solution Exploring Operation: 62-55=7, Resulting Numbers: [7] 7,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[72, 45], Operations: ['93-76=17', '62-17=45'] Exploring Operation: 72*45=3240, Resulting Numbers: [3240] 3240,42 unequal: No Solution Exploring Operation: 72+45=117, Resulting Numbers: [117] 117,42 unequal: No Solution Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[76, 41], Operations: ['93-72=21', '62-21=41'] Exploring Operation: 76+41=117, Resulting Numbers: [117] 117,42 unequal: No Solution Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 76*41=3116, Resulting Numbers: [3116] 3116,42 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 92, 8, 54, 39 ]
85
[ "92+8=100", "54-39=15", "100-15=85" ]
Current State: 85:[92, 8, 54, 39], Operations: [] Exploring Operation: 92+8=100, Resulting Numbers: [54, 39, 100] Generated Node #2: [54, 39, 100] from Operation: 92+8=100 Current State: 85:[54, 39, 100], Operations: ['92+8=100'] Exploring Operation: 54-39=15, Resulting Numbers: [100, 15] Generated Node #3: [100, 15] from Operation: 54-39=15 Current State: 85:[100, 15], Operations: ['92+8=100', '54-39=15'] Exploring Operation: 100-15=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[92, 8, 54, 39], Operations: [] Exploring Operation: 54+39=93, Resulting Numbers: [92, 8, 93] Generated Node #0,0: 85:[92, 8, 93] Operation: 54+39=93 Exploring Operation: 92-54=38, Resulting Numbers: [8, 39, 38] Generated Node #0,1: 85:[8, 39, 38] Operation: 92-54=38 Exploring Operation: 8+54=62, Resulting Numbers: [92, 39, 62] Generated Node #0,2: 85:[92, 39, 62] Operation: 8+54=62 Exploring Operation: 54-39=15, Resulting Numbers: [92, 8, 15] Generated Node #0,3: 85:[92, 8, 15] Operation: 54-39=15 Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[92, 8, 15], Operations: ['54-39=15'] Exploring Operation: 8+15=23, Resulting Numbers: [92, 23] Generated Node #0,3,0: 85:[92, 23] Operation: 8+15=23 Exploring Operation: 92-8=84, Resulting Numbers: [15, 84] Generated Node #0,3,1: 85:[15, 84] Operation: 92-8=84 Exploring Operation: 92-15=77, Resulting Numbers: [8, 77] Generated Node #0,3,2: 85:[8, 77] Operation: 92-15=77 Exploring Operation: 15-8=7, Resulting Numbers: [92, 7] Generated Node #0,3,3: 85:[92, 7] Operation: 15-8=7 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 85:[15, 84], Operations: ['54-39=15', '92-8=84'] Exploring Operation: 15*84=1260, Resulting Numbers: [1260] 1260,85 unequal: No Solution Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,85 unequal: No Solution Exploring Operation: 15+84=99, Resulting Numbers: [99] 99,85 unequal: No Solution No 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: 85:[92, 7], Operations: ['54-39=15', '15-8=7'] Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[92, 8, 54, 39], Operations: [] Exploring Operation: 54-39=15, Resulting Numbers: [92, 8, 15] Generated Node #0,3: 85:[92, 8, 15] Operation: 54-39=15 Moving to Node #0,3 Current State: 85:[92, 8, 15], Operations: ['54-39=15'] Exploring Operation: 15-8=7, Resulting Numbers: [92, 7] Generated Node #0,3,3: 85:[92, 7] Operation: 15-8=7 Moving to Node #0,3,3 Current State: 85:[92, 7], Operations: ['54-39=15', '15-8=7'] Exploring Operation: 92-7=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 50, 32, 36, 19 ]
35
[ "50-32=18", "36-19=17", "18+17=35" ]
Current State: 35:[50, 32, 36, 19], Operations: [] Exploring Operation: 50-32=18, Resulting Numbers: [36, 19, 18] Generated Node #2: [36, 19, 18] from Operation: 50-32=18 Current State: 35:[36, 19, 18], Operations: ['50-32=18'] Exploring Operation: 36-19=17, Resulting Numbers: [18, 17] Generated Node #3: [18, 17] from Operation: 36-19=17 Current State: 35:[18, 17], Operations: ['50-32=18', '36-19=17'] Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[50, 32, 36, 19], Operations: [] Exploring Operation: 50-19=31, Resulting Numbers: [32, 36, 31] Generated Node #0,0: 35:[32, 36, 31] Operation: 50-19=31 Exploring Operation: 50-36=14, Resulting Numbers: [32, 19, 14] Generated Node #0,1: 35:[32, 19, 14] Operation: 50-36=14 Exploring Operation: 32-19=13, Resulting Numbers: [50, 36, 13] Generated Node #0,2: 35:[50, 36, 13] Operation: 32-19=13 Moving to Node #0,0 Current State: 35:[32, 36, 31], Operations: ['50-19=31'] Exploring Operation: 32-31=1, Resulting Numbers: [36, 1] Generated Node #0,0,0: 35:[36, 1] Operation: 32-31=1 Exploring Operation: 36-32=4, Resulting Numbers: [31, 4] Generated Node #0,0,1: 35:[31, 4] Operation: 36-32=4 Exploring Operation: 36-31=5, Resulting Numbers: [32, 5] Generated Node #0,0,2: 35:[32, 5] Operation: 36-31=5 Moving to Node #0,1 Current State: 35:[32, 19, 14], Operations: ['50-36=14'] Exploring Operation: 19+14=33, Resulting Numbers: [32, 33] Generated Node #0,1,0: 35:[32, 33] Operation: 19+14=33 Exploring Operation: 32-19=13, Resulting Numbers: [14, 13] Generated Node #0,1,1: 35:[14, 13] Operation: 32-19=13 Exploring Operation: 19-14=5, Resulting Numbers: [32, 5] Generated Node #0,1,2: 35:[32, 5] Operation: 19-14=5 Moving to Node #0,2 Current State: 35:[50, 36, 13], Operations: ['32-19=13'] Exploring Operation: 50-13=37, Resulting Numbers: [36, 37] Generated Node #0,2,0: 35:[36, 37] Operation: 50-13=37 Exploring Operation: 36-13=23, Resulting Numbers: [50, 23] Generated Node #0,2,1: 35:[50, 23] Operation: 36-13=23 Exploring Operation: 50-36=14, Resulting Numbers: [13, 14] Generated Node #0,2,2: 35:[13, 14] Operation: 50-36=14 Moving to Node #0,0,2 Current State: 35:[32, 5], Operations: ['50-19=31', '36-31=5'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,35 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[36, 37], Operations: ['32-19=13', '50-13=37'] Exploring Operation: 36*37=1332, Resulting Numbers: [1332] 1332,35 unequal: No Solution Exploring Operation: 36+37=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[32, 5], Operations: ['50-36=14', '19-14=5'] Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,35 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,35 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[31, 4], Operations: ['50-19=31', '36-32=4'] Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,35 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[50, 32, 36, 19], Operations: [] Exploring Operation: 50-19=31, Resulting Numbers: [32, 36, 31] Generated Node #0,0: 35:[32, 36, 31] Operation: 50-19=31 Moving to Node #0,0 Current State: 35:[32, 36, 31], Operations: ['50-19=31'] Exploring Operation: 36-32=4, Resulting Numbers: [31, 4] Generated Node #0,0,1: 35:[31, 4] Operation: 36-32=4 Moving to Node #0,0,1 Current State: 35:[31, 4], Operations: ['50-19=31', '36-32=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 22, 9, 1, 77 ]
89
[ "22-9=13", "77-1=76", "13+76=89" ]
Current State: 89:[22, 9, 1, 77], Operations: [] Exploring Operation: 22-9=13, Resulting Numbers: [1, 77, 13] Generated Node #2: [1, 77, 13] from Operation: 22-9=13 Current State: 89:[1, 77, 13], Operations: ['22-9=13'] Exploring Operation: 77-1=76, Resulting Numbers: [13, 76] Generated Node #3: [13, 76] from Operation: 77-1=76 Current State: 89:[13, 76], Operations: ['22-9=13', '77-1=76'] Exploring Operation: 13+76=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[22, 9, 1, 77], Operations: [] Exploring Operation: 22+9=31, Resulting Numbers: [1, 77, 31] Generated Node #0,0: 89:[1, 77, 31] Operation: 22+9=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[1, 77, 31], Operations: ['22+9=31'] Exploring Operation: 1+77=78, Resulting Numbers: [31, 78] Generated Node #0,0,0: 89:[31, 78] Operation: 1+77=78 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[31, 78], Operations: ['22+9=31', '1+77=78'] Exploring Operation: 31+78=109, Resulting Numbers: [109] 109,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 No solution found.
0
hs_1
sum_heuristic
[ 36, 58, 8, 64 ]
78
[ "58-36=22", "64-8=56", "22+56=78" ]
Current State: 78:[36, 58, 8, 64], Operations: [] Exploring Operation: 58-36=22, Resulting Numbers: [8, 64, 22] Generated Node #2: [8, 64, 22] from Operation: 58-36=22 Current State: 78:[8, 64, 22], Operations: ['58-36=22'] Exploring Operation: 64-8=56, Resulting Numbers: [22, 56] Generated Node #3: [22, 56] from Operation: 64-8=56 Current State: 78:[22, 56], Operations: ['58-36=22', '64-8=56'] Exploring Operation: 22+56=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[36, 58, 8, 64], Operations: [] Exploring Operation: 64-58=6, Resulting Numbers: [36, 8, 6] Generated Node #0,0: 78:[36, 8, 6] Operation: 64-58=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[36, 8, 6], Operations: ['64-58=6'] Exploring Operation: 36-8=28, Resulting Numbers: [6, 28] Generated Node #0,0,0: 78:[6, 28] Operation: 36-8=28 Moving to Node #0,0,0 Current State: 78:[6, 28], Operations: ['64-58=6', '36-8=28'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,78 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, 58, 72, 85 ]
10
[ "98-85=13", "58+72=130", "130/13=10" ]
Current State: 10:[98, 58, 72, 85], Operations: [] Exploring Operation: 98-85=13, Resulting Numbers: [58, 72, 13] Generated Node #2: [58, 72, 13] from Operation: 98-85=13 Current State: 10:[58, 72, 13], Operations: ['98-85=13'] Exploring Operation: 58+72=130, Resulting Numbers: [13, 130] Generated Node #3: [13, 130] from Operation: 58+72=130 Current State: 10:[13, 130], Operations: ['98-85=13', '58+72=130'] Exploring Operation: 130/13=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[98, 58, 72, 85], Operations: [] Exploring Operation: 98-72=26, Resulting Numbers: [58, 85, 26] Generated Node #0,0: 10:[58, 85, 26] Operation: 98-72=26 Exploring Operation: 98-85=13, Resulting Numbers: [58, 72, 13] Generated Node #0,1: 10:[58, 72, 13] Operation: 98-85=13 Moving to Node #0,1 Current State: 10:[58, 72, 13], Operations: ['98-85=13'] Exploring Operation: 58-13=45, Resulting Numbers: [72, 45] Generated Node #0,1,0: 10:[72, 45] Operation: 58-13=45 Exploring Operation: 72-58=14, Resulting Numbers: [13, 14] Generated Node #0,1,1: 10:[13, 14] Operation: 72-58=14 Moving to Node #0,0 Current State: 10:[58, 85, 26], Operations: ['98-72=26'] Exploring Operation: 85-58=27, Resulting Numbers: [26, 27] Generated Node #0,0,0: 10:[26, 27] Operation: 85-58=27 Exploring Operation: 58-26=32, Resulting Numbers: [85, 32] Generated Node #0,0,1: 10:[85, 32] Operation: 58-26=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[26, 27], Operations: ['98-72=26', '85-58=27'] Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[85, 32], Operations: ['98-72=26', '58-26=32'] Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,10 unequal: No Solution Exploring Operation: 85+32=117, Resulting Numbers: [117] 117,10 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: 10:[13, 14], Operations: ['98-85=13', '72-58=14'] Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[72, 45], Operations: ['98-85=13', '58-13=45'] Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 72+45=117, Resulting Numbers: [117] 117,10 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 23, 12, 54, 82 ]
39
[ "23-12=11", "82-54=28", "11+28=39" ]
Current State: 39:[23, 12, 54, 82], Operations: [] Exploring Operation: 23-12=11, Resulting Numbers: [54, 82, 11] Generated Node #2: [54, 82, 11] from Operation: 23-12=11 Current State: 39:[54, 82, 11], Operations: ['23-12=11'] Exploring Operation: 82-54=28, Resulting Numbers: [11, 28] Generated Node #3: [11, 28] from Operation: 82-54=28 Current State: 39:[11, 28], Operations: ['23-12=11', '82-54=28'] Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[23, 12, 54, 82], Operations: [] Exploring Operation: 82-54=28, Resulting Numbers: [23, 12, 28] Generated Node #0,0: 39:[23, 12, 28] Operation: 82-54=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[23, 12, 28], Operations: ['82-54=28'] Exploring Operation: 28-23=5, Resulting Numbers: [12, 5] Generated Node #0,0,0: 39:[12, 5] Operation: 28-23=5 Moving to Node #0,0,0 Current State: 39:[12, 5], Operations: ['82-54=28', '28-23=5'] Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,39 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, 99, 48, 55 ]
29
[ "99+55=154", "154/2=77", "77-48=29" ]
Current State: 29:[2, 99, 48, 55], Operations: [] Exploring Operation: 99+55=154, Resulting Numbers: [2, 48, 154] Generated Node #2: [2, 48, 154] from Operation: 99+55=154 Current State: 29:[2, 48, 154], Operations: ['99+55=154'] Exploring Operation: 154/2=77, Resulting Numbers: [48, 77] Generated Node #3: [48, 77] from Operation: 154/2=77 Current State: 29:[48, 77], Operations: ['99+55=154', '154/2=77'] Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[2, 99, 48, 55], Operations: [] Exploring Operation: 99-55=44, Resulting Numbers: [2, 48, 44] Generated Node #0,0: 29:[2, 48, 44] Operation: 99-55=44 Exploring Operation: 99-48=51, Resulting Numbers: [2, 55, 51] Generated Node #0,1: 29:[2, 55, 51] Operation: 99-48=51 Exploring Operation: 48/2=24, Resulting Numbers: [99, 55, 24] Generated Node #0,2: 29:[99, 55, 24] Operation: 48/2=24 Moving to Node #0,0 Current State: 29:[2, 48, 44], Operations: ['99-55=44'] Exploring Operation: 44/2=22, Resulting Numbers: [48, 22] Generated Node #0,0,0: 29:[48, 22] Operation: 44/2=22 Exploring Operation: 48-2=46, Resulting Numbers: [44, 46] Generated Node #0,0,1: 29:[44, 46] Operation: 48-2=46 Exploring Operation: 48/2=24, Resulting Numbers: [44, 24] Generated Node #0,0,2: 29:[44, 24] Operation: 48/2=24 Moving to Node #0,1 Current State: 29:[2, 55, 51], Operations: ['99-48=51'] Exploring Operation: 55-2=53, Resulting Numbers: [51, 53] Generated Node #0,1,0: 29:[51, 53] Operation: 55-2=53 Exploring Operation: 2+55=57, Resulting Numbers: [51, 57] Generated Node #0,1,1: 29:[51, 57] Operation: 2+55=57 Exploring Operation: 51-2=49, Resulting Numbers: [55, 49] Generated Node #0,1,2: 29:[55, 49] Operation: 51-2=49 Moving to Node #0,2 Current State: 29:[99, 55, 24], Operations: ['48/2=24'] Exploring Operation: 99-24=75, Resulting Numbers: [55, 75] Generated Node #0,2,0: 29:[55, 75] Operation: 99-24=75 Exploring Operation: 55-24=31, Resulting Numbers: [99, 31] Generated Node #0,2,1: 29:[99, 31] Operation: 55-24=31 Exploring Operation: 99-55=44, Resulting Numbers: [24, 44] Generated Node #0,2,2: 29:[24, 44] Operation: 99-55=44 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[24, 44], Operations: ['48/2=24', '99-55=44'] Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 24*44=1056, Resulting Numbers: [1056] 1056,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[55, 75], Operations: ['48/2=24', '99-24=75'] Exploring Operation: 75-55=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 55*75=4125, Resulting Numbers: [4125] 4125,29 unequal: No Solution Exploring Operation: 55+75=130, Resulting Numbers: [130] 130,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[99, 31], Operations: ['48/2=24', '55-24=31'] Exploring Operation: 99+31=130, Resulting Numbers: [130] 130,29 unequal: No Solution Exploring Operation: 99*31=3069, Resulting Numbers: [3069] 3069,29 unequal: No Solution Exploring Operation: 99-31=68, Resulting Numbers: [68] 68,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 29:[44, 24], Operations: ['99-55=44', '48/2=24'] Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,29 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[48, 22], Operations: ['99-55=44', '44/2=22'] Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 48+22=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 48*22=1056, Resulting Numbers: [1056] 1056,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[44, 46], Operations: ['99-55=44', '48-2=46'] Exploring Operation: 44*46=2024, Resulting Numbers: [2024] 2024,29 unequal: No Solution Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,29 unequal: No Solution Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[55, 49], Operations: ['99-48=51', '51-2=49'] Exploring Operation: 55*49=2695, Resulting Numbers: [2695] 2695,29 unequal: No Solution Exploring Operation: 55+49=104, Resulting Numbers: [104] 104,29 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[51, 53], Operations: ['99-48=51', '55-2=53'] Exploring Operation: 53-51=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 51*53=2703, Resulting Numbers: [2703] 2703,29 unequal: No Solution Exploring Operation: 51+53=104, Resulting Numbers: [104] 104,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[51, 57], Operations: ['99-48=51', '2+55=57'] Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 51+57=108, Resulting Numbers: [108] 108,29 unequal: No Solution Exploring Operation: 51*57=2907, Resulting Numbers: [2907] 2907,29 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 75, 92, 6, 59 ]
36
[ "92-75=17", "59-6=53", "53-17=36" ]
Current State: 36:[75, 92, 6, 59], Operations: [] Exploring Operation: 92-75=17, Resulting Numbers: [6, 59, 17] Generated Node #2: [6, 59, 17] from Operation: 92-75=17 Current State: 36:[6, 59, 17], Operations: ['92-75=17'] Exploring Operation: 59-6=53, Resulting Numbers: [17, 53] Generated Node #3: [17, 53] from Operation: 59-6=53 Current State: 36:[17, 53], Operations: ['92-75=17', '59-6=53'] Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[75, 92, 6, 59], Operations: [] Exploring Operation: 92-59=33, Resulting Numbers: [75, 6, 33] Generated Node #0,0: 36:[75, 6, 33] Operation: 92-59=33 Exploring Operation: 92-75=17, Resulting Numbers: [6, 59, 17] Generated Node #0,1: 36:[6, 59, 17] Operation: 92-75=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[6, 59, 17], Operations: ['92-75=17'] Exploring Operation: 59-6=53, Resulting Numbers: [17, 53] Generated Node #0,1,0: 36:[17, 53] Operation: 59-6=53 Exploring Operation: 59-17=42, Resulting Numbers: [6, 42] Generated Node #0,1,1: 36:[6, 42] Operation: 59-17=42 Moving to Node #0,1,1 Current State: 36:[6, 42], Operations: ['92-75=17', '59-17=42'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[75, 92, 6, 59], Operations: [] Exploring Operation: 92-75=17, Resulting Numbers: [6, 59, 17] Generated Node #0,1: 36:[6, 59, 17] Operation: 92-75=17 Moving to Node #0,1 Current State: 36:[6, 59, 17], Operations: ['92-75=17'] Exploring Operation: 59-17=42, Resulting Numbers: [6, 42] Generated Node #0,1,1: 36:[6, 42] Operation: 59-17=42 Moving to Node #0,1,1 Current State: 36:[6, 42], Operations: ['92-75=17', '59-17=42'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 27, 76, 82, 2 ]
15
[ "82-76=6", "2*6=12", "27-12=15" ]
Current State: 15:[27, 76, 82, 2], Operations: [] Exploring Operation: 82-76=6, Resulting Numbers: [27, 2, 6] Generated Node #2: [27, 2, 6] from Operation: 82-76=6 Current State: 15:[27, 2, 6], Operations: ['82-76=6'] Exploring Operation: 2*6=12, Resulting Numbers: [27, 12] Generated Node #3: [27, 12] from Operation: 2*6=12 Current State: 15:[27, 12], Operations: ['82-76=6', '2*6=12'] Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[27, 76, 82, 2], Operations: [] Exploring Operation: 82-76=6, Resulting Numbers: [27, 2, 6] Generated Node #0,0: 15:[27, 2, 6] Operation: 82-76=6 Exploring Operation: 76-27=49, Resulting Numbers: [82, 2, 49] Generated Node #0,1: 15:[82, 2, 49] Operation: 76-27=49 Exploring Operation: 82/2=41, Resulting Numbers: [27, 76, 41] Generated Node #0,2: 15:[27, 76, 41] Operation: 82/2=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[27, 2, 6], Operations: ['82-76=6'] Exploring Operation: 27-6=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 15:[2, 21] Operation: 27-6=21 Exploring Operation: 6/2=3, Resulting Numbers: [27, 3] Generated Node #0,0,1: 15:[27, 3] Operation: 6/2=3 Exploring Operation: 27-2=25, Resulting Numbers: [6, 25] Generated Node #0,0,2: 15:[6, 25] Operation: 27-2=25 Moving to Node #0,0,0 Current State: 15:[2, 21], Operations: ['82-76=6', '27-6=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[6, 25], Operations: ['82-76=6', '27-2=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[27, 3], Operations: ['82-76=6', '6/2=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,15 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[27, 76, 41], Operations: ['82/2=41'] Exploring Operation: 76-27=49, Resulting Numbers: [41, 49] Generated Node #0,2,0: 15:[41, 49] Operation: 76-27=49 Exploring Operation: 41-27=14, Resulting Numbers: [76, 14] Generated Node #0,2,1: 15:[76, 14] Operation: 41-27=14 Exploring Operation: 76-41=35, Resulting Numbers: [27, 35] Generated Node #0,2,2: 15:[27, 35] Operation: 76-41=35 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[27, 35], Operations: ['82/2=41', '76-41=35'] Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,15 unequal: No Solution Exploring Operation: 27*35=945, Resulting Numbers: [945] 945,15 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[41, 49], Operations: ['82/2=41', '76-27=49'] Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 41*49=2009, Resulting Numbers: [2009] 2009,15 unequal: No Solution Exploring Operation: 41+49=90, Resulting Numbers: [90] 90,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 15:[76, 14], Operations: ['82/2=41', '41-27=14'] Exploring Operation: 76*14=1064, Resulting Numbers: [1064] 1064,15 unequal: No Solution Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,15 unequal: No Solution Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[82, 2, 49], Operations: ['76-27=49'] Exploring Operation: 82/2=41, Resulting Numbers: [49, 41] Generated Node #0,1,0: 15:[49, 41] Operation: 82/2=41 Exploring Operation: 82-49=33, Resulting Numbers: [2, 33] Generated Node #0,1,1: 15:[2, 33] Operation: 82-49=33 Exploring Operation: 82-2=80, Resulting Numbers: [49, 80] Generated Node #0,1,2: 15:[49, 80] Operation: 82-2=80 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[2, 33], Operations: ['76-27=49', '82-49=33'] Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[49, 41], Operations: ['76-27=49', '82/2=41'] Exploring Operation: 49+41=90, Resulting Numbers: [90] 90,15 unequal: No Solution Exploring Operation: 49*41=2009, Resulting Numbers: [2009] 2009,15 unequal: No Solution Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 15:[49, 80], Operations: ['76-27=49', '82-2=80'] Exploring Operation: 49*80=3920, Resulting Numbers: [3920] 3920,15 unequal: No Solution Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 49+80=129, Resulting Numbers: [129] 129,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 8, 84, 16, 18 ]
26
[ "8*16=128", "84+18=102", "128-102=26" ]
Current State: 26:[8, 84, 16, 18], Operations: [] Exploring Operation: 8*16=128, Resulting Numbers: [84, 18, 128] Generated Node #2: [84, 18, 128] from Operation: 8*16=128 Current State: 26:[84, 18, 128], Operations: ['8*16=128'] Exploring Operation: 84+18=102, Resulting Numbers: [128, 102] Generated Node #3: [128, 102] from Operation: 84+18=102 Current State: 26:[128, 102], Operations: ['8*16=128', '84+18=102'] Exploring Operation: 128-102=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[8, 84, 16, 18], Operations: [] Exploring Operation: 84-16=68, Resulting Numbers: [8, 18, 68] Generated Node #0,0: 26:[8, 18, 68] Operation: 84-16=68 Exploring Operation: 8+18=26, Resulting Numbers: [84, 16, 26] Generated Node #0,1: 26:[84, 16, 26] Operation: 8+18=26 Exploring Operation: 84-18=66, Resulting Numbers: [8, 16, 66] Generated Node #0,2: 26:[8, 16, 66] Operation: 84-18=66 Exploring Operation: 84-8=76, Resulting Numbers: [16, 18, 76] Generated Node #0,3: 26:[16, 18, 76] Operation: 84-8=76 Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[8, 16, 66], Operations: ['84-18=66'] Exploring Operation: 66-16=50, Resulting Numbers: [8, 50] Generated Node #0,2,0: 26:[8, 50] Operation: 66-16=50 Exploring Operation: 8+16=24, Resulting Numbers: [66, 24] Generated Node #0,2,1: 26:[66, 24] Operation: 8+16=24 Exploring Operation: 66-8=58, Resulting Numbers: [16, 58] Generated Node #0,2,2: 26:[16, 58] Operation: 66-8=58 Exploring Operation: 16/8=2, Resulting Numbers: [66, 2] Generated Node #0,2,3: 26:[66, 2] Operation: 16/8=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 26:[8, 50], Operations: ['84-18=66', '66-16=50'] Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,26 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 8*50=400, Resulting Numbers: [400] 400,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 26:[16, 58], Operations: ['84-18=66', '66-8=58'] Exploring Operation: 16*58=928, Resulting Numbers: [928] 928,26 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 16+58=74, Resulting Numbers: [74] 74,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 26:[66, 2], Operations: ['84-18=66', '16/8=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,26 unequal: No Solution Exploring Operation: 66*2=132, Resulting Numbers: [132] 132,26 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,26 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 26:[66, 24], Operations: ['84-18=66', '8+16=24'] Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,26 unequal: No Solution Exploring Operation: 66*24=1584, Resulting Numbers: [1584] 1584,26 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[8, 18, 68], Operations: ['84-16=68'] Exploring Operation: 68-8=60, Resulting Numbers: [18, 60] Generated Node #0,0,0: 26:[18, 60] Operation: 68-8=60 Exploring Operation: 8+18=26, Resulting Numbers: [68, 26] Generated Node #0,0,1: 26:[68, 26] Operation: 8+18=26 Exploring Operation: 68-18=50, Resulting Numbers: [8, 50] Generated Node #0,0,2: 26:[8, 50] Operation: 68-18=50 Exploring Operation: 18-8=10, Resulting Numbers: [68, 10] Generated Node #0,0,3: 26:[68, 10] Operation: 18-8=10 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 26:[8, 50], Operations: ['84-16=68', '68-18=50'] Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,26 unequal: No Solution Exploring Operation: 8*50=400, Resulting Numbers: [400] 400,26 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[18, 60], Operations: ['84-16=68', '68-8=60'] Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 18+60=78, Resulting Numbers: [78] 78,26 unequal: No Solution Exploring Operation: 18*60=1080, Resulting Numbers: [1080] 1080,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 26:[68, 26], Operations: ['84-16=68', '8+18=26'] Exploring Operation: 68+26=94, Resulting Numbers: [94] 94,26 unequal: No Solution Exploring Operation: 68*26=1768, Resulting Numbers: [1768] 1768,26 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 26:[68, 10], Operations: ['84-16=68', '18-8=10'] Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,26 unequal: No Solution Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,26 unequal: No Solution Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[16, 18, 76], Operations: ['84-8=76'] Exploring Operation: 18-16=2, Resulting Numbers: [76, 2] Generated Node #0,3,0: 26:[76, 2] Operation: 18-16=2 Exploring Operation: 16+18=34, Resulting Numbers: [76, 34] Generated Node #0,3,1: 26:[76, 34] Operation: 16+18=34 Exploring Operation: 76-18=58, Resulting Numbers: [16, 58] Generated Node #0,3,2: 26:[16, 58] Operation: 76-18=58 Exploring Operation: 76-16=60, Resulting Numbers: [18, 60] Generated Node #0,3,3: 26:[18, 60] Operation: 76-16=60 Moving to Node #0,3,2 Current State: 26:[16, 58], Operations: ['84-8=76', '76-18=58'] Exploring Operation: 16+58=74, Resulting Numbers: [74] 74,26 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 16*58=928, Resulting Numbers: [928] 928,26 unequal: No Solution Moving to Node #0,3,3 Current State: 26:[18, 60], Operations: ['84-8=76', '76-16=60'] Exploring Operation: 18*60=1080, Resulting Numbers: [1080] 1080,26 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 18+60=78, Resulting Numbers: [78] 78,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[76, 2], Operations: ['84-8=76', '18-16=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,26 unequal: No Solution Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,26 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,26 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[76, 34], Operations: ['84-8=76', '16+18=34'] Exploring Operation: 76*34=2584, Resulting Numbers: [2584] 2584,26 unequal: No Solution Exploring Operation: 76-34=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 76+34=110, Resulting Numbers: [110] 110,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[84, 16, 26], Operations: ['8+18=26'] Exploring Operation: 84-16=68, Resulting Numbers: [26, 68] Generated Node #0,1,0: 26:[26, 68] Operation: 84-16=68 Exploring Operation: 84+16=100, Resulting Numbers: [26, 100] Generated Node #0,1,1: 26:[26, 100] Operation: 84+16=100 Exploring Operation: 84-26=58, Resulting Numbers: [16, 58] Generated Node #0,1,2: 26:[16, 58] Operation: 84-26=58 Exploring Operation: 26-16=10, Resulting Numbers: [84, 10] Generated Node #0,1,3: 26:[84, 10] Operation: 26-16=10 Moving to Node #0,1,2 Current State: 26:[16, 58], Operations: ['8+18=26', '84-26=58'] Exploring Operation: 16*58=928, Resulting Numbers: [928] 928,26 unequal: No Solution Exploring Operation: 16+58=74, Resulting Numbers: [74] 74,26 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[26, 68], Operations: ['8+18=26', '84-16=68'] Exploring Operation: 26*68=1768, Resulting Numbers: [1768] 1768,26 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 26+68=94, Resulting Numbers: [94] 94,26 unequal: No Solution Moving to Node #0,1,3 Current State: 26:[84, 10], Operations: ['8+18=26', '26-16=10'] Exploring Operation: 84*10=840, Resulting Numbers: [840] 840,26 unequal: No Solution Exploring Operation: 84+10=94, Resulting Numbers: [94] 94,26 unequal: No Solution Exploring Operation: 84-10=74, Resulting Numbers: [74] 74,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[26, 100], Operations: ['8+18=26', '84+16=100'] Exploring Operation: 26+100=126, Resulting Numbers: [126] 126,26 unequal: No Solution Exploring Operation: 100-26=74, Resulting Numbers: [74] 74,26 unequal: No Solution Exploring Operation: 26*100=2600, Resulting Numbers: [2600] 2600,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 4, 62, 98, 79 ]
85
[ "4+62=66", "98-79=19", "66+19=85" ]
Current State: 85:[4, 62, 98, 79], Operations: [] Exploring Operation: 4+62=66, Resulting Numbers: [98, 79, 66] Generated Node #2: [98, 79, 66] from Operation: 4+62=66 Current State: 85:[98, 79, 66], Operations: ['4+62=66'] Exploring Operation: 98-79=19, Resulting Numbers: [66, 19] Generated Node #3: [66, 19] from Operation: 98-79=19 Current State: 85:[66, 19], Operations: ['4+62=66', '98-79=19'] Exploring Operation: 66+19=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[4, 62, 98, 79], Operations: [] Exploring Operation: 79-62=17, Resulting Numbers: [4, 98, 17] Generated Node #0,0: 85:[4, 98, 17] Operation: 79-62=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[4, 98, 17], Operations: ['79-62=17'] Exploring Operation: 98-17=81, Resulting Numbers: [4, 81] Generated Node #0,0,0: 85:[4, 81] Operation: 98-17=81 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[4, 81], Operations: ['79-62=17', '98-17=81'] Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[4, 62, 98, 79], Operations: [] Exploring Operation: 79-62=17, Resulting Numbers: [4, 98, 17] Generated Node #0,0: 85:[4, 98, 17] Operation: 79-62=17 Moving to Node #0,0 Current State: 85:[4, 98, 17], Operations: ['79-62=17'] Exploring Operation: 98-17=81, Resulting Numbers: [4, 81] Generated Node #0,0,0: 85:[4, 81] Operation: 98-17=81 Moving to Node #0,0,0 Current State: 85:[4, 81], Operations: ['79-62=17', '98-17=81'] Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 11, 22, 55, 86 ]
79
[ "22+55=77", "77/11=7", "86-7=79" ]
Current State: 79:[11, 22, 55, 86], Operations: [] Exploring Operation: 22+55=77, Resulting Numbers: [11, 86, 77] Generated Node #2: [11, 86, 77] from Operation: 22+55=77 Current State: 79:[11, 86, 77], Operations: ['22+55=77'] Exploring Operation: 77/11=7, Resulting Numbers: [86, 7] Generated Node #3: [86, 7] from Operation: 77/11=7 Current State: 79:[86, 7], Operations: ['22+55=77', '77/11=7'] Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[11, 22, 55, 86], Operations: [] Exploring Operation: 86-11=75, Resulting Numbers: [22, 55, 75] Generated Node #0,0: 79:[22, 55, 75] Operation: 86-11=75 Exploring Operation: 11+55=66, Resulting Numbers: [22, 86, 66] Generated Node #0,1: 79:[22, 86, 66] Operation: 11+55=66 Exploring Operation: 22+55=77, Resulting Numbers: [11, 86, 77] Generated Node #0,2: 79:[11, 86, 77] Operation: 22+55=77 Exploring Operation: 11+22=33, Resulting Numbers: [55, 86, 33] Generated Node #0,3: 79:[55, 86, 33] Operation: 11+22=33 Moving to Node #0,1 Current State: 79:[22, 86, 66], Operations: ['11+55=66'] Exploring Operation: 22+66=88, Resulting Numbers: [86, 88] Generated Node #0,1,0: 79:[86, 88] Operation: 22+66=88 Exploring Operation: 86-22=64, Resulting Numbers: [66, 64] Generated Node #0,1,1: 79:[66, 64] Operation: 86-22=64 Exploring Operation: 66-22=44, Resulting Numbers: [86, 44] Generated Node #0,1,2: 79:[86, 44] Operation: 66-22=44 Exploring Operation: 22+86=108, Resulting Numbers: [66, 108] Generated Node #0,1,3: 79:[66, 108] Operation: 22+86=108 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[86, 88], Operations: ['11+55=66', '22+66=88'] Exploring Operation: 86+88=174, Resulting Numbers: [174] 174,79 unequal: No Solution Exploring Operation: 88-86=2, Resulting Numbers: [2] 2,79 unequal: No Solution Exploring Operation: 86*88=7568, Resulting Numbers: [7568] 7568,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:[66, 64], Operations: ['11+55=66', '86-22=64'] Exploring Operation: 66+64=130, Resulting Numbers: [130] 130,79 unequal: No Solution Exploring Operation: 66-64=2, Resulting Numbers: [2] 2,79 unequal: No Solution Exploring Operation: 66*64=4224, Resulting Numbers: [4224] 4224,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,2 Current State: 79:[86, 44], Operations: ['11+55=66', '66-22=44'] Exploring Operation: 86*44=3784, Resulting Numbers: [3784] 3784,79 unequal: No Solution Exploring Operation: 86-44=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 86+44=130, Resulting Numbers: [130] 130,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,3 Current State: 79:[66, 108], Operations: ['11+55=66', '22+86=108'] Exploring Operation: 66+108=174, Resulting Numbers: [174] 174,79 unequal: No Solution Exploring Operation: 66*108=7128, Resulting Numbers: [7128] 7128,79 unequal: No Solution Exploring Operation: 108-66=42, Resulting Numbers: [42] 42,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 79:[55, 86, 33], Operations: ['11+22=33'] Exploring Operation: 55-33=22, Resulting Numbers: [86, 22] Generated Node #0,3,0: 79:[86, 22] Operation: 55-33=22 Exploring Operation: 86+33=119, Resulting Numbers: [55, 119] Generated Node #0,3,1: 79:[55, 119] Operation: 86+33=119 Exploring Operation: 55+33=88, Resulting Numbers: [86, 88] Generated Node #0,3,2: 79:[86, 88] Operation: 55+33=88 Exploring Operation: 86-33=53, Resulting Numbers: [55, 53] Generated Node #0,3,3: 79:[55, 53] Operation: 86-33=53 Moving to Node #0,2 Current State: 79:[11, 86, 77], Operations: ['22+55=77'] Exploring Operation: 11+77=88, Resulting Numbers: [86, 88] Generated Node #0,2,0: 79:[86, 88] Operation: 11+77=88 Exploring Operation: 77-11=66, Resulting Numbers: [86, 66] Generated Node #0,2,1: 79:[86, 66] Operation: 77-11=66 Exploring Operation: 86-11=75, Resulting Numbers: [77, 75] Generated Node #0,2,2: 79:[77, 75] Operation: 86-11=75 Exploring Operation: 11+86=97, Resulting Numbers: [77, 97] Generated Node #0,2,3: 79:[77, 97] Operation: 11+86=97 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[77, 75], Operations: ['22+55=77', '86-11=75'] Exploring Operation: 77+75=152, Resulting Numbers: [152] 152,79 unequal: No Solution Exploring Operation: 77*75=5775, Resulting Numbers: [5775] 5775,79 unequal: No Solution Exploring Operation: 77-75=2, Resulting Numbers: [2] 2,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[86, 88], Operations: ['22+55=77', '11+77=88'] Exploring Operation: 86+88=174, Resulting Numbers: [174] 174,79 unequal: No Solution Exploring Operation: 86*88=7568, Resulting Numbers: [7568] 7568,79 unequal: No Solution Exploring Operation: 88-86=2, Resulting Numbers: [2] 2,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[86, 66], Operations: ['22+55=77', '77-11=66'] Exploring Operation: 86*66=5676, Resulting Numbers: [5676] 5676,79 unequal: No Solution Exploring Operation: 86-66=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 86+66=152, Resulting Numbers: [152] 152,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 79:[77, 97], Operations: ['22+55=77', '11+86=97'] Exploring Operation: 77*97=7469, Resulting Numbers: [7469] 7469,79 unequal: No Solution Exploring Operation: 97-77=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 77+97=174, Resulting Numbers: [174] 174,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 79:[22, 55, 75], Operations: ['86-11=75'] Exploring Operation: 22+55=77, Resulting Numbers: [75, 77] Generated Node #0,0,0: 79:[75, 77] Operation: 22+55=77 Exploring Operation: 55-22=33, Resulting Numbers: [75, 33] Generated Node #0,0,1: 79:[75, 33] Operation: 55-22=33 Exploring Operation: 22+75=97, Resulting Numbers: [55, 97] Generated Node #0,0,2: 79:[55, 97] Operation: 22+75=97 Exploring Operation: 75-22=53, Resulting Numbers: [55, 53] Generated Node #0,0,3: 79:[55, 53] Operation: 75-22=53 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[75, 77], Operations: ['86-11=75', '22+55=77'] Exploring Operation: 75*77=5775, Resulting Numbers: [5775] 5775,79 unequal: No Solution Exploring Operation: 75+77=152, Resulting Numbers: [152] 152,79 unequal: No Solution Exploring Operation: 77-75=2, Resulting Numbers: [2] 2,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[55, 97], Operations: ['86-11=75', '22+75=97'] Exploring Operation: 97-55=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 55*97=5335, Resulting Numbers: [5335] 5335,79 unequal: No Solution Exploring Operation: 55+97=152, Resulting Numbers: [152] 152,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[75, 33], Operations: ['86-11=75', '55-22=33'] Exploring Operation: 75+33=108, Resulting Numbers: [108] 108,79 unequal: No Solution Exploring Operation: 75*33=2475, Resulting Numbers: [2475] 2475,79 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 79:[55, 53], Operations: ['86-11=75', '75-22=53'] Exploring Operation: 55*53=2915, Resulting Numbers: [2915] 2915,79 unequal: No Solution Exploring Operation: 55+53=108, Resulting Numbers: [108] 108,79 unequal: No Solution Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 79:[86, 88], Operations: ['11+22=33', '55+33=88'] Exploring Operation: 86*88=7568, Resulting Numbers: [7568] 7568,79 unequal: No Solution Exploring Operation: 86+88=174, Resulting Numbers: [174] 174,79 unequal: No Solution Exploring Operation: 88-86=2, Resulting Numbers: [2] 2,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[55, 53], Operations: ['11+22=33', '86-33=53'] Exploring Operation: 55*53=2915, Resulting Numbers: [2915] 2915,79 unequal: No Solution Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,79 unequal: No Solution Exploring Operation: 55+53=108, Resulting Numbers: [108] 108,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[55, 119], Operations: ['11+22=33', '86+33=119'] Exploring Operation: 119-55=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 55+119=174, Resulting Numbers: [174] 174,79 unequal: No Solution Exploring Operation: 55*119=6545, Resulting Numbers: [6545] 6545,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[86, 22], Operations: ['11+22=33', '55-33=22'] Exploring Operation: 86*22=1892, Resulting Numbers: [1892] 1892,79 unequal: No Solution Exploring Operation: 86-22=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 86+22=108, Resulting Numbers: [108] 108,79 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 69, 34, 9, 29 ]
83
[ "69+34=103", "29-9=20", "103-20=83" ]
Current State: 83:[69, 34, 9, 29], Operations: [] Exploring Operation: 69+34=103, Resulting Numbers: [9, 29, 103] Generated Node #2: [9, 29, 103] from Operation: 69+34=103 Current State: 83:[9, 29, 103], Operations: ['69+34=103'] Exploring Operation: 29-9=20, Resulting Numbers: [103, 20] Generated Node #3: [103, 20] from Operation: 29-9=20 Current State: 83:[103, 20], Operations: ['69+34=103', '29-9=20'] Exploring Operation: 103-20=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[69, 34, 9, 29], Operations: [] Exploring Operation: 34+29=63, Resulting Numbers: [69, 9, 63] Generated Node #0,0: 83:[69, 9, 63] Operation: 34+29=63 Exploring Operation: 34+9=43, Resulting Numbers: [69, 29, 43] Generated Node #0,1: 83:[69, 29, 43] Operation: 34+9=43 Exploring Operation: 69+9=78, Resulting Numbers: [34, 29, 78] Generated Node #0,2: 83:[34, 29, 78] Operation: 69+9=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[69, 9, 63], Operations: ['34+29=63'] Exploring Operation: 69-9=60, Resulting Numbers: [63, 60] Generated Node #0,0,0: 83:[63, 60] Operation: 69-9=60 Exploring Operation: 9+63=72, Resulting Numbers: [69, 72] Generated Node #0,0,1: 83:[69, 72] Operation: 9+63=72 Exploring Operation: 69+9=78, Resulting Numbers: [63, 78] Generated Node #0,0,2: 83:[63, 78] Operation: 69+9=78 Moving to Node #0,0,1 Current State: 83:[69, 72], Operations: ['34+29=63', '9+63=72'] Exploring Operation: 69*72=4968, Resulting Numbers: [4968] 4968,83 unequal: No Solution Exploring Operation: 69+72=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 72-69=3, Resulting Numbers: [3] 3,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[63, 78], Operations: ['34+29=63', '69+9=78'] Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,83 unequal: No Solution Exploring Operation: 63+78=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 63*78=4914, Resulting Numbers: [4914] 4914,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[63, 60], Operations: ['34+29=63', '69-9=60'] Exploring Operation: 63*60=3780, Resulting Numbers: [3780] 3780,83 unequal: No Solution Exploring Operation: 63-60=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 63+60=123, Resulting Numbers: [123] 123,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 Current State: 83:[69, 29, 43], Operations: ['34+9=43'] Exploring Operation: 69-29=40, Resulting Numbers: [43, 40] Generated Node #0,1,0: 83:[43, 40] Operation: 69-29=40 Exploring Operation: 69+29=98, Resulting Numbers: [43, 98] Generated Node #0,1,1: 83:[43, 98] Operation: 69+29=98 Exploring Operation: 29+43=72, Resulting Numbers: [69, 72] Generated Node #0,1,2: 83:[69, 72] Operation: 29+43=72 Moving to Node #0,1,2 Current State: 83:[69, 72], Operations: ['34+9=43', '29+43=72'] Exploring Operation: 69+72=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 72-69=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 69*72=4968, Resulting Numbers: [4968] 4968,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[43, 98], Operations: ['34+9=43', '69+29=98'] Exploring Operation: 43*98=4214, Resulting Numbers: [4214] 4214,83 unequal: No Solution Exploring Operation: 43+98=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 98-43=55, Resulting Numbers: [55] 55,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[43, 40], Operations: ['34+9=43', '69-29=40'] Exploring Operation: 43*40=1720, Resulting Numbers: [1720] 1720,83 unequal: No Solution Exploring Operation: 43+40=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[69, 34, 9, 29], Operations: [] Exploring Operation: 34+9=43, Resulting Numbers: [69, 29, 43] Generated Node #0,1: 83:[69, 29, 43] Operation: 34+9=43 Moving to Node #0,1 Current State: 83:[69, 29, 43], Operations: ['34+9=43'] Exploring Operation: 69-29=40, Resulting Numbers: [43, 40] Generated Node #0,1,0: 83:[43, 40] Operation: 69-29=40 Moving to Node #0,1,0 Current State: 83:[43, 40], Operations: ['34+9=43', '69-29=40'] Exploring Operation: 43+40=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_3
mult_heuristic
[ 56, 72, 7, 70 ]
79
[ "72-56=16", "70-7=63", "16+63=79" ]
Current State: 79:[56, 72, 7, 70], Operations: [] Exploring Operation: 72-56=16, Resulting Numbers: [7, 70, 16] Generated Node #2: [7, 70, 16] from Operation: 72-56=16 Current State: 79:[7, 70, 16], Operations: ['72-56=16'] Exploring Operation: 70-7=63, Resulting Numbers: [16, 63] Generated Node #3: [16, 63] from Operation: 70-7=63 Current State: 79:[16, 63], Operations: ['72-56=16', '70-7=63'] Exploring Operation: 16+63=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[56, 72, 7, 70], Operations: [] Exploring Operation: 72-7=65, Resulting Numbers: [56, 70, 65] Generated Node #0,0: 79:[56, 70, 65] Operation: 72-7=65 Exploring Operation: 56-7=49, Resulting Numbers: [72, 70, 49] Generated Node #0,1: 79:[72, 70, 49] Operation: 56-7=49 Exploring Operation: 72+7=79, Resulting Numbers: [56, 70, 79] Generated Node #0,2: 79:[56, 70, 79] Operation: 72+7=79 Exploring Operation: 56+7=63, Resulting Numbers: [72, 70, 63] Generated Node #0,3: 79:[72, 70, 63] Operation: 56+7=63 Exploring Operation: 7+70=77, Resulting Numbers: [56, 72, 77] Generated Node #0,4: 79:[56, 72, 77] Operation: 7+70=77 Moving to Node #0,2 Current State: 79:[56, 70, 79], Operations: ['72+7=79'] Exploring Operation: 56+79=135, Resulting Numbers: [70, 135] Generated Node #0,2,0: 79:[70, 135] Operation: 56+79=135 Exploring Operation: 70+79=149, Resulting Numbers: [56, 149] Generated Node #0,2,1: 79:[56, 149] Operation: 70+79=149 Exploring Operation: 56+70=126, Resulting Numbers: [79, 126] Generated Node #0,2,2: 79:[79, 126] Operation: 56+70=126 Exploring Operation: 79-56=23, Resulting Numbers: [70, 23] Generated Node #0,2,3: 79:[70, 23] Operation: 79-56=23 Exploring Operation: 70-56=14, Resulting Numbers: [79, 14] Generated Node #0,2,4: 79:[79, 14] Operation: 70-56=14 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[79, 126], Operations: ['72+7=79', '56+70=126'] Exploring Operation: 126-79=47, Resulting Numbers: [47] 47,79 unequal: No Solution Exploring Operation: 79+126=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 79*126=9954, Resulting Numbers: [9954] 9954,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[70, 135], Operations: ['72+7=79', '56+79=135'] Exploring Operation: 70+135=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 135-70=65, Resulting Numbers: [65] 65,79 unequal: No Solution Exploring Operation: 70*135=9450, Resulting Numbers: [9450] 9450,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 79:[70, 23], Operations: ['72+7=79', '79-56=23'] Exploring Operation: 70*23=1610, Resulting Numbers: [1610] 1610,79 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,79 unequal: No Solution Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 79:[79, 14], Operations: ['72+7=79', '70-56=14'] Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,79 unequal: No Solution Exploring Operation: 79+14=93, Resulting Numbers: [93] 93,79 unequal: No Solution Exploring Operation: 79*14=1106, Resulting Numbers: [1106] 1106,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[56, 149], Operations: ['72+7=79', '70+79=149'] Exploring Operation: 56*149=8344, Resulting Numbers: [8344] 8344,79 unequal: No Solution Exploring Operation: 56+149=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 149-56=93, Resulting Numbers: [93] 93,79 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: 79:[56, 72, 77], Operations: ['7+70=77'] Exploring Operation: 77-56=21, Resulting Numbers: [72, 21] Generated Node #0,4,0: 79:[72, 21] Operation: 77-56=21 Exploring Operation: 72+77=149, Resulting Numbers: [56, 149] Generated Node #0,4,1: 79:[56, 149] Operation: 72+77=149 Exploring Operation: 56+72=128, Resulting Numbers: [77, 128] Generated Node #0,4,2: 79:[77, 128] Operation: 56+72=128 Exploring Operation: 56+77=133, Resulting Numbers: [72, 133] Generated Node #0,4,3: 79:[72, 133] Operation: 56+77=133 Exploring Operation: 72-56=16, Resulting Numbers: [77, 16] Generated Node #0,4,4: 79:[77, 16] Operation: 72-56=16 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 79:[77, 128], Operations: ['7+70=77', '56+72=128'] Exploring Operation: 77+128=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 128-77=51, Resulting Numbers: [51] 51,79 unequal: No Solution Exploring Operation: 77*128=9856, Resulting Numbers: [9856] 9856,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,4,3 Current State: 79:[72, 133], Operations: ['7+70=77', '56+77=133'] Exploring Operation: 133-72=61, Resulting Numbers: [61] 61,79 unequal: No Solution Exploring Operation: 72+133=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 72*133=9576, Resulting Numbers: [9576] 9576,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,4,0 Current State: 79:[72, 21], Operations: ['7+70=77', '77-56=21'] Exploring Operation: 72*21=1512, Resulting Numbers: [1512] 1512,79 unequal: No Solution Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,79 unequal: No Solution Exploring Operation: 72+21=93, Resulting Numbers: [93] 93,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,4,4 Current State: 79:[77, 16], Operations: ['7+70=77', '72-56=16'] Exploring Operation: 77-16=61, Resulting Numbers: [61] 61,79 unequal: No Solution Exploring Operation: 77+16=93, Resulting Numbers: [93] 93,79 unequal: No Solution Exploring Operation: 77*16=1232, Resulting Numbers: [1232] 1232,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,4,1 Current State: 79:[56, 149], Operations: ['7+70=77', '72+77=149'] Exploring Operation: 149-56=93, Resulting Numbers: [93] 93,79 unequal: No Solution Exploring Operation: 56*149=8344, Resulting Numbers: [8344] 8344,79 unequal: No Solution Exploring Operation: 56+149=205, Resulting Numbers: [205] 205,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 79:[72, 70, 63], Operations: ['56+7=63'] Exploring Operation: 72+63=135, Resulting Numbers: [70, 135] Generated Node #0,3,0: 79:[70, 135] Operation: 72+63=135 Exploring Operation: 72-63=9, Resulting Numbers: [70, 9] Generated Node #0,3,1: 79:[70, 9] Operation: 72-63=9 Exploring Operation: 72+70=142, Resulting Numbers: [63, 142] Generated Node #0,3,2: 79:[63, 142] Operation: 72+70=142 Exploring Operation: 70+63=133, Resulting Numbers: [72, 133] Generated Node #0,3,3: 79:[72, 133] Operation: 70+63=133 Exploring Operation: 70-63=7, Resulting Numbers: [72, 7] Generated Node #0,3,4: 79:[72, 7] Operation: 70-63=7 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 79:[72, 133], Operations: ['56+7=63', '70+63=133'] Exploring Operation: 72+133=205, Resulting Numbers: [205] 205,79 unequal: No Solution Exploring Operation: 133-72=61, Resulting Numbers: [61] 61,79 unequal: No Solution Exploring Operation: 72*133=9576, Resulting Numbers: [9576] 9576,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 79:[70, 135], Operations: ['56+7=63', '72+63=135'] Exploring Operation: 135-70=65, Resulting Numbers: [65] 65,79 unequal: No Solution Exploring Operation: 70*135=9450, Resulting Numbers: [9450] 9450,79 unequal: No Solution Exploring Operation: 70+135=205, Resulting Numbers: [205] 205,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 79:[70, 9], Operations: ['56+7=63', '72-63=9'] Exploring Operation: 70+9=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[56, 72, 7, 70], Operations: [] Exploring Operation: 56+7=63, Resulting Numbers: [72, 70, 63] Generated Node #0,3: 79:[72, 70, 63] Operation: 56+7=63 Moving to Node #0,3 Current State: 79:[72, 70, 63], Operations: ['56+7=63'] Exploring Operation: 72-63=9, Resulting Numbers: [70, 9] Generated Node #0,3,1: 79:[70, 9] Operation: 72-63=9 Moving to Node #0,3,1 Current State: 79:[70, 9], Operations: ['56+7=63', '72-63=9'] Exploring Operation: 70+9=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.947049
hs_5
sum_heuristic
[ 50, 3, 31, 17 ]
30
[ "50+31=81", "3*17=51", "81-51=30" ]
Current State: 30:[50, 3, 31, 17], Operations: [] Exploring Operation: 50+31=81, Resulting Numbers: [3, 17, 81] Generated Node #2: [3, 17, 81] from Operation: 50+31=81 Current State: 30:[3, 17, 81], Operations: ['50+31=81'] Exploring Operation: 3*17=51, Resulting Numbers: [81, 51] Generated Node #3: [81, 51] from Operation: 3*17=51 Current State: 30:[81, 51], Operations: ['50+31=81', '3*17=51'] Exploring Operation: 81-51=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[50, 3, 31, 17], Operations: [] Exploring Operation: 50-31=19, Resulting Numbers: [3, 17, 19] Generated Node #0,0: 30:[3, 17, 19] Operation: 50-31=19 Exploring Operation: 50-17=33, Resulting Numbers: [3, 31, 33] Generated Node #0,1: 30:[3, 31, 33] Operation: 50-17=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[3, 31, 33], Operations: ['50-17=33'] Exploring Operation: 33-31=2, Resulting Numbers: [3, 2] Generated Node #0,1,0: 30:[3, 2] Operation: 33-31=2 Exploring Operation: 33-3=30, Resulting Numbers: [31, 30] Generated Node #0,1,1: 30:[31, 30] Operation: 33-3=30 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[3, 2], Operations: ['50-17=33', '33-31=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 30:[31, 30], Operations: ['50-17=33', '33-3=30'] Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 31+30=61, Resulting Numbers: [61] 61,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[3, 17, 19], Operations: ['50-31=19'] Exploring Operation: 19-3=16, Resulting Numbers: [17, 16] Generated Node #0,0,0: 30:[17, 16] Operation: 19-3=16 Exploring Operation: 19-17=2, Resulting Numbers: [3, 2] Generated Node #0,0,1: 30:[3, 2] Operation: 19-17=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 30:[3, 2], Operations: ['50-31=19', '19-17=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[17, 16], Operations: ['50-31=19', '19-3=16'] Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,30 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 36, 8, 11, 40 ]
19
[ "40/8=5", "11*5=55", "55-36=19" ]
Current State: 19:[36, 8, 11, 40], Operations: [] Exploring Operation: 40/8=5, Resulting Numbers: [36, 11, 5] Generated Node #2: [36, 11, 5] from Operation: 40/8=5 Current State: 19:[36, 11, 5], Operations: ['40/8=5'] Exploring Operation: 11*5=55, Resulting Numbers: [36, 55] Generated Node #3: [36, 55] from Operation: 11*5=55 Current State: 19:[36, 55], Operations: ['40/8=5', '11*5=55'] Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[36, 8, 11, 40], Operations: [] Exploring Operation: 40-36=4, Resulting Numbers: [8, 11, 4] Generated Node #0,0: 19:[8, 11, 4] Operation: 40-36=4 Moving to Node #0,0 Current State: 19:[8, 11, 4], Operations: ['40-36=4'] Exploring Operation: 8+11=19, Resulting Numbers: [4, 19] Generated Node #0,0,0: 19:[4, 19] Operation: 8+11=19 Moving to Node #0,0,0 Current State: 19:[4, 19], Operations: ['40-36=4', '8+11=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,19 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 16, 55, 66, 93 ]
83
[ "66-55=11", "16*11=176", "176-93=83" ]
Current State: 83:[16, 55, 66, 93], Operations: [] Exploring Operation: 66-55=11, Resulting Numbers: [16, 93, 11] Generated Node #2: [16, 93, 11] from Operation: 66-55=11 Current State: 83:[16, 93, 11], Operations: ['66-55=11'] Exploring Operation: 16*11=176, Resulting Numbers: [93, 176] Generated Node #3: [93, 176] from Operation: 16*11=176 Current State: 83:[93, 176], Operations: ['66-55=11', '16*11=176'] Exploring Operation: 176-93=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[16, 55, 66, 93], Operations: [] Exploring Operation: 16+55=71, Resulting Numbers: [66, 93, 71] Generated Node #0,0: 83:[66, 93, 71] Operation: 16+55=71 Exploring Operation: 16+66=82, Resulting Numbers: [55, 93, 82] Generated Node #0,1: 83:[55, 93, 82] Operation: 16+66=82 Exploring Operation: 93-16=77, Resulting Numbers: [55, 66, 77] Generated Node #0,2: 83:[55, 66, 77] Operation: 93-16=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[66, 93, 71], Operations: ['16+55=71'] Exploring Operation: 66+71=137, Resulting Numbers: [93, 137] Generated Node #0,0,0: 83:[93, 137] Operation: 66+71=137 Exploring Operation: 93-66=27, Resulting Numbers: [71, 27] Generated Node #0,0,1: 83:[71, 27] Operation: 93-66=27 Exploring Operation: 93-71=22, Resulting Numbers: [66, 22] Generated Node #0,0,2: 83:[66, 22] Operation: 93-71=22 Moving to Node #0,0,0 Current State: 83:[93, 137], Operations: ['16+55=71', '66+71=137'] Exploring Operation: 93*137=12741, Resulting Numbers: [12741] 12741,83 unequal: No Solution Exploring Operation: 137-93=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 93+137=230, Resulting Numbers: [230] 230,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[71, 27], Operations: ['16+55=71', '93-66=27'] Exploring Operation: 71+27=98, Resulting Numbers: [98] 98,83 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 71*27=1917, Resulting Numbers: [1917] 1917,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[66, 22], Operations: ['16+55=71', '93-71=22'] Exploring Operation: 66-22=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 66+22=88, Resulting Numbers: [88] 88,83 unequal: No Solution Exploring Operation: 66/22=3, Resulting Numbers: [3] 3,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 Current State: 83:[55, 93, 82], Operations: ['16+66=82'] Exploring Operation: 55+82=137, Resulting Numbers: [93, 137] Generated Node #0,1,0: 83:[93, 137] Operation: 55+82=137 Exploring Operation: 55+93=148, Resulting Numbers: [82, 148] Generated Node #0,1,1: 83:[82, 148] Operation: 55+93=148 Exploring Operation: 93-55=38, Resulting Numbers: [82, 38] Generated Node #0,1,2: 83:[82, 38] Operation: 93-55=38 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 83:[82, 38], Operations: ['16+66=82', '93-55=38'] Exploring Operation: 82*38=3116, Resulting Numbers: [3116] 3116,83 unequal: No Solution Exploring Operation: 82+38=120, Resulting Numbers: [120] 120,83 unequal: No Solution Exploring Operation: 82-38=44, Resulting Numbers: [44] 44,83 unequal: No Solution No 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: 83:[93, 137], Operations: ['16+66=82', '55+82=137'] Exploring Operation: 137-93=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 93+137=230, Resulting Numbers: [230] 230,83 unequal: No Solution Exploring Operation: 93*137=12741, Resulting Numbers: [12741] 12741,83 unequal: No Solution No 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: 83:[82, 148], Operations: ['16+66=82', '55+93=148'] Exploring Operation: 148-82=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 82+148=230, Resulting Numbers: [230] 230,83 unequal: No Solution Exploring Operation: 82*148=12136, Resulting Numbers: [12136] 12136,83 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: 83:[55, 66, 77], Operations: ['93-16=77'] Exploring Operation: 66-55=11, Resulting Numbers: [77, 11] Generated Node #0,2,0: 83:[77, 11] Operation: 66-55=11 Exploring Operation: 55+66=121, Resulting Numbers: [77, 121] Generated Node #0,2,1: 83:[77, 121] Operation: 55+66=121 Exploring Operation: 55+77=132, Resulting Numbers: [66, 132] Generated Node #0,2,2: 83:[66, 132] Operation: 55+77=132 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 83:[77, 121], Operations: ['93-16=77', '55+66=121'] Exploring Operation: 77*121=9317, Resulting Numbers: [9317] 9317,83 unequal: No Solution Exploring Operation: 77+121=198, Resulting Numbers: [198] 198,83 unequal: No Solution Exploring Operation: 121-77=44, Resulting Numbers: [44] 44,83 unequal: No Solution No 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: 83:[66, 132], Operations: ['93-16=77', '55+77=132'] Exploring Operation: 132-66=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 132/66=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 66+132=198, Resulting Numbers: [198] 198,83 unequal: No Solution No 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: 83:[77, 11], Operations: ['93-16=77', '66-55=11'] Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 77+11=88, Resulting Numbers: [88] 88,83 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 20, 29, 44, 7 ]
51
[ "20+29=49", "49/7=7", "44+7=51" ]
Current State: 51:[20, 29, 44, 7], Operations: [] Exploring Operation: 20+29=49, Resulting Numbers: [44, 7, 49] Generated Node #2: [44, 7, 49] from Operation: 20+29=49 Current State: 51:[44, 7, 49], Operations: ['20+29=49'] Exploring Operation: 49/7=7, Resulting Numbers: [44, 7] Generated Node #3: [44, 7] from Operation: 49/7=7 Current State: 51:[44, 7], Operations: ['20+29=49', '49/7=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[20, 29, 44, 7], Operations: [] Exploring Operation: 44-29=15, Resulting Numbers: [20, 7, 15] Generated Node #0,0: 51:[20, 7, 15] Operation: 44-29=15 Exploring Operation: 20+29=49, Resulting Numbers: [44, 7, 49] Generated Node #0,1: 51:[44, 7, 49] Operation: 20+29=49 Exploring Operation: 29-7=22, Resulting Numbers: [20, 44, 22] Generated Node #0,2: 51:[20, 44, 22] Operation: 29-7=22 Moving to Node #0,0 Current State: 51:[20, 7, 15], Operations: ['44-29=15'] Exploring Operation: 20-7=13, Resulting Numbers: [15, 13] Generated Node #0,0,0: 51:[15, 13] Operation: 20-7=13 Exploring Operation: 7+15=22, Resulting Numbers: [20, 22] Generated Node #0,0,1: 51:[20, 22] Operation: 7+15=22 Exploring Operation: 20-15=5, Resulting Numbers: [7, 5] Generated Node #0,0,2: 51:[7, 5] Operation: 20-15=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[15, 13], Operations: ['44-29=15', '20-7=13'] Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,51 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 51:[7, 5], Operations: ['44-29=15', '20-15=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,51 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[20, 22], Operations: ['44-29=15', '7+15=22'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 51:[44, 7, 49], Operations: ['20+29=49'] Exploring Operation: 49-44=5, Resulting Numbers: [7, 5] Generated Node #0,1,0: 51:[7, 5] Operation: 49-44=5 Exploring Operation: 44+7=51, Resulting Numbers: [49, 51] Generated Node #0,1,1: 51:[49, 51] Operation: 44+7=51 Exploring Operation: 49/7=7, Resulting Numbers: [44, 7] Generated Node #0,1,2: 51:[44, 7] Operation: 49/7=7 Moving to Node #0,2 Current State: 51:[20, 44, 22], Operations: ['29-7=22'] Exploring Operation: 22-20=2, Resulting Numbers: [44, 2] Generated Node #0,2,0: 51:[44, 2] Operation: 22-20=2 Exploring Operation: 44-22=22, Resulting Numbers: [20, 22] Generated Node #0,2,1: 51:[20, 22] Operation: 44-22=22 Exploring Operation: 44/22=2, Resulting Numbers: [20, 2] Generated Node #0,2,2: 51:[20, 2] Operation: 44/22=2 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 51:[20, 2], Operations: ['29-7=22', '44/22=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,51 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[44, 2], Operations: ['29-7=22', '22-20=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,51 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 51:[20, 22], Operations: ['29-7=22', '44-22=22'] Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,51 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,51 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: 51:[49, 51], Operations: ['20+29=49', '44+7=51'] Exploring Operation: 49*51=2499, Resulting Numbers: [2499] 2499,51 unequal: No Solution Exploring Operation: 49+51=100, Resulting Numbers: [100] 100,51 unequal: No Solution Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[7, 5], Operations: ['20+29=49', '49-44=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,51 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[44, 7], Operations: ['20+29=49', '49/7=7'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,51 unequal: No Solution Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[20, 29, 44, 7], Operations: [] Exploring Operation: 20+29=49, Resulting Numbers: [44, 7, 49] Generated Node #0,1: 51:[44, 7, 49] Operation: 20+29=49 Moving to Node #0,1 Current State: 51:[44, 7, 49], Operations: ['20+29=49'] Exploring Operation: 49/7=7, Resulting Numbers: [44, 7] Generated Node #0,1,2: 51:[44, 7] Operation: 49/7=7 Moving to Node #0,1,2 Current State: 51:[44, 7], Operations: ['20+29=49', '49/7=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.963542
hs_3
mult_heuristic
[ 81, 2, 76, 77 ]
78
[ "81-2=79", "77-76=1", "79-1=78" ]
Current State: 78:[81, 2, 76, 77], Operations: [] Exploring Operation: 81-2=79, Resulting Numbers: [76, 77, 79] Generated Node #2: [76, 77, 79] from Operation: 81-2=79 Current State: 78:[76, 77, 79], Operations: ['81-2=79'] Exploring Operation: 77-76=1, Resulting Numbers: [79, 1] Generated Node #3: [79, 1] from Operation: 77-76=1 Current State: 78:[79, 1], Operations: ['81-2=79', '77-76=1'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[81, 2, 76, 77], Operations: [] Exploring Operation: 81-76=5, Resulting Numbers: [2, 77, 5] Generated Node #0,0: 78:[2, 77, 5] Operation: 81-76=5 Moving to Node #0,0 Current State: 78:[2, 77, 5], Operations: ['81-76=5'] Exploring Operation: 5-2=3, Resulting Numbers: [77, 3] Generated Node #0,0,0: 78:[77, 3] Operation: 5-2=3 Moving to Node #0,0,0 Current State: 78:[77, 3], Operations: ['81-76=5', '5-2=3'] Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,78 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 67, 27, 37, 29 ]
32
[ "67-27=40", "37-29=8", "40-8=32" ]
Current State: 32:[67, 27, 37, 29], Operations: [] Exploring Operation: 67-27=40, Resulting Numbers: [37, 29, 40] Generated Node #2: [37, 29, 40] from Operation: 67-27=40 Current State: 32:[37, 29, 40], Operations: ['67-27=40'] Exploring Operation: 37-29=8, Resulting Numbers: [40, 8] Generated Node #3: [40, 8] from Operation: 37-29=8 Current State: 32:[40, 8], Operations: ['67-27=40', '37-29=8'] Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[67, 27, 37, 29], Operations: [] Exploring Operation: 67-29=38, Resulting Numbers: [27, 37, 38] Generated Node #0,0: 32:[27, 37, 38] Operation: 67-29=38 Exploring Operation: 67-37=30, Resulting Numbers: [27, 29, 30] Generated Node #0,1: 32:[27, 29, 30] Operation: 67-37=30 Exploring Operation: 37-27=10, Resulting Numbers: [67, 29, 10] Generated Node #0,2: 32:[67, 29, 10] Operation: 37-27=10 Exploring Operation: 67-27=40, Resulting Numbers: [37, 29, 40] Generated Node #0,3: 32:[37, 29, 40] Operation: 67-27=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[27, 29, 30], Operations: ['67-37=30'] Exploring Operation: 30-29=1, Resulting Numbers: [27, 1] Generated Node #0,1,0: 32:[27, 1] Operation: 30-29=1 Exploring Operation: 30-27=3, Resulting Numbers: [29, 3] Generated Node #0,1,1: 32:[29, 3] Operation: 30-27=3 Exploring Operation: 27+29=56, Resulting Numbers: [30, 56] Generated Node #0,1,2: 32:[30, 56] Operation: 27+29=56 Exploring Operation: 29-27=2, Resulting Numbers: [30, 2] Generated Node #0,1,3: 32:[30, 2] Operation: 29-27=2 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 32:[30, 2], Operations: ['67-37=30', '29-27=2'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[67, 27, 37, 29], Operations: [] Exploring Operation: 67-37=30, Resulting Numbers: [27, 29, 30] Generated Node #0,1: 32:[27, 29, 30] Operation: 67-37=30 Moving to Node #0,1 Current State: 32:[27, 29, 30], Operations: ['67-37=30'] Exploring Operation: 29-27=2, Resulting Numbers: [30, 2] Generated Node #0,1,3: 32:[30, 2] Operation: 29-27=2 Moving to Node #0,1,3 Current State: 32:[30, 2], Operations: ['67-37=30', '29-27=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 30, 68, 25, 76 ]
63
[ "68-30=38", "25+76=101", "101-38=63" ]
Current State: 63:[30, 68, 25, 76], Operations: [] Exploring Operation: 68-30=38, Resulting Numbers: [25, 76, 38] Generated Node #2: [25, 76, 38] from Operation: 68-30=38 Current State: 63:[25, 76, 38], Operations: ['68-30=38'] Exploring Operation: 25+76=101, Resulting Numbers: [38, 101] Generated Node #3: [38, 101] from Operation: 25+76=101 Current State: 63:[38, 101], Operations: ['68-30=38', '25+76=101'] Exploring Operation: 101-38=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[30, 68, 25, 76], Operations: [] Exploring Operation: 30-25=5, Resulting Numbers: [68, 76, 5] Generated Node #0,0: 63:[68, 76, 5] Operation: 30-25=5 Exploring Operation: 76-68=8, Resulting Numbers: [30, 25, 8] Generated Node #0,1: 63:[30, 25, 8] Operation: 76-68=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[30, 25, 8], Operations: ['76-68=8'] Exploring Operation: 30-25=5, Resulting Numbers: [8, 5] Generated Node #0,1,0: 63:[8, 5] Operation: 30-25=5 Exploring Operation: 30-8=22, Resulting Numbers: [25, 22] Generated Node #0,1,1: 63:[25, 22] Operation: 30-8=22 Moving to Node #0,1,0 Current State: 63:[8, 5], Operations: ['76-68=8', '30-25=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[25, 22], Operations: ['76-68=8', '30-8=22'] Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[68, 76, 5], Operations: ['30-25=5'] Exploring Operation: 68-5=63, Resulting Numbers: [76, 63] Generated Node #0,0,0: 63:[76, 63] Operation: 68-5=63 Exploring Operation: 76-68=8, Resulting Numbers: [5, 8] Generated Node #0,0,1: 63:[5, 8] Operation: 76-68=8 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[5, 8], Operations: ['30-25=5', '76-68=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[76, 63], Operations: ['30-25=5', '68-5=63'] Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,63 unequal: No Solution Exploring Operation: 76+63=139, Resulting Numbers: [139] 139,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 3, 80, 19, 26 ]
37
[ "80-26=54", "54/3=18", "19+18=37" ]
Current State: 37:[3, 80, 19, 26], Operations: [] Exploring Operation: 80-26=54, Resulting Numbers: [3, 19, 54] Generated Node #2: [3, 19, 54] from Operation: 80-26=54 Current State: 37:[3, 19, 54], Operations: ['80-26=54'] Exploring Operation: 54/3=18, Resulting Numbers: [19, 18] Generated Node #3: [19, 18] from Operation: 54/3=18 Current State: 37:[19, 18], Operations: ['80-26=54', '54/3=18'] Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[3, 80, 19, 26], Operations: [] Exploring Operation: 3+19=22, Resulting Numbers: [80, 26, 22] Generated Node #0,0: 37:[80, 26, 22] Operation: 3+19=22 Exploring Operation: 80-3=77, Resulting Numbers: [19, 26, 77] Generated Node #0,1: 37:[19, 26, 77] Operation: 80-3=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[80, 26, 22], Operations: ['3+19=22'] Exploring Operation: 80-26=54, Resulting Numbers: [22, 54] Generated Node #0,0,0: 37:[22, 54] Operation: 80-26=54 Exploring Operation: 80-22=58, Resulting Numbers: [26, 58] Generated Node #0,0,1: 37:[26, 58] Operation: 80-22=58 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[22, 54], Operations: ['3+19=22', '80-26=54'] Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,37 unequal: No Solution Exploring Operation: 22+54=76, Resulting Numbers: [76] 76,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[26, 58], Operations: ['3+19=22', '80-22=58'] Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,37 unequal: No Solution Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[19, 26, 77], Operations: ['80-3=77'] Exploring Operation: 77-19=58, Resulting Numbers: [26, 58] Generated Node #0,1,0: 37:[26, 58] Operation: 77-19=58 Exploring Operation: 77-26=51, Resulting Numbers: [19, 51] Generated Node #0,1,1: 37:[19, 51] Operation: 77-26=51 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[26, 58], Operations: ['80-3=77', '77-19=58'] Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,37 unequal: No Solution Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[19, 51], Operations: ['80-3=77', '77-26=51'] Exploring Operation: 19+51=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 44, 19, 42, 58 ]
37
[ "44+19=63", "42+58=100", "100-63=37" ]
Current State: 37:[44, 19, 42, 58], Operations: [] Exploring Operation: 44+19=63, Resulting Numbers: [42, 58, 63] Generated Node #2: [42, 58, 63] from Operation: 44+19=63 Current State: 37:[42, 58, 63], Operations: ['44+19=63'] Exploring Operation: 42+58=100, Resulting Numbers: [63, 100] Generated Node #3: [63, 100] from Operation: 42+58=100 Current State: 37:[63, 100], Operations: ['44+19=63', '42+58=100'] Exploring Operation: 100-63=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[44, 19, 42, 58], Operations: [] Exploring Operation: 58-19=39, Resulting Numbers: [44, 42, 39] Generated Node #0,0: 37:[44, 42, 39] Operation: 58-19=39 Moving to Node #0,0 Current State: 37:[44, 42, 39], Operations: ['58-19=39'] Exploring Operation: 44-42=2, Resulting Numbers: [39, 2] Generated Node #0,0,0: 37:[39, 2] Operation: 44-42=2 Moving to Node #0,0,0 Current State: 37:[39, 2], Operations: ['58-19=39', '44-42=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[44, 19, 42, 58], Operations: [] Exploring Operation: 58-19=39, Resulting Numbers: [44, 42, 39] Generated Node #0,0: 37:[44, 42, 39] Operation: 58-19=39 Moving to Node #0,0 Current State: 37:[44, 42, 39], Operations: ['58-19=39'] Exploring Operation: 44-42=2, Resulting Numbers: [39, 2] Generated Node #0,0,0: 37:[39, 2] Operation: 44-42=2 Moving to Node #0,0,0 Current State: 37:[39, 2], Operations: ['58-19=39', '44-42=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 92, 15, 15, 31 ]
61
[ "92+15=107", "15+31=46", "107-46=61" ]
Current State: 61:[92, 15, 15, 31], Operations: [] Exploring Operation: 92+15=107, Resulting Numbers: [31, 107] Generated Node #2: [31, 107] from Operation: 92+15=107 Current State: 61:[31, 107], Operations: ['92+15=107'] Exploring Operation: 15+31=46, Resulting Numbers: [107, 46] Generated Node #3: [107, 46] from Operation: 15+31=46 Current State: 61:[107, 46], Operations: ['92+15=107', '15+31=46'] Exploring Operation: 107-46=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[92, 15, 15, 31], Operations: [] Exploring Operation: 92-31=61, Resulting Numbers: [15, 15, 61] Generated Node #0,0: 61:[15, 15, 61] Operation: 92-31=61 Exploring Operation: 92-15=77, Resulting Numbers: [15, 31, 77] Generated Node #0,1: 61:[15, 31, 77] Operation: 92-15=77 Exploring Operation: 92-15=77, Resulting Numbers: [15, 31, 77] Generated Node #0,2: 61:[15, 31, 77] Operation: 92-15=77 Exploring Operation: 15+15=30, Resulting Numbers: [92, 31, 30] Generated Node #0,3: 61:[92, 31, 30] Operation: 15+15=30 Moving to Node #0,0 Current State: 61:[15, 15, 61], Operations: ['92-31=61'] Exploring Operation: 15+61=76, Resulting Numbers: [15, 76] Generated Node #0,0,0: 61:[15, 76] Operation: 15+61=76 Exploring Operation: 15+15=30, Resulting Numbers: [61, 30] Generated Node #0,0,1: 61:[61, 30] Operation: 15+15=30 Exploring Operation: 15-15=0, Resulting Numbers: [61, 0] Generated Node #0,0,2: 61:[61, 0] Operation: 15-15=0 Exploring Operation: 15/15=1, Resulting Numbers: [61, 1] Generated Node #0,0,3: 61:[61, 1] Operation: 15/15=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[61, 30], Operations: ['92-31=61', '15+15=30'] Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,61 unequal: No Solution Exploring Operation: 61+30=91, Resulting Numbers: [91] 91,61 unequal: No Solution Exploring Operation: 61*30=1830, Resulting Numbers: [1830] 1830,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,0,3 Current State: 61:[61, 1], Operations: ['92-31=61', '15/15=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[92, 15, 15, 31], Operations: [] Exploring Operation: 92-31=61, Resulting Numbers: [15, 15, 61] Generated Node #0,0: 61:[15, 15, 61] Operation: 92-31=61 Moving to Node #0,0 Current State: 61:[15, 15, 61], Operations: ['92-31=61'] Exploring Operation: 15/15=1, Resulting Numbers: [61, 1] Generated Node #0,0,3: 61:[61, 1] Operation: 15/15=1 Moving to Node #0,0,3 Current State: 61:[61, 1], Operations: ['92-31=61', '15/15=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 90, 92, 99, 83 ]
81
[ "99-90=9", "92-83=9", "9*9=81" ]
Current State: 81:[90, 92, 99, 83], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [92, 83, 9] Generated Node #2: [92, 83, 9] from Operation: 99-90=9 Current State: 81:[92, 83, 9], Operations: ['99-90=9'] Exploring Operation: 92-83=9, Resulting Numbers: [9, 9] Generated Node #3: [9, 9] from Operation: 92-83=9 Current State: 81:[9, 9], Operations: ['99-90=9', '92-83=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[90, 92, 99, 83], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [92, 83, 9] Generated Node #0,0: 81:[92, 83, 9] Operation: 99-90=9 Moving to Node #0,0 Current State: 81:[92, 83, 9], Operations: ['99-90=9'] Exploring Operation: 92-83=9, Resulting Numbers: [9, 9] Generated Node #0,0,0: 81:[9, 9] Operation: 92-83=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[9, 9], Operations: ['99-90=9', '92-83=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[90, 92, 99, 83], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [92, 83, 9] Generated Node #0,0: 81:[92, 83, 9] Operation: 99-90=9 Moving to Node #0,0 Current State: 81:[92, 83, 9], Operations: ['99-90=9'] Exploring Operation: 92-83=9, Resulting Numbers: [9, 9] Generated Node #0,0,0: 81:[9, 9] Operation: 92-83=9 Moving to Node #0,0,0 Current State: 81:[9, 9], Operations: ['99-90=9', '92-83=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 28, 61, 14, 79 ]
98
[ "61-28=33", "79-14=65", "33+65=98" ]
Current State: 98:[28, 61, 14, 79], Operations: [] Exploring Operation: 61-28=33, Resulting Numbers: [14, 79, 33] Generated Node #2: [14, 79, 33] from Operation: 61-28=33 Current State: 98:[14, 79, 33], Operations: ['61-28=33'] Exploring Operation: 79-14=65, Resulting Numbers: [33, 65] Generated Node #3: [33, 65] from Operation: 79-14=65 Current State: 98:[33, 65], Operations: ['61-28=33', '79-14=65'] Exploring Operation: 33+65=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[28, 61, 14, 79], Operations: [] Exploring Operation: 79-28=51, Resulting Numbers: [61, 14, 51] Generated Node #0,0: 98:[61, 14, 51] Operation: 79-28=51 Moving to Node #0,0 Current State: 98:[61, 14, 51], Operations: ['79-28=51'] Exploring Operation: 61-51=10, Resulting Numbers: [14, 10] Generated Node #0,0,0: 98:[14, 10] Operation: 61-51=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[14, 10], Operations: ['79-28=51', '61-51=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,98 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
[ 22, 60, 33, 2 ]
88
[ "60*33=1980", "1980/22=90", "90-2=88" ]
Current State: 88:[22, 60, 33, 2], Operations: [] Exploring Operation: 60*33=1980, Resulting Numbers: [22, 2, 1980] Generated Node #2: [22, 2, 1980] from Operation: 60*33=1980 Current State: 88:[22, 2, 1980], Operations: ['60*33=1980'] Exploring Operation: 1980/22=90, Resulting Numbers: [2, 90] Generated Node #3: [2, 90] from Operation: 1980/22=90 Current State: 88:[2, 90], Operations: ['60*33=1980', '1980/22=90'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[22, 60, 33, 2], Operations: [] Exploring Operation: 60+33=93, Resulting Numbers: [22, 2, 93] Generated Node #0,0: 88:[22, 2, 93] Operation: 60+33=93 Exploring Operation: 33-22=11, Resulting Numbers: [60, 2, 11] Generated Node #0,1: 88:[60, 2, 11] Operation: 33-22=11 Exploring Operation: 60-33=27, Resulting Numbers: [22, 2, 27] Generated Node #0,2: 88:[22, 2, 27] Operation: 60-33=27 Exploring Operation: 22+60=82, Resulting Numbers: [33, 2, 82] Generated Node #0,3: 88:[33, 2, 82] Operation: 22+60=82 Moving to Node #0,0 Current State: 88:[22, 2, 93], Operations: ['60+33=93'] Exploring Operation: 93-2=91, Resulting Numbers: [22, 91] Generated Node #0,0,0: 88:[22, 91] Operation: 93-2=91 Exploring Operation: 22+2=24, Resulting Numbers: [93, 24] Generated Node #0,0,1: 88:[93, 24] Operation: 22+2=24 Exploring Operation: 22/2=11, Resulting Numbers: [93, 11] Generated Node #0,0,2: 88:[93, 11] Operation: 22/2=11 Exploring Operation: 22*2=44, Resulting Numbers: [93, 44] Generated Node #0,0,3: 88:[93, 44] Operation: 22*2=44 Moving to Node #0,2 Current State: 88:[22, 2, 27], Operations: ['60-33=27'] Exploring Operation: 22/2=11, Resulting Numbers: [27, 11] Generated Node #0,2,0: 88:[27, 11] Operation: 22/2=11 Exploring Operation: 22*2=44, Resulting Numbers: [27, 44] Generated Node #0,2,1: 88:[27, 44] Operation: 22*2=44 Exploring Operation: 27-2=25, Resulting Numbers: [22, 25] Generated Node #0,2,2: 88:[22, 25] Operation: 27-2=25 Exploring Operation: 27-22=5, Resulting Numbers: [2, 5] Generated Node #0,2,3: 88:[2, 5] Operation: 27-22=5 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 88:[2, 5], Operations: ['60-33=27', '27-22=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,88 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[22, 25], Operations: ['60-33=27', '27-2=25'] Exploring Operation: 22*25=550, Resulting Numbers: [550] 550,88 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 22+25=47, Resulting Numbers: [47] 47,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[27, 11], Operations: ['60-33=27', '22/2=11'] Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 27*11=297, Resulting Numbers: [297] 297,88 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[27, 44], Operations: ['60-33=27', '22*2=44'] Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 27*44=1188, Resulting Numbers: [1188] 1188,88 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: 88:[60, 2, 11], Operations: ['33-22=11'] Exploring Operation: 60-2=58, Resulting Numbers: [11, 58] Generated Node #0,1,0: 88:[11, 58] Operation: 60-2=58 Exploring Operation: 60/2=30, Resulting Numbers: [11, 30] Generated Node #0,1,1: 88:[11, 30] Operation: 60/2=30 Exploring Operation: 60-11=49, Resulting Numbers: [2, 49] Generated Node #0,1,2: 88:[2, 49] Operation: 60-11=49 Exploring Operation: 2*11=22, Resulting Numbers: [60, 22] Generated Node #0,1,3: 88:[60, 22] Operation: 2*11=22 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[2, 49], Operations: ['33-22=11', '60-11=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,88 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[11, 30], Operations: ['33-22=11', '60/2=30'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,88 unequal: No Solution Exploring Operation: 11*30=330, Resulting Numbers: [330] 330,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[11, 58], Operations: ['33-22=11', '60-2=58'] Exploring Operation: 11+58=69, Resulting Numbers: [69] 69,88 unequal: No Solution Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 11*58=638, Resulting Numbers: [638] 638,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[60, 22], Operations: ['33-22=11', '2*11=22'] Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,88 unequal: No Solution Exploring Operation: 60*22=1320, Resulting Numbers: [1320] 1320,88 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: 88:[33, 2, 82], Operations: ['22+60=82'] Exploring Operation: 82/2=41, Resulting Numbers: [33, 41] Generated Node #0,3,0: 88:[33, 41] Operation: 82/2=41 Exploring Operation: 33+2=35, Resulting Numbers: [82, 35] Generated Node #0,3,1: 88:[82, 35] Operation: 33+2=35 Exploring Operation: 33-2=31, Resulting Numbers: [82, 31] Generated Node #0,3,2: 88:[82, 31] Operation: 33-2=31 Exploring Operation: 82-33=49, Resulting Numbers: [2, 49] Generated Node #0,3,3: 88:[2, 49] Operation: 82-33=49 Moving to Node #0,0,0 Current State: 88:[22, 91], Operations: ['60+33=93', '93-2=91'] Exploring Operation: 91-22=69, Resulting Numbers: [69] 69,88 unequal: No Solution Exploring Operation: 22+91=113, Resulting Numbers: [113] 113,88 unequal: No Solution Exploring Operation: 22*91=2002, Resulting Numbers: [2002] 2002,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[93, 44], Operations: ['60+33=93', '22*2=44'] Exploring Operation: 93+44=137, Resulting Numbers: [137] 137,88 unequal: No Solution Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 93*44=4092, Resulting Numbers: [4092] 4092,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[93, 11], Operations: ['60+33=93', '22/2=11'] Exploring Operation: 93*11=1023, Resulting Numbers: [1023] 1023,88 unequal: No Solution Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,88 unequal: No Solution Exploring Operation: 93+11=104, Resulting Numbers: [104] 104,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[2, 49], Operations: ['22+60=82', '82-33=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,88 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,88 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[93, 24], Operations: ['60+33=93', '22+2=24'] Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,88 unequal: No Solution Exploring Operation: 93+24=117, Resulting Numbers: [117] 117,88 unequal: No Solution Exploring Operation: 93*24=2232, Resulting Numbers: [2232] 2232,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[33, 41], Operations: ['22+60=82', '82/2=41'] Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 33*41=1353, Resulting Numbers: [1353] 1353,88 unequal: No Solution Exploring Operation: 33+41=74, Resulting Numbers: [74] 74,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[82, 31], Operations: ['22+60=82', '33-2=31'] Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 82*31=2542, Resulting Numbers: [2542] 2542,88 unequal: No Solution Exploring Operation: 82+31=113, Resulting Numbers: [113] 113,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[82, 35], Operations: ['22+60=82', '33+2=35'] Exploring Operation: 82*35=2870, Resulting Numbers: [2870] 2870,88 unequal: No Solution Exploring Operation: 82+35=117, Resulting Numbers: [117] 117,88 unequal: No Solution Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,88 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 68, 42, 63, 51 ]
14
[ "68-42=26", "63-51=12", "26-12=14" ]
Current State: 14:[68, 42, 63, 51], Operations: [] Exploring Operation: 68-42=26, Resulting Numbers: [63, 51, 26] Generated Node #2: [63, 51, 26] from Operation: 68-42=26 Current State: 14:[63, 51, 26], Operations: ['68-42=26'] Exploring Operation: 63-51=12, Resulting Numbers: [26, 12] Generated Node #3: [26, 12] from Operation: 63-51=12 Current State: 14:[26, 12], Operations: ['68-42=26', '63-51=12'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[68, 42, 63, 51], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [42, 51, 5] Generated Node #0,0: 14:[42, 51, 5] Operation: 68-63=5 Exploring Operation: 68-51=17, Resulting Numbers: [42, 63, 17] Generated Node #0,1: 14:[42, 63, 17] Operation: 68-51=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[42, 51, 5], Operations: ['68-63=5'] Exploring Operation: 42-5=37, Resulting Numbers: [51, 37] Generated Node #0,0,0: 14:[51, 37] Operation: 42-5=37 Exploring Operation: 51-42=9, Resulting Numbers: [5, 9] Generated Node #0,0,1: 14:[5, 9] Operation: 51-42=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[5, 9], Operations: ['68-63=5', '51-42=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[68, 42, 63, 51], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [42, 51, 5] Generated Node #0,0: 14:[42, 51, 5] Operation: 68-63=5 Moving to Node #0,0 Current State: 14:[42, 51, 5], Operations: ['68-63=5'] Exploring Operation: 51-42=9, Resulting Numbers: [5, 9] Generated Node #0,0,1: 14:[5, 9] Operation: 51-42=9 Moving to Node #0,0,1 Current State: 14:[5, 9], Operations: ['68-63=5', '51-42=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 72, 93, 25, 68 ]
71
[ "93-25=68", "68/68=1", "72-1=71" ]
Current State: 71:[72, 93, 25, 68], Operations: [] Exploring Operation: 93-25=68, Resulting Numbers: [72, 68, 68] Generated Node #2: [72, 68, 68] from Operation: 93-25=68 Current State: 71:[72, 68, 68], Operations: ['93-25=68'] Exploring Operation: 68/68=1, Resulting Numbers: [72, 1] Generated Node #3: [72, 1] from Operation: 68/68=1 Current State: 71:[72, 1], Operations: ['93-25=68', '68/68=1'] Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[72, 93, 25, 68], Operations: [] Exploring Operation: 25+68=93, Resulting Numbers: [72, 93, 93] Generated Node #0,0: 71:[72, 93, 93] Operation: 25+68=93 Exploring Operation: 72+25=97, Resulting Numbers: [93, 68, 97] Generated Node #0,1: 71:[93, 68, 97] Operation: 72+25=97 Exploring Operation: 93-25=68, Resulting Numbers: [72, 68, 68] Generated Node #0,2: 71:[72, 68, 68] Operation: 93-25=68 Exploring Operation: 72-25=47, Resulting Numbers: [93, 68, 47] Generated Node #0,3: 71:[93, 68, 47] Operation: 72-25=47 Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[72, 68, 68], Operations: ['93-25=68'] Exploring Operation: 68+68=136, Resulting Numbers: [72, 136] Generated Node #0,2,0: 71:[72, 136] Operation: 68+68=136 Exploring Operation: 72-68=4, Resulting Numbers: [68, 4] Generated Node #0,2,1: 71:[68, 4] Operation: 72-68=4 Exploring Operation: 72-68=4, Resulting Numbers: [68, 4] Generated Node #0,2,2: 71:[68, 4] Operation: 72-68=4 Exploring Operation: 68/68=1, Resulting Numbers: [72, 1] Generated Node #0,2,3: 71:[72, 1] Operation: 68/68=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 71:[72, 136], Operations: ['93-25=68', '68+68=136'] Exploring Operation: 136-72=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 72+136=208, Resulting Numbers: [208] 208,71 unequal: No Solution Exploring Operation: 72*136=9792, Resulting Numbers: [9792] 9792,71 unequal: No Solution No 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: 71:[68, 4], Operations: ['93-25=68', '72-68=4'] Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,71 unequal: No Solution Exploring Operation: 68*4=272, Resulting Numbers: [272] 272,71 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,71 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,71 unequal: No Solution No 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: 71:[68, 4], Operations: ['93-25=68', '72-68=4'] Exploring Operation: 68*4=272, Resulting Numbers: [272] 272,71 unequal: No Solution Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,71 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,71 unequal: No Solution No 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: 71:[72, 1], Operations: ['93-25=68', '68/68=1'] Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,71 unequal: No Solution Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[72, 93, 25, 68], Operations: [] Exploring Operation: 93-25=68, Resulting Numbers: [72, 68, 68] Generated Node #0,2: 71:[72, 68, 68] Operation: 93-25=68 Moving to Node #0,2 Current State: 71:[72, 68, 68], Operations: ['93-25=68'] Exploring Operation: 68/68=1, Resulting Numbers: [72, 1] Generated Node #0,2,3: 71:[72, 1] Operation: 68/68=1 Moving to Node #0,2,3 Current State: 71:[72, 1], Operations: ['93-25=68', '68/68=1'] Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 1, 72, 55, 27 ]
44
[ "1*72=72", "55-27=28", "72-28=44" ]
Current State: 44:[1, 72, 55, 27], Operations: [] Exploring Operation: 1*72=72, Resulting Numbers: [55, 27, 72] Generated Node #2: [55, 27, 72] from Operation: 1*72=72 Current State: 44:[55, 27, 72], Operations: ['1*72=72'] Exploring Operation: 55-27=28, Resulting Numbers: [72, 28] Generated Node #3: [72, 28] from Operation: 55-27=28 Current State: 44:[72, 28], Operations: ['1*72=72', '55-27=28'] Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[1, 72, 55, 27], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [1, 27, 17] Generated Node #0,0: 44:[1, 27, 17] Operation: 72-55=17 Exploring Operation: 72-27=45, Resulting Numbers: [1, 55, 45] Generated Node #0,1: 44:[1, 55, 45] Operation: 72-27=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[1, 27, 17], Operations: ['72-55=17'] Exploring Operation: 27-17=10, Resulting Numbers: [1, 10] Generated Node #0,0,0: 44:[1, 10] Operation: 27-17=10 Exploring Operation: 27+17=44, Resulting Numbers: [1, 44] Generated Node #0,0,1: 44:[1, 44] Operation: 27+17=44 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 44:[1, 44], Operations: ['72-55=17', '27+17=44'] Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[1, 72, 55, 27], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [1, 27, 17] Generated Node #0,0: 44:[1, 27, 17] Operation: 72-55=17 Moving to Node #0,0 Current State: 44:[1, 27, 17], Operations: ['72-55=17'] Exploring Operation: 27+17=44, Resulting Numbers: [1, 44] Generated Node #0,0,1: 44:[1, 44] Operation: 27+17=44 Moving to Node #0,0,1 Current State: 44:[1, 44], Operations: ['72-55=17', '27+17=44'] Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 69, 5, 56, 42 ]
87
[ "69*56=3864", "3864/42=92", "92-5=87" ]
Current State: 87:[69, 5, 56, 42], Operations: [] Exploring Operation: 69*56=3864, Resulting Numbers: [5, 42, 3864] Generated Node #2: [5, 42, 3864] from Operation: 69*56=3864 Current State: 87:[5, 42, 3864], Operations: ['69*56=3864'] Exploring Operation: 3864/42=92, Resulting Numbers: [5, 92] Generated Node #3: [5, 92] from Operation: 3864/42=92 Current State: 87:[5, 92], Operations: ['69*56=3864', '3864/42=92'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[69, 5, 56, 42], Operations: [] Exploring Operation: 69-56=13, Resulting Numbers: [5, 42, 13] Generated Node #0,0: 87:[5, 42, 13] Operation: 69-56=13 Moving to Node #0,0 Current State: 87:[5, 42, 13], Operations: ['69-56=13'] Exploring Operation: 42-13=29, Resulting Numbers: [5, 29] Generated Node #0,0,0: 87:[5, 29] Operation: 42-13=29 Moving to Node #0,0,0 Current State: 87:[5, 29], Operations: ['69-56=13', '42-13=29'] Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,87 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 70, 3, 44, 14 ]
37
[ "70-3=67", "44-14=30", "67-30=37" ]
Current State: 37:[70, 3, 44, 14], Operations: [] Exploring Operation: 70-3=67, Resulting Numbers: [44, 14, 67] Generated Node #2: [44, 14, 67] from Operation: 70-3=67 Current State: 37:[44, 14, 67], Operations: ['70-3=67'] Exploring Operation: 44-14=30, Resulting Numbers: [67, 30] Generated Node #3: [67, 30] from Operation: 44-14=30 Current State: 37:[67, 30], Operations: ['70-3=67', '44-14=30'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[70, 3, 44, 14], Operations: [] Exploring Operation: 3*14=42, Resulting Numbers: [70, 44, 42] Generated Node #0,0: 37:[70, 44, 42] Operation: 3*14=42 Exploring Operation: 70-3=67, Resulting Numbers: [44, 14, 67] Generated Node #0,1: 37:[44, 14, 67] Operation: 70-3=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[70, 44, 42], Operations: ['3*14=42'] Exploring Operation: 70-42=28, Resulting Numbers: [44, 28] Generated Node #0,0,0: 37:[44, 28] Operation: 70-42=28 Exploring Operation: 70-44=26, Resulting Numbers: [42, 26] Generated Node #0,0,1: 37:[42, 26] Operation: 70-44=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[44, 28], Operations: ['3*14=42', '70-42=28'] Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[42, 26], Operations: ['3*14=42', '70-44=26'] Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,37 unequal: No Solution Exploring Operation: 42+26=68, Resulting Numbers: [68] 68,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[44, 14, 67], Operations: ['70-3=67'] Exploring Operation: 67-14=53, Resulting Numbers: [44, 53] Generated Node #0,1,0: 37:[44, 53] Operation: 67-14=53 Exploring Operation: 44-14=30, Resulting Numbers: [67, 30] Generated Node #0,1,1: 37:[67, 30] Operation: 44-14=30 Moving to Node #0,1,0 Current State: 37:[44, 53], Operations: ['70-3=67', '67-14=53'] Exploring Operation: 44+53=97, Resulting Numbers: [97] 97,37 unequal: No Solution Exploring Operation: 53-44=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[67, 30], Operations: ['70-3=67', '44-14=30'] Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,37 unequal: No Solution Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[70, 3, 44, 14], Operations: [] Exploring Operation: 70-3=67, Resulting Numbers: [44, 14, 67] Generated Node #0,1: 37:[44, 14, 67] Operation: 70-3=67 Moving to Node #0,1 Current State: 37:[44, 14, 67], Operations: ['70-3=67'] Exploring Operation: 44-14=30, Resulting Numbers: [67, 30] Generated Node #0,1,1: 37:[67, 30] Operation: 44-14=30 Moving to Node #0,1,1 Current State: 37:[67, 30], Operations: ['70-3=67', '44-14=30'] Exploring Operation: 67-30=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 21, 92, 91, 98 ]
35
[ "98-92=6", "21*6=126", "126-91=35" ]
Current State: 35:[21, 92, 91, 98], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [21, 91, 6] Generated Node #2: [21, 91, 6] from Operation: 98-92=6 Current State: 35:[21, 91, 6], Operations: ['98-92=6'] Exploring Operation: 21*6=126, Resulting Numbers: [91, 126] Generated Node #3: [91, 126] from Operation: 21*6=126 Current State: 35:[91, 126], Operations: ['98-92=6', '21*6=126'] Exploring Operation: 126-91=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[21, 92, 91, 98], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [21, 91, 6] Generated Node #0,0: 35:[21, 91, 6] Operation: 98-92=6 Moving to Node #0,0 Current State: 35:[21, 91, 6], Operations: ['98-92=6'] Exploring Operation: 91-21=70, Resulting Numbers: [6, 70] Generated Node #0,0,0: 35:[6, 70] Operation: 91-21=70 Moving to Node #0,0,0 Current State: 35:[6, 70], Operations: ['98-92=6', '91-21=70'] Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,35 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 14, 56, 57, 62 ]
37
[ "56-14=42", "62-57=5", "42-5=37" ]
Current State: 37:[14, 56, 57, 62], Operations: [] Exploring Operation: 56-14=42, Resulting Numbers: [57, 62, 42] Generated Node #2: [57, 62, 42] from Operation: 56-14=42 Current State: 37:[57, 62, 42], Operations: ['56-14=42'] Exploring Operation: 62-57=5, Resulting Numbers: [42, 5] Generated Node #3: [42, 5] from Operation: 62-57=5 Current State: 37:[42, 5], Operations: ['56-14=42', '62-57=5'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[14, 56, 57, 62], Operations: [] Exploring Operation: 62-14=48, Resulting Numbers: [56, 57, 48] Generated Node #0,0: 37:[56, 57, 48] Operation: 62-14=48 Exploring Operation: 56-14=42, Resulting Numbers: [57, 62, 42] Generated Node #0,1: 37:[57, 62, 42] Operation: 56-14=42 Exploring Operation: 62-56=6, Resulting Numbers: [14, 57, 6] Generated Node #0,2: 37:[14, 57, 6] Operation: 62-56=6 Exploring Operation: 57-14=43, Resulting Numbers: [56, 62, 43] Generated Node #0,3: 37:[56, 62, 43] Operation: 57-14=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[56, 57, 48], Operations: ['62-14=48'] Exploring Operation: 56+57=113, Resulting Numbers: [48, 113] Generated Node #0,0,0: 37:[48, 113] Operation: 56+57=113 Exploring Operation: 56-48=8, Resulting Numbers: [57, 8] Generated Node #0,0,1: 37:[57, 8] Operation: 56-48=8 Exploring Operation: 57-56=1, Resulting Numbers: [48, 1] Generated Node #0,0,2: 37:[48, 1] Operation: 57-56=1 Exploring Operation: 57-48=9, Resulting Numbers: [56, 9] Generated Node #0,0,3: 37:[56, 9] Operation: 57-48=9 Moving to Node #0,0,2 Current State: 37:[48, 1], Operations: ['62-14=48', '57-56=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,37 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,37 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[56, 9], Operations: ['62-14=48', '57-48=9'] Exploring Operation: 56*9=504, Resulting Numbers: [504] 504,37 unequal: No Solution Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,37 unequal: No Solution Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[57, 8], Operations: ['62-14=48', '56-48=8'] Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,37 unequal: No Solution Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,37 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[48, 113], Operations: ['62-14=48', '56+57=113'] Exploring Operation: 48*113=5424, Resulting Numbers: [5424] 5424,37 unequal: No Solution Exploring Operation: 113-48=65, Resulting Numbers: [65] 65,37 unequal: No Solution Exploring Operation: 48+113=161, Resulting Numbers: [161] 161,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[57, 62, 42], Operations: ['56-14=42'] Exploring Operation: 57+62=119, Resulting Numbers: [42, 119] Generated Node #0,1,0: 37:[42, 119] Operation: 57+62=119 Exploring Operation: 57-42=15, Resulting Numbers: [62, 15] Generated Node #0,1,1: 37:[62, 15] Operation: 57-42=15 Exploring Operation: 62-42=20, Resulting Numbers: [57, 20] Generated Node #0,1,2: 37:[57, 20] Operation: 62-42=20 Exploring Operation: 62-57=5, Resulting Numbers: [42, 5] Generated Node #0,1,3: 37:[42, 5] Operation: 62-57=5 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 37:[57, 20], Operations: ['56-14=42', '62-42=20'] Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,37 unequal: No Solution Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,37 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[14, 56, 57, 62], Operations: [] Exploring Operation: 56-14=42, Resulting Numbers: [57, 62, 42] Generated Node #0,1: 37:[57, 62, 42] Operation: 56-14=42 Moving to Node #0,1 Current State: 37:[57, 62, 42], Operations: ['56-14=42'] Exploring Operation: 62-42=20, Resulting Numbers: [57, 20] Generated Node #0,1,2: 37:[57, 20] Operation: 62-42=20 Moving to Node #0,1,2 Current State: 37:[57, 20], Operations: ['56-14=42', '62-42=20'] Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 49, 50, 7, 90 ]
27
[ "49+50=99", "90+99=189", "189/7=27" ]
Current State: 27:[49, 50, 7, 90], Operations: [] Exploring Operation: 49+50=99, Resulting Numbers: [7, 90, 99] Generated Node #2: [7, 90, 99] from Operation: 49+50=99 Current State: 27:[7, 90, 99], Operations: ['49+50=99'] Exploring Operation: 90+99=189, Resulting Numbers: [7, 189] Generated Node #3: [7, 189] from Operation: 90+99=189 Current State: 27:[7, 189], Operations: ['49+50=99', '90+99=189'] Exploring Operation: 189/7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[49, 50, 7, 90], Operations: [] Exploring Operation: 90-50=40, Resulting Numbers: [49, 7, 40] Generated Node #0,0: 27:[49, 7, 40] Operation: 90-50=40 Moving to Node #0,0 Current State: 27:[49, 7, 40], Operations: ['90-50=40'] Exploring Operation: 49-40=9, Resulting Numbers: [7, 9] Generated Node #0,0,0: 27:[7, 9] Operation: 49-40=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[7, 9], Operations: ['90-50=40', '49-40=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,27 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
[ 4, 69, 69, 60 ]
20
[ "69/69=1", "4-1=3", "60/3=20" ]
Current State: 20:[4, 69, 69, 60], Operations: [] Exploring Operation: 69/69=1, Resulting Numbers: [4, 60, 1] Generated Node #2: [4, 60, 1] from Operation: 69/69=1 Current State: 20:[4, 60, 1], Operations: ['69/69=1'] Exploring Operation: 4-1=3, Resulting Numbers: [60, 3] Generated Node #3: [60, 3] from Operation: 4-1=3 Current State: 20:[60, 3], Operations: ['69/69=1', '4-1=3'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[4, 69, 69, 60], Operations: [] Exploring Operation: 69-60=9, Resulting Numbers: [4, 69, 9] Generated Node #0,0: 20:[4, 69, 9] Operation: 69-60=9 Exploring Operation: 69/69=1, Resulting Numbers: [4, 60, 1] Generated Node #0,1: 20:[4, 60, 1] Operation: 69/69=1 Exploring Operation: 69-60=9, Resulting Numbers: [4, 69, 9] Generated Node #0,2: 20:[4, 69, 9] Operation: 69-60=9 Exploring Operation: 69-69=0, Resulting Numbers: [4, 60, 0] Generated Node #0,3: 20:[4, 60, 0] Operation: 69-69=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[4, 60, 1], Operations: ['69/69=1'] Exploring Operation: 60/4=15, Resulting Numbers: [1, 15] Generated Node #0,1,0: 20:[1, 15] Operation: 60/4=15 Exploring Operation: 4+1=5, Resulting Numbers: [60, 5] Generated Node #0,1,1: 20:[60, 5] Operation: 4+1=5 Exploring Operation: 60-4=56, Resulting Numbers: [1, 56] Generated Node #0,1,2: 20:[1, 56] Operation: 60-4=56 Exploring Operation: 60-1=59, Resulting Numbers: [4, 59] Generated Node #0,1,3: 20:[4, 59] Operation: 60-1=59 Moving to Node #0,1,0 Current State: 20:[1, 15], Operations: ['69/69=1', '60/4=15'] Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,20 unequal: No Solution Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[1, 56], Operations: ['69/69=1', '60-4=56'] Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,20 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,20 unequal: No Solution Exploring Operation: 1*56=56, Resulting Numbers: [56] 56,20 unequal: No Solution Moving to Node #0,1,3 Current State: 20:[4, 59], Operations: ['69/69=1', '60-1=59'] Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,20 unequal: No Solution Exploring Operation: 4*59=236, Resulting Numbers: [236] 236,20 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[60, 5], Operations: ['69/69=1', '4+1=5'] Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,20 unequal: No Solution Exploring Operation: 60*5=300, Resulting Numbers: [300] 300,20 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[4, 60, 0], Operations: ['69-69=0'] Exploring Operation: 60-4=56, Resulting Numbers: [0, 56] Generated Node #0,3,0: 20:[0, 56] Operation: 60-4=56 Exploring Operation: 60/4=15, Resulting Numbers: [0, 15] Generated Node #0,3,1: 20:[0, 15] Operation: 60/4=15 Exploring Operation: 60*0=0, Resulting Numbers: [4, 0] Generated Node #0,3,2: 20:[4, 0] Operation: 60*0=0 Exploring Operation: 4+0=4, Resulting Numbers: [60, 4] Generated Node #0,3,3: 20:[60, 4] Operation: 4+0=4 Moving to Node #0,3,2 Current State: 20:[4, 0], Operations: ['69-69=0', '60*0=0'] Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,20 unequal: No Solution Moving to Node #0,3,1 Current State: 20:[0, 15], Operations: ['69-69=0', '60/4=15'] Exploring Operation: 15-0=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 0*15=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 0+15=15, Resulting Numbers: [15] 15,20 unequal: No Solution Moving to Node #0,3,0 Current State: 20:[0, 56], Operations: ['69-69=0', '60-4=56'] Exploring Operation: 56-0=56, Resulting Numbers: [56] 56,20 unequal: No Solution Exploring Operation: 0+56=56, Resulting Numbers: [56] 56,20 unequal: No Solution Exploring Operation: 0*56=0, Resulting Numbers: [0] 0,20 unequal: No Solution Moving to Node #0,3,3 Current State: 20:[60, 4], Operations: ['69-69=0', '4+0=4'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,20 unequal: No Solution Exploring Operation: 60*4=240, Resulting Numbers: [240] 240,20 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[4, 69, 9], Operations: ['69-60=9'] Exploring Operation: 69-9=60, Resulting Numbers: [4, 60] Generated Node #0,0,0: 20:[4, 60] Operation: 69-9=60 Exploring Operation: 69-4=65, Resulting Numbers: [9, 65] Generated Node #0,0,1: 20:[9, 65] Operation: 69-4=65 Exploring Operation: 4+9=13, Resulting Numbers: [69, 13] Generated Node #0,0,2: 20:[69, 13] Operation: 4+9=13 Exploring Operation: 9-4=5, Resulting Numbers: [69, 5] Generated Node #0,0,3: 20:[69, 5] Operation: 9-4=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[4, 60], Operations: ['69-60=9', '69-9=60'] Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,20 unequal: No Solution Exploring Operation: 4*60=240, Resulting Numbers: [240] 240,20 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 20:[9, 65], Operations: ['69-60=9', '69-4=65'] Exploring Operation: 9*65=585, Resulting Numbers: [585] 585,20 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,20 unequal: No Solution Exploring Operation: 9+65=74, Resulting Numbers: [74] 74,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 20:[69, 5], Operations: ['69-60=9', '9-4=5'] Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,20 unequal: No Solution Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,20 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 20:[69, 13], Operations: ['69-60=9', '4+9=13'] Exploring Operation: 69*13=897, Resulting Numbers: [897] 897,20 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,20 unequal: No Solution Exploring Operation: 69+13=82, Resulting Numbers: [82] 82,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[4, 69, 9], Operations: ['69-60=9'] Exploring Operation: 69-9=60, Resulting Numbers: [4, 60] Generated Node #0,2,0: 20:[4, 60] Operation: 69-9=60 Exploring Operation: 9-4=5, Resulting Numbers: [69, 5] Generated Node #0,2,1: 20:[69, 5] Operation: 9-4=5 Exploring Operation: 4+9=13, Resulting Numbers: [69, 13] Generated Node #0,2,2: 20:[69, 13] Operation: 4+9=13 Exploring Operation: 69-4=65, Resulting Numbers: [9, 65] Generated Node #0,2,3: 20:[9, 65] Operation: 69-4=65 Moving to Node #0,2,0 Current State: 20:[4, 60], Operations: ['69-60=9', '69-9=60'] Exploring Operation: 4*60=240, Resulting Numbers: [240] 240,20 unequal: No Solution Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,20 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,20 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[9, 65], Operations: ['69-60=9', '69-4=65'] Exploring Operation: 9+65=74, Resulting Numbers: [74] 74,20 unequal: No Solution Exploring Operation: 9*65=585, Resulting Numbers: [585] 585,20 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[69, 5], Operations: ['69-60=9', '9-4=5'] Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,20 unequal: No Solution Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,20 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[69, 13], Operations: ['69-60=9', '4+9=13'] Exploring Operation: 69+13=82, Resulting Numbers: [82] 82,20 unequal: No Solution Exploring Operation: 69*13=897, Resulting Numbers: [897] 897,20 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 68, 3, 14, 45 ]
53
[ "68+14=82", "3*45=135", "135-82=53" ]
Current State: 53:[68, 3, 14, 45], Operations: [] Exploring Operation: 68+14=82, Resulting Numbers: [3, 45, 82] Generated Node #2: [3, 45, 82] from Operation: 68+14=82 Current State: 53:[3, 45, 82], Operations: ['68+14=82'] Exploring Operation: 3*45=135, Resulting Numbers: [82, 135] Generated Node #3: [82, 135] from Operation: 3*45=135 Current State: 53:[82, 135], Operations: ['68+14=82', '3*45=135'] Exploring Operation: 135-82=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[68, 3, 14, 45], Operations: [] Exploring Operation: 68-3=65, Resulting Numbers: [14, 45, 65] Generated Node #0,0: 53:[14, 45, 65] Operation: 68-3=65 Exploring Operation: 3*14=42, Resulting Numbers: [68, 45, 42] Generated Node #0,1: 53:[68, 45, 42] Operation: 3*14=42 Exploring Operation: 68-14=54, Resulting Numbers: [3, 45, 54] Generated Node #0,2: 53:[3, 45, 54] Operation: 68-14=54 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[68, 45, 42], Operations: ['3*14=42'] Exploring Operation: 45+42=87, Resulting Numbers: [68, 87] Generated Node #0,1,0: 53:[68, 87] Operation: 45+42=87 Exploring Operation: 68-42=26, Resulting Numbers: [45, 26] Generated Node #0,1,1: 53:[45, 26] Operation: 68-42=26 Exploring Operation: 68-45=23, Resulting Numbers: [42, 23] Generated Node #0,1,2: 53:[42, 23] Operation: 68-45=23 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[45, 26], Operations: ['3*14=42', '68-42=26'] Exploring Operation: 45*26=1170, Resulting Numbers: [1170] 1170,53 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 45+26=71, Resulting Numbers: [71] 71,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 53:[42, 23], Operations: ['3*14=42', '68-45=23'] Exploring Operation: 42+23=65, Resulting Numbers: [65] 65,53 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 42*23=966, Resulting Numbers: [966] 966,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[68, 87], Operations: ['3*14=42', '45+42=87'] Exploring Operation: 68*87=5916, Resulting Numbers: [5916] 5916,53 unequal: No Solution Exploring Operation: 68+87=155, Resulting Numbers: [155] 155,53 unequal: No Solution Exploring Operation: 87-68=19, Resulting Numbers: [19] 19,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[14, 45, 65], Operations: ['68-3=65'] Exploring Operation: 45-14=31, Resulting Numbers: [65, 31] Generated Node #0,0,0: 53:[65, 31] Operation: 45-14=31 Exploring Operation: 14+45=59, Resulting Numbers: [65, 59] Generated Node #0,0,1: 53:[65, 59] Operation: 14+45=59 Exploring Operation: 65-14=51, Resulting Numbers: [45, 51] Generated Node #0,0,2: 53:[45, 51] Operation: 65-14=51 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 53:[45, 51], Operations: ['68-3=65', '65-14=51'] Exploring Operation: 45+51=96, Resulting Numbers: [96] 96,53 unequal: No Solution Exploring Operation: 45*51=2295, Resulting Numbers: [2295] 2295,53 unequal: No Solution Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[65, 59], Operations: ['68-3=65', '14+45=59'] Exploring Operation: 65*59=3835, Resulting Numbers: [3835] 3835,53 unequal: No Solution Exploring Operation: 65-59=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 65+59=124, Resulting Numbers: [124] 124,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[65, 31], Operations: ['68-3=65', '45-14=31'] Exploring Operation: 65*31=2015, Resulting Numbers: [2015] 2015,53 unequal: No Solution Exploring Operation: 65+31=96, Resulting Numbers: [96] 96,53 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[3, 45, 54], Operations: ['68-14=54'] Exploring Operation: 3+45=48, Resulting Numbers: [54, 48] Generated Node #0,2,0: 53:[54, 48] Operation: 3+45=48 Exploring Operation: 54-3=51, Resulting Numbers: [45, 51] Generated Node #0,2,1: 53:[45, 51] Operation: 54-3=51 Exploring Operation: 45-3=42, Resulting Numbers: [54, 42] Generated Node #0,2,2: 53:[54, 42] Operation: 45-3=42 Moving to Node #0,2,0 Current State: 53:[54, 48], Operations: ['68-14=54', '3+45=48'] Exploring Operation: 54+48=102, Resulting Numbers: [102] 102,53 unequal: No Solution Exploring Operation: 54*48=2592, Resulting Numbers: [2592] 2592,53 unequal: No Solution Exploring Operation: 54-48=6, Resulting Numbers: [6] 6,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[45, 51], Operations: ['68-14=54', '54-3=51'] Exploring Operation: 45+51=96, Resulting Numbers: [96] 96,53 unequal: No Solution Exploring Operation: 45*51=2295, Resulting Numbers: [2295] 2295,53 unequal: No Solution Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[54, 42], Operations: ['68-14=54', '45-3=42'] Exploring Operation: 54+42=96, Resulting Numbers: [96] 96,53 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 54*42=2268, Resulting Numbers: [2268] 2268,53 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
[ 78, 53, 89, 47 ]
89
[ "78+53=131", "89-47=42", "131-42=89" ]
Current State: 89:[78, 53, 89, 47], Operations: [] Exploring Operation: 78+53=131, Resulting Numbers: [89, 47, 131] Generated Node #2: [89, 47, 131] from Operation: 78+53=131 Current State: 89:[89, 47, 131], Operations: ['78+53=131'] Exploring Operation: 89-47=42, Resulting Numbers: [131, 42] Generated Node #3: [131, 42] from Operation: 89-47=42 Current State: 89:[131, 42], Operations: ['78+53=131', '89-47=42'] Exploring Operation: 131-42=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[78, 53, 89, 47], Operations: [] Exploring Operation: 78+47=125, Resulting Numbers: [53, 89, 125] Generated Node #0,0: 89:[53, 89, 125] Operation: 78+47=125 Exploring Operation: 78-47=31, Resulting Numbers: [53, 89, 31] Generated Node #0,1: 89:[53, 89, 31] Operation: 78-47=31 Exploring Operation: 53+47=100, Resulting Numbers: [78, 89, 100] Generated Node #0,2: 89:[78, 89, 100] Operation: 53+47=100 Exploring Operation: 53-47=6, Resulting Numbers: [78, 89, 6] Generated Node #0,3: 89:[78, 89, 6] Operation: 53-47=6 Exploring Operation: 78+53=131, Resulting Numbers: [89, 47, 131] Generated Node #0,4: 89:[89, 47, 131] Operation: 78+53=131 Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[78, 89, 100], Operations: ['53+47=100'] Exploring Operation: 100-89=11, Resulting Numbers: [78, 11] Generated Node #0,2,0: 89:[78, 11] Operation: 100-89=11 Exploring Operation: 78+100=178, Resulting Numbers: [89, 178] Generated Node #0,2,1: 89:[89, 178] Operation: 78+100=178 Exploring Operation: 100-78=22, Resulting Numbers: [89, 22] Generated Node #0,2,2: 89:[89, 22] Operation: 100-78=22 Exploring Operation: 78+89=167, Resulting Numbers: [100, 167] Generated Node #0,2,3: 89:[100, 167] Operation: 78+89=167 Exploring Operation: 89-78=11, Resulting Numbers: [100, 11] Generated Node #0,2,4: 89:[100, 11] Operation: 89-78=11 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 89:[89, 22], Operations: ['53+47=100', '100-78=22'] Exploring Operation: 89+22=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 89*22=1958, Resulting Numbers: [1958] 1958,89 unequal: No Solution Exploring Operation: 89-22=67, Resulting Numbers: [67] 67,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[78, 11], Operations: ['53+47=100', '100-89=11'] Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,89 unequal: No Solution Exploring Operation: 78*11=858, Resulting Numbers: [858] 858,89 unequal: No Solution Exploring Operation: 78+11=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[78, 53, 89, 47], Operations: [] Exploring Operation: 53+47=100, Resulting Numbers: [78, 89, 100] Generated Node #0,2: 89:[78, 89, 100] Operation: 53+47=100 Moving to Node #0,2 Current State: 89:[78, 89, 100], Operations: ['53+47=100'] Exploring Operation: 100-89=11, Resulting Numbers: [78, 11] Generated Node #0,2,0: 89:[78, 11] Operation: 100-89=11 Moving to Node #0,2,0 Current State: 89:[78, 11], Operations: ['53+47=100', '100-89=11'] Exploring Operation: 78+11=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 98, 5, 17, 93 ]
90
[ "98-93=5", "5*17=85", "5+85=90" ]
Current State: 90:[98, 5, 17, 93], Operations: [] Exploring Operation: 98-93=5, Resulting Numbers: [5, 17, 5] Generated Node #2: [5, 17, 5] from Operation: 98-93=5 Current State: 90:[5, 17, 5], Operations: ['98-93=5'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,90 equal: Goal Reached Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[98, 5, 17, 93], Operations: [] Exploring Operation: 98-17=81, Resulting Numbers: [5, 93, 81] Generated Node #0,0: 90:[5, 93, 81] Operation: 98-17=81 Exploring Operation: 17-5=12, Resulting Numbers: [98, 93, 12] Generated Node #0,1: 90:[98, 93, 12] Operation: 17-5=12 Exploring Operation: 98-93=5, Resulting Numbers: [5, 17, 5] Generated Node #0,2: 90:[5, 17, 5] Operation: 98-93=5 Exploring Operation: 98-5=93, Resulting Numbers: [17, 93, 93] Generated Node #0,3: 90:[17, 93, 93] Operation: 98-5=93 Exploring Operation: 93-5=88, Resulting Numbers: [98, 17, 88] Generated Node #0,4: 90:[98, 17, 88] Operation: 93-5=88 Moving to Node #0,2 Current State: 90:[5, 17, 5], Operations: ['98-93=5'] Exploring Operation: 5/5=1, Resulting Numbers: [17, 1] Generated Node #0,2,0: 90:[17, 1] Operation: 5/5=1 Exploring Operation: 5+5=10, Resulting Numbers: [17, 10] Generated Node #0,2,1: 90:[17, 10] Operation: 5+5=10 Exploring Operation: 5-5=0, Resulting Numbers: [17, 0] Generated Node #0,2,2: 90:[17, 0] Operation: 5-5=0 Exploring Operation: 17-5=12, Resulting Numbers: [5, 12] Generated Node #0,2,3: 90:[5, 12] Operation: 17-5=12 Exploring Operation: 17-5=12, Resulting Numbers: [5, 12] Generated Node #0,2,4: 90:[5, 12] Operation: 17-5=12 Moving to Node #0,3 Current State: 90:[17, 93, 93], Operations: ['98-5=93'] Exploring Operation: 93/93=1, Resulting Numbers: [17, 1] Generated Node #0,3,0: 90:[17, 1] Operation: 93/93=1 Exploring Operation: 17+93=110, Resulting Numbers: [93, 110] Generated Node #0,3,1: 90:[93, 110] Operation: 17+93=110 Exploring Operation: 93-17=76, Resulting Numbers: [93, 76] Generated Node #0,3,2: 90:[93, 76] Operation: 93-17=76 Exploring Operation: 93-93=0, Resulting Numbers: [17, 0] Generated Node #0,3,3: 90:[17, 0] Operation: 93-93=0 Exploring Operation: 93-17=76, Resulting Numbers: [93, 76] Generated Node #0,3,4: 90:[93, 76] Operation: 93-17=76 Moving to Node #0,4 Current State: 90:[98, 17, 88], Operations: ['93-5=88'] Exploring Operation: 98-17=81, Resulting Numbers: [88, 81] Generated Node #0,4,0: 90:[88, 81] Operation: 98-17=81 Exploring Operation: 98+17=115, Resulting Numbers: [88, 115] Generated Node #0,4,1: 90:[88, 115] Operation: 98+17=115 Exploring Operation: 98-88=10, Resulting Numbers: [17, 10] Generated Node #0,4,2: 90:[17, 10] Operation: 98-88=10 Exploring Operation: 17+88=105, Resulting Numbers: [98, 105] Generated Node #0,4,3: 90:[98, 105] Operation: 17+88=105 Exploring Operation: 88-17=71, Resulting Numbers: [98, 71] Generated Node #0,4,4: 90:[98, 71] Operation: 88-17=71 Moving to Node #0,0 Current State: 90:[5, 93, 81], Operations: ['98-17=81'] Exploring Operation: 93-5=88, Resulting Numbers: [81, 88] Generated Node #0,0,0: 90:[81, 88] Operation: 93-5=88 Exploring Operation: 5+93=98, Resulting Numbers: [81, 98] Generated Node #0,0,1: 90:[81, 98] Operation: 5+93=98 Exploring Operation: 81-5=76, Resulting Numbers: [93, 76] Generated Node #0,0,2: 90:[93, 76] Operation: 81-5=76 Exploring Operation: 5+81=86, Resulting Numbers: [93, 86] Generated Node #0,0,3: 90:[93, 86] Operation: 5+81=86 Exploring Operation: 93-81=12, Resulting Numbers: [5, 12] Generated Node #0,0,4: 90:[5, 12] Operation: 93-81=12 Moving to Node #0,1 Current State: 90:[98, 93, 12], Operations: ['17-5=12'] Exploring Operation: 98-12=86, Resulting Numbers: [93, 86] Generated Node #0,1,0: 90:[93, 86] Operation: 98-12=86 Exploring Operation: 98+12=110, Resulting Numbers: [93, 110] Generated Node #0,1,1: 90:[93, 110] Operation: 98+12=110 Exploring Operation: 93-12=81, Resulting Numbers: [98, 81] Generated Node #0,1,2: 90:[98, 81] Operation: 93-12=81 Exploring Operation: 98-93=5, Resulting Numbers: [12, 5] Generated Node #0,1,3: 90:[12, 5] Operation: 98-93=5 Exploring Operation: 93+12=105, Resulting Numbers: [98, 105] Generated Node #0,1,4: 90:[98, 105] Operation: 93+12=105 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 90:[12, 5], Operations: ['17-5=12', '98-93=5'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[93, 86], Operations: ['17-5=12', '98-12=86'] Exploring Operation: 93+86=179, Resulting Numbers: [179] 179,90 unequal: No Solution Exploring Operation: 93-86=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 93*86=7998, Resulting Numbers: [7998] 7998,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 90:[98, 81], Operations: ['17-5=12', '93-12=81'] Exploring Operation: 98+81=179, Resulting Numbers: [179] 179,90 unequal: No Solution Exploring Operation: 98*81=7938, Resulting Numbers: [7938] 7938,90 unequal: No Solution Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[93, 110], Operations: ['17-5=12', '98+12=110'] Exploring Operation: 93*110=10230, Resulting Numbers: [10230] 10230,90 unequal: No Solution Exploring Operation: 110-93=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 93+110=203, Resulting Numbers: [203] 203,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 90:[98, 105], Operations: ['17-5=12', '93+12=105'] Exploring Operation: 105-98=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 98+105=203, Resulting Numbers: [203] 203,90 unequal: No Solution Exploring Operation: 98*105=10290, Resulting Numbers: [10290] 10290,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 90:[17, 10], Operations: ['98-93=5', '5+5=10'] Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,90 unequal: No Solution Exploring Operation: 17*10=170, Resulting Numbers: [170] 170,90 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,90 unequal: No Solution Moving to Node #0,4,2 Current State: 90:[17, 10], Operations: ['93-5=88', '98-88=10'] Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,90 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 17*10=170, Resulting Numbers: [170] 170,90 unequal: No Solution Moving to Node #0,2,3 Current State: 90:[5, 12], Operations: ['98-93=5', '17-5=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,90 unequal: No Solution Moving to Node #0,3,0 Current State: 90:[17, 1], Operations: ['98-5=93', '93/93=1'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[17, 1], Operations: ['98-93=5', '5/5=1'] Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,90 unequal: No Solution Moving to Node #0,2,4 Current State: 90:[5, 12], Operations: ['98-93=5', '17-5=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,90 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,90 unequal: No Solution Moving to Node #0,0,4 Current State: 90:[5, 12], Operations: ['98-17=81', '93-81=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,90 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,90 unequal: No Solution Moving to Node #0,3,3 Current State: 90:[17, 0], Operations: ['98-5=93', '93-93=0'] Exploring Operation: 17-0=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 17*0=0, Resulting Numbers: [0] 0,90 unequal: No Solution Exploring Operation: 17+0=17, Resulting Numbers: [17] 17,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[17, 0], Operations: ['98-93=5', '5-5=0'] Exploring Operation: 17+0=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 17-0=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 17*0=0, Resulting Numbers: [0] 0,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[93, 86], Operations: ['98-17=81', '5+81=86'] Exploring Operation: 93+86=179, Resulting Numbers: [179] 179,90 unequal: No Solution Exploring Operation: 93-86=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 93*86=7998, Resulting Numbers: [7998] 7998,90 unequal: No Solution Moving to Node #0,4,0 Current State: 90:[88, 81], Operations: ['93-5=88', '98-17=81'] Exploring Operation: 88*81=7128, Resulting Numbers: [7128] 7128,90 unequal: No Solution Exploring Operation: 88+81=169, Resulting Numbers: [169] 169,90 unequal: No Solution Exploring Operation: 88-81=7, Resulting Numbers: [7] 7,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[81, 88], Operations: ['98-17=81', '93-5=88'] Exploring Operation: 81*88=7128, Resulting Numbers: [7128] 7128,90 unequal: No Solution Exploring Operation: 88-81=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 81+88=169, Resulting Numbers: [169] 169,90 unequal: No Solution Moving to Node #0,3,4 Current State: 90:[93, 76], Operations: ['98-5=93', '93-17=76'] Exploring Operation: 93*76=7068, Resulting Numbers: [7068] 7068,90 unequal: No Solution Exploring Operation: 93-76=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 93+76=169, Resulting Numbers: [169] 169,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[81, 98], Operations: ['98-17=81', '5+93=98'] Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 81+98=179, Resulting Numbers: [179] 179,90 unequal: No Solution Exploring Operation: 81*98=7938, Resulting Numbers: [7938] 7938,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[93, 76], Operations: ['98-17=81', '81-5=76'] Exploring Operation: 93*76=7068, Resulting Numbers: [7068] 7068,90 unequal: No Solution Exploring Operation: 93-76=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 93+76=169, Resulting Numbers: [169] 169,90 unequal: No Solution Moving to Node #0,3,2 Current State: 90:[93, 76], Operations: ['98-5=93', '93-17=76'] Exploring Operation: 93-76=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 93*76=7068, Resulting Numbers: [7068] 7068,90 unequal: No Solution Exploring Operation: 93+76=169, Resulting Numbers: [169] 169,90 unequal: No Solution Moving to Node #0,3,1 Current State: 90:[93, 110], Operations: ['98-5=93', '17+93=110'] Exploring Operation: 93+110=203, Resulting Numbers: [203] 203,90 unequal: No Solution Exploring Operation: 110-93=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 93*110=10230, Resulting Numbers: [10230] 10230,90 unequal: No Solution Moving to Node #0,4,3 Current State: 90:[98, 105], Operations: ['93-5=88', '17+88=105'] Exploring Operation: 105-98=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 98+105=203, Resulting Numbers: [203] 203,90 unequal: No Solution Exploring Operation: 98*105=10290, Resulting Numbers: [10290] 10290,90 unequal: No Solution Moving to Node #0,4,1 Current State: 90:[88, 115], Operations: ['93-5=88', '98+17=115'] Exploring Operation: 115-88=27, Resulting Numbers: [27] 27,90 unequal: No Solution Exploring Operation: 88*115=10120, Resulting Numbers: [10120] 10120,90 unequal: No Solution Exploring Operation: 88+115=203, Resulting Numbers: [203] 203,90 unequal: No Solution Moving to Node #0,4,4 Current State: 90:[98, 71], Operations: ['93-5=88', '88-17=71'] Exploring Operation: 98*71=6958, Resulting Numbers: [6958] 6958,90 unequal: No Solution Exploring Operation: 98+71=169, Resulting Numbers: [169] 169,90 unequal: No Solution Exploring Operation: 98-71=27, Resulting Numbers: [27] 27,90 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 52, 80, 85, 83 ]
66
[ "52+80=132", "85-83=2", "132/2=66" ]
Current State: 66:[52, 80, 85, 83], Operations: [] Exploring Operation: 52+80=132, Resulting Numbers: [85, 83, 132] Generated Node #2: [85, 83, 132] from Operation: 52+80=132 Current State: 66:[85, 83, 132], Operations: ['52+80=132'] Exploring Operation: 85-83=2, Resulting Numbers: [132, 2] Generated Node #3: [132, 2] from Operation: 85-83=2 Current State: 66:[132, 2], Operations: ['52+80=132', '85-83=2'] Exploring Operation: 132/2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[52, 80, 85, 83], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [52, 80, 2] Generated Node #0,0: 66:[52, 80, 2] Operation: 85-83=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[52, 80, 2], Operations: ['85-83=2'] Exploring Operation: 80-52=28, Resulting Numbers: [2, 28] Generated Node #0,0,0: 66:[2, 28] Operation: 80-52=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[2, 28], Operations: ['85-83=2', '80-52=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 50, 25, 35, 37 ]
23
[ "50-25=25", "37-35=2", "25-2=23" ]
Current State: 23:[50, 25, 35, 37], Operations: [] Exploring Operation: 50-25=25, Resulting Numbers: [35, 37, 25] Generated Node #2: [35, 37, 25] from Operation: 50-25=25 Current State: 23:[35, 37, 25], Operations: ['50-25=25'] Exploring Operation: 37-35=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 37-35=2 Current State: 23:[25, 2], Operations: ['50-25=25', '37-35=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[50, 25, 35, 37], Operations: [] Exploring Operation: 50-35=15, Resulting Numbers: [25, 37, 15] Generated Node #0,0: 23:[25, 37, 15] Operation: 50-35=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[25, 37, 15], Operations: ['50-35=15'] Exploring Operation: 37-15=22, Resulting Numbers: [25, 22] Generated Node #0,0,0: 23:[25, 22] Operation: 37-15=22 Moving to Node #0,0,0 Current State: 23:[25, 22], Operations: ['50-35=15', '37-15=22'] Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 69, 72, 75, 46 ]
69
[ "69-46=23", "75-72=3", "23*3=69" ]
Current State: 69:[69, 72, 75, 46], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [72, 75, 23] Generated Node #2: [72, 75, 23] from Operation: 69-46=23 Current State: 69:[72, 75, 23], Operations: ['69-46=23'] Exploring Operation: 75-72=3, Resulting Numbers: [23, 3] Generated Node #3: [23, 3] from Operation: 75-72=3 Current State: 69:[23, 3], Operations: ['69-46=23', '75-72=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[69, 72, 75, 46], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [72, 75, 23] Generated Node #0,0: 69:[72, 75, 23] Operation: 69-46=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[72, 75, 23], Operations: ['69-46=23'] Exploring Operation: 75-72=3, Resulting Numbers: [23, 3] Generated Node #0,0,0: 69:[23, 3] Operation: 75-72=3 Moving to Node #0,0,0 Current State: 69:[23, 3], Operations: ['69-46=23', '75-72=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[69, 72, 75, 46], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [72, 75, 23] Generated Node #0,0: 69:[72, 75, 23] Operation: 69-46=23 Moving to Node #0,0 Current State: 69:[72, 75, 23], Operations: ['69-46=23'] Exploring Operation: 75-72=3, Resulting Numbers: [23, 3] Generated Node #0,0,0: 69:[23, 3] Operation: 75-72=3 Moving to Node #0,0,0 Current State: 69:[23, 3], Operations: ['69-46=23', '75-72=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 2, 19, 39, 78 ]
22
[ "19-2=17", "78-39=39", "39-17=22" ]
Current State: 22:[2, 19, 39, 78], Operations: [] Exploring Operation: 19-2=17, Resulting Numbers: [39, 78, 17] Generated Node #2: [39, 78, 17] from Operation: 19-2=17 Current State: 22:[39, 78, 17], Operations: ['19-2=17'] Exploring Operation: 78-39=39, Resulting Numbers: [17, 39] Generated Node #3: [17, 39] from Operation: 78-39=39 Current State: 22:[17, 39], Operations: ['19-2=17', '78-39=39'] Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[2, 19, 39, 78], Operations: [] Exploring Operation: 78-39=39, Resulting Numbers: [2, 19, 39] Generated Node #0,0: 22:[2, 19, 39] Operation: 78-39=39 Exploring Operation: 78/39=2, Resulting Numbers: [2, 19, 2] Generated Node #0,1: 22:[2, 19, 2] Operation: 78/39=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[2, 19, 2], Operations: ['78/39=2'] Exploring Operation: 2+19=21, Resulting Numbers: [2, 21] Generated Node #0,1,0: 22:[2, 21] Operation: 2+19=21 Exploring Operation: 19+2=21, Resulting Numbers: [2, 21] Generated Node #0,1,1: 22:[2, 21] Operation: 19+2=21 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[2, 21], Operations: ['78/39=2', '2+19=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[2, 21], Operations: ['78/39=2', '19+2=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,22 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[2, 19, 39], Operations: ['78-39=39'] Exploring Operation: 39-19=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 22:[2, 20] Operation: 39-19=20 Exploring Operation: 2+19=21, Resulting Numbers: [39, 21] Generated Node #0,0,1: 22:[39, 21] Operation: 2+19=21 Moving to Node #0,0,0 Current State: 22:[2, 20], Operations: ['78-39=39', '39-19=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[2, 19, 39, 78], Operations: [] Exploring Operation: 78-39=39, Resulting Numbers: [2, 19, 39] Generated Node #0,0: 22:[2, 19, 39] Operation: 78-39=39 Moving to Node #0,0 Current State: 22:[2, 19, 39], Operations: ['78-39=39'] Exploring Operation: 39-19=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 22:[2, 20] Operation: 39-19=20 Moving to Node #0,0,0 Current State: 22:[2, 20], Operations: ['78-39=39', '39-19=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 69, 9, 8, 11 ]
59
[ "69+9=78", "8+11=19", "78-19=59" ]
Current State: 59:[69, 9, 8, 11], Operations: [] Exploring Operation: 69+9=78, Resulting Numbers: [8, 11, 78] Generated Node #2: [8, 11, 78] from Operation: 69+9=78 Current State: 59:[8, 11, 78], Operations: ['69+9=78'] Exploring Operation: 8+11=19, Resulting Numbers: [78, 19] Generated Node #3: [78, 19] from Operation: 8+11=19 Current State: 59:[78, 19], Operations: ['69+9=78', '8+11=19'] Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[69, 9, 8, 11], Operations: [] Exploring Operation: 69-9=60, Resulting Numbers: [8, 11, 60] Generated Node #0,0: 59:[8, 11, 60] Operation: 69-9=60 Exploring Operation: 8*11=88, Resulting Numbers: [69, 9, 88] Generated Node #0,1: 59:[69, 9, 88] Operation: 8*11=88 Exploring Operation: 9*8=72, Resulting Numbers: [69, 11, 72] Generated Node #0,2: 59:[69, 11, 72] Operation: 9*8=72 Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[69, 11, 72], Operations: ['9*8=72'] Exploring Operation: 69-11=58, Resulting Numbers: [72, 58] Generated Node #0,2,0: 59:[72, 58] Operation: 69-11=58 Exploring Operation: 72-11=61, Resulting Numbers: [69, 61] Generated Node #0,2,1: 59:[69, 61] Operation: 72-11=61 Exploring Operation: 69+11=80, Resulting Numbers: [72, 80] Generated Node #0,2,2: 59:[72, 80] Operation: 69+11=80 Moving to Node #0,2,1 Current State: 59:[69, 61], Operations: ['9*8=72', '72-11=61'] Exploring Operation: 69-61=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 69+61=130, Resulting Numbers: [130] 130,59 unequal: No Solution Exploring Operation: 69*61=4209, Resulting Numbers: [4209] 4209,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[72, 58], Operations: ['9*8=72', '69-11=58'] Exploring Operation: 72+58=130, Resulting Numbers: [130] 130,59 unequal: No Solution Exploring Operation: 72-58=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 72*58=4176, Resulting Numbers: [4176] 4176,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[72, 80], Operations: ['9*8=72', '69+11=80'] Exploring Operation: 72*80=5760, Resulting Numbers: [5760] 5760,59 unequal: No Solution Exploring Operation: 72+80=152, Resulting Numbers: [152] 152,59 unequal: No Solution Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,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:[69, 9, 88], Operations: ['8*11=88'] Exploring Operation: 69-9=60, Resulting Numbers: [88, 60] Generated Node #0,1,0: 59:[88, 60] Operation: 69-9=60 Exploring Operation: 69+9=78, Resulting Numbers: [88, 78] Generated Node #0,1,1: 59:[88, 78] Operation: 69+9=78 Exploring Operation: 88-9=79, Resulting Numbers: [69, 79] Generated Node #0,1,2: 59:[69, 79] Operation: 88-9=79 Moving to Node #0,1,0 Current State: 59:[88, 60], Operations: ['8*11=88', '69-9=60'] Exploring Operation: 88-60=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 88*60=5280, Resulting Numbers: [5280] 5280,59 unequal: No Solution Exploring Operation: 88+60=148, Resulting Numbers: [148] 148,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[69, 79], Operations: ['8*11=88', '88-9=79'] Exploring Operation: 69+79=148, Resulting Numbers: [148] 148,59 unequal: No Solution Exploring Operation: 69*79=5451, Resulting Numbers: [5451] 5451,59 unequal: No Solution Exploring Operation: 79-69=10, Resulting Numbers: [10] 10,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[88, 78], Operations: ['8*11=88', '69+9=78'] Exploring Operation: 88+78=166, Resulting Numbers: [166] 166,59 unequal: No Solution Exploring Operation: 88*78=6864, Resulting Numbers: [6864] 6864,59 unequal: No Solution Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,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:[8, 11, 60], Operations: ['69-9=60'] Exploring Operation: 8*11=88, Resulting Numbers: [60, 88] Generated Node #0,0,0: 59:[60, 88] Operation: 8*11=88 Exploring Operation: 8+11=19, Resulting Numbers: [60, 19] Generated Node #0,0,1: 59:[60, 19] Operation: 8+11=19 Exploring Operation: 60-8=52, Resulting Numbers: [11, 52] Generated Node #0,0,2: 59:[11, 52] Operation: 60-8=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[60, 88], Operations: ['69-9=60', '8*11=88'] Exploring Operation: 60+88=148, Resulting Numbers: [148] 148,59 unequal: No Solution Exploring Operation: 88-60=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 60*88=5280, Resulting Numbers: [5280] 5280,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:[60, 19], Operations: ['69-9=60', '8+11=19'] Exploring Operation: 60*19=1140, Resulting Numbers: [1140] 1140,59 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,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:[11, 52], Operations: ['69-9=60', '60-8=52'] Exploring Operation: 11*52=572, Resulting Numbers: [572] 572,59 unequal: No Solution Exploring Operation: 11+52=63, Resulting Numbers: [63] 63,59 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,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_3
mult_heuristic
[ 61, 50, 5, 41 ]
65
[ "61+50=111", "5+41=46", "111-46=65" ]
Current State: 65:[61, 50, 5, 41], Operations: [] Exploring Operation: 61+50=111, Resulting Numbers: [5, 41, 111] Generated Node #2: [5, 41, 111] from Operation: 61+50=111 Current State: 65:[5, 41, 111], Operations: ['61+50=111'] Exploring Operation: 5+41=46, Resulting Numbers: [111, 46] Generated Node #3: [111, 46] from Operation: 5+41=46 Current State: 65:[111, 46], Operations: ['61+50=111', '5+41=46'] Exploring Operation: 111-46=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[61, 50, 5, 41], Operations: [] Exploring Operation: 50+41=91, Resulting Numbers: [61, 5, 91] Generated Node #0,0: 65:[61, 5, 91] Operation: 50+41=91 Exploring Operation: 61-41=20, Resulting Numbers: [50, 5, 20] Generated Node #0,1: 65:[50, 5, 20] Operation: 61-41=20 Exploring Operation: 50-41=9, Resulting Numbers: [61, 5, 9] Generated Node #0,2: 65:[61, 5, 9] Operation: 50-41=9 Exploring Operation: 61-50=11, Resulting Numbers: [5, 41, 11] Generated Node #0,3: 65:[5, 41, 11] Operation: 61-50=11 Moving to Node #0,2 Current State: 65:[61, 5, 9], Operations: ['50-41=9'] Exploring Operation: 61+5=66, Resulting Numbers: [9, 66] Generated Node #0,2,0: 65:[9, 66] Operation: 61+5=66 Exploring Operation: 5+9=14, Resulting Numbers: [61, 14] Generated Node #0,2,1: 65:[61, 14] Operation: 5+9=14 Exploring Operation: 9-5=4, Resulting Numbers: [61, 4] Generated Node #0,2,2: 65:[61, 4] Operation: 9-5=4 Exploring Operation: 61+9=70, Resulting Numbers: [5, 70] Generated Node #0,2,3: 65:[5, 70] Operation: 61+9=70 Moving to Node #0,1 Current State: 65:[50, 5, 20], Operations: ['61-41=20'] Exploring Operation: 50+5=55, Resulting Numbers: [20, 55] Generated Node #0,1,0: 65:[20, 55] Operation: 50+5=55 Exploring Operation: 20/5=4, Resulting Numbers: [50, 4] Generated Node #0,1,1: 65:[50, 4] Operation: 20/5=4 Exploring Operation: 50+20=70, Resulting Numbers: [5, 70] Generated Node #0,1,2: 65:[5, 70] Operation: 50+20=70 Exploring Operation: 50/5=10, Resulting Numbers: [20, 10] Generated Node #0,1,3: 65:[20, 10] Operation: 50/5=10 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[5, 70], Operations: ['61-41=20', '50+20=70'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,65 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[61, 50, 5, 41], Operations: [] Exploring Operation: 61-41=20, Resulting Numbers: [50, 5, 20] Generated Node #0,1: 65:[50, 5, 20] Operation: 61-41=20 Moving to Node #0,1 Current State: 65:[50, 5, 20], Operations: ['61-41=20'] Exploring Operation: 50+20=70, Resulting Numbers: [5, 70] Generated Node #0,1,2: 65:[5, 70] Operation: 50+20=70 Moving to Node #0,1,2 Current State: 65:[5, 70], Operations: ['61-41=20', '50+20=70'] Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 99, 8, 37, 23 ]
47
[ "99+8=107", "37+23=60", "107-60=47" ]
Current State: 47:[99, 8, 37, 23], Operations: [] Exploring Operation: 99+8=107, Resulting Numbers: [37, 23, 107] Generated Node #2: [37, 23, 107] from Operation: 99+8=107 Current State: 47:[37, 23, 107], Operations: ['99+8=107'] Exploring Operation: 37+23=60, Resulting Numbers: [107, 60] Generated Node #3: [107, 60] from Operation: 37+23=60 Current State: 47:[107, 60], Operations: ['99+8=107', '37+23=60'] Exploring Operation: 107-60=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[99, 8, 37, 23], Operations: [] Exploring Operation: 99-8=91, Resulting Numbers: [37, 23, 91] Generated Node #0,0: 47:[37, 23, 91] Operation: 99-8=91 Moving to Node #0,0 Current State: 47:[37, 23, 91], Operations: ['99-8=91'] Exploring Operation: 91-37=54, Resulting Numbers: [23, 54] Generated Node #0,0,0: 47:[23, 54] Operation: 91-37=54 Moving to Node #0,0,0 Current State: 47:[23, 54], Operations: ['99-8=91', '91-37=54'] Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,47 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 1, 4, 22, 57 ]
74
[ "1+4=5", "22+57=79", "79-5=74" ]
Current State: 74:[1, 4, 22, 57], Operations: [] Exploring Operation: 1+4=5, Resulting Numbers: [22, 57, 5] Generated Node #2: [22, 57, 5] from Operation: 1+4=5 Current State: 74:[22, 57, 5], Operations: ['1+4=5'] Exploring Operation: 22+57=79, Resulting Numbers: [5, 79] Generated Node #3: [5, 79] from Operation: 22+57=79 Current State: 74:[5, 79], Operations: ['1+4=5', '22+57=79'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[1, 4, 22, 57], Operations: [] Exploring Operation: 57-22=35, Resulting Numbers: [1, 4, 35] Generated Node #0,0: 74:[1, 4, 35] Operation: 57-22=35 Moving to Node #0,0 Current State: 74:[1, 4, 35], Operations: ['57-22=35'] Exploring Operation: 4-1=3, Resulting Numbers: [35, 3] Generated Node #0,0,0: 74:[35, 3] Operation: 4-1=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[35, 3], Operations: ['57-22=35', '4-1=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,74 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
[ 92, 96, 4, 87 ]
19
[ "92-87=5", "96/4=24", "24-5=19" ]
Current State: 19:[92, 96, 4, 87], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [96, 4, 5] Generated Node #2: [96, 4, 5] from Operation: 92-87=5 Current State: 19:[96, 4, 5], Operations: ['92-87=5'] Exploring Operation: 96/4=24, Resulting Numbers: [5, 24] Generated Node #3: [5, 24] from Operation: 96/4=24 Current State: 19:[5, 24], Operations: ['92-87=5', '96/4=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[92, 96, 4, 87], Operations: [] Exploring Operation: 96-87=9, Resulting Numbers: [92, 4, 9] Generated Node #0,0: 19:[92, 4, 9] Operation: 96-87=9 Exploring Operation: 96-92=4, Resulting Numbers: [4, 87, 4] Generated Node #0,1: 19:[4, 87, 4] Operation: 96-92=4 Exploring Operation: 92-87=5, Resulting Numbers: [96, 4, 5] Generated Node #0,2: 19:[96, 4, 5] Operation: 92-87=5 Moving to Node #0,0 Current State: 19:[92, 4, 9], Operations: ['96-87=9'] Exploring Operation: 92/4=23, Resulting Numbers: [9, 23] Generated Node #0,0,0: 19:[9, 23] Operation: 92/4=23 Exploring Operation: 92-4=88, Resulting Numbers: [9, 88] Generated Node #0,0,1: 19:[9, 88] Operation: 92-4=88 Exploring Operation: 92-9=83, Resulting Numbers: [4, 83] Generated Node #0,0,2: 19:[4, 83] Operation: 92-9=83 Moving to Node #0,1 Current State: 19:[4, 87, 4], Operations: ['96-92=4'] Exploring Operation: 87-4=83, Resulting Numbers: [4, 83] Generated Node #0,1,0: 19:[4, 83] Operation: 87-4=83 Exploring Operation: 4*4=16, Resulting Numbers: [87, 16] Generated Node #0,1,1: 19:[87, 16] Operation: 4*4=16 Exploring Operation: 4+4=8, Resulting Numbers: [87, 8] Generated Node #0,1,2: 19:[87, 8] Operation: 4+4=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[87, 16], Operations: ['96-92=4', '4*4=16'] Exploring Operation: 87*16=1392, Resulting Numbers: [1392] 1392,19 unequal: No Solution Exploring Operation: 87+16=103, Resulting Numbers: [103] 103,19 unequal: No Solution Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[4, 83], Operations: ['96-92=4', '87-4=83'] Exploring Operation: 4+83=87, Resulting Numbers: [87] 87,19 unequal: No Solution Exploring Operation: 4*83=332, Resulting Numbers: [332] 332,19 unequal: No Solution Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[87, 8], Operations: ['96-92=4', '4+4=8'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,19 unequal: No Solution Exploring Operation: 87*8=696, Resulting Numbers: [696] 696,19 unequal: No Solution Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,19 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: 19:[96, 4, 5], Operations: ['92-87=5'] Exploring Operation: 96/4=24, Resulting Numbers: [5, 24] Generated Node #0,2,0: 19:[5, 24] Operation: 96/4=24 Exploring Operation: 96-4=92, Resulting Numbers: [5, 92] Generated Node #0,2,1: 19:[5, 92] Operation: 96-4=92 Exploring Operation: 4*5=20, Resulting Numbers: [96, 20] Generated Node #0,2,2: 19:[96, 20] Operation: 4*5=20 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[5, 24], Operations: ['92-87=5', '96/4=24'] Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,19 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[92, 96, 4, 87], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [96, 4, 5] Generated Node #0,2: 19:[96, 4, 5] Operation: 92-87=5 Moving to Node #0,2 Current State: 19:[96, 4, 5], Operations: ['92-87=5'] Exploring Operation: 96/4=24, Resulting Numbers: [5, 24] Generated Node #0,2,0: 19:[5, 24] Operation: 96/4=24 Moving to Node #0,2,0 Current State: 19:[5, 24], Operations: ['92-87=5', '96/4=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 24, 16, 17, 79 ]
54
[ "24-16=8", "79-17=62", "62-8=54" ]
Current State: 54:[24, 16, 17, 79], Operations: [] Exploring Operation: 24-16=8, Resulting Numbers: [17, 79, 8] Generated Node #2: [17, 79, 8] from Operation: 24-16=8 Current State: 54:[17, 79, 8], Operations: ['24-16=8'] Exploring Operation: 79-17=62, Resulting Numbers: [8, 62] Generated Node #3: [8, 62] from Operation: 79-17=62 Current State: 54:[8, 62], Operations: ['24-16=8', '79-17=62'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[24, 16, 17, 79], Operations: [] Exploring Operation: 79-24=55, Resulting Numbers: [16, 17, 55] Generated Node #0,0: 54:[16, 17, 55] Operation: 79-24=55 Exploring Operation: 79-16=63, Resulting Numbers: [24, 17, 63] Generated Node #0,1: 54:[24, 17, 63] Operation: 79-16=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[16, 17, 55], Operations: ['79-24=55'] Exploring Operation: 17-16=1, Resulting Numbers: [55, 1] Generated Node #0,0,0: 54:[55, 1] Operation: 17-16=1 Exploring Operation: 16+17=33, Resulting Numbers: [55, 33] Generated Node #0,0,1: 54:[55, 33] Operation: 16+17=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[55, 1], Operations: ['79-24=55', '17-16=1'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[24, 16, 17, 79], Operations: [] Exploring Operation: 79-24=55, Resulting Numbers: [16, 17, 55] Generated Node #0,0: 54:[16, 17, 55] Operation: 79-24=55 Moving to Node #0,0 Current State: 54:[16, 17, 55], Operations: ['79-24=55'] Exploring Operation: 17-16=1, Resulting Numbers: [55, 1] Generated Node #0,0,0: 54:[55, 1] Operation: 17-16=1 Moving to Node #0,0,0 Current State: 54:[55, 1], Operations: ['79-24=55', '17-16=1'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 9, 88, 25, 13 ]
14
[ "88+25=113", "13+113=126", "126/9=14" ]
Current State: 14:[9, 88, 25, 13], Operations: [] Exploring Operation: 88+25=113, Resulting Numbers: [9, 13, 113] Generated Node #2: [9, 13, 113] from Operation: 88+25=113 Current State: 14:[9, 13, 113], Operations: ['88+25=113'] Exploring Operation: 13+113=126, Resulting Numbers: [9, 126] Generated Node #3: [9, 126] from Operation: 13+113=126 Current State: 14:[9, 126], Operations: ['88+25=113', '13+113=126'] Exploring Operation: 126/9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[9, 88, 25, 13], Operations: [] Exploring Operation: 88-25=63, Resulting Numbers: [9, 13, 63] Generated Node #0,0: 14:[9, 13, 63] Operation: 88-25=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[9, 13, 63], Operations: ['88-25=63'] Exploring Operation: 63/9=7, Resulting Numbers: [13, 7] Generated Node #0,0,0: 14:[13, 7] Operation: 63/9=7 Moving to Node #0,0,0 Current State: 14:[13, 7], Operations: ['88-25=63', '63/9=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,14 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
[ 82, 74, 40, 33 ]
59
[ "74*33=2442", "2442-82=2360", "2360/40=59" ]
Current State: 59:[82, 74, 40, 33], Operations: [] Exploring Operation: 74*33=2442, Resulting Numbers: [82, 40, 2442] Generated Node #2: [82, 40, 2442] from Operation: 74*33=2442 Current State: 59:[82, 40, 2442], Operations: ['74*33=2442'] Exploring Operation: 2442-82=2360, Resulting Numbers: [40, 2360] Generated Node #3: [40, 2360] from Operation: 2442-82=2360 Current State: 59:[40, 2360], Operations: ['74*33=2442', '2442-82=2360'] Exploring Operation: 2360/40=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[82, 74, 40, 33], Operations: [] Exploring Operation: 82-33=49, Resulting Numbers: [74, 40, 49] Generated Node #0,0: 59:[74, 40, 49] Operation: 82-33=49 Moving to Node #0,0 Current State: 59:[74, 40, 49], Operations: ['82-33=49'] Exploring Operation: 74-40=34, Resulting Numbers: [49, 34] Generated Node #0,0,0: 59:[49, 34] Operation: 74-40=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[49, 34], Operations: ['82-33=49', '74-40=34'] Exploring Operation: 49+34=83, Resulting Numbers: [83] 83,59 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
[ 16, 56, 56, 12 ]
29
[ "16+12=28", "56/56=1", "28+1=29" ]
Current State: 29:[16, 56, 56, 12], Operations: [] Exploring Operation: 16+12=28, Resulting Numbers: [56, 56, 28] Generated Node #2: [56, 56, 28] from Operation: 16+12=28 Current State: 29:[56, 56, 28], Operations: ['16+12=28'] Exploring Operation: 56/56=1, Resulting Numbers: [28, 1] Generated Node #3: [28, 1] from Operation: 56/56=1 Current State: 29:[28, 1], Operations: ['16+12=28', '56/56=1'] Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[16, 56, 56, 12], Operations: [] Exploring Operation: 56-16=40, Resulting Numbers: [56, 12, 40] Generated Node #0,0: 29:[56, 12, 40] Operation: 56-16=40 Exploring Operation: 56-16=40, Resulting Numbers: [56, 12, 40] Generated Node #0,1: 29:[56, 12, 40] Operation: 56-16=40 Exploring Operation: 56-12=44, Resulting Numbers: [16, 56, 44] Generated Node #0,2: 29:[16, 56, 44] Operation: 56-12=44 Exploring Operation: 56-12=44, Resulting Numbers: [16, 56, 44] Generated Node #0,3: 29:[16, 56, 44] Operation: 56-12=44 Exploring Operation: 16+12=28, Resulting Numbers: [56, 56, 28] Generated Node #0,4: 29:[56, 56, 28] Operation: 16+12=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[56, 12, 40], Operations: ['56-16=40'] Exploring Operation: 56-12=44, Resulting Numbers: [40, 44] Generated Node #0,0,0: 29:[40, 44] Operation: 56-12=44 Exploring Operation: 40-12=28, Resulting Numbers: [56, 28] Generated Node #0,0,1: 29:[56, 28] Operation: 40-12=28 Exploring Operation: 56+12=68, Resulting Numbers: [40, 68] Generated Node #0,0,2: 29:[40, 68] Operation: 56+12=68 Exploring Operation: 56-40=16, Resulting Numbers: [12, 16] Generated Node #0,0,3: 29:[12, 16] Operation: 56-40=16 Exploring Operation: 12+40=52, Resulting Numbers: [56, 52] Generated Node #0,0,4: 29:[56, 52] Operation: 12+40=52 Moving to Node #0,0,0 Current State: 29:[40, 44], Operations: ['56-16=40', '56-12=44'] Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,29 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[56, 28], Operations: ['56-16=40', '40-12=28'] Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 56+28=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 56*28=1568, Resulting Numbers: [1568] 1568,29 unequal: No Solution Exploring Operation: 56/28=2, Resulting Numbers: [2] 2,29 unequal: No Solution Moving to Node #0,0,3 Current State: 29:[12, 16], Operations: ['56-16=40', '56-40=16'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[40, 68], Operations: ['56-16=40', '56+12=68'] Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 40*68=2720, Resulting Numbers: [2720] 2720,29 unequal: No Solution Exploring Operation: 40+68=108, Resulting Numbers: [108] 108,29 unequal: No Solution Moving to Node #0,0,4 Current State: 29:[56, 52], Operations: ['56-16=40', '12+40=52'] Exploring Operation: 56*52=2912, Resulting Numbers: [2912] 2912,29 unequal: No Solution Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 56+52=108, Resulting Numbers: [108] 108,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[56, 12, 40], Operations: ['56-16=40'] Exploring Operation: 56-40=16, Resulting Numbers: [12, 16] Generated Node #0,1,0: 29:[12, 16] Operation: 56-40=16 Exploring Operation: 12+40=52, Resulting Numbers: [56, 52] Generated Node #0,1,1: 29:[56, 52] Operation: 12+40=52 Exploring Operation: 56-12=44, Resulting Numbers: [40, 44] Generated Node #0,1,2: 29:[40, 44] Operation: 56-12=44 Exploring Operation: 40-12=28, Resulting Numbers: [56, 28] Generated Node #0,1,3: 29:[56, 28] Operation: 40-12=28 Exploring Operation: 56+12=68, Resulting Numbers: [40, 68] Generated Node #0,1,4: 29:[40, 68] Operation: 56+12=68 Moving to Node #0,1,2 Current State: 29:[40, 44], Operations: ['56-16=40', '56-12=44'] Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[56, 28], Operations: ['56-16=40', '40-12=28'] Exploring Operation: 56/28=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 56*28=1568, Resulting Numbers: [1568] 1568,29 unequal: No Solution Exploring Operation: 56+28=84, Resulting Numbers: [84] 84,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[12, 16], Operations: ['56-16=40', '56-40=16'] Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,29 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[56, 52], Operations: ['56-16=40', '12+40=52'] Exploring Operation: 56+52=108, Resulting Numbers: [108] 108,29 unequal: No Solution Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 56*52=2912, Resulting Numbers: [2912] 2912,29 unequal: No Solution Moving to Node #0,1,4 Current State: 29:[40, 68], Operations: ['56-16=40', '56+12=68'] Exploring Operation: 68-40=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 40+68=108, Resulting Numbers: [108] 108,29 unequal: No Solution Exploring Operation: 40*68=2720, Resulting Numbers: [2720] 2720,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[16, 56, 44], Operations: ['56-12=44'] Exploring Operation: 16+44=60, Resulting Numbers: [56, 60] Generated Node #0,2,0: 29:[56, 60] Operation: 16+44=60 Exploring Operation: 44-16=28, Resulting Numbers: [56, 28] Generated Node #0,2,1: 29:[56, 28] Operation: 44-16=28 Exploring Operation: 56-44=12, Resulting Numbers: [16, 12] Generated Node #0,2,2: 29:[16, 12] Operation: 56-44=12 Exploring Operation: 16+56=72, Resulting Numbers: [44, 72] Generated Node #0,2,3: 29:[44, 72] Operation: 16+56=72 Exploring Operation: 56-16=40, Resulting Numbers: [44, 40] Generated Node #0,2,4: 29:[44, 40] Operation: 56-16=40 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 29:[44, 40], Operations: ['56-12=44', '56-16=40'] Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 29:[56, 28], Operations: ['56-12=44', '44-16=28'] Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 56+28=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 56/28=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 56*28=1568, Resulting Numbers: [1568] 1568,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 29:[16, 12], Operations: ['56-12=44', '56-44=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 29:[56, 60], Operations: ['56-12=44', '16+44=60'] Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 56*60=3360, Resulting Numbers: [3360] 3360,29 unequal: No Solution Exploring Operation: 56+60=116, Resulting Numbers: [116] 116,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 29:[44, 72], Operations: ['56-12=44', '16+56=72'] Exploring Operation: 72-44=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 44*72=3168, Resulting Numbers: [3168] 3168,29 unequal: No Solution Exploring Operation: 44+72=116, Resulting Numbers: [116] 116,29 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: 29:[16, 56, 44], Operations: ['56-12=44'] Exploring Operation: 56-16=40, Resulting Numbers: [44, 40] Generated Node #0,3,0: 29:[44, 40] Operation: 56-16=40 Exploring Operation: 44-16=28, Resulting Numbers: [56, 28] Generated Node #0,3,1: 29:[56, 28] Operation: 44-16=28 Exploring Operation: 56-44=12, Resulting Numbers: [16, 12] Generated Node #0,3,2: 29:[16, 12] Operation: 56-44=12 Exploring Operation: 16+44=60, Resulting Numbers: [56, 60] Generated Node #0,3,3: 29:[56, 60] Operation: 16+44=60 Exploring Operation: 16+56=72, Resulting Numbers: [44, 72] Generated Node #0,3,4: 29:[44, 72] Operation: 16+56=72 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 29:[44, 40], Operations: ['56-12=44', '56-16=40'] Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 29:[56, 28], Operations: ['56-12=44', '44-16=28'] Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 56/28=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 56*28=1568, Resulting Numbers: [1568] 1568,29 unequal: No Solution Exploring Operation: 56+28=84, Resulting Numbers: [84] 84,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 29:[16, 12], Operations: ['56-12=44', '56-44=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,29 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 29:[56, 60], Operations: ['56-12=44', '16+44=60'] Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 56*60=3360, Resulting Numbers: [3360] 3360,29 unequal: No Solution Exploring Operation: 56+60=116, Resulting Numbers: [116] 116,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 29:[44, 72], Operations: ['56-12=44', '16+56=72'] Exploring Operation: 72-44=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 44+72=116, Resulting Numbers: [116] 116,29 unequal: No Solution Exploring Operation: 44*72=3168, Resulting Numbers: [3168] 3168,29 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: 29:[56, 56, 28], Operations: ['16+12=28'] Exploring Operation: 56/56=1, Resulting Numbers: [28, 1] Generated Node #0,4,0: 29:[28, 1] Operation: 56/56=1 Exploring Operation: 56-56=0, Resulting Numbers: [28, 0] Generated Node #0,4,1: 29:[28, 0] Operation: 56-56=0 Exploring Operation: 56-28=28, Resulting Numbers: [56, 28] Generated Node #0,4,2: 29:[56, 28] Operation: 56-28=28 Exploring Operation: 56/28=2, Resulting Numbers: [56, 2] Generated Node #0,4,3: 29:[56, 2] Operation: 56/28=2 Exploring Operation: 56-28=28, Resulting Numbers: [56, 28] Generated Node #0,4,4: 29:[56, 28] Operation: 56-28=28 Moving to Node #0,4,2 Current State: 29:[56, 28], Operations: ['16+12=28', '56-28=28'] Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 56/28=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 56+28=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 56*28=1568, Resulting Numbers: [1568] 1568,29 unequal: No Solution Moving to Node #0,4,4 Current State: 29:[56, 28], Operations: ['16+12=28', '56-28=28'] Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 56+28=84, Resulting Numbers: [84] 84,29 unequal: No Solution Exploring Operation: 56/28=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 56*28=1568, Resulting Numbers: [1568] 1568,29 unequal: No Solution Moving to Node #0,4,0 Current State: 29:[28, 1], Operations: ['16+12=28', '56/56=1'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,29 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[16, 56, 56, 12], Operations: [] Exploring Operation: 16+12=28, Resulting Numbers: [56, 56, 28] Generated Node #0,4: 29:[56, 56, 28] Operation: 16+12=28 Moving to Node #0,4 Current State: 29:[56, 56, 28], Operations: ['16+12=28'] Exploring Operation: 56/56=1, Resulting Numbers: [28, 1] Generated Node #0,4,0: 29:[28, 1] Operation: 56/56=1 Moving to Node #0,4,0 Current State: 29:[28, 1], Operations: ['16+12=28', '56/56=1'] Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.904514
hs_5
sum_heuristic
[ 48, 48, 88, 12 ]
11
[ "48+48=96", "88*12=1056", "1056/96=11" ]
Current State: 11:[48, 48, 88, 12], Operations: [] Exploring Operation: 48+48=96, Resulting Numbers: [88, 12, 96] Generated Node #2: [88, 12, 96] from Operation: 48+48=96 Current State: 11:[88, 12, 96], Operations: ['48+48=96'] Exploring Operation: 88*12=1056, Resulting Numbers: [96, 1056] Generated Node #3: [96, 1056] from Operation: 88*12=1056 Current State: 11:[96, 1056], Operations: ['48+48=96', '88*12=1056'] Exploring Operation: 1056/96=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[48, 48, 88, 12], Operations: [] Exploring Operation: 48-48=0, Resulting Numbers: [88, 12, 0] Generated Node #0,0: 11:[88, 12, 0] Operation: 48-48=0 Exploring Operation: 88-48=40, Resulting Numbers: [48, 12, 40] Generated Node #0,1: 11:[48, 12, 40] Operation: 88-48=40 Exploring Operation: 88-48=40, Resulting Numbers: [48, 12, 40] Generated Node #0,2: 11:[48, 12, 40] Operation: 88-48=40 Exploring Operation: 48/48=1, Resulting Numbers: [88, 12, 1] Generated Node #0,3: 11:[88, 12, 1] Operation: 48/48=1 Exploring Operation: 48/12=4, Resulting Numbers: [48, 88, 4] Generated Node #0,4: 11:[48, 88, 4] Operation: 48/12=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[48, 12, 40], Operations: ['88-48=40'] Exploring Operation: 40-12=28, Resulting Numbers: [48, 28] Generated Node #0,1,0: 11:[48, 28] Operation: 40-12=28 Exploring Operation: 48-12=36, Resulting Numbers: [40, 36] Generated Node #0,1,1: 11:[40, 36] Operation: 48-12=36 Exploring Operation: 48-40=8, Resulting Numbers: [12, 8] Generated Node #0,1,2: 11:[12, 8] Operation: 48-40=8 Exploring Operation: 48+12=60, Resulting Numbers: [40, 60] Generated Node #0,1,3: 11:[40, 60] Operation: 48+12=60 Exploring Operation: 48/12=4, Resulting Numbers: [40, 4] Generated Node #0,1,4: 11:[40, 4] Operation: 48/12=4 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 11:[12, 8], Operations: ['88-48=40', '48-40=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,11 unequal: No Solution Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,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,4 Current State: 11:[40, 4], Operations: ['88-48=40', '48/12=4'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,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,0 Current State: 11:[48, 28], Operations: ['88-48=40', '40-12=28'] Exploring Operation: 48+28=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 48*28=1344, Resulting Numbers: [1344] 1344,11 unequal: No Solution Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,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:[40, 36], Operations: ['88-48=40', '48-12=36'] Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 40*36=1440, Resulting Numbers: [1440] 1440,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,3 Current State: 11:[40, 60], Operations: ['88-48=40', '48+12=60'] Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 40*60=2400, Resulting Numbers: [2400] 2400,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,2 Current State: 11:[48, 12, 40], Operations: ['88-48=40'] Exploring Operation: 48-40=8, Resulting Numbers: [12, 8] Generated Node #0,2,0: 11:[12, 8] Operation: 48-40=8 Exploring Operation: 48/12=4, Resulting Numbers: [40, 4] Generated Node #0,2,1: 11:[40, 4] Operation: 48/12=4 Exploring Operation: 48+12=60, Resulting Numbers: [40, 60] Generated Node #0,2,2: 11:[40, 60] Operation: 48+12=60 Exploring Operation: 48-12=36, Resulting Numbers: [40, 36] Generated Node #0,2,3: 11:[40, 36] Operation: 48-12=36 Exploring Operation: 40-12=28, Resulting Numbers: [48, 28] Generated Node #0,2,4: 11:[48, 28] Operation: 40-12=28 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 11:[12, 8], Operations: ['88-48=40', '48-40=8'] Exploring Operation: 12+8=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,11 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,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,2,1 Current State: 11:[40, 4], Operations: ['88-48=40', '48/12=4'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,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,2,3 Current State: 11:[40, 36], Operations: ['88-48=40', '48-12=36'] Exploring Operation: 40*36=1440, Resulting Numbers: [1440] 1440,11 unequal: No Solution Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,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,2,4 Current State: 11:[48, 28], Operations: ['88-48=40', '40-12=28'] Exploring Operation: 48*28=1344, Resulting Numbers: [1344] 1344,11 unequal: No Solution Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 48+28=76, Resulting Numbers: [76] 76,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,2,2 Current State: 11:[40, 60], Operations: ['88-48=40', '48+12=60'] Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 40*60=2400, Resulting Numbers: [2400] 2400,11 unequal: No Solution Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,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,3 Current State: 11:[88, 12, 1], Operations: ['48/48=1'] Exploring Operation: 88/1=88, Resulting Numbers: [12, 88] Generated Node #0,3,0: 11:[12, 88] Operation: 88/1=88 Exploring Operation: 12-1=11, Resulting Numbers: [88, 11] Generated Node #0,3,1: 11:[88, 11] Operation: 12-1=11 Exploring Operation: 88*1=88, Resulting Numbers: [12, 88] Generated Node #0,3,2: 11:[12, 88] Operation: 88*1=88 Exploring Operation: 88-1=87, Resulting Numbers: [12, 87] Generated Node #0,3,3: 11:[12, 87] Operation: 88-1=87 Exploring Operation: 88-12=76, Resulting Numbers: [1, 76] Generated Node #0,3,4: 11:[1, 76] Operation: 88-12=76 Moving to Node #0,3,4 Current State: 11:[1, 76], Operations: ['48/48=1', '88-12=76'] Exploring Operation: 1*76=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 1+76=77, Resulting Numbers: [77] 77,11 unequal: No Solution Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,11 unequal: No Solution Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[12, 87], Operations: ['48/48=1', '88-1=87'] Exploring Operation: 12+87=99, Resulting Numbers: [99] 99,11 unequal: No Solution Exploring Operation: 12*87=1044, Resulting Numbers: [1044] 1044,11 unequal: No Solution Exploring Operation: 87-12=75, Resulting Numbers: [75] 75,11 unequal: No Solution Moving to Node #0,3,1 Current State: 11:[88, 11], Operations: ['48/48=1', '12-1=11'] Exploring Operation: 88/11=8, Resulting Numbers: [8] 8,11 unequal: No Solution Exploring Operation: 88*11=968, Resulting Numbers: [968] 968,11 unequal: No Solution Exploring Operation: 88-11=77, Resulting Numbers: [77] 77,11 unequal: No Solution Exploring Operation: 88+11=99, Resulting Numbers: [99] 99,11 unequal: No Solution Moving to Node #0,3,0 Current State: 11:[12, 88], Operations: ['48/48=1', '88/1=88'] Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 12+88=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 12*88=1056, Resulting Numbers: [1056] 1056,11 unequal: No Solution Moving to Node #0,3,2 Current State: 11:[12, 88], Operations: ['48/48=1', '88*1=88'] Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 12+88=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 12*88=1056, Resulting Numbers: [1056] 1056,11 unequal: No Solution No 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: 11:[88, 12, 0], Operations: ['48-48=0'] Exploring Operation: 88-0=88, Resulting Numbers: [12, 88] Generated Node #0,0,0: 11:[12, 88] Operation: 88-0=88 Exploring Operation: 12+0=12, Resulting Numbers: [88, 12] Generated Node #0,0,1: 11:[88, 12] Operation: 12+0=12 Exploring Operation: 88-12=76, Resulting Numbers: [0, 76] Generated Node #0,0,2: 11:[0, 76] Operation: 88-12=76 Exploring Operation: 88*0=0, Resulting Numbers: [12, 0] Generated Node #0,0,3: 11:[12, 0] Operation: 88*0=0 Exploring Operation: 88+0=88, Resulting Numbers: [12, 88] Generated Node #0,0,4: 11:[12, 88] Operation: 88+0=88 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 11:[12, 0], Operations: ['48-48=0', '88*0=0'] Exploring Operation: 12*0=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 12+0=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 12-0=12, Resulting Numbers: [12] 12,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 11:[0, 76], Operations: ['48-48=0', '88-12=76'] Exploring Operation: 0+76=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 0*76=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 76-0=76, Resulting Numbers: [76] 76,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:[12, 88], Operations: ['48-48=0', '88-0=88'] Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 12*88=1056, Resulting Numbers: [1056] 1056,11 unequal: No Solution Exploring Operation: 12+88=100, Resulting Numbers: [100] 100,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[88, 12], Operations: ['48-48=0', '12+0=12'] Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 88*12=1056, Resulting Numbers: [1056] 1056,11 unequal: No Solution Exploring Operation: 88+12=100, Resulting Numbers: [100] 100,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,4 Current State: 11:[12, 88], Operations: ['48-48=0', '88+0=88'] Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 12+88=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 12*88=1056, Resulting Numbers: [1056] 1056,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,4 Current State: 11:[48, 88, 4], Operations: ['48/12=4'] Exploring Operation: 88-48=40, Resulting Numbers: [4, 40] Generated Node #0,4,0: 11:[4, 40] Operation: 88-48=40 Exploring Operation: 48/4=12, Resulting Numbers: [88, 12] Generated Node #0,4,1: 11:[88, 12] Operation: 48/4=12 Exploring Operation: 88-4=84, Resulting Numbers: [48, 84] Generated Node #0,4,2: 11:[48, 84] Operation: 88-4=84 Exploring Operation: 48-4=44, Resulting Numbers: [88, 44] Generated Node #0,4,3: 11:[88, 44] Operation: 48-4=44 Exploring Operation: 88/4=22, Resulting Numbers: [48, 22] Generated Node #0,4,4: 11:[48, 22] Operation: 88/4=22 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 11:[4, 40], Operations: ['48/12=4', '88-48=40'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,11 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,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,4,4 Current State: 11:[48, 22], Operations: ['48/12=4', '88/4=22'] Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 48*22=1056, Resulting Numbers: [1056] 1056,11 unequal: No Solution Exploring Operation: 48+22=70, Resulting Numbers: [70] 70,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,4,1 Current State: 11:[88, 12], Operations: ['48/12=4', '48/4=12'] Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,11 unequal: No Solution Exploring Operation: 88*12=1056, Resulting Numbers: [1056] 1056,11 unequal: No Solution Exploring Operation: 88+12=100, Resulting Numbers: [100] 100,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,4,2 Current State: 11:[48, 84], Operations: ['48/12=4', '88-4=84'] Exploring Operation: 48+84=132, Resulting Numbers: [132] 132,11 unequal: No Solution Exploring Operation: 48*84=4032, Resulting Numbers: [4032] 4032,11 unequal: No Solution Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,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,4,3 Current State: 11:[88, 44], Operations: ['48/12=4', '48-4=44'] Exploring Operation: 88-44=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 88+44=132, Resulting Numbers: [132] 132,11 unequal: No Solution Exploring Operation: 88*44=3872, Resulting Numbers: [3872] 3872,11 unequal: No Solution Exploring Operation: 88/44=2, Resulting Numbers: [2] 2,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_5
mult_heuristic
[ 2, 50, 35, 68 ]
25
[ "2*35=70", "70-68=2", "50/2=25" ]
Current State: 25:[2, 50, 35, 68], Operations: [] Exploring Operation: 2*35=70, Resulting Numbers: [50, 68, 70] Generated Node #2: [50, 68, 70] from Operation: 2*35=70 Current State: 25:[50, 68, 70], Operations: ['2*35=70'] Exploring Operation: 70-68=2, Resulting Numbers: [50, 2] Generated Node #3: [50, 2] from Operation: 70-68=2 Current State: 25:[50, 2], Operations: ['2*35=70', '70-68=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[2, 50, 35, 68], Operations: [] Exploring Operation: 68-50=18, Resulting Numbers: [2, 35, 18] Generated Node #0,0: 25:[2, 35, 18] Operation: 68-50=18 Exploring Operation: 68/2=34, Resulting Numbers: [50, 35, 34] Generated Node #0,1: 25:[50, 35, 34] Operation: 68/2=34 Exploring Operation: 50/2=25, Resulting Numbers: [35, 68, 25] Generated Node #0,2: 25:[35, 68, 25] Operation: 50/2=25 Exploring Operation: 68-35=33, Resulting Numbers: [2, 50, 33] Generated Node #0,3: 25:[2, 50, 33] Operation: 68-35=33 Exploring Operation: 50-35=15, Resulting Numbers: [2, 68, 15] Generated Node #0,4: 25:[2, 68, 15] Operation: 50-35=15 Moving to Node #0,0 Current State: 25:[2, 35, 18], Operations: ['68-50=18'] Exploring Operation: 18/2=9, Resulting Numbers: [35, 9] Generated Node #0,0,0: 25:[35, 9] Operation: 18/2=9 Exploring Operation: 35-2=33, Resulting Numbers: [18, 33] Generated Node #0,0,1: 25:[18, 33] Operation: 35-2=33 Exploring Operation: 35-18=17, Resulting Numbers: [2, 17] Generated Node #0,0,2: 25:[2, 17] Operation: 35-18=17 Exploring Operation: 2+18=20, Resulting Numbers: [35, 20] Generated Node #0,0,3: 25:[35, 20] Operation: 2+18=20 Exploring Operation: 2+35=37, Resulting Numbers: [18, 37] Generated Node #0,0,4: 25:[18, 37] Operation: 2+35=37 Moving to Node #0,3 Current State: 25:[2, 50, 33], Operations: ['68-35=33'] Exploring Operation: 2+50=52, Resulting Numbers: [33, 52] Generated Node #0,3,0: 25:[33, 52] Operation: 2+50=52 Exploring Operation: 50/2=25, Resulting Numbers: [33, 25] Generated Node #0,3,1: 25:[33, 25] Operation: 50/2=25 Exploring Operation: 50-33=17, Resulting Numbers: [2, 17] Generated Node #0,3,2: 25:[2, 17] Operation: 50-33=17 Exploring Operation: 33-2=31, Resulting Numbers: [50, 31] Generated Node #0,3,3: 25:[50, 31] Operation: 33-2=31 Exploring Operation: 50-2=48, Resulting Numbers: [33, 48] Generated Node #0,3,4: 25:[33, 48] Operation: 50-2=48 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[33, 25], Operations: ['68-35=33', '50/2=25'] Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,25 unequal: No Solution Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[2, 17], Operations: ['68-35=33', '50-33=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[50, 31], Operations: ['68-35=33', '33-2=31'] Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 50*31=1550, Resulting Numbers: [1550] 1550,25 unequal: No Solution Exploring Operation: 50+31=81, Resulting Numbers: [81] 81,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 25:[33, 48], Operations: ['68-35=33', '50-2=48'] Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 33*48=1584, Resulting Numbers: [1584] 1584,25 unequal: No Solution Exploring Operation: 33+48=81, Resulting Numbers: [81] 81,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[33, 52], Operations: ['68-35=33', '2+50=52'] Exploring Operation: 33+52=85, Resulting Numbers: [85] 85,25 unequal: No Solution Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 33*52=1716, Resulting Numbers: [1716] 1716,25 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: 25:[50, 35, 34], Operations: ['68/2=34'] Exploring Operation: 50+34=84, Resulting Numbers: [35, 84] Generated Node #0,1,0: 25:[35, 84] Operation: 50+34=84 Exploring Operation: 50-34=16, Resulting Numbers: [35, 16] Generated Node #0,1,1: 25:[35, 16] Operation: 50-34=16 Exploring Operation: 35-34=1, Resulting Numbers: [50, 1] Generated Node #0,1,2: 25:[50, 1] Operation: 35-34=1 Exploring Operation: 50+35=85, Resulting Numbers: [34, 85] Generated Node #0,1,3: 25:[34, 85] Operation: 50+35=85 Exploring Operation: 50-35=15, Resulting Numbers: [34, 15] Generated Node #0,1,4: 25:[34, 15] Operation: 50-35=15 Moving to Node #0,2 Current State: 25:[35, 68, 25], Operations: ['50/2=25'] Exploring Operation: 35-25=10, Resulting Numbers: [68, 10] Generated Node #0,2,0: 25:[68, 10] Operation: 35-25=10 Exploring Operation: 68-35=33, Resulting Numbers: [25, 33] Generated Node #0,2,1: 25:[25, 33] Operation: 68-35=33 Exploring Operation: 35+68=103, Resulting Numbers: [25, 103] Generated Node #0,2,2: 25:[25, 103] Operation: 35+68=103 Exploring Operation: 35+25=60, Resulting Numbers: [68, 60] Generated Node #0,2,3: 25:[68, 60] Operation: 35+25=60 Exploring Operation: 68-25=43, Resulting Numbers: [35, 43] Generated Node #0,2,4: 25:[35, 43] Operation: 68-25=43 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[25, 33], Operations: ['50/2=25', '68-35=33'] Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,25 unequal: No Solution Exploring Operation: 25*33=825, Resulting Numbers: [825] 825,25 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,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,2,4 Current State: 25:[35, 43], Operations: ['50/2=25', '68-25=43'] Exploring Operation: 35+43=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 35*43=1505, Resulting Numbers: [1505] 1505,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,2,0 Current State: 25:[68, 10], Operations: ['50/2=25', '35-25=10'] Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,25 unequal: No Solution Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,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,2,2 Current State: 25:[25, 103], Operations: ['50/2=25', '35+68=103'] Exploring Operation: 25*103=2575, Resulting Numbers: [2575] 2575,25 unequal: No Solution Exploring Operation: 25+103=128, Resulting Numbers: [128] 128,25 unequal: No Solution Exploring Operation: 103-25=78, Resulting Numbers: [78] 78,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,2,3 Current State: 25:[68, 60], Operations: ['50/2=25', '35+25=60'] Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 68*60=4080, Resulting Numbers: [4080] 4080,25 unequal: No Solution Exploring Operation: 68+60=128, Resulting Numbers: [128] 128,25 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: 25:[2, 68, 15], Operations: ['50-35=15'] Exploring Operation: 68-2=66, Resulting Numbers: [15, 66] Generated Node #0,4,0: 25:[15, 66] Operation: 68-2=66 Exploring Operation: 68/2=34, Resulting Numbers: [15, 34] Generated Node #0,4,1: 25:[15, 34] Operation: 68/2=34 Exploring Operation: 2+15=17, Resulting Numbers: [68, 17] Generated Node #0,4,2: 25:[68, 17] Operation: 2+15=17 Exploring Operation: 68-15=53, Resulting Numbers: [2, 53] Generated Node #0,4,3: 25:[2, 53] Operation: 68-15=53 Exploring Operation: 2*15=30, Resulting Numbers: [68, 30] Generated Node #0,4,4: 25:[68, 30] Operation: 2*15=30 Moving to Node #0,0,2 Current State: 25:[2, 17], Operations: ['68-50=18', '35-18=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[35, 9], Operations: ['68-50=18', '18/2=9'] Exploring Operation: 35*9=315, Resulting Numbers: [315] 315,25 unequal: No Solution Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,25 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[18, 33], Operations: ['68-50=18', '35-2=33'] Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,25 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[35, 20], Operations: ['68-50=18', '2+18=20'] Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,25 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,25 unequal: No Solution Moving to Node #0,1,4 Current State: 25:[34, 15], Operations: ['68/2=34', '50-35=15'] Exploring Operation: 34+15=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 34*15=510, Resulting Numbers: [510] 510,25 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[35, 16], Operations: ['68/2=34', '50-34=16'] Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 35*16=560, Resulting Numbers: [560] 560,25 unequal: No Solution Moving to Node #0,0,4 Current State: 25:[18, 37], Operations: ['68-50=18', '2+35=37'] Exploring Operation: 18*37=666, Resulting Numbers: [666] 666,25 unequal: No Solution Exploring Operation: 18+37=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,25 unequal: No Solution Moving to Node #0,4,1 Current State: 25:[15, 34], Operations: ['50-35=15', '68/2=34'] Exploring Operation: 15*34=510, Resulting Numbers: [510] 510,25 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[50, 1], Operations: ['68/2=34', '35-34=1'] Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,25 unequal: No Solution Moving to Node #0,4,3 Current State: 25:[2, 53], Operations: ['50-35=15', '68-15=53'] Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,25 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,25 unequal: No Solution Moving to Node #0,4,4 Current State: 25:[68, 30], Operations: ['50-35=15', '2*15=30'] Exploring Operation: 68*30=2040, Resulting Numbers: [2040] 2040,25 unequal: No Solution Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 68+30=98, Resulting Numbers: [98] 98,25 unequal: No Solution Moving to Node #0,4,0 Current State: 25:[15, 66], Operations: ['50-35=15', '68-2=66'] Exploring Operation: 15*66=990, Resulting Numbers: [990] 990,25 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 15+66=81, Resulting Numbers: [81] 81,25 unequal: No Solution Moving to Node #0,4,2 Current State: 25:[68, 17], Operations: ['50-35=15', '2+15=17'] Exploring Operation: 68-17=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 68*17=1156, Resulting Numbers: [1156] 1156,25 unequal: No Solution Exploring Operation: 68+17=85, Resulting Numbers: [85] 85,25 unequal: No Solution Exploring Operation: 68/17=4, Resulting Numbers: [4] 4,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[35, 84], Operations: ['68/2=34', '50+34=84'] Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,25 unequal: No Solution Exploring Operation: 35*84=2940, Resulting Numbers: [2940] 2940,25 unequal: No Solution Exploring Operation: 35+84=119, Resulting Numbers: [119] 119,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[34, 85], Operations: ['68/2=34', '50+35=85'] Exploring Operation: 85-34=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 34+85=119, Resulting Numbers: [119] 119,25 unequal: No Solution Exploring Operation: 34*85=2890, Resulting Numbers: [2890] 2890,25 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 79, 76, 78, 90 ]
56
[ "79-76=3", "78+90=168", "168/3=56" ]
Current State: 56:[79, 76, 78, 90], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [78, 90, 3] Generated Node #2: [78, 90, 3] from Operation: 79-76=3 Current State: 56:[78, 90, 3], Operations: ['79-76=3'] Exploring Operation: 78+90=168, Resulting Numbers: [3, 168] Generated Node #3: [3, 168] from Operation: 78+90=168 Current State: 56:[3, 168], Operations: ['79-76=3', '78+90=168'] Exploring Operation: 168/3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[79, 76, 78, 90], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [79, 78, 14] Generated Node #0,0: 56:[79, 78, 14] Operation: 90-76=14 Exploring Operation: 90-79=11, Resulting Numbers: [76, 78, 11] Generated Node #0,1: 56:[76, 78, 11] Operation: 90-79=11 Moving to Node #0,0 Current State: 56:[79, 78, 14], Operations: ['90-76=14'] Exploring Operation: 79-14=65, Resulting Numbers: [78, 65] Generated Node #0,0,0: 56:[78, 65] Operation: 79-14=65 Exploring Operation: 79-78=1, Resulting Numbers: [14, 1] Generated Node #0,0,1: 56:[14, 1] Operation: 79-78=1 Moving to Node #0,1 Current State: 56:[76, 78, 11], Operations: ['90-79=11'] Exploring Operation: 78-76=2, Resulting Numbers: [11, 2] Generated Node #0,1,0: 56:[11, 2] Operation: 78-76=2 Exploring Operation: 76-11=65, Resulting Numbers: [78, 65] Generated Node #0,1,1: 56:[78, 65] Operation: 76-11=65 Moving to Node #0,0,1 Current State: 56:[14, 1], Operations: ['90-76=14', '79-78=1'] Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[11, 2], Operations: ['90-79=11', '78-76=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[78, 65], Operations: ['90-76=14', '79-14=65'] Exploring Operation: 78+65=143, Resulting Numbers: [143] 143,56 unequal: No Solution Exploring Operation: 78-65=13, Resulting Numbers: [13] 13,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[78, 65], Operations: ['90-79=11', '76-11=65'] Exploring Operation: 78+65=143, Resulting Numbers: [143] 143,56 unequal: No Solution Exploring Operation: 78-65=13, Resulting Numbers: [13] 13,56 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 8, 97, 7, 16 ]
13
[ "16-8=8", "97+7=104", "104/8=13" ]
Current State: 13:[8, 97, 7, 16], Operations: [] Exploring Operation: 16-8=8, Resulting Numbers: [97, 7, 8] Generated Node #2: [97, 7, 8] from Operation: 16-8=8 Current State: 13:[97, 7, 8], Operations: ['16-8=8'] Exploring Operation: 97+7=104, Resulting Numbers: [8, 104] Generated Node #3: [8, 104] from Operation: 97+7=104 Current State: 13:[8, 104], Operations: ['16-8=8', '97+7=104'] Exploring Operation: 104/8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[8, 97, 7, 16], Operations: [] Exploring Operation: 97-16=81, Resulting Numbers: [8, 7, 81] Generated Node #0,0: 13:[8, 7, 81] Operation: 97-16=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[8, 7, 81], Operations: ['97-16=81'] Exploring Operation: 81-8=73, Resulting Numbers: [7, 73] Generated Node #0,0,0: 13:[7, 73] Operation: 81-8=73 Moving to Node #0,0,0 Current State: 13:[7, 73], Operations: ['97-16=81', '81-8=73'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 5, 56, 60, 19 ]
96
[ "5+19=24", "60-56=4", "24*4=96" ]
Current State: 96:[5, 56, 60, 19], Operations: [] Exploring Operation: 5+19=24, Resulting Numbers: [56, 60, 24] Generated Node #2: [56, 60, 24] from Operation: 5+19=24 Current State: 96:[56, 60, 24], Operations: ['5+19=24'] Exploring Operation: 60-56=4, Resulting Numbers: [24, 4] Generated Node #3: [24, 4] from Operation: 60-56=4 Current State: 96:[24, 4], Operations: ['5+19=24', '60-56=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[5, 56, 60, 19], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [5, 19, 4] Generated Node #0,0: 96:[5, 19, 4] Operation: 60-56=4 Exploring Operation: 60/5=12, Resulting Numbers: [56, 19, 12] Generated Node #0,1: 96:[56, 19, 12] Operation: 60/5=12 Moving to Node #0,0 Current State: 96:[5, 19, 4], Operations: ['60-56=4'] Exploring Operation: 5+19=24, Resulting Numbers: [4, 24] Generated Node #0,0,0: 96:[4, 24] Operation: 5+19=24 Exploring Operation: 5*19=95, Resulting Numbers: [4, 95] Generated Node #0,0,1: 96:[4, 95] Operation: 5*19=95 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[4, 24], Operations: ['60-56=4', '5+19=24'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[5, 56, 60, 19], Operations: [] Exploring Operation: 60-56=4, Resulting Numbers: [5, 19, 4] Generated Node #0,0: 96:[5, 19, 4] Operation: 60-56=4 Moving to Node #0,0 Current State: 96:[5, 19, 4], Operations: ['60-56=4'] Exploring Operation: 5+19=24, Resulting Numbers: [4, 24] Generated Node #0,0,0: 96:[4, 24] Operation: 5+19=24 Moving to Node #0,0,0 Current State: 96:[4, 24], Operations: ['60-56=4', '5+19=24'] Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 11, 48, 33, 23 ]
27
[ "48-11=37", "33-23=10", "37-10=27" ]
Current State: 27:[11, 48, 33, 23], Operations: [] Exploring Operation: 48-11=37, Resulting Numbers: [33, 23, 37] Generated Node #2: [33, 23, 37] from Operation: 48-11=37 Current State: 27:[33, 23, 37], Operations: ['48-11=37'] Exploring Operation: 33-23=10, Resulting Numbers: [37, 10] Generated Node #3: [37, 10] from Operation: 33-23=10 Current State: 27:[37, 10], Operations: ['48-11=37', '33-23=10'] Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[11, 48, 33, 23], Operations: [] Exploring Operation: 48-33=15, Resulting Numbers: [11, 23, 15] Generated Node #0,0: 27:[11, 23, 15] Operation: 48-33=15 Exploring Operation: 48-11=37, Resulting Numbers: [33, 23, 37] Generated Node #0,1: 27:[33, 23, 37] Operation: 48-11=37 Exploring Operation: 48-23=25, Resulting Numbers: [11, 33, 25] Generated Node #0,2: 27:[11, 33, 25] Operation: 48-23=25 Moving to Node #0,2 Current State: 27:[11, 33, 25], Operations: ['48-23=25'] Exploring Operation: 33/11=3, Resulting Numbers: [25, 3] Generated Node #0,2,0: 27:[25, 3] Operation: 33/11=3 Exploring Operation: 33-25=8, Resulting Numbers: [11, 8] Generated Node #0,2,1: 27:[11, 8] Operation: 33-25=8 Exploring Operation: 33-11=22, Resulting Numbers: [25, 22] Generated Node #0,2,2: 27:[25, 22] Operation: 33-11=22 Moving to Node #0,0 Current State: 27:[11, 23, 15], Operations: ['48-33=15'] Exploring Operation: 11+15=26, Resulting Numbers: [23, 26] Generated Node #0,0,0: 27:[23, 26] Operation: 11+15=26 Exploring Operation: 23-15=8, Resulting Numbers: [11, 8] Generated Node #0,0,1: 27:[11, 8] Operation: 23-15=8 Exploring Operation: 15-11=4, Resulting Numbers: [23, 4] Generated Node #0,0,2: 27:[23, 4] Operation: 15-11=4 Moving to Node #0,1 Current State: 27:[33, 23, 37], Operations: ['48-11=37'] Exploring Operation: 33-23=10, Resulting Numbers: [37, 10] Generated Node #0,1,0: 27:[37, 10] Operation: 33-23=10 Exploring Operation: 37-23=14, Resulting Numbers: [33, 14] Generated Node #0,1,1: 27:[33, 14] Operation: 37-23=14 Exploring Operation: 37-33=4, Resulting Numbers: [23, 4] Generated Node #0,1,2: 27:[23, 4] Operation: 37-33=4 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[23, 4], Operations: ['48-11=37', '37-33=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,27 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[11, 48, 33, 23], Operations: [] Exploring Operation: 48-11=37, Resulting Numbers: [33, 23, 37] Generated Node #0,1: 27:[33, 23, 37] Operation: 48-11=37 Moving to Node #0,1 Current State: 27:[33, 23, 37], Operations: ['48-11=37'] Exploring Operation: 37-33=4, Resulting Numbers: [23, 4] Generated Node #0,1,2: 27:[23, 4] Operation: 37-33=4 Moving to Node #0,1,2 Current State: 27:[23, 4], Operations: ['48-11=37', '37-33=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 90, 22, 87, 91 ]
72
[ "90-22=68", "91-87=4", "68+4=72" ]
Current State: 72:[90, 22, 87, 91], Operations: [] Exploring Operation: 90-22=68, Resulting Numbers: [87, 91, 68] Generated Node #2: [87, 91, 68] from Operation: 90-22=68 Current State: 72:[87, 91, 68], Operations: ['90-22=68'] Exploring Operation: 91-87=4, Resulting Numbers: [68, 4] Generated Node #3: [68, 4] from Operation: 91-87=4 Current State: 72:[68, 4], Operations: ['90-22=68', '91-87=4'] Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[90, 22, 87, 91], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [22, 87, 1] Generated Node #0,0: 72:[22, 87, 1] Operation: 91-90=1 Exploring Operation: 91-87=4, Resulting Numbers: [90, 22, 4] Generated Node #0,1: 72:[90, 22, 4] Operation: 91-87=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[22, 87, 1], Operations: ['91-90=1'] Exploring Operation: 22+1=23, Resulting Numbers: [87, 23] Generated Node #0,0,0: 72:[87, 23] Operation: 22+1=23 Exploring Operation: 87-22=65, Resulting Numbers: [1, 65] Generated Node #0,0,1: 72:[1, 65] Operation: 87-22=65 Moving to Node #0,0,1 Current State: 72:[1, 65], Operations: ['91-90=1', '87-22=65'] Exploring Operation: 1+65=66, Resulting Numbers: [66] 66,72 unequal: No Solution Exploring Operation: 1*65=65, Resulting Numbers: [65] 65,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[87, 23], Operations: ['91-90=1', '22+1=23'] Exploring Operation: 87+23=110, Resulting Numbers: [110] 110,72 unequal: No Solution Exploring Operation: 87-23=64, Resulting Numbers: [64] 64,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[90, 22, 4], Operations: ['91-87=4'] Exploring Operation: 90-22=68, Resulting Numbers: [4, 68] Generated Node #0,1,0: 72:[4, 68] Operation: 90-22=68 Exploring Operation: 90-4=86, Resulting Numbers: [22, 86] Generated Node #0,1,1: 72:[22, 86] Operation: 90-4=86 Moving to Node #0,1,0 Current State: 72:[4, 68], Operations: ['91-87=4', '90-22=68'] Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[90, 22, 87, 91], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [90, 22, 4] Generated Node #0,1: 72:[90, 22, 4] Operation: 91-87=4 Moving to Node #0,1 Current State: 72:[90, 22, 4], Operations: ['91-87=4'] Exploring Operation: 90-22=68, Resulting Numbers: [4, 68] Generated Node #0,1,0: 72:[4, 68] Operation: 90-22=68 Moving to Node #0,1,0 Current State: 72:[4, 68], Operations: ['91-87=4', '90-22=68'] Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 2, 46, 64, 75 ]
100
[ "2+46=48", "64*75=4800", "4800/48=100" ]
Current State: 100:[2, 46, 64, 75], Operations: [] Exploring Operation: 2+46=48, Resulting Numbers: [64, 75, 48] Generated Node #2: [64, 75, 48] from Operation: 2+46=48 Current State: 100:[64, 75, 48], Operations: ['2+46=48'] Exploring Operation: 64*75=4800, Resulting Numbers: [48, 4800] Generated Node #3: [48, 4800] from Operation: 64*75=4800 Current State: 100:[48, 4800], Operations: ['2+46=48', '64*75=4800'] Exploring Operation: 4800/48=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[2, 46, 64, 75], Operations: [] Exploring Operation: 75-64=11, Resulting Numbers: [2, 46, 11] Generated Node #0,0: 100:[2, 46, 11] Operation: 75-64=11 Moving to Node #0,0 Current State: 100:[2, 46, 11], Operations: ['75-64=11'] Exploring Operation: 2+46=48, Resulting Numbers: [11, 48] Generated Node #0,0,0: 100:[11, 48] Operation: 2+46=48 Moving to Node #0,0,0 Current State: 100:[11, 48], Operations: ['75-64=11', '2+46=48'] Exploring Operation: 11+48=59, Resulting Numbers: [59] 59,100 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 67, 56, 81, 28 ]
70
[ "67+56=123", "81-28=53", "123-53=70" ]
Current State: 70:[67, 56, 81, 28], Operations: [] Exploring Operation: 67+56=123, Resulting Numbers: [81, 28, 123] Generated Node #2: [81, 28, 123] from Operation: 67+56=123 Current State: 70:[81, 28, 123], Operations: ['67+56=123'] Exploring Operation: 81-28=53, Resulting Numbers: [123, 53] Generated Node #3: [123, 53] from Operation: 81-28=53 Current State: 70:[123, 53], Operations: ['67+56=123', '81-28=53'] Exploring Operation: 123-53=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[67, 56, 81, 28], Operations: [] Exploring Operation: 67-56=11, Resulting Numbers: [81, 28, 11] Generated Node #0,0: 70:[81, 28, 11] Operation: 67-56=11 Exploring Operation: 81-56=25, Resulting Numbers: [67, 28, 25] Generated Node #0,1: 70:[67, 28, 25] Operation: 81-56=25 Exploring Operation: 56/28=2, Resulting Numbers: [67, 81, 2] Generated Node #0,2: 70:[67, 81, 2] Operation: 56/28=2 Exploring Operation: 81-67=14, Resulting Numbers: [56, 28, 14] Generated Node #0,3: 70:[56, 28, 14] Operation: 81-67=14 Moving to Node #0,2 Current State: 70:[67, 81, 2], Operations: ['56/28=2'] Exploring Operation: 81-67=14, Resulting Numbers: [2, 14] Generated Node #0,2,0: 70:[2, 14] Operation: 81-67=14 Exploring Operation: 67+2=69, Resulting Numbers: [81, 69] Generated Node #0,2,1: 70:[81, 69] Operation: 67+2=69 Exploring Operation: 67-2=65, Resulting Numbers: [81, 65] Generated Node #0,2,2: 70:[81, 65] Operation: 67-2=65 Exploring Operation: 81-2=79, Resulting Numbers: [67, 79] Generated Node #0,2,3: 70:[67, 79] Operation: 81-2=79 Moving to Node #0,0 Current State: 70:[81, 28, 11], Operations: ['67-56=11'] Exploring Operation: 81-28=53, Resulting Numbers: [11, 53] Generated Node #0,0,0: 70:[11, 53] Operation: 81-28=53 Exploring Operation: 28-11=17, Resulting Numbers: [81, 17] Generated Node #0,0,1: 70:[81, 17] Operation: 28-11=17 Exploring Operation: 28+11=39, Resulting Numbers: [81, 39] Generated Node #0,0,2: 70:[81, 39] Operation: 28+11=39 Exploring Operation: 81-11=70, Resulting Numbers: [28, 70] Generated Node #0,0,3: 70:[28, 70] Operation: 81-11=70 Moving to Node #0,1 Current State: 70:[67, 28, 25], Operations: ['81-56=25'] Exploring Operation: 67-28=39, Resulting Numbers: [25, 39] Generated Node #0,1,0: 70:[25, 39] Operation: 67-28=39 Exploring Operation: 67-25=42, Resulting Numbers: [28, 42] Generated Node #0,1,1: 70:[28, 42] Operation: 67-25=42 Exploring Operation: 28-25=3, Resulting Numbers: [67, 3] Generated Node #0,1,2: 70:[67, 3] Operation: 28-25=3 Exploring Operation: 28+25=53, Resulting Numbers: [67, 53] Generated Node #0,1,3: 70:[67, 53] Operation: 28+25=53 Moving to Node #0,3 Current State: 70:[56, 28, 14], Operations: ['81-67=14'] Exploring Operation: 56/14=4, Resulting Numbers: [28, 4] Generated Node #0,3,0: 70:[28, 4] Operation: 56/14=4 Exploring Operation: 56/28=2, Resulting Numbers: [14, 2] Generated Node #0,3,1: 70:[14, 2] Operation: 56/28=2 Exploring Operation: 56-28=28, Resulting Numbers: [14, 28] Generated Node #0,3,2: 70:[14, 28] Operation: 56-28=28 Exploring Operation: 56+14=70, Resulting Numbers: [28, 70] Generated Node #0,3,3: 70:[28, 70] Operation: 56+14=70 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[14, 2], Operations: ['81-67=14', '56/28=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,70 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[14, 28], Operations: ['81-67=14', '56-28=28'] Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 14*28=392, Resulting Numbers: [392] 392,70 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[28, 70], Operations: ['81-67=14', '56+14=70'] Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 28*70=1960, Resulting Numbers: [1960] 1960,70 unequal: No Solution Exploring Operation: 28+70=98, Resulting Numbers: [98] 98,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[28, 4], Operations: ['81-67=14', '56/14=4'] Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,70 unequal: No Solution Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,70 unequal: No Solution Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,70 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 70:[2, 14], Operations: ['56/28=2', '81-67=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[67, 3], Operations: ['81-56=25', '28-25=3'] Exploring Operation: 67*3=201, Resulting Numbers: [201] 201,70 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,70 unequal: No Solution Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[67, 56, 81, 28], Operations: [] Exploring Operation: 81-56=25, Resulting Numbers: [67, 28, 25] Generated Node #0,1: 70:[67, 28, 25] Operation: 81-56=25 Moving to Node #0,1 Current State: 70:[67, 28, 25], Operations: ['81-56=25'] Exploring Operation: 28-25=3, Resulting Numbers: [67, 3] Generated Node #0,1,2: 70:[67, 3] Operation: 28-25=3 Moving to Node #0,1,2 Current State: 70:[67, 3], Operations: ['81-56=25', '28-25=3'] Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.960069
hs_4
mult_heuristic
[ 56, 4, 7, 14 ]
59
[ "56-4=52", "14-7=7", "52+7=59" ]
Current State: 59:[56, 4, 7, 14], Operations: [] Exploring Operation: 56-4=52, Resulting Numbers: [7, 14, 52] Generated Node #2: [7, 14, 52] from Operation: 56-4=52 Current State: 59:[7, 14, 52], Operations: ['56-4=52'] Exploring Operation: 14-7=7, Resulting Numbers: [52, 7] Generated Node #3: [52, 7] from Operation: 14-7=7 Current State: 59:[52, 7], Operations: ['56-4=52', '14-7=7'] Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[56, 4, 7, 14], Operations: [] Exploring Operation: 4+14=18, Resulting Numbers: [56, 7, 18] Generated Node #0,0: 59:[56, 7, 18] Operation: 4+14=18 Exploring Operation: 4*7=28, Resulting Numbers: [56, 14, 28] Generated Node #0,1: 59:[56, 14, 28] Operation: 4*7=28 Exploring Operation: 4*14=56, Resulting Numbers: [56, 7, 56] Generated Node #0,2: 59:[56, 7, 56] Operation: 4*14=56 Exploring Operation: 4+7=11, Resulting Numbers: [56, 14, 11] Generated Node #0,3: 59:[56, 14, 11] Operation: 4+7=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[56, 7, 56], Operations: ['4*14=56'] Exploring Operation: 56-7=49, Resulting Numbers: [56, 49] Generated Node #0,2,0: 59:[56, 49] Operation: 56-7=49 Exploring Operation: 56-7=49, Resulting Numbers: [56, 49] Generated Node #0,2,1: 59:[56, 49] Operation: 56-7=49 Exploring Operation: 7+56=63, Resulting Numbers: [56, 63] Generated Node #0,2,2: 59:[56, 63] Operation: 7+56=63 Exploring Operation: 56+7=63, Resulting Numbers: [56, 63] Generated Node #0,2,3: 59:[56, 63] Operation: 56+7=63 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[56, 63], Operations: ['4*14=56', '7+56=63'] Exploring Operation: 63-56=7, Resulting Numbers: [7] 7,59 unequal: No Solution Exploring Operation: 56*63=3528, Resulting Numbers: [3528] 3528,59 unequal: No Solution Exploring Operation: 56+63=119, Resulting Numbers: [119] 119,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,2,3 Current State: 59:[56, 63], Operations: ['4*14=56', '56+7=63'] Exploring Operation: 56*63=3528, Resulting Numbers: [3528] 3528,59 unequal: No Solution Exploring Operation: 63-56=7, Resulting Numbers: [7] 7,59 unequal: No Solution Exploring Operation: 56+63=119, Resulting Numbers: [119] 119,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,2,0 Current State: 59:[56, 49], Operations: ['4*14=56', '56-7=49'] Exploring Operation: 56*49=2744, Resulting Numbers: [2744] 2744,59 unequal: No Solution Exploring Operation: 56-49=7, Resulting Numbers: [7] 7,59 unequal: No Solution Exploring Operation: 56+49=105, Resulting Numbers: [105] 105,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,2,1 Current State: 59:[56, 49], Operations: ['4*14=56', '56-7=49'] Exploring Operation: 56+49=105, Resulting Numbers: [105] 105,59 unequal: No Solution Exploring Operation: 56*49=2744, Resulting Numbers: [2744] 2744,59 unequal: No Solution Exploring Operation: 56-49=7, Resulting Numbers: [7] 7,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:[56, 14, 28], Operations: ['4*7=28'] Exploring Operation: 56-14=42, Resulting Numbers: [28, 42] Generated Node #0,1,0: 59:[28, 42] Operation: 56-14=42 Exploring Operation: 14+28=42, Resulting Numbers: [56, 42] Generated Node #0,1,1: 59:[56, 42] Operation: 14+28=42 Exploring Operation: 56+14=70, Resulting Numbers: [28, 70] Generated Node #0,1,2: 59:[28, 70] Operation: 56+14=70 Exploring Operation: 28-14=14, Resulting Numbers: [56, 14] Generated Node #0,1,3: 59:[56, 14] Operation: 28-14=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[56, 42], Operations: ['4*7=28', '14+28=42'] Exploring Operation: 56+42=98, Resulting Numbers: [98] 98,59 unequal: No Solution Exploring Operation: 56*42=2352, Resulting Numbers: [2352] 2352,59 unequal: No Solution Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,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,2 Current State: 59:[28, 70], Operations: ['4*7=28', '56+14=70'] Exploring Operation: 28+70=98, Resulting Numbers: [98] 98,59 unequal: No Solution Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 28*70=1960, Resulting Numbers: [1960] 1960,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,0 Current State: 59:[28, 42], Operations: ['4*7=28', '56-14=42'] Exploring Operation: 28*42=1176, Resulting Numbers: [1176] 1176,59 unequal: No Solution Exploring Operation: 28+42=70, Resulting Numbers: [70] 70,59 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,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,3 Current State: 59:[56, 14], Operations: ['4*7=28', '28-14=14'] Exploring Operation: 56*14=784, Resulting Numbers: [784] 784,59 unequal: No Solution Exploring Operation: 56+14=70, Resulting Numbers: [70] 70,59 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,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,0 Current State: 59:[56, 7, 18], Operations: ['4+14=18'] Exploring Operation: 56-7=49, Resulting Numbers: [18, 49] Generated Node #0,0,0: 59:[18, 49] Operation: 56-7=49 Exploring Operation: 18-7=11, Resulting Numbers: [56, 11] Generated Node #0,0,1: 59:[56, 11] Operation: 18-7=11 Exploring Operation: 7+18=25, Resulting Numbers: [56, 25] Generated Node #0,0,2: 59:[56, 25] Operation: 7+18=25 Exploring Operation: 56+7=63, Resulting Numbers: [18, 63] Generated Node #0,0,3: 59:[18, 63] Operation: 56+7=63 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[56, 25], Operations: ['4+14=18', '7+18=25'] Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,59 unequal: No Solution Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,59 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,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,3 Current State: 59:[18, 63], Operations: ['4+14=18', '56+7=63'] Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,59 unequal: No Solution Exploring Operation: 18+63=81, Resulting Numbers: [81] 81,59 unequal: No Solution Exploring Operation: 18*63=1134, Resulting Numbers: [1134] 1134,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[18, 49], Operations: ['4+14=18', '56-7=49'] Exploring Operation: 18+49=67, Resulting Numbers: [67] 67,59 unequal: No Solution Exploring Operation: 18*49=882, Resulting Numbers: [882] 882,59 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,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:[56, 11], Operations: ['4+14=18', '18-7=11'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,59 unequal: No Solution Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,59 unequal: No Solution Exploring Operation: 56*11=616, Resulting Numbers: [616] 616,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,3 Current State: 59:[56, 14, 11], Operations: ['4+7=11'] Exploring Operation: 56+14=70, Resulting Numbers: [11, 70] Generated Node #0,3,0: 59:[11, 70] Operation: 56+14=70 Exploring Operation: 14+11=25, Resulting Numbers: [56, 25] Generated Node #0,3,1: 59:[56, 25] Operation: 14+11=25 Exploring Operation: 56-11=45, Resulting Numbers: [14, 45] Generated Node #0,3,2: 59:[14, 45] Operation: 56-11=45 Exploring Operation: 56+11=67, Resulting Numbers: [14, 67] Generated Node #0,3,3: 59:[14, 67] Operation: 56+11=67 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 59:[56, 25], Operations: ['4+7=11', '14+11=25'] Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,59 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,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,3,3 Current State: 59:[14, 67], Operations: ['4+7=11', '56+11=67'] Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,59 unequal: No Solution Exploring Operation: 14*67=938, Resulting Numbers: [938] 938,59 unequal: No Solution Exploring Operation: 14+67=81, Resulting Numbers: [81] 81,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,3,0 Current State: 59:[11, 70], Operations: ['4+7=11', '56+14=70'] Exploring Operation: 11*70=770, Resulting Numbers: [770] 770,59 unequal: No Solution Exploring Operation: 11+70=81, Resulting Numbers: [81] 81,59 unequal: No Solution Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[56, 4, 7, 14], Operations: [] Exploring Operation: 4+7=11, Resulting Numbers: [56, 14, 11] Generated Node #0,3: 59:[56, 14, 11] Operation: 4+7=11 Moving to Node #0,3 Current State: 59:[56, 14, 11], Operations: ['4+7=11'] Exploring Operation: 56+14=70, Resulting Numbers: [11, 70] Generated Node #0,3,0: 59:[11, 70] Operation: 56+14=70 Moving to Node #0,3,0 Current State: 59:[11, 70], Operations: ['4+7=11', '56+14=70'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.939236
hs_4
mult_heuristic
[ 4, 60, 46, 5 ]
51
[ "60-46=14", "4*14=56", "56-5=51" ]
Current State: 51:[4, 60, 46, 5], Operations: [] Exploring Operation: 60-46=14, Resulting Numbers: [4, 5, 14] Generated Node #2: [4, 5, 14] from Operation: 60-46=14 Current State: 51:[4, 5, 14], Operations: ['60-46=14'] Exploring Operation: 4*14=56, Resulting Numbers: [5, 56] Generated Node #3: [5, 56] from Operation: 4*14=56 Current State: 51:[5, 56], Operations: ['60-46=14', '4*14=56'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[4, 60, 46, 5], Operations: [] Exploring Operation: 60/4=15, Resulting Numbers: [46, 5, 15] Generated Node #0,0: 51:[46, 5, 15] Operation: 60/4=15 Exploring Operation: 60-5=55, Resulting Numbers: [4, 46, 55] Generated Node #0,1: 51:[4, 46, 55] Operation: 60-5=55 Exploring Operation: 60-46=14, Resulting Numbers: [4, 5, 14] Generated Node #0,2: 51:[4, 5, 14] Operation: 60-46=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[4, 5, 14], Operations: ['60-46=14'] Exploring Operation: 4+14=18, Resulting Numbers: [5, 18] Generated Node #0,2,0: 51:[5, 18] Operation: 4+14=18 Exploring Operation: 5+14=19, Resulting Numbers: [4, 19] Generated Node #0,2,1: 51:[4, 19] Operation: 5+14=19 Exploring Operation: 5-4=1, Resulting Numbers: [14, 1] Generated Node #0,2,2: 51:[14, 1] Operation: 5-4=1 Moving to Node #0,2,0 Current State: 51:[5, 18], Operations: ['60-46=14', '4+14=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,51 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[4, 19], Operations: ['60-46=14', '5+14=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,51 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[14, 1], Operations: ['60-46=14', '5-4=1'] Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[46, 5, 15], Operations: ['60/4=15'] Exploring Operation: 15/5=3, Resulting Numbers: [46, 3] Generated Node #0,0,0: 51:[46, 3] Operation: 15/5=3 Exploring Operation: 46+5=51, Resulting Numbers: [15, 51] Generated Node #0,0,1: 51:[15, 51] Operation: 46+5=51 Exploring Operation: 5+15=20, Resulting Numbers: [46, 20] Generated Node #0,0,2: 51:[46, 20] Operation: 5+15=20 Moving to Node #0,0,1 Current State: 51:[15, 51], Operations: ['60/4=15', '46+5=51'] Exploring Operation: 15+51=66, Resulting Numbers: [66] 66,51 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 15*51=765, Resulting Numbers: [765] 765,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[46, 3], Operations: ['60/4=15', '15/5=3'] Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,51 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[46, 20], Operations: ['60/4=15', '5+15=20'] Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 46*20=920, Resulting Numbers: [920] 920,51 unequal: No Solution Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[4, 46, 55], Operations: ['60-5=55'] Exploring Operation: 4+46=50, Resulting Numbers: [55, 50] Generated Node #0,1,0: 51:[55, 50] Operation: 4+46=50 Exploring Operation: 55-46=9, Resulting Numbers: [4, 9] Generated Node #0,1,1: 51:[4, 9] Operation: 55-46=9 Exploring Operation: 55-4=51, Resulting Numbers: [46, 51] Generated Node #0,1,2: 51:[46, 51] Operation: 55-4=51 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[55, 50], Operations: ['60-5=55', '4+46=50'] Exploring Operation: 55*50=2750, Resulting Numbers: [2750] 2750,51 unequal: No Solution Exploring Operation: 55+50=105, Resulting Numbers: [105] 105,51 unequal: No Solution Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,51 unequal: No Solution No 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: 51:[46, 51], Operations: ['60-5=55', '55-4=51'] Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 46+51=97, Resulting Numbers: [97] 97,51 unequal: No Solution Exploring Operation: 46*51=2346, Resulting Numbers: [2346] 2346,51 unequal: No Solution No 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: 51:[4, 9], Operations: ['60-5=55', '55-46=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,51 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
[ 41, 26, 77, 90 ]
82
[ "41*26=1066", "90-77=13", "1066/13=82" ]
Current State: 82:[41, 26, 77, 90], Operations: [] Exploring Operation: 41*26=1066, Resulting Numbers: [77, 90, 1066] Generated Node #2: [77, 90, 1066] from Operation: 41*26=1066 Current State: 82:[77, 90, 1066], Operations: ['41*26=1066'] Exploring Operation: 90-77=13, Resulting Numbers: [1066, 13] Generated Node #3: [1066, 13] from Operation: 90-77=13 Current State: 82:[1066, 13], Operations: ['41*26=1066', '90-77=13'] Exploring Operation: 1066/13=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[41, 26, 77, 90], Operations: [] Exploring Operation: 77-26=51, Resulting Numbers: [41, 90, 51] Generated Node #0,0: 82:[41, 90, 51] Operation: 77-26=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[41, 90, 51], Operations: ['77-26=51'] Exploring Operation: 90-51=39, Resulting Numbers: [41, 39] Generated Node #0,0,0: 82:[41, 39] Operation: 90-51=39 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[41, 39], Operations: ['77-26=51', '90-51=39'] Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 44, 49, 83, 65 ]
96
[ "49-44=5", "65/5=13", "83+13=96" ]
Current State: 96:[44, 49, 83, 65], Operations: [] Exploring Operation: 49-44=5, Resulting Numbers: [83, 65, 5] Generated Node #2: [83, 65, 5] from Operation: 49-44=5 Current State: 96:[83, 65, 5], Operations: ['49-44=5'] Exploring Operation: 65/5=13, Resulting Numbers: [83, 13] Generated Node #3: [83, 13] from Operation: 65/5=13 Current State: 96:[83, 13], Operations: ['49-44=5', '65/5=13'] Exploring Operation: 83+13=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[44, 49, 83, 65], Operations: [] Exploring Operation: 65-44=21, Resulting Numbers: [49, 83, 21] Generated Node #0,0: 96:[49, 83, 21] Operation: 65-44=21 Exploring Operation: 83-65=18, Resulting Numbers: [44, 49, 18] Generated Node #0,1: 96:[44, 49, 18] Operation: 83-65=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[44, 49, 18], Operations: ['83-65=18'] Exploring Operation: 49-44=5, Resulting Numbers: [18, 5] Generated Node #0,1,0: 96:[18, 5] Operation: 49-44=5 Exploring Operation: 44-18=26, Resulting Numbers: [49, 26] Generated Node #0,1,1: 96:[49, 26] Operation: 44-18=26 Moving to Node #0,1,0 Current State: 96:[18, 5], Operations: ['83-65=18', '49-44=5'] Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[49, 26], Operations: ['83-65=18', '44-18=26'] Exploring Operation: 49+26=75, Resulting Numbers: [75] 75,96 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,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 Current State: 96:[49, 83, 21], Operations: ['65-44=21'] Exploring Operation: 83-49=34, Resulting Numbers: [21, 34] Generated Node #0,0,0: 96:[21, 34] Operation: 83-49=34 Exploring Operation: 83+21=104, Resulting Numbers: [49, 104] Generated Node #0,0,1: 96:[49, 104] Operation: 83+21=104 Moving to Node #0,0,0 Current State: 96:[21, 34], Operations: ['65-44=21', '83-49=34'] Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,96 unequal: No Solution Exploring Operation: 21+34=55, Resulting Numbers: [55] 55,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[49, 104], Operations: ['65-44=21', '83+21=104'] Exploring Operation: 49+104=153, Resulting Numbers: [153] 153,96 unequal: No Solution Exploring Operation: 104-49=55, Resulting Numbers: [55] 55,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 10, 57, 65, 72 ]
36
[ "10+57=67", "67-65=2", "72/2=36" ]
Current State: 36:[10, 57, 65, 72], Operations: [] Exploring Operation: 10+57=67, Resulting Numbers: [65, 72, 67] Generated Node #2: [65, 72, 67] from Operation: 10+57=67 Current State: 36:[65, 72, 67], Operations: ['10+57=67'] Exploring Operation: 67-65=2, Resulting Numbers: [72, 2] Generated Node #3: [72, 2] from Operation: 67-65=2 Current State: 36:[72, 2], Operations: ['10+57=67', '67-65=2'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[10, 57, 65, 72], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [10, 57, 7] Generated Node #0,0: 36:[10, 57, 7] Operation: 72-65=7 Exploring Operation: 72-57=15, Resulting Numbers: [10, 65, 15] Generated Node #0,1: 36:[10, 65, 15] Operation: 72-57=15 Exploring Operation: 57-10=47, Resulting Numbers: [65, 72, 47] Generated Node #0,2: 36:[65, 72, 47] Operation: 57-10=47 Exploring Operation: 65-57=8, Resulting Numbers: [10, 72, 8] Generated Node #0,3: 36:[10, 72, 8] Operation: 65-57=8 Moving to Node #0,0 Current State: 36:[10, 57, 7], Operations: ['72-65=7'] Exploring Operation: 10+7=17, Resulting Numbers: [57, 17] Generated Node #0,0,0: 36:[57, 17] Operation: 10+7=17 Exploring Operation: 57-7=50, Resulting Numbers: [10, 50] Generated Node #0,0,1: 36:[10, 50] Operation: 57-7=50 Exploring Operation: 57-10=47, Resulting Numbers: [7, 47] Generated Node #0,0,2: 36:[7, 47] Operation: 57-10=47 Exploring Operation: 10-7=3, Resulting Numbers: [57, 3] Generated Node #0,0,3: 36:[57, 3] Operation: 10-7=3 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 36:[7, 47], Operations: ['72-65=7', '57-10=47'] Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 7*47=329, Resulting Numbers: [329] 329,36 unequal: No Solution No 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: 36:[10, 50], Operations: ['72-65=7', '57-7=50'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 10*50=500, Resulting Numbers: [500] 500,36 unequal: No Solution No 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: 36:[57, 3], Operations: ['72-65=7', '10-7=3'] Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,36 unequal: No Solution Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,36 unequal: No Solution No 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: 36:[57, 17], Operations: ['72-65=7', '10+7=17'] Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 57*17=969, Resulting Numbers: [969] 969,36 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,36 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: 36:[10, 65, 15], Operations: ['72-57=15'] Exploring Operation: 65-10=55, Resulting Numbers: [15, 55] Generated Node #0,1,0: 36:[15, 55] Operation: 65-10=55 Exploring Operation: 65-15=50, Resulting Numbers: [10, 50] Generated Node #0,1,1: 36:[10, 50] Operation: 65-15=50 Exploring Operation: 10+15=25, Resulting Numbers: [65, 25] Generated Node #0,1,2: 36:[65, 25] Operation: 10+15=25 Exploring Operation: 15-10=5, Resulting Numbers: [65, 5] Generated Node #0,1,3: 36:[65, 5] Operation: 15-10=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[10, 50], Operations: ['72-57=15', '65-15=50'] Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 10*50=500, Resulting Numbers: [500] 500,36 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,36 unequal: No Solution No 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: 36:[15, 55], Operations: ['72-57=15', '65-10=55'] Exploring Operation: 15*55=825, Resulting Numbers: [825] 825,36 unequal: No Solution Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 15+55=70, Resulting Numbers: [70] 70,36 unequal: No Solution No 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: 36:[65, 5], Operations: ['72-57=15', '15-10=5'] Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,36 unequal: No Solution Exploring Operation: 65*5=325, Resulting Numbers: [325] 325,36 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,36 unequal: No Solution No 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: 36:[65, 25], Operations: ['72-57=15', '10+15=25'] Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,36 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 65*25=1625, Resulting Numbers: [1625] 1625,36 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: 36:[10, 72, 8], Operations: ['65-57=8'] Exploring Operation: 72-10=62, Resulting Numbers: [8, 62] Generated Node #0,3,0: 36:[8, 62] Operation: 72-10=62 Exploring Operation: 72-8=64, Resulting Numbers: [10, 64] Generated Node #0,3,1: 36:[10, 64] Operation: 72-8=64 Exploring Operation: 10+8=18, Resulting Numbers: [72, 18] Generated Node #0,3,2: 36:[72, 18] Operation: 10+8=18 Exploring Operation: 72/8=9, Resulting Numbers: [10, 9] Generated Node #0,3,3: 36:[10, 9] Operation: 72/8=9 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 36:[10, 9], Operations: ['65-57=8', '72/8=9'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,36 unequal: No Solution Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,36 unequal: No Solution No 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: 36:[8, 62], Operations: ['65-57=8', '72-10=62'] Exploring Operation: 8+62=70, Resulting Numbers: [70] 70,36 unequal: No Solution Exploring Operation: 8*62=496, Resulting Numbers: [496] 496,36 unequal: No Solution Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,36 unequal: No Solution No 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: 36:[10, 64], Operations: ['65-57=8', '72-8=64'] Exploring Operation: 10+64=74, Resulting Numbers: [74] 74,36 unequal: No Solution Exploring Operation: 10*64=640, Resulting Numbers: [640] 640,36 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,36 unequal: No Solution No 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: 36:[72, 18], Operations: ['65-57=8', '10+8=18'] Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,36 unequal: No Solution Exploring Operation: 72*18=1296, Resulting Numbers: [1296] 1296,36 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: 36:[65, 72, 47], Operations: ['57-10=47'] Exploring Operation: 72-47=25, Resulting Numbers: [65, 25] Generated Node #0,2,0: 36:[65, 25] Operation: 72-47=25 Exploring Operation: 65-47=18, Resulting Numbers: [72, 18] Generated Node #0,2,1: 36:[72, 18] Operation: 65-47=18 Exploring Operation: 65+72=137, Resulting Numbers: [47, 137] Generated Node #0,2,2: 36:[47, 137] Operation: 65+72=137 Exploring Operation: 72-65=7, Resulting Numbers: [47, 7] Generated Node #0,2,3: 36:[47, 7] Operation: 72-65=7 Moving to Node #0,2,3 Current State: 36:[47, 7], Operations: ['57-10=47', '72-65=7'] Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,36 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[72, 18], Operations: ['57-10=47', '65-47=18'] Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,36 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 72*18=1296, Resulting Numbers: [1296] 1296,36 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[65, 25], Operations: ['57-10=47', '72-47=25'] Exploring Operation: 65*25=1625, Resulting Numbers: [1625] 1625,36 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[47, 137], Operations: ['57-10=47', '65+72=137'] Exploring Operation: 47+137=184, Resulting Numbers: [184] 184,36 unequal: No Solution Exploring Operation: 137-47=90, Resulting Numbers: [90] 90,36 unequal: No Solution Exploring Operation: 47*137=6439, Resulting Numbers: [6439] 6439,36 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 47, 53, 12, 23 ]
66
[ "53-47=6", "23-12=11", "6*11=66" ]
Current State: 66:[47, 53, 12, 23], Operations: [] Exploring Operation: 53-47=6, Resulting Numbers: [12, 23, 6] Generated Node #2: [12, 23, 6] from Operation: 53-47=6 Current State: 66:[12, 23, 6], Operations: ['53-47=6'] Exploring Operation: 23-12=11, Resulting Numbers: [6, 11] Generated Node #3: [6, 11] from Operation: 23-12=11 Current State: 66:[6, 11], Operations: ['53-47=6', '23-12=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[47, 53, 12, 23], Operations: [] Exploring Operation: 53-47=6, Resulting Numbers: [12, 23, 6] Generated Node #0,0: 66:[12, 23, 6] Operation: 53-47=6 Exploring Operation: 47-12=35, Resulting Numbers: [53, 23, 35] Generated Node #0,1: 66:[53, 23, 35] Operation: 47-12=35 Moving to Node #0,0 Current State: 66:[12, 23, 6], Operations: ['53-47=6'] Exploring Operation: 23-12=11, Resulting Numbers: [6, 11] Generated Node #0,0,0: 66:[6, 11] Operation: 23-12=11 Exploring Operation: 12-6=6, Resulting Numbers: [23, 6] Generated Node #0,0,1: 66:[23, 6] Operation: 12-6=6 Moving to Node #0,1 Current State: 66:[53, 23, 35], Operations: ['47-12=35'] Exploring Operation: 53-23=30, Resulting Numbers: [35, 30] Generated Node #0,1,0: 66:[35, 30] Operation: 53-23=30 Exploring Operation: 53-35=18, Resulting Numbers: [23, 18] Generated Node #0,1,1: 66:[23, 18] Operation: 53-35=18 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[35, 30], Operations: ['47-12=35', '53-23=30'] Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 35+30=65, Resulting Numbers: [65] 65,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[23, 18], Operations: ['47-12=35', '53-35=18'] Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,66 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,66 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: 66:[6, 11], Operations: ['53-47=6', '23-12=11'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[47, 53, 12, 23], Operations: [] Exploring Operation: 53-47=6, Resulting Numbers: [12, 23, 6] Generated Node #0,0: 66:[12, 23, 6] Operation: 53-47=6 Moving to Node #0,0 Current State: 66:[12, 23, 6], Operations: ['53-47=6'] Exploring Operation: 23-12=11, Resulting Numbers: [6, 11] Generated Node #0,0,0: 66:[6, 11] Operation: 23-12=11 Moving to Node #0,0,0 Current State: 66:[6, 11], Operations: ['53-47=6', '23-12=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 51, 86, 88, 92 ]
39
[ "86-51=35", "92-88=4", "35+4=39" ]
Current State: 39:[51, 86, 88, 92], Operations: [] Exploring Operation: 86-51=35, Resulting Numbers: [88, 92, 35] Generated Node #2: [88, 92, 35] from Operation: 86-51=35 Current State: 39:[88, 92, 35], Operations: ['86-51=35'] Exploring Operation: 92-88=4, Resulting Numbers: [35, 4] Generated Node #3: [35, 4] from Operation: 92-88=4 Current State: 39:[35, 4], Operations: ['86-51=35', '92-88=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[51, 86, 88, 92], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [51, 86, 4] Generated Node #0,0: 39:[51, 86, 4] Operation: 92-88=4 Exploring Operation: 88-86=2, Resulting Numbers: [51, 92, 2] Generated Node #0,1: 39:[51, 92, 2] Operation: 88-86=2 Exploring Operation: 92-51=41, Resulting Numbers: [86, 88, 41] Generated Node #0,2: 39:[86, 88, 41] Operation: 92-51=41 Exploring Operation: 92-86=6, Resulting Numbers: [51, 88, 6] Generated Node #0,3: 39:[51, 88, 6] Operation: 92-86=6 Moving to Node #0,0 Current State: 39:[51, 86, 4], Operations: ['92-88=4'] Exploring Operation: 51+4=55, Resulting Numbers: [86, 55] Generated Node #0,0,0: 39:[86, 55] Operation: 51+4=55 Exploring Operation: 51-4=47, Resulting Numbers: [86, 47] Generated Node #0,0,1: 39:[86, 47] Operation: 51-4=47 Exploring Operation: 86-4=82, Resulting Numbers: [51, 82] Generated Node #0,0,2: 39:[51, 82] Operation: 86-4=82 Exploring Operation: 86-51=35, Resulting Numbers: [4, 35] Generated Node #0,0,3: 39:[4, 35] Operation: 86-51=35 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 39:[4, 35], Operations: ['92-88=4', '86-51=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,39 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,39 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[51, 86, 88, 92], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [51, 86, 4] Generated Node #0,0: 39:[51, 86, 4] Operation: 92-88=4 Moving to Node #0,0 Current State: 39:[51, 86, 4], Operations: ['92-88=4'] Exploring Operation: 86-51=35, Resulting Numbers: [4, 35] Generated Node #0,0,3: 39:[4, 35] Operation: 86-51=35 Moving to Node #0,0,3 Current State: 39:[4, 35], Operations: ['92-88=4', '86-51=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 31, 33, 13, 23 ]
28
[ "31+33=64", "13+23=36", "64-36=28" ]
Current State: 28:[31, 33, 13, 23], Operations: [] Exploring Operation: 31+33=64, Resulting Numbers: [13, 23, 64] Generated Node #2: [13, 23, 64] from Operation: 31+33=64 Current State: 28:[13, 23, 64], Operations: ['31+33=64'] Exploring Operation: 13+23=36, Resulting Numbers: [64, 36] Generated Node #3: [64, 36] from Operation: 13+23=36 Current State: 28:[64, 36], Operations: ['31+33=64', '13+23=36'] Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[31, 33, 13, 23], Operations: [] Exploring Operation: 33-31=2, Resulting Numbers: [13, 23, 2] Generated Node #0,0: 28:[13, 23, 2] Operation: 33-31=2 Moving to Node #0,0 Current State: 28:[13, 23, 2], Operations: ['33-31=2'] Exploring Operation: 23-13=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 28:[2, 10] Operation: 23-13=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[2, 10], Operations: ['33-31=2', '23-13=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,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
mult_heuristic
[ 36, 28, 44, 71 ]
35
[ "36-28=8", "71-44=27", "8+27=35" ]
Current State: 35:[36, 28, 44, 71], Operations: [] Exploring Operation: 36-28=8, Resulting Numbers: [44, 71, 8] Generated Node #2: [44, 71, 8] from Operation: 36-28=8 Current State: 35:[44, 71, 8], Operations: ['36-28=8'] Exploring Operation: 71-44=27, Resulting Numbers: [8, 27] Generated Node #3: [8, 27] from Operation: 71-44=27 Current State: 35:[8, 27], Operations: ['36-28=8', '71-44=27'] Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[36, 28, 44, 71], Operations: [] Exploring Operation: 71-44=27, Resulting Numbers: [36, 28, 27] Generated Node #0,0: 35:[36, 28, 27] Operation: 71-44=27 Exploring Operation: 71-36=35, Resulting Numbers: [28, 44, 35] Generated Node #0,1: 35:[28, 44, 35] Operation: 71-36=35 Exploring Operation: 44-36=8, Resulting Numbers: [28, 71, 8] Generated Node #0,2: 35:[28, 71, 8] Operation: 44-36=8 Exploring Operation: 71-28=43, Resulting Numbers: [36, 44, 43] Generated Node #0,3: 35:[36, 44, 43] Operation: 71-28=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[36, 28, 27], Operations: ['71-44=27'] Exploring Operation: 36-28=8, Resulting Numbers: [27, 8] Generated Node #0,0,0: 35:[27, 8] Operation: 36-28=8 Exploring Operation: 28-27=1, Resulting Numbers: [36, 1] Generated Node #0,0,1: 35:[36, 1] Operation: 28-27=1 Exploring Operation: 36-27=9, Resulting Numbers: [28, 9] Generated Node #0,0,2: 35:[28, 9] Operation: 36-27=9 Exploring Operation: 28+27=55, Resulting Numbers: [36, 55] Generated Node #0,0,3: 35:[36, 55] Operation: 28+27=55 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[36, 1], Operations: ['71-44=27', '28-27=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[36, 28, 44, 71], Operations: [] Exploring Operation: 71-44=27, Resulting Numbers: [36, 28, 27] Generated Node #0,0: 35:[36, 28, 27] Operation: 71-44=27 Moving to Node #0,0 Current State: 35:[36, 28, 27], Operations: ['71-44=27'] Exploring Operation: 28-27=1, Resulting Numbers: [36, 1] Generated Node #0,0,1: 35:[36, 1] Operation: 28-27=1 Moving to Node #0,0,1 Current State: 35:[36, 1], Operations: ['71-44=27', '28-27=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 14, 38, 30, 58 ]
64
[ "38-14=24", "30+58=88", "88-24=64" ]
Current State: 64:[14, 38, 30, 58], Operations: [] Exploring Operation: 38-14=24, Resulting Numbers: [30, 58, 24] Generated Node #2: [30, 58, 24] from Operation: 38-14=24 Current State: 64:[30, 58, 24], Operations: ['38-14=24'] Exploring Operation: 30+58=88, Resulting Numbers: [24, 88] Generated Node #3: [24, 88] from Operation: 30+58=88 Current State: 64:[24, 88], Operations: ['38-14=24', '30+58=88'] Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[14, 38, 30, 58], Operations: [] Exploring Operation: 58-38=20, Resulting Numbers: [14, 30, 20] Generated Node #0,0: 64:[14, 30, 20] Operation: 58-38=20 Exploring Operation: 38-30=8, Resulting Numbers: [14, 58, 8] Generated Node #0,1: 64:[14, 58, 8] Operation: 38-30=8 Moving to Node #0,0 Current State: 64:[14, 30, 20], Operations: ['58-38=20'] Exploring Operation: 30-14=16, Resulting Numbers: [20, 16] Generated Node #0,0,0: 64:[20, 16] Operation: 30-14=16 Exploring Operation: 14+20=34, Resulting Numbers: [30, 34] Generated Node #0,0,1: 64:[30, 34] Operation: 14+20=34 Moving to Node #0,1 Current State: 64:[14, 58, 8], Operations: ['38-30=8'] Exploring Operation: 58+8=66, Resulting Numbers: [14, 66] Generated Node #0,1,0: 64:[14, 66] Operation: 58+8=66 Exploring Operation: 14+58=72, Resulting Numbers: [8, 72] Generated Node #0,1,1: 64:[8, 72] Operation: 14+58=72 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[14, 66], Operations: ['38-30=8', '58+8=66'] Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 14+66=80, Resulting Numbers: [80] 80,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[8, 72], Operations: ['38-30=8', '14+58=72'] Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[14, 38, 30, 58], Operations: [] Exploring Operation: 38-30=8, Resulting Numbers: [14, 58, 8] Generated Node #0,1: 64:[14, 58, 8] Operation: 38-30=8 Moving to Node #0,1 Current State: 64:[14, 58, 8], Operations: ['38-30=8'] Exploring Operation: 14+58=72, Resulting Numbers: [8, 72] Generated Node #0,1,1: 64:[8, 72] Operation: 14+58=72 Moving to Node #0,1,1 Current State: 64:[8, 72], Operations: ['38-30=8', '14+58=72'] Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
sum_heuristic
[ 25, 10, 15, 70 ]
47
[ "25+15=40", "70/10=7", "40+7=47" ]
Current State: 47:[25, 10, 15, 70], Operations: [] Exploring Operation: 25+15=40, Resulting Numbers: [10, 70, 40] Generated Node #2: [10, 70, 40] from Operation: 25+15=40 Current State: 47:[10, 70, 40], Operations: ['25+15=40'] Exploring Operation: 70/10=7, Resulting Numbers: [40, 7] Generated Node #3: [40, 7] from Operation: 70/10=7 Current State: 47:[40, 7], Operations: ['25+15=40', '70/10=7'] Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[25, 10, 15, 70], Operations: [] Exploring Operation: 25+10=35, Resulting Numbers: [15, 70, 35] Generated Node #0,0: 47:[15, 70, 35] Operation: 25+10=35 Exploring Operation: 25+15=40, Resulting Numbers: [10, 70, 40] Generated Node #0,1: 47:[10, 70, 40] Operation: 25+15=40 Exploring Operation: 70-15=55, Resulting Numbers: [25, 10, 55] Generated Node #0,2: 47:[25, 10, 55] Operation: 70-15=55 Exploring Operation: 70-10=60, Resulting Numbers: [25, 15, 60] Generated Node #0,3: 47:[25, 15, 60] Operation: 70-10=60 Exploring Operation: 10+15=25, Resulting Numbers: [25, 70, 25] Generated Node #0,4: 47:[25, 70, 25] Operation: 10+15=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[15, 70, 35], Operations: ['25+10=35'] Exploring Operation: 15+70=85, Resulting Numbers: [35, 85] Generated Node #0,0,0: 47:[35, 85] Operation: 15+70=85 Exploring Operation: 35-15=20, Resulting Numbers: [70, 20] Generated Node #0,0,1: 47:[70, 20] Operation: 35-15=20 Exploring Operation: 15+35=50, Resulting Numbers: [70, 50] Generated Node #0,0,2: 47:[70, 50] Operation: 15+35=50 Exploring Operation: 70-15=55, Resulting Numbers: [35, 55] Generated Node #0,0,3: 47:[35, 55] Operation: 70-15=55 Exploring Operation: 70-35=35, Resulting Numbers: [15, 35] Generated Node #0,0,4: 47:[15, 35] Operation: 70-35=35 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 47:[35, 55], Operations: ['25+10=35', '70-15=55'] Exploring Operation: 35*55=1925, Resulting Numbers: [1925] 1925,47 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 35+55=90, Resulting Numbers: [90] 90,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[70, 50], Operations: ['25+10=35', '15+35=50'] Exploring Operation: 70*50=3500, Resulting Numbers: [3500] 3500,47 unequal: No Solution Exploring Operation: 70+50=120, Resulting Numbers: [120] 120,47 unequal: No Solution Exploring Operation: 70-50=20, Resulting Numbers: [20] 20,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 47:[15, 35], Operations: ['25+10=35', '70-35=35'] Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 15+35=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 15*35=525, Resulting Numbers: [525] 525,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[35, 85], Operations: ['25+10=35', '15+70=85'] Exploring Operation: 35+85=120, Resulting Numbers: [120] 120,47 unequal: No Solution Exploring Operation: 35*85=2975, Resulting Numbers: [2975] 2975,47 unequal: No Solution Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[70, 20], Operations: ['25+10=35', '35-15=20'] Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,47 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[10, 70, 40], Operations: ['25+15=40'] Exploring Operation: 10+70=80, Resulting Numbers: [40, 80] Generated Node #0,1,0: 47:[40, 80] Operation: 10+70=80 Exploring Operation: 70-10=60, Resulting Numbers: [40, 60] Generated Node #0,1,1: 47:[40, 60] Operation: 70-10=60 Exploring Operation: 40-10=30, Resulting Numbers: [70, 30] Generated Node #0,1,2: 47:[70, 30] Operation: 40-10=30 Exploring Operation: 70/10=7, Resulting Numbers: [40, 7] Generated Node #0,1,3: 47:[40, 7] Operation: 70/10=7 Exploring Operation: 10+40=50, Resulting Numbers: [70, 50] Generated Node #0,1,4: 47:[70, 50] Operation: 10+40=50 Moving to Node #0,1,1 Current State: 47:[40, 60], Operations: ['25+15=40', '70-10=60'] Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 40*60=2400, Resulting Numbers: [2400] 2400,47 unequal: No Solution Moving to Node #0,1,4 Current State: 47:[70, 50], Operations: ['25+15=40', '10+40=50'] Exploring Operation: 70*50=3500, Resulting Numbers: [3500] 3500,47 unequal: No Solution Exploring Operation: 70-50=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 70+50=120, Resulting Numbers: [120] 120,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[40, 80], Operations: ['25+15=40', '10+70=80'] Exploring Operation: 80-40=40, Resulting Numbers: [40] 40,47 unequal: No Solution Exploring Operation: 40+80=120, Resulting Numbers: [120] 120,47 unequal: No Solution Exploring Operation: 80/40=2, Resulting Numbers: [2] 2,47 unequal: No Solution Exploring Operation: 40*80=3200, Resulting Numbers: [3200] 3200,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[70, 30], Operations: ['25+15=40', '40-10=30'] Exploring Operation: 70+30=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 70*30=2100, Resulting Numbers: [2100] 2100,47 unequal: No Solution Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[40, 7], Operations: ['25+15=40', '70/10=7'] Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,47 unequal: No Solution Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[25, 10, 15, 70], Operations: [] Exploring Operation: 25+15=40, Resulting Numbers: [10, 70, 40] Generated Node #0,1: 47:[10, 70, 40] Operation: 25+15=40 Moving to Node #0,1 Current State: 47:[10, 70, 40], Operations: ['25+15=40'] Exploring Operation: 70/10=7, Resulting Numbers: [40, 7] Generated Node #0,1,3: 47:[40, 7] Operation: 70/10=7 Moving to Node #0,1,3 Current State: 47:[40, 7], Operations: ['25+15=40', '70/10=7'] Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_5
mult_heuristic
[ 47, 66, 38, 74 ]
93
[ "66-47=19", "38+74=112", "112-19=93" ]
Current State: 93:[47, 66, 38, 74], Operations: [] Exploring Operation: 66-47=19, Resulting Numbers: [38, 74, 19] Generated Node #2: [38, 74, 19] from Operation: 66-47=19 Current State: 93:[38, 74, 19], Operations: ['66-47=19'] Exploring Operation: 38+74=112, Resulting Numbers: [19, 112] Generated Node #3: [19, 112] from Operation: 38+74=112 Current State: 93:[19, 112], Operations: ['66-47=19', '38+74=112'] Exploring Operation: 112-19=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[47, 66, 38, 74], Operations: [] Exploring Operation: 66-47=19, Resulting Numbers: [38, 74, 19] Generated Node #0,0: 93:[38, 74, 19] Operation: 66-47=19 Exploring Operation: 74-47=27, Resulting Numbers: [66, 38, 27] Generated Node #0,1: 93:[66, 38, 27] Operation: 74-47=27 Exploring Operation: 74-66=8, Resulting Numbers: [47, 38, 8] Generated Node #0,2: 93:[47, 38, 8] Operation: 74-66=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[47, 38, 8], Operations: ['74-66=8'] Exploring Operation: 47+38=85, Resulting Numbers: [8, 85] Generated Node #0,2,0: 93:[8, 85] Operation: 47+38=85 Exploring Operation: 47-8=39, Resulting Numbers: [38, 39] Generated Node #0,2,1: 93:[38, 39] Operation: 47-8=39 Exploring Operation: 47-38=9, Resulting Numbers: [8, 9] Generated Node #0,2,2: 93:[8, 9] Operation: 47-38=9 Moving to Node #0,2,2 Current State: 93:[8, 9], Operations: ['74-66=8', '47-38=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,93 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,93 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[8, 85], Operations: ['74-66=8', '47+38=85'] Exploring Operation: 8*85=680, Resulting Numbers: [680] 680,93 unequal: No Solution Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,93 unequal: No Solution Exploring Operation: 8+85=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[47, 66, 38, 74], Operations: [] Exploring Operation: 74-66=8, Resulting Numbers: [47, 38, 8] Generated Node #0,2: 93:[47, 38, 8] Operation: 74-66=8 Moving to Node #0,2 Current State: 93:[47, 38, 8], Operations: ['74-66=8'] Exploring Operation: 47+38=85, Resulting Numbers: [8, 85] Generated Node #0,2,0: 93:[8, 85] Operation: 47+38=85 Moving to Node #0,2,0 Current State: 93:[8, 85], Operations: ['74-66=8', '47+38=85'] Exploring Operation: 8+85=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 18, 73, 99, 9 ]
47
[ "18*73=1314", "1314/9=146", "146-99=47" ]
Current State: 47:[18, 73, 99, 9], Operations: [] Exploring Operation: 18*73=1314, Resulting Numbers: [99, 9, 1314] Generated Node #2: [99, 9, 1314] from Operation: 18*73=1314 Current State: 47:[99, 9, 1314], Operations: ['18*73=1314'] Exploring Operation: 1314/9=146, Resulting Numbers: [99, 146] Generated Node #3: [99, 146] from Operation: 1314/9=146 Current State: 47:[99, 146], Operations: ['18*73=1314', '1314/9=146'] Exploring Operation: 146-99=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[18, 73, 99, 9], Operations: [] Exploring Operation: 73-18=55, Resulting Numbers: [99, 9, 55] Generated Node #0,0: 47:[99, 9, 55] Operation: 73-18=55 Exploring Operation: 99/9=11, Resulting Numbers: [18, 73, 11] Generated Node #0,1: 47:[18, 73, 11] Operation: 99/9=11 Exploring Operation: 99-73=26, Resulting Numbers: [18, 9, 26] Generated Node #0,2: 47:[18, 9, 26] Operation: 99-73=26 Exploring Operation: 99-18=81, Resulting Numbers: [73, 9, 81] Generated Node #0,3: 47:[73, 9, 81] Operation: 99-18=81 Exploring Operation: 18+9=27, Resulting Numbers: [73, 99, 27] Generated Node #0,4: 47:[73, 99, 27] Operation: 18+9=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[18, 9, 26], Operations: ['99-73=26'] Exploring Operation: 26-9=17, Resulting Numbers: [18, 17] Generated Node #0,2,0: 47:[18, 17] Operation: 26-9=17 Exploring Operation: 18+26=44, Resulting Numbers: [9, 44] Generated Node #0,2,1: 47:[9, 44] Operation: 18+26=44 Exploring Operation: 9+26=35, Resulting Numbers: [18, 35] Generated Node #0,2,2: 47:[18, 35] Operation: 9+26=35 Exploring Operation: 18-9=9, Resulting Numbers: [26, 9] Generated Node #0,2,3: 47:[26, 9] Operation: 18-9=9 Exploring Operation: 18+9=27, Resulting Numbers: [26, 27] Generated Node #0,2,4: 47:[26, 27] Operation: 18+9=27 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[9, 44], Operations: ['99-73=26', '18+26=44'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,47 unequal: No Solution Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[18, 35], Operations: ['99-73=26', '9+26=35'] Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 18*35=630, Resulting Numbers: [630] 630,47 unequal: No Solution Exploring Operation: 18+35=53, Resulting Numbers: [53] 53,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 47:[26, 27], Operations: ['99-73=26', '18+9=27'] Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 26*27=702, Resulting Numbers: [702] 702,47 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[18, 17], Operations: ['99-73=26', '26-9=17'] Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 47:[26, 9], Operations: ['99-73=26', '18-9=9'] Exploring Operation: 26+9=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 26*9=234, Resulting Numbers: [234] 234,47 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[18, 73, 11], Operations: ['99/9=11'] Exploring Operation: 18-11=7, Resulting Numbers: [73, 7] Generated Node #0,1,0: 47:[73, 7] Operation: 18-11=7 Exploring Operation: 73+11=84, Resulting Numbers: [18, 84] Generated Node #0,1,1: 47:[18, 84] Operation: 73+11=84 Exploring Operation: 73-11=62, Resulting Numbers: [18, 62] Generated Node #0,1,2: 47:[18, 62] Operation: 73-11=62 Exploring Operation: 73-18=55, Resulting Numbers: [11, 55] Generated Node #0,1,3: 47:[11, 55] Operation: 73-18=55 Exploring Operation: 18+11=29, Resulting Numbers: [73, 29] Generated Node #0,1,4: 47:[73, 29] Operation: 18+11=29 Moving to Node #0,1,2 Current State: 47:[18, 62], Operations: ['99/9=11', '73-11=62'] Exploring Operation: 18+62=80, Resulting Numbers: [80] 80,47 unequal: No Solution Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 18*62=1116, Resulting Numbers: [1116] 1116,47 unequal: No Solution Moving to Node #0,1,4 Current State: 47:[73, 29], Operations: ['99/9=11', '18+11=29'] Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 73*29=2117, Resulting Numbers: [2117] 2117,47 unequal: No Solution Exploring Operation: 73+29=102, Resulting Numbers: [102] 102,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[11, 55], Operations: ['99/9=11', '73-18=55'] Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 11+55=66, Resulting Numbers: [66] 66,47 unequal: No Solution Exploring Operation: 11*55=605, Resulting Numbers: [605] 605,47 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[73, 7], Operations: ['99/9=11', '18-11=7'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,47 unequal: No Solution Exploring Operation: 73+7=80, Resulting Numbers: [80] 80,47 unequal: No Solution Exploring Operation: 73*7=511, Resulting Numbers: [511] 511,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[18, 84], Operations: ['99/9=11', '73+11=84'] Exploring Operation: 18*84=1512, Resulting Numbers: [1512] 1512,47 unequal: No Solution Exploring Operation: 84-18=66, Resulting Numbers: [66] 66,47 unequal: No Solution Exploring Operation: 18+84=102, Resulting Numbers: [102] 102,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[99, 9, 55], Operations: ['73-18=55'] Exploring Operation: 99-55=44, Resulting Numbers: [9, 44] Generated Node #0,0,0: 47:[9, 44] Operation: 99-55=44 Exploring Operation: 99+9=108, Resulting Numbers: [55, 108] Generated Node #0,0,1: 47:[55, 108] Operation: 99+9=108 Exploring Operation: 55-9=46, Resulting Numbers: [99, 46] Generated Node #0,0,2: 47:[99, 46] Operation: 55-9=46 Exploring Operation: 99/9=11, Resulting Numbers: [55, 11] Generated Node #0,0,3: 47:[55, 11] Operation: 99/9=11 Exploring Operation: 99-9=90, Resulting Numbers: [55, 90] Generated Node #0,0,4: 47:[55, 90] Operation: 99-9=90 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[9, 44], Operations: ['73-18=55', '99-55=44'] Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 47:[55, 11], Operations: ['73-18=55', '99/9=11'] Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,47 unequal: No Solution Exploring Operation: 55+11=66, Resulting Numbers: [66] 66,47 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 55*11=605, Resulting Numbers: [605] 605,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 47:[55, 90], Operations: ['73-18=55', '99-9=90'] Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 55*90=4950, Resulting Numbers: [4950] 4950,47 unequal: No Solution Exploring Operation: 55+90=145, Resulting Numbers: [145] 145,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[99, 46], Operations: ['73-18=55', '55-9=46'] Exploring Operation: 99+46=145, Resulting Numbers: [145] 145,47 unequal: No Solution Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 99*46=4554, Resulting Numbers: [4554] 4554,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[55, 108], Operations: ['73-18=55', '99+9=108'] Exploring Operation: 55*108=5940, Resulting Numbers: [5940] 5940,47 unequal: No Solution Exploring Operation: 108-55=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 55+108=163, Resulting Numbers: [163] 163,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[73, 9, 81], Operations: ['99-18=81'] Exploring Operation: 73-9=64, Resulting Numbers: [81, 64] Generated Node #0,3,0: 47:[81, 64] Operation: 73-9=64 Exploring Operation: 9+81=90, Resulting Numbers: [73, 90] Generated Node #0,3,1: 47:[73, 90] Operation: 9+81=90 Exploring Operation: 81-9=72, Resulting Numbers: [73, 72] Generated Node #0,3,2: 47:[73, 72] Operation: 81-9=72 Exploring Operation: 81/9=9, Resulting Numbers: [73, 9] Generated Node #0,3,3: 47:[73, 9] Operation: 81/9=9 Exploring Operation: 73+9=82, Resulting Numbers: [81, 82] Generated Node #0,3,4: 47:[81, 82] Operation: 73+9=82 Moving to Node #0,3,0 Current State: 47:[81, 64], Operations: ['99-18=81', '73-9=64'] Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 81+64=145, Resulting Numbers: [145] 145,47 unequal: No Solution Exploring Operation: 81*64=5184, Resulting Numbers: [5184] 5184,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[73, 72], Operations: ['99-18=81', '81-9=72'] Exploring Operation: 73-72=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 73+72=145, Resulting Numbers: [145] 145,47 unequal: No Solution Exploring Operation: 73*72=5256, Resulting Numbers: [5256] 5256,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[73, 9], Operations: ['99-18=81', '81/9=9'] Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,47 unequal: No Solution Exploring Operation: 73*9=657, Resulting Numbers: [657] 657,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[73, 90], Operations: ['99-18=81', '9+81=90'] Exploring Operation: 73*90=6570, Resulting Numbers: [6570] 6570,47 unequal: No Solution Exploring Operation: 73+90=163, Resulting Numbers: [163] 163,47 unequal: No Solution Exploring Operation: 90-73=17, Resulting Numbers: [17] 17,47 unequal: No Solution Moving to Node #0,3,4 Current State: 47:[81, 82], Operations: ['99-18=81', '73+9=82'] Exploring Operation: 81+82=163, Resulting Numbers: [163] 163,47 unequal: No Solution Exploring Operation: 81*82=6642, Resulting Numbers: [6642] 6642,47 unequal: No Solution Exploring Operation: 82-81=1, Resulting Numbers: [1] 1,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 47:[73, 99, 27], Operations: ['18+9=27'] Exploring Operation: 99+27=126, Resulting Numbers: [73, 126] Generated Node #0,4,0: 47:[73, 126] Operation: 99+27=126 Exploring Operation: 73-27=46, Resulting Numbers: [99, 46] Generated Node #0,4,1: 47:[99, 46] Operation: 73-27=46 Exploring Operation: 73+27=100, Resulting Numbers: [99, 100] Generated Node #0,4,2: 47:[99, 100] Operation: 73+27=100 Exploring Operation: 99-73=26, Resulting Numbers: [27, 26] Generated Node #0,4,3: 47:[27, 26] Operation: 99-73=26 Exploring Operation: 99-27=72, Resulting Numbers: [73, 72] Generated Node #0,4,4: 47:[73, 72] Operation: 99-27=72 Moving to Node #0,4,3 Current State: 47:[27, 26], Operations: ['18+9=27', '99-73=26'] Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 27*26=702, Resulting Numbers: [702] 702,47 unequal: No Solution Moving to Node #0,4,4 Current State: 47:[73, 72], Operations: ['18+9=27', '99-27=72'] Exploring Operation: 73*72=5256, Resulting Numbers: [5256] 5256,47 unequal: No Solution Exploring Operation: 73+72=145, Resulting Numbers: [145] 145,47 unequal: No Solution Exploring Operation: 73-72=1, Resulting Numbers: [1] 1,47 unequal: No Solution Moving to Node #0,4,1 Current State: 47:[99, 46], Operations: ['18+9=27', '73-27=46'] Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 99+46=145, Resulting Numbers: [145] 145,47 unequal: No Solution Exploring Operation: 99*46=4554, Resulting Numbers: [4554] 4554,47 unequal: No Solution Moving to Node #0,4,0 Current State: 47:[73, 126], Operations: ['18+9=27', '99+27=126'] Exploring Operation: 73*126=9198, Resulting Numbers: [9198] 9198,47 unequal: No Solution Exploring Operation: 73+126=199, Resulting Numbers: [199] 199,47 unequal: No Solution Exploring Operation: 126-73=53, Resulting Numbers: [53] 53,47 unequal: No Solution Moving to Node #0,4,2 Current State: 47:[99, 100], Operations: ['18+9=27', '73+27=100'] Exploring Operation: 100-99=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 99+100=199, Resulting Numbers: [199] 199,47 unequal: No Solution Exploring Operation: 99*100=9900, Resulting Numbers: [9900] 9900,47 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
[ 67, 22, 15, 21 ]
53
[ "67+22=89", "15+21=36", "89-36=53" ]
Current State: 53:[67, 22, 15, 21], Operations: [] Exploring Operation: 67+22=89, Resulting Numbers: [15, 21, 89] Generated Node #2: [15, 21, 89] from Operation: 67+22=89 Current State: 53:[15, 21, 89], Operations: ['67+22=89'] Exploring Operation: 15+21=36, Resulting Numbers: [89, 36] Generated Node #3: [89, 36] from Operation: 15+21=36 Current State: 53:[89, 36], Operations: ['67+22=89', '15+21=36'] Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[67, 22, 15, 21], Operations: [] Exploring Operation: 22+21=43, Resulting Numbers: [67, 15, 43] Generated Node #0,0: 53:[67, 15, 43] Operation: 22+21=43 Exploring Operation: 15+21=36, Resulting Numbers: [67, 22, 36] Generated Node #0,1: 53:[67, 22, 36] Operation: 15+21=36 Exploring Operation: 22+15=37, Resulting Numbers: [67, 21, 37] Generated Node #0,2: 53:[67, 21, 37] Operation: 22+15=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[67, 15, 43], Operations: ['22+21=43'] Exploring Operation: 67+15=82, Resulting Numbers: [43, 82] Generated Node #0,0,0: 53:[43, 82] Operation: 67+15=82 Exploring Operation: 15+43=58, Resulting Numbers: [67, 58] Generated Node #0,0,1: 53:[67, 58] Operation: 15+43=58 Exploring Operation: 67-15=52, Resulting Numbers: [43, 52] Generated Node #0,0,2: 53:[43, 52] Operation: 67-15=52 Moving to Node #0,0,2 Current State: 53:[43, 52], Operations: ['22+21=43', '67-15=52'] Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,53 unequal: No Solution Exploring Operation: 43+52=95, Resulting Numbers: [95] 95,53 unequal: No Solution Exploring Operation: 43*52=2236, Resulting Numbers: [2236] 2236,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[67, 58], Operations: ['22+21=43', '15+43=58'] Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,53 unequal: No Solution Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,53 unequal: No Solution Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[43, 82], Operations: ['22+21=43', '67+15=82'] Exploring Operation: 43+82=125, Resulting Numbers: [125] 125,53 unequal: No Solution Exploring Operation: 43*82=3526, Resulting Numbers: [3526] 3526,53 unequal: No Solution Exploring Operation: 82-43=39, Resulting Numbers: [39] 39,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[67, 22, 36], Operations: ['15+21=36'] Exploring Operation: 67+22=89, Resulting Numbers: [36, 89] Generated Node #0,1,0: 53:[36, 89] Operation: 67+22=89 Exploring Operation: 22+36=58, Resulting Numbers: [67, 58] Generated Node #0,1,1: 53:[67, 58] Operation: 22+36=58 Exploring Operation: 67-22=45, Resulting Numbers: [36, 45] Generated Node #0,1,2: 53:[36, 45] Operation: 67-22=45 Moving to Node #0,1,1 Current State: 53:[67, 58], Operations: ['15+21=36', '22+36=58'] Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,53 unequal: No Solution Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,53 unequal: No Solution Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[36, 45], Operations: ['15+21=36', '67-22=45'] Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,53 unequal: No Solution Exploring Operation: 36*45=1620, Resulting Numbers: [1620] 1620,53 unequal: No Solution Exploring Operation: 36+45=81, Resulting Numbers: [81] 81,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[36, 89], Operations: ['15+21=36', '67+22=89'] Exploring Operation: 36+89=125, Resulting Numbers: [125] 125,53 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[67, 22, 15, 21], Operations: [] Exploring Operation: 15+21=36, Resulting Numbers: [67, 22, 36] Generated Node #0,1: 53:[67, 22, 36] Operation: 15+21=36 Moving to Node #0,1 Current State: 53:[67, 22, 36], Operations: ['15+21=36'] Exploring Operation: 67+22=89, Resulting Numbers: [36, 89] Generated Node #0,1,0: 53:[36, 89] Operation: 67+22=89 Moving to Node #0,1,0 Current State: 53:[36, 89], Operations: ['15+21=36', '67+22=89'] Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_3
sum_heuristic
[ 13, 20, 3, 99 ]
66
[ "13+20=33", "99/3=33", "33+33=66" ]
Current State: 66:[13, 20, 3, 99], Operations: [] Exploring Operation: 13+20=33, Resulting Numbers: [3, 99, 33] Generated Node #2: [3, 99, 33] from Operation: 13+20=33 Current State: 66:[3, 99, 33], Operations: ['13+20=33'] Exploring Operation: 99/3=33, Resulting Numbers: [33, 33] Generated Node #3: [33, 33] from Operation: 99/3=33 Current State: 66:[33, 33], Operations: ['13+20=33', '99/3=33'] Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[13, 20, 3, 99], Operations: [] Exploring Operation: 99-13=86, Resulting Numbers: [20, 3, 86] Generated Node #0,0: 66:[20, 3, 86] Operation: 99-13=86 Exploring Operation: 99/3=33, Resulting Numbers: [13, 20, 33] Generated Node #0,1: 66:[13, 20, 33] Operation: 99/3=33 Exploring Operation: 20-13=7, Resulting Numbers: [3, 99, 7] Generated Node #0,2: 66:[3, 99, 7] Operation: 20-13=7 Exploring Operation: 99-20=79, Resulting Numbers: [13, 3, 79] Generated Node #0,3: 66:[13, 3, 79] Operation: 99-20=79 Exploring Operation: 13+20=33, Resulting Numbers: [3, 99, 33] Generated Node #0,4: 66:[3, 99, 33] Operation: 13+20=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[13, 20, 33], Operations: ['99/3=33'] Exploring Operation: 13+33=46, Resulting Numbers: [20, 46] Generated Node #0,1,0: 66:[20, 46] Operation: 13+33=46 Exploring Operation: 20-13=7, Resulting Numbers: [33, 7] Generated Node #0,1,1: 66:[33, 7] Operation: 20-13=7 Exploring Operation: 13+20=33, Resulting Numbers: [33, 33] Generated Node #0,1,2: 66:[33, 33] Operation: 13+20=33 Exploring Operation: 33-20=13, Resulting Numbers: [13, 13] Generated Node #0,1,3: 66:[13, 13] Operation: 33-20=13 Exploring Operation: 33-13=20, Resulting Numbers: [20, 20] Generated Node #0,1,4: 66:[20, 20] Operation: 33-13=20 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 66:[33, 33], Operations: ['99/3=33', '13+20=33'] Exploring Operation: 33-33=0, Resulting Numbers: [0] 0,66 unequal: No Solution Exploring Operation: 33/33=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 33*33=1089, Resulting Numbers: [1089] 1089,66 unequal: No Solution Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[13, 20, 3, 99], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [13, 20, 33] Generated Node #0,1: 66:[13, 20, 33] Operation: 99/3=33 Moving to Node #0,1 Current State: 66:[13, 20, 33], Operations: ['99/3=33'] Exploring Operation: 13+20=33, Resulting Numbers: [33, 33] Generated Node #0,1,2: 66:[33, 33] Operation: 13+20=33 Moving to Node #0,1,2 Current State: 66:[33, 33], Operations: ['99/3=33', '13+20=33'] Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 78, 23, 10, 27 ]
83
[ "23+27=50", "50/10=5", "78+5=83" ]
Current State: 83:[78, 23, 10, 27], Operations: [] Exploring Operation: 23+27=50, Resulting Numbers: [78, 10, 50] Generated Node #2: [78, 10, 50] from Operation: 23+27=50 Current State: 83:[78, 10, 50], Operations: ['23+27=50'] Exploring Operation: 50/10=5, Resulting Numbers: [78, 5] Generated Node #3: [78, 5] from Operation: 50/10=5 Current State: 83:[78, 5], Operations: ['23+27=50', '50/10=5'] Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[78, 23, 10, 27], Operations: [] Exploring Operation: 23+27=50, Resulting Numbers: [78, 10, 50] Generated Node #0,0: 83:[78, 10, 50] Operation: 23+27=50 Exploring Operation: 23+10=33, Resulting Numbers: [78, 27, 33] Generated Node #0,1: 83:[78, 27, 33] Operation: 23+10=33 Exploring Operation: 10+27=37, Resulting Numbers: [78, 23, 37] Generated Node #0,2: 83:[78, 23, 37] Operation: 10+27=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[78, 10, 50], Operations: ['23+27=50'] Exploring Operation: 10+50=60, Resulting Numbers: [78, 60] Generated Node #0,0,0: 83:[78, 60] Operation: 10+50=60 Exploring Operation: 78-10=68, Resulting Numbers: [50, 68] Generated Node #0,0,1: 83:[50, 68] Operation: 78-10=68 Exploring Operation: 78+10=88, Resulting Numbers: [50, 88] Generated Node #0,0,2: 83:[50, 88] Operation: 78+10=88 Moving to Node #0,0,0 Current State: 83:[78, 60], Operations: ['23+27=50', '10+50=60'] Exploring Operation: 78+60=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 78*60=4680, Resulting Numbers: [4680] 4680,83 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[50, 88], Operations: ['23+27=50', '78+10=88'] Exploring Operation: 50*88=4400, Resulting Numbers: [4400] 4400,83 unequal: No Solution Exploring Operation: 50+88=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[50, 68], Operations: ['23+27=50', '78-10=68'] Exploring Operation: 50+68=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 50*68=3400, Resulting Numbers: [3400] 3400,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 Current State: 83:[78, 27, 33], Operations: ['23+10=33'] Exploring Operation: 27+33=60, Resulting Numbers: [78, 60] Generated Node #0,1,0: 83:[78, 60] Operation: 27+33=60 Exploring Operation: 78+27=105, Resulting Numbers: [33, 105] Generated Node #0,1,1: 83:[33, 105] Operation: 78+27=105 Exploring Operation: 78-27=51, Resulting Numbers: [33, 51] Generated Node #0,1,2: 83:[33, 51] Operation: 78-27=51 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[78, 60], Operations: ['23+10=33', '27+33=60'] Exploring Operation: 78+60=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 78*60=4680, Resulting Numbers: [4680] 4680,83 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,83 unequal: No Solution No 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: 83:[33, 105], Operations: ['23+10=33', '78+27=105'] Exploring Operation: 33*105=3465, Resulting Numbers: [3465] 3465,83 unequal: No Solution Exploring Operation: 105-33=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 33+105=138, Resulting Numbers: [138] 138,83 unequal: No Solution No 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: 83:[33, 51], Operations: ['23+10=33', '78-27=51'] Exploring Operation: 33+51=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 33*51=1683, Resulting Numbers: [1683] 1683,83 unequal: No Solution Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,83 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: 83:[78, 23, 37], Operations: ['10+27=37'] Exploring Operation: 78+23=101, Resulting Numbers: [37, 101] Generated Node #0,2,0: 83:[37, 101] Operation: 78+23=101 Exploring Operation: 78-23=55, Resulting Numbers: [37, 55] Generated Node #0,2,1: 83:[37, 55] Operation: 78-23=55 Exploring Operation: 23+37=60, Resulting Numbers: [78, 60] Generated Node #0,2,2: 83:[78, 60] Operation: 23+37=60 Moving to Node #0,2,2 Current State: 83:[78, 60], Operations: ['10+27=37', '23+37=60'] Exploring Operation: 78*60=4680, Resulting Numbers: [4680] 4680,83 unequal: No Solution Exploring Operation: 78+60=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 78-60=18, Resulting Numbers: [18] 18,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[37, 101], Operations: ['10+27=37', '78+23=101'] Exploring Operation: 37*101=3737, Resulting Numbers: [3737] 3737,83 unequal: No Solution Exploring Operation: 37+101=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 101-37=64, Resulting Numbers: [64] 64,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[37, 55], Operations: ['10+27=37', '78-23=55'] Exploring Operation: 37+55=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 55-37=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 37*55=2035, Resulting Numbers: [2035] 2035,83 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
[ 99, 1, 43, 33 ]
41
[ "99/33=3", "1+43=44", "44-3=41" ]
Current State: 41:[99, 1, 43, 33], Operations: [] Exploring Operation: 99/33=3, Resulting Numbers: [1, 43, 3] Generated Node #2: [1, 43, 3] from Operation: 99/33=3 Current State: 41:[1, 43, 3], Operations: ['99/33=3'] Exploring Operation: 1+43=44, Resulting Numbers: [3, 44] Generated Node #3: [3, 44] from Operation: 1+43=44 Current State: 41:[3, 44], Operations: ['99/33=3', '1+43=44'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[99, 1, 43, 33], Operations: [] Exploring Operation: 99-43=56, Resulting Numbers: [1, 33, 56] Generated Node #0,0: 41:[1, 33, 56] Operation: 99-43=56 Exploring Operation: 99-1=98, Resulting Numbers: [43, 33, 98] Generated Node #0,1: 41:[43, 33, 98] Operation: 99-1=98 Moving to Node #0,0 Current State: 41:[1, 33, 56], Operations: ['99-43=56'] Exploring Operation: 1+33=34, Resulting Numbers: [56, 34] Generated Node #0,0,0: 41:[56, 34] Operation: 1+33=34 Exploring Operation: 56-1=55, Resulting Numbers: [33, 55] Generated Node #0,0,1: 41:[33, 55] Operation: 56-1=55 Moving to Node #0,1 Current State: 41:[43, 33, 98], Operations: ['99-1=98'] Exploring Operation: 98-43=55, Resulting Numbers: [33, 55] Generated Node #0,1,0: 41:[33, 55] Operation: 98-43=55 Exploring Operation: 98-33=65, Resulting Numbers: [43, 65] Generated Node #0,1,1: 41:[43, 65] Operation: 98-33=65 Moving to Node #0,0,0 Current State: 41:[56, 34], Operations: ['99-43=56', '1+33=34'] Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,41 unequal: No Solution Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[33, 55], Operations: ['99-1=98', '98-43=55'] Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 33+55=88, Resulting Numbers: [88] 88,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[33, 55], Operations: ['99-43=56', '56-1=55'] Exploring Operation: 33+55=88, Resulting Numbers: [88] 88,41 unequal: No Solution Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[43, 65], Operations: ['99-1=98', '98-33=65'] Exploring Operation: 43+65=108, Resulting Numbers: [108] 108,41 unequal: No Solution Exploring Operation: 65-43=22, Resulting Numbers: [22] 22,41 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 52, 6, 55, 89 ]
28
[ "55+89=144", "144/6=24", "52-24=28" ]
Current State: 28:[52, 6, 55, 89], Operations: [] Exploring Operation: 55+89=144, Resulting Numbers: [52, 6, 144] Generated Node #2: [52, 6, 144] from Operation: 55+89=144 Current State: 28:[52, 6, 144], Operations: ['55+89=144'] Exploring Operation: 144/6=24, Resulting Numbers: [52, 24] Generated Node #3: [52, 24] from Operation: 144/6=24 Current State: 28:[52, 24], Operations: ['55+89=144', '144/6=24'] Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[52, 6, 55, 89], Operations: [] Exploring Operation: 89-55=34, Resulting Numbers: [52, 6, 34] Generated Node #0,0: 28:[52, 6, 34] Operation: 89-55=34 Exploring Operation: 89-52=37, Resulting Numbers: [6, 55, 37] Generated Node #0,1: 28:[6, 55, 37] Operation: 89-52=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[52, 6, 34], Operations: ['89-55=34'] Exploring Operation: 52-34=18, Resulting Numbers: [6, 18] Generated Node #0,0,0: 28:[6, 18] Operation: 52-34=18 Exploring Operation: 52-6=46, Resulting Numbers: [34, 46] Generated Node #0,0,1: 28:[34, 46] Operation: 52-6=46 Moving to Node #0,0,0 Current State: 28:[6, 18], Operations: ['89-55=34', '52-34=18'] Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[34, 46], Operations: ['89-55=34', '52-6=46'] Exploring Operation: 34+46=80, Resulting Numbers: [80] 80,28 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,28 unequal: No Solution No 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: 28:[6, 55, 37], Operations: ['89-52=37'] Exploring Operation: 55-6=49, Resulting Numbers: [37, 49] Generated Node #0,1,0: 28:[37, 49] Operation: 55-6=49 Exploring Operation: 55-37=18, Resulting Numbers: [6, 18] Generated Node #0,1,1: 28:[6, 18] Operation: 55-37=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[6, 18], Operations: ['89-52=37', '55-37=18'] Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,28 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,28 unequal: No Solution No 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: 28:[37, 49], Operations: ['89-52=37', '55-6=49'] Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 37+49=86, Resulting Numbers: [86] 86,28 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
[ 45, 35, 32, 23 ]
71
[ "45+35=80", "32-23=9", "80-9=71" ]
Current State: 71:[45, 35, 32, 23], Operations: [] Exploring Operation: 45+35=80, Resulting Numbers: [32, 23, 80] Generated Node #2: [32, 23, 80] from Operation: 45+35=80 Current State: 71:[32, 23, 80], Operations: ['45+35=80'] Exploring Operation: 32-23=9, Resulting Numbers: [80, 9] Generated Node #3: [80, 9] from Operation: 32-23=9 Current State: 71:[80, 9], Operations: ['45+35=80', '32-23=9'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[45, 35, 32, 23], Operations: [] Exploring Operation: 35+32=67, Resulting Numbers: [45, 23, 67] Generated Node #0,0: 71:[45, 23, 67] Operation: 35+32=67 Exploring Operation: 45+23=68, Resulting Numbers: [35, 32, 68] Generated Node #0,1: 71:[35, 32, 68] Operation: 45+23=68 Exploring Operation: 35+23=58, Resulting Numbers: [45, 32, 58] Generated Node #0,2: 71:[45, 32, 58] Operation: 35+23=58 Exploring Operation: 32+23=55, Resulting Numbers: [45, 35, 55] Generated Node #0,3: 71:[45, 35, 55] Operation: 32+23=55 Exploring Operation: 45+32=77, Resulting Numbers: [35, 23, 77] Generated Node #0,4: 71:[35, 23, 77] Operation: 45+32=77 Moving to Node #0,0 Current State: 71:[45, 23, 67], Operations: ['35+32=67'] Exploring Operation: 45+67=112, Resulting Numbers: [23, 112] Generated Node #0,0,0: 71:[23, 112] Operation: 45+67=112 Exploring Operation: 45+23=68, Resulting Numbers: [67, 68] Generated Node #0,0,1: 71:[67, 68] Operation: 45+23=68 Exploring Operation: 67-23=44, Resulting Numbers: [45, 44] Generated Node #0,0,2: 71:[45, 44] Operation: 67-23=44 Exploring Operation: 45-23=22, Resulting Numbers: [67, 22] Generated Node #0,0,3: 71:[67, 22] Operation: 45-23=22 Exploring Operation: 23+67=90, Resulting Numbers: [45, 90] Generated Node #0,0,4: 71:[45, 90] Operation: 23+67=90 Moving to Node #0,2 Current State: 71:[45, 32, 58], Operations: ['35+23=58'] Exploring Operation: 32+58=90, Resulting Numbers: [45, 90] Generated Node #0,2,0: 71:[45, 90] Operation: 32+58=90 Exploring Operation: 58-32=26, Resulting Numbers: [45, 26] Generated Node #0,2,1: 71:[45, 26] Operation: 58-32=26 Exploring Operation: 45+32=77, Resulting Numbers: [58, 77] Generated Node #0,2,2: 71:[58, 77] Operation: 45+32=77 Exploring Operation: 45-32=13, Resulting Numbers: [58, 13] Generated Node #0,2,3: 71:[58, 13] Operation: 45-32=13 Exploring Operation: 45+58=103, Resulting Numbers: [32, 103] Generated Node #0,2,4: 71:[32, 103] Operation: 45+58=103 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 71:[58, 77], Operations: ['35+23=58', '45+32=77'] Exploring Operation: 58*77=4466, Resulting Numbers: [4466] 4466,71 unequal: No Solution Exploring Operation: 77-58=19, Resulting Numbers: [19] 19,71 unequal: No Solution Exploring Operation: 58+77=135, Resulting Numbers: [135] 135,71 unequal: No Solution No 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: 71:[45, 90], Operations: ['35+23=58', '32+58=90'] Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 45+90=135, Resulting Numbers: [135] 135,71 unequal: No Solution Exploring Operation: 45*90=4050, Resulting Numbers: [4050] 4050,71 unequal: No Solution No 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: 71:[45, 26], Operations: ['35+23=58', '58-32=26'] Exploring Operation: 45*26=1170, Resulting Numbers: [1170] 1170,71 unequal: No Solution Exploring Operation: 45+26=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[45, 35, 32, 23], Operations: [] Exploring Operation: 35+23=58, Resulting Numbers: [45, 32, 58] Generated Node #0,2: 71:[45, 32, 58] Operation: 35+23=58 Moving to Node #0,2 Current State: 71:[45, 32, 58], Operations: ['35+23=58'] Exploring Operation: 58-32=26, Resulting Numbers: [45, 26] Generated Node #0,2,1: 71:[45, 26] Operation: 58-32=26 Moving to Node #0,2,1 Current State: 71:[45, 26], Operations: ['35+23=58', '58-32=26'] Exploring Operation: 45+26=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
mult_heuristic
[ 71, 57, 43, 95 ]
97
[ "71+43=114", "114/57=2", "95+2=97" ]
Current State: 97:[71, 57, 43, 95], Operations: [] Exploring Operation: 71+43=114, Resulting Numbers: [57, 95, 114] Generated Node #2: [57, 95, 114] from Operation: 71+43=114 Current State: 97:[57, 95, 114], Operations: ['71+43=114'] Exploring Operation: 114/57=2, Resulting Numbers: [95, 2] Generated Node #3: [95, 2] from Operation: 114/57=2 Current State: 97:[95, 2], Operations: ['71+43=114', '114/57=2'] Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[71, 57, 43, 95], Operations: [] Exploring Operation: 71+57=128, Resulting Numbers: [43, 95, 128] Generated Node #0,0: 97:[43, 95, 128] Operation: 71+57=128 Exploring Operation: 71-43=28, Resulting Numbers: [57, 95, 28] Generated Node #0,1: 97:[57, 95, 28] Operation: 71-43=28 Exploring Operation: 43+95=138, Resulting Numbers: [71, 57, 138] Generated Node #0,2: 97:[71, 57, 138] Operation: 43+95=138 Exploring Operation: 57+43=100, Resulting Numbers: [71, 95, 100] Generated Node #0,3: 97:[71, 95, 100] Operation: 57+43=100 Exploring Operation: 71+43=114, Resulting Numbers: [57, 95, 114] Generated Node #0,4: 97:[57, 95, 114] Operation: 71+43=114 Moving to Node #0,3 Current State: 97:[71, 95, 100], Operations: ['57+43=100'] Exploring Operation: 100-71=29, Resulting Numbers: [95, 29] Generated Node #0,3,0: 97:[95, 29] Operation: 100-71=29 Exploring Operation: 95-71=24, Resulting Numbers: [100, 24] Generated Node #0,3,1: 97:[100, 24] Operation: 95-71=24 Exploring Operation: 71+95=166, Resulting Numbers: [100, 166] Generated Node #0,3,2: 97:[100, 166] Operation: 71+95=166 Exploring Operation: 100-95=5, Resulting Numbers: [71, 5] Generated Node #0,3,3: 97:[71, 5] Operation: 100-95=5 Exploring Operation: 71+100=171, Resulting Numbers: [95, 171] Generated Node #0,3,4: 97:[95, 171] Operation: 71+100=171 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[95, 29], Operations: ['57+43=100', '100-71=29'] Exploring Operation: 95*29=2755, Resulting Numbers: [2755] 2755,97 unequal: No Solution Exploring Operation: 95+29=124, Resulting Numbers: [124] 124,97 unequal: No Solution Exploring Operation: 95-29=66, Resulting Numbers: [66] 66,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[100, 166], Operations: ['57+43=100', '71+95=166'] Exploring Operation: 166-100=66, Resulting Numbers: [66] 66,97 unequal: No Solution Exploring Operation: 100+166=266, Resulting Numbers: [266] 266,97 unequal: No Solution Exploring Operation: 100*166=16600, Resulting Numbers: [16600] 16600,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[100, 24], Operations: ['57+43=100', '95-71=24'] Exploring Operation: 100*24=2400, Resulting Numbers: [2400] 2400,97 unequal: No Solution Exploring Operation: 100-24=76, Resulting Numbers: [76] 76,97 unequal: No Solution Exploring Operation: 100+24=124, Resulting Numbers: [124] 124,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 97:[95, 171], Operations: ['57+43=100', '71+100=171'] Exploring Operation: 95*171=16245, Resulting Numbers: [16245] 16245,97 unequal: No Solution Exploring Operation: 171-95=76, Resulting Numbers: [76] 76,97 unequal: No Solution Exploring Operation: 95+171=266, Resulting Numbers: [266] 266,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 97:[71, 5], Operations: ['57+43=100', '100-95=5'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,97 unequal: No Solution Exploring Operation: 71+5=76, Resulting Numbers: [76] 76,97 unequal: No Solution Exploring Operation: 71*5=355, Resulting Numbers: [355] 355,97 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: 97:[57, 95, 114], Operations: ['71+43=114'] Exploring Operation: 114-57=57, Resulting Numbers: [95, 57] Generated Node #0,4,0: 97:[95, 57] Operation: 114-57=57 Exploring Operation: 57+95=152, Resulting Numbers: [114, 152] Generated Node #0,4,1: 97:[114, 152] Operation: 57+95=152 Exploring Operation: 95-57=38, Resulting Numbers: [114, 38] Generated Node #0,4,2: 97:[114, 38] Operation: 95-57=38 Exploring Operation: 114/57=2, Resulting Numbers: [95, 2] Generated Node #0,4,3: 97:[95, 2] Operation: 114/57=2 Exploring Operation: 57+114=171, Resulting Numbers: [95, 171] Generated Node #0,4,4: 97:[95, 171] Operation: 57+114=171 Moving to Node #0,0 Current State: 97:[43, 95, 128], Operations: ['71+57=128'] Exploring Operation: 128-95=33, Resulting Numbers: [43, 33] Generated Node #0,0,0: 97:[43, 33] Operation: 128-95=33 Exploring Operation: 128-43=85, Resulting Numbers: [95, 85] Generated Node #0,0,1: 97:[95, 85] Operation: 128-43=85 Exploring Operation: 95-43=52, Resulting Numbers: [128, 52] Generated Node #0,0,2: 97:[128, 52] Operation: 95-43=52 Exploring Operation: 43+95=138, Resulting Numbers: [128, 138] Generated Node #0,0,3: 97:[128, 138] Operation: 43+95=138 Exploring Operation: 43+128=171, Resulting Numbers: [95, 171] Generated Node #0,0,4: 97:[95, 171] Operation: 43+128=171 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[95, 85], Operations: ['71+57=128', '128-43=85'] Exploring Operation: 95*85=8075, Resulting Numbers: [8075] 8075,97 unequal: No Solution Exploring Operation: 95+85=180, Resulting Numbers: [180] 180,97 unequal: No Solution Exploring Operation: 95-85=10, Resulting Numbers: [10] 10,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 97:[128, 138], Operations: ['71+57=128', '43+95=138'] Exploring Operation: 138-128=10, Resulting Numbers: [10] 10,97 unequal: No Solution Exploring Operation: 128+138=266, Resulting Numbers: [266] 266,97 unequal: No Solution Exploring Operation: 128*138=17664, Resulting Numbers: [17664] 17664,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[128, 52], Operations: ['71+57=128', '95-43=52'] Exploring Operation: 128*52=6656, Resulting Numbers: [6656] 6656,97 unequal: No Solution Exploring Operation: 128-52=76, Resulting Numbers: [76] 76,97 unequal: No Solution Exploring Operation: 128+52=180, Resulting Numbers: [180] 180,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 97:[95, 171], Operations: ['71+57=128', '43+128=171'] Exploring Operation: 95*171=16245, Resulting Numbers: [16245] 16245,97 unequal: No Solution Exploring Operation: 95+171=266, Resulting Numbers: [266] 266,97 unequal: No Solution Exploring Operation: 171-95=76, Resulting Numbers: [76] 76,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[43, 33], Operations: ['71+57=128', '128-95=33'] Exploring Operation: 43*33=1419, Resulting Numbers: [1419] 1419,97 unequal: No Solution Exploring Operation: 43+33=76, Resulting Numbers: [76] 76,97 unequal: No Solution Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,97 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: 97:[71, 57, 138], Operations: ['43+95=138'] Exploring Operation: 57+138=195, Resulting Numbers: [71, 195] Generated Node #0,2,0: 97:[71, 195] Operation: 57+138=195 Exploring Operation: 138-71=67, Resulting Numbers: [57, 67] Generated Node #0,2,1: 97:[57, 67] Operation: 138-71=67 Exploring Operation: 138-57=81, Resulting Numbers: [71, 81] Generated Node #0,2,2: 97:[71, 81] Operation: 138-57=81 Exploring Operation: 71-57=14, Resulting Numbers: [138, 14] Generated Node #0,2,3: 97:[138, 14] Operation: 71-57=14 Exploring Operation: 71+57=128, Resulting Numbers: [138, 128] Generated Node #0,2,4: 97:[138, 128] Operation: 71+57=128 Moving to Node #0,1 Current State: 97:[57, 95, 28], Operations: ['71-43=28'] Exploring Operation: 57+28=85, Resulting Numbers: [95, 85] Generated Node #0,1,0: 97:[95, 85] Operation: 57+28=85 Exploring Operation: 57+95=152, Resulting Numbers: [28, 152] Generated Node #0,1,1: 97:[28, 152] Operation: 57+95=152 Exploring Operation: 57-28=29, Resulting Numbers: [95, 29] Generated Node #0,1,2: 97:[95, 29] Operation: 57-28=29 Exploring Operation: 95-28=67, Resulting Numbers: [57, 67] Generated Node #0,1,3: 97:[57, 67] Operation: 95-28=67 Exploring Operation: 95+28=123, Resulting Numbers: [57, 123] Generated Node #0,1,4: 97:[57, 123] Operation: 95+28=123 Moving to Node #0,1,0 Current State: 97:[95, 85], Operations: ['71-43=28', '57+28=85'] Exploring Operation: 95*85=8075, Resulting Numbers: [8075] 8075,97 unequal: No Solution Exploring Operation: 95-85=10, Resulting Numbers: [10] 10,97 unequal: No Solution Exploring Operation: 95+85=180, Resulting Numbers: [180] 180,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[71, 81], Operations: ['43+95=138', '138-57=81'] Exploring Operation: 71+81=152, Resulting Numbers: [152] 152,97 unequal: No Solution Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,97 unequal: No Solution Exploring Operation: 71*81=5751, Resulting Numbers: [5751] 5751,97 unequal: No Solution Moving to Node #0,4,0 Current State: 97:[95, 57], Operations: ['71+43=114', '114-57=57'] Exploring Operation: 95*57=5415, Resulting Numbers: [5415] 5415,97 unequal: No Solution Exploring Operation: 95+57=152, Resulting Numbers: [152] 152,97 unequal: No Solution Exploring Operation: 95-57=38, Resulting Numbers: [38] 38,97 unequal: No Solution Moving to Node #0,1,4 Current State: 97:[57, 123], Operations: ['71-43=28', '95+28=123'] Exploring Operation: 123-57=66, Resulting Numbers: [66] 66,97 unequal: No Solution Exploring Operation: 57+123=180, Resulting Numbers: [180] 180,97 unequal: No Solution Exploring Operation: 57*123=7011, Resulting Numbers: [7011] 7011,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[57, 67], Operations: ['43+95=138', '138-71=67'] Exploring Operation: 57*67=3819, Resulting Numbers: [3819] 3819,97 unequal: No Solution Exploring Operation: 57+67=124, Resulting Numbers: [124] 124,97 unequal: No Solution Exploring Operation: 67-57=10, Resulting Numbers: [10] 10,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[95, 29], Operations: ['71-43=28', '57-28=29'] Exploring Operation: 95*29=2755, Resulting Numbers: [2755] 2755,97 unequal: No Solution Exploring Operation: 95-29=66, Resulting Numbers: [66] 66,97 unequal: No Solution Exploring Operation: 95+29=124, Resulting Numbers: [124] 124,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[57, 67], Operations: ['71-43=28', '95-28=67'] Exploring Operation: 67-57=10, Resulting Numbers: [10] 10,97 unequal: No Solution Exploring Operation: 57*67=3819, Resulting Numbers: [3819] 3819,97 unequal: No Solution Exploring Operation: 57+67=124, Resulting Numbers: [124] 124,97 unequal: No Solution Moving to Node #0,4,1 Current State: 97:[114, 152], Operations: ['71+43=114', '57+95=152'] Exploring Operation: 114*152=17328, Resulting Numbers: [17328] 17328,97 unequal: No Solution Exploring Operation: 152-114=38, Resulting Numbers: [38] 38,97 unequal: No Solution Exploring Operation: 114+152=266, Resulting Numbers: [266] 266,97 unequal: No Solution Moving to Node #0,2,4 Current State: 97:[138, 128], Operations: ['43+95=138', '71+57=128'] Exploring Operation: 138*128=17664, Resulting Numbers: [17664] 17664,97 unequal: No Solution Exploring Operation: 138+128=266, Resulting Numbers: [266] 266,97 unequal: No Solution Exploring Operation: 138-128=10, Resulting Numbers: [10] 10,97 unequal: No Solution Moving to Node #0,4,2 Current State: 97:[114, 38], Operations: ['71+43=114', '95-57=38'] Exploring Operation: 114*38=4332, Resulting Numbers: [4332] 4332,97 unequal: No Solution Exploring Operation: 114-38=76, Resulting Numbers: [76] 76,97 unequal: No Solution Exploring Operation: 114+38=152, Resulting Numbers: [152] 152,97 unequal: No Solution Exploring Operation: 114/38=3, Resulting Numbers: [3] 3,97 unequal: No Solution Moving to Node #0,4,4 Current State: 97:[95, 171], Operations: ['71+43=114', '57+114=171'] Exploring Operation: 171-95=76, Resulting Numbers: [76] 76,97 unequal: No Solution Exploring Operation: 95+171=266, Resulting Numbers: [266] 266,97 unequal: No Solution Exploring Operation: 95*171=16245, Resulting Numbers: [16245] 16245,97 unequal: No Solution Moving to Node #0,4,3 Current State: 97:[95, 2], Operations: ['71+43=114', '114/57=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,97 unequal: No Solution Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,97 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[71, 57, 43, 95], Operations: [] Exploring Operation: 71+43=114, Resulting Numbers: [57, 95, 114] Generated Node #0,4: 97:[57, 95, 114] Operation: 71+43=114 Moving to Node #0,4 Current State: 97:[57, 95, 114], Operations: ['71+43=114'] Exploring Operation: 114/57=2, Resulting Numbers: [95, 2] Generated Node #0,4,3: 97:[95, 2] Operation: 114/57=2 Moving to Node #0,4,3 Current State: 97:[95, 2], Operations: ['71+43=114', '114/57=2'] Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.912326
hs_5
sum_heuristic
[ 60, 44, 8, 20 ]
44
[ "60-44=16", "8+20=28", "16+28=44" ]
Current State: 44:[60, 44, 8, 20], Operations: [] Exploring Operation: 60-44=16, Resulting Numbers: [8, 20, 16] Generated Node #2: [8, 20, 16] from Operation: 60-44=16 Current State: 44:[8, 20, 16], Operations: ['60-44=16'] Exploring Operation: 8+20=28, Resulting Numbers: [16, 28] Generated Node #3: [16, 28] from Operation: 8+20=28 Current State: 44:[16, 28], Operations: ['60-44=16', '8+20=28'] Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[60, 44, 8, 20], Operations: [] Exploring Operation: 60-20=40, Resulting Numbers: [44, 8, 40] Generated Node #0,0: 44:[44, 8, 40] Operation: 60-20=40 Exploring Operation: 60/20=3, Resulting Numbers: [44, 8, 3] Generated Node #0,1: 44:[44, 8, 3] Operation: 60/20=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[44, 8, 3], Operations: ['60/20=3'] Exploring Operation: 8-3=5, Resulting Numbers: [44, 5] Generated Node #0,1,0: 44:[44, 5] Operation: 8-3=5 Exploring Operation: 8+3=11, Resulting Numbers: [44, 11] Generated Node #0,1,1: 44:[44, 11] Operation: 8+3=11 Moving to Node #0,1,1 Current State: 44:[44, 11], Operations: ['60/20=3', '8+3=11'] Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 44+11=55, Resulting Numbers: [55] 55,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[44, 5], Operations: ['60/20=3', '8-3=5'] Exploring Operation: 44+5=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,44 unequal: No Solution No 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: 44:[44, 8, 40], Operations: ['60-20=40'] Exploring Operation: 40/8=5, Resulting Numbers: [44, 5] Generated Node #0,0,0: 44:[44, 5] Operation: 40/8=5 Exploring Operation: 44-40=4, Resulting Numbers: [8, 4] Generated Node #0,0,1: 44:[8, 4] Operation: 44-40=4 Moving to Node #0,0,0 Current State: 44:[44, 5], Operations: ['60-20=40', '40/8=5'] Exploring Operation: 44+5=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[8, 4], Operations: ['60-20=40', '44-40=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,44 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
[ 35, 8, 86, 42 ]
51
[ "86+42=128", "128/8=16", "35+16=51" ]
Current State: 51:[35, 8, 86, 42], Operations: [] Exploring Operation: 86+42=128, Resulting Numbers: [35, 8, 128] Generated Node #2: [35, 8, 128] from Operation: 86+42=128 Current State: 51:[35, 8, 128], Operations: ['86+42=128'] Exploring Operation: 128/8=16, Resulting Numbers: [35, 16] Generated Node #3: [35, 16] from Operation: 128/8=16 Current State: 51:[35, 16], Operations: ['86+42=128', '128/8=16'] Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[35, 8, 86, 42], Operations: [] Exploring Operation: 86-35=51, Resulting Numbers: [8, 42, 51] Generated Node #0,0: 51:[8, 42, 51] Operation: 86-35=51 Exploring Operation: 86-42=44, Resulting Numbers: [35, 8, 44] Generated Node #0,1: 51:[35, 8, 44] Operation: 86-42=44 Moving to Node #0,0 Current State: 51:[8, 42, 51], Operations: ['86-35=51'] Exploring Operation: 8+42=50, Resulting Numbers: [51, 50] Generated Node #0,0,0: 51:[51, 50] Operation: 8+42=50 Exploring Operation: 51-42=9, Resulting Numbers: [8, 9] Generated Node #0,0,1: 51:[8, 9] Operation: 51-42=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[51, 50], Operations: ['86-35=51', '8+42=50'] Exploring Operation: 51+50=101, Resulting Numbers: [101] 101,51 unequal: No Solution Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[8, 9], Operations: ['86-35=51', '51-42=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 51:[35, 8, 44], Operations: ['86-42=44'] Exploring Operation: 44-35=9, Resulting Numbers: [8, 9] Generated Node #0,1,0: 51:[8, 9] Operation: 44-35=9 Exploring Operation: 35+8=43, Resulting Numbers: [44, 43] Generated Node #0,1,1: 51:[44, 43] Operation: 35+8=43 Moving to Node #0,1,0 Current State: 51:[8, 9], Operations: ['86-42=44', '44-35=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[44, 43], Operations: ['86-42=44', '35+8=43'] Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 44+43=87, Resulting Numbers: [87] 87,51 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 69, 76, 41, 8 ]
13
[ "69+76=145", "145-41=104", "104/8=13" ]
Current State: 13:[69, 76, 41, 8], Operations: [] Exploring Operation: 69+76=145, Resulting Numbers: [41, 8, 145] Generated Node #2: [41, 8, 145] from Operation: 69+76=145 Current State: 13:[41, 8, 145], Operations: ['69+76=145'] Exploring Operation: 145-41=104, Resulting Numbers: [8, 104] Generated Node #3: [8, 104] from Operation: 145-41=104 Current State: 13:[8, 104], Operations: ['69+76=145', '145-41=104'] Exploring Operation: 104/8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[69, 76, 41, 8], Operations: [] Exploring Operation: 76-69=7, Resulting Numbers: [41, 8, 7] Generated Node #0,0: 13:[41, 8, 7] Operation: 76-69=7 Exploring Operation: 76-41=35, Resulting Numbers: [69, 8, 35] Generated Node #0,1: 13:[69, 8, 35] Operation: 76-41=35 Exploring Operation: 69-41=28, Resulting Numbers: [76, 8, 28] Generated Node #0,2: 13:[76, 8, 28] Operation: 69-41=28 Moving to Node #0,0 Current State: 13:[41, 8, 7], Operations: ['76-69=7'] Exploring Operation: 41-7=34, Resulting Numbers: [8, 34] Generated Node #0,0,0: 13:[8, 34] Operation: 41-7=34 Exploring Operation: 41-8=33, Resulting Numbers: [7, 33] Generated Node #0,0,1: 13:[7, 33] Operation: 41-8=33 Exploring Operation: 8+7=15, Resulting Numbers: [41, 15] Generated Node #0,0,2: 13:[41, 15] Operation: 8+7=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[8, 34], Operations: ['76-69=7', '41-7=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,1 Current State: 13:[7, 33], Operations: ['76-69=7', '41-8=33'] Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,13 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,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:[41, 15], Operations: ['76-69=7', '8+7=15'] Exploring Operation: 41*15=615, Resulting Numbers: [615] 615,13 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 41+15=56, Resulting Numbers: [56] 56,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 13:[69, 8, 35], Operations: ['76-41=35'] Exploring Operation: 35-8=27, Resulting Numbers: [69, 27] Generated Node #0,1,0: 13:[69, 27] Operation: 35-8=27 Exploring Operation: 69-35=34, Resulting Numbers: [8, 34] Generated Node #0,1,1: 13:[8, 34] Operation: 69-35=34 Exploring Operation: 69-8=61, Resulting Numbers: [35, 61] Generated Node #0,1,2: 13:[35, 61] Operation: 69-8=61 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[8, 34], Operations: ['76-41=35', '69-35=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,1,0 Current State: 13:[69, 27], Operations: ['76-41=35', '35-8=27'] Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,13 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,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:[35, 61], Operations: ['76-41=35', '69-8=61'] Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,13 unequal: No Solution Exploring Operation: 35+61=96, Resulting Numbers: [96] 96,13 unequal: No Solution Exploring Operation: 35*61=2135, Resulting Numbers: [2135] 2135,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:[76, 8, 28], Operations: ['69-41=28'] Exploring Operation: 76-8=68, Resulting Numbers: [28, 68] Generated Node #0,2,0: 13:[28, 68] Operation: 76-8=68 Exploring Operation: 28-8=20, Resulting Numbers: [76, 20] Generated Node #0,2,1: 13:[76, 20] Operation: 28-8=20 Exploring Operation: 76-28=48, Resulting Numbers: [8, 48] Generated Node #0,2,2: 13:[8, 48] Operation: 76-28=48 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 13:[8, 48], Operations: ['69-41=28', '76-28=48'] Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,13 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,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:[28, 68], Operations: ['69-41=28', '76-8=68'] Exploring Operation: 28+68=96, Resulting Numbers: [96] 96,13 unequal: No Solution Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,13 unequal: No Solution Exploring Operation: 28*68=1904, Resulting Numbers: [1904] 1904,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 13:[76, 20], Operations: ['69-41=28', '28-8=20'] Exploring Operation: 76*20=1520, Resulting Numbers: [1520] 1520,13 unequal: No Solution Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,13 unequal: No Solution Exploring Operation: 76+20=96, Resulting Numbers: [96] 96,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic