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
[ 84, 70, 41, 36 ]
77
[ "84+70=154", "41+36=77", "154-77=77" ]
Current State: 77:[84, 70, 41, 36], Operations: [] Exploring Operation: 84+70=154, Resulting Numbers: [41, 36, 154] Generated Node #2: [41, 36, 154] from Operation: 84+70=154 Current State: 77:[41, 36, 154], Operations: ['84+70=154'] Exploring Operation: 41+36=77, Resulting Numbers: [154, 77] Generated Node #3: [154, 77] from Operation: 41+36=77 Current State: 77:[154, 77], Operations: ['84+70=154', '41+36=77'] Exploring Operation: 154-77=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[84, 70, 41, 36], Operations: [] Exploring Operation: 41+36=77, Resulting Numbers: [84, 70, 77] Generated Node #0,0: 77:[84, 70, 77] Operation: 41+36=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[84, 70, 77], Operations: ['41+36=77'] Exploring Operation: 84-70=14, Resulting Numbers: [77, 14] Generated Node #0,0,0: 77:[77, 14] Operation: 84-70=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[77, 14], Operations: ['41+36=77', '84-70=14'] Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 45, 3, 16, 11 ]
36
[ "16+11=27", "3*27=81", "81-45=36" ]
Current State: 36:[45, 3, 16, 11], Operations: [] Exploring Operation: 16+11=27, Resulting Numbers: [45, 3, 27] Generated Node #2: [45, 3, 27] from Operation: 16+11=27 Current State: 36:[45, 3, 27], Operations: ['16+11=27'] Exploring Operation: 3*27=81, Resulting Numbers: [45, 81] Generated Node #3: [45, 81] from Operation: 3*27=81 Current State: 36:[45, 81], Operations: ['16+11=27', '3*27=81'] Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[45, 3, 16, 11], Operations: [] Exploring Operation: 45-11=34, Resulting Numbers: [3, 16, 34] Generated Node #0,0: 36:[3, 16, 34] Operation: 45-11=34 Exploring Operation: 45/3=15, Resulting Numbers: [16, 11, 15] Generated Node #0,1: 36:[16, 11, 15] Operation: 45/3=15 Moving to Node #0,0 Current State: 36:[3, 16, 34], Operations: ['45-11=34'] Exploring Operation: 34-16=18, Resulting Numbers: [3, 18] Generated Node #0,0,0: 36:[3, 18] Operation: 34-16=18 Exploring Operation: 3+16=19, Resulting Numbers: [34, 19] Generated Node #0,0,1: 36:[34, 19] Operation: 3+16=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[3, 18], Operations: ['45-11=34', '34-16=18'] Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,36 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,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:[34, 19], Operations: ['45-11=34', '3+16=19'] Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,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:[16, 11, 15], Operations: ['45/3=15'] Exploring Operation: 16-15=1, Resulting Numbers: [11, 1] Generated Node #0,1,0: 36:[11, 1] Operation: 16-15=1 Exploring Operation: 15-11=4, Resulting Numbers: [16, 4] Generated Node #0,1,1: 36:[16, 4] Operation: 15-11=4 Moving to Node #0,1,0 Current State: 36:[11, 1], Operations: ['45/3=15', '16-15=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[16, 4], Operations: ['45/3=15', '15-11=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,36 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 1, 4, 48, 14 ]
65
[ "4-1=3", "48+14=62", "3+62=65" ]
Current State: 65:[1, 4, 48, 14], Operations: [] Exploring Operation: 4-1=3, Resulting Numbers: [48, 14, 3] Generated Node #2: [48, 14, 3] from Operation: 4-1=3 Current State: 65:[48, 14, 3], Operations: ['4-1=3'] Exploring Operation: 48+14=62, Resulting Numbers: [3, 62] Generated Node #3: [3, 62] from Operation: 48+14=62 Current State: 65:[3, 62], Operations: ['4-1=3', '48+14=62'] Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[1, 4, 48, 14], Operations: [] Exploring Operation: 48/4=12, Resulting Numbers: [1, 14, 12] Generated Node #0,0: 65:[1, 14, 12] Operation: 48/4=12 Exploring Operation: 48+14=62, Resulting Numbers: [1, 4, 62] Generated Node #0,1: 65:[1, 4, 62] Operation: 48+14=62 Exploring Operation: 1+48=49, Resulting Numbers: [4, 14, 49] Generated Node #0,2: 65:[4, 14, 49] Operation: 1+48=49 Exploring Operation: 1+4=5, Resulting Numbers: [48, 14, 5] Generated Node #0,3: 65:[48, 14, 5] Operation: 1+4=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[1, 14, 12], Operations: ['48/4=12'] Exploring Operation: 1+12=13, Resulting Numbers: [14, 13] Generated Node #0,0,0: 65:[14, 13] Operation: 1+12=13 Exploring Operation: 1*14=14, Resulting Numbers: [12, 14] Generated Node #0,0,1: 65:[12, 14] Operation: 1*14=14 Exploring Operation: 14/1=14, Resulting Numbers: [12, 14] Generated Node #0,0,2: 65:[12, 14] Operation: 14/1=14 Exploring Operation: 14-1=13, Resulting Numbers: [12, 13] Generated Node #0,0,3: 65:[12, 13] Operation: 14-1=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[14, 13], Operations: ['48/4=12', '1+12=13'] Exploring Operation: 14*13=182, Resulting Numbers: [182] 182,65 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,65 unequal: No Solution No 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: 65:[12, 13], Operations: ['48/4=12', '14-1=13'] Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,65 unequal: No Solution No 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: 65:[12, 14], Operations: ['48/4=12', '1*14=14'] Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,65 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,65 unequal: No Solution No 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: 65:[12, 14], Operations: ['48/4=12', '14/1=14'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,65 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,65 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: 65:[1, 4, 62], Operations: ['48+14=62'] Exploring Operation: 1+4=5, Resulting Numbers: [62, 5] Generated Node #0,1,0: 65:[62, 5] Operation: 1+4=5 Exploring Operation: 1+62=63, Resulting Numbers: [4, 63] Generated Node #0,1,1: 65:[4, 63] Operation: 1+62=63 Exploring Operation: 1*4=4, Resulting Numbers: [62, 4] Generated Node #0,1,2: 65:[62, 4] Operation: 1*4=4 Exploring Operation: 4/1=4, Resulting Numbers: [62, 4] Generated Node #0,1,3: 65:[62, 4] Operation: 4/1=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[62, 5], Operations: ['48+14=62', '1+4=5'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 62*5=310, Resulting Numbers: [310] 310,65 unequal: No Solution Exploring Operation: 62+5=67, Resulting Numbers: [67] 67,65 unequal: No Solution No 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: 65:[4, 63], Operations: ['48+14=62', '1+62=63'] Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,65 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,65 unequal: No Solution No 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: 65:[62, 4], Operations: ['48+14=62', '1*4=4'] Exploring Operation: 62*4=248, Resulting Numbers: [248] 248,65 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,65 unequal: No Solution Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,65 unequal: No Solution No 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: 65:[62, 4], Operations: ['48+14=62', '4/1=4'] Exploring Operation: 62*4=248, Resulting Numbers: [248] 248,65 unequal: No Solution Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,65 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: 65:[4, 14, 49], Operations: ['1+48=49'] Exploring Operation: 4+49=53, Resulting Numbers: [14, 53] Generated Node #0,2,0: 65:[14, 53] Operation: 4+49=53 Exploring Operation: 4+14=18, Resulting Numbers: [49, 18] Generated Node #0,2,1: 65:[49, 18] Operation: 4+14=18 Exploring Operation: 14+49=63, Resulting Numbers: [4, 63] Generated Node #0,2,2: 65:[4, 63] Operation: 14+49=63 Exploring Operation: 14-4=10, Resulting Numbers: [49, 10] Generated Node #0,2,3: 65:[49, 10] Operation: 14-4=10 Moving to Node #0,2,2 Current State: 65:[4, 63], Operations: ['1+48=49', '14+49=63'] Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,65 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[14, 53], Operations: ['1+48=49', '4+49=53'] Exploring Operation: 14*53=742, Resulting Numbers: [742] 742,65 unequal: No Solution Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,65 unequal: No Solution Exploring Operation: 14+53=67, Resulting Numbers: [67] 67,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[49, 10], Operations: ['1+48=49', '14-4=10'] Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,65 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,65 unequal: No Solution Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[49, 18], Operations: ['1+48=49', '4+14=18'] Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 49*18=882, Resulting Numbers: [882] 882,65 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[48, 14, 5], Operations: ['1+4=5'] Exploring Operation: 48+5=53, Resulting Numbers: [14, 53] Generated Node #0,3,0: 65:[14, 53] Operation: 48+5=53 Exploring Operation: 14-5=9, Resulting Numbers: [48, 9] Generated Node #0,3,1: 65:[48, 9] Operation: 14-5=9 Exploring Operation: 48-14=34, Resulting Numbers: [5, 34] Generated Node #0,3,2: 65:[5, 34] Operation: 48-14=34 Exploring Operation: 48+14=62, Resulting Numbers: [5, 62] Generated Node #0,3,3: 65:[5, 62] Operation: 48+14=62 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 65:[5, 62], Operations: ['1+4=5', '48+14=62'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,65 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,65 unequal: No Solution No 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: 65:[14, 53], Operations: ['1+4=5', '48+5=53'] Exploring Operation: 14+53=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 14*53=742, Resulting Numbers: [742] 742,65 unequal: No Solution Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,65 unequal: No Solution No 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: 65:[48, 9], Operations: ['1+4=5', '14-5=9'] Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,65 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,65 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,65 unequal: No Solution No 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: 65:[5, 34], Operations: ['1+4=5', '48-14=34'] Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,65 unequal: No Solution Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,65 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 25, 5, 5, 85 ]
85
[ "25/5=5", "5+85=90", "90-5=85" ]
Current State: 85:[25, 5, 5, 85], Operations: [] Exploring Operation: 25/5=5, Resulting Numbers: [85, 5] Generated Node #2: [85, 5] from Operation: 25/5=5 Current State: 85:[85, 5], Operations: ['25/5=5'] Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,85 equal: Goal Reached Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[25, 5, 5, 85], Operations: [] Exploring Operation: 25/5=5, Resulting Numbers: [5, 85, 5] Generated Node #0,0: 85:[5, 85, 5] Operation: 25/5=5 Exploring Operation: 25/5=5, Resulting Numbers: [5, 85, 5] Generated Node #0,1: 85:[5, 85, 5] Operation: 25/5=5 Exploring Operation: 25-5=20, Resulting Numbers: [5, 85, 20] Generated Node #0,2: 85:[5, 85, 20] Operation: 25-5=20 Exploring Operation: 25-5=20, Resulting Numbers: [5, 85, 20] Generated Node #0,3: 85:[5, 85, 20] Operation: 25-5=20 Exploring Operation: 85/5=17, Resulting Numbers: [25, 5, 17] Generated Node #0,4: 85:[25, 5, 17] Operation: 85/5=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[5, 85, 5], Operations: ['25/5=5'] Exploring Operation: 5+85=90, Resulting Numbers: [5, 90] Generated Node #0,0,0: 85:[5, 90] Operation: 5+85=90 Exploring Operation: 5/5=1, Resulting Numbers: [85, 1] Generated Node #0,0,1: 85:[85, 1] Operation: 5/5=1 Exploring Operation: 85-5=80, Resulting Numbers: [5, 80] Generated Node #0,0,2: 85:[5, 80] Operation: 85-5=80 Exploring Operation: 85/5=17, Resulting Numbers: [5, 17] Generated Node #0,0,3: 85:[5, 17] Operation: 85/5=17 Exploring Operation: 85/5=17, Resulting Numbers: [5, 17] Generated Node #0,0,4: 85:[5, 17] Operation: 85/5=17 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 85:[5, 17], Operations: ['25/5=5', '85/5=17'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[25, 5, 5, 85], Operations: [] Exploring Operation: 25/5=5, Resulting Numbers: [5, 85, 5] Generated Node #0,0: 85:[5, 85, 5] Operation: 25/5=5 Moving to Node #0,0 Current State: 85:[5, 85, 5], Operations: ['25/5=5'] Exploring Operation: 85/5=17, Resulting Numbers: [5, 17] Generated Node #0,0,3: 85:[5, 17] Operation: 85/5=17 Moving to Node #0,0,3 Current State: 85:[5, 17], Operations: ['25/5=5', '85/5=17'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 7, 48, 23, 81 ]
49
[ "7+48=55", "23+81=104", "104-55=49" ]
Current State: 49:[7, 48, 23, 81], Operations: [] Exploring Operation: 7+48=55, Resulting Numbers: [23, 81, 55] Generated Node #2: [23, 81, 55] from Operation: 7+48=55 Current State: 49:[23, 81, 55], Operations: ['7+48=55'] Exploring Operation: 23+81=104, Resulting Numbers: [55, 104] Generated Node #3: [55, 104] from Operation: 23+81=104 Current State: 49:[55, 104], Operations: ['7+48=55', '23+81=104'] Exploring Operation: 104-55=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[7, 48, 23, 81], Operations: [] Exploring Operation: 81-7=74, Resulting Numbers: [48, 23, 74] Generated Node #0,0: 49:[48, 23, 74] Operation: 81-7=74 Exploring Operation: 23-7=16, Resulting Numbers: [48, 81, 16] Generated Node #0,1: 49:[48, 81, 16] Operation: 23-7=16 Exploring Operation: 81-48=33, Resulting Numbers: [7, 23, 33] Generated Node #0,2: 49:[7, 23, 33] Operation: 81-48=33 Exploring Operation: 81-23=58, Resulting Numbers: [7, 48, 58] Generated Node #0,3: 49:[7, 48, 58] Operation: 81-23=58 Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[7, 48, 58], Operations: ['81-23=58'] Exploring Operation: 7+48=55, Resulting Numbers: [58, 55] Generated Node #0,3,0: 49:[58, 55] Operation: 7+48=55 Exploring Operation: 58-48=10, Resulting Numbers: [7, 10] Generated Node #0,3,1: 49:[7, 10] Operation: 58-48=10 Exploring Operation: 48-7=41, Resulting Numbers: [58, 41] Generated Node #0,3,2: 49:[58, 41] Operation: 48-7=41 Exploring Operation: 58-7=51, Resulting Numbers: [48, 51] Generated Node #0,3,3: 49:[48, 51] Operation: 58-7=51 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 49:[7, 10], Operations: ['81-23=58', '58-48=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,49 unequal: No Solution Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 49:[48, 51], Operations: ['81-23=58', '58-7=51'] Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,49 unequal: No Solution Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 49:[58, 55], Operations: ['81-23=58', '7+48=55'] Exploring Operation: 58+55=113, Resulting Numbers: [113] 113,49 unequal: No Solution Exploring Operation: 58*55=3190, Resulting Numbers: [3190] 3190,49 unequal: No Solution Exploring Operation: 58-55=3, Resulting Numbers: [3] 3,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 49:[58, 41], Operations: ['81-23=58', '48-7=41'] Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 58*41=2378, Resulting Numbers: [2378] 2378,49 unequal: No Solution Exploring Operation: 58+41=99, Resulting Numbers: [99] 99,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[7, 23, 33], Operations: ['81-48=33'] Exploring Operation: 7+33=40, Resulting Numbers: [23, 40] Generated Node #0,2,0: 49:[23, 40] Operation: 7+33=40 Exploring Operation: 33-23=10, Resulting Numbers: [7, 10] Generated Node #0,2,1: 49:[7, 10] Operation: 33-23=10 Exploring Operation: 23-7=16, Resulting Numbers: [33, 16] Generated Node #0,2,2: 49:[33, 16] Operation: 23-7=16 Exploring Operation: 23+33=56, Resulting Numbers: [7, 56] Generated Node #0,2,3: 49:[7, 56] Operation: 23+33=56 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 49:[7, 10], Operations: ['81-48=33', '33-23=10'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,49 unequal: No Solution Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 49:[7, 56], Operations: ['81-48=33', '23+33=56'] Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[7, 48, 23, 81], Operations: [] Exploring Operation: 81-48=33, Resulting Numbers: [7, 23, 33] Generated Node #0,2: 49:[7, 23, 33] Operation: 81-48=33 Moving to Node #0,2 Current State: 49:[7, 23, 33], Operations: ['81-48=33'] Exploring Operation: 23+33=56, Resulting Numbers: [7, 56] Generated Node #0,2,3: 49:[7, 56] Operation: 23+33=56 Moving to Node #0,2,3 Current State: 49:[7, 56], Operations: ['81-48=33', '23+33=56'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 23, 31, 70, 96 ]
38
[ "23*96=2208", "31*70=2170", "2208-2170=38" ]
Current State: 38:[23, 31, 70, 96], Operations: [] Exploring Operation: 23*96=2208, Resulting Numbers: [31, 70, 2208] Generated Node #2: [31, 70, 2208] from Operation: 23*96=2208 Current State: 38:[31, 70, 2208], Operations: ['23*96=2208'] Exploring Operation: 31*70=2170, Resulting Numbers: [2208, 2170] Generated Node #3: [2208, 2170] from Operation: 31*70=2170 Current State: 38:[2208, 2170], Operations: ['23*96=2208', '31*70=2170'] Exploring Operation: 2208-2170=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[23, 31, 70, 96], Operations: [] Exploring Operation: 70-31=39, Resulting Numbers: [23, 96, 39] Generated Node #0,0: 38:[23, 96, 39] Operation: 70-31=39 Exploring Operation: 96-70=26, Resulting Numbers: [23, 31, 26] Generated Node #0,1: 38:[23, 31, 26] Operation: 96-70=26 Moving to Node #0,1 Current State: 38:[23, 31, 26], Operations: ['96-70=26'] Exploring Operation: 26-23=3, Resulting Numbers: [31, 3] Generated Node #0,1,0: 38:[31, 3] Operation: 26-23=3 Exploring Operation: 31-26=5, Resulting Numbers: [23, 5] Generated Node #0,1,1: 38:[23, 5] Operation: 31-26=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[23, 5], Operations: ['96-70=26', '31-26=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,38 unequal: No Solution No 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: 38:[31, 3], Operations: ['96-70=26', '26-23=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,38 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: 38:[23, 96, 39], Operations: ['70-31=39'] Exploring Operation: 96-39=57, Resulting Numbers: [23, 57] Generated Node #0,0,0: 38:[23, 57] Operation: 96-39=57 Exploring Operation: 96-23=73, Resulting Numbers: [39, 73] Generated Node #0,0,1: 38:[39, 73] Operation: 96-23=73 Moving to Node #0,0,0 Current State: 38:[23, 57], Operations: ['70-31=39', '96-39=57'] Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,38 unequal: No Solution Exploring Operation: 23+57=80, Resulting Numbers: [80] 80,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[39, 73], Operations: ['70-31=39', '96-23=73'] Exploring Operation: 39+73=112, Resulting Numbers: [112] 112,38 unequal: No Solution Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,38 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 5, 32, 6, 76 ]
38
[ "5*6=30", "32-30=2", "76/2=38" ]
Current State: 38:[5, 32, 6, 76], Operations: [] Exploring Operation: 5*6=30, Resulting Numbers: [32, 76, 30] Generated Node #2: [32, 76, 30] from Operation: 5*6=30 Current State: 38:[32, 76, 30], Operations: ['5*6=30'] Exploring Operation: 32-30=2, Resulting Numbers: [76, 2] Generated Node #3: [76, 2] from Operation: 32-30=2 Current State: 38:[76, 2], Operations: ['5*6=30', '32-30=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[5, 32, 6, 76], Operations: [] Exploring Operation: 32+6=38, Resulting Numbers: [5, 76, 38] Generated Node #0,0: 38:[5, 76, 38] Operation: 32+6=38 Exploring Operation: 76-32=44, Resulting Numbers: [5, 6, 44] Generated Node #0,1: 38:[5, 6, 44] Operation: 76-32=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[5, 6, 44], Operations: ['76-32=44'] Exploring Operation: 44-5=39, Resulting Numbers: [6, 39] Generated Node #0,1,0: 38:[6, 39] Operation: 44-5=39 Exploring Operation: 44-6=38, Resulting Numbers: [5, 38] Generated Node #0,1,1: 38:[5, 38] Operation: 44-6=38 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[5, 38], Operations: ['76-32=44', '44-6=38'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[6, 39], Operations: ['76-32=44', '44-5=39'] Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[5, 76, 38], Operations: ['32+6=38'] Exploring Operation: 76/38=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 38:[5, 2] Operation: 76/38=2 Exploring Operation: 76-38=38, Resulting Numbers: [5, 38] Generated Node #0,0,1: 38:[5, 38] Operation: 76-38=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[5, 2], Operations: ['32+6=38', '76/38=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 38:[5, 38], Operations: ['32+6=38', '76-38=38'] Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,38 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 42, 98, 79, 14 ]
59
[ "42/14=3", "98+79=177", "177/3=59" ]
Current State: 59:[42, 98, 79, 14], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [98, 79, 3] Generated Node #2: [98, 79, 3] from Operation: 42/14=3 Current State: 59:[98, 79, 3], Operations: ['42/14=3'] Exploring Operation: 98+79=177, Resulting Numbers: [3, 177] Generated Node #3: [3, 177] from Operation: 98+79=177 Current State: 59:[3, 177], Operations: ['42/14=3', '98+79=177'] Exploring Operation: 177/3=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[42, 98, 79, 14], Operations: [] Exploring Operation: 42+14=56, Resulting Numbers: [98, 79, 56] Generated Node #0,0: 59:[98, 79, 56] Operation: 42+14=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[98, 79, 56], Operations: ['42+14=56'] Exploring Operation: 98-56=42, Resulting Numbers: [79, 42] Generated Node #0,0,0: 59:[79, 42] Operation: 98-56=42 Moving to Node #0,0,0 Current State: 59:[79, 42], Operations: ['42+14=56', '98-56=42'] Exploring Operation: 79-42=37, Resulting Numbers: [37] 37,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
[ 30, 24, 3, 26 ]
96
[ "30-24=6", "26+6=32", "3*32=96" ]
Current State: 96:[30, 24, 3, 26], Operations: [] Exploring Operation: 30-24=6, Resulting Numbers: [3, 26, 6] Generated Node #2: [3, 26, 6] from Operation: 30-24=6 Current State: 96:[3, 26, 6], Operations: ['30-24=6'] Exploring Operation: 26+6=32, Resulting Numbers: [3, 32] Generated Node #3: [3, 32] from Operation: 26+6=32 Current State: 96:[3, 32], Operations: ['30-24=6', '26+6=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[30, 24, 3, 26], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [30, 3, 2] Generated Node #0,0: 96:[30, 3, 2] Operation: 26-24=2 Exploring Operation: 30+3=33, Resulting Numbers: [24, 26, 33] Generated Node #0,1: 96:[24, 26, 33] Operation: 30+3=33 Exploring Operation: 30-24=6, Resulting Numbers: [3, 26, 6] Generated Node #0,2: 96:[3, 26, 6] Operation: 30-24=6 Exploring Operation: 30-26=4, Resulting Numbers: [24, 3, 4] Generated Node #0,3: 96:[24, 3, 4] Operation: 30-26=4 Exploring Operation: 26-3=23, Resulting Numbers: [30, 24, 23] Generated Node #0,4: 96:[30, 24, 23] Operation: 26-3=23 Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[24, 3, 4], Operations: ['30-26=4'] Exploring Operation: 24*4=96, Resulting Numbers: [3, 96] Generated Node #0,3,0: 96:[3, 96] Operation: 24*4=96 Exploring Operation: 3*4=12, Resulting Numbers: [24, 12] Generated Node #0,3,1: 96:[24, 12] Operation: 3*4=12 Exploring Operation: 24/4=6, Resulting Numbers: [3, 6] Generated Node #0,3,2: 96:[3, 6] Operation: 24/4=6 Exploring Operation: 24/3=8, Resulting Numbers: [4, 8] Generated Node #0,3,3: 96:[4, 8] Operation: 24/3=8 Exploring Operation: 3+4=7, Resulting Numbers: [24, 7] Generated Node #0,3,4: 96:[24, 7] Operation: 3+4=7 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 96:[3, 96], Operations: ['30-26=4', '24*4=96'] Exploring Operation: 3+96=99, Resulting Numbers: [99] 99,96 unequal: No Solution Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,96 unequal: No Solution Exploring Operation: 3*96=288, Resulting Numbers: [288] 288,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 96:[24, 12], Operations: ['30-26=4', '3*4=12'] Exploring Operation: 24*12=288, Resulting Numbers: [288] 288,96 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 24+12=36, Resulting Numbers: [36] 36,96 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 96:[3, 6], Operations: ['30-26=4', '24/4=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,96 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 96:[4, 8], Operations: ['30-26=4', '24/3=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 96:[24, 7], Operations: ['30-26=4', '3+4=7'] Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,96 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,96 unequal: No Solution Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[30, 3, 2], Operations: ['26-24=2'] Exploring Operation: 30/2=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 96:[3, 15] Operation: 30/2=15 Exploring Operation: 30+2=32, Resulting Numbers: [3, 32] Generated Node #0,0,1: 96:[3, 32] Operation: 30+2=32 Exploring Operation: 30/3=10, Resulting Numbers: [2, 10] Generated Node #0,0,2: 96:[2, 10] Operation: 30/3=10 Exploring Operation: 3*2=6, Resulting Numbers: [30, 6] Generated Node #0,0,3: 96:[30, 6] Operation: 3*2=6 Exploring Operation: 30+3=33, Resulting Numbers: [2, 33] Generated Node #0,0,4: 96:[2, 33] Operation: 30+3=33 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[3, 32], Operations: ['26-24=2', '30+2=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,96 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[30, 24, 3, 26], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [30, 3, 2] Generated Node #0,0: 96:[30, 3, 2] Operation: 26-24=2 Moving to Node #0,0 Current State: 96:[30, 3, 2], Operations: ['26-24=2'] Exploring Operation: 30+2=32, Resulting Numbers: [3, 32] Generated Node #0,0,1: 96:[3, 32] Operation: 30+2=32 Moving to Node #0,0,1 Current State: 96:[3, 32], Operations: ['26-24=2', '30+2=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 69, 30, 88, 38 ]
87
[ "69-30=39", "88+38=126", "126-39=87" ]
Current State: 87:[69, 30, 88, 38], Operations: [] Exploring Operation: 69-30=39, Resulting Numbers: [88, 38, 39] Generated Node #2: [88, 38, 39] from Operation: 69-30=39 Current State: 87:[88, 38, 39], Operations: ['69-30=39'] Exploring Operation: 88+38=126, Resulting Numbers: [39, 126] Generated Node #3: [39, 126] from Operation: 88+38=126 Current State: 87:[39, 126], Operations: ['69-30=39', '88+38=126'] Exploring Operation: 126-39=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[69, 30, 88, 38], Operations: [] Exploring Operation: 69-38=31, Resulting Numbers: [30, 88, 31] Generated Node #0,0: 87:[30, 88, 31] Operation: 69-38=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[30, 88, 31], Operations: ['69-38=31'] Exploring Operation: 31-30=1, Resulting Numbers: [88, 1] Generated Node #0,0,0: 87:[88, 1] Operation: 31-30=1 Moving to Node #0,0,0 Current State: 87:[88, 1], Operations: ['69-38=31', '31-30=1'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[69, 30, 88, 38], Operations: [] Exploring Operation: 69-38=31, Resulting Numbers: [30, 88, 31] Generated Node #0,0: 87:[30, 88, 31] Operation: 69-38=31 Moving to Node #0,0 Current State: 87:[30, 88, 31], Operations: ['69-38=31'] Exploring Operation: 31-30=1, Resulting Numbers: [88, 1] Generated Node #0,0,0: 87:[88, 1] Operation: 31-30=1 Moving to Node #0,0,0 Current State: 87:[88, 1], Operations: ['69-38=31', '31-30=1'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 2, 6, 76, 64 ]
92
[ "6-2=4", "64/4=16", "76+16=92" ]
Current State: 92:[2, 6, 76, 64], Operations: [] Exploring Operation: 6-2=4, Resulting Numbers: [76, 64, 4] Generated Node #2: [76, 64, 4] from Operation: 6-2=4 Current State: 92:[76, 64, 4], Operations: ['6-2=4'] Exploring Operation: 64/4=16, Resulting Numbers: [76, 16] Generated Node #3: [76, 16] from Operation: 64/4=16 Current State: 92:[76, 16], Operations: ['6-2=4', '64/4=16'] Exploring Operation: 76+16=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[2, 6, 76, 64], Operations: [] Exploring Operation: 76-64=12, Resulting Numbers: [2, 6, 12] Generated Node #0,0: 92:[2, 6, 12] Operation: 76-64=12 Exploring Operation: 64/2=32, Resulting Numbers: [6, 76, 32] Generated Node #0,1: 92:[6, 76, 32] Operation: 64/2=32 Exploring Operation: 76/2=38, Resulting Numbers: [6, 64, 38] Generated Node #0,2: 92:[6, 64, 38] Operation: 76/2=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[2, 6, 12], Operations: ['76-64=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 92:[2, 2] Operation: 12/6=2 Exploring Operation: 12-6=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 92:[2, 6] Operation: 12-6=6 Exploring Operation: 2*12=24, Resulting Numbers: [6, 24] Generated Node #0,0,2: 92:[6, 24] Operation: 2*12=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[2, 2], Operations: ['76-64=12', '12/6=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[2, 6], Operations: ['76-64=12', '12-6=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,92 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 92:[6, 24], Operations: ['76-64=12', '2*12=24'] Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,92 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[6, 76, 32], Operations: ['64/2=32'] Exploring Operation: 6+76=82, Resulting Numbers: [32, 82] Generated Node #0,1,0: 92:[32, 82] Operation: 6+76=82 Exploring Operation: 76-32=44, Resulting Numbers: [6, 44] Generated Node #0,1,1: 92:[6, 44] Operation: 76-32=44 Exploring Operation: 76+32=108, Resulting Numbers: [6, 108] Generated Node #0,1,2: 92:[6, 108] Operation: 76+32=108 Moving to Node #0,1,1 Current State: 92:[6, 44], Operations: ['64/2=32', '76-32=44'] Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,92 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[6, 108], Operations: ['64/2=32', '76+32=108'] Exploring Operation: 6+108=114, Resulting Numbers: [114] 114,92 unequal: No Solution Exploring Operation: 108/6=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 108-6=102, Resulting Numbers: [102] 102,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[32, 82], Operations: ['64/2=32', '6+76=82'] Exploring Operation: 32+82=114, Resulting Numbers: [114] 114,92 unequal: No Solution Exploring Operation: 82-32=50, Resulting Numbers: [50] 50,92 unequal: No Solution Exploring Operation: 32*82=2624, Resulting Numbers: [2624] 2624,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[6, 64, 38], Operations: ['76/2=38'] Exploring Operation: 64-38=26, Resulting Numbers: [6, 26] Generated Node #0,2,0: 92:[6, 26] Operation: 64-38=26 Exploring Operation: 64+38=102, Resulting Numbers: [6, 102] Generated Node #0,2,1: 92:[6, 102] Operation: 64+38=102 Exploring Operation: 64-6=58, Resulting Numbers: [38, 58] Generated Node #0,2,2: 92:[38, 58] Operation: 64-6=58 Moving to Node #0,2,0 Current State: 92:[6, 26], Operations: ['76/2=38', '64-38=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,92 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[6, 102], Operations: ['76/2=38', '64+38=102'] Exploring Operation: 6+102=108, Resulting Numbers: [108] 108,92 unequal: No Solution Exploring Operation: 102/6=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 102-6=96, Resulting Numbers: [96] 96,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[38, 58], Operations: ['76/2=38', '64-6=58'] Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 38*58=2204, Resulting Numbers: [2204] 2204,92 unequal: No Solution Exploring Operation: 38+58=96, Resulting Numbers: [96] 96,92 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
[ 38, 32, 35, 95 ]
10
[ "38+32=70", "95-35=60", "70-60=10" ]
Current State: 10:[38, 32, 35, 95], Operations: [] Exploring Operation: 38+32=70, Resulting Numbers: [35, 95, 70] Generated Node #2: [35, 95, 70] from Operation: 38+32=70 Current State: 10:[35, 95, 70], Operations: ['38+32=70'] Exploring Operation: 95-35=60, Resulting Numbers: [70, 60] Generated Node #3: [70, 60] from Operation: 95-35=60 Current State: 10:[70, 60], Operations: ['38+32=70', '95-35=60'] Exploring Operation: 70-60=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[38, 32, 35, 95], Operations: [] Exploring Operation: 95-38=57, Resulting Numbers: [32, 35, 57] Generated Node #0,0: 10:[32, 35, 57] Operation: 95-38=57 Moving to Node #0,0 Current State: 10:[32, 35, 57], Operations: ['95-38=57'] Exploring Operation: 57-35=22, Resulting Numbers: [32, 22] Generated Node #0,0,0: 10:[32, 22] Operation: 57-35=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[32, 22], Operations: ['95-38=57', '57-35=22'] Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[38, 32, 35, 95], Operations: [] Exploring Operation: 95-38=57, Resulting Numbers: [32, 35, 57] Generated Node #0,0: 10:[32, 35, 57] Operation: 95-38=57 Moving to Node #0,0 Current State: 10:[32, 35, 57], Operations: ['95-38=57'] Exploring Operation: 57-35=22, Resulting Numbers: [32, 22] Generated Node #0,0,0: 10:[32, 22] Operation: 57-35=22 Moving to Node #0,0,0 Current State: 10:[32, 22], Operations: ['95-38=57', '57-35=22'] Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 34, 56, 70, 9 ]
14
[ "70-34=36", "56*9=504", "504/36=14" ]
Current State: 14:[34, 56, 70, 9], Operations: [] Exploring Operation: 70-34=36, Resulting Numbers: [56, 9, 36] Generated Node #2: [56, 9, 36] from Operation: 70-34=36 Current State: 14:[56, 9, 36], Operations: ['70-34=36'] Exploring Operation: 56*9=504, Resulting Numbers: [36, 504] Generated Node #3: [36, 504] from Operation: 56*9=504 Current State: 14:[36, 504], Operations: ['70-34=36', '56*9=504'] Exploring Operation: 504/36=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[34, 56, 70, 9], Operations: [] Exploring Operation: 34-9=25, Resulting Numbers: [56, 70, 25] Generated Node #0,0: 14:[56, 70, 25] Operation: 34-9=25 Exploring Operation: 56-34=22, Resulting Numbers: [70, 9, 22] Generated Node #0,1: 14:[70, 9, 22] Operation: 56-34=22 Exploring Operation: 70-34=36, Resulting Numbers: [56, 9, 36] Generated Node #0,2: 14:[56, 9, 36] Operation: 70-34=36 Exploring Operation: 70-56=14, Resulting Numbers: [34, 9, 14] Generated Node #0,3: 14:[34, 9, 14] Operation: 70-56=14 Exploring Operation: 56-9=47, Resulting Numbers: [34, 70, 47] Generated Node #0,4: 14:[34, 70, 47] Operation: 56-9=47 Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[34, 9, 14], Operations: ['70-56=14'] Exploring Operation: 34+9=43, Resulting Numbers: [14, 43] Generated Node #0,3,0: 14:[14, 43] Operation: 34+9=43 Exploring Operation: 34-9=25, Resulting Numbers: [14, 25] Generated Node #0,3,1: 14:[14, 25] Operation: 34-9=25 Exploring Operation: 14-9=5, Resulting Numbers: [34, 5] Generated Node #0,3,2: 14:[34, 5] Operation: 14-9=5 Exploring Operation: 9+14=23, Resulting Numbers: [34, 23] Generated Node #0,3,3: 14:[34, 23] Operation: 9+14=23 Exploring Operation: 34-14=20, Resulting Numbers: [9, 20] Generated Node #0,3,4: 14:[9, 20] Operation: 34-14=20 Moving to Node #0,3,4 Current State: 14:[9, 20], Operations: ['70-56=14', '34-14=20'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,14 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,14 unequal: No Solution Moving to Node #0,3,1 Current State: 14:[14, 25], Operations: ['70-56=14', '34-9=25'] Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 14*25=350, Resulting Numbers: [350] 350,14 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,14 unequal: No Solution Moving to Node #0,3,2 Current State: 14:[34, 5], Operations: ['70-56=14', '14-9=5'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,14 unequal: No Solution Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,14 unequal: No Solution Moving to Node #0,3,0 Current State: 14:[14, 43], Operations: ['70-56=14', '34+9=43'] Exploring Operation: 14*43=602, Resulting Numbers: [602] 602,14 unequal: No Solution Exploring Operation: 14+43=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,14 unequal: No Solution Moving to Node #0,3,3 Current State: 14:[34, 23], Operations: ['70-56=14', '9+14=23'] Exploring Operation: 34+23=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 34*23=782, Resulting Numbers: [782] 782,14 unequal: No Solution Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[70, 9, 22], Operations: ['56-34=22'] Exploring Operation: 22-9=13, Resulting Numbers: [70, 13] Generated Node #0,1,0: 14:[70, 13] Operation: 22-9=13 Exploring Operation: 70-22=48, Resulting Numbers: [9, 48] Generated Node #0,1,1: 14:[9, 48] Operation: 70-22=48 Exploring Operation: 9+22=31, Resulting Numbers: [70, 31] Generated Node #0,1,2: 14:[70, 31] Operation: 9+22=31 Exploring Operation: 70-9=61, Resulting Numbers: [22, 61] Generated Node #0,1,3: 14:[22, 61] Operation: 70-9=61 Exploring Operation: 70+9=79, Resulting Numbers: [22, 79] Generated Node #0,1,4: 14:[22, 79] Operation: 70+9=79 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[9, 48], Operations: ['56-34=22', '70-22=48'] Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,14 unequal: No Solution No 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: 14:[22, 61], Operations: ['56-34=22', '70-9=61'] Exploring Operation: 22+61=83, Resulting Numbers: [83] 83,14 unequal: No Solution Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 22*61=1342, Resulting Numbers: [1342] 1342,14 unequal: No Solution No 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: 14:[70, 13], Operations: ['56-34=22', '22-9=13'] Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,14 unequal: No Solution Exploring Operation: 70+13=83, Resulting Numbers: [83] 83,14 unequal: No Solution Exploring Operation: 70*13=910, Resulting Numbers: [910] 910,14 unequal: No Solution No 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: 14:[70, 31], Operations: ['56-34=22', '9+22=31'] Exploring Operation: 70+31=101, Resulting Numbers: [101] 101,14 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 70*31=2170, Resulting Numbers: [2170] 2170,14 unequal: No Solution No 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: 14:[22, 79], Operations: ['56-34=22', '70+9=79'] Exploring Operation: 22+79=101, Resulting Numbers: [101] 101,14 unequal: No Solution Exploring Operation: 22*79=1738, Resulting Numbers: [1738] 1738,14 unequal: No Solution Exploring Operation: 79-22=57, Resulting Numbers: [57] 57,14 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: 14:[56, 9, 36], Operations: ['70-34=36'] Exploring Operation: 56-36=20, Resulting Numbers: [9, 20] Generated Node #0,2,0: 14:[9, 20] Operation: 56-36=20 Exploring Operation: 36/9=4, Resulting Numbers: [56, 4] Generated Node #0,2,1: 14:[56, 4] Operation: 36/9=4 Exploring Operation: 36-9=27, Resulting Numbers: [56, 27] Generated Node #0,2,2: 14:[56, 27] Operation: 36-9=27 Exploring Operation: 56+9=65, Resulting Numbers: [36, 65] Generated Node #0,2,3: 14:[36, 65] Operation: 56+9=65 Exploring Operation: 56-9=47, Resulting Numbers: [36, 47] Generated Node #0,2,4: 14:[36, 47] Operation: 56-9=47 Moving to Node #0,2,0 Current State: 14:[9, 20], Operations: ['70-34=36', '56-36=20'] Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,14 unequal: No Solution Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,14 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[56, 4], Operations: ['70-34=36', '36/9=4'] Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,14 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[34, 56, 70, 9], Operations: [] Exploring Operation: 70-34=36, Resulting Numbers: [56, 9, 36] Generated Node #0,2: 14:[56, 9, 36] Operation: 70-34=36 Moving to Node #0,2 Current State: 14:[56, 9, 36], Operations: ['70-34=36'] Exploring Operation: 36/9=4, Resulting Numbers: [56, 4] Generated Node #0,2,1: 14:[56, 4] Operation: 36/9=4 Moving to Node #0,2,1 Current State: 14:[56, 4], Operations: ['70-34=36', '36/9=4'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.948785
hs_5
mult_heuristic
[ 15, 48, 20, 55 ]
91
[ "15*48=720", "720/20=36", "55+36=91" ]
Current State: 91:[15, 48, 20, 55], Operations: [] Exploring Operation: 15*48=720, Resulting Numbers: [20, 55, 720] Generated Node #2: [20, 55, 720] from Operation: 15*48=720 Current State: 91:[20, 55, 720], Operations: ['15*48=720'] Exploring Operation: 720/20=36, Resulting Numbers: [55, 36] Generated Node #3: [55, 36] from Operation: 720/20=36 Current State: 91:[55, 36], Operations: ['15*48=720', '720/20=36'] Exploring Operation: 55+36=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[15, 48, 20, 55], Operations: [] Exploring Operation: 48-20=28, Resulting Numbers: [15, 55, 28] Generated Node #0,0: 91:[15, 55, 28] Operation: 48-20=28 Exploring Operation: 48+55=103, Resulting Numbers: [15, 20, 103] Generated Node #0,1: 91:[15, 20, 103] Operation: 48+55=103 Exploring Operation: 20+55=75, Resulting Numbers: [15, 48, 75] Generated Node #0,2: 91:[15, 48, 75] Operation: 20+55=75 Exploring Operation: 55-20=35, Resulting Numbers: [15, 48, 35] Generated Node #0,3: 91:[15, 48, 35] Operation: 55-20=35 Exploring Operation: 55-48=7, Resulting Numbers: [15, 20, 7] Generated Node #0,4: 91:[15, 20, 7] Operation: 55-48=7 Start Sub Search at level 1: Moving to Node #0,4 Current State: 91:[15, 20, 7], Operations: ['55-48=7'] Exploring Operation: 20+7=27, Resulting Numbers: [15, 27] Generated Node #0,4,0: 91:[15, 27] Operation: 20+7=27 Exploring Operation: 20-7=13, Resulting Numbers: [15, 13] Generated Node #0,4,1: 91:[15, 13] Operation: 20-7=13 Exploring Operation: 15+7=22, Resulting Numbers: [20, 22] Generated Node #0,4,2: 91:[20, 22] Operation: 15+7=22 Exploring Operation: 15-7=8, Resulting Numbers: [20, 8] Generated Node #0,4,3: 91:[20, 8] Operation: 15-7=8 Exploring Operation: 20-15=5, Resulting Numbers: [7, 5] Generated Node #0,4,4: 91:[7, 5] Operation: 20-15=5 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 91:[15, 13], Operations: ['55-48=7', '20-7=13'] Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,91 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 91:[7, 5], Operations: ['55-48=7', '20-15=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 91:[20, 8], Operations: ['55-48=7', '15-7=8'] Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,91 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 91:[15, 27], Operations: ['55-48=7', '20+7=27'] Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,91 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 91:[20, 22], Operations: ['55-48=7', '15+7=22'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,91 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,91 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: 91:[15, 20, 103], Operations: ['48+55=103'] Exploring Operation: 20-15=5, Resulting Numbers: [103, 5] Generated Node #0,1,0: 91:[103, 5] Operation: 20-15=5 Exploring Operation: 103-15=88, Resulting Numbers: [20, 88] Generated Node #0,1,1: 91:[20, 88] Operation: 103-15=88 Exploring Operation: 15+103=118, Resulting Numbers: [20, 118] Generated Node #0,1,2: 91:[20, 118] Operation: 15+103=118 Exploring Operation: 103-20=83, Resulting Numbers: [15, 83] Generated Node #0,1,3: 91:[15, 83] Operation: 103-20=83 Exploring Operation: 15+20=35, Resulting Numbers: [103, 35] Generated Node #0,1,4: 91:[103, 35] Operation: 15+20=35 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[20, 88], Operations: ['48+55=103', '103-15=88'] Exploring Operation: 20+88=108, Resulting Numbers: [108] 108,91 unequal: No Solution Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 20*88=1760, Resulting Numbers: [1760] 1760,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 91:[15, 83], Operations: ['48+55=103', '103-20=83'] Exploring Operation: 15*83=1245, Resulting Numbers: [1245] 1245,91 unequal: No Solution Exploring Operation: 15+83=98, Resulting Numbers: [98] 98,91 unequal: No Solution Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 91:[103, 5], Operations: ['48+55=103', '20-15=5'] Exploring Operation: 103+5=108, Resulting Numbers: [108] 108,91 unequal: No Solution Exploring Operation: 103*5=515, Resulting Numbers: [515] 515,91 unequal: No Solution Exploring Operation: 103-5=98, Resulting Numbers: [98] 98,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 91:[20, 118], Operations: ['48+55=103', '15+103=118'] Exploring Operation: 20*118=2360, Resulting Numbers: [2360] 2360,91 unequal: No Solution Exploring Operation: 20+118=138, Resulting Numbers: [138] 138,91 unequal: No Solution Exploring Operation: 118-20=98, Resulting Numbers: [98] 98,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 91:[103, 35], Operations: ['48+55=103', '15+20=35'] Exploring Operation: 103*35=3605, Resulting Numbers: [3605] 3605,91 unequal: No Solution Exploring Operation: 103-35=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 103+35=138, Resulting Numbers: [138] 138,91 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: 91:[15, 55, 28], Operations: ['48-20=28'] Exploring Operation: 55-15=40, Resulting Numbers: [28, 40] Generated Node #0,0,0: 91:[28, 40] Operation: 55-15=40 Exploring Operation: 28-15=13, Resulting Numbers: [55, 13] Generated Node #0,0,1: 91:[55, 13] Operation: 28-15=13 Exploring Operation: 55+28=83, Resulting Numbers: [15, 83] Generated Node #0,0,2: 91:[15, 83] Operation: 55+28=83 Exploring Operation: 15+55=70, Resulting Numbers: [28, 70] Generated Node #0,0,3: 91:[28, 70] Operation: 15+55=70 Exploring Operation: 55-28=27, Resulting Numbers: [15, 27] Generated Node #0,0,4: 91:[15, 27] Operation: 55-28=27 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 91:[15, 83], Operations: ['48-20=28', '55+28=83'] Exploring Operation: 15+83=98, Resulting Numbers: [98] 98,91 unequal: No Solution Exploring Operation: 15*83=1245, Resulting Numbers: [1245] 1245,91 unequal: No Solution Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 91:[15, 27], Operations: ['48-20=28', '55-28=27'] Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,91 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[55, 13], Operations: ['48-20=28', '28-15=13'] Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,91 unequal: No Solution Exploring Operation: 55+13=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 55*13=715, Resulting Numbers: [715] 715,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 91:[28, 70], Operations: ['48-20=28', '15+55=70'] Exploring Operation: 28+70=98, Resulting Numbers: [98] 98,91 unequal: No Solution Exploring Operation: 28*70=1960, Resulting Numbers: [1960] 1960,91 unequal: No Solution Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[28, 40], Operations: ['48-20=28', '55-15=40'] Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,91 unequal: No Solution Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,91 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: 91:[15, 48, 75], Operations: ['20+55=75'] Exploring Operation: 15+75=90, Resulting Numbers: [48, 90] Generated Node #0,2,0: 91:[48, 90] Operation: 15+75=90 Exploring Operation: 75/15=5, Resulting Numbers: [48, 5] Generated Node #0,2,1: 91:[48, 5] Operation: 75/15=5 Exploring Operation: 48+75=123, Resulting Numbers: [15, 123] Generated Node #0,2,2: 91:[15, 123] Operation: 48+75=123 Exploring Operation: 48-15=33, Resulting Numbers: [75, 33] Generated Node #0,2,3: 91:[75, 33] Operation: 48-15=33 Exploring Operation: 75-48=27, Resulting Numbers: [15, 27] Generated Node #0,2,4: 91:[15, 27] Operation: 75-48=27 Moving to Node #0,2,4 Current State: 91:[15, 27], Operations: ['20+55=75', '75-48=27'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,91 unequal: No Solution Exploring Operation: 15*27=405, Resulting Numbers: [405] 405,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[15, 123], Operations: ['20+55=75', '48+75=123'] Exploring Operation: 15+123=138, Resulting Numbers: [138] 138,91 unequal: No Solution Exploring Operation: 123-15=108, Resulting Numbers: [108] 108,91 unequal: No Solution Exploring Operation: 15*123=1845, Resulting Numbers: [1845] 1845,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[48, 90], Operations: ['20+55=75', '15+75=90'] Exploring Operation: 48+90=138, Resulting Numbers: [138] 138,91 unequal: No Solution Exploring Operation: 48*90=4320, Resulting Numbers: [4320] 4320,91 unequal: No Solution Exploring Operation: 90-48=42, Resulting Numbers: [42] 42,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[75, 33], Operations: ['20+55=75', '48-15=33'] Exploring Operation: 75*33=2475, Resulting Numbers: [2475] 2475,91 unequal: No Solution Exploring Operation: 75+33=108, Resulting Numbers: [108] 108,91 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[48, 5], Operations: ['20+55=75', '75/15=5'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,91 unequal: No Solution Exploring Operation: 48*5=240, Resulting Numbers: [240] 240,91 unequal: No Solution Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[15, 48, 35], Operations: ['55-20=35'] Exploring Operation: 48-15=33, Resulting Numbers: [35, 33] Generated Node #0,3,0: 91:[35, 33] Operation: 48-15=33 Exploring Operation: 35-15=20, Resulting Numbers: [48, 20] Generated Node #0,3,1: 91:[48, 20] Operation: 35-15=20 Exploring Operation: 48-35=13, Resulting Numbers: [15, 13] Generated Node #0,3,2: 91:[15, 13] Operation: 48-35=13 Exploring Operation: 48+35=83, Resulting Numbers: [15, 83] Generated Node #0,3,3: 91:[15, 83] Operation: 48+35=83 Exploring Operation: 15+48=63, Resulting Numbers: [35, 63] Generated Node #0,3,4: 91:[35, 63] Operation: 15+48=63 Moving to Node #0,3,2 Current State: 91:[15, 13], Operations: ['55-20=35', '48-35=13'] Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,91 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[15, 83], Operations: ['55-20=35', '48+35=83'] Exploring Operation: 15*83=1245, Resulting Numbers: [1245] 1245,91 unequal: No Solution Exploring Operation: 15+83=98, Resulting Numbers: [98] 98,91 unequal: No Solution Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[35, 33], Operations: ['55-20=35', '48-15=33'] Exploring Operation: 35*33=1155, Resulting Numbers: [1155] 1155,91 unequal: No Solution Exploring Operation: 35+33=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 35-33=2, Resulting Numbers: [2] 2,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[48, 20], Operations: ['55-20=35', '35-15=20'] Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,91 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,91 unequal: No Solution Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,91 unequal: No Solution Moving to Node #0,3,4 Current State: 91:[35, 63], Operations: ['55-20=35', '15+48=63'] Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,91 unequal: No Solution Exploring Operation: 35*63=2205, Resulting Numbers: [2205] 2205,91 unequal: No Solution Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,91 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
[ 2, 94, 48, 40 ]
41
[ "94/2=47", "48+40=88", "88-47=41" ]
Current State: 41:[2, 94, 48, 40], Operations: [] Exploring Operation: 94/2=47, Resulting Numbers: [48, 40, 47] Generated Node #2: [48, 40, 47] from Operation: 94/2=47 Current State: 41:[48, 40, 47], Operations: ['94/2=47'] Exploring Operation: 48+40=88, Resulting Numbers: [47, 88] Generated Node #3: [47, 88] from Operation: 48+40=88 Current State: 41:[47, 88], Operations: ['94/2=47', '48+40=88'] Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[2, 94, 48, 40], Operations: [] Exploring Operation: 94-40=54, Resulting Numbers: [2, 48, 54] Generated Node #0,0: 41:[2, 48, 54] Operation: 94-40=54 Exploring Operation: 48-2=46, Resulting Numbers: [94, 40, 46] Generated Node #0,1: 41:[94, 40, 46] Operation: 48-2=46 Exploring Operation: 94-2=92, Resulting Numbers: [48, 40, 92] Generated Node #0,2: 41:[48, 40, 92] Operation: 94-2=92 Exploring Operation: 94-48=46, Resulting Numbers: [2, 40, 46] Generated Node #0,3: 41:[2, 40, 46] Operation: 94-48=46 Exploring Operation: 94/2=47, Resulting Numbers: [48, 40, 47] Generated Node #0,4: 41:[48, 40, 47] Operation: 94/2=47 Start Sub Search at level 1: Moving to Node #0,4 Current State: 41:[48, 40, 47], Operations: ['94/2=47'] Exploring Operation: 47-40=7, Resulting Numbers: [48, 7] Generated Node #0,4,0: 41:[48, 7] Operation: 47-40=7 Exploring Operation: 48-40=8, Resulting Numbers: [47, 8] Generated Node #0,4,1: 41:[47, 8] Operation: 48-40=8 Exploring Operation: 40+47=87, Resulting Numbers: [48, 87] Generated Node #0,4,2: 41:[48, 87] Operation: 40+47=87 Exploring Operation: 48+40=88, Resulting Numbers: [47, 88] Generated Node #0,4,3: 41:[47, 88] Operation: 48+40=88 Exploring Operation: 48-47=1, Resulting Numbers: [40, 1] Generated Node #0,4,4: 41:[40, 1] Operation: 48-47=1 Moving to Node #0,4,1 Current State: 41:[47, 8], Operations: ['94/2=47', '48-40=8'] Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,41 unequal: No Solution Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,41 unequal: No Solution Moving to Node #0,4,4 Current State: 41:[40, 1], Operations: ['94/2=47', '48-47=1'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[2, 94, 48, 40], Operations: [] Exploring Operation: 94/2=47, Resulting Numbers: [48, 40, 47] Generated Node #0,4: 41:[48, 40, 47] Operation: 94/2=47 Moving to Node #0,4 Current State: 41:[48, 40, 47], Operations: ['94/2=47'] Exploring Operation: 48-47=1, Resulting Numbers: [40, 1] Generated Node #0,4,4: 41:[40, 1] Operation: 48-47=1 Moving to Node #0,4,4 Current State: 41:[40, 1], Operations: ['94/2=47', '48-47=1'] Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 67, 11, 26, 49 ]
19
[ "67-11=56", "26+49=75", "75-56=19" ]
Current State: 19:[67, 11, 26, 49], Operations: [] Exploring Operation: 67-11=56, Resulting Numbers: [26, 49, 56] Generated Node #2: [26, 49, 56] from Operation: 67-11=56 Current State: 19:[26, 49, 56], Operations: ['67-11=56'] Exploring Operation: 26+49=75, Resulting Numbers: [56, 75] Generated Node #3: [56, 75] from Operation: 26+49=75 Current State: 19:[56, 75], Operations: ['67-11=56', '26+49=75'] Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[67, 11, 26, 49], Operations: [] Exploring Operation: 67-26=41, Resulting Numbers: [11, 49, 41] Generated Node #0,0: 19:[11, 49, 41] Operation: 67-26=41 Exploring Operation: 67-11=56, Resulting Numbers: [26, 49, 56] Generated Node #0,1: 19:[26, 49, 56] Operation: 67-11=56 Exploring Operation: 67-49=18, Resulting Numbers: [11, 26, 18] Generated Node #0,2: 19:[11, 26, 18] Operation: 67-49=18 Exploring Operation: 49-26=23, Resulting Numbers: [67, 11, 23] Generated Node #0,3: 19:[67, 11, 23] Operation: 49-26=23 Moving to Node #0,2 Current State: 19:[11, 26, 18], Operations: ['67-49=18'] Exploring Operation: 11+18=29, Resulting Numbers: [26, 29] Generated Node #0,2,0: 19:[26, 29] Operation: 11+18=29 Exploring Operation: 11+26=37, Resulting Numbers: [18, 37] Generated Node #0,2,1: 19:[18, 37] Operation: 11+26=37 Exploring Operation: 18-11=7, Resulting Numbers: [26, 7] Generated Node #0,2,2: 19:[26, 7] Operation: 18-11=7 Exploring Operation: 26-11=15, Resulting Numbers: [18, 15] Generated Node #0,2,3: 19:[18, 15] Operation: 26-11=15 Moving to Node #0,3 Current State: 19:[67, 11, 23], Operations: ['49-26=23'] Exploring Operation: 67-23=44, Resulting Numbers: [11, 44] Generated Node #0,3,0: 19:[11, 44] Operation: 67-23=44 Exploring Operation: 23-11=12, Resulting Numbers: [67, 12] Generated Node #0,3,1: 19:[67, 12] Operation: 23-11=12 Exploring Operation: 67+11=78, Resulting Numbers: [23, 78] Generated Node #0,3,2: 19:[23, 78] Operation: 67+11=78 Exploring Operation: 67-11=56, Resulting Numbers: [23, 56] Generated Node #0,3,3: 19:[23, 56] Operation: 67-11=56 Moving to Node #0,0 Current State: 19:[11, 49, 41], Operations: ['67-26=41'] Exploring Operation: 49-41=8, Resulting Numbers: [11, 8] Generated Node #0,0,0: 19:[11, 8] Operation: 49-41=8 Exploring Operation: 11+49=60, Resulting Numbers: [41, 60] Generated Node #0,0,1: 19:[41, 60] Operation: 11+49=60 Exploring Operation: 41-11=30, Resulting Numbers: [49, 30] Generated Node #0,0,2: 19:[49, 30] Operation: 41-11=30 Exploring Operation: 49-11=38, Resulting Numbers: [41, 38] Generated Node #0,0,3: 19:[41, 38] Operation: 49-11=38 Moving to Node #0,1 Current State: 19:[26, 49, 56], Operations: ['67-11=56'] Exploring Operation: 49-26=23, Resulting Numbers: [56, 23] Generated Node #0,1,0: 19:[56, 23] Operation: 49-26=23 Exploring Operation: 56-49=7, Resulting Numbers: [26, 7] Generated Node #0,1,1: 19:[26, 7] Operation: 56-49=7 Exploring Operation: 56-26=30, Resulting Numbers: [49, 30] Generated Node #0,1,2: 19:[49, 30] Operation: 56-26=30 Exploring Operation: 26+49=75, Resulting Numbers: [56, 75] Generated Node #0,1,3: 19:[56, 75] Operation: 26+49=75 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[26, 7], Operations: ['67-11=56', '56-49=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[67, 11, 26, 49], Operations: [] Exploring Operation: 67-11=56, Resulting Numbers: [26, 49, 56] Generated Node #0,1: 19:[26, 49, 56] Operation: 67-11=56 Moving to Node #0,1 Current State: 19:[26, 49, 56], Operations: ['67-11=56'] Exploring Operation: 56-49=7, Resulting Numbers: [26, 7] Generated Node #0,1,1: 19:[26, 7] Operation: 56-49=7 Moving to Node #0,1,1 Current State: 19:[26, 7], Operations: ['67-11=56', '56-49=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 38, 10, 47, 1 ]
99
[ "47-38=9", "10+1=11", "9*11=99" ]
Current State: 99:[38, 10, 47, 1], Operations: [] Exploring Operation: 47-38=9, Resulting Numbers: [10, 1, 9] Generated Node #2: [10, 1, 9] from Operation: 47-38=9 Current State: 99:[10, 1, 9], Operations: ['47-38=9'] Exploring Operation: 10+1=11, Resulting Numbers: [9, 11] Generated Node #3: [9, 11] from Operation: 10+1=11 Current State: 99:[9, 11], Operations: ['47-38=9', '10+1=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[38, 10, 47, 1], Operations: [] Exploring Operation: 47-10=37, Resulting Numbers: [38, 1, 37] Generated Node #0,0: 99:[38, 1, 37] Operation: 47-10=37 Exploring Operation: 47-38=9, Resulting Numbers: [10, 1, 9] Generated Node #0,1: 99:[10, 1, 9] Operation: 47-38=9 Exploring Operation: 38-1=37, Resulting Numbers: [10, 47, 37] Generated Node #0,2: 99:[10, 47, 37] Operation: 38-1=37 Exploring Operation: 38+47=85, Resulting Numbers: [10, 1, 85] Generated Node #0,3: 99:[10, 1, 85] Operation: 38+47=85 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[10, 1, 9], Operations: ['47-38=9'] Exploring Operation: 10-1=9, Resulting Numbers: [9, 9] Generated Node #0,1,0: 99:[9, 9] Operation: 10-1=9 Exploring Operation: 10*1=10, Resulting Numbers: [9, 10] Generated Node #0,1,1: 99:[9, 10] Operation: 10*1=10 Exploring Operation: 10+1=11, Resulting Numbers: [9, 11] Generated Node #0,1,2: 99:[9, 11] Operation: 10+1=11 Exploring Operation: 10/1=10, Resulting Numbers: [9, 10] Generated Node #0,1,3: 99:[9, 10] Operation: 10/1=10 Moving to Node #0,1,0 Current State: 99:[9, 9], Operations: ['47-38=9', '10-1=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,99 unequal: No Solution Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[9, 11], Operations: ['47-38=9', '10+1=11'] Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,99 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[38, 10, 47, 1], Operations: [] Exploring Operation: 47-38=9, Resulting Numbers: [10, 1, 9] Generated Node #0,1: 99:[10, 1, 9] Operation: 47-38=9 Moving to Node #0,1 Current State: 99:[10, 1, 9], Operations: ['47-38=9'] Exploring Operation: 10+1=11, Resulting Numbers: [9, 11] Generated Node #0,1,2: 99:[9, 11] Operation: 10+1=11 Moving to Node #0,1,2 Current State: 99:[9, 11], Operations: ['47-38=9', '10+1=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 93, 27, 10, 92 ]
36
[ "93-27=66", "10+92=102", "102-66=36" ]
Current State: 36:[93, 27, 10, 92], Operations: [] Exploring Operation: 93-27=66, Resulting Numbers: [10, 92, 66] Generated Node #2: [10, 92, 66] from Operation: 93-27=66 Current State: 36:[10, 92, 66], Operations: ['93-27=66'] Exploring Operation: 10+92=102, Resulting Numbers: [66, 102] Generated Node #3: [66, 102] from Operation: 10+92=102 Current State: 36:[66, 102], Operations: ['93-27=66', '10+92=102'] Exploring Operation: 102-66=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[93, 27, 10, 92], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [27, 10, 1] Generated Node #0,0: 36:[27, 10, 1] Operation: 93-92=1 Moving to Node #0,0 Current State: 36:[27, 10, 1], Operations: ['93-92=1'] Exploring Operation: 27+10=37, Resulting Numbers: [1, 37] Generated Node #0,0,0: 36:[1, 37] Operation: 27+10=37 Moving to Node #0,0,0 Current State: 36:[1, 37], Operations: ['93-92=1', '27+10=37'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[93, 27, 10, 92], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [27, 10, 1] Generated Node #0,0: 36:[27, 10, 1] Operation: 93-92=1 Moving to Node #0,0 Current State: 36:[27, 10, 1], Operations: ['93-92=1'] Exploring Operation: 27+10=37, Resulting Numbers: [1, 37] Generated Node #0,0,0: 36:[1, 37] Operation: 27+10=37 Moving to Node #0,0,0 Current State: 36:[1, 37], Operations: ['93-92=1', '27+10=37'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 46, 72, 39, 98 ]
59
[ "46+72=118", "98-39=59", "118-59=59" ]
Current State: 59:[46, 72, 39, 98], Operations: [] Exploring Operation: 46+72=118, Resulting Numbers: [39, 98, 118] Generated Node #2: [39, 98, 118] from Operation: 46+72=118 Current State: 59:[39, 98, 118], Operations: ['46+72=118'] Exploring Operation: 98-39=59, Resulting Numbers: [118, 59] Generated Node #3: [118, 59] from Operation: 98-39=59 Current State: 59:[118, 59], Operations: ['46+72=118', '98-39=59'] Exploring Operation: 118-59=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[46, 72, 39, 98], Operations: [] Exploring Operation: 98-39=59, Resulting Numbers: [46, 72, 59] Generated Node #0,0: 59:[46, 72, 59] Operation: 98-39=59 Exploring Operation: 98-46=52, Resulting Numbers: [72, 39, 52] Generated Node #0,1: 59:[72, 39, 52] Operation: 98-46=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[46, 72, 59], Operations: ['98-39=59'] Exploring Operation: 72-46=26, Resulting Numbers: [59, 26] Generated Node #0,0,0: 59:[59, 26] Operation: 72-46=26 Exploring Operation: 46+72=118, Resulting Numbers: [59, 118] Generated Node #0,0,1: 59:[59, 118] Operation: 46+72=118 Moving to Node #0,0,0 Current State: 59:[59, 26], Operations: ['98-39=59', '72-46=26'] Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,59 unequal: No Solution Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[59, 118], Operations: ['98-39=59', '46+72=118'] Exploring Operation: 118-59=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[46, 72, 39, 98], Operations: [] Exploring Operation: 98-39=59, Resulting Numbers: [46, 72, 59] Generated Node #0,0: 59:[46, 72, 59] Operation: 98-39=59 Moving to Node #0,0 Current State: 59:[46, 72, 59], Operations: ['98-39=59'] Exploring Operation: 46+72=118, Resulting Numbers: [59, 118] Generated Node #0,0,1: 59:[59, 118] Operation: 46+72=118 Moving to Node #0,0,1 Current State: 59:[59, 118], Operations: ['98-39=59', '46+72=118'] Exploring Operation: 118-59=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 43, 71, 85, 37 ]
66
[ "43+71=114", "85-37=48", "114-48=66" ]
Current State: 66:[43, 71, 85, 37], Operations: [] Exploring Operation: 43+71=114, Resulting Numbers: [85, 37, 114] Generated Node #2: [85, 37, 114] from Operation: 43+71=114 Current State: 66:[85, 37, 114], Operations: ['43+71=114'] Exploring Operation: 85-37=48, Resulting Numbers: [114, 48] Generated Node #3: [114, 48] from Operation: 85-37=48 Current State: 66:[114, 48], Operations: ['43+71=114', '85-37=48'] Exploring Operation: 114-48=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[43, 71, 85, 37], Operations: [] Exploring Operation: 71-43=28, Resulting Numbers: [85, 37, 28] Generated Node #0,0: 66:[85, 37, 28] Operation: 71-43=28 Exploring Operation: 43-37=6, Resulting Numbers: [71, 85, 6] Generated Node #0,1: 66:[71, 85, 6] Operation: 43-37=6 Exploring Operation: 85-43=42, Resulting Numbers: [71, 37, 42] Generated Node #0,2: 66:[71, 37, 42] Operation: 85-43=42 Exploring Operation: 85-71=14, Resulting Numbers: [43, 37, 14] Generated Node #0,3: 66:[43, 37, 14] Operation: 85-71=14 Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[43, 37, 14], Operations: ['85-71=14'] Exploring Operation: 43-14=29, Resulting Numbers: [37, 29] Generated Node #0,3,0: 66:[37, 29] Operation: 43-14=29 Exploring Operation: 43+14=57, Resulting Numbers: [37, 57] Generated Node #0,3,1: 66:[37, 57] Operation: 43+14=57 Exploring Operation: 37-14=23, Resulting Numbers: [43, 23] Generated Node #0,3,2: 66:[43, 23] Operation: 37-14=23 Exploring Operation: 43-37=6, Resulting Numbers: [14, 6] Generated Node #0,3,3: 66:[14, 6] Operation: 43-37=6 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 66:[14, 6], Operations: ['85-71=14', '43-37=6'] Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 66:[37, 29], Operations: ['85-71=14', '43-14=29'] Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,66 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[43, 71, 85, 37], Operations: [] Exploring Operation: 85-71=14, Resulting Numbers: [43, 37, 14] Generated Node #0,3: 66:[43, 37, 14] Operation: 85-71=14 Moving to Node #0,3 Current State: 66:[43, 37, 14], Operations: ['85-71=14'] Exploring Operation: 43-14=29, Resulting Numbers: [37, 29] Generated Node #0,3,0: 66:[37, 29] Operation: 43-14=29 Moving to Node #0,3,0 Current State: 66:[37, 29], Operations: ['85-71=14', '43-14=29'] Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 16, 41, 90, 45 ]
73
[ "16*90=1440", "1440/45=32", "41+32=73" ]
Current State: 73:[16, 41, 90, 45], Operations: [] Exploring Operation: 16*90=1440, Resulting Numbers: [41, 45, 1440] Generated Node #2: [41, 45, 1440] from Operation: 16*90=1440 Current State: 73:[41, 45, 1440], Operations: ['16*90=1440'] Exploring Operation: 1440/45=32, Resulting Numbers: [41, 32] Generated Node #3: [41, 32] from Operation: 1440/45=32 Current State: 73:[41, 32], Operations: ['16*90=1440', '1440/45=32'] Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[16, 41, 90, 45], Operations: [] Exploring Operation: 16+41=57, Resulting Numbers: [90, 45, 57] Generated Node #0,0: 73:[90, 45, 57] Operation: 16+41=57 Exploring Operation: 90-16=74, Resulting Numbers: [41, 45, 74] Generated Node #0,1: 73:[41, 45, 74] Operation: 90-16=74 Exploring Operation: 41+45=86, Resulting Numbers: [16, 90, 86] Generated Node #0,2: 73:[16, 90, 86] Operation: 41+45=86 Exploring Operation: 16+45=61, Resulting Numbers: [41, 90, 61] Generated Node #0,3: 73:[41, 90, 61] Operation: 16+45=61 Moving to Node #0,0 Current State: 73:[90, 45, 57], Operations: ['16+41=57'] Exploring Operation: 90+45=135, Resulting Numbers: [57, 135] Generated Node #0,0,0: 73:[57, 135] Operation: 90+45=135 Exploring Operation: 90-57=33, Resulting Numbers: [45, 33] Generated Node #0,0,1: 73:[45, 33] Operation: 90-57=33 Exploring Operation: 90-45=45, Resulting Numbers: [57, 45] Generated Node #0,0,2: 73:[57, 45] Operation: 90-45=45 Exploring Operation: 45+57=102, Resulting Numbers: [90, 102] Generated Node #0,0,3: 73:[90, 102] Operation: 45+57=102 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[57, 45], Operations: ['16+41=57', '90-45=45'] Exploring Operation: 57-45=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 57*45=2565, Resulting Numbers: [2565] 2565,73 unequal: No Solution Exploring Operation: 57+45=102, Resulting Numbers: [102] 102,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 73:[90, 102], Operations: ['16+41=57', '45+57=102'] Exploring Operation: 90+102=192, Resulting Numbers: [192] 192,73 unequal: No Solution Exploring Operation: 102-90=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 90*102=9180, Resulting Numbers: [9180] 9180,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[45, 33], Operations: ['16+41=57', '90-57=33'] Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,73 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[57, 135], Operations: ['16+41=57', '90+45=135'] Exploring Operation: 135-57=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 57*135=7695, Resulting Numbers: [7695] 7695,73 unequal: No Solution Exploring Operation: 57+135=192, Resulting Numbers: [192] 192,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 73:[41, 90, 61], Operations: ['16+45=61'] Exploring Operation: 61-41=20, Resulting Numbers: [90, 20] Generated Node #0,3,0: 73:[90, 20] Operation: 61-41=20 Exploring Operation: 41+90=131, Resulting Numbers: [61, 131] Generated Node #0,3,1: 73:[61, 131] Operation: 41+90=131 Exploring Operation: 41+61=102, Resulting Numbers: [90, 102] Generated Node #0,3,2: 73:[90, 102] Operation: 41+61=102 Exploring Operation: 90-41=49, Resulting Numbers: [61, 49] Generated Node #0,3,3: 73:[61, 49] Operation: 90-41=49 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[61, 49], Operations: ['16+45=61', '90-41=49'] Exploring Operation: 61+49=110, Resulting Numbers: [110] 110,73 unequal: No Solution Exploring Operation: 61*49=2989, Resulting Numbers: [2989] 2989,73 unequal: No Solution Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[90, 102], Operations: ['16+45=61', '41+61=102'] Exploring Operation: 102-90=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 90+102=192, Resulting Numbers: [192] 192,73 unequal: No Solution Exploring Operation: 90*102=9180, Resulting Numbers: [9180] 9180,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[90, 20], Operations: ['16+45=61', '61-41=20'] Exploring Operation: 90*20=1800, Resulting Numbers: [1800] 1800,73 unequal: No Solution Exploring Operation: 90+20=110, Resulting Numbers: [110] 110,73 unequal: No Solution Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[61, 131], Operations: ['16+45=61', '41+90=131'] Exploring Operation: 61*131=7991, Resulting Numbers: [7991] 7991,73 unequal: No Solution Exploring Operation: 61+131=192, Resulting Numbers: [192] 192,73 unequal: No Solution Exploring Operation: 131-61=70, Resulting Numbers: [70] 70,73 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: 73:[41, 45, 74], Operations: ['90-16=74'] Exploring Operation: 45-41=4, Resulting Numbers: [74, 4] Generated Node #0,1,0: 73:[74, 4] Operation: 45-41=4 Exploring Operation: 41+74=115, Resulting Numbers: [45, 115] Generated Node #0,1,1: 73:[45, 115] Operation: 41+74=115 Exploring Operation: 41+45=86, Resulting Numbers: [74, 86] Generated Node #0,1,2: 73:[74, 86] Operation: 41+45=86 Exploring Operation: 74-41=33, Resulting Numbers: [45, 33] Generated Node #0,1,3: 73:[45, 33] Operation: 74-41=33 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[74, 86], Operations: ['90-16=74', '41+45=86'] Exploring Operation: 74*86=6364, Resulting Numbers: [6364] 6364,73 unequal: No Solution Exploring Operation: 86-74=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 74+86=160, Resulting Numbers: [160] 160,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 73:[45, 33], Operations: ['90-16=74', '74-41=33'] Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,73 unequal: No Solution Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[74, 4], Operations: ['90-16=74', '45-41=4'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,73 unequal: No Solution Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 74*4=296, Resulting Numbers: [296] 296,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[45, 115], Operations: ['90-16=74', '41+74=115'] Exploring Operation: 45*115=5175, Resulting Numbers: [5175] 5175,73 unequal: No Solution Exploring Operation: 45+115=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 115-45=70, Resulting Numbers: [70] 70,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 73:[16, 90, 86], Operations: ['41+45=86'] Exploring Operation: 16+90=106, Resulting Numbers: [86, 106] Generated Node #0,2,0: 73:[86, 106] Operation: 16+90=106 Exploring Operation: 16+86=102, Resulting Numbers: [90, 102] Generated Node #0,2,1: 73:[90, 102] Operation: 16+86=102 Exploring Operation: 90-16=74, Resulting Numbers: [86, 74] Generated Node #0,2,2: 73:[86, 74] Operation: 90-16=74 Exploring Operation: 86-16=70, Resulting Numbers: [90, 70] Generated Node #0,2,3: 73:[90, 70] Operation: 86-16=70 Moving to Node #0,2,2 Current State: 73:[86, 74], Operations: ['41+45=86', '90-16=74'] Exploring Operation: 86-74=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 86*74=6364, Resulting Numbers: [6364] 6364,73 unequal: No Solution Exploring Operation: 86+74=160, Resulting Numbers: [160] 160,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[90, 70], Operations: ['41+45=86', '86-16=70'] Exploring Operation: 90*70=6300, Resulting Numbers: [6300] 6300,73 unequal: No Solution Exploring Operation: 90+70=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 90-70=20, Resulting Numbers: [20] 20,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[90, 102], Operations: ['41+45=86', '16+86=102'] Exploring Operation: 90+102=192, Resulting Numbers: [192] 192,73 unequal: No Solution Exploring Operation: 90*102=9180, Resulting Numbers: [9180] 9180,73 unequal: No Solution Exploring Operation: 102-90=12, Resulting Numbers: [12] 12,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[86, 106], Operations: ['41+45=86', '16+90=106'] Exploring Operation: 86*106=9116, Resulting Numbers: [9116] 9116,73 unequal: No Solution Exploring Operation: 86+106=192, Resulting Numbers: [192] 192,73 unequal: No Solution Exploring Operation: 106-86=20, Resulting Numbers: [20] 20,73 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 16, 11, 45, 40 ]
85
[ "45-11=34", "40*34=1360", "1360/16=85" ]
Current State: 85:[16, 11, 45, 40], Operations: [] Exploring Operation: 45-11=34, Resulting Numbers: [16, 40, 34] Generated Node #2: [16, 40, 34] from Operation: 45-11=34 Current State: 85:[16, 40, 34], Operations: ['45-11=34'] Exploring Operation: 40*34=1360, Resulting Numbers: [16, 1360] Generated Node #3: [16, 1360] from Operation: 40*34=1360 Current State: 85:[16, 1360], Operations: ['45-11=34', '40*34=1360'] Exploring Operation: 1360/16=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[16, 11, 45, 40], Operations: [] Exploring Operation: 45-16=29, Resulting Numbers: [11, 40, 29] Generated Node #0,0: 85:[11, 40, 29] Operation: 45-16=29 Exploring Operation: 45-40=5, Resulting Numbers: [16, 11, 5] Generated Node #0,1: 85:[16, 11, 5] Operation: 45-40=5 Exploring Operation: 45+40=85, Resulting Numbers: [16, 11, 85] Generated Node #0,2: 85:[16, 11, 85] Operation: 45+40=85 Moving to Node #0,1 Current State: 85:[16, 11, 5], Operations: ['45-40=5'] Exploring Operation: 16-11=5, Resulting Numbers: [5, 5] Generated Node #0,1,0: 85:[5, 5] Operation: 16-11=5 Exploring Operation: 11+5=16, Resulting Numbers: [16, 16] Generated Node #0,1,1: 85:[16, 16] Operation: 11+5=16 Exploring Operation: 11-5=6, Resulting Numbers: [16, 6] Generated Node #0,1,2: 85:[16, 6] Operation: 11-5=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 85:[5, 5], Operations: ['45-40=5', '16-11=5'] Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,85 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[16, 16], Operations: ['45-40=5', '11+5=16'] Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,85 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 85:[16, 6], Operations: ['45-40=5', '11-5=6'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,85 unequal: No Solution Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,85 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,85 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: 85:[16, 11, 85], Operations: ['45+40=85'] Exploring Operation: 16+11=27, Resulting Numbers: [85, 27] Generated Node #0,2,0: 85:[85, 27] Operation: 16+11=27 Exploring Operation: 11+85=96, Resulting Numbers: [16, 96] Generated Node #0,2,1: 85:[16, 96] Operation: 11+85=96 Exploring Operation: 16-11=5, Resulting Numbers: [85, 5] Generated Node #0,2,2: 85:[85, 5] Operation: 16-11=5 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 85:[85, 5], Operations: ['45+40=85', '16-11=5'] Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,85 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,85 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 85:[85, 27], Operations: ['45+40=85', '16+11=27'] Exploring Operation: 85*27=2295, Resulting Numbers: [2295] 2295,85 unequal: No Solution Exploring Operation: 85+27=112, Resulting Numbers: [112] 112,85 unequal: No Solution Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 85:[16, 96], Operations: ['45+40=85', '11+85=96'] Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,85 unequal: No Solution Exploring Operation: 16+96=112, Resulting Numbers: [112] 112,85 unequal: No Solution Exploring Operation: 96/16=6, Resulting Numbers: [6] 6,85 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: 85:[11, 40, 29], Operations: ['45-16=29'] Exploring Operation: 40-11=29, Resulting Numbers: [29, 29] Generated Node #0,0,0: 85:[29, 29] Operation: 40-11=29 Exploring Operation: 40+29=69, Resulting Numbers: [11, 69] Generated Node #0,0,1: 85:[11, 69] Operation: 40+29=69 Exploring Operation: 40-29=11, Resulting Numbers: [11, 11] Generated Node #0,0,2: 85:[11, 11] Operation: 40-29=11 Moving to Node #0,0,2 Current State: 85:[11, 11], Operations: ['45-16=29', '40-29=11'] Exploring Operation: 11-11=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,85 unequal: No Solution Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[11, 69], Operations: ['45-16=29', '40+29=69'] Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,85 unequal: No Solution Exploring Operation: 11+69=80, Resulting Numbers: [80] 80,85 unequal: No Solution Exploring Operation: 11*69=759, Resulting Numbers: [759] 759,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[29, 29], Operations: ['45-16=29', '40-11=29'] Exploring Operation: 29/29=1, Resulting Numbers: [1] 1,85 unequal: No Solution Exploring Operation: 29-29=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 29+29=58, Resulting Numbers: [58] 58,85 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 40, 59, 50, 72 ]
77
[ "40+59=99", "72-50=22", "99-22=77" ]
Current State: 77:[40, 59, 50, 72], Operations: [] Exploring Operation: 40+59=99, Resulting Numbers: [50, 72, 99] Generated Node #2: [50, 72, 99] from Operation: 40+59=99 Current State: 77:[50, 72, 99], Operations: ['40+59=99'] Exploring Operation: 72-50=22, Resulting Numbers: [99, 22] Generated Node #3: [99, 22] from Operation: 72-50=22 Current State: 77:[99, 22], Operations: ['40+59=99', '72-50=22'] Exploring Operation: 99-22=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[40, 59, 50, 72], Operations: [] Exploring Operation: 59-50=9, Resulting Numbers: [40, 72, 9] Generated Node #0,0: 77:[40, 72, 9] Operation: 59-50=9 Exploring Operation: 40+50=90, Resulting Numbers: [59, 72, 90] Generated Node #0,1: 77:[59, 72, 90] Operation: 40+50=90 Exploring Operation: 59-40=19, Resulting Numbers: [50, 72, 19] Generated Node #0,2: 77:[50, 72, 19] Operation: 59-40=19 Exploring Operation: 50-40=10, Resulting Numbers: [59, 72, 10] Generated Node #0,3: 77:[59, 72, 10] Operation: 50-40=10 Start Sub Search at level 1: Moving to Node #0,3 Current State: 77:[59, 72, 10], Operations: ['50-40=10'] Exploring Operation: 59-10=49, Resulting Numbers: [72, 49] Generated Node #0,3,0: 77:[72, 49] Operation: 59-10=49 Exploring Operation: 59+10=69, Resulting Numbers: [72, 69] Generated Node #0,3,1: 77:[72, 69] Operation: 59+10=69 Exploring Operation: 72-59=13, Resulting Numbers: [10, 13] Generated Node #0,3,2: 77:[10, 13] Operation: 72-59=13 Exploring Operation: 72+10=82, Resulting Numbers: [59, 82] Generated Node #0,3,3: 77:[59, 82] Operation: 72+10=82 Moving to Node #0,3,2 Current State: 77:[10, 13], Operations: ['50-40=10', '72-59=13'] Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,77 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[72, 69], Operations: ['50-40=10', '59+10=69'] Exploring Operation: 72-69=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 72*69=4968, Resulting Numbers: [4968] 4968,77 unequal: No Solution Exploring Operation: 72+69=141, Resulting Numbers: [141] 141,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[59, 82], Operations: ['50-40=10', '72+10=82'] Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 59*82=4838, Resulting Numbers: [4838] 4838,77 unequal: No Solution Exploring Operation: 59+82=141, Resulting Numbers: [141] 141,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[72, 49], Operations: ['50-40=10', '59-10=49'] Exploring Operation: 72+49=121, Resulting Numbers: [121] 121,77 unequal: No Solution Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 72*49=3528, Resulting Numbers: [3528] 3528,77 unequal: No Solution No 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: 77:[40, 72, 9], Operations: ['59-50=9'] Exploring Operation: 72/9=8, Resulting Numbers: [40, 8] Generated Node #0,0,0: 77:[40, 8] Operation: 72/9=8 Exploring Operation: 40-9=31, Resulting Numbers: [72, 31] Generated Node #0,0,1: 77:[72, 31] Operation: 40-9=31 Exploring Operation: 40+9=49, Resulting Numbers: [72, 49] Generated Node #0,0,2: 77:[72, 49] Operation: 40+9=49 Exploring Operation: 72-40=32, Resulting Numbers: [9, 32] Generated Node #0,0,3: 77:[9, 32] Operation: 72-40=32 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 77:[9, 32], Operations: ['59-50=9', '72-40=32'] Exploring Operation: 9*32=288, Resulting Numbers: [288] 288,77 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 77:[72, 31], Operations: ['59-50=9', '40-9=31'] Exploring Operation: 72*31=2232, Resulting Numbers: [2232] 2232,77 unequal: No Solution Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,77 unequal: No Solution Exploring Operation: 72+31=103, Resulting Numbers: [103] 103,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[40, 8], Operations: ['59-50=9', '72/9=8'] Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,77 unequal: No Solution Exploring Operation: 40*8=320, Resulting Numbers: [320] 320,77 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 77:[72, 49], Operations: ['59-50=9', '40+9=49'] Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 72*49=3528, Resulting Numbers: [3528] 3528,77 unequal: No Solution Exploring Operation: 72+49=121, Resulting Numbers: [121] 121,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[59, 72, 90], Operations: ['40+50=90'] Exploring Operation: 90-72=18, Resulting Numbers: [59, 18] Generated Node #0,1,0: 77:[59, 18] Operation: 90-72=18 Exploring Operation: 90-59=31, Resulting Numbers: [72, 31] Generated Node #0,1,1: 77:[72, 31] Operation: 90-59=31 Exploring Operation: 59+72=131, Resulting Numbers: [90, 131] Generated Node #0,1,2: 77:[90, 131] Operation: 59+72=131 Exploring Operation: 72-59=13, Resulting Numbers: [90, 13] Generated Node #0,1,3: 77:[90, 13] Operation: 72-59=13 Moving to Node #0,1,3 Current State: 77:[90, 13], Operations: ['40+50=90', '72-59=13'] Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[40, 59, 50, 72], Operations: [] Exploring Operation: 40+50=90, Resulting Numbers: [59, 72, 90] Generated Node #0,1: 77:[59, 72, 90] Operation: 40+50=90 Moving to Node #0,1 Current State: 77:[59, 72, 90], Operations: ['40+50=90'] Exploring Operation: 72-59=13, Resulting Numbers: [90, 13] Generated Node #0,1,3: 77:[90, 13] Operation: 72-59=13 Moving to Node #0,1,3 Current State: 77:[90, 13], Operations: ['40+50=90', '72-59=13'] Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_4
sum_heuristic
[ 64, 87, 5, 71 ]
75
[ "64+87=151", "5+71=76", "151-76=75" ]
Current State: 75:[64, 87, 5, 71], Operations: [] Exploring Operation: 64+87=151, Resulting Numbers: [5, 71, 151] Generated Node #2: [5, 71, 151] from Operation: 64+87=151 Current State: 75:[5, 71, 151], Operations: ['64+87=151'] Exploring Operation: 5+71=76, Resulting Numbers: [151, 76] Generated Node #3: [151, 76] from Operation: 5+71=76 Current State: 75:[151, 76], Operations: ['64+87=151', '5+71=76'] Exploring Operation: 151-76=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[64, 87, 5, 71], Operations: [] Exploring Operation: 87-71=16, Resulting Numbers: [64, 5, 16] Generated Node #0,0: 75:[64, 5, 16] Operation: 87-71=16 Exploring Operation: 87-5=82, Resulting Numbers: [64, 71, 82] Generated Node #0,1: 75:[64, 71, 82] Operation: 87-5=82 Exploring Operation: 64+5=69, Resulting Numbers: [87, 71, 69] Generated Node #0,2: 75:[87, 71, 69] Operation: 64+5=69 Exploring Operation: 71-64=7, Resulting Numbers: [87, 5, 7] Generated Node #0,3: 75:[87, 5, 7] Operation: 71-64=7 Exploring Operation: 87-64=23, Resulting Numbers: [5, 71, 23] Generated Node #0,4: 75:[5, 71, 23] Operation: 87-64=23 Start Sub Search at level 1: Moving to Node #0,4 Current State: 75:[5, 71, 23], Operations: ['87-64=23'] Exploring Operation: 5+71=76, Resulting Numbers: [23, 76] Generated Node #0,4,0: 75:[23, 76] Operation: 5+71=76 Exploring Operation: 71+23=94, Resulting Numbers: [5, 94] Generated Node #0,4,1: 75:[5, 94] Operation: 71+23=94 Exploring Operation: 23-5=18, Resulting Numbers: [71, 18] Generated Node #0,4,2: 75:[71, 18] Operation: 23-5=18 Exploring Operation: 5+23=28, Resulting Numbers: [71, 28] Generated Node #0,4,3: 75:[71, 28] Operation: 5+23=28 Exploring Operation: 71-5=66, Resulting Numbers: [23, 66] Generated Node #0,4,4: 75:[23, 66] Operation: 71-5=66 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 75:[23, 76], Operations: ['87-64=23', '5+71=76'] Exploring Operation: 23+76=99, Resulting Numbers: [99] 99,75 unequal: No Solution Exploring Operation: 23*76=1748, Resulting Numbers: [1748] 1748,75 unequal: No Solution Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,75 unequal: No Solution No 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: 75:[71, 18], Operations: ['87-64=23', '23-5=18'] Exploring Operation: 71+18=89, Resulting Numbers: [89] 89,75 unequal: No Solution Exploring Operation: 71*18=1278, Resulting Numbers: [1278] 1278,75 unequal: No Solution Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,75 unequal: No Solution No 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: 75:[71, 28], Operations: ['87-64=23', '5+23=28'] Exploring Operation: 71*28=1988, Resulting Numbers: [1988] 1988,75 unequal: No Solution Exploring Operation: 71-28=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 71+28=99, Resulting Numbers: [99] 99,75 unequal: No Solution No 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: 75:[23, 66], Operations: ['87-64=23', '71-5=66'] Exploring Operation: 23*66=1518, Resulting Numbers: [1518] 1518,75 unequal: No Solution Exploring Operation: 23+66=89, Resulting Numbers: [89] 89,75 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,75 unequal: No Solution No 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: 75:[5, 94], Operations: ['87-64=23', '71+23=94'] Exploring Operation: 5+94=99, Resulting Numbers: [99] 99,75 unequal: No Solution Exploring Operation: 5*94=470, Resulting Numbers: [470] 470,75 unequal: No Solution Exploring Operation: 94-5=89, Resulting Numbers: [89] 89,75 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: 75:[64, 5, 16], Operations: ['87-71=16'] Exploring Operation: 5+16=21, Resulting Numbers: [64, 21] Generated Node #0,0,0: 75:[64, 21] Operation: 5+16=21 Exploring Operation: 16-5=11, Resulting Numbers: [64, 11] Generated Node #0,0,1: 75:[64, 11] Operation: 16-5=11 Exploring Operation: 64/16=4, Resulting Numbers: [5, 4] Generated Node #0,0,2: 75:[5, 4] Operation: 64/16=4 Exploring Operation: 64+16=80, Resulting Numbers: [5, 80] Generated Node #0,0,3: 75:[5, 80] Operation: 64+16=80 Exploring Operation: 64+5=69, Resulting Numbers: [16, 69] Generated Node #0,0,4: 75:[16, 69] Operation: 64+5=69 Moving to Node #0,0,2 Current State: 75:[5, 4], Operations: ['87-71=16', '64/16=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,75 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,75 unequal: No Solution Moving to Node #0,0,3 Current State: 75:[5, 80], Operations: ['87-71=16', '64+16=80'] Exploring Operation: 5*80=400, Resulting Numbers: [400] 400,75 unequal: No Solution Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[64, 87, 5, 71], Operations: [] Exploring Operation: 87-71=16, Resulting Numbers: [64, 5, 16] Generated Node #0,0: 75:[64, 5, 16] Operation: 87-71=16 Moving to Node #0,0 Current State: 75:[64, 5, 16], Operations: ['87-71=16'] Exploring Operation: 64+16=80, Resulting Numbers: [5, 80] Generated Node #0,0,3: 75:[5, 80] Operation: 64+16=80 Moving to Node #0,0,3 Current State: 75:[5, 80], Operations: ['87-71=16', '64+16=80'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 44, 66, 31, 75 ]
84
[ "66-44=22", "31+75=106", "106-22=84" ]
Current State: 84:[44, 66, 31, 75], Operations: [] Exploring Operation: 66-44=22, Resulting Numbers: [31, 75, 22] Generated Node #2: [31, 75, 22] from Operation: 66-44=22 Current State: 84:[31, 75, 22], Operations: ['66-44=22'] Exploring Operation: 31+75=106, Resulting Numbers: [22, 106] Generated Node #3: [22, 106] from Operation: 31+75=106 Current State: 84:[22, 106], Operations: ['66-44=22', '31+75=106'] Exploring Operation: 106-22=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[44, 66, 31, 75], Operations: [] Exploring Operation: 66-44=22, Resulting Numbers: [31, 75, 22] Generated Node #0,0: 84:[31, 75, 22] Operation: 66-44=22 Exploring Operation: 75-66=9, Resulting Numbers: [44, 31, 9] Generated Node #0,1: 84:[44, 31, 9] Operation: 75-66=9 Exploring Operation: 66-31=35, Resulting Numbers: [44, 75, 35] Generated Node #0,2: 84:[44, 75, 35] Operation: 66-31=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[44, 31, 9], Operations: ['75-66=9'] Exploring Operation: 31-9=22, Resulting Numbers: [44, 22] Generated Node #0,1,0: 84:[44, 22] Operation: 31-9=22 Exploring Operation: 44-31=13, Resulting Numbers: [9, 13] Generated Node #0,1,1: 84:[9, 13] Operation: 44-31=13 Exploring Operation: 31+9=40, Resulting Numbers: [44, 40] Generated Node #0,1,2: 84:[44, 40] Operation: 31+9=40 Moving to Node #0,1,0 Current State: 84:[44, 22], Operations: ['75-66=9', '31-9=22'] Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 44+22=66, Resulting Numbers: [66] 66,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[9, 13], Operations: ['75-66=9', '44-31=13'] Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,84 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[44, 40], Operations: ['75-66=9', '31+9=40'] Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,84 unequal: No Solution Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[44, 66, 31, 75], Operations: [] Exploring Operation: 75-66=9, Resulting Numbers: [44, 31, 9] Generated Node #0,1: 84:[44, 31, 9] Operation: 75-66=9 Moving to Node #0,1 Current State: 84:[44, 31, 9], Operations: ['75-66=9'] Exploring Operation: 31+9=40, Resulting Numbers: [44, 40] Generated Node #0,1,2: 84:[44, 40] Operation: 31+9=40 Moving to Node #0,1,2 Current State: 84:[44, 40], Operations: ['75-66=9', '31+9=40'] Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 35, 13, 82, 55 ]
89
[ "35+13=48", "82+55=137", "137-48=89" ]
Current State: 89:[35, 13, 82, 55], Operations: [] Exploring Operation: 35+13=48, Resulting Numbers: [82, 55, 48] Generated Node #2: [82, 55, 48] from Operation: 35+13=48 Current State: 89:[82, 55, 48], Operations: ['35+13=48'] Exploring Operation: 82+55=137, Resulting Numbers: [48, 137] Generated Node #3: [48, 137] from Operation: 82+55=137 Current State: 89:[48, 137], Operations: ['35+13=48', '82+55=137'] Exploring Operation: 137-48=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[35, 13, 82, 55], Operations: [] Exploring Operation: 35+13=48, Resulting Numbers: [82, 55, 48] Generated Node #0,0: 89:[82, 55, 48] Operation: 35+13=48 Exploring Operation: 13+55=68, Resulting Numbers: [35, 82, 68] Generated Node #0,1: 89:[35, 82, 68] Operation: 13+55=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[82, 55, 48], Operations: ['35+13=48'] Exploring Operation: 55+48=103, Resulting Numbers: [82, 103] Generated Node #0,0,0: 89:[82, 103] Operation: 55+48=103 Exploring Operation: 82+48=130, Resulting Numbers: [55, 130] Generated Node #0,0,1: 89:[55, 130] Operation: 82+48=130 Moving to Node #0,0,0 Current State: 89:[82, 103], Operations: ['35+13=48', '55+48=103'] Exploring Operation: 103-82=21, Resulting Numbers: [21] 21,89 unequal: No Solution Exploring Operation: 82+103=185, Resulting Numbers: [185] 185,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[55, 130], Operations: ['35+13=48', '82+48=130'] Exploring Operation: 130-55=75, Resulting Numbers: [75] 75,89 unequal: No Solution Exploring Operation: 55+130=185, Resulting Numbers: [185] 185,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[35, 82, 68], Operations: ['13+55=68'] Exploring Operation: 35+68=103, Resulting Numbers: [82, 103] Generated Node #0,1,0: 89:[82, 103] Operation: 35+68=103 Exploring Operation: 35+82=117, Resulting Numbers: [68, 117] Generated Node #0,1,1: 89:[68, 117] Operation: 35+82=117 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[82, 103], Operations: ['13+55=68', '35+68=103'] Exploring Operation: 103-82=21, Resulting Numbers: [21] 21,89 unequal: No Solution Exploring Operation: 82+103=185, Resulting Numbers: [185] 185,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[68, 117], Operations: ['13+55=68', '35+82=117'] Exploring Operation: 117-68=49, Resulting Numbers: [49] 49,89 unequal: No Solution Exploring Operation: 68+117=185, Resulting Numbers: [185] 185,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_2
mult_heuristic
[ 10, 42, 31, 25 ]
23
[ "31-10=21", "42/21=2", "25-2=23" ]
Current State: 23:[10, 42, 31, 25], Operations: [] Exploring Operation: 31-10=21, Resulting Numbers: [42, 25, 21] Generated Node #2: [42, 25, 21] from Operation: 31-10=21 Current State: 23:[42, 25, 21], Operations: ['31-10=21'] Exploring Operation: 42/21=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 42/21=2 Current State: 23:[25, 2], Operations: ['31-10=21', '42/21=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[10, 42, 31, 25], Operations: [] Exploring Operation: 31-10=21, Resulting Numbers: [42, 25, 21] Generated Node #0,0: 23:[42, 25, 21] Operation: 31-10=21 Exploring Operation: 42-25=17, Resulting Numbers: [10, 31, 17] Generated Node #0,1: 23:[10, 31, 17] Operation: 42-25=17 Exploring Operation: 42-31=11, Resulting Numbers: [10, 25, 11] Generated Node #0,2: 23:[10, 25, 11] Operation: 42-31=11 Exploring Operation: 42-10=32, Resulting Numbers: [31, 25, 32] Generated Node #0,3: 23:[31, 25, 32] Operation: 42-10=32 Moving to Node #0,3 Current State: 23:[31, 25, 32], Operations: ['42-10=32'] Exploring Operation: 31-25=6, Resulting Numbers: [32, 6] Generated Node #0,3,0: 23:[32, 6] Operation: 31-25=6 Exploring Operation: 31+25=56, Resulting Numbers: [32, 56] Generated Node #0,3,1: 23:[32, 56] Operation: 31+25=56 Exploring Operation: 32-25=7, Resulting Numbers: [31, 7] Generated Node #0,3,2: 23:[31, 7] Operation: 32-25=7 Exploring Operation: 32-31=1, Resulting Numbers: [25, 1] Generated Node #0,3,3: 23:[25, 1] Operation: 32-31=1 Moving to Node #0,0 Current State: 23:[42, 25, 21], Operations: ['31-10=21'] Exploring Operation: 42-21=21, Resulting Numbers: [25, 21] Generated Node #0,0,0: 23:[25, 21] Operation: 42-21=21 Exploring Operation: 42/21=2, Resulting Numbers: [25, 2] Generated Node #0,0,1: 23:[25, 2] Operation: 42/21=2 Exploring Operation: 42-25=17, Resulting Numbers: [21, 17] Generated Node #0,0,2: 23:[21, 17] Operation: 42-25=17 Exploring Operation: 25-21=4, Resulting Numbers: [42, 4] Generated Node #0,0,3: 23:[42, 4] Operation: 25-21=4 Moving to Node #0,2 Current State: 23:[10, 25, 11], Operations: ['42-31=11'] Exploring Operation: 25-11=14, Resulting Numbers: [10, 14] Generated Node #0,2,0: 23:[10, 14] Operation: 25-11=14 Exploring Operation: 10+25=35, Resulting Numbers: [11, 35] Generated Node #0,2,1: 23:[11, 35] Operation: 10+25=35 Exploring Operation: 10+11=21, Resulting Numbers: [25, 21] Generated Node #0,2,2: 23:[25, 21] Operation: 10+11=21 Exploring Operation: 25-10=15, Resulting Numbers: [11, 15] Generated Node #0,2,3: 23:[11, 15] Operation: 25-10=15 Moving to Node #0,1 Current State: 23:[10, 31, 17], Operations: ['42-25=17'] Exploring Operation: 10+31=41, Resulting Numbers: [17, 41] Generated Node #0,1,0: 23:[17, 41] Operation: 10+31=41 Exploring Operation: 31-10=21, Resulting Numbers: [17, 21] Generated Node #0,1,1: 23:[17, 21] Operation: 31-10=21 Exploring Operation: 10+17=27, Resulting Numbers: [31, 27] Generated Node #0,1,2: 23:[31, 27] Operation: 10+17=27 Exploring Operation: 31-17=14, Resulting Numbers: [10, 14] Generated Node #0,1,3: 23:[10, 14] Operation: 31-17=14 Moving to Node #0,0,0 Current State: 23:[25, 21], Operations: ['31-10=21', '42-21=21'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[25, 21], Operations: ['42-31=11', '10+11=21'] Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,23 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[21, 17], Operations: ['31-10=21', '42-25=17'] Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,23 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[17, 21], Operations: ['42-25=17', '31-10=21'] Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,23 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[31, 27], Operations: ['42-25=17', '10+17=27'] Exploring Operation: 31*27=837, Resulting Numbers: [837] 837,23 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[11, 15], Operations: ['42-31=11', '25-10=15'] Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,23 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[10, 14], Operations: ['42-25=17', '31-17=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[10, 14], Operations: ['42-31=11', '25-11=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,23 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[25, 2], Operations: ['31-10=21', '42/21=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[10, 42, 31, 25], Operations: [] Exploring Operation: 31-10=21, Resulting Numbers: [42, 25, 21] Generated Node #0,0: 23:[42, 25, 21] Operation: 31-10=21 Moving to Node #0,0 Current State: 23:[42, 25, 21], Operations: ['31-10=21'] Exploring Operation: 42/21=2, Resulting Numbers: [25, 2] Generated Node #0,0,1: 23:[25, 2] Operation: 42/21=2 Moving to Node #0,0,1 Current State: 23:[25, 2], Operations: ['31-10=21', '42/21=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.957465
hs_4
mult_heuristic
[ 15, 15, 70, 3 ]
70
[ "15-15=0", "3*0=0", "70+0=70" ]
Current State: 70:[15, 15, 70, 3], Operations: [] Exploring Operation: 15-15=0, Resulting Numbers: [70, 3, 0] Generated Node #2: [70, 3, 0] from Operation: 15-15=0 Current State: 70:[70, 3, 0], Operations: ['15-15=0'] Exploring Operation: 3*0=0, Resulting Numbers: [70, 0] Generated Node #3: [70, 0] from Operation: 3*0=0 Current State: 70:[70, 0], Operations: ['15-15=0', '3*0=0'] Exploring Operation: 70+0=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[15, 15, 70, 3], Operations: [] Exploring Operation: 15/3=5, Resulting Numbers: [15, 70, 5] Generated Node #0,0: 70:[15, 70, 5] Operation: 15/3=5 Exploring Operation: 15/3=5, Resulting Numbers: [15, 70, 5] Generated Node #0,1: 70:[15, 70, 5] Operation: 15/3=5 Exploring Operation: 15/15=1, Resulting Numbers: [70, 3, 1] Generated Node #0,2: 70:[70, 3, 1] Operation: 15/15=1 Exploring Operation: 15-15=0, Resulting Numbers: [70, 3, 0] Generated Node #0,3: 70:[70, 3, 0] Operation: 15-15=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[15, 70, 5], Operations: ['15/3=5'] Exploring Operation: 15/5=3, Resulting Numbers: [70, 3] Generated Node #0,0,0: 70:[70, 3] Operation: 15/5=3 Exploring Operation: 70/5=14, Resulting Numbers: [15, 14] Generated Node #0,0,1: 70:[15, 14] Operation: 70/5=14 Exploring Operation: 15*5=75, Resulting Numbers: [70, 75] Generated Node #0,0,2: 70:[70, 75] Operation: 15*5=75 Exploring Operation: 15-5=10, Resulting Numbers: [70, 10] Generated Node #0,0,3: 70:[70, 10] Operation: 15-5=10 Moving to Node #0,0,3 Current State: 70:[70, 10], Operations: ['15/3=5', '15-5=10'] Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,70 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 70*10=700, Resulting Numbers: [700] 700,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[15, 14], Operations: ['15/3=5', '70/5=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,70 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[70, 3], Operations: ['15/3=5', '15/5=3'] Exploring Operation: 70*3=210, Resulting Numbers: [210] 210,70 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,70 unequal: No Solution Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[70, 75], Operations: ['15/3=5', '15*5=75'] Exploring Operation: 70*75=5250, Resulting Numbers: [5250] 5250,70 unequal: No Solution Exploring Operation: 70+75=145, Resulting Numbers: [145] 145,70 unequal: No Solution Exploring Operation: 75-70=5, Resulting Numbers: [5] 5,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,1 Current State: 70:[15, 70, 5], Operations: ['15/3=5'] Exploring Operation: 70/5=14, Resulting Numbers: [15, 14] Generated Node #0,1,0: 70:[15, 14] Operation: 70/5=14 Exploring Operation: 15/5=3, Resulting Numbers: [70, 3] Generated Node #0,1,1: 70:[70, 3] Operation: 15/5=3 Exploring Operation: 15*5=75, Resulting Numbers: [70, 75] Generated Node #0,1,2: 70:[70, 75] Operation: 15*5=75 Exploring Operation: 15-5=10, Resulting Numbers: [70, 10] Generated Node #0,1,3: 70:[70, 10] Operation: 15-5=10 Moving to Node #0,1,3 Current State: 70:[70, 10], Operations: ['15/3=5', '15-5=10'] Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,70 unequal: No Solution Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 70*10=700, Resulting Numbers: [700] 700,70 unequal: No Solution Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[70, 3], Operations: ['15/3=5', '15/5=3'] Exploring Operation: 70*3=210, Resulting Numbers: [210] 210,70 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,70 unequal: No Solution Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[15, 14], Operations: ['15/3=5', '70/5=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 15*14=210, Resulting Numbers: [210] 210,70 unequal: No Solution Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[70, 75], Operations: ['15/3=5', '15*5=75'] Exploring Operation: 75-70=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 70+75=145, Resulting Numbers: [145] 145,70 unequal: No Solution Exploring Operation: 70*75=5250, Resulting Numbers: [5250] 5250,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[70, 3, 1], Operations: ['15/15=1'] Exploring Operation: 3+1=4, Resulting Numbers: [70, 4] Generated Node #0,2,0: 70:[70, 4] Operation: 3+1=4 Exploring Operation: 70*1=70, Resulting Numbers: [3, 70] Generated Node #0,2,1: 70:[3, 70] Operation: 70*1=70 Exploring Operation: 3-1=2, Resulting Numbers: [70, 2] Generated Node #0,2,2: 70:[70, 2] Operation: 3-1=2 Exploring Operation: 70/1=70, Resulting Numbers: [3, 70] Generated Node #0,2,3: 70:[3, 70] Operation: 70/1=70 Moving to Node #0,2,2 Current State: 70:[70, 2], Operations: ['15/15=1', '3-1=2'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,70 unequal: No Solution Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,70 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[3, 70], Operations: ['15/15=1', '70*1=70'] Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,70 unequal: No Solution Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,70 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[70, 4], Operations: ['15/15=1', '3+1=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,70 unequal: No Solution Exploring Operation: 70*4=280, Resulting Numbers: [280] 280,70 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[3, 70], Operations: ['15/15=1', '70/1=70'] Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,70 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,70 unequal: No Solution Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 70:[70, 3, 0], Operations: ['15-15=0'] Exploring Operation: 70+0=70, Resulting Numbers: [3, 70] Generated Node #0,3,0: 70:[3, 70] Operation: 70+0=70 Exploring Operation: 70-0=70, Resulting Numbers: [3, 70] Generated Node #0,3,1: 70:[3, 70] Operation: 70-0=70 Exploring Operation: 3-0=3, Resulting Numbers: [70, 3] Generated Node #0,3,2: 70:[70, 3] Operation: 3-0=3 Exploring Operation: 3+0=3, Resulting Numbers: [70, 3] Generated Node #0,3,3: 70:[70, 3] Operation: 3+0=3 Moving to Node #0,3,0 Current State: 70:[3, 70], Operations: ['15-15=0', '70+0=70'] Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,70 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,70 unequal: No Solution Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,70 unequal: No Solution Moving to Node #0,3,2 Current State: 70:[70, 3], Operations: ['15-15=0', '3-0=3'] Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,70 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,70 unequal: No Solution Exploring Operation: 70*3=210, Resulting Numbers: [210] 210,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[3, 70], Operations: ['15-15=0', '70-0=70'] Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,70 unequal: No Solution Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,70 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,70 unequal: No Solution Moving to Node #0,3,3 Current State: 70:[70, 3], Operations: ['15-15=0', '3+0=3'] Exploring Operation: 70*3=210, Resulting Numbers: [210] 210,70 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,70 unequal: No Solution Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,70 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
[ 57, 88, 35, 24 ]
86
[ "57+88=145", "35+24=59", "145-59=86" ]
Current State: 86:[57, 88, 35, 24], Operations: [] Exploring Operation: 57+88=145, Resulting Numbers: [35, 24, 145] Generated Node #2: [35, 24, 145] from Operation: 57+88=145 Current State: 86:[35, 24, 145], Operations: ['57+88=145'] Exploring Operation: 35+24=59, Resulting Numbers: [145, 59] Generated Node #3: [145, 59] from Operation: 35+24=59 Current State: 86:[145, 59], Operations: ['57+88=145', '35+24=59'] Exploring Operation: 145-59=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[57, 88, 35, 24], Operations: [] Exploring Operation: 35-24=11, Resulting Numbers: [57, 88, 11] Generated Node #0,0: 86:[57, 88, 11] Operation: 35-24=11 Exploring Operation: 57-24=33, Resulting Numbers: [88, 35, 33] Generated Node #0,1: 86:[88, 35, 33] Operation: 57-24=33 Exploring Operation: 57+24=81, Resulting Numbers: [88, 35, 81] Generated Node #0,2: 86:[88, 35, 81] Operation: 57+24=81 Exploring Operation: 57+35=92, Resulting Numbers: [88, 24, 92] Generated Node #0,3: 86:[88, 24, 92] Operation: 57+35=92 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[88, 35, 81], Operations: ['57+24=81'] Exploring Operation: 81-35=46, Resulting Numbers: [88, 46] Generated Node #0,2,0: 86:[88, 46] Operation: 81-35=46 Exploring Operation: 88-35=53, Resulting Numbers: [81, 53] Generated Node #0,2,1: 86:[81, 53] Operation: 88-35=53 Exploring Operation: 88-81=7, Resulting Numbers: [35, 7] Generated Node #0,2,2: 86:[35, 7] Operation: 88-81=7 Exploring Operation: 35+81=116, Resulting Numbers: [88, 116] Generated Node #0,2,3: 86:[88, 116] Operation: 35+81=116 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 86:[88, 46], Operations: ['57+24=81', '81-35=46'] Exploring Operation: 88*46=4048, Resulting Numbers: [4048] 4048,86 unequal: No Solution Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 88+46=134, Resulting Numbers: [134] 134,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 86:[35, 7], Operations: ['57+24=81', '88-81=7'] Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,86 unequal: No Solution Exploring Operation: 35*7=245, Resulting Numbers: [245] 245,86 unequal: No Solution Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 86:[81, 53], Operations: ['57+24=81', '88-35=53'] Exploring Operation: 81*53=4293, Resulting Numbers: [4293] 4293,86 unequal: No Solution Exploring Operation: 81+53=134, Resulting Numbers: [134] 134,86 unequal: No Solution Exploring Operation: 81-53=28, Resulting Numbers: [28] 28,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 86:[88, 116], Operations: ['57+24=81', '35+81=116'] Exploring Operation: 88+116=204, Resulting Numbers: [204] 204,86 unequal: No Solution Exploring Operation: 88*116=10208, Resulting Numbers: [10208] 10208,86 unequal: No Solution Exploring Operation: 116-88=28, Resulting Numbers: [28] 28,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[88, 35, 33], Operations: ['57-24=33'] Exploring Operation: 35+33=68, Resulting Numbers: [88, 68] Generated Node #0,1,0: 86:[88, 68] Operation: 35+33=68 Exploring Operation: 88-33=55, Resulting Numbers: [35, 55] Generated Node #0,1,1: 86:[35, 55] Operation: 88-33=55 Exploring Operation: 35-33=2, Resulting Numbers: [88, 2] Generated Node #0,1,2: 86:[88, 2] Operation: 35-33=2 Exploring Operation: 88-35=53, Resulting Numbers: [33, 53] Generated Node #0,1,3: 86:[33, 53] Operation: 88-35=53 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[88, 2], Operations: ['57-24=33', '35-33=2'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[57, 88, 35, 24], Operations: [] Exploring Operation: 57-24=33, Resulting Numbers: [88, 35, 33] Generated Node #0,1: 86:[88, 35, 33] Operation: 57-24=33 Moving to Node #0,1 Current State: 86:[88, 35, 33], Operations: ['57-24=33'] Exploring Operation: 35-33=2, Resulting Numbers: [88, 2] Generated Node #0,1,2: 86:[88, 2] Operation: 35-33=2 Moving to Node #0,1,2 Current State: 86:[88, 2], Operations: ['57-24=33', '35-33=2'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 17, 86, 52, 40 ]
91
[ "17+86=103", "52-40=12", "103-12=91" ]
Current State: 91:[17, 86, 52, 40], Operations: [] Exploring Operation: 17+86=103, Resulting Numbers: [52, 40, 103] Generated Node #2: [52, 40, 103] from Operation: 17+86=103 Current State: 91:[52, 40, 103], Operations: ['17+86=103'] Exploring Operation: 52-40=12, Resulting Numbers: [103, 12] Generated Node #3: [103, 12] from Operation: 52-40=12 Current State: 91:[103, 12], Operations: ['17+86=103', '52-40=12'] Exploring Operation: 103-12=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[17, 86, 52, 40], Operations: [] Exploring Operation: 52+40=92, Resulting Numbers: [17, 86, 92] Generated Node #0,0: 91:[17, 86, 92] Operation: 52+40=92 Exploring Operation: 52-40=12, Resulting Numbers: [17, 86, 12] Generated Node #0,1: 91:[17, 86, 12] Operation: 52-40=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[17, 86, 92], Operations: ['52+40=92'] Exploring Operation: 92-86=6, Resulting Numbers: [17, 6] Generated Node #0,0,0: 91:[17, 6] Operation: 92-86=6 Exploring Operation: 17+86=103, Resulting Numbers: [92, 103] Generated Node #0,0,1: 91:[92, 103] Operation: 17+86=103 Moving to Node #0,0,0 Current State: 91:[17, 6], Operations: ['52+40=92', '92-86=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[92, 103], Operations: ['52+40=92', '17+86=103'] Exploring Operation: 92+103=195, Resulting Numbers: [195] 195,91 unequal: No Solution Exploring Operation: 103-92=11, Resulting Numbers: [11] 11,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[17, 86, 12], Operations: ['52-40=12'] Exploring Operation: 86+12=98, Resulting Numbers: [17, 98] Generated Node #0,1,0: 91:[17, 98] Operation: 86+12=98 Exploring Operation: 17-12=5, Resulting Numbers: [86, 5] Generated Node #0,1,1: 91:[86, 5] Operation: 17-12=5 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[86, 5], Operations: ['52-40=12', '17-12=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[17, 86, 52, 40], Operations: [] Exploring Operation: 52-40=12, Resulting Numbers: [17, 86, 12] Generated Node #0,1: 91:[17, 86, 12] Operation: 52-40=12 Moving to Node #0,1 Current State: 91:[17, 86, 12], Operations: ['52-40=12'] Exploring Operation: 17-12=5, Resulting Numbers: [86, 5] Generated Node #0,1,1: 91:[86, 5] Operation: 17-12=5 Moving to Node #0,1,1 Current State: 91:[86, 5], Operations: ['52-40=12', '17-12=5'] Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 11, 30, 29, 84 ]
35
[ "84-29=55", "55/11=5", "30+5=35" ]
Current State: 35:[11, 30, 29, 84], Operations: [] Exploring Operation: 84-29=55, Resulting Numbers: [11, 30, 55] Generated Node #2: [11, 30, 55] from Operation: 84-29=55 Current State: 35:[11, 30, 55], Operations: ['84-29=55'] Exploring Operation: 55/11=5, Resulting Numbers: [30, 5] Generated Node #3: [30, 5] from Operation: 55/11=5 Current State: 35:[30, 5], Operations: ['84-29=55', '55/11=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[11, 30, 29, 84], Operations: [] Exploring Operation: 84-30=54, Resulting Numbers: [11, 29, 54] Generated Node #0,0: 35:[11, 29, 54] Operation: 84-30=54 Exploring Operation: 84-29=55, Resulting Numbers: [11, 30, 55] Generated Node #0,1: 35:[11, 30, 55] Operation: 84-29=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[11, 29, 54], Operations: ['84-30=54'] Exploring Operation: 54-29=25, Resulting Numbers: [11, 25] Generated Node #0,0,0: 35:[11, 25] Operation: 54-29=25 Exploring Operation: 54-11=43, Resulting Numbers: [29, 43] Generated Node #0,0,1: 35:[29, 43] Operation: 54-11=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[11, 25], Operations: ['84-30=54', '54-29=25'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[29, 43], Operations: ['84-30=54', '54-11=43'] Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,35 unequal: No Solution Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[11, 30, 55], Operations: ['84-29=55'] Exploring Operation: 55/11=5, Resulting Numbers: [30, 5] Generated Node #0,1,0: 35:[30, 5] Operation: 55/11=5 Exploring Operation: 55-11=44, Resulting Numbers: [30, 44] Generated Node #0,1,1: 35:[30, 44] Operation: 55-11=44 Moving to Node #0,1,0 Current State: 35:[30, 5], Operations: ['84-29=55', '55/11=5'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[11, 30, 29, 84], Operations: [] Exploring Operation: 84-29=55, Resulting Numbers: [11, 30, 55] Generated Node #0,1: 35:[11, 30, 55] Operation: 84-29=55 Moving to Node #0,1 Current State: 35:[11, 30, 55], Operations: ['84-29=55'] Exploring Operation: 55/11=5, Resulting Numbers: [30, 5] Generated Node #0,1,0: 35:[30, 5] Operation: 55/11=5 Moving to Node #0,1,0 Current State: 35:[30, 5], Operations: ['84-29=55', '55/11=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 56, 47, 82, 85 ]
46
[ "47*82=3854", "56+3854=3910", "3910/85=46" ]
Current State: 46:[56, 47, 82, 85], Operations: [] Exploring Operation: 47*82=3854, Resulting Numbers: [56, 85, 3854] Generated Node #2: [56, 85, 3854] from Operation: 47*82=3854 Current State: 46:[56, 85, 3854], Operations: ['47*82=3854'] Exploring Operation: 56+3854=3910, Resulting Numbers: [85, 3910] Generated Node #3: [85, 3910] from Operation: 56+3854=3910 Current State: 46:[85, 3910], Operations: ['47*82=3854', '56+3854=3910'] Exploring Operation: 3910/85=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[56, 47, 82, 85], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [56, 47, 3] Generated Node #0,0: 46:[56, 47, 3] Operation: 85-82=3 Exploring Operation: 82-56=26, Resulting Numbers: [47, 85, 26] Generated Node #0,1: 46:[47, 85, 26] Operation: 82-56=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[56, 47, 3], Operations: ['85-82=3'] Exploring Operation: 56-47=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 46:[3, 9] Operation: 56-47=9 Exploring Operation: 56-3=53, Resulting Numbers: [47, 53] Generated Node #0,0,1: 46:[47, 53] Operation: 56-3=53 Moving to Node #0,0,0 Current State: 46:[3, 9], Operations: ['85-82=3', '56-47=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[47, 53], Operations: ['85-82=3', '56-3=53'] Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 47+53=100, Resulting Numbers: [100] 100,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[47, 85, 26], Operations: ['82-56=26'] Exploring Operation: 85-47=38, Resulting Numbers: [26, 38] Generated Node #0,1,0: 46:[26, 38] Operation: 85-47=38 Exploring Operation: 85-26=59, Resulting Numbers: [47, 59] Generated Node #0,1,1: 46:[47, 59] Operation: 85-26=59 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 46:[26, 38], Operations: ['82-56=26', '85-47=38'] Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,46 unequal: No Solution Exploring Operation: 26+38=64, Resulting Numbers: [64] 64,46 unequal: No Solution No 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: 46:[47, 59], Operations: ['82-56=26', '85-26=59'] Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,46 unequal: No Solution Exploring Operation: 47+59=106, Resulting Numbers: [106] 106,46 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
[ 99, 74, 56, 63 ]
18
[ "99-74=25", "63-56=7", "25-7=18" ]
Current State: 18:[99, 74, 56, 63], Operations: [] Exploring Operation: 99-74=25, Resulting Numbers: [56, 63, 25] Generated Node #2: [56, 63, 25] from Operation: 99-74=25 Current State: 18:[56, 63, 25], Operations: ['99-74=25'] Exploring Operation: 63-56=7, Resulting Numbers: [25, 7] Generated Node #3: [25, 7] from Operation: 63-56=7 Current State: 18:[25, 7], Operations: ['99-74=25', '63-56=7'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[99, 74, 56, 63], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [99, 56, 11] Generated Node #0,0: 18:[99, 56, 11] Operation: 74-63=11 Exploring Operation: 99-63=36, Resulting Numbers: [74, 56, 36] Generated Node #0,1: 18:[74, 56, 36] Operation: 99-63=36 Exploring Operation: 99-74=25, Resulting Numbers: [56, 63, 25] Generated Node #0,2: 18:[56, 63, 25] Operation: 99-74=25 Moving to Node #0,2 Current State: 18:[56, 63, 25], Operations: ['99-74=25'] Exploring Operation: 56-25=31, Resulting Numbers: [63, 31] Generated Node #0,2,0: 18:[63, 31] Operation: 56-25=31 Exploring Operation: 63-25=38, Resulting Numbers: [56, 38] Generated Node #0,2,1: 18:[56, 38] Operation: 63-25=38 Exploring Operation: 63-56=7, Resulting Numbers: [25, 7] Generated Node #0,2,2: 18:[25, 7] Operation: 63-56=7 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[25, 7], Operations: ['99-74=25', '63-56=7'] Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,18 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[99, 74, 56, 63], Operations: [] Exploring Operation: 99-74=25, Resulting Numbers: [56, 63, 25] Generated Node #0,2: 18:[56, 63, 25] Operation: 99-74=25 Moving to Node #0,2 Current State: 18:[56, 63, 25], Operations: ['99-74=25'] Exploring Operation: 63-56=7, Resulting Numbers: [25, 7] Generated Node #0,2,2: 18:[25, 7] Operation: 63-56=7 Moving to Node #0,2,2 Current State: 18:[25, 7], Operations: ['99-74=25', '63-56=7'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 46, 55, 65, 25 ]
97
[ "55*65=3575", "3575/25=143", "143-46=97" ]
Current State: 97:[46, 55, 65, 25], Operations: [] Exploring Operation: 55*65=3575, Resulting Numbers: [46, 25, 3575] Generated Node #2: [46, 25, 3575] from Operation: 55*65=3575 Current State: 97:[46, 25, 3575], Operations: ['55*65=3575'] Exploring Operation: 3575/25=143, Resulting Numbers: [46, 143] Generated Node #3: [46, 143] from Operation: 3575/25=143 Current State: 97:[46, 143], Operations: ['55*65=3575', '3575/25=143'] Exploring Operation: 143-46=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[46, 55, 65, 25], Operations: [] Exploring Operation: 46+25=71, Resulting Numbers: [55, 65, 71] Generated Node #0,0: 97:[55, 65, 71] Operation: 46+25=71 Exploring Operation: 55+25=80, Resulting Numbers: [46, 65, 80] Generated Node #0,1: 97:[46, 65, 80] Operation: 55+25=80 Exploring Operation: 65+25=90, Resulting Numbers: [46, 55, 90] Generated Node #0,2: 97:[46, 55, 90] Operation: 65+25=90 Moving to Node #0,0 Current State: 97:[55, 65, 71], Operations: ['46+25=71'] Exploring Operation: 65+71=136, Resulting Numbers: [55, 136] Generated Node #0,0,0: 97:[55, 136] Operation: 65+71=136 Exploring Operation: 55+65=120, Resulting Numbers: [71, 120] Generated Node #0,0,1: 97:[71, 120] Operation: 55+65=120 Exploring Operation: 55+71=126, Resulting Numbers: [65, 126] Generated Node #0,0,2: 97:[65, 126] Operation: 55+71=126 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[71, 120], Operations: ['46+25=71', '55+65=120'] Exploring Operation: 71+120=191, Resulting Numbers: [191] 191,97 unequal: No Solution Exploring Operation: 71*120=8520, Resulting Numbers: [8520] 8520,97 unequal: No Solution Exploring Operation: 120-71=49, Resulting Numbers: [49] 49,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:[65, 126], Operations: ['46+25=71', '55+71=126'] Exploring Operation: 65+126=191, Resulting Numbers: [191] 191,97 unequal: No Solution Exploring Operation: 65*126=8190, Resulting Numbers: [8190] 8190,97 unequal: No Solution Exploring Operation: 126-65=61, Resulting Numbers: [61] 61,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:[55, 136], Operations: ['46+25=71', '65+71=136'] Exploring Operation: 136-55=81, Resulting Numbers: [81] 81,97 unequal: No Solution Exploring Operation: 55+136=191, Resulting Numbers: [191] 191,97 unequal: No Solution Exploring Operation: 55*136=7480, Resulting Numbers: [7480] 7480,97 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: 97:[46, 65, 80], Operations: ['55+25=80'] Exploring Operation: 46+80=126, Resulting Numbers: [65, 126] Generated Node #0,1,0: 97:[65, 126] Operation: 46+80=126 Exploring Operation: 65-46=19, Resulting Numbers: [80, 19] Generated Node #0,1,1: 97:[80, 19] Operation: 65-46=19 Exploring Operation: 46+65=111, Resulting Numbers: [80, 111] Generated Node #0,1,2: 97:[80, 111] Operation: 46+65=111 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[80, 111], Operations: ['55+25=80', '46+65=111'] Exploring Operation: 111-80=31, Resulting Numbers: [31] 31,97 unequal: No Solution Exploring Operation: 80+111=191, Resulting Numbers: [191] 191,97 unequal: No Solution Exploring Operation: 80*111=8880, Resulting Numbers: [8880] 8880,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[65, 126], Operations: ['55+25=80', '46+80=126'] Exploring Operation: 126-65=61, Resulting Numbers: [61] 61,97 unequal: No Solution Exploring Operation: 65+126=191, Resulting Numbers: [191] 191,97 unequal: No Solution Exploring Operation: 65*126=8190, Resulting Numbers: [8190] 8190,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[80, 19], Operations: ['55+25=80', '65-46=19'] Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,97 unequal: No Solution Exploring Operation: 80+19=99, Resulting Numbers: [99] 99,97 unequal: No Solution Exploring Operation: 80*19=1520, Resulting Numbers: [1520] 1520,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:[46, 55, 90], Operations: ['65+25=90'] Exploring Operation: 46+90=136, Resulting Numbers: [55, 136] Generated Node #0,2,0: 97:[55, 136] Operation: 46+90=136 Exploring Operation: 55-46=9, Resulting Numbers: [90, 9] Generated Node #0,2,1: 97:[90, 9] Operation: 55-46=9 Exploring Operation: 46+55=101, Resulting Numbers: [90, 101] Generated Node #0,2,2: 97:[90, 101] Operation: 46+55=101 Moving to Node #0,2,2 Current State: 97:[90, 101], Operations: ['65+25=90', '46+55=101'] Exploring Operation: 101-90=11, Resulting Numbers: [11] 11,97 unequal: No Solution Exploring Operation: 90+101=191, Resulting Numbers: [191] 191,97 unequal: No Solution Exploring Operation: 90*101=9090, Resulting Numbers: [9090] 9090,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[55, 136], Operations: ['65+25=90', '46+90=136'] Exploring Operation: 55*136=7480, Resulting Numbers: [7480] 7480,97 unequal: No Solution Exploring Operation: 136-55=81, Resulting Numbers: [81] 81,97 unequal: No Solution Exploring Operation: 55+136=191, Resulting Numbers: [191] 191,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[90, 9], Operations: ['65+25=90', '55-46=9'] Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,97 unequal: No Solution Exploring Operation: 90+9=99, Resulting Numbers: [99] 99,97 unequal: No Solution Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,97 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 19, 98, 41, 4 ]
30
[ "98-19=79", "41+79=120", "120/4=30" ]
Current State: 30:[19, 98, 41, 4], Operations: [] Exploring Operation: 98-19=79, Resulting Numbers: [41, 4, 79] Generated Node #2: [41, 4, 79] from Operation: 98-19=79 Current State: 30:[41, 4, 79], Operations: ['98-19=79'] Exploring Operation: 41+79=120, Resulting Numbers: [4, 120] Generated Node #3: [4, 120] from Operation: 41+79=120 Current State: 30:[4, 120], Operations: ['98-19=79', '41+79=120'] Exploring Operation: 120/4=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[19, 98, 41, 4], Operations: [] Exploring Operation: 19-4=15, Resulting Numbers: [98, 41, 15] Generated Node #0,0: 30:[98, 41, 15] Operation: 19-4=15 Exploring Operation: 98-41=57, Resulting Numbers: [19, 4, 57] Generated Node #0,1: 30:[19, 4, 57] Operation: 98-41=57 Exploring Operation: 98-4=94, Resulting Numbers: [19, 41, 94] Generated Node #0,2: 30:[19, 41, 94] Operation: 98-4=94 Exploring Operation: 41-19=22, Resulting Numbers: [98, 4, 22] Generated Node #0,3: 30:[98, 4, 22] Operation: 41-19=22 Exploring Operation: 98-19=79, Resulting Numbers: [41, 4, 79] Generated Node #0,4: 30:[41, 4, 79] Operation: 98-19=79 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[19, 4, 57], Operations: ['98-41=57'] Exploring Operation: 19+4=23, Resulting Numbers: [57, 23] Generated Node #0,1,0: 30:[57, 23] Operation: 19+4=23 Exploring Operation: 57-19=38, Resulting Numbers: [4, 38] Generated Node #0,1,1: 30:[4, 38] Operation: 57-19=38 Exploring Operation: 57/19=3, Resulting Numbers: [4, 3] Generated Node #0,1,2: 30:[4, 3] Operation: 57/19=3 Exploring Operation: 57-4=53, Resulting Numbers: [19, 53] Generated Node #0,1,3: 30:[19, 53] Operation: 57-4=53 Exploring Operation: 19-4=15, Resulting Numbers: [57, 15] Generated Node #0,1,4: 30:[57, 15] Operation: 19-4=15 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 30:[4, 3], Operations: ['98-41=57', '57/19=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,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:[4, 38], Operations: ['98-41=57', '57-19=38'] Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,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,3 Current State: 30:[19, 53], Operations: ['98-41=57', '57-4=53'] Exploring Operation: 19*53=1007, Resulting Numbers: [1007] 1007,30 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,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,4 Current State: 30:[57, 15], Operations: ['98-41=57', '19-4=15'] Exploring Operation: 57*15=855, Resulting Numbers: [855] 855,30 unequal: No Solution Exploring Operation: 57+15=72, Resulting Numbers: [72] 72,30 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[57, 23], Operations: ['98-41=57', '19+4=23'] Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,30 unequal: No Solution Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,30 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,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,4 Current State: 30:[41, 4, 79], Operations: ['98-19=79'] Exploring Operation: 41+4=45, Resulting Numbers: [79, 45] Generated Node #0,4,0: 30:[79, 45] Operation: 41+4=45 Exploring Operation: 79-4=75, Resulting Numbers: [41, 75] Generated Node #0,4,1: 30:[41, 75] Operation: 79-4=75 Exploring Operation: 4+79=83, Resulting Numbers: [41, 83] Generated Node #0,4,2: 30:[41, 83] Operation: 4+79=83 Exploring Operation: 41-4=37, Resulting Numbers: [79, 37] Generated Node #0,4,3: 30:[79, 37] Operation: 41-4=37 Exploring Operation: 79-41=38, Resulting Numbers: [4, 38] Generated Node #0,4,4: 30:[4, 38] Operation: 79-41=38 Moving to Node #0,4,4 Current State: 30:[4, 38], Operations: ['98-19=79', '79-41=38'] Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,30 unequal: No Solution Moving to Node #0,4,3 Current State: 30:[79, 37], Operations: ['98-19=79', '41-4=37'] Exploring Operation: 79*37=2923, Resulting Numbers: [2923] 2923,30 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 79+37=116, Resulting Numbers: [116] 116,30 unequal: No Solution Moving to Node #0,4,1 Current State: 30:[41, 75], Operations: ['98-19=79', '79-4=75'] Exploring Operation: 41+75=116, Resulting Numbers: [116] 116,30 unequal: No Solution Exploring Operation: 41*75=3075, Resulting Numbers: [3075] 3075,30 unequal: No Solution Exploring Operation: 75-41=34, Resulting Numbers: [34] 34,30 unequal: No Solution Moving to Node #0,4,0 Current State: 30:[79, 45], Operations: ['98-19=79', '41+4=45'] Exploring Operation: 79+45=124, Resulting Numbers: [124] 124,30 unequal: No Solution Exploring Operation: 79-45=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 79*45=3555, Resulting Numbers: [3555] 3555,30 unequal: No Solution Moving to Node #0,4,2 Current State: 30:[41, 83], Operations: ['98-19=79', '4+79=83'] Exploring Operation: 41*83=3403, Resulting Numbers: [3403] 3403,30 unequal: No Solution Exploring Operation: 41+83=124, Resulting Numbers: [124] 124,30 unequal: No Solution Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 30:[98, 4, 22], Operations: ['41-19=22'] Exploring Operation: 4+22=26, Resulting Numbers: [98, 26] Generated Node #0,3,0: 30:[98, 26] Operation: 4+22=26 Exploring Operation: 98-22=76, Resulting Numbers: [4, 76] Generated Node #0,3,1: 30:[4, 76] Operation: 98-22=76 Exploring Operation: 98+4=102, Resulting Numbers: [22, 102] Generated Node #0,3,2: 30:[22, 102] Operation: 98+4=102 Exploring Operation: 22-4=18, Resulting Numbers: [98, 18] Generated Node #0,3,3: 30:[98, 18] Operation: 22-4=18 Exploring Operation: 98-4=94, Resulting Numbers: [22, 94] Generated Node #0,3,4: 30:[22, 94] Operation: 98-4=94 Moving to Node #0,3,1 Current State: 30:[4, 76], Operations: ['41-19=22', '98-22=76'] Exploring Operation: 4*76=304, Resulting Numbers: [304] 304,30 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,30 unequal: No Solution Exploring Operation: 4+76=80, Resulting Numbers: [80] 80,30 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,30 unequal: No Solution Moving to Node #0,3,4 Current State: 30:[22, 94], Operations: ['41-19=22', '98-4=94'] Exploring Operation: 94-22=72, Resulting Numbers: [72] 72,30 unequal: No Solution Exploring Operation: 22*94=2068, Resulting Numbers: [2068] 2068,30 unequal: No Solution Exploring Operation: 22+94=116, Resulting Numbers: [116] 116,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[98, 18], Operations: ['41-19=22', '22-4=18'] Exploring Operation: 98+18=116, Resulting Numbers: [116] 116,30 unequal: No Solution Exploring Operation: 98-18=80, Resulting Numbers: [80] 80,30 unequal: No Solution Exploring Operation: 98*18=1764, Resulting Numbers: [1764] 1764,30 unequal: No Solution Moving to Node #0,3,0 Current State: 30:[98, 26], Operations: ['41-19=22', '4+22=26'] Exploring Operation: 98+26=124, Resulting Numbers: [124] 124,30 unequal: No Solution Exploring Operation: 98-26=72, Resulting Numbers: [72] 72,30 unequal: No Solution Exploring Operation: 98*26=2548, Resulting Numbers: [2548] 2548,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[22, 102], Operations: ['41-19=22', '98+4=102'] Exploring Operation: 22*102=2244, Resulting Numbers: [2244] 2244,30 unequal: No Solution Exploring Operation: 22+102=124, Resulting Numbers: [124] 124,30 unequal: No Solution Exploring Operation: 102-22=80, Resulting Numbers: [80] 80,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[98, 41, 15], Operations: ['19-4=15'] Exploring Operation: 98+15=113, Resulting Numbers: [41, 113] Generated Node #0,0,0: 30:[41, 113] Operation: 98+15=113 Exploring Operation: 98-15=83, Resulting Numbers: [41, 83] Generated Node #0,0,1: 30:[41, 83] Operation: 98-15=83 Exploring Operation: 41-15=26, Resulting Numbers: [98, 26] Generated Node #0,0,2: 30:[98, 26] Operation: 41-15=26 Exploring Operation: 41+15=56, Resulting Numbers: [98, 56] Generated Node #0,0,3: 30:[98, 56] Operation: 41+15=56 Exploring Operation: 98-41=57, Resulting Numbers: [15, 57] Generated Node #0,0,4: 30:[15, 57] Operation: 98-41=57 Moving to Node #0,0,4 Current State: 30:[15, 57], Operations: ['19-4=15', '98-41=57'] Exploring Operation: 15*57=855, Resulting Numbers: [855] 855,30 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[41, 83], Operations: ['19-4=15', '98-15=83'] Exploring Operation: 41+83=124, Resulting Numbers: [124] 124,30 unequal: No Solution Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 41*83=3403, Resulting Numbers: [3403] 3403,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[98, 26], Operations: ['19-4=15', '41-15=26'] Exploring Operation: 98+26=124, Resulting Numbers: [124] 124,30 unequal: No Solution Exploring Operation: 98*26=2548, Resulting Numbers: [2548] 2548,30 unequal: No Solution Exploring Operation: 98-26=72, Resulting Numbers: [72] 72,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[41, 113], Operations: ['19-4=15', '98+15=113'] Exploring Operation: 113-41=72, Resulting Numbers: [72] 72,30 unequal: No Solution Exploring Operation: 41*113=4633, Resulting Numbers: [4633] 4633,30 unequal: No Solution Exploring Operation: 41+113=154, Resulting Numbers: [154] 154,30 unequal: No Solution Moving to Node #0,0,3 Current State: 30:[98, 56], Operations: ['19-4=15', '41+15=56'] Exploring Operation: 98+56=154, Resulting Numbers: [154] 154,30 unequal: No Solution Exploring Operation: 98-56=42, Resulting Numbers: [42] 42,30 unequal: No Solution Exploring Operation: 98*56=5488, Resulting Numbers: [5488] 5488,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[19, 41, 94], Operations: ['98-4=94'] Exploring Operation: 41-19=22, Resulting Numbers: [94, 22] Generated Node #0,2,0: 30:[94, 22] Operation: 41-19=22 Exploring Operation: 19+41=60, Resulting Numbers: [94, 60] Generated Node #0,2,1: 30:[94, 60] Operation: 19+41=60 Exploring Operation: 94-19=75, Resulting Numbers: [41, 75] Generated Node #0,2,2: 30:[41, 75] Operation: 94-19=75 Exploring Operation: 94-41=53, Resulting Numbers: [19, 53] Generated Node #0,2,3: 30:[19, 53] Operation: 94-41=53 Exploring Operation: 19+94=113, Resulting Numbers: [41, 113] Generated Node #0,2,4: 30:[41, 113] Operation: 19+94=113 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 30:[19, 53], Operations: ['98-4=94', '94-41=53'] Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 19*53=1007, Resulting Numbers: [1007] 1007,30 unequal: No Solution Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,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,2,2 Current State: 30:[41, 75], Operations: ['98-4=94', '94-19=75'] Exploring Operation: 75-41=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 41+75=116, Resulting Numbers: [116] 116,30 unequal: No Solution Exploring Operation: 41*75=3075, Resulting Numbers: [3075] 3075,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,2,0 Current State: 30:[94, 22], Operations: ['98-4=94', '41-19=22'] Exploring Operation: 94+22=116, Resulting Numbers: [116] 116,30 unequal: No Solution Exploring Operation: 94-22=72, Resulting Numbers: [72] 72,30 unequal: No Solution Exploring Operation: 94*22=2068, Resulting Numbers: [2068] 2068,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,2,1 Current State: 30:[94, 60], Operations: ['98-4=94', '19+41=60'] Exploring Operation: 94-60=34, Resulting Numbers: [34] 34,30 unequal: No Solution Exploring Operation: 94*60=5640, Resulting Numbers: [5640] 5640,30 unequal: No Solution Exploring Operation: 94+60=154, Resulting Numbers: [154] 154,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,2,4 Current State: 30:[41, 113], Operations: ['98-4=94', '19+94=113'] Exploring Operation: 41+113=154, Resulting Numbers: [154] 154,30 unequal: No Solution Exploring Operation: 41*113=4633, Resulting Numbers: [4633] 4633,30 unequal: No Solution Exploring Operation: 113-41=72, Resulting Numbers: [72] 72,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_5
sum_heuristic
[ 77, 2, 11, 53 ]
90
[ "77*2=154", "11+53=64", "154-64=90" ]
Current State: 90:[77, 2, 11, 53], Operations: [] Exploring Operation: 77*2=154, Resulting Numbers: [11, 53, 154] Generated Node #2: [11, 53, 154] from Operation: 77*2=154 Current State: 90:[11, 53, 154], Operations: ['77*2=154'] Exploring Operation: 11+53=64, Resulting Numbers: [154, 64] Generated Node #3: [154, 64] from Operation: 11+53=64 Current State: 90:[154, 64], Operations: ['77*2=154', '11+53=64'] Exploring Operation: 154-64=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[77, 2, 11, 53], Operations: [] Exploring Operation: 77-53=24, Resulting Numbers: [2, 11, 24] Generated Node #0,0: 90:[2, 11, 24] Operation: 77-53=24 Exploring Operation: 77+11=88, Resulting Numbers: [2, 53, 88] Generated Node #0,1: 90:[2, 53, 88] Operation: 77+11=88 Exploring Operation: 77/11=7, Resulting Numbers: [2, 53, 7] Generated Node #0,2: 90:[2, 53, 7] Operation: 77/11=7 Moving to Node #0,0 Current State: 90:[2, 11, 24], Operations: ['77-53=24'] Exploring Operation: 24-11=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 90:[2, 13] Operation: 24-11=13 Exploring Operation: 24/2=12, Resulting Numbers: [11, 12] Generated Node #0,0,1: 90:[11, 12] Operation: 24/2=12 Exploring Operation: 2*24=48, Resulting Numbers: [11, 48] Generated Node #0,0,2: 90:[11, 48] Operation: 2*24=48 Moving to Node #0,2 Current State: 90:[2, 53, 7], Operations: ['77/11=7'] Exploring Operation: 2+7=9, Resulting Numbers: [53, 9] Generated Node #0,2,0: 90:[53, 9] Operation: 2+7=9 Exploring Operation: 53-7=46, Resulting Numbers: [2, 46] Generated Node #0,2,1: 90:[2, 46] Operation: 53-7=46 Exploring Operation: 53-2=51, Resulting Numbers: [7, 51] Generated Node #0,2,2: 90:[7, 51] Operation: 53-2=51 Moving to Node #0,1 Current State: 90:[2, 53, 88], Operations: ['77+11=88'] Exploring Operation: 2+88=90, Resulting Numbers: [53, 90] Generated Node #0,1,0: 90:[53, 90] Operation: 2+88=90 Exploring Operation: 88-53=35, Resulting Numbers: [2, 35] Generated Node #0,1,1: 90:[2, 35] Operation: 88-53=35 Exploring Operation: 53-2=51, Resulting Numbers: [88, 51] Generated Node #0,1,2: 90:[88, 51] Operation: 53-2=51 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[2, 35], Operations: ['77+11=88', '88-53=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,90 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,90 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,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:[53, 90], Operations: ['77+11=88', '2+88=90'] Exploring Operation: 53+90=143, Resulting Numbers: [143] 143,90 unequal: No Solution Exploring Operation: 53*90=4770, Resulting Numbers: [4770] 4770,90 unequal: No Solution Exploring Operation: 90-53=37, Resulting Numbers: [37] 37,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:[88, 51], Operations: ['77+11=88', '53-2=51'] Exploring Operation: 88+51=139, Resulting Numbers: [139] 139,90 unequal: No Solution Exploring Operation: 88*51=4488, Resulting Numbers: [4488] 4488,90 unequal: No Solution Exploring Operation: 88-51=37, Resulting Numbers: [37] 37,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:[2, 46], Operations: ['77/11=7', '53-7=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,90 unequal: No Solution Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,90 unequal: No Solution Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[2, 13], Operations: ['77-53=24', '24-11=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[11, 12], Operations: ['77-53=24', '24/2=12'] Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[11, 48], Operations: ['77-53=24', '2*24=48'] Exploring Operation: 11*48=528, Resulting Numbers: [528] 528,90 unequal: No Solution Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,90 unequal: No Solution Exploring Operation: 11+48=59, Resulting Numbers: [59] 59,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[7, 51], Operations: ['77/11=7', '53-2=51'] Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,90 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,90 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[53, 9], Operations: ['77/11=7', '2+7=9'] Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,90 unequal: No Solution Exploring Operation: 53*9=477, Resulting Numbers: [477] 477,90 unequal: No Solution Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,90 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 63, 22, 74, 26 ]
59
[ "63-22=41", "74+26=100", "100-41=59" ]
Current State: 59:[63, 22, 74, 26], Operations: [] Exploring Operation: 63-22=41, Resulting Numbers: [74, 26, 41] Generated Node #2: [74, 26, 41] from Operation: 63-22=41 Current State: 59:[74, 26, 41], Operations: ['63-22=41'] Exploring Operation: 74+26=100, Resulting Numbers: [41, 100] Generated Node #3: [41, 100] from Operation: 74+26=100 Current State: 59:[41, 100], Operations: ['63-22=41', '74+26=100'] Exploring Operation: 100-41=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[63, 22, 74, 26], Operations: [] Exploring Operation: 22+26=48, Resulting Numbers: [63, 74, 48] Generated Node #0,0: 59:[63, 74, 48] Operation: 22+26=48 Exploring Operation: 74-22=52, Resulting Numbers: [63, 26, 52] Generated Node #0,1: 59:[63, 26, 52] Operation: 74-22=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[63, 74, 48], Operations: ['22+26=48'] Exploring Operation: 74-48=26, Resulting Numbers: [63, 26] Generated Node #0,0,0: 59:[63, 26] Operation: 74-48=26 Exploring Operation: 74-63=11, Resulting Numbers: [48, 11] Generated Node #0,0,1: 59:[48, 11] Operation: 74-63=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[63, 26], Operations: ['22+26=48', '74-48=26'] Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,59 unequal: No Solution Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,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:[48, 11], Operations: ['22+26=48', '74-63=11'] Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[63, 22, 74, 26], Operations: [] Exploring Operation: 22+26=48, Resulting Numbers: [63, 74, 48] Generated Node #0,0: 59:[63, 74, 48] Operation: 22+26=48 Moving to Node #0,0 Current State: 59:[63, 74, 48], Operations: ['22+26=48'] Exploring Operation: 74-63=11, Resulting Numbers: [48, 11] Generated Node #0,0,1: 59:[48, 11] Operation: 74-63=11 Moving to Node #0,0,1 Current State: 59:[48, 11], Operations: ['22+26=48', '74-63=11'] Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 31, 50, 76, 8 ]
65
[ "50-31=19", "76+8=84", "84-19=65" ]
Current State: 65:[31, 50, 76, 8], Operations: [] Exploring Operation: 50-31=19, Resulting Numbers: [76, 8, 19] Generated Node #2: [76, 8, 19] from Operation: 50-31=19 Current State: 65:[76, 8, 19], Operations: ['50-31=19'] Exploring Operation: 76+8=84, Resulting Numbers: [19, 84] Generated Node #3: [19, 84] from Operation: 76+8=84 Current State: 65:[19, 84], Operations: ['50-31=19', '76+8=84'] Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[31, 50, 76, 8], Operations: [] Exploring Operation: 31+50=81, Resulting Numbers: [76, 8, 81] Generated Node #0,0: 65:[76, 8, 81] Operation: 31+50=81 Exploring Operation: 76-50=26, Resulting Numbers: [31, 8, 26] Generated Node #0,1: 65:[31, 8, 26] Operation: 76-50=26 Exploring Operation: 50-31=19, Resulting Numbers: [76, 8, 19] Generated Node #0,2: 65:[76, 8, 19] Operation: 50-31=19 Exploring Operation: 31-8=23, Resulting Numbers: [50, 76, 23] Generated Node #0,3: 65:[50, 76, 23] Operation: 31-8=23 Moving to Node #0,2 Current State: 65:[76, 8, 19], Operations: ['50-31=19'] Exploring Operation: 76/19=4, Resulting Numbers: [8, 4] Generated Node #0,2,0: 65:[8, 4] Operation: 76/19=4 Exploring Operation: 76-19=57, Resulting Numbers: [8, 57] Generated Node #0,2,1: 65:[8, 57] Operation: 76-19=57 Exploring Operation: 19-8=11, Resulting Numbers: [76, 11] Generated Node #0,2,2: 65:[76, 11] Operation: 19-8=11 Exploring Operation: 76-8=68, Resulting Numbers: [19, 68] Generated Node #0,2,3: 65:[19, 68] Operation: 76-8=68 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 65:[8, 4], Operations: ['50-31=19', '76/19=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,65 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 65:[19, 68], Operations: ['50-31=19', '76-8=68'] Exploring Operation: 68-19=49, Resulting Numbers: [49] 49,65 unequal: No Solution Exploring Operation: 19*68=1292, Resulting Numbers: [1292] 1292,65 unequal: No Solution Exploring Operation: 19+68=87, Resulting Numbers: [87] 87,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 65:[8, 57], Operations: ['50-31=19', '76-19=57'] Exploring Operation: 8*57=456, Resulting Numbers: [456] 456,65 unequal: No Solution Exploring Operation: 8+57=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[31, 50, 76, 8], Operations: [] Exploring Operation: 50-31=19, Resulting Numbers: [76, 8, 19] Generated Node #0,2: 65:[76, 8, 19] Operation: 50-31=19 Moving to Node #0,2 Current State: 65:[76, 8, 19], Operations: ['50-31=19'] Exploring Operation: 76-19=57, Resulting Numbers: [8, 57] Generated Node #0,2,1: 65:[8, 57] Operation: 76-19=57 Moving to Node #0,2,1 Current State: 65:[8, 57], Operations: ['50-31=19', '76-19=57'] Exploring Operation: 8+57=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 7, 19, 61, 49 ]
95
[ "61-7=54", "54-49=5", "19*5=95" ]
Current State: 95:[7, 19, 61, 49], Operations: [] Exploring Operation: 61-7=54, Resulting Numbers: [19, 49, 54] Generated Node #2: [19, 49, 54] from Operation: 61-7=54 Current State: 95:[19, 49, 54], Operations: ['61-7=54'] Exploring Operation: 54-49=5, Resulting Numbers: [19, 5] Generated Node #3: [19, 5] from Operation: 54-49=5 Current State: 95:[19, 5], Operations: ['61-7=54', '54-49=5'] Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[7, 19, 61, 49], Operations: [] Exploring Operation: 49/7=7, Resulting Numbers: [19, 61, 7] Generated Node #0,0: 95:[19, 61, 7] Operation: 49/7=7 Exploring Operation: 61+49=110, Resulting Numbers: [7, 19, 110] Generated Node #0,1: 95:[7, 19, 110] Operation: 61+49=110 Exploring Operation: 61-49=12, Resulting Numbers: [7, 19, 12] Generated Node #0,2: 95:[7, 19, 12] Operation: 61-49=12 Exploring Operation: 49-19=30, Resulting Numbers: [7, 61, 30] Generated Node #0,3: 95:[7, 61, 30] Operation: 49-19=30 Exploring Operation: 19+61=80, Resulting Numbers: [7, 49, 80] Generated Node #0,4: 95:[7, 49, 80] Operation: 19+61=80 Moving to Node #0,2 Current State: 95:[7, 19, 12], Operations: ['61-49=12'] Exploring Operation: 12-7=5, Resulting Numbers: [19, 5] Generated Node #0,2,0: 95:[19, 5] Operation: 12-7=5 Exploring Operation: 7+19=26, Resulting Numbers: [12, 26] Generated Node #0,2,1: 95:[12, 26] Operation: 7+19=26 Exploring Operation: 7*12=84, Resulting Numbers: [19, 84] Generated Node #0,2,2: 95:[19, 84] Operation: 7*12=84 Exploring Operation: 7+12=19, Resulting Numbers: [19, 19] Generated Node #0,2,3: 95:[19, 19] Operation: 7+12=19 Exploring Operation: 19-12=7, Resulting Numbers: [7, 7] Generated Node #0,2,4: 95:[7, 7] Operation: 19-12=7 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[19, 5], Operations: ['61-49=12', '12-7=5'] Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[7, 19, 61, 49], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [7, 19, 12] Generated Node #0,2: 95:[7, 19, 12] Operation: 61-49=12 Moving to Node #0,2 Current State: 95:[7, 19, 12], Operations: ['61-49=12'] Exploring Operation: 12-7=5, Resulting Numbers: [19, 5] Generated Node #0,2,0: 95:[19, 5] Operation: 12-7=5 Moving to Node #0,2,0 Current State: 95:[19, 5], Operations: ['61-49=12', '12-7=5'] Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 92, 95, 97, 20 ]
37
[ "95-92=3", "20*3=60", "97-60=37" ]
Current State: 37:[92, 95, 97, 20], Operations: [] Exploring Operation: 95-92=3, Resulting Numbers: [97, 20, 3] Generated Node #2: [97, 20, 3] from Operation: 95-92=3 Current State: 37:[97, 20, 3], Operations: ['95-92=3'] Exploring Operation: 20*3=60, Resulting Numbers: [97, 60] Generated Node #3: [97, 60] from Operation: 20*3=60 Current State: 37:[97, 60], Operations: ['95-92=3', '20*3=60'] Exploring Operation: 97-60=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[92, 95, 97, 20], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [92, 20, 2] Generated Node #0,0: 37:[92, 20, 2] Operation: 97-95=2 Exploring Operation: 97-92=5, Resulting Numbers: [95, 20, 5] Generated Node #0,1: 37:[95, 20, 5] Operation: 97-92=5 Moving to Node #0,0 Current State: 37:[92, 20, 2], Operations: ['97-95=2'] Exploring Operation: 92/2=46, Resulting Numbers: [20, 46] Generated Node #0,0,0: 37:[20, 46] Operation: 92/2=46 Exploring Operation: 20*2=40, Resulting Numbers: [92, 40] Generated Node #0,0,1: 37:[92, 40] Operation: 20*2=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[20, 46], Operations: ['97-95=2', '92/2=46'] Exploring Operation: 46-20=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 20+46=66, Resulting Numbers: [66] 66,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[92, 40], Operations: ['97-95=2', '20*2=40'] Exploring Operation: 92+40=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 92-40=52, Resulting Numbers: [52] 52,37 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: 37:[95, 20, 5], Operations: ['97-92=5'] Exploring Operation: 95/5=19, Resulting Numbers: [20, 19] Generated Node #0,1,0: 37:[20, 19] Operation: 95/5=19 Exploring Operation: 95-20=75, Resulting Numbers: [5, 75] Generated Node #0,1,1: 37:[5, 75] Operation: 95-20=75 Moving to Node #0,1,0 Current State: 37:[20, 19], Operations: ['97-92=5', '95/5=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[5, 75], Operations: ['97-92=5', '95-20=75'] Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,37 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 63, 87, 29, 28 ]
38
[ "63-28=35", "87/29=3", "35+3=38" ]
Current State: 38:[63, 87, 29, 28], Operations: [] Exploring Operation: 63-28=35, Resulting Numbers: [87, 29, 35] Generated Node #2: [87, 29, 35] from Operation: 63-28=35 Current State: 38:[87, 29, 35], Operations: ['63-28=35'] Exploring Operation: 87/29=3, Resulting Numbers: [35, 3] Generated Node #3: [35, 3] from Operation: 87/29=3 Current State: 38:[35, 3], Operations: ['63-28=35', '87/29=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[63, 87, 29, 28], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [63, 28, 3] Generated Node #0,0: 38:[63, 28, 3] Operation: 87/29=3 Exploring Operation: 87-63=24, Resulting Numbers: [29, 28, 24] Generated Node #0,1: 38:[29, 28, 24] Operation: 87-63=24 Moving to Node #0,1 Current State: 38:[29, 28, 24], Operations: ['87-63=24'] Exploring Operation: 28-24=4, Resulting Numbers: [29, 4] Generated Node #0,1,0: 38:[29, 4] Operation: 28-24=4 Exploring Operation: 29-28=1, Resulting Numbers: [24, 1] Generated Node #0,1,1: 38:[24, 1] Operation: 29-28=1 Moving to Node #0,0 Current State: 38:[63, 28, 3], Operations: ['87/29=3'] Exploring Operation: 63/3=21, Resulting Numbers: [28, 21] Generated Node #0,0,0: 38:[28, 21] Operation: 63/3=21 Exploring Operation: 63-28=35, Resulting Numbers: [3, 35] Generated Node #0,0,1: 38:[3, 35] Operation: 63-28=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[3, 35], Operations: ['87/29=3', '63-28=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[63, 87, 29, 28], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [63, 28, 3] Generated Node #0,0: 38:[63, 28, 3] Operation: 87/29=3 Moving to Node #0,0 Current State: 38:[63, 28, 3], Operations: ['87/29=3'] Exploring Operation: 63-28=35, Resulting Numbers: [3, 35] Generated Node #0,0,1: 38:[3, 35] Operation: 63-28=35 Moving to Node #0,0,1 Current State: 38:[3, 35], Operations: ['87/29=3', '63-28=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 88, 27, 72, 89 ]
100
[ "88-27=61", "72+89=161", "161-61=100" ]
Current State: 100:[88, 27, 72, 89], Operations: [] Exploring Operation: 88-27=61, Resulting Numbers: [72, 89, 61] Generated Node #2: [72, 89, 61] from Operation: 88-27=61 Current State: 100:[72, 89, 61], Operations: ['88-27=61'] Exploring Operation: 72+89=161, Resulting Numbers: [61, 161] Generated Node #3: [61, 161] from Operation: 72+89=161 Current State: 100:[61, 161], Operations: ['88-27=61', '72+89=161'] Exploring Operation: 161-61=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[88, 27, 72, 89], Operations: [] Exploring Operation: 89-72=17, Resulting Numbers: [88, 27, 17] Generated Node #0,0: 100:[88, 27, 17] Operation: 89-72=17 Exploring Operation: 27+72=99, Resulting Numbers: [88, 89, 99] Generated Node #0,1: 100:[88, 89, 99] Operation: 27+72=99 Exploring Operation: 88-72=16, Resulting Numbers: [27, 89, 16] Generated Node #0,2: 100:[27, 89, 16] Operation: 88-72=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[88, 27, 17], Operations: ['89-72=17'] Exploring Operation: 88-27=61, Resulting Numbers: [17, 61] Generated Node #0,0,0: 100:[17, 61] Operation: 88-27=61 Exploring Operation: 27-17=10, Resulting Numbers: [88, 10] Generated Node #0,0,1: 100:[88, 10] Operation: 27-17=10 Exploring Operation: 88+17=105, Resulting Numbers: [27, 105] Generated Node #0,0,2: 100:[27, 105] Operation: 88+17=105 Moving to Node #0,0,2 Current State: 100:[27, 105], Operations: ['89-72=17', '88+17=105'] Exploring Operation: 27*105=2835, Resulting Numbers: [2835] 2835,100 unequal: No Solution Exploring Operation: 105-27=78, Resulting Numbers: [78] 78,100 unequal: No Solution Exploring Operation: 27+105=132, Resulting Numbers: [132] 132,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[88, 10], Operations: ['89-72=17', '27-17=10'] Exploring Operation: 88+10=98, Resulting Numbers: [98] 98,100 unequal: No Solution Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,100 unequal: No Solution Exploring Operation: 88*10=880, Resulting Numbers: [880] 880,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[17, 61], Operations: ['89-72=17', '88-27=61'] Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 17+61=78, Resulting Numbers: [78] 78,100 unequal: No Solution Exploring Operation: 17*61=1037, Resulting Numbers: [1037] 1037,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[27, 89, 16], Operations: ['88-72=16'] Exploring Operation: 89-27=62, Resulting Numbers: [16, 62] Generated Node #0,2,0: 100:[16, 62] Operation: 89-27=62 Exploring Operation: 27-16=11, Resulting Numbers: [89, 11] Generated Node #0,2,1: 100:[89, 11] Operation: 27-16=11 Exploring Operation: 89+16=105, Resulting Numbers: [27, 105] Generated Node #0,2,2: 100:[27, 105] Operation: 89+16=105 Moving to Node #0,2,2 Current State: 100:[27, 105], Operations: ['88-72=16', '89+16=105'] Exploring Operation: 27+105=132, Resulting Numbers: [132] 132,100 unequal: No Solution Exploring Operation: 105-27=78, Resulting Numbers: [78] 78,100 unequal: No Solution Exploring Operation: 27*105=2835, Resulting Numbers: [2835] 2835,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[89, 11], Operations: ['88-72=16', '27-16=11'] Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,100 unequal: No Solution Exploring Operation: 89*11=979, Resulting Numbers: [979] 979,100 unequal: No Solution Exploring Operation: 89+11=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[88, 27, 72, 89], Operations: [] Exploring Operation: 88-72=16, Resulting Numbers: [27, 89, 16] Generated Node #0,2: 100:[27, 89, 16] Operation: 88-72=16 Moving to Node #0,2 Current State: 100:[27, 89, 16], Operations: ['88-72=16'] Exploring Operation: 27-16=11, Resulting Numbers: [89, 11] Generated Node #0,2,1: 100:[89, 11] Operation: 27-16=11 Moving to Node #0,2,1 Current State: 100:[89, 11], Operations: ['88-72=16', '27-16=11'] Exploring Operation: 89+11=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
sum_heuristic
[ 83, 85, 66, 86 ]
57
[ "86-83=3", "85-66=19", "3*19=57" ]
Current State: 57:[83, 85, 66, 86], Operations: [] Exploring Operation: 86-83=3, Resulting Numbers: [85, 66, 3] Generated Node #2: [85, 66, 3] from Operation: 86-83=3 Current State: 57:[85, 66, 3], Operations: ['86-83=3'] Exploring Operation: 85-66=19, Resulting Numbers: [3, 19] Generated Node #3: [3, 19] from Operation: 85-66=19 Current State: 57:[3, 19], Operations: ['86-83=3', '85-66=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[83, 85, 66, 86], Operations: [] Exploring Operation: 86-83=3, Resulting Numbers: [85, 66, 3] Generated Node #0,0: 57:[85, 66, 3] Operation: 86-83=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[85, 66, 3], Operations: ['86-83=3'] Exploring Operation: 85-66=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 57:[3, 19] Operation: 85-66=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[3, 19], Operations: ['86-83=3', '85-66=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[83, 85, 66, 86], Operations: [] Exploring Operation: 86-83=3, Resulting Numbers: [85, 66, 3] Generated Node #0,0: 57:[85, 66, 3] Operation: 86-83=3 Moving to Node #0,0 Current State: 57:[85, 66, 3], Operations: ['86-83=3'] Exploring Operation: 85-66=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 57:[3, 19] Operation: 85-66=19 Moving to Node #0,0,0 Current State: 57:[3, 19], Operations: ['86-83=3', '85-66=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 1, 2, 37, 82 ]
43
[ "1*2=2", "82-37=45", "45-2=43" ]
Current State: 43:[1, 2, 37, 82], Operations: [] Exploring Operation: 1*2=2, Resulting Numbers: [37, 82, 2] Generated Node #2: [37, 82, 2] from Operation: 1*2=2 Current State: 43:[37, 82, 2], Operations: ['1*2=2'] Exploring Operation: 82-37=45, Resulting Numbers: [2, 45] Generated Node #3: [2, 45] from Operation: 82-37=45 Current State: 43:[2, 45], Operations: ['1*2=2', '82-37=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[1, 2, 37, 82], Operations: [] Exploring Operation: 1+37=38, Resulting Numbers: [2, 82, 38] Generated Node #0,0: 43:[2, 82, 38] Operation: 1+37=38 Exploring Operation: 2+37=39, Resulting Numbers: [1, 82, 39] Generated Node #0,1: 43:[1, 82, 39] Operation: 2+37=39 Exploring Operation: 82/2=41, Resulting Numbers: [1, 37, 41] Generated Node #0,2: 43:[1, 37, 41] Operation: 82/2=41 Exploring Operation: 1+2=3, Resulting Numbers: [37, 82, 3] Generated Node #0,3: 43:[37, 82, 3] Operation: 1+2=3 Exploring Operation: 82-1=81, Resulting Numbers: [2, 37, 81] Generated Node #0,4: 43:[2, 37, 81] Operation: 82-1=81 Moving to Node #0,2 Current State: 43:[1, 37, 41], Operations: ['82/2=41'] Exploring Operation: 1*41=41, Resulting Numbers: [37, 41] Generated Node #0,2,0: 43:[37, 41] Operation: 1*41=41 Exploring Operation: 1+37=38, Resulting Numbers: [41, 38] Generated Node #0,2,1: 43:[41, 38] Operation: 1+37=38 Exploring Operation: 37/1=37, Resulting Numbers: [41, 37] Generated Node #0,2,2: 43:[41, 37] Operation: 37/1=37 Exploring Operation: 1*37=37, Resulting Numbers: [41, 37] Generated Node #0,2,3: 43:[41, 37] Operation: 1*37=37 Exploring Operation: 1+41=42, Resulting Numbers: [37, 42] Generated Node #0,2,4: 43:[37, 42] Operation: 1+41=42 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 43:[41, 38], Operations: ['82/2=41', '1+37=38'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,43 unequal: No Solution Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,43 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,43 unequal: No Solution No 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: 43:[37, 42], Operations: ['82/2=41', '1+41=42'] Exploring Operation: 37*42=1554, Resulting Numbers: [1554] 1554,43 unequal: No Solution Exploring Operation: 37+42=79, Resulting Numbers: [79] 79,43 unequal: No Solution Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,43 unequal: No Solution No 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: 43:[37, 41], Operations: ['82/2=41', '1*41=41'] Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,43 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,43 unequal: No Solution Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,43 unequal: No Solution No 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: 43:[41, 37], Operations: ['82/2=41', '37/1=37'] Exploring Operation: 41+37=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 41*37=1517, Resulting Numbers: [1517] 1517,43 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,43 unequal: No Solution No 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: 43:[41, 37], Operations: ['82/2=41', '1*37=37'] Exploring Operation: 41+37=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 41*37=1517, Resulting Numbers: [1517] 1517,43 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,43 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: 43:[1, 82, 39], Operations: ['2+37=39'] Exploring Operation: 82-1=81, Resulting Numbers: [39, 81] Generated Node #0,1,0: 43:[39, 81] Operation: 82-1=81 Exploring Operation: 82-39=43, Resulting Numbers: [1, 43] Generated Node #0,1,1: 43:[1, 43] Operation: 82-39=43 Exploring Operation: 82/1=82, Resulting Numbers: [39, 82] Generated Node #0,1,2: 43:[39, 82] Operation: 82/1=82 Exploring Operation: 1*82=82, Resulting Numbers: [39, 82] Generated Node #0,1,3: 43:[39, 82] Operation: 1*82=82 Exploring Operation: 1+39=40, Resulting Numbers: [82, 40] Generated Node #0,1,4: 43:[82, 40] Operation: 1+39=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[39, 81], Operations: ['2+37=39', '82-1=81'] Exploring Operation: 39*81=3159, Resulting Numbers: [3159] 3159,43 unequal: No Solution Exploring Operation: 39+81=120, Resulting Numbers: [120] 120,43 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,43 unequal: No Solution No 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: 43:[1, 43], Operations: ['2+37=39', '82-39=43'] Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[1, 2, 37, 82], Operations: [] Exploring Operation: 2+37=39, Resulting Numbers: [1, 82, 39] Generated Node #0,1: 43:[1, 82, 39] Operation: 2+37=39 Moving to Node #0,1 Current State: 43:[1, 82, 39], Operations: ['2+37=39'] Exploring Operation: 82-39=43, Resulting Numbers: [1, 43] Generated Node #0,1,1: 43:[1, 43] Operation: 82-39=43 Moving to Node #0,1,1 Current State: 43:[1, 43], Operations: ['2+37=39', '82-39=43'] Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 55, 88, 15, 93 ]
69
[ "88*15=1320", "1320/55=24", "93-24=69" ]
Current State: 69:[55, 88, 15, 93], Operations: [] Exploring Operation: 88*15=1320, Resulting Numbers: [55, 93, 1320] Generated Node #2: [55, 93, 1320] from Operation: 88*15=1320 Current State: 69:[55, 93, 1320], Operations: ['88*15=1320'] Exploring Operation: 1320/55=24, Resulting Numbers: [93, 24] Generated Node #3: [93, 24] from Operation: 1320/55=24 Current State: 69:[93, 24], Operations: ['88*15=1320', '1320/55=24'] Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[55, 88, 15, 93], Operations: [] Exploring Operation: 93-88=5, Resulting Numbers: [55, 15, 5] Generated Node #0,0: 69:[55, 15, 5] Operation: 93-88=5 Moving to Node #0,0 Current State: 69:[55, 15, 5], Operations: ['93-88=5'] Exploring Operation: 55+15=70, Resulting Numbers: [5, 70] Generated Node #0,0,0: 69:[5, 70] Operation: 55+15=70 Moving to Node #0,0,0 Current State: 69:[5, 70], Operations: ['93-88=5', '55+15=70'] Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,69 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 40, 15, 58, 19 ]
22
[ "40+15=55", "58+19=77", "77-55=22" ]
Current State: 22:[40, 15, 58, 19], Operations: [] Exploring Operation: 40+15=55, Resulting Numbers: [58, 19, 55] Generated Node #2: [58, 19, 55] from Operation: 40+15=55 Current State: 22:[58, 19, 55], Operations: ['40+15=55'] Exploring Operation: 58+19=77, Resulting Numbers: [55, 77] Generated Node #3: [55, 77] from Operation: 58+19=77 Current State: 22:[55, 77], Operations: ['40+15=55', '58+19=77'] Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[40, 15, 58, 19], Operations: [] Exploring Operation: 58-40=18, Resulting Numbers: [15, 19, 18] Generated Node #0,0: 22:[15, 19, 18] Operation: 58-40=18 Exploring Operation: 58-19=39, Resulting Numbers: [40, 15, 39] Generated Node #0,1: 22:[40, 15, 39] Operation: 58-19=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[15, 19, 18], Operations: ['58-40=18'] Exploring Operation: 19-18=1, Resulting Numbers: [15, 1] Generated Node #0,0,0: 22:[15, 1] Operation: 19-18=1 Exploring Operation: 18-15=3, Resulting Numbers: [19, 3] Generated Node #0,0,1: 22:[19, 3] Operation: 18-15=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[19, 3], Operations: ['58-40=18', '18-15=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[40, 15, 58, 19], Operations: [] Exploring Operation: 58-40=18, Resulting Numbers: [15, 19, 18] Generated Node #0,0: 22:[15, 19, 18] Operation: 58-40=18 Moving to Node #0,0 Current State: 22:[15, 19, 18], Operations: ['58-40=18'] Exploring Operation: 18-15=3, Resulting Numbers: [19, 3] Generated Node #0,0,1: 22:[19, 3] Operation: 18-15=3 Moving to Node #0,0,1 Current State: 22:[19, 3], Operations: ['58-40=18', '18-15=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 55, 12, 77, 45 ]
43
[ "55-45=10", "12*10=120", "120-77=43" ]
Current State: 43:[55, 12, 77, 45], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [12, 77, 10] Generated Node #2: [12, 77, 10] from Operation: 55-45=10 Current State: 43:[12, 77, 10], Operations: ['55-45=10'] Exploring Operation: 12*10=120, Resulting Numbers: [77, 120] Generated Node #3: [77, 120] from Operation: 12*10=120 Current State: 43:[77, 120], Operations: ['55-45=10', '12*10=120'] Exploring Operation: 120-77=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[55, 12, 77, 45], Operations: [] Exploring Operation: 55-12=43, Resulting Numbers: [77, 45, 43] Generated Node #0,0: 43:[77, 45, 43] Operation: 55-12=43 Exploring Operation: 77-12=65, Resulting Numbers: [55, 45, 65] Generated Node #0,1: 43:[55, 45, 65] Operation: 77-12=65 Exploring Operation: 77-45=32, Resulting Numbers: [55, 12, 32] Generated Node #0,2: 43:[55, 12, 32] Operation: 77-45=32 Exploring Operation: 77-55=22, Resulting Numbers: [12, 45, 22] Generated Node #0,3: 43:[12, 45, 22] Operation: 77-55=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[77, 45, 43], Operations: ['55-12=43'] Exploring Operation: 77-43=34, Resulting Numbers: [45, 34] Generated Node #0,0,0: 43:[45, 34] Operation: 77-43=34 Exploring Operation: 77+45=122, Resulting Numbers: [43, 122] Generated Node #0,0,1: 43:[43, 122] Operation: 77+45=122 Exploring Operation: 77-45=32, Resulting Numbers: [43, 32] Generated Node #0,0,2: 43:[43, 32] Operation: 77-45=32 Exploring Operation: 45-43=2, Resulting Numbers: [77, 2] Generated Node #0,0,3: 43:[77, 2] Operation: 45-43=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[45, 34], Operations: ['55-12=43', '77-43=34'] Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,43 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,43 unequal: No Solution No 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: 43:[43, 32], Operations: ['55-12=43', '77-45=32'] Exploring Operation: 43*32=1376, Resulting Numbers: [1376] 1376,43 unequal: No Solution Exploring Operation: 43+32=75, Resulting Numbers: [75] 75,43 unequal: No Solution Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,43 unequal: No Solution No 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: 43:[77, 2], Operations: ['55-12=43', '45-43=2'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,43 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,43 unequal: No Solution Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,43 unequal: No Solution No 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: 43:[43, 122], Operations: ['55-12=43', '77+45=122'] Exploring Operation: 43+122=165, Resulting Numbers: [165] 165,43 unequal: No Solution Exploring Operation: 43*122=5246, Resulting Numbers: [5246] 5246,43 unequal: No Solution Exploring Operation: 122-43=79, Resulting Numbers: [79] 79,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[55, 45, 65], Operations: ['77-12=65'] Exploring Operation: 55+45=100, Resulting Numbers: [65, 100] Generated Node #0,1,0: 43:[65, 100] Operation: 55+45=100 Exploring Operation: 55-45=10, Resulting Numbers: [65, 10] Generated Node #0,1,1: 43:[65, 10] Operation: 55-45=10 Exploring Operation: 65-55=10, Resulting Numbers: [45, 10] Generated Node #0,1,2: 43:[45, 10] Operation: 65-55=10 Exploring Operation: 65-45=20, Resulting Numbers: [55, 20] Generated Node #0,1,3: 43:[55, 20] Operation: 65-45=20 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 43:[45, 10], Operations: ['77-12=65', '65-55=10'] Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,43 unequal: No Solution Exploring Operation: 45*10=450, Resulting Numbers: [450] 450,43 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,43 unequal: No Solution No 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: 43:[55, 20], Operations: ['77-12=65', '65-45=20'] Exploring Operation: 55*20=1100, Resulting Numbers: [1100] 1100,43 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,43 unequal: No Solution Exploring Operation: 55+20=75, Resulting Numbers: [75] 75,43 unequal: No Solution No 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: 43:[65, 10], Operations: ['77-12=65', '55-45=10'] Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,43 unequal: No Solution Exploring Operation: 65*10=650, Resulting Numbers: [650] 650,43 unequal: No Solution Exploring Operation: 65+10=75, Resulting Numbers: [75] 75,43 unequal: No Solution No 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: 43:[65, 100], Operations: ['77-12=65', '55+45=100'] Exploring Operation: 65*100=6500, Resulting Numbers: [6500] 6500,43 unequal: No Solution Exploring Operation: 65+100=165, Resulting Numbers: [165] 165,43 unequal: No Solution Exploring Operation: 100-65=35, Resulting Numbers: [35] 35,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[55, 12, 32], Operations: ['77-45=32'] Exploring Operation: 12+32=44, Resulting Numbers: [55, 44] Generated Node #0,2,0: 43:[55, 44] Operation: 12+32=44 Exploring Operation: 32-12=20, Resulting Numbers: [55, 20] Generated Node #0,2,1: 43:[55, 20] Operation: 32-12=20 Exploring Operation: 55-12=43, Resulting Numbers: [32, 43] Generated Node #0,2,2: 43:[32, 43] Operation: 55-12=43 Exploring Operation: 55+12=67, Resulting Numbers: [32, 67] Generated Node #0,2,3: 43:[32, 67] Operation: 55+12=67 Moving to Node #0,2,2 Current State: 43:[32, 43], Operations: ['77-45=32', '55-12=43'] Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 32*43=1376, Resulting Numbers: [1376] 1376,43 unequal: No Solution Exploring Operation: 32+43=75, Resulting Numbers: [75] 75,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[55, 44], Operations: ['77-45=32', '12+32=44'] Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 55+44=99, Resulting Numbers: [99] 99,43 unequal: No Solution Exploring Operation: 55*44=2420, Resulting Numbers: [2420] 2420,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[32, 67], Operations: ['77-45=32', '55+12=67'] Exploring Operation: 67-32=35, Resulting Numbers: [35] 35,43 unequal: No Solution Exploring Operation: 32+67=99, Resulting Numbers: [99] 99,43 unequal: No Solution Exploring Operation: 32*67=2144, Resulting Numbers: [2144] 2144,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[55, 20], Operations: ['77-45=32', '32-12=20'] Exploring Operation: 55*20=1100, Resulting Numbers: [1100] 1100,43 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,43 unequal: No Solution Exploring Operation: 55+20=75, Resulting Numbers: [75] 75,43 unequal: No Solution No 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: 43:[12, 45, 22], Operations: ['77-55=22'] Exploring Operation: 22-12=10, Resulting Numbers: [45, 10] Generated Node #0,3,0: 43:[45, 10] Operation: 22-12=10 Exploring Operation: 45-12=33, Resulting Numbers: [22, 33] Generated Node #0,3,1: 43:[22, 33] Operation: 45-12=33 Exploring Operation: 12+22=34, Resulting Numbers: [45, 34] Generated Node #0,3,2: 43:[45, 34] Operation: 12+22=34 Exploring Operation: 12+45=57, Resulting Numbers: [22, 57] Generated Node #0,3,3: 43:[22, 57] Operation: 12+45=57 Moving to Node #0,3,2 Current State: 43:[45, 34], Operations: ['77-55=22', '12+22=34'] Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,43 unequal: No Solution Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[22, 33], Operations: ['77-55=22', '45-12=33'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,43 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,43 unequal: No Solution Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[22, 57], Operations: ['77-55=22', '12+45=57'] Exploring Operation: 22*57=1254, Resulting Numbers: [1254] 1254,43 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,43 unequal: No Solution Exploring Operation: 22+57=79, Resulting Numbers: [79] 79,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[45, 10], Operations: ['77-55=22', '22-12=10'] Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,43 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,43 unequal: No Solution Exploring Operation: 45*10=450, Resulting Numbers: [450] 450,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 3, 61, 36, 4 ]
71
[ "36-3=33", "4*33=132", "132-61=71" ]
Current State: 71:[3, 61, 36, 4], Operations: [] Exploring Operation: 36-3=33, Resulting Numbers: [61, 4, 33] Generated Node #2: [61, 4, 33] from Operation: 36-3=33 Current State: 71:[61, 4, 33], Operations: ['36-3=33'] Exploring Operation: 4*33=132, Resulting Numbers: [61, 132] Generated Node #3: [61, 132] from Operation: 4*33=132 Current State: 71:[61, 132], Operations: ['36-3=33', '4*33=132'] Exploring Operation: 132-61=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[3, 61, 36, 4], Operations: [] Exploring Operation: 3+61=64, Resulting Numbers: [36, 4, 64] Generated Node #0,0: 71:[36, 4, 64] Operation: 3+61=64 Exploring Operation: 3*4=12, Resulting Numbers: [61, 36, 12] Generated Node #0,1: 71:[61, 36, 12] Operation: 3*4=12 Exploring Operation: 61+4=65, Resulting Numbers: [3, 36, 65] Generated Node #0,2: 71:[3, 36, 65] Operation: 61+4=65 Exploring Operation: 3+36=39, Resulting Numbers: [61, 4, 39] Generated Node #0,3: 71:[61, 4, 39] Operation: 3+36=39 Exploring Operation: 3+4=7, Resulting Numbers: [61, 36, 7] Generated Node #0,4: 71:[61, 36, 7] Operation: 3+4=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[61, 36, 12], Operations: ['3*4=12'] Exploring Operation: 36-12=24, Resulting Numbers: [61, 24] Generated Node #0,1,0: 71:[61, 24] Operation: 36-12=24 Exploring Operation: 36/12=3, Resulting Numbers: [61, 3] Generated Node #0,1,1: 71:[61, 3] Operation: 36/12=3 Exploring Operation: 61-12=49, Resulting Numbers: [36, 49] Generated Node #0,1,2: 71:[36, 49] Operation: 61-12=49 Exploring Operation: 61+12=73, Resulting Numbers: [36, 73] Generated Node #0,1,3: 71:[36, 73] Operation: 61+12=73 Exploring Operation: 36+12=48, Resulting Numbers: [61, 48] Generated Node #0,1,4: 71:[61, 48] Operation: 36+12=48 Moving to Node #0,1,4 Current State: 71:[61, 48], Operations: ['3*4=12', '36+12=48'] Exploring Operation: 61*48=2928, Resulting Numbers: [2928] 2928,71 unequal: No Solution Exploring Operation: 61+48=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[36, 73], Operations: ['3*4=12', '61+12=73'] Exploring Operation: 36*73=2628, Resulting Numbers: [2628] 2628,71 unequal: No Solution Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,71 unequal: No Solution Exploring Operation: 36+73=109, Resulting Numbers: [109] 109,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[61, 24], Operations: ['3*4=12', '36-12=24'] Exploring Operation: 61*24=1464, Resulting Numbers: [1464] 1464,71 unequal: No Solution Exploring Operation: 61+24=85, Resulting Numbers: [85] 85,71 unequal: No Solution Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[36, 49], Operations: ['3*4=12', '61-12=49'] Exploring Operation: 36*49=1764, Resulting Numbers: [1764] 1764,71 unequal: No Solution Exploring Operation: 36+49=85, Resulting Numbers: [85] 85,71 unequal: No Solution Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[61, 3], Operations: ['3*4=12', '36/12=3'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 61*3=183, Resulting Numbers: [183] 183,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,0 Current State: 71:[36, 4, 64], Operations: ['3+61=64'] Exploring Operation: 64-4=60, Resulting Numbers: [36, 60] Generated Node #0,0,0: 71:[36, 60] Operation: 64-4=60 Exploring Operation: 4+64=68, Resulting Numbers: [36, 68] Generated Node #0,0,1: 71:[36, 68] Operation: 4+64=68 Exploring Operation: 36-4=32, Resulting Numbers: [64, 32] Generated Node #0,0,2: 71:[64, 32] Operation: 36-4=32 Exploring Operation: 36/4=9, Resulting Numbers: [64, 9] Generated Node #0,0,3: 71:[64, 9] Operation: 36/4=9 Exploring Operation: 36+4=40, Resulting Numbers: [64, 40] Generated Node #0,0,4: 71:[64, 40] Operation: 36+4=40 Moving to Node #0,0,1 Current State: 71:[36, 68], Operations: ['3+61=64', '4+64=68'] Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,71 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[64, 40], Operations: ['3+61=64', '36+4=40'] Exploring Operation: 64*40=2560, Resulting Numbers: [2560] 2560,71 unequal: No Solution Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 64+40=104, Resulting Numbers: [104] 104,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[36, 60], Operations: ['3+61=64', '64-4=60'] Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,71 unequal: No Solution Exploring Operation: 36*60=2160, Resulting Numbers: [2160] 2160,71 unequal: No Solution Exploring Operation: 36+60=96, Resulting Numbers: [96] 96,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[64, 32], Operations: ['3+61=64', '36-4=32'] Exploring Operation: 64/32=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 64*32=2048, Resulting Numbers: [2048] 2048,71 unequal: No Solution Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 64+32=96, Resulting Numbers: [96] 96,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[64, 9], Operations: ['3+61=64', '36/4=9'] Exploring Operation: 64*9=576, Resulting Numbers: [576] 576,71 unequal: No Solution Exploring Operation: 64+9=73, Resulting Numbers: [73] 73,71 unequal: No Solution Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,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 Current State: 71:[3, 36, 65], Operations: ['61+4=65'] Exploring Operation: 36-3=33, Resulting Numbers: [65, 33] Generated Node #0,2,0: 71:[65, 33] Operation: 36-3=33 Exploring Operation: 3*36=108, Resulting Numbers: [65, 108] Generated Node #0,2,1: 71:[65, 108] Operation: 3*36=108 Exploring Operation: 3+36=39, Resulting Numbers: [65, 39] Generated Node #0,2,2: 71:[65, 39] Operation: 3+36=39 Exploring Operation: 3+65=68, Resulting Numbers: [36, 68] Generated Node #0,2,3: 71:[36, 68] Operation: 3+65=68 Exploring Operation: 65-3=62, Resulting Numbers: [36, 62] Generated Node #0,2,4: 71:[36, 62] Operation: 65-3=62 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 71:[65, 39], Operations: ['61+4=65', '3+36=39'] Exploring Operation: 65*39=2535, Resulting Numbers: [2535] 2535,71 unequal: No Solution Exploring Operation: 65+39=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,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:[36, 68], Operations: ['61+4=65', '3+65=68'] Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,71 unequal: No Solution Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,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:[65, 108], Operations: ['61+4=65', '3*36=108'] Exploring Operation: 65*108=7020, Resulting Numbers: [7020] 7020,71 unequal: No Solution Exploring Operation: 108-65=43, Resulting Numbers: [43] 43,71 unequal: No Solution Exploring Operation: 65+108=173, Resulting Numbers: [173] 173,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,0 Current State: 71:[65, 33], Operations: ['61+4=65', '36-3=33'] Exploring Operation: 65-33=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 65+33=98, Resulting Numbers: [98] 98,71 unequal: No Solution Exploring Operation: 65*33=2145, Resulting Numbers: [2145] 2145,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,4 Current State: 71:[36, 62], Operations: ['61+4=65', '65-3=62'] Exploring Operation: 36+62=98, Resulting Numbers: [98] 98,71 unequal: No Solution Exploring Operation: 36*62=2232, Resulting Numbers: [2232] 2232,71 unequal: No Solution Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[61, 4, 39], Operations: ['3+36=39'] Exploring Operation: 4+39=43, Resulting Numbers: [61, 43] Generated Node #0,3,0: 71:[61, 43] Operation: 4+39=43 Exploring Operation: 39-4=35, Resulting Numbers: [61, 35] Generated Node #0,3,1: 71:[61, 35] Operation: 39-4=35 Exploring Operation: 61-4=57, Resulting Numbers: [39, 57] Generated Node #0,3,2: 71:[39, 57] Operation: 61-4=57 Exploring Operation: 4*39=156, Resulting Numbers: [61, 156] Generated Node #0,3,3: 71:[61, 156] Operation: 4*39=156 Exploring Operation: 61+4=65, Resulting Numbers: [39, 65] Generated Node #0,3,4: 71:[39, 65] Operation: 61+4=65 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 71:[61, 43], Operations: ['3+36=39', '4+39=43'] Exploring Operation: 61+43=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 61*43=2623, Resulting Numbers: [2623] 2623,71 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,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,3,4 Current State: 71:[39, 65], Operations: ['3+36=39', '61+4=65'] Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 39*65=2535, Resulting Numbers: [2535] 2535,71 unequal: No Solution Exploring Operation: 39+65=104, Resulting Numbers: [104] 104,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,3,1 Current State: 71:[61, 35], Operations: ['3+36=39', '39-4=35'] Exploring Operation: 61+35=96, Resulting Numbers: [96] 96,71 unequal: No Solution Exploring Operation: 61*35=2135, Resulting Numbers: [2135] 2135,71 unequal: No Solution Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,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,3,2 Current State: 71:[39, 57], Operations: ['3+36=39', '61-4=57'] Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 39+57=96, Resulting Numbers: [96] 96,71 unequal: No Solution Exploring Operation: 39*57=2223, Resulting Numbers: [2223] 2223,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,3,3 Current State: 71:[61, 156], Operations: ['3+36=39', '4*39=156'] Exploring Operation: 156-61=95, Resulting Numbers: [95] 95,71 unequal: No Solution Exploring Operation: 61*156=9516, Resulting Numbers: [9516] 9516,71 unequal: No Solution Exploring Operation: 61+156=217, Resulting Numbers: [217] 217,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 71:[61, 36, 7], Operations: ['3+4=7'] Exploring Operation: 61+7=68, Resulting Numbers: [36, 68] Generated Node #0,4,0: 71:[36, 68] Operation: 61+7=68 Exploring Operation: 61+36=97, Resulting Numbers: [7, 97] Generated Node #0,4,1: 71:[7, 97] Operation: 61+36=97 Exploring Operation: 36-7=29, Resulting Numbers: [61, 29] Generated Node #0,4,2: 71:[61, 29] Operation: 36-7=29 Exploring Operation: 36+7=43, Resulting Numbers: [61, 43] Generated Node #0,4,3: 71:[61, 43] Operation: 36+7=43 Exploring Operation: 61-7=54, Resulting Numbers: [36, 54] Generated Node #0,4,4: 71:[36, 54] Operation: 61-7=54 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 71:[36, 68], Operations: ['3+4=7', '61+7=68'] Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,71 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,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,4,3 Current State: 71:[61, 43], Operations: ['3+4=7', '36+7=43'] Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 61+43=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 61*43=2623, Resulting Numbers: [2623] 2623,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,4,2 Current State: 71:[61, 29], Operations: ['3+4=7', '36-7=29'] Exploring Operation: 61-29=32, Resulting Numbers: [32] 32,71 unequal: No Solution Exploring Operation: 61+29=90, Resulting Numbers: [90] 90,71 unequal: No Solution Exploring Operation: 61*29=1769, Resulting Numbers: [1769] 1769,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,4,4 Current State: 71:[36, 54], Operations: ['3+4=7', '61-7=54'] Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 36*54=1944, Resulting Numbers: [1944] 1944,71 unequal: No Solution Exploring Operation: 36+54=90, Resulting Numbers: [90] 90,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,4,1 Current State: 71:[7, 97], Operations: ['3+4=7', '61+36=97'] Exploring Operation: 7+97=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 7*97=679, Resulting Numbers: [679] 679,71 unequal: No Solution Exploring Operation: 97-7=90, Resulting Numbers: [90] 90,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 22, 92, 48, 91 ]
64
[ "91-22=69", "92*48=4416", "4416/69=64" ]
Current State: 64:[22, 92, 48, 91], Operations: [] Exploring Operation: 91-22=69, Resulting Numbers: [92, 48, 69] Generated Node #2: [92, 48, 69] from Operation: 91-22=69 Current State: 64:[92, 48, 69], Operations: ['91-22=69'] Exploring Operation: 92*48=4416, Resulting Numbers: [69, 4416] Generated Node #3: [69, 4416] from Operation: 92*48=4416 Current State: 64:[69, 4416], Operations: ['91-22=69', '92*48=4416'] Exploring Operation: 4416/69=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[22, 92, 48, 91], Operations: [] Exploring Operation: 92-91=1, Resulting Numbers: [22, 48, 1] Generated Node #0,0: 64:[22, 48, 1] Operation: 92-91=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[22, 48, 1], Operations: ['92-91=1'] Exploring Operation: 22+48=70, Resulting Numbers: [1, 70] Generated Node #0,0,0: 64:[1, 70] Operation: 22+48=70 Moving to Node #0,0,0 Current State: 64:[1, 70], Operations: ['92-91=1', '22+48=70'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,64 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
[ 56, 59, 39, 25 ]
92
[ "59-56=3", "39*3=117", "117-25=92" ]
Current State: 92:[56, 59, 39, 25], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [39, 25, 3] Generated Node #2: [39, 25, 3] from Operation: 59-56=3 Current State: 92:[39, 25, 3], Operations: ['59-56=3'] Exploring Operation: 39*3=117, Resulting Numbers: [25, 117] Generated Node #3: [25, 117] from Operation: 39*3=117 Current State: 92:[25, 117], Operations: ['59-56=3', '39*3=117'] Exploring Operation: 117-25=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[56, 59, 39, 25], Operations: [] Exploring Operation: 56+39=95, Resulting Numbers: [59, 25, 95] Generated Node #0,0: 92:[59, 25, 95] Operation: 56+39=95 Exploring Operation: 59-39=20, Resulting Numbers: [56, 25, 20] Generated Node #0,1: 92:[56, 25, 20] Operation: 59-39=20 Exploring Operation: 59-56=3, Resulting Numbers: [39, 25, 3] Generated Node #0,2: 92:[39, 25, 3] Operation: 59-56=3 Exploring Operation: 59+39=98, Resulting Numbers: [56, 25, 98] Generated Node #0,3: 92:[56, 25, 98] Operation: 59+39=98 Moving to Node #0,2 Current State: 92:[39, 25, 3], Operations: ['59-56=3'] Exploring Operation: 39+3=42, Resulting Numbers: [25, 42] Generated Node #0,2,0: 92:[25, 42] Operation: 39+3=42 Exploring Operation: 39/3=13, Resulting Numbers: [25, 13] Generated Node #0,2,1: 92:[25, 13] Operation: 39/3=13 Exploring Operation: 25-3=22, Resulting Numbers: [39, 22] Generated Node #0,2,2: 92:[39, 22] Operation: 25-3=22 Exploring Operation: 39-25=14, Resulting Numbers: [3, 14] Generated Node #0,2,3: 92:[3, 14] Operation: 39-25=14 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[25, 42], Operations: ['59-56=3', '39+3=42'] Exploring Operation: 25+42=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 25*42=1050, Resulting Numbers: [1050] 1050,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[39, 22], Operations: ['59-56=3', '25-3=22'] Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 39*22=858, Resulting Numbers: [858] 858,92 unequal: No Solution Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 92:[3, 14], Operations: ['59-56=3', '39-25=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,92 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,92 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[25, 13], Operations: ['59-56=3', '39/3=13'] Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,92 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,92 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: 92:[56, 25, 20], Operations: ['59-39=20'] Exploring Operation: 25+20=45, Resulting Numbers: [56, 45] Generated Node #0,1,0: 92:[56, 45] Operation: 25+20=45 Exploring Operation: 56-20=36, Resulting Numbers: [25, 36] Generated Node #0,1,1: 92:[25, 36] Operation: 56-20=36 Exploring Operation: 56-25=31, Resulting Numbers: [20, 31] Generated Node #0,1,2: 92:[20, 31] Operation: 56-25=31 Exploring Operation: 25-20=5, Resulting Numbers: [56, 5] Generated Node #0,1,3: 92:[56, 5] Operation: 25-20=5 Moving to Node #0,3 Current State: 92:[56, 25, 98], Operations: ['59+39=98'] Exploring Operation: 98-56=42, Resulting Numbers: [25, 42] Generated Node #0,3,0: 92:[25, 42] Operation: 98-56=42 Exploring Operation: 56-25=31, Resulting Numbers: [98, 31] Generated Node #0,3,1: 92:[98, 31] Operation: 56-25=31 Exploring Operation: 98-25=73, Resulting Numbers: [56, 73] Generated Node #0,3,2: 92:[56, 73] Operation: 98-25=73 Exploring Operation: 56+25=81, Resulting Numbers: [98, 81] Generated Node #0,3,3: 92:[98, 81] Operation: 56+25=81 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 92:[25, 42], Operations: ['59+39=98', '98-56=42'] Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 25*42=1050, Resulting Numbers: [1050] 1050,92 unequal: No Solution Exploring Operation: 25+42=67, Resulting Numbers: [67] 67,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 92:[98, 31], Operations: ['59+39=98', '56-25=31'] Exploring Operation: 98-31=67, Resulting Numbers: [67] 67,92 unequal: No Solution Exploring Operation: 98*31=3038, Resulting Numbers: [3038] 3038,92 unequal: No Solution Exploring Operation: 98+31=129, Resulting Numbers: [129] 129,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 92:[98, 81], Operations: ['59+39=98', '56+25=81'] Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 98*81=7938, Resulting Numbers: [7938] 7938,92 unequal: No Solution Exploring Operation: 98+81=179, Resulting Numbers: [179] 179,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 92:[56, 73], Operations: ['59+39=98', '98-25=73'] Exploring Operation: 56*73=4088, Resulting Numbers: [4088] 4088,92 unequal: No Solution Exploring Operation: 73-56=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 56+73=129, Resulting Numbers: [129] 129,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 92:[59, 25, 95], Operations: ['56+39=95'] Exploring Operation: 95-25=70, Resulting Numbers: [59, 70] Generated Node #0,0,0: 92:[59, 70] Operation: 95-25=70 Exploring Operation: 95-59=36, Resulting Numbers: [25, 36] Generated Node #0,0,1: 92:[25, 36] Operation: 95-59=36 Exploring Operation: 59-25=34, Resulting Numbers: [95, 34] Generated Node #0,0,2: 92:[95, 34] Operation: 59-25=34 Exploring Operation: 59+25=84, Resulting Numbers: [95, 84] Generated Node #0,0,3: 92:[95, 84] Operation: 59+25=84 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 92:[95, 84], Operations: ['56+39=95', '59+25=84'] Exploring Operation: 95*84=7980, Resulting Numbers: [7980] 7980,92 unequal: No Solution Exploring Operation: 95-84=11, Resulting Numbers: [11] 11,92 unequal: No Solution Exploring Operation: 95+84=179, Resulting Numbers: [179] 179,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[25, 36], Operations: ['56+39=95', '95-59=36'] Exploring Operation: 25*36=900, Resulting Numbers: [900] 900,92 unequal: No Solution Exploring Operation: 25+36=61, Resulting Numbers: [61] 61,92 unequal: No Solution Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 92:[95, 34], Operations: ['56+39=95', '59-25=34'] Exploring Operation: 95*34=3230, Resulting Numbers: [3230] 3230,92 unequal: No Solution Exploring Operation: 95+34=129, Resulting Numbers: [129] 129,92 unequal: No Solution Exploring Operation: 95-34=61, Resulting Numbers: [61] 61,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[59, 70], Operations: ['56+39=95', '95-25=70'] Exploring Operation: 70-59=11, Resulting Numbers: [11] 11,92 unequal: No Solution Exploring Operation: 59+70=129, Resulting Numbers: [129] 129,92 unequal: No Solution Exploring Operation: 59*70=4130, Resulting Numbers: [4130] 4130,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 92:[56, 45], Operations: ['59-39=20', '25+20=45'] Exploring Operation: 56-45=11, Resulting Numbers: [11] 11,92 unequal: No Solution Exploring Operation: 56+45=101, Resulting Numbers: [101] 101,92 unequal: No Solution Exploring Operation: 56*45=2520, Resulting Numbers: [2520] 2520,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[56, 5], Operations: ['59-39=20', '25-20=5'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,92 unequal: No Solution Exploring Operation: 56*5=280, Resulting Numbers: [280] 280,92 unequal: No Solution Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[20, 31], Operations: ['59-39=20', '56-25=31'] Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,92 unequal: No Solution Exploring Operation: 20*31=620, Resulting Numbers: [620] 620,92 unequal: No Solution Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[25, 36], Operations: ['59-39=20', '56-20=36'] Exploring Operation: 25+36=61, Resulting Numbers: [61] 61,92 unequal: No Solution Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,92 unequal: No Solution Exploring Operation: 25*36=900, Resulting Numbers: [900] 900,92 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 24, 15, 7, 45 ]
12
[ "24+15=39", "45+39=84", "84/7=12" ]
Current State: 12:[24, 15, 7, 45], Operations: [] Exploring Operation: 24+15=39, Resulting Numbers: [7, 45, 39] Generated Node #2: [7, 45, 39] from Operation: 24+15=39 Current State: 12:[7, 45, 39], Operations: ['24+15=39'] Exploring Operation: 45+39=84, Resulting Numbers: [7, 84] Generated Node #3: [7, 84] from Operation: 45+39=84 Current State: 12:[7, 84], Operations: ['24+15=39', '45+39=84'] Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[24, 15, 7, 45], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [24, 7, 3] Generated Node #0,0: 12:[24, 7, 3] Operation: 45/15=3 Exploring Operation: 45-15=30, Resulting Numbers: [24, 7, 30] Generated Node #0,1: 12:[24, 7, 30] Operation: 45-15=30 Exploring Operation: 24-7=17, Resulting Numbers: [15, 45, 17] Generated Node #0,2: 12:[15, 45, 17] Operation: 24-7=17 Exploring Operation: 24-15=9, Resulting Numbers: [7, 45, 9] Generated Node #0,3: 12:[7, 45, 9] Operation: 24-15=9 Exploring Operation: 45-24=21, Resulting Numbers: [15, 7, 21] Generated Node #0,4: 12:[15, 7, 21] Operation: 45-24=21 Moving to Node #0,0 Current State: 12:[24, 7, 3], Operations: ['45/15=3'] Exploring Operation: 7+3=10, Resulting Numbers: [24, 10] Generated Node #0,0,0: 12:[24, 10] Operation: 7+3=10 Exploring Operation: 24/3=8, Resulting Numbers: [7, 8] Generated Node #0,0,1: 12:[7, 8] Operation: 24/3=8 Exploring Operation: 24-7=17, Resulting Numbers: [3, 17] Generated Node #0,0,2: 12:[3, 17] Operation: 24-7=17 Exploring Operation: 7-3=4, Resulting Numbers: [24, 4] Generated Node #0,0,3: 12:[24, 4] Operation: 7-3=4 Exploring Operation: 24-3=21, Resulting Numbers: [7, 21] Generated Node #0,0,4: 12:[7, 21] Operation: 24-3=21 Moving to Node #0,4 Current State: 12:[15, 7, 21], Operations: ['45-24=21'] Exploring Operation: 21-7=14, Resulting Numbers: [15, 14] Generated Node #0,4,0: 12:[15, 14] Operation: 21-7=14 Exploring Operation: 15-7=8, Resulting Numbers: [21, 8] Generated Node #0,4,1: 12:[21, 8] Operation: 15-7=8 Exploring Operation: 21/7=3, Resulting Numbers: [15, 3] Generated Node #0,4,2: 12:[15, 3] Operation: 21/7=3 Exploring Operation: 21-15=6, Resulting Numbers: [7, 6] Generated Node #0,4,3: 12:[7, 6] Operation: 21-15=6 Exploring Operation: 15+7=22, Resulting Numbers: [21, 22] Generated Node #0,4,4: 12:[21, 22] Operation: 15+7=22 Moving to Node #0,1 Current State: 12:[24, 7, 30], Operations: ['45-15=30'] Exploring Operation: 24-7=17, Resulting Numbers: [30, 17] Generated Node #0,1,0: 12:[30, 17] Operation: 24-7=17 Exploring Operation: 30-7=23, Resulting Numbers: [24, 23] Generated Node #0,1,1: 12:[24, 23] Operation: 30-7=23 Exploring Operation: 24+7=31, Resulting Numbers: [30, 31] Generated Node #0,1,2: 12:[30, 31] Operation: 24+7=31 Exploring Operation: 30-24=6, Resulting Numbers: [7, 6] Generated Node #0,1,3: 12:[7, 6] Operation: 30-24=6 Exploring Operation: 7+30=37, Resulting Numbers: [24, 37] Generated Node #0,1,4: 12:[24, 37] Operation: 7+30=37 Moving to Node #0,3 Current State: 12:[7, 45, 9], Operations: ['24-15=9'] Exploring Operation: 7+9=16, Resulting Numbers: [45, 16] Generated Node #0,3,0: 12:[45, 16] Operation: 7+9=16 Exploring Operation: 9-7=2, Resulting Numbers: [45, 2] Generated Node #0,3,1: 12:[45, 2] Operation: 9-7=2 Exploring Operation: 45/9=5, Resulting Numbers: [7, 5] Generated Node #0,3,2: 12:[7, 5] Operation: 45/9=5 Exploring Operation: 45-9=36, Resulting Numbers: [7, 36] Generated Node #0,3,3: 12:[7, 36] Operation: 45-9=36 Exploring Operation: 45-7=38, Resulting Numbers: [9, 38] Generated Node #0,3,4: 12:[9, 38] Operation: 45-7=38 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 12:[7, 5], Operations: ['24-15=9', '45/9=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[24, 15, 7, 45], Operations: [] Exploring Operation: 24-15=9, Resulting Numbers: [7, 45, 9] Generated Node #0,3: 12:[7, 45, 9] Operation: 24-15=9 Moving to Node #0,3 Current State: 12:[7, 45, 9], Operations: ['24-15=9'] Exploring Operation: 45/9=5, Resulting Numbers: [7, 5] Generated Node #0,3,2: 12:[7, 5] Operation: 45/9=5 Moving to Node #0,3,2 Current State: 12:[7, 5], Operations: ['24-15=9', '45/9=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_5
mult_heuristic
[ 72, 4, 18, 78 ]
94
[ "72*4=288", "288/18=16", "78+16=94" ]
Current State: 94:[72, 4, 18, 78], Operations: [] Exploring Operation: 72*4=288, Resulting Numbers: [18, 78, 288] Generated Node #2: [18, 78, 288] from Operation: 72*4=288 Current State: 94:[18, 78, 288], Operations: ['72*4=288'] Exploring Operation: 288/18=16, Resulting Numbers: [78, 16] Generated Node #3: [78, 16] from Operation: 288/18=16 Current State: 94:[78, 16], Operations: ['72*4=288', '288/18=16'] Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[72, 4, 18, 78], Operations: [] Exploring Operation: 72+18=90, Resulting Numbers: [4, 78, 90] Generated Node #0,0: 94:[4, 78, 90] Operation: 72+18=90 Exploring Operation: 78-72=6, Resulting Numbers: [4, 18, 6] Generated Node #0,1: 94:[4, 18, 6] Operation: 78-72=6 Exploring Operation: 72/18=4, Resulting Numbers: [4, 78, 4] Generated Node #0,2: 94:[4, 78, 4] Operation: 72/18=4 Moving to Node #0,2 Current State: 94:[4, 78, 4], Operations: ['72/18=4'] Exploring Operation: 4+78=82, Resulting Numbers: [4, 82] Generated Node #0,2,0: 94:[4, 82] Operation: 4+78=82 Exploring Operation: 78+4=82, Resulting Numbers: [4, 82] Generated Node #0,2,1: 94:[4, 82] Operation: 78+4=82 Exploring Operation: 4/4=1, Resulting Numbers: [78, 1] Generated Node #0,2,2: 94:[78, 1] Operation: 4/4=1 Moving to Node #0,0 Current State: 94:[4, 78, 90], Operations: ['72+18=90'] Exploring Operation: 4+90=94, Resulting Numbers: [78, 94] Generated Node #0,0,0: 94:[78, 94] Operation: 4+90=94 Exploring Operation: 4+78=82, Resulting Numbers: [90, 82] Generated Node #0,0,1: 94:[90, 82] Operation: 4+78=82 Exploring Operation: 90-78=12, Resulting Numbers: [4, 12] Generated Node #0,0,2: 94:[4, 12] Operation: 90-78=12 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[4, 12], Operations: ['72+18=90', '90-78=12'] Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[78, 94], Operations: ['72+18=90', '4+90=94'] Exploring Operation: 94-78=16, Resulting Numbers: [16] 16,94 unequal: No Solution Exploring Operation: 78*94=7332, Resulting Numbers: [7332] 7332,94 unequal: No Solution Exploring Operation: 78+94=172, Resulting Numbers: [172] 172,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[90, 82], Operations: ['72+18=90', '4+78=82'] Exploring Operation: 90*82=7380, Resulting Numbers: [7380] 7380,94 unequal: No Solution Exploring Operation: 90+82=172, Resulting Numbers: [172] 172,94 unequal: No Solution Exploring Operation: 90-82=8, Resulting Numbers: [8] 8,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 94:[4, 18, 6], Operations: ['78-72=6'] Exploring Operation: 18-6=12, Resulting Numbers: [4, 12] Generated Node #0,1,0: 94:[4, 12] Operation: 18-6=12 Exploring Operation: 18-4=14, Resulting Numbers: [6, 14] Generated Node #0,1,1: 94:[6, 14] Operation: 18-4=14 Exploring Operation: 18/6=3, Resulting Numbers: [4, 3] Generated Node #0,1,2: 94:[4, 3] Operation: 18/6=3 Moving to Node #0,1,2 Current State: 94:[4, 3], Operations: ['78-72=6', '18/6=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[4, 12], Operations: ['78-72=6', '18-6=12'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[4, 82], Operations: ['72/18=4', '4+78=82'] Exploring Operation: 4*82=328, Resulting Numbers: [328] 328,94 unequal: No Solution Exploring Operation: 4+82=86, Resulting Numbers: [86] 86,94 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[4, 82], Operations: ['72/18=4', '78+4=82'] Exploring Operation: 4+82=86, Resulting Numbers: [86] 86,94 unequal: No Solution Exploring Operation: 4*82=328, Resulting Numbers: [328] 328,94 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[6, 14], Operations: ['78-72=6', '18-4=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[78, 1], Operations: ['72/18=4', '4/4=1'] Exploring Operation: 78+1=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,94 unequal: No Solution Exploring Operation: 78*1=78, Resulting Numbers: [78] 78,94 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 86, 58, 92, 7 ]
96
[ "86-58=28", "28/7=4", "92+4=96" ]
Current State: 96:[86, 58, 92, 7], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [92, 7, 28] Generated Node #2: [92, 7, 28] from Operation: 86-58=28 Current State: 96:[92, 7, 28], Operations: ['86-58=28'] Exploring Operation: 28/7=4, Resulting Numbers: [92, 4] Generated Node #3: [92, 4] from Operation: 28/7=4 Current State: 96:[92, 4], Operations: ['86-58=28', '28/7=4'] Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[86, 58, 92, 7], Operations: [] Exploring Operation: 92-58=34, Resulting Numbers: [86, 7, 34] Generated Node #0,0: 96:[86, 7, 34] Operation: 92-58=34 Exploring Operation: 86-58=28, Resulting Numbers: [92, 7, 28] Generated Node #0,1: 96:[92, 7, 28] Operation: 86-58=28 Exploring Operation: 92-86=6, Resulting Numbers: [58, 7, 6] Generated Node #0,2: 96:[58, 7, 6] Operation: 92-86=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[92, 7, 28], Operations: ['86-58=28'] Exploring Operation: 28/7=4, Resulting Numbers: [92, 4] Generated Node #0,1,0: 96:[92, 4] Operation: 28/7=4 Exploring Operation: 92+7=99, Resulting Numbers: [28, 99] Generated Node #0,1,1: 96:[28, 99] Operation: 92+7=99 Exploring Operation: 7+28=35, Resulting Numbers: [92, 35] Generated Node #0,1,2: 96:[92, 35] Operation: 7+28=35 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[92, 4], Operations: ['86-58=28', '28/7=4'] Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,96 unequal: No Solution Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[86, 58, 92, 7], Operations: [] Exploring Operation: 86-58=28, Resulting Numbers: [92, 7, 28] Generated Node #0,1: 96:[92, 7, 28] Operation: 86-58=28 Moving to Node #0,1 Current State: 96:[92, 7, 28], Operations: ['86-58=28'] Exploring Operation: 28/7=4, Resulting Numbers: [92, 4] Generated Node #0,1,0: 96:[92, 4] Operation: 28/7=4 Moving to Node #0,1,0 Current State: 96:[92, 4], Operations: ['86-58=28', '28/7=4'] Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 80, 8, 22, 16 ]
100
[ "80+22=102", "16/8=2", "102-2=100" ]
Current State: 100:[80, 8, 22, 16], Operations: [] Exploring Operation: 80+22=102, Resulting Numbers: [8, 16, 102] Generated Node #2: [8, 16, 102] from Operation: 80+22=102 Current State: 100:[8, 16, 102], Operations: ['80+22=102'] Exploring Operation: 16/8=2, Resulting Numbers: [102, 2] Generated Node #3: [102, 2] from Operation: 16/8=2 Current State: 100:[102, 2], Operations: ['80+22=102', '16/8=2'] Exploring Operation: 102-2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[80, 8, 22, 16], Operations: [] Exploring Operation: 80-22=58, Resulting Numbers: [8, 16, 58] Generated Node #0,0: 100:[8, 16, 58] Operation: 80-22=58 Exploring Operation: 80/16=5, Resulting Numbers: [8, 22, 5] Generated Node #0,1: 100:[8, 22, 5] Operation: 80/16=5 Exploring Operation: 80+22=102, Resulting Numbers: [8, 16, 102] Generated Node #0,2: 100:[8, 16, 102] Operation: 80+22=102 Exploring Operation: 80/8=10, Resulting Numbers: [22, 16, 10] Generated Node #0,3: 100:[22, 16, 10] Operation: 80/8=10 Exploring Operation: 80+16=96, Resulting Numbers: [8, 22, 96] Generated Node #0,4: 100:[8, 22, 96] Operation: 80+16=96 Moving to Node #0,1 Current State: 100:[8, 22, 5], Operations: ['80/16=5'] Exploring Operation: 22+5=27, Resulting Numbers: [8, 27] Generated Node #0,1,0: 100:[8, 27] Operation: 22+5=27 Exploring Operation: 22-8=14, Resulting Numbers: [5, 14] Generated Node #0,1,1: 100:[5, 14] Operation: 22-8=14 Exploring Operation: 8+5=13, Resulting Numbers: [22, 13] Generated Node #0,1,2: 100:[22, 13] Operation: 8+5=13 Exploring Operation: 8+22=30, Resulting Numbers: [5, 30] Generated Node #0,1,3: 100:[5, 30] Operation: 8+22=30 Exploring Operation: 8-5=3, Resulting Numbers: [22, 3] Generated Node #0,1,4: 100:[22, 3] Operation: 8-5=3 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 100:[22, 3], Operations: ['80/16=5', '8-5=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,100 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[8, 27], Operations: ['80/16=5', '22+5=27'] Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,100 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[5, 14], Operations: ['80/16=5', '22-8=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,100 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 100:[22, 13], Operations: ['80/16=5', '8+5=13'] Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,100 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 100:[5, 30], Operations: ['80/16=5', '8+22=30'] Exploring Operation: 5*30=150, Resulting Numbers: [150] 150,100 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,100 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,100 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: 100:[22, 16, 10], Operations: ['80/8=10'] Exploring Operation: 22-16=6, Resulting Numbers: [10, 6] Generated Node #0,3,0: 100:[10, 6] Operation: 22-16=6 Exploring Operation: 16+10=26, Resulting Numbers: [22, 26] Generated Node #0,3,1: 100:[22, 26] Operation: 16+10=26 Exploring Operation: 22+10=32, Resulting Numbers: [16, 32] Generated Node #0,3,2: 100:[16, 32] Operation: 22+10=32 Exploring Operation: 16-10=6, Resulting Numbers: [22, 6] Generated Node #0,3,3: 100:[22, 6] Operation: 16-10=6 Exploring Operation: 22-10=12, Resulting Numbers: [16, 12] Generated Node #0,3,4: 100:[16, 12] Operation: 22-10=12 Moving to Node #0,2 Current State: 100:[8, 16, 102], Operations: ['80+22=102'] Exploring Operation: 8+102=110, Resulting Numbers: [16, 110] Generated Node #0,2,0: 100:[16, 110] Operation: 8+102=110 Exploring Operation: 102-8=94, Resulting Numbers: [16, 94] Generated Node #0,2,1: 100:[16, 94] Operation: 102-8=94 Exploring Operation: 8+16=24, Resulting Numbers: [102, 24] Generated Node #0,2,2: 100:[102, 24] Operation: 8+16=24 Exploring Operation: 16/8=2, Resulting Numbers: [102, 2] Generated Node #0,2,3: 100:[102, 2] Operation: 16/8=2 Exploring Operation: 16-8=8, Resulting Numbers: [102, 8] Generated Node #0,2,4: 100:[102, 8] Operation: 16-8=8 Moving to Node #0,4 Current State: 100:[8, 22, 96], Operations: ['80+16=96'] Exploring Operation: 8+96=104, Resulting Numbers: [22, 104] Generated Node #0,4,0: 100:[22, 104] Operation: 8+96=104 Exploring Operation: 96-8=88, Resulting Numbers: [22, 88] Generated Node #0,4,1: 100:[22, 88] Operation: 96-8=88 Exploring Operation: 22-8=14, Resulting Numbers: [96, 14] Generated Node #0,4,2: 100:[96, 14] Operation: 22-8=14 Exploring Operation: 96/8=12, Resulting Numbers: [22, 12] Generated Node #0,4,3: 100:[22, 12] Operation: 96/8=12 Exploring Operation: 8+22=30, Resulting Numbers: [96, 30] Generated Node #0,4,4: 100:[96, 30] Operation: 8+22=30 Moving to Node #0,0 Current State: 100:[8, 16, 58], Operations: ['80-22=58'] Exploring Operation: 16/8=2, Resulting Numbers: [58, 2] Generated Node #0,0,0: 100:[58, 2] Operation: 16/8=2 Exploring Operation: 58-16=42, Resulting Numbers: [8, 42] Generated Node #0,0,1: 100:[8, 42] Operation: 58-16=42 Exploring Operation: 58-8=50, Resulting Numbers: [16, 50] Generated Node #0,0,2: 100:[16, 50] Operation: 58-8=50 Exploring Operation: 8+16=24, Resulting Numbers: [58, 24] Generated Node #0,0,3: 100:[58, 24] Operation: 8+16=24 Exploring Operation: 16-8=8, Resulting Numbers: [58, 8] Generated Node #0,0,4: 100:[58, 8] Operation: 16-8=8 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 100:[16, 50], Operations: ['80-22=58', '58-8=50'] Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,100 unequal: No Solution Exploring Operation: 16+50=66, Resulting Numbers: [66] 66,100 unequal: No Solution Exploring Operation: 16*50=800, Resulting Numbers: [800] 800,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[58, 2], Operations: ['80-22=58', '16/8=2'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,100 unequal: No Solution Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,100 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 100:[58, 24], Operations: ['80-22=58', '8+16=24'] Exploring Operation: 58*24=1392, Resulting Numbers: [1392] 1392,100 unequal: No Solution Exploring Operation: 58+24=82, Resulting Numbers: [82] 82,100 unequal: No Solution Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 100:[8, 42], Operations: ['80-22=58', '58-16=42'] Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,100 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,100 unequal: No Solution Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 100:[58, 8], Operations: ['80-22=58', '16-8=8'] Exploring Operation: 58+8=66, Resulting Numbers: [66] 66,100 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 58*8=464, Resulting Numbers: [464] 464,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 100:[10, 6], Operations: ['80/8=10', '22-16=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,100 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[102, 2], Operations: ['80+22=102', '16/8=2'] Exploring Operation: 102*2=204, Resulting Numbers: [204] 204,100 unequal: No Solution Exploring Operation: 102-2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[80, 8, 22, 16], Operations: [] Exploring Operation: 80+22=102, Resulting Numbers: [8, 16, 102] Generated Node #0,2: 100:[8, 16, 102] Operation: 80+22=102 Moving to Node #0,2 Current State: 100:[8, 16, 102], Operations: ['80+22=102'] Exploring Operation: 16/8=2, Resulting Numbers: [102, 2] Generated Node #0,2,3: 100:[102, 2] Operation: 16/8=2 Moving to Node #0,2,3 Current State: 100:[102, 2], Operations: ['80+22=102', '16/8=2'] Exploring Operation: 102-2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.938368
hs_5
mult_heuristic
[ 8, 18, 94, 87 ]
17
[ "18-8=10", "94-87=7", "10+7=17" ]
Current State: 17:[8, 18, 94, 87], Operations: [] Exploring Operation: 18-8=10, Resulting Numbers: [94, 87, 10] Generated Node #2: [94, 87, 10] from Operation: 18-8=10 Current State: 17:[94, 87, 10], Operations: ['18-8=10'] Exploring Operation: 94-87=7, Resulting Numbers: [10, 7] Generated Node #3: [10, 7] from Operation: 94-87=7 Current State: 17:[10, 7], Operations: ['18-8=10', '94-87=7'] Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[8, 18, 94, 87], Operations: [] Exploring Operation: 94-87=7, Resulting Numbers: [8, 18, 7] Generated Node #0,0: 17:[8, 18, 7] Operation: 94-87=7 Moving to Node #0,0 Current State: 17:[8, 18, 7], Operations: ['94-87=7'] Exploring Operation: 8+7=15, Resulting Numbers: [18, 15] Generated Node #0,0,0: 17:[18, 15] Operation: 8+7=15 Moving to Node #0,0,0 Current State: 17:[18, 15], Operations: ['94-87=7', '8+7=15'] Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,17 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 27, 67, 47, 40 ]
87
[ "27+67=94", "47-40=7", "94-7=87" ]
Current State: 87:[27, 67, 47, 40], Operations: [] Exploring Operation: 27+67=94, Resulting Numbers: [47, 40, 94] Generated Node #2: [47, 40, 94] from Operation: 27+67=94 Current State: 87:[47, 40, 94], Operations: ['27+67=94'] Exploring Operation: 47-40=7, Resulting Numbers: [94, 7] Generated Node #3: [94, 7] from Operation: 47-40=7 Current State: 87:[94, 7], Operations: ['27+67=94', '47-40=7'] Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[27, 67, 47, 40], Operations: [] Exploring Operation: 27+67=94, Resulting Numbers: [47, 40, 94] Generated Node #0,0: 87:[47, 40, 94] Operation: 27+67=94 Exploring Operation: 67-40=27, Resulting Numbers: [27, 47, 27] Generated Node #0,1: 87:[27, 47, 27] Operation: 67-40=27 Exploring Operation: 67-47=20, Resulting Numbers: [27, 40, 20] Generated Node #0,2: 87:[27, 40, 20] Operation: 67-47=20 Exploring Operation: 47+40=87, Resulting Numbers: [27, 67, 87] Generated Node #0,3: 87:[27, 67, 87] Operation: 47+40=87 Exploring Operation: 47-40=7, Resulting Numbers: [27, 67, 7] Generated Node #0,4: 87:[27, 67, 7] Operation: 47-40=7 Moving to Node #0,1 Current State: 87:[27, 47, 27], Operations: ['67-40=27'] Exploring Operation: 27/27=1, Resulting Numbers: [47, 1] Generated Node #0,1,0: 87:[47, 1] Operation: 27/27=1 Exploring Operation: 47+27=74, Resulting Numbers: [27, 74] Generated Node #0,1,1: 87:[27, 74] Operation: 47+27=74 Exploring Operation: 47-27=20, Resulting Numbers: [27, 20] Generated Node #0,1,2: 87:[27, 20] Operation: 47-27=20 Exploring Operation: 27+47=74, Resulting Numbers: [27, 74] Generated Node #0,1,3: 87:[27, 74] Operation: 27+47=74 Exploring Operation: 47-27=20, Resulting Numbers: [27, 20] Generated Node #0,1,4: 87:[27, 20] Operation: 47-27=20 Moving to Node #0,3 Current State: 87:[27, 67, 87], Operations: ['47+40=87'] Exploring Operation: 27+67=94, Resulting Numbers: [87, 94] Generated Node #0,3,0: 87:[87, 94] Operation: 27+67=94 Exploring Operation: 87-27=60, Resulting Numbers: [67, 60] Generated Node #0,3,1: 87:[67, 60] Operation: 87-27=60 Exploring Operation: 27+87=114, Resulting Numbers: [67, 114] Generated Node #0,3,2: 87:[67, 114] Operation: 27+87=114 Exploring Operation: 67-27=40, Resulting Numbers: [87, 40] Generated Node #0,3,3: 87:[87, 40] Operation: 67-27=40 Exploring Operation: 87-67=20, Resulting Numbers: [27, 20] Generated Node #0,3,4: 87:[27, 20] Operation: 87-67=20 Moving to Node #0,2 Current State: 87:[27, 40, 20], Operations: ['67-47=20'] Exploring Operation: 40-20=20, Resulting Numbers: [27, 20] Generated Node #0,2,0: 87:[27, 20] Operation: 40-20=20 Exploring Operation: 27+40=67, Resulting Numbers: [20, 67] Generated Node #0,2,1: 87:[20, 67] Operation: 27+40=67 Exploring Operation: 27-20=7, Resulting Numbers: [40, 7] Generated Node #0,2,2: 87:[40, 7] Operation: 27-20=7 Exploring Operation: 40-27=13, Resulting Numbers: [20, 13] Generated Node #0,2,3: 87:[20, 13] Operation: 40-27=13 Exploring Operation: 40/20=2, Resulting Numbers: [27, 2] Generated Node #0,2,4: 87:[27, 2] Operation: 40/20=2 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 87:[27, 2], Operations: ['67-47=20', '40/20=2'] Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,87 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,87 unequal: No Solution No 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: 87:[27, 20], Operations: ['67-47=20', '40-20=20'] Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,87 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,87 unequal: No Solution Exploring Operation: 27*20=540, Resulting Numbers: [540] 540,87 unequal: No Solution No 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: 87:[40, 7], Operations: ['67-47=20', '27-20=7'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,87 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,87 unequal: No Solution Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,87 unequal: No Solution No 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: 87:[20, 13], Operations: ['67-47=20', '40-27=13'] Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,87 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,87 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,87 unequal: No Solution No 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: 87:[20, 67], Operations: ['67-47=20', '27+40=67'] Exploring Operation: 20*67=1340, Resulting Numbers: [1340] 1340,87 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,87 unequal: No Solution Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[27, 67, 47, 40], Operations: [] Exploring Operation: 67-47=20, Resulting Numbers: [27, 40, 20] Generated Node #0,2: 87:[27, 40, 20] Operation: 67-47=20 Moving to Node #0,2 Current State: 87:[27, 40, 20], Operations: ['67-47=20'] Exploring Operation: 27+40=67, Resulting Numbers: [20, 67] Generated Node #0,2,1: 87:[20, 67] Operation: 27+40=67 Moving to Node #0,2,1 Current State: 87:[20, 67], Operations: ['67-47=20', '27+40=67'] Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 59, 56, 41, 31 ]
92
[ "59-56=3", "41*3=123", "123-31=92" ]
Current State: 92:[59, 56, 41, 31], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [41, 31, 3] Generated Node #2: [41, 31, 3] from Operation: 59-56=3 Current State: 92:[41, 31, 3], Operations: ['59-56=3'] Exploring Operation: 41*3=123, Resulting Numbers: [31, 123] Generated Node #3: [31, 123] from Operation: 41*3=123 Current State: 92:[31, 123], Operations: ['59-56=3', '41*3=123'] Exploring Operation: 123-31=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[59, 56, 41, 31], Operations: [] Exploring Operation: 59+31=90, Resulting Numbers: [56, 41, 90] Generated Node #0,0: 92:[56, 41, 90] Operation: 59+31=90 Exploring Operation: 59-56=3, Resulting Numbers: [41, 31, 3] Generated Node #0,1: 92:[41, 31, 3] Operation: 59-56=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[41, 31, 3], Operations: ['59-56=3'] Exploring Operation: 41-31=10, Resulting Numbers: [3, 10] Generated Node #0,1,0: 92:[3, 10] Operation: 41-31=10 Exploring Operation: 31*3=93, Resulting Numbers: [41, 93] Generated Node #0,1,1: 92:[41, 93] Operation: 31*3=93 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 92:[41, 93], Operations: ['59-56=3', '31*3=93'] Exploring Operation: 41+93=134, Resulting Numbers: [134] 134,92 unequal: No Solution Exploring Operation: 93-41=52, Resulting Numbers: [52] 52,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[3, 10], Operations: ['59-56=3', '41-31=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,92 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[56, 41, 90], Operations: ['59+31=90'] Exploring Operation: 56+41=97, Resulting Numbers: [90, 97] Generated Node #0,0,0: 92:[90, 97] Operation: 56+41=97 Exploring Operation: 56-41=15, Resulting Numbers: [90, 15] Generated Node #0,0,1: 92:[90, 15] Operation: 56-41=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[90, 97], Operations: ['59+31=90', '56+41=97'] Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,92 unequal: No Solution Exploring Operation: 90+97=187, Resulting Numbers: [187] 187,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[90, 15], Operations: ['59+31=90', '56-41=15'] Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 90+15=105, Resulting Numbers: [105] 105,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 40, 42, 6, 80 ]
83
[ "42-40=2", "6/2=3", "80+3=83" ]
Current State: 83:[40, 42, 6, 80], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [6, 80, 2] Generated Node #2: [6, 80, 2] from Operation: 42-40=2 Current State: 83:[6, 80, 2], Operations: ['42-40=2'] Exploring Operation: 6/2=3, Resulting Numbers: [80, 3] Generated Node #3: [80, 3] from Operation: 6/2=3 Current State: 83:[80, 3], Operations: ['42-40=2', '6/2=3'] Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[40, 42, 6, 80], Operations: [] Exploring Operation: 40+42=82, Resulting Numbers: [6, 80, 82] Generated Node #0,0: 83:[6, 80, 82] Operation: 40+42=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[6, 80, 82], Operations: ['40+42=82'] Exploring Operation: 6+80=86, Resulting Numbers: [82, 86] Generated Node #0,0,0: 83:[82, 86] Operation: 6+80=86 Moving to Node #0,0,0 Current State: 83:[82, 86], Operations: ['40+42=82', '6+80=86'] Exploring Operation: 86-82=4, Resulting Numbers: [4] 4,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 13, 97, 29, 8 ]
48
[ "13-8=5", "29*5=145", "145-97=48" ]
Current State: 48:[13, 97, 29, 8], Operations: [] Exploring Operation: 13-8=5, Resulting Numbers: [97, 29, 5] Generated Node #2: [97, 29, 5] from Operation: 13-8=5 Current State: 48:[97, 29, 5], Operations: ['13-8=5'] Exploring Operation: 29*5=145, Resulting Numbers: [97, 145] Generated Node #3: [97, 145] from Operation: 29*5=145 Current State: 48:[97, 145], Operations: ['13-8=5', '29*5=145'] Exploring Operation: 145-97=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[13, 97, 29, 8], Operations: [] Exploring Operation: 29-8=21, Resulting Numbers: [13, 97, 21] Generated Node #0,0: 48:[13, 97, 21] Operation: 29-8=21 Exploring Operation: 97-13=84, Resulting Numbers: [29, 8, 84] Generated Node #0,1: 48:[29, 8, 84] Operation: 97-13=84 Exploring Operation: 29-13=16, Resulting Numbers: [97, 8, 16] Generated Node #0,2: 48:[97, 8, 16] Operation: 29-13=16 Exploring Operation: 97-8=89, Resulting Numbers: [13, 29, 89] Generated Node #0,3: 48:[13, 29, 89] Operation: 97-8=89 Exploring Operation: 97-29=68, Resulting Numbers: [13, 8, 68] Generated Node #0,4: 48:[13, 8, 68] Operation: 97-29=68 Moving to Node #0,4 Current State: 48:[13, 8, 68], Operations: ['97-29=68'] Exploring Operation: 8+68=76, Resulting Numbers: [13, 76] Generated Node #0,4,0: 48:[13, 76] Operation: 8+68=76 Exploring Operation: 68-8=60, Resulting Numbers: [13, 60] Generated Node #0,4,1: 48:[13, 60] Operation: 68-8=60 Exploring Operation: 13+8=21, Resulting Numbers: [68, 21] Generated Node #0,4,2: 48:[68, 21] Operation: 13+8=21 Exploring Operation: 13-8=5, Resulting Numbers: [68, 5] Generated Node #0,4,3: 48:[68, 5] Operation: 13-8=5 Exploring Operation: 68-13=55, Resulting Numbers: [8, 55] Generated Node #0,4,4: 48:[8, 55] Operation: 68-13=55 Moving to Node #0,1 Current State: 48:[29, 8, 84], Operations: ['97-13=84'] Exploring Operation: 84-29=55, Resulting Numbers: [8, 55] Generated Node #0,1,0: 48:[8, 55] Operation: 84-29=55 Exploring Operation: 8+84=92, Resulting Numbers: [29, 92] Generated Node #0,1,1: 48:[29, 92] Operation: 8+84=92 Exploring Operation: 29+8=37, Resulting Numbers: [84, 37] Generated Node #0,1,2: 48:[84, 37] Operation: 29+8=37 Exploring Operation: 84-8=76, Resulting Numbers: [29, 76] Generated Node #0,1,3: 48:[29, 76] Operation: 84-8=76 Exploring Operation: 29-8=21, Resulting Numbers: [84, 21] Generated Node #0,1,4: 48:[84, 21] Operation: 29-8=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[8, 55], Operations: ['97-13=84', '84-29=55'] Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,48 unequal: No Solution Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 48:[29, 76], Operations: ['97-13=84', '84-8=76'] Exploring Operation: 29*76=2204, Resulting Numbers: [2204] 2204,48 unequal: No Solution Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 29+76=105, Resulting Numbers: [105] 105,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 48:[84, 21], Operations: ['97-13=84', '29-8=21'] Exploring Operation: 84+21=105, Resulting Numbers: [105] 105,48 unequal: No Solution Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 84*21=1764, Resulting Numbers: [1764] 1764,48 unequal: No Solution Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[84, 37], Operations: ['97-13=84', '29+8=37'] Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 84+37=121, Resulting Numbers: [121] 121,48 unequal: No Solution Exploring Operation: 84*37=3108, Resulting Numbers: [3108] 3108,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[29, 92], Operations: ['97-13=84', '8+84=92'] Exploring Operation: 29+92=121, Resulting Numbers: [121] 121,48 unequal: No Solution Exploring Operation: 29*92=2668, Resulting Numbers: [2668] 2668,48 unequal: No Solution Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,48 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: 48:[13, 29, 89], Operations: ['97-8=89'] Exploring Operation: 13+29=42, Resulting Numbers: [89, 42] Generated Node #0,3,0: 48:[89, 42] Operation: 13+29=42 Exploring Operation: 89-29=60, Resulting Numbers: [13, 60] Generated Node #0,3,1: 48:[13, 60] Operation: 89-29=60 Exploring Operation: 13+89=102, Resulting Numbers: [29, 102] Generated Node #0,3,2: 48:[29, 102] Operation: 13+89=102 Exploring Operation: 29-13=16, Resulting Numbers: [89, 16] Generated Node #0,3,3: 48:[89, 16] Operation: 29-13=16 Exploring Operation: 89-13=76, Resulting Numbers: [29, 76] Generated Node #0,3,4: 48:[29, 76] Operation: 89-13=76 Moving to Node #0,2 Current State: 48:[97, 8, 16], Operations: ['29-13=16'] Exploring Operation: 97-8=89, Resulting Numbers: [16, 89] Generated Node #0,2,0: 48:[16, 89] Operation: 97-8=89 Exploring Operation: 97-16=81, Resulting Numbers: [8, 81] Generated Node #0,2,1: 48:[8, 81] Operation: 97-16=81 Exploring Operation: 8+16=24, Resulting Numbers: [97, 24] Generated Node #0,2,2: 48:[97, 24] Operation: 8+16=24 Exploring Operation: 16/8=2, Resulting Numbers: [97, 2] Generated Node #0,2,3: 48:[97, 2] Operation: 16/8=2 Exploring Operation: 16-8=8, Resulting Numbers: [97, 8] Generated Node #0,2,4: 48:[97, 8] Operation: 16-8=8 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[8, 81], Operations: ['29-13=16', '97-16=81'] Exploring Operation: 8*81=648, Resulting Numbers: [648] 648,48 unequal: No Solution Exploring Operation: 8+81=89, Resulting Numbers: [89] 89,48 unequal: No Solution Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[16, 89], Operations: ['29-13=16', '97-8=89'] Exploring Operation: 16*89=1424, Resulting Numbers: [1424] 1424,48 unequal: No Solution Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 16+89=105, Resulting Numbers: [105] 105,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[97, 24], Operations: ['29-13=16', '8+16=24'] Exploring Operation: 97*24=2328, Resulting Numbers: [2328] 2328,48 unequal: No Solution Exploring Operation: 97-24=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 97+24=121, Resulting Numbers: [121] 121,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 48:[97, 2], Operations: ['29-13=16', '16/8=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,48 unequal: No Solution Exploring Operation: 97*2=194, Resulting Numbers: [194] 194,48 unequal: No Solution Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 48:[97, 8], Operations: ['29-13=16', '16-8=8'] Exploring Operation: 97*8=776, Resulting Numbers: [776] 776,48 unequal: No Solution Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,48 unequal: No Solution Exploring Operation: 97+8=105, Resulting Numbers: [105] 105,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 48:[13, 97, 21], Operations: ['29-8=21'] Exploring Operation: 13+97=110, Resulting Numbers: [21, 110] Generated Node #0,0,0: 48:[21, 110] Operation: 13+97=110 Exploring Operation: 13+21=34, Resulting Numbers: [97, 34] Generated Node #0,0,1: 48:[97, 34] Operation: 13+21=34 Exploring Operation: 97-21=76, Resulting Numbers: [13, 76] Generated Node #0,0,2: 48:[13, 76] Operation: 97-21=76 Exploring Operation: 97-13=84, Resulting Numbers: [21, 84] Generated Node #0,0,3: 48:[21, 84] Operation: 97-13=84 Exploring Operation: 21-13=8, Resulting Numbers: [97, 8] Generated Node #0,0,4: 48:[97, 8] Operation: 21-13=8 Moving to Node #0,4,4 Current State: 48:[8, 55], Operations: ['97-29=68', '68-13=55'] Exploring Operation: 8*55=440, Resulting Numbers: [440] 440,48 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 8+55=63, Resulting Numbers: [63] 63,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[13, 60], Operations: ['97-8=89', '89-29=60'] Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 13*60=780, Resulting Numbers: [780] 780,48 unequal: No Solution Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,48 unequal: No Solution Moving to Node #0,4,1 Current State: 48:[13, 60], Operations: ['97-29=68', '68-8=60'] Exploring Operation: 13*60=780, Resulting Numbers: [780] 780,48 unequal: No Solution Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,48 unequal: No Solution Moving to Node #0,4,3 Current State: 48:[68, 5], Operations: ['97-29=68', '13-8=5'] Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 68*5=340, Resulting Numbers: [340] 340,48 unequal: No Solution Moving to Node #0,4,2 Current State: 48:[68, 21], Operations: ['97-29=68', '13+8=21'] Exploring Operation: 68+21=89, Resulting Numbers: [89] 89,48 unequal: No Solution Exploring Operation: 68*21=1428, Resulting Numbers: [1428] 1428,48 unequal: No Solution Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,48 unequal: No Solution Moving to Node #0,4,0 Current State: 48:[13, 76], Operations: ['97-29=68', '8+68=76'] Exploring Operation: 13*76=988, Resulting Numbers: [988] 988,48 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 13+76=89, Resulting Numbers: [89] 89,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[13, 76], Operations: ['29-8=21', '97-21=76'] Exploring Operation: 13*76=988, Resulting Numbers: [988] 988,48 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 13+76=89, Resulting Numbers: [89] 89,48 unequal: No Solution Moving to Node #0,3,4 Current State: 48:[29, 76], Operations: ['97-8=89', '89-13=76'] Exploring Operation: 29*76=2204, Resulting Numbers: [2204] 2204,48 unequal: No Solution Exploring Operation: 29+76=105, Resulting Numbers: [105] 105,48 unequal: No Solution Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[21, 84], Operations: ['29-8=21', '97-13=84'] Exploring Operation: 84/21=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 21*84=1764, Resulting Numbers: [1764] 1764,48 unequal: No Solution Exploring Operation: 21+84=105, Resulting Numbers: [105] 105,48 unequal: No Solution Exploring Operation: 84-21=63, Resulting Numbers: [63] 63,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[89, 16], Operations: ['97-8=89', '29-13=16'] Exploring Operation: 89*16=1424, Resulting Numbers: [1424] 1424,48 unequal: No Solution Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 89+16=105, Resulting Numbers: [105] 105,48 unequal: No Solution Moving to Node #0,3,0 Current State: 48:[89, 42], Operations: ['97-8=89', '13+29=42'] Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 89+42=131, Resulting Numbers: [131] 131,48 unequal: No Solution Exploring Operation: 89*42=3738, Resulting Numbers: [3738] 3738,48 unequal: No Solution Moving to Node #0,0,4 Current State: 48:[97, 8], Operations: ['29-8=21', '21-13=8'] Exploring Operation: 97+8=105, Resulting Numbers: [105] 105,48 unequal: No Solution Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,48 unequal: No Solution Exploring Operation: 97*8=776, Resulting Numbers: [776] 776,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[29, 102], Operations: ['97-8=89', '13+89=102'] Exploring Operation: 29+102=131, Resulting Numbers: [131] 131,48 unequal: No Solution Exploring Operation: 102-29=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 29*102=2958, Resulting Numbers: [2958] 2958,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[97, 34], Operations: ['29-8=21', '13+21=34'] Exploring Operation: 97-34=63, Resulting Numbers: [63] 63,48 unequal: No Solution Exploring Operation: 97+34=131, Resulting Numbers: [131] 131,48 unequal: No Solution Exploring Operation: 97*34=3298, Resulting Numbers: [3298] 3298,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[21, 110], Operations: ['29-8=21', '13+97=110'] Exploring Operation: 110-21=89, Resulting Numbers: [89] 89,48 unequal: No Solution Exploring Operation: 21+110=131, Resulting Numbers: [131] 131,48 unequal: No Solution Exploring Operation: 21*110=2310, Resulting Numbers: [2310] 2310,48 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 21, 27, 24, 51 ]
75
[ "21+27=48", "51-24=27", "48+27=75" ]
Current State: 75:[21, 27, 24, 51], Operations: [] Exploring Operation: 21+27=48, Resulting Numbers: [24, 51, 48] Generated Node #2: [24, 51, 48] from Operation: 21+27=48 Current State: 75:[24, 51, 48], Operations: ['21+27=48'] Exploring Operation: 51-24=27, Resulting Numbers: [48, 27] Generated Node #3: [48, 27] from Operation: 51-24=27 Current State: 75:[48, 27], Operations: ['21+27=48', '51-24=27'] Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[21, 27, 24, 51], Operations: [] Exploring Operation: 21+51=72, Resulting Numbers: [27, 24, 72] Generated Node #0,0: 75:[27, 24, 72] Operation: 21+51=72 Moving to Node #0,0 Current State: 75:[27, 24, 72], Operations: ['21+51=72'] Exploring Operation: 72/24=3, Resulting Numbers: [27, 3] Generated Node #0,0,0: 75:[27, 3] Operation: 72/24=3 Moving to Node #0,0,0 Current State: 75:[27, 3], Operations: ['21+51=72', '72/24=3'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,75 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 13, 26, 33, 4 ]
25
[ "26/13=2", "4*2=8", "33-8=25" ]
Current State: 25:[13, 26, 33, 4], Operations: [] Exploring Operation: 26/13=2, Resulting Numbers: [33, 4, 2] Generated Node #2: [33, 4, 2] from Operation: 26/13=2 Current State: 25:[33, 4, 2], Operations: ['26/13=2'] Exploring Operation: 4*2=8, Resulting Numbers: [33, 8] Generated Node #3: [33, 8] from Operation: 4*2=8 Current State: 25:[33, 8], Operations: ['26/13=2', '4*2=8'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[13, 26, 33, 4], Operations: [] Exploring Operation: 33-13=20, Resulting Numbers: [26, 4, 20] Generated Node #0,0: 25:[26, 4, 20] Operation: 33-13=20 Exploring Operation: 33-26=7, Resulting Numbers: [13, 4, 7] Generated Node #0,1: 25:[13, 4, 7] Operation: 33-26=7 Moving to Node #0,0 Current State: 25:[26, 4, 20], Operations: ['33-13=20'] Exploring Operation: 26-20=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 25:[4, 6] Operation: 26-20=6 Exploring Operation: 20/4=5, Resulting Numbers: [26, 5] Generated Node #0,0,1: 25:[26, 5] Operation: 20/4=5 Moving to Node #0,1 Current State: 25:[13, 4, 7], Operations: ['33-26=7'] Exploring Operation: 13-4=9, Resulting Numbers: [7, 9] Generated Node #0,1,0: 25:[7, 9] Operation: 13-4=9 Exploring Operation: 13-7=6, Resulting Numbers: [4, 6] Generated Node #0,1,1: 25:[4, 6] Operation: 13-7=6 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[4, 6], Operations: ['33-26=7', '13-7=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[7, 9], Operations: ['33-26=7', '13-4=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 25:[26, 5], Operations: ['33-13=20', '20/4=5'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,25 unequal: No Solution Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[4, 6], Operations: ['33-13=20', '26-20=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,25 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 9, 54, 99, 85 ]
63
[ "54*99=5346", "9+5346=5355", "5355/85=63" ]
Current State: 63:[9, 54, 99, 85], Operations: [] Exploring Operation: 54*99=5346, Resulting Numbers: [9, 85, 5346] Generated Node #2: [9, 85, 5346] from Operation: 54*99=5346 Current State: 63:[9, 85, 5346], Operations: ['54*99=5346'] Exploring Operation: 9+5346=5355, Resulting Numbers: [85, 5355] Generated Node #3: [85, 5355] from Operation: 9+5346=5355 Current State: 63:[85, 5355], Operations: ['54*99=5346', '9+5346=5355'] Exploring Operation: 5355/85=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[9, 54, 99, 85], Operations: [] Exploring Operation: 9+54=63, Resulting Numbers: [99, 85, 63] Generated Node #0,0: 63:[99, 85, 63] Operation: 9+54=63 Exploring Operation: 99-54=45, Resulting Numbers: [9, 85, 45] Generated Node #0,1: 63:[9, 85, 45] Operation: 99-54=45 Exploring Operation: 99-85=14, Resulting Numbers: [9, 54, 14] Generated Node #0,2: 63:[9, 54, 14] Operation: 99-85=14 Exploring Operation: 99/9=11, Resulting Numbers: [54, 85, 11] Generated Node #0,3: 63:[54, 85, 11] Operation: 99/9=11 Exploring Operation: 85-54=31, Resulting Numbers: [9, 99, 31] Generated Node #0,4: 63:[9, 99, 31] Operation: 85-54=31 Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[9, 54, 14], Operations: ['99-85=14'] Exploring Operation: 14-9=5, Resulting Numbers: [54, 5] Generated Node #0,2,0: 63:[54, 5] Operation: 14-9=5 Exploring Operation: 54/9=6, Resulting Numbers: [14, 6] Generated Node #0,2,1: 63:[14, 6] Operation: 54/9=6 Exploring Operation: 9+54=63, Resulting Numbers: [14, 63] Generated Node #0,2,2: 63:[14, 63] Operation: 9+54=63 Exploring Operation: 9+14=23, Resulting Numbers: [54, 23] Generated Node #0,2,3: 63:[54, 23] Operation: 9+14=23 Exploring Operation: 54+14=68, Resulting Numbers: [9, 68] Generated Node #0,2,4: 63:[9, 68] Operation: 54+14=68 Moving to Node #0,2,2 Current State: 63:[14, 63], Operations: ['99-85=14', '9+54=63'] Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 14*63=882, Resulting Numbers: [882] 882,63 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,63 unequal: No Solution Moving to Node #0,2,4 Current State: 63:[9, 68], Operations: ['99-85=14', '54+14=68'] Exploring Operation: 9+68=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,63 unequal: No Solution Exploring Operation: 9*68=612, Resulting Numbers: [612] 612,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[14, 6], Operations: ['99-85=14', '54/9=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[54, 5], Operations: ['99-85=14', '14-9=5'] Exploring Operation: 54+5=59, Resulting Numbers: [59] 59,63 unequal: No Solution Exploring Operation: 54*5=270, Resulting Numbers: [270] 270,63 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[54, 23], Operations: ['99-85=14', '9+14=23'] Exploring Operation: 54+23=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,63 unequal: No Solution Exploring Operation: 54*23=1242, Resulting Numbers: [1242] 1242,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[54, 85, 11], Operations: ['99/9=11'] Exploring Operation: 54-11=43, Resulting Numbers: [85, 43] Generated Node #0,3,0: 63:[85, 43] Operation: 54-11=43 Exploring Operation: 85+11=96, Resulting Numbers: [54, 96] Generated Node #0,3,1: 63:[54, 96] Operation: 85+11=96 Exploring Operation: 85-11=74, Resulting Numbers: [54, 74] Generated Node #0,3,2: 63:[54, 74] Operation: 85-11=74 Exploring Operation: 85-54=31, Resulting Numbers: [11, 31] Generated Node #0,3,3: 63:[11, 31] Operation: 85-54=31 Exploring Operation: 54+11=65, Resulting Numbers: [85, 65] Generated Node #0,3,4: 63:[85, 65] Operation: 54+11=65 Moving to Node #0,3,3 Current State: 63:[11, 31], Operations: ['99/9=11', '85-54=31'] Exploring Operation: 11*31=341, Resulting Numbers: [341] 341,63 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[54, 74], Operations: ['99/9=11', '85-11=74'] Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 54*74=3996, Resulting Numbers: [3996] 3996,63 unequal: No Solution Exploring Operation: 54+74=128, Resulting Numbers: [128] 128,63 unequal: No Solution Moving to Node #0,3,4 Current State: 63:[85, 65], Operations: ['99/9=11', '54+11=65'] Exploring Operation: 85+65=150, Resulting Numbers: [150] 150,63 unequal: No Solution Exploring Operation: 85*65=5525, Resulting Numbers: [5525] 5525,63 unequal: No Solution Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[85, 43], Operations: ['99/9=11', '54-11=43'] Exploring Operation: 85-43=42, Resulting Numbers: [42] 42,63 unequal: No Solution Exploring Operation: 85*43=3655, Resulting Numbers: [3655] 3655,63 unequal: No Solution Exploring Operation: 85+43=128, Resulting Numbers: [128] 128,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[54, 96], Operations: ['99/9=11', '85+11=96'] Exploring Operation: 54+96=150, Resulting Numbers: [150] 150,63 unequal: No Solution Exploring Operation: 96-54=42, Resulting Numbers: [42] 42,63 unequal: No Solution Exploring Operation: 54*96=5184, Resulting Numbers: [5184] 5184,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[9, 85, 45], Operations: ['99-54=45'] Exploring Operation: 45-9=36, Resulting Numbers: [85, 36] Generated Node #0,1,0: 63:[85, 36] Operation: 45-9=36 Exploring Operation: 85-9=76, Resulting Numbers: [45, 76] Generated Node #0,1,1: 63:[45, 76] Operation: 85-9=76 Exploring Operation: 85-45=40, Resulting Numbers: [9, 40] Generated Node #0,1,2: 63:[9, 40] Operation: 85-45=40 Exploring Operation: 45/9=5, Resulting Numbers: [85, 5] Generated Node #0,1,3: 63:[85, 5] Operation: 45/9=5 Exploring Operation: 9+45=54, Resulting Numbers: [85, 54] Generated Node #0,1,4: 63:[85, 54] Operation: 9+45=54 Moving to Node #0,1,2 Current State: 63:[9, 40], Operations: ['99-54=45', '85-45=40'] Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,63 unequal: No Solution Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,63 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,63 unequal: No Solution Moving to Node #0,1,3 Current State: 63:[85, 5], Operations: ['99-54=45', '45/9=5'] Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,63 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,63 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 85*5=425, Resulting Numbers: [425] 425,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[45, 76], Operations: ['99-54=45', '85-9=76'] Exploring Operation: 45*76=3420, Resulting Numbers: [3420] 3420,63 unequal: No Solution Exploring Operation: 45+76=121, Resulting Numbers: [121] 121,63 unequal: No Solution Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,63 unequal: No Solution Moving to Node #0,1,4 Current State: 63:[85, 54], Operations: ['99-54=45', '9+45=54'] Exploring Operation: 85*54=4590, Resulting Numbers: [4590] 4590,63 unequal: No Solution Exploring Operation: 85-54=31, Resulting Numbers: [31] 31,63 unequal: No Solution Exploring Operation: 85+54=139, Resulting Numbers: [139] 139,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[85, 36], Operations: ['99-54=45', '45-9=36'] Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,63 unequal: No Solution Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,63 unequal: No Solution Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 63:[9, 99, 31], Operations: ['85-54=31'] Exploring Operation: 99-31=68, Resulting Numbers: [9, 68] Generated Node #0,4,0: 63:[9, 68] Operation: 99-31=68 Exploring Operation: 31-9=22, Resulting Numbers: [99, 22] Generated Node #0,4,1: 63:[99, 22] Operation: 31-9=22 Exploring Operation: 99/9=11, Resulting Numbers: [31, 11] Generated Node #0,4,2: 63:[31, 11] Operation: 99/9=11 Exploring Operation: 9+99=108, Resulting Numbers: [31, 108] Generated Node #0,4,3: 63:[31, 108] Operation: 9+99=108 Exploring Operation: 99-9=90, Resulting Numbers: [31, 90] Generated Node #0,4,4: 63:[31, 90] Operation: 99-9=90 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 63:[9, 68], Operations: ['85-54=31', '99-31=68'] Exploring Operation: 9*68=612, Resulting Numbers: [612] 612,63 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,63 unequal: No Solution Exploring Operation: 9+68=77, Resulting Numbers: [77] 77,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 63:[31, 11], Operations: ['85-54=31', '99/9=11'] Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,63 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 63:[99, 22], Operations: ['85-54=31', '31-9=22'] Exploring Operation: 99+22=121, Resulting Numbers: [121] 121,63 unequal: No Solution Exploring Operation: 99*22=2178, Resulting Numbers: [2178] 2178,63 unequal: No Solution Exploring Operation: 99-22=77, Resulting Numbers: [77] 77,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 63:[31, 90], Operations: ['85-54=31', '99-9=90'] Exploring Operation: 31+90=121, Resulting Numbers: [121] 121,63 unequal: No Solution Exploring Operation: 90-31=59, Resulting Numbers: [59] 59,63 unequal: No Solution Exploring Operation: 31*90=2790, Resulting Numbers: [2790] 2790,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 63:[31, 108], Operations: ['85-54=31', '9+99=108'] Exploring Operation: 31*108=3348, Resulting Numbers: [3348] 3348,63 unequal: No Solution Exploring Operation: 31+108=139, Resulting Numbers: [139] 139,63 unequal: No Solution Exploring Operation: 108-31=77, Resulting Numbers: [77] 77,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[99, 85, 63], Operations: ['9+54=63'] Exploring Operation: 99-85=14, Resulting Numbers: [63, 14] Generated Node #0,0,0: 63:[63, 14] Operation: 99-85=14 Exploring Operation: 99-63=36, Resulting Numbers: [85, 36] Generated Node #0,0,1: 63:[85, 36] Operation: 99-63=36 Exploring Operation: 99+63=162, Resulting Numbers: [85, 162] Generated Node #0,0,2: 63:[85, 162] Operation: 99+63=162 Exploring Operation: 99+85=184, Resulting Numbers: [63, 184] Generated Node #0,0,3: 63:[63, 184] Operation: 99+85=184 Exploring Operation: 85-63=22, Resulting Numbers: [99, 22] Generated Node #0,0,4: 63:[99, 22] Operation: 85-63=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[63, 14], Operations: ['9+54=63', '99-85=14'] Exploring Operation: 63*14=882, Resulting Numbers: [882] 882,63 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,63 unequal: No Solution Exploring Operation: 63+14=77, Resulting Numbers: [77] 77,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,1 Current State: 63:[85, 36], Operations: ['9+54=63', '99-63=36'] Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,63 unequal: No Solution Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,63 unequal: No Solution Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,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,4 Current State: 63:[99, 22], Operations: ['9+54=63', '85-63=22'] Exploring Operation: 99*22=2178, Resulting Numbers: [2178] 2178,63 unequal: No Solution Exploring Operation: 99+22=121, Resulting Numbers: [121] 121,63 unequal: No Solution Exploring Operation: 99-22=77, Resulting Numbers: [77] 77,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,2 Current State: 63:[85, 162], Operations: ['9+54=63', '99+63=162'] Exploring Operation: 85+162=247, Resulting Numbers: [247] 247,63 unequal: No Solution Exploring Operation: 85*162=13770, Resulting Numbers: [13770] 13770,63 unequal: No Solution Exploring Operation: 162-85=77, Resulting Numbers: [77] 77,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,3 Current State: 63:[63, 184], Operations: ['9+54=63', '99+85=184'] Exploring Operation: 63+184=247, Resulting Numbers: [247] 247,63 unequal: No Solution Exploring Operation: 184-63=121, Resulting Numbers: [121] 121,63 unequal: No Solution Exploring Operation: 63*184=11592, Resulting Numbers: [11592] 11592,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 5, 11, 45, 79 ]
59
[ "45/5=9", "79-11=68", "68-9=59" ]
Current State: 59:[5, 11, 45, 79], Operations: [] Exploring Operation: 45/5=9, Resulting Numbers: [11, 79, 9] Generated Node #2: [11, 79, 9] from Operation: 45/5=9 Current State: 59:[11, 79, 9], Operations: ['45/5=9'] Exploring Operation: 79-11=68, Resulting Numbers: [9, 68] Generated Node #3: [9, 68] from Operation: 79-11=68 Current State: 59:[9, 68], Operations: ['45/5=9', '79-11=68'] Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[5, 11, 45, 79], Operations: [] Exploring Operation: 5+11=16, Resulting Numbers: [45, 79, 16] Generated Node #0,0: 59:[45, 79, 16] Operation: 5+11=16 Exploring Operation: 5+45=50, Resulting Numbers: [11, 79, 50] Generated Node #0,1: 59:[11, 79, 50] Operation: 5+45=50 Exploring Operation: 79-5=74, Resulting Numbers: [11, 45, 74] Generated Node #0,2: 59:[11, 45, 74] Operation: 79-5=74 Exploring Operation: 5*11=55, Resulting Numbers: [45, 79, 55] Generated Node #0,3: 59:[45, 79, 55] Operation: 5*11=55 Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[45, 79, 55], Operations: ['5*11=55'] Exploring Operation: 45+55=100, Resulting Numbers: [79, 100] Generated Node #0,3,0: 59:[79, 100] Operation: 45+55=100 Exploring Operation: 79-45=34, Resulting Numbers: [55, 34] Generated Node #0,3,1: 59:[55, 34] Operation: 79-45=34 Exploring Operation: 45+79=124, Resulting Numbers: [55, 124] Generated Node #0,3,2: 59:[55, 124] Operation: 45+79=124 Exploring Operation: 79-55=24, Resulting Numbers: [45, 24] Generated Node #0,3,3: 59:[45, 24] Operation: 79-55=24 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 59:[55, 34], Operations: ['5*11=55', '79-45=34'] Exploring Operation: 55*34=1870, Resulting Numbers: [1870] 1870,59 unequal: No Solution Exploring Operation: 55+34=89, Resulting Numbers: [89] 89,59 unequal: No Solution Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,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:[45, 24], Operations: ['5*11=55', '79-55=24'] Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 45*24=1080, Resulting Numbers: [1080] 1080,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:[79, 100], Operations: ['5*11=55', '45+55=100'] Exploring Operation: 79*100=7900, Resulting Numbers: [7900] 7900,59 unequal: No Solution Exploring Operation: 79+100=179, Resulting Numbers: [179] 179,59 unequal: No Solution Exploring Operation: 100-79=21, Resulting Numbers: [21] 21,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,2 Current State: 59:[55, 124], Operations: ['5*11=55', '45+79=124'] Exploring Operation: 55*124=6820, Resulting Numbers: [6820] 6820,59 unequal: No Solution Exploring Operation: 55+124=179, Resulting Numbers: [179] 179,59 unequal: No Solution Exploring Operation: 124-55=69, Resulting Numbers: [69] 69,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:[45, 79, 16], Operations: ['5+11=16'] Exploring Operation: 45+16=61, Resulting Numbers: [79, 61] Generated Node #0,0,0: 59:[79, 61] Operation: 45+16=61 Exploring Operation: 79-16=63, Resulting Numbers: [45, 63] Generated Node #0,0,1: 59:[45, 63] Operation: 79-16=63 Exploring Operation: 45-16=29, Resulting Numbers: [79, 29] Generated Node #0,0,2: 59:[79, 29] Operation: 45-16=29 Exploring Operation: 79+16=95, Resulting Numbers: [45, 95] Generated Node #0,0,3: 59:[45, 95] Operation: 79+16=95 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[45, 63], Operations: ['5+11=16', '79-16=63'] Exploring Operation: 45+63=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 45*63=2835, Resulting Numbers: [2835] 2835,59 unequal: No Solution Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,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:[79, 61], Operations: ['5+11=16', '45+16=61'] Exploring Operation: 79*61=4819, Resulting Numbers: [4819] 4819,59 unequal: No Solution Exploring Operation: 79-61=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 79+61=140, Resulting Numbers: [140] 140,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:[79, 29], Operations: ['5+11=16', '45-16=29'] Exploring Operation: 79+29=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 79*29=2291, Resulting Numbers: [2291] 2291,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:[45, 95], Operations: ['5+11=16', '79+16=95'] Exploring Operation: 95-45=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 45*95=4275, Resulting Numbers: [4275] 4275,59 unequal: No Solution Exploring Operation: 45+95=140, Resulting Numbers: [140] 140,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:[11, 79, 50], Operations: ['5+45=50'] Exploring Operation: 11+50=61, Resulting Numbers: [79, 61] Generated Node #0,1,0: 59:[79, 61] Operation: 11+50=61 Exploring Operation: 50-11=39, Resulting Numbers: [79, 39] Generated Node #0,1,1: 59:[79, 39] Operation: 50-11=39 Exploring Operation: 11+79=90, Resulting Numbers: [50, 90] Generated Node #0,1,2: 59:[50, 90] Operation: 11+79=90 Exploring Operation: 79-11=68, Resulting Numbers: [50, 68] Generated Node #0,1,3: 59:[50, 68] Operation: 79-11=68 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[50, 68], Operations: ['5+45=50', '79-11=68'] Exploring Operation: 50+68=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 50*68=3400, Resulting Numbers: [3400] 3400,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:[79, 61], Operations: ['5+45=50', '11+50=61'] Exploring Operation: 79-61=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 79*61=4819, Resulting Numbers: [4819] 4819,59 unequal: No Solution Exploring Operation: 79+61=140, Resulting Numbers: [140] 140,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[79, 39], Operations: ['5+45=50', '50-11=39'] Exploring Operation: 79+39=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 79*39=3081, Resulting Numbers: [3081] 3081,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:[50, 90], Operations: ['5+45=50', '11+79=90'] Exploring Operation: 50+90=140, Resulting Numbers: [140] 140,59 unequal: No Solution Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 50*90=4500, Resulting Numbers: [4500] 4500,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,2 Current State: 59:[11, 45, 74], Operations: ['79-5=74'] Exploring Operation: 74-11=63, Resulting Numbers: [45, 63] Generated Node #0,2,0: 59:[45, 63] Operation: 74-11=63 Exploring Operation: 11+45=56, Resulting Numbers: [74, 56] Generated Node #0,2,1: 59:[74, 56] Operation: 11+45=56 Exploring Operation: 45-11=34, Resulting Numbers: [74, 34] Generated Node #0,2,2: 59:[74, 34] Operation: 45-11=34 Exploring Operation: 11+74=85, Resulting Numbers: [45, 85] Generated Node #0,2,3: 59:[45, 85] Operation: 11+74=85 Moving to Node #0,2,0 Current State: 59:[45, 63], Operations: ['79-5=74', '74-11=63'] Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 45*63=2835, Resulting Numbers: [2835] 2835,59 unequal: No Solution Exploring Operation: 45+63=108, Resulting Numbers: [108] 108,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[74, 56], Operations: ['79-5=74', '11+45=56'] Exploring Operation: 74+56=130, Resulting Numbers: [130] 130,59 unequal: No Solution Exploring Operation: 74*56=4144, Resulting Numbers: [4144] 4144,59 unequal: No Solution Exploring Operation: 74-56=18, Resulting Numbers: [18] 18,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[45, 85], Operations: ['79-5=74', '11+74=85'] Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 45*85=3825, Resulting Numbers: [3825] 3825,59 unequal: No Solution Exploring Operation: 45+85=130, Resulting Numbers: [130] 130,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[74, 34], Operations: ['79-5=74', '45-11=34'] Exploring Operation: 74-34=40, Resulting Numbers: [40] 40,59 unequal: No Solution Exploring Operation: 74*34=2516, Resulting Numbers: [2516] 2516,59 unequal: No Solution Exploring Operation: 74+34=108, Resulting Numbers: [108] 108,59 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
[ 13, 23, 17, 61 ]
42
[ "13+23=36", "17+61=78", "78-36=42" ]
Current State: 42:[13, 23, 17, 61], Operations: [] Exploring Operation: 13+23=36, Resulting Numbers: [17, 61, 36] Generated Node #2: [17, 61, 36] from Operation: 13+23=36 Current State: 42:[17, 61, 36], Operations: ['13+23=36'] Exploring Operation: 17+61=78, Resulting Numbers: [36, 78] Generated Node #3: [36, 78] from Operation: 17+61=78 Current State: 42:[36, 78], Operations: ['13+23=36', '17+61=78'] Exploring Operation: 78-36=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[13, 23, 17, 61], Operations: [] Exploring Operation: 61-17=44, Resulting Numbers: [13, 23, 44] Generated Node #0,0: 42:[13, 23, 44] Operation: 61-17=44 Moving to Node #0,0 Current State: 42:[13, 23, 44], Operations: ['61-17=44'] Exploring Operation: 44-23=21, Resulting Numbers: [13, 21] Generated Node #0,0,0: 42:[13, 21] Operation: 44-23=21 Moving to Node #0,0,0 Current State: 42:[13, 21], Operations: ['61-17=44', '44-23=21'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,42 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 29, 59, 26, 5 ]
12
[ "59+26=85", "85/5=17", "29-17=12" ]
Current State: 12:[29, 59, 26, 5], Operations: [] Exploring Operation: 59+26=85, Resulting Numbers: [29, 5, 85] Generated Node #2: [29, 5, 85] from Operation: 59+26=85 Current State: 12:[29, 5, 85], Operations: ['59+26=85'] Exploring Operation: 85/5=17, Resulting Numbers: [29, 17] Generated Node #3: [29, 17] from Operation: 85/5=17 Current State: 12:[29, 17], Operations: ['59+26=85', '85/5=17'] Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[29, 59, 26, 5], Operations: [] Exploring Operation: 59-29=30, Resulting Numbers: [26, 5, 30] Generated Node #0,0: 12:[26, 5, 30] Operation: 59-29=30 Exploring Operation: 59-5=54, Resulting Numbers: [29, 26, 54] Generated Node #0,1: 12:[29, 26, 54] Operation: 59-5=54 Exploring Operation: 29-5=24, Resulting Numbers: [59, 26, 24] Generated Node #0,2: 12:[59, 26, 24] Operation: 29-5=24 Exploring Operation: 59-26=33, Resulting Numbers: [29, 5, 33] Generated Node #0,3: 12:[29, 5, 33] Operation: 59-26=33 Exploring Operation: 29-26=3, Resulting Numbers: [59, 5, 3] Generated Node #0,4: 12:[59, 5, 3] Operation: 29-26=3 Moving to Node #0,0 Current State: 12:[26, 5, 30], Operations: ['59-29=30'] Exploring Operation: 30-5=25, Resulting Numbers: [26, 25] Generated Node #0,0,0: 12:[26, 25] Operation: 30-5=25 Exploring Operation: 26+5=31, Resulting Numbers: [30, 31] Generated Node #0,0,1: 12:[30, 31] Operation: 26+5=31 Exploring Operation: 26-5=21, Resulting Numbers: [30, 21] Generated Node #0,0,2: 12:[30, 21] Operation: 26-5=21 Exploring Operation: 30-26=4, Resulting Numbers: [5, 4] Generated Node #0,0,3: 12:[5, 4] Operation: 30-26=4 Exploring Operation: 30/5=6, Resulting Numbers: [26, 6] Generated Node #0,0,4: 12:[26, 6] Operation: 30/5=6 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 12:[5, 4], Operations: ['59-29=30', '30-26=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 12:[26, 6], Operations: ['59-29=30', '30/5=6'] Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[26, 25], Operations: ['59-29=30', '30-5=25'] Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 12:[30, 21], Operations: ['59-29=30', '26-5=21'] Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,12 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[30, 31], Operations: ['59-29=30', '26+5=31'] Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,12 unequal: No Solution Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,12 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,12 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: 12:[29, 5, 33], Operations: ['59-26=33'] Exploring Operation: 33-29=4, Resulting Numbers: [5, 4] Generated Node #0,3,0: 12:[5, 4] Operation: 33-29=4 Exploring Operation: 5+33=38, Resulting Numbers: [29, 38] Generated Node #0,3,1: 12:[29, 38] Operation: 5+33=38 Exploring Operation: 33-5=28, Resulting Numbers: [29, 28] Generated Node #0,3,2: 12:[29, 28] Operation: 33-5=28 Exploring Operation: 29+5=34, Resulting Numbers: [33, 34] Generated Node #0,3,3: 12:[33, 34] Operation: 29+5=34 Exploring Operation: 29-5=24, Resulting Numbers: [33, 24] Generated Node #0,3,4: 12:[33, 24] Operation: 29-5=24 Moving to Node #0,4 Current State: 12:[59, 5, 3], Operations: ['29-26=3'] Exploring Operation: 5*3=15, Resulting Numbers: [59, 15] Generated Node #0,4,0: 12:[59, 15] Operation: 5*3=15 Exploring Operation: 59-3=56, Resulting Numbers: [5, 56] Generated Node #0,4,1: 12:[5, 56] Operation: 59-3=56 Exploring Operation: 5-3=2, Resulting Numbers: [59, 2] Generated Node #0,4,2: 12:[59, 2] Operation: 5-3=2 Exploring Operation: 5+3=8, Resulting Numbers: [59, 8] Generated Node #0,4,3: 12:[59, 8] Operation: 5+3=8 Exploring Operation: 59-5=54, Resulting Numbers: [3, 54] Generated Node #0,4,4: 12:[3, 54] Operation: 59-5=54 Moving to Node #0,1 Current State: 12:[29, 26, 54], Operations: ['59-5=54'] Exploring Operation: 29+54=83, Resulting Numbers: [26, 83] Generated Node #0,1,0: 12:[26, 83] Operation: 29+54=83 Exploring Operation: 54-26=28, Resulting Numbers: [29, 28] Generated Node #0,1,1: 12:[29, 28] Operation: 54-26=28 Exploring Operation: 29+26=55, Resulting Numbers: [54, 55] Generated Node #0,1,2: 12:[54, 55] Operation: 29+26=55 Exploring Operation: 54-29=25, Resulting Numbers: [26, 25] Generated Node #0,1,3: 12:[26, 25] Operation: 54-29=25 Exploring Operation: 29-26=3, Resulting Numbers: [54, 3] Generated Node #0,1,4: 12:[54, 3] Operation: 29-26=3 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 12:[26, 25], Operations: ['59-5=54', '54-29=25'] Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,12 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[29, 28], Operations: ['59-5=54', '54-26=28'] Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 29*28=812, Resulting Numbers: [812] 812,12 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 12:[54, 3], Operations: ['59-5=54', '29-26=3'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 54*3=162, Resulting Numbers: [162] 162,12 unequal: No Solution Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 12:[26, 83], Operations: ['59-5=54', '29+54=83'] Exploring Operation: 26+83=109, Resulting Numbers: [109] 109,12 unequal: No Solution Exploring Operation: 26*83=2158, Resulting Numbers: [2158] 2158,12 unequal: No Solution Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 12:[54, 55], Operations: ['59-5=54', '29+26=55'] Exploring Operation: 54+55=109, Resulting Numbers: [109] 109,12 unequal: No Solution Exploring Operation: 54*55=2970, Resulting Numbers: [2970] 2970,12 unequal: No Solution Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,12 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: 12:[59, 26, 24], Operations: ['29-5=24'] Exploring Operation: 59-26=33, Resulting Numbers: [24, 33] Generated Node #0,2,0: 12:[24, 33] Operation: 59-26=33 Exploring Operation: 59+26=85, Resulting Numbers: [24, 85] Generated Node #0,2,1: 12:[24, 85] Operation: 59+26=85 Exploring Operation: 59-24=35, Resulting Numbers: [26, 35] Generated Node #0,2,2: 12:[26, 35] Operation: 59-24=35 Exploring Operation: 59+24=83, Resulting Numbers: [26, 83] Generated Node #0,2,3: 12:[26, 83] Operation: 59+24=83 Exploring Operation: 26-24=2, Resulting Numbers: [59, 2] Generated Node #0,2,4: 12:[59, 2] Operation: 26-24=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 12:[24, 33], Operations: ['29-5=24', '59-26=33'] Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,12 unequal: No Solution Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[26, 35], Operations: ['29-5=24', '59-24=35'] Exploring Operation: 26*35=910, Resulting Numbers: [910] 910,12 unequal: No Solution Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,12 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 12:[59, 2], Operations: ['29-5=24', '26-24=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,12 unequal: No Solution Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[24, 85], Operations: ['29-5=24', '59+26=85'] Exploring Operation: 24+85=109, Resulting Numbers: [109] 109,12 unequal: No Solution Exploring Operation: 24*85=2040, Resulting Numbers: [2040] 2040,12 unequal: No Solution Exploring Operation: 85-24=61, Resulting Numbers: [61] 61,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 12:[26, 83], Operations: ['29-5=24', '59+24=83'] Exploring Operation: 83-26=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 26+83=109, Resulting Numbers: [109] 109,12 unequal: No Solution Exploring Operation: 26*83=2158, Resulting Numbers: [2158] 2158,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 12:[5, 4], Operations: ['59-26=33', '33-29=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,12 unequal: No Solution Moving to Node #0,3,4 Current State: 12:[33, 24], Operations: ['59-26=33', '29-5=24'] Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,12 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[29, 28], Operations: ['59-26=33', '33-5=28'] Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 29*28=812, Resulting Numbers: [812] 812,12 unequal: No Solution Moving to Node #0,4,4 Current State: 12:[3, 54], Operations: ['29-26=3', '59-5=54'] Exploring Operation: 3*54=162, Resulting Numbers: [162] 162,12 unequal: No Solution Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,12 unequal: No Solution Moving to Node #0,3,3 Current State: 12:[33, 34], Operations: ['59-26=33', '29+5=34'] Exploring Operation: 33+34=67, Resulting Numbers: [67] 67,12 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 33*34=1122, Resulting Numbers: [1122] 1122,12 unequal: No Solution Moving to Node #0,3,1 Current State: 12:[29, 38], Operations: ['59-26=33', '5+33=38'] Exploring Operation: 29+38=67, Resulting Numbers: [67] 67,12 unequal: No Solution Exploring Operation: 29*38=1102, Resulting Numbers: [1102] 1102,12 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,12 unequal: No Solution Moving to Node #0,4,1 Current State: 12:[5, 56], Operations: ['29-26=3', '59-3=56'] Exploring Operation: 5*56=280, Resulting Numbers: [280] 280,12 unequal: No Solution Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,12 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,12 unequal: No Solution Moving to Node #0,4,2 Current State: 12:[59, 2], Operations: ['29-26=3', '5-3=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,12 unequal: No Solution Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,12 unequal: No Solution Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,12 unequal: No Solution Moving to Node #0,4,3 Current State: 12:[59, 8], Operations: ['29-26=3', '5+3=8'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,12 unequal: No Solution Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,12 unequal: No Solution Moving to Node #0,4,0 Current State: 12:[59, 15], Operations: ['29-26=3', '5*3=15'] Exploring Operation: 59+15=74, Resulting Numbers: [74] 74,12 unequal: No Solution Exploring Operation: 59*15=885, Resulting Numbers: [885] 885,12 unequal: No Solution Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,12 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 85, 80, 79, 32 ]
52
[ "85-80=5", "79-32=47", "5+47=52" ]
Current State: 52:[85, 80, 79, 32], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [79, 32, 5] Generated Node #2: [79, 32, 5] from Operation: 85-80=5 Current State: 52:[79, 32, 5], Operations: ['85-80=5'] Exploring Operation: 79-32=47, Resulting Numbers: [5, 47] Generated Node #3: [5, 47] from Operation: 79-32=47 Current State: 52:[5, 47], Operations: ['85-80=5', '79-32=47'] Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[85, 80, 79, 32], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [79, 32, 5] Generated Node #0,0: 52:[79, 32, 5] Operation: 85-80=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[79, 32, 5], Operations: ['85-80=5'] Exploring Operation: 79-32=47, Resulting Numbers: [5, 47] Generated Node #0,0,0: 52:[5, 47] Operation: 79-32=47 Moving to Node #0,0,0 Current State: 52:[5, 47], Operations: ['85-80=5', '79-32=47'] Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[85, 80, 79, 32], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [79, 32, 5] Generated Node #0,0: 52:[79, 32, 5] Operation: 85-80=5 Moving to Node #0,0 Current State: 52:[79, 32, 5], Operations: ['85-80=5'] Exploring Operation: 79-32=47, Resulting Numbers: [5, 47] Generated Node #0,0,0: 52:[5, 47] Operation: 79-32=47 Moving to Node #0,0,0 Current State: 52:[5, 47], Operations: ['85-80=5', '79-32=47'] Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 22, 72, 26, 23 ]
20
[ "26-22=4", "23*4=92", "92-72=20" ]
Current State: 20:[22, 72, 26, 23], Operations: [] Exploring Operation: 26-22=4, Resulting Numbers: [72, 23, 4] Generated Node #2: [72, 23, 4] from Operation: 26-22=4 Current State: 20:[72, 23, 4], Operations: ['26-22=4'] Exploring Operation: 23*4=92, Resulting Numbers: [72, 92] Generated Node #3: [72, 92] from Operation: 23*4=92 Current State: 20:[72, 92], Operations: ['26-22=4', '23*4=92'] Exploring Operation: 92-72=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[22, 72, 26, 23], Operations: [] Exploring Operation: 72-23=49, Resulting Numbers: [22, 26, 49] Generated Node #0,0: 20:[22, 26, 49] Operation: 72-23=49 Exploring Operation: 72-26=46, Resulting Numbers: [22, 23, 46] Generated Node #0,1: 20:[22, 23, 46] Operation: 72-26=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[22, 23, 46], Operations: ['72-26=46'] Exploring Operation: 46/23=2, Resulting Numbers: [22, 2] Generated Node #0,1,0: 20:[22, 2] Operation: 46/23=2 Exploring Operation: 46-23=23, Resulting Numbers: [22, 23] Generated Node #0,1,1: 20:[22, 23] Operation: 46-23=23 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[22, 2], Operations: ['72-26=46', '46/23=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[22, 72, 26, 23], Operations: [] Exploring Operation: 72-26=46, Resulting Numbers: [22, 23, 46] Generated Node #0,1: 20:[22, 23, 46] Operation: 72-26=46 Moving to Node #0,1 Current State: 20:[22, 23, 46], Operations: ['72-26=46'] Exploring Operation: 46/23=2, Resulting Numbers: [22, 2] Generated Node #0,1,0: 20:[22, 2] Operation: 46/23=2 Moving to Node #0,1,0 Current State: 20:[22, 2], Operations: ['72-26=46', '46/23=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 12, 3, 34, 67 ]
47
[ "67-12=55", "3*34=102", "102-55=47" ]
Current State: 47:[12, 3, 34, 67], Operations: [] Exploring Operation: 67-12=55, Resulting Numbers: [3, 34, 55] Generated Node #2: [3, 34, 55] from Operation: 67-12=55 Current State: 47:[3, 34, 55], Operations: ['67-12=55'] Exploring Operation: 3*34=102, Resulting Numbers: [55, 102] Generated Node #3: [55, 102] from Operation: 3*34=102 Current State: 47:[55, 102], Operations: ['67-12=55', '3*34=102'] Exploring Operation: 102-55=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[12, 3, 34, 67], Operations: [] Exploring Operation: 67-12=55, Resulting Numbers: [3, 34, 55] Generated Node #0,0: 47:[3, 34, 55] Operation: 67-12=55 Exploring Operation: 12+34=46, Resulting Numbers: [3, 67, 46] Generated Node #0,1: 47:[3, 67, 46] Operation: 12+34=46 Exploring Operation: 12+3=15, Resulting Numbers: [34, 67, 15] Generated Node #0,2: 47:[34, 67, 15] Operation: 12+3=15 Exploring Operation: 12*3=36, Resulting Numbers: [34, 67, 36] Generated Node #0,3: 47:[34, 67, 36] Operation: 12*3=36 Moving to Node #0,3 Current State: 47:[34, 67, 36], Operations: ['12*3=36'] Exploring Operation: 67-36=31, Resulting Numbers: [34, 31] Generated Node #0,3,0: 47:[34, 31] Operation: 67-36=31 Exploring Operation: 34+36=70, Resulting Numbers: [67, 70] Generated Node #0,3,1: 47:[67, 70] Operation: 34+36=70 Exploring Operation: 34+67=101, Resulting Numbers: [36, 101] Generated Node #0,3,2: 47:[36, 101] Operation: 34+67=101 Exploring Operation: 67-34=33, Resulting Numbers: [36, 33] Generated Node #0,3,3: 47:[36, 33] Operation: 67-34=33 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 47:[36, 33], Operations: ['12*3=36', '67-34=33'] Exploring Operation: 36*33=1188, Resulting Numbers: [1188] 1188,47 unequal: No Solution Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 36+33=69, Resulting Numbers: [69] 69,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 47:[34, 31], Operations: ['12*3=36', '67-36=31'] Exploring Operation: 34+31=65, Resulting Numbers: [65] 65,47 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 34*31=1054, Resulting Numbers: [1054] 1054,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 47:[67, 70], Operations: ['12*3=36', '34+36=70'] Exploring Operation: 67*70=4690, Resulting Numbers: [4690] 4690,47 unequal: No Solution Exploring Operation: 70-67=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 67+70=137, Resulting Numbers: [137] 137,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 47:[36, 101], Operations: ['12*3=36', '34+67=101'] Exploring Operation: 36+101=137, Resulting Numbers: [137] 137,47 unequal: No Solution Exploring Operation: 101-36=65, Resulting Numbers: [65] 65,47 unequal: No Solution Exploring Operation: 36*101=3636, Resulting Numbers: [3636] 3636,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 47:[3, 67, 46], Operations: ['12+34=46'] Exploring Operation: 3+67=70, Resulting Numbers: [46, 70] Generated Node #0,1,0: 47:[46, 70] Operation: 3+67=70 Exploring Operation: 46-3=43, Resulting Numbers: [67, 43] Generated Node #0,1,1: 47:[67, 43] Operation: 46-3=43 Exploring Operation: 67-3=64, Resulting Numbers: [46, 64] Generated Node #0,1,2: 47:[46, 64] Operation: 67-3=64 Exploring Operation: 3+46=49, Resulting Numbers: [67, 49] Generated Node #0,1,3: 47:[67, 49] Operation: 3+46=49 Moving to Node #0,0 Current State: 47:[3, 34, 55], Operations: ['67-12=55'] Exploring Operation: 55-3=52, Resulting Numbers: [34, 52] Generated Node #0,0,0: 47:[34, 52] Operation: 55-3=52 Exploring Operation: 3+55=58, Resulting Numbers: [34, 58] Generated Node #0,0,1: 47:[34, 58] Operation: 3+55=58 Exploring Operation: 34-3=31, Resulting Numbers: [55, 31] Generated Node #0,0,2: 47:[55, 31] Operation: 34-3=31 Exploring Operation: 3+34=37, Resulting Numbers: [55, 37] Generated Node #0,0,3: 47:[55, 37] Operation: 3+34=37 Moving to Node #0,2 Current State: 47:[34, 67, 15], Operations: ['12+3=15'] Exploring Operation: 67-15=52, Resulting Numbers: [34, 52] Generated Node #0,2,0: 47:[34, 52] Operation: 67-15=52 Exploring Operation: 34-15=19, Resulting Numbers: [67, 19] Generated Node #0,2,1: 47:[67, 19] Operation: 34-15=19 Exploring Operation: 67-34=33, Resulting Numbers: [15, 33] Generated Node #0,2,2: 47:[15, 33] Operation: 67-34=33 Exploring Operation: 34+15=49, Resulting Numbers: [67, 49] Generated Node #0,2,3: 47:[67, 49] Operation: 34+15=49 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[34, 52], Operations: ['12+3=15', '67-15=52'] Exploring Operation: 34+52=86, Resulting Numbers: [86] 86,47 unequal: No Solution Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 34*52=1768, Resulting Numbers: [1768] 1768,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,3 Current State: 47:[67, 49], Operations: ['12+3=15', '34+15=49'] Exploring Operation: 67+49=116, Resulting Numbers: [116] 116,47 unequal: No Solution Exploring Operation: 67-49=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 67*49=3283, Resulting Numbers: [3283] 3283,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,2 Current State: 47:[15, 33], Operations: ['12+3=15', '67-34=33'] Exploring Operation: 15*33=495, Resulting Numbers: [495] 495,47 unequal: No Solution Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,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:[67, 19], Operations: ['12+3=15', '34-15=19'] Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 67*19=1273, Resulting Numbers: [1273] 1273,47 unequal: No Solution Exploring Operation: 67+19=86, Resulting Numbers: [86] 86,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 47:[46, 64], Operations: ['12+34=46', '67-3=64'] Exploring Operation: 46+64=110, Resulting Numbers: [110] 110,47 unequal: No Solution Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 46*64=2944, Resulting Numbers: [2944] 2944,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[55, 37], Operations: ['67-12=55', '3+34=37'] Exploring Operation: 55+37=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 55*37=2035, Resulting Numbers: [2035] 2035,47 unequal: No Solution Exploring Operation: 55-37=18, Resulting Numbers: [18] 18,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[34, 52], Operations: ['67-12=55', '55-3=52'] Exploring Operation: 34*52=1768, Resulting Numbers: [1768] 1768,47 unequal: No Solution Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 34+52=86, Resulting Numbers: [86] 86,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[67, 49], Operations: ['12+34=46', '3+46=49'] Exploring Operation: 67+49=116, Resulting Numbers: [116] 116,47 unequal: No Solution Exploring Operation: 67*49=3283, Resulting Numbers: [3283] 3283,47 unequal: No Solution Exploring Operation: 67-49=18, Resulting Numbers: [18] 18,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[34, 58], Operations: ['67-12=55', '3+55=58'] Exploring Operation: 34+58=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 58-34=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 34*58=1972, Resulting Numbers: [1972] 1972,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[46, 70], Operations: ['12+34=46', '3+67=70'] Exploring Operation: 46+70=116, Resulting Numbers: [116] 116,47 unequal: No Solution Exploring Operation: 46*70=3220, Resulting Numbers: [3220] 3220,47 unequal: No Solution Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[55, 31], Operations: ['67-12=55', '34-3=31'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 55*31=1705, Resulting Numbers: [1705] 1705,47 unequal: No Solution Exploring Operation: 55+31=86, Resulting Numbers: [86] 86,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[67, 43], Operations: ['12+34=46', '46-3=43'] Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 67+43=110, Resulting Numbers: [110] 110,47 unequal: No Solution Exploring Operation: 67*43=2881, Resulting Numbers: [2881] 2881,47 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 27, 83, 83, 51 ]
23
[ "51-27=24", "83/83=1", "24-1=23" ]
Current State: 23:[27, 83, 83, 51], Operations: [] Exploring Operation: 51-27=24, Resulting Numbers: [83, 83, 24] Generated Node #2: [83, 83, 24] from Operation: 51-27=24 Current State: 23:[83, 83, 24], Operations: ['51-27=24'] Exploring Operation: 83/83=1, Resulting Numbers: [24, 1] Generated Node #3: [24, 1] from Operation: 83/83=1 Current State: 23:[24, 1], Operations: ['51-27=24', '83/83=1'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[27, 83, 83, 51], Operations: [] Exploring Operation: 83/83=1, Resulting Numbers: [27, 51, 1] Generated Node #0,0: 23:[27, 51, 1] Operation: 83/83=1 Exploring Operation: 83-51=32, Resulting Numbers: [27, 83, 32] Generated Node #0,1: 23:[27, 83, 32] Operation: 83-51=32 Exploring Operation: 83-83=0, Resulting Numbers: [27, 51, 0] Generated Node #0,2: 23:[27, 51, 0] Operation: 83-83=0 Exploring Operation: 83-51=32, Resulting Numbers: [27, 83, 32] Generated Node #0,3: 23:[27, 83, 32] Operation: 83-51=32 Moving to Node #0,0 Current State: 23:[27, 51, 1], Operations: ['83/83=1'] Exploring Operation: 27*1=27, Resulting Numbers: [51, 27] Generated Node #0,0,0: 23:[51, 27] Operation: 27*1=27 Exploring Operation: 51-1=50, Resulting Numbers: [27, 50] Generated Node #0,0,1: 23:[27, 50] Operation: 51-1=50 Exploring Operation: 51-27=24, Resulting Numbers: [1, 24] Generated Node #0,0,2: 23:[1, 24] Operation: 51-27=24 Exploring Operation: 27-1=26, Resulting Numbers: [51, 26] Generated Node #0,0,3: 23:[51, 26] Operation: 27-1=26 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 23:[1, 24], Operations: ['83/83=1', '51-27=24'] Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,23 unequal: No Solution Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[27, 83, 83, 51], Operations: [] Exploring Operation: 83/83=1, Resulting Numbers: [27, 51, 1] Generated Node #0,0: 23:[27, 51, 1] Operation: 83/83=1 Moving to Node #0,0 Current State: 23:[27, 51, 1], Operations: ['83/83=1'] Exploring Operation: 51-27=24, Resulting Numbers: [1, 24] Generated Node #0,0,2: 23:[1, 24] Operation: 51-27=24 Moving to Node #0,0,2 Current State: 23:[1, 24], Operations: ['83/83=1', '51-27=24'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 26, 61, 48, 77 ]
79
[ "61-48=13", "26/13=2", "77+2=79" ]
Current State: 79:[26, 61, 48, 77], Operations: [] Exploring Operation: 61-48=13, Resulting Numbers: [26, 77, 13] Generated Node #2: [26, 77, 13] from Operation: 61-48=13 Current State: 79:[26, 77, 13], Operations: ['61-48=13'] Exploring Operation: 26/13=2, Resulting Numbers: [77, 2] Generated Node #3: [77, 2] from Operation: 26/13=2 Current State: 79:[77, 2], Operations: ['61-48=13', '26/13=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[26, 61, 48, 77], Operations: [] Exploring Operation: 26+77=103, Resulting Numbers: [61, 48, 103] Generated Node #0,0: 79:[61, 48, 103] Operation: 26+77=103 Exploring Operation: 26+48=74, Resulting Numbers: [61, 77, 74] Generated Node #0,1: 79:[61, 77, 74] Operation: 26+48=74 Exploring Operation: 26+61=87, Resulting Numbers: [48, 77, 87] Generated Node #0,2: 79:[48, 77, 87] Operation: 26+61=87 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[61, 77, 74], Operations: ['26+48=74'] Exploring Operation: 61+77=138, Resulting Numbers: [74, 138] Generated Node #0,1,0: 79:[74, 138] Operation: 61+77=138 Exploring Operation: 61+74=135, Resulting Numbers: [77, 135] Generated Node #0,1,1: 79:[77, 135] Operation: 61+74=135 Exploring Operation: 77-61=16, Resulting Numbers: [74, 16] Generated Node #0,1,2: 79:[74, 16] Operation: 77-61=16 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[77, 135], Operations: ['26+48=74', '61+74=135'] Exploring Operation: 77*135=10395, Resulting Numbers: [10395] 10395,79 unequal: No Solution Exploring Operation: 77+135=212, Resulting Numbers: [212] 212,79 unequal: No Solution Exploring Operation: 135-77=58, Resulting Numbers: [58] 58,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[74, 138], Operations: ['26+48=74', '61+77=138'] Exploring Operation: 74+138=212, Resulting Numbers: [212] 212,79 unequal: No Solution Exploring Operation: 74*138=10212, Resulting Numbers: [10212] 10212,79 unequal: No Solution Exploring Operation: 138-74=64, Resulting Numbers: [64] 64,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[74, 16], Operations: ['26+48=74', '77-61=16'] Exploring Operation: 74*16=1184, Resulting Numbers: [1184] 1184,79 unequal: No Solution Exploring Operation: 74+16=90, Resulting Numbers: [90] 90,79 unequal: No Solution Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[48, 77, 87], Operations: ['26+61=87'] Exploring Operation: 77-48=29, Resulting Numbers: [87, 29] Generated Node #0,2,0: 79:[87, 29] Operation: 77-48=29 Exploring Operation: 87-48=39, Resulting Numbers: [77, 39] Generated Node #0,2,1: 79:[77, 39] Operation: 87-48=39 Exploring Operation: 48+77=125, Resulting Numbers: [87, 125] Generated Node #0,2,2: 79:[87, 125] Operation: 48+77=125 Moving to Node #0,2,1 Current State: 79:[77, 39], Operations: ['26+61=87', '87-48=39'] Exploring Operation: 77*39=3003, Resulting Numbers: [3003] 3003,79 unequal: No Solution Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 77+39=116, Resulting Numbers: [116] 116,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[87, 125], Operations: ['26+61=87', '48+77=125'] Exploring Operation: 87*125=10875, Resulting Numbers: [10875] 10875,79 unequal: No Solution Exploring Operation: 125-87=38, Resulting Numbers: [38] 38,79 unequal: No Solution Exploring Operation: 87+125=212, Resulting Numbers: [212] 212,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[87, 29], Operations: ['26+61=87', '77-48=29'] Exploring Operation: 87/29=3, Resulting Numbers: [3] 3,79 unequal: No Solution Exploring Operation: 87+29=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 87-29=58, Resulting Numbers: [58] 58,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 Current State: 79:[61, 48, 103], Operations: ['26+77=103'] Exploring Operation: 103-61=42, Resulting Numbers: [48, 42] Generated Node #0,0,0: 79:[48, 42] Operation: 103-61=42 Exploring Operation: 103-48=55, Resulting Numbers: [61, 55] Generated Node #0,0,1: 79:[61, 55] Operation: 103-48=55 Exploring Operation: 61+48=109, Resulting Numbers: [103, 109] Generated Node #0,0,2: 79:[103, 109] Operation: 61+48=109 Moving to Node #0,0,1 Current State: 79:[61, 55], Operations: ['26+77=103', '103-48=55'] Exploring Operation: 61*55=3355, Resulting Numbers: [3355] 3355,79 unequal: No Solution Exploring Operation: 61+55=116, Resulting Numbers: [116] 116,79 unequal: No Solution Exploring Operation: 61-55=6, Resulting Numbers: [6] 6,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[103, 109], Operations: ['26+77=103', '61+48=109'] Exploring Operation: 109-103=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 103*109=11227, Resulting Numbers: [11227] 11227,79 unequal: No Solution Exploring Operation: 103+109=212, Resulting Numbers: [212] 212,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[48, 42], Operations: ['26+77=103', '103-61=42'] Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 48*42=2016, Resulting Numbers: [2016] 2016,79 unequal: No Solution Exploring Operation: 48+42=90, Resulting Numbers: [90] 90,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 91, 67, 16, 37 ]
14
[ "91*16=1456", "67+37=104", "1456/104=14" ]
Current State: 14:[91, 67, 16, 37], Operations: [] Exploring Operation: 91*16=1456, Resulting Numbers: [67, 37, 1456] Generated Node #2: [67, 37, 1456] from Operation: 91*16=1456 Current State: 14:[67, 37, 1456], Operations: ['91*16=1456'] Exploring Operation: 67+37=104, Resulting Numbers: [1456, 104] Generated Node #3: [1456, 104] from Operation: 67+37=104 Current State: 14:[1456, 104], Operations: ['91*16=1456', '67+37=104'] Exploring Operation: 1456/104=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[91, 67, 16, 37], Operations: [] Exploring Operation: 91-37=54, Resulting Numbers: [67, 16, 54] Generated Node #0,0: 14:[67, 16, 54] Operation: 91-37=54 Exploring Operation: 91-67=24, Resulting Numbers: [16, 37, 24] Generated Node #0,1: 14:[16, 37, 24] Operation: 91-67=24 Moving to Node #0,1 Current State: 14:[16, 37, 24], Operations: ['91-67=24'] Exploring Operation: 37-24=13, Resulting Numbers: [16, 13] Generated Node #0,1,0: 14:[16, 13] Operation: 37-24=13 Exploring Operation: 37-16=21, Resulting Numbers: [24, 21] Generated Node #0,1,1: 14:[24, 21] Operation: 37-16=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[16, 13], Operations: ['91-67=24', '37-24=13'] Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,14 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 14:[24, 21], Operations: ['91-67=24', '37-16=21'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,14 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: 14:[67, 16, 54], Operations: ['91-37=54'] Exploring Operation: 67-16=51, Resulting Numbers: [54, 51] Generated Node #0,0,0: 14:[54, 51] Operation: 67-16=51 Exploring Operation: 67-54=13, Resulting Numbers: [16, 13] Generated Node #0,0,1: 14:[16, 13] Operation: 67-54=13 Moving to Node #0,0,1 Current State: 14:[16, 13], Operations: ['91-37=54', '67-54=13'] Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[54, 51], Operations: ['91-37=54', '67-16=51'] Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 54+51=105, Resulting Numbers: [105] 105,14 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 29, 77, 14, 43 ]
77
[ "29+77=106", "43-14=29", "106-29=77" ]
Current State: 77:[29, 77, 14, 43], Operations: [] Exploring Operation: 29+77=106, Resulting Numbers: [14, 43, 106] Generated Node #2: [14, 43, 106] from Operation: 29+77=106 Current State: 77:[14, 43, 106], Operations: ['29+77=106'] Exploring Operation: 43-14=29, Resulting Numbers: [106, 29] Generated Node #3: [106, 29] from Operation: 43-14=29 Current State: 77:[106, 29], Operations: ['29+77=106', '43-14=29'] Exploring Operation: 106-29=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[29, 77, 14, 43], Operations: [] Exploring Operation: 29+43=72, Resulting Numbers: [77, 14, 72] Generated Node #0,0: 77:[77, 14, 72] Operation: 29+43=72 Exploring Operation: 43-29=14, Resulting Numbers: [77, 14, 14] Generated Node #0,1: 77:[77, 14, 14] Operation: 43-29=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[77, 14, 14], Operations: ['43-29=14'] Exploring Operation: 14/14=1, Resulting Numbers: [77, 1] Generated Node #0,1,0: 77:[77, 1] Operation: 14/14=1 Exploring Operation: 14-14=0, Resulting Numbers: [77, 0] Generated Node #0,1,1: 77:[77, 0] Operation: 14-14=0 Moving to Node #0,1,0 Current State: 77:[77, 1], Operations: ['43-29=14', '14/14=1'] Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[29, 77, 14, 43], Operations: [] Exploring Operation: 43-29=14, Resulting Numbers: [77, 14, 14] Generated Node #0,1: 77:[77, 14, 14] Operation: 43-29=14 Moving to Node #0,1 Current State: 77:[77, 14, 14], Operations: ['43-29=14'] Exploring Operation: 14/14=1, Resulting Numbers: [77, 1] Generated Node #0,1,0: 77:[77, 1] Operation: 14/14=1 Moving to Node #0,1,0 Current State: 77:[77, 1], Operations: ['43-29=14', '14/14=1'] Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 5, 42, 95, 26 ]
32
[ "42-5=37", "95-26=69", "69-37=32" ]
Current State: 32:[5, 42, 95, 26], Operations: [] Exploring Operation: 42-5=37, Resulting Numbers: [95, 26, 37] Generated Node #2: [95, 26, 37] from Operation: 42-5=37 Current State: 32:[95, 26, 37], Operations: ['42-5=37'] Exploring Operation: 95-26=69, Resulting Numbers: [37, 69] Generated Node #3: [37, 69] from Operation: 95-26=69 Current State: 32:[37, 69], Operations: ['42-5=37', '95-26=69'] Exploring Operation: 69-37=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[5, 42, 95, 26], Operations: [] Exploring Operation: 42-26=16, Resulting Numbers: [5, 95, 16] Generated Node #0,0: 32:[5, 95, 16] Operation: 42-26=16 Exploring Operation: 95-42=53, Resulting Numbers: [5, 26, 53] Generated Node #0,1: 32:[5, 26, 53] Operation: 95-42=53 Exploring Operation: 42-5=37, Resulting Numbers: [95, 26, 37] Generated Node #0,2: 32:[95, 26, 37] Operation: 42-5=37 Exploring Operation: 95/5=19, Resulting Numbers: [42, 26, 19] Generated Node #0,3: 32:[42, 26, 19] Operation: 95/5=19 Exploring Operation: 95-26=69, Resulting Numbers: [5, 42, 69] Generated Node #0,4: 32:[5, 42, 69] Operation: 95-26=69 Moving to Node #0,3 Current State: 32:[42, 26, 19], Operations: ['95/5=19'] Exploring Operation: 26+19=45, Resulting Numbers: [42, 45] Generated Node #0,3,0: 32:[42, 45] Operation: 26+19=45 Exploring Operation: 26-19=7, Resulting Numbers: [42, 7] Generated Node #0,3,1: 32:[42, 7] Operation: 26-19=7 Exploring Operation: 42-19=23, Resulting Numbers: [26, 23] Generated Node #0,3,2: 32:[26, 23] Operation: 42-19=23 Exploring Operation: 42+19=61, Resulting Numbers: [26, 61] Generated Node #0,3,3: 32:[26, 61] Operation: 42+19=61 Exploring Operation: 42-26=16, Resulting Numbers: [19, 16] Generated Node #0,3,4: 32:[19, 16] Operation: 42-26=16 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 32:[19, 16], Operations: ['95/5=19', '42-26=16'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 32:[42, 7], Operations: ['95/5=19', '26-19=7'] Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,32 unequal: No Solution Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,32 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 32:[26, 23], Operations: ['95/5=19', '42-19=23'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,32 unequal: No Solution Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 32:[42, 45], Operations: ['95/5=19', '26+19=45'] Exploring Operation: 42*45=1890, Resulting Numbers: [1890] 1890,32 unequal: No Solution Exploring Operation: 42+45=87, Resulting Numbers: [87] 87,32 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 32:[26, 61], Operations: ['95/5=19', '42+19=61'] Exploring Operation: 26+61=87, Resulting Numbers: [87] 87,32 unequal: No Solution Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 26*61=1586, Resulting Numbers: [1586] 1586,32 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: 32:[5, 26, 53], Operations: ['95-42=53'] Exploring Operation: 26-5=21, Resulting Numbers: [53, 21] Generated Node #0,1,0: 32:[53, 21] Operation: 26-5=21 Exploring Operation: 53-5=48, Resulting Numbers: [26, 48] Generated Node #0,1,1: 32:[26, 48] Operation: 53-5=48 Exploring Operation: 53-26=27, Resulting Numbers: [5, 27] Generated Node #0,1,2: 32:[5, 27] Operation: 53-26=27 Exploring Operation: 5+53=58, Resulting Numbers: [26, 58] Generated Node #0,1,3: 32:[26, 58] Operation: 5+53=58 Exploring Operation: 5+26=31, Resulting Numbers: [53, 31] Generated Node #0,1,4: 32:[53, 31] Operation: 5+26=31 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 32:[5, 27], Operations: ['95-42=53', '53-26=27'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,32 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[5, 42, 95, 26], Operations: [] Exploring Operation: 95-42=53, Resulting Numbers: [5, 26, 53] Generated Node #0,1: 32:[5, 26, 53] Operation: 95-42=53 Moving to Node #0,1 Current State: 32:[5, 26, 53], Operations: ['95-42=53'] Exploring Operation: 53-26=27, Resulting Numbers: [5, 27] Generated Node #0,1,2: 32:[5, 27] Operation: 53-26=27 Moving to Node #0,1,2 Current State: 32:[5, 27], Operations: ['95-42=53', '53-26=27'] Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 24, 35, 40, 1 ]
96
[ "40-35=5", "5-1=4", "24*4=96" ]
Current State: 96:[24, 35, 40, 1], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [24, 1, 5] Generated Node #2: [24, 1, 5] from Operation: 40-35=5 Current State: 96:[24, 1, 5], Operations: ['40-35=5'] Exploring Operation: 5-1=4, Resulting Numbers: [24, 4] Generated Node #3: [24, 4] from Operation: 5-1=4 Current State: 96:[24, 4], Operations: ['40-35=5', '5-1=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[24, 35, 40, 1], Operations: [] Exploring Operation: 40-24=16, Resulting Numbers: [35, 1, 16] Generated Node #0,0: 96:[35, 1, 16] Operation: 40-24=16 Exploring Operation: 40-35=5, Resulting Numbers: [24, 1, 5] Generated Node #0,1: 96:[24, 1, 5] Operation: 40-35=5 Moving to Node #0,1 Current State: 96:[24, 1, 5], Operations: ['40-35=5'] Exploring Operation: 5-1=4, Resulting Numbers: [24, 4] Generated Node #0,1,0: 96:[24, 4] Operation: 5-1=4 Exploring Operation: 1+5=6, Resulting Numbers: [24, 6] Generated Node #0,1,1: 96:[24, 6] Operation: 1+5=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[24, 4], Operations: ['40-35=5', '5-1=4'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[24, 35, 40, 1], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [24, 1, 5] Generated Node #0,1: 96:[24, 1, 5] Operation: 40-35=5 Moving to Node #0,1 Current State: 96:[24, 1, 5], Operations: ['40-35=5'] Exploring Operation: 5-1=4, Resulting Numbers: [24, 4] Generated Node #0,1,0: 96:[24, 4] Operation: 5-1=4 Moving to Node #0,1,0 Current State: 96:[24, 4], Operations: ['40-35=5', '5-1=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 32, 51, 22, 31 ]
28
[ "51-32=19", "31-22=9", "19+9=28" ]
Current State: 28:[32, 51, 22, 31], Operations: [] Exploring Operation: 51-32=19, Resulting Numbers: [22, 31, 19] Generated Node #2: [22, 31, 19] from Operation: 51-32=19 Current State: 28:[22, 31, 19], Operations: ['51-32=19'] Exploring Operation: 31-22=9, Resulting Numbers: [19, 9] Generated Node #3: [19, 9] from Operation: 31-22=9 Current State: 28:[19, 9], Operations: ['51-32=19', '31-22=9'] Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[32, 51, 22, 31], Operations: [] Exploring Operation: 51-22=29, Resulting Numbers: [32, 31, 29] Generated Node #0,0: 28:[32, 31, 29] Operation: 51-22=29 Moving to Node #0,0 Current State: 28:[32, 31, 29], Operations: ['51-22=29'] Exploring Operation: 32-31=1, Resulting Numbers: [29, 1] Generated Node #0,0,0: 28:[29, 1] Operation: 32-31=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[29, 1], Operations: ['51-22=29', '32-31=1'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[32, 51, 22, 31], Operations: [] Exploring Operation: 51-22=29, Resulting Numbers: [32, 31, 29] Generated Node #0,0: 28:[32, 31, 29] Operation: 51-22=29 Moving to Node #0,0 Current State: 28:[32, 31, 29], Operations: ['51-22=29'] Exploring Operation: 32-31=1, Resulting Numbers: [29, 1] Generated Node #0,0,0: 28:[29, 1] Operation: 32-31=1 Moving to Node #0,0,0 Current State: 28:[29, 1], Operations: ['51-22=29', '32-31=1'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 64, 97, 50, 44 ]
61
[ "97-64=33", "50+44=94", "94-33=61" ]
Current State: 61:[64, 97, 50, 44], Operations: [] Exploring Operation: 97-64=33, Resulting Numbers: [50, 44, 33] Generated Node #2: [50, 44, 33] from Operation: 97-64=33 Current State: 61:[50, 44, 33], Operations: ['97-64=33'] Exploring Operation: 50+44=94, Resulting Numbers: [33, 94] Generated Node #3: [33, 94] from Operation: 50+44=94 Current State: 61:[33, 94], Operations: ['97-64=33', '50+44=94'] Exploring Operation: 94-33=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[64, 97, 50, 44], Operations: [] Exploring Operation: 97-44=53, Resulting Numbers: [64, 50, 53] Generated Node #0,0: 61:[64, 50, 53] Operation: 97-44=53 Exploring Operation: 97-50=47, Resulting Numbers: [64, 44, 47] Generated Node #0,1: 61:[64, 44, 47] Operation: 97-50=47 Exploring Operation: 97-64=33, Resulting Numbers: [50, 44, 33] Generated Node #0,2: 61:[50, 44, 33] Operation: 97-64=33 Moving to Node #0,0 Current State: 61:[64, 50, 53], Operations: ['97-44=53'] Exploring Operation: 50+53=103, Resulting Numbers: [64, 103] Generated Node #0,0,0: 61:[64, 103] Operation: 50+53=103 Exploring Operation: 64-50=14, Resulting Numbers: [53, 14] Generated Node #0,0,1: 61:[53, 14] Operation: 64-50=14 Exploring Operation: 64+50=114, Resulting Numbers: [53, 114] Generated Node #0,0,2: 61:[53, 114] Operation: 64+50=114 Moving to Node #0,1 Current State: 61:[64, 44, 47], Operations: ['97-50=47'] Exploring Operation: 64-44=20, Resulting Numbers: [47, 20] Generated Node #0,1,0: 61:[47, 20] Operation: 64-44=20 Exploring Operation: 44+47=91, Resulting Numbers: [64, 91] Generated Node #0,1,1: 61:[64, 91] Operation: 44+47=91 Exploring Operation: 64+44=108, Resulting Numbers: [47, 108] Generated Node #0,1,2: 61:[47, 108] Operation: 64+44=108 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[64, 91], Operations: ['97-50=47', '44+47=91'] Exploring Operation: 91-64=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 64+91=155, Resulting Numbers: [155] 155,61 unequal: No Solution Exploring Operation: 64*91=5824, Resulting Numbers: [5824] 5824,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[47, 20], Operations: ['97-50=47', '64-44=20'] Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,61 unequal: No Solution Exploring Operation: 47*20=940, Resulting Numbers: [940] 940,61 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[47, 108], Operations: ['97-50=47', '64+44=108'] Exploring Operation: 47*108=5076, Resulting Numbers: [5076] 5076,61 unequal: No Solution Exploring Operation: 108-47=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[64, 97, 50, 44], Operations: [] Exploring Operation: 97-50=47, Resulting Numbers: [64, 44, 47] Generated Node #0,1: 61:[64, 44, 47] Operation: 97-50=47 Moving to Node #0,1 Current State: 61:[64, 44, 47], Operations: ['97-50=47'] Exploring Operation: 64+44=108, Resulting Numbers: [47, 108] Generated Node #0,1,2: 61:[47, 108] Operation: 64+44=108 Moving to Node #0,1,2 Current State: 61:[47, 108], Operations: ['97-50=47', '64+44=108'] Exploring Operation: 108-47=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_3
mult_heuristic
[ 72, 74, 72, 27 ]
100
[ "72/72=1", "74+27=101", "101-1=100" ]
Current State: 100:[72, 74, 72, 27], Operations: [] Exploring Operation: 72/72=1, Resulting Numbers: [74, 27, 1] Generated Node #2: [74, 27, 1] from Operation: 72/72=1 Current State: 100:[74, 27, 1], Operations: ['72/72=1'] Exploring Operation: 74+27=101, Resulting Numbers: [1, 101] Generated Node #3: [1, 101] from Operation: 74+27=101 Current State: 100:[1, 101], Operations: ['72/72=1', '74+27=101'] Exploring Operation: 101-1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[72, 74, 72, 27], Operations: [] Exploring Operation: 72/72=1, Resulting Numbers: [74, 27, 1] Generated Node #0,0: 100:[74, 27, 1] Operation: 72/72=1 Exploring Operation: 74-72=2, Resulting Numbers: [72, 27, 2] Generated Node #0,1: 100:[72, 27, 2] Operation: 74-72=2 Exploring Operation: 74-72=2, Resulting Numbers: [72, 27, 2] Generated Node #0,2: 100:[72, 27, 2] Operation: 74-72=2 Moving to Node #0,1 Current State: 100:[72, 27, 2], Operations: ['74-72=2'] Exploring Operation: 72/2=36, Resulting Numbers: [27, 36] Generated Node #0,1,0: 100:[27, 36] Operation: 72/2=36 Exploring Operation: 72+27=99, Resulting Numbers: [2, 99] Generated Node #0,1,1: 100:[2, 99] Operation: 72+27=99 Exploring Operation: 72-27=45, Resulting Numbers: [2, 45] Generated Node #0,1,2: 100:[2, 45] Operation: 72-27=45 Moving to Node #0,2 Current State: 100:[72, 27, 2], Operations: ['74-72=2'] Exploring Operation: 72+27=99, Resulting Numbers: [2, 99] Generated Node #0,2,0: 100:[2, 99] Operation: 72+27=99 Exploring Operation: 72/2=36, Resulting Numbers: [27, 36] Generated Node #0,2,1: 100:[27, 36] Operation: 72/2=36 Exploring Operation: 72-27=45, Resulting Numbers: [2, 45] Generated Node #0,2,2: 100:[2, 45] Operation: 72-27=45 Moving to Node #0,0 Current State: 100:[74, 27, 1], Operations: ['72/72=1'] Exploring Operation: 74+27=101, Resulting Numbers: [1, 101] Generated Node #0,0,0: 100:[1, 101] Operation: 74+27=101 Exploring Operation: 74-1=73, Resulting Numbers: [27, 73] Generated Node #0,0,1: 100:[27, 73] Operation: 74-1=73 Exploring Operation: 74-27=47, Resulting Numbers: [1, 47] Generated Node #0,0,2: 100:[1, 47] Operation: 74-27=47 Moving to Node #0,1,1 Current State: 100:[2, 99], Operations: ['74-72=2', '72+27=99'] Exploring Operation: 2+99=101, Resulting Numbers: [101] 101,100 unequal: No Solution Exploring Operation: 2*99=198, Resulting Numbers: [198] 198,100 unequal: No Solution Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[2, 99], Operations: ['74-72=2', '72+27=99'] Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,100 unequal: No Solution Exploring Operation: 2+99=101, Resulting Numbers: [101] 101,100 unequal: No Solution Exploring Operation: 2*99=198, Resulting Numbers: [198] 198,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[1, 101], Operations: ['72/72=1', '74+27=101'] Exploring Operation: 101-1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[72, 74, 72, 27], Operations: [] Exploring Operation: 72/72=1, Resulting Numbers: [74, 27, 1] Generated Node #0,0: 100:[74, 27, 1] Operation: 72/72=1 Moving to Node #0,0 Current State: 100:[74, 27, 1], Operations: ['72/72=1'] Exploring Operation: 74+27=101, Resulting Numbers: [1, 101] Generated Node #0,0,0: 100:[1, 101] Operation: 74+27=101 Moving to Node #0,0,0 Current State: 100:[1, 101], Operations: ['72/72=1', '74+27=101'] Exploring Operation: 101-1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.980035
hs_3
sum_heuristic
[ 7, 70, 3, 20 ]
79
[ "7+20=27", "27/3=9", "70+9=79" ]
Current State: 79:[7, 70, 3, 20], Operations: [] Exploring Operation: 7+20=27, Resulting Numbers: [70, 3, 27] Generated Node #2: [70, 3, 27] from Operation: 7+20=27 Current State: 79:[70, 3, 27], Operations: ['7+20=27'] Exploring Operation: 27/3=9, Resulting Numbers: [70, 9] Generated Node #3: [70, 9] from Operation: 27/3=9 Current State: 79:[70, 9], Operations: ['7+20=27', '27/3=9'] Exploring Operation: 70+9=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[7, 70, 3, 20], Operations: [] Exploring Operation: 3*20=60, Resulting Numbers: [7, 70, 60] Generated Node #0,0: 79:[7, 70, 60] Operation: 3*20=60 Exploring Operation: 7*3=21, Resulting Numbers: [70, 20, 21] Generated Node #0,1: 79:[70, 20, 21] Operation: 7*3=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[7, 70, 60], Operations: ['3*20=60'] Exploring Operation: 7+70=77, Resulting Numbers: [60, 77] Generated Node #0,0,0: 79:[60, 77] Operation: 7+70=77 Exploring Operation: 7+60=67, Resulting Numbers: [70, 67] Generated Node #0,0,1: 79:[70, 67] Operation: 7+60=67 Moving to Node #0,0,0 Current State: 79:[60, 77], Operations: ['3*20=60', '7+70=77'] Exploring Operation: 77-60=17, Resulting Numbers: [17] 17,79 unequal: No Solution Exploring Operation: 60+77=137, Resulting Numbers: [137] 137,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[70, 67], Operations: ['3*20=60', '7+60=67'] Exploring Operation: 70+67=137, Resulting Numbers: [137] 137,79 unequal: No Solution Exploring Operation: 70-67=3, Resulting Numbers: [3] 3,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[70, 20, 21], Operations: ['7*3=21'] Exploring Operation: 20+21=41, Resulting Numbers: [70, 41] Generated Node #0,1,0: 79:[70, 41] Operation: 20+21=41 Exploring Operation: 70+20=90, Resulting Numbers: [21, 90] Generated Node #0,1,1: 79:[21, 90] Operation: 70+20=90 Moving to Node #0,1,0 Current State: 79:[70, 41], Operations: ['7*3=21', '20+21=41'] Exploring Operation: 70+41=111, Resulting Numbers: [111] 111,79 unequal: No Solution Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[21, 90], Operations: ['7*3=21', '70+20=90'] Exploring Operation: 21+90=111, Resulting Numbers: [111] 111,79 unequal: No Solution Exploring Operation: 90-21=69, Resulting Numbers: [69] 69,79 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
[ 14, 60, 36, 24 ]
81
[ "14*36=504", "504/24=21", "60+21=81" ]
Current State: 81:[14, 60, 36, 24], Operations: [] Exploring Operation: 14*36=504, Resulting Numbers: [60, 24, 504] Generated Node #2: [60, 24, 504] from Operation: 14*36=504 Current State: 81:[60, 24, 504], Operations: ['14*36=504'] Exploring Operation: 504/24=21, Resulting Numbers: [60, 21] Generated Node #3: [60, 21] from Operation: 504/24=21 Current State: 81:[60, 21], Operations: ['14*36=504', '504/24=21'] Exploring Operation: 60+21=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[14, 60, 36, 24], Operations: [] Exploring Operation: 60+24=84, Resulting Numbers: [14, 36, 84] Generated Node #0,0: 81:[14, 36, 84] Operation: 60+24=84 Exploring Operation: 14+60=74, Resulting Numbers: [36, 24, 74] Generated Node #0,1: 81:[36, 24, 74] Operation: 14+60=74 Exploring Operation: 60-36=24, Resulting Numbers: [14, 24, 24] Generated Node #0,2: 81:[14, 24, 24] Operation: 60-36=24 Moving to Node #0,2 Current State: 81:[14, 24, 24], Operations: ['60-36=24'] Exploring Operation: 24/24=1, Resulting Numbers: [14, 1] Generated Node #0,2,0: 81:[14, 1] Operation: 24/24=1 Exploring Operation: 24-14=10, Resulting Numbers: [24, 10] Generated Node #0,2,1: 81:[24, 10] Operation: 24-14=10 Exploring Operation: 24-14=10, Resulting Numbers: [24, 10] Generated Node #0,2,2: 81:[24, 10] Operation: 24-14=10 Moving to Node #0,0 Current State: 81:[14, 36, 84], Operations: ['60+24=84'] Exploring Operation: 36-14=22, Resulting Numbers: [84, 22] Generated Node #0,0,0: 81:[84, 22] Operation: 36-14=22 Exploring Operation: 84/14=6, Resulting Numbers: [36, 6] Generated Node #0,0,1: 81:[36, 6] Operation: 84/14=6 Exploring Operation: 84-14=70, Resulting Numbers: [36, 70] Generated Node #0,0,2: 81:[36, 70] Operation: 84-14=70 Moving to Node #0,1 Current State: 81:[36, 24, 74], Operations: ['14+60=74'] Exploring Operation: 74-36=38, Resulting Numbers: [24, 38] Generated Node #0,1,0: 81:[24, 38] Operation: 74-36=38 Exploring Operation: 36-24=12, Resulting Numbers: [74, 12] Generated Node #0,1,1: 81:[74, 12] Operation: 36-24=12 Exploring Operation: 24+74=98, Resulting Numbers: [36, 98] Generated Node #0,1,2: 81:[36, 98] Operation: 24+74=98 Moving to Node #0,2,1 Current State: 81:[24, 10], Operations: ['60-36=24', '24-14=10'] Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,81 unequal: No Solution Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[24, 10], Operations: ['60-36=24', '24-14=10'] Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[14, 1], Operations: ['60-36=24', '24/24=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,81 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[84, 22], Operations: ['60+24=84', '36-14=22'] Exploring Operation: 84*22=1848, Resulting Numbers: [1848] 1848,81 unequal: No Solution Exploring Operation: 84-22=62, Resulting Numbers: [62] 62,81 unequal: No Solution Exploring Operation: 84+22=106, Resulting Numbers: [106] 106,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[74, 12], Operations: ['14+60=74', '36-24=12'] Exploring Operation: 74-12=62, Resulting Numbers: [62] 62,81 unequal: No Solution Exploring Operation: 74*12=888, Resulting Numbers: [888] 888,81 unequal: No Solution Exploring Operation: 74+12=86, Resulting Numbers: [86] 86,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[36, 6], Operations: ['60+24=84', '84/14=6'] Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,81 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[24, 38], Operations: ['14+60=74', '74-36=38'] Exploring Operation: 24*38=912, Resulting Numbers: [912] 912,81 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 24+38=62, Resulting Numbers: [62] 62,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[36, 70], Operations: ['60+24=84', '84-14=70'] Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 36+70=106, Resulting Numbers: [106] 106,81 unequal: No Solution Exploring Operation: 36*70=2520, Resulting Numbers: [2520] 2520,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[36, 98], Operations: ['14+60=74', '24+74=98'] Exploring Operation: 98-36=62, Resulting Numbers: [62] 62,81 unequal: No Solution Exploring Operation: 36+98=134, Resulting Numbers: [134] 134,81 unequal: No Solution Exploring Operation: 36*98=3528, Resulting Numbers: [3528] 3528,81 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 76, 83, 58, 16 ]
35
[ "83-76=7", "58-16=42", "42-7=35" ]
Current State: 35:[76, 83, 58, 16], Operations: [] Exploring Operation: 83-76=7, Resulting Numbers: [58, 16, 7] Generated Node #2: [58, 16, 7] from Operation: 83-76=7 Current State: 35:[58, 16, 7], Operations: ['83-76=7'] Exploring Operation: 58-16=42, Resulting Numbers: [7, 42] Generated Node #3: [7, 42] from Operation: 58-16=42 Current State: 35:[7, 42], Operations: ['83-76=7', '58-16=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[76, 83, 58, 16], Operations: [] Exploring Operation: 76-58=18, Resulting Numbers: [83, 16, 18] Generated Node #0,0: 35:[83, 16, 18] Operation: 76-58=18 Exploring Operation: 83-58=25, Resulting Numbers: [76, 16, 25] Generated Node #0,1: 35:[76, 16, 25] Operation: 83-58=25 Exploring Operation: 83-76=7, Resulting Numbers: [58, 16, 7] Generated Node #0,2: 35:[58, 16, 7] Operation: 83-76=7 Exploring Operation: 76-16=60, Resulting Numbers: [83, 58, 60] Generated Node #0,3: 35:[83, 58, 60] Operation: 76-16=60 Exploring Operation: 83-16=67, Resulting Numbers: [76, 58, 67] Generated Node #0,4: 35:[76, 58, 67] Operation: 83-16=67 Moving to Node #0,2 Current State: 35:[58, 16, 7], Operations: ['83-76=7'] Exploring Operation: 58-16=42, Resulting Numbers: [7, 42] Generated Node #0,2,0: 35:[7, 42] Operation: 58-16=42 Exploring Operation: 16-7=9, Resulting Numbers: [58, 9] Generated Node #0,2,1: 35:[58, 9] Operation: 16-7=9 Exploring Operation: 58-7=51, Resulting Numbers: [16, 51] Generated Node #0,2,2: 35:[16, 51] Operation: 58-7=51 Exploring Operation: 58+16=74, Resulting Numbers: [7, 74] Generated Node #0,2,3: 35:[7, 74] Operation: 58+16=74 Exploring Operation: 16+7=23, Resulting Numbers: [58, 23] Generated Node #0,2,4: 35:[58, 23] Operation: 16+7=23 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 35:[7, 42], Operations: ['83-76=7', '58-16=42'] Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[76, 83, 58, 16], Operations: [] Exploring Operation: 83-76=7, Resulting Numbers: [58, 16, 7] Generated Node #0,2: 35:[58, 16, 7] Operation: 83-76=7 Moving to Node #0,2 Current State: 35:[58, 16, 7], Operations: ['83-76=7'] Exploring Operation: 58-16=42, Resulting Numbers: [7, 42] Generated Node #0,2,0: 35:[7, 42] Operation: 58-16=42 Moving to Node #0,2,0 Current State: 35:[7, 42], Operations: ['83-76=7', '58-16=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 15, 93, 89, 80 ]
20
[ "93-89=4", "15*4=60", "80-60=20" ]
Current State: 20:[15, 93, 89, 80], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [15, 80, 4] Generated Node #2: [15, 80, 4] from Operation: 93-89=4 Current State: 20:[15, 80, 4], Operations: ['93-89=4'] Exploring Operation: 15*4=60, Resulting Numbers: [80, 60] Generated Node #3: [80, 60] from Operation: 15*4=60 Current State: 20:[80, 60], Operations: ['93-89=4', '15*4=60'] Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[15, 93, 89, 80], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [15, 80, 4] Generated Node #0,0: 20:[15, 80, 4] Operation: 93-89=4 Exploring Operation: 89-80=9, Resulting Numbers: [15, 93, 9] Generated Node #0,1: 20:[15, 93, 9] Operation: 89-80=9 Exploring Operation: 93-80=13, Resulting Numbers: [15, 89, 13] Generated Node #0,2: 20:[15, 89, 13] Operation: 93-80=13 Moving to Node #0,0 Current State: 20:[15, 80, 4], Operations: ['93-89=4'] Exploring Operation: 15+4=19, Resulting Numbers: [80, 19] Generated Node #0,0,0: 20:[80, 19] Operation: 15+4=19 Exploring Operation: 80-15=65, Resulting Numbers: [4, 65] Generated Node #0,0,1: 20:[4, 65] Operation: 80-15=65 Exploring Operation: 80/4=20, Resulting Numbers: [15, 20] Generated Node #0,0,2: 20:[15, 20] Operation: 80/4=20 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[15, 20], Operations: ['93-89=4', '80/4=20'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[4, 65], Operations: ['93-89=4', '80-15=65'] Exploring Operation: 4*65=260, Resulting Numbers: [260] 260,20 unequal: No Solution Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,20 unequal: No Solution Exploring Operation: 4+65=69, Resulting Numbers: [69] 69,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,0 Current State: 20:[80, 19], Operations: ['93-89=4', '15+4=19'] Exploring Operation: 80+19=99, Resulting Numbers: [99] 99,20 unequal: No Solution Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,20 unequal: No Solution Exploring Operation: 80*19=1520, Resulting Numbers: [1520] 1520,20 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: 20:[15, 89, 13], Operations: ['93-80=13'] Exploring Operation: 89-13=76, Resulting Numbers: [15, 76] Generated Node #0,2,0: 20:[15, 76] Operation: 89-13=76 Exploring Operation: 89-15=74, Resulting Numbers: [13, 74] Generated Node #0,2,1: 20:[13, 74] Operation: 89-15=74 Exploring Operation: 15-13=2, Resulting Numbers: [89, 2] Generated Node #0,2,2: 20:[89, 2] Operation: 15-13=2 Moving to Node #0,1 Current State: 20:[15, 93, 9], Operations: ['89-80=9'] Exploring Operation: 15-9=6, Resulting Numbers: [93, 6] Generated Node #0,1,0: 20:[93, 6] Operation: 15-9=6 Exploring Operation: 93-15=78, Resulting Numbers: [9, 78] Generated Node #0,1,1: 20:[9, 78] Operation: 93-15=78 Exploring Operation: 93-9=84, Resulting Numbers: [15, 84] Generated Node #0,1,2: 20:[15, 84] Operation: 93-9=84 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[9, 78], Operations: ['89-80=9', '93-15=78'] Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,20 unequal: No Solution Exploring Operation: 9+78=87, Resulting Numbers: [87] 87,20 unequal: No Solution Exploring Operation: 9*78=702, Resulting Numbers: [702] 702,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,1,2 Current State: 20:[15, 84], Operations: ['89-80=9', '93-9=84'] Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,20 unequal: No Solution Exploring Operation: 15+84=99, Resulting Numbers: [99] 99,20 unequal: No Solution Exploring Operation: 15*84=1260, Resulting Numbers: [1260] 1260,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,1,0 Current State: 20:[93, 6], Operations: ['89-80=9', '15-9=6'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,20 unequal: No Solution Exploring Operation: 93*6=558, Resulting Numbers: [558] 558,20 unequal: No Solution Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,20 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: 20:[13, 74], Operations: ['93-80=13', '89-15=74'] Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,20 unequal: No Solution Exploring Operation: 13*74=962, Resulting Numbers: [962] 962,20 unequal: No Solution Exploring Operation: 13+74=87, Resulting Numbers: [87] 87,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[15, 76], Operations: ['93-80=13', '89-13=76'] Exploring Operation: 15*76=1140, Resulting Numbers: [1140] 1140,20 unequal: No Solution Exploring Operation: 15+76=91, Resulting Numbers: [91] 91,20 unequal: No Solution Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[89, 2], Operations: ['93-80=13', '15-13=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,20 unequal: No Solution Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,20 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,20 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 94, 5, 54, 19 ]
54
[ "94-5=89", "54-19=35", "89-35=54" ]
Current State: 54:[94, 5, 54, 19], Operations: [] Exploring Operation: 94-5=89, Resulting Numbers: [54, 19, 89] Generated Node #2: [54, 19, 89] from Operation: 94-5=89 Current State: 54:[54, 19, 89], Operations: ['94-5=89'] Exploring Operation: 54-19=35, Resulting Numbers: [89, 35] Generated Node #3: [89, 35] from Operation: 54-19=35 Current State: 54:[89, 35], Operations: ['94-5=89', '54-19=35'] Exploring Operation: 89-35=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[94, 5, 54, 19], Operations: [] Exploring Operation: 94-19=75, Resulting Numbers: [5, 54, 75] Generated Node #0,0: 54:[5, 54, 75] Operation: 94-19=75 Exploring Operation: 94-54=40, Resulting Numbers: [5, 19, 40] Generated Node #0,1: 54:[5, 19, 40] Operation: 94-54=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[5, 19, 40], Operations: ['94-54=40'] Exploring Operation: 40-19=21, Resulting Numbers: [5, 21] Generated Node #0,1,0: 54:[5, 21] Operation: 40-19=21 Exploring Operation: 40/5=8, Resulting Numbers: [19, 8] Generated Node #0,1,1: 54:[19, 8] Operation: 40/5=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 54:[19, 8], Operations: ['94-54=40', '40/5=8'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,54 unequal: No Solution No 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: 54:[5, 21], Operations: ['94-54=40', '40-19=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,54 unequal: No Solution Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,54 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: 54:[5, 54, 75], Operations: ['94-19=75'] Exploring Operation: 75/5=15, Resulting Numbers: [54, 15] Generated Node #0,0,0: 54:[54, 15] Operation: 75/5=15 Exploring Operation: 75-54=21, Resulting Numbers: [5, 21] Generated Node #0,0,1: 54:[5, 21] Operation: 75-54=21 Moving to Node #0,0,0 Current State: 54:[54, 15], Operations: ['94-19=75', '75/5=15'] Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,54 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[5, 21], Operations: ['94-19=75', '75-54=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,54 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,54 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
[ 44, 83, 48, 64 ]
99
[ "48-44=4", "64/4=16", "83+16=99" ]
Current State: 99:[44, 83, 48, 64], Operations: [] Exploring Operation: 48-44=4, Resulting Numbers: [83, 64, 4] Generated Node #2: [83, 64, 4] from Operation: 48-44=4 Current State: 99:[83, 64, 4], Operations: ['48-44=4'] Exploring Operation: 64/4=16, Resulting Numbers: [83, 16] Generated Node #3: [83, 16] from Operation: 64/4=16 Current State: 99:[83, 16], Operations: ['48-44=4', '64/4=16'] Exploring Operation: 83+16=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[44, 83, 48, 64], Operations: [] Exploring Operation: 64-48=16, Resulting Numbers: [44, 83, 16] Generated Node #0,0: 99:[44, 83, 16] Operation: 64-48=16 Moving to Node #0,0 Current State: 99:[44, 83, 16], Operations: ['64-48=16'] Exploring Operation: 83-44=39, Resulting Numbers: [16, 39] Generated Node #0,0,0: 99:[16, 39] Operation: 83-44=39 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[16, 39], Operations: ['64-48=16', '83-44=39'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 80, 64, 74, 69 ]
11
[ "80-64=16", "74-69=5", "16-5=11" ]
Current State: 11:[80, 64, 74, 69], Operations: [] Exploring Operation: 80-64=16, Resulting Numbers: [74, 69, 16] Generated Node #2: [74, 69, 16] from Operation: 80-64=16 Current State: 11:[74, 69, 16], Operations: ['80-64=16'] Exploring Operation: 74-69=5, Resulting Numbers: [16, 5] Generated Node #3: [16, 5] from Operation: 74-69=5 Current State: 11:[16, 5], Operations: ['80-64=16', '74-69=5'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[80, 64, 74, 69], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [64, 69, 6] Generated Node #0,0: 11:[64, 69, 6] Operation: 80-74=6 Exploring Operation: 74-69=5, Resulting Numbers: [80, 64, 5] Generated Node #0,1: 11:[80, 64, 5] Operation: 74-69=5 Exploring Operation: 80-64=16, Resulting Numbers: [74, 69, 16] Generated Node #0,2: 11:[74, 69, 16] Operation: 80-64=16 Exploring Operation: 80-69=11, Resulting Numbers: [64, 74, 11] Generated Node #0,3: 11:[64, 74, 11] Operation: 80-69=11 Exploring Operation: 74-64=10, Resulting Numbers: [80, 69, 10] Generated Node #0,4: 11:[80, 69, 10] Operation: 74-64=10 Moving to Node #0,0 Current State: 11:[64, 69, 6], Operations: ['80-74=6'] Exploring Operation: 64-6=58, Resulting Numbers: [69, 58] Generated Node #0,0,0: 11:[69, 58] Operation: 64-6=58 Exploring Operation: 69+6=75, Resulting Numbers: [64, 75] Generated Node #0,0,1: 11:[64, 75] Operation: 69+6=75 Exploring Operation: 69-6=63, Resulting Numbers: [64, 63] Generated Node #0,0,2: 11:[64, 63] Operation: 69-6=63 Exploring Operation: 64+6=70, Resulting Numbers: [69, 70] Generated Node #0,0,3: 11:[69, 70] Operation: 64+6=70 Exploring Operation: 69-64=5, Resulting Numbers: [6, 5] Generated Node #0,0,4: 11:[6, 5] Operation: 69-64=5 Moving to Node #0,3 Current State: 11:[64, 74, 11], Operations: ['80-69=11'] Exploring Operation: 74-11=63, Resulting Numbers: [64, 63] Generated Node #0,3,0: 11:[64, 63] Operation: 74-11=63 Exploring Operation: 64+74=138, Resulting Numbers: [11, 138] Generated Node #0,3,1: 11:[11, 138] Operation: 64+74=138 Exploring Operation: 64-11=53, Resulting Numbers: [74, 53] Generated Node #0,3,2: 11:[74, 53] Operation: 64-11=53 Exploring Operation: 74-64=10, Resulting Numbers: [11, 10] Generated Node #0,3,3: 11:[11, 10] Operation: 74-64=10 Exploring Operation: 64+11=75, Resulting Numbers: [74, 75] Generated Node #0,3,4: 11:[74, 75] Operation: 64+11=75 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[11, 10], Operations: ['80-69=11', '74-64=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,11 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,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,3,0 Current State: 11:[64, 63], Operations: ['80-69=11', '74-11=63'] Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 64+63=127, Resulting Numbers: [127] 127,11 unequal: No Solution Exploring Operation: 64*63=4032, Resulting Numbers: [4032] 4032,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,3,2 Current State: 11:[74, 53], Operations: ['80-69=11', '64-11=53'] Exploring Operation: 74+53=127, Resulting Numbers: [127] 127,11 unequal: No Solution Exploring Operation: 74*53=3922, Resulting Numbers: [3922] 3922,11 unequal: No Solution Exploring Operation: 74-53=21, Resulting Numbers: [21] 21,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,3,1 Current State: 11:[11, 138], Operations: ['80-69=11', '64+74=138'] Exploring Operation: 11*138=1518, Resulting Numbers: [1518] 1518,11 unequal: No Solution Exploring Operation: 11+138=149, Resulting Numbers: [149] 149,11 unequal: No Solution Exploring Operation: 138-11=127, Resulting Numbers: [127] 127,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,3,4 Current State: 11:[74, 75], Operations: ['80-69=11', '64+11=75'] Exploring Operation: 75-74=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 74+75=149, Resulting Numbers: [149] 149,11 unequal: No Solution Exploring Operation: 74*75=5550, Resulting Numbers: [5550] 5550,11 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: 11:[74, 69, 16], Operations: ['80-64=16'] Exploring Operation: 74+69=143, Resulting Numbers: [16, 143] Generated Node #0,2,0: 11:[16, 143] Operation: 74+69=143 Exploring Operation: 69-16=53, Resulting Numbers: [74, 53] Generated Node #0,2,1: 11:[74, 53] Operation: 69-16=53 Exploring Operation: 74+16=90, Resulting Numbers: [69, 90] Generated Node #0,2,2: 11:[69, 90] Operation: 74+16=90 Exploring Operation: 74-16=58, Resulting Numbers: [69, 58] Generated Node #0,2,3: 11:[69, 58] Operation: 74-16=58 Exploring Operation: 74-69=5, Resulting Numbers: [16, 5] Generated Node #0,2,4: 11:[16, 5] Operation: 74-69=5 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 11:[16, 5], Operations: ['80-64=16', '74-69=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[80, 64, 74, 69], Operations: [] Exploring Operation: 80-64=16, Resulting Numbers: [74, 69, 16] Generated Node #0,2: 11:[74, 69, 16] Operation: 80-64=16 Moving to Node #0,2 Current State: 11:[74, 69, 16], Operations: ['80-64=16'] Exploring Operation: 74-69=5, Resulting Numbers: [16, 5] Generated Node #0,2,4: 11:[16, 5] Operation: 74-69=5 Moving to Node #0,2,4 Current State: 11:[16, 5], Operations: ['80-64=16', '74-69=5'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 47, 17, 67, 79 ]
18
[ "47-17=30", "79-67=12", "30-12=18" ]
Current State: 18:[47, 17, 67, 79], Operations: [] Exploring Operation: 47-17=30, Resulting Numbers: [67, 79, 30] Generated Node #2: [67, 79, 30] from Operation: 47-17=30 Current State: 18:[67, 79, 30], Operations: ['47-17=30'] Exploring Operation: 79-67=12, Resulting Numbers: [30, 12] Generated Node #3: [30, 12] from Operation: 79-67=12 Current State: 18:[30, 12], Operations: ['47-17=30', '79-67=12'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[47, 17, 67, 79], Operations: [] Exploring Operation: 79-47=32, Resulting Numbers: [17, 67, 32] Generated Node #0,0: 18:[17, 67, 32] Operation: 79-47=32 Exploring Operation: 67-47=20, Resulting Numbers: [17, 79, 20] Generated Node #0,1: 18:[17, 79, 20] Operation: 67-47=20 Exploring Operation: 47-17=30, Resulting Numbers: [67, 79, 30] Generated Node #0,2: 18:[67, 79, 30] Operation: 47-17=30 Exploring Operation: 79-67=12, Resulting Numbers: [47, 17, 12] Generated Node #0,3: 18:[47, 17, 12] Operation: 79-67=12 Moving to Node #0,3 Current State: 18:[47, 17, 12], Operations: ['79-67=12'] Exploring Operation: 17+12=29, Resulting Numbers: [47, 29] Generated Node #0,3,0: 18:[47, 29] Operation: 17+12=29 Exploring Operation: 47-17=30, Resulting Numbers: [12, 30] Generated Node #0,3,1: 18:[12, 30] Operation: 47-17=30 Exploring Operation: 17-12=5, Resulting Numbers: [47, 5] Generated Node #0,3,2: 18:[47, 5] Operation: 17-12=5 Exploring Operation: 47-12=35, Resulting Numbers: [17, 35] Generated Node #0,3,3: 18:[17, 35] Operation: 47-12=35 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 18:[12, 30], Operations: ['79-67=12', '47-17=30'] Exploring Operation: 12*30=360, Resulting Numbers: [360] 360,18 unequal: No Solution Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,18 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[47, 17, 67, 79], Operations: [] Exploring Operation: 79-67=12, Resulting Numbers: [47, 17, 12] Generated Node #0,3: 18:[47, 17, 12] Operation: 79-67=12 Moving to Node #0,3 Current State: 18:[47, 17, 12], Operations: ['79-67=12'] Exploring Operation: 47-17=30, Resulting Numbers: [12, 30] Generated Node #0,3,1: 18:[12, 30] Operation: 47-17=30 Moving to Node #0,3,1 Current State: 18:[12, 30], Operations: ['79-67=12', '47-17=30'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 16, 18, 5, 62 ]
25
[ "18+62=80", "80/16=5", "5*5=25" ]
Current State: 25:[16, 18, 5, 62], Operations: [] Exploring Operation: 18+62=80, Resulting Numbers: [16, 5, 80] Generated Node #2: [16, 5, 80] from Operation: 18+62=80 Current State: 25:[16, 5, 80], Operations: ['18+62=80'] Exploring Operation: 80/16=5, Resulting Numbers: [5, 5] Generated Node #3: [5, 5] from Operation: 80/16=5 Current State: 25:[5, 5], Operations: ['18+62=80', '80/16=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[16, 18, 5, 62], Operations: [] Exploring Operation: 62-18=44, Resulting Numbers: [16, 5, 44] Generated Node #0,0: 25:[16, 5, 44] Operation: 62-18=44 Exploring Operation: 62-16=46, Resulting Numbers: [18, 5, 46] Generated Node #0,1: 25:[18, 5, 46] Operation: 62-16=46 Exploring Operation: 18-16=2, Resulting Numbers: [5, 62, 2] Generated Node #0,2: 25:[5, 62, 2] Operation: 18-16=2 Exploring Operation: 16+5=21, Resulting Numbers: [18, 62, 21] Generated Node #0,3: 25:[18, 62, 21] Operation: 16+5=21 Exploring Operation: 16+18=34, Resulting Numbers: [5, 62, 34] Generated Node #0,4: 25:[5, 62, 34] Operation: 16+18=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[16, 5, 44], Operations: ['62-18=44'] Exploring Operation: 44-5=39, Resulting Numbers: [16, 39] Generated Node #0,0,0: 25:[16, 39] Operation: 44-5=39 Exploring Operation: 5+44=49, Resulting Numbers: [16, 49] Generated Node #0,0,1: 25:[16, 49] Operation: 5+44=49 Exploring Operation: 44-16=28, Resulting Numbers: [5, 28] Generated Node #0,0,2: 25:[5, 28] Operation: 44-16=28 Exploring Operation: 16+5=21, Resulting Numbers: [44, 21] Generated Node #0,0,3: 25:[44, 21] Operation: 16+5=21 Exploring Operation: 16-5=11, Resulting Numbers: [44, 11] Generated Node #0,0,4: 25:[44, 11] Operation: 16-5=11 Moving to Node #0,0,2 Current State: 25:[5, 28], Operations: ['62-18=44', '44-16=28'] Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,25 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[44, 21], Operations: ['62-18=44', '16+5=21'] Exploring Operation: 44*21=924, Resulting Numbers: [924] 924,25 unequal: No Solution Exploring Operation: 44+21=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[16, 39], Operations: ['62-18=44', '44-5=39'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 16*39=624, Resulting Numbers: [624] 624,25 unequal: No Solution Moving to Node #0,0,4 Current State: 25:[44, 11], Operations: ['62-18=44', '16-5=11'] Exploring Operation: 44+11=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 44*11=484, Resulting Numbers: [484] 484,25 unequal: No Solution Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 44/11=4, Resulting Numbers: [4] 4,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[16, 49], Operations: ['62-18=44', '5+44=49'] Exploring Operation: 16*49=784, Resulting Numbers: [784] 784,25 unequal: No Solution Exploring Operation: 16+49=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[18, 5, 46], Operations: ['62-16=46'] Exploring Operation: 46-5=41, Resulting Numbers: [18, 41] Generated Node #0,1,0: 25:[18, 41] Operation: 46-5=41 Exploring Operation: 46-18=28, Resulting Numbers: [5, 28] Generated Node #0,1,1: 25:[5, 28] Operation: 46-18=28 Exploring Operation: 18-5=13, Resulting Numbers: [46, 13] Generated Node #0,1,2: 25:[46, 13] Operation: 18-5=13 Exploring Operation: 18+5=23, Resulting Numbers: [46, 23] Generated Node #0,1,3: 25:[46, 23] Operation: 18+5=23 Exploring Operation: 5+46=51, Resulting Numbers: [18, 51] Generated Node #0,1,4: 25:[18, 51] Operation: 5+46=51 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[5, 28], Operations: ['62-16=46', '46-18=28'] Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,25 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[18, 41], Operations: ['62-16=46', '46-5=41'] Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 18*41=738, Resulting Numbers: [738] 738,25 unequal: No Solution Exploring Operation: 18+41=59, Resulting Numbers: [59] 59,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 25:[46, 23], Operations: ['62-16=46', '18+5=23'] Exploring Operation: 46+23=69, Resulting Numbers: [69] 69,25 unequal: No Solution Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 46*23=1058, Resulting Numbers: [1058] 1058,25 unequal: No Solution Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[46, 13], Operations: ['62-16=46', '18-5=13'] Exploring Operation: 46+13=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 46*13=598, Resulting Numbers: [598] 598,25 unequal: No Solution Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 25:[18, 51], Operations: ['62-16=46', '5+46=51'] Exploring Operation: 18*51=918, Resulting Numbers: [918] 918,25 unequal: No Solution Exploring Operation: 18+51=69, Resulting Numbers: [69] 69,25 unequal: No Solution Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[5, 62, 2], Operations: ['18-16=2'] Exploring Operation: 5+2=7, Resulting Numbers: [62, 7] Generated Node #0,2,0: 25:[62, 7] Operation: 5+2=7 Exploring Operation: 5-2=3, Resulting Numbers: [62, 3] Generated Node #0,2,1: 25:[62, 3] Operation: 5-2=3 Exploring Operation: 62-5=57, Resulting Numbers: [2, 57] Generated Node #0,2,2: 25:[2, 57] Operation: 62-5=57 Exploring Operation: 62/2=31, Resulting Numbers: [5, 31] Generated Node #0,2,3: 25:[5, 31] Operation: 62/2=31 Exploring Operation: 62-2=60, Resulting Numbers: [5, 60] Generated Node #0,2,4: 25:[5, 60] Operation: 62-2=60 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 25:[5, 31], Operations: ['18-16=2', '62/2=31'] Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,25 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 25:[2, 57], Operations: ['18-16=2', '62-5=57'] Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,25 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 25:[5, 60], Operations: ['18-16=2', '62-2=60'] Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,25 unequal: No Solution Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 5*60=300, Resulting Numbers: [300] 300,25 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 25:[62, 7], Operations: ['18-16=2', '5+2=7'] Exploring Operation: 62*7=434, Resulting Numbers: [434] 434,25 unequal: No Solution Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,25 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 25:[62, 3], Operations: ['18-16=2', '5-2=3'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 62*3=186, Resulting Numbers: [186] 186,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 25:[5, 62, 34], Operations: ['16+18=34'] Exploring Operation: 5+62=67, Resulting Numbers: [34, 67] Generated Node #0,4,0: 25:[34, 67] Operation: 5+62=67 Exploring Operation: 62-5=57, Resulting Numbers: [34, 57] Generated Node #0,4,1: 25:[34, 57] Operation: 62-5=57 Exploring Operation: 5+34=39, Resulting Numbers: [62, 39] Generated Node #0,4,2: 25:[62, 39] Operation: 5+34=39 Exploring Operation: 34-5=29, Resulting Numbers: [62, 29] Generated Node #0,4,3: 25:[62, 29] Operation: 34-5=29 Exploring Operation: 62-34=28, Resulting Numbers: [5, 28] Generated Node #0,4,4: 25:[5, 28] Operation: 62-34=28 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 25:[5, 28], Operations: ['16+18=34', '62-34=28'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 25:[34, 57], Operations: ['16+18=34', '62-5=57'] Exploring Operation: 34+57=91, Resulting Numbers: [91] 91,25 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 34*57=1938, Resulting Numbers: [1938] 1938,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 25:[62, 29], Operations: ['16+18=34', '34-5=29'] Exploring Operation: 62-29=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 62*29=1798, Resulting Numbers: [1798] 1798,25 unequal: No Solution Exploring Operation: 62+29=91, Resulting Numbers: [91] 91,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 25:[34, 67], Operations: ['16+18=34', '5+62=67'] Exploring Operation: 34+67=101, Resulting Numbers: [101] 101,25 unequal: No Solution Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 34*67=2278, Resulting Numbers: [2278] 2278,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 25:[62, 39], Operations: ['16+18=34', '5+34=39'] Exploring Operation: 62*39=2418, Resulting Numbers: [2418] 2418,25 unequal: No Solution Exploring Operation: 62+39=101, Resulting Numbers: [101] 101,25 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,25 unequal: No Solution No solution found. Exit Sub Search at level 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: 25:[18, 62, 21], Operations: ['16+5=21'] Exploring Operation: 18+62=80, Resulting Numbers: [21, 80] Generated Node #0,3,0: 25:[21, 80] Operation: 18+62=80 Exploring Operation: 62-21=41, Resulting Numbers: [18, 41] Generated Node #0,3,1: 25:[18, 41] Operation: 62-21=41 Exploring Operation: 21-18=3, Resulting Numbers: [62, 3] Generated Node #0,3,2: 25:[62, 3] Operation: 21-18=3 Exploring Operation: 18+21=39, Resulting Numbers: [62, 39] Generated Node #0,3,3: 25:[62, 39] Operation: 18+21=39 Exploring Operation: 62-18=44, Resulting Numbers: [21, 44] Generated Node #0,3,4: 25:[21, 44] Operation: 62-18=44 Moving to Node #0,3,1 Current State: 25:[18, 41], Operations: ['16+5=21', '62-21=41'] Exploring Operation: 18*41=738, Resulting Numbers: [738] 738,25 unequal: No Solution Exploring Operation: 18+41=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,25 unequal: No Solution Moving to Node #0,3,4 Current State: 25:[21, 44], Operations: ['16+5=21', '62-18=44'] Exploring Operation: 21*44=924, Resulting Numbers: [924] 924,25 unequal: No Solution Exploring Operation: 21+44=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[62, 3], Operations: ['16+5=21', '21-18=3'] Exploring Operation: 62*3=186, Resulting Numbers: [186] 186,25 unequal: No Solution Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[62, 39], Operations: ['16+5=21', '18+21=39'] Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 62+39=101, Resulting Numbers: [101] 101,25 unequal: No Solution Exploring Operation: 62*39=2418, Resulting Numbers: [2418] 2418,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[21, 80], Operations: ['16+5=21', '18+62=80'] Exploring Operation: 21+80=101, Resulting Numbers: [101] 101,25 unequal: No Solution Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 21*80=1680, Resulting Numbers: [1680] 1680,25 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
[ 59, 29, 18, 37 ]
69
[ "59+29=88", "37-18=19", "88-19=69" ]
Current State: 69:[59, 29, 18, 37], Operations: [] Exploring Operation: 59+29=88, Resulting Numbers: [18, 37, 88] Generated Node #2: [18, 37, 88] from Operation: 59+29=88 Current State: 69:[18, 37, 88], Operations: ['59+29=88'] Exploring Operation: 37-18=19, Resulting Numbers: [88, 19] Generated Node #3: [88, 19] from Operation: 37-18=19 Current State: 69:[88, 19], Operations: ['59+29=88', '37-18=19'] Exploring Operation: 88-19=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[59, 29, 18, 37], Operations: [] Exploring Operation: 37-18=19, Resulting Numbers: [59, 29, 19] Generated Node #0,0: 69:[59, 29, 19] Operation: 37-18=19 Exploring Operation: 37-29=8, Resulting Numbers: [59, 18, 8] Generated Node #0,1: 69:[59, 18, 8] Operation: 37-29=8 Exploring Operation: 59-37=22, Resulting Numbers: [29, 18, 22] Generated Node #0,2: 69:[29, 18, 22] Operation: 59-37=22 Exploring Operation: 29+37=66, Resulting Numbers: [59, 18, 66] Generated Node #0,3: 69:[59, 18, 66] Operation: 29+37=66 Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[29, 18, 22], Operations: ['59-37=22'] Exploring Operation: 29-18=11, Resulting Numbers: [22, 11] Generated Node #0,2,0: 69:[22, 11] Operation: 29-18=11 Exploring Operation: 29-22=7, Resulting Numbers: [18, 7] Generated Node #0,2,1: 69:[18, 7] Operation: 29-22=7 Exploring Operation: 22-18=4, Resulting Numbers: [29, 4] Generated Node #0,2,2: 69:[29, 4] Operation: 22-18=4 Exploring Operation: 29+18=47, Resulting Numbers: [22, 47] Generated Node #0,2,3: 69:[22, 47] Operation: 29+18=47 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 69:[29, 4], Operations: ['59-37=22', '22-18=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,69 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 69:[22, 11], Operations: ['59-37=22', '29-18=11'] Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,69 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,69 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 22*11=242, Resulting Numbers: [242] 242,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 69:[18, 7], Operations: ['59-37=22', '29-22=7'] Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,69 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 69:[22, 47], Operations: ['59-37=22', '29+18=47'] Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 22+47=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[59, 29, 18, 37], Operations: [] Exploring Operation: 59-37=22, Resulting Numbers: [29, 18, 22] Generated Node #0,2: 69:[29, 18, 22] Operation: 59-37=22 Moving to Node #0,2 Current State: 69:[29, 18, 22], Operations: ['59-37=22'] Exploring Operation: 29+18=47, Resulting Numbers: [22, 47] Generated Node #0,2,3: 69:[22, 47] Operation: 29+18=47 Moving to Node #0,2,3 Current State: 69:[22, 47], Operations: ['59-37=22', '29+18=47'] Exploring Operation: 22+47=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 1, 10, 83, 1 ]
83
[ "1-1=0", "10*0=0", "83+0=83" ]
Current State: 83:[1, 10, 83, 1], Operations: [] Exploring Operation: 1-1=0, Resulting Numbers: [10, 83, 0] Generated Node #2: [10, 83, 0] from Operation: 1-1=0 Current State: 83:[10, 83, 0], Operations: ['1-1=0'] Exploring Operation: 10*0=0, Resulting Numbers: [83, 0] Generated Node #3: [83, 0] from Operation: 10*0=0 Current State: 83:[83, 0], Operations: ['1-1=0', '10*0=0'] Exploring Operation: 83+0=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[1, 10, 83, 1], Operations: [] Exploring Operation: 1+10=11, Resulting Numbers: [83, 1, 11] Generated Node #0,0: 83:[83, 1, 11] Operation: 1+10=11 Moving to Node #0,0 Current State: 83:[83, 1, 11], Operations: ['1+10=11'] Exploring Operation: 1+11=12, Resulting Numbers: [83, 12] Generated Node #0,0,0: 83:[83, 12] Operation: 1+11=12 Moving to Node #0,0,0 Current State: 83:[83, 12], Operations: ['1+10=11', '1+11=12'] Exploring Operation: 83+12=95, Resulting Numbers: [95] 95,83 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 70, 41, 64, 5 ]
81
[ "70-41=29", "5*29=145", "145-64=81" ]
Current State: 81:[70, 41, 64, 5], Operations: [] Exploring Operation: 70-41=29, Resulting Numbers: [64, 5, 29] Generated Node #2: [64, 5, 29] from Operation: 70-41=29 Current State: 81:[64, 5, 29], Operations: ['70-41=29'] Exploring Operation: 5*29=145, Resulting Numbers: [64, 145] Generated Node #3: [64, 145] from Operation: 5*29=145 Current State: 81:[64, 145], Operations: ['70-41=29', '5*29=145'] Exploring Operation: 145-64=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[70, 41, 64, 5], Operations: [] Exploring Operation: 64-41=23, Resulting Numbers: [70, 5, 23] Generated Node #0,0: 81:[70, 5, 23] Operation: 64-41=23 Exploring Operation: 70-64=6, Resulting Numbers: [41, 5, 6] Generated Node #0,1: 81:[41, 5, 6] Operation: 70-64=6 Moving to Node #0,0 Current State: 81:[70, 5, 23], Operations: ['64-41=23'] Exploring Operation: 70/5=14, Resulting Numbers: [23, 14] Generated Node #0,0,0: 81:[23, 14] Operation: 70/5=14 Exploring Operation: 70+5=75, Resulting Numbers: [23, 75] Generated Node #0,0,1: 81:[23, 75] Operation: 70+5=75 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[23, 14], Operations: ['64-41=23', '70/5=14'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[23, 75], Operations: ['64-41=23', '70+5=75'] Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,81 unequal: No Solution Exploring Operation: 23+75=98, Resulting Numbers: [98] 98,81 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: 81:[41, 5, 6], Operations: ['70-64=6'] Exploring Operation: 41-5=36, Resulting Numbers: [6, 36] Generated Node #0,1,0: 81:[6, 36] Operation: 41-5=36 Exploring Operation: 41-6=35, Resulting Numbers: [5, 35] Generated Node #0,1,1: 81:[5, 35] Operation: 41-6=35 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[5, 35], Operations: ['70-64=6', '41-6=35'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[6, 36], Operations: ['70-64=6', '41-5=36'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 31, 3, 26, 34 ]
15
[ "31+26=57", "57/3=19", "34-19=15" ]
Current State: 15:[31, 3, 26, 34], Operations: [] Exploring Operation: 31+26=57, Resulting Numbers: [3, 34, 57] Generated Node #2: [3, 34, 57] from Operation: 31+26=57 Current State: 15:[3, 34, 57], Operations: ['31+26=57'] Exploring Operation: 57/3=19, Resulting Numbers: [34, 19] Generated Node #3: [34, 19] from Operation: 57/3=19 Current State: 15:[34, 19], Operations: ['31+26=57', '57/3=19'] Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[31, 3, 26, 34], Operations: [] Exploring Operation: 34-31=3, Resulting Numbers: [3, 26, 3] Generated Node #0,0: 15:[3, 26, 3] Operation: 34-31=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[3, 26, 3], Operations: ['34-31=3'] Exploring Operation: 26-3=23, Resulting Numbers: [3, 23] Generated Node #0,0,0: 15:[3, 23] Operation: 26-3=23 Moving to Node #0,0,0 Current State: 15:[3, 23], Operations: ['34-31=3', '26-3=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,15 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
[ 86, 78, 37, 52 ]
23
[ "86-78=8", "52-37=15", "8+15=23" ]
Current State: 23:[86, 78, 37, 52], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [37, 52, 8] Generated Node #2: [37, 52, 8] from Operation: 86-78=8 Current State: 23:[37, 52, 8], Operations: ['86-78=8'] Exploring Operation: 52-37=15, Resulting Numbers: [8, 15] Generated Node #3: [8, 15] from Operation: 52-37=15 Current State: 23:[8, 15], Operations: ['86-78=8', '52-37=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[86, 78, 37, 52], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [37, 52, 8] Generated Node #0,0: 23:[37, 52, 8] Operation: 86-78=8 Moving to Node #0,0 Current State: 23:[37, 52, 8], Operations: ['86-78=8'] Exploring Operation: 52-37=15, Resulting Numbers: [8, 15] Generated Node #0,0,0: 23:[8, 15] Operation: 52-37=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[8, 15], Operations: ['86-78=8', '52-37=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[86, 78, 37, 52], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [37, 52, 8] Generated Node #0,0: 23:[37, 52, 8] Operation: 86-78=8 Moving to Node #0,0 Current State: 23:[37, 52, 8], Operations: ['86-78=8'] Exploring Operation: 52-37=15, Resulting Numbers: [8, 15] Generated Node #0,0,0: 23:[8, 15] Operation: 52-37=15 Moving to Node #0,0,0 Current State: 23:[8, 15], Operations: ['86-78=8', '52-37=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 48, 77, 24, 24 ]
51
[ "48/24=2", "77-24=53", "53-2=51" ]
Current State: 51:[48, 77, 24, 24], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [77, 2] Generated Node #2: [77, 2] from Operation: 48/24=2 Current State: 51:[77, 2], Operations: ['48/24=2'] Exploring Operation: 77-24=53, Resulting Numbers: [2, 53] Generated Node #3: [2, 53] from Operation: 77-24=53 Current State: 51:[2, 53], Operations: ['48/24=2', '77-24=53'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[48, 77, 24, 24], Operations: [] Exploring Operation: 77-24=53, Resulting Numbers: [48, 24, 53] Generated Node #0,0: 51:[48, 24, 53] Operation: 77-24=53 Exploring Operation: 77-24=53, Resulting Numbers: [48, 24, 53] Generated Node #0,1: 51:[48, 24, 53] Operation: 77-24=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[48, 24, 53], Operations: ['77-24=53'] Exploring Operation: 48/24=2, Resulting Numbers: [53, 2] Generated Node #0,0,0: 51:[53, 2] Operation: 48/24=2 Exploring Operation: 48-24=24, Resulting Numbers: [53, 24] Generated Node #0,0,1: 51:[53, 24] Operation: 48-24=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[53, 2], Operations: ['77-24=53', '48/24=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[48, 77, 24, 24], Operations: [] Exploring Operation: 77-24=53, Resulting Numbers: [48, 24, 53] Generated Node #0,0: 51:[48, 24, 53] Operation: 77-24=53 Moving to Node #0,0 Current State: 51:[48, 24, 53], Operations: ['77-24=53'] Exploring Operation: 48/24=2, Resulting Numbers: [53, 2] Generated Node #0,0,0: 51:[53, 2] Operation: 48/24=2 Moving to Node #0,0,0 Current State: 51:[53, 2], Operations: ['77-24=53', '48/24=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 44, 13, 36, 46 ]
98
[ "46-44=2", "13+36=49", "2*49=98" ]
Current State: 98:[44, 13, 36, 46], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [13, 36, 2] Generated Node #2: [13, 36, 2] from Operation: 46-44=2 Current State: 98:[13, 36, 2], Operations: ['46-44=2'] Exploring Operation: 13+36=49, Resulting Numbers: [2, 49] Generated Node #3: [2, 49] from Operation: 13+36=49 Current State: 98:[2, 49], Operations: ['46-44=2', '13+36=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[44, 13, 36, 46], Operations: [] Exploring Operation: 13+36=49, Resulting Numbers: [44, 46, 49] Generated Node #0,0: 98:[44, 46, 49] Operation: 13+36=49 Exploring Operation: 46-36=10, Resulting Numbers: [44, 13, 10] Generated Node #0,1: 98:[44, 13, 10] Operation: 46-36=10 Exploring Operation: 44-36=8, Resulting Numbers: [13, 46, 8] Generated Node #0,2: 98:[13, 46, 8] Operation: 44-36=8 Moving to Node #0,2 Current State: 98:[13, 46, 8], Operations: ['44-36=8'] Exploring Operation: 13-8=5, Resulting Numbers: [46, 5] Generated Node #0,2,0: 98:[46, 5] Operation: 13-8=5 Exploring Operation: 13*8=104, Resulting Numbers: [46, 104] Generated Node #0,2,1: 98:[46, 104] Operation: 13*8=104 Exploring Operation: 46+8=54, Resulting Numbers: [13, 54] Generated Node #0,2,2: 98:[13, 54] Operation: 46+8=54 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 98:[46, 5], Operations: ['44-36=8', '13-8=5'] Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 46*5=230, Resulting Numbers: [230] 230,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 98:[13, 54], Operations: ['44-36=8', '46+8=54'] Exploring Operation: 13*54=702, Resulting Numbers: [702] 702,98 unequal: No Solution Exploring Operation: 13+54=67, Resulting Numbers: [67] 67,98 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 98:[46, 104], Operations: ['44-36=8', '13*8=104'] Exploring Operation: 46+104=150, Resulting Numbers: [150] 150,98 unequal: No Solution Exploring Operation: 46*104=4784, Resulting Numbers: [4784] 4784,98 unequal: No Solution Exploring Operation: 104-46=58, Resulting Numbers: [58] 58,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 98:[44, 46, 49], Operations: ['13+36=49'] Exploring Operation: 49-46=3, Resulting Numbers: [44, 3] Generated Node #0,0,0: 98:[44, 3] Operation: 49-46=3 Exploring Operation: 49-44=5, Resulting Numbers: [46, 5] Generated Node #0,0,1: 98:[46, 5] Operation: 49-44=5 Exploring Operation: 46-44=2, Resulting Numbers: [49, 2] Generated Node #0,0,2: 98:[49, 2] Operation: 46-44=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 98:[49, 2], Operations: ['13+36=49', '46-44=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,98 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[44, 13, 36, 46], Operations: [] Exploring Operation: 13+36=49, Resulting Numbers: [44, 46, 49] Generated Node #0,0: 98:[44, 46, 49] Operation: 13+36=49 Moving to Node #0,0 Current State: 98:[44, 46, 49], Operations: ['13+36=49'] Exploring Operation: 46-44=2, Resulting Numbers: [49, 2] Generated Node #0,0,2: 98:[49, 2] Operation: 46-44=2 Moving to Node #0,0,2 Current State: 98:[49, 2], Operations: ['13+36=49', '46-44=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 18, 26, 14, 15 ]
97
[ "26-18=8", "14*8=112", "112-15=97" ]
Current State: 97:[18, 26, 14, 15], Operations: [] Exploring Operation: 26-18=8, Resulting Numbers: [14, 15, 8] Generated Node #2: [14, 15, 8] from Operation: 26-18=8 Current State: 97:[14, 15, 8], Operations: ['26-18=8'] Exploring Operation: 14*8=112, Resulting Numbers: [15, 112] Generated Node #3: [15, 112] from Operation: 14*8=112 Current State: 97:[15, 112], Operations: ['26-18=8', '14*8=112'] Exploring Operation: 112-15=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[18, 26, 14, 15], Operations: [] Exploring Operation: 18+15=33, Resulting Numbers: [26, 14, 33] Generated Node #0,0: 97:[26, 14, 33] Operation: 18+15=33 Exploring Operation: 26+14=40, Resulting Numbers: [18, 15, 40] Generated Node #0,1: 97:[18, 15, 40] Operation: 26+14=40 Exploring Operation: 18+14=32, Resulting Numbers: [26, 15, 32] Generated Node #0,2: 97:[26, 15, 32] Operation: 18+14=32 Exploring Operation: 18+26=44, Resulting Numbers: [14, 15, 44] Generated Node #0,3: 97:[14, 15, 44] Operation: 18+26=44 Moving to Node #0,0 Current State: 97:[26, 14, 33], Operations: ['18+15=33'] Exploring Operation: 26+14=40, Resulting Numbers: [33, 40] Generated Node #0,0,0: 97:[33, 40] Operation: 26+14=40 Exploring Operation: 14+33=47, Resulting Numbers: [26, 47] Generated Node #0,0,1: 97:[26, 47] Operation: 14+33=47 Exploring Operation: 26+33=59, Resulting Numbers: [14, 59] Generated Node #0,0,2: 97:[14, 59] Operation: 26+33=59 Exploring Operation: 26-14=12, Resulting Numbers: [33, 12] Generated Node #0,0,3: 97:[33, 12] Operation: 26-14=12 Moving to Node #0,2 Current State: 97:[26, 15, 32], Operations: ['18+14=32'] Exploring Operation: 26-15=11, Resulting Numbers: [32, 11] Generated Node #0,2,0: 97:[32, 11] Operation: 26-15=11 Exploring Operation: 15+32=47, Resulting Numbers: [26, 47] Generated Node #0,2,1: 97:[26, 47] Operation: 15+32=47 Exploring Operation: 26+32=58, Resulting Numbers: [15, 58] Generated Node #0,2,2: 97:[15, 58] Operation: 26+32=58 Exploring Operation: 26+15=41, Resulting Numbers: [32, 41] Generated Node #0,2,3: 97:[32, 41] Operation: 26+15=41 Moving to Node #0,1 Current State: 97:[18, 15, 40], Operations: ['26+14=40'] Exploring Operation: 15+40=55, Resulting Numbers: [18, 55] Generated Node #0,1,0: 97:[18, 55] Operation: 15+40=55 Exploring Operation: 18-15=3, Resulting Numbers: [40, 3] Generated Node #0,1,1: 97:[40, 3] Operation: 18-15=3 Exploring Operation: 18+15=33, Resulting Numbers: [40, 33] Generated Node #0,1,2: 97:[40, 33] Operation: 18+15=33 Exploring Operation: 18+40=58, Resulting Numbers: [15, 58] Generated Node #0,1,3: 97:[15, 58] Operation: 18+40=58 Moving to Node #0,3 Current State: 97:[14, 15, 44], Operations: ['18+26=44'] Exploring Operation: 15+44=59, Resulting Numbers: [14, 59] Generated Node #0,3,0: 97:[14, 59] Operation: 15+44=59 Exploring Operation: 14+15=29, Resulting Numbers: [44, 29] Generated Node #0,3,1: 97:[44, 29] Operation: 14+15=29 Exploring Operation: 14+44=58, Resulting Numbers: [15, 58] Generated Node #0,3,2: 97:[15, 58] Operation: 14+44=58 Exploring Operation: 15-14=1, Resulting Numbers: [44, 1] Generated Node #0,3,3: 97:[44, 1] Operation: 15-14=1 Moving to Node #0,0,0 Current State: 97:[33, 40], Operations: ['18+15=33', '26+14=40'] Exploring Operation: 33+40=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 33*40=1320, Resulting Numbers: [1320] 1320,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[14, 59], Operations: ['18+15=33', '26+33=59'] Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 14*59=826, Resulting Numbers: [826] 826,97 unequal: No Solution Exploring Operation: 14+59=73, Resulting Numbers: [73] 73,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[32, 41], Operations: ['18+14=32', '26+15=41'] Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 32*41=1312, Resulting Numbers: [1312] 1312,97 unequal: No Solution Exploring Operation: 32+41=73, Resulting Numbers: [73] 73,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[15, 58], Operations: ['18+26=44', '14+44=58'] Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 15*58=870, Resulting Numbers: [870] 870,97 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[44, 29], Operations: ['18+26=44', '14+15=29'] Exploring Operation: 44-29=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 44+29=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 44*29=1276, Resulting Numbers: [1276] 1276,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[15, 58], Operations: ['18+14=32', '26+32=58'] Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 15*58=870, Resulting Numbers: [870] 870,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[14, 59], Operations: ['18+26=44', '15+44=59'] Exploring Operation: 14*59=826, Resulting Numbers: [826] 826,97 unequal: No Solution Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 14+59=73, Resulting Numbers: [73] 73,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[15, 58], Operations: ['26+14=40', '18+40=58'] Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 15*58=870, Resulting Numbers: [870] 870,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[40, 33], Operations: ['26+14=40', '18+15=33'] Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 40*33=1320, Resulting Numbers: [1320] 1320,97 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[26, 47], Operations: ['18+15=33', '14+33=47'] Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[26, 47], Operations: ['18+14=32', '15+32=47'] Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[18, 55], Operations: ['26+14=40', '15+40=55'] Exploring Operation: 18*55=990, Resulting Numbers: [990] 990,97 unequal: No Solution Exploring Operation: 18+55=73, Resulting Numbers: [73] 73,97 unequal: No Solution Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[33, 12], Operations: ['18+15=33', '26-14=12'] Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[44, 1], Operations: ['18+26=44', '15-14=1'] Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,97 unequal: No Solution Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[32, 11], Operations: ['18+14=32', '26-15=11'] Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[40, 3], Operations: ['26+14=40', '18-15=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,97 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,97 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 57, 53, 11, 23 ]
33
[ "57+53=110", "110/11=10", "23+10=33" ]
Current State: 33:[57, 53, 11, 23], Operations: [] Exploring Operation: 57+53=110, Resulting Numbers: [11, 23, 110] Generated Node #2: [11, 23, 110] from Operation: 57+53=110 Current State: 33:[11, 23, 110], Operations: ['57+53=110'] Exploring Operation: 110/11=10, Resulting Numbers: [23, 10] Generated Node #3: [23, 10] from Operation: 110/11=10 Current State: 33:[23, 10], Operations: ['57+53=110', '110/11=10'] Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[57, 53, 11, 23], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [11, 23, 4] Generated Node #0,0: 33:[11, 23, 4] Operation: 57-53=4 Exploring Operation: 57-23=34, Resulting Numbers: [53, 11, 34] Generated Node #0,1: 33:[53, 11, 34] Operation: 57-23=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[11, 23, 4], Operations: ['57-53=4'] Exploring Operation: 11+23=34, Resulting Numbers: [4, 34] Generated Node #0,0,0: 33:[4, 34] Operation: 11+23=34 Exploring Operation: 23-11=12, Resulting Numbers: [4, 12] Generated Node #0,0,1: 33:[4, 12] Operation: 23-11=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[4, 34], Operations: ['57-53=4', '11+23=34'] Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[4, 12], Operations: ['57-53=4', '23-11=12'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[53, 11, 34], Operations: ['57-23=34'] Exploring Operation: 53-11=42, Resulting Numbers: [34, 42] Generated Node #0,1,0: 33:[34, 42] Operation: 53-11=42 Exploring Operation: 53-34=19, Resulting Numbers: [11, 19] Generated Node #0,1,1: 33:[11, 19] Operation: 53-34=19 Moving to Node #0,1,1 Current State: 33:[11, 19], Operations: ['57-23=34', '53-34=19'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[34, 42], Operations: ['57-23=34', '53-11=42'] Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 34+42=76, Resulting Numbers: [76] 76,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 45, 36, 29, 27 ]
34
[ "36-27=9", "45/9=5", "29+5=34" ]
Current State: 34:[45, 36, 29, 27], Operations: [] Exploring Operation: 36-27=9, Resulting Numbers: [45, 29, 9] Generated Node #2: [45, 29, 9] from Operation: 36-27=9 Current State: 34:[45, 29, 9], Operations: ['36-27=9'] Exploring Operation: 45/9=5, Resulting Numbers: [29, 5] Generated Node #3: [29, 5] from Operation: 45/9=5 Current State: 34:[29, 5], Operations: ['36-27=9', '45/9=5'] Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[45, 36, 29, 27], Operations: [] Exploring Operation: 45-27=18, Resulting Numbers: [36, 29, 18] Generated Node #0,0: 34:[36, 29, 18] Operation: 45-27=18 Exploring Operation: 45-36=9, Resulting Numbers: [29, 27, 9] Generated Node #0,1: 34:[29, 27, 9] Operation: 45-36=9 Exploring Operation: 45-29=16, Resulting Numbers: [36, 27, 16] Generated Node #0,2: 34:[36, 27, 16] Operation: 45-29=16 Exploring Operation: 36-29=7, Resulting Numbers: [45, 27, 7] Generated Node #0,3: 34:[45, 27, 7] Operation: 36-29=7 Exploring Operation: 29-27=2, Resulting Numbers: [45, 36, 2] Generated Node #0,4: 34:[45, 36, 2] Operation: 29-27=2 Moving to Node #0,0 Current State: 34:[36, 29, 18], Operations: ['45-27=18'] Exploring Operation: 29-18=11, Resulting Numbers: [36, 11] Generated Node #0,0,0: 34:[36, 11] Operation: 29-18=11 Exploring Operation: 36/18=2, Resulting Numbers: [29, 2] Generated Node #0,0,1: 34:[29, 2] Operation: 36/18=2 Exploring Operation: 36-18=18, Resulting Numbers: [29, 18] Generated Node #0,0,2: 34:[29, 18] Operation: 36-18=18 Exploring Operation: 29+18=47, Resulting Numbers: [36, 47] Generated Node #0,0,3: 34:[36, 47] Operation: 29+18=47 Exploring Operation: 36-29=7, Resulting Numbers: [18, 7] Generated Node #0,0,4: 34:[18, 7] Operation: 36-29=7 Moving to Node #0,2 Current State: 34:[36, 27, 16], Operations: ['45-29=16'] Exploring Operation: 36+16=52, Resulting Numbers: [27, 52] Generated Node #0,2,0: 34:[27, 52] Operation: 36+16=52 Exploring Operation: 27-16=11, Resulting Numbers: [36, 11] Generated Node #0,2,1: 34:[36, 11] Operation: 27-16=11 Exploring Operation: 36-27=9, Resulting Numbers: [16, 9] Generated Node #0,2,2: 34:[16, 9] Operation: 36-27=9 Exploring Operation: 27+16=43, Resulting Numbers: [36, 43] Generated Node #0,2,3: 34:[36, 43] Operation: 27+16=43 Exploring Operation: 36-16=20, Resulting Numbers: [27, 20] Generated Node #0,2,4: 34:[27, 20] Operation: 36-16=20 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 34:[36, 11], Operations: ['45-29=16', '27-16=11'] Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,34 unequal: No Solution Exploring Operation: 36*11=396, Resulting Numbers: [396] 396,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 34:[16, 9], Operations: ['45-29=16', '36-27=9'] Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,34 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 34:[27, 20], Operations: ['45-29=16', '36-16=20'] Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,34 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 27*20=540, Resulting Numbers: [540] 540,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 34:[36, 43], Operations: ['45-29=16', '27+16=43'] Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 36+43=79, Resulting Numbers: [79] 79,34 unequal: No Solution Exploring Operation: 36*43=1548, Resulting Numbers: [1548] 1548,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[27, 52], Operations: ['45-29=16', '36+16=52'] Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,34 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,34 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: 34:[45, 36, 2], Operations: ['29-27=2'] Exploring Operation: 36/2=18, Resulting Numbers: [45, 18] Generated Node #0,4,0: 34:[45, 18] Operation: 36/2=18 Exploring Operation: 45-36=9, Resulting Numbers: [2, 9] Generated Node #0,4,1: 34:[2, 9] Operation: 45-36=9 Exploring Operation: 45+2=47, Resulting Numbers: [36, 47] Generated Node #0,4,2: 34:[36, 47] Operation: 45+2=47 Exploring Operation: 45-2=43, Resulting Numbers: [36, 43] Generated Node #0,4,3: 34:[36, 43] Operation: 45-2=43 Exploring Operation: 36-2=34, Resulting Numbers: [45, 34] Generated Node #0,4,4: 34:[45, 34] Operation: 36-2=34 Moving to Node #0,1 Current State: 34:[29, 27, 9], Operations: ['45-36=9'] Exploring Operation: 29-27=2, Resulting Numbers: [9, 2] Generated Node #0,1,0: 34:[9, 2] Operation: 29-27=2 Exploring Operation: 27+9=36, Resulting Numbers: [29, 36] Generated Node #0,1,1: 34:[29, 36] Operation: 27+9=36 Exploring Operation: 27/9=3, Resulting Numbers: [29, 3] Generated Node #0,1,2: 34:[29, 3] Operation: 27/9=3 Exploring Operation: 27-9=18, Resulting Numbers: [29, 18] Generated Node #0,1,3: 34:[29, 18] Operation: 27-9=18 Exploring Operation: 29-9=20, Resulting Numbers: [27, 20] Generated Node #0,1,4: 34:[27, 20] Operation: 29-9=20 Moving to Node #0,3 Current State: 34:[45, 27, 7], Operations: ['36-29=7'] Exploring Operation: 27-7=20, Resulting Numbers: [45, 20] Generated Node #0,3,0: 34:[45, 20] Operation: 27-7=20 Exploring Operation: 45-7=38, Resulting Numbers: [27, 38] Generated Node #0,3,1: 34:[27, 38] Operation: 45-7=38 Exploring Operation: 45+7=52, Resulting Numbers: [27, 52] Generated Node #0,3,2: 34:[27, 52] Operation: 45+7=52 Exploring Operation: 27+7=34, Resulting Numbers: [45, 34] Generated Node #0,3,3: 34:[45, 34] Operation: 27+7=34 Exploring Operation: 45-27=18, Resulting Numbers: [7, 18] Generated Node #0,3,4: 34:[7, 18] Operation: 45-27=18 Moving to Node #0,0,1 Current State: 34:[29, 2], Operations: ['45-27=18', '36/18=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,34 unequal: No Solution Moving to Node #0,0,4 Current State: 34:[18, 7], Operations: ['45-27=18', '36-29=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,34 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,34 unequal: No Solution Moving to Node #0,1,3 Current State: 34:[29, 18], Operations: ['45-36=9', '27-9=18'] Exploring Operation: 29*18=522, Resulting Numbers: [522] 522,34 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 29+18=47, Resulting Numbers: [47] 47,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[29, 18], Operations: ['45-27=18', '36-18=18'] Exploring Operation: 29*18=522, Resulting Numbers: [522] 522,34 unequal: No Solution Exploring Operation: 29+18=47, Resulting Numbers: [47] 47,34 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[29, 3], Operations: ['45-36=9', '27/9=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,34 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,34 unequal: No Solution Moving to Node #0,3,4 Current State: 34:[7, 18], Operations: ['36-29=7', '45-27=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,34 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[29, 36], Operations: ['45-36=9', '27+9=36'] Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,34 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[9, 2], Operations: ['45-36=9', '29-27=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,34 unequal: No Solution Moving to Node #0,4,1 Current State: 34:[2, 9], Operations: ['29-27=2', '45-36=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[36, 11], Operations: ['45-27=18', '29-18=11'] Exploring Operation: 36*11=396, Resulting Numbers: [396] 396,34 unequal: No Solution Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,34 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,34 unequal: No Solution Moving to Node #0,1,4 Current State: 34:[27, 20], Operations: ['45-36=9', '29-9=20'] Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,34 unequal: No Solution Exploring Operation: 27*20=540, Resulting Numbers: [540] 540,34 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,34 unequal: No Solution Moving to Node #0,4,3 Current State: 34:[36, 43], Operations: ['29-27=2', '45-2=43'] Exploring Operation: 36*43=1548, Resulting Numbers: [1548] 1548,34 unequal: No Solution Exploring Operation: 36+43=79, Resulting Numbers: [79] 79,34 unequal: No Solution Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,34 unequal: No Solution Moving to Node #0,3,3 Current State: 34:[45, 34], Operations: ['36-29=7', '27+7=34'] Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,34 unequal: No Solution Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,34 unequal: No Solution Moving to Node #0,3,1 Current State: 34:[27, 38], Operations: ['36-29=7', '45-7=38'] Exploring Operation: 27+38=65, Resulting Numbers: [65] 65,34 unequal: No Solution Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 27*38=1026, Resulting Numbers: [1026] 1026,34 unequal: No Solution Moving to Node #0,4,4 Current State: 34:[45, 34], Operations: ['29-27=2', '36-2=34'] Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,34 unequal: No Solution Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,34 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,34 unequal: No Solution Moving to Node #0,4,0 Current State: 34:[45, 18], Operations: ['29-27=2', '36/2=18'] Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,34 unequal: No Solution Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,34 unequal: No Solution Moving to Node #0,3,0 Current State: 34:[45, 20], Operations: ['36-29=7', '27-7=20'] Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,34 unequal: No Solution Exploring Operation: 45*20=900, Resulting Numbers: [900] 900,34 unequal: No Solution Exploring Operation: 45+20=65, Resulting Numbers: [65] 65,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[36, 47], Operations: ['45-27=18', '29+18=47'] Exploring Operation: 36*47=1692, Resulting Numbers: [1692] 1692,34 unequal: No Solution Exploring Operation: 36+47=83, Resulting Numbers: [83] 83,34 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,34 unequal: No Solution Moving to Node #0,4,2 Current State: 34:[36, 47], Operations: ['29-27=2', '45+2=47'] Exploring Operation: 36*47=1692, Resulting Numbers: [1692] 1692,34 unequal: No Solution Exploring Operation: 47-36=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 36+47=83, Resulting Numbers: [83] 83,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[27, 52], Operations: ['36-29=7', '45+7=52'] Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,34 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,34 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,34 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 59, 10, 16, 85 ]
52
[ "59-10=49", "16+85=101", "101-49=52" ]
Current State: 52:[59, 10, 16, 85], Operations: [] Exploring Operation: 59-10=49, Resulting Numbers: [16, 85, 49] Generated Node #2: [16, 85, 49] from Operation: 59-10=49 Current State: 52:[16, 85, 49], Operations: ['59-10=49'] Exploring Operation: 16+85=101, Resulting Numbers: [49, 101] Generated Node #3: [49, 101] from Operation: 16+85=101 Current State: 52:[49, 101], Operations: ['59-10=49', '16+85=101'] Exploring Operation: 101-49=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[59, 10, 16, 85], Operations: [] Exploring Operation: 85-59=26, Resulting Numbers: [10, 16, 26] Generated Node #0,0: 52:[10, 16, 26] Operation: 85-59=26 Moving to Node #0,0 Current State: 52:[10, 16, 26], Operations: ['85-59=26'] Exploring Operation: 10+16=26, Resulting Numbers: [26, 26] Generated Node #0,0,0: 52:[26, 26] Operation: 10+16=26 Moving to Node #0,0,0 Current State: 52:[26, 26], Operations: ['85-59=26', '10+16=26'] Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[59, 10, 16, 85], Operations: [] Exploring Operation: 85-59=26, Resulting Numbers: [10, 16, 26] Generated Node #0,0: 52:[10, 16, 26] Operation: 85-59=26 Moving to Node #0,0 Current State: 52:[10, 16, 26], Operations: ['85-59=26'] Exploring Operation: 10+16=26, Resulting Numbers: [26, 26] Generated Node #0,0,0: 52:[26, 26] Operation: 10+16=26 Moving to Node #0,0,0 Current State: 52:[26, 26], Operations: ['85-59=26', '10+16=26'] Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 21, 25, 98, 62 ]
10
[ "21+25=46", "98-62=36", "46-36=10" ]
Current State: 10:[21, 25, 98, 62], Operations: [] Exploring Operation: 21+25=46, Resulting Numbers: [98, 62, 46] Generated Node #2: [98, 62, 46] from Operation: 21+25=46 Current State: 10:[98, 62, 46], Operations: ['21+25=46'] Exploring Operation: 98-62=36, Resulting Numbers: [46, 36] Generated Node #3: [46, 36] from Operation: 98-62=36 Current State: 10:[46, 36], Operations: ['21+25=46', '98-62=36'] Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[21, 25, 98, 62], Operations: [] Exploring Operation: 98-25=73, Resulting Numbers: [21, 62, 73] Generated Node #0,0: 10:[21, 62, 73] Operation: 98-25=73 Exploring Operation: 98-62=36, Resulting Numbers: [21, 25, 36] Generated Node #0,1: 10:[21, 25, 36] Operation: 98-62=36 Exploring Operation: 62-25=37, Resulting Numbers: [21, 98, 37] Generated Node #0,2: 10:[21, 98, 37] Operation: 62-25=37 Exploring Operation: 98-21=77, Resulting Numbers: [25, 62, 77] Generated Node #0,3: 10:[25, 62, 77] Operation: 98-21=77 Exploring Operation: 62-21=41, Resulting Numbers: [25, 98, 41] Generated Node #0,4: 10:[25, 98, 41] Operation: 62-21=41 Moving to Node #0,1 Current State: 10:[21, 25, 36], Operations: ['98-62=36'] Exploring Operation: 36-25=11, Resulting Numbers: [21, 11] Generated Node #0,1,0: 10:[21, 11] Operation: 36-25=11 Exploring Operation: 21+36=57, Resulting Numbers: [25, 57] Generated Node #0,1,1: 10:[25, 57] Operation: 21+36=57 Exploring Operation: 21+25=46, Resulting Numbers: [36, 46] Generated Node #0,1,2: 10:[36, 46] Operation: 21+25=46 Exploring Operation: 25-21=4, Resulting Numbers: [36, 4] Generated Node #0,1,3: 10:[36, 4] Operation: 25-21=4 Exploring Operation: 36-21=15, Resulting Numbers: [25, 15] Generated Node #0,1,4: 10:[25, 15] Operation: 36-21=15 Moving to Node #0,2 Current State: 10:[21, 98, 37], Operations: ['62-25=37'] Exploring Operation: 98-21=77, Resulting Numbers: [37, 77] Generated Node #0,2,0: 10:[37, 77] Operation: 98-21=77 Exploring Operation: 98-37=61, Resulting Numbers: [21, 61] Generated Node #0,2,1: 10:[21, 61] Operation: 98-37=61 Exploring Operation: 37-21=16, Resulting Numbers: [98, 16] Generated Node #0,2,2: 10:[98, 16] Operation: 37-21=16 Exploring Operation: 21+98=119, Resulting Numbers: [37, 119] Generated Node #0,2,3: 10:[37, 119] Operation: 21+98=119 Exploring Operation: 21+37=58, Resulting Numbers: [98, 58] Generated Node #0,2,4: 10:[98, 58] Operation: 21+37=58 Moving to Node #0,0 Current State: 10:[21, 62, 73], Operations: ['98-25=73'] Exploring Operation: 21+62=83, Resulting Numbers: [73, 83] Generated Node #0,0,0: 10:[73, 83] Operation: 21+62=83 Exploring Operation: 73-62=11, Resulting Numbers: [21, 11] Generated Node #0,0,1: 10:[21, 11] Operation: 73-62=11 Exploring Operation: 62-21=41, Resulting Numbers: [73, 41] Generated Node #0,0,2: 10:[73, 41] Operation: 62-21=41 Exploring Operation: 73-21=52, Resulting Numbers: [62, 52] Generated Node #0,0,3: 10:[62, 52] Operation: 73-21=52 Exploring Operation: 21+73=94, Resulting Numbers: [62, 94] Generated Node #0,0,4: 10:[62, 94] Operation: 21+73=94 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[21, 11], Operations: ['98-25=73', '73-62=11'] Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,10 unequal: No Solution Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[21, 25, 98, 62], Operations: [] Exploring Operation: 98-25=73, Resulting Numbers: [21, 62, 73] Generated Node #0,0: 10:[21, 62, 73] Operation: 98-25=73 Moving to Node #0,0 Current State: 10:[21, 62, 73], Operations: ['98-25=73'] Exploring Operation: 73-62=11, Resulting Numbers: [21, 11] Generated Node #0,0,1: 10:[21, 11] Operation: 73-62=11 Moving to Node #0,0,1 Current State: 10:[21, 11], Operations: ['98-25=73', '73-62=11'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 35, 46, 33, 82 ]
87
[ "35-33=2", "82/2=41", "46+41=87" ]
Current State: 87:[35, 46, 33, 82], Operations: [] Exploring Operation: 35-33=2, Resulting Numbers: [46, 82, 2] Generated Node #2: [46, 82, 2] from Operation: 35-33=2 Current State: 87:[46, 82, 2], Operations: ['35-33=2'] Exploring Operation: 82/2=41, Resulting Numbers: [46, 41] Generated Node #3: [46, 41] from Operation: 82/2=41 Current State: 87:[46, 41], Operations: ['35-33=2', '82/2=41'] Exploring Operation: 46+41=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[35, 46, 33, 82], Operations: [] Exploring Operation: 35+46=81, Resulting Numbers: [33, 82, 81] Generated Node #0,0: 87:[33, 82, 81] Operation: 35+46=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[33, 82, 81], Operations: ['35+46=81'] Exploring Operation: 82-81=1, Resulting Numbers: [33, 1] Generated Node #0,0,0: 87:[33, 1] Operation: 82-81=1 Moving to Node #0,0,0 Current State: 87:[33, 1], Operations: ['35+46=81', '82-81=1'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,87 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
[ 23, 2, 22, 44 ]
92
[ "23*2=46", "44/22=2", "46*2=92" ]
Current State: 92:[23, 2, 22, 44], Operations: [] Exploring Operation: 23*2=46, Resulting Numbers: [22, 44, 46] Generated Node #2: [22, 44, 46] from Operation: 23*2=46 Current State: 92:[22, 44, 46], Operations: ['23*2=46'] Exploring Operation: 44/22=2, Resulting Numbers: [46, 2] Generated Node #3: [46, 2] from Operation: 44/22=2 Current State: 92:[46, 2], Operations: ['23*2=46', '44/22=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[23, 2, 22, 44], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [23, 2, 2] Generated Node #0,0: 92:[23, 2, 2] Operation: 44/22=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[23, 2, 2], Operations: ['44/22=2'] Exploring Operation: 23*2=46, Resulting Numbers: [2, 46] Generated Node #0,0,0: 92:[2, 46] Operation: 23*2=46 Moving to Node #0,0,0 Current State: 92:[2, 46], Operations: ['44/22=2', '23*2=46'] Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[23, 2, 22, 44], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [23, 2, 2] Generated Node #0,0: 92:[23, 2, 2] Operation: 44/22=2 Moving to Node #0,0 Current State: 92:[23, 2, 2], Operations: ['44/22=2'] Exploring Operation: 23*2=46, Resulting Numbers: [2, 46] Generated Node #0,0,0: 92:[2, 46] Operation: 23*2=46 Moving to Node #0,0,0 Current State: 92:[2, 46], Operations: ['44/22=2', '23*2=46'] Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic