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
[ 43, 82, 11, 63 ]
91
[ "82-43=39", "63-11=52", "39+52=91" ]
Current State: 91:[43, 82, 11, 63], Operations: [] Exploring Operation: 82-43=39, Resulting Numbers: [11, 63, 39] Generated Node #2: [11, 63, 39] from Operation: 82-43=39 Current State: 91:[11, 63, 39], Operations: ['82-43=39'] Exploring Operation: 63-11=52, Resulting Numbers: [39, 52] Generated Node #3: [39, 52] from Operation: 63-11=52 Current State: 91:[39, 52], Operations: ['82-43=39', '63-11=52'] Exploring Operation: 39+52=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[43, 82, 11, 63], Operations: [] Exploring Operation: 82-43=39, Resulting Numbers: [11, 63, 39] Generated Node #0,0: 91:[11, 63, 39] Operation: 82-43=39 Exploring Operation: 63-43=20, Resulting Numbers: [82, 11, 20] Generated Node #0,1: 91:[82, 11, 20] Operation: 63-43=20 Exploring Operation: 43+63=106, Resulting Numbers: [82, 11, 106] Generated Node #0,2: 91:[82, 11, 106] Operation: 43+63=106 Exploring Operation: 82-63=19, Resulting Numbers: [43, 11, 19] Generated Node #0,3: 91:[43, 11, 19] Operation: 82-63=19 Moving to Node #0,1 Current State: 91:[82, 11, 20], Operations: ['63-43=20'] Exploring Operation: 82+11=93, Resulting Numbers: [20, 93] Generated Node #0,1,0: 91:[20, 93] Operation: 82+11=93 Exploring Operation: 20-11=9, Resulting Numbers: [82, 9] Generated Node #0,1,1: 91:[82, 9] Operation: 20-11=9 Exploring Operation: 82+20=102, Resulting Numbers: [11, 102] Generated Node #0,1,2: 91:[11, 102] Operation: 82+20=102 Exploring Operation: 82-11=71, Resulting Numbers: [20, 71] Generated Node #0,1,3: 91:[20, 71] Operation: 82-11=71 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[20, 93], Operations: ['63-43=20', '82+11=93'] Exploring Operation: 20*93=1860, Resulting Numbers: [1860] 1860,91 unequal: No Solution Exploring Operation: 93-20=73, Resulting Numbers: [73] 73,91 unequal: No Solution Exploring Operation: 20+93=113, Resulting Numbers: [113] 113,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,1 Current State: 91:[82, 9], Operations: ['63-43=20', '20-11=9'] Exploring Operation: 82+9=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[43, 82, 11, 63], Operations: [] Exploring Operation: 63-43=20, Resulting Numbers: [82, 11, 20] Generated Node #0,1: 91:[82, 11, 20] Operation: 63-43=20 Moving to Node #0,1 Current State: 91:[82, 11, 20], Operations: ['63-43=20'] Exploring Operation: 20-11=9, Resulting Numbers: [82, 9] Generated Node #0,1,1: 91:[82, 9] Operation: 20-11=9 Moving to Node #0,1,1 Current State: 91:[82, 9], Operations: ['63-43=20', '20-11=9'] Exploring Operation: 82+9=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 10, 54, 3, 19 ]
95
[ "54-19=35", "3*35=105", "105-10=95" ]
Current State: 95:[10, 54, 3, 19], Operations: [] Exploring Operation: 54-19=35, Resulting Numbers: [10, 3, 35] Generated Node #2: [10, 3, 35] from Operation: 54-19=35 Current State: 95:[10, 3, 35], Operations: ['54-19=35'] Exploring Operation: 3*35=105, Resulting Numbers: [10, 105] Generated Node #3: [10, 105] from Operation: 3*35=105 Current State: 95:[10, 105], Operations: ['54-19=35', '3*35=105'] Exploring Operation: 105-10=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[10, 54, 3, 19], Operations: [] Exploring Operation: 54-19=35, Resulting Numbers: [10, 3, 35] Generated Node #0,0: 95:[10, 3, 35] Operation: 54-19=35 Exploring Operation: 54-10=44, Resulting Numbers: [3, 19, 44] Generated Node #0,1: 95:[3, 19, 44] Operation: 54-10=44 Exploring Operation: 54+19=73, Resulting Numbers: [10, 3, 73] Generated Node #0,2: 95:[10, 3, 73] Operation: 54+19=73 Exploring Operation: 54/3=18, Resulting Numbers: [10, 19, 18] Generated Node #0,3: 95:[10, 19, 18] Operation: 54/3=18 Moving to Node #0,3 Current State: 95:[10, 19, 18], Operations: ['54/3=18'] Exploring Operation: 18-10=8, Resulting Numbers: [19, 8] Generated Node #0,3,0: 95:[19, 8] Operation: 18-10=8 Exploring Operation: 10+18=28, Resulting Numbers: [19, 28] Generated Node #0,3,1: 95:[19, 28] Operation: 10+18=28 Exploring Operation: 19-10=9, Resulting Numbers: [18, 9] Generated Node #0,3,2: 95:[18, 9] Operation: 19-10=9 Exploring Operation: 19-18=1, Resulting Numbers: [10, 1] Generated Node #0,3,3: 95:[10, 1] Operation: 19-18=1 Moving to Node #0,0 Current State: 95:[10, 3, 35], Operations: ['54-19=35'] Exploring Operation: 10-3=7, Resulting Numbers: [35, 7] Generated Node #0,0,0: 95:[35, 7] Operation: 10-3=7 Exploring Operation: 3*35=105, Resulting Numbers: [10, 105] Generated Node #0,0,1: 95:[10, 105] Operation: 3*35=105 Exploring Operation: 35-10=25, Resulting Numbers: [3, 25] Generated Node #0,0,2: 95:[3, 25] Operation: 35-10=25 Exploring Operation: 35-3=32, Resulting Numbers: [10, 32] Generated Node #0,0,3: 95:[10, 32] Operation: 35-3=32 Moving to Node #0,1 Current State: 95:[3, 19, 44], Operations: ['54-10=44'] Exploring Operation: 44-19=25, Resulting Numbers: [3, 25] Generated Node #0,1,0: 95:[3, 25] Operation: 44-19=25 Exploring Operation: 44-3=41, Resulting Numbers: [19, 41] Generated Node #0,1,1: 95:[19, 41] Operation: 44-3=41 Exploring Operation: 3+19=22, Resulting Numbers: [44, 22] Generated Node #0,1,2: 95:[44, 22] Operation: 3+19=22 Exploring Operation: 19-3=16, Resulting Numbers: [44, 16] Generated Node #0,1,3: 95:[44, 16] Operation: 19-3=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[3, 25], Operations: ['54-10=44', '44-19=25'] Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,95 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,95 unequal: No Solution Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[19, 41], Operations: ['54-10=44', '44-3=41'] Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,95 unequal: No Solution Exploring Operation: 19+41=60, Resulting Numbers: [60] 60,95 unequal: No Solution Exploring Operation: 19*41=779, Resulting Numbers: [779] 779,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[44, 22], Operations: ['54-10=44', '3+19=22'] Exploring Operation: 44*22=968, Resulting Numbers: [968] 968,95 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,95 unequal: No Solution Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,95 unequal: No Solution Exploring Operation: 44+22=66, Resulting Numbers: [66] 66,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 95:[44, 16], Operations: ['54-10=44', '19-3=16'] Exploring Operation: 44*16=704, Resulting Numbers: [704] 704,95 unequal: No Solution Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,95 unequal: No Solution Exploring Operation: 44+16=60, Resulting Numbers: [60] 60,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 95:[10, 3, 73], Operations: ['54+19=73'] Exploring Operation: 3+73=76, Resulting Numbers: [10, 76] Generated Node #0,2,0: 95:[10, 76] Operation: 3+73=76 Exploring Operation: 10-3=7, Resulting Numbers: [73, 7] Generated Node #0,2,1: 95:[73, 7] Operation: 10-3=7 Exploring Operation: 10+73=83, Resulting Numbers: [3, 83] Generated Node #0,2,2: 95:[3, 83] Operation: 10+73=83 Exploring Operation: 10+3=13, Resulting Numbers: [73, 13] Generated Node #0,2,3: 95:[73, 13] Operation: 10+3=13 Moving to Node #0,3,0 Current State: 95:[19, 8], Operations: ['54/3=18', '18-10=8'] Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 19*8=152, Resulting Numbers: [152] 152,95 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[18, 9], Operations: ['54/3=18', '19-10=9'] Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 18*9=162, Resulting Numbers: [162] 162,95 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,95 unequal: No Solution Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[3, 25], Operations: ['54-19=35', '35-10=25'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,95 unequal: No Solution Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,95 unequal: No Solution Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[19, 28], Operations: ['54/3=18', '10+18=28'] Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,95 unequal: No Solution Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,95 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[10, 1], Operations: ['54/3=18', '19-18=1'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[3, 83], Operations: ['54+19=73', '10+73=83'] Exploring Operation: 3*83=249, Resulting Numbers: [249] 249,95 unequal: No Solution Exploring Operation: 3+83=86, Resulting Numbers: [86] 86,95 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[10, 105], Operations: ['54-19=35', '3*35=105'] Exploring Operation: 10+105=115, Resulting Numbers: [115] 115,95 unequal: No Solution Exploring Operation: 10*105=1050, Resulting Numbers: [1050] 1050,95 unequal: No Solution Exploring Operation: 105-10=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[10, 54, 3, 19], Operations: [] Exploring Operation: 54-19=35, Resulting Numbers: [10, 3, 35] Generated Node #0,0: 95:[10, 3, 35] Operation: 54-19=35 Moving to Node #0,0 Current State: 95:[10, 3, 35], Operations: ['54-19=35'] Exploring Operation: 3*35=105, Resulting Numbers: [10, 105] Generated Node #0,0,1: 95:[10, 105] Operation: 3*35=105 Moving to Node #0,0,1 Current State: 95:[10, 105], Operations: ['54-19=35', '3*35=105'] Exploring Operation: 105-10=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.947917
hs_4
sum_heuristic
[ 19, 55, 13, 80 ]
22
[ "19+13=32", "55*32=1760", "1760/80=22" ]
Current State: 22:[19, 55, 13, 80], Operations: [] Exploring Operation: 19+13=32, Resulting Numbers: [55, 80, 32] Generated Node #2: [55, 80, 32] from Operation: 19+13=32 Current State: 22:[55, 80, 32], Operations: ['19+13=32'] Exploring Operation: 55*32=1760, Resulting Numbers: [80, 1760] Generated Node #3: [80, 1760] from Operation: 55*32=1760 Current State: 22:[80, 1760], Operations: ['19+13=32', '55*32=1760'] Exploring Operation: 1760/80=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[19, 55, 13, 80], Operations: [] Exploring Operation: 80-13=67, Resulting Numbers: [19, 55, 67] Generated Node #0,0: 22:[19, 55, 67] Operation: 80-13=67 Exploring Operation: 55-13=42, Resulting Numbers: [19, 80, 42] Generated Node #0,1: 22:[19, 80, 42] Operation: 55-13=42 Exploring Operation: 80-55=25, Resulting Numbers: [19, 13, 25] Generated Node #0,2: 22:[19, 13, 25] Operation: 80-55=25 Exploring Operation: 80-19=61, Resulting Numbers: [55, 13, 61] Generated Node #0,3: 22:[55, 13, 61] Operation: 80-19=61 Exploring Operation: 55-19=36, Resulting Numbers: [13, 80, 36] Generated Node #0,4: 22:[13, 80, 36] Operation: 55-19=36 Moving to Node #0,2 Current State: 22:[19, 13, 25], Operations: ['80-55=25'] Exploring Operation: 19+13=32, Resulting Numbers: [25, 32] Generated Node #0,2,0: 22:[25, 32] Operation: 19+13=32 Exploring Operation: 25-19=6, Resulting Numbers: [13, 6] Generated Node #0,2,1: 22:[13, 6] Operation: 25-19=6 Exploring Operation: 19-13=6, Resulting Numbers: [25, 6] Generated Node #0,2,2: 22:[25, 6] Operation: 19-13=6 Exploring Operation: 25-13=12, Resulting Numbers: [19, 12] Generated Node #0,2,3: 22:[19, 12] Operation: 25-13=12 Exploring Operation: 13+25=38, Resulting Numbers: [19, 38] Generated Node #0,2,4: 22:[19, 38] Operation: 13+25=38 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 22:[19, 12], Operations: ['80-55=25', '25-13=12'] Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 19*12=228, Resulting Numbers: [228] 228,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[13, 6], Operations: ['80-55=25', '25-19=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,22 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 22:[25, 6], Operations: ['80-55=25', '19-13=6'] Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,22 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 22:[25, 32], Operations: ['80-55=25', '19+13=32'] Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,22 unequal: No Solution Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 22:[19, 38], Operations: ['80-55=25', '13+25=38'] Exploring Operation: 19*38=722, Resulting Numbers: [722] 722,22 unequal: No Solution Exploring Operation: 19+38=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,22 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: 22:[13, 80, 36], Operations: ['55-19=36'] Exploring Operation: 80-13=67, Resulting Numbers: [36, 67] Generated Node #0,4,0: 22:[36, 67] Operation: 80-13=67 Exploring Operation: 13+36=49, Resulting Numbers: [80, 49] Generated Node #0,4,1: 22:[80, 49] Operation: 13+36=49 Exploring Operation: 36-13=23, Resulting Numbers: [80, 23] Generated Node #0,4,2: 22:[80, 23] Operation: 36-13=23 Exploring Operation: 80-36=44, Resulting Numbers: [13, 44] Generated Node #0,4,3: 22:[13, 44] Operation: 80-36=44 Exploring Operation: 13+80=93, Resulting Numbers: [36, 93] Generated Node #0,4,4: 22:[36, 93] Operation: 13+80=93 Moving to Node #0,3 Current State: 22:[55, 13, 61], Operations: ['80-19=61'] Exploring Operation: 55+13=68, Resulting Numbers: [61, 68] Generated Node #0,3,0: 22:[61, 68] Operation: 55+13=68 Exploring Operation: 55-13=42, Resulting Numbers: [61, 42] Generated Node #0,3,1: 22:[61, 42] Operation: 55-13=42 Exploring Operation: 61-13=48, Resulting Numbers: [55, 48] Generated Node #0,3,2: 22:[55, 48] Operation: 61-13=48 Exploring Operation: 61-55=6, Resulting Numbers: [13, 6] Generated Node #0,3,3: 22:[13, 6] Operation: 61-55=6 Exploring Operation: 13+61=74, Resulting Numbers: [55, 74] Generated Node #0,3,4: 22:[55, 74] Operation: 13+61=74 Moving to Node #0,0 Current State: 22:[19, 55, 67], Operations: ['80-13=67'] Exploring Operation: 67-55=12, Resulting Numbers: [19, 12] Generated Node #0,0,0: 22:[19, 12] Operation: 67-55=12 Exploring Operation: 19+67=86, Resulting Numbers: [55, 86] Generated Node #0,0,1: 22:[55, 86] Operation: 19+67=86 Exploring Operation: 55-19=36, Resulting Numbers: [67, 36] Generated Node #0,0,2: 22:[67, 36] Operation: 55-19=36 Exploring Operation: 19+55=74, Resulting Numbers: [67, 74] Generated Node #0,0,3: 22:[67, 74] Operation: 19+55=74 Exploring Operation: 67-19=48, Resulting Numbers: [55, 48] Generated Node #0,0,4: 22:[55, 48] Operation: 67-19=48 Moving to Node #0,1 Current State: 22:[19, 80, 42], Operations: ['55-13=42'] Exploring Operation: 80-42=38, Resulting Numbers: [19, 38] Generated Node #0,1,0: 22:[19, 38] Operation: 80-42=38 Exploring Operation: 19+42=61, Resulting Numbers: [80, 61] Generated Node #0,1,1: 22:[80, 61] Operation: 19+42=61 Exploring Operation: 80-19=61, Resulting Numbers: [42, 61] Generated Node #0,1,2: 22:[42, 61] Operation: 80-19=61 Exploring Operation: 19+80=99, Resulting Numbers: [42, 99] Generated Node #0,1,3: 22:[42, 99] Operation: 19+80=99 Exploring Operation: 42-19=23, Resulting Numbers: [80, 23] Generated Node #0,1,4: 22:[80, 23] Operation: 42-19=23 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[19, 38], Operations: ['55-13=42', '80-42=38'] Exploring Operation: 19+38=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 19*38=722, Resulting Numbers: [722] 722,22 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 22:[42, 61], Operations: ['55-13=42', '80-19=61'] Exploring Operation: 42+61=103, Resulting Numbers: [103] 103,22 unequal: No Solution Exploring Operation: 61-42=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 42*61=2562, Resulting Numbers: [2562] 2562,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 22:[80, 23], Operations: ['55-13=42', '42-19=23'] Exploring Operation: 80+23=103, Resulting Numbers: [103] 103,22 unequal: No Solution Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 80*23=1840, Resulting Numbers: [1840] 1840,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[80, 61], Operations: ['55-13=42', '19+42=61'] Exploring Operation: 80+61=141, Resulting Numbers: [141] 141,22 unequal: No Solution Exploring Operation: 80-61=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 80*61=4880, Resulting Numbers: [4880] 4880,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 22:[42, 99], Operations: ['55-13=42', '19+80=99'] Exploring Operation: 42+99=141, Resulting Numbers: [141] 141,22 unequal: No Solution Exploring Operation: 42*99=4158, Resulting Numbers: [4158] 4158,22 unequal: No Solution Exploring Operation: 99-42=57, Resulting Numbers: [57] 57,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 22:[19, 12], Operations: ['80-13=67', '67-55=12'] Exploring Operation: 19*12=228, Resulting Numbers: [228] 228,22 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,22 unequal: No Solution Moving to Node #0,3,3 Current State: 22:[13, 6], Operations: ['80-19=61', '61-55=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,22 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,22 unequal: No Solution Moving to Node #0,4,3 Current State: 22:[13, 44], Operations: ['55-19=36', '80-36=44'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 13*44=572, Resulting Numbers: [572] 572,22 unequal: No Solution Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,22 unequal: No Solution Moving to Node #0,3,1 Current State: 22:[61, 42], Operations: ['80-19=61', '55-13=42'] Exploring Operation: 61+42=103, Resulting Numbers: [103] 103,22 unequal: No Solution Exploring Operation: 61*42=2562, Resulting Numbers: [2562] 2562,22 unequal: No Solution Exploring Operation: 61-42=19, Resulting Numbers: [19] 19,22 unequal: No Solution Moving to Node #0,4,2 Current State: 22:[80, 23], Operations: ['55-19=36', '36-13=23'] Exploring Operation: 80*23=1840, Resulting Numbers: [1840] 1840,22 unequal: No Solution Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 80+23=103, Resulting Numbers: [103] 103,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[67, 36], Operations: ['80-13=67', '55-19=36'] Exploring Operation: 67+36=103, Resulting Numbers: [103] 103,22 unequal: No Solution Exploring Operation: 67*36=2412, Resulting Numbers: [2412] 2412,22 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,22 unequal: No Solution Moving to Node #0,0,4 Current State: 22:[55, 48], Operations: ['80-13=67', '67-19=48'] Exploring Operation: 55*48=2640, Resulting Numbers: [2640] 2640,22 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,22 unequal: No Solution Moving to Node #0,4,0 Current State: 22:[36, 67], Operations: ['55-19=36', '80-13=67'] Exploring Operation: 36+67=103, Resulting Numbers: [103] 103,22 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 36*67=2412, Resulting Numbers: [2412] 2412,22 unequal: No Solution Moving to Node #0,3,2 Current State: 22:[55, 48], Operations: ['80-19=61', '61-13=48'] Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,22 unequal: No Solution Exploring Operation: 55*48=2640, Resulting Numbers: [2640] 2640,22 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,22 unequal: No Solution Moving to Node #0,3,4 Current State: 22:[55, 74], Operations: ['80-19=61', '13+61=74'] Exploring Operation: 55+74=129, Resulting Numbers: [129] 129,22 unequal: No Solution Exploring Operation: 55*74=4070, Resulting Numbers: [4070] 4070,22 unequal: No Solution Exploring Operation: 74-55=19, Resulting Numbers: [19] 19,22 unequal: No Solution Moving to Node #0,4,4 Current State: 22:[36, 93], Operations: ['55-19=36', '13+80=93'] Exploring Operation: 36+93=129, Resulting Numbers: [129] 129,22 unequal: No Solution Exploring Operation: 36*93=3348, Resulting Numbers: [3348] 3348,22 unequal: No Solution Exploring Operation: 93-36=57, Resulting Numbers: [57] 57,22 unequal: No Solution Moving to Node #0,3,0 Current State: 22:[61, 68], Operations: ['80-19=61', '55+13=68'] Exploring Operation: 61+68=129, Resulting Numbers: [129] 129,22 unequal: No Solution Exploring Operation: 61*68=4148, Resulting Numbers: [4148] 4148,22 unequal: No Solution Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,22 unequal: No Solution Moving to Node #0,4,1 Current State: 22:[80, 49], Operations: ['55-19=36', '13+36=49'] Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 80*49=3920, Resulting Numbers: [3920] 3920,22 unequal: No Solution Exploring Operation: 80+49=129, Resulting Numbers: [129] 129,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[55, 86], Operations: ['80-13=67', '19+67=86'] Exploring Operation: 55*86=4730, Resulting Numbers: [4730] 4730,22 unequal: No Solution Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 55+86=141, Resulting Numbers: [141] 141,22 unequal: No Solution Moving to Node #0,0,3 Current State: 22:[67, 74], Operations: ['80-13=67', '19+55=74'] Exploring Operation: 67*74=4958, Resulting Numbers: [4958] 4958,22 unequal: No Solution Exploring Operation: 67+74=141, Resulting Numbers: [141] 141,22 unequal: No Solution Exploring Operation: 74-67=7, Resulting Numbers: [7] 7,22 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 27, 56, 69, 65 ]
41
[ "69-65=4", "56/4=14", "27+14=41" ]
Current State: 41:[27, 56, 69, 65], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [27, 56, 4] Generated Node #2: [27, 56, 4] from Operation: 69-65=4 Current State: 41:[27, 56, 4], Operations: ['69-65=4'] Exploring Operation: 56/4=14, Resulting Numbers: [27, 14] Generated Node #3: [27, 14] from Operation: 56/4=14 Current State: 41:[27, 14], Operations: ['69-65=4', '56/4=14'] Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[27, 56, 69, 65], Operations: [] Exploring Operation: 69-56=13, Resulting Numbers: [27, 65, 13] Generated Node #0,0: 41:[27, 65, 13] Operation: 69-56=13 Exploring Operation: 69-27=42, Resulting Numbers: [56, 65, 42] Generated Node #0,1: 41:[56, 65, 42] Operation: 69-27=42 Exploring Operation: 56-27=29, Resulting Numbers: [69, 65, 29] Generated Node #0,2: 41:[69, 65, 29] Operation: 56-27=29 Exploring Operation: 65-27=38, Resulting Numbers: [56, 69, 38] Generated Node #0,3: 41:[56, 69, 38] Operation: 65-27=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[56, 65, 42], Operations: ['69-27=42'] Exploring Operation: 65-56=9, Resulting Numbers: [42, 9] Generated Node #0,1,0: 41:[42, 9] Operation: 65-56=9 Exploring Operation: 65-42=23, Resulting Numbers: [56, 23] Generated Node #0,1,1: 41:[56, 23] Operation: 65-42=23 Exploring Operation: 56-42=14, Resulting Numbers: [65, 14] Generated Node #0,1,2: 41:[65, 14] Operation: 56-42=14 Exploring Operation: 56+65=121, Resulting Numbers: [42, 121] Generated Node #0,1,3: 41:[42, 121] Operation: 56+65=121 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[42, 9], Operations: ['69-27=42', '65-56=9'] Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,41 unequal: No Solution Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[56, 23], Operations: ['69-27=42', '65-42=23'] Exploring Operation: 56*23=1288, Resulting Numbers: [1288] 1288,41 unequal: No Solution Exploring Operation: 56+23=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[65, 14], Operations: ['69-27=42', '56-42=14'] Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,41 unequal: No Solution Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 65*14=910, Resulting Numbers: [910] 910,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 41:[42, 121], Operations: ['69-27=42', '56+65=121'] Exploring Operation: 121-42=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 42*121=5082, Resulting Numbers: [5082] 5082,41 unequal: No Solution Exploring Operation: 42+121=163, Resulting Numbers: [163] 163,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[56, 69, 38], Operations: ['65-27=38'] Exploring Operation: 69-38=31, Resulting Numbers: [56, 31] Generated Node #0,3,0: 41:[56, 31] Operation: 69-38=31 Exploring Operation: 56-38=18, Resulting Numbers: [69, 18] Generated Node #0,3,1: 41:[69, 18] Operation: 56-38=18 Exploring Operation: 69-56=13, Resulting Numbers: [38, 13] Generated Node #0,3,2: 41:[38, 13] Operation: 69-56=13 Exploring Operation: 56+38=94, Resulting Numbers: [69, 94] Generated Node #0,3,3: 41:[69, 94] Operation: 56+38=94 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 41:[56, 31], Operations: ['65-27=38', '69-38=31'] Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,41 unequal: No Solution Exploring Operation: 56*31=1736, Resulting Numbers: [1736] 1736,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 41:[38, 13], Operations: ['65-27=38', '69-56=13'] Exploring Operation: 38+13=51, Resulting Numbers: [51] 51,41 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 38*13=494, Resulting Numbers: [494] 494,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 41:[69, 18], Operations: ['65-27=38', '56-38=18'] Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,41 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,41 unequal: No Solution Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 41:[69, 94], Operations: ['65-27=38', '56+38=94'] Exploring Operation: 94-69=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 69+94=163, Resulting Numbers: [163] 163,41 unequal: No Solution Exploring Operation: 69*94=6486, Resulting Numbers: [6486] 6486,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[69, 65, 29], Operations: ['56-27=29'] Exploring Operation: 69+29=98, Resulting Numbers: [65, 98] Generated Node #0,2,0: 41:[65, 98] Operation: 69+29=98 Exploring Operation: 69-29=40, Resulting Numbers: [65, 40] Generated Node #0,2,1: 41:[65, 40] Operation: 69-29=40 Exploring Operation: 65-29=36, Resulting Numbers: [69, 36] Generated Node #0,2,2: 41:[69, 36] Operation: 65-29=36 Exploring Operation: 69-65=4, Resulting Numbers: [29, 4] Generated Node #0,2,3: 41:[29, 4] Operation: 69-65=4 Moving to Node #0,2,1 Current State: 41:[65, 40], Operations: ['56-27=29', '69-29=40'] Exploring Operation: 65*40=2600, Resulting Numbers: [2600] 2600,41 unequal: No Solution Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 65+40=105, Resulting Numbers: [105] 105,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[69, 36], Operations: ['56-27=29', '65-29=36'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 69+36=105, Resulting Numbers: [105] 105,41 unequal: No Solution Exploring Operation: 69*36=2484, Resulting Numbers: [2484] 2484,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[29, 4], Operations: ['56-27=29', '69-65=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[65, 98], Operations: ['56-27=29', '69+29=98'] Exploring Operation: 98-65=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 65*98=6370, Resulting Numbers: [6370] 6370,41 unequal: No Solution Exploring Operation: 65+98=163, Resulting Numbers: [163] 163,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[27, 65, 13], Operations: ['69-56=13'] Exploring Operation: 65/13=5, Resulting Numbers: [27, 5] Generated Node #0,0,0: 41:[27, 5] Operation: 65/13=5 Exploring Operation: 27+13=40, Resulting Numbers: [65, 40] Generated Node #0,0,1: 41:[65, 40] Operation: 27+13=40 Exploring Operation: 65-13=52, Resulting Numbers: [27, 52] Generated Node #0,0,2: 41:[27, 52] Operation: 65-13=52 Exploring Operation: 65-27=38, Resulting Numbers: [13, 38] Generated Node #0,0,3: 41:[13, 38] Operation: 65-27=38 Moving to Node #0,0,1 Current State: 41:[65, 40], Operations: ['69-56=13', '27+13=40'] Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 65+40=105, Resulting Numbers: [105] 105,41 unequal: No Solution Exploring Operation: 65*40=2600, Resulting Numbers: [2600] 2600,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[27, 52], Operations: ['69-56=13', '65-13=52'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[13, 38], Operations: ['69-56=13', '65-27=38'] Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,41 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[27, 5], Operations: ['69-56=13', '65/13=5'] Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,41 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,41 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
[ 96, 68, 77, 64 ]
76
[ "96-77=19", "68-64=4", "19*4=76" ]
Current State: 76:[96, 68, 77, 64], Operations: [] Exploring Operation: 96-77=19, Resulting Numbers: [68, 64, 19] Generated Node #2: [68, 64, 19] from Operation: 96-77=19 Current State: 76:[68, 64, 19], Operations: ['96-77=19'] Exploring Operation: 68-64=4, Resulting Numbers: [19, 4] Generated Node #3: [19, 4] from Operation: 68-64=4 Current State: 76:[19, 4], Operations: ['96-77=19', '68-64=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[96, 68, 77, 64], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [96, 77, 4] Generated Node #0,0: 76:[96, 77, 4] Operation: 68-64=4 Exploring Operation: 96-64=32, Resulting Numbers: [68, 77, 32] Generated Node #0,1: 76:[68, 77, 32] Operation: 96-64=32 Exploring Operation: 96-77=19, Resulting Numbers: [68, 64, 19] Generated Node #0,2: 76:[68, 64, 19] Operation: 96-77=19 Exploring Operation: 96-68=28, Resulting Numbers: [77, 64, 28] Generated Node #0,3: 76:[77, 64, 28] Operation: 96-68=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[68, 77, 32], Operations: ['96-64=32'] Exploring Operation: 77-32=45, Resulting Numbers: [68, 45] Generated Node #0,1,0: 76:[68, 45] Operation: 77-32=45 Exploring Operation: 68-32=36, Resulting Numbers: [77, 36] Generated Node #0,1,1: 76:[77, 36] Operation: 68-32=36 Exploring Operation: 68+32=100, Resulting Numbers: [77, 100] Generated Node #0,1,2: 76:[77, 100] Operation: 68+32=100 Exploring Operation: 77-68=9, Resulting Numbers: [32, 9] Generated Node #0,1,3: 76:[32, 9] Operation: 77-68=9 Moving to Node #0,1,1 Current State: 76:[77, 36], Operations: ['96-64=32', '68-32=36'] Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,76 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,76 unequal: No Solution Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[32, 9], Operations: ['96-64=32', '77-68=9'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,76 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[68, 45], Operations: ['96-64=32', '77-32=45'] Exploring Operation: 68*45=3060, Resulting Numbers: [3060] 3060,76 unequal: No Solution Exploring Operation: 68+45=113, Resulting Numbers: [113] 113,76 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[77, 100], Operations: ['96-64=32', '68+32=100'] Exploring Operation: 77*100=7700, Resulting Numbers: [7700] 7700,76 unequal: No Solution Exploring Operation: 77+100=177, Resulting Numbers: [177] 177,76 unequal: No Solution Exploring Operation: 100-77=23, Resulting Numbers: [23] 23,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[68, 64, 19], Operations: ['96-77=19'] Exploring Operation: 64+19=83, Resulting Numbers: [68, 83] Generated Node #0,2,0: 76:[68, 83] Operation: 64+19=83 Exploring Operation: 64-19=45, Resulting Numbers: [68, 45] Generated Node #0,2,1: 76:[68, 45] Operation: 64-19=45 Exploring Operation: 68+19=87, Resulting Numbers: [64, 87] Generated Node #0,2,2: 76:[64, 87] Operation: 68+19=87 Exploring Operation: 68-64=4, Resulting Numbers: [19, 4] Generated Node #0,2,3: 76:[19, 4] Operation: 68-64=4 Moving to Node #0,2,3 Current State: 76:[19, 4], Operations: ['96-77=19', '68-64=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[96, 68, 77, 64], Operations: [] Exploring Operation: 96-77=19, Resulting Numbers: [68, 64, 19] Generated Node #0,2: 76:[68, 64, 19] Operation: 96-77=19 Moving to Node #0,2 Current State: 76:[68, 64, 19], Operations: ['96-77=19'] Exploring Operation: 68-64=4, Resulting Numbers: [19, 4] Generated Node #0,2,3: 76:[19, 4] Operation: 68-64=4 Moving to Node #0,2,3 Current State: 76:[19, 4], Operations: ['96-77=19', '68-64=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 57, 19, 50, 92 ]
34
[ "57+19=76", "92-50=42", "76-42=34" ]
Current State: 34:[57, 19, 50, 92], Operations: [] Exploring Operation: 57+19=76, Resulting Numbers: [50, 92, 76] Generated Node #2: [50, 92, 76] from Operation: 57+19=76 Current State: 34:[50, 92, 76], Operations: ['57+19=76'] Exploring Operation: 92-50=42, Resulting Numbers: [76, 42] Generated Node #3: [76, 42] from Operation: 92-50=42 Current State: 34:[76, 42], Operations: ['57+19=76', '92-50=42'] Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[57, 19, 50, 92], Operations: [] Exploring Operation: 92-57=35, Resulting Numbers: [19, 50, 35] Generated Node #0,0: 34:[19, 50, 35] Operation: 92-57=35 Moving to Node #0,0 Current State: 34:[19, 50, 35], Operations: ['92-57=35'] Exploring Operation: 50-19=31, Resulting Numbers: [35, 31] Generated Node #0,0,0: 34:[35, 31] Operation: 50-19=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[35, 31], Operations: ['92-57=35', '50-19=31'] Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,34 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
[ 97, 90, 13, 14 ]
91
[ "97-90=7", "14-7=7", "13*7=91" ]
Current State: 91:[97, 90, 13, 14], Operations: [] Exploring Operation: 97-90=7, Resulting Numbers: [13, 14, 7] Generated Node #2: [13, 14, 7] from Operation: 97-90=7 Current State: 91:[13, 14, 7], Operations: ['97-90=7'] Exploring Operation: 14-7=7, Resulting Numbers: [13, 7] Generated Node #3: [13, 7] from Operation: 14-7=7 Current State: 91:[13, 7], Operations: ['97-90=7', '14-7=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[97, 90, 13, 14], Operations: [] Exploring Operation: 97-13=84, Resulting Numbers: [90, 14, 84] Generated Node #0,0: 91:[90, 14, 84] Operation: 97-13=84 Exploring Operation: 97-14=83, Resulting Numbers: [90, 13, 83] Generated Node #0,1: 91:[90, 13, 83] Operation: 97-14=83 Exploring Operation: 97-90=7, Resulting Numbers: [13, 14, 7] Generated Node #0,2: 91:[13, 14, 7] Operation: 97-90=7 Moving to Node #0,2 Current State: 91:[13, 14, 7], Operations: ['97-90=7'] Exploring Operation: 13-7=6, Resulting Numbers: [14, 6] Generated Node #0,2,0: 91:[14, 6] Operation: 13-7=6 Exploring Operation: 14-7=7, Resulting Numbers: [13, 7] Generated Node #0,2,1: 91:[13, 7] Operation: 14-7=7 Exploring Operation: 13*7=91, Resulting Numbers: [14, 91] Generated Node #0,2,2: 91:[14, 91] Operation: 13*7=91 Moving to Node #0,0 Current State: 91:[90, 14, 84], Operations: ['97-13=84'] Exploring Operation: 14+84=98, Resulting Numbers: [90, 98] Generated Node #0,0,0: 91:[90, 98] Operation: 14+84=98 Exploring Operation: 90-84=6, Resulting Numbers: [14, 6] Generated Node #0,0,1: 91:[14, 6] Operation: 90-84=6 Exploring Operation: 84/14=6, Resulting Numbers: [90, 6] Generated Node #0,0,2: 91:[90, 6] Operation: 84/14=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[14, 6], Operations: ['97-13=84', '90-84=6'] Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[90, 6], Operations: ['97-13=84', '84/14=6'] Exploring Operation: 90+6=96, Resulting Numbers: [96] 96,91 unequal: No Solution Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,91 unequal: No Solution Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[90, 98], Operations: ['97-13=84', '14+84=98'] Exploring Operation: 90*98=8820, Resulting Numbers: [8820] 8820,91 unequal: No Solution Exploring Operation: 90+98=188, Resulting Numbers: [188] 188,91 unequal: No Solution Exploring Operation: 98-90=8, Resulting Numbers: [8] 8,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 91:[90, 13, 83], Operations: ['97-14=83'] Exploring Operation: 13+83=96, Resulting Numbers: [90, 96] Generated Node #0,1,0: 91:[90, 96] Operation: 13+83=96 Exploring Operation: 90+13=103, Resulting Numbers: [83, 103] Generated Node #0,1,1: 91:[83, 103] Operation: 90+13=103 Exploring Operation: 90-83=7, Resulting Numbers: [13, 7] Generated Node #0,1,2: 91:[13, 7] Operation: 90-83=7 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[13, 7], Operations: ['97-14=83', '90-83=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[97, 90, 13, 14], Operations: [] Exploring Operation: 97-14=83, Resulting Numbers: [90, 13, 83] Generated Node #0,1: 91:[90, 13, 83] Operation: 97-14=83 Moving to Node #0,1 Current State: 91:[90, 13, 83], Operations: ['97-14=83'] Exploring Operation: 90-83=7, Resulting Numbers: [13, 7] Generated Node #0,1,2: 91:[13, 7] Operation: 90-83=7 Moving to Node #0,1,2 Current State: 91:[13, 7], Operations: ['97-14=83', '90-83=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 23, 88, 38, 56 ]
93
[ "23+88=111", "56-38=18", "111-18=93" ]
Current State: 93:[23, 88, 38, 56], Operations: [] Exploring Operation: 23+88=111, Resulting Numbers: [38, 56, 111] Generated Node #2: [38, 56, 111] from Operation: 23+88=111 Current State: 93:[38, 56, 111], Operations: ['23+88=111'] Exploring Operation: 56-38=18, Resulting Numbers: [111, 18] Generated Node #3: [111, 18] from Operation: 56-38=18 Current State: 93:[111, 18], Operations: ['23+88=111', '56-38=18'] Exploring Operation: 111-18=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[23, 88, 38, 56], Operations: [] Exploring Operation: 56-23=33, Resulting Numbers: [88, 38, 33] Generated Node #0,0: 93:[88, 38, 33] Operation: 56-23=33 Exploring Operation: 88-56=32, Resulting Numbers: [23, 38, 32] Generated Node #0,1: 93:[23, 38, 32] Operation: 88-56=32 Exploring Operation: 38+56=94, Resulting Numbers: [23, 88, 94] Generated Node #0,2: 93:[23, 88, 94] Operation: 38+56=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[88, 38, 33], Operations: ['56-23=33'] Exploring Operation: 38-33=5, Resulting Numbers: [88, 5] Generated Node #0,0,0: 93:[88, 5] Operation: 38-33=5 Exploring Operation: 88-38=50, Resulting Numbers: [33, 50] Generated Node #0,0,1: 93:[33, 50] Operation: 88-38=50 Exploring Operation: 38+33=71, Resulting Numbers: [88, 71] Generated Node #0,0,2: 93:[88, 71] Operation: 38+33=71 Moving to Node #0,0,0 Current State: 93:[88, 5], Operations: ['56-23=33', '38-33=5'] Exploring Operation: 88*5=440, Resulting Numbers: [440] 440,93 unequal: No Solution Exploring Operation: 88+5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[23, 88, 38, 56], Operations: [] Exploring Operation: 56-23=33, Resulting Numbers: [88, 38, 33] Generated Node #0,0: 93:[88, 38, 33] Operation: 56-23=33 Moving to Node #0,0 Current State: 93:[88, 38, 33], Operations: ['56-23=33'] Exploring Operation: 38-33=5, Resulting Numbers: [88, 5] Generated Node #0,0,0: 93:[88, 5] Operation: 38-33=5 Moving to Node #0,0,0 Current State: 93:[88, 5], Operations: ['56-23=33', '38-33=5'] Exploring Operation: 88+5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 43, 36, 57, 21 ]
60
[ "43-36=7", "21/7=3", "57+3=60" ]
Current State: 60:[43, 36, 57, 21], Operations: [] Exploring Operation: 43-36=7, Resulting Numbers: [57, 21, 7] Generated Node #2: [57, 21, 7] from Operation: 43-36=7 Current State: 60:[57, 21, 7], Operations: ['43-36=7'] Exploring Operation: 21/7=3, Resulting Numbers: [57, 3] Generated Node #3: [57, 3] from Operation: 21/7=3 Current State: 60:[57, 3], Operations: ['43-36=7', '21/7=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[43, 36, 57, 21], Operations: [] Exploring Operation: 43-36=7, Resulting Numbers: [57, 21, 7] Generated Node #0,0: 60:[57, 21, 7] Operation: 43-36=7 Exploring Operation: 57-43=14, Resulting Numbers: [36, 21, 14] Generated Node #0,1: 60:[36, 21, 14] Operation: 57-43=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[57, 21, 7], Operations: ['43-36=7'] Exploring Operation: 21/7=3, Resulting Numbers: [57, 3] Generated Node #0,0,0: 60:[57, 3] Operation: 21/7=3 Exploring Operation: 21-7=14, Resulting Numbers: [57, 14] Generated Node #0,0,1: 60:[57, 14] Operation: 21-7=14 Moving to Node #0,0,0 Current State: 60:[57, 3], Operations: ['43-36=7', '21/7=3'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,60 unequal: No Solution Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[43, 36, 57, 21], Operations: [] Exploring Operation: 43-36=7, Resulting Numbers: [57, 21, 7] Generated Node #0,0: 60:[57, 21, 7] Operation: 43-36=7 Moving to Node #0,0 Current State: 60:[57, 21, 7], Operations: ['43-36=7'] Exploring Operation: 21/7=3, Resulting Numbers: [57, 3] Generated Node #0,0,0: 60:[57, 3] Operation: 21/7=3 Moving to Node #0,0,0 Current State: 60:[57, 3], Operations: ['43-36=7', '21/7=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 6, 39, 6, 64 ]
61
[ "6*6=36", "64-39=25", "36+25=61" ]
Current State: 61:[6, 39, 6, 64], Operations: [] Exploring Operation: 6*6=36, Resulting Numbers: [39, 64, 36] Generated Node #2: [39, 64, 36] from Operation: 6*6=36 Current State: 61:[39, 64, 36], Operations: ['6*6=36'] Exploring Operation: 64-39=25, Resulting Numbers: [36, 25] Generated Node #3: [36, 25] from Operation: 64-39=25 Current State: 61:[36, 25], Operations: ['6*6=36', '64-39=25'] Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[6, 39, 6, 64], Operations: [] Exploring Operation: 6+6=12, Resulting Numbers: [39, 64, 12] Generated Node #0,0: 61:[39, 64, 12] Operation: 6+6=12 Exploring Operation: 6*6=36, Resulting Numbers: [39, 64, 36] Generated Node #0,1: 61:[39, 64, 36] Operation: 6*6=36 Exploring Operation: 6+39=45, Resulting Numbers: [6, 64, 45] Generated Node #0,2: 61:[6, 64, 45] Operation: 6+39=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[39, 64, 36], Operations: ['6*6=36'] Exploring Operation: 64-39=25, Resulting Numbers: [36, 25] Generated Node #0,1,0: 61:[36, 25] Operation: 64-39=25 Exploring Operation: 64-36=28, Resulting Numbers: [39, 28] Generated Node #0,1,1: 61:[39, 28] Operation: 64-36=28 Exploring Operation: 39+36=75, Resulting Numbers: [64, 75] Generated Node #0,1,2: 61:[64, 75] Operation: 39+36=75 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 61:[64, 75], Operations: ['6*6=36', '39+36=75'] Exploring Operation: 64*75=4800, Resulting Numbers: [4800] 4800,61 unequal: No Solution Exploring Operation: 64+75=139, Resulting Numbers: [139] 139,61 unequal: No Solution Exploring Operation: 75-64=11, Resulting Numbers: [11] 11,61 unequal: No Solution No 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: 61:[39, 28], Operations: ['6*6=36', '64-36=28'] Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,61 unequal: No Solution Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,61 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,61 unequal: No Solution No 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: 61:[36, 25], Operations: ['6*6=36', '64-39=25'] Exploring Operation: 36*25=900, Resulting Numbers: [900] 900,61 unequal: No Solution Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[6, 39, 6, 64], Operations: [] Exploring Operation: 6*6=36, Resulting Numbers: [39, 64, 36] Generated Node #0,1: 61:[39, 64, 36] Operation: 6*6=36 Moving to Node #0,1 Current State: 61:[39, 64, 36], Operations: ['6*6=36'] Exploring Operation: 64-39=25, Resulting Numbers: [36, 25] Generated Node #0,1,0: 61:[36, 25] Operation: 64-39=25 Moving to Node #0,1,0 Current State: 61:[36, 25], Operations: ['6*6=36', '64-39=25'] Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 75, 63, 98, 5 ]
82
[ "98-63=35", "35/5=7", "75+7=82" ]
Current State: 82:[75, 63, 98, 5], Operations: [] Exploring Operation: 98-63=35, Resulting Numbers: [75, 5, 35] Generated Node #2: [75, 5, 35] from Operation: 98-63=35 Current State: 82:[75, 5, 35], Operations: ['98-63=35'] Exploring Operation: 35/5=7, Resulting Numbers: [75, 7] Generated Node #3: [75, 7] from Operation: 35/5=7 Current State: 82:[75, 7], Operations: ['98-63=35', '35/5=7'] Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[75, 63, 98, 5], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [98, 5, 12] Generated Node #0,0: 82:[98, 5, 12] Operation: 75-63=12 Exploring Operation: 75+5=80, Resulting Numbers: [63, 98, 80] Generated Node #0,1: 82:[63, 98, 80] Operation: 75+5=80 Exploring Operation: 98-63=35, Resulting Numbers: [75, 5, 35] Generated Node #0,2: 82:[75, 5, 35] Operation: 98-63=35 Exploring Operation: 98-5=93, Resulting Numbers: [75, 63, 93] Generated Node #0,3: 82:[75, 63, 93] Operation: 98-5=93 Exploring Operation: 63+5=68, Resulting Numbers: [75, 98, 68] Generated Node #0,4: 82:[75, 98, 68] Operation: 63+5=68 Moving to Node #0,2 Current State: 82:[75, 5, 35], Operations: ['98-63=35'] Exploring Operation: 75-35=40, Resulting Numbers: [5, 40] Generated Node #0,2,0: 82:[5, 40] Operation: 75-35=40 Exploring Operation: 75+5=80, Resulting Numbers: [35, 80] Generated Node #0,2,1: 82:[35, 80] Operation: 75+5=80 Exploring Operation: 5+35=40, Resulting Numbers: [75, 40] Generated Node #0,2,2: 82:[75, 40] Operation: 5+35=40 Exploring Operation: 35/5=7, Resulting Numbers: [75, 7] Generated Node #0,2,3: 82:[75, 7] Operation: 35/5=7 Exploring Operation: 75-5=70, Resulting Numbers: [35, 70] Generated Node #0,2,4: 82:[35, 70] Operation: 75-5=70 Moving to Node #0,0 Current State: 82:[98, 5, 12], Operations: ['75-63=12'] Exploring Operation: 98-5=93, Resulting Numbers: [12, 93] Generated Node #0,0,0: 82:[12, 93] Operation: 98-5=93 Exploring Operation: 12-5=7, Resulting Numbers: [98, 7] Generated Node #0,0,1: 82:[98, 7] Operation: 12-5=7 Exploring Operation: 98+5=103, Resulting Numbers: [12, 103] Generated Node #0,0,2: 82:[12, 103] Operation: 98+5=103 Exploring Operation: 98-12=86, Resulting Numbers: [5, 86] Generated Node #0,0,3: 82:[5, 86] Operation: 98-12=86 Exploring Operation: 98+12=110, Resulting Numbers: [5, 110] Generated Node #0,0,4: 82:[5, 110] Operation: 98+12=110 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 82:[5, 86], Operations: ['75-63=12', '98-12=86'] Exploring Operation: 5*86=430, Resulting Numbers: [430] 430,82 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[12, 93], Operations: ['75-63=12', '98-5=93'] Exploring Operation: 12*93=1116, Resulting Numbers: [1116] 1116,82 unequal: No Solution Exploring Operation: 93-12=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 12+93=105, Resulting Numbers: [105] 105,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[98, 7], Operations: ['75-63=12', '12-5=7'] Exploring Operation: 98*7=686, Resulting Numbers: [686] 686,82 unequal: No Solution Exploring Operation: 98-7=91, Resulting Numbers: [91] 91,82 unequal: No Solution Exploring Operation: 98+7=105, Resulting Numbers: [105] 105,82 unequal: No Solution Exploring Operation: 98/7=14, Resulting Numbers: [14] 14,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[12, 103], Operations: ['75-63=12', '98+5=103'] Exploring Operation: 103-12=91, Resulting Numbers: [91] 91,82 unequal: No Solution Exploring Operation: 12*103=1236, Resulting Numbers: [1236] 1236,82 unequal: No Solution Exploring Operation: 12+103=115, Resulting Numbers: [115] 115,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 82:[5, 110], Operations: ['75-63=12', '98+12=110'] Exploring Operation: 5*110=550, Resulting Numbers: [550] 550,82 unequal: No Solution Exploring Operation: 5+110=115, Resulting Numbers: [115] 115,82 unequal: No Solution Exploring Operation: 110-5=105, Resulting Numbers: [105] 105,82 unequal: No Solution Exploring Operation: 110/5=22, Resulting Numbers: [22] 22,82 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: 82:[63, 98, 80], Operations: ['75+5=80'] Exploring Operation: 80-63=17, Resulting Numbers: [98, 17] Generated Node #0,1,0: 82:[98, 17] Operation: 80-63=17 Exploring Operation: 98-63=35, Resulting Numbers: [80, 35] Generated Node #0,1,1: 82:[80, 35] Operation: 98-63=35 Exploring Operation: 98-80=18, Resulting Numbers: [63, 18] Generated Node #0,1,2: 82:[63, 18] Operation: 98-80=18 Exploring Operation: 63+98=161, Resulting Numbers: [80, 161] Generated Node #0,1,3: 82:[80, 161] Operation: 63+98=161 Exploring Operation: 63+80=143, Resulting Numbers: [98, 143] Generated Node #0,1,4: 82:[98, 143] Operation: 63+80=143 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[80, 35], Operations: ['75+5=80', '98-63=35'] Exploring Operation: 80+35=115, Resulting Numbers: [115] 115,82 unequal: No Solution Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 80*35=2800, Resulting Numbers: [2800] 2800,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[98, 17], Operations: ['75+5=80', '80-63=17'] Exploring Operation: 98*17=1666, Resulting Numbers: [1666] 1666,82 unequal: No Solution Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 98+17=115, Resulting Numbers: [115] 115,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[63, 18], Operations: ['75+5=80', '98-80=18'] Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 63*18=1134, Resulting Numbers: [1134] 1134,82 unequal: No Solution Exploring Operation: 63+18=81, Resulting Numbers: [81] 81,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 82:[98, 143], Operations: ['75+5=80', '63+80=143'] Exploring Operation: 98*143=14014, Resulting Numbers: [14014] 14014,82 unequal: No Solution Exploring Operation: 143-98=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 98+143=241, Resulting Numbers: [241] 241,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 82:[80, 161], Operations: ['75+5=80', '63+98=161'] Exploring Operation: 80*161=12880, Resulting Numbers: [12880] 12880,82 unequal: No Solution Exploring Operation: 80+161=241, Resulting Numbers: [241] 241,82 unequal: No Solution Exploring Operation: 161-80=81, Resulting Numbers: [81] 81,82 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: 82:[75, 63, 93], Operations: ['98-5=93'] Exploring Operation: 93-75=18, Resulting Numbers: [63, 18] Generated Node #0,3,0: 82:[63, 18] Operation: 93-75=18 Exploring Operation: 75+63=138, Resulting Numbers: [93, 138] Generated Node #0,3,1: 82:[93, 138] Operation: 75+63=138 Exploring Operation: 63+93=156, Resulting Numbers: [75, 156] Generated Node #0,3,2: 82:[75, 156] Operation: 63+93=156 Exploring Operation: 93-63=30, Resulting Numbers: [75, 30] Generated Node #0,3,3: 82:[75, 30] Operation: 93-63=30 Exploring Operation: 75-63=12, Resulting Numbers: [93, 12] Generated Node #0,3,4: 82:[93, 12] Operation: 75-63=12 Moving to Node #0,4 Current State: 82:[75, 98, 68], Operations: ['63+5=68'] Exploring Operation: 75-68=7, Resulting Numbers: [98, 7] Generated Node #0,4,0: 82:[98, 7] Operation: 75-68=7 Exploring Operation: 98-68=30, Resulting Numbers: [75, 30] Generated Node #0,4,1: 82:[75, 30] Operation: 98-68=30 Exploring Operation: 98+68=166, Resulting Numbers: [75, 166] Generated Node #0,4,2: 82:[75, 166] Operation: 98+68=166 Exploring Operation: 75+68=143, Resulting Numbers: [98, 143] Generated Node #0,4,3: 82:[98, 143] Operation: 75+68=143 Exploring Operation: 98-75=23, Resulting Numbers: [68, 23] Generated Node #0,4,4: 82:[68, 23] Operation: 98-75=23 Moving to Node #0,2,0 Current State: 82:[5, 40], Operations: ['98-63=35', '75-35=40'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 5*40=200, Resulting Numbers: [200] 200,82 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[75, 40], Operations: ['98-63=35', '5+35=40'] Exploring Operation: 75*40=3000, Resulting Numbers: [3000] 3000,82 unequal: No Solution Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 75+40=115, Resulting Numbers: [115] 115,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[35, 80], Operations: ['98-63=35', '75+5=80'] Exploring Operation: 35+80=115, Resulting Numbers: [115] 115,82 unequal: No Solution Exploring Operation: 35*80=2800, Resulting Numbers: [2800] 2800,82 unequal: No Solution Exploring Operation: 80-35=45, Resulting Numbers: [45] 45,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[75, 7], Operations: ['98-63=35', '35/5=7'] Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[75, 63, 98, 5], Operations: [] Exploring Operation: 98-63=35, Resulting Numbers: [75, 5, 35] Generated Node #0,2: 82:[75, 5, 35] Operation: 98-63=35 Moving to Node #0,2 Current State: 82:[75, 5, 35], Operations: ['98-63=35'] Exploring Operation: 35/5=7, Resulting Numbers: [75, 7] Generated Node #0,2,3: 82:[75, 7] Operation: 35/5=7 Moving to Node #0,2,3 Current State: 82:[75, 7], Operations: ['98-63=35', '35/5=7'] Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.93316
hs_5
mult_heuristic
[ 82, 84, 86, 56 ]
26
[ "84-82=2", "56*2=112", "112-86=26" ]
Current State: 26:[82, 84, 86, 56], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [86, 56, 2] Generated Node #2: [86, 56, 2] from Operation: 84-82=2 Current State: 26:[86, 56, 2], Operations: ['84-82=2'] Exploring Operation: 56*2=112, Resulting Numbers: [86, 112] Generated Node #3: [86, 112] from Operation: 56*2=112 Current State: 26:[86, 112], Operations: ['84-82=2', '56*2=112'] Exploring Operation: 112-86=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[82, 84, 86, 56], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [82, 56, 2] Generated Node #0,0: 26:[82, 56, 2] Operation: 86-84=2 Moving to Node #0,0 Current State: 26:[82, 56, 2], Operations: ['86-84=2'] Exploring Operation: 82-56=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 26:[2, 26] Operation: 82-56=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[2, 26], Operations: ['86-84=2', '82-56=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,26 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
[ 30, 55, 12, 54 ]
41
[ "55-30=25", "12+54=66", "66-25=41" ]
Current State: 41:[30, 55, 12, 54], Operations: [] Exploring Operation: 55-30=25, Resulting Numbers: [12, 54, 25] Generated Node #2: [12, 54, 25] from Operation: 55-30=25 Current State: 41:[12, 54, 25], Operations: ['55-30=25'] Exploring Operation: 12+54=66, Resulting Numbers: [25, 66] Generated Node #3: [25, 66] from Operation: 12+54=66 Current State: 41:[25, 66], Operations: ['55-30=25', '12+54=66'] Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[30, 55, 12, 54], Operations: [] Exploring Operation: 54-12=42, Resulting Numbers: [30, 55, 42] Generated Node #0,0: 41:[30, 55, 42] Operation: 54-12=42 Exploring Operation: 55-12=43, Resulting Numbers: [30, 54, 43] Generated Node #0,1: 41:[30, 54, 43] Operation: 55-12=43 Exploring Operation: 30-12=18, Resulting Numbers: [55, 54, 18] Generated Node #0,2: 41:[55, 54, 18] Operation: 30-12=18 Exploring Operation: 30+12=42, Resulting Numbers: [55, 54, 42] Generated Node #0,3: 41:[55, 54, 42] Operation: 30+12=42 Moving to Node #0,0 Current State: 41:[30, 55, 42], Operations: ['54-12=42'] Exploring Operation: 30+55=85, Resulting Numbers: [42, 85] Generated Node #0,0,0: 41:[42, 85] Operation: 30+55=85 Exploring Operation: 55-42=13, Resulting Numbers: [30, 13] Generated Node #0,0,1: 41:[30, 13] Operation: 55-42=13 Exploring Operation: 55-30=25, Resulting Numbers: [42, 25] Generated Node #0,0,2: 41:[42, 25] Operation: 55-30=25 Exploring Operation: 42-30=12, Resulting Numbers: [55, 12] Generated Node #0,0,3: 41:[55, 12] Operation: 42-30=12 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[42, 25], Operations: ['54-12=42', '55-30=25'] Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 42+25=67, Resulting Numbers: [67] 67,41 unequal: No Solution Exploring Operation: 42*25=1050, Resulting Numbers: [1050] 1050,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[30, 13], Operations: ['54-12=42', '55-42=13'] Exploring Operation: 30*13=390, Resulting Numbers: [390] 390,41 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 41:[55, 12], Operations: ['54-12=42', '42-30=12'] Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 55*12=660, Resulting Numbers: [660] 660,41 unequal: No Solution Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[42, 85], Operations: ['54-12=42', '30+55=85'] Exploring Operation: 42*85=3570, Resulting Numbers: [3570] 3570,41 unequal: No Solution Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 42+85=127, Resulting Numbers: [127] 127,41 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: 41:[30, 54, 43], Operations: ['55-12=43'] Exploring Operation: 43-30=13, Resulting Numbers: [54, 13] Generated Node #0,1,0: 41:[54, 13] Operation: 43-30=13 Exploring Operation: 30+54=84, Resulting Numbers: [43, 84] Generated Node #0,1,1: 41:[43, 84] Operation: 30+54=84 Exploring Operation: 54-30=24, Resulting Numbers: [43, 24] Generated Node #0,1,2: 41:[43, 24] Operation: 54-30=24 Exploring Operation: 54-43=11, Resulting Numbers: [30, 11] Generated Node #0,1,3: 41:[30, 11] Operation: 54-43=11 Moving to Node #0,3 Current State: 41:[55, 54, 42], Operations: ['30+12=42'] Exploring Operation: 55-54=1, Resulting Numbers: [42, 1] Generated Node #0,3,0: 41:[42, 1] Operation: 55-54=1 Exploring Operation: 55-42=13, Resulting Numbers: [54, 13] Generated Node #0,3,1: 41:[54, 13] Operation: 55-42=13 Exploring Operation: 54-42=12, Resulting Numbers: [55, 12] Generated Node #0,3,2: 41:[55, 12] Operation: 54-42=12 Exploring Operation: 55+54=109, Resulting Numbers: [42, 109] Generated Node #0,3,3: 41:[42, 109] Operation: 55+54=109 Moving to Node #0,2 Current State: 41:[55, 54, 18], Operations: ['30-12=18'] Exploring Operation: 55-18=37, Resulting Numbers: [54, 37] Generated Node #0,2,0: 41:[54, 37] Operation: 55-18=37 Exploring Operation: 54+18=72, Resulting Numbers: [55, 72] Generated Node #0,2,1: 41:[55, 72] Operation: 54+18=72 Exploring Operation: 54-18=36, Resulting Numbers: [55, 36] Generated Node #0,2,2: 41:[55, 36] Operation: 54-18=36 Exploring Operation: 55+18=73, Resulting Numbers: [54, 73] Generated Node #0,2,3: 41:[54, 73] Operation: 55+18=73 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[54, 37], Operations: ['30-12=18', '55-18=37'] Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 54*37=1998, Resulting Numbers: [1998] 1998,41 unequal: No Solution Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[55, 36], Operations: ['30-12=18', '54-18=36'] Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 55+36=91, Resulting Numbers: [91] 91,41 unequal: No Solution Exploring Operation: 55*36=1980, Resulting Numbers: [1980] 1980,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[55, 72], Operations: ['30-12=18', '54+18=72'] Exploring Operation: 55+72=127, Resulting Numbers: [127] 127,41 unequal: No Solution Exploring Operation: 72-55=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 55*72=3960, Resulting Numbers: [3960] 3960,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[54, 73], Operations: ['30-12=18', '55+18=73'] Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 54+73=127, Resulting Numbers: [127] 127,41 unequal: No Solution Exploring Operation: 54*73=3942, Resulting Numbers: [3942] 3942,41 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: 41:[43, 24], Operations: ['55-12=43', '54-30=24'] Exploring Operation: 43*24=1032, Resulting Numbers: [1032] 1032,41 unequal: No Solution Exploring Operation: 43+24=67, Resulting Numbers: [67] 67,41 unequal: No Solution Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[30, 11], Operations: ['55-12=43', '54-43=11'] Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,41 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[30, 55, 12, 54], Operations: [] Exploring Operation: 55-12=43, Resulting Numbers: [30, 54, 43] Generated Node #0,1: 41:[30, 54, 43] Operation: 55-12=43 Moving to Node #0,1 Current State: 41:[30, 54, 43], Operations: ['55-12=43'] Exploring Operation: 54-43=11, Resulting Numbers: [30, 11] Generated Node #0,1,3: 41:[30, 11] Operation: 54-43=11 Moving to Node #0,1,3 Current State: 41:[30, 11], Operations: ['55-12=43', '54-43=11'] Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.953993
hs_4
sum_heuristic
[ 65, 55, 5, 83 ]
35
[ "83-65=18", "5*18=90", "90-55=35" ]
Current State: 35:[65, 55, 5, 83], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [55, 5, 18] Generated Node #2: [55, 5, 18] from Operation: 83-65=18 Current State: 35:[55, 5, 18], Operations: ['83-65=18'] Exploring Operation: 5*18=90, Resulting Numbers: [55, 90] Generated Node #3: [55, 90] from Operation: 5*18=90 Current State: 35:[55, 90], Operations: ['83-65=18', '5*18=90'] Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[65, 55, 5, 83], Operations: [] Exploring Operation: 55/5=11, Resulting Numbers: [65, 83, 11] Generated Node #0,0: 35:[65, 83, 11] Operation: 55/5=11 Exploring Operation: 65-55=10, Resulting Numbers: [5, 83, 10] Generated Node #0,1: 35:[5, 83, 10] Operation: 65-55=10 Exploring Operation: 65/5=13, Resulting Numbers: [55, 83, 13] Generated Node #0,2: 35:[55, 83, 13] Operation: 65/5=13 Exploring Operation: 83-55=28, Resulting Numbers: [65, 5, 28] Generated Node #0,3: 35:[65, 5, 28] Operation: 83-55=28 Exploring Operation: 83-65=18, Resulting Numbers: [55, 5, 18] Generated Node #0,4: 35:[55, 5, 18] Operation: 83-65=18 Start Sub Search at level 1: Moving to Node #0,4 Current State: 35:[55, 5, 18], Operations: ['83-65=18'] Exploring Operation: 55-5=50, Resulting Numbers: [18, 50] Generated Node #0,4,0: 35:[18, 50] Operation: 55-5=50 Exploring Operation: 55-18=37, Resulting Numbers: [5, 37] Generated Node #0,4,1: 35:[5, 37] Operation: 55-18=37 Exploring Operation: 55/5=11, Resulting Numbers: [18, 11] Generated Node #0,4,2: 35:[18, 11] Operation: 55/5=11 Exploring Operation: 5+18=23, Resulting Numbers: [55, 23] Generated Node #0,4,3: 35:[55, 23] Operation: 5+18=23 Exploring Operation: 18-5=13, Resulting Numbers: [55, 13] Generated Node #0,4,4: 35:[55, 13] Operation: 18-5=13 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 35:[5, 37], Operations: ['83-65=18', '55-18=37'] Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,35 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,35 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 35:[18, 11], Operations: ['83-65=18', '55/5=11'] Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,35 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 35:[18, 50], Operations: ['83-65=18', '55-5=50'] Exploring Operation: 18+50=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 18*50=900, Resulting Numbers: [900] 900,35 unequal: No Solution Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 35:[55, 13], Operations: ['83-65=18', '18-5=13'] Exploring Operation: 55*13=715, Resulting Numbers: [715] 715,35 unequal: No Solution Exploring Operation: 55+13=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 35:[55, 23], Operations: ['83-65=18', '5+18=23'] Exploring Operation: 55*23=1265, Resulting Numbers: [1265] 1265,35 unequal: No Solution Exploring Operation: 55+23=78, Resulting Numbers: [78] 78,35 unequal: No Solution Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,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,3 Current State: 35:[65, 5, 28], Operations: ['83-55=28'] Exploring Operation: 65-28=37, Resulting Numbers: [5, 37] Generated Node #0,3,0: 35:[5, 37] Operation: 65-28=37 Exploring Operation: 65+5=70, Resulting Numbers: [28, 70] Generated Node #0,3,1: 35:[28, 70] Operation: 65+5=70 Exploring Operation: 5+28=33, Resulting Numbers: [65, 33] Generated Node #0,3,2: 35:[65, 33] Operation: 5+28=33 Exploring Operation: 65-5=60, Resulting Numbers: [28, 60] Generated Node #0,3,3: 35:[28, 60] Operation: 65-5=60 Exploring Operation: 65/5=13, Resulting Numbers: [28, 13] Generated Node #0,3,4: 35:[28, 13] Operation: 65/5=13 Moving to Node #0,3,0 Current State: 35:[5, 37], Operations: ['83-55=28', '65-28=37'] Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,35 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,35 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,35 unequal: No Solution Moving to Node #0,3,4 Current State: 35:[28, 13], Operations: ['83-55=28', '65/5=13'] Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,35 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,35 unequal: No Solution Moving to Node #0,3,2 Current State: 35:[65, 33], Operations: ['83-55=28', '5+28=33'] Exploring Operation: 65*33=2145, Resulting Numbers: [2145] 2145,35 unequal: No Solution Exploring Operation: 65+33=98, Resulting Numbers: [98] 98,35 unequal: No Solution Exploring Operation: 65-33=32, Resulting Numbers: [32] 32,35 unequal: No Solution Moving to Node #0,3,3 Current State: 35:[28, 60], Operations: ['83-55=28', '65-5=60'] Exploring Operation: 28+60=88, Resulting Numbers: [88] 88,35 unequal: No Solution Exploring Operation: 28*60=1680, Resulting Numbers: [1680] 1680,35 unequal: No Solution Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,35 unequal: No Solution Moving to Node #0,3,1 Current State: 35:[28, 70], Operations: ['83-55=28', '65+5=70'] Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,35 unequal: No Solution Exploring Operation: 28+70=98, Resulting Numbers: [98] 98,35 unequal: No Solution Exploring Operation: 28*70=1960, Resulting Numbers: [1960] 1960,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[5, 83, 10], Operations: ['65-55=10'] Exploring Operation: 83-10=73, Resulting Numbers: [5, 73] Generated Node #0,1,0: 35:[5, 73] Operation: 83-10=73 Exploring Operation: 83-5=78, Resulting Numbers: [10, 78] Generated Node #0,1,1: 35:[10, 78] Operation: 83-5=78 Exploring Operation: 5+83=88, Resulting Numbers: [10, 88] Generated Node #0,1,2: 35:[10, 88] Operation: 5+83=88 Exploring Operation: 10/5=2, Resulting Numbers: [83, 2] Generated Node #0,1,3: 35:[83, 2] Operation: 10/5=2 Exploring Operation: 10-5=5, Resulting Numbers: [83, 5] Generated Node #0,1,4: 35:[83, 5] Operation: 10-5=5 Moving to Node #0,1,0 Current State: 35:[5, 73], Operations: ['65-55=10', '83-10=73'] Exploring Operation: 5+73=78, Resulting Numbers: [78] 78,35 unequal: No Solution Exploring Operation: 5*73=365, Resulting Numbers: [365] 365,35 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[10, 78], Operations: ['65-55=10', '83-5=78'] Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 10*78=780, Resulting Numbers: [780] 780,35 unequal: No Solution Exploring Operation: 10+78=88, Resulting Numbers: [88] 88,35 unequal: No Solution Moving to Node #0,1,4 Current State: 35:[83, 5], Operations: ['65-55=10', '10-5=5'] Exploring Operation: 83*5=415, Resulting Numbers: [415] 415,35 unequal: No Solution Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,35 unequal: No Solution Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[83, 2], Operations: ['65-55=10', '10/5=2'] Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,35 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,35 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[10, 88], Operations: ['65-55=10', '5+83=88'] Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,35 unequal: No Solution Exploring Operation: 10+88=98, Resulting Numbers: [98] 98,35 unequal: No Solution Exploring Operation: 10*88=880, Resulting Numbers: [880] 880,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[55, 83, 13], Operations: ['65/5=13'] Exploring Operation: 55-13=42, Resulting Numbers: [83, 42] Generated Node #0,2,0: 35:[83, 42] Operation: 55-13=42 Exploring Operation: 83-55=28, Resulting Numbers: [13, 28] Generated Node #0,2,1: 35:[13, 28] Operation: 83-55=28 Exploring Operation: 55+13=68, Resulting Numbers: [83, 68] Generated Node #0,2,2: 35:[83, 68] Operation: 55+13=68 Exploring Operation: 83+13=96, Resulting Numbers: [55, 96] Generated Node #0,2,3: 35:[55, 96] Operation: 83+13=96 Exploring Operation: 83-13=70, Resulting Numbers: [55, 70] Generated Node #0,2,4: 35:[55, 70] Operation: 83-13=70 Moving to Node #0,2,1 Current State: 35:[13, 28], Operations: ['65/5=13', '83-55=28'] Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,35 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,35 unequal: No Solution Moving to Node #0,2,4 Current State: 35:[55, 70], Operations: ['65/5=13', '83-13=70'] Exploring Operation: 55+70=125, Resulting Numbers: [125] 125,35 unequal: No Solution Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,35 unequal: No Solution Exploring Operation: 55*70=3850, Resulting Numbers: [3850] 3850,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[83, 42], Operations: ['65/5=13', '55-13=42'] Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 83+42=125, Resulting Numbers: [125] 125,35 unequal: No Solution Exploring Operation: 83*42=3486, Resulting Numbers: [3486] 3486,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[83, 68], Operations: ['65/5=13', '55+13=68'] Exploring Operation: 83-68=15, Resulting Numbers: [15] 15,35 unequal: No Solution Exploring Operation: 83*68=5644, Resulting Numbers: [5644] 5644,35 unequal: No Solution Exploring Operation: 83+68=151, Resulting Numbers: [151] 151,35 unequal: No Solution Moving to Node #0,2,3 Current State: 35:[55, 96], Operations: ['65/5=13', '83+13=96'] Exploring Operation: 55+96=151, Resulting Numbers: [151] 151,35 unequal: No Solution Exploring Operation: 96-55=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 55*96=5280, Resulting Numbers: [5280] 5280,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[65, 83, 11], Operations: ['55/5=11'] Exploring Operation: 65-11=54, Resulting Numbers: [83, 54] Generated Node #0,0,0: 35:[83, 54] Operation: 65-11=54 Exploring Operation: 83+11=94, Resulting Numbers: [65, 94] Generated Node #0,0,1: 35:[65, 94] Operation: 83+11=94 Exploring Operation: 83-65=18, Resulting Numbers: [11, 18] Generated Node #0,0,2: 35:[11, 18] Operation: 83-65=18 Exploring Operation: 65+11=76, Resulting Numbers: [83, 76] Generated Node #0,0,3: 35:[83, 76] Operation: 65+11=76 Exploring Operation: 83-11=72, Resulting Numbers: [65, 72] Generated Node #0,0,4: 35:[65, 72] Operation: 83-11=72 Moving to Node #0,0,2 Current State: 35:[11, 18], Operations: ['55/5=11', '83-65=18'] Exploring Operation: 11*18=198, Resulting Numbers: [198] 198,35 unequal: No Solution Exploring Operation: 11+18=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,35 unequal: No Solution Moving to Node #0,0,4 Current State: 35:[65, 72], Operations: ['55/5=11', '83-11=72'] Exploring Operation: 65*72=4680, Resulting Numbers: [4680] 4680,35 unequal: No Solution Exploring Operation: 65+72=137, Resulting Numbers: [137] 137,35 unequal: No Solution Exploring Operation: 72-65=7, Resulting Numbers: [7] 7,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[83, 54], Operations: ['55/5=11', '65-11=54'] Exploring Operation: 83+54=137, Resulting Numbers: [137] 137,35 unequal: No Solution Exploring Operation: 83-54=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 83*54=4482, Resulting Numbers: [4482] 4482,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[65, 94], Operations: ['55/5=11', '83+11=94'] Exploring Operation: 65+94=159, Resulting Numbers: [159] 159,35 unequal: No Solution Exploring Operation: 65*94=6110, Resulting Numbers: [6110] 6110,35 unequal: No Solution Exploring Operation: 94-65=29, Resulting Numbers: [29] 29,35 unequal: No Solution Moving to Node #0,0,3 Current State: 35:[83, 76], Operations: ['55/5=11', '65+11=76'] Exploring Operation: 83+76=159, Resulting Numbers: [159] 159,35 unequal: No Solution Exploring Operation: 83*76=6308, Resulting Numbers: [6308] 6308,35 unequal: No Solution Exploring Operation: 83-76=7, Resulting Numbers: [7] 7,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 53, 58, 69, 16 ]
58
[ "53+58=111", "69-16=53", "111-53=58" ]
Current State: 58:[53, 58, 69, 16], Operations: [] Exploring Operation: 53+58=111, Resulting Numbers: [69, 16, 111] Generated Node #2: [69, 16, 111] from Operation: 53+58=111 Current State: 58:[69, 16, 111], Operations: ['53+58=111'] Exploring Operation: 69-16=53, Resulting Numbers: [111, 53] Generated Node #3: [111, 53] from Operation: 69-16=53 Current State: 58:[111, 53], Operations: ['53+58=111', '69-16=53'] Exploring Operation: 111-53=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[53, 58, 69, 16], Operations: [] Exploring Operation: 53-16=37, Resulting Numbers: [58, 69, 37] Generated Node #0,0: 58:[58, 69, 37] Operation: 53-16=37 Exploring Operation: 69-16=53, Resulting Numbers: [53, 58, 53] Generated Node #0,1: 58:[53, 58, 53] Operation: 69-16=53 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[53, 58, 53], Operations: ['69-16=53'] Exploring Operation: 53-53=0, Resulting Numbers: [58, 0] Generated Node #0,1,0: 58:[58, 0] Operation: 53-53=0 Exploring Operation: 53/53=1, Resulting Numbers: [58, 1] Generated Node #0,1,1: 58:[58, 1] Operation: 53/53=1 Moving to Node #0,1,1 Current State: 58:[58, 1], Operations: ['69-16=53', '53/53=1'] Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[53, 58, 69, 16], Operations: [] Exploring Operation: 69-16=53, Resulting Numbers: [53, 58, 53] Generated Node #0,1: 58:[53, 58, 53] Operation: 69-16=53 Moving to Node #0,1 Current State: 58:[53, 58, 53], Operations: ['69-16=53'] Exploring Operation: 53/53=1, Resulting Numbers: [58, 1] Generated Node #0,1,1: 58:[58, 1] Operation: 53/53=1 Moving to Node #0,1,1 Current State: 58:[58, 1], Operations: ['69-16=53', '53/53=1'] Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 50, 52, 6, 90 ]
82
[ "52-50=2", "90-6=84", "84-2=82" ]
Current State: 82:[50, 52, 6, 90], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [6, 90, 2] Generated Node #2: [6, 90, 2] from Operation: 52-50=2 Current State: 82:[6, 90, 2], Operations: ['52-50=2'] Exploring Operation: 90-6=84, Resulting Numbers: [2, 84] Generated Node #3: [2, 84] from Operation: 90-6=84 Current State: 82:[2, 84], Operations: ['52-50=2', '90-6=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[50, 52, 6, 90], Operations: [] Exploring Operation: 50-6=44, Resulting Numbers: [52, 90, 44] Generated Node #0,0: 82:[52, 90, 44] Operation: 50-6=44 Exploring Operation: 52-50=2, Resulting Numbers: [6, 90, 2] Generated Node #0,1: 82:[6, 90, 2] Operation: 52-50=2 Exploring Operation: 90-52=38, Resulting Numbers: [50, 6, 38] Generated Node #0,2: 82:[50, 6, 38] Operation: 90-52=38 Exploring Operation: 52-6=46, Resulting Numbers: [50, 90, 46] Generated Node #0,3: 82:[50, 90, 46] Operation: 52-6=46 Exploring Operation: 90-50=40, Resulting Numbers: [52, 6, 40] Generated Node #0,4: 82:[52, 6, 40] Operation: 90-50=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[6, 90, 2], Operations: ['52-50=2'] Exploring Operation: 90-2=88, Resulting Numbers: [6, 88] Generated Node #0,1,0: 82:[6, 88] Operation: 90-2=88 Exploring Operation: 6/2=3, Resulting Numbers: [90, 3] Generated Node #0,1,1: 82:[90, 3] Operation: 6/2=3 Exploring Operation: 90/2=45, Resulting Numbers: [6, 45] Generated Node #0,1,2: 82:[6, 45] Operation: 90/2=45 Exploring Operation: 90-6=84, Resulting Numbers: [2, 84] Generated Node #0,1,3: 82:[2, 84] Operation: 90-6=84 Exploring Operation: 6-2=4, Resulting Numbers: [90, 4] Generated Node #0,1,4: 82:[90, 4] Operation: 6-2=4 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 82:[2, 84], Operations: ['52-50=2', '90-6=84'] Exploring Operation: 2*84=168, Resulting Numbers: [168] 168,82 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[50, 52, 6, 90], Operations: [] Exploring Operation: 52-50=2, Resulting Numbers: [6, 90, 2] Generated Node #0,1: 82:[6, 90, 2] Operation: 52-50=2 Moving to Node #0,1 Current State: 82:[6, 90, 2], Operations: ['52-50=2'] Exploring Operation: 90-6=84, Resulting Numbers: [2, 84] Generated Node #0,1,3: 82:[2, 84] Operation: 90-6=84 Moving to Node #0,1,3 Current State: 82:[2, 84], Operations: ['52-50=2', '90-6=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 14, 63, 49, 55 ]
47
[ "63+49=112", "112/14=8", "55-8=47" ]
Current State: 47:[14, 63, 49, 55], Operations: [] Exploring Operation: 63+49=112, Resulting Numbers: [14, 55, 112] Generated Node #2: [14, 55, 112] from Operation: 63+49=112 Current State: 47:[14, 55, 112], Operations: ['63+49=112'] Exploring Operation: 112/14=8, Resulting Numbers: [55, 8] Generated Node #3: [55, 8] from Operation: 112/14=8 Current State: 47:[55, 8], Operations: ['63+49=112', '112/14=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[14, 63, 49, 55], Operations: [] Exploring Operation: 55-14=41, Resulting Numbers: [63, 49, 41] Generated Node #0,0: 47:[63, 49, 41] Operation: 55-14=41 Exploring Operation: 14+63=77, Resulting Numbers: [49, 55, 77] Generated Node #0,1: 47:[49, 55, 77] Operation: 14+63=77 Exploring Operation: 63-14=49, Resulting Numbers: [49, 55, 49] Generated Node #0,2: 47:[49, 55, 49] Operation: 63-14=49 Exploring Operation: 49-14=35, Resulting Numbers: [63, 55, 35] Generated Node #0,3: 47:[63, 55, 35] Operation: 49-14=35 Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[49, 55, 49], Operations: ['63-14=49'] Exploring Operation: 55-49=6, Resulting Numbers: [49, 6] Generated Node #0,2,0: 47:[49, 6] Operation: 55-49=6 Exploring Operation: 55-49=6, Resulting Numbers: [49, 6] Generated Node #0,2,1: 47:[49, 6] Operation: 55-49=6 Exploring Operation: 49/49=1, Resulting Numbers: [55, 1] Generated Node #0,2,2: 47:[55, 1] Operation: 49/49=1 Exploring Operation: 49-49=0, Resulting Numbers: [55, 0] Generated Node #0,2,3: 47:[55, 0] Operation: 49-49=0 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[49, 6], Operations: ['63-14=49', '55-49=6'] Exploring Operation: 49*6=294, Resulting Numbers: [294] 294,47 unequal: No Solution Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,47 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[49, 6], Operations: ['63-14=49', '55-49=6'] Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,47 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 49*6=294, Resulting Numbers: [294] 294,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 47:[55, 1], Operations: ['63-14=49', '49/49=1'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,47 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,47 unequal: No Solution Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 47:[55, 0], Operations: ['63-14=49', '49-49=0'] Exploring Operation: 55-0=55, Resulting Numbers: [55] 55,47 unequal: No Solution Exploring Operation: 55+0=55, Resulting Numbers: [55] 55,47 unequal: No Solution Exploring Operation: 55*0=0, Resulting Numbers: [0] 0,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[63, 49, 41], Operations: ['55-14=41'] Exploring Operation: 49-41=8, Resulting Numbers: [63, 8] Generated Node #0,0,0: 47:[63, 8] Operation: 49-41=8 Exploring Operation: 63-41=22, Resulting Numbers: [49, 22] Generated Node #0,0,1: 47:[49, 22] Operation: 63-41=22 Exploring Operation: 63-49=14, Resulting Numbers: [41, 14] Generated Node #0,0,2: 47:[41, 14] Operation: 63-49=14 Exploring Operation: 63+41=104, Resulting Numbers: [49, 104] Generated Node #0,0,3: 47:[49, 104] Operation: 63+41=104 Moving to Node #0,0,1 Current State: 47:[49, 22], Operations: ['55-14=41', '63-41=22'] Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,47 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,47 unequal: No Solution Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[41, 14], Operations: ['55-14=41', '63-49=14'] Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,47 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,47 unequal: No Solution Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[63, 8], Operations: ['55-14=41', '49-41=8'] Exploring Operation: 63*8=504, Resulting Numbers: [504] 504,47 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,47 unequal: No Solution Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[49, 104], Operations: ['55-14=41', '63+41=104'] Exploring Operation: 49+104=153, Resulting Numbers: [153] 153,47 unequal: No Solution Exploring Operation: 104-49=55, Resulting Numbers: [55] 55,47 unequal: No Solution Exploring Operation: 49*104=5096, Resulting Numbers: [5096] 5096,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[63, 55, 35], Operations: ['49-14=35'] Exploring Operation: 63-55=8, Resulting Numbers: [35, 8] Generated Node #0,3,0: 47:[35, 8] Operation: 63-55=8 Exploring Operation: 63+35=98, Resulting Numbers: [55, 98] Generated Node #0,3,1: 47:[55, 98] Operation: 63+35=98 Exploring Operation: 55-35=20, Resulting Numbers: [63, 20] Generated Node #0,3,2: 47:[63, 20] Operation: 55-35=20 Exploring Operation: 63-35=28, Resulting Numbers: [55, 28] Generated Node #0,3,3: 47:[55, 28] Operation: 63-35=28 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 47:[55, 28], Operations: ['49-14=35', '63-35=28'] Exploring Operation: 55*28=1540, Resulting Numbers: [1540] 1540,47 unequal: No Solution Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,47 unequal: No Solution Exploring Operation: 55+28=83, Resulting Numbers: [83] 83,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 47:[63, 20], Operations: ['49-14=35', '55-35=20'] Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,47 unequal: No Solution Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 47:[35, 8], Operations: ['49-14=35', '63-55=8'] Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,47 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,47 unequal: No Solution Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 47:[55, 98], Operations: ['49-14=35', '63+35=98'] Exploring Operation: 55+98=153, Resulting Numbers: [153] 153,47 unequal: No Solution Exploring Operation: 55*98=5390, Resulting Numbers: [5390] 5390,47 unequal: No Solution Exploring Operation: 98-55=43, Resulting Numbers: [43] 43,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[49, 55, 77], Operations: ['14+63=77'] Exploring Operation: 77-55=22, Resulting Numbers: [49, 22] Generated Node #0,1,0: 47:[49, 22] Operation: 77-55=22 Exploring Operation: 77-49=28, Resulting Numbers: [55, 28] Generated Node #0,1,1: 47:[55, 28] Operation: 77-49=28 Exploring Operation: 49+55=104, Resulting Numbers: [77, 104] Generated Node #0,1,2: 47:[77, 104] Operation: 49+55=104 Exploring Operation: 55-49=6, Resulting Numbers: [77, 6] Generated Node #0,1,3: 47:[77, 6] Operation: 55-49=6 Moving to Node #0,1,0 Current State: 47:[49, 22], Operations: ['14+63=77', '77-55=22'] Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,47 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[55, 28], Operations: ['14+63=77', '77-49=28'] Exploring Operation: 55*28=1540, Resulting Numbers: [1540] 1540,47 unequal: No Solution Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,47 unequal: No Solution Exploring Operation: 55+28=83, Resulting Numbers: [83] 83,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[77, 6], Operations: ['14+63=77', '55-49=6'] Exploring Operation: 77+6=83, Resulting Numbers: [83] 83,47 unequal: No Solution Exploring Operation: 77*6=462, Resulting Numbers: [462] 462,47 unequal: No Solution Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[77, 104], Operations: ['14+63=77', '49+55=104'] Exploring Operation: 77+104=181, Resulting Numbers: [181] 181,47 unequal: No Solution Exploring Operation: 77*104=8008, Resulting Numbers: [8008] 8008,47 unequal: No Solution Exploring Operation: 104-77=27, Resulting Numbers: [27] 27,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 69, 24, 57, 82 ]
70
[ "69-24=45", "82-57=25", "45+25=70" ]
Current State: 70:[69, 24, 57, 82], Operations: [] Exploring Operation: 69-24=45, Resulting Numbers: [57, 82, 45] Generated Node #2: [57, 82, 45] from Operation: 69-24=45 Current State: 70:[57, 82, 45], Operations: ['69-24=45'] Exploring Operation: 82-57=25, Resulting Numbers: [45, 25] Generated Node #3: [45, 25] from Operation: 82-57=25 Current State: 70:[45, 25], Operations: ['69-24=45', '82-57=25'] Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[69, 24, 57, 82], Operations: [] Exploring Operation: 57-24=33, Resulting Numbers: [69, 82, 33] Generated Node #0,0: 70:[69, 82, 33] Operation: 57-24=33 Exploring Operation: 69-57=12, Resulting Numbers: [24, 82, 12] Generated Node #0,1: 70:[24, 82, 12] Operation: 69-57=12 Exploring Operation: 82-57=25, Resulting Numbers: [69, 24, 25] Generated Node #0,2: 70:[69, 24, 25] Operation: 82-57=25 Moving to Node #0,0 Current State: 70:[69, 82, 33], Operations: ['57-24=33'] Exploring Operation: 82-33=49, Resulting Numbers: [69, 49] Generated Node #0,0,0: 70:[69, 49] Operation: 82-33=49 Exploring Operation: 82-69=13, Resulting Numbers: [33, 13] Generated Node #0,0,1: 70:[33, 13] Operation: 82-69=13 Exploring Operation: 69-33=36, Resulting Numbers: [82, 36] Generated Node #0,0,2: 70:[82, 36] Operation: 69-33=36 Moving to Node #0,2 Current State: 70:[69, 24, 25], Operations: ['82-57=25'] Exploring Operation: 25-24=1, Resulting Numbers: [69, 1] Generated Node #0,2,0: 70:[69, 1] Operation: 25-24=1 Exploring Operation: 69-25=44, Resulting Numbers: [24, 44] Generated Node #0,2,1: 70:[24, 44] Operation: 69-25=44 Exploring Operation: 24+25=49, Resulting Numbers: [69, 49] Generated Node #0,2,2: 70:[69, 49] Operation: 24+25=49 Moving to Node #0,1 Current State: 70:[24, 82, 12], Operations: ['69-57=12'] Exploring Operation: 82-12=70, Resulting Numbers: [24, 70] Generated Node #0,1,0: 70:[24, 70] Operation: 82-12=70 Exploring Operation: 24/12=2, Resulting Numbers: [82, 2] Generated Node #0,1,1: 70:[82, 2] Operation: 24/12=2 Exploring Operation: 24+12=36, Resulting Numbers: [82, 36] Generated Node #0,1,2: 70:[82, 36] Operation: 24+12=36 Moving to Node #0,2,0 Current State: 70:[69, 1], Operations: ['82-57=25', '25-24=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[69, 24, 57, 82], Operations: [] Exploring Operation: 82-57=25, Resulting Numbers: [69, 24, 25] Generated Node #0,2: 70:[69, 24, 25] Operation: 82-57=25 Moving to Node #0,2 Current State: 70:[69, 24, 25], Operations: ['82-57=25'] Exploring Operation: 25-24=1, Resulting Numbers: [69, 1] Generated Node #0,2,0: 70:[69, 1] Operation: 25-24=1 Moving to Node #0,2,0 Current State: 70:[69, 1], Operations: ['82-57=25', '25-24=1'] Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.983507
hs_3
sum_heuristic
[ 47, 94, 44, 70 ]
27
[ "47+94=141", "44+70=114", "141-114=27" ]
Current State: 27:[47, 94, 44, 70], Operations: [] Exploring Operation: 47+94=141, Resulting Numbers: [44, 70, 141] Generated Node #2: [44, 70, 141] from Operation: 47+94=141 Current State: 27:[44, 70, 141], Operations: ['47+94=141'] Exploring Operation: 44+70=114, Resulting Numbers: [141, 114] Generated Node #3: [141, 114] from Operation: 44+70=114 Current State: 27:[141, 114], Operations: ['47+94=141', '44+70=114'] Exploring Operation: 141-114=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[47, 94, 44, 70], Operations: [] Exploring Operation: 94-70=24, Resulting Numbers: [47, 44, 24] Generated Node #0,0: 27:[47, 44, 24] Operation: 94-70=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[47, 44, 24], Operations: ['94-70=24'] Exploring Operation: 47-44=3, Resulting Numbers: [24, 3] Generated Node #0,0,0: 27:[24, 3] Operation: 47-44=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[24, 3], Operations: ['94-70=24', '47-44=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[47, 94, 44, 70], Operations: [] Exploring Operation: 94-70=24, Resulting Numbers: [47, 44, 24] Generated Node #0,0: 27:[47, 44, 24] Operation: 94-70=24 Moving to Node #0,0 Current State: 27:[47, 44, 24], Operations: ['94-70=24'] Exploring Operation: 47-44=3, Resulting Numbers: [24, 3] Generated Node #0,0,0: 27:[24, 3] Operation: 47-44=3 Moving to Node #0,0,0 Current State: 27:[24, 3], Operations: ['94-70=24', '47-44=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 39, 67, 2, 27 ]
91
[ "39-27=12", "2*12=24", "67+24=91" ]
Current State: 91:[39, 67, 2, 27], Operations: [] Exploring Operation: 39-27=12, Resulting Numbers: [67, 2, 12] Generated Node #2: [67, 2, 12] from Operation: 39-27=12 Current State: 91:[67, 2, 12], Operations: ['39-27=12'] Exploring Operation: 2*12=24, Resulting Numbers: [67, 24] Generated Node #3: [67, 24] from Operation: 2*12=24 Current State: 91:[67, 24], Operations: ['39-27=12', '2*12=24'] Exploring Operation: 67+24=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[39, 67, 2, 27], Operations: [] Exploring Operation: 39-27=12, Resulting Numbers: [67, 2, 12] Generated Node #0,0: 91:[67, 2, 12] Operation: 39-27=12 Exploring Operation: 67-39=28, Resulting Numbers: [2, 27, 28] Generated Node #0,1: 91:[2, 27, 28] Operation: 67-39=28 Exploring Operation: 39+67=106, Resulting Numbers: [2, 27, 106] Generated Node #0,2: 91:[2, 27, 106] Operation: 39+67=106 Exploring Operation: 67+27=94, Resulting Numbers: [39, 2, 94] Generated Node #0,3: 91:[39, 2, 94] Operation: 67+27=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[67, 2, 12], Operations: ['39-27=12'] Exploring Operation: 67+2=69, Resulting Numbers: [12, 69] Generated Node #0,0,0: 91:[12, 69] Operation: 67+2=69 Exploring Operation: 67+12=79, Resulting Numbers: [2, 79] Generated Node #0,0,1: 91:[2, 79] Operation: 67+12=79 Exploring Operation: 12/2=6, Resulting Numbers: [67, 6] Generated Node #0,0,2: 91:[67, 6] Operation: 12/2=6 Exploring Operation: 2+12=14, Resulting Numbers: [67, 14] Generated Node #0,0,3: 91:[67, 14] Operation: 2+12=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[2, 79], Operations: ['39-27=12', '67+12=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,91 unequal: No Solution Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,91 unequal: No Solution Exploring Operation: 2*79=158, Resulting Numbers: [158] 158,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:[12, 69], Operations: ['39-27=12', '67+2=69'] Exploring Operation: 12+69=81, Resulting Numbers: [81] 81,91 unequal: No Solution Exploring Operation: 12*69=828, Resulting Numbers: [828] 828,91 unequal: No Solution Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,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,2 Current State: 91:[67, 6], Operations: ['39-27=12', '12/2=6'] Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,91 unequal: No Solution Exploring Operation: 67*6=402, Resulting Numbers: [402] 402,91 unequal: No Solution Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,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:[67, 14], Operations: ['39-27=12', '2+12=14'] Exploring Operation: 67+14=81, Resulting Numbers: [81] 81,91 unequal: No Solution Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,91 unequal: No Solution Exploring Operation: 67*14=938, Resulting Numbers: [938] 938,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:[2, 27, 28], Operations: ['67-39=28'] Exploring Operation: 28-2=26, Resulting Numbers: [27, 26] Generated Node #0,1,0: 91:[27, 26] Operation: 28-2=26 Exploring Operation: 27-2=25, Resulting Numbers: [28, 25] Generated Node #0,1,1: 91:[28, 25] Operation: 27-2=25 Exploring Operation: 28/2=14, Resulting Numbers: [27, 14] Generated Node #0,1,2: 91:[27, 14] Operation: 28/2=14 Exploring Operation: 28-27=1, Resulting Numbers: [2, 1] Generated Node #0,1,3: 91:[2, 1] Operation: 28-27=1 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 91:[2, 1], Operations: ['67-39=28', '28-27=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,91 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,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:[27, 14], Operations: ['67-39=28', '28/2=14'] Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,91 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,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:[27, 26], Operations: ['67-39=28', '28-2=26'] Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 27*26=702, Resulting Numbers: [702] 702,91 unequal: No Solution Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[28, 25], Operations: ['67-39=28', '27-2=25'] Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,91 unequal: No Solution Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,91 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,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:[2, 27, 106], Operations: ['39+67=106'] Exploring Operation: 27-2=25, Resulting Numbers: [106, 25] Generated Node #0,2,0: 91:[106, 25] Operation: 27-2=25 Exploring Operation: 2+27=29, Resulting Numbers: [106, 29] Generated Node #0,2,1: 91:[106, 29] Operation: 2+27=29 Exploring Operation: 106-27=79, Resulting Numbers: [2, 79] Generated Node #0,2,2: 91:[2, 79] Operation: 106-27=79 Exploring Operation: 106-2=104, Resulting Numbers: [27, 104] Generated Node #0,2,3: 91:[27, 104] Operation: 106-2=104 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 91:[2, 79], Operations: ['39+67=106', '106-27=79'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,91 unequal: No Solution Exploring Operation: 2*79=158, Resulting Numbers: [158] 158,91 unequal: No Solution Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,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,2,0 Current State: 91:[106, 25], Operations: ['39+67=106', '27-2=25'] Exploring Operation: 106*25=2650, Resulting Numbers: [2650] 2650,91 unequal: No Solution Exploring Operation: 106+25=131, Resulting Numbers: [131] 131,91 unequal: No Solution Exploring Operation: 106-25=81, Resulting Numbers: [81] 81,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,2,3 Current State: 91:[27, 104], Operations: ['39+67=106', '106-2=104'] Exploring Operation: 27*104=2808, Resulting Numbers: [2808] 2808,91 unequal: No Solution Exploring Operation: 27+104=131, Resulting Numbers: [131] 131,91 unequal: No Solution Exploring Operation: 104-27=77, Resulting Numbers: [77] 77,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,2,1 Current State: 91:[106, 29], Operations: ['39+67=106', '2+27=29'] Exploring Operation: 106*29=3074, Resulting Numbers: [3074] 3074,91 unequal: No Solution Exploring Operation: 106-29=77, Resulting Numbers: [77] 77,91 unequal: No Solution Exploring Operation: 106+29=135, Resulting Numbers: [135] 135,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,3 Current State: 91:[39, 2, 94], Operations: ['67+27=94'] Exploring Operation: 39+2=41, Resulting Numbers: [94, 41] Generated Node #0,3,0: 91:[94, 41] Operation: 39+2=41 Exploring Operation: 39-2=37, Resulting Numbers: [94, 37] Generated Node #0,3,1: 91:[94, 37] Operation: 39-2=37 Exploring Operation: 39*2=78, Resulting Numbers: [94, 78] Generated Node #0,3,2: 91:[94, 78] Operation: 39*2=78 Exploring Operation: 94-2=92, Resulting Numbers: [39, 92] Generated Node #0,3,3: 91:[39, 92] Operation: 94-2=92 Moving to Node #0,3,2 Current State: 91:[94, 78], Operations: ['67+27=94', '39*2=78'] Exploring Operation: 94-78=16, Resulting Numbers: [16] 16,91 unequal: No Solution Exploring Operation: 94*78=7332, Resulting Numbers: [7332] 7332,91 unequal: No Solution Exploring Operation: 94+78=172, Resulting Numbers: [172] 172,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[39, 92], Operations: ['67+27=94', '94-2=92'] Exploring Operation: 39+92=131, Resulting Numbers: [131] 131,91 unequal: No Solution Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,91 unequal: No Solution Exploring Operation: 39*92=3588, Resulting Numbers: [3588] 3588,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[94, 37], Operations: ['67+27=94', '39-2=37'] Exploring Operation: 94-37=57, Resulting Numbers: [57] 57,91 unequal: No Solution Exploring Operation: 94+37=131, Resulting Numbers: [131] 131,91 unequal: No Solution Exploring Operation: 94*37=3478, Resulting Numbers: [3478] 3478,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[94, 41], Operations: ['67+27=94', '39+2=41'] Exploring Operation: 94+41=135, Resulting Numbers: [135] 135,91 unequal: No Solution Exploring Operation: 94*41=3854, Resulting Numbers: [3854] 3854,91 unequal: No Solution Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 2, 65, 12, 8 ]
43
[ "65-2=63", "12+8=20", "63-20=43" ]
Current State: 43:[2, 65, 12, 8], Operations: [] Exploring Operation: 65-2=63, Resulting Numbers: [12, 8, 63] Generated Node #2: [12, 8, 63] from Operation: 65-2=63 Current State: 43:[12, 8, 63], Operations: ['65-2=63'] Exploring Operation: 12+8=20, Resulting Numbers: [63, 20] Generated Node #3: [63, 20] from Operation: 12+8=20 Current State: 43:[63, 20], Operations: ['65-2=63', '12+8=20'] Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[2, 65, 12, 8], Operations: [] Exploring Operation: 2*8=16, Resulting Numbers: [65, 12, 16] Generated Node #0,0: 43:[65, 12, 16] Operation: 2*8=16 Exploring Operation: 2*12=24, Resulting Numbers: [65, 8, 24] Generated Node #0,1: 43:[65, 8, 24] Operation: 2*12=24 Exploring Operation: 2+12=14, Resulting Numbers: [65, 8, 14] Generated Node #0,2: 43:[65, 8, 14] Operation: 2+12=14 Exploring Operation: 65-2=63, Resulting Numbers: [12, 8, 63] Generated Node #0,3: 43:[12, 8, 63] Operation: 65-2=63 Exploring Operation: 2+8=10, Resulting Numbers: [65, 12, 10] Generated Node #0,4: 43:[65, 12, 10] Operation: 2+8=10 Moving to Node #0,1 Current State: 43:[65, 8, 24], Operations: ['2*12=24'] Exploring Operation: 24-8=16, Resulting Numbers: [65, 16] Generated Node #0,1,0: 43:[65, 16] Operation: 24-8=16 Exploring Operation: 8+24=32, Resulting Numbers: [65, 32] Generated Node #0,1,1: 43:[65, 32] Operation: 8+24=32 Exploring Operation: 65+8=73, Resulting Numbers: [24, 73] Generated Node #0,1,2: 43:[24, 73] Operation: 65+8=73 Exploring Operation: 65-8=57, Resulting Numbers: [24, 57] Generated Node #0,1,3: 43:[24, 57] Operation: 65-8=57 Exploring Operation: 65-24=41, Resulting Numbers: [8, 41] Generated Node #0,1,4: 43:[8, 41] Operation: 65-24=41 Moving to Node #0,0 Current State: 43:[65, 12, 16], Operations: ['2*8=16'] Exploring Operation: 12+16=28, Resulting Numbers: [65, 28] Generated Node #0,0,0: 43:[65, 28] Operation: 12+16=28 Exploring Operation: 65+12=77, Resulting Numbers: [16, 77] Generated Node #0,0,1: 43:[16, 77] Operation: 65+12=77 Exploring Operation: 65-16=49, Resulting Numbers: [12, 49] Generated Node #0,0,2: 43:[12, 49] Operation: 65-16=49 Exploring Operation: 65-12=53, Resulting Numbers: [16, 53] Generated Node #0,0,3: 43:[16, 53] Operation: 65-12=53 Exploring Operation: 16-12=4, Resulting Numbers: [65, 4] Generated Node #0,0,4: 43:[65, 4] Operation: 16-12=4 Moving to Node #0,2 Current State: 43:[65, 8, 14], Operations: ['2+12=14'] Exploring Operation: 14-8=6, Resulting Numbers: [65, 6] Generated Node #0,2,0: 43:[65, 6] Operation: 14-8=6 Exploring Operation: 65-8=57, Resulting Numbers: [14, 57] Generated Node #0,2,1: 43:[14, 57] Operation: 65-8=57 Exploring Operation: 65-14=51, Resulting Numbers: [8, 51] Generated Node #0,2,2: 43:[8, 51] Operation: 65-14=51 Exploring Operation: 65+8=73, Resulting Numbers: [14, 73] Generated Node #0,2,3: 43:[14, 73] Operation: 65+8=73 Exploring Operation: 8+14=22, Resulting Numbers: [65, 22] Generated Node #0,2,4: 43:[65, 22] Operation: 8+14=22 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 43:[14, 57], Operations: ['2+12=14', '65-8=57'] Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[2, 65, 12, 8], Operations: [] Exploring Operation: 2+12=14, Resulting Numbers: [65, 8, 14] Generated Node #0,2: 43:[65, 8, 14] Operation: 2+12=14 Moving to Node #0,2 Current State: 43:[65, 8, 14], Operations: ['2+12=14'] Exploring Operation: 65-8=57, Resulting Numbers: [14, 57] Generated Node #0,2,1: 43:[14, 57] Operation: 65-8=57 Moving to Node #0,2,1 Current State: 43:[14, 57], Operations: ['2+12=14', '65-8=57'] Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 25, 17, 75, 23 ]
52
[ "75/25=3", "23*3=69", "69-17=52" ]
Current State: 52:[25, 17, 75, 23], Operations: [] Exploring Operation: 75/25=3, Resulting Numbers: [17, 23, 3] Generated Node #2: [17, 23, 3] from Operation: 75/25=3 Current State: 52:[17, 23, 3], Operations: ['75/25=3'] Exploring Operation: 23*3=69, Resulting Numbers: [17, 69] Generated Node #3: [17, 69] from Operation: 23*3=69 Current State: 52:[17, 69], Operations: ['75/25=3', '23*3=69'] Exploring Operation: 69-17=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[25, 17, 75, 23], Operations: [] Exploring Operation: 75-23=52, Resulting Numbers: [25, 17, 52] Generated Node #0,0: 52:[25, 17, 52] Operation: 75-23=52 Exploring Operation: 75-25=50, Resulting Numbers: [17, 23, 50] Generated Node #0,1: 52:[17, 23, 50] Operation: 75-25=50 Exploring Operation: 75-17=58, Resulting Numbers: [25, 23, 58] Generated Node #0,2: 52:[25, 23, 58] Operation: 75-17=58 Exploring Operation: 75/25=3, Resulting Numbers: [17, 23, 3] Generated Node #0,3: 52:[17, 23, 3] Operation: 75/25=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[25, 17, 52], Operations: ['75-23=52'] Exploring Operation: 25+17=42, Resulting Numbers: [52, 42] Generated Node #0,0,0: 52:[52, 42] Operation: 25+17=42 Exploring Operation: 25-17=8, Resulting Numbers: [52, 8] Generated Node #0,0,1: 52:[52, 8] Operation: 25-17=8 Exploring Operation: 52-17=35, Resulting Numbers: [25, 35] Generated Node #0,0,2: 52:[25, 35] Operation: 52-17=35 Exploring Operation: 52-25=27, Resulting Numbers: [17, 27] Generated Node #0,0,3: 52:[17, 27] Operation: 52-25=27 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[52, 8], Operations: ['75-23=52', '25-17=8'] Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 52*8=416, Resulting Numbers: [416] 416,52 unequal: No Solution Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,52 unequal: No Solution No 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: 52:[17, 27], Operations: ['75-23=52', '52-25=27'] Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,52 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,52 unequal: No Solution No 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: 52:[52, 42], Operations: ['75-23=52', '25+17=42'] Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,52 unequal: No Solution Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,52 unequal: No Solution No 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: 52:[25, 35], Operations: ['75-23=52', '52-17=35'] Exploring Operation: 25*35=875, Resulting Numbers: [875] 875,52 unequal: No Solution Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,52 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: 52:[17, 23, 3], Operations: ['75/25=3'] Exploring Operation: 23-17=6, Resulting Numbers: [3, 6] Generated Node #0,3,0: 52:[3, 6] Operation: 23-17=6 Exploring Operation: 17*3=51, Resulting Numbers: [23, 51] Generated Node #0,3,1: 52:[23, 51] Operation: 17*3=51 Exploring Operation: 17-3=14, Resulting Numbers: [23, 14] Generated Node #0,3,2: 52:[23, 14] Operation: 17-3=14 Exploring Operation: 23+3=26, Resulting Numbers: [17, 26] Generated Node #0,3,3: 52:[17, 26] Operation: 23+3=26 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 52:[3, 6], Operations: ['75/25=3', '23-17=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,52 unequal: No Solution No 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: 52:[23, 51], Operations: ['75/25=3', '17*3=51'] Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 23*51=1173, Resulting Numbers: [1173] 1173,52 unequal: No Solution Exploring Operation: 23+51=74, Resulting Numbers: [74] 74,52 unequal: No Solution No 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: 52:[23, 14], Operations: ['75/25=3', '17-3=14'] Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,52 unequal: No Solution Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,52 unequal: No Solution No 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: 52:[17, 26], Operations: ['75/25=3', '23+3=26'] Exploring Operation: 17*26=442, Resulting Numbers: [442] 442,52 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,52 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: 52:[17, 23, 50], Operations: ['75-25=50'] Exploring Operation: 23-17=6, Resulting Numbers: [50, 6] Generated Node #0,1,0: 52:[50, 6] Operation: 23-17=6 Exploring Operation: 50-23=27, Resulting Numbers: [17, 27] Generated Node #0,1,1: 52:[17, 27] Operation: 50-23=27 Exploring Operation: 17+23=40, Resulting Numbers: [50, 40] Generated Node #0,1,2: 52:[50, 40] Operation: 17+23=40 Exploring Operation: 50-17=33, Resulting Numbers: [23, 33] Generated Node #0,1,3: 52:[23, 33] Operation: 50-17=33 Moving to Node #0,1,0 Current State: 52:[50, 6], Operations: ['75-25=50', '23-17=6'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,52 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[17, 27], Operations: ['75-25=50', '50-23=27'] Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[23, 33], Operations: ['75-25=50', '50-17=33'] Exploring Operation: 23*33=759, Resulting Numbers: [759] 759,52 unequal: No Solution Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[50, 40], Operations: ['75-25=50', '17+23=40'] Exploring Operation: 50*40=2000, Resulting Numbers: [2000] 2000,52 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 50+40=90, Resulting Numbers: [90] 90,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[25, 23, 58], Operations: ['75-17=58'] Exploring Operation: 25+23=48, Resulting Numbers: [58, 48] Generated Node #0,2,0: 52:[58, 48] Operation: 25+23=48 Exploring Operation: 25-23=2, Resulting Numbers: [58, 2] Generated Node #0,2,1: 52:[58, 2] Operation: 25-23=2 Exploring Operation: 58-25=33, Resulting Numbers: [23, 33] Generated Node #0,2,2: 52:[23, 33] Operation: 58-25=33 Exploring Operation: 58-23=35, Resulting Numbers: [25, 35] Generated Node #0,2,3: 52:[25, 35] Operation: 58-23=35 Moving to Node #0,2,1 Current State: 52:[58, 2], Operations: ['75-17=58', '25-23=2'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,52 unequal: No Solution Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[23, 33], Operations: ['75-17=58', '58-25=33'] Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 23*33=759, Resulting Numbers: [759] 759,52 unequal: No Solution Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[58, 48], Operations: ['75-17=58', '25+23=48'] Exploring Operation: 58+48=106, Resulting Numbers: [106] 106,52 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 58*48=2784, Resulting Numbers: [2784] 2784,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[25, 35], Operations: ['75-17=58', '58-23=35'] Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 25*35=875, Resulting Numbers: [875] 875,52 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
[ 55, 74, 74, 2 ]
27
[ "74/74=1", "55-1=54", "54/2=27" ]
Current State: 27:[55, 74, 74, 2], Operations: [] Exploring Operation: 74/74=1, Resulting Numbers: [55, 2, 1] Generated Node #2: [55, 2, 1] from Operation: 74/74=1 Current State: 27:[55, 2, 1], Operations: ['74/74=1'] Exploring Operation: 55-1=54, Resulting Numbers: [2, 54] Generated Node #3: [2, 54] from Operation: 55-1=54 Current State: 27:[2, 54], Operations: ['74/74=1', '55-1=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[55, 74, 74, 2], Operations: [] Exploring Operation: 74-74=0, Resulting Numbers: [55, 2, 0] Generated Node #0,0: 27:[55, 2, 0] Operation: 74-74=0 Exploring Operation: 74/74=1, Resulting Numbers: [55, 2, 1] Generated Node #0,1: 27:[55, 2, 1] Operation: 74/74=1 Exploring Operation: 74-55=19, Resulting Numbers: [74, 2, 19] Generated Node #0,2: 27:[74, 2, 19] Operation: 74-55=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[55, 2, 1], Operations: ['74/74=1'] Exploring Operation: 2+1=3, Resulting Numbers: [55, 3] Generated Node #0,1,0: 27:[55, 3] Operation: 2+1=3 Exploring Operation: 55-2=53, Resulting Numbers: [1, 53] Generated Node #0,1,1: 27:[1, 53] Operation: 55-2=53 Exploring Operation: 55-1=54, Resulting Numbers: [2, 54] Generated Node #0,1,2: 27:[2, 54] Operation: 55-1=54 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 27:[55, 3], Operations: ['74/74=1', '2+1=3'] Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,27 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,27 unequal: No Solution No 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: 27:[1, 53], Operations: ['74/74=1', '55-2=53'] Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,27 unequal: No Solution Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 1*53=53, Resulting Numbers: [53] 53,27 unequal: No Solution No 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: 27:[2, 54], Operations: ['74/74=1', '55-1=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[55, 74, 74, 2], Operations: [] Exploring Operation: 74/74=1, Resulting Numbers: [55, 2, 1] Generated Node #0,1: 27:[55, 2, 1] Operation: 74/74=1 Moving to Node #0,1 Current State: 27:[55, 2, 1], Operations: ['74/74=1'] Exploring Operation: 55-1=54, Resulting Numbers: [2, 54] Generated Node #0,1,2: 27:[2, 54] Operation: 55-1=54 Moving to Node #0,1,2 Current State: 27:[2, 54], Operations: ['74/74=1', '55-1=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 9, 29, 94, 28 ]
46
[ "29-9=20", "94-28=66", "66-20=46" ]
Current State: 46:[9, 29, 94, 28], Operations: [] Exploring Operation: 29-9=20, Resulting Numbers: [94, 28, 20] Generated Node #2: [94, 28, 20] from Operation: 29-9=20 Current State: 46:[94, 28, 20], Operations: ['29-9=20'] Exploring Operation: 94-28=66, Resulting Numbers: [20, 66] Generated Node #3: [20, 66] from Operation: 94-28=66 Current State: 46:[20, 66], Operations: ['29-9=20', '94-28=66'] Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[9, 29, 94, 28], Operations: [] Exploring Operation: 94-9=85, Resulting Numbers: [29, 28, 85] Generated Node #0,0: 46:[29, 28, 85] Operation: 94-9=85 Exploring Operation: 94-28=66, Resulting Numbers: [9, 29, 66] Generated Node #0,1: 46:[9, 29, 66] Operation: 94-28=66 Exploring Operation: 94-29=65, Resulting Numbers: [9, 28, 65] Generated Node #0,2: 46:[9, 28, 65] Operation: 94-29=65 Moving to Node #0,2 Current State: 46:[9, 28, 65], Operations: ['94-29=65'] Exploring Operation: 28-9=19, Resulting Numbers: [65, 19] Generated Node #0,2,0: 46:[65, 19] Operation: 28-9=19 Exploring Operation: 65-9=56, Resulting Numbers: [28, 56] Generated Node #0,2,1: 46:[28, 56] Operation: 65-9=56 Exploring Operation: 65-28=37, Resulting Numbers: [9, 37] Generated Node #0,2,2: 46:[9, 37] Operation: 65-28=37 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[28, 56], Operations: ['94-29=65', '65-9=56'] Exploring Operation: 56/28=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 28+56=84, Resulting Numbers: [84] 84,46 unequal: No Solution Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[9, 37], Operations: ['94-29=65', '65-28=37'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[9, 29, 94, 28], Operations: [] Exploring Operation: 94-29=65, Resulting Numbers: [9, 28, 65] Generated Node #0,2: 46:[9, 28, 65] Operation: 94-29=65 Moving to Node #0,2 Current State: 46:[9, 28, 65], Operations: ['94-29=65'] Exploring Operation: 65-28=37, Resulting Numbers: [9, 37] Generated Node #0,2,2: 46:[9, 37] Operation: 65-28=37 Moving to Node #0,2,2 Current State: 46:[9, 37], Operations: ['94-29=65', '65-28=37'] Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 54, 13, 58, 21 ]
71
[ "58-54=4", "21*4=84", "84-13=71" ]
Current State: 71:[54, 13, 58, 21], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [13, 21, 4] Generated Node #2: [13, 21, 4] from Operation: 58-54=4 Current State: 71:[13, 21, 4], Operations: ['58-54=4'] Exploring Operation: 21*4=84, Resulting Numbers: [13, 84] Generated Node #3: [13, 84] from Operation: 21*4=84 Current State: 71:[13, 84], Operations: ['58-54=4', '21*4=84'] Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[54, 13, 58, 21], Operations: [] Exploring Operation: 54+13=67, Resulting Numbers: [58, 21, 67] Generated Node #0,0: 71:[58, 21, 67] Operation: 54+13=67 Exploring Operation: 13+21=34, Resulting Numbers: [54, 58, 34] Generated Node #0,1: 71:[54, 58, 34] Operation: 13+21=34 Exploring Operation: 54+21=75, Resulting Numbers: [13, 58, 75] Generated Node #0,2: 71:[13, 58, 75] Operation: 54+21=75 Exploring Operation: 13+58=71, Resulting Numbers: [54, 21, 71] Generated Node #0,3: 71:[54, 21, 71] Operation: 13+58=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[58, 21, 67], Operations: ['54+13=67'] Exploring Operation: 58-21=37, Resulting Numbers: [67, 37] Generated Node #0,0,0: 71:[67, 37] Operation: 58-21=37 Exploring Operation: 58+21=79, Resulting Numbers: [67, 79] Generated Node #0,0,1: 71:[67, 79] Operation: 58+21=79 Exploring Operation: 21+67=88, Resulting Numbers: [58, 88] Generated Node #0,0,2: 71:[58, 88] Operation: 21+67=88 Exploring Operation: 67-21=46, Resulting Numbers: [58, 46] Generated Node #0,0,3: 71:[58, 46] Operation: 67-21=46 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[67, 79], Operations: ['54+13=67', '58+21=79'] Exploring Operation: 79-67=12, Resulting Numbers: [12] 12,71 unequal: No Solution Exploring Operation: 67*79=5293, Resulting Numbers: [5293] 5293,71 unequal: No Solution Exploring Operation: 67+79=146, Resulting Numbers: [146] 146,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,0,2 Current State: 71:[58, 88], Operations: ['54+13=67', '21+67=88'] Exploring Operation: 88-58=30, Resulting Numbers: [30] 30,71 unequal: No Solution Exploring Operation: 58+88=146, Resulting Numbers: [146] 146,71 unequal: No Solution Exploring Operation: 58*88=5104, Resulting Numbers: [5104] 5104,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,0,0 Current State: 71:[67, 37], Operations: ['54+13=67', '58-21=37'] Exploring Operation: 67*37=2479, Resulting Numbers: [2479] 2479,71 unequal: No Solution Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,71 unequal: No Solution Exploring Operation: 67+37=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,0,3 Current State: 71:[58, 46], Operations: ['54+13=67', '67-21=46'] Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,71 unequal: No Solution Exploring Operation: 58+46=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 58*46=2668, Resulting Numbers: [2668] 2668,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,1 Current State: 71:[54, 58, 34], Operations: ['13+21=34'] Exploring Operation: 54+34=88, Resulting Numbers: [58, 88] Generated Node #0,1,0: 71:[58, 88] Operation: 54+34=88 Exploring Operation: 54-34=20, Resulting Numbers: [58, 20] Generated Node #0,1,1: 71:[58, 20] Operation: 54-34=20 Exploring Operation: 58-34=24, Resulting Numbers: [54, 24] Generated Node #0,1,2: 71:[54, 24] Operation: 58-34=24 Exploring Operation: 58+34=92, Resulting Numbers: [54, 92] Generated Node #0,1,3: 71:[54, 92] Operation: 58+34=92 Moving to Node #0,1,0 Current State: 71:[58, 88], Operations: ['13+21=34', '54+34=88'] Exploring Operation: 88-58=30, Resulting Numbers: [30] 30,71 unequal: No Solution Exploring Operation: 58+88=146, Resulting Numbers: [146] 146,71 unequal: No Solution Exploring Operation: 58*88=5104, Resulting Numbers: [5104] 5104,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[54, 92], Operations: ['13+21=34', '58+34=92'] Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,71 unequal: No Solution Exploring Operation: 54*92=4968, Resulting Numbers: [4968] 4968,71 unequal: No Solution Exploring Operation: 54+92=146, Resulting Numbers: [146] 146,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[54, 24], Operations: ['13+21=34', '58-34=24'] Exploring Operation: 54+24=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 54*24=1296, Resulting Numbers: [1296] 1296,71 unequal: No Solution Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[58, 20], Operations: ['13+21=34', '54-34=20'] Exploring Operation: 58*20=1160, Resulting Numbers: [1160] 1160,71 unequal: No Solution Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,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,3 Current State: 71:[54, 21, 71], Operations: ['13+58=71'] Exploring Operation: 54-21=33, Resulting Numbers: [71, 33] Generated Node #0,3,0: 71:[71, 33] Operation: 54-21=33 Exploring Operation: 54+21=75, Resulting Numbers: [71, 75] Generated Node #0,3,1: 71:[71, 75] Operation: 54+21=75 Exploring Operation: 21+71=92, Resulting Numbers: [54, 92] Generated Node #0,3,2: 71:[54, 92] Operation: 21+71=92 Exploring Operation: 71-21=50, Resulting Numbers: [54, 50] Generated Node #0,3,3: 71:[54, 50] Operation: 71-21=50 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 71:[71, 75], Operations: ['13+58=71', '54+21=75'] Exploring Operation: 71*75=5325, Resulting Numbers: [5325] 5325,71 unequal: No Solution Exploring Operation: 71+75=146, Resulting Numbers: [146] 146,71 unequal: No Solution Exploring Operation: 75-71=4, Resulting Numbers: [4] 4,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,0 Current State: 71:[71, 33], Operations: ['13+58=71', '54-21=33'] Exploring Operation: 71*33=2343, Resulting Numbers: [2343] 2343,71 unequal: No Solution Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,71 unequal: No Solution Exploring Operation: 71+33=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,2 Current State: 71:[54, 92], Operations: ['13+58=71', '21+71=92'] Exploring Operation: 54+92=146, Resulting Numbers: [146] 146,71 unequal: No Solution Exploring Operation: 54*92=4968, Resulting Numbers: [4968] 4968,71 unequal: No Solution Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,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:[54, 50], Operations: ['13+58=71', '71-21=50'] Exploring Operation: 54+50=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 54*50=2700, Resulting Numbers: [2700] 2700,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,2 Current State: 71:[13, 58, 75], Operations: ['54+21=75'] Exploring Operation: 13+75=88, Resulting Numbers: [58, 88] Generated Node #0,2,0: 71:[58, 88] Operation: 13+75=88 Exploring Operation: 13+58=71, Resulting Numbers: [75, 71] Generated Node #0,2,1: 71:[75, 71] Operation: 13+58=71 Exploring Operation: 75-13=62, Resulting Numbers: [58, 62] Generated Node #0,2,2: 71:[58, 62] Operation: 75-13=62 Exploring Operation: 58-13=45, Resulting Numbers: [75, 45] Generated Node #0,2,3: 71:[75, 45] Operation: 58-13=45 Moving to Node #0,2,1 Current State: 71:[75, 71], Operations: ['54+21=75', '13+58=71'] Exploring Operation: 75+71=146, Resulting Numbers: [146] 146,71 unequal: No Solution Exploring Operation: 75*71=5325, Resulting Numbers: [5325] 5325,71 unequal: No Solution Exploring Operation: 75-71=4, Resulting Numbers: [4] 4,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[58, 62], Operations: ['54+21=75', '75-13=62'] Exploring Operation: 58*62=3596, Resulting Numbers: [3596] 3596,71 unequal: No Solution Exploring Operation: 62-58=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 58+62=120, Resulting Numbers: [120] 120,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[75, 45], Operations: ['54+21=75', '58-13=45'] Exploring Operation: 75+45=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 75*45=3375, Resulting Numbers: [3375] 3375,71 unequal: No Solution Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[58, 88], Operations: ['54+21=75', '13+75=88'] Exploring Operation: 88-58=30, Resulting Numbers: [30] 30,71 unequal: No Solution Exploring Operation: 58+88=146, Resulting Numbers: [146] 146,71 unequal: No Solution Exploring Operation: 58*88=5104, Resulting Numbers: [5104] 5104,71 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
[ 1, 9, 19, 36 ]
46
[ "1*9=9", "19+36=55", "55-9=46" ]
Current State: 46:[1, 9, 19, 36], Operations: [] Exploring Operation: 1*9=9, Resulting Numbers: [19, 36, 9] Generated Node #2: [19, 36, 9] from Operation: 1*9=9 Current State: 46:[19, 36, 9], Operations: ['1*9=9'] Exploring Operation: 19+36=55, Resulting Numbers: [9, 55] Generated Node #3: [9, 55] from Operation: 19+36=55 Current State: 46:[9, 55], Operations: ['1*9=9', '19+36=55'] Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[1, 9, 19, 36], Operations: [] Exploring Operation: 36/9=4, Resulting Numbers: [1, 19, 4] Generated Node #0,0: 46:[1, 19, 4] Operation: 36/9=4 Exploring Operation: 9+36=45, Resulting Numbers: [1, 19, 45] Generated Node #0,1: 46:[1, 19, 45] Operation: 9+36=45 Exploring Operation: 36-9=27, Resulting Numbers: [1, 19, 27] Generated Node #0,2: 46:[1, 19, 27] Operation: 36-9=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[1, 19, 45], Operations: ['9+36=45'] Exploring Operation: 45-19=26, Resulting Numbers: [1, 26] Generated Node #0,1,0: 46:[1, 26] Operation: 45-19=26 Exploring Operation: 1+19=20, Resulting Numbers: [45, 20] Generated Node #0,1,1: 46:[45, 20] Operation: 1+19=20 Exploring Operation: 1+45=46, Resulting Numbers: [19, 46] Generated Node #0,1,2: 46:[19, 46] Operation: 1+45=46 Moving to Node #0,1,0 Current State: 46:[1, 26], Operations: ['9+36=45', '45-19=26'] Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[45, 20], Operations: ['9+36=45', '1+19=20'] Exploring Operation: 45*20=900, Resulting Numbers: [900] 900,46 unequal: No Solution Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 45+20=65, Resulting Numbers: [65] 65,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[19, 46], Operations: ['9+36=45', '1+45=46'] Exploring Operation: 19*46=874, Resulting Numbers: [874] 874,46 unequal: No Solution Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 19+46=65, Resulting Numbers: [65] 65,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,0 Current State: 46:[1, 19, 4], Operations: ['36/9=4'] Exploring Operation: 1+19=20, Resulting Numbers: [4, 20] Generated Node #0,0,0: 46:[4, 20] Operation: 1+19=20 Exploring Operation: 4-1=3, Resulting Numbers: [19, 3] Generated Node #0,0,1: 46:[19, 3] Operation: 4-1=3 Exploring Operation: 19+4=23, Resulting Numbers: [1, 23] Generated Node #0,0,2: 46:[1, 23] Operation: 19+4=23 Moving to Node #0,0,2 Current State: 46:[1, 23], Operations: ['36/9=4', '19+4=23'] Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[4, 20], Operations: ['36/9=4', '1+19=20'] Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[19, 3], Operations: ['36/9=4', '4-1=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,46 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[1, 19, 27], Operations: ['36-9=27'] Exploring Operation: 1+19=20, Resulting Numbers: [27, 20] Generated Node #0,2,0: 46:[27, 20] Operation: 1+19=20 Exploring Operation: 27-1=26, Resulting Numbers: [19, 26] Generated Node #0,2,1: 46:[19, 26] Operation: 27-1=26 Exploring Operation: 19+27=46, Resulting Numbers: [1, 46] Generated Node #0,2,2: 46:[1, 46] Operation: 19+27=46 Moving to Node #0,2,2 Current State: 46:[1, 46], Operations: ['36-9=27', '19+27=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[1, 9, 19, 36], Operations: [] Exploring Operation: 36-9=27, Resulting Numbers: [1, 19, 27] Generated Node #0,2: 46:[1, 19, 27] Operation: 36-9=27 Moving to Node #0,2 Current State: 46:[1, 19, 27], Operations: ['36-9=27'] Exploring Operation: 19+27=46, Resulting Numbers: [1, 46] Generated Node #0,2,2: 46:[1, 46] Operation: 19+27=46 Moving to Node #0,2,2 Current State: 46:[1, 46], Operations: ['36-9=27', '19+27=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 22, 13, 64, 74 ]
90
[ "22-13=9", "74-64=10", "9*10=90" ]
Current State: 90:[22, 13, 64, 74], Operations: [] Exploring Operation: 22-13=9, Resulting Numbers: [64, 74, 9] Generated Node #2: [64, 74, 9] from Operation: 22-13=9 Current State: 90:[64, 74, 9], Operations: ['22-13=9'] Exploring Operation: 74-64=10, Resulting Numbers: [9, 10] Generated Node #3: [9, 10] from Operation: 74-64=10 Current State: 90:[9, 10], Operations: ['22-13=9', '74-64=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[22, 13, 64, 74], Operations: [] Exploring Operation: 64-22=42, Resulting Numbers: [13, 74, 42] Generated Node #0,0: 90:[13, 74, 42] Operation: 64-22=42 Exploring Operation: 74-64=10, Resulting Numbers: [22, 13, 10] Generated Node #0,1: 90:[22, 13, 10] Operation: 74-64=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[22, 13, 10], Operations: ['74-64=10'] Exploring Operation: 22+10=32, Resulting Numbers: [13, 32] Generated Node #0,1,0: 90:[13, 32] Operation: 22+10=32 Exploring Operation: 22-13=9, Resulting Numbers: [10, 9] Generated Node #0,1,1: 90:[10, 9] Operation: 22-13=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 90:[10, 9], Operations: ['74-64=10', '22-13=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[22, 13, 64, 74], Operations: [] Exploring Operation: 74-64=10, Resulting Numbers: [22, 13, 10] Generated Node #0,1: 90:[22, 13, 10] Operation: 74-64=10 Moving to Node #0,1 Current State: 90:[22, 13, 10], Operations: ['74-64=10'] Exploring Operation: 22-13=9, Resulting Numbers: [10, 9] Generated Node #0,1,1: 90:[10, 9] Operation: 22-13=9 Moving to Node #0,1,1 Current State: 90:[10, 9], Operations: ['74-64=10', '22-13=9'] Exploring Operation: 10*9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 68, 72, 20, 25 ]
55
[ "72-68=4", "20*4=80", "80-25=55" ]
Current State: 55:[68, 72, 20, 25], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [20, 25, 4] Generated Node #2: [20, 25, 4] from Operation: 72-68=4 Current State: 55:[20, 25, 4], Operations: ['72-68=4'] Exploring Operation: 20*4=80, Resulting Numbers: [25, 80] Generated Node #3: [25, 80] from Operation: 20*4=80 Current State: 55:[25, 80], Operations: ['72-68=4', '20*4=80'] Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[68, 72, 20, 25], Operations: [] Exploring Operation: 72-25=47, Resulting Numbers: [68, 20, 47] Generated Node #0,0: 55:[68, 20, 47] Operation: 72-25=47 Exploring Operation: 72-68=4, Resulting Numbers: [20, 25, 4] Generated Node #0,1: 55:[20, 25, 4] Operation: 72-68=4 Exploring Operation: 72-20=52, Resulting Numbers: [68, 25, 52] Generated Node #0,2: 55:[68, 25, 52] Operation: 72-20=52 Exploring Operation: 25-20=5, Resulting Numbers: [68, 72, 5] Generated Node #0,3: 55:[68, 72, 5] Operation: 25-20=5 Moving to Node #0,1 Current State: 55:[20, 25, 4], Operations: ['72-68=4'] Exploring Operation: 25-20=5, Resulting Numbers: [4, 5] Generated Node #0,1,0: 55:[4, 5] Operation: 25-20=5 Exploring Operation: 20-4=16, Resulting Numbers: [25, 16] Generated Node #0,1,1: 55:[25, 16] Operation: 20-4=16 Exploring Operation: 20+25=45, Resulting Numbers: [4, 45] Generated Node #0,1,2: 55:[4, 45] Operation: 20+25=45 Exploring Operation: 20/4=5, Resulting Numbers: [25, 5] Generated Node #0,1,3: 55:[25, 5] Operation: 20/4=5 Moving to Node #0,2 Current State: 55:[68, 25, 52], Operations: ['72-20=52'] Exploring Operation: 52-25=27, Resulting Numbers: [68, 27] Generated Node #0,2,0: 55:[68, 27] Operation: 52-25=27 Exploring Operation: 68-52=16, Resulting Numbers: [25, 16] Generated Node #0,2,1: 55:[25, 16] Operation: 68-52=16 Exploring Operation: 68-25=43, Resulting Numbers: [52, 43] Generated Node #0,2,2: 55:[52, 43] Operation: 68-25=43 Exploring Operation: 25+52=77, Resulting Numbers: [68, 77] Generated Node #0,2,3: 55:[68, 77] Operation: 25+52=77 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 55:[52, 43], Operations: ['72-20=52', '68-25=43'] Exploring Operation: 52-43=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 52*43=2236, Resulting Numbers: [2236] 2236,55 unequal: No Solution Exploring Operation: 52+43=95, Resulting Numbers: [95] 95,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 55:[25, 16], Operations: ['72-20=52', '68-52=16'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 55:[68, 27], Operations: ['72-20=52', '52-25=27'] Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,55 unequal: No Solution Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,55 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 55:[68, 77], Operations: ['72-20=52', '25+52=77'] Exploring Operation: 68*77=5236, Resulting Numbers: [5236] 5236,55 unequal: No Solution Exploring Operation: 77-68=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 68+77=145, Resulting Numbers: [145] 145,55 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: 55:[68, 20, 47], Operations: ['72-25=47'] Exploring Operation: 20+47=67, Resulting Numbers: [68, 67] Generated Node #0,0,0: 55:[68, 67] Operation: 20+47=67 Exploring Operation: 68-20=48, Resulting Numbers: [47, 48] Generated Node #0,0,1: 55:[47, 48] Operation: 68-20=48 Exploring Operation: 47-20=27, Resulting Numbers: [68, 27] Generated Node #0,0,2: 55:[68, 27] Operation: 47-20=27 Exploring Operation: 68-47=21, Resulting Numbers: [20, 21] Generated Node #0,0,3: 55:[20, 21] Operation: 68-47=21 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[47, 48], Operations: ['72-25=47', '68-20=48'] Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 47*48=2256, Resulting Numbers: [2256] 2256,55 unequal: No Solution Exploring Operation: 47+48=95, Resulting Numbers: [95] 95,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 55:[20, 21], Operations: ['72-25=47', '68-47=21'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[68, 67], Operations: ['72-25=47', '20+47=67'] Exploring Operation: 68+67=135, Resulting Numbers: [135] 135,55 unequal: No Solution Exploring Operation: 68*67=4556, Resulting Numbers: [4556] 4556,55 unequal: No Solution Exploring Operation: 68-67=1, Resulting Numbers: [1] 1,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[68, 27], Operations: ['72-25=47', '47-20=27'] Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,55 unequal: No Solution Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,55 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: 55:[68, 72, 5], Operations: ['25-20=5'] Exploring Operation: 72-5=67, Resulting Numbers: [68, 67] Generated Node #0,3,0: 55:[68, 67] Operation: 72-5=67 Exploring Operation: 72-68=4, Resulting Numbers: [5, 4] Generated Node #0,3,1: 55:[5, 4] Operation: 72-68=4 Exploring Operation: 68+5=73, Resulting Numbers: [72, 73] Generated Node #0,3,2: 55:[72, 73] Operation: 68+5=73 Exploring Operation: 68-5=63, Resulting Numbers: [72, 63] Generated Node #0,3,3: 55:[72, 63] Operation: 68-5=63 Moving to Node #0,1,0 Current State: 55:[4, 5], Operations: ['72-68=4', '25-20=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,55 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[5, 4], Operations: ['25-20=5', '72-68=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[4, 45], Operations: ['72-68=4', '20+25=45'] Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[25, 5], Operations: ['72-68=4', '20/4=5'] Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,55 unequal: No Solution Exploring Operation: 25*5=125, Resulting Numbers: [125] 125,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[25, 16], Operations: ['72-68=4', '20-4=16'] Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,55 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,55 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[68, 67], Operations: ['25-20=5', '72-5=67'] Exploring Operation: 68+67=135, Resulting Numbers: [135] 135,55 unequal: No Solution Exploring Operation: 68-67=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 68*67=4556, Resulting Numbers: [4556] 4556,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[72, 63], Operations: ['25-20=5', '68-5=63'] Exploring Operation: 72-63=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 72*63=4536, Resulting Numbers: [4536] 4536,55 unequal: No Solution Exploring Operation: 72+63=135, Resulting Numbers: [135] 135,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[72, 73], Operations: ['25-20=5', '68+5=73'] Exploring Operation: 72*73=5256, Resulting Numbers: [5256] 5256,55 unequal: No Solution Exploring Operation: 72+73=145, Resulting Numbers: [145] 145,55 unequal: No Solution Exploring Operation: 73-72=1, Resulting Numbers: [1] 1,55 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 62, 44, 45, 27 ]
54
[ "62-44=18", "45+27=72", "72-18=54" ]
Current State: 54:[62, 44, 45, 27], Operations: [] Exploring Operation: 62-44=18, Resulting Numbers: [45, 27, 18] Generated Node #2: [45, 27, 18] from Operation: 62-44=18 Current State: 54:[45, 27, 18], Operations: ['62-44=18'] Exploring Operation: 45+27=72, Resulting Numbers: [18, 72] Generated Node #3: [18, 72] from Operation: 45+27=72 Current State: 54:[18, 72], Operations: ['62-44=18', '45+27=72'] Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[62, 44, 45, 27], Operations: [] Exploring Operation: 45-44=1, Resulting Numbers: [62, 27, 1] Generated Node #0,0: 54:[62, 27, 1] Operation: 45-44=1 Exploring Operation: 62-45=17, Resulting Numbers: [44, 27, 17] Generated Node #0,1: 54:[44, 27, 17] Operation: 62-45=17 Exploring Operation: 62-44=18, Resulting Numbers: [45, 27, 18] Generated Node #0,2: 54:[45, 27, 18] Operation: 62-44=18 Moving to Node #0,0 Current State: 54:[62, 27, 1], Operations: ['45-44=1'] Exploring Operation: 62-1=61, Resulting Numbers: [27, 61] Generated Node #0,0,0: 54:[27, 61] Operation: 62-1=61 Exploring Operation: 62*1=62, Resulting Numbers: [27, 62] Generated Node #0,0,1: 54:[27, 62] Operation: 62*1=62 Exploring Operation: 62/1=62, Resulting Numbers: [27, 62] Generated Node #0,0,2: 54:[27, 62] Operation: 62/1=62 Moving to Node #0,2 Current State: 54:[45, 27, 18], Operations: ['62-44=18'] Exploring Operation: 45-27=18, Resulting Numbers: [18, 18] Generated Node #0,2,0: 54:[18, 18] Operation: 45-27=18 Exploring Operation: 45-18=27, Resulting Numbers: [27, 27] Generated Node #0,2,1: 54:[27, 27] Operation: 45-18=27 Exploring Operation: 45+18=63, Resulting Numbers: [27, 63] Generated Node #0,2,2: 54:[27, 63] Operation: 45+18=63 Moving to Node #0,1 Current State: 54:[44, 27, 17], Operations: ['62-45=17'] Exploring Operation: 44-27=17, Resulting Numbers: [17, 17] Generated Node #0,1,0: 54:[17, 17] Operation: 44-27=17 Exploring Operation: 44+17=61, Resulting Numbers: [27, 61] Generated Node #0,1,1: 54:[27, 61] Operation: 44+17=61 Exploring Operation: 44-17=27, Resulting Numbers: [27, 27] Generated Node #0,1,2: 54:[27, 27] Operation: 44-17=27 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 54:[27, 27], Operations: ['62-45=17', '44-17=27'] Exploring Operation: 27+27=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[62, 44, 45, 27], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [44, 27, 17] Generated Node #0,1: 54:[44, 27, 17] Operation: 62-45=17 Moving to Node #0,1 Current State: 54:[44, 27, 17], Operations: ['62-45=17'] Exploring Operation: 44-17=27, Resulting Numbers: [27, 27] Generated Node #0,1,2: 54:[27, 27] Operation: 44-17=27 Moving to Node #0,1,2 Current State: 54:[27, 27], Operations: ['62-45=17', '44-17=27'] Exploring Operation: 27+27=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 16, 4, 31, 71 ]
24
[ "16*4=64", "71-31=40", "64-40=24" ]
Current State: 24:[16, 4, 31, 71], Operations: [] Exploring Operation: 16*4=64, Resulting Numbers: [31, 71, 64] Generated Node #2: [31, 71, 64] from Operation: 16*4=64 Current State: 24:[31, 71, 64], Operations: ['16*4=64'] Exploring Operation: 71-31=40, Resulting Numbers: [64, 40] Generated Node #3: [64, 40] from Operation: 71-31=40 Current State: 24:[64, 40], Operations: ['16*4=64', '71-31=40'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[16, 4, 31, 71], Operations: [] Exploring Operation: 31-16=15, Resulting Numbers: [4, 71, 15] Generated Node #0,0: 24:[4, 71, 15] Operation: 31-16=15 Exploring Operation: 71-16=55, Resulting Numbers: [4, 31, 55] Generated Node #0,1: 24:[4, 31, 55] Operation: 71-16=55 Exploring Operation: 16-4=12, Resulting Numbers: [31, 71, 12] Generated Node #0,2: 24:[31, 71, 12] Operation: 16-4=12 Exploring Operation: 16/4=4, Resulting Numbers: [31, 71, 4] Generated Node #0,3: 24:[31, 71, 4] Operation: 16/4=4 Exploring Operation: 71-31=40, Resulting Numbers: [16, 4, 40] Generated Node #0,4: 24:[16, 4, 40] Operation: 71-31=40 Moving to Node #0,4 Current State: 24:[16, 4, 40], Operations: ['71-31=40'] Exploring Operation: 16/4=4, Resulting Numbers: [40, 4] Generated Node #0,4,0: 24:[40, 4] Operation: 16/4=4 Exploring Operation: 40-16=24, Resulting Numbers: [4, 24] Generated Node #0,4,1: 24:[4, 24] Operation: 40-16=24 Exploring Operation: 40-4=36, Resulting Numbers: [16, 36] Generated Node #0,4,2: 24:[16, 36] Operation: 40-4=36 Exploring Operation: 40/4=10, Resulting Numbers: [16, 10] Generated Node #0,4,3: 24:[16, 10] Operation: 40/4=10 Exploring Operation: 16-4=12, Resulting Numbers: [40, 12] Generated Node #0,4,4: 24:[40, 12] Operation: 16-4=12 Moving to Node #0,1 Current State: 24:[4, 31, 55], Operations: ['71-16=55'] Exploring Operation: 55-31=24, Resulting Numbers: [4, 24] Generated Node #0,1,0: 24:[4, 24] Operation: 55-31=24 Exploring Operation: 31-4=27, Resulting Numbers: [55, 27] Generated Node #0,1,1: 24:[55, 27] Operation: 31-4=27 Exploring Operation: 4+55=59, Resulting Numbers: [31, 59] Generated Node #0,1,2: 24:[31, 59] Operation: 4+55=59 Exploring Operation: 55-4=51, Resulting Numbers: [31, 51] Generated Node #0,1,3: 24:[31, 51] Operation: 55-4=51 Exploring Operation: 4+31=35, Resulting Numbers: [55, 35] Generated Node #0,1,4: 24:[55, 35] Operation: 4+31=35 Moving to Node #0,0 Current State: 24:[4, 71, 15], Operations: ['31-16=15'] Exploring Operation: 4+71=75, Resulting Numbers: [15, 75] Generated Node #0,0,0: 24:[15, 75] Operation: 4+71=75 Exploring Operation: 71-4=67, Resulting Numbers: [15, 67] Generated Node #0,0,1: 24:[15, 67] Operation: 71-4=67 Exploring Operation: 71-15=56, Resulting Numbers: [4, 56] Generated Node #0,0,2: 24:[4, 56] Operation: 71-15=56 Exploring Operation: 4+15=19, Resulting Numbers: [71, 19] Generated Node #0,0,3: 24:[71, 19] Operation: 4+15=19 Exploring Operation: 15-4=11, Resulting Numbers: [71, 11] Generated Node #0,0,4: 24:[71, 11] Operation: 15-4=11 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[4, 56], Operations: ['31-16=15', '71-15=56'] Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,24 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 4*56=224, Resulting Numbers: [224] 224,24 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[15, 67], Operations: ['31-16=15', '71-4=67'] Exploring Operation: 15*67=1005, Resulting Numbers: [1005] 1005,24 unequal: No Solution Exploring Operation: 15+67=82, Resulting Numbers: [82] 82,24 unequal: No Solution Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 24:[71, 11], Operations: ['31-16=15', '15-4=11'] Exploring Operation: 71+11=82, Resulting Numbers: [82] 82,24 unequal: No Solution Exploring Operation: 71*11=781, Resulting Numbers: [781] 781,24 unequal: No Solution Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 24:[71, 19], Operations: ['31-16=15', '4+15=19'] Exploring Operation: 71*19=1349, Resulting Numbers: [1349] 1349,24 unequal: No Solution Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,24 unequal: No Solution Exploring Operation: 71+19=90, Resulting Numbers: [90] 90,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[15, 75], Operations: ['31-16=15', '4+71=75'] Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 15+75=90, Resulting Numbers: [90] 90,24 unequal: No Solution Exploring Operation: 15*75=1125, Resulting Numbers: [1125] 1125,24 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,24 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: 24:[31, 71, 12], Operations: ['16-4=12'] Exploring Operation: 71-31=40, Resulting Numbers: [12, 40] Generated Node #0,2,0: 24:[12, 40] Operation: 71-31=40 Exploring Operation: 31-12=19, Resulting Numbers: [71, 19] Generated Node #0,2,1: 24:[71, 19] Operation: 31-12=19 Exploring Operation: 71+12=83, Resulting Numbers: [31, 83] Generated Node #0,2,2: 24:[31, 83] Operation: 71+12=83 Exploring Operation: 71-12=59, Resulting Numbers: [31, 59] Generated Node #0,2,3: 24:[31, 59] Operation: 71-12=59 Exploring Operation: 31+12=43, Resulting Numbers: [71, 43] Generated Node #0,2,4: 24:[71, 43] Operation: 31+12=43 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[12, 40], Operations: ['16-4=12', '71-31=40'] Exploring Operation: 12+40=52, Resulting Numbers: [52] 52,24 unequal: No Solution Exploring Operation: 12*40=480, Resulting Numbers: [480] 480,24 unequal: No Solution Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[31, 59], Operations: ['16-4=12', '71-12=59'] Exploring Operation: 59-31=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 31*59=1829, Resulting Numbers: [1829] 1829,24 unequal: No Solution Exploring Operation: 31+59=90, Resulting Numbers: [90] 90,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[71, 19], Operations: ['16-4=12', '31-12=19'] Exploring Operation: 71+19=90, Resulting Numbers: [90] 90,24 unequal: No Solution Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,24 unequal: No Solution Exploring Operation: 71*19=1349, Resulting Numbers: [1349] 1349,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 24:[31, 83], Operations: ['16-4=12', '71+12=83'] Exploring Operation: 31+83=114, Resulting Numbers: [114] 114,24 unequal: No Solution Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,24 unequal: No Solution Exploring Operation: 31*83=2573, Resulting Numbers: [2573] 2573,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 24:[71, 43], Operations: ['16-4=12', '31+12=43'] Exploring Operation: 71*43=3053, Resulting Numbers: [3053] 3053,24 unequal: No Solution Exploring Operation: 71+43=114, Resulting Numbers: [114] 114,24 unequal: No Solution Exploring Operation: 71-43=28, Resulting Numbers: [28] 28,24 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: 24:[31, 71, 4], Operations: ['16/4=4'] Exploring Operation: 31+4=35, Resulting Numbers: [71, 35] Generated Node #0,3,0: 24:[71, 35] Operation: 31+4=35 Exploring Operation: 71-4=67, Resulting Numbers: [31, 67] Generated Node #0,3,1: 24:[31, 67] Operation: 71-4=67 Exploring Operation: 71+4=75, Resulting Numbers: [31, 75] Generated Node #0,3,2: 24:[31, 75] Operation: 71+4=75 Exploring Operation: 31-4=27, Resulting Numbers: [71, 27] Generated Node #0,3,3: 24:[71, 27] Operation: 31-4=27 Exploring Operation: 71-31=40, Resulting Numbers: [4, 40] Generated Node #0,3,4: 24:[4, 40] Operation: 71-31=40 Moving to Node #0,4,1 Current State: 24:[4, 24], Operations: ['71-31=40', '40-16=24'] Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,24 unequal: No Solution Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[4, 24], Operations: ['71-16=55', '55-31=24'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,24 unequal: No Solution Moving to Node #0,4,3 Current State: 24:[16, 10], Operations: ['71-31=40', '40/4=10'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,24 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,24 unequal: No Solution Moving to Node #0,4,0 Current State: 24:[40, 4], Operations: ['71-31=40', '16/4=4'] Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,24 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,24 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,24 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,24 unequal: No Solution Moving to Node #0,4,4 Current State: 24:[40, 12], Operations: ['71-31=40', '16-4=12'] Exploring Operation: 40*12=480, Resulting Numbers: [480] 480,24 unequal: No Solution Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,24 unequal: No Solution Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,24 unequal: No Solution Moving to Node #0,3,4 Current State: 24:[4, 40], Operations: ['16/4=4', '71-31=40'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,24 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,24 unequal: No Solution Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,24 unequal: No Solution Moving to Node #0,4,2 Current State: 24:[16, 36], Operations: ['71-31=40', '40-4=36'] Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,24 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,24 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[55, 27], Operations: ['71-16=55', '31-4=27'] Exploring Operation: 55+27=82, Resulting Numbers: [82] 82,24 unequal: No Solution Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 55*27=1485, Resulting Numbers: [1485] 1485,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[31, 51], Operations: ['71-16=55', '55-4=51'] Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,24 unequal: No Solution Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,24 unequal: No Solution Exploring Operation: 31*51=1581, Resulting Numbers: [1581] 1581,24 unequal: No Solution Moving to Node #0,1,4 Current State: 24:[55, 35], Operations: ['71-16=55', '4+31=35'] Exploring Operation: 55+35=90, Resulting Numbers: [90] 90,24 unequal: No Solution Exploring Operation: 55*35=1925, Resulting Numbers: [1925] 1925,24 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[31, 59], Operations: ['71-16=55', '4+55=59'] Exploring Operation: 31*59=1829, Resulting Numbers: [1829] 1829,24 unequal: No Solution Exploring Operation: 59-31=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 31+59=90, Resulting Numbers: [90] 90,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[71, 27], Operations: ['16/4=4', '31-4=27'] Exploring Operation: 71*27=1917, Resulting Numbers: [1917] 1917,24 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,24 unequal: No Solution Exploring Operation: 71+27=98, Resulting Numbers: [98] 98,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[31, 67], Operations: ['16/4=4', '71-4=67'] Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,24 unequal: No Solution Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,24 unequal: No Solution Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[31, 75], Operations: ['16/4=4', '71+4=75'] Exploring Operation: 31*75=2325, Resulting Numbers: [2325] 2325,24 unequal: No Solution Exploring Operation: 31+75=106, Resulting Numbers: [106] 106,24 unequal: No Solution Exploring Operation: 75-31=44, Resulting Numbers: [44] 44,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[71, 35], Operations: ['16/4=4', '31+4=35'] Exploring Operation: 71+35=106, Resulting Numbers: [106] 106,24 unequal: No Solution Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,24 unequal: No Solution Exploring Operation: 71*35=2485, Resulting Numbers: [2485] 2485,24 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 3, 74, 20, 47 ]
61
[ "3*20=60", "74+47=121", "121-60=61" ]
Current State: 61:[3, 74, 20, 47], Operations: [] Exploring Operation: 3*20=60, Resulting Numbers: [74, 47, 60] Generated Node #2: [74, 47, 60] from Operation: 3*20=60 Current State: 61:[74, 47, 60], Operations: ['3*20=60'] Exploring Operation: 74+47=121, Resulting Numbers: [60, 121] Generated Node #3: [60, 121] from Operation: 74+47=121 Current State: 61:[60, 121], Operations: ['3*20=60', '74+47=121'] Exploring Operation: 121-60=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[3, 74, 20, 47], Operations: [] Exploring Operation: 3+47=50, Resulting Numbers: [74, 20, 50] Generated Node #0,0: 61:[74, 20, 50] Operation: 3+47=50 Exploring Operation: 3*20=60, Resulting Numbers: [74, 47, 60] Generated Node #0,1: 61:[74, 47, 60] Operation: 3*20=60 Exploring Operation: 74-3=71, Resulting Numbers: [20, 47, 71] Generated Node #0,2: 61:[20, 47, 71] Operation: 74-3=71 Exploring Operation: 3+20=23, Resulting Numbers: [74, 47, 23] Generated Node #0,3: 61:[74, 47, 23] Operation: 3+20=23 Moving to Node #0,1 Current State: 61:[74, 47, 60], Operations: ['3*20=60'] Exploring Operation: 74+47=121, Resulting Numbers: [60, 121] Generated Node #0,1,0: 61:[60, 121] Operation: 74+47=121 Exploring Operation: 47+60=107, Resulting Numbers: [74, 107] Generated Node #0,1,1: 61:[74, 107] Operation: 47+60=107 Exploring Operation: 74-47=27, Resulting Numbers: [60, 27] Generated Node #0,1,2: 61:[60, 27] Operation: 74-47=27 Exploring Operation: 74-60=14, Resulting Numbers: [47, 14] Generated Node #0,1,3: 61:[47, 14] Operation: 74-60=14 Moving to Node #0,2 Current State: 61:[20, 47, 71], Operations: ['74-3=71'] Exploring Operation: 47-20=27, Resulting Numbers: [71, 27] Generated Node #0,2,0: 61:[71, 27] Operation: 47-20=27 Exploring Operation: 20+71=91, Resulting Numbers: [47, 91] Generated Node #0,2,1: 61:[47, 91] Operation: 20+71=91 Exploring Operation: 20+47=67, Resulting Numbers: [71, 67] Generated Node #0,2,2: 61:[71, 67] Operation: 20+47=67 Exploring Operation: 71-20=51, Resulting Numbers: [47, 51] Generated Node #0,2,3: 61:[47, 51] Operation: 71-20=51 Moving to Node #0,0 Current State: 61:[74, 20, 50], Operations: ['3+47=50'] Exploring Operation: 74+20=94, Resulting Numbers: [50, 94] Generated Node #0,0,0: 61:[50, 94] Operation: 74+20=94 Exploring Operation: 50-20=30, Resulting Numbers: [74, 30] Generated Node #0,0,1: 61:[74, 30] Operation: 50-20=30 Exploring Operation: 74-20=54, Resulting Numbers: [50, 54] Generated Node #0,0,2: 61:[50, 54] Operation: 74-20=54 Exploring Operation: 20+50=70, Resulting Numbers: [74, 70] Generated Node #0,0,3: 61:[74, 70] Operation: 20+50=70 Moving to Node #0,3 Current State: 61:[74, 47, 23], Operations: ['3+20=23'] Exploring Operation: 47+23=70, Resulting Numbers: [74, 70] Generated Node #0,3,0: 61:[74, 70] Operation: 47+23=70 Exploring Operation: 74+23=97, Resulting Numbers: [47, 97] Generated Node #0,3,1: 61:[47, 97] Operation: 74+23=97 Exploring Operation: 74-23=51, Resulting Numbers: [47, 51] Generated Node #0,3,2: 61:[47, 51] Operation: 74-23=51 Exploring Operation: 47-23=24, Resulting Numbers: [74, 24] Generated Node #0,3,3: 61:[74, 24] Operation: 47-23=24 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[74, 70], Operations: ['3+20=23', '47+23=70'] Exploring Operation: 74+70=144, Resulting Numbers: [144] 144,61 unequal: No Solution Exploring Operation: 74*70=5180, Resulting Numbers: [5180] 5180,61 unequal: No Solution Exploring Operation: 74-70=4, Resulting Numbers: [4] 4,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,3,2 Current State: 61:[47, 51], Operations: ['3+20=23', '74-23=51'] Exploring Operation: 47*51=2397, Resulting Numbers: [2397] 2397,61 unequal: No Solution Exploring Operation: 47+51=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,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,3,1 Current State: 61:[47, 97], Operations: ['3+20=23', '74+23=97'] Exploring Operation: 47*97=4559, Resulting Numbers: [4559] 4559,61 unequal: No Solution Exploring Operation: 47+97=144, Resulting Numbers: [144] 144,61 unequal: No Solution Exploring Operation: 97-47=50, Resulting Numbers: [50] 50,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,3,3 Current State: 61:[74, 24], Operations: ['3+20=23', '47-23=24'] Exploring Operation: 74+24=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 74*24=1776, Resulting Numbers: [1776] 1776,61 unequal: No Solution Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 61:[71, 67], Operations: ['74-3=71', '20+47=67'] Exploring Operation: 71-67=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 71+67=138, Resulting Numbers: [138] 138,61 unequal: No Solution Exploring Operation: 71*67=4757, Resulting Numbers: [4757] 4757,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[50, 54], Operations: ['3+47=50', '74-20=54'] Exploring Operation: 50+54=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 50*54=2700, Resulting Numbers: [2700] 2700,61 unequal: No Solution Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[74, 70], Operations: ['3+47=50', '20+50=70'] Exploring Operation: 74+70=144, Resulting Numbers: [144] 144,61 unequal: No Solution Exploring Operation: 74-70=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 74*70=5180, Resulting Numbers: [5180] 5180,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[47, 51], Operations: ['74-3=71', '71-20=51'] Exploring Operation: 47*51=2397, Resulting Numbers: [2397] 2397,61 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,61 unequal: No Solution Exploring Operation: 47+51=98, Resulting Numbers: [98] 98,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[60, 27], Operations: ['3*20=60', '74-47=27'] Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,61 unequal: No Solution Exploring Operation: 60*27=1620, Resulting Numbers: [1620] 1620,61 unequal: No Solution Exploring Operation: 60+27=87, Resulting Numbers: [87] 87,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[71, 27], Operations: ['74-3=71', '47-20=27'] Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 71+27=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 71*27=1917, Resulting Numbers: [1917] 1917,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[74, 30], Operations: ['3+47=50', '50-20=30'] Exploring Operation: 74+30=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 74*30=2220, Resulting Numbers: [2220] 2220,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[50, 94], Operations: ['3+47=50', '74+20=94'] Exploring Operation: 50+94=144, Resulting Numbers: [144] 144,61 unequal: No Solution Exploring Operation: 94-50=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 50*94=4700, Resulting Numbers: [4700] 4700,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[47, 91], Operations: ['74-3=71', '20+71=91'] Exploring Operation: 47+91=138, Resulting Numbers: [138] 138,61 unequal: No Solution Exploring Operation: 91-47=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 47*91=4277, Resulting Numbers: [4277] 4277,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[74, 107], Operations: ['3*20=60', '47+60=107'] Exploring Operation: 107-74=33, Resulting Numbers: [33] 33,61 unequal: No Solution Exploring Operation: 74+107=181, Resulting Numbers: [181] 181,61 unequal: No Solution Exploring Operation: 74*107=7918, Resulting Numbers: [7918] 7918,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[47, 14], Operations: ['3*20=60', '74-60=14'] Exploring Operation: 47*14=658, Resulting Numbers: [658] 658,61 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,61 unequal: No Solution Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[3, 74, 20, 47], Operations: [] Exploring Operation: 3*20=60, Resulting Numbers: [74, 47, 60] Generated Node #0,1: 61:[74, 47, 60] Operation: 3*20=60 Moving to Node #0,1 Current State: 61:[74, 47, 60], Operations: ['3*20=60'] Exploring Operation: 74-60=14, Resulting Numbers: [47, 14] Generated Node #0,1,3: 61:[47, 14] Operation: 74-60=14 Moving to Node #0,1,3 Current State: 61:[47, 14], Operations: ['3*20=60', '74-60=14'] Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
0.940104
hs_4
sum_heuristic
[ 47, 64, 41, 74 ]
50
[ "64-47=17", "74-41=33", "17+33=50" ]
Current State: 50:[47, 64, 41, 74], Operations: [] Exploring Operation: 64-47=17, Resulting Numbers: [41, 74, 17] Generated Node #2: [41, 74, 17] from Operation: 64-47=17 Current State: 50:[41, 74, 17], Operations: ['64-47=17'] Exploring Operation: 74-41=33, Resulting Numbers: [17, 33] Generated Node #3: [17, 33] from Operation: 74-41=33 Current State: 50:[17, 33], Operations: ['64-47=17', '74-41=33'] Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[47, 64, 41, 74], Operations: [] Exploring Operation: 74-47=27, Resulting Numbers: [64, 41, 27] Generated Node #0,0: 50:[64, 41, 27] Operation: 74-47=27 Exploring Operation: 74-41=33, Resulting Numbers: [47, 64, 33] Generated Node #0,1: 50:[47, 64, 33] Operation: 74-41=33 Exploring Operation: 74-64=10, Resulting Numbers: [47, 41, 10] Generated Node #0,2: 50:[47, 41, 10] Operation: 74-64=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[47, 41, 10], Operations: ['74-64=10'] Exploring Operation: 41-10=31, Resulting Numbers: [47, 31] Generated Node #0,2,0: 50:[47, 31] Operation: 41-10=31 Exploring Operation: 41+10=51, Resulting Numbers: [47, 51] Generated Node #0,2,1: 50:[47, 51] Operation: 41+10=51 Exploring Operation: 47-41=6, Resulting Numbers: [10, 6] Generated Node #0,2,2: 50:[10, 6] Operation: 47-41=6 Moving to Node #0,2,2 Current State: 50:[10, 6], Operations: ['74-64=10', '47-41=6'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,50 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[47, 51], Operations: ['74-64=10', '41+10=51'] Exploring Operation: 47*51=2397, Resulting Numbers: [2397] 2397,50 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 47+51=98, Resulting Numbers: [98] 98,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[47, 31], Operations: ['74-64=10', '41-10=31'] Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 47+31=78, Resulting Numbers: [78] 78,50 unequal: No Solution Exploring Operation: 47*31=1457, Resulting Numbers: [1457] 1457,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[64, 41, 27], Operations: ['74-47=27'] Exploring Operation: 64-41=23, Resulting Numbers: [27, 23] Generated Node #0,0,0: 50:[27, 23] Operation: 64-41=23 Exploring Operation: 64-27=37, Resulting Numbers: [41, 37] Generated Node #0,0,1: 50:[41, 37] Operation: 64-27=37 Exploring Operation: 41-27=14, Resulting Numbers: [64, 14] Generated Node #0,0,2: 50:[64, 14] Operation: 41-27=14 Moving to Node #0,0,0 Current State: 50:[27, 23], Operations: ['74-47=27', '64-41=23'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[47, 64, 41, 74], Operations: [] Exploring Operation: 74-47=27, Resulting Numbers: [64, 41, 27] Generated Node #0,0: 50:[64, 41, 27] Operation: 74-47=27 Moving to Node #0,0 Current State: 50:[64, 41, 27], Operations: ['74-47=27'] Exploring Operation: 64-41=23, Resulting Numbers: [27, 23] Generated Node #0,0,0: 50:[27, 23] Operation: 64-41=23 Moving to Node #0,0,0 Current State: 50:[27, 23], Operations: ['74-47=27', '64-41=23'] Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 37, 59, 28, 18 ]
12
[ "59-37=22", "28-18=10", "22-10=12" ]
Current State: 12:[37, 59, 28, 18], Operations: [] Exploring Operation: 59-37=22, Resulting Numbers: [28, 18, 22] Generated Node #2: [28, 18, 22] from Operation: 59-37=22 Current State: 12:[28, 18, 22], Operations: ['59-37=22'] Exploring Operation: 28-18=10, Resulting Numbers: [22, 10] Generated Node #3: [22, 10] from Operation: 28-18=10 Current State: 12:[22, 10], Operations: ['59-37=22', '28-18=10'] Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[37, 59, 28, 18], Operations: [] Exploring Operation: 59-37=22, Resulting Numbers: [28, 18, 22] Generated Node #0,0: 12:[28, 18, 22] Operation: 59-37=22 Exploring Operation: 59-28=31, Resulting Numbers: [37, 18, 31] Generated Node #0,1: 12:[37, 18, 31] Operation: 59-28=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[28, 18, 22], Operations: ['59-37=22'] Exploring Operation: 28-18=10, Resulting Numbers: [22, 10] Generated Node #0,0,0: 12:[22, 10] Operation: 28-18=10 Exploring Operation: 28-22=6, Resulting Numbers: [18, 6] Generated Node #0,0,1: 12:[18, 6] Operation: 28-22=6 Moving to Node #0,0,1 Current State: 12:[18, 6], Operations: ['59-37=22', '28-22=6'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[37, 59, 28, 18], Operations: [] Exploring Operation: 59-37=22, Resulting Numbers: [28, 18, 22] Generated Node #0,0: 12:[28, 18, 22] Operation: 59-37=22 Moving to Node #0,0 Current State: 12:[28, 18, 22], Operations: ['59-37=22'] Exploring Operation: 28-22=6, Resulting Numbers: [18, 6] Generated Node #0,0,1: 12:[18, 6] Operation: 28-22=6 Moving to Node #0,0,1 Current State: 12:[18, 6], Operations: ['59-37=22', '28-22=6'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 79, 15, 10, 5 ]
46
[ "15+10=25", "5*25=125", "125-79=46" ]
Current State: 46:[79, 15, 10, 5], Operations: [] Exploring Operation: 15+10=25, Resulting Numbers: [79, 5, 25] Generated Node #2: [79, 5, 25] from Operation: 15+10=25 Current State: 46:[79, 5, 25], Operations: ['15+10=25'] Exploring Operation: 5*25=125, Resulting Numbers: [79, 125] Generated Node #3: [79, 125] from Operation: 5*25=125 Current State: 46:[79, 125], Operations: ['15+10=25', '5*25=125'] Exploring Operation: 125-79=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[79, 15, 10, 5], Operations: [] Exploring Operation: 15+10=25, Resulting Numbers: [79, 5, 25] Generated Node #0,0: 46:[79, 5, 25] Operation: 15+10=25 Exploring Operation: 10/5=2, Resulting Numbers: [79, 15, 2] Generated Node #0,1: 46:[79, 15, 2] Operation: 10/5=2 Exploring Operation: 79-15=64, Resulting Numbers: [10, 5, 64] Generated Node #0,2: 46:[10, 5, 64] Operation: 79-15=64 Exploring Operation: 79-10=69, Resulting Numbers: [15, 5, 69] Generated Node #0,3: 46:[15, 5, 69] Operation: 79-10=69 Exploring Operation: 15-10=5, Resulting Numbers: [79, 5, 5] Generated Node #0,4: 46:[79, 5, 5] Operation: 15-10=5 Moving to Node #0,2 Current State: 46:[10, 5, 64], Operations: ['79-15=64'] Exploring Operation: 64-10=54, Resulting Numbers: [5, 54] Generated Node #0,2,0: 46:[5, 54] Operation: 64-10=54 Exploring Operation: 10*5=50, Resulting Numbers: [64, 50] Generated Node #0,2,1: 46:[64, 50] Operation: 10*5=50 Exploring Operation: 10/5=2, Resulting Numbers: [64, 2] Generated Node #0,2,2: 46:[64, 2] Operation: 10/5=2 Exploring Operation: 64-5=59, Resulting Numbers: [10, 59] Generated Node #0,2,3: 46:[10, 59] Operation: 64-5=59 Exploring Operation: 10-5=5, Resulting Numbers: [64, 5] Generated Node #0,2,4: 46:[64, 5] Operation: 10-5=5 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 46:[5, 54], Operations: ['79-15=64', '64-10=54'] Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,46 unequal: No Solution Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,46 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[64, 2], Operations: ['79-15=64', '10/5=2'] Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,46 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,46 unequal: No Solution Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,46 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 46:[10, 59], Operations: ['79-15=64', '64-5=59'] Exploring Operation: 10+59=69, Resulting Numbers: [69] 69,46 unequal: No Solution Exploring Operation: 10*59=590, Resulting Numbers: [590] 590,46 unequal: No Solution Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 46:[64, 5], Operations: ['79-15=64', '10-5=5'] Exploring Operation: 64*5=320, Resulting Numbers: [320] 320,46 unequal: No Solution Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,46 unequal: No Solution Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[64, 50], Operations: ['79-15=64', '10*5=50'] Exploring Operation: 64*50=3200, Resulting Numbers: [3200] 3200,46 unequal: No Solution Exploring Operation: 64-50=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 64+50=114, Resulting Numbers: [114] 114,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 46:[15, 5, 69], Operations: ['79-10=69'] Exploring Operation: 15+5=20, Resulting Numbers: [69, 20] Generated Node #0,3,0: 46:[69, 20] Operation: 15+5=20 Exploring Operation: 69-5=64, Resulting Numbers: [15, 64] Generated Node #0,3,1: 46:[15, 64] Operation: 69-5=64 Exploring Operation: 15/5=3, Resulting Numbers: [69, 3] Generated Node #0,3,2: 46:[69, 3] Operation: 15/5=3 Exploring Operation: 15-5=10, Resulting Numbers: [69, 10] Generated Node #0,3,3: 46:[69, 10] Operation: 15-5=10 Exploring Operation: 69-15=54, Resulting Numbers: [5, 54] Generated Node #0,3,4: 46:[5, 54] Operation: 69-15=54 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 46:[5, 54], Operations: ['79-10=69', '69-15=54'] Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,46 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 46:[69, 3], Operations: ['79-10=69', '15/5=3'] Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,46 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,46 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 46:[69, 20], Operations: ['79-10=69', '15+5=20'] Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,46 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 46:[15, 64], Operations: ['79-10=69', '69-5=64'] Exploring Operation: 15*64=960, Resulting Numbers: [960] 960,46 unequal: No Solution Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 46:[69, 10], Operations: ['79-10=69', '15-5=10'] Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,46 unequal: No Solution Exploring Operation: 69*10=690, Resulting Numbers: [690] 690,46 unequal: No Solution Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 46:[79, 5, 25], Operations: ['15+10=25'] Exploring Operation: 25/5=5, Resulting Numbers: [79, 5] Generated Node #0,0,0: 46:[79, 5] Operation: 25/5=5 Exploring Operation: 25-5=20, Resulting Numbers: [79, 20] Generated Node #0,0,1: 46:[79, 20] Operation: 25-5=20 Exploring Operation: 79-5=74, Resulting Numbers: [25, 74] Generated Node #0,0,2: 46:[25, 74] Operation: 79-5=74 Exploring Operation: 79+5=84, Resulting Numbers: [25, 84] Generated Node #0,0,3: 46:[25, 84] Operation: 79+5=84 Exploring Operation: 79-25=54, Resulting Numbers: [5, 54] Generated Node #0,0,4: 46:[5, 54] Operation: 79-25=54 Moving to Node #0,4 Current State: 46:[79, 5, 5], Operations: ['15-10=5'] Exploring Operation: 79-5=74, Resulting Numbers: [5, 74] Generated Node #0,4,0: 46:[5, 74] Operation: 79-5=74 Exploring Operation: 79-5=74, Resulting Numbers: [5, 74] Generated Node #0,4,1: 46:[5, 74] Operation: 79-5=74 Exploring Operation: 5*5=25, Resulting Numbers: [79, 25] Generated Node #0,4,2: 46:[79, 25] Operation: 5*5=25 Exploring Operation: 5-5=0, Resulting Numbers: [79, 0] Generated Node #0,4,3: 46:[79, 0] Operation: 5-5=0 Exploring Operation: 5/5=1, Resulting Numbers: [79, 1] Generated Node #0,4,4: 46:[79, 1] Operation: 5/5=1 Moving to Node #0,1 Current State: 46:[79, 15, 2], Operations: ['10/5=2'] Exploring Operation: 15+2=17, Resulting Numbers: [79, 17] Generated Node #0,1,0: 46:[79, 17] Operation: 15+2=17 Exploring Operation: 79-15=64, Resulting Numbers: [2, 64] Generated Node #0,1,1: 46:[2, 64] Operation: 79-15=64 Exploring Operation: 79+2=81, Resulting Numbers: [15, 81] Generated Node #0,1,2: 46:[15, 81] Operation: 79+2=81 Exploring Operation: 15*2=30, Resulting Numbers: [79, 30] Generated Node #0,1,3: 46:[79, 30] Operation: 15*2=30 Exploring Operation: 79-2=77, Resulting Numbers: [15, 77] Generated Node #0,1,4: 46:[15, 77] Operation: 79-2=77 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[2, 64], Operations: ['10/5=2', '79-15=64'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,46 unequal: No Solution Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,46 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,46 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[79, 17], Operations: ['10/5=2', '15+2=17'] Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,46 unequal: No Solution Exploring Operation: 79*17=1343, Resulting Numbers: [1343] 1343,46 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 46:[15, 77], Operations: ['10/5=2', '79-2=77'] Exploring Operation: 15+77=92, Resulting Numbers: [92] 92,46 unequal: No Solution Exploring Operation: 15*77=1155, Resulting Numbers: [1155] 1155,46 unequal: No Solution Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 46:[79, 30], Operations: ['10/5=2', '15*2=30'] Exploring Operation: 79*30=2370, Resulting Numbers: [2370] 2370,46 unequal: No Solution Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 79+30=109, Resulting Numbers: [109] 109,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[15, 81], Operations: ['10/5=2', '79+2=81'] Exploring Operation: 15*81=1215, Resulting Numbers: [1215] 1215,46 unequal: No Solution Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,46 unequal: No Solution Exploring Operation: 15+81=96, Resulting Numbers: [96] 96,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 46:[5, 54], Operations: ['15+10=25', '79-25=54'] Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,46 unequal: No Solution Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,46 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[25, 74], Operations: ['15+10=25', '79-5=74'] Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 25+74=99, Resulting Numbers: [99] 99,46 unequal: No Solution Exploring Operation: 25*74=1850, Resulting Numbers: [1850] 1850,46 unequal: No Solution Moving to Node #0,4,0 Current State: 46:[5, 74], Operations: ['15-10=5', '79-5=74'] Exploring Operation: 5*74=370, Resulting Numbers: [370] 370,46 unequal: No Solution Exploring Operation: 5+74=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,46 unequal: No Solution Moving to Node #0,4,1 Current State: 46:[5, 74], Operations: ['15-10=5', '79-5=74'] Exploring Operation: 5+74=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,46 unequal: No Solution Exploring Operation: 5*74=370, Resulting Numbers: [370] 370,46 unequal: No Solution Moving to Node #0,4,4 Current State: 46:[79, 1], Operations: ['15-10=5', '5/5=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,46 unequal: No Solution Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 79/1=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,46 unequal: No Solution Moving to Node #0,4,3 Current State: 46:[79, 0], Operations: ['15-10=5', '5-5=0'] Exploring Operation: 79-0=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 79+0=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 79*0=0, Resulting Numbers: [0] 0,46 unequal: No Solution Moving to Node #0,4,2 Current State: 46:[79, 25], Operations: ['15-10=5', '5*5=25'] Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,46 unequal: No Solution Exploring Operation: 79+25=104, Resulting Numbers: [104] 104,46 unequal: No Solution Exploring Operation: 79*25=1975, Resulting Numbers: [1975] 1975,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[79, 5], Operations: ['15+10=25', '25/5=5'] Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,46 unequal: No Solution Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[79, 20], Operations: ['15+10=25', '25-5=20'] Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,46 unequal: No Solution Exploring Operation: 79*20=1580, Resulting Numbers: [1580] 1580,46 unequal: No Solution Exploring Operation: 79+20=99, Resulting Numbers: [99] 99,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[25, 84], Operations: ['15+10=25', '79+5=84'] Exploring Operation: 25+84=109, Resulting Numbers: [109] 109,46 unequal: No Solution Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,46 unequal: No Solution Exploring Operation: 25*84=2100, Resulting Numbers: [2100] 2100,46 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 2, 39, 29, 56 ]
44
[ "2+39=41", "29+56=85", "85-41=44" ]
Current State: 44:[2, 39, 29, 56], Operations: [] Exploring Operation: 2+39=41, Resulting Numbers: [29, 56, 41] Generated Node #2: [29, 56, 41] from Operation: 2+39=41 Current State: 44:[29, 56, 41], Operations: ['2+39=41'] Exploring Operation: 29+56=85, Resulting Numbers: [41, 85] Generated Node #3: [41, 85] from Operation: 29+56=85 Current State: 44:[41, 85], Operations: ['2+39=41', '29+56=85'] Exploring Operation: 85-41=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[2, 39, 29, 56], Operations: [] Exploring Operation: 56-29=27, Resulting Numbers: [2, 39, 27] Generated Node #0,0: 44:[2, 39, 27] Operation: 56-29=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[2, 39, 27], Operations: ['56-29=27'] Exploring Operation: 39-27=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 44:[2, 12] Operation: 39-27=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[2, 12], Operations: ['56-29=27', '39-27=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,44 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
[ 74, 47, 63, 50 ]
14
[ "74-47=27", "63-50=13", "27-13=14" ]
Current State: 14:[74, 47, 63, 50], Operations: [] Exploring Operation: 74-47=27, Resulting Numbers: [63, 50, 27] Generated Node #2: [63, 50, 27] from Operation: 74-47=27 Current State: 14:[63, 50, 27], Operations: ['74-47=27'] Exploring Operation: 63-50=13, Resulting Numbers: [27, 13] Generated Node #3: [27, 13] from Operation: 63-50=13 Current State: 14:[27, 13], Operations: ['74-47=27', '63-50=13'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[74, 47, 63, 50], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [47, 50, 11] Generated Node #0,0: 14:[47, 50, 11] Operation: 74-63=11 Moving to Node #0,0 Current State: 14:[47, 50, 11], Operations: ['74-63=11'] Exploring Operation: 50-47=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 14:[11, 3] Operation: 50-47=3 Moving to Node #0,0,0 Current State: 14:[11, 3], Operations: ['74-63=11', '50-47=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[74, 47, 63, 50], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [47, 50, 11] Generated Node #0,0: 14:[47, 50, 11] Operation: 74-63=11 Moving to Node #0,0 Current State: 14:[47, 50, 11], Operations: ['74-63=11'] Exploring Operation: 50-47=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 14:[11, 3] Operation: 50-47=3 Moving to Node #0,0,0 Current State: 14:[11, 3], Operations: ['74-63=11', '50-47=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 40, 60, 10, 26 ]
41
[ "40/10=4", "60/4=15", "26+15=41" ]
Current State: 41:[40, 60, 10, 26], Operations: [] Exploring Operation: 40/10=4, Resulting Numbers: [60, 26, 4] Generated Node #2: [60, 26, 4] from Operation: 40/10=4 Current State: 41:[60, 26, 4], Operations: ['40/10=4'] Exploring Operation: 60/4=15, Resulting Numbers: [26, 15] Generated Node #3: [26, 15] from Operation: 60/4=15 Current State: 41:[26, 15], Operations: ['40/10=4', '60/4=15'] Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[40, 60, 10, 26], Operations: [] Exploring Operation: 60-26=34, Resulting Numbers: [40, 10, 34] Generated Node #0,0: 41:[40, 10, 34] Operation: 60-26=34 Exploring Operation: 40-10=30, Resulting Numbers: [60, 26, 30] Generated Node #0,1: 41:[60, 26, 30] Operation: 40-10=30 Exploring Operation: 10+26=36, Resulting Numbers: [40, 60, 36] Generated Node #0,2: 41:[40, 60, 36] Operation: 10+26=36 Exploring Operation: 40+10=50, Resulting Numbers: [60, 26, 50] Generated Node #0,3: 41:[60, 26, 50] Operation: 40+10=50 Exploring Operation: 60-10=50, Resulting Numbers: [40, 26, 50] Generated Node #0,4: 41:[40, 26, 50] Operation: 60-10=50 Moving to Node #0,2 Current State: 41:[40, 60, 36], Operations: ['10+26=36'] Exploring Operation: 60-40=20, Resulting Numbers: [36, 20] Generated Node #0,2,0: 41:[36, 20] Operation: 60-40=20 Exploring Operation: 60-36=24, Resulting Numbers: [40, 24] Generated Node #0,2,1: 41:[40, 24] Operation: 60-36=24 Exploring Operation: 40+36=76, Resulting Numbers: [60, 76] Generated Node #0,2,2: 41:[60, 76] Operation: 40+36=76 Exploring Operation: 60+36=96, Resulting Numbers: [40, 96] Generated Node #0,2,3: 41:[40, 96] Operation: 60+36=96 Exploring Operation: 40-36=4, Resulting Numbers: [60, 4] Generated Node #0,2,4: 41:[60, 4] Operation: 40-36=4 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[40, 24], Operations: ['10+26=36', '60-36=24'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,41 unequal: No Solution Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[36, 20], Operations: ['10+26=36', '60-40=20'] Exploring Operation: 36+20=56, Resulting Numbers: [56] 56,41 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 36*20=720, Resulting Numbers: [720] 720,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[60, 76], Operations: ['10+26=36', '40+36=76'] Exploring Operation: 60+76=136, Resulting Numbers: [136] 136,41 unequal: No Solution Exploring Operation: 76-60=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 60*76=4560, Resulting Numbers: [4560] 4560,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[40, 96], Operations: ['10+26=36', '60+36=96'] Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,41 unequal: No Solution Exploring Operation: 40*96=3840, Resulting Numbers: [3840] 3840,41 unequal: No Solution Exploring Operation: 40+96=136, Resulting Numbers: [136] 136,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 41:[60, 4], Operations: ['10+26=36', '40-36=4'] Exploring Operation: 60*4=240, Resulting Numbers: [240] 240,41 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,41 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,41 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,41 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: 41:[40, 26, 50], Operations: ['60-10=50'] Exploring Operation: 50-40=10, Resulting Numbers: [26, 10] Generated Node #0,4,0: 41:[26, 10] Operation: 50-40=10 Exploring Operation: 40-26=14, Resulting Numbers: [50, 14] Generated Node #0,4,1: 41:[50, 14] Operation: 40-26=14 Exploring Operation: 40+26=66, Resulting Numbers: [50, 66] Generated Node #0,4,2: 41:[50, 66] Operation: 40+26=66 Exploring Operation: 26+50=76, Resulting Numbers: [40, 76] Generated Node #0,4,3: 41:[40, 76] Operation: 26+50=76 Exploring Operation: 50-26=24, Resulting Numbers: [40, 24] Generated Node #0,4,4: 41:[40, 24] Operation: 50-26=24 Moving to Node #0,0 Current State: 41:[40, 10, 34], Operations: ['60-26=34'] Exploring Operation: 10+34=44, Resulting Numbers: [40, 44] Generated Node #0,0,0: 41:[40, 44] Operation: 10+34=44 Exploring Operation: 40-10=30, Resulting Numbers: [34, 30] Generated Node #0,0,1: 41:[34, 30] Operation: 40-10=30 Exploring Operation: 40/10=4, Resulting Numbers: [34, 4] Generated Node #0,0,2: 41:[34, 4] Operation: 40/10=4 Exploring Operation: 40+10=50, Resulting Numbers: [34, 50] Generated Node #0,0,3: 41:[34, 50] Operation: 40+10=50 Exploring Operation: 34-10=24, Resulting Numbers: [40, 24] Generated Node #0,0,4: 41:[40, 24] Operation: 34-10=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[40, 44], Operations: ['60-26=34', '10+34=44'] Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,41 unequal: No Solution Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,41 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 41:[34, 50], Operations: ['60-26=34', '40+10=50'] Exploring Operation: 34*50=1700, Resulting Numbers: [1700] 1700,41 unequal: No Solution Exploring Operation: 34+50=84, Resulting Numbers: [84] 84,41 unequal: No Solution Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[34, 30], Operations: ['60-26=34', '40-10=30'] Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 34*30=1020, Resulting Numbers: [1020] 1020,41 unequal: No Solution Exploring Operation: 34+30=64, Resulting Numbers: [64] 64,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 41:[40, 24], Operations: ['60-26=34', '34-10=24'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,41 unequal: No Solution Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[34, 4], Operations: ['60-26=34', '40/10=4'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,41 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 41:[60, 26, 50], Operations: ['40+10=50'] Exploring Operation: 60+26=86, Resulting Numbers: [50, 86] Generated Node #0,3,0: 41:[50, 86] Operation: 60+26=86 Exploring Operation: 26+50=76, Resulting Numbers: [60, 76] Generated Node #0,3,1: 41:[60, 76] Operation: 26+50=76 Exploring Operation: 50-26=24, Resulting Numbers: [60, 24] Generated Node #0,3,2: 41:[60, 24] Operation: 50-26=24 Exploring Operation: 60-50=10, Resulting Numbers: [26, 10] Generated Node #0,3,3: 41:[26, 10] Operation: 60-50=10 Exploring Operation: 60-26=34, Resulting Numbers: [50, 34] Generated Node #0,3,4: 41:[50, 34] Operation: 60-26=34 Moving to Node #0,1 Current State: 41:[60, 26, 30], Operations: ['40-10=30'] Exploring Operation: 60/30=2, Resulting Numbers: [26, 2] Generated Node #0,1,0: 41:[26, 2] Operation: 60/30=2 Exploring Operation: 60+26=86, Resulting Numbers: [30, 86] Generated Node #0,1,1: 41:[30, 86] Operation: 60+26=86 Exploring Operation: 60-26=34, Resulting Numbers: [30, 34] Generated Node #0,1,2: 41:[30, 34] Operation: 60-26=34 Exploring Operation: 26+30=56, Resulting Numbers: [60, 56] Generated Node #0,1,3: 41:[60, 56] Operation: 26+30=56 Exploring Operation: 60-30=30, Resulting Numbers: [26, 30] Generated Node #0,1,4: 41:[26, 30] Operation: 60-30=30 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[30, 34], Operations: ['40-10=30', '60-26=34'] Exploring Operation: 30+34=64, Resulting Numbers: [64] 64,41 unequal: No Solution Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 30*34=1020, Resulting Numbers: [1020] 1020,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 41:[26, 30], Operations: ['40-10=30', '60-30=30'] Exploring Operation: 26*30=780, Resulting Numbers: [780] 780,41 unequal: No Solution Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,41 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[60, 56], Operations: ['40-10=30', '26+30=56'] Exploring Operation: 60+56=116, Resulting Numbers: [116] 116,41 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 60*56=3360, Resulting Numbers: [3360] 3360,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[26, 2], Operations: ['40-10=30', '60/30=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[30, 86], Operations: ['40-10=30', '60+26=86'] Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,41 unequal: No Solution Exploring Operation: 30+86=116, Resulting Numbers: [116] 116,41 unequal: No Solution Exploring Operation: 30*86=2580, Resulting Numbers: [2580] 2580,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,4 Current State: 41:[50, 34], Operations: ['40+10=50', '60-26=34'] Exploring Operation: 50+34=84, Resulting Numbers: [84] 84,41 unequal: No Solution Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 50*34=1700, Resulting Numbers: [1700] 1700,41 unequal: No Solution Moving to Node #0,4,4 Current State: 41:[40, 24], Operations: ['60-10=50', '50-26=24'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,41 unequal: No Solution Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,41 unequal: No Solution Moving to Node #0,4,2 Current State: 41:[50, 66], Operations: ['60-10=50', '40+26=66'] Exploring Operation: 50*66=3300, Resulting Numbers: [3300] 3300,41 unequal: No Solution Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 50+66=116, Resulting Numbers: [116] 116,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[60, 24], Operations: ['40+10=50', '50-26=24'] Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,41 unequal: No Solution Exploring Operation: 60+24=84, Resulting Numbers: [84] 84,41 unequal: No Solution Exploring Operation: 60*24=1440, Resulting Numbers: [1440] 1440,41 unequal: No Solution Moving to Node #0,4,1 Current State: 41:[50, 14], Operations: ['60-10=50', '40-26=14'] Exploring Operation: 50+14=64, Resulting Numbers: [64] 64,41 unequal: No Solution Exploring Operation: 50*14=700, Resulting Numbers: [700] 700,41 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,41 unequal: No Solution Moving to Node #0,4,3 Current State: 41:[40, 76], Operations: ['60-10=50', '26+50=76'] Exploring Operation: 40*76=3040, Resulting Numbers: [3040] 3040,41 unequal: No Solution Exploring Operation: 76-40=36, Resulting Numbers: [36] 36,41 unequal: No Solution Exploring Operation: 40+76=116, Resulting Numbers: [116] 116,41 unequal: No Solution Moving to Node #0,4,0 Current State: 41:[26, 10], Operations: ['60-10=50', '50-40=10'] Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,41 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[26, 10], Operations: ['40+10=50', '60-50=10'] Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,41 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[60, 76], Operations: ['40+10=50', '26+50=76'] Exploring Operation: 60*76=4560, Resulting Numbers: [4560] 4560,41 unequal: No Solution Exploring Operation: 60+76=136, Resulting Numbers: [136] 136,41 unequal: No Solution Exploring Operation: 76-60=16, Resulting Numbers: [16] 16,41 unequal: No Solution Moving to Node #0,3,0 Current State: 41:[50, 86], Operations: ['40+10=50', '60+26=86'] Exploring Operation: 50+86=136, Resulting Numbers: [136] 136,41 unequal: No Solution Exploring Operation: 86-50=36, Resulting Numbers: [36] 36,41 unequal: No Solution Exploring Operation: 50*86=4300, Resulting Numbers: [4300] 4300,41 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 45, 66, 73, 96 ]
88
[ "45+66=111", "96-73=23", "111-23=88" ]
Current State: 88:[45, 66, 73, 96], Operations: [] Exploring Operation: 45+66=111, Resulting Numbers: [73, 96, 111] Generated Node #2: [73, 96, 111] from Operation: 45+66=111 Current State: 88:[73, 96, 111], Operations: ['45+66=111'] Exploring Operation: 96-73=23, Resulting Numbers: [111, 23] Generated Node #3: [111, 23] from Operation: 96-73=23 Current State: 88:[111, 23], Operations: ['45+66=111', '96-73=23'] Exploring Operation: 111-23=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[45, 66, 73, 96], Operations: [] Exploring Operation: 73-45=28, Resulting Numbers: [66, 96, 28] Generated Node #0,0: 88:[66, 96, 28] Operation: 73-45=28 Exploring Operation: 96-73=23, Resulting Numbers: [45, 66, 23] Generated Node #0,1: 88:[45, 66, 23] Operation: 96-73=23 Exploring Operation: 96-66=30, Resulting Numbers: [45, 73, 30] Generated Node #0,2: 88:[45, 73, 30] Operation: 96-66=30 Exploring Operation: 66-45=21, Resulting Numbers: [73, 96, 21] Generated Node #0,3: 88:[73, 96, 21] Operation: 66-45=21 Exploring Operation: 73-66=7, Resulting Numbers: [45, 96, 7] Generated Node #0,4: 88:[45, 96, 7] Operation: 73-66=7 Moving to Node #0,4 Current State: 88:[45, 96, 7], Operations: ['73-66=7'] Exploring Operation: 45+7=52, Resulting Numbers: [96, 52] Generated Node #0,4,0: 88:[96, 52] Operation: 45+7=52 Exploring Operation: 45-7=38, Resulting Numbers: [96, 38] Generated Node #0,4,1: 88:[96, 38] Operation: 45-7=38 Exploring Operation: 96-7=89, Resulting Numbers: [45, 89] Generated Node #0,4,2: 88:[45, 89] Operation: 96-7=89 Exploring Operation: 96-45=51, Resulting Numbers: [7, 51] Generated Node #0,4,3: 88:[7, 51] Operation: 96-45=51 Exploring Operation: 96+7=103, Resulting Numbers: [45, 103] Generated Node #0,4,4: 88:[45, 103] Operation: 96+7=103 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 88:[45, 89], Operations: ['73-66=7', '96-7=89'] Exploring Operation: 89-45=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 45+89=134, Resulting Numbers: [134] 134,88 unequal: No Solution Exploring Operation: 45*89=4005, Resulting Numbers: [4005] 4005,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 88:[7, 51], Operations: ['73-66=7', '96-45=51'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,88 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 88:[96, 38], Operations: ['73-66=7', '45-7=38'] Exploring Operation: 96-38=58, Resulting Numbers: [58] 58,88 unequal: No Solution Exploring Operation: 96*38=3648, Resulting Numbers: [3648] 3648,88 unequal: No Solution Exploring Operation: 96+38=134, Resulting Numbers: [134] 134,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 88:[96, 52], Operations: ['73-66=7', '45+7=52'] Exploring Operation: 96+52=148, Resulting Numbers: [148] 148,88 unequal: No Solution Exploring Operation: 96*52=4992, Resulting Numbers: [4992] 4992,88 unequal: No Solution Exploring Operation: 96-52=44, Resulting Numbers: [44] 44,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 88:[45, 103], Operations: ['73-66=7', '96+7=103'] Exploring Operation: 103-45=58, Resulting Numbers: [58] 58,88 unequal: No Solution Exploring Operation: 45+103=148, Resulting Numbers: [148] 148,88 unequal: No Solution Exploring Operation: 45*103=4635, Resulting Numbers: [4635] 4635,88 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: 88:[45, 73, 30], Operations: ['96-66=30'] Exploring Operation: 45+30=75, Resulting Numbers: [73, 75] Generated Node #0,2,0: 88:[73, 75] Operation: 45+30=75 Exploring Operation: 73+30=103, Resulting Numbers: [45, 103] Generated Node #0,2,1: 88:[45, 103] Operation: 73+30=103 Exploring Operation: 73-45=28, Resulting Numbers: [30, 28] Generated Node #0,2,2: 88:[30, 28] Operation: 73-45=28 Exploring Operation: 73-30=43, Resulting Numbers: [45, 43] Generated Node #0,2,3: 88:[45, 43] Operation: 73-30=43 Exploring Operation: 45-30=15, Resulting Numbers: [73, 15] Generated Node #0,2,4: 88:[73, 15] Operation: 45-30=15 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 88:[45, 43], Operations: ['96-66=30', '73-30=43'] Exploring Operation: 45*43=1935, Resulting Numbers: [1935] 1935,88 unequal: No Solution Exploring Operation: 45+43=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[45, 66, 73, 96], Operations: [] Exploring Operation: 96-66=30, Resulting Numbers: [45, 73, 30] Generated Node #0,2: 88:[45, 73, 30] Operation: 96-66=30 Moving to Node #0,2 Current State: 88:[45, 73, 30], Operations: ['96-66=30'] Exploring Operation: 73-30=43, Resulting Numbers: [45, 43] Generated Node #0,2,3: 88:[45, 43] Operation: 73-30=43 Moving to Node #0,2,3 Current State: 88:[45, 43], Operations: ['96-66=30', '73-30=43'] Exploring Operation: 45+43=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 5, 1, 71, 36 ]
31
[ "5-1=4", "71-36=35", "35-4=31" ]
Current State: 31:[5, 1, 71, 36], Operations: [] Exploring Operation: 5-1=4, Resulting Numbers: [71, 36, 4] Generated Node #2: [71, 36, 4] from Operation: 5-1=4 Current State: 31:[71, 36, 4], Operations: ['5-1=4'] Exploring Operation: 71-36=35, Resulting Numbers: [4, 35] Generated Node #3: [4, 35] from Operation: 71-36=35 Current State: 31:[4, 35], Operations: ['5-1=4', '71-36=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[5, 1, 71, 36], Operations: [] Exploring Operation: 71-5=66, Resulting Numbers: [1, 36, 66] Generated Node #0,0: 31:[1, 36, 66] Operation: 71-5=66 Exploring Operation: 5+1=6, Resulting Numbers: [71, 36, 6] Generated Node #0,1: 31:[71, 36, 6] Operation: 5+1=6 Exploring Operation: 71-36=35, Resulting Numbers: [5, 1, 35] Generated Node #0,2: 31:[5, 1, 35] Operation: 71-36=35 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[5, 1, 35], Operations: ['71-36=35'] Exploring Operation: 5+1=6, Resulting Numbers: [35, 6] Generated Node #0,2,0: 31:[35, 6] Operation: 5+1=6 Exploring Operation: 5*1=5, Resulting Numbers: [35, 5] Generated Node #0,2,1: 31:[35, 5] Operation: 5*1=5 Exploring Operation: 35-1=34, Resulting Numbers: [5, 34] Generated Node #0,2,2: 31:[5, 34] Operation: 35-1=34 Moving to Node #0,2,0 Current State: 31:[35, 6], Operations: ['71-36=35', '5+1=6'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,31 unequal: No Solution Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,31 unequal: No Solution Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[5, 34], Operations: ['71-36=35', '35-1=34'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,31 unequal: No Solution Exploring Operation: 5*34=170, Resulting Numbers: [170] 170,31 unequal: No Solution Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[35, 5], Operations: ['71-36=35', '5*1=5'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[1, 36, 66], Operations: ['71-5=66'] Exploring Operation: 66-36=30, Resulting Numbers: [1, 30] Generated Node #0,0,0: 31:[1, 30] Operation: 66-36=30 Exploring Operation: 66-1=65, Resulting Numbers: [36, 65] Generated Node #0,0,1: 31:[36, 65] Operation: 66-1=65 Exploring Operation: 36-1=35, Resulting Numbers: [66, 35] Generated Node #0,0,2: 31:[66, 35] Operation: 36-1=35 Moving to Node #0,0,0 Current State: 31:[1, 30], Operations: ['71-5=66', '66-36=30'] Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[5, 1, 71, 36], Operations: [] Exploring Operation: 71-5=66, Resulting Numbers: [1, 36, 66] Generated Node #0,0: 31:[1, 36, 66] Operation: 71-5=66 Moving to Node #0,0 Current State: 31:[1, 36, 66], Operations: ['71-5=66'] Exploring Operation: 66-36=30, Resulting Numbers: [1, 30] Generated Node #0,0,0: 31:[1, 30] Operation: 66-36=30 Moving to Node #0,0,0 Current State: 31:[1, 30], Operations: ['71-5=66', '66-36=30'] Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 43, 6, 28, 50 ]
28
[ "43+6=49", "50-49=1", "28*1=28" ]
Current State: 28:[43, 6, 28, 50], Operations: [] Exploring Operation: 43+6=49, Resulting Numbers: [28, 50, 49] Generated Node #2: [28, 50, 49] from Operation: 43+6=49 Current State: 28:[28, 50, 49], Operations: ['43+6=49'] Exploring Operation: 50-49=1, Resulting Numbers: [28, 1] Generated Node #3: [28, 1] from Operation: 50-49=1 Current State: 28:[28, 1], Operations: ['43+6=49', '50-49=1'] Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[43, 6, 28, 50], Operations: [] Exploring Operation: 43-28=15, Resulting Numbers: [6, 50, 15] Generated Node #0,0: 28:[6, 50, 15] Operation: 43-28=15 Exploring Operation: 50-43=7, Resulting Numbers: [6, 28, 7] Generated Node #0,1: 28:[6, 28, 7] Operation: 50-43=7 Exploring Operation: 50-28=22, Resulting Numbers: [43, 6, 22] Generated Node #0,2: 28:[43, 6, 22] Operation: 50-28=22 Exploring Operation: 43-6=37, Resulting Numbers: [28, 50, 37] Generated Node #0,3: 28:[28, 50, 37] Operation: 43-6=37 Moving to Node #0,1 Current State: 28:[6, 28, 7], Operations: ['50-43=7'] Exploring Operation: 6+28=34, Resulting Numbers: [7, 34] Generated Node #0,1,0: 28:[7, 34] Operation: 6+28=34 Exploring Operation: 6+7=13, Resulting Numbers: [28, 13] Generated Node #0,1,1: 28:[28, 13] Operation: 6+7=13 Exploring Operation: 7-6=1, Resulting Numbers: [28, 1] Generated Node #0,1,2: 28:[28, 1] Operation: 7-6=1 Exploring Operation: 28/7=4, Resulting Numbers: [6, 4] Generated Node #0,1,3: 28:[6, 4] Operation: 28/7=4 Moving to Node #0,2 Current State: 28:[43, 6, 22], Operations: ['50-28=22'] Exploring Operation: 22-6=16, Resulting Numbers: [43, 16] Generated Node #0,2,0: 28:[43, 16] Operation: 22-6=16 Exploring Operation: 43-22=21, Resulting Numbers: [6, 21] Generated Node #0,2,1: 28:[6, 21] Operation: 43-22=21 Exploring Operation: 6+22=28, Resulting Numbers: [43, 28] Generated Node #0,2,2: 28:[43, 28] Operation: 6+22=28 Exploring Operation: 43-6=37, Resulting Numbers: [22, 37] Generated Node #0,2,3: 28:[22, 37] Operation: 43-6=37 Moving to Node #0,0 Current State: 28:[6, 50, 15], Operations: ['43-28=15'] Exploring Operation: 50-15=35, Resulting Numbers: [6, 35] Generated Node #0,0,0: 28:[6, 35] Operation: 50-15=35 Exploring Operation: 6+50=56, Resulting Numbers: [15, 56] Generated Node #0,0,1: 28:[15, 56] Operation: 6+50=56 Exploring Operation: 15-6=9, Resulting Numbers: [50, 9] Generated Node #0,0,2: 28:[50, 9] Operation: 15-6=9 Exploring Operation: 50-6=44, Resulting Numbers: [15, 44] Generated Node #0,0,3: 28:[15, 44] Operation: 50-6=44 Moving to Node #0,3 Current State: 28:[28, 50, 37], Operations: ['43-6=37'] Exploring Operation: 28+50=78, Resulting Numbers: [37, 78] Generated Node #0,3,0: 28:[37, 78] Operation: 28+50=78 Exploring Operation: 50-28=22, Resulting Numbers: [37, 22] Generated Node #0,3,1: 28:[37, 22] Operation: 50-28=22 Exploring Operation: 37-28=9, Resulting Numbers: [50, 9] Generated Node #0,3,2: 28:[50, 9] Operation: 37-28=9 Exploring Operation: 50-37=13, Resulting Numbers: [28, 13] Generated Node #0,3,3: 28:[28, 13] Operation: 50-37=13 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 28:[28, 13], Operations: ['43-6=37', '50-37=13'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,28 unequal: No Solution Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 28:[37, 22], Operations: ['43-6=37', '50-28=22'] Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 37*22=814, Resulting Numbers: [814] 814,28 unequal: No Solution Exploring Operation: 37+22=59, Resulting Numbers: [59] 59,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 28:[50, 9], Operations: ['43-6=37', '37-28=9'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,28 unequal: No Solution Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 28:[37, 78], Operations: ['43-6=37', '28+50=78'] Exploring Operation: 37+78=115, Resulting Numbers: [115] 115,28 unequal: No Solution Exploring Operation: 78-37=41, Resulting Numbers: [41] 41,28 unequal: No Solution Exploring Operation: 37*78=2886, Resulting Numbers: [2886] 2886,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 28:[28, 13], Operations: ['50-43=7', '6+7=13'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,28 unequal: No Solution Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,28 unequal: No Solution Moving to Node #0,1,3 Current State: 28:[6, 4], Operations: ['50-43=7', '28/7=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[28, 1], Operations: ['50-43=7', '7-6=1'] Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,28 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[43, 6, 28, 50], Operations: [] Exploring Operation: 50-43=7, Resulting Numbers: [6, 28, 7] Generated Node #0,1: 28:[6, 28, 7] Operation: 50-43=7 Moving to Node #0,1 Current State: 28:[6, 28, 7], Operations: ['50-43=7'] Exploring Operation: 7-6=1, Resulting Numbers: [28, 1] Generated Node #0,1,2: 28:[28, 1] Operation: 7-6=1 Moving to Node #0,1,2 Current State: 28:[28, 1], Operations: ['50-43=7', '7-6=1'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.961806
hs_4
mult_heuristic
[ 16, 80, 85, 43 ]
64
[ "80-16=64", "85+43=128", "128-64=64" ]
Current State: 64:[16, 80, 85, 43], Operations: [] Exploring Operation: 80-16=64, Resulting Numbers: [85, 43, 64] Generated Node #2: [85, 43, 64] from Operation: 80-16=64 Current State: 64:[85, 43, 64], Operations: ['80-16=64'] Exploring Operation: 85+43=128, Resulting Numbers: [64, 128] Generated Node #3: [64, 128] from Operation: 85+43=128 Current State: 64:[64, 128], Operations: ['80-16=64', '85+43=128'] Exploring Operation: 128-64=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[16, 80, 85, 43], Operations: [] Exploring Operation: 85-16=69, Resulting Numbers: [80, 43, 69] Generated Node #0,0: 64:[80, 43, 69] Operation: 85-16=69 Exploring Operation: 85-43=42, Resulting Numbers: [16, 80, 42] Generated Node #0,1: 64:[16, 80, 42] Operation: 85-43=42 Exploring Operation: 85-80=5, Resulting Numbers: [16, 43, 5] Generated Node #0,2: 64:[16, 43, 5] Operation: 85-80=5 Exploring Operation: 80-16=64, Resulting Numbers: [85, 43, 64] Generated Node #0,3: 64:[85, 43, 64] Operation: 80-16=64 Exploring Operation: 80-43=37, Resulting Numbers: [16, 85, 37] Generated Node #0,4: 64:[16, 85, 37] Operation: 80-43=37 Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[16, 43, 5], Operations: ['85-80=5'] Exploring Operation: 16+43=59, Resulting Numbers: [5, 59] Generated Node #0,2,0: 64:[5, 59] Operation: 16+43=59 Exploring Operation: 16+5=21, Resulting Numbers: [43, 21] Generated Node #0,2,1: 64:[43, 21] Operation: 16+5=21 Exploring Operation: 43-5=38, Resulting Numbers: [16, 38] Generated Node #0,2,2: 64:[16, 38] Operation: 43-5=38 Exploring Operation: 16-5=11, Resulting Numbers: [43, 11] Generated Node #0,2,3: 64:[43, 11] Operation: 16-5=11 Exploring Operation: 43-16=27, Resulting Numbers: [5, 27] Generated Node #0,2,4: 64:[5, 27] Operation: 43-16=27 Moving to Node #0,2,0 Current State: 64:[5, 59], Operations: ['85-80=5', '16+43=59'] Exploring Operation: 5*59=295, Resulting Numbers: [295] 295,64 unequal: No Solution Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,64 unequal: No Solution Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[16, 80, 85, 43], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [16, 43, 5] Generated Node #0,2: 64:[16, 43, 5] Operation: 85-80=5 Moving to Node #0,2 Current State: 64:[16, 43, 5], Operations: ['85-80=5'] Exploring Operation: 16+43=59, Resulting Numbers: [5, 59] Generated Node #0,2,0: 64:[5, 59] Operation: 16+43=59 Moving to Node #0,2,0 Current State: 64:[5, 59], Operations: ['85-80=5', '16+43=59'] Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 82, 21, 44, 41 ]
64
[ "82-21=61", "44-41=3", "61+3=64" ]
Current State: 64:[82, 21, 44, 41], Operations: [] Exploring Operation: 82-21=61, Resulting Numbers: [44, 41, 61] Generated Node #2: [44, 41, 61] from Operation: 82-21=61 Current State: 64:[44, 41, 61], Operations: ['82-21=61'] Exploring Operation: 44-41=3, Resulting Numbers: [61, 3] Generated Node #3: [61, 3] from Operation: 44-41=3 Current State: 64:[61, 3], Operations: ['82-21=61', '44-41=3'] Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[82, 21, 44, 41], Operations: [] Exploring Operation: 82-44=38, Resulting Numbers: [21, 41, 38] Generated Node #0,0: 64:[21, 41, 38] Operation: 82-44=38 Exploring Operation: 44-41=3, Resulting Numbers: [82, 21, 3] Generated Node #0,1: 64:[82, 21, 3] Operation: 44-41=3 Exploring Operation: 82/41=2, Resulting Numbers: [21, 44, 2] Generated Node #0,2: 64:[21, 44, 2] Operation: 82/41=2 Exploring Operation: 82-41=41, Resulting Numbers: [21, 44, 41] Generated Node #0,3: 64:[21, 44, 41] Operation: 82-41=41 Exploring Operation: 82-21=61, Resulting Numbers: [44, 41, 61] Generated Node #0,4: 64:[44, 41, 61] Operation: 82-21=61 Moving to Node #0,2 Current State: 64:[21, 44, 2], Operations: ['82/41=2'] Exploring Operation: 44-21=23, Resulting Numbers: [2, 23] Generated Node #0,2,0: 64:[2, 23] Operation: 44-21=23 Exploring Operation: 44-2=42, Resulting Numbers: [21, 42] Generated Node #0,2,1: 64:[21, 42] Operation: 44-2=42 Exploring Operation: 44/2=22, Resulting Numbers: [21, 22] Generated Node #0,2,2: 64:[21, 22] Operation: 44/2=22 Exploring Operation: 21+44=65, Resulting Numbers: [2, 65] Generated Node #0,2,3: 64:[2, 65] Operation: 21+44=65 Exploring Operation: 21-2=19, Resulting Numbers: [44, 19] Generated Node #0,2,4: 64:[44, 19] Operation: 21-2=19 Moving to Node #0,0 Current State: 64:[21, 41, 38], Operations: ['82-44=38'] Exploring Operation: 41-21=20, Resulting Numbers: [38, 20] Generated Node #0,0,0: 64:[38, 20] Operation: 41-21=20 Exploring Operation: 21+38=59, Resulting Numbers: [41, 59] Generated Node #0,0,1: 64:[41, 59] Operation: 21+38=59 Exploring Operation: 38-21=17, Resulting Numbers: [41, 17] Generated Node #0,0,2: 64:[41, 17] Operation: 38-21=17 Exploring Operation: 41-38=3, Resulting Numbers: [21, 3] Generated Node #0,0,3: 64:[21, 3] Operation: 41-38=3 Exploring Operation: 21+41=62, Resulting Numbers: [38, 62] Generated Node #0,0,4: 64:[38, 62] Operation: 21+41=62 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 64:[21, 3], Operations: ['82-44=38', '41-38=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 64:[38, 62], Operations: ['82-44=38', '21+41=62'] Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,64 unequal: No Solution Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,64 unequal: No Solution Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[38, 20], Operations: ['82-44=38', '41-21=20'] Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,64 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[41, 17], Operations: ['82-44=38', '38-21=17'] Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 41*17=697, Resulting Numbers: [697] 697,64 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[41, 59], Operations: ['82-44=38', '21+38=59'] Exploring Operation: 41*59=2419, Resulting Numbers: [2419] 2419,64 unequal: No Solution Exploring Operation: 41+59=100, Resulting Numbers: [100] 100,64 unequal: No Solution Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,64 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: 64:[82, 21, 3], Operations: ['44-41=3'] Exploring Operation: 21/3=7, Resulting Numbers: [82, 7] Generated Node #0,1,0: 64:[82, 7] Operation: 21/3=7 Exploring Operation: 82-3=79, Resulting Numbers: [21, 79] Generated Node #0,1,1: 64:[21, 79] Operation: 82-3=79 Exploring Operation: 21*3=63, Resulting Numbers: [82, 63] Generated Node #0,1,2: 64:[82, 63] Operation: 21*3=63 Exploring Operation: 21-3=18, Resulting Numbers: [82, 18] Generated Node #0,1,3: 64:[82, 18] Operation: 21-3=18 Exploring Operation: 82-21=61, Resulting Numbers: [3, 61] Generated Node #0,1,4: 64:[3, 61] Operation: 82-21=61 Moving to Node #0,4 Current State: 64:[44, 41, 61], Operations: ['82-21=61'] Exploring Operation: 61-44=17, Resulting Numbers: [41, 17] Generated Node #0,4,0: 64:[41, 17] Operation: 61-44=17 Exploring Operation: 61-41=20, Resulting Numbers: [44, 20] Generated Node #0,4,1: 64:[44, 20] Operation: 61-41=20 Exploring Operation: 44+61=105, Resulting Numbers: [41, 105] Generated Node #0,4,2: 64:[41, 105] Operation: 44+61=105 Exploring Operation: 44+41=85, Resulting Numbers: [61, 85] Generated Node #0,4,3: 64:[61, 85] Operation: 44+41=85 Exploring Operation: 44-41=3, Resulting Numbers: [61, 3] Generated Node #0,4,4: 64:[61, 3] Operation: 44-41=3 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 64:[61, 3], Operations: ['82-21=61', '44-41=3'] Exploring Operation: 61*3=183, Resulting Numbers: [183] 183,64 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[82, 21, 44, 41], Operations: [] Exploring Operation: 82-21=61, Resulting Numbers: [44, 41, 61] Generated Node #0,4: 64:[44, 41, 61] Operation: 82-21=61 Moving to Node #0,4 Current State: 64:[44, 41, 61], Operations: ['82-21=61'] Exploring Operation: 44-41=3, Resulting Numbers: [61, 3] Generated Node #0,4,4: 64:[61, 3] Operation: 44-41=3 Moving to Node #0,4,4 Current State: 64:[61, 3], Operations: ['82-21=61', '44-41=3'] Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.958333
hs_5
mult_heuristic
[ 44, 15, 39, 29 ]
97
[ "44-15=29", "39+29=68", "29+68=97" ]
Current State: 97:[44, 15, 39, 29], Operations: [] Exploring Operation: 44-15=29, Resulting Numbers: [39, 29, 29] Generated Node #2: [39, 29, 29] from Operation: 44-15=29 Current State: 97:[39, 29, 29], Operations: ['44-15=29'] Exploring Operation: 39+29=68, Resulting Numbers: [68] 68,97 equal: Goal Reached Exploring Operation: 29+68=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[44, 15, 39, 29], Operations: [] Exploring Operation: 44+29=73, Resulting Numbers: [15, 39, 73] Generated Node #0,0: 97:[15, 39, 73] Operation: 44+29=73 Exploring Operation: 44+39=83, Resulting Numbers: [15, 29, 83] Generated Node #0,1: 97:[15, 29, 83] Operation: 44+39=83 Exploring Operation: 44+15=59, Resulting Numbers: [39, 29, 59] Generated Node #0,2: 97:[39, 29, 59] Operation: 44+15=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[15, 39, 73], Operations: ['44+29=73'] Exploring Operation: 15+73=88, Resulting Numbers: [39, 88] Generated Node #0,0,0: 97:[39, 88] Operation: 15+73=88 Exploring Operation: 15+39=54, Resulting Numbers: [73, 54] Generated Node #0,0,1: 97:[73, 54] Operation: 15+39=54 Exploring Operation: 39-15=24, Resulting Numbers: [73, 24] Generated Node #0,0,2: 97:[73, 24] Operation: 39-15=24 Moving to Node #0,0,0 Current State: 97:[39, 88], Operations: ['44+29=73', '15+73=88'] Exploring Operation: 88-39=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 39*88=3432, Resulting Numbers: [3432] 3432,97 unequal: No Solution Exploring Operation: 39+88=127, Resulting Numbers: [127] 127,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[73, 54], Operations: ['44+29=73', '15+39=54'] Exploring Operation: 73*54=3942, Resulting Numbers: [3942] 3942,97 unequal: No Solution Exploring Operation: 73+54=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[73, 24], Operations: ['44+29=73', '39-15=24'] Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 73*24=1752, Resulting Numbers: [1752] 1752,97 unequal: No Solution Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[44, 15, 39, 29], Operations: [] Exploring Operation: 44+29=73, Resulting Numbers: [15, 39, 73] Generated Node #0,0: 97:[15, 39, 73] Operation: 44+29=73 Moving to Node #0,0 Current State: 97:[15, 39, 73], Operations: ['44+29=73'] Exploring Operation: 39-15=24, Resulting Numbers: [73, 24] Generated Node #0,0,2: 97:[73, 24] Operation: 39-15=24 Moving to Node #0,0,2 Current State: 97:[73, 24], Operations: ['44+29=73', '39-15=24'] Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 25, 75, 46, 51 ]
94
[ "75/25=3", "46+51=97", "97-3=94" ]
Current State: 94:[25, 75, 46, 51], Operations: [] Exploring Operation: 75/25=3, Resulting Numbers: [46, 51, 3] Generated Node #2: [46, 51, 3] from Operation: 75/25=3 Current State: 94:[46, 51, 3], Operations: ['75/25=3'] Exploring Operation: 46+51=97, Resulting Numbers: [3, 97] Generated Node #3: [3, 97] from Operation: 46+51=97 Current State: 94:[3, 97], Operations: ['75/25=3', '46+51=97'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[25, 75, 46, 51], Operations: [] Exploring Operation: 75/25=3, Resulting Numbers: [46, 51, 3] Generated Node #0,0: 94:[46, 51, 3] Operation: 75/25=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[46, 51, 3], Operations: ['75/25=3'] Exploring Operation: 51-3=48, Resulting Numbers: [46, 48] Generated Node #0,0,0: 94:[46, 48] Operation: 51-3=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[46, 48], Operations: ['75/25=3', '51-3=48'] Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[25, 75, 46, 51], Operations: [] Exploring Operation: 75/25=3, Resulting Numbers: [46, 51, 3] Generated Node #0,0: 94:[46, 51, 3] Operation: 75/25=3 Moving to Node #0,0 Current State: 94:[46, 51, 3], Operations: ['75/25=3'] Exploring Operation: 51-3=48, Resulting Numbers: [46, 48] Generated Node #0,0,0: 94:[46, 48] Operation: 51-3=48 Moving to Node #0,0,0 Current State: 94:[46, 48], Operations: ['75/25=3', '51-3=48'] Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 7, 83, 15, 75 ]
64
[ "15-7=8", "83-75=8", "8*8=64" ]
Current State: 64:[7, 83, 15, 75], Operations: [] Exploring Operation: 15-7=8, Resulting Numbers: [83, 75, 8] Generated Node #2: [83, 75, 8] from Operation: 15-7=8 Current State: 64:[83, 75, 8], Operations: ['15-7=8'] Exploring Operation: 83-75=8, Resulting Numbers: [8, 8] Generated Node #3: [8, 8] from Operation: 83-75=8 Current State: 64:[8, 8], Operations: ['15-7=8', '83-75=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[7, 83, 15, 75], Operations: [] Exploring Operation: 75/15=5, Resulting Numbers: [7, 83, 5] Generated Node #0,0: 64:[7, 83, 5] Operation: 75/15=5 Exploring Operation: 83-15=68, Resulting Numbers: [7, 75, 68] Generated Node #0,1: 64:[7, 75, 68] Operation: 83-15=68 Exploring Operation: 83-75=8, Resulting Numbers: [7, 15, 8] Generated Node #0,2: 64:[7, 15, 8] Operation: 83-75=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[7, 15, 8], Operations: ['83-75=8'] Exploring Operation: 15-7=8, Resulting Numbers: [8, 8] Generated Node #0,2,0: 64:[8, 8] Operation: 15-7=8 Exploring Operation: 7+8=15, Resulting Numbers: [15, 15] Generated Node #0,2,1: 64:[15, 15] Operation: 7+8=15 Exploring Operation: 8-7=1, Resulting Numbers: [15, 1] Generated Node #0,2,2: 64:[15, 1] Operation: 8-7=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 64:[8, 8], Operations: ['83-75=8', '15-7=8'] Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[7, 83, 15, 75], Operations: [] Exploring Operation: 83-75=8, Resulting Numbers: [7, 15, 8] Generated Node #0,2: 64:[7, 15, 8] Operation: 83-75=8 Moving to Node #0,2 Current State: 64:[7, 15, 8], Operations: ['83-75=8'] Exploring Operation: 15-7=8, Resulting Numbers: [8, 8] Generated Node #0,2,0: 64:[8, 8] Operation: 15-7=8 Moving to Node #0,2,0 Current State: 64:[8, 8], Operations: ['83-75=8', '15-7=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 5, 22, 28, 75 ]
63
[ "5*22=110", "75-28=47", "110-47=63" ]
Current State: 63:[5, 22, 28, 75], Operations: [] Exploring Operation: 5*22=110, Resulting Numbers: [28, 75, 110] Generated Node #2: [28, 75, 110] from Operation: 5*22=110 Current State: 63:[28, 75, 110], Operations: ['5*22=110'] Exploring Operation: 75-28=47, Resulting Numbers: [110, 47] Generated Node #3: [110, 47] from Operation: 75-28=47 Current State: 63:[110, 47], Operations: ['5*22=110', '75-28=47'] Exploring Operation: 110-47=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[5, 22, 28, 75], Operations: [] Exploring Operation: 75/5=15, Resulting Numbers: [22, 28, 15] Generated Node #0,0: 63:[22, 28, 15] Operation: 75/5=15 Exploring Operation: 28-5=23, Resulting Numbers: [22, 75, 23] Generated Node #0,1: 63:[22, 75, 23] Operation: 28-5=23 Exploring Operation: 75-5=70, Resulting Numbers: [22, 28, 70] Generated Node #0,2: 63:[22, 28, 70] Operation: 75-5=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[22, 28, 15], Operations: ['75/5=15'] Exploring Operation: 28-22=6, Resulting Numbers: [15, 6] Generated Node #0,0,0: 63:[15, 6] Operation: 28-22=6 Exploring Operation: 28-15=13, Resulting Numbers: [22, 13] Generated Node #0,0,1: 63:[22, 13] Operation: 28-15=13 Exploring Operation: 22-15=7, Resulting Numbers: [28, 7] Generated Node #0,0,2: 63:[28, 7] Operation: 22-15=7 Moving to Node #0,0,1 Current State: 63:[22, 13], Operations: ['75/5=15', '28-15=13'] Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,63 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[15, 6], Operations: ['75/5=15', '28-22=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[28, 7], Operations: ['75/5=15', '22-15=7'] Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,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:[22, 75, 23], Operations: ['28-5=23'] Exploring Operation: 75-23=52, Resulting Numbers: [22, 52] Generated Node #0,1,0: 63:[22, 52] Operation: 75-23=52 Exploring Operation: 23-22=1, Resulting Numbers: [75, 1] Generated Node #0,1,1: 63:[75, 1] Operation: 23-22=1 Exploring Operation: 75-22=53, Resulting Numbers: [23, 53] Generated Node #0,1,2: 63:[23, 53] Operation: 75-22=53 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[22, 52], Operations: ['28-5=23', '75-23=52'] Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,63 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,63 unequal: No Solution Exploring Operation: 22*52=1144, Resulting Numbers: [1144] 1144,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,1,2 Current State: 63:[23, 53], Operations: ['28-5=23', '75-22=53'] Exploring Operation: 23*53=1219, Resulting Numbers: [1219] 1219,63 unequal: No Solution Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,63 unequal: No Solution Exploring Operation: 23+53=76, Resulting Numbers: [76] 76,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,1,1 Current State: 63:[75, 1], Operations: ['28-5=23', '23-22=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,63 unequal: No Solution Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,63 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,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,2 Current State: 63:[22, 28, 70], Operations: ['75-5=70'] Exploring Operation: 28-22=6, Resulting Numbers: [70, 6] Generated Node #0,2,0: 63:[70, 6] Operation: 28-22=6 Exploring Operation: 22+28=50, Resulting Numbers: [70, 50] Generated Node #0,2,1: 63:[70, 50] Operation: 22+28=50 Exploring Operation: 70-22=48, Resulting Numbers: [28, 48] Generated Node #0,2,2: 63:[28, 48] Operation: 70-22=48 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 63:[70, 6], Operations: ['75-5=70', '28-22=6'] Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,63 unequal: No Solution Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,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,2,1 Current State: 63:[70, 50], Operations: ['75-5=70', '22+28=50'] Exploring Operation: 70-50=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 70+50=120, Resulting Numbers: [120] 120,63 unequal: No Solution Exploring Operation: 70*50=3500, Resulting Numbers: [3500] 3500,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,2,2 Current State: 63:[28, 48], Operations: ['75-5=70', '70-22=48'] Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 28+48=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 28*48=1344, Resulting Numbers: [1344] 1344,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_3
mult_heuristic
[ 8, 35, 4, 52 ]
80
[ "8+52=60", "35*4=140", "140-60=80" ]
Current State: 80:[8, 35, 4, 52], Operations: [] Exploring Operation: 8+52=60, Resulting Numbers: [35, 4, 60] Generated Node #2: [35, 4, 60] from Operation: 8+52=60 Current State: 80:[35, 4, 60], Operations: ['8+52=60'] Exploring Operation: 35*4=140, Resulting Numbers: [60, 140] Generated Node #3: [60, 140] from Operation: 35*4=140 Current State: 80:[60, 140], Operations: ['8+52=60', '35*4=140'] Exploring Operation: 140-60=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[8, 35, 4, 52], Operations: [] Exploring Operation: 52/4=13, Resulting Numbers: [8, 35, 13] Generated Node #0,0: 80:[8, 35, 13] Operation: 52/4=13 Exploring Operation: 52-35=17, Resulting Numbers: [8, 4, 17] Generated Node #0,1: 80:[8, 4, 17] Operation: 52-35=17 Exploring Operation: 52-8=44, Resulting Numbers: [35, 4, 44] Generated Node #0,2: 80:[35, 4, 44] Operation: 52-8=44 Exploring Operation: 35+52=87, Resulting Numbers: [8, 4, 87] Generated Node #0,3: 80:[8, 4, 87] Operation: 35+52=87 Moving to Node #0,1 Current State: 80:[8, 4, 17], Operations: ['52-35=17'] Exploring Operation: 17-8=9, Resulting Numbers: [4, 9] Generated Node #0,1,0: 80:[4, 9] Operation: 17-8=9 Exploring Operation: 4+17=21, Resulting Numbers: [8, 21] Generated Node #0,1,1: 80:[8, 21] Operation: 4+17=21 Exploring Operation: 8-4=4, Resulting Numbers: [17, 4] Generated Node #0,1,2: 80:[17, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [17, 2] Generated Node #0,1,3: 80:[17, 2] Operation: 8/4=2 Moving to Node #0,3 Current State: 80:[8, 4, 87], Operations: ['35+52=87'] Exploring Operation: 8/4=2, Resulting Numbers: [87, 2] Generated Node #0,3,0: 80:[87, 2] Operation: 8/4=2 Exploring Operation: 87-8=79, Resulting Numbers: [4, 79] Generated Node #0,3,1: 80:[4, 79] Operation: 87-8=79 Exploring Operation: 8-4=4, Resulting Numbers: [87, 4] Generated Node #0,3,2: 80:[87, 4] Operation: 8-4=4 Exploring Operation: 87-4=83, Resulting Numbers: [8, 83] Generated Node #0,3,3: 80:[8, 83] Operation: 87-4=83 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 80:[4, 79], Operations: ['35+52=87', '87-8=79'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 4*79=316, Resulting Numbers: [316] 316,80 unequal: No Solution Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 80:[8, 83], Operations: ['35+52=87', '87-4=83'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 8*83=664, Resulting Numbers: [664] 664,80 unequal: No Solution Exploring Operation: 8+83=91, Resulting Numbers: [91] 91,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 80:[87, 2], Operations: ['35+52=87', '8/4=2'] Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,80 unequal: No Solution Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,80 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 80:[87, 4], Operations: ['35+52=87', '8-4=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,80 unequal: No Solution Exploring Operation: 87*4=348, Resulting Numbers: [348] 348,80 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,80 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: 80:[8, 35, 13], Operations: ['52/4=13'] Exploring Operation: 8+35=43, Resulting Numbers: [13, 43] Generated Node #0,0,0: 80:[13, 43] Operation: 8+35=43 Exploring Operation: 13-8=5, Resulting Numbers: [35, 5] Generated Node #0,0,1: 80:[35, 5] Operation: 13-8=5 Exploring Operation: 8+13=21, Resulting Numbers: [35, 21] Generated Node #0,0,2: 80:[35, 21] Operation: 8+13=21 Exploring Operation: 35-13=22, Resulting Numbers: [8, 22] Generated Node #0,0,3: 80:[8, 22] Operation: 35-13=22 Moving to Node #0,2 Current State: 80:[35, 4, 44], Operations: ['52-8=44'] Exploring Operation: 44-35=9, Resulting Numbers: [4, 9] Generated Node #0,2,0: 80:[4, 9] Operation: 44-35=9 Exploring Operation: 35+44=79, Resulting Numbers: [4, 79] Generated Node #0,2,1: 80:[4, 79] Operation: 35+44=79 Exploring Operation: 44-4=40, Resulting Numbers: [35, 40] Generated Node #0,2,2: 80:[35, 40] Operation: 44-4=40 Exploring Operation: 35+4=39, Resulting Numbers: [44, 39] Generated Node #0,2,3: 80:[44, 39] Operation: 35+4=39 Moving to Node #0,1,0 Current State: 80:[4, 9], Operations: ['52-35=17', '17-8=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,80 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[17, 4], Operations: ['52-35=17', '8-4=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,80 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[8, 21], Operations: ['52-35=17', '4+17=21'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 8*21=168, Resulting Numbers: [168] 168,80 unequal: No Solution Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[4, 79], Operations: ['52-8=44', '35+44=79'] Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,80 unequal: No Solution Exploring Operation: 4*79=316, Resulting Numbers: [316] 316,80 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[17, 2], Operations: ['52-35=17', '8/4=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[4, 9], Operations: ['52-8=44', '44-35=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,80 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,80 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[8, 22], Operations: ['52/4=13', '35-13=22'] Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,80 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[35, 5], Operations: ['52/4=13', '13-8=5'] Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,80 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,80 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[44, 39], Operations: ['52-8=44', '35+4=39'] Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 44*39=1716, Resulting Numbers: [1716] 1716,80 unequal: No Solution Exploring Operation: 44+39=83, Resulting Numbers: [83] 83,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[35, 40], Operations: ['52-8=44', '44-4=40'] Exploring Operation: 35+40=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 35*40=1400, Resulting Numbers: [1400] 1400,80 unequal: No Solution Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[13, 43], Operations: ['52/4=13', '8+35=43'] Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,80 unequal: No Solution Exploring Operation: 13*43=559, Resulting Numbers: [559] 559,80 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[35, 21], Operations: ['52/4=13', '8+13=21'] Exploring Operation: 35*21=735, Resulting Numbers: [735] 735,80 unequal: No Solution Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,80 unequal: No Solution Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,80 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 49, 6, 90, 5 ]
73
[ "49+6=55", "90/5=18", "55+18=73" ]
Current State: 73:[49, 6, 90, 5], Operations: [] Exploring Operation: 49+6=55, Resulting Numbers: [90, 5, 55] Generated Node #2: [90, 5, 55] from Operation: 49+6=55 Current State: 73:[90, 5, 55], Operations: ['49+6=55'] Exploring Operation: 90/5=18, Resulting Numbers: [55, 18] Generated Node #3: [55, 18] from Operation: 90/5=18 Current State: 73:[55, 18], Operations: ['49+6=55', '90/5=18'] Exploring Operation: 55+18=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[49, 6, 90, 5], Operations: [] Exploring Operation: 49+5=54, Resulting Numbers: [6, 90, 54] Generated Node #0,0: 73:[6, 90, 54] Operation: 49+5=54 Exploring Operation: 49+6=55, Resulting Numbers: [90, 5, 55] Generated Node #0,1: 73:[90, 5, 55] Operation: 49+6=55 Exploring Operation: 6*5=30, Resulting Numbers: [49, 90, 30] Generated Node #0,2: 73:[49, 90, 30] Operation: 6*5=30 Moving to Node #0,2 Current State: 73:[49, 90, 30], Operations: ['6*5=30'] Exploring Operation: 49+30=79, Resulting Numbers: [90, 79] Generated Node #0,2,0: 73:[90, 79] Operation: 49+30=79 Exploring Operation: 49-30=19, Resulting Numbers: [90, 19] Generated Node #0,2,1: 73:[90, 19] Operation: 49-30=19 Exploring Operation: 90-30=60, Resulting Numbers: [49, 60] Generated Node #0,2,2: 73:[49, 60] Operation: 90-30=60 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[90, 79], Operations: ['6*5=30', '49+30=79'] Exploring Operation: 90-79=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 90*79=7110, Resulting Numbers: [7110] 7110,73 unequal: No Solution Exploring Operation: 90+79=169, Resulting Numbers: [169] 169,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[49, 60], Operations: ['6*5=30', '90-30=60'] Exploring Operation: 49*60=2940, Resulting Numbers: [2940] 2940,73 unequal: No Solution Exploring Operation: 60-49=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 49+60=109, Resulting Numbers: [109] 109,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 73:[90, 19], Operations: ['6*5=30', '49-30=19'] Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,73 unequal: No Solution Exploring Operation: 90+19=109, Resulting Numbers: [109] 109,73 unequal: No Solution Exploring Operation: 90*19=1710, Resulting Numbers: [1710] 1710,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 73:[6, 90, 54], Operations: ['49+5=54'] Exploring Operation: 6+90=96, Resulting Numbers: [54, 96] Generated Node #0,0,0: 73:[54, 96] Operation: 6+90=96 Exploring Operation: 6+54=60, Resulting Numbers: [90, 60] Generated Node #0,0,1: 73:[90, 60] Operation: 6+54=60 Exploring Operation: 90-6=84, Resulting Numbers: [54, 84] Generated Node #0,0,2: 73:[54, 84] Operation: 90-6=84 Moving to Node #0,1 Current State: 73:[90, 5, 55], Operations: ['49+6=55'] Exploring Operation: 90+5=95, Resulting Numbers: [55, 95] Generated Node #0,1,0: 73:[55, 95] Operation: 90+5=95 Exploring Operation: 90-5=85, Resulting Numbers: [55, 85] Generated Node #0,1,1: 73:[55, 85] Operation: 90-5=85 Exploring Operation: 5+55=60, Resulting Numbers: [90, 60] Generated Node #0,1,2: 73:[90, 60] Operation: 5+55=60 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[55, 85], Operations: ['49+6=55', '90-5=85'] Exploring Operation: 55*85=4675, Resulting Numbers: [4675] 4675,73 unequal: No Solution Exploring Operation: 55+85=140, Resulting Numbers: [140] 140,73 unequal: No Solution Exploring Operation: 85-55=30, Resulting Numbers: [30] 30,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[90, 60], Operations: ['49+6=55', '5+55=60'] Exploring Operation: 90-60=30, Resulting Numbers: [30] 30,73 unequal: No Solution Exploring Operation: 90*60=5400, Resulting Numbers: [5400] 5400,73 unequal: No Solution Exploring Operation: 90+60=150, Resulting Numbers: [150] 150,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:[55, 95], Operations: ['49+6=55', '90+5=95'] Exploring Operation: 55+95=150, Resulting Numbers: [150] 150,73 unequal: No Solution Exploring Operation: 55*95=5225, Resulting Numbers: [5225] 5225,73 unequal: No Solution Exploring Operation: 95-55=40, Resulting Numbers: [40] 40,73 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: 73:[90, 60], Operations: ['49+5=54', '6+54=60'] Exploring Operation: 90-60=30, Resulting Numbers: [30] 30,73 unequal: No Solution Exploring Operation: 90+60=150, Resulting Numbers: [150] 150,73 unequal: No Solution Exploring Operation: 90*60=5400, Resulting Numbers: [5400] 5400,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[54, 84], Operations: ['49+5=54', '90-6=84'] Exploring Operation: 84-54=30, Resulting Numbers: [30] 30,73 unequal: No Solution Exploring Operation: 54+84=138, Resulting Numbers: [138] 138,73 unequal: No Solution Exploring Operation: 54*84=4536, Resulting Numbers: [4536] 4536,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[54, 96], Operations: ['49+5=54', '6+90=96'] Exploring Operation: 54+96=150, Resulting Numbers: [150] 150,73 unequal: No Solution Exploring Operation: 96-54=42, Resulting Numbers: [42] 42,73 unequal: No Solution Exploring Operation: 54*96=5184, Resulting Numbers: [5184] 5184,73 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 59, 36, 5, 7 ]
59
[ "5*7=35", "36-35=1", "59*1=59" ]
Current State: 59:[59, 36, 5, 7], Operations: [] Exploring Operation: 5*7=35, Resulting Numbers: [59, 36, 35] Generated Node #2: [59, 36, 35] from Operation: 5*7=35 Current State: 59:[59, 36, 35], Operations: ['5*7=35'] Exploring Operation: 36-35=1, Resulting Numbers: [59, 1] Generated Node #3: [59, 1] from Operation: 36-35=1 Current State: 59:[59, 1], Operations: ['5*7=35', '36-35=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[59, 36, 5, 7], Operations: [] Exploring Operation: 5*7=35, Resulting Numbers: [59, 36, 35] Generated Node #0,0: 59:[59, 36, 35] Operation: 5*7=35 Moving to Node #0,0 Current State: 59:[59, 36, 35], Operations: ['5*7=35'] Exploring Operation: 36+35=71, Resulting Numbers: [59, 71] Generated Node #0,0,0: 59:[59, 71] Operation: 36+35=71 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[59, 71], Operations: ['5*7=35', '36+35=71'] Exploring Operation: 71-59=12, Resulting Numbers: [12] 12,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
sum_heuristic
[ 52, 77, 5, 69 ]
39
[ "77-52=25", "69-5=64", "64-25=39" ]
Current State: 39:[52, 77, 5, 69], Operations: [] Exploring Operation: 77-52=25, Resulting Numbers: [5, 69, 25] Generated Node #2: [5, 69, 25] from Operation: 77-52=25 Current State: 39:[5, 69, 25], Operations: ['77-52=25'] Exploring Operation: 69-5=64, Resulting Numbers: [25, 64] Generated Node #3: [25, 64] from Operation: 69-5=64 Current State: 39:[25, 64], Operations: ['77-52=25', '69-5=64'] Exploring Operation: 64-25=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[52, 77, 5, 69], Operations: [] Exploring Operation: 69-52=17, Resulting Numbers: [77, 5, 17] Generated Node #0,0: 39:[77, 5, 17] Operation: 69-52=17 Exploring Operation: 77-52=25, Resulting Numbers: [5, 69, 25] Generated Node #0,1: 39:[5, 69, 25] Operation: 77-52=25 Exploring Operation: 52-5=47, Resulting Numbers: [77, 69, 47] Generated Node #0,2: 39:[77, 69, 47] Operation: 52-5=47 Exploring Operation: 77-69=8, Resulting Numbers: [52, 5, 8] Generated Node #0,3: 39:[52, 5, 8] Operation: 77-69=8 Moving to Node #0,3 Current State: 39:[52, 5, 8], Operations: ['77-69=8'] Exploring Operation: 5+8=13, Resulting Numbers: [52, 13] Generated Node #0,3,0: 39:[52, 13] Operation: 5+8=13 Exploring Operation: 8-5=3, Resulting Numbers: [52, 3] Generated Node #0,3,1: 39:[52, 3] Operation: 8-5=3 Exploring Operation: 52-8=44, Resulting Numbers: [5, 44] Generated Node #0,3,2: 39:[5, 44] Operation: 52-8=44 Exploring Operation: 52-5=47, Resulting Numbers: [8, 47] Generated Node #0,3,3: 39:[8, 47] Operation: 52-5=47 Moving to Node #0,1 Current State: 39:[5, 69, 25], Operations: ['77-52=25'] Exploring Operation: 25/5=5, Resulting Numbers: [69, 5] Generated Node #0,1,0: 39:[69, 5] Operation: 25/5=5 Exploring Operation: 69-25=44, Resulting Numbers: [5, 44] Generated Node #0,1,1: 39:[5, 44] Operation: 69-25=44 Exploring Operation: 25-5=20, Resulting Numbers: [69, 20] Generated Node #0,1,2: 39:[69, 20] Operation: 25-5=20 Exploring Operation: 69-5=64, Resulting Numbers: [25, 64] Generated Node #0,1,3: 39:[25, 64] Operation: 69-5=64 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[5, 44], Operations: ['77-52=25', '69-25=44'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[52, 77, 5, 69], Operations: [] Exploring Operation: 77-52=25, Resulting Numbers: [5, 69, 25] Generated Node #0,1: 39:[5, 69, 25] Operation: 77-52=25 Moving to Node #0,1 Current State: 39:[5, 69, 25], Operations: ['77-52=25'] Exploring Operation: 69-25=44, Resulting Numbers: [5, 44] Generated Node #0,1,1: 39:[5, 44] Operation: 69-25=44 Moving to Node #0,1,1 Current State: 39:[5, 44], Operations: ['77-52=25', '69-25=44'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 86, 96, 16, 52 ]
56
[ "86+96=182", "16*182=2912", "2912/52=56" ]
Current State: 56:[86, 96, 16, 52], Operations: [] Exploring Operation: 86+96=182, Resulting Numbers: [16, 52, 182] Generated Node #2: [16, 52, 182] from Operation: 86+96=182 Current State: 56:[16, 52, 182], Operations: ['86+96=182'] Exploring Operation: 16*182=2912, Resulting Numbers: [52, 2912] Generated Node #3: [52, 2912] from Operation: 16*182=2912 Current State: 56:[52, 2912], Operations: ['86+96=182', '16*182=2912'] Exploring Operation: 2912/52=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[86, 96, 16, 52], Operations: [] Exploring Operation: 86-52=34, Resulting Numbers: [96, 16, 34] Generated Node #0,0: 56:[96, 16, 34] Operation: 86-52=34 Exploring Operation: 96/16=6, Resulting Numbers: [86, 52, 6] Generated Node #0,1: 56:[86, 52, 6] Operation: 96/16=6 Exploring Operation: 96-52=44, Resulting Numbers: [86, 16, 44] Generated Node #0,2: 56:[86, 16, 44] Operation: 96-52=44 Exploring Operation: 96-86=10, Resulting Numbers: [16, 52, 10] Generated Node #0,3: 56:[16, 52, 10] Operation: 96-86=10 Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[16, 52, 10], Operations: ['96-86=10'] Exploring Operation: 16-10=6, Resulting Numbers: [52, 6] Generated Node #0,3,0: 56:[52, 6] Operation: 16-10=6 Exploring Operation: 52+10=62, Resulting Numbers: [16, 62] Generated Node #0,3,1: 56:[16, 62] Operation: 52+10=62 Exploring Operation: 16+10=26, Resulting Numbers: [52, 26] Generated Node #0,3,2: 56:[52, 26] Operation: 16+10=26 Exploring Operation: 52-16=36, Resulting Numbers: [10, 36] Generated Node #0,3,3: 56:[10, 36] Operation: 52-16=36 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 56:[52, 6], Operations: ['96-86=10', '16-10=6'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 56:[52, 26], Operations: ['96-86=10', '16+10=26'] Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 52+26=78, Resulting Numbers: [78] 78,56 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 52*26=1352, Resulting Numbers: [1352] 1352,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 56:[16, 62], Operations: ['96-86=10', '52+10=62'] Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 16*62=992, Resulting Numbers: [992] 992,56 unequal: No Solution Exploring Operation: 16+62=78, Resulting Numbers: [78] 78,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 56:[10, 36], Operations: ['96-86=10', '52-16=36'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,56 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[86, 52, 6], Operations: ['96/16=6'] Exploring Operation: 86+6=92, Resulting Numbers: [52, 92] Generated Node #0,1,0: 56:[52, 92] Operation: 86+6=92 Exploring Operation: 52+6=58, Resulting Numbers: [86, 58] Generated Node #0,1,1: 56:[86, 58] Operation: 52+6=58 Exploring Operation: 86-52=34, Resulting Numbers: [6, 34] Generated Node #0,1,2: 56:[6, 34] Operation: 86-52=34 Exploring Operation: 86-6=80, Resulting Numbers: [52, 80] Generated Node #0,1,3: 56:[52, 80] Operation: 86-6=80 Moving to Node #0,1,2 Current State: 56:[6, 34], Operations: ['96/16=6', '86-52=34'] Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[52, 80], Operations: ['96/16=6', '86-6=80'] Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 52*80=4160, Resulting Numbers: [4160] 4160,56 unequal: No Solution Exploring Operation: 52+80=132, Resulting Numbers: [132] 132,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[86, 58], Operations: ['96/16=6', '52+6=58'] Exploring Operation: 86-58=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 86*58=4988, Resulting Numbers: [4988] 4988,56 unequal: No Solution Exploring Operation: 86+58=144, Resulting Numbers: [144] 144,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[52, 92], Operations: ['96/16=6', '86+6=92'] Exploring Operation: 52*92=4784, Resulting Numbers: [4784] 4784,56 unequal: No Solution Exploring Operation: 52+92=144, Resulting Numbers: [144] 144,56 unequal: No Solution Exploring Operation: 92-52=40, Resulting Numbers: [40] 40,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[86, 16, 44], Operations: ['96-52=44'] Exploring Operation: 86-44=42, Resulting Numbers: [16, 42] Generated Node #0,2,0: 56:[16, 42] Operation: 86-44=42 Exploring Operation: 44-16=28, Resulting Numbers: [86, 28] Generated Node #0,2,1: 56:[86, 28] Operation: 44-16=28 Exploring Operation: 16+44=60, Resulting Numbers: [86, 60] Generated Node #0,2,2: 56:[86, 60] Operation: 16+44=60 Exploring Operation: 86-16=70, Resulting Numbers: [44, 70] Generated Node #0,2,3: 56:[44, 70] Operation: 86-16=70 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[16, 42], Operations: ['96-52=44', '86-44=42'] Exploring Operation: 16*42=672, Resulting Numbers: [672] 672,56 unequal: No Solution Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 56:[44, 70], Operations: ['96-52=44', '86-16=70'] Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 44+70=114, Resulting Numbers: [114] 114,56 unequal: No Solution Exploring Operation: 44*70=3080, Resulting Numbers: [3080] 3080,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 56:[86, 28], Operations: ['96-52=44', '44-16=28'] Exploring Operation: 86-28=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 86*28=2408, Resulting Numbers: [2408] 2408,56 unequal: No Solution Exploring Operation: 86+28=114, Resulting Numbers: [114] 114,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 56:[86, 60], Operations: ['96-52=44', '16+44=60'] Exploring Operation: 86*60=5160, Resulting Numbers: [5160] 5160,56 unequal: No Solution Exploring Operation: 86+60=146, Resulting Numbers: [146] 146,56 unequal: No Solution Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[96, 16, 34], Operations: ['86-52=34'] Exploring Operation: 96-16=80, Resulting Numbers: [34, 80] Generated Node #0,0,0: 56:[34, 80] Operation: 96-16=80 Exploring Operation: 96-34=62, Resulting Numbers: [16, 62] Generated Node #0,0,1: 56:[16, 62] Operation: 96-34=62 Exploring Operation: 34-16=18, Resulting Numbers: [96, 18] Generated Node #0,0,2: 56:[96, 18] Operation: 34-16=18 Exploring Operation: 96/16=6, Resulting Numbers: [34, 6] Generated Node #0,0,3: 56:[34, 6] Operation: 96/16=6 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 56:[34, 6], Operations: ['86-52=34', '96/16=6'] Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,56 unequal: No Solution Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[16, 62], Operations: ['86-52=34', '96-34=62'] Exploring Operation: 16*62=992, Resulting Numbers: [992] 992,56 unequal: No Solution Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 16+62=78, Resulting Numbers: [78] 78,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[34, 80], Operations: ['86-52=34', '96-16=80'] Exploring Operation: 34+80=114, Resulting Numbers: [114] 114,56 unequal: No Solution Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,56 unequal: No Solution Exploring Operation: 34*80=2720, Resulting Numbers: [2720] 2720,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[96, 18], Operations: ['86-52=34', '34-16=18'] Exploring Operation: 96+18=114, Resulting Numbers: [114] 114,56 unequal: No Solution Exploring Operation: 96-18=78, Resulting Numbers: [78] 78,56 unequal: No Solution Exploring Operation: 96*18=1728, Resulting Numbers: [1728] 1728,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 7, 57, 5, 37 ]
65
[ "57-7=50", "50-37=13", "5*13=65" ]
Current State: 65:[7, 57, 5, 37], Operations: [] Exploring Operation: 57-7=50, Resulting Numbers: [5, 37, 50] Generated Node #2: [5, 37, 50] from Operation: 57-7=50 Current State: 65:[5, 37, 50], Operations: ['57-7=50'] Exploring Operation: 50-37=13, Resulting Numbers: [5, 13] Generated Node #3: [5, 13] from Operation: 50-37=13 Current State: 65:[5, 13], Operations: ['57-7=50', '50-37=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[7, 57, 5, 37], Operations: [] Exploring Operation: 37-7=30, Resulting Numbers: [57, 5, 30] Generated Node #0,0: 65:[57, 5, 30] Operation: 37-7=30 Exploring Operation: 57-37=20, Resulting Numbers: [7, 5, 20] Generated Node #0,1: 65:[7, 5, 20] Operation: 57-37=20 Exploring Operation: 7+57=64, Resulting Numbers: [5, 37, 64] Generated Node #0,2: 65:[5, 37, 64] Operation: 7+57=64 Moving to Node #0,1 Current State: 65:[7, 5, 20], Operations: ['57-37=20'] Exploring Operation: 20/5=4, Resulting Numbers: [7, 4] Generated Node #0,1,0: 65:[7, 4] Operation: 20/5=4 Exploring Operation: 20-5=15, Resulting Numbers: [7, 15] Generated Node #0,1,1: 65:[7, 15] Operation: 20-5=15 Exploring Operation: 20-7=13, Resulting Numbers: [5, 13] Generated Node #0,1,2: 65:[5, 13] Operation: 20-7=13 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[5, 13], Operations: ['57-37=20', '20-7=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[7, 57, 5, 37], Operations: [] Exploring Operation: 57-37=20, Resulting Numbers: [7, 5, 20] Generated Node #0,1: 65:[7, 5, 20] Operation: 57-37=20 Moving to Node #0,1 Current State: 65:[7, 5, 20], Operations: ['57-37=20'] Exploring Operation: 20-7=13, Resulting Numbers: [5, 13] Generated Node #0,1,2: 65:[5, 13] Operation: 20-7=13 Moving to Node #0,1,2 Current State: 65:[5, 13], Operations: ['57-37=20', '20-7=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 53, 52, 2, 80 ]
29
[ "53+80=133", "52*2=104", "133-104=29" ]
Current State: 29:[53, 52, 2, 80], Operations: [] Exploring Operation: 53+80=133, Resulting Numbers: [52, 2, 133] Generated Node #2: [52, 2, 133] from Operation: 53+80=133 Current State: 29:[52, 2, 133], Operations: ['53+80=133'] Exploring Operation: 52*2=104, Resulting Numbers: [133, 104] Generated Node #3: [133, 104] from Operation: 52*2=104 Current State: 29:[133, 104], Operations: ['53+80=133', '52*2=104'] Exploring Operation: 133-104=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[53, 52, 2, 80], Operations: [] Exploring Operation: 80-53=27, Resulting Numbers: [52, 2, 27] Generated Node #0,0: 29:[52, 2, 27] Operation: 80-53=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[52, 2, 27], Operations: ['80-53=27'] Exploring Operation: 52/2=26, Resulting Numbers: [27, 26] Generated Node #0,0,0: 29:[27, 26] Operation: 52/2=26 Moving to Node #0,0,0 Current State: 29:[27, 26], Operations: ['80-53=27', '52/2=26'] Exploring Operation: 27+26=53, Resulting Numbers: [53] 53,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 34, 57, 47, 2 ]
29
[ "57-47=10", "10/2=5", "34-5=29" ]
Current State: 29:[34, 57, 47, 2], Operations: [] Exploring Operation: 57-47=10, Resulting Numbers: [34, 2, 10] Generated Node #2: [34, 2, 10] from Operation: 57-47=10 Current State: 29:[34, 2, 10], Operations: ['57-47=10'] Exploring Operation: 10/2=5, Resulting Numbers: [34, 5] Generated Node #3: [34, 5] from Operation: 10/2=5 Current State: 29:[34, 5], Operations: ['57-47=10', '10/2=5'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[34, 57, 47, 2], Operations: [] Exploring Operation: 57-2=55, Resulting Numbers: [34, 47, 55] Generated Node #0,0: 29:[34, 47, 55] Operation: 57-2=55 Exploring Operation: 57-47=10, Resulting Numbers: [34, 2, 10] Generated Node #0,1: 29:[34, 2, 10] Operation: 57-47=10 Exploring Operation: 34-2=32, Resulting Numbers: [57, 47, 32] Generated Node #0,2: 29:[57, 47, 32] Operation: 34-2=32 Exploring Operation: 47-2=45, Resulting Numbers: [34, 57, 45] Generated Node #0,3: 29:[34, 57, 45] Operation: 47-2=45 Exploring Operation: 57-34=23, Resulting Numbers: [47, 2, 23] Generated Node #0,4: 29:[47, 2, 23] Operation: 57-34=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[34, 47, 55], Operations: ['57-2=55'] Exploring Operation: 55-47=8, Resulting Numbers: [34, 8] Generated Node #0,0,0: 29:[34, 8] Operation: 55-47=8 Exploring Operation: 47-34=13, Resulting Numbers: [55, 13] Generated Node #0,0,1: 29:[55, 13] Operation: 47-34=13 Exploring Operation: 34+55=89, Resulting Numbers: [47, 89] Generated Node #0,0,2: 29:[47, 89] Operation: 34+55=89 Exploring Operation: 55-34=21, Resulting Numbers: [47, 21] Generated Node #0,0,3: 29:[47, 21] Operation: 55-34=21 Exploring Operation: 34+47=81, Resulting Numbers: [55, 81] Generated Node #0,0,4: 29:[55, 81] Operation: 34+47=81 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[34, 8], Operations: ['57-2=55', '55-47=8'] Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,29 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 29:[47, 21], Operations: ['57-2=55', '55-34=21'] Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 47*21=987, Resulting Numbers: [987] 987,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[55, 13], Operations: ['57-2=55', '47-34=13'] Exploring Operation: 55+13=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 55*13=715, Resulting Numbers: [715] 715,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 29:[47, 89], Operations: ['57-2=55', '34+55=89'] Exploring Operation: 47+89=136, Resulting Numbers: [136] 136,29 unequal: No Solution Exploring Operation: 47*89=4183, Resulting Numbers: [4183] 4183,29 unequal: No Solution Exploring Operation: 89-47=42, Resulting Numbers: [42] 42,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 29:[55, 81], Operations: ['57-2=55', '34+47=81'] Exploring Operation: 55+81=136, Resulting Numbers: [136] 136,29 unequal: No Solution Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 55*81=4455, Resulting Numbers: [4455] 4455,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[57, 47, 32], Operations: ['34-2=32'] Exploring Operation: 57+47=104, Resulting Numbers: [32, 104] Generated Node #0,2,0: 29:[32, 104] Operation: 57+47=104 Exploring Operation: 57+32=89, Resulting Numbers: [47, 89] Generated Node #0,2,1: 29:[47, 89] Operation: 57+32=89 Exploring Operation: 57-47=10, Resulting Numbers: [32, 10] Generated Node #0,2,2: 29:[32, 10] Operation: 57-47=10 Exploring Operation: 47-32=15, Resulting Numbers: [57, 15] Generated Node #0,2,3: 29:[57, 15] Operation: 47-32=15 Exploring Operation: 57-32=25, Resulting Numbers: [47, 25] Generated Node #0,2,4: 29:[47, 25] Operation: 57-32=25 Moving to Node #0,2,2 Current State: 29:[32, 10], Operations: ['34-2=32', '57-47=10'] Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 32*10=320, Resulting Numbers: [320] 320,29 unequal: No Solution Moving to Node #0,2,4 Current State: 29:[47, 25], Operations: ['34-2=32', '57-32=25'] Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 47*25=1175, Resulting Numbers: [1175] 1175,29 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[57, 15], Operations: ['34-2=32', '47-32=15'] Exploring Operation: 57+15=72, Resulting Numbers: [72] 72,29 unequal: No Solution Exploring Operation: 57*15=855, Resulting Numbers: [855] 855,29 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[32, 104], Operations: ['34-2=32', '57+47=104'] Exploring Operation: 32*104=3328, Resulting Numbers: [3328] 3328,29 unequal: No Solution Exploring Operation: 32+104=136, Resulting Numbers: [136] 136,29 unequal: No Solution Exploring Operation: 104-32=72, Resulting Numbers: [72] 72,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[47, 89], Operations: ['34-2=32', '57+32=89'] Exploring Operation: 47+89=136, Resulting Numbers: [136] 136,29 unequal: No Solution Exploring Operation: 47*89=4183, Resulting Numbers: [4183] 4183,29 unequal: No Solution Exploring Operation: 89-47=42, Resulting Numbers: [42] 42,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 29:[34, 57, 45], Operations: ['47-2=45'] Exploring Operation: 57-34=23, Resulting Numbers: [45, 23] Generated Node #0,3,0: 29:[45, 23] Operation: 57-34=23 Exploring Operation: 34+57=91, Resulting Numbers: [45, 91] Generated Node #0,3,1: 29:[45, 91] Operation: 34+57=91 Exploring Operation: 57-45=12, Resulting Numbers: [34, 12] Generated Node #0,3,2: 29:[34, 12] Operation: 57-45=12 Exploring Operation: 34+45=79, Resulting Numbers: [57, 79] Generated Node #0,3,3: 29:[57, 79] Operation: 34+45=79 Exploring Operation: 45-34=11, Resulting Numbers: [57, 11] Generated Node #0,3,4: 29:[57, 11] Operation: 45-34=11 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 29:[45, 23], Operations: ['47-2=45', '57-34=23'] Exploring Operation: 45*23=1035, Resulting Numbers: [1035] 1035,29 unequal: No Solution Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 45+23=68, Resulting Numbers: [68] 68,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 29:[34, 12], Operations: ['47-2=45', '57-45=12'] Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 29:[57, 11], Operations: ['47-2=45', '45-34=11'] Exploring Operation: 57+11=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 57*11=627, Resulting Numbers: [627] 627,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 29:[45, 91], Operations: ['47-2=45', '34+57=91'] Exploring Operation: 45*91=4095, Resulting Numbers: [4095] 4095,29 unequal: No Solution Exploring Operation: 91-45=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 45+91=136, Resulting Numbers: [136] 136,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 29:[57, 79], Operations: ['47-2=45', '34+45=79'] Exploring Operation: 57+79=136, Resulting Numbers: [136] 136,29 unequal: No Solution Exploring Operation: 57*79=4503, Resulting Numbers: [4503] 4503,29 unequal: No Solution Exploring Operation: 79-57=22, Resulting Numbers: [22] 22,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[34, 2, 10], Operations: ['57-47=10'] Exploring Operation: 34+2=36, Resulting Numbers: [10, 36] Generated Node #0,1,0: 29:[10, 36] Operation: 34+2=36 Exploring Operation: 2+10=12, Resulting Numbers: [34, 12] Generated Node #0,1,1: 29:[34, 12] Operation: 2+10=12 Exploring Operation: 34-2=32, Resulting Numbers: [10, 32] Generated Node #0,1,2: 29:[10, 32] Operation: 34-2=32 Exploring Operation: 2*10=20, Resulting Numbers: [34, 20] Generated Node #0,1,3: 29:[34, 20] Operation: 2*10=20 Exploring Operation: 10-2=8, Resulting Numbers: [34, 8] Generated Node #0,1,4: 29:[34, 8] Operation: 10-2=8 Moving to Node #0,1,3 Current State: 29:[34, 20], Operations: ['57-47=10', '2*10=20'] Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,29 unequal: No Solution Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,29 unequal: No Solution Moving to Node #0,1,2 Current State: 29:[10, 32], Operations: ['57-47=10', '34-2=32'] Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,29 unequal: No Solution Exploring Operation: 10*32=320, Resulting Numbers: [320] 320,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[34, 12], Operations: ['57-47=10', '2+10=12'] Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 34*12=408, Resulting Numbers: [408] 408,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[10, 36], Operations: ['57-47=10', '34+2=36'] Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,29 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,29 unequal: No Solution Moving to Node #0,1,4 Current State: 29:[34, 8], Operations: ['57-47=10', '10-2=8'] Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,29 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 29:[47, 2, 23], Operations: ['57-34=23'] Exploring Operation: 23-2=21, Resulting Numbers: [47, 21] Generated Node #0,4,0: 29:[47, 21] Operation: 23-2=21 Exploring Operation: 47-2=45, Resulting Numbers: [23, 45] Generated Node #0,4,1: 29:[23, 45] Operation: 47-2=45 Exploring Operation: 47+2=49, Resulting Numbers: [23, 49] Generated Node #0,4,2: 29:[23, 49] Operation: 47+2=49 Exploring Operation: 47-23=24, Resulting Numbers: [2, 24] Generated Node #0,4,3: 29:[2, 24] Operation: 47-23=24 Exploring Operation: 2+23=25, Resulting Numbers: [47, 25] Generated Node #0,4,4: 29:[47, 25] Operation: 2+23=25 Moving to Node #0,4,1 Current State: 29:[23, 45], Operations: ['57-34=23', '47-2=45'] Exploring Operation: 23*45=1035, Resulting Numbers: [1035] 1035,29 unequal: No Solution Exploring Operation: 23+45=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,29 unequal: No Solution Moving to Node #0,4,4 Current State: 29:[47, 25], Operations: ['57-34=23', '2+23=25'] Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 47*25=1175, Resulting Numbers: [1175] 1175,29 unequal: No Solution Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,29 unequal: No Solution Moving to Node #0,4,0 Current State: 29:[47, 21], Operations: ['57-34=23', '23-2=21'] Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,29 unequal: No Solution Exploring Operation: 47*21=987, Resulting Numbers: [987] 987,29 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,29 unequal: No Solution Moving to Node #0,4,2 Current State: 29:[23, 49], Operations: ['57-34=23', '47+2=49'] Exploring Operation: 23*49=1127, Resulting Numbers: [1127] 1127,29 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 23+49=72, Resulting Numbers: [72] 72,29 unequal: No Solution Moving to Node #0,4,3 Current State: 29:[2, 24], Operations: ['57-34=23', '47-23=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,29 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 40, 81, 7, 10 ]
29
[ "81-40=41", "7*10=70", "70-41=29" ]
Current State: 29:[40, 81, 7, 10], Operations: [] Exploring Operation: 81-40=41, Resulting Numbers: [7, 10, 41] Generated Node #2: [7, 10, 41] from Operation: 81-40=41 Current State: 29:[7, 10, 41], Operations: ['81-40=41'] Exploring Operation: 7*10=70, Resulting Numbers: [41, 70] Generated Node #3: [41, 70] from Operation: 7*10=70 Current State: 29:[41, 70], Operations: ['81-40=41', '7*10=70'] Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[40, 81, 7, 10], Operations: [] Exploring Operation: 40-10=30, Resulting Numbers: [81, 7, 30] Generated Node #0,0: 29:[81, 7, 30] Operation: 40-10=30 Exploring Operation: 40-7=33, Resulting Numbers: [81, 10, 33] Generated Node #0,1: 29:[81, 10, 33] Operation: 40-7=33 Exploring Operation: 81-40=41, Resulting Numbers: [7, 10, 41] Generated Node #0,2: 29:[7, 10, 41] Operation: 81-40=41 Moving to Node #0,2 Current State: 29:[7, 10, 41], Operations: ['81-40=41'] Exploring Operation: 41-10=31, Resulting Numbers: [7, 31] Generated Node #0,2,0: 29:[7, 31] Operation: 41-10=31 Exploring Operation: 41-7=34, Resulting Numbers: [10, 34] Generated Node #0,2,1: 29:[10, 34] Operation: 41-7=34 Exploring Operation: 7+10=17, Resulting Numbers: [41, 17] Generated Node #0,2,2: 29:[41, 17] Operation: 7+10=17 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[7, 31], Operations: ['81-40=41', '41-10=31'] Exploring Operation: 7*31=217, Resulting Numbers: [217] 217,29 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[10, 34], Operations: ['81-40=41', '41-7=34'] Exploring Operation: 10+34=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 10*34=340, Resulting Numbers: [340] 340,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[41, 17], Operations: ['81-40=41', '7+10=17'] Exploring Operation: 41+17=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 41*17=697, Resulting Numbers: [697] 697,29 unequal: No Solution Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,29 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: 29:[81, 7, 30], Operations: ['40-10=30'] Exploring Operation: 81-7=74, Resulting Numbers: [30, 74] Generated Node #0,0,0: 29:[30, 74] Operation: 81-7=74 Exploring Operation: 81-30=51, Resulting Numbers: [7, 51] Generated Node #0,0,1: 29:[7, 51] Operation: 81-30=51 Exploring Operation: 30-7=23, Resulting Numbers: [81, 23] Generated Node #0,0,2: 29:[81, 23] Operation: 30-7=23 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[7, 51], Operations: ['40-10=30', '81-30=51'] Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,29 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[30, 74], Operations: ['40-10=30', '81-7=74'] Exploring Operation: 30*74=2220, Resulting Numbers: [2220] 2220,29 unequal: No Solution Exploring Operation: 30+74=104, Resulting Numbers: [104] 104,29 unequal: No Solution Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[81, 23], Operations: ['40-10=30', '30-7=23'] Exploring Operation: 81+23=104, Resulting Numbers: [104] 104,29 unequal: No Solution Exploring Operation: 81-23=58, Resulting Numbers: [58] 58,29 unequal: No Solution Exploring Operation: 81*23=1863, Resulting Numbers: [1863] 1863,29 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: 29:[81, 10, 33], Operations: ['40-7=33'] Exploring Operation: 33-10=23, Resulting Numbers: [81, 23] Generated Node #0,1,0: 29:[81, 23] Operation: 33-10=23 Exploring Operation: 81-10=71, Resulting Numbers: [33, 71] Generated Node #0,1,1: 29:[33, 71] Operation: 81-10=71 Exploring Operation: 81-33=48, Resulting Numbers: [10, 48] Generated Node #0,1,2: 29:[10, 48] Operation: 81-33=48 Moving to Node #0,1,2 Current State: 29:[10, 48], Operations: ['40-7=33', '81-33=48'] Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,29 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[33, 71], Operations: ['40-7=33', '81-10=71'] Exploring Operation: 33+71=104, Resulting Numbers: [104] 104,29 unequal: No Solution Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,29 unequal: No Solution Exploring Operation: 33*71=2343, Resulting Numbers: [2343] 2343,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[81, 23], Operations: ['40-7=33', '33-10=23'] Exploring Operation: 81*23=1863, Resulting Numbers: [1863] 1863,29 unequal: No Solution Exploring Operation: 81+23=104, Resulting Numbers: [104] 104,29 unequal: No Solution Exploring Operation: 81-23=58, Resulting Numbers: [58] 58,29 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 88, 15, 2, 52 ]
85
[ "88+52=140", "140/2=70", "15+70=85" ]
Current State: 85:[88, 15, 2, 52], Operations: [] Exploring Operation: 88+52=140, Resulting Numbers: [15, 2, 140] Generated Node #2: [15, 2, 140] from Operation: 88+52=140 Current State: 85:[15, 2, 140], Operations: ['88+52=140'] Exploring Operation: 140/2=70, Resulting Numbers: [15, 70] Generated Node #3: [15, 70] from Operation: 140/2=70 Current State: 85:[15, 70], Operations: ['88+52=140', '140/2=70'] Exploring Operation: 15+70=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[88, 15, 2, 52], Operations: [] Exploring Operation: 52/2=26, Resulting Numbers: [88, 15, 26] Generated Node #0,0: 85:[88, 15, 26] Operation: 52/2=26 Exploring Operation: 15+52=67, Resulting Numbers: [88, 2, 67] Generated Node #0,1: 85:[88, 2, 67] Operation: 15+52=67 Exploring Operation: 88-52=36, Resulting Numbers: [15, 2, 36] Generated Node #0,2: 85:[15, 2, 36] Operation: 88-52=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[88, 15, 26], Operations: ['52/2=26'] Exploring Operation: 88-15=73, Resulting Numbers: [26, 73] Generated Node #0,0,0: 85:[26, 73] Operation: 88-15=73 Exploring Operation: 88-26=62, Resulting Numbers: [15, 62] Generated Node #0,0,1: 85:[15, 62] Operation: 88-26=62 Exploring Operation: 26-15=11, Resulting Numbers: [88, 11] Generated Node #0,0,2: 85:[88, 11] Operation: 26-15=11 Moving to Node #0,0,2 Current State: 85:[88, 11], Operations: ['52/2=26', '26-15=11'] Exploring Operation: 88/11=8, Resulting Numbers: [8] 8,85 unequal: No Solution Exploring Operation: 88-11=77, Resulting Numbers: [77] 77,85 unequal: No Solution Exploring Operation: 88+11=99, Resulting Numbers: [99] 99,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[26, 73], Operations: ['52/2=26', '88-15=73'] Exploring Operation: 26*73=1898, Resulting Numbers: [1898] 1898,85 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,85 unequal: No Solution Exploring Operation: 26+73=99, Resulting Numbers: [99] 99,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[15, 62], Operations: ['52/2=26', '88-26=62'] Exploring Operation: 15+62=77, Resulting Numbers: [77] 77,85 unequal: No Solution Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,85 unequal: No Solution Exploring Operation: 15*62=930, Resulting Numbers: [930] 930,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 Current State: 85:[88, 2, 67], Operations: ['15+52=67'] Exploring Operation: 88-2=86, Resulting Numbers: [67, 86] Generated Node #0,1,0: 85:[67, 86] Operation: 88-2=86 Exploring Operation: 2+67=69, Resulting Numbers: [88, 69] Generated Node #0,1,1: 85:[88, 69] Operation: 2+67=69 Exploring Operation: 88-67=21, Resulting Numbers: [2, 21] Generated Node #0,1,2: 85:[2, 21] Operation: 88-67=21 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 85:[2, 21], Operations: ['15+52=67', '88-67=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,85 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[67, 86], Operations: ['15+52=67', '88-2=86'] Exploring Operation: 86-67=19, Resulting Numbers: [19] 19,85 unequal: No Solution Exploring Operation: 67*86=5762, Resulting Numbers: [5762] 5762,85 unequal: No Solution Exploring Operation: 67+86=153, Resulting Numbers: [153] 153,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[88, 69], Operations: ['15+52=67', '2+67=69'] Exploring Operation: 88*69=6072, Resulting Numbers: [6072] 6072,85 unequal: No Solution Exploring Operation: 88+69=157, Resulting Numbers: [157] 157,85 unequal: No Solution Exploring Operation: 88-69=19, Resulting Numbers: [19] 19,85 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: 85:[15, 2, 36], Operations: ['88-52=36'] Exploring Operation: 2*36=72, Resulting Numbers: [15, 72] Generated Node #0,2,0: 85:[15, 72] Operation: 2*36=72 Exploring Operation: 36-15=21, Resulting Numbers: [2, 21] Generated Node #0,2,1: 85:[2, 21] Operation: 36-15=21 Exploring Operation: 36/2=18, Resulting Numbers: [15, 18] Generated Node #0,2,2: 85:[15, 18] Operation: 36/2=18 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 85:[15, 18], Operations: ['88-52=36', '36/2=18'] Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,85 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 15*18=270, Resulting Numbers: [270] 270,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 85:[2, 21], Operations: ['88-52=36', '36-15=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,85 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,85 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[15, 72], Operations: ['88-52=36', '2*36=72'] Exploring Operation: 15*72=1080, Resulting Numbers: [1080] 1080,85 unequal: No Solution Exploring Operation: 15+72=87, Resulting Numbers: [87] 87,85 unequal: No Solution Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 66, 31, 52, 69 ]
63
[ "69-66=3", "52-31=21", "3*21=63" ]
Current State: 63:[66, 31, 52, 69], Operations: [] Exploring Operation: 69-66=3, Resulting Numbers: [31, 52, 3] Generated Node #2: [31, 52, 3] from Operation: 69-66=3 Current State: 63:[31, 52, 3], Operations: ['69-66=3'] Exploring Operation: 52-31=21, Resulting Numbers: [3, 21] Generated Node #3: [3, 21] from Operation: 52-31=21 Current State: 63:[3, 21], Operations: ['69-66=3', '52-31=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[66, 31, 52, 69], Operations: [] Exploring Operation: 69-52=17, Resulting Numbers: [66, 31, 17] Generated Node #0,0: 63:[66, 31, 17] Operation: 69-52=17 Exploring Operation: 52-31=21, Resulting Numbers: [66, 69, 21] Generated Node #0,1: 63:[66, 69, 21] Operation: 52-31=21 Moving to Node #0,1 Current State: 63:[66, 69, 21], Operations: ['52-31=21'] Exploring Operation: 69-21=48, Resulting Numbers: [66, 48] Generated Node #0,1,0: 63:[66, 48] Operation: 69-21=48 Exploring Operation: 69-66=3, Resulting Numbers: [21, 3] Generated Node #0,1,1: 63:[21, 3] Operation: 69-66=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[21, 3], Operations: ['52-31=21', '69-66=3'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[66, 31, 52, 69], Operations: [] Exploring Operation: 52-31=21, Resulting Numbers: [66, 69, 21] Generated Node #0,1: 63:[66, 69, 21] Operation: 52-31=21 Moving to Node #0,1 Current State: 63:[66, 69, 21], Operations: ['52-31=21'] Exploring Operation: 69-66=3, Resulting Numbers: [21, 3] Generated Node #0,1,1: 63:[21, 3] Operation: 69-66=3 Moving to Node #0,1,1 Current State: 63:[21, 3], Operations: ['52-31=21', '69-66=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 29, 97, 5, 50 ]
71
[ "29+97=126", "5+50=55", "126-55=71" ]
Current State: 71:[29, 97, 5, 50], Operations: [] Exploring Operation: 29+97=126, Resulting Numbers: [5, 50, 126] Generated Node #2: [5, 50, 126] from Operation: 29+97=126 Current State: 71:[5, 50, 126], Operations: ['29+97=126'] Exploring Operation: 5+50=55, Resulting Numbers: [126, 55] Generated Node #3: [126, 55] from Operation: 5+50=55 Current State: 71:[126, 55], Operations: ['29+97=126', '5+50=55'] Exploring Operation: 126-55=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[29, 97, 5, 50], Operations: [] Exploring Operation: 29+5=34, Resulting Numbers: [97, 50, 34] Generated Node #0,0: 71:[97, 50, 34] Operation: 29+5=34 Exploring Operation: 5+50=55, Resulting Numbers: [29, 97, 55] Generated Node #0,1: 71:[29, 97, 55] Operation: 5+50=55 Exploring Operation: 97-29=68, Resulting Numbers: [5, 50, 68] Generated Node #0,2: 71:[5, 50, 68] Operation: 97-29=68 Exploring Operation: 97-5=92, Resulting Numbers: [29, 50, 92] Generated Node #0,3: 71:[29, 50, 92] Operation: 97-5=92 Exploring Operation: 29-5=24, Resulting Numbers: [97, 50, 24] Generated Node #0,4: 71:[97, 50, 24] Operation: 29-5=24 Moving to Node #0,0 Current State: 71:[97, 50, 34], Operations: ['29+5=34'] Exploring Operation: 50-34=16, Resulting Numbers: [97, 16] Generated Node #0,0,0: 71:[97, 16] Operation: 50-34=16 Exploring Operation: 97-50=47, Resulting Numbers: [34, 47] Generated Node #0,0,1: 71:[34, 47] Operation: 97-50=47 Exploring Operation: 97+34=131, Resulting Numbers: [50, 131] Generated Node #0,0,2: 71:[50, 131] Operation: 97+34=131 Exploring Operation: 97-34=63, Resulting Numbers: [50, 63] Generated Node #0,0,3: 71:[50, 63] Operation: 97-34=63 Exploring Operation: 50+34=84, Resulting Numbers: [97, 84] Generated Node #0,0,4: 71:[97, 84] Operation: 50+34=84 Moving to Node #0,3 Current State: 71:[29, 50, 92], Operations: ['97-5=92'] Exploring Operation: 29+50=79, Resulting Numbers: [92, 79] Generated Node #0,3,0: 71:[92, 79] Operation: 29+50=79 Exploring Operation: 29+92=121, Resulting Numbers: [50, 121] Generated Node #0,3,1: 71:[50, 121] Operation: 29+92=121 Exploring Operation: 92-29=63, Resulting Numbers: [50, 63] Generated Node #0,3,2: 71:[50, 63] Operation: 92-29=63 Exploring Operation: 92-50=42, Resulting Numbers: [29, 42] Generated Node #0,3,3: 71:[29, 42] Operation: 92-50=42 Exploring Operation: 50-29=21, Resulting Numbers: [92, 21] Generated Node #0,3,4: 71:[92, 21] Operation: 50-29=21 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 71:[92, 79], Operations: ['97-5=92', '29+50=79'] Exploring Operation: 92-79=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 92+79=171, Resulting Numbers: [171] 171,71 unequal: No Solution Exploring Operation: 92*79=7268, Resulting Numbers: [7268] 7268,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,3,2 Current State: 71:[50, 63], Operations: ['97-5=92', '92-29=63'] Exploring Operation: 50*63=3150, Resulting Numbers: [3150] 3150,71 unequal: No Solution Exploring Operation: 50+63=113, Resulting Numbers: [113] 113,71 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,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,3,1 Current State: 71:[50, 121], Operations: ['97-5=92', '29+92=121'] Exploring Operation: 121-50=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[29, 97, 5, 50], Operations: [] Exploring Operation: 97-5=92, Resulting Numbers: [29, 50, 92] Generated Node #0,3: 71:[29, 50, 92] Operation: 97-5=92 Moving to Node #0,3 Current State: 71:[29, 50, 92], Operations: ['97-5=92'] Exploring Operation: 29+92=121, Resulting Numbers: [50, 121] Generated Node #0,3,1: 71:[50, 121] Operation: 29+92=121 Moving to Node #0,3,1 Current State: 71:[50, 121], Operations: ['97-5=92', '29+92=121'] Exploring Operation: 121-50=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 9, 45, 65, 43 ]
72
[ "45-9=36", "65+43=108", "108-36=72" ]
Current State: 72:[9, 45, 65, 43], Operations: [] Exploring Operation: 45-9=36, Resulting Numbers: [65, 43, 36] Generated Node #2: [65, 43, 36] from Operation: 45-9=36 Current State: 72:[65, 43, 36], Operations: ['45-9=36'] Exploring Operation: 65+43=108, Resulting Numbers: [36, 108] Generated Node #3: [36, 108] from Operation: 65+43=108 Current State: 72:[36, 108], Operations: ['45-9=36', '65+43=108'] Exploring Operation: 108-36=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[9, 45, 65, 43], Operations: [] Exploring Operation: 45-43=2, Resulting Numbers: [9, 65, 2] Generated Node #0,0: 72:[9, 65, 2] Operation: 45-43=2 Exploring Operation: 65-45=20, Resulting Numbers: [9, 43, 20] Generated Node #0,1: 72:[9, 43, 20] Operation: 65-45=20 Moving to Node #0,0 Current State: 72:[9, 65, 2], Operations: ['45-43=2'] Exploring Operation: 9+65=74, Resulting Numbers: [2, 74] Generated Node #0,0,0: 72:[2, 74] Operation: 9+65=74 Exploring Operation: 65+2=67, Resulting Numbers: [9, 67] Generated Node #0,0,1: 72:[9, 67] Operation: 65+2=67 Moving to Node #0,1 Current State: 72:[9, 43, 20], Operations: ['65-45=20'] Exploring Operation: 43-9=34, Resulting Numbers: [20, 34] Generated Node #0,1,0: 72:[20, 34] Operation: 43-9=34 Exploring Operation: 43-20=23, Resulting Numbers: [9, 23] Generated Node #0,1,1: 72:[9, 23] Operation: 43-20=23 Moving to Node #0,1,1 Current State: 72:[9, 23], Operations: ['65-45=20', '43-20=23'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[2, 74], Operations: ['45-43=2', '9+65=74'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[9, 45, 65, 43], Operations: [] Exploring Operation: 45-43=2, Resulting Numbers: [9, 65, 2] Generated Node #0,0: 72:[9, 65, 2] Operation: 45-43=2 Moving to Node #0,0 Current State: 72:[9, 65, 2], Operations: ['45-43=2'] Exploring Operation: 9+65=74, Resulting Numbers: [2, 74] Generated Node #0,0,0: 72:[2, 74] Operation: 9+65=74 Moving to Node #0,0,0 Current State: 72:[2, 74], Operations: ['45-43=2', '9+65=74'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.988715
hs_2
sum_heuristic
[ 6, 60, 19, 3 ]
98
[ "6*19=114", "114/3=38", "60+38=98" ]
Current State: 98:[6, 60, 19, 3], Operations: [] Exploring Operation: 6*19=114, Resulting Numbers: [60, 3, 114] Generated Node #2: [60, 3, 114] from Operation: 6*19=114 Current State: 98:[60, 3, 114], Operations: ['6*19=114'] Exploring Operation: 114/3=38, Resulting Numbers: [60, 38] Generated Node #3: [60, 38] from Operation: 114/3=38 Current State: 98:[60, 38], Operations: ['6*19=114', '114/3=38'] Exploring Operation: 60+38=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[6, 60, 19, 3], Operations: [] Exploring Operation: 60-6=54, Resulting Numbers: [19, 3, 54] Generated Node #0,0: 98:[19, 3, 54] Operation: 60-6=54 Exploring Operation: 60/6=10, Resulting Numbers: [19, 3, 10] Generated Node #0,1: 98:[19, 3, 10] Operation: 60/6=10 Exploring Operation: 60-19=41, Resulting Numbers: [6, 3, 41] Generated Node #0,2: 98:[6, 3, 41] Operation: 60-19=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[19, 3, 10], Operations: ['60/6=10'] Exploring Operation: 10-3=7, Resulting Numbers: [19, 7] Generated Node #0,1,0: 98:[19, 7] Operation: 10-3=7 Exploring Operation: 19-3=16, Resulting Numbers: [10, 16] Generated Node #0,1,1: 98:[10, 16] Operation: 19-3=16 Exploring Operation: 19-10=9, Resulting Numbers: [3, 9] Generated Node #0,1,2: 98:[3, 9] Operation: 19-10=9 Moving to Node #0,1,2 Current State: 98:[3, 9], Operations: ['60/6=10', '19-10=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,98 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[19, 7], Operations: ['60/6=10', '10-3=7'] Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,98 unequal: No Solution Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,98 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[10, 16], Operations: ['60/6=10', '19-3=16'] Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,98 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,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 Current State: 98:[6, 3, 41], Operations: ['60-19=41'] Exploring Operation: 3+41=44, Resulting Numbers: [6, 44] Generated Node #0,2,0: 98:[6, 44] Operation: 3+41=44 Exploring Operation: 6+41=47, Resulting Numbers: [3, 47] Generated Node #0,2,1: 98:[3, 47] Operation: 6+41=47 Exploring Operation: 6/3=2, Resulting Numbers: [41, 2] Generated Node #0,2,2: 98:[41, 2] Operation: 6/3=2 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 98:[3, 47], Operations: ['60-19=41', '6+41=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,98 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,98 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,98 unequal: No Solution No 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: 98:[6, 44], Operations: ['60-19=41', '3+41=44'] Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,98 unequal: No Solution Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,98 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,98 unequal: No Solution No 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: 98:[41, 2], Operations: ['60-19=41', '6/3=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,98 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,98 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: 98:[19, 3, 54], Operations: ['60-6=54'] Exploring Operation: 54-3=51, Resulting Numbers: [19, 51] Generated Node #0,0,0: 98:[19, 51] Operation: 54-3=51 Exploring Operation: 19-3=16, Resulting Numbers: [54, 16] Generated Node #0,0,1: 98:[54, 16] Operation: 19-3=16 Exploring Operation: 54/3=18, Resulting Numbers: [19, 18] Generated Node #0,0,2: 98:[19, 18] Operation: 54/3=18 Moving to Node #0,0,0 Current State: 98:[19, 51], Operations: ['60-6=54', '54-3=51'] Exploring Operation: 19*51=969, Resulting Numbers: [969] 969,98 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,98 unequal: No Solution Exploring Operation: 19+51=70, Resulting Numbers: [70] 70,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[54, 16], Operations: ['60-6=54', '19-3=16'] Exploring Operation: 54*16=864, Resulting Numbers: [864] 864,98 unequal: No Solution Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 54+16=70, Resulting Numbers: [70] 70,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[19, 18], Operations: ['60-6=54', '54/3=18'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,98 unequal: No Solution Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,98 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
[ 6, 8, 54, 4 ]
23
[ "8-6=2", "54/2=27", "27-4=23" ]
Current State: 23:[6, 8, 54, 4], Operations: [] Exploring Operation: 8-6=2, Resulting Numbers: [54, 4, 2] Generated Node #2: [54, 4, 2] from Operation: 8-6=2 Current State: 23:[54, 4, 2], Operations: ['8-6=2'] Exploring Operation: 54/2=27, Resulting Numbers: [4, 27] Generated Node #3: [4, 27] from Operation: 54/2=27 Current State: 23:[4, 27], Operations: ['8-6=2', '54/2=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[6, 8, 54, 4], Operations: [] Exploring Operation: 6*4=24, Resulting Numbers: [8, 54, 24] Generated Node #0,0: 23:[8, 54, 24] Operation: 6*4=24 Exploring Operation: 8*4=32, Resulting Numbers: [6, 54, 32] Generated Node #0,1: 23:[6, 54, 32] Operation: 8*4=32 Exploring Operation: 54-6=48, Resulting Numbers: [8, 4, 48] Generated Node #0,2: 23:[8, 4, 48] Operation: 54-6=48 Exploring Operation: 54/6=9, Resulting Numbers: [8, 4, 9] Generated Node #0,3: 23:[8, 4, 9] Operation: 54/6=9 Exploring Operation: 6+8=14, Resulting Numbers: [54, 4, 14] Generated Node #0,4: 23:[54, 4, 14] Operation: 6+8=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[8, 54, 24], Operations: ['6*4=24'] Exploring Operation: 8+24=32, Resulting Numbers: [54, 32] Generated Node #0,0,0: 23:[54, 32] Operation: 8+24=32 Exploring Operation: 8+54=62, Resulting Numbers: [24, 62] Generated Node #0,0,1: 23:[24, 62] Operation: 8+54=62 Exploring Operation: 54-24=30, Resulting Numbers: [8, 30] Generated Node #0,0,2: 23:[8, 30] Operation: 54-24=30 Exploring Operation: 24-8=16, Resulting Numbers: [54, 16] Generated Node #0,0,3: 23:[54, 16] Operation: 24-8=16 Exploring Operation: 54-8=46, Resulting Numbers: [24, 46] Generated Node #0,0,4: 23:[24, 46] Operation: 54-8=46 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 23:[8, 30], Operations: ['6*4=24', '54-24=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,23 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,23 unequal: No Solution No 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: 23:[24, 46], Operations: ['6*4=24', '54-8=46'] Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 24*46=1104, Resulting Numbers: [1104] 1104,23 unequal: No Solution Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,23 unequal: No Solution No 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: 23:[54, 16], Operations: ['6*4=24', '24-8=16'] Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 54+16=70, Resulting Numbers: [70] 70,23 unequal: No Solution Exploring Operation: 54*16=864, Resulting Numbers: [864] 864,23 unequal: No Solution No 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: 23:[54, 32], Operations: ['6*4=24', '8+24=32'] Exploring Operation: 54+32=86, Resulting Numbers: [86] 86,23 unequal: No Solution Exploring Operation: 54*32=1728, Resulting Numbers: [1728] 1728,23 unequal: No Solution Exploring Operation: 54-32=22, Resulting Numbers: [22] 22,23 unequal: No Solution No 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: 23:[24, 62], Operations: ['6*4=24', '8+54=62'] Exploring Operation: 24*62=1488, Resulting Numbers: [1488] 1488,23 unequal: No Solution Exploring Operation: 62-24=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 24+62=86, Resulting Numbers: [86] 86,23 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: 23:[8, 4, 9], Operations: ['54/6=9'] Exploring Operation: 8+9=17, Resulting Numbers: [4, 17] Generated Node #0,3,0: 23:[4, 17] Operation: 8+9=17 Exploring Operation: 8*4=32, Resulting Numbers: [9, 32] Generated Node #0,3,1: 23:[9, 32] Operation: 8*4=32 Exploring Operation: 4*9=36, Resulting Numbers: [8, 36] Generated Node #0,3,2: 23:[8, 36] Operation: 4*9=36 Exploring Operation: 8+4=12, Resulting Numbers: [9, 12] Generated Node #0,3,3: 23:[9, 12] Operation: 8+4=12 Exploring Operation: 4+9=13, Resulting Numbers: [8, 13] Generated Node #0,3,4: 23:[8, 13] Operation: 4+9=13 Moving to Node #0,3,1 Current State: 23:[9, 32], Operations: ['54/6=9', '8*4=32'] Exploring Operation: 9*32=288, Resulting Numbers: [288] 288,23 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[6, 8, 54, 4], Operations: [] Exploring Operation: 54/6=9, Resulting Numbers: [8, 4, 9] Generated Node #0,3: 23:[8, 4, 9] Operation: 54/6=9 Moving to Node #0,3 Current State: 23:[8, 4, 9], Operations: ['54/6=9'] Exploring Operation: 8*4=32, Resulting Numbers: [9, 32] Generated Node #0,3,1: 23:[9, 32] Operation: 8*4=32 Moving to Node #0,3,1 Current State: 23:[9, 32], Operations: ['54/6=9', '8*4=32'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 79, 23, 46, 16 ]
93
[ "79+16=95", "46/23=2", "95-2=93" ]
Current State: 93:[79, 23, 46, 16], Operations: [] Exploring Operation: 79+16=95, Resulting Numbers: [23, 46, 95] Generated Node #2: [23, 46, 95] from Operation: 79+16=95 Current State: 93:[23, 46, 95], Operations: ['79+16=95'] Exploring Operation: 46/23=2, Resulting Numbers: [95, 2] Generated Node #3: [95, 2] from Operation: 46/23=2 Current State: 93:[95, 2], Operations: ['79+16=95', '46/23=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[79, 23, 46, 16], Operations: [] Exploring Operation: 79+16=95, Resulting Numbers: [23, 46, 95] Generated Node #0,0: 93:[23, 46, 95] Operation: 79+16=95 Exploring Operation: 79-46=33, Resulting Numbers: [23, 16, 33] Generated Node #0,1: 93:[23, 16, 33] Operation: 79-46=33 Exploring Operation: 46-16=30, Resulting Numbers: [79, 23, 30] Generated Node #0,2: 93:[79, 23, 30] Operation: 46-16=30 Moving to Node #0,1 Current State: 93:[23, 16, 33], Operations: ['79-46=33'] Exploring Operation: 23-16=7, Resulting Numbers: [33, 7] Generated Node #0,1,0: 93:[33, 7] Operation: 23-16=7 Exploring Operation: 33-23=10, Resulting Numbers: [16, 10] Generated Node #0,1,1: 93:[16, 10] Operation: 33-23=10 Exploring Operation: 23+16=39, Resulting Numbers: [33, 39] Generated Node #0,1,2: 93:[33, 39] Operation: 23+16=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[33, 7], Operations: ['79-46=33', '23-16=7'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,93 unequal: No Solution Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,93 unequal: No Solution Exploring Operation: 33*7=231, Resulting Numbers: [231] 231,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 93:[33, 39], Operations: ['79-46=33', '23+16=39'] Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,93 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[16, 10], Operations: ['79-46=33', '33-23=10'] Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,93 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,93 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: 93:[79, 23, 30], Operations: ['46-16=30'] Exploring Operation: 79+30=109, Resulting Numbers: [23, 109] Generated Node #0,2,0: 93:[23, 109] Operation: 79+30=109 Exploring Operation: 30-23=7, Resulting Numbers: [79, 7] Generated Node #0,2,1: 93:[79, 7] Operation: 30-23=7 Exploring Operation: 79+23=102, Resulting Numbers: [30, 102] Generated Node #0,2,2: 93:[30, 102] Operation: 79+23=102 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 93:[30, 102], Operations: ['46-16=30', '79+23=102'] Exploring Operation: 30+102=132, Resulting Numbers: [132] 132,93 unequal: No Solution Exploring Operation: 30*102=3060, Resulting Numbers: [3060] 3060,93 unequal: No Solution Exploring Operation: 102-30=72, Resulting Numbers: [72] 72,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 93:[79, 7], Operations: ['46-16=30', '30-23=7'] Exploring Operation: 79+7=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 79*7=553, Resulting Numbers: [553] 553,93 unequal: No Solution Exploring Operation: 79-7=72, Resulting Numbers: [72] 72,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[23, 109], Operations: ['46-16=30', '79+30=109'] Exploring Operation: 23+109=132, Resulting Numbers: [132] 132,93 unequal: No Solution Exploring Operation: 109-23=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 23*109=2507, Resulting Numbers: [2507] 2507,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 93:[23, 46, 95], Operations: ['79+16=95'] Exploring Operation: 46/23=2, Resulting Numbers: [95, 2] Generated Node #0,0,0: 93:[95, 2] Operation: 46/23=2 Exploring Operation: 23+46=69, Resulting Numbers: [95, 69] Generated Node #0,0,1: 93:[95, 69] Operation: 23+46=69 Exploring Operation: 46-23=23, Resulting Numbers: [95, 23] Generated Node #0,0,2: 93:[95, 23] Operation: 46-23=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[95, 2], Operations: ['79+16=95', '46/23=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[79, 23, 46, 16], Operations: [] Exploring Operation: 79+16=95, Resulting Numbers: [23, 46, 95] Generated Node #0,0: 93:[23, 46, 95] Operation: 79+16=95 Moving to Node #0,0 Current State: 93:[23, 46, 95], Operations: ['79+16=95'] Exploring Operation: 46/23=2, Resulting Numbers: [95, 2] Generated Node #0,0,0: 93:[95, 2] Operation: 46/23=2 Moving to Node #0,0,0 Current State: 93:[95, 2], Operations: ['79+16=95', '46/23=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 2, 54, 71, 43 ]
28
[ "2+54=56", "71-43=28", "56-28=28" ]
Current State: 28:[2, 54, 71, 43], Operations: [] Exploring Operation: 2+54=56, Resulting Numbers: [71, 43, 56] Generated Node #2: [71, 43, 56] from Operation: 2+54=56 Current State: 28:[71, 43, 56], Operations: ['2+54=56'] Exploring Operation: 71-43=28, Resulting Numbers: [56, 28] Generated Node #3: [56, 28] from Operation: 71-43=28 Current State: 28:[56, 28], Operations: ['2+54=56', '71-43=28'] Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[2, 54, 71, 43], Operations: [] Exploring Operation: 71-43=28, Resulting Numbers: [2, 54, 28] Generated Node #0,0: 28:[2, 54, 28] Operation: 71-43=28 Exploring Operation: 54-43=11, Resulting Numbers: [2, 71, 11] Generated Node #0,1: 28:[2, 71, 11] Operation: 54-43=11 Exploring Operation: 71-54=17, Resulting Numbers: [2, 43, 17] Generated Node #0,2: 28:[2, 43, 17] Operation: 71-54=17 Moving to Node #0,2 Current State: 28:[2, 43, 17], Operations: ['71-54=17'] Exploring Operation: 43-2=41, Resulting Numbers: [17, 41] Generated Node #0,2,0: 28:[17, 41] Operation: 43-2=41 Exploring Operation: 43-17=26, Resulting Numbers: [2, 26] Generated Node #0,2,1: 28:[2, 26] Operation: 43-17=26 Exploring Operation: 17-2=15, Resulting Numbers: [43, 15] Generated Node #0,2,2: 28:[43, 15] Operation: 17-2=15 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 28:[2, 26], Operations: ['71-54=17', '43-17=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[2, 54, 71, 43], Operations: [] Exploring Operation: 71-54=17, Resulting Numbers: [2, 43, 17] Generated Node #0,2: 28:[2, 43, 17] Operation: 71-54=17 Moving to Node #0,2 Current State: 28:[2, 43, 17], Operations: ['71-54=17'] Exploring Operation: 43-17=26, Resulting Numbers: [2, 26] Generated Node #0,2,1: 28:[2, 26] Operation: 43-17=26 Moving to Node #0,2,1 Current State: 28:[2, 26], Operations: ['71-54=17', '43-17=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 60, 21, 71, 51 ]
59
[ "60-21=39", "71-51=20", "39+20=59" ]
Current State: 59:[60, 21, 71, 51], Operations: [] Exploring Operation: 60-21=39, Resulting Numbers: [71, 51, 39] Generated Node #2: [71, 51, 39] from Operation: 60-21=39 Current State: 59:[71, 51, 39], Operations: ['60-21=39'] Exploring Operation: 71-51=20, Resulting Numbers: [39, 20] Generated Node #3: [39, 20] from Operation: 71-51=20 Current State: 59:[39, 20], Operations: ['60-21=39', '71-51=20'] Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[60, 21, 71, 51], Operations: [] Exploring Operation: 60+21=81, Resulting Numbers: [71, 51, 81] Generated Node #0,0: 59:[71, 51, 81] Operation: 60+21=81 Exploring Operation: 60-21=39, Resulting Numbers: [71, 51, 39] Generated Node #0,1: 59:[71, 51, 39] Operation: 60-21=39 Exploring Operation: 21+51=72, Resulting Numbers: [60, 71, 72] Generated Node #0,2: 59:[60, 71, 72] Operation: 21+51=72 Exploring Operation: 71-21=50, Resulting Numbers: [60, 51, 50] Generated Node #0,3: 59:[60, 51, 50] Operation: 71-21=50 Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[60, 51, 50], Operations: ['71-21=50'] Exploring Operation: 60-50=10, Resulting Numbers: [51, 10] Generated Node #0,3,0: 59:[51, 10] Operation: 60-50=10 Exploring Operation: 60-51=9, Resulting Numbers: [50, 9] Generated Node #0,3,1: 59:[50, 9] Operation: 60-51=9 Exploring Operation: 60+50=110, Resulting Numbers: [51, 110] Generated Node #0,3,2: 59:[51, 110] Operation: 60+50=110 Exploring Operation: 51+50=101, Resulting Numbers: [60, 101] Generated Node #0,3,3: 59:[60, 101] Operation: 51+50=101 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 59:[60, 101], Operations: ['71-21=50', '51+50=101'] Exploring Operation: 60+101=161, Resulting Numbers: [161] 161,59 unequal: No Solution Exploring Operation: 101-60=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 60*101=6060, Resulting Numbers: [6060] 6060,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:[51, 10], Operations: ['71-21=50', '60-50=10'] Exploring Operation: 51*10=510, Resulting Numbers: [510] 510,59 unequal: No Solution Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 51+10=61, Resulting Numbers: [61] 61,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,1 Current State: 59:[50, 9], Operations: ['71-21=50', '60-51=9'] Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[60, 21, 71, 51], Operations: [] Exploring Operation: 71-21=50, Resulting Numbers: [60, 51, 50] Generated Node #0,3: 59:[60, 51, 50] Operation: 71-21=50 Moving to Node #0,3 Current State: 59:[60, 51, 50], Operations: ['71-21=50'] Exploring Operation: 60-51=9, Resulting Numbers: [50, 9] Generated Node #0,3,1: 59:[50, 9] Operation: 60-51=9 Moving to Node #0,3,1 Current State: 59:[50, 9], Operations: ['71-21=50', '60-51=9'] Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 47, 3, 9, 54 ]
98
[ "47+54=101", "9/3=3", "101-3=98" ]
Current State: 98:[47, 3, 9, 54], Operations: [] Exploring Operation: 47+54=101, Resulting Numbers: [3, 9, 101] Generated Node #2: [3, 9, 101] from Operation: 47+54=101 Current State: 98:[3, 9, 101], Operations: ['47+54=101'] Exploring Operation: 9/3=3, Resulting Numbers: [101, 3] Generated Node #3: [101, 3] from Operation: 9/3=3 Current State: 98:[101, 3], Operations: ['47+54=101', '9/3=3'] Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[47, 3, 9, 54], Operations: [] Exploring Operation: 54-9=45, Resulting Numbers: [47, 3, 45] Generated Node #0,0: 98:[47, 3, 45] Operation: 54-9=45 Exploring Operation: 54-3=51, Resulting Numbers: [47, 9, 51] Generated Node #0,1: 98:[47, 9, 51] Operation: 54-3=51 Exploring Operation: 54-47=7, Resulting Numbers: [3, 9, 7] Generated Node #0,2: 98:[3, 9, 7] Operation: 54-47=7 Exploring Operation: 54/9=6, Resulting Numbers: [47, 3, 6] Generated Node #0,3: 98:[47, 3, 6] Operation: 54/9=6 Exploring Operation: 47+54=101, Resulting Numbers: [3, 9, 101] Generated Node #0,4: 98:[3, 9, 101] Operation: 47+54=101 Moving to Node #0,2 Current State: 98:[3, 9, 7], Operations: ['54-47=7'] Exploring Operation: 3+9=12, Resulting Numbers: [7, 12] Generated Node #0,2,0: 98:[7, 12] Operation: 3+9=12 Exploring Operation: 9-3=6, Resulting Numbers: [7, 6] Generated Node #0,2,1: 98:[7, 6] Operation: 9-3=6 Exploring Operation: 9/3=3, Resulting Numbers: [7, 3] Generated Node #0,2,2: 98:[7, 3] Operation: 9/3=3 Exploring Operation: 9-7=2, Resulting Numbers: [3, 2] Generated Node #0,2,3: 98:[3, 2] Operation: 9-7=2 Exploring Operation: 9+7=16, Resulting Numbers: [3, 16] Generated Node #0,2,4: 98:[3, 16] Operation: 9+7=16 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 98:[7, 6], Operations: ['54-47=7', '9-3=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,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:[7, 3], Operations: ['54-47=7', '9/3=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,98 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,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,3 Current State: 98:[3, 2], Operations: ['54-47=7', '9-7=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,98 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,98 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,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,0 Current State: 98:[7, 12], Operations: ['54-47=7', '3+9=12'] Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,98 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,98 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,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,4 Current State: 98:[3, 16], Operations: ['54-47=7', '9+7=16'] Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,98 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,98 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: 98:[47, 3, 6], Operations: ['54/9=6'] Exploring Operation: 6-3=3, Resulting Numbers: [47, 3] Generated Node #0,3,0: 98:[47, 3] Operation: 6-3=3 Exploring Operation: 47+3=50, Resulting Numbers: [6, 50] Generated Node #0,3,1: 98:[6, 50] Operation: 47+3=50 Exploring Operation: 6/3=2, Resulting Numbers: [47, 2] Generated Node #0,3,2: 98:[47, 2] Operation: 6/3=2 Exploring Operation: 3+6=9, Resulting Numbers: [47, 9] Generated Node #0,3,3: 98:[47, 9] Operation: 3+6=9 Exploring Operation: 47+6=53, Resulting Numbers: [3, 53] Generated Node #0,3,4: 98:[3, 53] Operation: 47+6=53 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 98:[6, 50], Operations: ['54/9=6', '47+3=50'] Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,98 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,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,3,2 Current State: 98:[47, 2], Operations: ['54/9=6', '6/3=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,98 unequal: No Solution Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,98 unequal: No Solution Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,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,3,0 Current State: 98:[47, 3], Operations: ['54/9=6', '6-3=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,98 unequal: No Solution Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,98 unequal: No Solution Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,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,3,3 Current State: 98:[47, 9], Operations: ['54/9=6', '3+6=9'] Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,98 unequal: No Solution Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,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,3,4 Current State: 98:[3, 53], Operations: ['54/9=6', '47+6=53'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,98 unequal: No Solution Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 3*53=159, Resulting Numbers: [159] 159,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 98:[47, 9, 51], Operations: ['54-3=51'] Exploring Operation: 47-9=38, Resulting Numbers: [51, 38] Generated Node #0,1,0: 98:[51, 38] Operation: 47-9=38 Exploring Operation: 47+9=56, Resulting Numbers: [51, 56] Generated Node #0,1,1: 98:[51, 56] Operation: 47+9=56 Exploring Operation: 51-9=42, Resulting Numbers: [47, 42] Generated Node #0,1,2: 98:[47, 42] Operation: 51-9=42 Exploring Operation: 51-47=4, Resulting Numbers: [9, 4] Generated Node #0,1,3: 98:[9, 4] Operation: 51-47=4 Exploring Operation: 47+51=98, Resulting Numbers: [9, 98] Generated Node #0,1,4: 98:[9, 98] Operation: 47+51=98 Moving to Node #0,4 Current State: 98:[3, 9, 101], Operations: ['47+54=101'] Exploring Operation: 9/3=3, Resulting Numbers: [101, 3] Generated Node #0,4,0: 98:[101, 3] Operation: 9/3=3 Exploring Operation: 101-3=98, Resulting Numbers: [9, 98] Generated Node #0,4,1: 98:[9, 98] Operation: 101-3=98 Exploring Operation: 3+9=12, Resulting Numbers: [101, 12] Generated Node #0,4,2: 98:[101, 12] Operation: 3+9=12 Exploring Operation: 9-3=6, Resulting Numbers: [101, 6] Generated Node #0,4,3: 98:[101, 6] Operation: 9-3=6 Exploring Operation: 101-9=92, Resulting Numbers: [3, 92] Generated Node #0,4,4: 98:[3, 92] Operation: 101-9=92 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 98:[9, 98], Operations: ['47+54=101', '101-3=98'] Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,98 unequal: No Solution Exploring Operation: 9*98=882, Resulting Numbers: [882] 882,98 unequal: No Solution Exploring Operation: 9+98=107, Resulting Numbers: [107] 107,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,4,0 Current State: 98:[101, 3], Operations: ['47+54=101', '9/3=3'] Exploring Operation: 101*3=303, Resulting Numbers: [303] 303,98 unequal: No Solution Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[47, 3, 9, 54], Operations: [] Exploring Operation: 47+54=101, Resulting Numbers: [3, 9, 101] Generated Node #0,4: 98:[3, 9, 101] Operation: 47+54=101 Moving to Node #0,4 Current State: 98:[3, 9, 101], Operations: ['47+54=101'] Exploring Operation: 9/3=3, Resulting Numbers: [101, 3] Generated Node #0,4,0: 98:[101, 3] Operation: 9/3=3 Moving to Node #0,4,0 Current State: 98:[101, 3], Operations: ['47+54=101', '9/3=3'] Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.944444
hs_5
sum_heuristic
[ 9, 41, 89, 11 ]
50
[ "9+41=50", "89+11=100", "100-50=50" ]
Current State: 50:[9, 41, 89, 11], Operations: [] Exploring Operation: 9+41=50, Resulting Numbers: [89, 11, 50] Generated Node #2: [89, 11, 50] from Operation: 9+41=50 Current State: 50:[89, 11, 50], Operations: ['9+41=50'] Exploring Operation: 89+11=100, Resulting Numbers: [50, 100] Generated Node #3: [50, 100] from Operation: 89+11=100 Current State: 50:[50, 100], Operations: ['9+41=50', '89+11=100'] Exploring Operation: 100-50=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[9, 41, 89, 11], Operations: [] Exploring Operation: 89-41=48, Resulting Numbers: [9, 11, 48] Generated Node #0,0: 50:[9, 11, 48] Operation: 89-41=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[9, 11, 48], Operations: ['89-41=48'] Exploring Operation: 11-9=2, Resulting Numbers: [48, 2] Generated Node #0,0,0: 50:[48, 2] Operation: 11-9=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 50:[48, 2], Operations: ['89-41=48', '11-9=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[9, 41, 89, 11], Operations: [] Exploring Operation: 89-41=48, Resulting Numbers: [9, 11, 48] Generated Node #0,0: 50:[9, 11, 48] Operation: 89-41=48 Moving to Node #0,0 Current State: 50:[9, 11, 48], Operations: ['89-41=48'] Exploring Operation: 11-9=2, Resulting Numbers: [48, 2] Generated Node #0,0,0: 50:[48, 2] Operation: 11-9=2 Moving to Node #0,0,0 Current State: 50:[48, 2], Operations: ['89-41=48', '11-9=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 61, 29, 81, 31 ]
80
[ "61-29=32", "81+31=112", "112-32=80" ]
Current State: 80:[61, 29, 81, 31], Operations: [] Exploring Operation: 61-29=32, Resulting Numbers: [81, 31, 32] Generated Node #2: [81, 31, 32] from Operation: 61-29=32 Current State: 80:[81, 31, 32], Operations: ['61-29=32'] Exploring Operation: 81+31=112, Resulting Numbers: [32, 112] Generated Node #3: [32, 112] from Operation: 81+31=112 Current State: 80:[32, 112], Operations: ['61-29=32', '81+31=112'] Exploring Operation: 112-32=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[61, 29, 81, 31], Operations: [] Exploring Operation: 61-29=32, Resulting Numbers: [81, 31, 32] Generated Node #0,0: 80:[81, 31, 32] Operation: 61-29=32 Exploring Operation: 61-31=30, Resulting Numbers: [29, 81, 30] Generated Node #0,1: 80:[29, 81, 30] Operation: 61-31=30 Exploring Operation: 31-29=2, Resulting Numbers: [61, 81, 2] Generated Node #0,2: 80:[61, 81, 2] Operation: 31-29=2 Exploring Operation: 61+29=90, Resulting Numbers: [81, 31, 90] Generated Node #0,3: 80:[81, 31, 90] Operation: 61+29=90 Exploring Operation: 81-61=20, Resulting Numbers: [29, 31, 20] Generated Node #0,4: 80:[29, 31, 20] Operation: 81-61=20 Moving to Node #0,0 Current State: 80:[81, 31, 32], Operations: ['61-29=32'] Exploring Operation: 81-31=50, Resulting Numbers: [32, 50] Generated Node #0,0,0: 80:[32, 50] Operation: 81-31=50 Exploring Operation: 31+32=63, Resulting Numbers: [81, 63] Generated Node #0,0,1: 80:[81, 63] Operation: 31+32=63 Exploring Operation: 81-32=49, Resulting Numbers: [31, 49] Generated Node #0,0,2: 80:[31, 49] Operation: 81-32=49 Exploring Operation: 81+31=112, Resulting Numbers: [32, 112] Generated Node #0,0,3: 80:[32, 112] Operation: 81+31=112 Exploring Operation: 32-31=1, Resulting Numbers: [81, 1] Generated Node #0,0,4: 80:[81, 1] Operation: 32-31=1 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 80:[81, 1], Operations: ['61-29=32', '32-31=1'] Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,80 unequal: No Solution Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[61, 29, 81, 31], Operations: [] Exploring Operation: 61-29=32, Resulting Numbers: [81, 31, 32] Generated Node #0,0: 80:[81, 31, 32] Operation: 61-29=32 Moving to Node #0,0 Current State: 80:[81, 31, 32], Operations: ['61-29=32'] Exploring Operation: 32-31=1, Resulting Numbers: [81, 1] Generated Node #0,0,4: 80:[81, 1] Operation: 32-31=1 Moving to Node #0,0,4 Current State: 80:[81, 1], Operations: ['61-29=32', '32-31=1'] Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 43, 57, 24, 56 ]
28
[ "57-43=14", "56/14=4", "24+4=28" ]
Current State: 28:[43, 57, 24, 56], Operations: [] Exploring Operation: 57-43=14, Resulting Numbers: [24, 56, 14] Generated Node #2: [24, 56, 14] from Operation: 57-43=14 Current State: 28:[24, 56, 14], Operations: ['57-43=14'] Exploring Operation: 56/14=4, Resulting Numbers: [24, 4] Generated Node #3: [24, 4] from Operation: 56/14=4 Current State: 28:[24, 4], Operations: ['57-43=14', '56/14=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[43, 57, 24, 56], Operations: [] Exploring Operation: 57-24=33, Resulting Numbers: [43, 56, 33] Generated Node #0,0: 28:[43, 56, 33] Operation: 57-24=33 Exploring Operation: 56-24=32, Resulting Numbers: [43, 57, 32] Generated Node #0,1: 28:[43, 57, 32] Operation: 56-24=32 Exploring Operation: 57-56=1, Resulting Numbers: [43, 24, 1] Generated Node #0,2: 28:[43, 24, 1] Operation: 57-56=1 Exploring Operation: 56-43=13, Resulting Numbers: [57, 24, 13] Generated Node #0,3: 28:[57, 24, 13] Operation: 56-43=13 Exploring Operation: 57-43=14, Resulting Numbers: [24, 56, 14] Generated Node #0,4: 28:[24, 56, 14] Operation: 57-43=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[43, 24, 1], Operations: ['57-56=1'] Exploring Operation: 43-24=19, Resulting Numbers: [1, 19] Generated Node #0,2,0: 28:[1, 19] Operation: 43-24=19 Exploring Operation: 43*1=43, Resulting Numbers: [24, 43] Generated Node #0,2,1: 28:[24, 43] Operation: 43*1=43 Exploring Operation: 43/1=43, Resulting Numbers: [24, 43] Generated Node #0,2,2: 28:[24, 43] Operation: 43/1=43 Exploring Operation: 43-1=42, Resulting Numbers: [24, 42] Generated Node #0,2,3: 28:[24, 42] Operation: 43-1=42 Exploring Operation: 24+1=25, Resulting Numbers: [43, 25] Generated Node #0,2,4: 28:[43, 25] Operation: 24+1=25 Moving to Node #0,2,0 Current State: 28:[1, 19], Operations: ['57-56=1', '43-24=19'] Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,28 unequal: No Solution Moving to Node #0,2,4 Current State: 28:[43, 25], Operations: ['57-56=1', '24+1=25'] Exploring Operation: 43*25=1075, Resulting Numbers: [1075] 1075,28 unequal: No Solution Exploring Operation: 43+25=68, Resulting Numbers: [68] 68,28 unequal: No Solution Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,28 unequal: No Solution Moving to Node #0,2,3 Current State: 28:[24, 42], Operations: ['57-56=1', '43-1=42'] Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,28 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[24, 43], Operations: ['57-56=1', '43*1=43'] Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 24+43=67, Resulting Numbers: [67] 67,28 unequal: No Solution Exploring Operation: 24*43=1032, Resulting Numbers: [1032] 1032,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[24, 43], Operations: ['57-56=1', '43/1=43'] Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 24*43=1032, Resulting Numbers: [1032] 1032,28 unequal: No Solution Exploring Operation: 24+43=67, Resulting Numbers: [67] 67,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 28:[24, 56, 14], Operations: ['57-43=14'] Exploring Operation: 56-14=42, Resulting Numbers: [24, 42] Generated Node #0,4,0: 28:[24, 42] Operation: 56-14=42 Exploring Operation: 56/14=4, Resulting Numbers: [24, 4] Generated Node #0,4,1: 28:[24, 4] Operation: 56/14=4 Exploring Operation: 24+14=38, Resulting Numbers: [56, 38] Generated Node #0,4,2: 28:[56, 38] Operation: 24+14=38 Exploring Operation: 24-14=10, Resulting Numbers: [56, 10] Generated Node #0,4,3: 28:[56, 10] Operation: 24-14=10 Exploring Operation: 56-24=32, Resulting Numbers: [14, 32] Generated Node #0,4,4: 28:[14, 32] Operation: 56-24=32 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 28:[24, 4], Operations: ['57-43=14', '56/14=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,28 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[43, 57, 24, 56], Operations: [] Exploring Operation: 57-43=14, Resulting Numbers: [24, 56, 14] Generated Node #0,4: 28:[24, 56, 14] Operation: 57-43=14 Moving to Node #0,4 Current State: 28:[24, 56, 14], Operations: ['57-43=14'] Exploring Operation: 56/14=4, Resulting Numbers: [24, 4] Generated Node #0,4,1: 28:[24, 4] Operation: 56/14=4 Moving to Node #0,4,1 Current State: 28:[24, 4], Operations: ['57-43=14', '56/14=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 97, 7, 49, 15 ]
70
[ "97+7=104", "49-15=34", "104-34=70" ]
Current State: 70:[97, 7, 49, 15], Operations: [] Exploring Operation: 97+7=104, Resulting Numbers: [49, 15, 104] Generated Node #2: [49, 15, 104] from Operation: 97+7=104 Current State: 70:[49, 15, 104], Operations: ['97+7=104'] Exploring Operation: 49-15=34, Resulting Numbers: [104, 34] Generated Node #3: [104, 34] from Operation: 49-15=34 Current State: 70:[104, 34], Operations: ['97+7=104', '49-15=34'] Exploring Operation: 104-34=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[97, 7, 49, 15], Operations: [] Exploring Operation: 49/7=7, Resulting Numbers: [97, 15, 7] Generated Node #0,0: 70:[97, 15, 7] Operation: 49/7=7 Exploring Operation: 97-15=82, Resulting Numbers: [7, 49, 82] Generated Node #0,1: 70:[7, 49, 82] Operation: 97-15=82 Exploring Operation: 97-49=48, Resulting Numbers: [7, 15, 48] Generated Node #0,2: 70:[7, 15, 48] Operation: 97-49=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[7, 15, 48], Operations: ['97-49=48'] Exploring Operation: 48-15=33, Resulting Numbers: [7, 33] Generated Node #0,2,0: 70:[7, 33] Operation: 48-15=33 Exploring Operation: 15+48=63, Resulting Numbers: [7, 63] Generated Node #0,2,1: 70:[7, 63] Operation: 15+48=63 Exploring Operation: 48-7=41, Resulting Numbers: [15, 41] Generated Node #0,2,2: 70:[15, 41] Operation: 48-7=41 Moving to Node #0,2,0 Current State: 70:[7, 33], Operations: ['97-49=48', '48-15=33'] Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,70 unequal: No Solution Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,70 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[7, 63], Operations: ['97-49=48', '15+48=63'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,70 unequal: No Solution Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[97, 7, 49, 15], Operations: [] Exploring Operation: 97-49=48, Resulting Numbers: [7, 15, 48] Generated Node #0,2: 70:[7, 15, 48] Operation: 97-49=48 Moving to Node #0,2 Current State: 70:[7, 15, 48], Operations: ['97-49=48'] Exploring Operation: 15+48=63, Resulting Numbers: [7, 63] Generated Node #0,2,1: 70:[7, 63] Operation: 15+48=63 Moving to Node #0,2,1 Current State: 70:[7, 63], Operations: ['97-49=48', '15+48=63'] Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 34, 92, 42, 90 ]
55
[ "92-90=2", "42/2=21", "34+21=55" ]
Current State: 55:[34, 92, 42, 90], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [34, 42, 2] Generated Node #2: [34, 42, 2] from Operation: 92-90=2 Current State: 55:[34, 42, 2], Operations: ['92-90=2'] Exploring Operation: 42/2=21, Resulting Numbers: [34, 21] Generated Node #3: [34, 21] from Operation: 42/2=21 Current State: 55:[34, 21], Operations: ['92-90=2', '42/2=21'] Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[34, 92, 42, 90], Operations: [] Exploring Operation: 90-34=56, Resulting Numbers: [92, 42, 56] Generated Node #0,0: 55:[92, 42, 56] Operation: 90-34=56 Exploring Operation: 92-34=58, Resulting Numbers: [42, 90, 58] Generated Node #0,1: 55:[42, 90, 58] Operation: 92-34=58 Exploring Operation: 92-90=2, Resulting Numbers: [34, 42, 2] Generated Node #0,2: 55:[34, 42, 2] Operation: 92-90=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[34, 42, 2], Operations: ['92-90=2'] Exploring Operation: 34/2=17, Resulting Numbers: [42, 17] Generated Node #0,2,0: 55:[42, 17] Operation: 34/2=17 Exploring Operation: 42-34=8, Resulting Numbers: [2, 8] Generated Node #0,2,1: 55:[2, 8] Operation: 42-34=8 Exploring Operation: 34+42=76, Resulting Numbers: [2, 76] Generated Node #0,2,2: 55:[2, 76] Operation: 34+42=76 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 55:[2, 8], Operations: ['92-90=2', '42-34=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,55 unequal: No Solution No 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: 55:[42, 17], Operations: ['92-90=2', '34/2=17'] Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,55 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,55 unequal: No Solution Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,55 unequal: No Solution No 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: 55:[2, 76], Operations: ['92-90=2', '34+42=76'] Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,55 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,55 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,55 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: 55:[92, 42, 56], Operations: ['90-34=56'] Exploring Operation: 56-42=14, Resulting Numbers: [92, 14] Generated Node #0,0,0: 55:[92, 14] Operation: 56-42=14 Exploring Operation: 92-56=36, Resulting Numbers: [42, 36] Generated Node #0,0,1: 55:[42, 36] Operation: 92-56=36 Exploring Operation: 92-42=50, Resulting Numbers: [56, 50] Generated Node #0,0,2: 55:[56, 50] Operation: 92-42=50 Moving to Node #0,0,2 Current State: 55:[56, 50], Operations: ['90-34=56', '92-42=50'] Exploring Operation: 56*50=2800, Resulting Numbers: [2800] 2800,55 unequal: No Solution Exploring Operation: 56-50=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 56+50=106, Resulting Numbers: [106] 106,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[42, 36], Operations: ['90-34=56', '92-56=36'] Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 42*36=1512, Resulting Numbers: [1512] 1512,55 unequal: No Solution Exploring Operation: 42+36=78, Resulting Numbers: [78] 78,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[92, 14], Operations: ['90-34=56', '56-42=14'] Exploring Operation: 92+14=106, Resulting Numbers: [106] 106,55 unequal: No Solution Exploring Operation: 92*14=1288, Resulting Numbers: [1288] 1288,55 unequal: No Solution Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[42, 90, 58], Operations: ['92-34=58'] Exploring Operation: 58-42=16, Resulting Numbers: [90, 16] Generated Node #0,1,0: 55:[90, 16] Operation: 58-42=16 Exploring Operation: 90-42=48, Resulting Numbers: [58, 48] Generated Node #0,1,1: 55:[58, 48] Operation: 90-42=48 Exploring Operation: 90-58=32, Resulting Numbers: [42, 32] Generated Node #0,1,2: 55:[42, 32] Operation: 90-58=32 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 55:[58, 48], Operations: ['92-34=58', '90-42=48'] Exploring Operation: 58+48=106, Resulting Numbers: [106] 106,55 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 58*48=2784, Resulting Numbers: [2784] 2784,55 unequal: No Solution No 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: 55:[42, 32], Operations: ['92-34=58', '90-58=32'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 42+32=74, Resulting Numbers: [74] 74,55 unequal: No Solution Exploring Operation: 42*32=1344, Resulting Numbers: [1344] 1344,55 unequal: No Solution No 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: 55:[90, 16], Operations: ['92-34=58', '58-42=16'] Exploring Operation: 90*16=1440, Resulting Numbers: [1440] 1440,55 unequal: No Solution Exploring Operation: 90+16=106, Resulting Numbers: [106] 106,55 unequal: No Solution Exploring Operation: 90-16=74, Resulting Numbers: [74] 74,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 12, 44, 50, 20 ]
92
[ "50-44=6", "12*6=72", "20+72=92" ]
Current State: 92:[12, 44, 50, 20], Operations: [] Exploring Operation: 50-44=6, Resulting Numbers: [12, 20, 6] Generated Node #2: [12, 20, 6] from Operation: 50-44=6 Current State: 92:[12, 20, 6], Operations: ['50-44=6'] Exploring Operation: 12*6=72, Resulting Numbers: [20, 72] Generated Node #3: [20, 72] from Operation: 12*6=72 Current State: 92:[20, 72], Operations: ['50-44=6', '12*6=72'] Exploring Operation: 20+72=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[12, 44, 50, 20], Operations: [] Exploring Operation: 44+50=94, Resulting Numbers: [12, 20, 94] Generated Node #0,0: 92:[12, 20, 94] Operation: 44+50=94 Exploring Operation: 44-20=24, Resulting Numbers: [12, 50, 24] Generated Node #0,1: 92:[12, 50, 24] Operation: 44-20=24 Exploring Operation: 50-44=6, Resulting Numbers: [12, 20, 6] Generated Node #0,2: 92:[12, 20, 6] Operation: 50-44=6 Exploring Operation: 20-12=8, Resulting Numbers: [44, 50, 8] Generated Node #0,3: 92:[44, 50, 8] Operation: 20-12=8 Exploring Operation: 50-12=38, Resulting Numbers: [44, 20, 38] Generated Node #0,4: 92:[44, 20, 38] Operation: 50-12=38 Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[44, 50, 8], Operations: ['20-12=8'] Exploring Operation: 50-8=42, Resulting Numbers: [44, 42] Generated Node #0,3,0: 92:[44, 42] Operation: 50-8=42 Exploring Operation: 44+50=94, Resulting Numbers: [8, 94] Generated Node #0,3,1: 92:[8, 94] Operation: 44+50=94 Exploring Operation: 50-44=6, Resulting Numbers: [8, 6] Generated Node #0,3,2: 92:[8, 6] Operation: 50-44=6 Exploring Operation: 44-8=36, Resulting Numbers: [50, 36] Generated Node #0,3,3: 92:[50, 36] Operation: 44-8=36 Exploring Operation: 44+8=52, Resulting Numbers: [50, 52] Generated Node #0,3,4: 92:[50, 52] Operation: 44+8=52 Moving to Node #0,3,0 Current State: 92:[44, 42], Operations: ['20-12=8', '50-8=42'] Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,92 unequal: No Solution Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[8, 6], Operations: ['20-12=8', '50-44=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[8, 94], Operations: ['20-12=8', '44+50=94'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 8+94=102, Resulting Numbers: [102] 102,92 unequal: No Solution Exploring Operation: 8*94=752, Resulting Numbers: [752] 752,92 unequal: No Solution Moving to Node #0,3,4 Current State: 92:[50, 52], Operations: ['20-12=8', '44+8=52'] Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 50+52=102, Resulting Numbers: [102] 102,92 unequal: No Solution Exploring Operation: 50*52=2600, Resulting Numbers: [2600] 2600,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[50, 36], Operations: ['20-12=8', '44-8=36'] Exploring Operation: 50+36=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 50*36=1800, Resulting Numbers: [1800] 1800,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 Current State: 92:[12, 20, 94], Operations: ['44+50=94'] Exploring Operation: 94-20=74, Resulting Numbers: [12, 74] Generated Node #0,0,0: 92:[12, 74] Operation: 94-20=74 Exploring Operation: 12+94=106, Resulting Numbers: [20, 106] Generated Node #0,0,1: 92:[20, 106] Operation: 12+94=106 Exploring Operation: 12+20=32, Resulting Numbers: [94, 32] Generated Node #0,0,2: 92:[94, 32] Operation: 12+20=32 Exploring Operation: 20-12=8, Resulting Numbers: [94, 8] Generated Node #0,0,3: 92:[94, 8] Operation: 20-12=8 Exploring Operation: 94-12=82, Resulting Numbers: [20, 82] Generated Node #0,0,4: 92:[20, 82] Operation: 94-12=82 Moving to Node #0,0,3 Current State: 92:[94, 8], Operations: ['44+50=94', '20-12=8'] Exploring Operation: 94*8=752, Resulting Numbers: [752] 752,92 unequal: No Solution Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 94+8=102, Resulting Numbers: [102] 102,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[94, 32], Operations: ['44+50=94', '12+20=32'] Exploring Operation: 94*32=3008, Resulting Numbers: [3008] 3008,92 unequal: No Solution Exploring Operation: 94+32=126, Resulting Numbers: [126] 126,92 unequal: No Solution Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,92 unequal: No Solution Moving to Node #0,0,4 Current State: 92:[20, 82], Operations: ['44+50=94', '94-12=82'] Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 20+82=102, Resulting Numbers: [102] 102,92 unequal: No Solution Exploring Operation: 20*82=1640, Resulting Numbers: [1640] 1640,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[20, 106], Operations: ['44+50=94', '12+94=106'] Exploring Operation: 106-20=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 20+106=126, Resulting Numbers: [126] 126,92 unequal: No Solution Exploring Operation: 20*106=2120, Resulting Numbers: [2120] 2120,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[12, 74], Operations: ['44+50=94', '94-20=74'] Exploring Operation: 74-12=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 12+74=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 12*74=888, Resulting Numbers: [888] 888,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,1 Current State: 92:[12, 50, 24], Operations: ['44-20=24'] Exploring Operation: 12+24=36, Resulting Numbers: [50, 36] Generated Node #0,1,0: 92:[50, 36] Operation: 12+24=36 Exploring Operation: 24/12=2, Resulting Numbers: [50, 2] Generated Node #0,1,1: 92:[50, 2] Operation: 24/12=2 Exploring Operation: 24-12=12, Resulting Numbers: [50, 12] Generated Node #0,1,2: 92:[50, 12] Operation: 24-12=12 Exploring Operation: 50-24=26, Resulting Numbers: [12, 26] Generated Node #0,1,3: 92:[12, 26] Operation: 50-24=26 Exploring Operation: 50-12=38, Resulting Numbers: [24, 38] Generated Node #0,1,4: 92:[24, 38] Operation: 50-12=38 Moving to Node #0,1,1 Current State: 92:[50, 2], Operations: ['44-20=24', '24/12=2'] Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,92 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,92 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,92 unequal: No Solution Moving to Node #0,1,4 Current State: 92:[24, 38], Operations: ['44-20=24', '50-12=38'] Exploring Operation: 24+38=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 24*38=912, Resulting Numbers: [912] 912,92 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[12, 26], Operations: ['44-20=24', '50-24=26'] Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 12*26=312, Resulting Numbers: [312] 312,92 unequal: No Solution Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[50, 12], Operations: ['44-20=24', '24-12=12'] Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[50, 36], Operations: ['44-20=24', '12+24=36'] Exploring Operation: 50+36=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 50*36=1800, Resulting Numbers: [1800] 1800,92 unequal: No Solution Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,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:[12, 20, 6], Operations: ['50-44=6'] Exploring Operation: 20-12=8, Resulting Numbers: [6, 8] Generated Node #0,2,0: 92:[6, 8] Operation: 20-12=8 Exploring Operation: 12-6=6, Resulting Numbers: [20, 6] Generated Node #0,2,1: 92:[20, 6] Operation: 12-6=6 Exploring Operation: 12/6=2, Resulting Numbers: [20, 2] Generated Node #0,2,2: 92:[20, 2] Operation: 12/6=2 Exploring Operation: 12+6=18, Resulting Numbers: [20, 18] Generated Node #0,2,3: 92:[20, 18] Operation: 12+6=18 Exploring Operation: 12+20=32, Resulting Numbers: [6, 32] Generated Node #0,2,4: 92:[6, 32] Operation: 12+20=32 Moving to Node #0,2,2 Current State: 92:[20, 2], Operations: ['50-44=6', '12/6=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[20, 6], Operations: ['50-44=6', '12-6=6'] Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,92 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[6, 8], Operations: ['50-44=6', '20-12=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,92 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,92 unequal: No Solution Moving to Node #0,2,3 Current State: 92:[20, 18], Operations: ['50-44=6', '12+6=18'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,92 unequal: No Solution Moving to Node #0,2,4 Current State: 92:[6, 32], Operations: ['50-44=6', '12+20=32'] Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,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,4 Current State: 92:[44, 20, 38], Operations: ['50-12=38'] Exploring Operation: 44+38=82, Resulting Numbers: [20, 82] Generated Node #0,4,0: 92:[20, 82] Operation: 44+38=82 Exploring Operation: 44-38=6, Resulting Numbers: [20, 6] Generated Node #0,4,1: 92:[20, 6] Operation: 44-38=6 Exploring Operation: 44-20=24, Resulting Numbers: [38, 24] Generated Node #0,4,2: 92:[38, 24] Operation: 44-20=24 Exploring Operation: 38-20=18, Resulting Numbers: [44, 18] Generated Node #0,4,3: 92:[44, 18] Operation: 38-20=18 Exploring Operation: 20+38=58, Resulting Numbers: [44, 58] Generated Node #0,4,4: 92:[44, 58] Operation: 20+38=58 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 92:[20, 6], Operations: ['50-12=38', '44-38=6'] Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,92 unequal: No Solution Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,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,4,3 Current State: 92:[44, 18], Operations: ['50-12=38', '38-20=18'] Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 44*18=792, Resulting Numbers: [792] 792,92 unequal: No Solution Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,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,4,2 Current State: 92:[38, 24], Operations: ['50-12=38', '44-20=24'] Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,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,4,0 Current State: 92:[20, 82], Operations: ['50-12=38', '44+38=82'] Exploring Operation: 20*82=1640, Resulting Numbers: [1640] 1640,92 unequal: No Solution Exploring Operation: 20+82=102, Resulting Numbers: [102] 102,92 unequal: No Solution Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,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,4,4 Current State: 92:[44, 58], Operations: ['50-12=38', '20+38=58'] Exploring Operation: 44*58=2552, Resulting Numbers: [2552] 2552,92 unequal: No Solution Exploring Operation: 58-44=14, Resulting Numbers: [14] 14,92 unequal: No Solution Exploring Operation: 44+58=102, Resulting Numbers: [102] 102,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_5
sum_heuristic
[ 12, 2, 39, 5 ]
100
[ "39+5=44", "2*44=88", "12+88=100" ]
Current State: 100:[12, 2, 39, 5], Operations: [] Exploring Operation: 39+5=44, Resulting Numbers: [12, 2, 44] Generated Node #2: [12, 2, 44] from Operation: 39+5=44 Current State: 100:[12, 2, 44], Operations: ['39+5=44'] Exploring Operation: 2*44=88, Resulting Numbers: [12, 88] Generated Node #3: [12, 88] from Operation: 2*44=88 Current State: 100:[12, 88], Operations: ['39+5=44', '2*44=88'] Exploring Operation: 12+88=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[12, 2, 39, 5], Operations: [] Exploring Operation: 39-12=27, Resulting Numbers: [2, 5, 27] Generated Node #0,0: 100:[2, 5, 27] Operation: 39-12=27 Exploring Operation: 12+39=51, Resulting Numbers: [2, 5, 51] Generated Node #0,1: 100:[2, 5, 51] Operation: 12+39=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[2, 5, 51], Operations: ['12+39=51'] Exploring Operation: 51-2=49, Resulting Numbers: [5, 49] Generated Node #0,1,0: 100:[5, 49] Operation: 51-2=49 Exploring Operation: 2*5=10, Resulting Numbers: [51, 10] Generated Node #0,1,1: 100:[51, 10] Operation: 2*5=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[5, 49], Operations: ['12+39=51', '51-2=49'] Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 5+49=54, Resulting Numbers: [54] 54,100 unequal: No Solution No 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: 100:[51, 10], Operations: ['12+39=51', '2*5=10'] Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,100 unequal: No Solution Exploring Operation: 51+10=61, Resulting Numbers: [61] 61,100 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: 100:[2, 5, 27], Operations: ['39-12=27'] Exploring Operation: 27-2=25, Resulting Numbers: [5, 25] Generated Node #0,0,0: 100:[5, 25] Operation: 27-2=25 Exploring Operation: 2*5=10, Resulting Numbers: [27, 10] Generated Node #0,0,1: 100:[27, 10] Operation: 2*5=10 Moving to Node #0,0,0 Current State: 100:[5, 25], Operations: ['39-12=27', '27-2=25'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[27, 10], Operations: ['39-12=27', '2*5=10'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 27+10=37, Resulting Numbers: [37] 37,100 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
[ 92, 42, 87, 82 ]
40
[ "92+82=174", "174/87=2", "42-2=40" ]
Current State: 40:[92, 42, 87, 82], Operations: [] Exploring Operation: 92+82=174, Resulting Numbers: [42, 87, 174] Generated Node #2: [42, 87, 174] from Operation: 92+82=174 Current State: 40:[42, 87, 174], Operations: ['92+82=174'] Exploring Operation: 174/87=2, Resulting Numbers: [42, 2] Generated Node #3: [42, 2] from Operation: 174/87=2 Current State: 40:[42, 2], Operations: ['92+82=174', '174/87=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[92, 42, 87, 82], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [92, 42, 5] Generated Node #0,0: 40:[92, 42, 5] Operation: 87-82=5 Exploring Operation: 92-82=10, Resulting Numbers: [42, 87, 10] Generated Node #0,1: 40:[42, 87, 10] Operation: 92-82=10 Exploring Operation: 92-87=5, Resulting Numbers: [42, 82, 5] Generated Node #0,2: 40:[42, 82, 5] Operation: 92-87=5 Exploring Operation: 92-42=50, Resulting Numbers: [87, 82, 50] Generated Node #0,3: 40:[87, 82, 50] Operation: 92-42=50 Exploring Operation: 87-42=45, Resulting Numbers: [92, 82, 45] Generated Node #0,4: 40:[92, 82, 45] Operation: 87-42=45 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[42, 82, 5], Operations: ['92-87=5'] Exploring Operation: 42+5=47, Resulting Numbers: [82, 47] Generated Node #0,2,0: 40:[82, 47] Operation: 42+5=47 Exploring Operation: 82-5=77, Resulting Numbers: [42, 77] Generated Node #0,2,1: 40:[42, 77] Operation: 82-5=77 Exploring Operation: 82+5=87, Resulting Numbers: [42, 87] Generated Node #0,2,2: 40:[42, 87] Operation: 82+5=87 Exploring Operation: 42-5=37, Resulting Numbers: [82, 37] Generated Node #0,2,3: 40:[82, 37] Operation: 42-5=37 Exploring Operation: 82-42=40, Resulting Numbers: [5, 40] Generated Node #0,2,4: 40:[5, 40] Operation: 82-42=40 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 40:[5, 40], Operations: ['92-87=5', '82-42=40'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 5*40=200, Resulting Numbers: [200] 200,40 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 40:[42, 77], Operations: ['92-87=5', '82-5=77'] Exploring Operation: 42+77=119, Resulting Numbers: [119] 119,40 unequal: No Solution Exploring Operation: 77-42=35, Resulting Numbers: [35] 35,40 unequal: No Solution Exploring Operation: 42*77=3234, Resulting Numbers: [3234] 3234,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 40:[82, 37], Operations: ['92-87=5', '42-5=37'] Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 82*37=3034, Resulting Numbers: [3034] 3034,40 unequal: No Solution Exploring Operation: 82+37=119, Resulting Numbers: [119] 119,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 40:[82, 47], Operations: ['92-87=5', '42+5=47'] Exploring Operation: 82*47=3854, Resulting Numbers: [3854] 3854,40 unequal: No Solution Exploring Operation: 82+47=129, Resulting Numbers: [129] 129,40 unequal: No Solution Exploring Operation: 82-47=35, Resulting Numbers: [35] 35,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 40:[42, 87], Operations: ['92-87=5', '82+5=87'] Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 42*87=3654, Resulting Numbers: [3654] 3654,40 unequal: No Solution Exploring Operation: 42+87=129, Resulting Numbers: [129] 129,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[42, 87, 10], Operations: ['92-82=10'] Exploring Operation: 87-42=45, Resulting Numbers: [10, 45] Generated Node #0,1,0: 40:[10, 45] Operation: 87-42=45 Exploring Operation: 87+10=97, Resulting Numbers: [42, 97] Generated Node #0,1,1: 40:[42, 97] Operation: 87+10=97 Exploring Operation: 42+10=52, Resulting Numbers: [87, 52] Generated Node #0,1,2: 40:[87, 52] Operation: 42+10=52 Exploring Operation: 87-10=77, Resulting Numbers: [42, 77] Generated Node #0,1,3: 40:[42, 77] Operation: 87-10=77 Exploring Operation: 42-10=32, Resulting Numbers: [87, 32] Generated Node #0,1,4: 40:[87, 32] Operation: 42-10=32 Moving to Node #0,1,0 Current State: 40:[10, 45], Operations: ['92-82=10', '87-42=45'] Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,40 unequal: No Solution Exploring Operation: 10*45=450, Resulting Numbers: [450] 450,40 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,40 unequal: No Solution Moving to Node #0,1,3 Current State: 40:[42, 77], Operations: ['92-82=10', '87-10=77'] Exploring Operation: 42+77=119, Resulting Numbers: [119] 119,40 unequal: No Solution Exploring Operation: 42*77=3234, Resulting Numbers: [3234] 3234,40 unequal: No Solution Exploring Operation: 77-42=35, Resulting Numbers: [35] 35,40 unequal: No Solution Moving to Node #0,1,4 Current State: 40:[87, 32], Operations: ['92-82=10', '42-10=32'] Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,40 unequal: No Solution Exploring Operation: 87+32=119, Resulting Numbers: [119] 119,40 unequal: No Solution Exploring Operation: 87*32=2784, Resulting Numbers: [2784] 2784,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[42, 97], Operations: ['92-82=10', '87+10=97'] Exploring Operation: 97-42=55, Resulting Numbers: [55] 55,40 unequal: No Solution Exploring Operation: 42*97=4074, Resulting Numbers: [4074] 4074,40 unequal: No Solution Exploring Operation: 42+97=139, Resulting Numbers: [139] 139,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[87, 52], Operations: ['92-82=10', '42+10=52'] Exploring Operation: 87*52=4524, Resulting Numbers: [4524] 4524,40 unequal: No Solution Exploring Operation: 87+52=139, Resulting Numbers: [139] 139,40 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[92, 42, 5], Operations: ['87-82=5'] Exploring Operation: 42-5=37, Resulting Numbers: [92, 37] Generated Node #0,0,0: 40:[92, 37] Operation: 42-5=37 Exploring Operation: 92-5=87, Resulting Numbers: [42, 87] Generated Node #0,0,1: 40:[42, 87] Operation: 92-5=87 Exploring Operation: 42+5=47, Resulting Numbers: [92, 47] Generated Node #0,0,2: 40:[92, 47] Operation: 42+5=47 Exploring Operation: 92-42=50, Resulting Numbers: [5, 50] Generated Node #0,0,3: 40:[5, 50] Operation: 92-42=50 Exploring Operation: 92+5=97, Resulting Numbers: [42, 97] Generated Node #0,0,4: 40:[42, 97] Operation: 92+5=97 Moving to Node #0,0,3 Current State: 40:[5, 50], Operations: ['87-82=5', '92-42=50'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 5+50=55, Resulting Numbers: [55] 55,40 unequal: No Solution Exploring Operation: 5*50=250, Resulting Numbers: [250] 250,40 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[42, 87], Operations: ['87-82=5', '92-5=87'] Exploring Operation: 42+87=129, Resulting Numbers: [129] 129,40 unequal: No Solution Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 42*87=3654, Resulting Numbers: [3654] 3654,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[92, 37], Operations: ['87-82=5', '42-5=37'] Exploring Operation: 92-37=55, Resulting Numbers: [55] 55,40 unequal: No Solution Exploring Operation: 92*37=3404, Resulting Numbers: [3404] 3404,40 unequal: No Solution Exploring Operation: 92+37=129, Resulting Numbers: [129] 129,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[92, 47], Operations: ['87-82=5', '42+5=47'] Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 92*47=4324, Resulting Numbers: [4324] 4324,40 unequal: No Solution Exploring Operation: 92+47=139, Resulting Numbers: [139] 139,40 unequal: No Solution Moving to Node #0,0,4 Current State: 40:[42, 97], Operations: ['87-82=5', '92+5=97'] Exploring Operation: 42+97=139, Resulting Numbers: [139] 139,40 unequal: No Solution Exploring Operation: 42*97=4074, Resulting Numbers: [4074] 4074,40 unequal: No Solution Exploring Operation: 97-42=55, Resulting Numbers: [55] 55,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[87, 82, 50], Operations: ['92-42=50'] Exploring Operation: 87+82=169, Resulting Numbers: [50, 169] Generated Node #0,3,0: 40:[50, 169] Operation: 87+82=169 Exploring Operation: 87-50=37, Resulting Numbers: [82, 37] Generated Node #0,3,1: 40:[82, 37] Operation: 87-50=37 Exploring Operation: 82-50=32, Resulting Numbers: [87, 32] Generated Node #0,3,2: 40:[87, 32] Operation: 82-50=32 Exploring Operation: 87+50=137, Resulting Numbers: [82, 137] Generated Node #0,3,3: 40:[82, 137] Operation: 87+50=137 Exploring Operation: 87-82=5, Resulting Numbers: [50, 5] Generated Node #0,3,4: 40:[50, 5] Operation: 87-82=5 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 40:[50, 5], Operations: ['92-42=50', '87-82=5'] Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,40 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 50*5=250, Resulting Numbers: [250] 250,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 40:[82, 37], Operations: ['92-42=50', '87-50=37'] Exploring Operation: 82*37=3034, Resulting Numbers: [3034] 3034,40 unequal: No Solution Exploring Operation: 82+37=119, Resulting Numbers: [119] 119,40 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 40:[87, 32], Operations: ['92-42=50', '82-50=32'] Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,40 unequal: No Solution Exploring Operation: 87+32=119, Resulting Numbers: [119] 119,40 unequal: No Solution Exploring Operation: 87*32=2784, Resulting Numbers: [2784] 2784,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 40:[50, 169], Operations: ['92-42=50', '87+82=169'] Exploring Operation: 50*169=8450, Resulting Numbers: [8450] 8450,40 unequal: No Solution Exploring Operation: 50+169=219, Resulting Numbers: [219] 219,40 unequal: No Solution Exploring Operation: 169-50=119, Resulting Numbers: [119] 119,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 40:[82, 137], Operations: ['92-42=50', '87+50=137'] Exploring Operation: 82+137=219, Resulting Numbers: [219] 219,40 unequal: No Solution Exploring Operation: 137-82=55, Resulting Numbers: [55] 55,40 unequal: No Solution Exploring Operation: 82*137=11234, Resulting Numbers: [11234] 11234,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 40:[92, 82, 45], Operations: ['87-42=45'] Exploring Operation: 82-45=37, Resulting Numbers: [92, 37] Generated Node #0,4,0: 40:[92, 37] Operation: 82-45=37 Exploring Operation: 92-45=47, Resulting Numbers: [82, 47] Generated Node #0,4,1: 40:[82, 47] Operation: 92-45=47 Exploring Operation: 92+45=137, Resulting Numbers: [82, 137] Generated Node #0,4,2: 40:[82, 137] Operation: 92+45=137 Exploring Operation: 92+82=174, Resulting Numbers: [45, 174] Generated Node #0,4,3: 40:[45, 174] Operation: 92+82=174 Exploring Operation: 92-82=10, Resulting Numbers: [45, 10] Generated Node #0,4,4: 40:[45, 10] Operation: 92-82=10 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 40:[45, 10], Operations: ['87-42=45', '92-82=10'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,40 unequal: No Solution Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,40 unequal: No Solution Exploring Operation: 45*10=450, Resulting Numbers: [450] 450,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 40:[82, 47], Operations: ['87-42=45', '92-45=47'] Exploring Operation: 82*47=3854, Resulting Numbers: [3854] 3854,40 unequal: No Solution Exploring Operation: 82+47=129, Resulting Numbers: [129] 129,40 unequal: No Solution Exploring Operation: 82-47=35, Resulting Numbers: [35] 35,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 40:[92, 37], Operations: ['87-42=45', '82-45=37'] Exploring Operation: 92-37=55, Resulting Numbers: [55] 55,40 unequal: No Solution Exploring Operation: 92+37=129, Resulting Numbers: [129] 129,40 unequal: No Solution Exploring Operation: 92*37=3404, Resulting Numbers: [3404] 3404,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 40:[82, 137], Operations: ['87-42=45', '92+45=137'] Exploring Operation: 137-82=55, Resulting Numbers: [55] 55,40 unequal: No Solution Exploring Operation: 82*137=11234, Resulting Numbers: [11234] 11234,40 unequal: No Solution Exploring Operation: 82+137=219, Resulting Numbers: [219] 219,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 40:[45, 174], Operations: ['87-42=45', '92+82=174'] Exploring Operation: 174-45=129, Resulting Numbers: [129] 129,40 unequal: No Solution Exploring Operation: 45*174=7830, Resulting Numbers: [7830] 7830,40 unequal: No Solution Exploring Operation: 45+174=219, Resulting Numbers: [219] 219,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 69, 36, 18, 44 ]
94
[ "69*36=2484", "2484/18=138", "138-44=94" ]
Current State: 94:[69, 36, 18, 44], Operations: [] Exploring Operation: 69*36=2484, Resulting Numbers: [18, 44, 2484] Generated Node #2: [18, 44, 2484] from Operation: 69*36=2484 Current State: 94:[18, 44, 2484], Operations: ['69*36=2484'] Exploring Operation: 2484/18=138, Resulting Numbers: [44, 138] Generated Node #3: [44, 138] from Operation: 2484/18=138 Current State: 94:[44, 138], Operations: ['69*36=2484', '2484/18=138'] Exploring Operation: 138-44=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[69, 36, 18, 44], Operations: [] Exploring Operation: 36/18=2, Resulting Numbers: [69, 44, 2] Generated Node #0,0: 94:[69, 44, 2] Operation: 36/18=2 Exploring Operation: 69-18=51, Resulting Numbers: [36, 44, 51] Generated Node #0,1: 94:[36, 44, 51] Operation: 69-18=51 Exploring Operation: 69+18=87, Resulting Numbers: [36, 44, 87] Generated Node #0,2: 94:[36, 44, 87] Operation: 69+18=87 Moving to Node #0,1 Current State: 94:[36, 44, 51], Operations: ['69-18=51'] Exploring Operation: 44-36=8, Resulting Numbers: [51, 8] Generated Node #0,1,0: 94:[51, 8] Operation: 44-36=8 Exploring Operation: 44+51=95, Resulting Numbers: [36, 95] Generated Node #0,1,1: 94:[36, 95] Operation: 44+51=95 Exploring Operation: 36+51=87, Resulting Numbers: [44, 87] Generated Node #0,1,2: 94:[44, 87] Operation: 36+51=87 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[51, 8], Operations: ['69-18=51', '44-36=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,94 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,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,1,2 Current State: 94:[44, 87], Operations: ['69-18=51', '36+51=87'] Exploring Operation: 44+87=131, Resulting Numbers: [131] 131,94 unequal: No Solution Exploring Operation: 44*87=3828, Resulting Numbers: [3828] 3828,94 unequal: No Solution Exploring Operation: 87-44=43, Resulting Numbers: [43] 43,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,1,1 Current State: 94:[36, 95], Operations: ['69-18=51', '44+51=95'] Exploring Operation: 36+95=131, Resulting Numbers: [131] 131,94 unequal: No Solution Exploring Operation: 95-36=59, Resulting Numbers: [59] 59,94 unequal: No Solution Exploring Operation: 36*95=3420, Resulting Numbers: [3420] 3420,94 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: 94:[36, 44, 87], Operations: ['69+18=87'] Exploring Operation: 87-44=43, Resulting Numbers: [36, 43] Generated Node #0,2,0: 94:[36, 43] Operation: 87-44=43 Exploring Operation: 44-36=8, Resulting Numbers: [87, 8] Generated Node #0,2,1: 94:[87, 8] Operation: 44-36=8 Exploring Operation: 87-36=51, Resulting Numbers: [44, 51] Generated Node #0,2,2: 94:[44, 51] Operation: 87-36=51 Moving to Node #0,0 Current State: 94:[69, 44, 2], Operations: ['36/18=2'] Exploring Operation: 69-44=25, Resulting Numbers: [2, 25] Generated Node #0,0,0: 94:[2, 25] Operation: 69-44=25 Exploring Operation: 69+44=113, Resulting Numbers: [2, 113] Generated Node #0,0,1: 94:[2, 113] Operation: 69+44=113 Exploring Operation: 69-2=67, Resulting Numbers: [44, 67] Generated Node #0,0,2: 94:[44, 67] Operation: 69-2=67 Moving to Node #0,2,2 Current State: 94:[44, 51], Operations: ['69+18=87', '87-36=51'] Exploring Operation: 44+51=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 44*51=2244, Resulting Numbers: [2244] 2244,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[87, 8], Operations: ['69+18=87', '44-36=8'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 87*8=696, Resulting Numbers: [696] 696,94 unequal: No Solution Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[36, 43], Operations: ['69+18=87', '87-44=43'] Exploring Operation: 36+43=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 36*43=1548, Resulting Numbers: [1548] 1548,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[2, 113], Operations: ['36/18=2', '69+44=113'] Exploring Operation: 2+113=115, Resulting Numbers: [115] 115,94 unequal: No Solution Exploring Operation: 113-2=111, Resulting Numbers: [111] 111,94 unequal: No Solution Exploring Operation: 2*113=226, Resulting Numbers: [226] 226,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[2, 25], Operations: ['36/18=2', '69-44=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,94 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,94 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[44, 67], Operations: ['36/18=2', '69-2=67'] Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 44*67=2948, Resulting Numbers: [2948] 2948,94 unequal: No Solution Exploring Operation: 44+67=111, Resulting Numbers: [111] 111,94 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 39, 7, 11, 47 ]
45
[ "47-39=8", "7*8=56", "56-11=45" ]
Current State: 45:[39, 7, 11, 47], Operations: [] Exploring Operation: 47-39=8, Resulting Numbers: [7, 11, 8] Generated Node #2: [7, 11, 8] from Operation: 47-39=8 Current State: 45:[7, 11, 8], Operations: ['47-39=8'] Exploring Operation: 7*8=56, Resulting Numbers: [11, 56] Generated Node #3: [11, 56] from Operation: 7*8=56 Current State: 45:[11, 56], Operations: ['47-39=8', '7*8=56'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[39, 7, 11, 47], Operations: [] Exploring Operation: 7+11=18, Resulting Numbers: [39, 47, 18] Generated Node #0,0: 45:[39, 47, 18] Operation: 7+11=18 Exploring Operation: 47-39=8, Resulting Numbers: [7, 11, 8] Generated Node #0,1: 45:[7, 11, 8] Operation: 47-39=8 Exploring Operation: 39+7=46, Resulting Numbers: [11, 47, 46] Generated Node #0,2: 45:[11, 47, 46] Operation: 39+7=46 Exploring Operation: 39+11=50, Resulting Numbers: [7, 47, 50] Generated Node #0,3: 45:[7, 47, 50] Operation: 39+11=50 Exploring Operation: 11-7=4, Resulting Numbers: [39, 47, 4] Generated Node #0,4: 45:[39, 47, 4] Operation: 11-7=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[7, 11, 8], Operations: ['47-39=8'] Exploring Operation: 8-7=1, Resulting Numbers: [11, 1] Generated Node #0,1,0: 45:[11, 1] Operation: 8-7=1 Exploring Operation: 7+8=15, Resulting Numbers: [11, 15] Generated Node #0,1,1: 45:[11, 15] Operation: 7+8=15 Exploring Operation: 7+11=18, Resulting Numbers: [8, 18] Generated Node #0,1,2: 45:[8, 18] Operation: 7+11=18 Exploring Operation: 11-8=3, Resulting Numbers: [7, 3] Generated Node #0,1,3: 45:[7, 3] Operation: 11-8=3 Exploring Operation: 11-7=4, Resulting Numbers: [8, 4] Generated Node #0,1,4: 45:[8, 4] Operation: 11-7=4 Moving to Node #0,1,1 Current State: 45:[11, 15], Operations: ['47-39=8', '7+8=15'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,45 unequal: No Solution Moving to Node #0,1,4 Current State: 45:[8, 4], Operations: ['47-39=8', '11-7=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,45 unequal: No Solution Moving to Node #0,1,3 Current State: 45:[7, 3], Operations: ['47-39=8', '11-8=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[11, 1], Operations: ['47-39=8', '8-7=1'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[8, 18], Operations: ['47-39=8', '7+11=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,45 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[11, 47, 46], Operations: ['39+7=46'] Exploring Operation: 11+46=57, Resulting Numbers: [47, 57] Generated Node #0,2,0: 45:[47, 57] Operation: 11+46=57 Exploring Operation: 11+47=58, Resulting Numbers: [46, 58] Generated Node #0,2,1: 45:[46, 58] Operation: 11+47=58 Exploring Operation: 47-11=36, Resulting Numbers: [46, 36] Generated Node #0,2,2: 45:[46, 36] Operation: 47-11=36 Exploring Operation: 47-46=1, Resulting Numbers: [11, 1] Generated Node #0,2,3: 45:[11, 1] Operation: 47-46=1 Exploring Operation: 46-11=35, Resulting Numbers: [47, 35] Generated Node #0,2,4: 45:[47, 35] Operation: 46-11=35 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 45:[11, 1], Operations: ['39+7=46', '47-46=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,45 unequal: No Solution No 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: 45:[46, 36], Operations: ['39+7=46', '47-11=36'] Exploring Operation: 46+36=82, Resulting Numbers: [82] 82,45 unequal: No Solution Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 46*36=1656, Resulting Numbers: [1656] 1656,45 unequal: No Solution No 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: 45:[47, 35], Operations: ['39+7=46', '46-11=35'] Exploring Operation: 47*35=1645, Resulting Numbers: [1645] 1645,45 unequal: No Solution Exploring Operation: 47+35=82, Resulting Numbers: [82] 82,45 unequal: No Solution Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,45 unequal: No Solution No 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: 45:[47, 57], Operations: ['39+7=46', '11+46=57'] Exploring Operation: 47*57=2679, Resulting Numbers: [2679] 2679,45 unequal: No Solution Exploring Operation: 57-47=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 47+57=104, Resulting Numbers: [104] 104,45 unequal: No Solution No 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: 45:[46, 58], Operations: ['39+7=46', '11+47=58'] Exploring Operation: 46*58=2668, Resulting Numbers: [2668] 2668,45 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 46+58=104, Resulting Numbers: [104] 104,45 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: 45:[7, 47, 50], Operations: ['39+11=50'] Exploring Operation: 47-7=40, Resulting Numbers: [50, 40] Generated Node #0,3,0: 45:[50, 40] Operation: 47-7=40 Exploring Operation: 50-47=3, Resulting Numbers: [7, 3] Generated Node #0,3,1: 45:[7, 3] Operation: 50-47=3 Exploring Operation: 7+47=54, Resulting Numbers: [50, 54] Generated Node #0,3,2: 45:[50, 54] Operation: 7+47=54 Exploring Operation: 50-7=43, Resulting Numbers: [47, 43] Generated Node #0,3,3: 45:[47, 43] Operation: 50-7=43 Exploring Operation: 7+50=57, Resulting Numbers: [47, 57] Generated Node #0,3,4: 45:[47, 57] Operation: 7+50=57 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 45:[7, 3], Operations: ['39+11=50', '50-47=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,45 unequal: No Solution No 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: 45:[47, 43], Operations: ['39+11=50', '50-7=43'] Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,45 unequal: No Solution Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,45 unequal: No Solution No 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: 45:[50, 40], Operations: ['39+11=50', '47-7=40'] Exploring Operation: 50+40=90, Resulting Numbers: [90] 90,45 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 50*40=2000, Resulting Numbers: [2000] 2000,45 unequal: No Solution No 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: 45:[50, 54], Operations: ['39+11=50', '7+47=54'] Exploring Operation: 50+54=104, Resulting Numbers: [104] 104,45 unequal: No Solution Exploring Operation: 50*54=2700, Resulting Numbers: [2700] 2700,45 unequal: No Solution Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,45 unequal: No Solution No 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: 45:[47, 57], Operations: ['39+11=50', '7+50=57'] Exploring Operation: 57-47=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 47+57=104, Resulting Numbers: [104] 104,45 unequal: No Solution Exploring Operation: 47*57=2679, Resulting Numbers: [2679] 2679,45 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: 45:[39, 47, 4], Operations: ['11-7=4'] Exploring Operation: 39+4=43, Resulting Numbers: [47, 43] Generated Node #0,4,0: 45:[47, 43] Operation: 39+4=43 Exploring Operation: 39-4=35, Resulting Numbers: [47, 35] Generated Node #0,4,1: 45:[47, 35] Operation: 39-4=35 Exploring Operation: 47-4=43, Resulting Numbers: [39, 43] Generated Node #0,4,2: 45:[39, 43] Operation: 47-4=43 Exploring Operation: 47-39=8, Resulting Numbers: [4, 8] Generated Node #0,4,3: 45:[4, 8] Operation: 47-39=8 Exploring Operation: 47+4=51, Resulting Numbers: [39, 51] Generated Node #0,4,4: 45:[39, 51] Operation: 47+4=51 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 45:[4, 8], Operations: ['11-7=4', '47-39=8'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,45 unequal: No Solution No 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: 45:[47, 43], Operations: ['11-7=4', '39+4=43'] Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,45 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,45 unequal: No Solution No 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: 45:[39, 43], Operations: ['11-7=4', '47-4=43'] Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 39*43=1677, Resulting Numbers: [1677] 1677,45 unequal: No Solution Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,45 unequal: No Solution No 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: 45:[47, 35], Operations: ['11-7=4', '39-4=35'] Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 47+35=82, Resulting Numbers: [82] 82,45 unequal: No Solution Exploring Operation: 47*35=1645, Resulting Numbers: [1645] 1645,45 unequal: No Solution No 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: 45:[39, 51], Operations: ['11-7=4', '47+4=51'] Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 39+51=90, Resulting Numbers: [90] 90,45 unequal: No Solution Exploring Operation: 39*51=1989, Resulting Numbers: [1989] 1989,45 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: 45:[39, 47, 18], Operations: ['7+11=18'] Exploring Operation: 47-39=8, Resulting Numbers: [18, 8] Generated Node #0,0,0: 45:[18, 8] Operation: 47-39=8 Exploring Operation: 39+18=57, Resulting Numbers: [47, 57] Generated Node #0,0,1: 45:[47, 57] Operation: 39+18=57 Exploring Operation: 47-18=29, Resulting Numbers: [39, 29] Generated Node #0,0,2: 45:[39, 29] Operation: 47-18=29 Exploring Operation: 39-18=21, Resulting Numbers: [47, 21] Generated Node #0,0,3: 45:[47, 21] Operation: 39-18=21 Exploring Operation: 47+18=65, Resulting Numbers: [39, 65] Generated Node #0,0,4: 45:[39, 65] Operation: 47+18=65 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[18, 8], Operations: ['7+11=18', '47-39=8'] Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,45 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,45 unequal: No Solution No 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: 45:[47, 21], Operations: ['7+11=18', '39-18=21'] Exploring Operation: 47*21=987, Resulting Numbers: [987] 987,45 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,45 unequal: No Solution No 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: 45:[47, 57], Operations: ['7+11=18', '39+18=57'] Exploring Operation: 47+57=104, Resulting Numbers: [104] 104,45 unequal: No Solution Exploring Operation: 57-47=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 47*57=2679, Resulting Numbers: [2679] 2679,45 unequal: No Solution No 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: 45:[39, 29], Operations: ['7+11=18', '47-18=29'] Exploring Operation: 39*29=1131, Resulting Numbers: [1131] 1131,45 unequal: No Solution Exploring Operation: 39+29=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,45 unequal: No Solution No 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: 45:[39, 65], Operations: ['7+11=18', '47+18=65'] Exploring Operation: 39*65=2535, Resulting Numbers: [2535] 2535,45 unequal: No Solution Exploring Operation: 39+65=104, Resulting Numbers: [104] 104,45 unequal: No Solution Exploring Operation: 65-39=26, Resulting Numbers: [26] 26,45 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
[ 55, 43, 88, 92 ]
82
[ "55+43=98", "88+92=180", "180-98=82" ]
Current State: 82:[55, 43, 88, 92], Operations: [] Exploring Operation: 55+43=98, Resulting Numbers: [88, 92, 98] Generated Node #2: [88, 92, 98] from Operation: 55+43=98 Current State: 82:[88, 92, 98], Operations: ['55+43=98'] Exploring Operation: 88+92=180, Resulting Numbers: [98, 180] Generated Node #3: [98, 180] from Operation: 88+92=180 Current State: 82:[98, 180], Operations: ['55+43=98', '88+92=180'] Exploring Operation: 180-98=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[55, 43, 88, 92], Operations: [] Exploring Operation: 88-55=33, Resulting Numbers: [43, 92, 33] Generated Node #0,0: 82:[43, 92, 33] Operation: 88-55=33 Exploring Operation: 92-55=37, Resulting Numbers: [43, 88, 37] Generated Node #0,1: 82:[43, 88, 37] Operation: 92-55=37 Exploring Operation: 88-43=45, Resulting Numbers: [55, 92, 45] Generated Node #0,2: 82:[55, 92, 45] Operation: 88-43=45 Exploring Operation: 92-88=4, Resulting Numbers: [55, 43, 4] Generated Node #0,3: 82:[55, 43, 4] Operation: 92-88=4 Exploring Operation: 55-43=12, Resulting Numbers: [88, 92, 12] Generated Node #0,4: 82:[88, 92, 12] Operation: 55-43=12 Moving to Node #0,1 Current State: 82:[43, 88, 37], Operations: ['92-55=37'] Exploring Operation: 88-37=51, Resulting Numbers: [43, 51] Generated Node #0,1,0: 82:[43, 51] Operation: 88-37=51 Exploring Operation: 43-37=6, Resulting Numbers: [88, 6] Generated Node #0,1,1: 82:[88, 6] Operation: 43-37=6 Exploring Operation: 88+37=125, Resulting Numbers: [43, 125] Generated Node #0,1,2: 82:[43, 125] Operation: 88+37=125 Exploring Operation: 88-43=45, Resulting Numbers: [37, 45] Generated Node #0,1,3: 82:[37, 45] Operation: 88-43=45 Exploring Operation: 43+37=80, Resulting Numbers: [88, 80] Generated Node #0,1,4: 82:[88, 80] Operation: 43+37=80 Moving to Node #0,3 Current State: 82:[55, 43, 4], Operations: ['92-88=4'] Exploring Operation: 55-4=51, Resulting Numbers: [43, 51] Generated Node #0,3,0: 82:[43, 51] Operation: 55-4=51 Exploring Operation: 55-43=12, Resulting Numbers: [4, 12] Generated Node #0,3,1: 82:[4, 12] Operation: 55-43=12 Exploring Operation: 43-4=39, Resulting Numbers: [55, 39] Generated Node #0,3,2: 82:[55, 39] Operation: 43-4=39 Exploring Operation: 55+43=98, Resulting Numbers: [4, 98] Generated Node #0,3,3: 82:[4, 98] Operation: 55+43=98 Exploring Operation: 55+4=59, Resulting Numbers: [43, 59] Generated Node #0,3,4: 82:[43, 59] Operation: 55+4=59 Moving to Node #0,0 Current State: 82:[43, 92, 33], Operations: ['88-55=33'] Exploring Operation: 43-33=10, Resulting Numbers: [92, 10] Generated Node #0,0,0: 82:[92, 10] Operation: 43-33=10 Exploring Operation: 92-33=59, Resulting Numbers: [43, 59] Generated Node #0,0,1: 82:[43, 59] Operation: 92-33=59 Exploring Operation: 92-43=49, Resulting Numbers: [33, 49] Generated Node #0,0,2: 82:[33, 49] Operation: 92-43=49 Exploring Operation: 92+33=125, Resulting Numbers: [43, 125] Generated Node #0,0,3: 82:[43, 125] Operation: 92+33=125 Exploring Operation: 43+33=76, Resulting Numbers: [92, 76] Generated Node #0,0,4: 82:[92, 76] Operation: 43+33=76 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 82:[33, 49], Operations: ['88-55=33', '92-43=49'] Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 33*49=1617, Resulting Numbers: [1617] 1617,82 unequal: No Solution Exploring Operation: 33+49=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[55, 43, 88, 92], Operations: [] Exploring Operation: 88-55=33, Resulting Numbers: [43, 92, 33] Generated Node #0,0: 82:[43, 92, 33] Operation: 88-55=33 Moving to Node #0,0 Current State: 82:[43, 92, 33], Operations: ['88-55=33'] Exploring Operation: 92-43=49, Resulting Numbers: [33, 49] Generated Node #0,0,2: 82:[33, 49] Operation: 92-43=49 Moving to Node #0,0,2 Current State: 82:[33, 49], Operations: ['88-55=33', '92-43=49'] Exploring Operation: 33+49=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 32, 14, 97, 74 ]
23
[ "32+14=46", "97-74=23", "46-23=23" ]
Current State: 23:[32, 14, 97, 74], Operations: [] Exploring Operation: 32+14=46, Resulting Numbers: [97, 74, 46] Generated Node #2: [97, 74, 46] from Operation: 32+14=46 Current State: 23:[97, 74, 46], Operations: ['32+14=46'] Exploring Operation: 97-74=23, Resulting Numbers: [46, 23] Generated Node #3: [46, 23] from Operation: 97-74=23 Current State: 23:[46, 23], Operations: ['32+14=46', '97-74=23'] Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[32, 14, 97, 74], Operations: [] Exploring Operation: 74-14=60, Resulting Numbers: [32, 97, 60] Generated Node #0,0: 23:[32, 97, 60] Operation: 74-14=60 Exploring Operation: 74-32=42, Resulting Numbers: [14, 97, 42] Generated Node #0,1: 23:[14, 97, 42] Operation: 74-32=42 Exploring Operation: 97-74=23, Resulting Numbers: [32, 14, 23] Generated Node #0,2: 23:[32, 14, 23] Operation: 97-74=23 Exploring Operation: 97-14=83, Resulting Numbers: [32, 74, 83] Generated Node #0,3: 23:[32, 74, 83] Operation: 97-14=83 Exploring Operation: 97-32=65, Resulting Numbers: [14, 74, 65] Generated Node #0,4: 23:[14, 74, 65] Operation: 97-32=65 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[32, 14, 23], Operations: ['97-74=23'] Exploring Operation: 32-14=18, Resulting Numbers: [23, 18] Generated Node #0,2,0: 23:[23, 18] Operation: 32-14=18 Exploring Operation: 32-23=9, Resulting Numbers: [14, 9] Generated Node #0,2,1: 23:[14, 9] Operation: 32-23=9 Exploring Operation: 14+23=37, Resulting Numbers: [32, 37] Generated Node #0,2,2: 23:[32, 37] Operation: 14+23=37 Exploring Operation: 32+14=46, Resulting Numbers: [23, 46] Generated Node #0,2,3: 23:[23, 46] Operation: 32+14=46 Exploring Operation: 23-14=9, Resulting Numbers: [32, 9] Generated Node #0,2,4: 23:[32, 9] Operation: 23-14=9 Moving to Node #0,2,0 Current State: 23:[23, 18], Operations: ['97-74=23', '32-14=18'] Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[32, 37], Operations: ['97-74=23', '14+23=37'] Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,23 unequal: No Solution Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,23 unequal: No Solution Moving to Node #0,2,4 Current State: 23:[32, 9], Operations: ['97-74=23', '23-14=9'] Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[32, 14, 97, 74], Operations: [] Exploring Operation: 97-74=23, Resulting Numbers: [32, 14, 23] Generated Node #0,2: 23:[32, 14, 23] Operation: 97-74=23 Moving to Node #0,2 Current State: 23:[32, 14, 23], Operations: ['97-74=23'] Exploring Operation: 23-14=9, Resulting Numbers: [32, 9] Generated Node #0,2,4: 23:[32, 9] Operation: 23-14=9 Moving to Node #0,2,4 Current State: 23:[32, 9], Operations: ['97-74=23', '23-14=9'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 26, 58, 31, 2 ]
24
[ "31-26=5", "58/2=29", "29-5=24" ]
Current State: 24:[26, 58, 31, 2], Operations: [] Exploring Operation: 31-26=5, Resulting Numbers: [58, 2, 5] Generated Node #2: [58, 2, 5] from Operation: 31-26=5 Current State: 24:[58, 2, 5], Operations: ['31-26=5'] Exploring Operation: 58/2=29, Resulting Numbers: [5, 29] Generated Node #3: [5, 29] from Operation: 58/2=29 Current State: 24:[5, 29], Operations: ['31-26=5', '58/2=29'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[26, 58, 31, 2], Operations: [] Exploring Operation: 26-2=24, Resulting Numbers: [58, 31, 24] Generated Node #0,0: 24:[58, 31, 24] Operation: 26-2=24 Exploring Operation: 58-31=27, Resulting Numbers: [26, 2, 27] Generated Node #0,1: 24:[26, 2, 27] Operation: 58-31=27 Exploring Operation: 58/2=29, Resulting Numbers: [26, 31, 29] Generated Node #0,2: 24:[26, 31, 29] Operation: 58/2=29 Exploring Operation: 31-26=5, Resulting Numbers: [58, 2, 5] Generated Node #0,3: 24:[58, 2, 5] Operation: 31-26=5 Exploring Operation: 58-26=32, Resulting Numbers: [31, 2, 32] Generated Node #0,4: 24:[31, 2, 32] Operation: 58-26=32 Moving to Node #0,1 Current State: 24:[26, 2, 27], Operations: ['58-31=27'] Exploring Operation: 27-2=25, Resulting Numbers: [26, 25] Generated Node #0,1,0: 24:[26, 25] Operation: 27-2=25 Exploring Operation: 26-2=24, Resulting Numbers: [27, 24] Generated Node #0,1,1: 24:[27, 24] Operation: 26-2=24 Exploring Operation: 26/2=13, Resulting Numbers: [27, 13] Generated Node #0,1,2: 24:[27, 13] Operation: 26/2=13 Exploring Operation: 26+2=28, Resulting Numbers: [27, 28] Generated Node #0,1,3: 24:[27, 28] Operation: 26+2=28 Exploring Operation: 27-26=1, Resulting Numbers: [2, 1] Generated Node #0,1,4: 24:[2, 1] Operation: 27-26=1 Moving to Node #0,2 Current State: 24:[26, 31, 29], Operations: ['58/2=29'] Exploring Operation: 31-29=2, Resulting Numbers: [26, 2] Generated Node #0,2,0: 24:[26, 2] Operation: 31-29=2 Exploring Operation: 26+29=55, Resulting Numbers: [31, 55] Generated Node #0,2,1: 24:[31, 55] Operation: 26+29=55 Exploring Operation: 26+31=57, Resulting Numbers: [29, 57] Generated Node #0,2,2: 24:[29, 57] Operation: 26+31=57 Exploring Operation: 29-26=3, Resulting Numbers: [31, 3] Generated Node #0,2,3: 24:[31, 3] Operation: 29-26=3 Exploring Operation: 31-26=5, Resulting Numbers: [29, 5] Generated Node #0,2,4: 24:[29, 5] Operation: 31-26=5 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[26, 2], Operations: ['58/2=29', '31-29=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[26, 58, 31, 2], Operations: [] Exploring Operation: 58/2=29, Resulting Numbers: [26, 31, 29] Generated Node #0,2: 24:[26, 31, 29] Operation: 58/2=29 Moving to Node #0,2 Current State: 24:[26, 31, 29], Operations: ['58/2=29'] Exploring Operation: 31-29=2, Resulting Numbers: [26, 2] Generated Node #0,2,0: 24:[26, 2] Operation: 31-29=2 Moving to Node #0,2,0 Current State: 24:[26, 2], Operations: ['58/2=29', '31-29=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 8, 37, 89, 56 ]
63
[ "56-37=19", "8*19=152", "152-89=63" ]
Current State: 63:[8, 37, 89, 56], Operations: [] Exploring Operation: 56-37=19, Resulting Numbers: [8, 89, 19] Generated Node #2: [8, 89, 19] from Operation: 56-37=19 Current State: 63:[8, 89, 19], Operations: ['56-37=19'] Exploring Operation: 8*19=152, Resulting Numbers: [89, 152] Generated Node #3: [89, 152] from Operation: 8*19=152 Current State: 63:[89, 152], Operations: ['56-37=19', '8*19=152'] Exploring Operation: 152-89=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[8, 37, 89, 56], Operations: [] Exploring Operation: 56-37=19, Resulting Numbers: [8, 89, 19] Generated Node #0,0: 63:[8, 89, 19] Operation: 56-37=19 Exploring Operation: 37-8=29, Resulting Numbers: [89, 56, 29] Generated Node #0,1: 63:[89, 56, 29] Operation: 37-8=29 Exploring Operation: 89-37=52, Resulting Numbers: [8, 56, 52] Generated Node #0,2: 63:[8, 56, 52] Operation: 89-37=52 Exploring Operation: 89-56=33, Resulting Numbers: [8, 37, 33] Generated Node #0,3: 63:[8, 37, 33] Operation: 89-56=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[8, 56, 52], Operations: ['89-37=52'] Exploring Operation: 8+56=64, Resulting Numbers: [52, 64] Generated Node #0,2,0: 63:[52, 64] Operation: 8+56=64 Exploring Operation: 56-52=4, Resulting Numbers: [8, 4] Generated Node #0,2,1: 63:[8, 4] Operation: 56-52=4 Exploring Operation: 56/8=7, Resulting Numbers: [52, 7] Generated Node #0,2,2: 63:[52, 7] Operation: 56/8=7 Exploring Operation: 8+52=60, Resulting Numbers: [56, 60] Generated Node #0,2,3: 63:[56, 60] Operation: 8+52=60 Moving to Node #0,2,1 Current State: 63:[8, 4], Operations: ['89-37=52', '56-52=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[56, 60], Operations: ['89-37=52', '8+52=60'] Exploring Operation: 56+60=116, Resulting Numbers: [116] 116,63 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 56*60=3360, Resulting Numbers: [3360] 3360,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[52, 7], Operations: ['89-37=52', '56/8=7'] Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,63 unequal: No Solution Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,63 unequal: No Solution Exploring Operation: 52*7=364, Resulting Numbers: [364] 364,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[52, 64], Operations: ['89-37=52', '8+56=64'] Exploring Operation: 52+64=116, Resulting Numbers: [116] 116,63 unequal: No Solution Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 52*64=3328, Resulting Numbers: [3328] 3328,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[8, 89, 19], Operations: ['56-37=19'] Exploring Operation: 89-19=70, Resulting Numbers: [8, 70] Generated Node #0,0,0: 63:[8, 70] Operation: 89-19=70 Exploring Operation: 19-8=11, Resulting Numbers: [89, 11] Generated Node #0,0,1: 63:[89, 11] Operation: 19-8=11 Exploring Operation: 89-8=81, Resulting Numbers: [19, 81] Generated Node #0,0,2: 63:[19, 81] Operation: 89-8=81 Exploring Operation: 8+19=27, Resulting Numbers: [89, 27] Generated Node #0,0,3: 63:[89, 27] Operation: 8+19=27 Moving to Node #0,0,0 Current State: 63:[8, 70], Operations: ['56-37=19', '89-19=70'] Exploring Operation: 8+70=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 8*70=560, Resulting Numbers: [560] 560,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[19, 81], Operations: ['56-37=19', '89-8=81'] Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 19*81=1539, Resulting Numbers: [1539] 1539,63 unequal: No Solution Exploring Operation: 19+81=100, Resulting Numbers: [100] 100,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[89, 11], Operations: ['56-37=19', '19-8=11'] Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 89+11=100, Resulting Numbers: [100] 100,63 unequal: No Solution Exploring Operation: 89*11=979, Resulting Numbers: [979] 979,63 unequal: No Solution Moving to Node #0,0,3 Current State: 63:[89, 27], Operations: ['56-37=19', '8+19=27'] Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 89+27=116, Resulting Numbers: [116] 116,63 unequal: No Solution Exploring Operation: 89*27=2403, Resulting Numbers: [2403] 2403,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:[8, 37, 33], Operations: ['89-56=33'] Exploring Operation: 37-33=4, Resulting Numbers: [8, 4] Generated Node #0,3,0: 63:[8, 4] Operation: 37-33=4 Exploring Operation: 33-8=25, Resulting Numbers: [37, 25] Generated Node #0,3,1: 63:[37, 25] Operation: 33-8=25 Exploring Operation: 37-8=29, Resulting Numbers: [33, 29] Generated Node #0,3,2: 63:[33, 29] Operation: 37-8=29 Exploring Operation: 37+33=70, Resulting Numbers: [8, 70] Generated Node #0,3,3: 63:[8, 70] Operation: 37+33=70 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 63:[8, 4], Operations: ['89-56=33', '37-33=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,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,3,3 Current State: 63:[8, 70], Operations: ['89-56=33', '37+33=70'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 8*70=560, Resulting Numbers: [560] 560,63 unequal: No Solution Exploring Operation: 8+70=78, Resulting Numbers: [78] 78,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,3,1 Current State: 63:[37, 25], Operations: ['89-56=33', '33-8=25'] Exploring Operation: 37*25=925, Resulting Numbers: [925] 925,63 unequal: No Solution Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,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,3,2 Current State: 63:[33, 29], Operations: ['89-56=33', '37-8=29'] Exploring Operation: 33*29=957, Resulting Numbers: [957] 957,63 unequal: No Solution Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,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,1 Current State: 63:[89, 56, 29], Operations: ['37-8=29'] Exploring Operation: 56+29=85, Resulting Numbers: [89, 85] Generated Node #0,1,0: 63:[89, 85] Operation: 56+29=85 Exploring Operation: 89-29=60, Resulting Numbers: [56, 60] Generated Node #0,1,1: 63:[56, 60] Operation: 89-29=60 Exploring Operation: 89-56=33, Resulting Numbers: [29, 33] Generated Node #0,1,2: 63:[29, 33] Operation: 89-56=33 Exploring Operation: 56-29=27, Resulting Numbers: [89, 27] Generated Node #0,1,3: 63:[89, 27] Operation: 56-29=27 Moving to Node #0,1,1 Current State: 63:[56, 60], Operations: ['37-8=29', '89-29=60'] Exploring Operation: 56+60=116, Resulting Numbers: [116] 116,63 unequal: No Solution Exploring Operation: 56*60=3360, Resulting Numbers: [3360] 3360,63 unequal: No Solution Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[29, 33], Operations: ['37-8=29', '89-56=33'] Exploring Operation: 29*33=957, Resulting Numbers: [957] 957,63 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,63 unequal: No Solution Moving to Node #0,1,3 Current State: 63:[89, 27], Operations: ['37-8=29', '56-29=27'] Exploring Operation: 89+27=116, Resulting Numbers: [116] 116,63 unequal: No Solution Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 89*27=2403, Resulting Numbers: [2403] 2403,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[89, 85], Operations: ['37-8=29', '56+29=85'] Exploring Operation: 89*85=7565, Resulting Numbers: [7565] 7565,63 unequal: No Solution Exploring Operation: 89+85=174, Resulting Numbers: [174] 174,63 unequal: No Solution Exploring Operation: 89-85=4, Resulting Numbers: [4] 4,63 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
[ 42, 18, 50, 3 ]
71
[ "42-18=24", "50-3=47", "24+47=71" ]
Current State: 71:[42, 18, 50, 3], Operations: [] Exploring Operation: 42-18=24, Resulting Numbers: [50, 3, 24] Generated Node #2: [50, 3, 24] from Operation: 42-18=24 Current State: 71:[50, 3, 24], Operations: ['42-18=24'] Exploring Operation: 50-3=47, Resulting Numbers: [24, 47] Generated Node #3: [24, 47] from Operation: 50-3=47 Current State: 71:[24, 47], Operations: ['42-18=24', '50-3=47'] Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[42, 18, 50, 3], Operations: [] Exploring Operation: 42+3=45, Resulting Numbers: [18, 50, 45] Generated Node #0,0: 71:[18, 50, 45] Operation: 42+3=45 Exploring Operation: 18*3=54, Resulting Numbers: [42, 50, 54] Generated Node #0,1: 71:[42, 50, 54] Operation: 18*3=54 Exploring Operation: 42+18=60, Resulting Numbers: [50, 3, 60] Generated Node #0,2: 71:[50, 3, 60] Operation: 42+18=60 Moving to Node #0,1 Current State: 71:[42, 50, 54], Operations: ['18*3=54'] Exploring Operation: 50+54=104, Resulting Numbers: [42, 104] Generated Node #0,1,0: 71:[42, 104] Operation: 50+54=104 Exploring Operation: 42+54=96, Resulting Numbers: [50, 96] Generated Node #0,1,1: 71:[50, 96] Operation: 42+54=96 Exploring Operation: 42+50=92, Resulting Numbers: [54, 92] Generated Node #0,1,2: 71:[54, 92] Operation: 42+50=92 Moving to Node #0,0 Current State: 71:[18, 50, 45], Operations: ['42+3=45'] Exploring Operation: 18+50=68, Resulting Numbers: [45, 68] Generated Node #0,0,0: 71:[45, 68] Operation: 18+50=68 Exploring Operation: 18+45=63, Resulting Numbers: [50, 63] Generated Node #0,0,1: 71:[50, 63] Operation: 18+45=63 Exploring Operation: 50-18=32, Resulting Numbers: [45, 32] Generated Node #0,0,2: 71:[45, 32] Operation: 50-18=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[45, 68], Operations: ['42+3=45', '18+50=68'] Exploring Operation: 45*68=3060, Resulting Numbers: [3060] 3060,71 unequal: No Solution Exploring Operation: 45+68=113, Resulting Numbers: [113] 113,71 unequal: No Solution Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,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,1 Current State: 71:[50, 63], Operations: ['42+3=45', '18+45=63'] Exploring Operation: 50*63=3150, Resulting Numbers: [3150] 3150,71 unequal: No Solution Exploring Operation: 50+63=113, Resulting Numbers: [113] 113,71 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,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,2 Current State: 71:[45, 32], Operations: ['42+3=45', '50-18=32'] Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 45+32=77, Resulting Numbers: [77] 77,71 unequal: No Solution Exploring Operation: 45*32=1440, Resulting Numbers: [1440] 1440,71 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: 71:[50, 3, 60], Operations: ['42+18=60'] Exploring Operation: 3+60=63, Resulting Numbers: [50, 63] Generated Node #0,2,0: 71:[50, 63] Operation: 3+60=63 Exploring Operation: 50+3=53, Resulting Numbers: [60, 53] Generated Node #0,2,1: 71:[60, 53] Operation: 50+3=53 Exploring Operation: 50-3=47, Resulting Numbers: [60, 47] Generated Node #0,2,2: 71:[60, 47] Operation: 50-3=47 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 71:[50, 63], Operations: ['42+18=60', '3+60=63'] Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 50+63=113, Resulting Numbers: [113] 113,71 unequal: No Solution Exploring Operation: 50*63=3150, Resulting Numbers: [3150] 3150,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 71:[60, 53], Operations: ['42+18=60', '50+3=53'] Exploring Operation: 60-53=7, Resulting Numbers: [7] 7,71 unequal: No Solution Exploring Operation: 60*53=3180, Resulting Numbers: [3180] 3180,71 unequal: No Solution Exploring Operation: 60+53=113, Resulting Numbers: [113] 113,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,2 Current State: 71:[60, 47], Operations: ['42+18=60', '50-3=47'] Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 60+47=107, Resulting Numbers: [107] 107,71 unequal: No Solution Exploring Operation: 60*47=2820, Resulting Numbers: [2820] 2820,71 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: 71:[54, 92], Operations: ['18*3=54', '42+50=92'] Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,71 unequal: No Solution Exploring Operation: 54*92=4968, Resulting Numbers: [4968] 4968,71 unequal: No Solution Exploring Operation: 54+92=146, Resulting Numbers: [146] 146,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[50, 96], Operations: ['18*3=54', '42+54=96'] Exploring Operation: 50+96=146, Resulting Numbers: [146] 146,71 unequal: No Solution Exploring Operation: 96-50=46, Resulting Numbers: [46] 46,71 unequal: No Solution Exploring Operation: 50*96=4800, Resulting Numbers: [4800] 4800,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[42, 104], Operations: ['18*3=54', '50+54=104'] Exploring Operation: 104-42=62, Resulting Numbers: [62] 62,71 unequal: No Solution Exploring Operation: 42+104=146, Resulting Numbers: [146] 146,71 unequal: No Solution Exploring Operation: 42*104=4368, Resulting Numbers: [4368] 4368,71 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 54, 92, 6, 87 ]
14
[ "54/6=9", "92-87=5", "9+5=14" ]
Current State: 14:[54, 92, 6, 87], Operations: [] Exploring Operation: 54/6=9, Resulting Numbers: [92, 87, 9] Generated Node #2: [92, 87, 9] from Operation: 54/6=9 Current State: 14:[92, 87, 9], Operations: ['54/6=9'] Exploring Operation: 92-87=5, Resulting Numbers: [9, 5] Generated Node #3: [9, 5] from Operation: 92-87=5 Current State: 14:[9, 5], Operations: ['54/6=9', '92-87=5'] Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[54, 92, 6, 87], Operations: [] Exploring Operation: 92-54=38, Resulting Numbers: [6, 87, 38] Generated Node #0,0: 14:[6, 87, 38] Operation: 92-54=38 Exploring Operation: 92-87=5, Resulting Numbers: [54, 6, 5] Generated Node #0,1: 14:[54, 6, 5] Operation: 92-87=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[54, 6, 5], Operations: ['92-87=5'] Exploring Operation: 54-6=48, Resulting Numbers: [5, 48] Generated Node #0,1,0: 14:[5, 48] Operation: 54-6=48 Exploring Operation: 54/6=9, Resulting Numbers: [5, 9] Generated Node #0,1,1: 14:[5, 9] Operation: 54/6=9 Moving to Node #0,1,1 Current State: 14:[5, 9], Operations: ['92-87=5', '54/6=9'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[54, 92, 6, 87], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [54, 6, 5] Generated Node #0,1: 14:[54, 6, 5] Operation: 92-87=5 Moving to Node #0,1 Current State: 14:[54, 6, 5], Operations: ['92-87=5'] Exploring Operation: 54/6=9, Resulting Numbers: [5, 9] Generated Node #0,1,1: 14:[5, 9] Operation: 54/6=9 Moving to Node #0,1,1 Current State: 14:[5, 9], Operations: ['92-87=5', '54/6=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 74, 76, 71, 35 ]
38
[ "76-74=2", "71-35=36", "2+36=38" ]
Current State: 38:[74, 76, 71, 35], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [71, 35, 2] Generated Node #2: [71, 35, 2] from Operation: 76-74=2 Current State: 38:[71, 35, 2], Operations: ['76-74=2'] Exploring Operation: 71-35=36, Resulting Numbers: [2, 36] Generated Node #3: [2, 36] from Operation: 71-35=36 Current State: 38:[2, 36], Operations: ['76-74=2', '71-35=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[74, 76, 71, 35], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [71, 35, 2] Generated Node #0,0: 38:[71, 35, 2] Operation: 76-74=2 Exploring Operation: 74-71=3, Resulting Numbers: [76, 35, 3] Generated Node #0,1: 38:[76, 35, 3] Operation: 74-71=3 Moving to Node #0,0 Current State: 38:[71, 35, 2], Operations: ['76-74=2'] Exploring Operation: 71-35=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 38:[2, 36] Operation: 71-35=36 Exploring Operation: 71-2=69, Resulting Numbers: [35, 69] Generated Node #0,0,1: 38:[35, 69] Operation: 71-2=69 Moving to Node #0,1 Current State: 38:[76, 35, 3], Operations: ['74-71=3'] Exploring Operation: 76-3=73, Resulting Numbers: [35, 73] Generated Node #0,1,0: 38:[35, 73] Operation: 76-3=73 Exploring Operation: 76-35=41, Resulting Numbers: [3, 41] Generated Node #0,1,1: 38:[3, 41] Operation: 76-35=41 Moving to Node #0,0,0 Current State: 38:[2, 36], Operations: ['76-74=2', '71-35=36'] Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[74, 76, 71, 35], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [71, 35, 2] Generated Node #0,0: 38:[71, 35, 2] Operation: 76-74=2 Moving to Node #0,0 Current State: 38:[71, 35, 2], Operations: ['76-74=2'] Exploring Operation: 71-35=36, Resulting Numbers: [2, 36] Generated Node #0,0,0: 38:[2, 36] Operation: 71-35=36 Moving to Node #0,0,0 Current State: 38:[2, 36], Operations: ['76-74=2', '71-35=36'] Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 15, 15, 20, 53 ]
33
[ "15-15=0", "53-20=33", "0+33=33" ]
Current State: 33:[15, 15, 20, 53], Operations: [] Exploring Operation: 15-15=0, Resulting Numbers: [20, 53, 0] Generated Node #2: [20, 53, 0] from Operation: 15-15=0 Current State: 33:[20, 53, 0], Operations: ['15-15=0'] Exploring Operation: 53-20=33, Resulting Numbers: [0, 33] Generated Node #3: [0, 33] from Operation: 53-20=33 Current State: 33:[0, 33], Operations: ['15-15=0', '53-20=33'] Exploring Operation: 0+33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[15, 15, 20, 53], Operations: [] Exploring Operation: 53-15=38, Resulting Numbers: [15, 20, 38] Generated Node #0,0: 33:[15, 20, 38] Operation: 53-15=38 Exploring Operation: 15+20=35, Resulting Numbers: [15, 53, 35] Generated Node #0,1: 33:[15, 53, 35] Operation: 15+20=35 Exploring Operation: 20-15=5, Resulting Numbers: [15, 53, 5] Generated Node #0,2: 33:[15, 53, 5] Operation: 20-15=5 Exploring Operation: 53-20=33, Resulting Numbers: [15, 15, 33] Generated Node #0,3: 33:[15, 15, 33] Operation: 53-20=33 Exploring Operation: 53-15=38, Resulting Numbers: [15, 20, 38] Generated Node #0,4: 33:[15, 20, 38] Operation: 53-15=38 Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[15, 15, 33], Operations: ['53-20=33'] Exploring Operation: 15-15=0, Resulting Numbers: [33, 0] Generated Node #0,3,0: 33:[33, 0] Operation: 15-15=0 Exploring Operation: 33-15=18, Resulting Numbers: [15, 18] Generated Node #0,3,1: 33:[15, 18] Operation: 33-15=18 Exploring Operation: 15+15=30, Resulting Numbers: [33, 30] Generated Node #0,3,2: 33:[33, 30] Operation: 15+15=30 Exploring Operation: 15/15=1, Resulting Numbers: [33, 1] Generated Node #0,3,3: 33:[33, 1] Operation: 15/15=1 Exploring Operation: 33-15=18, Resulting Numbers: [15, 18] Generated Node #0,3,4: 33:[15, 18] Operation: 33-15=18 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 33:[33, 1], Operations: ['53-20=33', '15/15=1'] Exploring Operation: 33*1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[15, 15, 20, 53], Operations: [] Exploring Operation: 53-20=33, Resulting Numbers: [15, 15, 33] Generated Node #0,3: 33:[15, 15, 33] Operation: 53-20=33 Moving to Node #0,3 Current State: 33:[15, 15, 33], Operations: ['53-20=33'] Exploring Operation: 15/15=1, Resulting Numbers: [33, 1] Generated Node #0,3,3: 33:[33, 1] Operation: 15/15=1 Moving to Node #0,3,3 Current State: 33:[33, 1], Operations: ['53-20=33', '15/15=1'] Exploring Operation: 33*1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 34, 50, 70, 52 ]
67
[ "50+52=102", "102/34=3", "70-3=67" ]
Current State: 67:[34, 50, 70, 52], Operations: [] Exploring Operation: 50+52=102, Resulting Numbers: [34, 70, 102] Generated Node #2: [34, 70, 102] from Operation: 50+52=102 Current State: 67:[34, 70, 102], Operations: ['50+52=102'] Exploring Operation: 102/34=3, Resulting Numbers: [70, 3] Generated Node #3: [70, 3] from Operation: 102/34=3 Current State: 67:[70, 3], Operations: ['50+52=102', '102/34=3'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[34, 50, 70, 52], Operations: [] Exploring Operation: 34+52=86, Resulting Numbers: [50, 70, 86] Generated Node #0,0: 67:[50, 70, 86] Operation: 34+52=86 Exploring Operation: 34+50=84, Resulting Numbers: [70, 52, 84] Generated Node #0,1: 67:[70, 52, 84] Operation: 34+50=84 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[70, 52, 84], Operations: ['34+50=84'] Exploring Operation: 70-52=18, Resulting Numbers: [84, 18] Generated Node #0,1,0: 67:[84, 18] Operation: 70-52=18 Exploring Operation: 84-52=32, Resulting Numbers: [70, 32] Generated Node #0,1,1: 67:[70, 32] Operation: 84-52=32 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[70, 32], Operations: ['34+50=84', '84-52=32'] Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 70+32=102, Resulting Numbers: [102] 102,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[84, 18], Operations: ['34+50=84', '70-52=18'] Exploring Operation: 84+18=102, Resulting Numbers: [102] 102,67 unequal: No Solution Exploring Operation: 84-18=66, Resulting Numbers: [66] 66,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[50, 70, 86], Operations: ['34+52=86'] Exploring Operation: 70-50=20, Resulting Numbers: [86, 20] Generated Node #0,0,0: 67:[86, 20] Operation: 70-50=20 Exploring Operation: 86-50=36, Resulting Numbers: [70, 36] Generated Node #0,0,1: 67:[70, 36] Operation: 86-50=36 Moving to Node #0,0,1 Current State: 67:[70, 36], Operations: ['34+52=86', '86-50=36'] Exploring Operation: 70+36=106, Resulting Numbers: [106] 106,67 unequal: No Solution Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[86, 20], Operations: ['34+52=86', '70-50=20'] Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,67 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
[ 38, 8, 49, 10 ]
89
[ "38-8=30", "49+10=59", "30+59=89" ]
Current State: 89:[38, 8, 49, 10], Operations: [] Exploring Operation: 38-8=30, Resulting Numbers: [49, 10, 30] Generated Node #2: [49, 10, 30] from Operation: 38-8=30 Current State: 89:[49, 10, 30], Operations: ['38-8=30'] Exploring Operation: 49+10=59, Resulting Numbers: [30, 59] Generated Node #3: [30, 59] from Operation: 49+10=59 Current State: 89:[30, 59], Operations: ['38-8=30', '49+10=59'] Exploring Operation: 30+59=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[38, 8, 49, 10], Operations: [] Exploring Operation: 8*10=80, Resulting Numbers: [38, 49, 80] Generated Node #0,0: 89:[38, 49, 80] Operation: 8*10=80 Exploring Operation: 38+10=48, Resulting Numbers: [8, 49, 48] Generated Node #0,1: 89:[8, 49, 48] Operation: 38+10=48 Exploring Operation: 38+49=87, Resulting Numbers: [8, 10, 87] Generated Node #0,2: 89:[8, 10, 87] Operation: 38+49=87 Exploring Operation: 38+8=46, Resulting Numbers: [49, 10, 46] Generated Node #0,3: 89:[49, 10, 46] Operation: 38+8=46 Moving to Node #0,0 Current State: 89:[38, 49, 80], Operations: ['8*10=80'] Exploring Operation: 49-38=11, Resulting Numbers: [80, 11] Generated Node #0,0,0: 89:[80, 11] Operation: 49-38=11 Exploring Operation: 80-38=42, Resulting Numbers: [49, 42] Generated Node #0,0,1: 89:[49, 42] Operation: 80-38=42 Exploring Operation: 38+49=87, Resulting Numbers: [80, 87] Generated Node #0,0,2: 89:[80, 87] Operation: 38+49=87 Exploring Operation: 38+80=118, Resulting Numbers: [49, 118] Generated Node #0,0,3: 89:[49, 118] Operation: 38+80=118 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[80, 87], Operations: ['8*10=80', '38+49=87'] Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 80*87=6960, Resulting Numbers: [6960] 6960,89 unequal: No Solution Exploring Operation: 80+87=167, Resulting Numbers: [167] 167,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,0,3 Current State: 89:[49, 118], Operations: ['8*10=80', '38+80=118'] Exploring Operation: 49+118=167, Resulting Numbers: [167] 167,89 unequal: No Solution Exploring Operation: 118-49=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 49*118=5782, Resulting Numbers: [5782] 5782,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,0,0 Current State: 89:[80, 11], Operations: ['8*10=80', '49-38=11'] Exploring Operation: 80*11=880, Resulting Numbers: [880] 880,89 unequal: No Solution Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,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,0,1 Current State: 89:[49, 42], Operations: ['8*10=80', '80-38=42'] Exploring Operation: 49+42=91, Resulting Numbers: [91] 91,89 unequal: No Solution Exploring Operation: 49*42=2058, Resulting Numbers: [2058] 2058,89 unequal: No Solution Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,89 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: 89:[8, 10, 87], Operations: ['38+49=87'] Exploring Operation: 8*10=80, Resulting Numbers: [87, 80] Generated Node #0,2,0: 89:[87, 80] Operation: 8*10=80 Exploring Operation: 8+10=18, Resulting Numbers: [87, 18] Generated Node #0,2,1: 89:[87, 18] Operation: 8+10=18 Exploring Operation: 10-8=2, Resulting Numbers: [87, 2] Generated Node #0,2,2: 89:[87, 2] Operation: 10-8=2 Exploring Operation: 8+87=95, Resulting Numbers: [10, 95] Generated Node #0,2,3: 89:[10, 95] Operation: 8+87=95 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[87, 80], Operations: ['38+49=87', '8*10=80'] Exploring Operation: 87+80=167, Resulting Numbers: [167] 167,89 unequal: No Solution Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 87*80=6960, Resulting Numbers: [6960] 6960,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,2,1 Current State: 89:[87, 18], Operations: ['38+49=87', '8+10=18'] Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 87*18=1566, Resulting Numbers: [1566] 1566,89 unequal: No Solution Exploring Operation: 87+18=105, Resulting Numbers: [105] 105,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,2,3 Current State: 89:[10, 95], Operations: ['38+49=87', '8+87=95'] Exploring Operation: 10*95=950, Resulting Numbers: [950] 950,89 unequal: No Solution Exploring Operation: 10+95=105, Resulting Numbers: [105] 105,89 unequal: No Solution Exploring Operation: 95-10=85, Resulting Numbers: [85] 85,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,2,2 Current State: 89:[87, 2], Operations: ['38+49=87', '10-8=2'] Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,89 unequal: No Solution Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[38, 8, 49, 10], Operations: [] Exploring Operation: 38+49=87, Resulting Numbers: [8, 10, 87] Generated Node #0,2: 89:[8, 10, 87] Operation: 38+49=87 Moving to Node #0,2 Current State: 89:[8, 10, 87], Operations: ['38+49=87'] Exploring Operation: 10-8=2, Resulting Numbers: [87, 2] Generated Node #0,2,2: 89:[87, 2] Operation: 10-8=2 Moving to Node #0,2,2 Current State: 89:[87, 2], Operations: ['38+49=87', '10-8=2'] Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_4
mult_heuristic
[ 30, 40, 6, 97 ]
37
[ "40-30=10", "6*10=60", "97-60=37" ]
Current State: 37:[30, 40, 6, 97], Operations: [] Exploring Operation: 40-30=10, Resulting Numbers: [6, 97, 10] Generated Node #2: [6, 97, 10] from Operation: 40-30=10 Current State: 37:[6, 97, 10], Operations: ['40-30=10'] Exploring Operation: 6*10=60, Resulting Numbers: [97, 60] Generated Node #3: [97, 60] from Operation: 6*10=60 Current State: 37:[97, 60], Operations: ['40-30=10', '6*10=60'] Exploring Operation: 97-60=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[30, 40, 6, 97], Operations: [] Exploring Operation: 97-40=57, Resulting Numbers: [30, 6, 57] Generated Node #0,0: 37:[30, 6, 57] Operation: 97-40=57 Exploring Operation: 97-30=67, Resulting Numbers: [40, 6, 67] Generated Node #0,1: 37:[40, 6, 67] Operation: 97-30=67 Exploring Operation: 30+6=36, Resulting Numbers: [40, 97, 36] Generated Node #0,2: 37:[40, 97, 36] Operation: 30+6=36 Exploring Operation: 97-6=91, Resulting Numbers: [30, 40, 91] Generated Node #0,3: 37:[30, 40, 91] Operation: 97-6=91 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[30, 6, 57], Operations: ['97-40=57'] Exploring Operation: 30+6=36, Resulting Numbers: [57, 36] Generated Node #0,0,0: 37:[57, 36] Operation: 30+6=36 Exploring Operation: 6+57=63, Resulting Numbers: [30, 63] Generated Node #0,0,1: 37:[30, 63] Operation: 6+57=63 Exploring Operation: 30-6=24, Resulting Numbers: [57, 24] Generated Node #0,0,2: 37:[57, 24] Operation: 30-6=24 Exploring Operation: 57-6=51, Resulting Numbers: [30, 51] Generated Node #0,0,3: 37:[30, 51] Operation: 57-6=51 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[57, 36], Operations: ['97-40=57', '30+6=36'] Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 57*36=2052, Resulting Numbers: [2052] 2052,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 37:[30, 51], Operations: ['97-40=57', '57-6=51'] Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 30+51=81, Resulting Numbers: [81] 81,37 unequal: No Solution Exploring Operation: 30*51=1530, Resulting Numbers: [1530] 1530,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[30, 63], Operations: ['97-40=57', '6+57=63'] Exploring Operation: 30+63=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 30*63=1890, Resulting Numbers: [1890] 1890,37 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 37:[57, 24], Operations: ['97-40=57', '30-6=24'] Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,37 unequal: No Solution Exploring Operation: 57*24=1368, Resulting Numbers: [1368] 1368,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[40, 6, 67], Operations: ['97-30=67'] Exploring Operation: 40+6=46, Resulting Numbers: [67, 46] Generated Node #0,1,0: 37:[67, 46] Operation: 40+6=46 Exploring Operation: 40-6=34, Resulting Numbers: [67, 34] Generated Node #0,1,1: 37:[67, 34] Operation: 40-6=34 Exploring Operation: 67-6=61, Resulting Numbers: [40, 61] Generated Node #0,1,2: 37:[40, 61] Operation: 67-6=61 Exploring Operation: 6+67=73, Resulting Numbers: [40, 73] Generated Node #0,1,3: 37:[40, 73] Operation: 6+67=73 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 37:[40, 61], Operations: ['97-30=67', '67-6=61'] Exploring Operation: 40+61=101, Resulting Numbers: [101] 101,37 unequal: No Solution Exploring Operation: 40*61=2440, Resulting Numbers: [2440] 2440,37 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[67, 34], Operations: ['97-30=67', '40-6=34'] Exploring Operation: 67+34=101, Resulting Numbers: [101] 101,37 unequal: No Solution Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 67*34=2278, Resulting Numbers: [2278] 2278,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[67, 46], Operations: ['97-30=67', '40+6=46'] Exploring Operation: 67*46=3082, Resulting Numbers: [3082] 3082,37 unequal: No Solution Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 67+46=113, Resulting Numbers: [113] 113,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 37:[40, 73], Operations: ['97-30=67', '6+67=73'] Exploring Operation: 40+73=113, Resulting Numbers: [113] 113,37 unequal: No Solution Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 40*73=2920, Resulting Numbers: [2920] 2920,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[40, 97, 36], Operations: ['30+6=36'] Exploring Operation: 97-36=61, Resulting Numbers: [40, 61] Generated Node #0,2,0: 37:[40, 61] Operation: 97-36=61 Exploring Operation: 40-36=4, Resulting Numbers: [97, 4] Generated Node #0,2,1: 37:[97, 4] Operation: 40-36=4 Exploring Operation: 40+36=76, Resulting Numbers: [97, 76] Generated Node #0,2,2: 37:[97, 76] Operation: 40+36=76 Exploring Operation: 97-40=57, Resulting Numbers: [36, 57] Generated Node #0,2,3: 37:[36, 57] Operation: 97-40=57 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 37:[36, 57], Operations: ['30+6=36', '97-40=57'] Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 36*57=2052, Resulting Numbers: [2052] 2052,37 unequal: No Solution Exploring Operation: 36+57=93, Resulting Numbers: [93] 93,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[40, 61], Operations: ['30+6=36', '97-36=61'] Exploring Operation: 40+61=101, Resulting Numbers: [101] 101,37 unequal: No Solution Exploring Operation: 40*61=2440, Resulting Numbers: [2440] 2440,37 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[97, 4], Operations: ['30+6=36', '40-36=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 97*4=388, Resulting Numbers: [388] 388,37 unequal: No Solution Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[97, 76], Operations: ['30+6=36', '40+36=76'] Exploring Operation: 97+76=173, Resulting Numbers: [173] 173,37 unequal: No Solution Exploring Operation: 97*76=7372, Resulting Numbers: [7372] 7372,37 unequal: No Solution Exploring Operation: 97-76=21, Resulting Numbers: [21] 21,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 37:[30, 40, 91], Operations: ['97-6=91'] Exploring Operation: 91-40=51, Resulting Numbers: [30, 51] Generated Node #0,3,0: 37:[30, 51] Operation: 91-40=51 Exploring Operation: 91-30=61, Resulting Numbers: [40, 61] Generated Node #0,3,1: 37:[40, 61] Operation: 91-30=61 Exploring Operation: 30+40=70, Resulting Numbers: [91, 70] Generated Node #0,3,2: 37:[91, 70] Operation: 30+40=70 Exploring Operation: 40-30=10, Resulting Numbers: [91, 10] Generated Node #0,3,3: 37:[91, 10] Operation: 40-30=10 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 37:[30, 51], Operations: ['97-6=91', '91-40=51'] Exploring Operation: 30*51=1530, Resulting Numbers: [1530] 1530,37 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 30+51=81, Resulting Numbers: [81] 81,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 37:[40, 61], Operations: ['97-6=91', '91-30=61'] Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 40*61=2440, Resulting Numbers: [2440] 2440,37 unequal: No Solution Exploring Operation: 40+61=101, Resulting Numbers: [101] 101,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 37:[91, 10], Operations: ['97-6=91', '40-30=10'] Exploring Operation: 91*10=910, Resulting Numbers: [910] 910,37 unequal: No Solution Exploring Operation: 91+10=101, Resulting Numbers: [101] 101,37 unequal: No Solution Exploring Operation: 91-10=81, Resulting Numbers: [81] 81,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 37:[91, 70], Operations: ['97-6=91', '30+40=70'] Exploring Operation: 91+70=161, Resulting Numbers: [161] 161,37 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 91*70=6370, Resulting Numbers: [6370] 6370,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 8, 62, 16, 46 ]
18
[ "16/8=2", "62-46=16", "2+16=18" ]
Current State: 18:[8, 62, 16, 46], Operations: [] Exploring Operation: 16/8=2, Resulting Numbers: [62, 46, 2] Generated Node #2: [62, 46, 2] from Operation: 16/8=2 Current State: 18:[62, 46, 2], Operations: ['16/8=2'] Exploring Operation: 62-46=16, Resulting Numbers: [2, 16] Generated Node #3: [2, 16] from Operation: 62-46=16 Current State: 18:[2, 16], Operations: ['16/8=2', '62-46=16'] Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[8, 62, 16, 46], Operations: [] Exploring Operation: 62-16=46, Resulting Numbers: [8, 46, 46] Generated Node #0,0: 18:[8, 46, 46] Operation: 62-16=46 Exploring Operation: 62-46=16, Resulting Numbers: [8, 16, 16] Generated Node #0,1: 18:[8, 16, 16] Operation: 62-46=16 Exploring Operation: 46-16=30, Resulting Numbers: [8, 62, 30] Generated Node #0,2: 18:[8, 62, 30] Operation: 46-16=30 Moving to Node #0,1 Current State: 18:[8, 16, 16], Operations: ['62-46=16'] Exploring Operation: 16/16=1, Resulting Numbers: [8, 1] Generated Node #0,1,0: 18:[8, 1] Operation: 16/16=1 Exploring Operation: 16/8=2, Resulting Numbers: [16, 2] Generated Node #0,1,1: 18:[16, 2] Operation: 16/8=2 Exploring Operation: 16/8=2, Resulting Numbers: [16, 2] Generated Node #0,1,2: 18:[16, 2] Operation: 16/8=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[8, 1], Operations: ['62-46=16', '16/16=1'] Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[16, 2], Operations: ['62-46=16', '16/8=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[8, 62, 16, 46], Operations: [] Exploring Operation: 62-46=16, Resulting Numbers: [8, 16, 16] Generated Node #0,1: 18:[8, 16, 16] Operation: 62-46=16 Moving to Node #0,1 Current State: 18:[8, 16, 16], Operations: ['62-46=16'] Exploring Operation: 16/8=2, Resulting Numbers: [16, 2] Generated Node #0,1,1: 18:[16, 2] Operation: 16/8=2 Moving to Node #0,1,1 Current State: 18:[16, 2], Operations: ['62-46=16', '16/8=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 65, 13, 49, 29 ]
58
[ "65+13=78", "49-29=20", "78-20=58" ]
Current State: 58:[65, 13, 49, 29], Operations: [] Exploring Operation: 65+13=78, Resulting Numbers: [49, 29, 78] Generated Node #2: [49, 29, 78] from Operation: 65+13=78 Current State: 58:[49, 29, 78], Operations: ['65+13=78'] Exploring Operation: 49-29=20, Resulting Numbers: [78, 20] Generated Node #3: [78, 20] from Operation: 49-29=20 Current State: 58:[78, 20], Operations: ['65+13=78', '49-29=20'] Exploring Operation: 78-20=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[65, 13, 49, 29], Operations: [] Exploring Operation: 13+49=62, Resulting Numbers: [65, 29, 62] Generated Node #0,0: 58:[65, 29, 62] Operation: 13+49=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[65, 29, 62], Operations: ['13+49=62'] Exploring Operation: 65-62=3, Resulting Numbers: [29, 3] Generated Node #0,0,0: 58:[29, 3] Operation: 65-62=3 Moving to Node #0,0,0 Current State: 58:[29, 3], Operations: ['13+49=62', '65-62=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,58 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
[ 27, 81, 17, 48 ]
81
[ "27*48=1296", "81*17=1377", "1377-1296=81" ]
Current State: 81:[27, 81, 17, 48], Operations: [] Exploring Operation: 27*48=1296, Resulting Numbers: [81, 17, 1296] Generated Node #2: [81, 17, 1296] from Operation: 27*48=1296 Current State: 81:[81, 17, 1296], Operations: ['27*48=1296'] Exploring Operation: 81*17=1377, Resulting Numbers: [1296, 1377] Generated Node #3: [1296, 1377] from Operation: 81*17=1377 Current State: 81:[1296, 1377], Operations: ['27*48=1296', '81*17=1377'] Exploring Operation: 1377-1296=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[27, 81, 17, 48], Operations: [] Exploring Operation: 48-17=31, Resulting Numbers: [27, 81, 31] Generated Node #0,0: 81:[27, 81, 31] Operation: 48-17=31 Exploring Operation: 27+48=75, Resulting Numbers: [81, 17, 75] Generated Node #0,1: 81:[81, 17, 75] Operation: 27+48=75 Exploring Operation: 48-27=21, Resulting Numbers: [81, 17, 21] Generated Node #0,2: 81:[81, 17, 21] Operation: 48-27=21 Exploring Operation: 81-48=33, Resulting Numbers: [27, 17, 33] Generated Node #0,3: 81:[27, 17, 33] Operation: 81-48=33 Exploring Operation: 17+48=65, Resulting Numbers: [27, 81, 65] Generated Node #0,4: 81:[27, 81, 65] Operation: 17+48=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[27, 81, 31], Operations: ['48-17=31'] Exploring Operation: 81-31=50, Resulting Numbers: [27, 50] Generated Node #0,0,0: 81:[27, 50] Operation: 81-31=50 Exploring Operation: 27+81=108, Resulting Numbers: [31, 108] Generated Node #0,0,1: 81:[31, 108] Operation: 27+81=108 Exploring Operation: 81/27=3, Resulting Numbers: [31, 3] Generated Node #0,0,2: 81:[31, 3] Operation: 81/27=3 Exploring Operation: 31-27=4, Resulting Numbers: [81, 4] Generated Node #0,0,3: 81:[81, 4] Operation: 31-27=4 Exploring Operation: 27+31=58, Resulting Numbers: [81, 58] Generated Node #0,0,4: 81:[81, 58] Operation: 27+31=58 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 81:[81, 4], Operations: ['48-17=31', '31-27=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,81 unequal: No Solution Exploring Operation: 81+4=85, Resulting Numbers: [85] 85,81 unequal: No Solution Exploring Operation: 81*4=324, Resulting Numbers: [324] 324,81 unequal: No Solution No 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: 81:[31, 3], Operations: ['48-17=31', '81/27=3'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,81 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,81 unequal: No Solution No 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: 81:[27, 50], Operations: ['48-17=31', '81-31=50'] Exploring Operation: 27+50=77, Resulting Numbers: [77] 77,81 unequal: No Solution Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,81 unequal: No Solution Exploring Operation: 27*50=1350, Resulting Numbers: [1350] 1350,81 unequal: No Solution No 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: 81:[81, 58], Operations: ['48-17=31', '27+31=58'] Exploring Operation: 81*58=4698, Resulting Numbers: [4698] 4698,81 unequal: No Solution Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,81 unequal: No Solution Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,81 unequal: No Solution No 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: 81:[31, 108], Operations: ['48-17=31', '27+81=108'] Exploring Operation: 31+108=139, Resulting Numbers: [139] 139,81 unequal: No Solution Exploring Operation: 31*108=3348, Resulting Numbers: [3348] 3348,81 unequal: No Solution Exploring Operation: 108-31=77, Resulting Numbers: [77] 77,81 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: 81:[81, 17, 75], Operations: ['27+48=75'] Exploring Operation: 75-17=58, Resulting Numbers: [81, 58] Generated Node #0,1,0: 81:[81, 58] Operation: 75-17=58 Exploring Operation: 17+75=92, Resulting Numbers: [81, 92] Generated Node #0,1,1: 81:[81, 92] Operation: 17+75=92 Exploring Operation: 81-17=64, Resulting Numbers: [75, 64] Generated Node #0,1,2: 81:[75, 64] Operation: 81-17=64 Exploring Operation: 81+17=98, Resulting Numbers: [75, 98] Generated Node #0,1,3: 81:[75, 98] Operation: 81+17=98 Exploring Operation: 81-75=6, Resulting Numbers: [17, 6] Generated Node #0,1,4: 81:[17, 6] Operation: 81-75=6 Moving to Node #0,1,1 Current State: 81:[81, 92], Operations: ['27+48=75', '17+75=92'] Exploring Operation: 92-81=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 81+92=173, Resulting Numbers: [173] 173,81 unequal: No Solution Exploring Operation: 81*92=7452, Resulting Numbers: [7452] 7452,81 unequal: No Solution Moving to Node #0,1,4 Current State: 81:[17, 6], Operations: ['27+48=75', '81-75=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,81 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[81, 58], Operations: ['27+48=75', '75-17=58'] Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,81 unequal: No Solution Exploring Operation: 81*58=4698, Resulting Numbers: [4698] 4698,81 unequal: No Solution Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[75, 64], Operations: ['27+48=75', '81-17=64'] Exploring Operation: 75+64=139, Resulting Numbers: [139] 139,81 unequal: No Solution Exploring Operation: 75*64=4800, Resulting Numbers: [4800] 4800,81 unequal: No Solution Exploring Operation: 75-64=11, Resulting Numbers: [11] 11,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[75, 98], Operations: ['27+48=75', '81+17=98'] Exploring Operation: 75+98=173, Resulting Numbers: [173] 173,81 unequal: No Solution Exploring Operation: 75*98=7350, Resulting Numbers: [7350] 7350,81 unequal: No Solution Exploring Operation: 98-75=23, Resulting Numbers: [23] 23,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[81, 17, 21], Operations: ['48-27=21'] Exploring Operation: 81+21=102, Resulting Numbers: [17, 102] Generated Node #0,2,0: 81:[17, 102] Operation: 81+21=102 Exploring Operation: 17+21=38, Resulting Numbers: [81, 38] Generated Node #0,2,1: 81:[81, 38] Operation: 17+21=38 Exploring Operation: 21-17=4, Resulting Numbers: [81, 4] Generated Node #0,2,2: 81:[81, 4] Operation: 21-17=4 Exploring Operation: 81+17=98, Resulting Numbers: [21, 98] Generated Node #0,2,3: 81:[21, 98] Operation: 81+17=98 Exploring Operation: 81-17=64, Resulting Numbers: [21, 64] Generated Node #0,2,4: 81:[21, 64] Operation: 81-17=64 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 81:[81, 4], Operations: ['48-27=21', '21-17=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,81 unequal: No Solution Exploring Operation: 81+4=85, Resulting Numbers: [85] 85,81 unequal: No Solution Exploring Operation: 81*4=324, Resulting Numbers: [324] 324,81 unequal: No Solution No 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: 81:[81, 38], Operations: ['48-27=21', '17+21=38'] Exploring Operation: 81-38=43, Resulting Numbers: [43] 43,81 unequal: No Solution Exploring Operation: 81+38=119, Resulting Numbers: [119] 119,81 unequal: No Solution Exploring Operation: 81*38=3078, Resulting Numbers: [3078] 3078,81 unequal: No Solution No 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: 81:[21, 98], Operations: ['48-27=21', '81+17=98'] Exploring Operation: 21+98=119, Resulting Numbers: [119] 119,81 unequal: No Solution Exploring Operation: 21*98=2058, Resulting Numbers: [2058] 2058,81 unequal: No Solution Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,81 unequal: No Solution No 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: 81:[21, 64], Operations: ['48-27=21', '81-17=64'] Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,81 unequal: No Solution Exploring Operation: 21*64=1344, Resulting Numbers: [1344] 1344,81 unequal: No Solution Exploring Operation: 21+64=85, Resulting Numbers: [85] 85,81 unequal: No Solution No 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: 81:[17, 102], Operations: ['48-27=21', '81+21=102'] Exploring Operation: 102-17=85, Resulting Numbers: [85] 85,81 unequal: No Solution Exploring Operation: 17*102=1734, Resulting Numbers: [1734] 1734,81 unequal: No Solution Exploring Operation: 17+102=119, Resulting Numbers: [119] 119,81 unequal: No Solution Exploring Operation: 102/17=6, Resulting Numbers: [6] 6,81 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: 81:[27, 17, 33], Operations: ['81-48=33'] Exploring Operation: 27+17=44, Resulting Numbers: [33, 44] Generated Node #0,3,0: 81:[33, 44] Operation: 27+17=44 Exploring Operation: 33-27=6, Resulting Numbers: [17, 6] Generated Node #0,3,1: 81:[17, 6] Operation: 33-27=6 Exploring Operation: 33-17=16, Resulting Numbers: [27, 16] Generated Node #0,3,2: 81:[27, 16] Operation: 33-17=16 Exploring Operation: 27-17=10, Resulting Numbers: [33, 10] Generated Node #0,3,3: 81:[33, 10] Operation: 27-17=10 Exploring Operation: 17+33=50, Resulting Numbers: [27, 50] Generated Node #0,3,4: 81:[27, 50] Operation: 17+33=50 Moving to Node #0,3,2 Current State: 81:[27, 16], Operations: ['81-48=33', '33-17=16'] Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,81 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,81 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,81 unequal: No Solution Moving to Node #0,3,3 Current State: 81:[33, 10], Operations: ['81-48=33', '27-17=10'] Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,81 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,81 unequal: No Solution Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,81 unequal: No Solution Moving to Node #0,3,1 Current State: 81:[17, 6], Operations: ['81-48=33', '33-27=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,81 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,81 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,81 unequal: No Solution Moving to Node #0,3,0 Current State: 81:[33, 44], Operations: ['81-48=33', '27+17=44'] Exploring Operation: 33*44=1452, Resulting Numbers: [1452] 1452,81 unequal: No Solution Exploring Operation: 44-33=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 33+44=77, Resulting Numbers: [77] 77,81 unequal: No Solution Moving to Node #0,3,4 Current State: 81:[27, 50], Operations: ['81-48=33', '17+33=50'] Exploring Operation: 27*50=1350, Resulting Numbers: [1350] 1350,81 unequal: No Solution Exploring Operation: 27+50=77, Resulting Numbers: [77] 77,81 unequal: No Solution Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 81:[27, 81, 65], Operations: ['17+48=65'] Exploring Operation: 65-27=38, Resulting Numbers: [81, 38] Generated Node #0,4,0: 81:[81, 38] Operation: 65-27=38 Exploring Operation: 27+65=92, Resulting Numbers: [81, 92] Generated Node #0,4,1: 81:[81, 92] Operation: 27+65=92 Exploring Operation: 27+81=108, Resulting Numbers: [65, 108] Generated Node #0,4,2: 81:[65, 108] Operation: 27+81=108 Exploring Operation: 81-65=16, Resulting Numbers: [27, 16] Generated Node #0,4,3: 81:[27, 16] Operation: 81-65=16 Exploring Operation: 81/27=3, Resulting Numbers: [65, 3] Generated Node #0,4,4: 81:[65, 3] Operation: 81/27=3 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 81:[27, 16], Operations: ['17+48=65', '81-65=16'] Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,81 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,81 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,81 unequal: No Solution No 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: 81:[81, 38], Operations: ['17+48=65', '65-27=38'] Exploring Operation: 81-38=43, Resulting Numbers: [43] 43,81 unequal: No Solution Exploring Operation: 81+38=119, Resulting Numbers: [119] 119,81 unequal: No Solution Exploring Operation: 81*38=3078, Resulting Numbers: [3078] 3078,81 unequal: No Solution No 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: 81:[81, 92], Operations: ['17+48=65', '27+65=92'] Exploring Operation: 92-81=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 81*92=7452, Resulting Numbers: [7452] 7452,81 unequal: No Solution Exploring Operation: 81+92=173, Resulting Numbers: [173] 173,81 unequal: No Solution No 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: 81:[65, 3], Operations: ['17+48=65', '81/27=3'] Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,81 unequal: No Solution Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,81 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,81 unequal: No Solution No 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: 81:[65, 108], Operations: ['17+48=65', '27+81=108'] Exploring Operation: 65+108=173, Resulting Numbers: [173] 173,81 unequal: No Solution Exploring Operation: 108-65=43, Resulting Numbers: [43] 43,81 unequal: No Solution Exploring Operation: 65*108=7020, Resulting Numbers: [7020] 7020,81 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
[ 40, 15, 26, 93 ]
92
[ "40-15=25", "93-26=67", "25+67=92" ]
Current State: 92:[40, 15, 26, 93], Operations: [] Exploring Operation: 40-15=25, Resulting Numbers: [26, 93, 25] Generated Node #2: [26, 93, 25] from Operation: 40-15=25 Current State: 92:[26, 93, 25], Operations: ['40-15=25'] Exploring Operation: 93-26=67, Resulting Numbers: [25, 67] Generated Node #3: [25, 67] from Operation: 93-26=67 Current State: 92:[25, 67], Operations: ['40-15=25', '93-26=67'] Exploring Operation: 25+67=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[40, 15, 26, 93], Operations: [] Exploring Operation: 40-15=25, Resulting Numbers: [26, 93, 25] Generated Node #0,0: 92:[26, 93, 25] Operation: 40-15=25 Moving to Node #0,0 Current State: 92:[26, 93, 25], Operations: ['40-15=25'] Exploring Operation: 26-25=1, Resulting Numbers: [93, 1] Generated Node #0,0,0: 92:[93, 1] Operation: 26-25=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[93, 1], Operations: ['40-15=25', '26-25=1'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[40, 15, 26, 93], Operations: [] Exploring Operation: 40-15=25, Resulting Numbers: [26, 93, 25] Generated Node #0,0: 92:[26, 93, 25] Operation: 40-15=25 Moving to Node #0,0 Current State: 92:[26, 93, 25], Operations: ['40-15=25'] Exploring Operation: 26-25=1, Resulting Numbers: [93, 1] Generated Node #0,0,0: 92:[93, 1] Operation: 26-25=1 Moving to Node #0,0,0 Current State: 92:[93, 1], Operations: ['40-15=25', '26-25=1'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 24, 81, 74, 84 ]
84
[ "81-74=7", "24*7=168", "168-84=84" ]
Current State: 84:[24, 81, 74, 84], Operations: [] Exploring Operation: 81-74=7, Resulting Numbers: [24, 84, 7] Generated Node #2: [24, 84, 7] from Operation: 81-74=7 Current State: 84:[24, 84, 7], Operations: ['81-74=7'] Exploring Operation: 24*7=168, Resulting Numbers: [84, 168] Generated Node #3: [84, 168] from Operation: 24*7=168 Current State: 84:[84, 168], Operations: ['81-74=7', '24*7=168'] Exploring Operation: 168-84=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[24, 81, 74, 84], Operations: [] Exploring Operation: 74-24=50, Resulting Numbers: [81, 84, 50] Generated Node #0,0: 84:[81, 84, 50] Operation: 74-24=50 Exploring Operation: 81-74=7, Resulting Numbers: [24, 84, 7] Generated Node #0,1: 84:[24, 84, 7] Operation: 81-74=7 Exploring Operation: 84-81=3, Resulting Numbers: [24, 74, 3] Generated Node #0,2: 84:[24, 74, 3] Operation: 84-81=3 Exploring Operation: 84-74=10, Resulting Numbers: [24, 81, 10] Generated Node #0,3: 84:[24, 81, 10] Operation: 84-74=10 Moving to Node #0,1 Current State: 84:[24, 84, 7], Operations: ['81-74=7'] Exploring Operation: 24-7=17, Resulting Numbers: [84, 17] Generated Node #0,1,0: 84:[84, 17] Operation: 24-7=17 Exploring Operation: 84+7=91, Resulting Numbers: [24, 91] Generated Node #0,1,1: 84:[24, 91] Operation: 84+7=91 Exploring Operation: 84/7=12, Resulting Numbers: [24, 12] Generated Node #0,1,2: 84:[24, 12] Operation: 84/7=12 Exploring Operation: 24+7=31, Resulting Numbers: [84, 31] Generated Node #0,1,3: 84:[84, 31] Operation: 24+7=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 84:[84, 17], Operations: ['81-74=7', '24-7=17'] Exploring Operation: 84-17=67, Resulting Numbers: [67] 67,84 unequal: No Solution Exploring Operation: 84+17=101, Resulting Numbers: [101] 101,84 unequal: No Solution Exploring Operation: 84*17=1428, Resulting Numbers: [1428] 1428,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 84:[24, 12], Operations: ['81-74=7', '84/7=12'] Exploring Operation: 24+12=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 24*12=288, Resulting Numbers: [288] 288,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 84:[84, 31], Operations: ['81-74=7', '24+7=31'] Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,84 unequal: No Solution Exploring Operation: 84*31=2604, Resulting Numbers: [2604] 2604,84 unequal: No Solution Exploring Operation: 84+31=115, Resulting Numbers: [115] 115,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[24, 91], Operations: ['81-74=7', '84+7=91'] Exploring Operation: 24*91=2184, Resulting Numbers: [2184] 2184,84 unequal: No Solution Exploring Operation: 91-24=67, Resulting Numbers: [67] 67,84 unequal: No Solution Exploring Operation: 24+91=115, Resulting Numbers: [115] 115,84 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: 84:[24, 81, 10], Operations: ['84-74=10'] Exploring Operation: 24-10=14, Resulting Numbers: [81, 14] Generated Node #0,3,0: 84:[81, 14] Operation: 24-10=14 Exploring Operation: 24+10=34, Resulting Numbers: [81, 34] Generated Node #0,3,1: 84:[81, 34] Operation: 24+10=34 Exploring Operation: 81-10=71, Resulting Numbers: [24, 71] Generated Node #0,3,2: 84:[24, 71] Operation: 81-10=71 Exploring Operation: 81+10=91, Resulting Numbers: [24, 91] Generated Node #0,3,3: 84:[24, 91] Operation: 81+10=91 Moving to Node #0,0 Current State: 84:[81, 84, 50], Operations: ['74-24=50'] Exploring Operation: 81-50=31, Resulting Numbers: [84, 31] Generated Node #0,0,0: 84:[84, 31] Operation: 81-50=31 Exploring Operation: 84-81=3, Resulting Numbers: [50, 3] Generated Node #0,0,1: 84:[50, 3] Operation: 84-81=3 Exploring Operation: 81+50=131, Resulting Numbers: [84, 131] Generated Node #0,0,2: 84:[84, 131] Operation: 81+50=131 Exploring Operation: 84-50=34, Resulting Numbers: [81, 34] Generated Node #0,0,3: 84:[81, 34] Operation: 84-50=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[84, 31], Operations: ['74-24=50', '81-50=31'] Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,84 unequal: No Solution Exploring Operation: 84*31=2604, Resulting Numbers: [2604] 2604,84 unequal: No Solution Exploring Operation: 84+31=115, Resulting Numbers: [115] 115,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[50, 3], Operations: ['74-24=50', '84-81=3'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,84 unequal: No Solution Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,84 unequal: No Solution Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 84:[81, 34], Operations: ['74-24=50', '84-50=34'] Exploring Operation: 81*34=2754, Resulting Numbers: [2754] 2754,84 unequal: No Solution Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,84 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[84, 131], Operations: ['74-24=50', '81+50=131'] Exploring Operation: 84+131=215, Resulting Numbers: [215] 215,84 unequal: No Solution Exploring Operation: 84*131=11004, Resulting Numbers: [11004] 11004,84 unequal: No Solution Exploring Operation: 131-84=47, Resulting Numbers: [47] 47,84 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: 84:[24, 74, 3], Operations: ['84-81=3'] Exploring Operation: 24+3=27, Resulting Numbers: [74, 27] Generated Node #0,2,0: 84:[74, 27] Operation: 24+3=27 Exploring Operation: 24-3=21, Resulting Numbers: [74, 21] Generated Node #0,2,1: 84:[74, 21] Operation: 24-3=21 Exploring Operation: 74-24=50, Resulting Numbers: [3, 50] Generated Node #0,2,2: 84:[3, 50] Operation: 74-24=50 Exploring Operation: 74+3=77, Resulting Numbers: [24, 77] Generated Node #0,2,3: 84:[24, 77] Operation: 74+3=77 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[3, 50], Operations: ['84-81=3', '74-24=50'] Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,84 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,84 unequal: No Solution Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[74, 21], Operations: ['84-81=3', '24-3=21'] Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,84 unequal: No Solution Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,84 unequal: No Solution Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 84:[24, 77], Operations: ['84-81=3', '74+3=77'] Exploring Operation: 24*77=1848, Resulting Numbers: [1848] 1848,84 unequal: No Solution Exploring Operation: 24+77=101, Resulting Numbers: [101] 101,84 unequal: No Solution Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[74, 27], Operations: ['84-81=3', '24+3=27'] Exploring Operation: 74*27=1998, Resulting Numbers: [1998] 1998,84 unequal: No Solution Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,84 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,84 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: 84:[81, 14], Operations: ['84-74=10', '24-10=14'] Exploring Operation: 81+14=95, Resulting Numbers: [95] 95,84 unequal: No Solution Exploring Operation: 81*14=1134, Resulting Numbers: [1134] 1134,84 unequal: No Solution Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,84 unequal: No Solution Moving to Node #0,3,1 Current State: 84:[81, 34], Operations: ['84-74=10', '24+10=34'] Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,84 unequal: No Solution Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,84 unequal: No Solution Exploring Operation: 81*34=2754, Resulting Numbers: [2754] 2754,84 unequal: No Solution Moving to Node #0,3,3 Current State: 84:[24, 91], Operations: ['84-74=10', '81+10=91'] Exploring Operation: 24+91=115, Resulting Numbers: [115] 115,84 unequal: No Solution Exploring Operation: 91-24=67, Resulting Numbers: [67] 67,84 unequal: No Solution Exploring Operation: 24*91=2184, Resulting Numbers: [2184] 2184,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[24, 71], Operations: ['84-74=10', '81-10=71'] Exploring Operation: 24*71=1704, Resulting Numbers: [1704] 1704,84 unequal: No Solution Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,84 unequal: No Solution Exploring Operation: 24+71=95, Resulting Numbers: [95] 95,84 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 30, 46, 60, 34 ]
29
[ "60/30=2", "34/2=17", "46-17=29" ]
Current State: 29:[30, 46, 60, 34], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [46, 34, 2] Generated Node #2: [46, 34, 2] from Operation: 60/30=2 Current State: 29:[46, 34, 2], Operations: ['60/30=2'] Exploring Operation: 34/2=17, Resulting Numbers: [46, 17] Generated Node #3: [46, 17] from Operation: 34/2=17 Current State: 29:[46, 17], Operations: ['60/30=2', '34/2=17'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[30, 46, 60, 34], Operations: [] Exploring Operation: 60-46=14, Resulting Numbers: [30, 34, 14] Generated Node #0,0: 29:[30, 34, 14] Operation: 60-46=14 Moving to Node #0,0 Current State: 29:[30, 34, 14], Operations: ['60-46=14'] Exploring Operation: 34-14=20, Resulting Numbers: [30, 20] Generated Node #0,0,0: 29:[30, 20] Operation: 34-14=20 Moving to Node #0,0,0 Current State: 29:[30, 20], Operations: ['60-46=14', '34-14=20'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,29 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 35, 36, 33, 15 ]
70
[ "35*36=1260", "33-15=18", "1260/18=70" ]
Current State: 70:[35, 36, 33, 15], Operations: [] Exploring Operation: 35*36=1260, Resulting Numbers: [33, 15, 1260] Generated Node #2: [33, 15, 1260] from Operation: 35*36=1260 Current State: 70:[33, 15, 1260], Operations: ['35*36=1260'] Exploring Operation: 33-15=18, Resulting Numbers: [1260, 18] Generated Node #3: [1260, 18] from Operation: 33-15=18 Current State: 70:[1260, 18], Operations: ['35*36=1260', '33-15=18'] Exploring Operation: 1260/18=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[35, 36, 33, 15], Operations: [] Exploring Operation: 36+33=69, Resulting Numbers: [35, 15, 69] Generated Node #0,0: 70:[35, 15, 69] Operation: 36+33=69 Exploring Operation: 35-33=2, Resulting Numbers: [36, 15, 2] Generated Node #0,1: 70:[36, 15, 2] Operation: 35-33=2 Exploring Operation: 36-33=3, Resulting Numbers: [35, 15, 3] Generated Node #0,2: 70:[35, 15, 3] Operation: 36-33=3 Moving to Node #0,0 Current State: 70:[35, 15, 69], Operations: ['36+33=69'] Exploring Operation: 69-35=34, Resulting Numbers: [15, 34] Generated Node #0,0,0: 70:[15, 34] Operation: 69-35=34 Exploring Operation: 15+69=84, Resulting Numbers: [35, 84] Generated Node #0,0,1: 70:[35, 84] Operation: 15+69=84 Exploring Operation: 35-15=20, Resulting Numbers: [69, 20] Generated Node #0,0,2: 70:[69, 20] Operation: 35-15=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[15, 34], Operations: ['36+33=69', '69-35=34'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 15*34=510, Resulting Numbers: [510] 510,70 unequal: No Solution Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[69, 20], Operations: ['36+33=69', '35-15=20'] Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,70 unequal: No Solution Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,70 unequal: No Solution Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[35, 84], Operations: ['36+33=69', '15+69=84'] Exploring Operation: 35*84=2940, Resulting Numbers: [2940] 2940,70 unequal: No Solution Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,70 unequal: No Solution Exploring Operation: 35+84=119, Resulting Numbers: [119] 119,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 70:[36, 15, 2], Operations: ['35-33=2'] Exploring Operation: 15-2=13, Resulting Numbers: [36, 13] Generated Node #0,1,0: 70:[36, 13] Operation: 15-2=13 Exploring Operation: 36-2=34, Resulting Numbers: [15, 34] Generated Node #0,1,1: 70:[15, 34] Operation: 36-2=34 Exploring Operation: 36*2=72, Resulting Numbers: [15, 72] Generated Node #0,1,2: 70:[15, 72] Operation: 36*2=72 Moving to Node #0,2 Current State: 70:[35, 15, 3], Operations: ['36-33=3'] Exploring Operation: 15/3=5, Resulting Numbers: [35, 5] Generated Node #0,2,0: 70:[35, 5] Operation: 15/3=5 Exploring Operation: 35+3=38, Resulting Numbers: [15, 38] Generated Node #0,2,1: 70:[15, 38] Operation: 35+3=38 Exploring Operation: 15-3=12, Resulting Numbers: [35, 12] Generated Node #0,2,2: 70:[35, 12] Operation: 15-3=12 Moving to Node #0,2,0 Current State: 70:[35, 5], Operations: ['36-33=3', '15/3=5'] Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,70 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[36, 13], Operations: ['35-33=2', '15-2=13'] Exploring Operation: 36+13=49, Resulting Numbers: [49] 49,70 unequal: No Solution Exploring Operation: 36*13=468, Resulting Numbers: [468] 468,70 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[35, 12], Operations: ['36-33=3', '15-3=12'] Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,70 unequal: No Solution Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,70 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[15, 34], Operations: ['35-33=2', '36-2=34'] Exploring Operation: 15*34=510, Resulting Numbers: [510] 510,70 unequal: No Solution Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,70 unequal: No Solution Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[15, 72], Operations: ['35-33=2', '36*2=72'] Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 15*72=1080, Resulting Numbers: [1080] 1080,70 unequal: No Solution Exploring Operation: 15+72=87, Resulting Numbers: [87] 87,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[15, 38], Operations: ['36-33=3', '35+3=38'] Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,70 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,70 unequal: No Solution Exploring Operation: 15*38=570, Resulting Numbers: [570] 570,70 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 8, 71, 4, 1 ]
69
[ "8/4=2", "71*1=71", "71-2=69" ]
Current State: 69:[8, 71, 4, 1], Operations: [] Exploring Operation: 8/4=2, Resulting Numbers: [71, 1, 2] Generated Node #2: [71, 1, 2] from Operation: 8/4=2 Current State: 69:[71, 1, 2], Operations: ['8/4=2'] Exploring Operation: 71*1=71, Resulting Numbers: [2, 71] Generated Node #3: [2, 71] from Operation: 71*1=71 Current State: 69:[2, 71], Operations: ['8/4=2', '71*1=71'] Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[8, 71, 4, 1], Operations: [] Exploring Operation: 8/4=2, Resulting Numbers: [71, 1, 2] Generated Node #0,0: 69:[71, 1, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [71, 1, 4] Generated Node #0,1: 69:[71, 1, 4] Operation: 8-4=4 Exploring Operation: 8-1=7, Resulting Numbers: [71, 4, 7] Generated Node #0,2: 69:[71, 4, 7] Operation: 8-1=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[71, 1, 2], Operations: ['8/4=2'] Exploring Operation: 71-2=69, Resulting Numbers: [1, 69] Generated Node #0,0,0: 69:[1, 69] Operation: 71-2=69 Exploring Operation: 1+2=3, Resulting Numbers: [71, 3] Generated Node #0,0,1: 69:[71, 3] Operation: 1+2=3 Exploring Operation: 71-1=70, Resulting Numbers: [2, 70] Generated Node #0,0,2: 69:[2, 70] Operation: 71-1=70 Moving to Node #0,0,0 Current State: 69:[1, 69], Operations: ['8/4=2', '71-2=69'] Exploring Operation: 1*69=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[8, 71, 4, 1], Operations: [] Exploring Operation: 8/4=2, Resulting Numbers: [71, 1, 2] Generated Node #0,0: 69:[71, 1, 2] Operation: 8/4=2 Moving to Node #0,0 Current State: 69:[71, 1, 2], Operations: ['8/4=2'] Exploring Operation: 71-2=69, Resulting Numbers: [1, 69] Generated Node #0,0,0: 69:[1, 69] Operation: 71-2=69 Moving to Node #0,0,0 Current State: 69:[1, 69], Operations: ['8/4=2', '71-2=69'] Exploring Operation: 1*69=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 18, 26, 65, 8 ]
52
[ "18*26=468", "65*8=520", "520-468=52" ]
Current State: 52:[18, 26, 65, 8], Operations: [] Exploring Operation: 18*26=468, Resulting Numbers: [65, 8, 468] Generated Node #2: [65, 8, 468] from Operation: 18*26=468 Current State: 52:[65, 8, 468], Operations: ['18*26=468'] Exploring Operation: 65*8=520, Resulting Numbers: [468, 520] Generated Node #3: [468, 520] from Operation: 65*8=520 Current State: 52:[468, 520], Operations: ['18*26=468', '65*8=520'] Exploring Operation: 520-468=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[18, 26, 65, 8], Operations: [] Exploring Operation: 65-18=47, Resulting Numbers: [26, 8, 47] Generated Node #0,0: 52:[26, 8, 47] Operation: 65-18=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[26, 8, 47], Operations: ['65-18=47'] Exploring Operation: 8+47=55, Resulting Numbers: [26, 55] Generated Node #0,0,0: 52:[26, 55] Operation: 8+47=55 Moving to Node #0,0,0 Current State: 52:[26, 55], Operations: ['65-18=47', '8+47=55'] Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 16, 8, 20, 1 ]
20
[ "16/8=2", "2-1=1", "20*1=20" ]
Current State: 20:[16, 8, 20, 1], Operations: [] Exploring Operation: 16/8=2, Resulting Numbers: [20, 1, 2] Generated Node #2: [20, 1, 2] from Operation: 16/8=2 Current State: 20:[20, 1, 2], Operations: ['16/8=2'] Exploring Operation: 2-1=1, Resulting Numbers: [20, 1] Generated Node #3: [20, 1] from Operation: 2-1=1 Current State: 20:[20, 1], Operations: ['16/8=2', '2-1=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[16, 8, 20, 1], Operations: [] Exploring Operation: 16/8=2, Resulting Numbers: [20, 1, 2] Generated Node #0,0: 20:[20, 1, 2] Operation: 16/8=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[20, 1, 2], Operations: ['16/8=2'] Exploring Operation: 20*1=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 20:[2, 20] Operation: 20*1=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[2, 20], Operations: ['16/8=2', '20*1=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 72, 42, 75, 59 ]
67
[ "75-72=3", "42*3=126", "126-59=67" ]
Current State: 67:[72, 42, 75, 59], Operations: [] Exploring Operation: 75-72=3, Resulting Numbers: [42, 59, 3] Generated Node #2: [42, 59, 3] from Operation: 75-72=3 Current State: 67:[42, 59, 3], Operations: ['75-72=3'] Exploring Operation: 42*3=126, Resulting Numbers: [59, 126] Generated Node #3: [59, 126] from Operation: 42*3=126 Current State: 67:[59, 126], Operations: ['75-72=3', '42*3=126'] Exploring Operation: 126-59=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[72, 42, 75, 59], Operations: [] Exploring Operation: 75-42=33, Resulting Numbers: [72, 59, 33] Generated Node #0,0: 67:[72, 59, 33] Operation: 75-42=33 Moving to Node #0,0 Current State: 67:[72, 59, 33], Operations: ['75-42=33'] Exploring Operation: 59+33=92, Resulting Numbers: [72, 92] Generated Node #0,0,0: 67:[72, 92] Operation: 59+33=92 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[72, 92], Operations: ['75-42=33', '59+33=92'] Exploring Operation: 92-72=20, Resulting Numbers: [20] 20,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 41, 21, 2, 82 ]
64
[ "41-21=20", "2+82=84", "84-20=64" ]
Current State: 64:[41, 21, 2, 82], Operations: [] Exploring Operation: 41-21=20, Resulting Numbers: [2, 82, 20] Generated Node #2: [2, 82, 20] from Operation: 41-21=20 Current State: 64:[2, 82, 20], Operations: ['41-21=20'] Exploring Operation: 2+82=84, Resulting Numbers: [20, 84] Generated Node #3: [20, 84] from Operation: 2+82=84 Current State: 64:[20, 84], Operations: ['41-21=20', '2+82=84'] Exploring Operation: 84-20=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[41, 21, 2, 82], Operations: [] Exploring Operation: 82/41=2, Resulting Numbers: [21, 2, 2] Generated Node #0,0: 64:[21, 2, 2] Operation: 82/41=2 Exploring Operation: 41-21=20, Resulting Numbers: [2, 82, 20] Generated Node #0,1: 64:[2, 82, 20] Operation: 41-21=20 Exploring Operation: 82-21=61, Resulting Numbers: [41, 2, 61] Generated Node #0,2: 64:[41, 2, 61] Operation: 82-21=61 Exploring Operation: 41+21=62, Resulting Numbers: [2, 82, 62] Generated Node #0,3: 64:[2, 82, 62] Operation: 41+21=62 Exploring Operation: 82-41=41, Resulting Numbers: [21, 2, 41] Generated Node #0,4: 64:[21, 2, 41] Operation: 82-41=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[21, 2, 2], Operations: ['82/41=2'] Exploring Operation: 21-2=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 64:[2, 19] Operation: 21-2=19 Exploring Operation: 2*2=4, Resulting Numbers: [21, 4] Generated Node #0,0,1: 64:[21, 4] Operation: 2*2=4 Exploring Operation: 21-2=19, Resulting Numbers: [2, 19] Generated Node #0,0,2: 64:[2, 19] Operation: 21-2=19 Exploring Operation: 2/2=1, Resulting Numbers: [21, 1] Generated Node #0,0,3: 64:[21, 1] Operation: 2/2=1 Exploring Operation: 2+2=4, Resulting Numbers: [21, 4] Generated Node #0,0,4: 64:[21, 4] Operation: 2+2=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[2, 19], Operations: ['82/41=2', '21-2=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,64 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,64 unequal: No Solution No 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: 64:[2, 19], Operations: ['82/41=2', '21-2=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,64 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,64 unequal: No Solution No 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: 64:[21, 4], Operations: ['82/41=2', '2*2=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,64 unequal: No Solution No 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: 64:[21, 4], Operations: ['82/41=2', '2+2=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,64 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,64 unequal: No Solution No 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: 64:[21, 1], Operations: ['82/41=2', '2/2=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,64 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,64 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: 64:[41, 2, 61], Operations: ['82-21=61'] Exploring Operation: 61-41=20, Resulting Numbers: [2, 20] Generated Node #0,2,0: 64:[2, 20] Operation: 61-41=20 Exploring Operation: 61-2=59, Resulting Numbers: [41, 59] Generated Node #0,2,1: 64:[41, 59] Operation: 61-2=59 Exploring Operation: 41-2=39, Resulting Numbers: [61, 39] Generated Node #0,2,2: 64:[61, 39] Operation: 41-2=39 Exploring Operation: 41+2=43, Resulting Numbers: [61, 43] Generated Node #0,2,3: 64:[61, 43] Operation: 41+2=43 Exploring Operation: 2+61=63, Resulting Numbers: [41, 63] Generated Node #0,2,4: 64:[41, 63] Operation: 2+61=63 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 64:[2, 20], Operations: ['82-21=61', '61-41=20'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,64 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,64 unequal: No Solution No 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: 64:[61, 39], Operations: ['82-21=61', '41-2=39'] Exploring Operation: 61*39=2379, Resulting Numbers: [2379] 2379,64 unequal: No Solution Exploring Operation: 61+39=100, Resulting Numbers: [100] 100,64 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,64 unequal: No Solution No 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: 64:[41, 63], Operations: ['82-21=61', '2+61=63'] Exploring Operation: 41*63=2583, Resulting Numbers: [2583] 2583,64 unequal: No Solution Exploring Operation: 41+63=104, Resulting Numbers: [104] 104,64 unequal: No Solution Exploring Operation: 63-41=22, Resulting Numbers: [22] 22,64 unequal: No Solution No 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: 64:[41, 59], Operations: ['82-21=61', '61-2=59'] Exploring Operation: 41*59=2419, Resulting Numbers: [2419] 2419,64 unequal: No Solution Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 41+59=100, Resulting Numbers: [100] 100,64 unequal: No Solution No 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: 64:[61, 43], Operations: ['82-21=61', '41+2=43'] Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 61*43=2623, Resulting Numbers: [2623] 2623,64 unequal: No Solution Exploring Operation: 61+43=104, Resulting Numbers: [104] 104,64 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: 64:[21, 2, 41], Operations: ['82-41=41'] Exploring Operation: 21+41=62, Resulting Numbers: [2, 62] Generated Node #0,4,0: 64:[2, 62] Operation: 21+41=62 Exploring Operation: 21+2=23, Resulting Numbers: [41, 23] Generated Node #0,4,1: 64:[41, 23] Operation: 21+2=23 Exploring Operation: 41-21=20, Resulting Numbers: [2, 20] Generated Node #0,4,2: 64:[2, 20] Operation: 41-21=20 Exploring Operation: 41-2=39, Resulting Numbers: [21, 39] Generated Node #0,4,3: 64:[21, 39] Operation: 41-2=39 Exploring Operation: 21-2=19, Resulting Numbers: [41, 19] Generated Node #0,4,4: 64:[41, 19] Operation: 21-2=19 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 64:[2, 62], Operations: ['82-41=41', '21+41=62'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[41, 21, 2, 82], Operations: [] Exploring Operation: 82-41=41, Resulting Numbers: [21, 2, 41] Generated Node #0,4: 64:[21, 2, 41] Operation: 82-41=41 Moving to Node #0,4 Current State: 64:[21, 2, 41], Operations: ['82-41=41'] Exploring Operation: 21+41=62, Resulting Numbers: [2, 62] Generated Node #0,4,0: 64:[2, 62] Operation: 21+41=62 Moving to Node #0,4,0 Current State: 64:[2, 62], Operations: ['82-41=41', '21+41=62'] Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.949653
hs_5
mult_heuristic
[ 91, 78, 36, 90 ]
67
[ "91-78=13", "90-36=54", "13+54=67" ]
Current State: 67:[91, 78, 36, 90], Operations: [] Exploring Operation: 91-78=13, Resulting Numbers: [36, 90, 13] Generated Node #2: [36, 90, 13] from Operation: 91-78=13 Current State: 67:[36, 90, 13], Operations: ['91-78=13'] Exploring Operation: 90-36=54, Resulting Numbers: [13, 54] Generated Node #3: [13, 54] from Operation: 90-36=54 Current State: 67:[13, 54], Operations: ['91-78=13', '90-36=54'] Exploring Operation: 13+54=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[91, 78, 36, 90], Operations: [] Exploring Operation: 91-36=55, Resulting Numbers: [78, 90, 55] Generated Node #0,0: 67:[78, 90, 55] Operation: 91-36=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[78, 90, 55], Operations: ['91-36=55'] Exploring Operation: 90-55=35, Resulting Numbers: [78, 35] Generated Node #0,0,0: 67:[78, 35] Operation: 90-55=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[78, 35], Operations: ['91-36=55', '90-55=35'] Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 36, 63, 34, 72 ]
58
[ "72/36=2", "63-34=29", "2*29=58" ]
Current State: 58:[36, 63, 34, 72], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [63, 34, 2] Generated Node #2: [63, 34, 2] from Operation: 72/36=2 Current State: 58:[63, 34, 2], Operations: ['72/36=2'] Exploring Operation: 63-34=29, Resulting Numbers: [2, 29] Generated Node #3: [2, 29] from Operation: 63-34=29 Current State: 58:[2, 29], Operations: ['72/36=2', '63-34=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[36, 63, 34, 72], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [63, 34, 2] Generated Node #0,0: 58:[63, 34, 2] Operation: 72/36=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[63, 34, 2], Operations: ['72/36=2'] Exploring Operation: 63-34=29, Resulting Numbers: [2, 29] Generated Node #0,0,0: 58:[2, 29] Operation: 63-34=29 Moving to Node #0,0,0 Current State: 58:[2, 29], Operations: ['72/36=2', '63-34=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[36, 63, 34, 72], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [63, 34, 2] Generated Node #0,0: 58:[63, 34, 2] Operation: 72/36=2 Moving to Node #0,0 Current State: 58:[63, 34, 2], Operations: ['72/36=2'] Exploring Operation: 63-34=29, Resulting Numbers: [2, 29] Generated Node #0,0,0: 58:[2, 29] Operation: 63-34=29 Moving to Node #0,0,0 Current State: 58:[2, 29], Operations: ['72/36=2', '63-34=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic